iapyang 7 years ago
parent
commit
975b1b09f5
  1. 15
      dist/bundle.js
  2. 15
      dist/fineui.js
  3. 15
      dist/widget.js
  4. 15
      src/widget/singleselect/singleselectlist.insert.js

15
dist/bundle.js vendored

@ -104787,7 +104787,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
BI.SingleSelectInsertList.superclass._init.apply(this, arguments); BI.SingleSelectInsertList.superclass._init.apply(this, arguments);
var self = this, o = this.options; var self = this, o = this.options;
this.storeValue = o.value || {}; this.storeValue = o.value;
var assertShowValue = function () { var assertShowValue = function () {
BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue); BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue);
@ -104909,18 +104909,9 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
} }
}, { }, {
eventName: BI.Searcher.EVENT_CHANGE, eventName: BI.Searcher.EVENT_CHANGE,
action: function (value, obj) { action: function () {
if (obj instanceof BI.MultiSelectBar) { self.storeValue = this.getValue();
self._joinAll(this.getValue(), function () {
assertShowValue();
self.fireEvent(BI.SingleSelectInsertList.EVENT_CHANGE);
});
} else {
self._join(this.getValue(), function () {
assertShowValue();
self.fireEvent(BI.SingleSelectInsertList.EVENT_CHANGE); self.fireEvent(BI.SingleSelectInsertList.EVENT_CHANGE);
});
}
} }
}] }]
}); });

15
dist/fineui.js vendored

@ -105030,7 +105030,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
BI.SingleSelectInsertList.superclass._init.apply(this, arguments); BI.SingleSelectInsertList.superclass._init.apply(this, arguments);
var self = this, o = this.options; var self = this, o = this.options;
this.storeValue = o.value || {}; this.storeValue = o.value;
var assertShowValue = function () { var assertShowValue = function () {
BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue); BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue);
@ -105152,18 +105152,9 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
} }
}, { }, {
eventName: BI.Searcher.EVENT_CHANGE, eventName: BI.Searcher.EVENT_CHANGE,
action: function (value, obj) { action: function () {
if (obj instanceof BI.MultiSelectBar) { self.storeValue = this.getValue();
self._joinAll(this.getValue(), function () {
assertShowValue();
self.fireEvent(BI.SingleSelectInsertList.EVENT_CHANGE);
});
} else {
self._join(this.getValue(), function () {
assertShowValue();
self.fireEvent(BI.SingleSelectInsertList.EVENT_CHANGE); self.fireEvent(BI.SingleSelectInsertList.EVENT_CHANGE);
});
}
} }
}] }]
}); });

15
dist/widget.js vendored

@ -17326,7 +17326,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
BI.SingleSelectInsertList.superclass._init.apply(this, arguments); BI.SingleSelectInsertList.superclass._init.apply(this, arguments);
var self = this, o = this.options; var self = this, o = this.options;
this.storeValue = o.value || {}; this.storeValue = o.value;
var assertShowValue = function () { var assertShowValue = function () {
BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue); BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue);
@ -17448,18 +17448,9 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
} }
}, { }, {
eventName: BI.Searcher.EVENT_CHANGE, eventName: BI.Searcher.EVENT_CHANGE,
action: function (value, obj) { action: function () {
if (obj instanceof BI.MultiSelectBar) { self.storeValue = this.getValue();
self._joinAll(this.getValue(), function () {
assertShowValue();
self.fireEvent(BI.SingleSelectInsertList.EVENT_CHANGE);
});
} else {
self._join(this.getValue(), function () {
assertShowValue();
self.fireEvent(BI.SingleSelectInsertList.EVENT_CHANGE); self.fireEvent(BI.SingleSelectInsertList.EVENT_CHANGE);
});
}
} }
}] }]
}); });

15
src/widget/singleselect/singleselectlist.insert.js

@ -15,7 +15,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
BI.SingleSelectInsertList.superclass._init.apply(this, arguments); BI.SingleSelectInsertList.superclass._init.apply(this, arguments);
var self = this, o = this.options; var self = this, o = this.options;
this.storeValue = o.value || {}; this.storeValue = o.value;
var assertShowValue = function () { var assertShowValue = function () {
BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue); BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue);
@ -137,18 +137,9 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
} }
}, { }, {
eventName: BI.Searcher.EVENT_CHANGE, eventName: BI.Searcher.EVENT_CHANGE,
action: function (value, obj) { action: function () {
if (obj instanceof BI.MultiSelectBar) { self.storeValue = this.getValue();
self._joinAll(this.getValue(), function () {
assertShowValue();
self.fireEvent(BI.SingleSelectInsertList.EVENT_CHANGE);
});
} else {
self._join(this.getValue(), function () {
assertShowValue();
self.fireEvent(BI.SingleSelectInsertList.EVENT_CHANGE); self.fireEvent(BI.SingleSelectInsertList.EVENT_CHANGE);
});
}
} }
}] }]
}); });

Loading…
Cancel
Save