|
|
@ -1,4 +1,4 @@ |
|
|
|
/*! time: 2021-8-19 20:00:26 */ |
|
|
|
/*! time: 2021-8-19 20:20:26 */ |
|
|
|
/******/ (function(modules) { // webpackBootstrap
|
|
|
|
/******/ (function(modules) { // webpackBootstrap
|
|
|
|
/******/ // The module cache
|
|
|
|
/******/ // The module cache
|
|
|
|
/******/ var installedModules = {}; |
|
|
|
/******/ var installedModules = {}; |
|
|
@ -20029,10 +20029,6 @@ BI.AbsoluteHorizontalLayout = BI.inherit(BI.Layout, { |
|
|
|
this.layout.resize(); |
|
|
|
this.layout.resize(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.layout.populate.apply(this, arguments); |
|
|
|
this.layout.populate.apply(this, arguments); |
|
|
|
} |
|
|
|
} |
|
|
@ -20181,10 +20177,6 @@ BI.AbsoluteRightVerticalAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
this.layout.stroke([{}].concat(this.options.items)) |
|
|
|
this.layout.stroke([{}].concat(this.options.items)) |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
addItem: function () { |
|
|
|
addItem: function () { |
|
|
|
// do nothing
|
|
|
|
// do nothing
|
|
|
|
throw new Error("不能添加子组件"); |
|
|
|
throw new Error("不能添加子组件"); |
|
|
@ -20248,10 +20240,6 @@ BI.AbsoluteVerticalLayout = BI.inherit(BI.Layout, { |
|
|
|
this.layout.resize(); |
|
|
|
this.layout.resize(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.layout.populate.apply(this, arguments); |
|
|
|
this.layout.populate.apply(this, arguments); |
|
|
|
} |
|
|
|
} |
|
|
@ -20311,10 +20299,6 @@ BI.CenterAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
this.layout.resize(); |
|
|
|
this.layout.resize(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.layout.populate.apply(this, arguments); |
|
|
|
this.layout.populate.apply(this, arguments); |
|
|
|
} |
|
|
|
} |
|
|
@ -20541,10 +20525,6 @@ BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
this.layout.resize(); |
|
|
|
this.layout.resize(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
addItem: function () { |
|
|
|
addItem: function () { |
|
|
|
// do nothing
|
|
|
|
// do nothing
|
|
|
|
throw new Error("不能添加子组件"); |
|
|
|
throw new Error("不能添加子组件"); |
|
|
@ -20723,10 +20703,6 @@ BI.VerticalAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
this.layout.resize(); |
|
|
|
this.layout.resize(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.layout.populate.apply(this, arguments); |
|
|
|
this.layout.populate.apply(this, arguments); |
|
|
|
} |
|
|
|
} |
|
|
@ -20834,10 +20810,6 @@ BI.InlineCenterAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
this.layout.resize(); |
|
|
|
this.layout.resize(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.layout.populate.apply(this.layout, arguments); |
|
|
|
this.layout.populate.apply(this.layout, arguments); |
|
|
|
} |
|
|
|
} |
|
|
@ -20899,10 +20871,6 @@ BI.InlineHorizontalAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
this.layout.resize(); |
|
|
|
this.layout.resize(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.layout.populate.apply(this.layout, arguments); |
|
|
|
this.layout.populate.apply(this.layout, arguments); |
|
|
|
} |
|
|
|
} |
|
|
@ -20964,10 +20932,6 @@ BI.InlineVerticalAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
this.layout.resize(); |
|
|
|
this.layout.resize(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.layout.populate.apply(this.layout, arguments); |
|
|
|
this.layout.populate.apply(this.layout, arguments); |
|
|
|
} |
|
|
|
} |
|
|
@ -21196,10 +21160,6 @@ BI.FlexCenterLayout = BI.inherit(BI.Layout, { |
|
|
|
this.layout.resize(); |
|
|
|
this.layout.resize(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.layout.populate(items); |
|
|
|
this.layout.populate(items); |
|
|
|
} |
|
|
|
} |
|
|
@ -21259,10 +21219,6 @@ BI.FlexHorizontalCenter = BI.inherit(BI.Layout, { |
|
|
|
this.layout.resize(); |
|
|
|
this.layout.resize(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.layout.populate(items); |
|
|
|
this.layout.populate(items); |
|
|
|
} |
|
|
|
} |
|
|
@ -21394,17 +21350,17 @@ BI.FlexLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
ref: function (_ref) { |
|
|
|
ref: function (_ref) { |
|
|
|
self.layout = _ref; |
|
|
|
self.layout = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
|
items: this._formatItems(), |
|
|
|
items: this._formatItems(o.items), |
|
|
|
scrollx: o.scrollx, |
|
|
|
scrollx: o.scrollx, |
|
|
|
scrolly: o.scrolly, |
|
|
|
scrolly: o.scrolly, |
|
|
|
scrollable: o.scrollable |
|
|
|
scrollable: o.scrollable |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_formatItems: function () { |
|
|
|
_formatItems: function (items) { |
|
|
|
var o = this.options; |
|
|
|
var o = this.options; |
|
|
|
var leftItems = o.items.left || []; |
|
|
|
var leftItems = items.left || []; |
|
|
|
var rightItems = o.items.right || []; |
|
|
|
var rightItems = items.right || []; |
|
|
|
leftItems = BI.map(leftItems, function (i, item) { |
|
|
|
leftItems = BI.map(leftItems, function (i, item) { |
|
|
|
var json = { |
|
|
|
var json = { |
|
|
|
el: BI.stripEL(item) |
|
|
|
el: BI.stripEL(item) |
|
|
@ -21441,11 +21397,7 @@ BI.FlexLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
resize: function () { |
|
|
|
resize: function () { |
|
|
|
this.layout.stroke(this._formatItems()); |
|
|
|
this.layout.stroke(this._formatItems(this.options.items)); |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
addItem: function () { |
|
|
|
addItem: function () { |
|
|
@ -21454,8 +21406,7 @@ BI.FlexLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.options.items = items; |
|
|
|
this.layout.populate(this._formatItems(items)); |
|
|
|
this.layout.populate(this._formatItems()); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.shortcut("bi.flex_left_right_vertical_adapt", BI.FlexLeftRightVerticalAdaptLayout); |
|
|
|
BI.shortcut("bi.flex_left_right_vertical_adapt", BI.FlexLeftRightVerticalAdaptLayout); |
|
|
@ -21514,10 +21465,6 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, { |
|
|
|
this.layout.resize(); |
|
|
|
this.layout.resize(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.layout.populate(items); |
|
|
|
this.layout.populate(items); |
|
|
|
} |
|
|
|
} |
|
|
@ -21671,10 +21618,6 @@ BI.FlexWrapperCenterLayout = BI.inherit(BI.Layout, { |
|
|
|
this.layout.resize(); |
|
|
|
this.layout.resize(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.layout.populate(items); |
|
|
|
this.layout.populate(items); |
|
|
|
} |
|
|
|
} |
|
|
@ -21736,10 +21679,6 @@ BI.FlexWrapperHorizontalCenter = BI.inherit(BI.Layout, { |
|
|
|
this.layout.resize(); |
|
|
|
this.layout.resize(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.layout.populate(items); |
|
|
|
this.layout.populate(items); |
|
|
|
} |
|
|
|
} |
|
|
@ -21900,10 +21839,6 @@ BI.FlexWrapperVerticalCenter = BI.inherit(BI.Layout, { |
|
|
|
this.layout.resize(); |
|
|
|
this.layout.resize(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.layout.populate(items); |
|
|
|
this.layout.populate(items); |
|
|
|
} |
|
|
|
} |
|
|
@ -22114,10 +22049,6 @@ BI.FloatAbsoluteHorizontalLayout = BI.inherit(BI.Layout, { |
|
|
|
this.layout.stroke(this._formatItems(this.options.items)); |
|
|
|
this.layout.stroke(this._formatItems(this.options.items)); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.layout.populate(this._formatItems(items)); |
|
|
|
this.layout.populate(this._formatItems(items)); |
|
|
|
} |
|
|
|
} |
|
|
@ -22158,7 +22089,7 @@ BI.FloatAbsoluteLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
self.layout = _ref; |
|
|
|
self.layout = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
|
verticalAlign: o.verticalAlign, |
|
|
|
verticalAlign: o.verticalAlign, |
|
|
|
items: this._formatItems(), |
|
|
|
items: this._formatItems(o.items), |
|
|
|
vgap: "50%", |
|
|
|
vgap: "50%", |
|
|
|
scrollx: o.scrollx, |
|
|
|
scrollx: o.scrollx, |
|
|
|
scrolly: o.scrolly, |
|
|
|
scrolly: o.scrolly, |
|
|
@ -22166,10 +22097,10 @@ BI.FloatAbsoluteLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_formatItems: function () { |
|
|
|
_formatItems: function (items) { |
|
|
|
var o = this.options; |
|
|
|
var o = this.options; |
|
|
|
var leftItems = o.items.left || []; |
|
|
|
var leftItems = items.left || []; |
|
|
|
var rightItems = o.items.right || []; |
|
|
|
var rightItems = items.right || []; |
|
|
|
leftItems = BI.map(leftItems, function (i, item) { |
|
|
|
leftItems = BI.map(leftItems, function (i, item) { |
|
|
|
var el = BI.stripEL(item); |
|
|
|
var el = BI.stripEL(item); |
|
|
|
if (o.verticalAlign === BI.VerticalAlign.Middle) { |
|
|
|
if (o.verticalAlign === BI.VerticalAlign.Middle) { |
|
|
@ -22228,11 +22159,7 @@ BI.FloatAbsoluteLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
resize: function () { |
|
|
|
resize: function () { |
|
|
|
this.layout.stroke(this._formatItems()); |
|
|
|
this.layout.stroke(this._formatItems(this.options.items)); |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
addItem: function () { |
|
|
|
addItem: function () { |
|
|
@ -22241,8 +22168,7 @@ BI.FloatAbsoluteLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.options.items = items; |
|
|
|
this.layout.populate(this._formatItems(items)); |
|
|
|
this.layout.populate(this._formatItems()); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.shortcut("bi.absolute_left_right_vertical_float", BI.FloatAbsoluteLeftRightVerticalAdaptLayout); |
|
|
|
BI.shortcut("bi.absolute_left_right_vertical_float", BI.FloatAbsoluteLeftRightVerticalAdaptLayout); |
|
|
@ -22300,10 +22226,6 @@ BI.FloatAbsoluteRightVerticalAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
this.layout.stroke([{}].concat(this._formatItems(this.options.items))); |
|
|
|
this.layout.stroke([{}].concat(this._formatItems(this.options.items))); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
addItem: function () { |
|
|
|
addItem: function () { |
|
|
|
// do nothing
|
|
|
|
// do nothing
|
|
|
|
throw new Error("不能添加子组件"); |
|
|
|
throw new Error("不能添加子组件"); |
|
|
@ -22382,10 +22304,6 @@ BI.FloatAbsoluteVerticalLayout = BI.inherit(BI.Layout, { |
|
|
|
this.layout.stroke(this._formatItems(this.options.items)); |
|
|
|
this.layout.stroke(this._formatItems(this.options.items)); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.layout.populate(this._formatItems(items)); |
|
|
|
this.layout.populate(this._formatItems(items)); |
|
|
|
} |
|
|
|
} |
|
|
@ -23285,6 +23203,7 @@ BI.GridLayout = BI.inherit(BI.Layout, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
addItem: function () { |
|
|
|
addItem: function () { |
|
|
|
|
|
|
|
// do nothing
|
|
|
|
throw new Error("不能添加子组件"); |
|
|
|
throw new Error("不能添加子组件"); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -24455,10 +24374,6 @@ BI.CenterLayout = BI.inherit(BI.Layout, { |
|
|
|
throw new Error("不能添加子组件"); |
|
|
|
throw new Error("不能添加子组件"); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.layout.populate.apply(this.layout, arguments); |
|
|
|
this.layout.populate.apply(this.layout, arguments); |
|
|
|
} |
|
|
|
} |
|
|
@ -24536,10 +24451,6 @@ BI.FloatCenterLayout = BI.inherit(BI.Layout, { |
|
|
|
throw new Error("不能添加子组件"); |
|
|
|
throw new Error("不能添加子组件"); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.layout.populate.apply(this.layout, arguments); |
|
|
|
this.layout.populate.apply(this.layout, arguments); |
|
|
|
} |
|
|
|
} |
|
|
@ -24616,10 +24527,6 @@ BI.HorizontalCenterLayout = BI.inherit(BI.Layout, { |
|
|
|
throw new Error("不能添加子组件"); |
|
|
|
throw new Error("不能添加子组件"); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.layout.populate.apply(this.layout, arguments); |
|
|
|
this.layout.populate.apply(this.layout, arguments); |
|
|
|
} |
|
|
|
} |
|
|
@ -24697,10 +24604,6 @@ BI.VerticalCenterLayout = BI.inherit(BI.Layout, { |
|
|
|
throw new Error("不能添加子组件"); |
|
|
|
throw new Error("不能添加子组件"); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
update: function (opt) { |
|
|
|
|
|
|
|
return this.layout.update(opt); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
this.layout.populate.apply(this.layout, arguments); |
|
|
|
this.layout.populate.apply(this.layout, arguments); |
|
|
|
} |
|
|
|
} |
|
|
|