From 803c35d564cabf9911cdfaede71e30f26e5c3ed8 Mon Sep 17 00:00:00 2001 From: iapyang Date: Fri, 18 Jun 2021 18:13:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0getSearcher=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/component/treevaluechooser/combo.listtreevaluechooser.js | 4 ++++ .../treevaluechooser/combo.treevaluechooser.insert.js | 4 ++++ src/component/treevaluechooser/combo.treevaluechooser.js | 4 ++++ .../component/treevaluechooser/combo.listtreevaluechooser.ts | 3 +++ .../treevaluechooser/combo.treevaluechooser.insert.ts | 3 +++ .../component/treevaluechooser/combo.treevaluechooser.ts | 3 +++ 6 files changed, 21 insertions(+) diff --git a/src/component/treevaluechooser/combo.listtreevaluechooser.js b/src/component/treevaluechooser/combo.listtreevaluechooser.js index 51e9cd0475..97a682a87b 100644 --- a/src/component/treevaluechooser/combo.listtreevaluechooser.js +++ b/src/component/treevaluechooser/combo.listtreevaluechooser.js @@ -84,6 +84,10 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser, this.combo.hideView(); }, + getSearcher: function () { + return this.combo.getSearcher(); + }, + setValue: function (v) { this.combo.setValue(v); }, diff --git a/src/component/treevaluechooser/combo.treevaluechooser.insert.js b/src/component/treevaluechooser/combo.treevaluechooser.insert.js index 15ebd6ea0b..07c4ad9ecf 100644 --- a/src/component/treevaluechooser/combo.treevaluechooser.insert.js +++ b/src/component/treevaluechooser/combo.treevaluechooser.insert.js @@ -83,6 +83,10 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo.hideView(); }, + getSearcher: function () { + return this.combo.getSearcher(); + }, + setValue: function (v) { this.combo.setValue(v); }, diff --git a/src/component/treevaluechooser/combo.treevaluechooser.js b/src/component/treevaluechooser/combo.treevaluechooser.js index 2b567b0876..452dce5bb7 100644 --- a/src/component/treevaluechooser/combo.treevaluechooser.js +++ b/src/component/treevaluechooser/combo.treevaluechooser.js @@ -83,6 +83,10 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo.hideView(); }, + getSearcher: function () { + return this.combo.getSearcher(); + }, + setValue: function (v) { this.combo.setValue(v); }, diff --git a/typescript/component/treevaluechooser/combo.listtreevaluechooser.ts b/typescript/component/treevaluechooser/combo.listtreevaluechooser.ts index 9905e830d2..7b4b98b086 100644 --- a/typescript/component/treevaluechooser/combo.listtreevaluechooser.ts +++ b/typescript/component/treevaluechooser/combo.listtreevaluechooser.ts @@ -1,3 +1,4 @@ +import { Trigger } from "typescript/base/single/trigger/trigger"; import { AbstractListTreeValueChooser } from "./abstract.treevaluechooser.list"; export declare class ListTreeValueChooserInsertCombo extends AbstractListTreeValueChooser { @@ -19,4 +20,6 @@ export declare class ListTreeValueChooserInsertCombo extends AbstractListTreeVal getValue(): T; populate(items: T[]): void; + + getSearcher(): Trigger; } diff --git a/typescript/component/treevaluechooser/combo.treevaluechooser.insert.ts b/typescript/component/treevaluechooser/combo.treevaluechooser.insert.ts index b93afde635..e95e4baebd 100644 --- a/typescript/component/treevaluechooser/combo.treevaluechooser.insert.ts +++ b/typescript/component/treevaluechooser/combo.treevaluechooser.insert.ts @@ -1,3 +1,4 @@ +import { Trigger } from "typescript/base/single/trigger/trigger"; import { AbstractTreeValueChooser } from "./abstract.treevaluechooser"; export declare class TreeValueChooserInsertCombo extends AbstractTreeValueChooser { @@ -19,4 +20,6 @@ export declare class TreeValueChooserInsertCombo extends AbstractTreeValueChoose getValue(): T; populate(items: T[]): void; + + getSearcher(): Trigger; } diff --git a/typescript/component/treevaluechooser/combo.treevaluechooser.ts b/typescript/component/treevaluechooser/combo.treevaluechooser.ts index a0a87626df..565063b581 100644 --- a/typescript/component/treevaluechooser/combo.treevaluechooser.ts +++ b/typescript/component/treevaluechooser/combo.treevaluechooser.ts @@ -1,3 +1,4 @@ +import { Trigger } from "typescript/base/single/trigger/trigger"; import { AbstractTreeValueChooser } from "./abstract.treevaluechooser"; export declare class TreeValueChooserCombo extends AbstractTreeValueChooser { @@ -21,4 +22,6 @@ export declare class TreeValueChooserCombo extends AbstractTreeValueChooser { getAllValue(): T; populate(items: T[]): void; + + getSearcher(): Trigger; }