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