|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/*! time: 2020-12-15 09:40:58 */ |
|
|
|
|
/*! time: 2020-12-15 10:25:06 */ |
|
|
|
|
/******/ (function(modules) { // webpackBootstrap
|
|
|
|
|
/******/ // The module cache
|
|
|
|
|
/******/ var installedModules = {}; |
|
|
|
@ -51171,6 +51171,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
|
|
|
|
|
assertShowValue(); |
|
|
|
|
self.populate(); |
|
|
|
|
self._setStartValue(""); |
|
|
|
|
self._dataChange = true; |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -51188,6 +51189,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
|
|
|
|
|
self.combo.setValue(self.storeValue); |
|
|
|
|
assertShowValue(); |
|
|
|
|
} |
|
|
|
|
self._dataChange = true; |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
self.fireEvent(BI.MultiSelectCombo.EVENT_SEARCHING); |
|
|
|
@ -51203,6 +51205,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
|
|
|
|
|
assertShowValue(); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
self._dataChange = true; |
|
|
|
|
self.fireEvent(BI.MultiSelectCombo.EVENT_CLICK_ITEM); |
|
|
|
|
}); |
|
|
|
|
this.trigger.on(BI.MultiSelectTrigger.EVENT_BEFORE_COUNTER_POPUPVIEW, function () { |
|
|
|
@ -51232,6 +51235,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
|
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.MultiSelectPopupView.EVENT_CHANGE, |
|
|
|
|
action: function () { |
|
|
|
|
self._dataChange = true; |
|
|
|
|
self.storeValue = this.getValue(); |
|
|
|
|
self._adjust(function () { |
|
|
|
|
assertShowValue(); |
|
|
|
@ -51269,6 +51273,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
this.combo.on(BI.Combo.EVENT_BEFORE_POPUPVIEW, function () { |
|
|
|
|
self._dataChange = false;// 标记数据是否发生变化
|
|
|
|
|
this.setValue(self.storeValue); |
|
|
|
|
BI.nextTick(function () { |
|
|
|
|
self._populate(); |
|
|
|
@ -51282,7 +51287,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
|
|
|
|
|
if (self.requesting === true) { |
|
|
|
|
self.wants2Quit = true; |
|
|
|
|
} else { |
|
|
|
|
self.fireEvent(BI.MultiSelectCombo.EVENT_CONFIRM); |
|
|
|
|
self._dataChange && self.fireEvent(BI.MultiSelectCombo.EVENT_CONFIRM); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
@ -51469,7 +51474,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
|
|
|
|
|
callback(); |
|
|
|
|
function adjust () { |
|
|
|
|
if (self.wants2Quit === true) { |
|
|
|
|
self.fireEvent(BI.MultiSelectCombo.EVENT_CONFIRM); |
|
|
|
|
self._dataChange && self.fireEvent(BI.MultiSelectCombo.EVENT_CONFIRM); |
|
|
|
|
self.wants2Quit = false; |
|
|
|
|
} |
|
|
|
|
self.requesting = false; |
|
|
|
@ -51659,6 +51664,7 @@ BI.MultiSelectNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
self.combo.setValue(self.storeValue); |
|
|
|
|
assertShowValue(); |
|
|
|
|
} |
|
|
|
|
self._dataChange = true; |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -51673,6 +51679,7 @@ BI.MultiSelectNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
assertShowValue(); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
self._dataChange = true; |
|
|
|
|
self.fireEvent(BI.MultiSelectNoBarCombo.EVENT_CLICK_ITEM); |
|
|
|
|
}); |
|
|
|
|
this.trigger.on(BI.MultiSelectTrigger.EVENT_BEFORE_COUNTER_POPUPVIEW, function () { |
|
|
|
@ -51702,6 +51709,7 @@ BI.MultiSelectNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.MultiSelectPopupView.EVENT_CHANGE, |
|
|
|
|
action: function () { |
|
|
|
|
self._dataChange = true; |
|
|
|
|
self.storeValue = this.getValue(); |
|
|
|
|
self._adjust(function () { |
|
|
|
|
assertShowValue(); |
|
|
|
@ -51743,6 +51751,7 @@ BI.MultiSelectNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
this.combo.on(BI.Combo.EVENT_BEFORE_POPUPVIEW, function () { |
|
|
|
|
self._dataChange = false;// 标记数据是否发生变化
|
|
|
|
|
this.setValue(self.storeValue); |
|
|
|
|
BI.nextTick(function () { |
|
|
|
|
self._populate(); |
|
|
|
@ -51756,7 +51765,7 @@ BI.MultiSelectNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
if (self.requesting === true) { |
|
|
|
|
self.wants2Quit = true; |
|
|
|
|
} else { |
|
|
|
|
self.fireEvent(BI.MultiSelectNoBarCombo.EVENT_CONFIRM); |
|
|
|
|
self._dataChange && self.fireEvent(BI.MultiSelectNoBarCombo.EVENT_CONFIRM); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
@ -51861,6 +51870,7 @@ BI.MultiSelectNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
assertShowValue(); |
|
|
|
|
self.populate(); |
|
|
|
|
self._setStartValue(""); |
|
|
|
|
self._dataChange = true; |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
@ -51966,7 +51976,7 @@ BI.MultiSelectNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
|
|
|
|
|
function adjust() { |
|
|
|
|
if (self.wants2Quit === true) { |
|
|
|
|
self.fireEvent(BI.MultiSelectNoBarCombo.EVENT_CONFIRM); |
|
|
|
|
self._dataChange && self.fireEvent(BI.MultiSelectNoBarCombo.EVENT_CONFIRM); |
|
|
|
|
self.wants2Quit = false; |
|
|
|
|
} |
|
|
|
|
self.requesting = false; |
|
|
|
@ -52162,6 +52172,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
self.combo.setValue(self.storeValue); |
|
|
|
|
assertShowValue(); |
|
|
|
|
} |
|
|
|
|
self._dataChange = true; |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
self.fireEvent(BI.MultiSelectInsertCombo.EVENT_SEARCHING); |
|
|
|
@ -52177,6 +52188,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
assertShowValue(); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
self._dataChange = true; |
|
|
|
|
self.fireEvent(BI.MultiSelectInsertCombo.EVENT_CLICK_ITEM); |
|
|
|
|
}); |
|
|
|
|
this.trigger.on(BI.MultiSelectInsertTrigger.EVENT_BEFORE_COUNTER_POPUPVIEW, function () { |
|
|
|
@ -52206,6 +52218,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.MultiSelectPopupView.EVENT_CHANGE, |
|
|
|
|
action: function () { |
|
|
|
|
self._dataChange = true; |
|
|
|
|
self.storeValue = this.getValue(); |
|
|
|
|
self._adjust(function () { |
|
|
|
|
assertShowValue(); |
|
|
|
@ -52244,6 +52257,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
this.combo.on(BI.Combo.EVENT_BEFORE_POPUPVIEW, function () { |
|
|
|
|
self._dataChange = false;// 标记数据是否发生变化
|
|
|
|
|
this.setValue(self.storeValue); |
|
|
|
|
BI.nextTick(function () { |
|
|
|
|
self._populate(); |
|
|
|
@ -52257,7 +52271,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
if (self.requesting === true) { |
|
|
|
|
self.wants2Quit = true; |
|
|
|
|
} else { |
|
|
|
|
self.fireEvent(BI.MultiSelectInsertCombo.EVENT_CONFIRM); |
|
|
|
|
self._dataChange && self.fireEvent(BI.MultiSelectInsertCombo.EVENT_CONFIRM); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
@ -52276,7 +52290,6 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.numberCounter = BI.createWidget({ |
|
|
|
|
type: "bi.multi_select_check_selected_switcher", |
|
|
|
|
masker: { |
|
|
|
@ -52318,7 +52331,6 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BI.createWidget({ |
|
|
|
|
type: "bi.absolute", |
|
|
|
|
element: this, |
|
|
|
@ -52372,6 +52384,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
assertShowValue(); |
|
|
|
|
self.populate(); |
|
|
|
|
self._setStartValue(""); |
|
|
|
|
self._dataChange = true; |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
@ -52465,7 +52478,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
callback(); |
|
|
|
|
function adjust () { |
|
|
|
|
if (self.wants2Quit === true) { |
|
|
|
|
self.fireEvent(BI.MultiSelectInsertCombo.EVENT_CONFIRM); |
|
|
|
|
self._dataChange && self.fireEvent(BI.MultiSelectInsertCombo.EVENT_CONFIRM); |
|
|
|
|
self.wants2Quit = false; |
|
|
|
|
} |
|
|
|
|
self.requesting = false; |
|
|
|
@ -52656,6 +52669,7 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
self.combo.setValue(self.storeValue); |
|
|
|
|
assertShowValue(); |
|
|
|
|
} |
|
|
|
|
self._dataChange = true; |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -52670,6 +52684,7 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
assertShowValue(); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
self._dataChange = true; |
|
|
|
|
}); |
|
|
|
|
this.trigger.on(BI.MultiSelectInsertTrigger.EVENT_BEFORE_COUNTER_POPUPVIEW, function () { |
|
|
|
|
// counter的值随点击项的改变而改变, 点击counter的时候不需要setValue(counter会请求刷新计数)
|
|
|
|
@ -52698,6 +52713,7 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.MultiSelectPopupView.EVENT_CHANGE, |
|
|
|
|
action: function () { |
|
|
|
|
self._dataChange = true; |
|
|
|
|
self.storeValue = this.getValue(); |
|
|
|
|
self._adjust(function () { |
|
|
|
|
assertShowValue(); |
|
|
|
@ -52738,6 +52754,7 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
this.combo.on(BI.Combo.EVENT_BEFORE_POPUPVIEW, function () { |
|
|
|
|
self._dataChange = false;// 标记数据是否发生变化
|
|
|
|
|
this.setValue(self.storeValue); |
|
|
|
|
BI.nextTick(function () { |
|
|
|
|
self._populate(); |
|
|
|
@ -52751,7 +52768,7 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
if (self.requesting === true) { |
|
|
|
|
self.wants2Quit = true; |
|
|
|
|
} else { |
|
|
|
|
self.fireEvent(BI.MultiSelectInsertNoBarCombo.EVENT_CONFIRM); |
|
|
|
|
self._dataChange && self.fireEvent(BI.MultiSelectInsertNoBarCombo.EVENT_CONFIRM); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
@ -52867,6 +52884,7 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
assertShowValue(); |
|
|
|
|
self.populate(); |
|
|
|
|
self._setStartValue(""); |
|
|
|
|
self._dataChange = true; |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
@ -59310,6 +59328,7 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
|
|
|
|
|
assertShowValue(); |
|
|
|
|
self._populate(); |
|
|
|
|
self._setStartValue(""); |
|
|
|
|
self._dataChange = true; |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -59327,6 +59346,7 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
|
|
|
|
|
self.combo.setValue(self.storeValue); |
|
|
|
|
assertShowValue(); |
|
|
|
|
} |
|
|
|
|
self._dataChange = true; |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -59341,6 +59361,7 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
|
|
|
|
|
assertShowValue(); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
self._dataChange = true; |
|
|
|
|
}); |
|
|
|
|
this.trigger.on(BI.MultiSelectTrigger.EVENT_BEFORE_COUNTER_POPUPVIEW, function () { |
|
|
|
|
this.getCounter().setValue(self.storeValue); |
|
|
|
@ -59366,6 +59387,7 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
|
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.MultiSelectPopupView.EVENT_CHANGE, |
|
|
|
|
action: function () { |
|
|
|
|
self._dataChange = true; |
|
|
|
|
self.storeValue = this.getValue(); |
|
|
|
|
self._adjust(function () { |
|
|
|
|
assertShowValue(); |
|
|
|
@ -59401,6 +59423,7 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
this.combo.on(BI.Combo.EVENT_BEFORE_POPUPVIEW, function () { |
|
|
|
|
self._dataChange = false;// 标记数据是否发生变化
|
|
|
|
|
this.setValue(self.storeValue); |
|
|
|
|
BI.nextTick(function () { |
|
|
|
|
self._populate(); |
|
|
|
@ -59418,7 +59441,7 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
|
|
|
|
|
* 在存在标红的情况,如果popover没有发生改变就确认需要同步trigger的值,否则对外value值和trigger样式不统一 |
|
|
|
|
*/ |
|
|
|
|
assertShowValue(); |
|
|
|
|
self.fireEvent(BI.SearchMultiTextValueCombo.EVENT_CONFIRM); |
|
|
|
|
self._dataChange && self.fireEvent(BI.SearchMultiTextValueCombo.EVENT_CONFIRM); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|