diff --git a/typescript/index.ts b/typescript/index.ts index 5ba8fbfff..710d899ee 100644 --- a/typescript/index.ts +++ b/typescript/index.ts @@ -111,6 +111,10 @@ import { TimeCombo } from "./widget/time/time.combo"; import { ListTreeView } from "./base/tree/ztree/list/listtreeview"; import { ListAsyncTree } from "./base/tree/ztree/list/listasynctree"; import { AsyncTree } from "./base/tree/ztree/asynctree"; +import { MultiLayerSingleTreeCombo } from "./widget/multilayersingletree/multilayersingletree.combo"; +import { MultiLayerSelectTreeCombo } from "./widget/multilayerselecttree/multilayerselecttree.combo"; +import { MultiTreeListCombo } from "./widget/multitree/multi.tree.list.combo"; +import { MultiTreeInsertCombo } from "./widget/multitree/multi.tree.insert.combo"; type ClassConstructor = T & { @@ -168,6 +172,10 @@ export interface BI extends _func, _i18n, _base, _inject { ListTreeView: typeof ListTreeView; ListAsyncTree: typeof ListAsyncTree; AsyncTree: typeof AsyncTree; + MultiLayerSingleTreeCombo: typeof MultiLayerSingleTreeCombo; + MultiLayerSelectTreeCombo: typeof MultiLayerSelectTreeCombo; + MultiTreeListCombo: typeof MultiTreeListCombo; + MultiTreeInsertCombo: typeof MultiTreeInsertCombo; Decorators: typeof decorator; DownListCombo: ClassConstructor<_DownListCombo> & _DownListComboStatic; Iframe: ClassConstructor<_Iframe>; @@ -297,6 +305,10 @@ export { ListTreeView, ListAsyncTree, AsyncTree, + MultiLayerSingleTreeCombo, + MultiLayerSelectTreeCombo, + MultiTreeListCombo, + MultiTreeInsertCombo, Combo, IconCombo, DynamicDateCombo, diff --git a/typescript/widget/multilayerselecttree/multilayerselecttree.combo.ts b/typescript/widget/multilayerselecttree/multilayerselecttree.combo.ts new file mode 100644 index 000000000..3dded7a47 --- /dev/null +++ b/typescript/widget/multilayerselecttree/multilayerselecttree.combo.ts @@ -0,0 +1,16 @@ +import { Widget } from "../../core/widget"; + +export declare class MultiLayerSelectTreeCombo extends Widget { + static xtype: string; + static EVENT_SEARCHING: string; + static EVENT_BLUR: string; + static EVENT_FOCUS: string; + static EVENT_CHANGE: string; + static EVENT_BEFORE_POPUPVIEW: string; + + setValue(v: string[] | string): void; + + getValue(): string[]; + + populate(items: T[]): void; +} diff --git a/typescript/widget/multilayersingletree/multilayersingletree.combo.ts b/typescript/widget/multilayersingletree/multilayersingletree.combo.ts new file mode 100644 index 000000000..4442fb208 --- /dev/null +++ b/typescript/widget/multilayersingletree/multilayersingletree.combo.ts @@ -0,0 +1,16 @@ +import { Widget } from "../../core/widget"; + +export declare class MultiLayerSingleTreeCombo extends Widget { + static xtype: string; + static EVENT_SEARCHING: string; + static EVENT_BLUR: string; + static EVENT_FOCUS: string; + static EVENT_CHANGE: string; + static EVENT_BEFORE_POPUPVIEW: string; + + setValue(v: string[] | string): void; + + getValue(): string[]; + + populate(items: T[]): void +} diff --git a/typescript/widget/multitree/multi.tree.insert.combo.ts b/typescript/widget/multitree/multi.tree.insert.combo.ts new file mode 100644 index 000000000..005f05ae0 --- /dev/null +++ b/typescript/widget/multitree/multi.tree.insert.combo.ts @@ -0,0 +1,23 @@ +import { Single } from "../../base/single/single"; +import { TreeValue } from "../../base/tree/ztree/treeview"; + +export declare class MultiTreeInsertCombo extends Single { + static xtype: string; + static EVENT_FOCUS: string; + static EVENT_BLUR: string; + static EVENT_STOP: string; + static EVENT_CLICK_ITEM: string; + static EVENT_SEARCHING: string; + static EVENT_CONFIRM: string; + static EVENT_BEFORE_POPUPVIEW: string; + + showView(): void; + + hideView(): void; + + setValue(v: TreeValue): void; + + getValue(): TreeValue; + + populate(): void; +} diff --git a/typescript/widget/multitree/multi.tree.list.combo.ts b/typescript/widget/multitree/multi.tree.list.combo.ts new file mode 100644 index 000000000..97d3020ab --- /dev/null +++ b/typescript/widget/multitree/multi.tree.list.combo.ts @@ -0,0 +1,22 @@ +import { Single } from "../../base/single/single"; + +export declare class MultiTreeListCombo extends Single { + static xtype: string; + static EVENT_FOCUS: string; + static EVENT_BLUR: string; + static EVENT_STOP: string; + static EVENT_CLICK_ITEM: string; + static EVENT_SEARCHING: string; + static EVENT_CONFIRM: string; + static EVENT_BEFORE_POPUPVIEW: string; + + showView(): void; + + hideView(): void; + + setValue(v: string[]): void; + + getValue(): string[]; + + populate(): void; +}