diff --git a/typescript/base/combination/tab.ts b/typescript/base/combination/tab.ts index 0469a2f595..6d521772cf 100644 --- a/typescript/base/combination/tab.ts +++ b/typescript/base/combination/tab.ts @@ -6,6 +6,17 @@ export declare class Tab extends Widget { static EVENT_CHANGE: string; + props: { + showIndex: any; + cardCreator: (v: any) => Obj; + direction?: 'top' | 'bottom' | 'left' | 'right' | 'custom'; // top, bottom, left, right, custom + single?: boolean; // 是不是单页面 + logic?: { + dynamic: boolean; + }; + tab?: any[]; + } + setSelect(v: string | number, action?: Action, callback?: Function): void; removeTab(v: string | number): void; diff --git a/typescript/component/allvaluechooser/combo.allvaluechooser.ts b/typescript/component/allvaluechooser/combo.allvaluechooser.ts index 20b3affe1a..76ac5171d7 100644 --- a/typescript/component/allvaluechooser/combo.allvaluechooser.ts +++ b/typescript/component/allvaluechooser/combo.allvaluechooser.ts @@ -3,6 +3,8 @@ import { AbstractAllValueChooser } from "./abstract.allvaluechooser"; export declare class AllValueChooserCombo extends AbstractAllValueChooser { static xtype: string; + static EVENT_CONFIRM: string; + getAllValue(): any; populate(...args: any[]): void; diff --git a/typescript/index.ts b/typescript/index.ts index fbfed1af78..5a35dde5a5 100644 --- a/typescript/index.ts +++ b/typescript/index.ts @@ -164,6 +164,10 @@ import { BlankIconTextItem } from './base/single/button/listitem/blankicontextit import { Broadcasts, Layers } from "./base/base"; import { BroadcastController } from "./core/controller/controller.broadcast"; import { Pager } from "./base/pager/pager"; +import { TimeInterval } from './widget/timeinterval/timeinterval'; +import { DynamicDateTimePane } from './widget/datetimepane/datetimepane'; +import { SingleSelectInsertList } from './widget/singleselect/singleselectlist.insert'; +import { MultiSelectTree } from './widget/multiselecttree/multiselecttree'; export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils { @@ -335,6 +339,10 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils { AdaptiveLayout: typeof AdaptiveLayout; HexColorChooserPopup: typeof HexColorChooserPopup; BlankIconTextItem: typeof BlankIconTextItem; + TimeInterval: typeof TimeInterval; + DynamicDateTimePane: typeof DynamicDateTimePane; + SingleSelectInsertList: typeof SingleSelectInsertList; + MultiSelectTree: typeof MultiSelectTree; } export default { @@ -506,4 +514,8 @@ export { AdaptiveLayout, HexColorChooserPopup, BlankIconTextItem, + TimeInterval, + DynamicDateTimePane, + SingleSelectInsertList, + MultiSelectTree, };