Browse Source

Merge pull request #1098 in VISUAL/fineui from ~WINDY/fineui:master to master

* commit 'e247b3935a527aa775460c43989f2229b0236d1d':
  REPORT-20334 fix: 同步下拉树搜索loading不消失
es6
windy 5 years ago
parent
commit
29aba4e7ce
  1. 11
      dist/2.0/fineui.ie.js
  2. 11
      dist/2.0/fineui.js
  3. 11
      dist/bundle.ie.js
  4. 11
      dist/bundle.js
  5. 11
      dist/fineui.ie.js
  6. 11
      dist/fineui.js
  7. 11
      dist/fineui_without_jquery_polyfill.js
  8. 11
      dist/widget.js
  9. 11
      src/widget/multilayersingletree/multilayersingletree.trigger.js

11
dist/2.0/fineui.ie.js vendored

@ -70081,7 +70081,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
}, },
popup: { popup: {
type: "bi.multilayer_single_tree_popup", type: "bi.multilayer_single_tree_popup",
itemsCreator: function (op, callback) { itemsCreator: o.itemsCreator === BI.emptyFn ? BI.emptyFn : function (op, callback) {
op.keyword = self.editor.getValue(); op.keyword = self.editor.getValue();
o.itemsCreator(op, callback); o.itemsCreator(op, callback);
}, },
@ -70162,7 +70162,14 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
_digest: function (v) { _digest: function (v) {
var o = this.options; var o = this.options;
return o.valueFormatter(v) || o.text; if(o.itemsCreator === BI.emptyFn) {
var result = BI.find(o.items, function (i, item) {
return item.value === v;
});
return BI.isNotNull(result) ? result.text : o.text;
}
return o.valueFormatter(v);
}, },
stopEditing: function () { stopEditing: function () {

11
dist/2.0/fineui.js vendored

@ -70485,7 +70485,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
}, },
popup: { popup: {
type: "bi.multilayer_single_tree_popup", type: "bi.multilayer_single_tree_popup",
itemsCreator: function (op, callback) { itemsCreator: o.itemsCreator === BI.emptyFn ? BI.emptyFn : function (op, callback) {
op.keyword = self.editor.getValue(); op.keyword = self.editor.getValue();
o.itemsCreator(op, callback); o.itemsCreator(op, callback);
}, },
@ -70566,7 +70566,14 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
_digest: function (v) { _digest: function (v) {
var o = this.options; var o = this.options;
return o.valueFormatter(v) || o.text; if(o.itemsCreator === BI.emptyFn) {
var result = BI.find(o.items, function (i, item) {
return item.value === v;
});
return BI.isNotNull(result) ? result.text : o.text;
}
return o.valueFormatter(v);
}, },
stopEditing: function () { stopEditing: function () {

11
dist/bundle.ie.js vendored

@ -70081,7 +70081,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
}, },
popup: { popup: {
type: "bi.multilayer_single_tree_popup", type: "bi.multilayer_single_tree_popup",
itemsCreator: function (op, callback) { itemsCreator: o.itemsCreator === BI.emptyFn ? BI.emptyFn : function (op, callback) {
op.keyword = self.editor.getValue(); op.keyword = self.editor.getValue();
o.itemsCreator(op, callback); o.itemsCreator(op, callback);
}, },
@ -70162,7 +70162,14 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
_digest: function (v) { _digest: function (v) {
var o = this.options; var o = this.options;
return o.valueFormatter(v) || o.text; if(o.itemsCreator === BI.emptyFn) {
var result = BI.find(o.items, function (i, item) {
return item.value === v;
});
return BI.isNotNull(result) ? result.text : o.text;
}
return o.valueFormatter(v);
}, },
stopEditing: function () { stopEditing: function () {

11
dist/bundle.js vendored

@ -70485,7 +70485,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
}, },
popup: { popup: {
type: "bi.multilayer_single_tree_popup", type: "bi.multilayer_single_tree_popup",
itemsCreator: function (op, callback) { itemsCreator: o.itemsCreator === BI.emptyFn ? BI.emptyFn : function (op, callback) {
op.keyword = self.editor.getValue(); op.keyword = self.editor.getValue();
o.itemsCreator(op, callback); o.itemsCreator(op, callback);
}, },
@ -70566,7 +70566,14 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
_digest: function (v) { _digest: function (v) {
var o = this.options; var o = this.options;
return o.valueFormatter(v) || o.text; if(o.itemsCreator === BI.emptyFn) {
var result = BI.find(o.items, function (i, item) {
return item.value === v;
});
return BI.isNotNull(result) ? result.text : o.text;
}
return o.valueFormatter(v);
}, },
stopEditing: function () { stopEditing: function () {

11
dist/fineui.ie.js vendored

@ -70326,7 +70326,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
}, },
popup: { popup: {
type: "bi.multilayer_single_tree_popup", type: "bi.multilayer_single_tree_popup",
itemsCreator: function (op, callback) { itemsCreator: o.itemsCreator === BI.emptyFn ? BI.emptyFn : function (op, callback) {
op.keyword = self.editor.getValue(); op.keyword = self.editor.getValue();
o.itemsCreator(op, callback); o.itemsCreator(op, callback);
}, },
@ -70407,7 +70407,14 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
_digest: function (v) { _digest: function (v) {
var o = this.options; var o = this.options;
return o.valueFormatter(v) || o.text; if(o.itemsCreator === BI.emptyFn) {
var result = BI.find(o.items, function (i, item) {
return item.value === v;
});
return BI.isNotNull(result) ? result.text : o.text;
}
return o.valueFormatter(v);
}, },
stopEditing: function () { stopEditing: function () {

11
dist/fineui.js vendored

@ -70730,7 +70730,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
}, },
popup: { popup: {
type: "bi.multilayer_single_tree_popup", type: "bi.multilayer_single_tree_popup",
itemsCreator: function (op, callback) { itemsCreator: o.itemsCreator === BI.emptyFn ? BI.emptyFn : function (op, callback) {
op.keyword = self.editor.getValue(); op.keyword = self.editor.getValue();
o.itemsCreator(op, callback); o.itemsCreator(op, callback);
}, },
@ -70811,7 +70811,14 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
_digest: function (v) { _digest: function (v) {
var o = this.options; var o = this.options;
return o.valueFormatter(v) || o.text; if(o.itemsCreator === BI.emptyFn) {
var result = BI.find(o.items, function (i, item) {
return item.value === v;
});
return BI.isNotNull(result) ? result.text : o.text;
}
return o.valueFormatter(v);
}, },
stopEditing: function () { stopEditing: function () {

11
dist/fineui_without_jquery_polyfill.js vendored

@ -53032,7 +53032,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
}, },
popup: { popup: {
type: "bi.multilayer_single_tree_popup", type: "bi.multilayer_single_tree_popup",
itemsCreator: function (op, callback) { itemsCreator: o.itemsCreator === BI.emptyFn ? BI.emptyFn : function (op, callback) {
op.keyword = self.editor.getValue(); op.keyword = self.editor.getValue();
o.itemsCreator(op, callback); o.itemsCreator(op, callback);
}, },
@ -53113,7 +53113,14 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
_digest: function (v) { _digest: function (v) {
var o = this.options; var o = this.options;
return o.valueFormatter(v) || o.text; if(o.itemsCreator === BI.emptyFn) {
var result = BI.find(o.items, function (i, item) {
return item.value === v;
});
return BI.isNotNull(result) ? result.text : o.text;
}
return o.valueFormatter(v);
}, },
stopEditing: function () { stopEditing: function () {

11
dist/widget.js vendored

@ -8146,7 +8146,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
}, },
popup: { popup: {
type: "bi.multilayer_single_tree_popup", type: "bi.multilayer_single_tree_popup",
itemsCreator: function (op, callback) { itemsCreator: o.itemsCreator === BI.emptyFn ? BI.emptyFn : function (op, callback) {
op.keyword = self.editor.getValue(); op.keyword = self.editor.getValue();
o.itemsCreator(op, callback); o.itemsCreator(op, callback);
}, },
@ -8227,7 +8227,14 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
_digest: function (v) { _digest: function (v) {
var o = this.options; var o = this.options;
return o.valueFormatter(v) || o.text; if(o.itemsCreator === BI.emptyFn) {
var result = BI.find(o.items, function (i, item) {
return item.value === v;
});
return BI.isNotNull(result) ? result.text : o.text;
}
return o.valueFormatter(v);
}, },
stopEditing: function () { stopEditing: function () {

11
src/widget/multilayersingletree/multilayersingletree.trigger.js

@ -61,7 +61,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
}, },
popup: { popup: {
type: "bi.multilayer_single_tree_popup", type: "bi.multilayer_single_tree_popup",
itemsCreator: function (op, callback) { itemsCreator: o.itemsCreator === BI.emptyFn ? BI.emptyFn : function (op, callback) {
op.keyword = self.editor.getValue(); op.keyword = self.editor.getValue();
o.itemsCreator(op, callback); o.itemsCreator(op, callback);
}, },
@ -142,7 +142,14 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
_digest: function (v) { _digest: function (v) {
var o = this.options; var o = this.options;
return o.valueFormatter(v) || o.text; if(o.itemsCreator === BI.emptyFn) {
var result = BI.find(o.items, function (i, item) {
return item.value === v;
});
return BI.isNotNull(result) ? result.text : o.text;
}
return o.valueFormatter(v);
}, },
stopEditing: function () { stopEditing: function () {

Loading…
Cancel
Save