|
|
|
@ -42281,7 +42281,7 @@ BI.shortcut("bi.image_button", BI.ImageButton);(function ($) {
|
|
|
|
|
var conf = BI.Button.superclass._defaultConfig.apply(this, arguments); |
|
|
|
|
return BI.extend(conf, { |
|
|
|
|
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, |
|
|
|
|
isShadowShowingOnSelected: true, |
|
|
|
|
readonly: true, |
|
|
|
@ -67772,6 +67772,8 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
|
baseClass: "bi-icon-text-value-combo", |
|
|
|
|
height: 30, |
|
|
|
|
iconHeight: null, |
|
|
|
|
iconWidth: null, |
|
|
|
|
value: "" |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
@ -67784,12 +67786,16 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
|
|
|
|
|
items: o.items, |
|
|
|
|
height: o.height, |
|
|
|
|
text: o.text, |
|
|
|
|
value: o.value |
|
|
|
|
value: o.value, |
|
|
|
|
iconHeight: o.iconHeight, |
|
|
|
|
iconWidth: o.iconWidth |
|
|
|
|
}); |
|
|
|
|
this.popup = BI.createWidget({ |
|
|
|
|
type: "bi.icon_text_value_combo_popup", |
|
|
|
|
items: o.items, |
|
|
|
|
value: o.value |
|
|
|
|
value: o.value, |
|
|
|
|
iconHeight: o.iconHeight, |
|
|
|
|
iconWidth: o.iconWidth |
|
|
|
|
}); |
|
|
|
|
this.popup.on(BI.IconTextValueComboPopup.EVENT_CHANGE, function () { |
|
|
|
|
self.setValue(self.popup.getValue()); |
|
|
|
@ -67847,7 +67853,9 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
|
|
|
|
|
type: "bi.button_group", |
|
|
|
|
items: BI.createItems(o.items, { |
|
|
|
|
type: "bi.single_select_icon_text_item", |
|
|
|
|
height: 30 |
|
|
|
|
height: 30, |
|
|
|
|
iconHeight: o.iconHeight, |
|
|
|
|
iconWidth: o.iconWidth |
|
|
|
|
}), |
|
|
|
|
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, |
|
|
|
|
layouts: [{ |
|
|
|
@ -70671,7 +70679,7 @@ BI.Panel = BI.inherit(BI.Widget, {
|
|
|
|
|
return { |
|
|
|
|
el: { |
|
|
|
|
type: "bi.left_right_vertical_adapt", |
|
|
|
|
cls: "panel-title bi-border-bottom bi-background", |
|
|
|
|
cls: "panel-title bi-border-bottom", |
|
|
|
|
height: 29, |
|
|
|
|
items: { |
|
|
|
|
left: [this.text], |
|
|
|
@ -70680,7 +70688,7 @@ BI.Panel = BI.inherit(BI.Widget, {
|
|
|
|
|
lhgap: 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); |
|
|
|
|
return BI.extend(conf, { |
|
|
|
|
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) { |
|
|
|
|
self.icon = _ref; |
|
|
|
|
}, |
|
|
|
|
iconHeight: o.iconHeight, |
|
|
|
|
iconWidth: o.iconWidth, |
|
|
|
|
disableSelected: true |
|
|
|
|
}, |
|
|
|
|
width: BI.isEmptyString(o.iconCls)? 0 : (o.triggerWidth || o.height) |
|
|
|
@ -76396,7 +76408,9 @@ BI.SelectIconTextTrigger = BI.inherit(BI.Trigger, {
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
return BI.extend(BI.SelectIconTextTrigger.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
|
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, |
|
|
|
|
text: obj.text, |
|
|
|
|
iconCls: obj.iconCls, |
|
|
|
|
height: o.height |
|
|
|
|
height: o.height, |
|
|
|
|
iconHeight: o.iconHeight, |
|
|
|
|
iconWidth: o.iconWidth |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|