Browse Source

Merge remote-tracking branch 'origin/master'

es6
guy 3 years ago
parent
commit
0dd8c894eb
  1. 2
      dist/2.0/fineui.css
  2. 4
      dist/2.0/fineui.ie.min.js
  3. 2
      dist/2.0/fineui.ie.min.js.map
  4. 125
      dist/2.0/fineui.js
  5. 2
      dist/2.0/fineui.js.map
  6. 2
      dist/2.0/fineui.min.css
  7. 4
      dist/2.0/fineui.min.js
  8. 2
      dist/2.0/fineui.min.js.map
  9. 2
      dist/2.0/fineui_without_normalize.css
  10. 2
      dist/2.0/fineui_without_normalize.min.css
  11. 2
      dist/core.css
  12. 125
      dist/core.js
  13. 2
      dist/core.js.map
  14. 2
      dist/demo.css
  15. 125
      dist/demo.js
  16. 2
      dist/demo.js.map
  17. 2
      dist/fineui.css
  18. 4
      dist/fineui.ie.min.js
  19. 2
      dist/fineui.ie.min.js.map
  20. 125
      dist/fineui.js
  21. 2
      dist/fineui.js.map
  22. 2
      dist/fineui.min.css
  23. 4
      dist/fineui.min.js
  24. 2
      dist/fineui.min.js.map
  25. 2
      dist/fineui.proxy.css
  26. 125
      dist/fineui.proxy.js
  27. 2
      dist/fineui.proxy.js.map
  28. 2
      dist/fineui.proxy.min.css
  29. 4
      dist/fineui.proxy.min.js
  30. 2
      dist/fineui.proxy.min.js.map
  31. 125
      dist/fineui_without_jquery_polyfill.js
  32. 2
      dist/fineui_without_jquery_polyfill.js.map
  33. 2
      dist/font.css
  34. 2
      dist/resource.css
  35. 2
      dist/utils.js
  36. 2
      dist/utils.min.js
  37. 2
      package.json

2
dist/2.0/fineui.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

125
dist/2.0/fineui.js vendored

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

2
dist/2.0/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui_without_normalize.css vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui_without_normalize.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/core.css vendored

File diff suppressed because one or more lines are too long

125
dist/core.js vendored

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

2
dist/core.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/demo.css vendored

File diff suppressed because one or more lines are too long

125
dist/demo.js vendored

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

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

125
dist/fineui.js vendored

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

2
dist/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.proxy.css vendored

File diff suppressed because one or more lines are too long

125
dist/fineui.proxy.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-8-19 20:00:26 */
/*! time: 2021-8-19 20:20:26 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -17490,10 +17490,6 @@ BI.AbsoluteHorizontalLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this, arguments);
}
@ -17642,10 +17638,6 @@ BI.AbsoluteRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
this.layout.stroke([{}].concat(this.options.items))
},
update: function (opt) {
return this.layout.update(opt);
},
addItem: function () {
// do nothing
throw new Error("不能添加子组件");
@ -17709,10 +17701,6 @@ BI.AbsoluteVerticalLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this, arguments);
}
@ -17772,10 +17760,6 @@ BI.CenterAdaptLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this, arguments);
}
@ -18002,10 +17986,6 @@ BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
addItem: function () {
// do nothing
throw new Error("不能添加子组件");
@ -18184,10 +18164,6 @@ BI.VerticalAdaptLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this, arguments);
}
@ -18295,10 +18271,6 @@ BI.InlineCenterAdaptLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this.layout, arguments);
}
@ -18360,10 +18332,6 @@ BI.InlineHorizontalAdaptLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this.layout, arguments);
}
@ -18425,10 +18393,6 @@ BI.InlineVerticalAdaptLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this.layout, arguments);
}
@ -18657,10 +18621,6 @@ BI.FlexCenterLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate(items);
}
@ -18720,10 +18680,6 @@ BI.FlexHorizontalCenter = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate(items);
}
@ -18855,17 +18811,17 @@ BI.FlexLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
ref: function (_ref) {
self.layout = _ref;
},
items: this._formatItems(),
items: this._formatItems(o.items),
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable
};
},
_formatItems: function () {
_formatItems: function (items) {
var o = this.options;
var leftItems = o.items.left || [];
var rightItems = o.items.right || [];
var leftItems = items.left || [];
var rightItems = items.right || [];
leftItems = BI.map(leftItems, function (i, item) {
var json = {
el: BI.stripEL(item)
@ -18902,11 +18858,7 @@ BI.FlexLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
},
resize: function () {
this.layout.stroke(this._formatItems());
},
update: function (opt) {
return this.layout.update(opt);
this.layout.stroke(this._formatItems(this.options.items));
},
addItem: function () {
@ -18915,8 +18867,7 @@ BI.FlexLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
},
populate: function (items) {
this.options.items = items;
this.layout.populate(this._formatItems());
this.layout.populate(this._formatItems(items));
}
});
BI.shortcut("bi.flex_left_right_vertical_adapt", BI.FlexLeftRightVerticalAdaptLayout);
@ -18975,10 +18926,6 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate(items);
}
@ -19132,10 +19079,6 @@ BI.FlexWrapperCenterLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate(items);
}
@ -19197,10 +19140,6 @@ BI.FlexWrapperHorizontalCenter = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate(items);
}
@ -19361,10 +19300,6 @@ BI.FlexWrapperVerticalCenter = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate(items);
}
@ -19575,10 +19510,6 @@ BI.FloatAbsoluteHorizontalLayout = BI.inherit(BI.Layout, {
this.layout.stroke(this._formatItems(this.options.items));
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate(this._formatItems(items));
}
@ -19619,7 +19550,7 @@ BI.FloatAbsoluteLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
self.layout = _ref;
},
verticalAlign: o.verticalAlign,
items: this._formatItems(),
items: this._formatItems(o.items),
vgap: "50%",
scrollx: o.scrollx,
scrolly: o.scrolly,
@ -19627,10 +19558,10 @@ BI.FloatAbsoluteLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
};
},
_formatItems: function () {
_formatItems: function (items) {
var o = this.options;
var leftItems = o.items.left || [];
var rightItems = o.items.right || [];
var leftItems = items.left || [];
var rightItems = items.right || [];
leftItems = BI.map(leftItems, function (i, item) {
var el = BI.stripEL(item);
if (o.verticalAlign === BI.VerticalAlign.Middle) {
@ -19689,11 +19620,7 @@ BI.FloatAbsoluteLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
},
resize: function () {
this.layout.stroke(this._formatItems());
},
update: function (opt) {
return this.layout.update(opt);
this.layout.stroke(this._formatItems(this.options.items));
},
addItem: function () {
@ -19702,8 +19629,7 @@ BI.FloatAbsoluteLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
},
populate: function (items) {
this.options.items = items;
this.layout.populate(this._formatItems());
this.layout.populate(this._formatItems(items));
}
});
BI.shortcut("bi.absolute_left_right_vertical_float", BI.FloatAbsoluteLeftRightVerticalAdaptLayout);
@ -19761,10 +19687,6 @@ BI.FloatAbsoluteRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
this.layout.stroke([{}].concat(this._formatItems(this.options.items)));
},
update: function (opt) {
return this.layout.update(opt);
},
addItem: function () {
// do nothing
throw new Error("不能添加子组件");
@ -19843,10 +19765,6 @@ BI.FloatAbsoluteVerticalLayout = BI.inherit(BI.Layout, {
this.layout.stroke(this._formatItems(this.options.items));
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate(this._formatItems(items));
}
@ -20746,6 +20664,7 @@ BI.GridLayout = BI.inherit(BI.Layout, {
},
addItem: function () {
// do nothing
throw new Error("不能添加子组件");
},
@ -21916,10 +21835,6 @@ BI.CenterLayout = BI.inherit(BI.Layout, {
throw new Error("不能添加子组件");
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this.layout, arguments);
}
@ -21997,10 +21912,6 @@ BI.FloatCenterLayout = BI.inherit(BI.Layout, {
throw new Error("不能添加子组件");
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this.layout, arguments);
}
@ -22077,10 +21988,6 @@ BI.HorizontalCenterLayout = BI.inherit(BI.Layout, {
throw new Error("不能添加子组件");
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this.layout, arguments);
}
@ -22158,10 +22065,6 @@ BI.VerticalCenterLayout = BI.inherit(BI.Layout, {
throw new Error("不能添加子组件");
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this.layout, arguments);
}

2
dist/fineui.proxy.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.proxy.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.proxy.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.proxy.min.js.map vendored

File diff suppressed because one or more lines are too long

125
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-8-19 20:00:26 */
/*! time: 2021-8-19 20:20:26 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -17105,10 +17105,6 @@ BI.AbsoluteHorizontalLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this, arguments);
}
@ -17257,10 +17253,6 @@ BI.AbsoluteRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
this.layout.stroke([{}].concat(this.options.items))
},
update: function (opt) {
return this.layout.update(opt);
},
addItem: function () {
// do nothing
throw new Error("不能添加子组件");
@ -17324,10 +17316,6 @@ BI.AbsoluteVerticalLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this, arguments);
}
@ -17387,10 +17375,6 @@ BI.CenterAdaptLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this, arguments);
}
@ -17617,10 +17601,6 @@ BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
addItem: function () {
// do nothing
throw new Error("不能添加子组件");
@ -17799,10 +17779,6 @@ BI.VerticalAdaptLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this, arguments);
}
@ -17910,10 +17886,6 @@ BI.InlineCenterAdaptLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this.layout, arguments);
}
@ -17975,10 +17947,6 @@ BI.InlineHorizontalAdaptLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this.layout, arguments);
}
@ -18040,10 +18008,6 @@ BI.InlineVerticalAdaptLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this.layout, arguments);
}
@ -18272,10 +18236,6 @@ BI.FlexCenterLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate(items);
}
@ -18335,10 +18295,6 @@ BI.FlexHorizontalCenter = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate(items);
}
@ -18470,17 +18426,17 @@ BI.FlexLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
ref: function (_ref) {
self.layout = _ref;
},
items: this._formatItems(),
items: this._formatItems(o.items),
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable
};
},
_formatItems: function () {
_formatItems: function (items) {
var o = this.options;
var leftItems = o.items.left || [];
var rightItems = o.items.right || [];
var leftItems = items.left || [];
var rightItems = items.right || [];
leftItems = BI.map(leftItems, function (i, item) {
var json = {
el: BI.stripEL(item)
@ -18517,11 +18473,7 @@ BI.FlexLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
},
resize: function () {
this.layout.stroke(this._formatItems());
},
update: function (opt) {
return this.layout.update(opt);
this.layout.stroke(this._formatItems(this.options.items));
},
addItem: function () {
@ -18530,8 +18482,7 @@ BI.FlexLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
},
populate: function (items) {
this.options.items = items;
this.layout.populate(this._formatItems());
this.layout.populate(this._formatItems(items));
}
});
BI.shortcut("bi.flex_left_right_vertical_adapt", BI.FlexLeftRightVerticalAdaptLayout);
@ -18590,10 +18541,6 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate(items);
}
@ -18747,10 +18694,6 @@ BI.FlexWrapperCenterLayout = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate(items);
}
@ -18812,10 +18755,6 @@ BI.FlexWrapperHorizontalCenter = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate(items);
}
@ -18976,10 +18915,6 @@ BI.FlexWrapperVerticalCenter = BI.inherit(BI.Layout, {
this.layout.resize();
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate(items);
}
@ -19190,10 +19125,6 @@ BI.FloatAbsoluteHorizontalLayout = BI.inherit(BI.Layout, {
this.layout.stroke(this._formatItems(this.options.items));
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate(this._formatItems(items));
}
@ -19234,7 +19165,7 @@ BI.FloatAbsoluteLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
self.layout = _ref;
},
verticalAlign: o.verticalAlign,
items: this._formatItems(),
items: this._formatItems(o.items),
vgap: "50%",
scrollx: o.scrollx,
scrolly: o.scrolly,
@ -19242,10 +19173,10 @@ BI.FloatAbsoluteLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
};
},
_formatItems: function () {
_formatItems: function (items) {
var o = this.options;
var leftItems = o.items.left || [];
var rightItems = o.items.right || [];
var leftItems = items.left || [];
var rightItems = items.right || [];
leftItems = BI.map(leftItems, function (i, item) {
var el = BI.stripEL(item);
if (o.verticalAlign === BI.VerticalAlign.Middle) {
@ -19304,11 +19235,7 @@ BI.FloatAbsoluteLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
},
resize: function () {
this.layout.stroke(this._formatItems());
},
update: function (opt) {
return this.layout.update(opt);
this.layout.stroke(this._formatItems(this.options.items));
},
addItem: function () {
@ -19317,8 +19244,7 @@ BI.FloatAbsoluteLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
},
populate: function (items) {
this.options.items = items;
this.layout.populate(this._formatItems());
this.layout.populate(this._formatItems(items));
}
});
BI.shortcut("bi.absolute_left_right_vertical_float", BI.FloatAbsoluteLeftRightVerticalAdaptLayout);
@ -19376,10 +19302,6 @@ BI.FloatAbsoluteRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
this.layout.stroke([{}].concat(this._formatItems(this.options.items)));
},
update: function (opt) {
return this.layout.update(opt);
},
addItem: function () {
// do nothing
throw new Error("不能添加子组件");
@ -19458,10 +19380,6 @@ BI.FloatAbsoluteVerticalLayout = BI.inherit(BI.Layout, {
this.layout.stroke(this._formatItems(this.options.items));
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate(this._formatItems(items));
}
@ -20361,6 +20279,7 @@ BI.GridLayout = BI.inherit(BI.Layout, {
},
addItem: function () {
// do nothing
throw new Error("不能添加子组件");
},
@ -21531,10 +21450,6 @@ BI.CenterLayout = BI.inherit(BI.Layout, {
throw new Error("不能添加子组件");
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this.layout, arguments);
}
@ -21612,10 +21527,6 @@ BI.FloatCenterLayout = BI.inherit(BI.Layout, {
throw new Error("不能添加子组件");
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this.layout, arguments);
}
@ -21692,10 +21603,6 @@ BI.HorizontalCenterLayout = BI.inherit(BI.Layout, {
throw new Error("不能添加子组件");
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this.layout, arguments);
}
@ -21773,10 +21680,6 @@ BI.VerticalCenterLayout = BI.inherit(BI.Layout, {
throw new Error("不能添加子组件");
},
update: function (opt) {
return this.layout.update(opt);
},
populate: function (items) {
this.layout.populate.apply(this.layout, arguments);
}

2
dist/fineui_without_jquery_polyfill.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/font.css vendored

File diff suppressed because one or more lines are too long

2
dist/resource.css vendored

File diff suppressed because one or more lines are too long

2
dist/utils.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-8-19 20:00:26 */
/*! time: 2021-8-19 20:20:26 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

2
package.json

@ -1,6 +1,6 @@
{
"name": "fineui",
"version": "2.0.20210819200207",
"version": "2.0.20210819202129",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

Loading…
Cancel
Save