|
|
@ -3,11 +3,12 @@ import { observer } from "mobx-react";
|
|
|
|
import React from "react";
|
|
|
|
import React from "react";
|
|
|
|
import { begin } from "xaop";
|
|
|
|
import { begin } from "xaop";
|
|
|
|
import { app } from "../../../ApplicationServices/Application";
|
|
|
|
import { app } from "../../../ApplicationServices/Application";
|
|
|
|
|
|
|
|
import { CheckObjectType } from "../../../Common/CheckoutVaildValue";
|
|
|
|
import { ColorPalette } from "../../../Common/ColorPalette";
|
|
|
|
import { ColorPalette } from "../../../Common/ColorPalette";
|
|
|
|
import { KeyBoard } from "../../../Common/KeyEnum";
|
|
|
|
import { KeyBoard } from "../../../Common/KeyEnum";
|
|
|
|
import { BoardModalType } from "../../../UI/Components/Board/BoardModalType";
|
|
|
|
import { BoardModalType } from "../../../UI/Components/Board/BoardModalType";
|
|
|
|
import { Config_ModalType, UserConfigComponent } from "../../../UI/Components/Board/UserConfigComponent";
|
|
|
|
import { Config_ModalType, UserConfigComponent } from "../../../UI/Components/Board/UserConfigComponent";
|
|
|
|
import { AppToaster } from "../../../UI/Components/Toaster";
|
|
|
|
import { AppToaster, ToasterInput } from "../../../UI/Components/Toaster";
|
|
|
|
import { ViewAngleTypes, ViewStyleTypes } from "../ShareViewRules";
|
|
|
|
import { ViewAngleTypes, ViewStyleTypes } from "../ShareViewRules";
|
|
|
|
import { ShareViewStore } from "../ShareViewStore";
|
|
|
|
import { ShareViewStore } from "../ShareViewStore";
|
|
|
|
import { ColorSelect } from "./ColorSelect";
|
|
|
|
import { ColorSelect } from "./ColorSelect";
|
|
|
@ -129,6 +130,12 @@ export class ShareBoardInfoConfiguration extends React.Component<{ store: ShareV
|
|
|
|
onChange={(e) => { option.VisualStyle = parseInt(e.target.value); }}
|
|
|
|
onChange={(e) => { option.VisualStyle = parseInt(e.target.value); }}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className="label">
|
|
|
|
|
|
|
|
<span>有效天数:</span>
|
|
|
|
|
|
|
|
<ToasterInput
|
|
|
|
|
|
|
|
inputClassName={"expire-days"}
|
|
|
|
|
|
|
|
type={CheckObjectType.ExpireDays} option={option} optKey="expireDays" />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div className={Classes.DIALOG_FOOTER} >
|
|
|
|
<div className={Classes.DIALOG_FOOTER} >
|
|
|
|
<div className={Classes.DIALOG_FOOTER_ACTIONS}>
|
|
|
|
<div className={Classes.DIALOG_FOOTER_ACTIONS}>
|
|
|
@ -137,7 +144,20 @@ export class ShareBoardInfoConfiguration extends React.Component<{ store: ShareV
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
|
intent={Intent.SUCCESS}
|
|
|
|
intent={Intent.SUCCESS}
|
|
|
|
text="确定"
|
|
|
|
text="确定"
|
|
|
|
onClick={() => { app.Editor.ModalManage.DestoryAndExec(); }}
|
|
|
|
onClick={() =>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
let v = this.props.store.HasInvailValue();
|
|
|
|
|
|
|
|
if (v)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
AppToaster.show({
|
|
|
|
|
|
|
|
message: v,
|
|
|
|
|
|
|
|
timeout: 3000,
|
|
|
|
|
|
|
|
intent: Intent.DANGER,
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
app.Editor.ModalManage.DestoryAndExec();
|
|
|
|
|
|
|
|
}}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|