From 0695b9896688b51eb778a5d707284076f5e8fc98 Mon Sep 17 00:00:00 2001 From: Kobi Date: Wed, 19 May 2021 14:50:54 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-7828=20=E8=A1=A5=E5=85=85=E4=B8=80?= =?UTF-8?q?=E4=B8=8B=E7=B1=BB=E5=9E=8B=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/base/combination/tab.ts | 9 +++++++++ .../allvaluechooser/combo.allvaluechooser.ts | 2 ++ typescript/index.ts | 12 ++++++++++++ 3 files changed, 23 insertions(+) diff --git a/typescript/base/combination/tab.ts b/typescript/base/combination/tab.ts index 0469a2f595..1d16fc0c75 100644 --- a/typescript/base/combination/tab.ts +++ b/typescript/base/combination/tab.ts @@ -6,6 +6,15 @@ export declare class Tab extends Widget { static EVENT_CHANGE: string; + props: { + showIndex: any; + cardCreator: Function; + direction?: string; // top, bottom, left, right, custom + single?: boolean; // 是不是单页面 + logic?: any; + tab?: boolean; + } + 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..cc436ff666 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 TimeInterval; + SingleSelectInsertList: typeof TimeInterval; + MultiSelectTree: typeof TimeInterval; } export default { @@ -506,4 +514,8 @@ export { AdaptiveLayout, HexColorChooserPopup, BlankIconTextItem, + TimeInterval, + DynamicDateTimePane, + SingleSelectInsertList, + MultiSelectTree, };