|
|
@ -38575,6 +38575,11 @@ BI.Combo = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
_setEnable: function (arg) { |
|
|
|
_setEnable: function (arg) { |
|
|
|
BI.Combo.superclass._setEnable.apply(this, arguments); |
|
|
|
BI.Combo.superclass._setEnable.apply(this, arguments); |
|
|
|
|
|
|
|
if (arg === true) { |
|
|
|
|
|
|
|
this.element.removeClass("base-disabled disabled"); |
|
|
|
|
|
|
|
} else if (arg === false) { |
|
|
|
|
|
|
|
this.element.addClass("base-disabled disabled"); |
|
|
|
|
|
|
|
} |
|
|
|
!arg && this.element.removeClass(this.options.hoverClass); |
|
|
|
!arg && this.element.removeClass(this.options.hoverClass); |
|
|
|
!arg && this.isViewVisible() && this._hideView(); |
|
|
|
!arg && this.isViewVisible() && this._hideView(); |
|
|
|
}, |
|
|
|
}, |
|
|
@ -51268,7 +51273,7 @@ BI.ColorChooserTrigger = BI.inherit(BI.Trigger, { |
|
|
|
_defaultConfig: function () { |
|
|
|
_defaultConfig: function () { |
|
|
|
var conf = BI.ColorChooserTrigger.superclass._defaultConfig.apply(this, arguments); |
|
|
|
var conf = BI.ColorChooserTrigger.superclass._defaultConfig.apply(this, arguments); |
|
|
|
return BI.extend(conf, { |
|
|
|
return BI.extend(conf, { |
|
|
|
baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger", |
|
|
|
baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger bi-border", |
|
|
|
height: 24 |
|
|
|
height: 24 |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
@ -51277,7 +51282,7 @@ BI.ColorChooserTrigger = BI.inherit(BI.Trigger, { |
|
|
|
BI.ColorChooserTrigger.superclass._init.apply(this, arguments); |
|
|
|
BI.ColorChooserTrigger.superclass._init.apply(this, arguments); |
|
|
|
this.colorContainer = BI.createWidget({ |
|
|
|
this.colorContainer = BI.createWidget({ |
|
|
|
type: "bi.layout", |
|
|
|
type: "bi.layout", |
|
|
|
cls: "bi-card color-chooser-trigger-content" + (BI.isIE9Below() ? " hack" : "") |
|
|
|
cls: "color-chooser-trigger-content" + (BI.isIE9Below() ? " hack" : "") |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
var down = BI.createWidget({ |
|
|
|
var down = BI.createWidget({ |
|
|
@ -51332,7 +51337,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, { |
|
|
|
_defaultConfig: function () { |
|
|
|
_defaultConfig: function () { |
|
|
|
var conf = BI.LongColorChooserTrigger.superclass._defaultConfig.apply(this, arguments); |
|
|
|
var conf = BI.LongColorChooserTrigger.superclass._defaultConfig.apply(this, arguments); |
|
|
|
return BI.extend(conf, { |
|
|
|
return BI.extend(conf, { |
|
|
|
baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger", |
|
|
|
baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger bi-border", |
|
|
|
height: 24 |
|
|
|
height: 24 |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
@ -51342,7 +51347,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, { |
|
|
|
var self = this, o = this.options; |
|
|
|
var self = this, o = this.options; |
|
|
|
this.colorContainer = BI.createWidget({ |
|
|
|
this.colorContainer = BI.createWidget({ |
|
|
|
type: "bi.htape", |
|
|
|
type: "bi.htape", |
|
|
|
cls: "bi-card color-chooser-trigger-content", |
|
|
|
cls: "color-chooser-trigger-content", |
|
|
|
items: [{ |
|
|
|
items: [{ |
|
|
|
type: "bi.icon_change_button", |
|
|
|
type: "bi.icon_change_button", |
|
|
|
ref: function (_ref) { |
|
|
|
ref: function (_ref) { |
|
|
|