|
|
@ -42281,7 +42281,7 @@ BI.shortcut("bi.image_button", BI.ImageButton);(function ($) { |
|
|
|
var conf = BI.Button.superclass._defaultConfig.apply(this, arguments); |
|
|
|
var conf = BI.Button.superclass._defaultConfig.apply(this, arguments); |
|
|
|
return BI.extend(conf, { |
|
|
|
return BI.extend(conf, { |
|
|
|
baseCls: (conf.baseCls || "") + " bi-button", |
|
|
|
baseCls: (conf.baseCls || "") + " bi-button", |
|
|
|
minWidth: (props.block === true || props.clear === true) ? 0 : 90, |
|
|
|
minWidth: (props.block === true || props.clear === true) ? 0 : 80, |
|
|
|
shadow: props.clear !== true, |
|
|
|
shadow: props.clear !== true, |
|
|
|
isShadowShowingOnSelected: true, |
|
|
|
isShadowShowingOnSelected: true, |
|
|
|
readonly: true, |
|
|
|
readonly: true, |
|
|
@ -67772,6 +67772,8 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, { |
|
|
|
return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
baseClass: "bi-icon-text-value-combo", |
|
|
|
baseClass: "bi-icon-text-value-combo", |
|
|
|
height: 30, |
|
|
|
height: 30, |
|
|
|
|
|
|
|
iconHeight: null, |
|
|
|
|
|
|
|
iconWidth: null, |
|
|
|
value: "" |
|
|
|
value: "" |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
@ -67784,12 +67786,16 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, { |
|
|
|
items: o.items, |
|
|
|
items: o.items, |
|
|
|
height: o.height, |
|
|
|
height: o.height, |
|
|
|
text: o.text, |
|
|
|
text: o.text, |
|
|
|
value: o.value |
|
|
|
value: o.value, |
|
|
|
|
|
|
|
iconHeight: o.iconHeight, |
|
|
|
|
|
|
|
iconWidth: o.iconWidth |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.popup = BI.createWidget({ |
|
|
|
this.popup = BI.createWidget({ |
|
|
|
type: "bi.icon_text_value_combo_popup", |
|
|
|
type: "bi.icon_text_value_combo_popup", |
|
|
|
items: o.items, |
|
|
|
items: o.items, |
|
|
|
value: o.value |
|
|
|
value: o.value, |
|
|
|
|
|
|
|
iconHeight: o.iconHeight, |
|
|
|
|
|
|
|
iconWidth: o.iconWidth |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.popup.on(BI.IconTextValueComboPopup.EVENT_CHANGE, function () { |
|
|
|
this.popup.on(BI.IconTextValueComboPopup.EVENT_CHANGE, function () { |
|
|
|
self.setValue(self.popup.getValue()); |
|
|
|
self.setValue(self.popup.getValue()); |
|
|
@ -67847,7 +67853,9 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, { |
|
|
|
type: "bi.button_group", |
|
|
|
type: "bi.button_group", |
|
|
|
items: BI.createItems(o.items, { |
|
|
|
items: BI.createItems(o.items, { |
|
|
|
type: "bi.single_select_icon_text_item", |
|
|
|
type: "bi.single_select_icon_text_item", |
|
|
|
height: 30 |
|
|
|
height: 30, |
|
|
|
|
|
|
|
iconHeight: o.iconHeight, |
|
|
|
|
|
|
|
iconWidth: o.iconWidth |
|
|
|
}), |
|
|
|
}), |
|
|
|
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, |
|
|
|
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, |
|
|
|
layouts: [{ |
|
|
|
layouts: [{ |
|
|
@ -70671,7 +70679,7 @@ BI.Panel = BI.inherit(BI.Widget, { |
|
|
|
return { |
|
|
|
return { |
|
|
|
el: { |
|
|
|
el: { |
|
|
|
type: "bi.left_right_vertical_adapt", |
|
|
|
type: "bi.left_right_vertical_adapt", |
|
|
|
cls: "panel-title bi-border-bottom bi-background", |
|
|
|
cls: "panel-title bi-border-bottom", |
|
|
|
height: 29, |
|
|
|
height: 29, |
|
|
|
items: { |
|
|
|
items: { |
|
|
|
left: [this.text], |
|
|
|
left: [this.text], |
|
|
@ -70680,7 +70688,7 @@ BI.Panel = BI.inherit(BI.Widget, { |
|
|
|
lhgap: 10, |
|
|
|
lhgap: 10, |
|
|
|
rhgap: 10 |
|
|
|
rhgap: 10 |
|
|
|
}, |
|
|
|
}, |
|
|
|
height: 30 |
|
|
|
height: 29 |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -76317,7 +76325,9 @@ BI.IconTextTrigger = BI.inherit(BI.Trigger, { |
|
|
|
var conf = BI.IconTextTrigger.superclass._defaultConfig.apply(this, arguments); |
|
|
|
var conf = BI.IconTextTrigger.superclass._defaultConfig.apply(this, arguments); |
|
|
|
return BI.extend(conf, { |
|
|
|
return BI.extend(conf, { |
|
|
|
baseCls: (conf.baseCls || "") + " bi-text-trigger", |
|
|
|
baseCls: (conf.baseCls || "") + " bi-text-trigger", |
|
|
|
height: 24 |
|
|
|
height: 24, |
|
|
|
|
|
|
|
iconHeight: null, |
|
|
|
|
|
|
|
iconWidth: null |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -76349,6 +76359,8 @@ BI.IconTextTrigger = BI.inherit(BI.Trigger, { |
|
|
|
ref: function (_ref) { |
|
|
|
ref: function (_ref) { |
|
|
|
self.icon = _ref; |
|
|
|
self.icon = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
iconHeight: o.iconHeight, |
|
|
|
|
|
|
|
iconWidth: o.iconWidth, |
|
|
|
disableSelected: true |
|
|
|
disableSelected: true |
|
|
|
}, |
|
|
|
}, |
|
|
|
width: BI.isEmptyString(o.iconCls)? 0 : (o.triggerWidth || o.height) |
|
|
|
width: BI.isEmptyString(o.iconCls)? 0 : (o.triggerWidth || o.height) |
|
|
@ -76396,7 +76408,9 @@ BI.SelectIconTextTrigger = BI.inherit(BI.Trigger, { |
|
|
|
_defaultConfig: function () { |
|
|
|
_defaultConfig: function () { |
|
|
|
return BI.extend(BI.SelectIconTextTrigger.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
return BI.extend(BI.SelectIconTextTrigger.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
baseCls: "bi-select-text-trigger bi-border", |
|
|
|
baseCls: "bi-select-text-trigger bi-border", |
|
|
|
height: 24 |
|
|
|
height: 24, |
|
|
|
|
|
|
|
iconHeight: null, |
|
|
|
|
|
|
|
iconWidth: null |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -76410,7 +76424,9 @@ BI.SelectIconTextTrigger = BI.inherit(BI.Trigger, { |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
|
text: obj.text, |
|
|
|
text: obj.text, |
|
|
|
iconCls: obj.iconCls, |
|
|
|
iconCls: obj.iconCls, |
|
|
|
height: o.height |
|
|
|
height: o.height, |
|
|
|
|
|
|
|
iconHeight: o.iconHeight, |
|
|
|
|
|
|
|
iconWidth: o.iconWidth |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|