Browse Source

BI-18702

master
iapyang 7 years ago
parent
commit
d38b58ba1a
  1. 8
      dist/bundle.js
  2. 8
      dist/widget.js
  3. 7
      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();
},
itemsCreator: function (op, callback) {
op.keyword = self.editor.getValue();
this.setKeyword(op.keyword);
var keyword = self.editor.getValue();
op.keywords = [keyword];
this.setKeyword(keyword);
o.itemsCreator(op, callback);
},
value: o.value
@ -105271,7 +105272,8 @@ BI.SingleSelectSearcher.EVENT_START = "EVENT_START";
BI.SingleSelectSearcher.EVENT_STOP = "EVENT_STOP";
BI.SingleSelectSearcher.EVENT_PAUSE = "EVENT_PAUSE";
BI.SingleSelectSearcher.EVENT_SEARCHING = "EVENT_SEARCHING";
BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher);/**
BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher);
/**
* 单选加载数据搜索loader面板
* Created by guy on 15/11/4.
* @class BI.SingleSelectSearchLoader

8
dist/widget.js vendored

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

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

@ -44,8 +44,9 @@ BI.SingleSelectSearcher = BI.inherit(BI.Widget, {
return self.editor.getValue();
},
itemsCreator: function (op, callback) {
op.keyword = self.editor.getValue();
this.setKeyword(op.keyword);
var keyword = self.editor.getValue();
op.keywords = [keyword];
this.setKeyword(keyword);
o.itemsCreator(op, callback);
},
value: o.value
@ -141,4 +142,4 @@ BI.SingleSelectSearcher.EVENT_START = "EVENT_START";
BI.SingleSelectSearcher.EVENT_STOP = "EVENT_STOP";
BI.SingleSelectSearcher.EVENT_PAUSE = "EVENT_PAUSE";
BI.SingleSelectSearcher.EVENT_SEARCHING = "EVENT_SEARCHING";
BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher);
BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher);

Loading…
Cancel
Save