|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/*! time: 2021-2-22 10:10:42 */ |
|
|
|
|
/*! time: 2021-2-22 10:30:36 */ |
|
|
|
|
/******/ (function(modules) { // webpackBootstrap
|
|
|
|
|
/******/ // The module cache
|
|
|
|
|
/******/ var installedModules = {}; |
|
|
|
@ -35824,7 +35824,7 @@ BI.shortcut("bi.icon_combo_trigger", BI.IconComboTrigger);
|
|
|
|
|
BI.IconTextValueCombo = BI.inherit(BI.Widget, { |
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
|
baseCls: "bi-icon-text-value-combo bi-border bi-focus-shadow bi-border-radius", |
|
|
|
|
baseCls: "bi-icon-text-value-combo bi-border bi-border-radius", |
|
|
|
|
height: 24, |
|
|
|
|
iconHeight: null, |
|
|
|
|
iconWidth: null, |
|
|
|
@ -35835,6 +35835,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.isNumeric(o.width) && (o.width -= 2); |
|
|
|
|
BI.IconTextValueCombo.superclass._init.apply(this, arguments); |
|
|
|
|
this.trigger = BI.createWidget({ |
|
|
|
|
type: "bi.select_icon_text_trigger", |
|
|
|
@ -36379,7 +36380,7 @@ BI.shortcut("bi.search_text_value_trigger", BI.SearchTextValueTrigger);
|
|
|
|
|
BI.TextValueCheckCombo = BI.inherit(BI.Widget, { |
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
return BI.extend(BI.TextValueCheckCombo.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
|
baseCls: "bi-text-value-check-combo bi-border bi-focus-shadow", |
|
|
|
|
baseCls: "bi-text-value-check-combo bi-border", |
|
|
|
|
width: 100, |
|
|
|
|
height: 24, |
|
|
|
|
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, |
|
|
|
@ -36390,6 +36391,7 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.isNumeric(o.width) && (o.width -= 2); |
|
|
|
|
BI.TextValueCheckCombo.superclass._init.apply(this, arguments); |
|
|
|
|
this.trigger = BI.createWidget({ |
|
|
|
|
type: "bi.select_text_trigger", |
|
|
|
@ -36537,7 +36539,7 @@ BI.shortcut("bi.text_value_check_combo_popup", BI.TextValueCheckComboPopup);
|
|
|
|
|
BI.TextValueCombo = BI.inherit(BI.Widget, { |
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
return BI.extend(BI.TextValueCombo.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
|
baseCls: "bi-text-value-combo bi-border bi-focus-shadow", |
|
|
|
|
baseCls: "bi-text-value-combo bi-border", |
|
|
|
|
height: 24, |
|
|
|
|
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, |
|
|
|
|
text: "", |
|
|
|
@ -36548,6 +36550,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.isNumeric(o.width) && (o.width -= 2); |
|
|
|
|
BI.TextValueCombo.superclass._init.apply(this, arguments); |
|
|
|
|
this.trigger = BI.createWidget({ |
|
|
|
|
type: "bi.select_text_trigger", |
|
|
|
@ -48551,7 +48554,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
return BI.extend(BI.MultiLayerSelectTreeCombo.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
|
baseCls: "bi-multilayer-select-tree-combo bi-border bi-focus-shadow bi-border-radius", |
|
|
|
|
baseCls: "bi-multilayer-select-tree-combo", |
|
|
|
|
isDefaultInit: false, |
|
|
|
|
height: 24, |
|
|
|
|
text: "", |
|
|
|
@ -48566,7 +48569,11 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
this.options.height -= 2; |
|
|
|
|
var o = this.options; |
|
|
|
|
if (this._shouldWrapper()) { |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.isNumeric(o.width) && (o.width -= 2); |
|
|
|
|
} |
|
|
|
|
BI.MultiLayerSelectTreeCombo.superclass._init.apply(this, arguments); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
@ -48575,7 +48582,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
|
|
|
|
|
var combo = (o.itemsCreator === BI.emptyFn) ? this._getSyncConfig() : this._getAsyncConfig(); |
|
|
|
|
|
|
|
|
|
return (!o.allowEdit && o.itemsCreator === BI.emptyFn) ? combo : { |
|
|
|
|
return this._shouldWrapper() ? combo : { |
|
|
|
|
type: "bi.absolute", |
|
|
|
|
items: [{ |
|
|
|
|
el: combo, |
|
|
|
@ -48607,10 +48614,16 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_shouldWrapper: function () { |
|
|
|
|
var o = this.options; |
|
|
|
|
return !o.allowEdit && o.itemsCreator === BI.emptyFn; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_getBaseConfig: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
return { |
|
|
|
|
type: "bi.combo", |
|
|
|
|
cls: "bi-border bi-focus-shadow bi-border-radius", |
|
|
|
|
container: o.container, |
|
|
|
|
destroyWhenHide: o.destroyWhenHide, |
|
|
|
|
adjustLength: 2, |
|
|
|
@ -49158,7 +49171,7 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
|
|
|
|
|
|
|
|
|
|
props: function() { |
|
|
|
|
return { |
|
|
|
|
extraCls: "bi-multi-layer-select-tree-trigger bi-border bi-focus-shadow bi-border-radius", |
|
|
|
|
extraCls: "bi-multi-layer-select-tree-trigger", |
|
|
|
|
height: 24, |
|
|
|
|
itemsCreator: BI.emptyFn, |
|
|
|
|
watermark: BI.i18nText("BI-Basic_Search"), |
|
|
|
@ -49808,7 +49821,7 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
return BI.extend(BI.MultiLayerSingleTreeCombo.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
|
baseCls: "bi-multilayer-single-tree-combo bi-border bi-focus-shadow bi-border-radius", |
|
|
|
|
baseCls: "bi-multilayer-single-tree-combo", |
|
|
|
|
isDefaultInit: false, |
|
|
|
|
height: 24, |
|
|
|
|
text: "", |
|
|
|
@ -49823,7 +49836,11 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
this.options.height -= 2; |
|
|
|
|
var o = this.options; |
|
|
|
|
if (this._shouldWrapper()) { |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.isNumeric(o.width) && (o.width -= 2); |
|
|
|
|
} |
|
|
|
|
BI.MultiLayerSingleTreeCombo.superclass._init.apply(this, arguments); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
@ -49832,7 +49849,7 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
|
|
|
|
|
var combo = (o.itemsCreator === BI.emptyFn) ? this._getSyncConfig() : this._getAsyncConfig(); |
|
|
|
|
|
|
|
|
|
return (!o.allowEdit && o.itemsCreator === BI.emptyFn) ? combo : { |
|
|
|
|
return this._shouldWrapper() ? combo : { |
|
|
|
|
type: "bi.absolute", |
|
|
|
|
height: o.height - 2, |
|
|
|
|
items: [{ |
|
|
|
@ -49865,10 +49882,16 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_shouldWrapper: function () { |
|
|
|
|
var o = this.options; |
|
|
|
|
return !o.allowEdit && o.itemsCreator === BI.emptyFn; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_getBaseConfig: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
return { |
|
|
|
|
type: "bi.combo", |
|
|
|
|
cls: "bi-border bi-focus-shadow bi-border-radius", |
|
|
|
|
container: o.container, |
|
|
|
|
destroyWhenHide: o.destroyWhenHide, |
|
|
|
|
adjustLength: 2, |
|
|
|
@ -50413,7 +50436,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
|
|
|
|
|
|
|
|
|
|
props: function() { |
|
|
|
|
return { |
|
|
|
|
extraCls: "bi-multi-layer-single-tree-trigger bi-border bi-focus-shadow bi-border-radius", |
|
|
|
|
extraCls: "bi-multi-layer-single-tree-trigger", |
|
|
|
|
height: 24, |
|
|
|
|
itemsCreator: BI.emptyFn, |
|
|
|
|
watermark: BI.i18nText("BI-Basic_Search"), |
|
|
|
@ -51559,7 +51582,6 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
|
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.MultiSelectCombo.superclass._init.apply(this, arguments); |
|
|
|
|
var assertShowValue = function () { |
|
|
|
|
if (BI.isKey(self._startValue)) { |
|
|
|
@ -52045,7 +52067,6 @@ BI.MultiSelectNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.MultiSelectNoBarCombo.superclass._init.apply(this, arguments); |
|
|
|
|
var assertShowValue = function () { |
|
|
|
|
if (BI.isKey(self._startValue)) { |
|
|
|
@ -52551,7 +52572,6 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.MultiSelectInsertCombo.superclass._init.apply(this, arguments); |
|
|
|
|
var assertShowValue = function () { |
|
|
|
|
if (BI.isKey(self._startValue)) { |
|
|
|
@ -53053,7 +53073,6 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.MultiSelectInsertNoBarCombo.superclass._init.apply(this, arguments); |
|
|
|
|
var assertShowValue = function () { |
|
|
|
|
if (BI.isKey(self._startValue)) { |
|
|
|
@ -57058,7 +57077,6 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
|
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.MultiTreeCombo.superclass._init.apply(this, arguments); |
|
|
|
|
var isInit = false; |
|
|
|
|
var want2showCounter = false; |
|
|
|
@ -57419,7 +57437,6 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.MultiTreeInsertCombo.superclass._init.apply(this, arguments); |
|
|
|
|
var isInit = false; |
|
|
|
|
var want2showCounter = false; |
|
|
|
@ -57796,7 +57813,6 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
|
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.MultiTreeListCombo.superclass._init.apply(this, arguments); |
|
|
|
|
var isInit = false; |
|
|
|
|
var want2showCounter = false; |
|
|
|
@ -59733,7 +59749,6 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
|
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.SearchMultiTextValueCombo.superclass._init.apply(this, arguments); |
|
|
|
|
var assertShowValue = function () { |
|
|
|
|
BI.isKey(self._startValue) && (self.storeValue.type === BI.Selection.All ? BI.remove(self.storeValue.value, self._startValue) : BI.pushDistinct(self.storeValue.value, self._startValue)); |
|
|
|
@ -61208,7 +61223,7 @@ BI.SelectTreeCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
return BI.extend(BI.SelectTreeCombo.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
|
baseCls: "bi-select-tree-combo bi-border bi-focus-shadow bi-border-radius", |
|
|
|
|
baseCls: "bi-select-tree-combo bi-border bi-border-radius", |
|
|
|
|
height: 24, |
|
|
|
|
text: "", |
|
|
|
|
items: [], |
|
|
|
@ -61219,6 +61234,7 @@ BI.SelectTreeCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.isNumeric(o.width) && (o.width -= 2); |
|
|
|
|
BI.SelectTreeCombo.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
this.trigger = BI.createWidget({ |
|
|
|
@ -61899,7 +61915,6 @@ BI.SingleSelectCombo = BI.inherit(BI.Single, {
|
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.SingleSelectCombo.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
var assertShowValue = function () { |
|
|
|
@ -62194,7 +62209,6 @@ BI.SingleSelectInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.SingleSelectInsertCombo.superclass._init.apply(this, arguments); |
|
|
|
|
var assertShowValue = function () { |
|
|
|
|
BI.isKey(self._startValue) && (self.storeValue = self._startValue); |
|
|
|
@ -64757,7 +64771,7 @@ BI.SingleTreeCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
return BI.extend(BI.SingleTreeCombo.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
|
baseCls: "bi-single-tree-combo bi-border bi-focus-shadow bi-border-radius", |
|
|
|
|
baseCls: "bi-single-tree-combo bi-border bi-border-radius", |
|
|
|
|
trigger: {}, |
|
|
|
|
height: 24, |
|
|
|
|
text: "", |
|
|
|
@ -64769,6 +64783,7 @@ BI.SingleTreeCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.isNumeric(o.width) && (o.width -= 2); |
|
|
|
|
BI.SingleTreeCombo.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
this.trigger = BI.createWidget(BI.extend({ |
|
|
|
@ -64977,7 +64992,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);
|
|
|
|
|
BI.TextValueDownListCombo = BI.inherit(BI.Widget, { |
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
|
baseCls: "bi-text-value-down-list-combo bi-border bi-focus-shadow", |
|
|
|
|
baseCls: "bi-text-value-down-list-combo bi-border", |
|
|
|
|
height: 24, |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
@ -64985,6 +65000,7 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.isNumeric(o.width) && (o.width -= 2); |
|
|
|
|
BI.TextValueDownListCombo.superclass._init.apply(this, arguments); |
|
|
|
|
this._createValueMap(); |
|
|
|
|
|
|
|
|
@ -65254,7 +65270,6 @@ BI.shortcut("bi.down_list_select_text_trigger", BI.DownListSelectTextTrigger);
|
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
var o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.TimeCombo.superclass._init.apply(this, arguments); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
@ -65409,8 +65424,8 @@ BI.shortcut("bi.down_list_select_text_trigger", BI.DownListSelectTextTrigger);
|
|
|
|
|
el: { |
|
|
|
|
type: "bi.icon_button", |
|
|
|
|
cls: "bi-trigger-icon-button time-font icon-size-16", |
|
|
|
|
width: 22, |
|
|
|
|
height: 22, |
|
|
|
|
width: opts.height, |
|
|
|
|
height: opts.height, |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.IconButton.EVENT_CHANGE, |
|
|
|
|
action: function () { |
|
|
|
@ -66518,6 +66533,7 @@ BI.DynamicYearCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.isNumeric(o.width) && (o.width -= 2); |
|
|
|
|
BI.DynamicYearCombo.superclass._init.apply(this, arguments); |
|
|
|
|
this.storeValue = o.value; |
|
|
|
|
this.trigger = BI.createWidget({ |
|
|
|
@ -67689,6 +67705,7 @@ BI.DynamicYearMonthCombo = BI.inherit(BI.Single, {
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.isNumeric(o.width) && (o.width -= 2); |
|
|
|
|
BI.DynamicYearMonthCombo.superclass._init.apply(this, arguments); |
|
|
|
|
this.storeValue = o.value; |
|
|
|
|
this.storeTriggerValue = ""; |
|
|
|
@ -68923,6 +68940,7 @@ BI.DynamicYearQuarterCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.isNumeric(o.width) && (o.width -= 2); |
|
|
|
|
BI.DynamicYearQuarterCombo.superclass._init.apply(this, arguments); |
|
|
|
|
this.storeValue = o.value; |
|
|
|
|
self.storeTriggerValue = ""; |
|
|
|
@ -93303,7 +93321,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
|
|
|
|
|
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
return BI.extend(BI.ColorChooser.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
|
baseCls: "bi-color-chooser bi-border bi-focus-shadow", |
|
|
|
|
baseCls: "bi-color-chooser bi-border", |
|
|
|
|
value: "", |
|
|
|
|
height: 24, |
|
|
|
|
el: {}, |
|
|
|
@ -93313,6 +93331,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
o.height -= 2; |
|
|
|
|
BI.isNumeric(o.width) && (o.width -= 2); |
|
|
|
|
BI.ColorChooser.superclass._init.apply(this, arguments); |
|
|
|
|
o.value = o.value || ""; |
|
|
|
|
this.combo = BI.createWidget({ |
|
|
|
|