Browse Source

auto upgrade version to 2.0.20210222101219

master
data 4 years ago
parent
commit
1a9f2f76ea
  1. 4
      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. 111
      dist/2.0/fineui.js
  5. 2
      dist/2.0/fineui.js.map
  6. 4
      dist/2.0/fineui.min.css
  7. 4
      dist/2.0/fineui.min.js
  8. 2
      dist/2.0/fineui.min.js.map
  9. 4
      dist/2.0/fineui_without_normalize.css
  10. 4
      dist/2.0/fineui_without_normalize.min.css
  11. 4
      dist/core.css
  12. 111
      dist/core.js
  13. 2
      dist/core.js.map
  14. 4
      dist/demo.css
  15. 111
      dist/demo.js
  16. 2
      dist/demo.js.map
  17. 4
      dist/fineui.css
  18. 4
      dist/fineui.ie.min.js
  19. 2
      dist/fineui.ie.min.js.map
  20. 111
      dist/fineui.js
  21. 2
      dist/fineui.js.map
  22. 4
      dist/fineui.min.css
  23. 4
      dist/fineui.min.js
  24. 2
      dist/fineui.min.js.map
  25. 89
      dist/fineui_without_jquery_polyfill.js
  26. 2
      dist/fineui_without_jquery_polyfill.js.map
  27. 2
      dist/font.css
  28. 2
      dist/resource.css
  29. 2
      dist/utils.js
  30. 2
      dist/utils.min.js
  31. 2
      package.json

4
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

111
dist/2.0/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-2-20 17:50:39 */ /*! time: 2021-2-22 10:10:42 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -18140,9 +18140,15 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
llgap: 0, llgap: 0,
lrgap: 0, lrgap: 0,
lhgap: 0, lhgap: 0,
ltgap: 0,
lbgap: 0,
lvgap: 0,
rlgap: 0, rlgap: 0,
rrgap: 0, rrgap: 0,
rhgap: 0 rhgap: 0,
rtgap: 0,
rbgap: 0,
rvgap: 0
}); });
}, },
render: function () { render: function () {
@ -18155,11 +18161,17 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [{ items: [{
el: { el: {
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
ref: function (_ref) {
self.left = _ref;
},
height: "100%", height: "100%",
items: o.items.left, items: o.items.left,
hgap: o.lhgap, hgap: o.lhgap,
lgap: o.llgap, lgap: o.llgap,
rgap: o.lrgap rgap: o.lrgap,
tgap: o.ltgap,
bgap: o.lbgap,
vgap: o.lvgap
} }
}] }]
}); });
@ -18170,12 +18182,17 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [{ items: [{
el: { el: {
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
ref: function (_ref) {
self.right = _ref;
},
height: "100%", height: "100%",
items: o.items.right, items: o.items.right,
textAlign: "right",
hgap: o.rhgap, hgap: o.rhgap,
lgap: o.rlgap, lgap: o.rlgap,
rgap: o.rrgap rgap: o.rrgap,
tgap: o.rtgap,
bgap: o.rbgap,
vgap: o.rvgap
} }
}] }]
}); });
@ -18193,8 +18210,8 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
}, },
populate: function (items) { populate: function (items) {
BI.LeftRightVerticalAdaptLayout.superclass.populate.apply(this, arguments); this.left.populate(items.left);
this._mount(); this.right.populate(items.right);
} }
}); });
BI.shortcut("bi.left_right_vertical_adapt", BI.LeftRightVerticalAdaptLayout); BI.shortcut("bi.left_right_vertical_adapt", BI.LeftRightVerticalAdaptLayout);
@ -18207,27 +18224,30 @@ BI.LeftVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [], items: [],
lgap: 0, lgap: 0,
rgap: 0, rgap: 0,
hgap: 0 hgap: 0,
tgap: 0,
bgap: 0,
vgap: 0
}); });
}, },
render: function () { render: function () {
var o = this.options, self = this; var o = this.options, self = this;
BI.LeftVerticalAdaptLayout.superclass.render.apply(this, arguments); BI.LeftVerticalAdaptLayout.superclass.render.apply(this, arguments);
return { return {
type: "bi.left", type: "bi.vertical_adapt",
ref: function (_ref) { ref: function (_ref) {
self.layout = _ref; self.layout = _ref;
}, },
items: [{ items: o.items,
el: { hgap: o.hgap,
type: "bi.vertical_adapt", lgap: o.lgap,
height: "100%", rgap: o.rgap,
items: o.items, tgap: o.tgap,
lgap: o.lgap, bgap: o.bgap,
hgap: o.hgap, vgap: o.vgap,
rgap: o.rgap scrollx: o.scrollx,
} scrolly: o.scrolly,
}] scrollable: o.scrollable
}; };
}, },
@ -18253,28 +18273,31 @@ BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [], items: [],
lgap: 0, lgap: 0,
rgap: 0, rgap: 0,
hgap: 0 hgap: 0,
tgap: 0,
bgap: 0,
vgap: 0
}); });
}, },
render: function () { render: function () {
var o = this.options, self = this; var o = this.options, self = this;
BI.RightVerticalAdaptLayout.superclass.render.apply(this, arguments); BI.RightVerticalAdaptLayout.superclass.render.apply(this, arguments);
return { return {
type: "bi.right", type: "bi.vertical_adapt",
ref: function (_ref) { ref: function (_ref) {
self.layout = _ref; self.layout = _ref;
}, },
items: [{ horizontalAlign: BI.HorizontalAlign.Right,
el: { items: o.items,
type: "bi.vertical_adapt", hgap: o.hgap,
height: "100%", lgap: o.lgap,
textAlign: "right", rgap: o.rgap,
items: o.items, tgap: o.tgap,
lgap: o.lgap, bgap: o.bgap,
hgap: o.hgap, vgap: o.vgap,
rgap: o.rgap scrollx: o.scrollx,
} scrolly: o.scrolly,
}] scrollable: o.scrollable
}; };
}, },
@ -18288,7 +18311,7 @@ BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, {
}, },
populate: function (items) { populate: function (items) {
this.layout.populate.apply(this, arguments); this.layout.populate(items);
} }
}); });
BI.shortcut("bi.right_vertical_adapt", BI.RightVerticalAdaptLayout); BI.shortcut("bi.right_vertical_adapt", BI.RightVerticalAdaptLayout);
@ -75080,14 +75103,14 @@ BI.prepares.push(function () {
if (!isIE && supportFlex) { if (!isIE && supportFlex) {
return BI.extend({}, ob, {type: "bi.flex_horizontal"}); return BI.extend({}, ob, {type: "bi.flex_horizontal"});
} }
// 解决使用inline_vertical_adapt的顺序问题 // // 解决使用inline_vertical_adapt的顺序问题
// 从右往左放置时,为了兼容,我们统一采用从右到左的放置方式 // // 从右往左放置时,为了兼容,我们统一采用从右到左的放置方式
if (ob.horizontalAlign === BI.HorizontalAlign.Right) { // if (ob.horizontalAlign === BI.HorizontalAlign.Right) {
return BI.extend({verticalAlign: BI.VerticalAlign.Top}, ob, { // return BI.extend({verticalAlign: BI.VerticalAlign.Top}, ob, {
type: "bi.inline_vertical_adapt", // type: "bi.inline_vertical_adapt",
items: ob.items && ob.items.reverse() // items: ob.items && ob.items.reverse()
}); // });
} // }
return BI.extend({}, ob, {type: "bi.table_adapt"}); return BI.extend({}, ob, {type: "bi.table_adapt"});
}); });
BI.Plugin.configWidget("bi.center_adapt", function (ob) { BI.Plugin.configWidget("bi.center_adapt", function (ob) {
@ -75097,9 +75120,6 @@ BI.prepares.push(function () {
if (!isIE && supportFlex) { if (!isIE && supportFlex) {
return BI.extend({}, ob, {type: "bi.flex_center_adapt"}); return BI.extend({}, ob, {type: "bi.flex_center_adapt"});
} }
if (ob.horizontalAlign === BI.HorizontalAlign.Right) {
return BI.extend({}, ob, {type: "bi.inline_center_adapt", items: ob.items && ob.items.reverse()});
}
return BI.extend({}, ob, {type: "bi.inline_center_adapt"}); return BI.extend({}, ob, {type: "bi.inline_center_adapt"});
} }
return ob; return ob;
@ -75111,9 +75131,6 @@ BI.prepares.push(function () {
if (!isIE && supportFlex) { if (!isIE && supportFlex) {
return BI.extend({}, ob, {type: "bi.flex_vertical_center_adapt"}); return BI.extend({}, ob, {type: "bi.flex_vertical_center_adapt"});
} }
if (ob.horizontalAlign === BI.HorizontalAlign.Right) {
return BI.extend({}, ob, {type: "bi.inline_vertical_adapt", items: ob.items && ob.items.reverse()});
}
return BI.extend({}, ob, {type: "bi.inline_vertical_adapt"}); return BI.extend({}, ob, {type: "bi.inline_vertical_adapt"});
} }
return ob; return ob;

2
dist/2.0/fineui.js.map vendored

File diff suppressed because one or more lines are too long

4
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

4
dist/2.0/fineui_without_normalize.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui_without_normalize.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/core.css vendored

File diff suppressed because one or more lines are too long

111
dist/core.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-2-20 17:50:39 */ /*! time: 2021-2-22 10:10:42 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -18140,9 +18140,15 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
llgap: 0, llgap: 0,
lrgap: 0, lrgap: 0,
lhgap: 0, lhgap: 0,
ltgap: 0,
lbgap: 0,
lvgap: 0,
rlgap: 0, rlgap: 0,
rrgap: 0, rrgap: 0,
rhgap: 0 rhgap: 0,
rtgap: 0,
rbgap: 0,
rvgap: 0
}); });
}, },
render: function () { render: function () {
@ -18155,11 +18161,17 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [{ items: [{
el: { el: {
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
ref: function (_ref) {
self.left = _ref;
},
height: "100%", height: "100%",
items: o.items.left, items: o.items.left,
hgap: o.lhgap, hgap: o.lhgap,
lgap: o.llgap, lgap: o.llgap,
rgap: o.lrgap rgap: o.lrgap,
tgap: o.ltgap,
bgap: o.lbgap,
vgap: o.lvgap
} }
}] }]
}); });
@ -18170,12 +18182,17 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [{ items: [{
el: { el: {
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
ref: function (_ref) {
self.right = _ref;
},
height: "100%", height: "100%",
items: o.items.right, items: o.items.right,
textAlign: "right",
hgap: o.rhgap, hgap: o.rhgap,
lgap: o.rlgap, lgap: o.rlgap,
rgap: o.rrgap rgap: o.rrgap,
tgap: o.rtgap,
bgap: o.rbgap,
vgap: o.rvgap
} }
}] }]
}); });
@ -18193,8 +18210,8 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
}, },
populate: function (items) { populate: function (items) {
BI.LeftRightVerticalAdaptLayout.superclass.populate.apply(this, arguments); this.left.populate(items.left);
this._mount(); this.right.populate(items.right);
} }
}); });
BI.shortcut("bi.left_right_vertical_adapt", BI.LeftRightVerticalAdaptLayout); BI.shortcut("bi.left_right_vertical_adapt", BI.LeftRightVerticalAdaptLayout);
@ -18207,27 +18224,30 @@ BI.LeftVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [], items: [],
lgap: 0, lgap: 0,
rgap: 0, rgap: 0,
hgap: 0 hgap: 0,
tgap: 0,
bgap: 0,
vgap: 0
}); });
}, },
render: function () { render: function () {
var o = this.options, self = this; var o = this.options, self = this;
BI.LeftVerticalAdaptLayout.superclass.render.apply(this, arguments); BI.LeftVerticalAdaptLayout.superclass.render.apply(this, arguments);
return { return {
type: "bi.left", type: "bi.vertical_adapt",
ref: function (_ref) { ref: function (_ref) {
self.layout = _ref; self.layout = _ref;
}, },
items: [{ items: o.items,
el: { hgap: o.hgap,
type: "bi.vertical_adapt", lgap: o.lgap,
height: "100%", rgap: o.rgap,
items: o.items, tgap: o.tgap,
lgap: o.lgap, bgap: o.bgap,
hgap: o.hgap, vgap: o.vgap,
rgap: o.rgap scrollx: o.scrollx,
} scrolly: o.scrolly,
}] scrollable: o.scrollable
}; };
}, },
@ -18253,28 +18273,31 @@ BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [], items: [],
lgap: 0, lgap: 0,
rgap: 0, rgap: 0,
hgap: 0 hgap: 0,
tgap: 0,
bgap: 0,
vgap: 0
}); });
}, },
render: function () { render: function () {
var o = this.options, self = this; var o = this.options, self = this;
BI.RightVerticalAdaptLayout.superclass.render.apply(this, arguments); BI.RightVerticalAdaptLayout.superclass.render.apply(this, arguments);
return { return {
type: "bi.right", type: "bi.vertical_adapt",
ref: function (_ref) { ref: function (_ref) {
self.layout = _ref; self.layout = _ref;
}, },
items: [{ horizontalAlign: BI.HorizontalAlign.Right,
el: { items: o.items,
type: "bi.vertical_adapt", hgap: o.hgap,
height: "100%", lgap: o.lgap,
textAlign: "right", rgap: o.rgap,
items: o.items, tgap: o.tgap,
lgap: o.lgap, bgap: o.bgap,
hgap: o.hgap, vgap: o.vgap,
rgap: o.rgap scrollx: o.scrollx,
} scrolly: o.scrolly,
}] scrollable: o.scrollable
}; };
}, },
@ -18288,7 +18311,7 @@ BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, {
}, },
populate: function (items) { populate: function (items) {
this.layout.populate.apply(this, arguments); this.layout.populate(items);
} }
}); });
BI.shortcut("bi.right_vertical_adapt", BI.RightVerticalAdaptLayout); BI.shortcut("bi.right_vertical_adapt", BI.RightVerticalAdaptLayout);
@ -75080,14 +75103,14 @@ BI.prepares.push(function () {
if (!isIE && supportFlex) { if (!isIE && supportFlex) {
return BI.extend({}, ob, {type: "bi.flex_horizontal"}); return BI.extend({}, ob, {type: "bi.flex_horizontal"});
} }
// 解决使用inline_vertical_adapt的顺序问题 // // 解决使用inline_vertical_adapt的顺序问题
// 从右往左放置时,为了兼容,我们统一采用从右到左的放置方式 // // 从右往左放置时,为了兼容,我们统一采用从右到左的放置方式
if (ob.horizontalAlign === BI.HorizontalAlign.Right) { // if (ob.horizontalAlign === BI.HorizontalAlign.Right) {
return BI.extend({verticalAlign: BI.VerticalAlign.Top}, ob, { // return BI.extend({verticalAlign: BI.VerticalAlign.Top}, ob, {
type: "bi.inline_vertical_adapt", // type: "bi.inline_vertical_adapt",
items: ob.items && ob.items.reverse() // items: ob.items && ob.items.reverse()
}); // });
} // }
return BI.extend({}, ob, {type: "bi.table_adapt"}); return BI.extend({}, ob, {type: "bi.table_adapt"});
}); });
BI.Plugin.configWidget("bi.center_adapt", function (ob) { BI.Plugin.configWidget("bi.center_adapt", function (ob) {
@ -75097,9 +75120,6 @@ BI.prepares.push(function () {
if (!isIE && supportFlex) { if (!isIE && supportFlex) {
return BI.extend({}, ob, {type: "bi.flex_center_adapt"}); return BI.extend({}, ob, {type: "bi.flex_center_adapt"});
} }
if (ob.horizontalAlign === BI.HorizontalAlign.Right) {
return BI.extend({}, ob, {type: "bi.inline_center_adapt", items: ob.items && ob.items.reverse()});
}
return BI.extend({}, ob, {type: "bi.inline_center_adapt"}); return BI.extend({}, ob, {type: "bi.inline_center_adapt"});
} }
return ob; return ob;
@ -75111,9 +75131,6 @@ BI.prepares.push(function () {
if (!isIE && supportFlex) { if (!isIE && supportFlex) {
return BI.extend({}, ob, {type: "bi.flex_vertical_center_adapt"}); return BI.extend({}, ob, {type: "bi.flex_vertical_center_adapt"});
} }
if (ob.horizontalAlign === BI.HorizontalAlign.Right) {
return BI.extend({}, ob, {type: "bi.inline_vertical_adapt", items: ob.items && ob.items.reverse()});
}
return BI.extend({}, ob, {type: "bi.inline_vertical_adapt"}); return BI.extend({}, ob, {type: "bi.inline_vertical_adapt"});
} }
return ob; return ob;

2
dist/core.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/demo.css vendored

File diff suppressed because one or more lines are too long

111
dist/demo.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-2-20 17:50:39 */ /*! time: 2021-2-22 10:10:42 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -18140,9 +18140,15 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
llgap: 0, llgap: 0,
lrgap: 0, lrgap: 0,
lhgap: 0, lhgap: 0,
ltgap: 0,
lbgap: 0,
lvgap: 0,
rlgap: 0, rlgap: 0,
rrgap: 0, rrgap: 0,
rhgap: 0 rhgap: 0,
rtgap: 0,
rbgap: 0,
rvgap: 0
}); });
}, },
render: function () { render: function () {
@ -18155,11 +18161,17 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [{ items: [{
el: { el: {
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
ref: function (_ref) {
self.left = _ref;
},
height: "100%", height: "100%",
items: o.items.left, items: o.items.left,
hgap: o.lhgap, hgap: o.lhgap,
lgap: o.llgap, lgap: o.llgap,
rgap: o.lrgap rgap: o.lrgap,
tgap: o.ltgap,
bgap: o.lbgap,
vgap: o.lvgap
} }
}] }]
}); });
@ -18170,12 +18182,17 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [{ items: [{
el: { el: {
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
ref: function (_ref) {
self.right = _ref;
},
height: "100%", height: "100%",
items: o.items.right, items: o.items.right,
textAlign: "right",
hgap: o.rhgap, hgap: o.rhgap,
lgap: o.rlgap, lgap: o.rlgap,
rgap: o.rrgap rgap: o.rrgap,
tgap: o.rtgap,
bgap: o.rbgap,
vgap: o.rvgap
} }
}] }]
}); });
@ -18193,8 +18210,8 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
}, },
populate: function (items) { populate: function (items) {
BI.LeftRightVerticalAdaptLayout.superclass.populate.apply(this, arguments); this.left.populate(items.left);
this._mount(); this.right.populate(items.right);
} }
}); });
BI.shortcut("bi.left_right_vertical_adapt", BI.LeftRightVerticalAdaptLayout); BI.shortcut("bi.left_right_vertical_adapt", BI.LeftRightVerticalAdaptLayout);
@ -18207,27 +18224,30 @@ BI.LeftVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [], items: [],
lgap: 0, lgap: 0,
rgap: 0, rgap: 0,
hgap: 0 hgap: 0,
tgap: 0,
bgap: 0,
vgap: 0
}); });
}, },
render: function () { render: function () {
var o = this.options, self = this; var o = this.options, self = this;
BI.LeftVerticalAdaptLayout.superclass.render.apply(this, arguments); BI.LeftVerticalAdaptLayout.superclass.render.apply(this, arguments);
return { return {
type: "bi.left", type: "bi.vertical_adapt",
ref: function (_ref) { ref: function (_ref) {
self.layout = _ref; self.layout = _ref;
}, },
items: [{ items: o.items,
el: { hgap: o.hgap,
type: "bi.vertical_adapt", lgap: o.lgap,
height: "100%", rgap: o.rgap,
items: o.items, tgap: o.tgap,
lgap: o.lgap, bgap: o.bgap,
hgap: o.hgap, vgap: o.vgap,
rgap: o.rgap scrollx: o.scrollx,
} scrolly: o.scrolly,
}] scrollable: o.scrollable
}; };
}, },
@ -18253,28 +18273,31 @@ BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [], items: [],
lgap: 0, lgap: 0,
rgap: 0, rgap: 0,
hgap: 0 hgap: 0,
tgap: 0,
bgap: 0,
vgap: 0
}); });
}, },
render: function () { render: function () {
var o = this.options, self = this; var o = this.options, self = this;
BI.RightVerticalAdaptLayout.superclass.render.apply(this, arguments); BI.RightVerticalAdaptLayout.superclass.render.apply(this, arguments);
return { return {
type: "bi.right", type: "bi.vertical_adapt",
ref: function (_ref) { ref: function (_ref) {
self.layout = _ref; self.layout = _ref;
}, },
items: [{ horizontalAlign: BI.HorizontalAlign.Right,
el: { items: o.items,
type: "bi.vertical_adapt", hgap: o.hgap,
height: "100%", lgap: o.lgap,
textAlign: "right", rgap: o.rgap,
items: o.items, tgap: o.tgap,
lgap: o.lgap, bgap: o.bgap,
hgap: o.hgap, vgap: o.vgap,
rgap: o.rgap scrollx: o.scrollx,
} scrolly: o.scrolly,
}] scrollable: o.scrollable
}; };
}, },
@ -18288,7 +18311,7 @@ BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, {
}, },
populate: function (items) { populate: function (items) {
this.layout.populate.apply(this, arguments); this.layout.populate(items);
} }
}); });
BI.shortcut("bi.right_vertical_adapt", BI.RightVerticalAdaptLayout); BI.shortcut("bi.right_vertical_adapt", BI.RightVerticalAdaptLayout);
@ -75080,14 +75103,14 @@ BI.prepares.push(function () {
if (!isIE && supportFlex) { if (!isIE && supportFlex) {
return BI.extend({}, ob, {type: "bi.flex_horizontal"}); return BI.extend({}, ob, {type: "bi.flex_horizontal"});
} }
// 解决使用inline_vertical_adapt的顺序问题 // // 解决使用inline_vertical_adapt的顺序问题
// 从右往左放置时,为了兼容,我们统一采用从右到左的放置方式 // // 从右往左放置时,为了兼容,我们统一采用从右到左的放置方式
if (ob.horizontalAlign === BI.HorizontalAlign.Right) { // if (ob.horizontalAlign === BI.HorizontalAlign.Right) {
return BI.extend({verticalAlign: BI.VerticalAlign.Top}, ob, { // return BI.extend({verticalAlign: BI.VerticalAlign.Top}, ob, {
type: "bi.inline_vertical_adapt", // type: "bi.inline_vertical_adapt",
items: ob.items && ob.items.reverse() // items: ob.items && ob.items.reverse()
}); // });
} // }
return BI.extend({}, ob, {type: "bi.table_adapt"}); return BI.extend({}, ob, {type: "bi.table_adapt"});
}); });
BI.Plugin.configWidget("bi.center_adapt", function (ob) { BI.Plugin.configWidget("bi.center_adapt", function (ob) {
@ -75097,9 +75120,6 @@ BI.prepares.push(function () {
if (!isIE && supportFlex) { if (!isIE && supportFlex) {
return BI.extend({}, ob, {type: "bi.flex_center_adapt"}); return BI.extend({}, ob, {type: "bi.flex_center_adapt"});
} }
if (ob.horizontalAlign === BI.HorizontalAlign.Right) {
return BI.extend({}, ob, {type: "bi.inline_center_adapt", items: ob.items && ob.items.reverse()});
}
return BI.extend({}, ob, {type: "bi.inline_center_adapt"}); return BI.extend({}, ob, {type: "bi.inline_center_adapt"});
} }
return ob; return ob;
@ -75111,9 +75131,6 @@ BI.prepares.push(function () {
if (!isIE && supportFlex) { if (!isIE && supportFlex) {
return BI.extend({}, ob, {type: "bi.flex_vertical_center_adapt"}); return BI.extend({}, ob, {type: "bi.flex_vertical_center_adapt"});
} }
if (ob.horizontalAlign === BI.HorizontalAlign.Right) {
return BI.extend({}, ob, {type: "bi.inline_vertical_adapt", items: ob.items && ob.items.reverse()});
}
return BI.extend({}, ob, {type: "bi.inline_vertical_adapt"}); return BI.extend({}, ob, {type: "bi.inline_vertical_adapt"});
} }
return ob; return ob;

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

4
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

111
dist/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-2-20 17:50:39 */ /*! time: 2021-2-22 10:10:42 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -18140,9 +18140,15 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
llgap: 0, llgap: 0,
lrgap: 0, lrgap: 0,
lhgap: 0, lhgap: 0,
ltgap: 0,
lbgap: 0,
lvgap: 0,
rlgap: 0, rlgap: 0,
rrgap: 0, rrgap: 0,
rhgap: 0 rhgap: 0,
rtgap: 0,
rbgap: 0,
rvgap: 0
}); });
}, },
render: function () { render: function () {
@ -18155,11 +18161,17 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [{ items: [{
el: { el: {
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
ref: function (_ref) {
self.left = _ref;
},
height: "100%", height: "100%",
items: o.items.left, items: o.items.left,
hgap: o.lhgap, hgap: o.lhgap,
lgap: o.llgap, lgap: o.llgap,
rgap: o.lrgap rgap: o.lrgap,
tgap: o.ltgap,
bgap: o.lbgap,
vgap: o.lvgap
} }
}] }]
}); });
@ -18170,12 +18182,17 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [{ items: [{
el: { el: {
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
ref: function (_ref) {
self.right = _ref;
},
height: "100%", height: "100%",
items: o.items.right, items: o.items.right,
textAlign: "right",
hgap: o.rhgap, hgap: o.rhgap,
lgap: o.rlgap, lgap: o.rlgap,
rgap: o.rrgap rgap: o.rrgap,
tgap: o.rtgap,
bgap: o.rbgap,
vgap: o.rvgap
} }
}] }]
}); });
@ -18193,8 +18210,8 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
}, },
populate: function (items) { populate: function (items) {
BI.LeftRightVerticalAdaptLayout.superclass.populate.apply(this, arguments); this.left.populate(items.left);
this._mount(); this.right.populate(items.right);
} }
}); });
BI.shortcut("bi.left_right_vertical_adapt", BI.LeftRightVerticalAdaptLayout); BI.shortcut("bi.left_right_vertical_adapt", BI.LeftRightVerticalAdaptLayout);
@ -18207,27 +18224,30 @@ BI.LeftVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [], items: [],
lgap: 0, lgap: 0,
rgap: 0, rgap: 0,
hgap: 0 hgap: 0,
tgap: 0,
bgap: 0,
vgap: 0
}); });
}, },
render: function () { render: function () {
var o = this.options, self = this; var o = this.options, self = this;
BI.LeftVerticalAdaptLayout.superclass.render.apply(this, arguments); BI.LeftVerticalAdaptLayout.superclass.render.apply(this, arguments);
return { return {
type: "bi.left", type: "bi.vertical_adapt",
ref: function (_ref) { ref: function (_ref) {
self.layout = _ref; self.layout = _ref;
}, },
items: [{ items: o.items,
el: { hgap: o.hgap,
type: "bi.vertical_adapt", lgap: o.lgap,
height: "100%", rgap: o.rgap,
items: o.items, tgap: o.tgap,
lgap: o.lgap, bgap: o.bgap,
hgap: o.hgap, vgap: o.vgap,
rgap: o.rgap scrollx: o.scrollx,
} scrolly: o.scrolly,
}] scrollable: o.scrollable
}; };
}, },
@ -18253,28 +18273,31 @@ BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [], items: [],
lgap: 0, lgap: 0,
rgap: 0, rgap: 0,
hgap: 0 hgap: 0,
tgap: 0,
bgap: 0,
vgap: 0
}); });
}, },
render: function () { render: function () {
var o = this.options, self = this; var o = this.options, self = this;
BI.RightVerticalAdaptLayout.superclass.render.apply(this, arguments); BI.RightVerticalAdaptLayout.superclass.render.apply(this, arguments);
return { return {
type: "bi.right", type: "bi.vertical_adapt",
ref: function (_ref) { ref: function (_ref) {
self.layout = _ref; self.layout = _ref;
}, },
items: [{ horizontalAlign: BI.HorizontalAlign.Right,
el: { items: o.items,
type: "bi.vertical_adapt", hgap: o.hgap,
height: "100%", lgap: o.lgap,
textAlign: "right", rgap: o.rgap,
items: o.items, tgap: o.tgap,
lgap: o.lgap, bgap: o.bgap,
hgap: o.hgap, vgap: o.vgap,
rgap: o.rgap scrollx: o.scrollx,
} scrolly: o.scrolly,
}] scrollable: o.scrollable
}; };
}, },
@ -18288,7 +18311,7 @@ BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, {
}, },
populate: function (items) { populate: function (items) {
this.layout.populate.apply(this, arguments); this.layout.populate(items);
} }
}); });
BI.shortcut("bi.right_vertical_adapt", BI.RightVerticalAdaptLayout); BI.shortcut("bi.right_vertical_adapt", BI.RightVerticalAdaptLayout);
@ -75080,14 +75103,14 @@ BI.prepares.push(function () {
if (!isIE && supportFlex) { if (!isIE && supportFlex) {
return BI.extend({}, ob, {type: "bi.flex_horizontal"}); return BI.extend({}, ob, {type: "bi.flex_horizontal"});
} }
// 解决使用inline_vertical_adapt的顺序问题 // // 解决使用inline_vertical_adapt的顺序问题
// 从右往左放置时,为了兼容,我们统一采用从右到左的放置方式 // // 从右往左放置时,为了兼容,我们统一采用从右到左的放置方式
if (ob.horizontalAlign === BI.HorizontalAlign.Right) { // if (ob.horizontalAlign === BI.HorizontalAlign.Right) {
return BI.extend({verticalAlign: BI.VerticalAlign.Top}, ob, { // return BI.extend({verticalAlign: BI.VerticalAlign.Top}, ob, {
type: "bi.inline_vertical_adapt", // type: "bi.inline_vertical_adapt",
items: ob.items && ob.items.reverse() // items: ob.items && ob.items.reverse()
}); // });
} // }
return BI.extend({}, ob, {type: "bi.table_adapt"}); return BI.extend({}, ob, {type: "bi.table_adapt"});
}); });
BI.Plugin.configWidget("bi.center_adapt", function (ob) { BI.Plugin.configWidget("bi.center_adapt", function (ob) {
@ -75097,9 +75120,6 @@ BI.prepares.push(function () {
if (!isIE && supportFlex) { if (!isIE && supportFlex) {
return BI.extend({}, ob, {type: "bi.flex_center_adapt"}); return BI.extend({}, ob, {type: "bi.flex_center_adapt"});
} }
if (ob.horizontalAlign === BI.HorizontalAlign.Right) {
return BI.extend({}, ob, {type: "bi.inline_center_adapt", items: ob.items && ob.items.reverse()});
}
return BI.extend({}, ob, {type: "bi.inline_center_adapt"}); return BI.extend({}, ob, {type: "bi.inline_center_adapt"});
} }
return ob; return ob;
@ -75111,9 +75131,6 @@ BI.prepares.push(function () {
if (!isIE && supportFlex) { if (!isIE && supportFlex) {
return BI.extend({}, ob, {type: "bi.flex_vertical_center_adapt"}); return BI.extend({}, ob, {type: "bi.flex_vertical_center_adapt"});
} }
if (ob.horizontalAlign === BI.HorizontalAlign.Right) {
return BI.extend({}, ob, {type: "bi.inline_vertical_adapt", items: ob.items && ob.items.reverse()});
}
return BI.extend({}, ob, {type: "bi.inline_vertical_adapt"}); return BI.extend({}, ob, {type: "bi.inline_vertical_adapt"});
} }
return ob; return ob;

2
dist/fineui.js.map vendored

File diff suppressed because one or more lines are too long

4
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

89
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-2-20 17:50:39 */ /*! time: 2021-2-22 10:10:42 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -14162,9 +14162,15 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
llgap: 0, llgap: 0,
lrgap: 0, lrgap: 0,
lhgap: 0, lhgap: 0,
ltgap: 0,
lbgap: 0,
lvgap: 0,
rlgap: 0, rlgap: 0,
rrgap: 0, rrgap: 0,
rhgap: 0 rhgap: 0,
rtgap: 0,
rbgap: 0,
rvgap: 0
}); });
}, },
render: function () { render: function () {
@ -14177,11 +14183,17 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [{ items: [{
el: { el: {
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
ref: function (_ref) {
self.left = _ref;
},
height: "100%", height: "100%",
items: o.items.left, items: o.items.left,
hgap: o.lhgap, hgap: o.lhgap,
lgap: o.llgap, lgap: o.llgap,
rgap: o.lrgap rgap: o.lrgap,
tgap: o.ltgap,
bgap: o.lbgap,
vgap: o.lvgap
} }
}] }]
}); });
@ -14192,12 +14204,17 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [{ items: [{
el: { el: {
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
ref: function (_ref) {
self.right = _ref;
},
height: "100%", height: "100%",
items: o.items.right, items: o.items.right,
textAlign: "right",
hgap: o.rhgap, hgap: o.rhgap,
lgap: o.rlgap, lgap: o.rlgap,
rgap: o.rrgap rgap: o.rrgap,
tgap: o.rtgap,
bgap: o.rbgap,
vgap: o.rvgap
} }
}] }]
}); });
@ -14215,8 +14232,8 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
}, },
populate: function (items) { populate: function (items) {
BI.LeftRightVerticalAdaptLayout.superclass.populate.apply(this, arguments); this.left.populate(items.left);
this._mount(); this.right.populate(items.right);
} }
}); });
BI.shortcut("bi.left_right_vertical_adapt", BI.LeftRightVerticalAdaptLayout); BI.shortcut("bi.left_right_vertical_adapt", BI.LeftRightVerticalAdaptLayout);
@ -14229,27 +14246,30 @@ BI.LeftVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [], items: [],
lgap: 0, lgap: 0,
rgap: 0, rgap: 0,
hgap: 0 hgap: 0,
tgap: 0,
bgap: 0,
vgap: 0
}); });
}, },
render: function () { render: function () {
var o = this.options, self = this; var o = this.options, self = this;
BI.LeftVerticalAdaptLayout.superclass.render.apply(this, arguments); BI.LeftVerticalAdaptLayout.superclass.render.apply(this, arguments);
return { return {
type: "bi.left", type: "bi.vertical_adapt",
ref: function (_ref) { ref: function (_ref) {
self.layout = _ref; self.layout = _ref;
}, },
items: [{ items: o.items,
el: { hgap: o.hgap,
type: "bi.vertical_adapt", lgap: o.lgap,
height: "100%", rgap: o.rgap,
items: o.items, tgap: o.tgap,
lgap: o.lgap, bgap: o.bgap,
hgap: o.hgap, vgap: o.vgap,
rgap: o.rgap scrollx: o.scrollx,
} scrolly: o.scrolly,
}] scrollable: o.scrollable
}; };
}, },
@ -14275,28 +14295,31 @@ BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, {
items: [], items: [],
lgap: 0, lgap: 0,
rgap: 0, rgap: 0,
hgap: 0 hgap: 0,
tgap: 0,
bgap: 0,
vgap: 0
}); });
}, },
render: function () { render: function () {
var o = this.options, self = this; var o = this.options, self = this;
BI.RightVerticalAdaptLayout.superclass.render.apply(this, arguments); BI.RightVerticalAdaptLayout.superclass.render.apply(this, arguments);
return { return {
type: "bi.right", type: "bi.vertical_adapt",
ref: function (_ref) { ref: function (_ref) {
self.layout = _ref; self.layout = _ref;
}, },
items: [{ horizontalAlign: BI.HorizontalAlign.Right,
el: { items: o.items,
type: "bi.vertical_adapt", hgap: o.hgap,
height: "100%", lgap: o.lgap,
textAlign: "right", rgap: o.rgap,
items: o.items, tgap: o.tgap,
lgap: o.lgap, bgap: o.bgap,
hgap: o.hgap, vgap: o.vgap,
rgap: o.rgap scrollx: o.scrollx,
} scrolly: o.scrolly,
}] scrollable: o.scrollable
}; };
}, },
@ -14310,7 +14333,7 @@ BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, {
}, },
populate: function (items) { populate: function (items) {
this.layout.populate.apply(this, arguments); this.layout.populate(items);
} }
}); });
BI.shortcut("bi.right_vertical_adapt", BI.RightVerticalAdaptLayout); BI.shortcut("bi.right_vertical_adapt", BI.RightVerticalAdaptLayout);

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-2-20 17:50:39 */ /*! time: 2021-2-22 10:10:42 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ 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", "name": "fineui",
"version": "2.0.20210220175214", "version": "2.0.20210222101219",
"description": "fineui", "description": "fineui",
"main": "dist/fineui.min.js", "main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts", "types": "dist/lib/index.d.ts",

Loading…
Cancel
Save