Browse Source

feat: 增加getSearcher接口

es6
iapyang 3 years ago
parent
commit
803c35d564
  1. 4
      src/component/treevaluechooser/combo.listtreevaluechooser.js
  2. 4
      src/component/treevaluechooser/combo.treevaluechooser.insert.js
  3. 4
      src/component/treevaluechooser/combo.treevaluechooser.js
  4. 3
      typescript/component/treevaluechooser/combo.listtreevaluechooser.ts
  5. 3
      typescript/component/treevaluechooser/combo.treevaluechooser.insert.ts
  6. 3
      typescript/component/treevaluechooser/combo.treevaluechooser.ts

4
src/component/treevaluechooser/combo.listtreevaluechooser.js

@ -84,6 +84,10 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
this.combo.hideView(); this.combo.hideView();
}, },
getSearcher: function () {
return this.combo.getSearcher();
},
setValue: function (v) { setValue: function (v) {
this.combo.setValue(v); this.combo.setValue(v);
}, },

4
src/component/treevaluechooser/combo.treevaluechooser.insert.js

@ -83,6 +83,10 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo.hideView(); this.combo.hideView();
}, },
getSearcher: function () {
return this.combo.getSearcher();
},
setValue: function (v) { setValue: function (v) {
this.combo.setValue(v); this.combo.setValue(v);
}, },

4
src/component/treevaluechooser/combo.treevaluechooser.js

@ -83,6 +83,10 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo.hideView(); this.combo.hideView();
}, },
getSearcher: function () {
return this.combo.getSearcher();
},
setValue: function (v) { setValue: function (v) {
this.combo.setValue(v); this.combo.setValue(v);
}, },

3
typescript/component/treevaluechooser/combo.listtreevaluechooser.ts

@ -1,3 +1,4 @@
import { Trigger } from "typescript/base/single/trigger/trigger";
import { AbstractListTreeValueChooser } from "./abstract.treevaluechooser.list"; import { AbstractListTreeValueChooser } from "./abstract.treevaluechooser.list";
export declare class ListTreeValueChooserInsertCombo extends AbstractListTreeValueChooser { export declare class ListTreeValueChooserInsertCombo extends AbstractListTreeValueChooser {
@ -19,4 +20,6 @@ export declare class ListTreeValueChooserInsertCombo extends AbstractListTreeVal
getValue<T>(): T; getValue<T>(): T;
populate<T>(items: T[]): void; populate<T>(items: T[]): void;
getSearcher(): Trigger;
} }

3
typescript/component/treevaluechooser/combo.treevaluechooser.insert.ts

@ -1,3 +1,4 @@
import { Trigger } from "typescript/base/single/trigger/trigger";
import { AbstractTreeValueChooser } from "./abstract.treevaluechooser"; import { AbstractTreeValueChooser } from "./abstract.treevaluechooser";
export declare class TreeValueChooserInsertCombo extends AbstractTreeValueChooser { export declare class TreeValueChooserInsertCombo extends AbstractTreeValueChooser {
@ -19,4 +20,6 @@ export declare class TreeValueChooserInsertCombo extends AbstractTreeValueChoose
getValue<T>(): T; getValue<T>(): T;
populate<T>(items: T[]): void; populate<T>(items: T[]): void;
getSearcher(): Trigger;
} }

3
typescript/component/treevaluechooser/combo.treevaluechooser.ts

@ -1,3 +1,4 @@
import { Trigger } from "typescript/base/single/trigger/trigger";
import { AbstractTreeValueChooser } from "./abstract.treevaluechooser"; import { AbstractTreeValueChooser } from "./abstract.treevaluechooser";
export declare class TreeValueChooserCombo extends AbstractTreeValueChooser { export declare class TreeValueChooserCombo extends AbstractTreeValueChooser {
@ -21,4 +22,6 @@ export declare class TreeValueChooserCombo extends AbstractTreeValueChooser {
getAllValue<T>(): T; getAllValue<T>(): T;
populate<T>(items: T[]): void; populate<T>(items: T[]): void;
getSearcher(): Trigger;
} }

Loading…
Cancel
Save