Browse Source

auto upgrade version to 2.0.20210222103239

es6
data 4 years ago
parent
commit
41914c8d93
  1. 2
      dist/2.0/fineui.css
  2. 4
      dist/2.0/fineui.ie.min.js
  3. 2
      dist/2.0/fineui.ie.min.js.map
  4. 77
      dist/2.0/fineui.js
  5. 2
      dist/2.0/fineui.js.map
  6. 2
      dist/2.0/fineui.min.css
  7. 4
      dist/2.0/fineui.min.js
  8. 2
      dist/2.0/fineui.min.js.map
  9. 2
      dist/2.0/fineui_without_normalize.css
  10. 2
      dist/2.0/fineui_without_normalize.min.css
  11. 2
      dist/core.css
  12. 77
      dist/core.js
  13. 2
      dist/core.js.map
  14. 2
      dist/demo.css
  15. 77
      dist/demo.js
  16. 2
      dist/demo.js.map
  17. 2
      dist/fineui.css
  18. 4
      dist/fineui.ie.min.js
  19. 2
      dist/fineui.ie.min.js.map
  20. 77
      dist/fineui.js
  21. 2
      dist/fineui.js.map
  22. 2
      dist/fineui.min.css
  23. 4
      dist/fineui.min.js
  24. 2
      dist/fineui.min.js.map
  25. 74
      dist/fineui_without_jquery_polyfill.js
  26. 2
      dist/fineui_without_jquery_polyfill.js.map
  27. 2
      dist/font.css
  28. 2
      dist/resource.css
  29. 2
      dist/utils.js
  30. 2
      dist/utils.min.js
  31. 2
      package.json

2
dist/2.0/fineui.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

77
dist/2.0/fineui.js vendored

@ -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({

2
dist/2.0/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui_without_normalize.css vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui_without_normalize.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/core.css vendored

File diff suppressed because one or more lines are too long

77
dist/core.js vendored

@ -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({

2
dist/core.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/demo.css vendored

File diff suppressed because one or more lines are too long

77
dist/demo.js vendored

@ -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({

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

77
dist/fineui.js vendored

@ -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({

2
dist/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

74
dist/fineui_without_jquery_polyfill.js vendored

@ -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 = {};
@ -31846,7 +31846,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,
@ -31857,6 +31857,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",
@ -32401,7 +32402,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,
@ -32412,6 +32413,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",
@ -32559,7 +32561,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: "",
@ -32570,6 +32572,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",
@ -44573,7 +44576,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: "",
@ -44588,7 +44591,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);
},
@ -44597,7 +44604,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,
@ -44629,10 +44636,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,
@ -45180,7 +45193,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"),
@ -45830,7 +45843,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: "",
@ -45845,7 +45858,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);
},
@ -45854,7 +45871,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: [{
@ -45887,10 +45904,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,
@ -46435,7 +46458,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"),
@ -47581,7 +47604,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)) {
@ -48067,7 +48089,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)) {
@ -48573,7 +48594,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)) {
@ -49075,7 +49095,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)) {
@ -53080,7 +53099,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;
@ -53441,7 +53459,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;
@ -53818,7 +53835,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;
@ -55755,7 +55771,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));
@ -57230,7 +57245,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: [],
@ -57241,6 +57256,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({
@ -57921,7 +57937,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 () {
@ -58216,7 +58231,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);
@ -60779,7 +60793,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: "",
@ -60791,6 +60805,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({
@ -60999,7 +61014,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,
});
},
@ -61007,6 +61022,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();
@ -61276,7 +61292,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);
},
@ -61431,8 +61446,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 () {
@ -62540,6 +62555,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({
@ -63711,6 +63727,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 = "";
@ -64945,6 +64962,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 = "";

2
dist/fineui_without_jquery_polyfill.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/font.css vendored

File diff suppressed because one or more lines are too long

2
dist/resource.css vendored

File diff suppressed because one or more lines are too long

2
dist/utils.js vendored

@ -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 = {};

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

2
package.json

@ -1,6 +1,6 @@
{
"name": "fineui",
"version": "2.0.20210222101219",
"version": "2.0.20210222103239",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

Loading…
Cancel
Save