|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/*! time: 2021-9-18 9:50:56 */ |
|
|
|
|
/*! time: 2021-9-20 9:00:58 */ |
|
|
|
|
/******/ (function(modules) { // webpackBootstrap
|
|
|
|
|
/******/ // The module cache
|
|
|
|
|
/******/ var installedModules = {}; |
|
|
|
@ -9204,7 +9204,7 @@ module.exports = !__webpack_require__(909)(function () {
|
|
|
|
|
baseCls: "", |
|
|
|
|
extraCls: "", |
|
|
|
|
cls: "", |
|
|
|
|
css: null, |
|
|
|
|
css: null |
|
|
|
|
|
|
|
|
|
// vdom: false
|
|
|
|
|
}); |
|
|
|
@ -9323,9 +9323,19 @@ module.exports = !__webpack_require__(909)(function () {
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_initCurrent: function () { |
|
|
|
|
var o = this.options; |
|
|
|
|
if (o._baseCls || o.baseCls || o.extraCls || o.cls) { |
|
|
|
|
this.element.addClass((o._baseCls || "") + " " + (o.baseCls || "") + " " + (o.extraCls || "") + " " + (o.cls || "")); |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
if (o._baseCls || o.baseCls || o.extraCls) { |
|
|
|
|
this.element.addClass((o._baseCls || "") + " " + (o.baseCls || "") + " " + (o.extraCls || "")); |
|
|
|
|
} |
|
|
|
|
if (o.cls) { |
|
|
|
|
if (BI.isFunction(o.cls)) { |
|
|
|
|
var cls = this.__watch(o.cls, function (newValue) { |
|
|
|
|
self.element.removeClass(cls).addClass(cls = newValue); |
|
|
|
|
}); |
|
|
|
|
this.element.addClass(cls); |
|
|
|
|
} else { |
|
|
|
|
this.element.addClass(o.cls); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (o.key != null) { |
|
|
|
|
this.element.attr("key", o.key); |
|
|
|
@ -9337,8 +9347,33 @@ module.exports = !__webpack_require__(909)(function () {
|
|
|
|
|
this.element.data(o.data); |
|
|
|
|
} |
|
|
|
|
if (o.css) { |
|
|
|
|
if (BI.isFunction(o.css)) { |
|
|
|
|
var css = this.__watch(o.css, function (newValue) { |
|
|
|
|
for (var k in css) { |
|
|
|
|
if (!newValue[k]) { |
|
|
|
|
newValue[k] = ""; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
self.element.css(css = newValue); |
|
|
|
|
}, { |
|
|
|
|
deep: true |
|
|
|
|
}); |
|
|
|
|
this.element.css(css); |
|
|
|
|
} else { |
|
|
|
|
this.element.css(o.css); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
__watch: function (getter, handler, options) { |
|
|
|
|
if (Fix.Model.target) { |
|
|
|
|
this._watchers = this._watchers || []; |
|
|
|
|
var watcher = new Fix.Watcher(Fix.Model.target, BI.bind(getter, this), (handler && BI.bind(handler, this)) || BI.emptyFn, options); |
|
|
|
|
this._watchers.push(watcher); |
|
|
|
|
return watcher.value; |
|
|
|
|
} else { |
|
|
|
|
return getter(); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -9390,7 +9425,7 @@ module.exports = !__webpack_require__(909)(function () {
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_initEffects: function () { |
|
|
|
|
var o = this.options; |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
if (o.disabled || o.invalid) { |
|
|
|
|
if (this.options.disabled) { |
|
|
|
|
this.setEnable(false); |
|
|
|
@ -9399,6 +9434,23 @@ module.exports = !__webpack_require__(909)(function () {
|
|
|
|
|
this.setValid(false); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (o.effect) { |
|
|
|
|
if (BI.isArray(o.effect)) { |
|
|
|
|
if (BI.isArray(o.effect[0])) { |
|
|
|
|
BI.each(o.effect, function (i, effect) { |
|
|
|
|
self.__watch(effect[0], effect[1], { |
|
|
|
|
deep: true |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
} else { |
|
|
|
|
self.__watch(o.effect[0], o.effect[1], { |
|
|
|
|
deep: true |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
this.__watch(o.effect); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_initState: function () { |
|
|
|
@ -23920,8 +23972,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.CollectionView.superclass._init.apply(this, arguments); |
|
|
|
|
render: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
this.renderedCells = []; |
|
|
|
|
this.renderedKeys = []; |
|
|
|
@ -24325,8 +24376,7 @@ BI.shortcut("bi.collection_view", BI.CollectionView);
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.Combo.superclass._init.apply(this, arguments); |
|
|
|
|
render: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
this._initCombo(); |
|
|
|
|
this._initPullDownAction(); |
|
|
|
@ -24885,8 +24935,7 @@ BI.Expander = BI.inherit(BI.Widget, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.Expander.superclass._init.apply(this, arguments); |
|
|
|
|
render: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
this._expanded = !!o.el.open; |
|
|
|
|
this._initExpander(); |
|
|
|
@ -25145,6 +25194,7 @@ BI.Expander.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW";
|
|
|
|
|
|
|
|
|
|
BI.shortcut("bi.expander", BI.Expander); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 365 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -25171,8 +25221,7 @@ BI.ButtonGroup = BI.inherit(BI.Widget, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.ButtonGroup.superclass._init.apply(this, arguments); |
|
|
|
|
render: function () { |
|
|
|
|
var o = this.options; |
|
|
|
|
var behaviors = {}; |
|
|
|
|
BI.each(o.behaviors, function (key, rule) { |
|
|
|
@ -25480,6 +25529,7 @@ BI.ButtonGroup.EVENT_CHANGE = "EVENT_CHANGE";
|
|
|
|
|
|
|
|
|
|
BI.shortcut("bi.button_group", BI.ButtonGroup); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 366 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -25516,8 +25566,7 @@ BI.ComboGroup = BI.inherit(BI.Widget, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.ComboGroup.superclass._init.apply(this, arguments); |
|
|
|
|
render: function () { |
|
|
|
|
this._populate(this.options.el); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
@ -25582,6 +25631,7 @@ BI.ComboGroup.EVENT_CHANGE = "EVENT_CHANGE";
|
|
|
|
|
|
|
|
|
|
BI.shortcut("bi.combo_group", BI.ComboGroup); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 367 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -25762,8 +25812,7 @@ BI.Loader = BI.inherit(BI.Widget, {
|
|
|
|
|
}]); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.Loader.superclass._init.apply(this, arguments); |
|
|
|
|
render: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
if (o.itemsCreator === false) { |
|
|
|
|
o.prev = false; |
|
|
|
@ -26185,8 +26234,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.Searcher.superclass._init.apply(this, arguments); |
|
|
|
|
render: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
|
|
|
|
|
this.editor = BI.createWidget(o.el, { |
|
|
|
@ -26462,6 +26510,7 @@ BI.Searcher.EVENT_AFTER_INIT = "EVENT_AFTER_INIT";
|
|
|
|
|
|
|
|
|
|
BI.shortcut("bi.searcher", BI.Searcher); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 371 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -26490,8 +26539,7 @@ BI.Switcher = BI.inherit(BI.Widget, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.Switcher.superclass._init.apply(this, arguments); |
|
|
|
|
render: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
this._initSwitcher(); |
|
|
|
|
this._initPullDownAction(); |
|
|
|
@ -26759,6 +26807,7 @@ BI.Switcher.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW";
|
|
|
|
|
|
|
|
|
|
BI.shortcut("bi.switcher", BI.Switcher); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 372 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -26939,10 +26988,6 @@ BI.ButtonTree = BI.inherit(BI.ButtonGroup, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.ButtonTree.superclass._init.apply(this, arguments); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
setNotSelectedValue: function (v) { |
|
|
|
|
v = BI.isArray(v) ? v : [v]; |
|
|
|
|
BI.each(this.buttons, function (i, item) { |
|
|
|
@ -27109,6 +27154,7 @@ BI.ButtonTree.EVENT_CHANGE = "EVENT_CHANGE";
|
|
|
|
|
|
|
|
|
|
BI.shortcut("bi.button_tree", BI.ButtonTree); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 374 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -27393,8 +27439,7 @@ BI.GridView = BI.inherit(BI.Widget, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.GridView.superclass._init.apply(this, arguments); |
|
|
|
|
render: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
this.renderedCells = []; |
|
|
|
|
this.renderedKeys = []; |
|
|
|
@ -28084,8 +28129,7 @@ BI.PopupView = BI.inherit(BI.Widget, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.PopupView.superclass._init.apply(this, arguments); |
|
|
|
|
render: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
var fn = function (e) { |
|
|
|
|
e.stopPropagation(); |
|
|
|
@ -28270,8 +28314,7 @@ BI.SearcherView = BI.inherit(BI.Pane, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.SearcherView.superclass._init.apply(this, arguments); |
|
|
|
|
render: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
|
|
|
|
|
this.matcher = BI.createWidget(o.matcher, { |
|
|
|
@ -28369,6 +28412,7 @@ BI.SearcherView.EVENT_CHANGE = "EVENT_CHANGE";
|
|
|
|
|
|
|
|
|
|
BI.shortcut("bi.searcher_view", BI.SearcherView); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 380 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -28897,8 +28941,8 @@ BI.Pager = BI.inherit(BI.Widget, {
|
|
|
|
|
hasNext: BI.emptyFn // pages不可用时有效
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
_init: function () { |
|
|
|
|
BI.Pager.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var self = this; |
|
|
|
|
this.currPage = BI.result(this.options, "curr"); |
|
|
|
|
// 翻页太灵敏
|
|
|
|
@ -29145,6 +29189,7 @@ BI.Pager.EVENT_CHANGE = "EVENT_CHANGE";
|
|
|
|
|
BI.Pager.EVENT_AFTER_POPULATE = "EVENT_AFTER_POPULATE"; |
|
|
|
|
BI.shortcut("bi.pager", BI.Pager); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 384 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -29558,9 +29603,9 @@ BI.A = BI.inherit(BI.Text, {
|
|
|
|
|
tagName: "a" |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
_init: function () { |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var o = this.options; |
|
|
|
|
BI.A.superclass._init.apply(this, arguments); |
|
|
|
|
this.element.attr({href: o.href, target: o.target}); |
|
|
|
|
if (o.el) { |
|
|
|
|
BI.createWidget(o.el, { |
|
|
|
@ -29572,6 +29617,7 @@ BI.A = BI.inherit(BI.Text, {
|
|
|
|
|
|
|
|
|
|
BI.shortcut("bi.a", BI.A); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 387 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -29590,8 +29636,8 @@ BI.LoadingBar = BI.inherit(BI.Single, {
|
|
|
|
|
handler: BI.emptyFn |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
_init: function () { |
|
|
|
|
BI.LoadingBar.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var self = this; |
|
|
|
|
this.loaded = BI.createWidget({ |
|
|
|
|
type: "bi.text_button", |
|
|
|
@ -29657,6 +29703,7 @@ BI.LoadingBar = BI.inherit(BI.Single, {
|
|
|
|
|
|
|
|
|
|
BI.shortcut("bi.loading_bar", BI.LoadingBar); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 388 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -30157,8 +30204,7 @@ BI.IconButton = BI.inherit(BI.BasicButton, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.IconButton.superclass._init.apply(this, arguments); |
|
|
|
|
render: function () { |
|
|
|
|
var o = this.options; |
|
|
|
|
this.element.css({ |
|
|
|
|
textAlign: "center" |
|
|
|
@ -30218,8 +30264,7 @@ BI.ImageButton = BI.inherit(BI.BasicButton, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.ImageButton.superclass._init.apply(this, arguments); |
|
|
|
|
render: function () { |
|
|
|
|
var o = this.options; |
|
|
|
|
this.image = BI.createWidget({ |
|
|
|
|
type: "bi.img", |
|
|
|
@ -30288,6 +30333,7 @@ BI.ImageButton = BI.inherit(BI.BasicButton, {
|
|
|
|
|
BI.ImageButton.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
|
BI.shortcut("bi.image_button", BI.ImageButton); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 392 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -30333,8 +30379,7 @@ BI.Button = BI.inherit(BI.BasicButton, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.Button.superclass._init.apply(this, arguments); |
|
|
|
|
render: function () { |
|
|
|
|
var o = this.options, self = this; |
|
|
|
|
if (BI.isKey(o.iconCls)) { |
|
|
|
|
this.icon = BI.createWidget({ |
|
|
|
@ -30474,8 +30519,7 @@ BI.TextButton = BI.inherit(BI.BasicButton, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.TextButton.superclass._init.apply(this, arguments); |
|
|
|
|
render: function () { |
|
|
|
|
var o = this.options; |
|
|
|
|
this.text = BI.createWidget({ |
|
|
|
|
type: "bi.label", |
|
|
|
@ -30541,6 +30585,7 @@ BI.TextButton = BI.inherit(BI.BasicButton, {
|
|
|
|
|
BI.TextButton.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
|
BI.shortcut("bi.text_button", BI.TextButton); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 394 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -30572,8 +30617,8 @@ BI.BlankIconIconTextItem = BI.inherit(BI.BasicButton, {
|
|
|
|
|
textRgap: 0 |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
_init: function () { |
|
|
|
|
BI.BlankIconIconTextItem.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var o = this.options, c = this._const; |
|
|
|
|
var blank = BI.createWidget({ |
|
|
|
|
type: "bi.layout", |
|
|
|
@ -30698,8 +30743,8 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
|
|
|
|
|
textRgap: 0 |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
_init: function () { |
|
|
|
|
BI.BlankIconTextIconItem.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var o = this.options, c = this._const; |
|
|
|
|
this.text = BI.createWidget({ |
|
|
|
|
type: "bi.label", |
|
|
|
@ -30828,8 +30873,8 @@ BI.BlankIconTextItem = BI.inherit(BI.BasicButton, {
|
|
|
|
|
textRgap: 0 |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
_init: function () { |
|
|
|
|
BI.BlankIconTextItem.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var o = this.options, c = this._const; |
|
|
|
|
var blank = BI.createWidget({ |
|
|
|
|
type: "bi.layout", |
|
|
|
@ -30940,8 +30985,8 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
|
|
|
|
|
textRgap: 0 |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
_init: function () { |
|
|
|
|
BI.IconTextIconItem.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var o = this.options, c = this._const; |
|
|
|
|
this.text = BI.createWidget({ |
|
|
|
|
type: "bi.label", |
|
|
|
@ -31069,8 +31114,8 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, {
|
|
|
|
|
textRgap: 0 |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
_init: function () { |
|
|
|
|
BI.IconTextItem.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var o = this.options, c = this._const; |
|
|
|
|
this.text = BI.createWidget({ |
|
|
|
|
type: "bi.label", |
|
|
|
@ -31176,8 +31221,8 @@ BI.TextIconItem = BI.inherit(BI.BasicButton, {
|
|
|
|
|
textRgap: 0 |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
_init: function () { |
|
|
|
|
BI.TextIconItem.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var o = this.options, c = this._const; |
|
|
|
|
this.text = BI.createWidget({ |
|
|
|
|
type: "bi.label", |
|
|
|
@ -31279,8 +31324,8 @@ BI.TextItem = BI.inherit(BI.BasicButton, {
|
|
|
|
|
textRgap: 0 |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
_init: function () { |
|
|
|
|
BI.TextItem.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var o = this.options; |
|
|
|
|
this.text = BI.createWidget({ |
|
|
|
|
type: "bi.label", |
|
|
|
@ -31344,6 +31389,7 @@ BI.TextItem = BI.inherit(BI.BasicButton, {
|
|
|
|
|
BI.TextItem.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
|
BI.shortcut("bi.text_item", BI.TextItem); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 401 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -31373,8 +31419,8 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
|
|
|
|
|
textRgap: 0 |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
_init: function () { |
|
|
|
|
BI.IconTextIconNode.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var o = this.options, c = this._const; |
|
|
|
|
this.text = BI.createWidget({ |
|
|
|
|
type: "bi.label", |
|
|
|
@ -31462,6 +31508,7 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
|
|
|
|
|
BI.IconTextIconNode.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
|
BI.shortcut("bi.icon_text_icon_node", BI.IconTextIconNode); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 402 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -31490,8 +31537,8 @@ BI.IconTextNode = BI.inherit(BI.NodeButton, {
|
|
|
|
|
textRgap: 0 |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
_init: function () { |
|
|
|
|
BI.IconTextNode.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var o = this.options, c = this._const; |
|
|
|
|
this.text = BI.createWidget({ |
|
|
|
|
type: "bi.label", |
|
|
|
@ -31557,6 +31604,7 @@ BI.IconTextNode = BI.inherit(BI.NodeButton, {
|
|
|
|
|
BI.IconTextNode.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
|
BI.shortcut("bi.icon_text_node", BI.IconTextNode); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 403 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -31584,8 +31632,8 @@ BI.TextIconNode = BI.inherit(BI.NodeButton, {
|
|
|
|
|
textRgap: 0 |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
_init: function () { |
|
|
|
|
BI.TextIconNode.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var o = this.options, c = this._const; |
|
|
|
|
this.text = BI.createWidget({ |
|
|
|
|
type: "bi.label", |
|
|
|
@ -31651,6 +31699,7 @@ BI.TextIconNode = BI.inherit(BI.NodeButton, {
|
|
|
|
|
BI.TextIconNode.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
|
BI.shortcut("bi.text_icon_node", BI.TextIconNode); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 404 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -31676,8 +31725,8 @@ BI.TextNode = BI.inherit(BI.NodeButton, {
|
|
|
|
|
textRgap: 0 |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
_init: function () { |
|
|
|
|
BI.TextNode.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var o = this.options; |
|
|
|
|
this.text = BI.createWidget({ |
|
|
|
|
type: "bi.label", |
|
|
|
@ -31733,6 +31782,7 @@ BI.TextNode = BI.inherit(BI.NodeButton, {
|
|
|
|
|
BI.TextNode.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
|
BI.shortcut("bi.text_node", BI.TextNode); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 405 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -31765,8 +31815,7 @@ BI.Editor = BI.inherit(BI.Single, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.Editor.superclass._init.apply(this, arguments); |
|
|
|
|
render: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
// 密码输入框设置autocomplete="new-password"的情况下Firefox和chrome不会自动填充密码
|
|
|
|
|
var autocomplete = o.autocomplete ? " autocomplete=" + o.autocomplete : ""; |
|
|
|
@ -32134,8 +32183,7 @@ BI.MultifileEditor = BI.inherit(BI.Widget, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
render: function () { |
|
|
|
|
BI.MultifileEditor.superclass._init.apply(this, arguments); |
|
|
|
|
this.file = BI.createWidget({ |
|
|
|
|
type: "bi.file", |
|
|
|
@ -32611,8 +32659,8 @@ BI.Icon = BI.inherit(BI.Single, {
|
|
|
|
|
baseCls: (conf.baseCls || "") + " x-icon b-font horizon-center display-block" |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
_init: function () { |
|
|
|
|
BI.Icon.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
if (BI.isIE9Below && BI.isIE9Below()) { |
|
|
|
|
this.element.addClass("hack"); |
|
|
|
|
} |
|
|
|
@ -32620,6 +32668,7 @@ BI.Icon = BI.inherit(BI.Single, {
|
|
|
|
|
}); |
|
|
|
|
BI.shortcut("bi.icon", BI.Icon); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 410 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -32644,9 +32693,8 @@ BI.Iframe = BI.inherit(BI.Single, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
render: function () { |
|
|
|
|
var self = this; |
|
|
|
|
BI.Iframe.superclass._init.apply(this, arguments); |
|
|
|
|
this.element.on("load", function () { |
|
|
|
|
self.fireEvent("EVENT_LOADED"); |
|
|
|
|
}); |
|
|
|
@ -32845,8 +32893,7 @@ BI.Input = BI.inherit(BI.Single, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.Input.superclass._init.apply(this, arguments); |
|
|
|
|
render: function () { |
|
|
|
|
var self = this; |
|
|
|
|
var ctrlKey = false; |
|
|
|
|
var keyCode = null; |
|
|
|
@ -33168,10 +33215,6 @@ BI.ImageRadio = BI.inherit(BI.IconButton, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.ImageRadio.superclass._init.apply(this, arguments); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
doClick: function () { |
|
|
|
|
BI.ImageRadio.superclass.doClick.apply(this, arguments); |
|
|
|
|
if(this.isValid()) { |
|
|
|
@ -33183,6 +33226,7 @@ BI.ImageRadio.EVENT_CHANGE = BI.IconButton.EVENT_CHANGE;
|
|
|
|
|
|
|
|
|
|
BI.shortcut("bi.image_radio", BI.ImageRadio); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 416 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -33294,9 +33338,7 @@ BI.shortcut("bi.radio", BI.Radio);
|
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.AbstractLabel.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
if (this.options.textAlign === "center") { |
|
|
|
|
this._createCenterEl(); |
|
|
|
|
} else { |
|
|
|
@ -33689,8 +33731,7 @@ BI.IconLabel = BI.inherit(BI.Single, {
|
|
|
|
|
iconHeight: null |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.IconLabel.superclass._init.apply(this, arguments); |
|
|
|
|
render: function () { |
|
|
|
|
var o = this.options; |
|
|
|
|
this.element.css({ |
|
|
|
|
textAlign: "center" |
|
|
|
@ -33888,8 +33929,8 @@ BI.Toast = BI.inherit(BI.Tip, {
|
|
|
|
|
level: "success" // success或warning
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
_init: function () { |
|
|
|
|
BI.Toast.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
this.element.css({ |
|
|
|
|
minWidth: this._const.minWidth / BI.pixRatio + BI.pixUnit |
|
|
|
@ -34003,8 +34044,8 @@ BI.Tooltip = BI.inherit(BI.Tip, {
|
|
|
|
|
stopPropagation: false |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
_init: function () { |
|
|
|
|
BI.Tooltip.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
this.element.addClass("tooltip-" + o.level); |
|
|
|
|
var fn = function (e) { |
|
|
|
@ -34066,6 +34107,7 @@ BI.Tooltip = BI.inherit(BI.Tip, {
|
|
|
|
|
|
|
|
|
|
BI.shortcut("bi.tooltip", BI.Tooltip); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 426 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -34085,10 +34127,6 @@ BI.Trigger = BI.inherit(BI.Single, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.Trigger.superclass._init.apply(this, arguments); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
setKey: function () { |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
@ -34098,6 +34136,7 @@ BI.Trigger = BI.inherit(BI.Single, {
|
|
|
|
|
}, |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }), |
|
|
|
|
/* 427 */ |
|
|
|
|
/***/ (function(module, exports) { |
|
|
|
@ -39614,9 +39653,6 @@ BI.BubblePopupView = BI.inherit(BI.PopupView, {
|
|
|
|
|
maxWidth: 300, |
|
|
|
|
minHeight: 90 |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
_init: function () { |
|
|
|
|
BI.BubblePopupView.superclass._init.apply(this, arguments); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
@ -94003,9 +94039,8 @@ _.extend(BI, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
render: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
BI.File.superclass._init.apply(this, arguments); |
|
|
|
|
if (o.multiple === true) { |
|
|
|
|
this.element.attr("multiple", "multiple"); |
|
|
|
|
} |
|
|
|
|