Browse Source

无JIRA任务 会被继承的Widget, Trigger, BasicButton, Single, NodeButton, Pane, PopupView, IconButton

master
windy 6 years ago
parent
commit
b753f5d56a
  1. 21
      dist/base.js
  2. 27
      dist/bundle.ie.js
  3. 20
      dist/bundle.ie.min.js
  4. 27
      dist/bundle.js
  5. 34
      dist/bundle.min.js
  6. 2
      dist/case.js
  7. 4
      dist/core.js
  8. 27
      dist/fineui.ie.js
  9. 20
      dist/fineui.ie.min.js
  10. 27
      dist/fineui.js
  11. 34
      dist/fineui.min.js
  12. 25
      dist/fineui_without_jquery_polyfill.js
  13. 2
      dist/utils.min.js
  14. 2
      src/base/layer/layer.popup.js
  15. 2
      src/base/pane.js
  16. 2
      src/base/single/button/button.basic.js
  17. 2
      src/base/single/button/button.node.js
  18. 2
      src/base/single/button/buttons/button.icon.js
  19. 2
      src/base/single/single.js
  20. 2
      src/base/single/tip/tip.js
  21. 3
      src/base/single/tip/tip.toast.js
  22. 2
      src/base/single/trigger/trigger.js
  23. 2
      src/base/tree/ztree/treeview.js
  24. 2
      src/case/layer/layer.multipopup.js
  25. 4
      src/core/widget.js

21
dist/base.js vendored

@ -211,7 +211,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
@ -353,7 +353,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,
@ -639,7 +639,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,
@ -1051,7 +1051,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
});
},
@ -1106,7 +1106,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
});
},
@ -1634,7 +1634,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
});
@ -5910,7 +5910,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,
@ -6910,7 +6910,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
});
@ -10789,8 +10789,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
}, {
@ -10927,7 +10926,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
});
},

27
dist/bundle.ie.js vendored

@ -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")]
});
},

20
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

27
dist/bundle.js vendored

@ -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);
@ -35644,7 +35644,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
@ -35786,7 +35786,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,
@ -36072,7 +36072,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,
@ -36484,7 +36484,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
});
},
@ -36539,7 +36539,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
});
},
@ -37067,7 +37067,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
});
@ -41343,7 +41343,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,
@ -42343,7 +42343,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
});
@ -46222,8 +46222,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
}, {
@ -46360,7 +46359,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
});
},
@ -55707,7 +55706,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")]
});
},

34
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/case.js vendored

@ -6841,7 +6841,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")]
});
},

4
dist/core.js vendored

@ -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);

27
dist/fineui.ie.js vendored

@ -12018,8 +12018,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);
@ -35347,7 +35347,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
@ -35489,7 +35489,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,
@ -35775,7 +35775,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,
@ -36187,7 +36187,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
});
},
@ -36242,7 +36242,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
});
},
@ -36770,7 +36770,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
});
@ -41046,7 +41046,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,
@ -42046,7 +42046,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
});
@ -45925,8 +45925,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
}, {
@ -46063,7 +46062,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
});
},
@ -55410,7 +55409,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")]
});
},

20
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

27
dist/fineui.js vendored

@ -12018,8 +12018,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);
@ -35886,7 +35886,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
@ -36028,7 +36028,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,
@ -36314,7 +36314,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,
@ -36726,7 +36726,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
});
},
@ -36781,7 +36781,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
});
},
@ -37309,7 +37309,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
});
@ -41585,7 +41585,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,
@ -42585,7 +42585,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
});
@ -46464,8 +46464,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
}, {
@ -46602,7 +46601,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
});
},
@ -55949,7 +55948,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")]
});
},

34
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

25
dist/fineui_without_jquery_polyfill.js vendored

@ -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);
@ -24454,7 +24454,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
@ -24596,7 +24596,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,
@ -24882,7 +24882,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,
@ -25294,7 +25294,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
});
},
@ -25349,7 +25349,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
});
},
@ -29252,7 +29252,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,
@ -30252,7 +30252,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
});
@ -33515,8 +33515,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
}, {
@ -33653,7 +33652,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
});
},
@ -39030,7 +39029,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")]
});
},

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

2
src/base/layer/layer.popup.js

@ -6,7 +6,7 @@
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,

2
src/base/pane.js

@ -10,7 +10,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

2
src/base/single/button/button.basic.js

@ -9,7 +9,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,

2
src/base/single/button/button.node.js

@ -10,7 +10,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
});
},

2
src/base/single/button/buttons/button.icon.js

@ -7,7 +7,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
});

2
src/base/single/single.js

@ -13,7 +13,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,

2
src/base/single/tip/tip.js

@ -10,7 +10,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
});
},

3
src/base/single/tip/tip.toast.js

@ -49,8 +49,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
}, {

2
src/base/single/trigger/trigger.js

@ -8,7 +8,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
});
},

2
src/base/tree/ztree/treeview.js

@ -7,7 +7,7 @@
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
});

2
src/case/layer/layer.multipopup.js

@ -9,7 +9,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")]
});
},

4
src/core/widget.js

@ -99,8 +99,8 @@
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);

Loading…
Cancel
Save