Browse Source

无JIRA任务 chore: 补充类型

es6
youki 4 years ago
parent
commit
f3f4645f56
  1. 17
      typescript/component/treevaluechooser/pane.treevaluechooser.ts
  2. 3
      typescript/index.ts

17
typescript/component/treevaluechooser/pane.treevaluechooser.ts

@ -0,0 +1,17 @@
import { TreeValue } from '../../base/tree/ztree/treeview';
import { AbstractTreeValueChooser } from "./abstract.treevaluechooser";
export declare class TreeValueChooserPane extends AbstractTreeValueChooser {
static xtype: string;
static EVENT_CHANGE: string;
setSelectedValue(v: TreeValue): void;
setValue(v: TreeValue): void;
getValue(): TreeValue;
getAllValue(): TreeValue;
populate<T>(items?: T[]): void;
}

3
typescript/index.ts

@ -170,6 +170,7 @@ import { DynamicDateTimePane } from './widget/datetimepane/datetimepane';
import { SingleSelectInsertList } from './widget/singleselect/singleselectlist.insert';
import { MultiSelectTree } from './widget/multiselecttree/multiselecttree';
import { HtmlLabel } from "./base/single/label/html.label";
import { TreeValueChooserPane } from './component/treevaluechooser/pane.treevaluechooser';
export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
@ -347,6 +348,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
SingleSelectInsertList: typeof SingleSelectInsertList;
MultiSelectTree: typeof MultiSelectTree;
HtmlLabel: typeof HtmlLabel;
TreeValueChooserPane: typeof TreeValueChooserPane;
}
export default {
@ -524,4 +526,5 @@ export {
SingleSelectInsertList,
MultiSelectTree,
HtmlLabel,
TreeValueChooserPane,
};

Loading…
Cancel
Save