diff --git a/typescript/index.ts b/typescript/index.ts index 237316ddc..b5dff7b9c 100644 --- a/typescript/index.ts +++ b/typescript/index.ts @@ -20,6 +20,8 @@ import { _TextValueCombo, _TextValueComboStatic } from "./case/combo/combo.textv import { _SignEditor, _SignEditorStatic } from "./case/editor/editor.sign"; import { _LoadingPane } from "./case/loading/loading_pane"; import { _AllValueMultiTextValueCombo, _AllValueMultiTextValueComboStatic } from "./component/allvaluemultitextvaluecombo/allvalue.multitextvalue.combo"; +import { _AbstractTreeValueChooser } from "./component/treevaluechooser/abstract.treevaluechooser"; +import { _AbstractListTreeValueChooser } from "./component/treevaluechooser/abstract.treevaluechooser.list"; import { _Action, _ActionFactory } from "./core/action/action"; import { _ShowAction } from "./core/action/action.show"; import { _base } from "./core/base"; @@ -33,8 +35,7 @@ import { _OB } from "./core/ob"; import { _Widget, _WidgetStatic } from "./core/widget"; import { _Layout } from "./core/wrapper/layout"; import { _HTapeLayout, _VTapeLayout } from "./core/wrapper/layout/layout.tape"; -import { _AbstractTreeValueChooser } from "./component/treevaluechooser/abstract.treevaluechooser"; -import { _AbstractListTreeValueChooser } from "./component/treevaluechooser/abstract.treevaluechooser.list"; +import { _DownListCombo, _DownListComboStatic } from "./widget/downlist/combo.downlist"; type ClassConstructor = T & { @@ -81,6 +82,7 @@ export interface BI extends _func, _i18n, _base { AbstractTreeValueChooser: ClassConstructor<_AbstractTreeValueChooser>; AbstractListTreeValueChooser: ClassConstructor<_AbstractListTreeValueChooser>; Decorators: typeof decorator; + DownListCombo: ClassConstructor<_DownListCombo> & _DownListComboStatic; } export default { diff --git a/typescript/widget/downlist/combo.downlist.ts b/typescript/widget/downlist/combo.downlist.ts new file mode 100644 index 000000000..eec23e9be --- /dev/null +++ b/typescript/widget/downlist/combo.downlist.ts @@ -0,0 +1,15 @@ +import { _Widget } from "typescript/core/widget"; + +export interface _DownListCombo extends _Widget { + hideView: () => void; + + showView: (e?: any) => void; + + populate: (items?: any) => void; +} + +export interface _DownListComboStatic { + EVENT_CHANGE: string; + EVENT_SON_VALUE_CHANGE: string; + EVENT_BEFORE_POPUPVIEW: string; +} \ No newline at end of file