Browse Source

BI-18702

master
iapyang 7 years ago
parent
commit
d38b58ba1a
  1. 8
      dist/bundle.js
  2. 8
      dist/widget.js
  3. 5
      src/widget/singleselect/trigger/searcher.singleselect.js

8
dist/bundle.js vendored

@ -105174,8 +105174,9 @@ BI.SingleSelectSearcher = BI.inherit(BI.Widget, {
return self.editor.getValue(); return self.editor.getValue();
}, },
itemsCreator: function (op, callback) { itemsCreator: function (op, callback) {
op.keyword = self.editor.getValue(); var keyword = self.editor.getValue();
this.setKeyword(op.keyword); op.keywords = [keyword];
this.setKeyword(keyword);
o.itemsCreator(op, callback); o.itemsCreator(op, callback);
}, },
value: o.value value: o.value
@ -105271,7 +105272,8 @@ BI.SingleSelectSearcher.EVENT_START = "EVENT_START";
BI.SingleSelectSearcher.EVENT_STOP = "EVENT_STOP"; BI.SingleSelectSearcher.EVENT_STOP = "EVENT_STOP";
BI.SingleSelectSearcher.EVENT_PAUSE = "EVENT_PAUSE"; BI.SingleSelectSearcher.EVENT_PAUSE = "EVENT_PAUSE";
BI.SingleSelectSearcher.EVENT_SEARCHING = "EVENT_SEARCHING"; BI.SingleSelectSearcher.EVENT_SEARCHING = "EVENT_SEARCHING";
BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher);/** BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher);
/**
* 单选加载数据搜索loader面板 * 单选加载数据搜索loader面板
* Created by guy on 15/11/4. * Created by guy on 15/11/4.
* @class BI.SingleSelectSearchLoader * @class BI.SingleSelectSearchLoader

8
dist/widget.js vendored

@ -17710,8 +17710,9 @@ BI.SingleSelectSearcher = BI.inherit(BI.Widget, {
return self.editor.getValue(); return self.editor.getValue();
}, },
itemsCreator: function (op, callback) { itemsCreator: function (op, callback) {
op.keyword = self.editor.getValue(); var keyword = self.editor.getValue();
this.setKeyword(op.keyword); op.keywords = [keyword];
this.setKeyword(keyword);
o.itemsCreator(op, callback); o.itemsCreator(op, callback);
}, },
value: o.value value: o.value
@ -17807,7 +17808,8 @@ BI.SingleSelectSearcher.EVENT_START = "EVENT_START";
BI.SingleSelectSearcher.EVENT_STOP = "EVENT_STOP"; BI.SingleSelectSearcher.EVENT_STOP = "EVENT_STOP";
BI.SingleSelectSearcher.EVENT_PAUSE = "EVENT_PAUSE"; BI.SingleSelectSearcher.EVENT_PAUSE = "EVENT_PAUSE";
BI.SingleSelectSearcher.EVENT_SEARCHING = "EVENT_SEARCHING"; BI.SingleSelectSearcher.EVENT_SEARCHING = "EVENT_SEARCHING";
BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher);/** BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher);
/**
* 单选加载数据搜索loader面板 * 单选加载数据搜索loader面板
* Created by guy on 15/11/4. * Created by guy on 15/11/4.
* @class BI.SingleSelectSearchLoader * @class BI.SingleSelectSearchLoader

5
src/widget/singleselect/trigger/searcher.singleselect.js

@ -44,8 +44,9 @@ BI.SingleSelectSearcher = BI.inherit(BI.Widget, {
return self.editor.getValue(); return self.editor.getValue();
}, },
itemsCreator: function (op, callback) { itemsCreator: function (op, callback) {
op.keyword = self.editor.getValue(); var keyword = self.editor.getValue();
this.setKeyword(op.keyword); op.keywords = [keyword];
this.setKeyword(keyword);
o.itemsCreator(op, callback); o.itemsCreator(op, callback);
}, },
value: o.value value: o.value

Loading…
Cancel
Save