|
|
@ -1,22 +1,22 @@
|
|
|
|
|
|
|
|
import { Button, Checkbox, Classes, H5, Intent, Radio, RadioGroup } from '@blueprintjs/core';
|
|
|
|
|
|
|
|
import { IconNames } from '@blueprintjs/icons';
|
|
|
|
import { observer } from 'mobx-react';
|
|
|
|
import { observer } from 'mobx-react';
|
|
|
|
import * as React from 'react';
|
|
|
|
import * as React from 'react';
|
|
|
|
import * as xaop from 'xaop';
|
|
|
|
import * as xaop from 'xaop';
|
|
|
|
import { Button, Classes, H5, Checkbox, RadioGroup, Radio, Intent } from '@blueprintjs/core';
|
|
|
|
|
|
|
|
import { WineRackStore } from '../../Store/WineRackStore';
|
|
|
|
|
|
|
|
import { SetBoardDataBlock, SetBoardDataItem, Input5Or4Component } from './BoardCommon';
|
|
|
|
|
|
|
|
import { CheckObjectType } from '../../../Common/CheckoutVaildValue';
|
|
|
|
|
|
|
|
import { EWineRackType, EWRackArrayType, EFullType, EFullDir } from '../../Store/WineRackInterface';
|
|
|
|
|
|
|
|
import { IconNames } from '@blueprintjs/icons';
|
|
|
|
|
|
|
|
import { app } from '../../../ApplicationServices/Application';
|
|
|
|
import { app } from '../../../ApplicationServices/Application';
|
|
|
|
import { commandMachine, CommandWrap } from '../../../Editor/CommandMachine';
|
|
|
|
import { CheckObjectType } from '../../../Common/CheckoutVaildValue';
|
|
|
|
import { BoardModalType } from './BoardModal';
|
|
|
|
import { safeEval } from '../../../Common/eval';
|
|
|
|
import { AppToaster, ToasterValueError } from '../Toaster';
|
|
|
|
|
|
|
|
import { KeyBoard } from '../../../Common/KeyEnum';
|
|
|
|
import { KeyBoard } from '../../../Common/KeyEnum';
|
|
|
|
import { FixedNotZero } from '../../../Common/Utils';
|
|
|
|
import { FixedNotZero } from '../../../Common/Utils';
|
|
|
|
|
|
|
|
import { commandMachine, CommandWrap } from '../../../Editor/CommandMachine';
|
|
|
|
import { userConfig } from '../../../Editor/UserConfig';
|
|
|
|
import { userConfig } from '../../../Editor/UserConfig';
|
|
|
|
import { safeEval } from '../../../Common/eval';
|
|
|
|
import { EFullDir, EFullType, EWineRackType, EWRackArrayType } from '../../Store/WineRackInterface';
|
|
|
|
import { CommonModal } from '../Modal/ModalContainer';
|
|
|
|
import { WineRackStore } from '../../Store/WineRackStore';
|
|
|
|
import { GetCompoentObjectIdString } from '../ComponentObjectId';
|
|
|
|
import { GetCompoentObjectIdString } from '../ComponentObjectId';
|
|
|
|
|
|
|
|
import { CommonModal } from '../Modal/ModalContainer';
|
|
|
|
|
|
|
|
import { AppToaster, ToasterValueError } from '../Toaster';
|
|
|
|
|
|
|
|
import { Input5Or4Component, SetBoardDataBlock, SetBoardDataItem } from './BoardCommon';
|
|
|
|
|
|
|
|
import { BoardModalType } from './BoardModal';
|
|
|
|
|
|
|
|
|
|
|
|
@observer
|
|
|
|
@observer
|
|
|
|
export class WineRackModal extends React.Component<{ store?: WineRackStore; }, {}>
|
|
|
|
export class WineRackModal extends React.Component<{ store?: WineRackStore; }, {}>
|
|
|
@ -373,6 +373,15 @@ export class WineRackModal extends React.Component<{ store?: WineRackStore; }, {
|
|
|
|
m_Option.isDrawVer = !m_Option.isDrawVer;
|
|
|
|
m_Option.isDrawVer = !m_Option.isDrawVer;
|
|
|
|
}} />
|
|
|
|
}} />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<Checkbox
|
|
|
|
|
|
|
|
checked={m_Option.followNarrow}
|
|
|
|
|
|
|
|
inline={true}
|
|
|
|
|
|
|
|
label="补板是否跟着缩进"
|
|
|
|
|
|
|
|
onChange={() =>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
m_Option.followNarrow = !m_Option.followNarrow;
|
|
|
|
|
|
|
|
}}
|
|
|
|
|
|
|
|
/>
|
|
|
|
</>
|
|
|
|
</>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|