Browse Source

Pull request #1984: 无JIRA任务 补充类型

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

* commit 'f3f4645f5677d7c55e691969e135d15a4ec4e447':
  无JIRA任务 chore: 补充类型
es6
Youki 4 years ago
parent
commit
c62200726e
  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 { SingleSelectInsertList } from './widget/singleselect/singleselectlist.insert';
import { MultiSelectTree } from './widget/multiselecttree/multiselecttree'; import { MultiSelectTree } from './widget/multiselecttree/multiselecttree';
import { HtmlLabel } from "./base/single/label/html.label"; 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 { 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; SingleSelectInsertList: typeof SingleSelectInsertList;
MultiSelectTree: typeof MultiSelectTree; MultiSelectTree: typeof MultiSelectTree;
HtmlLabel: typeof HtmlLabel; HtmlLabel: typeof HtmlLabel;
TreeValueChooserPane: typeof TreeValueChooserPane;
} }
export default { export default {
@ -524,4 +526,5 @@ export {
SingleSelectInsertList, SingleSelectInsertList,
MultiSelectTree, MultiSelectTree,
HtmlLabel, HtmlLabel,
TreeValueChooserPane,
}; };

Loading…
Cancel
Save