Browse Source

BI-24766

es6
windy 6 years ago
parent
commit
f04a3fe931
  1. 30
      dist/_fineui.min.js
  2. 2
      dist/base.js
  3. 39
      dist/bundle.js
  4. 38
      dist/bundle.min.js
  5. 7
      dist/case.js
  6. 39
      dist/fineui.js
  7. 30
      dist/fineui.min.js
  8. 30
      dist/widget.js
  9. 2
      src/base/tree/treeview.js
  10. 1
      src/case/combo/iconcombo/popup.iconcombo.js
  11. 1
      src/case/combo/icontextvaluecombo/popup.icontextvalue.js
  12. 2
      src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js
  13. 1
      src/case/combo/searchtextvaluecombo/popup.searchtextvalue.js
  14. 1
      src/case/combo/textvaluecheckcombo/popup.textvaluecheck.js
  15. 1
      src/case/combo/textvaluecombo/popup.textvalue.js
  16. 1
      src/widget/multilayerselecttree/multilayerselecttree.popup.js
  17. 1
      src/widget/multilayersingletree/multilayersingletree.popup.js
  18. 7
      src/widget/multiselect/multiselect.loader.js
  19. 9
      src/widget/multiselect/multiselect.loader.nobar.js
  20. 1
      src/widget/selecttree/selecttree.popup.js
  21. 10
      src/widget/singleselect/singleselect.loader.js
  22. 1
      src/widget/singletree/singletree.popup.js

30
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/base.js vendored

@ -1630,6 +1630,8 @@ BI.TreeView = BI.inherit(BI.Pane, {
scrollable: true, scrollable: true,
scrolly: false, scrolly: false,
element: this, element: this,
vgap: o.vgap,
hgap: o.hgap,
items: [this.tip] items: [this.tip]
}); });
if(BI.isNotNull(o.value)){ if(BI.isNotNull(o.value)){

39
dist/bundle.js vendored

@ -37400,6 +37400,8 @@ BI.TreeView = BI.inherit(BI.Pane, {
scrollable: true, scrollable: true,
scrolly: false, scrolly: false,
element: this, element: this,
vgap: o.vgap,
hgap: o.hgap,
items: [this.tip] items: [this.tip]
}); });
if(BI.isNotNull(o.value)){ if(BI.isNotNull(o.value)){
@ -78258,6 +78260,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.popup] items: [this.popup]
}); });
}, },
@ -78494,6 +78497,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.popup] items: [this.popup]
}); });
}, },
@ -78585,7 +78589,7 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
} }
}] }]
}, },
maxHeight: 242 maxHeight: 252
}, },
listeners: [{ listeners: [{
eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, eventName: BI.Combo.EVENT_AFTER_HIDEVIEW,
@ -78684,6 +78688,7 @@ BI.SearchTextValueComboPopup = BI.inherit(BI.Pane, {
var self = this, o = this.options; var self = this, o = this.options;
return { return {
type: "bi.vertical", type: "bi.vertical",
vgap: 5,
items: [{ items: [{
type: "bi.button_group", type: "bi.button_group",
ref: function () { ref: function () {
@ -79087,6 +79092,7 @@ BI.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.T
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.popup] items: [this.popup]
}); });
}, },
@ -79305,6 +79311,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.popup] items: [this.popup]
}); });
}, },
@ -96193,6 +96200,7 @@ BI.MultiLayerSelectTreePopup = BI.inherit(BI.Pane, {
scrolly: false, scrolly: false,
scrollable: true, scrollable: true,
element: this, element: this,
vgap: 5,
items: [this.tree] items: [this.tree]
}); });
@ -96754,6 +96762,7 @@ BI.MultiLayerSingleTreePopup = BI.inherit(BI.Pane, {
scrolly: false, scrolly: false,
scrollable: true, scrollable: true,
element: this, element: this,
vgap: 5,
items: [this.tree] items: [this.tree]
}); });
@ -98840,7 +98849,6 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
this.button_group = BI.createWidget({ this.button_group = BI.createWidget({
type: "bi.select_list", type: "bi.select_list",
element: this,
logic: opts.logic, logic: opts.logic,
el: BI.extend({ el: BI.extend({
onLoaded: opts.onLoaded, onLoaded: opts.onLoaded,
@ -98907,6 +98915,12 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
}, },
value: this.storeValue value: this.storeValue
}); });
BI.createWidget({
type: "bi.vertical",
element: this,
items: [this.button_group],
vgap: 5
});
this.button_group.on(BI.Controller.EVENT_CHANGE, function () { this.button_group.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });
@ -99013,7 +99027,6 @@ BI.MultiSelectNoBarLoader = BI.inherit(BI.Widget, {
this.button_group = BI.createWidget(BI.extend({ this.button_group = BI.createWidget(BI.extend({
type: "bi.list_pane", type: "bi.list_pane",
element: this,
onLoaded: opts.onLoaded, onLoaded: opts.onLoaded,
el: { el: {
type: "bi.loader", type: "bi.loader",
@ -99077,6 +99090,14 @@ BI.MultiSelectNoBarLoader = BI.inherit(BI.Widget, {
}, },
value: this.storeValue value: this.storeValue
}, opts.el)); }, opts.el));
BI.createWidget({
type: "bi.vertical",
element: this,
items: [this.button_group],
vgap: 5
});
this.button_group.on(BI.Controller.EVENT_CHANGE, function () { this.button_group.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });
@ -105891,6 +105912,7 @@ BI.SelectTreePopup = BI.inherit(BI.Pane, {
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.tree] items: [this.tree]
}); });
@ -107485,7 +107507,6 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
this.storeValue = opts.value; this.storeValue = opts.value;
this.button_group = BI.createWidget({ this.button_group = BI.createWidget({
type: "bi.single_select_list", type: "bi.single_select_list",
element: this,
logic: opts.logic, logic: opts.logic,
el: BI.extend({ el: BI.extend({
onLoaded: opts.onLoaded, onLoaded: opts.onLoaded,
@ -107542,6 +107563,14 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
}, },
value: this.storeValue value: this.storeValue
}); });
BI.createWidget({
type: "bi.vertical",
element: this,
items: [this.button_group],
vgap: 5
});
this.button_group.on(BI.Controller.EVENT_CHANGE, function () { this.button_group.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });
@ -107554,6 +107583,7 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
return BI.createItems(items, { return BI.createItems(items, {
type: "bi.single_select_combo.item", type: "bi.single_select_combo.item",
logic: this.options.logic, logic: this.options.logic,
cls: "bi-list-item-active",
height: 24, height: 24,
selected: false selected: false
}); });
@ -109520,6 +109550,7 @@ BI.SingleTreePopup = BI.inherit(BI.Pane, {
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.tree] items: [this.tree]
}); });

38
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

7
dist/case.js vendored

@ -5774,6 +5774,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.popup] items: [this.popup]
}); });
}, },
@ -6010,6 +6011,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.popup] items: [this.popup]
}); });
}, },
@ -6101,7 +6103,7 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
} }
}] }]
}, },
maxHeight: 242 maxHeight: 252
}, },
listeners: [{ listeners: [{
eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, eventName: BI.Combo.EVENT_AFTER_HIDEVIEW,
@ -6200,6 +6202,7 @@ BI.SearchTextValueComboPopup = BI.inherit(BI.Pane, {
var self = this, o = this.options; var self = this, o = this.options;
return { return {
type: "bi.vertical", type: "bi.vertical",
vgap: 5,
items: [{ items: [{
type: "bi.button_group", type: "bi.button_group",
ref: function () { ref: function () {
@ -6603,6 +6606,7 @@ BI.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.T
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.popup] items: [this.popup]
}); });
}, },
@ -6821,6 +6825,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.popup] items: [this.popup]
}); });
}, },

39
dist/fineui.js vendored

@ -37643,6 +37643,8 @@ BI.TreeView = BI.inherit(BI.Pane, {
scrollable: true, scrollable: true,
scrolly: false, scrolly: false,
element: this, element: this,
vgap: o.vgap,
hgap: o.hgap,
items: [this.tip] items: [this.tip]
}); });
if(BI.isNotNull(o.value)){ if(BI.isNotNull(o.value)){
@ -78501,6 +78503,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.popup] items: [this.popup]
}); });
}, },
@ -78737,6 +78740,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.popup] items: [this.popup]
}); });
}, },
@ -78828,7 +78832,7 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
} }
}] }]
}, },
maxHeight: 242 maxHeight: 252
}, },
listeners: [{ listeners: [{
eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, eventName: BI.Combo.EVENT_AFTER_HIDEVIEW,
@ -78927,6 +78931,7 @@ BI.SearchTextValueComboPopup = BI.inherit(BI.Pane, {
var self = this, o = this.options; var self = this, o = this.options;
return { return {
type: "bi.vertical", type: "bi.vertical",
vgap: 5,
items: [{ items: [{
type: "bi.button_group", type: "bi.button_group",
ref: function () { ref: function () {
@ -79330,6 +79335,7 @@ BI.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.T
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.popup] items: [this.popup]
}); });
}, },
@ -79548,6 +79554,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.popup] items: [this.popup]
}); });
}, },
@ -96436,6 +96443,7 @@ BI.MultiLayerSelectTreePopup = BI.inherit(BI.Pane, {
scrolly: false, scrolly: false,
scrollable: true, scrollable: true,
element: this, element: this,
vgap: 5,
items: [this.tree] items: [this.tree]
}); });
@ -96997,6 +97005,7 @@ BI.MultiLayerSingleTreePopup = BI.inherit(BI.Pane, {
scrolly: false, scrolly: false,
scrollable: true, scrollable: true,
element: this, element: this,
vgap: 5,
items: [this.tree] items: [this.tree]
}); });
@ -99083,7 +99092,6 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
this.button_group = BI.createWidget({ this.button_group = BI.createWidget({
type: "bi.select_list", type: "bi.select_list",
element: this,
logic: opts.logic, logic: opts.logic,
el: BI.extend({ el: BI.extend({
onLoaded: opts.onLoaded, onLoaded: opts.onLoaded,
@ -99150,6 +99158,12 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
}, },
value: this.storeValue value: this.storeValue
}); });
BI.createWidget({
type: "bi.vertical",
element: this,
items: [this.button_group],
vgap: 5
});
this.button_group.on(BI.Controller.EVENT_CHANGE, function () { this.button_group.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });
@ -99256,7 +99270,6 @@ BI.MultiSelectNoBarLoader = BI.inherit(BI.Widget, {
this.button_group = BI.createWidget(BI.extend({ this.button_group = BI.createWidget(BI.extend({
type: "bi.list_pane", type: "bi.list_pane",
element: this,
onLoaded: opts.onLoaded, onLoaded: opts.onLoaded,
el: { el: {
type: "bi.loader", type: "bi.loader",
@ -99320,6 +99333,14 @@ BI.MultiSelectNoBarLoader = BI.inherit(BI.Widget, {
}, },
value: this.storeValue value: this.storeValue
}, opts.el)); }, opts.el));
BI.createWidget({
type: "bi.vertical",
element: this,
items: [this.button_group],
vgap: 5
});
this.button_group.on(BI.Controller.EVENT_CHANGE, function () { this.button_group.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });
@ -106134,6 +106155,7 @@ BI.SelectTreePopup = BI.inherit(BI.Pane, {
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.tree] items: [this.tree]
}); });
@ -107728,7 +107750,6 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
this.storeValue = opts.value; this.storeValue = opts.value;
this.button_group = BI.createWidget({ this.button_group = BI.createWidget({
type: "bi.single_select_list", type: "bi.single_select_list",
element: this,
logic: opts.logic, logic: opts.logic,
el: BI.extend({ el: BI.extend({
onLoaded: opts.onLoaded, onLoaded: opts.onLoaded,
@ -107785,6 +107806,14 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
}, },
value: this.storeValue value: this.storeValue
}); });
BI.createWidget({
type: "bi.vertical",
element: this,
items: [this.button_group],
vgap: 5
});
this.button_group.on(BI.Controller.EVENT_CHANGE, function () { this.button_group.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });
@ -107797,6 +107826,7 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
return BI.createItems(items, { return BI.createItems(items, {
type: "bi.single_select_combo.item", type: "bi.single_select_combo.item",
logic: this.options.logic, logic: this.options.logic,
cls: "bi-list-item-active",
height: 24, height: 24,
selected: false selected: false
}); });
@ -109763,6 +109793,7 @@ BI.SingleTreePopup = BI.inherit(BI.Pane, {
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.tree] items: [this.tree]
}); });

30
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

30
dist/widget.js vendored

@ -8562,6 +8562,7 @@ BI.MultiLayerSelectTreePopup = BI.inherit(BI.Pane, {
scrolly: false, scrolly: false,
scrollable: true, scrollable: true,
element: this, element: this,
vgap: 5,
items: [this.tree] items: [this.tree]
}); });
@ -9123,6 +9124,7 @@ BI.MultiLayerSingleTreePopup = BI.inherit(BI.Pane, {
scrolly: false, scrolly: false,
scrollable: true, scrollable: true,
element: this, element: this,
vgap: 5,
items: [this.tree] items: [this.tree]
}); });
@ -11209,7 +11211,6 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
this.button_group = BI.createWidget({ this.button_group = BI.createWidget({
type: "bi.select_list", type: "bi.select_list",
element: this,
logic: opts.logic, logic: opts.logic,
el: BI.extend({ el: BI.extend({
onLoaded: opts.onLoaded, onLoaded: opts.onLoaded,
@ -11276,6 +11277,12 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
}, },
value: this.storeValue value: this.storeValue
}); });
BI.createWidget({
type: "bi.vertical",
element: this,
items: [this.button_group],
vgap: 5
});
this.button_group.on(BI.Controller.EVENT_CHANGE, function () { this.button_group.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });
@ -11382,7 +11389,6 @@ BI.MultiSelectNoBarLoader = BI.inherit(BI.Widget, {
this.button_group = BI.createWidget(BI.extend({ this.button_group = BI.createWidget(BI.extend({
type: "bi.list_pane", type: "bi.list_pane",
element: this,
onLoaded: opts.onLoaded, onLoaded: opts.onLoaded,
el: { el: {
type: "bi.loader", type: "bi.loader",
@ -11446,6 +11452,14 @@ BI.MultiSelectNoBarLoader = BI.inherit(BI.Widget, {
}, },
value: this.storeValue value: this.storeValue
}, opts.el)); }, opts.el));
BI.createWidget({
type: "bi.vertical",
element: this,
items: [this.button_group],
vgap: 5
});
this.button_group.on(BI.Controller.EVENT_CHANGE, function () { this.button_group.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });
@ -18260,6 +18274,7 @@ BI.SelectTreePopup = BI.inherit(BI.Pane, {
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.tree] items: [this.tree]
}); });
@ -19854,7 +19869,6 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
this.storeValue = opts.value; this.storeValue = opts.value;
this.button_group = BI.createWidget({ this.button_group = BI.createWidget({
type: "bi.single_select_list", type: "bi.single_select_list",
element: this,
logic: opts.logic, logic: opts.logic,
el: BI.extend({ el: BI.extend({
onLoaded: opts.onLoaded, onLoaded: opts.onLoaded,
@ -19911,6 +19925,14 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
}, },
value: this.storeValue value: this.storeValue
}); });
BI.createWidget({
type: "bi.vertical",
element: this,
items: [this.button_group],
vgap: 5
});
this.button_group.on(BI.Controller.EVENT_CHANGE, function () { this.button_group.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });
@ -19923,6 +19945,7 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
return BI.createItems(items, { return BI.createItems(items, {
type: "bi.single_select_combo.item", type: "bi.single_select_combo.item",
logic: this.options.logic, logic: this.options.logic,
cls: "bi-list-item-active",
height: 24, height: 24,
selected: false selected: false
}); });
@ -21889,6 +21912,7 @@ BI.SingleTreePopup = BI.inherit(BI.Pane, {
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.tree] items: [this.tree]
}); });

2
src/base/tree/treeview.js

@ -28,6 +28,8 @@ BI.TreeView = BI.inherit(BI.Pane, {
scrollable: true, scrollable: true,
scrolly: false, scrolly: false,
element: this, element: this,
vgap: o.vgap,
hgap: o.hgap,
items: [this.tip] items: [this.tip]
}); });
if(BI.isNotNull(o.value)){ if(BI.isNotNull(o.value)){

1
src/case/combo/iconcombo/popup.iconcombo.js

@ -38,6 +38,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.popup] items: [this.popup]
}); });
}, },

1
src/case/combo/icontextvaluecombo/popup.icontextvalue.js

@ -36,6 +36,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.popup] items: [this.popup]
}); });
}, },

2
src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js

@ -63,7 +63,7 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
} }
}] }]
}, },
maxHeight: 242 maxHeight: 252
}, },
listeners: [{ listeners: [{
eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, eventName: BI.Combo.EVENT_AFTER_HIDEVIEW,

1
src/case/combo/searchtextvaluecombo/popup.searchtextvalue.js

@ -11,6 +11,7 @@ BI.SearchTextValueComboPopup = BI.inherit(BI.Pane, {
var self = this, o = this.options; var self = this, o = this.options;
return { return {
type: "bi.vertical", type: "bi.vertical",
vgap: 5,
items: [{ items: [{
type: "bi.button_group", type: "bi.button_group",
ref: function () { ref: function () {

1
src/case/combo/textvaluecheckcombo/popup.textvaluecheck.js

@ -29,6 +29,7 @@ BI.TextValueCheckComboPopup = BI.inherit(BI.Pane, {
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.popup] items: [this.popup]
}); });
}, },

1
src/case/combo/textvaluecombo/popup.textvalue.js

@ -34,6 +34,7 @@ BI.TextValueComboPopup = BI.inherit(BI.Pane, {
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.popup] items: [this.popup]
}); });
}, },

1
src/widget/multilayerselecttree/multilayerselecttree.popup.js

@ -36,6 +36,7 @@ BI.MultiLayerSelectTreePopup = BI.inherit(BI.Pane, {
scrolly: false, scrolly: false,
scrollable: true, scrollable: true,
element: this, element: this,
vgap: 5,
items: [this.tree] items: [this.tree]
}); });

1
src/widget/multilayersingletree/multilayersingletree.popup.js

@ -35,6 +35,7 @@ BI.MultiLayerSingleTreePopup = BI.inherit(BI.Pane, {
scrolly: false, scrolly: false,
scrollable: true, scrollable: true,
element: this, element: this,
vgap: 5,
items: [this.tree] items: [this.tree]
}); });

7
src/widget/multiselect/multiselect.loader.js

@ -32,7 +32,6 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
this.button_group = BI.createWidget({ this.button_group = BI.createWidget({
type: "bi.select_list", type: "bi.select_list",
element: this,
logic: opts.logic, logic: opts.logic,
el: BI.extend({ el: BI.extend({
onLoaded: opts.onLoaded, onLoaded: opts.onLoaded,
@ -99,6 +98,12 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
}, },
value: this.storeValue value: this.storeValue
}); });
BI.createWidget({
type: "bi.vertical",
element: this,
items: [this.button_group],
vgap: 5
});
this.button_group.on(BI.Controller.EVENT_CHANGE, function () { this.button_group.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });

9
src/widget/multiselect/multiselect.loader.nobar.js

@ -32,7 +32,6 @@ BI.MultiSelectNoBarLoader = BI.inherit(BI.Widget, {
this.button_group = BI.createWidget(BI.extend({ this.button_group = BI.createWidget(BI.extend({
type: "bi.list_pane", type: "bi.list_pane",
element: this,
onLoaded: opts.onLoaded, onLoaded: opts.onLoaded,
el: { el: {
type: "bi.loader", type: "bi.loader",
@ -96,6 +95,14 @@ BI.MultiSelectNoBarLoader = BI.inherit(BI.Widget, {
}, },
value: this.storeValue value: this.storeValue
}, opts.el)); }, opts.el));
BI.createWidget({
type: "bi.vertical",
element: this,
items: [this.button_group],
vgap: 5
});
this.button_group.on(BI.Controller.EVENT_CHANGE, function () { this.button_group.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });

1
src/widget/selecttree/selecttree.popup.js

@ -66,6 +66,7 @@ BI.SelectTreePopup = BI.inherit(BI.Pane, {
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.tree] items: [this.tree]
}); });

10
src/widget/singleselect/singleselect.loader.js

@ -29,7 +29,6 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
this.storeValue = opts.value; this.storeValue = opts.value;
this.button_group = BI.createWidget({ this.button_group = BI.createWidget({
type: "bi.single_select_list", type: "bi.single_select_list",
element: this,
logic: opts.logic, logic: opts.logic,
el: BI.extend({ el: BI.extend({
onLoaded: opts.onLoaded, onLoaded: opts.onLoaded,
@ -86,6 +85,14 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
}, },
value: this.storeValue value: this.storeValue
}); });
BI.createWidget({
type: "bi.vertical",
element: this,
items: [this.button_group],
vgap: 5
});
this.button_group.on(BI.Controller.EVENT_CHANGE, function () { this.button_group.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });
@ -98,6 +105,7 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
return BI.createItems(items, { return BI.createItems(items, {
type: "bi.single_select_combo.item", type: "bi.single_select_combo.item",
logic: this.options.logic, logic: this.options.logic,
cls: "bi-list-item-active",
height: 24, height: 24,
selected: false selected: false
}); });

1
src/widget/singletree/singletree.popup.js

@ -32,6 +32,7 @@ BI.SingleTreePopup = BI.inherit(BI.Pane, {
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
vgap: 5,
items: [this.tree] items: [this.tree]
}); });

Loading…
Cancel
Save