|
|
@ -103838,21 +103838,21 @@ BI.ResponisveTable = BI.inherit(BI.Widget, { |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.shortcut("bi.responsive_table", BI.ResponisveTable);/** |
|
|
|
BI.shortcut("bi.responsive_table", BI.ResponisveTable);/** |
|
|
|
* |
|
|
|
* |
|
|
|
* @class BI.SearchMultiSelectCombo |
|
|
|
* @class BI.SearchMultiTextValueCombo |
|
|
|
* @extends BI.Single |
|
|
|
* @extends BI.Single |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
BI.SearchMultiSelectCombo = BI.inherit(BI.Single, { |
|
|
|
BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, { |
|
|
|
|
|
|
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
_defaultConfig: function () { |
|
|
|
return BI.extend(BI.SearchMultiSelectCombo.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
return BI.extend(BI.SearchMultiTextValueCombo.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
baseCls: "bi-multi-select-combo bi-search-multi-select-combo", |
|
|
|
baseCls: "bi-multi-select-combo bi-search-multi-text-value-combo", |
|
|
|
height: 24, |
|
|
|
height: 24, |
|
|
|
items: [] |
|
|
|
items: [] |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
_init: function () { |
|
|
|
BI.SearchMultiSelectCombo.superclass._init.apply(this, arguments); |
|
|
|
BI.SearchMultiTextValueCombo.superclass._init.apply(this, arguments); |
|
|
|
var self = this, o = this.options; |
|
|
|
var self = this, o = this.options; |
|
|
|
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); |
|
|
@ -104026,7 +104026,7 @@ BI.SearchMultiSelectCombo = BI.inherit(BI.Single, { |
|
|
|
if (self.requesting === true) { |
|
|
|
if (self.requesting === true) { |
|
|
|
self.wants2Quit = true; |
|
|
|
self.wants2Quit = true; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
self.fireEvent(BI.SearchMultiSelectCombo.EVENT_CONFIRM); |
|
|
|
self.fireEvent(BI.SearchMultiTextValueCombo.EVENT_CONFIRM); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
@ -104087,7 +104087,7 @@ BI.SearchMultiSelectCombo = BI.inherit(BI.Single, { |
|
|
|
this._assertValue(this.storeValue); |
|
|
|
this._assertValue(this.storeValue); |
|
|
|
this.requesting = true; |
|
|
|
this.requesting = true; |
|
|
|
this._itemsCreator({ |
|
|
|
this._itemsCreator({ |
|
|
|
type: BI.SearchMultiSelectCombo.REQ_GET_ALL_DATA, |
|
|
|
type: BI.SearchMultiTextValueCombo.REQ_GET_ALL_DATA, |
|
|
|
keywords: keywords |
|
|
|
keywords: keywords |
|
|
|
}, function (ob) { |
|
|
|
}, function (ob) { |
|
|
|
var values = BI.map(ob.items, "value"); |
|
|
|
var values = BI.map(ob.items, "value"); |
|
|
@ -104110,7 +104110,7 @@ BI.SearchMultiSelectCombo = BI.inherit(BI.Single, { |
|
|
|
this._assertValue(res); |
|
|
|
this._assertValue(res); |
|
|
|
this.requesting = true; |
|
|
|
this.requesting = true; |
|
|
|
this._itemsCreator({ |
|
|
|
this._itemsCreator({ |
|
|
|
type: BI.SearchMultiSelectCombo.REQ_GET_ALL_DATA, |
|
|
|
type: BI.SearchMultiTextValueCombo.REQ_GET_ALL_DATA, |
|
|
|
keywords: [this.trigger.getKey()] |
|
|
|
keywords: [this.trigger.getKey()] |
|
|
|
}, function (ob) { |
|
|
|
}, function (ob) { |
|
|
|
var items = BI.map(ob.items, "value"); |
|
|
|
var items = BI.map(ob.items, "value"); |
|
|
@ -104147,7 +104147,7 @@ BI.SearchMultiSelectCombo = BI.inherit(BI.Single, { |
|
|
|
var self = this, o = this.options; |
|
|
|
var self = this, o = this.options; |
|
|
|
if (!this._count) { |
|
|
|
if (!this._count) { |
|
|
|
this._itemsCreator({ |
|
|
|
this._itemsCreator({ |
|
|
|
type: BI.SearchMultiSelectCombo.REQ_GET_DATA_LENGTH |
|
|
|
type: BI.SearchMultiTextValueCombo.REQ_GET_DATA_LENGTH |
|
|
|
}, function (res) { |
|
|
|
}, function (res) { |
|
|
|
self._count = res.count; |
|
|
|
self._count = res.count; |
|
|
|
adjust(); |
|
|
|
adjust(); |
|
|
@ -104174,7 +104174,7 @@ BI.SearchMultiSelectCombo = BI.inherit(BI.Single, { |
|
|
|
self._updateAllValue(); |
|
|
|
self._updateAllValue(); |
|
|
|
self._checkError(); |
|
|
|
self._checkError(); |
|
|
|
if (self.wants2Quit === true) { |
|
|
|
if (self.wants2Quit === true) { |
|
|
|
self.fireEvent(BI.SearchMultiSelectCombo.EVENT_CONFIRM); |
|
|
|
self.fireEvent(BI.SearchMultiTextValueCombo.EVENT_CONFIRM); |
|
|
|
self.wants2Quit = false; |
|
|
|
self.wants2Quit = false; |
|
|
|
} |
|
|
|
} |
|
|
|
self.requesting = false; |
|
|
|
self.requesting = false; |
|
|
@ -104302,14 +104302,14 @@ BI.SearchMultiSelectCombo = BI.inherit(BI.Single, { |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
BI.extend(BI.SearchMultiSelectCombo, { |
|
|
|
BI.extend(BI.SearchMultiTextValueCombo, { |
|
|
|
REQ_GET_DATA_LENGTH: 1, |
|
|
|
REQ_GET_DATA_LENGTH: 1, |
|
|
|
REQ_GET_ALL_DATA: -1 |
|
|
|
REQ_GET_ALL_DATA: -1 |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
BI.SearchMultiSelectCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; |
|
|
|
BI.SearchMultiTextValueCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; |
|
|
|
|
|
|
|
|
|
|
|
BI.shortcut("bi.search_multi_select_combo", BI.SearchMultiSelectCombo);BI.SearchMultiSelectTrigger = BI.inherit(BI.Trigger, { |
|
|
|
BI.shortcut("bi.search_multi_text_value_combo", BI.SearchMultiTextValueCombo);BI.SearchMultiSelectTrigger = BI.inherit(BI.Trigger, { |
|
|
|
|
|
|
|
|
|
|
|
constants: { |
|
|
|
constants: { |
|
|
|
height: 14, |
|
|
|
height: 14, |
|
|
|