Browse Source

Pull request #1327: KERNEL-4058 refactor: fineui中添加DownListCombo控件的声明

Merge in VISUAL/fineui from ~GUYI/fineui:master to master

* commit '8a266d2bd22fb2c9c7361cd59c3d8f011986cebd':
  KERNEL-4058 refactor: fineui中添加DownListCombo控件的声明
  KERNEL-4058 refactor: fineui中添加DownListCombo控件的声明
  Revert "KERNEL-4058 refactor: fineui中添加DownListCombo控件的声明"
  Revert "KERNEL-4058 refactor: fineui中添加控件的声明"
  Revert "KERNEL-4058 refactor: fineui中添加DownListCombo控件的声明"
  KERNEL-4058 refactor: fineui中添加DownListCombo控件的声明
  KERNEL-4058 refactor: fineui中添加控件的声明
  KERNEL-4058 refactor: fineui中添加DownListCombo控件的声明
es6
Guyi 5 years ago
parent
commit
34938d496e
  1. 6
      typescript/index.ts
  2. 15
      typescript/widget/downlist/combo.downlist.ts

6
typescript/index.ts

@ -20,6 +20,8 @@ import { _TextValueCombo, _TextValueComboStatic } from "./case/combo/combo.textv
import { _SignEditor, _SignEditorStatic } from "./case/editor/editor.sign"; import { _SignEditor, _SignEditorStatic } from "./case/editor/editor.sign";
import { _LoadingPane } from "./case/loading/loading_pane"; import { _LoadingPane } from "./case/loading/loading_pane";
import { _AllValueMultiTextValueCombo, _AllValueMultiTextValueComboStatic } from "./component/allvaluemultitextvaluecombo/allvalue.multitextvalue.combo"; 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 { _Action, _ActionFactory } from "./core/action/action";
import { _ShowAction } from "./core/action/action.show"; import { _ShowAction } from "./core/action/action.show";
import { _base } from "./core/base"; import { _base } from "./core/base";
@ -33,8 +35,7 @@ import { _OB } from "./core/ob";
import { _Widget, _WidgetStatic } from "./core/widget"; import { _Widget, _WidgetStatic } from "./core/widget";
import { _Layout } from "./core/wrapper/layout"; import { _Layout } from "./core/wrapper/layout";
import { _HTapeLayout, _VTapeLayout } from "./core/wrapper/layout/layout.tape"; import { _HTapeLayout, _VTapeLayout } from "./core/wrapper/layout/layout.tape";
import { _AbstractTreeValueChooser } from "./component/treevaluechooser/abstract.treevaluechooser"; import { _DownListCombo, _DownListComboStatic } from "./widget/downlist/combo.downlist";
import { _AbstractListTreeValueChooser } from "./component/treevaluechooser/abstract.treevaluechooser.list";
type ClassConstructor<T extends {}> = T & { type ClassConstructor<T extends {}> = T & {
@ -81,6 +82,7 @@ export interface BI extends _func, _i18n, _base {
AbstractTreeValueChooser: ClassConstructor<_AbstractTreeValueChooser>; AbstractTreeValueChooser: ClassConstructor<_AbstractTreeValueChooser>;
AbstractListTreeValueChooser: ClassConstructor<_AbstractListTreeValueChooser>; AbstractListTreeValueChooser: ClassConstructor<_AbstractListTreeValueChooser>;
Decorators: typeof decorator; Decorators: typeof decorator;
DownListCombo: ClassConstructor<_DownListCombo> & _DownListComboStatic;
} }
export default { export default {

15
typescript/widget/downlist/combo.downlist.ts

@ -0,0 +1,15 @@
import { _Widget } from "../../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;
}
Loading…
Cancel
Save