Browse Source

BI-25571

es6
windy 6 years ago
parent
commit
fee56627b1
  1. 2
      Gruntfile.js
  2. 2
      dist/base.css
  3. 6
      dist/base.js
  4. 4
      dist/bundle.css
  5. 82
      dist/bundle.js
  6. 8
      dist/case.js
  7. 4
      dist/fineui.css
  8. 82
      dist/fineui.js
  9. 2
      dist/widget.css
  10. 68
      dist/widget.js
  11. 4
      src/base/layer/layer.popup.js
  12. 2
      src/base/pane.js
  13. 2
      src/case/layer/layer.multipopup.js
  14. 2
      src/css/base/view/popupview.css
  15. 2
      src/css/widget/multiselect/search/multiselect.css
  16. 2
      src/less/base/view/popupview.less
  17. 2
      src/less/widget/multiselect/search/multiselect.search.pane.less
  18. 19
      src/widget/multiselect/check/multiselect.check.pane.js
  19. 8
      src/widget/multiselect/multiselect.combo.js
  20. 8
      src/widget/multiselect/multiselect.insert.combo.js
  21. 8
      src/widget/multiselect/multiselect.insert.combo.nobar.js
  22. 8
      src/widget/searchmultitextvaluecombo/multitextvalue.combo.search.js
  23. 2
      src/widget/singleselect/search/singleselect.search.pane.js

2
Gruntfile.js

@ -214,7 +214,7 @@ module.exports = function (grunt) {
uglify: {
options: {
banner: "/*! <%= pkg.name %> */\n"
banner: "/*! <%= pkg.name %> <%= grunt.template.today(\"dd-mm-yyyy\") %> */\n"
},
dist: {
files: {

2
dist/base.css vendored

@ -1941,7 +1941,7 @@ ul.ztree.zTreeDragUL {
box-shadow: 0 1px 5px 0 rgba(35, 46, 64, 0.2);
}
.bi-popup-view .list-view-toolbar {
line-height: 30px;
line-height: 24px;
}
.bi-popup-view .list-view-toolbar > .center-element {
border-left: 1px solid #e8eaed;

6
dist/base.js vendored

@ -246,7 +246,7 @@ BI.Pane = BI.inherit(BI.Widget, {
height: 25
});
BI.createWidget({
type: "bi.vertical",
type: "bi.absolute_center_adapt",
element: this,
items: [this._tipText],
bgap: 25
@ -15693,7 +15693,7 @@ BI.PopupView = BI.inherit(BI.Widget, {
return BI.createWidget({
type: "bi.center",
cls: "list-view-toolbar bi-high-light bi-border-top",
height: 30,
height: 24,
items: BI.createItems(o.buttons, {
once: false,
shadow: true,
@ -15716,7 +15716,7 @@ BI.PopupView = BI.inherit(BI.Widget, {
},
resetHeight: function (h) {
var tbHeight = this.toolbar ? (this.toolbar.attr("height") || 30) : 0,
var tbHeight = this.toolbar ? (this.toolbar.attr("height") || 24) : 0,
tabHeight = this.tab ? (this.tab.attr("height") || 25) : 0,
toolHeight = ((this.tool && this.tool.attr("height")) || 25) * ((this.tool && this.tool.isVisible()) ? 1 : 0);
this.view.resetHeight ? this.view.resetHeight(h - tbHeight - tabHeight - toolHeight - 2) :

4
dist/bundle.css vendored

@ -3729,7 +3729,7 @@ ul.ztree.zTreeDragUL {
box-shadow: 0 1px 5px 0 rgba(35, 46, 64, 0.2);
}
.bi-popup-view .list-view-toolbar {
line-height: 30px;
line-height: 24px;
}
.bi-popup-view .list-view-toolbar > .center-element {
border-left: 1px solid #e8eaed;
@ -3882,7 +3882,7 @@ ul.ztree.zTreeDragUL {
border-radius: 2px 2px 2px 2px;
}
.bi-multi-select-search-pane .multi-select-toolbar {
color: #ff4949;
color: #faaa39;
}
.bi-multi-select-check-selected-button {
z-index: 1;

82
dist/bundle.js vendored

@ -36017,7 +36017,7 @@ BI.Pane = BI.inherit(BI.Widget, {
height: 25
});
BI.createWidget({
type: "bi.vertical",
type: "bi.absolute_center_adapt",
element: this,
items: [this._tipText],
bgap: 25
@ -51464,7 +51464,7 @@ BI.PopupView = BI.inherit(BI.Widget, {
return BI.createWidget({
type: "bi.center",
cls: "list-view-toolbar bi-high-light bi-border-top",
height: 30,
height: 24,
items: BI.createItems(o.buttons, {
once: false,
shadow: true,
@ -51487,7 +51487,7 @@ BI.PopupView = BI.inherit(BI.Widget, {
},
resetHeight: function (h) {
var tbHeight = this.toolbar ? (this.toolbar.attr("height") || 30) : 0,
var tbHeight = this.toolbar ? (this.toolbar.attr("height") || 24) : 0,
tabHeight = this.tab ? (this.tab.attr("height") || 25) : 0,
toolHeight = ((this.tool && this.tool.attr("height")) || 25) * ((this.tool && this.tool.isVisible()) ? 1 : 0);
this.view.resetHeight ? this.view.resetHeight(h - tbHeight - tabHeight - toolHeight - 2) :
@ -78145,7 +78145,7 @@ BI.IconCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.IconCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-icon-combo",
width: 28,
width: 24,
height: 24,
el: {},
popup: {},
@ -78310,7 +78310,7 @@ BI.IconComboTrigger = BI.inherit(BI.Trigger, {
el: {},
items: [],
iconCls: "",
width: 28,
width: 24,
height: 24,
isShowDown: true,
value: ""
@ -78329,7 +78329,7 @@ BI.IconComboTrigger = BI.inherit(BI.Trigger, {
cls: "icon-combo-trigger-icon",
iconCls: iconCls,
disableSelected: true,
width: o.isShowDown ? o.width - 12 : o.width,
width: o.isShowDown ? o.width - 2 : o.width,
height: o.height,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight,
@ -81018,7 +81018,7 @@ BI.MultiPopupView = BI.inherit(BI.PopupView, {
this.buttongroup = BI.createWidget({
type: "bi.button_group",
cls: "list-view-toolbar bi-high-light bi-border-top",
height: 30,
height: 24,
items: BI.createItems(text, {
type: "bi.text_button",
once: false,
@ -90241,7 +90241,8 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
BI.createWidget({
type: "bi.vertical",
element: this,
items: [this.popup]
items: [this.popup],
vgap: 5
});
},
@ -90268,7 +90269,6 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
item.el.height = self.constants.height;
item.el.iconCls2 = self.constants.nextIcon;
item.popup = {
lgap: 4,
el: {
type: "bi.button_tree",
chooseType: 0,
@ -90277,6 +90277,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
}]
},
vgap: 5,
maxHeight: 378
};
item.el.childValues = [];
@ -90331,7 +90332,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
}],
cls: "bi-down-list-spliter-container cursor-pointer",
lgap: 10,
rgap: 10
rgap: 0
});
result.push(spliter_container);
}
@ -95074,7 +95075,7 @@ BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, {
}],
cls: "bi-down-list-spliter-container cursor-pointer",
lgap: 10,
rgap: 10
rgap: 0
});
result.push(spliter_container);
}
@ -96597,9 +96598,10 @@ BI.shortcut("bi.multilayer_single_tree_mid_tree_leaf_item", BI.MultiLayerSingleT
BI.MultiSelectCheckPane = BI.inherit(BI.Widget, {
constants: {
height: 24,
height: 12,
lgap: 10,
tgap: 5
tgap: 10,
bgap: 5
},
_defaultConfig: function () {
@ -96658,7 +96660,7 @@ BI.MultiSelectCheckPane = BI.inherit(BI.Widget, {
items: [{
height: this.constants.height,
el: {
type: "bi.left",
type: "bi.vertical_adapt",
cls: "multi-select-continue-select",
items: [
{
@ -96666,18 +96668,18 @@ BI.MultiSelectCheckPane = BI.inherit(BI.Widget, {
type: "bi.label",
text: BI.i18nText("BI-Selected_Data")
},
lgap: this.constants.lgap,
tgap: this.constants.tgap
lgap: this.constants.lgap
},
{
el: this.continueSelect,
lgap: this.constants.lgap,
tgap: this.constants.tgap
lgap: this.constants.lgap
}]
}
},
tgap: this.constants.tgap
}, {
height: "fill",
el: this.display
el: this.display,
tgap: this.constants.bgap
}]
});
},
@ -96820,10 +96822,10 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
// adapter: this.popup,
masker: {
offset: {
left: 1,
top: 1,
right: 1,
bottom: 33
left: 0,
top: 0,
right: 0,
bottom: 26
}
},
valueFormatter: o.valueFormatter,
@ -97204,10 +97206,10 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
// adapter: this.popup,
masker: {
offset: {
left: 1,
top: 1,
right: 1,
bottom: 33
left: 0,
top: 0,
right: 0,
bottom: 26
}
},
valueFormatter: o.valueFormatter,
@ -97582,10 +97584,10 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
// adapter: this.popup,
masker: {
offset: {
left: 1,
top: 1,
right: 1,
bottom: 33
left: 0,
top: 0,
right: 0,
bottom: 26
}
},
valueFormatter: o.valueFormatter,
@ -101921,7 +101923,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
signalError: "signalBubble",
editorWidth: 114,
columns: 5,
width: 30,
width: 24,
rows: 1,
numberErrorCls: "number-error",
border: 1,
@ -101933,7 +101935,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
var conf = BI.NumberInterval.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
extraCls: "bi-number-interval",
height: 25,
height: 24,
validation: "valid",
closeMin: true
});
@ -103721,10 +103723,10 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
// adapter: this.popup,
masker: {
offset: {
left: 1,
top: 1,
right: 2,
bottom: 33
left: 0,
top: 0,
right: 0,
bottom: 26
}
},
allValueGetter: function () {
@ -105970,7 +105972,7 @@ BI.SingleSelectSearchPane = BI.inherit(BI.Widget, {
type: "bi.label",
invisible: true,
text: BI.i18nText("BI-Click_Blank_To_Select"),
cls: "single-select-toolbar",
cls: "multi-select-toolbar",
height: this.constants.height
});
@ -107131,7 +107133,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Single, {
itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter,
logic: {
dynamic: false
dynamic: true
},
// onLoaded: o.onLoaded,
el: {},

8
dist/case.js vendored

@ -5646,7 +5646,7 @@ BI.IconCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.IconCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-icon-combo",
width: 28,
width: 24,
height: 24,
el: {},
popup: {},
@ -5811,7 +5811,7 @@ BI.IconComboTrigger = BI.inherit(BI.Trigger, {
el: {},
items: [],
iconCls: "",
width: 28,
width: 24,
height: 24,
isShowDown: true,
value: ""
@ -5830,7 +5830,7 @@ BI.IconComboTrigger = BI.inherit(BI.Trigger, {
cls: "icon-combo-trigger-icon",
iconCls: iconCls,
disableSelected: true,
width: o.isShowDown ? o.width - 12 : o.width,
width: o.isShowDown ? o.width - 2 : o.width,
height: o.height,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight,
@ -8519,7 +8519,7 @@ BI.MultiPopupView = BI.inherit(BI.PopupView, {
this.buttongroup = BI.createWidget({
type: "bi.button_group",
cls: "list-view-toolbar bi-high-light bi-border-top",
height: 30,
height: 24,
items: BI.createItems(text, {
type: "bi.text_button",
once: false,

4
dist/fineui.css vendored

@ -3729,7 +3729,7 @@ ul.ztree.zTreeDragUL {
box-shadow: 0 1px 5px 0 rgba(35, 46, 64, 0.2);
}
.bi-popup-view .list-view-toolbar {
line-height: 30px;
line-height: 24px;
}
.bi-popup-view .list-view-toolbar > .center-element {
border-left: 1px solid #e8eaed;
@ -3882,7 +3882,7 @@ ul.ztree.zTreeDragUL {
border-radius: 2px 2px 2px 2px;
}
.bi-multi-select-search-pane .multi-select-toolbar {
color: #ff4949;
color: #faaa39;
}
.bi-multi-select-check-selected-button {
z-index: 1;

82
dist/fineui.js vendored

@ -36266,7 +36266,7 @@ BI.Pane = BI.inherit(BI.Widget, {
height: 25
});
BI.createWidget({
type: "bi.vertical",
type: "bi.absolute_center_adapt",
element: this,
items: [this._tipText],
bgap: 25
@ -51713,7 +51713,7 @@ BI.PopupView = BI.inherit(BI.Widget, {
return BI.createWidget({
type: "bi.center",
cls: "list-view-toolbar bi-high-light bi-border-top",
height: 30,
height: 24,
items: BI.createItems(o.buttons, {
once: false,
shadow: true,
@ -51736,7 +51736,7 @@ BI.PopupView = BI.inherit(BI.Widget, {
},
resetHeight: function (h) {
var tbHeight = this.toolbar ? (this.toolbar.attr("height") || 30) : 0,
var tbHeight = this.toolbar ? (this.toolbar.attr("height") || 24) : 0,
tabHeight = this.tab ? (this.tab.attr("height") || 25) : 0,
toolHeight = ((this.tool && this.tool.attr("height")) || 25) * ((this.tool && this.tool.isVisible()) ? 1 : 0);
this.view.resetHeight ? this.view.resetHeight(h - tbHeight - tabHeight - toolHeight - 2) :
@ -78394,7 +78394,7 @@ BI.IconCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.IconCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-icon-combo",
width: 28,
width: 24,
height: 24,
el: {},
popup: {},
@ -78559,7 +78559,7 @@ BI.IconComboTrigger = BI.inherit(BI.Trigger, {
el: {},
items: [],
iconCls: "",
width: 28,
width: 24,
height: 24,
isShowDown: true,
value: ""
@ -78578,7 +78578,7 @@ BI.IconComboTrigger = BI.inherit(BI.Trigger, {
cls: "icon-combo-trigger-icon",
iconCls: iconCls,
disableSelected: true,
width: o.isShowDown ? o.width - 12 : o.width,
width: o.isShowDown ? o.width - 2 : o.width,
height: o.height,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight,
@ -81267,7 +81267,7 @@ BI.MultiPopupView = BI.inherit(BI.PopupView, {
this.buttongroup = BI.createWidget({
type: "bi.button_group",
cls: "list-view-toolbar bi-high-light bi-border-top",
height: 30,
height: 24,
items: BI.createItems(text, {
type: "bi.text_button",
once: false,
@ -90490,7 +90490,8 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
BI.createWidget({
type: "bi.vertical",
element: this,
items: [this.popup]
items: [this.popup],
vgap: 5
});
},
@ -90517,7 +90518,6 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
item.el.height = self.constants.height;
item.el.iconCls2 = self.constants.nextIcon;
item.popup = {
lgap: 4,
el: {
type: "bi.button_tree",
chooseType: 0,
@ -90526,6 +90526,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
}]
},
vgap: 5,
maxHeight: 378
};
item.el.childValues = [];
@ -90580,7 +90581,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
}],
cls: "bi-down-list-spliter-container cursor-pointer",
lgap: 10,
rgap: 10
rgap: 0
});
result.push(spliter_container);
}
@ -95323,7 +95324,7 @@ BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, {
}],
cls: "bi-down-list-spliter-container cursor-pointer",
lgap: 10,
rgap: 10
rgap: 0
});
result.push(spliter_container);
}
@ -96846,9 +96847,10 @@ BI.shortcut("bi.multilayer_single_tree_mid_tree_leaf_item", BI.MultiLayerSingleT
BI.MultiSelectCheckPane = BI.inherit(BI.Widget, {
constants: {
height: 24,
height: 12,
lgap: 10,
tgap: 5
tgap: 10,
bgap: 5
},
_defaultConfig: function () {
@ -96907,7 +96909,7 @@ BI.MultiSelectCheckPane = BI.inherit(BI.Widget, {
items: [{
height: this.constants.height,
el: {
type: "bi.left",
type: "bi.vertical_adapt",
cls: "multi-select-continue-select",
items: [
{
@ -96915,18 +96917,18 @@ BI.MultiSelectCheckPane = BI.inherit(BI.Widget, {
type: "bi.label",
text: BI.i18nText("BI-Selected_Data")
},
lgap: this.constants.lgap,
tgap: this.constants.tgap
lgap: this.constants.lgap
},
{
el: this.continueSelect,
lgap: this.constants.lgap,
tgap: this.constants.tgap
lgap: this.constants.lgap
}]
}
},
tgap: this.constants.tgap
}, {
height: "fill",
el: this.display
el: this.display,
tgap: this.constants.bgap
}]
});
},
@ -97069,10 +97071,10 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
// adapter: this.popup,
masker: {
offset: {
left: 1,
top: 1,
right: 1,
bottom: 33
left: 0,
top: 0,
right: 0,
bottom: 26
}
},
valueFormatter: o.valueFormatter,
@ -97453,10 +97455,10 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
// adapter: this.popup,
masker: {
offset: {
left: 1,
top: 1,
right: 1,
bottom: 33
left: 0,
top: 0,
right: 0,
bottom: 26
}
},
valueFormatter: o.valueFormatter,
@ -97831,10 +97833,10 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
// adapter: this.popup,
masker: {
offset: {
left: 1,
top: 1,
right: 1,
bottom: 33
left: 0,
top: 0,
right: 0,
bottom: 26
}
},
valueFormatter: o.valueFormatter,
@ -102170,7 +102172,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
signalError: "signalBubble",
editorWidth: 114,
columns: 5,
width: 30,
width: 24,
rows: 1,
numberErrorCls: "number-error",
border: 1,
@ -102182,7 +102184,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
var conf = BI.NumberInterval.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
extraCls: "bi-number-interval",
height: 25,
height: 24,
validation: "valid",
closeMin: true
});
@ -103970,10 +103972,10 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
// adapter: this.popup,
masker: {
offset: {
left: 1,
top: 1,
right: 2,
bottom: 33
left: 0,
top: 0,
right: 0,
bottom: 26
}
},
allValueGetter: function () {
@ -106219,7 +106221,7 @@ BI.SingleSelectSearchPane = BI.inherit(BI.Widget, {
type: "bi.label",
invisible: true,
text: BI.i18nText("BI-Click_Blank_To_Select"),
cls: "single-select-toolbar",
cls: "multi-select-toolbar",
height: this.constants.height
});
@ -107380,7 +107382,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Single, {
itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter,
logic: {
dynamic: false
dynamic: true
},
// onLoaded: o.onLoaded,
el: {},

2
dist/widget.css vendored

@ -137,7 +137,7 @@
border-radius: 2px 2px 2px 2px;
}
.bi-multi-select-search-pane .multi-select-toolbar {
color: #ff4949;
color: #faaa39;
}
.bi-multi-select-check-selected-button {
z-index: 1;

68
dist/widget.js vendored

@ -2554,7 +2554,8 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
BI.createWidget({
type: "bi.vertical",
element: this,
items: [this.popup]
items: [this.popup],
vgap: 5
});
},
@ -2581,7 +2582,6 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
item.el.height = self.constants.height;
item.el.iconCls2 = self.constants.nextIcon;
item.popup = {
lgap: 4,
el: {
type: "bi.button_tree",
chooseType: 0,
@ -2590,6 +2590,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
}]
},
vgap: 5,
maxHeight: 378
};
item.el.childValues = [];
@ -2644,7 +2645,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
}],
cls: "bi-down-list-spliter-container cursor-pointer",
lgap: 10,
rgap: 10
rgap: 0
});
result.push(spliter_container);
}
@ -7387,7 +7388,7 @@ BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, {
}],
cls: "bi-down-list-spliter-container cursor-pointer",
lgap: 10,
rgap: 10
rgap: 0
});
result.push(spliter_container);
}
@ -8910,9 +8911,10 @@ BI.shortcut("bi.multilayer_single_tree_mid_tree_leaf_item", BI.MultiLayerSingleT
BI.MultiSelectCheckPane = BI.inherit(BI.Widget, {
constants: {
height: 24,
height: 12,
lgap: 10,
tgap: 5
tgap: 10,
bgap: 5
},
_defaultConfig: function () {
@ -8971,7 +8973,7 @@ BI.MultiSelectCheckPane = BI.inherit(BI.Widget, {
items: [{
height: this.constants.height,
el: {
type: "bi.left",
type: "bi.vertical_adapt",
cls: "multi-select-continue-select",
items: [
{
@ -8979,18 +8981,18 @@ BI.MultiSelectCheckPane = BI.inherit(BI.Widget, {
type: "bi.label",
text: BI.i18nText("BI-Selected_Data")
},
lgap: this.constants.lgap,
tgap: this.constants.tgap
lgap: this.constants.lgap
},
{
el: this.continueSelect,
lgap: this.constants.lgap,
tgap: this.constants.tgap
lgap: this.constants.lgap
}]
}
},
tgap: this.constants.tgap
}, {
height: "fill",
el: this.display
el: this.display,
tgap: this.constants.bgap
}]
});
},
@ -9133,10 +9135,10 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
// adapter: this.popup,
masker: {
offset: {
left: 1,
top: 1,
right: 1,
bottom: 33
left: 0,
top: 0,
right: 0,
bottom: 26
}
},
valueFormatter: o.valueFormatter,
@ -9517,10 +9519,10 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
// adapter: this.popup,
masker: {
offset: {
left: 1,
top: 1,
right: 1,
bottom: 33
left: 0,
top: 0,
right: 0,
bottom: 26
}
},
valueFormatter: o.valueFormatter,
@ -9895,10 +9897,10 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
// adapter: this.popup,
masker: {
offset: {
left: 1,
top: 1,
right: 1,
bottom: 33
left: 0,
top: 0,
right: 0,
bottom: 26
}
},
valueFormatter: o.valueFormatter,
@ -14234,7 +14236,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
signalError: "signalBubble",
editorWidth: 114,
columns: 5,
width: 30,
width: 24,
rows: 1,
numberErrorCls: "number-error",
border: 1,
@ -14246,7 +14248,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
var conf = BI.NumberInterval.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
extraCls: "bi-number-interval",
height: 25,
height: 24,
validation: "valid",
closeMin: true
});
@ -16034,10 +16036,10 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
// adapter: this.popup,
masker: {
offset: {
left: 1,
top: 1,
right: 2,
bottom: 33
left: 0,
top: 0,
right: 0,
bottom: 26
}
},
allValueGetter: function () {
@ -18283,7 +18285,7 @@ BI.SingleSelectSearchPane = BI.inherit(BI.Widget, {
type: "bi.label",
invisible: true,
text: BI.i18nText("BI-Click_Blank_To_Select"),
cls: "single-select-toolbar",
cls: "multi-select-toolbar",
height: this.constants.height
});
@ -19444,7 +19446,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Single, {
itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter,
logic: {
dynamic: false
dynamic: true
},
// onLoaded: o.onLoaded,
el: {},

4
src/base/layer/layer.popup.js

@ -129,7 +129,7 @@ BI.PopupView = BI.inherit(BI.Widget, {
return BI.createWidget({
type: "bi.center",
cls: "list-view-toolbar bi-high-light bi-border-top",
height: 30,
height: 24,
items: BI.createItems(o.buttons, {
once: false,
shadow: true,
@ -152,7 +152,7 @@ BI.PopupView = BI.inherit(BI.Widget, {
},
resetHeight: function (h) {
var tbHeight = this.toolbar ? (this.toolbar.attr("height") || 30) : 0,
var tbHeight = this.toolbar ? (this.toolbar.attr("height") || 24) : 0,
tabHeight = this.tab ? (this.tab.attr("height") || 25) : 0,
toolHeight = ((this.tool && this.tool.attr("height")) || 25) * ((this.tool && this.tool.isVisible()) ? 1 : 0);
this.view.resetHeight ? this.view.resetHeight(h - tbHeight - tabHeight - toolHeight - 2) :

2
src/base/pane.js

@ -41,7 +41,7 @@ BI.Pane = BI.inherit(BI.Widget, {
height: 25
});
BI.createWidget({
type: "bi.vertical",
type: "bi.absolute_center_adapt",
element: this,
items: [this._tipText],
bgap: 25

2
src/case/layer/layer.multipopup.js

@ -35,7 +35,7 @@ BI.MultiPopupView = BI.inherit(BI.PopupView, {
this.buttongroup = BI.createWidget({
type: "bi.button_group",
cls: "list-view-toolbar bi-high-light bi-border-top",
height: 30,
height: 24,
items: BI.createItems(text, {
type: "bi.text_button",
once: false,

2
src/css/base/view/popupview.css

@ -17,7 +17,7 @@
box-shadow: 0 1px 5px 0 rgba(35, 46, 64, 0.2);
}
.bi-popup-view .list-view-toolbar {
line-height: 30px;
line-height: 24px;
}
.bi-popup-view .list-view-toolbar > .center-element {
border-left: 1px solid #e8eaed;

2
src/css/widget/multiselect/search/multiselect.css

@ -1,3 +1,3 @@
.bi-multi-select-search-pane .multi-select-toolbar {
color: #ff4949;
color: #faaa39;
}

2
src/less/base/view/popupview.less

@ -14,7 +14,7 @@
.box-shadow(0 1px 5px 0, fade(@color-bi-background-black, 20));
}
& .list-view-toolbar {
line-height: 30px;
line-height: 24px;
& > .center-element {
border-left: 1px solid @color-bi-border-line;
}

2
src/less/widget/multiselect/search/multiselect.search.pane.less

@ -3,6 +3,6 @@
.bi-multi-select-search-pane{
.multi-select-toolbar{
color: @color-bi-text-failure;
color: @color-bi-text-redmark;
}
}

19
src/widget/multiselect/check/multiselect.check.pane.js

@ -6,9 +6,10 @@
BI.MultiSelectCheckPane = BI.inherit(BI.Widget, {
constants: {
height: 24,
height: 12,
lgap: 10,
tgap: 5
tgap: 10,
bgap: 5
},
_defaultConfig: function () {
@ -67,7 +68,7 @@ BI.MultiSelectCheckPane = BI.inherit(BI.Widget, {
items: [{
height: this.constants.height,
el: {
type: "bi.left",
type: "bi.vertical_adapt",
cls: "multi-select-continue-select",
items: [
{
@ -75,18 +76,18 @@ BI.MultiSelectCheckPane = BI.inherit(BI.Widget, {
type: "bi.label",
text: BI.i18nText("BI-Selected_Data")
},
lgap: this.constants.lgap,
tgap: this.constants.tgap
lgap: this.constants.lgap
},
{
el: this.continueSelect,
lgap: this.constants.lgap,
tgap: this.constants.tgap
lgap: this.constants.lgap
}]
}
},
tgap: this.constants.tgap
}, {
height: "fill",
el: this.display
el: this.display,
tgap: this.constants.bgap
}]
});
},

8
src/widget/multiselect/multiselect.combo.js

@ -37,10 +37,10 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
// adapter: this.popup,
masker: {
offset: {
left: 1,
top: 1,
right: 1,
bottom: 33
left: 0,
top: 0,
right: 0,
bottom: 26
}
},
valueFormatter: o.valueFormatter,

8
src/widget/multiselect/multiselect.insert.combo.js

@ -34,10 +34,10 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
// adapter: this.popup,
masker: {
offset: {
left: 1,
top: 1,
right: 1,
bottom: 33
left: 0,
top: 0,
right: 0,
bottom: 26
}
},
valueFormatter: o.valueFormatter,

8
src/widget/multiselect/multiselect.insert.combo.nobar.js

@ -37,10 +37,10 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
// adapter: this.popup,
masker: {
offset: {
left: 1,
top: 1,
right: 1,
bottom: 33
left: 0,
top: 0,
right: 0,
bottom: 26
}
},
valueFormatter: o.valueFormatter,

8
src/widget/searchmultitextvaluecombo/multitextvalue.combo.search.js

@ -39,10 +39,10 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
// adapter: this.popup,
masker: {
offset: {
left: 1,
top: 1,
right: 2,
bottom: 33
left: 0,
top: 0,
right: 0,
bottom: 26
}
},
allValueGetter: function () {

2
src/widget/singleselect/search/singleselect.search.pane.js

@ -30,7 +30,7 @@ BI.SingleSelectSearchPane = BI.inherit(BI.Widget, {
type: "bi.label",
invisible: true,
text: BI.i18nText("BI-Click_Blank_To_Select"),
cls: "single-select-toolbar",
cls: "multi-select-toolbar",
height: this.constants.height
});

Loading…
Cancel
Save