Browse Source

refactor: 补充描述

es6
iapyang 4 years ago
parent
commit
da5dc8329b
  1. 12
      typescript/index.ts
  2. 16
      typescript/widget/multilayerselecttree/multilayerselecttree.combo.ts
  3. 16
      typescript/widget/multilayersingletree/multilayersingletree.combo.ts
  4. 23
      typescript/widget/multitree/multi.tree.insert.combo.ts
  5. 22
      typescript/widget/multitree/multi.tree.list.combo.ts

12
typescript/index.ts

@ -108,6 +108,10 @@ import { SingleSelectCombo } from "./widget/singleselect/singleselect.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 extends {}> = T & {
@ -165,6 +169,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>;
@ -291,6 +299,10 @@ export {
ListTreeView,
ListAsyncTree,
AsyncTree,
MultiLayerSingleTreeCombo,
MultiLayerSelectTreeCombo,
MultiTreeListCombo,
MultiTreeInsertCombo,
Combo,
IconCombo,
DynamicDateCombo,

16
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<T>(items: T[]): void;
}

16
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<T>(items: T[]): void
}

23
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;
}

22
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;
}
Loading…
Cancel
Save