|
|
|
@ -66706,7 +66706,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
|
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
|
|
|
|
|
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.type === BI.Selection.All ? BI.remove(self.storeValue.value, self._startValue) : BI.pushDistinct(self.storeValue.value, self._startValue)); |
|
|
|
|
self.trigger.getSearcher().setState(self.storeValue); |
|
|
|
|
self.trigger.getCounter().setButtonChecked(self.storeValue); |
|
|
|
|
}; |
|
|
|
@ -66933,7 +66933,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
|
|
|
|
|
var selectedMap = self._makeMap(items); |
|
|
|
|
BI.each(keywords, function (i, val) { |
|
|
|
|
if (BI.isNotNull(selectedMap[val])) { |
|
|
|
|
self.storeValue.value[self.storeValue.type === BI.Selection.Multi ? "pushDistinct" : "remove"](val); |
|
|
|
|
self.storeValue.type === BI.Selection.Multi ? BI.pushDistinct(self.storeValue.value, val) : BI.remove(self.storeValue.value, val); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
self._adjust(callback); |
|
|
|
@ -67097,7 +67097,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
|
|
|
|
|
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.type === BI.Selection.All ? BI.remove(self.storeValue.value, self._startValue) : BI.pushDistinct(self.storeValue.value, self._startValue)); |
|
|
|
|
self.trigger.getSearcher().setState(self.storeValue); |
|
|
|
|
self.trigger.getCounter().setButtonChecked(self.storeValue); |
|
|
|
|
}; |
|
|
|
@ -67336,7 +67336,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
var selectedMap = self._makeMap(items); |
|
|
|
|
BI.each(keywords, function (i, val) { |
|
|
|
|
if (BI.isNotNull(selectedMap[val])) { |
|
|
|
|
self.storeValue.value[self.storeValue.type === BI.Selection.Multi ? "pushDistinct" : "remove"](val); |
|
|
|
|
self.storeValue.type === BI.Selection.Multi ? BI.pushDistinct(self.storeValue.value, val) : BI.remove(self.storeValue.value, val); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
self._adjust(callback); |
|
|
|
@ -67477,7 +67477,7 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
|
|
|
|
|
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.type === BI.Selection.All ? BI.remove(self.storeValue.value, self._startValue) : BI.pushDistinct(self.storeValue.value, self._startValue)); |
|
|
|
|
self.trigger.getSearcher().setState(self.storeValue); |
|
|
|
|
self.trigger.getCounter().setButtonChecked(self.storeValue); |
|
|
|
|
}; |
|
|
|
@ -67728,7 +67728,7 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
var selectedMap = self._makeMap(items); |
|
|
|
|
BI.each(keywords, function (i, val) { |
|
|
|
|
if (BI.isNotNull(selectedMap[val])) { |
|
|
|
|
self.storeValue.value[self.storeValue.type === BI.Selection.Multi ? "pushDistinct" : "remove"](val); |
|
|
|
|
self.storeValue.type === BI.Selection.Multi ? BI.pushDistinct(self.storeValue.value, val) : BI.remove(self.storeValue.value, val); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
self._adjust(callback); |
|
|
|
@ -68100,7 +68100,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
|
|
|
|
|
} |
|
|
|
|
callback(firstItems.concat(self._createItems(ob.items)), ob.keyword || ""); |
|
|
|
|
if (op.times === 1 && self.storeValue) { |
|
|
|
|
BI.isKey(startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](startValue); |
|
|
|
|
BI.isKey(startValue) && (self.storeValue.type === BI.Selection.All ? BI.remove(self.storeValue.value, startValue) : BI.pushDistinct(self.storeValue.value, startValue)); |
|
|
|
|
self.setValue(self.storeValue); |
|
|
|
|
} |
|
|
|
|
(op.times === 1) && self._scrollToTop(); |
|
|
|
@ -68279,7 +68279,7 @@ BI.MultiSelectNoBarLoader = BI.inherit(BI.Widget, {
|
|
|
|
|
} |
|
|
|
|
callback(firstItems.concat(self._createItems(ob.items)), ob.keyword || ""); |
|
|
|
|
if (op.times === 1 && self.storeValue) { |
|
|
|
|
BI.isKey(startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](startValue); |
|
|
|
|
BI.isKey(startValue) && (self.storeValue.type === BI.Selection.All ? BI.remove(self.storeValue.value, startValue) : BI.pushDistinct(self.storeValue.value, startValue)); |
|
|
|
|
self.setValue(self.storeValue); |
|
|
|
|
} |
|
|
|
|
(op.times === 1) && self._scrollToTop(); |
|
|
|
@ -69707,7 +69707,7 @@ BI.MultiSelectInsertList = BI.inherit(BI.Single, {
|
|
|
|
|
this.storeValue = o.value || {}; |
|
|
|
|
|
|
|
|
|
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.type === BI.Selection.All ? BI.remove(self.storeValue.value, self._startValue) : BI.pushDistinct(self.storeValue.value, self._startValue)); |
|
|
|
|
// self.trigger.setValue(self.storeValue);
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
@ -69916,7 +69916,7 @@ BI.MultiSelectInsertList = BI.inherit(BI.Single, {
|
|
|
|
|
var selectedMap = self._makeMap(items); |
|
|
|
|
BI.each(keywords, function (i, val) { |
|
|
|
|
if (BI.isNotNull(selectedMap[val])) { |
|
|
|
|
self.storeValue.value[self.storeValue.type === BI.Selection.Multi ? "pushDistinct" : "remove"](val); |
|
|
|
|
self.storeValue.type === BI.Selection.Multi ? BI.pushDistinct(self.storeValue.value, val) : BI.remove(self.storeValue.value, val); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
callback(); |
|
|
|
@ -70045,7 +70045,7 @@ BI.MultiSelectInsertNoBarList = BI.inherit(BI.Single, {
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
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.type === BI.Selection.All ? BI.remove(self.storeValue.value, self._startValue) : BI.pushDistinct(self.storeValue.value, self._startValue)); |
|
|
|
|
// self.trigger.setValue(self.storeValue);
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
@ -70259,7 +70259,7 @@ BI.MultiSelectInsertNoBarList = BI.inherit(BI.Single, {
|
|
|
|
|
var selectedMap = self._makeMap(items); |
|
|
|
|
BI.each(keywords, function (i, val) { |
|
|
|
|
if (BI.isNotNull(selectedMap[val])) { |
|
|
|
|
self.storeValue.value[self.storeValue.type === BI.Selection.Multi ? "pushDistinct" : "remove"](val); |
|
|
|
|
self.storeValue.type === BI.Selection.Multi ? BI.pushDistinct(self.storeValue.value, val) : BI.remove(self.storeValue.value, val); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
callback(); |
|
|
|
@ -70387,7 +70387,7 @@ BI.MultiSelectList = BI.inherit(BI.Widget, {
|
|
|
|
|
this.storeValue = {}; |
|
|
|
|
|
|
|
|
|
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.type === BI.Selection.All ? BI.remove(self.storeValue.value, self._startValue) : BI.pushDistinct(self.storeValue.value, self._startValue)); |
|
|
|
|
// self.trigger.setValue(self.storeValue);
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
@ -70575,7 +70575,7 @@ BI.MultiSelectList = BI.inherit(BI.Widget, {
|
|
|
|
|
var selectedMap = self._makeMap(items); |
|
|
|
|
BI.each(keywords, function (i, val) { |
|
|
|
|
if (BI.isNotNull(selectedMap[val])) { |
|
|
|
|
self.storeValue.value[self.storeValue.type === BI.Selection.Multi ? "pushDistinct" : "remove"](val); |
|
|
|
|
self.storeValue.type === BI.Selection.Multi ? BI.pushDistinct(self.storeValue.value, val) : BI.remove(self.storeValue.value, val); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
self._adjust(callback); |
|
|
|
@ -72677,7 +72677,7 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
|
|
|
|
|
BI.SearchMultiTextValueCombo.superclass._init.apply(this, arguments); |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
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.type === BI.Selection.All ? BI.remove(self.storeValue.value, self._startValue) : BI.pushDistinct(self.storeValue.value, self._startValue)); |
|
|
|
|
self._updateAllValue(); |
|
|
|
|
self._checkError(); |
|
|
|
|
self.trigger.getSearcher().setState(self.storeValue); |
|
|
|
@ -72920,7 +72920,7 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
|
|
|
|
|
var selectedMap = self._makeMap(items); |
|
|
|
|
BI.each(keywords, function (i, val) { |
|
|
|
|
if (BI.isNotNull(selectedMap[val])) { |
|
|
|
|
self.storeValue.value[self.storeValue.type === BI.Selection.Multi ? "pushDistinct" : "remove"](val); |
|
|
|
|
self.storeValue.type === BI.Selection.Multi ? BI.pushDistinct(self.storeValue.value, val) : BI.remove(self.storeValue.value, val); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
self._adjust(callback); |
|
|
|
@ -73377,7 +73377,7 @@ BI.SearchMultiSelectLoader = BI.inherit(BI.Widget, {
|
|
|
|
|
} |
|
|
|
|
callback(firstItems.concat(self._createItems(ob.items)), ob.keyword || ""); |
|
|
|
|
if (op.times === 1 && self.storeValue) { |
|
|
|
|
BI.isKey(startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](startValue); |
|
|
|
|
BI.isKey(startValue) && (self.storeValue.type === BI.Selection.All ? BI.remove(self.storeValue.value, startValue) : BI.pushDistinct(self.storeValue.value, startValue)); |
|
|
|
|
self.setValue(self.storeValue); |
|
|
|
|
} |
|
|
|
|
(op.times === 1) && self._scrollToTop(); |
|
|
|
@ -74672,7 +74672,7 @@ BI.SingleSelectCombo = BI.inherit(BI.Single, {
|
|
|
|
|
var selectedMap = self._makeMap(items); |
|
|
|
|
BI.each(keywords, function (i, val) { |
|
|
|
|
if (BI.isNotNull(selectedMap[val])) { |
|
|
|
|
self.storeValue.value["remove"](val); |
|
|
|
|
BI.remove(self.storeValue.value, val); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
self._adjust(callback); |
|
|
|
@ -74941,7 +74941,7 @@ BI.SingleSelectInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
var selectedMap = self._makeMap(items); |
|
|
|
|
BI.each(keywords, function (i, val) { |
|
|
|
|
if (BI.isNotNull(selectedMap[val])) { |
|
|
|
|
self.storeValue.value["remove"](val); |
|
|
|
|
BI.remove(self.storeValue.value, val); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
self._adjust(callback); |
|
|
|
@ -75721,7 +75721,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Single, {
|
|
|
|
|
var selectedMap = self._makeMap(items); |
|
|
|
|
BI.each(keywords, function (i, val) { |
|
|
|
|
if (BI.isNotNull(selectedMap[val])) { |
|
|
|
|
self.storeValue.value[self.storeValue.type === BI.Selection.Single ? "pushDistinct" : "remove"](val); |
|
|
|
|
self.storeValue.type === BI.Selection.Single ? BI.pushDistinct(self.storeValue.value, val) : BI.remove(self.storeValue.value, val); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
callback(); |
|
|
|
|