|
|
|
@ -11776,8 +11776,8 @@ if (!_global.BI) {
|
|
|
|
|
this.element = BI.Widget._renderEngine.createElement(this); |
|
|
|
|
} |
|
|
|
|
this.element._isWidget = true; |
|
|
|
|
if (o.baseCls || o.extraCls || o.cls) { |
|
|
|
|
this.element.addClass((o.baseCls || "") + " " + (o.extraCls || "") + " " + (o.cls || "")); |
|
|
|
|
if (o._baseCls || o.baseCls || o.extraCls || o.cls) { |
|
|
|
|
this.element.addClass((o._baseCls || "") + " " + (o.baseCls || "") + " " + (o.extraCls || "") + " " + (o.cls || "")); |
|
|
|
|
} |
|
|
|
|
if (o.attributes) { |
|
|
|
|
this.element.attr(o.attributes); |
|
|
|
@ -35105,7 +35105,7 @@ BI.Pane = BI.inherit(BI.Widget, {
|
|
|
|
|
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
return BI.extend(BI.Pane.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
|
baseCls: "bi-pane", |
|
|
|
|
_baseCls: "bi-pane", |
|
|
|
|
tipText: BI.i18nText("BI-No_Selected_Item"), |
|
|
|
|
overlap: true, |
|
|
|
|
onLoaded: BI.emptyFn |
|
|
|
@ -35247,7 +35247,7 @@ BI.Single = BI.inherit(BI.Widget, {
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
var conf = BI.Single.superclass._defaultConfig.apply(this, arguments); |
|
|
|
|
return BI.extend(conf, { |
|
|
|
|
baseCls: (conf.baseCls || "") + " bi-single", |
|
|
|
|
_baseCls: (conf._baseCls || "") + " bi-single", |
|
|
|
|
readonly: false, |
|
|
|
|
title: null, |
|
|
|
|
warningTitle: null, |
|
|
|
@ -35533,7 +35533,7 @@ BI.BasicButton = BI.inherit(BI.Single, {
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
var conf = BI.BasicButton.superclass._defaultConfig.apply(this, arguments); |
|
|
|
|
return BI.extend(conf, { |
|
|
|
|
baseCls: (conf.baseCls || "") + " bi-basic-button" + (conf.invalid ? "" : " cursor-pointer"), |
|
|
|
|
_baseCls: (conf._baseCls || "") + " bi-basic-button" + (conf.invalid ? "" : " cursor-pointer"), |
|
|
|
|
value: "", |
|
|
|
|
text: "", |
|
|
|
|
stopEvent: false, |
|
|
|
@ -35945,7 +35945,7 @@ BI.NodeButton = BI.inherit(BI.BasicButton, {
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
var conf = BI.NodeButton.superclass._defaultConfig.apply(this, arguments); |
|
|
|
|
return BI.extend( conf, { |
|
|
|
|
baseCls: (conf.baseCls || "") + " bi-node", |
|
|
|
|
_baseCls: (conf._baseCls || "") + " bi-node", |
|
|
|
|
open: false |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
@ -36000,7 +36000,7 @@ BI.Tip = BI.inherit(BI.Single, {
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
var conf = BI.Link.superclass._defaultConfig.apply(this, arguments); |
|
|
|
|
return BI.extend(conf, { |
|
|
|
|
baseCls: (conf.baseCls || "") + " bi-tip", |
|
|
|
|
_baseCls: (conf._baseCls || "") + " bi-tip", |
|
|
|
|
zIndex: BI.zIndex_tip |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
@ -36528,7 +36528,7 @@ BI.shortcut("bi.button_tree", BI.ButtonTree);/**
|
|
|
|
|
BI.TreeView = BI.inherit(BI.Pane, { |
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
return BI.extend(BI.TreeView.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
|
baseCls: "bi-tree", |
|
|
|
|
_baseCls: "bi-tree", |
|
|
|
|
paras: {}, |
|
|
|
|
itemsCreator: BI.emptyFn |
|
|
|
|
}); |
|
|
|
@ -40804,7 +40804,7 @@ BI.Popover.EVENT_CONFIRM = "EVENT_CONFIRM";
|
|
|
|
|
BI.PopupView = BI.inherit(BI.Widget, { |
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
return BI.extend(BI.PopupView.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
|
baseCls: "bi-popup-view", |
|
|
|
|
_baseCls: "bi-popup-view", |
|
|
|
|
maxWidth: "auto", |
|
|
|
|
minWidth: 100, |
|
|
|
|
// maxHeight: 200,
|
|
|
|
@ -41804,7 +41804,7 @@ BI.IconButton = BI.inherit(BI.BasicButton, {
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
var conf = BI.IconButton.superclass._defaultConfig.apply(this, arguments); |
|
|
|
|
return BI.extend(conf, { |
|
|
|
|
baseCls: (conf.baseCls || "") + " bi-icon-button horizon-center", |
|
|
|
|
_baseCls: (conf._baseCls || "") + " bi-icon-button horizon-center", |
|
|
|
|
iconWidth: null, |
|
|
|
|
iconHeight: null |
|
|
|
|
}); |
|
|
|
@ -45683,8 +45683,7 @@ BI.Toast = BI.inherit(BI.Tip, {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var items = [{ |
|
|
|
|
type: "bi.icon_button", |
|
|
|
|
disableSelected: true, |
|
|
|
|
type: "bi.icon_label", |
|
|
|
|
cls: cls + " toast-icon", |
|
|
|
|
width: 36 |
|
|
|
|
}, { |
|
|
|
@ -45821,7 +45820,7 @@ BI.Trigger = BI.inherit(BI.Single, {
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
var conf = BI.Trigger.superclass._defaultConfig.apply(this, arguments); |
|
|
|
|
return BI.extend(conf, { |
|
|
|
|
baseCls: (conf.baseCls || "") + " bi-trigger cursor-pointer", |
|
|
|
|
_baseCls: (conf._baseCls || "") + " bi-trigger cursor-pointer", |
|
|
|
|
height: 24 |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
@ -55168,7 +55167,7 @@ BI.MultiPopupView = BI.inherit(BI.PopupView, {
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
var conf = BI.MultiPopupView.superclass._defaultConfig.apply(this, arguments); |
|
|
|
|
return BI.extend(conf, { |
|
|
|
|
baseCls: (conf.baseCls || "") + " bi-multi-list-view", |
|
|
|
|
_baseCls: (conf._baseCls || "") + " bi-multi-list-view", |
|
|
|
|
buttons: [BI.i18nText("BI-Basic_Sure")] |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|