Browse Source

auto upgrade version to 2.0.20210219100243

es6
data 4 years ago
parent
commit
4ecd299ff9
  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. 62
      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. 62
      dist/core.js
  13. 2
      dist/core.js.map
  14. 4
      dist/demo.css
  15. 62
      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. 62
      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. 62
      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

62
dist/2.0/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-2-18 17:00:32 */
/*! time: 2021-2-19 10:00:35 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -18843,6 +18843,8 @@ BI.FlexCenterLayout = BI.inherit(BI.Layout, {
},
horizontalAlign: o.horizontalAlign,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -18903,6 +18905,7 @@ BI.FlexHorizontalCenter = BI.inherit(BI.Layout, {
},
horizontalAlign: BI.HorizontalAlign.Center,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
@ -18930,6 +18933,7 @@ BI.FlexHorizontalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_horizontal_adapt", BI.FlexHorizontalCenter);
BI.shortcut("bi.flex_horizontal_center_adapt", BI.FlexHorizontalCenter);
/***/ }),
/* 368 */
/***/ (function(module, exports) {
@ -18971,15 +18975,13 @@ BI.FlexHorizontalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.horizontalAlign !== BI.HorizontalAlign.Stretch && o.columnSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.columnSize[i] > 0) {
w.element.width(o.columnSize[i] <= 1 ? (o.columnSize[i] * 100 + "%") : (o.columnSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.columnSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -19052,6 +19054,7 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, {
verticalAlign: BI.VerticalAlign.Middle,
horizontalAlign: o.horizontalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -19078,6 +19081,7 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_vertical_adapt", BI.FlexVerticalCenter);
BI.shortcut("bi.flex_vertical_center_adapt", BI.FlexVerticalCenter);
/***/ }),
/* 370 */
/***/ (function(module, exports) {
@ -19118,15 +19122,13 @@ BI.FlexVerticalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.verticalAlign !== BI.VerticalAlign.Stretch && o.rowSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.rowSize[i] > 0) {
w.element.height(o.rowSize[i] <= 1 ? (o.rowSize[i] * 100 + "%") : (o.rowSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.rowSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -19200,6 +19202,8 @@ BI.FlexWrapperCenterLayout = BI.inherit(BI.Layout, {
},
horizontalAlign: o.horizontalAlign,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -19258,6 +19262,7 @@ BI.FlexWrapperHorizontalCenter = BI.inherit(BI.Layout, {
},
horizontalAlign: BI.HorizontalAlign.Center,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
@ -19281,6 +19286,7 @@ BI.FlexWrapperHorizontalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_scrollable_horizontal_adapt", BI.FlexWrapperHorizontalCenter);
BI.shortcut("bi.flex_scrollable_horizontal_center_adapt", BI.FlexWrapperHorizontalCenter);
/***/ }),
/* 373 */
/***/ (function(module, exports) {
@ -19323,15 +19329,13 @@ BI.FlexWrapperHorizontalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.horizontalAlign !== BI.HorizontalAlign.Stretch && o.columnSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.columnSize[i] > 0) {
w.element.width(o.columnSize[i] <= 1 ? (o.columnSize[i] * 100 + "%") : (o.columnSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.columnSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -19414,6 +19418,7 @@ BI.FlexWrapperVerticalCenter = BI.inherit(BI.Layout, {
verticalAlign: BI.VerticalAlign.Middle,
horizontalAlign: o.horizontalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -19436,6 +19441,7 @@ BI.FlexWrapperVerticalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_scrollable_vertical_adapt", BI.FlexWrapperVerticalCenter);
BI.shortcut("bi.flex_scrollable_vertical_center_adapt", BI.FlexWrapperVerticalCenter);
/***/ }),
/* 375 */
/***/ (function(module, exports) {
@ -19478,15 +19484,13 @@ BI.FlexWrapperVerticalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.verticalAlign !== BI.VerticalAlign.Stretch && o.rowSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.rowSize[i] > 0) {
w.element.height(o.rowSize[i] <= 1 ? (o.rowSize[i] * 100 + "%") : (o.rowSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.rowSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -31471,7 +31475,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({
type: "bi.center_adapt",
height: o.height,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [
@ -31484,7 +31488,7 @@ BI.shortcut("bi.radio", BI.Radio);
}
BI.createWidget({ // 1.2
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [
@ -31507,7 +31511,7 @@ BI.shortcut("bi.radio", BI.Radio);
this.text = BI.createWidget(json);
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [this.text]
@ -31542,7 +31546,7 @@ BI.shortcut("bi.radio", BI.Radio);
this.text = BI.createWidget(json);
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [this.text]
@ -31553,7 +31557,7 @@ BI.shortcut("bi.radio", BI.Radio);
json.maxWidth = o.textWidth;
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [
@ -31576,7 +31580,7 @@ BI.shortcut("bi.radio", BI.Radio);
this.text = BI.createWidget(json);
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: true,
element: this,
items: [this.text]
@ -31613,7 +31617,7 @@ BI.shortcut("bi.radio", BI.Radio);
}));
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
element: this,
items: [this.text]
});
@ -31630,7 +31634,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
height: o.height,
scrollable: o.whiteSpace === "normal",
element: this,
@ -31645,7 +31649,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({ // 2.2
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
hgap: o.hgap,
vgap: o.vgap,
@ -31683,7 +31687,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({ // 2.4
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
hgap: o.hgap,
vgap: o.vgap,
@ -31703,7 +31707,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({ // 2.5
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
hgap: o.hgap,
vgap: o.vgap,
@ -31752,7 +31756,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
element: this,
scrollable: o.whiteSpace === "normal",
items: [this.text]

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

62
dist/core.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-2-18 17:00:32 */
/*! time: 2021-2-19 10:00:35 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -18843,6 +18843,8 @@ BI.FlexCenterLayout = BI.inherit(BI.Layout, {
},
horizontalAlign: o.horizontalAlign,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -18903,6 +18905,7 @@ BI.FlexHorizontalCenter = BI.inherit(BI.Layout, {
},
horizontalAlign: BI.HorizontalAlign.Center,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
@ -18930,6 +18933,7 @@ BI.FlexHorizontalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_horizontal_adapt", BI.FlexHorizontalCenter);
BI.shortcut("bi.flex_horizontal_center_adapt", BI.FlexHorizontalCenter);
/***/ }),
/* 368 */
/***/ (function(module, exports) {
@ -18971,15 +18975,13 @@ BI.FlexHorizontalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.horizontalAlign !== BI.HorizontalAlign.Stretch && o.columnSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.columnSize[i] > 0) {
w.element.width(o.columnSize[i] <= 1 ? (o.columnSize[i] * 100 + "%") : (o.columnSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.columnSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -19052,6 +19054,7 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, {
verticalAlign: BI.VerticalAlign.Middle,
horizontalAlign: o.horizontalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -19078,6 +19081,7 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_vertical_adapt", BI.FlexVerticalCenter);
BI.shortcut("bi.flex_vertical_center_adapt", BI.FlexVerticalCenter);
/***/ }),
/* 370 */
/***/ (function(module, exports) {
@ -19118,15 +19122,13 @@ BI.FlexVerticalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.verticalAlign !== BI.VerticalAlign.Stretch && o.rowSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.rowSize[i] > 0) {
w.element.height(o.rowSize[i] <= 1 ? (o.rowSize[i] * 100 + "%") : (o.rowSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.rowSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -19200,6 +19202,8 @@ BI.FlexWrapperCenterLayout = BI.inherit(BI.Layout, {
},
horizontalAlign: o.horizontalAlign,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -19258,6 +19262,7 @@ BI.FlexWrapperHorizontalCenter = BI.inherit(BI.Layout, {
},
horizontalAlign: BI.HorizontalAlign.Center,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
@ -19281,6 +19286,7 @@ BI.FlexWrapperHorizontalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_scrollable_horizontal_adapt", BI.FlexWrapperHorizontalCenter);
BI.shortcut("bi.flex_scrollable_horizontal_center_adapt", BI.FlexWrapperHorizontalCenter);
/***/ }),
/* 373 */
/***/ (function(module, exports) {
@ -19323,15 +19329,13 @@ BI.FlexWrapperHorizontalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.horizontalAlign !== BI.HorizontalAlign.Stretch && o.columnSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.columnSize[i] > 0) {
w.element.width(o.columnSize[i] <= 1 ? (o.columnSize[i] * 100 + "%") : (o.columnSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.columnSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -19414,6 +19418,7 @@ BI.FlexWrapperVerticalCenter = BI.inherit(BI.Layout, {
verticalAlign: BI.VerticalAlign.Middle,
horizontalAlign: o.horizontalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -19436,6 +19441,7 @@ BI.FlexWrapperVerticalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_scrollable_vertical_adapt", BI.FlexWrapperVerticalCenter);
BI.shortcut("bi.flex_scrollable_vertical_center_adapt", BI.FlexWrapperVerticalCenter);
/***/ }),
/* 375 */
/***/ (function(module, exports) {
@ -19478,15 +19484,13 @@ BI.FlexWrapperVerticalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.verticalAlign !== BI.VerticalAlign.Stretch && o.rowSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.rowSize[i] > 0) {
w.element.height(o.rowSize[i] <= 1 ? (o.rowSize[i] * 100 + "%") : (o.rowSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.rowSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -31471,7 +31475,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({
type: "bi.center_adapt",
height: o.height,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [
@ -31484,7 +31488,7 @@ BI.shortcut("bi.radio", BI.Radio);
}
BI.createWidget({ // 1.2
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [
@ -31507,7 +31511,7 @@ BI.shortcut("bi.radio", BI.Radio);
this.text = BI.createWidget(json);
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [this.text]
@ -31542,7 +31546,7 @@ BI.shortcut("bi.radio", BI.Radio);
this.text = BI.createWidget(json);
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [this.text]
@ -31553,7 +31557,7 @@ BI.shortcut("bi.radio", BI.Radio);
json.maxWidth = o.textWidth;
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [
@ -31576,7 +31580,7 @@ BI.shortcut("bi.radio", BI.Radio);
this.text = BI.createWidget(json);
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: true,
element: this,
items: [this.text]
@ -31613,7 +31617,7 @@ BI.shortcut("bi.radio", BI.Radio);
}));
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
element: this,
items: [this.text]
});
@ -31630,7 +31634,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
height: o.height,
scrollable: o.whiteSpace === "normal",
element: this,
@ -31645,7 +31649,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({ // 2.2
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
hgap: o.hgap,
vgap: o.vgap,
@ -31683,7 +31687,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({ // 2.4
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
hgap: o.hgap,
vgap: o.vgap,
@ -31703,7 +31707,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({ // 2.5
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
hgap: o.hgap,
vgap: o.vgap,
@ -31752,7 +31756,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
element: this,
scrollable: o.whiteSpace === "normal",
items: [this.text]

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

62
dist/demo.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-2-18 17:00:32 */
/*! time: 2021-2-19 10:00:35 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -18843,6 +18843,8 @@ BI.FlexCenterLayout = BI.inherit(BI.Layout, {
},
horizontalAlign: o.horizontalAlign,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -18903,6 +18905,7 @@ BI.FlexHorizontalCenter = BI.inherit(BI.Layout, {
},
horizontalAlign: BI.HorizontalAlign.Center,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
@ -18930,6 +18933,7 @@ BI.FlexHorizontalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_horizontal_adapt", BI.FlexHorizontalCenter);
BI.shortcut("bi.flex_horizontal_center_adapt", BI.FlexHorizontalCenter);
/***/ }),
/* 368 */
/***/ (function(module, exports) {
@ -18971,15 +18975,13 @@ BI.FlexHorizontalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.horizontalAlign !== BI.HorizontalAlign.Stretch && o.columnSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.columnSize[i] > 0) {
w.element.width(o.columnSize[i] <= 1 ? (o.columnSize[i] * 100 + "%") : (o.columnSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.columnSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -19052,6 +19054,7 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, {
verticalAlign: BI.VerticalAlign.Middle,
horizontalAlign: o.horizontalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -19078,6 +19081,7 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_vertical_adapt", BI.FlexVerticalCenter);
BI.shortcut("bi.flex_vertical_center_adapt", BI.FlexVerticalCenter);
/***/ }),
/* 370 */
/***/ (function(module, exports) {
@ -19118,15 +19122,13 @@ BI.FlexVerticalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.verticalAlign !== BI.VerticalAlign.Stretch && o.rowSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.rowSize[i] > 0) {
w.element.height(o.rowSize[i] <= 1 ? (o.rowSize[i] * 100 + "%") : (o.rowSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.rowSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -19200,6 +19202,8 @@ BI.FlexWrapperCenterLayout = BI.inherit(BI.Layout, {
},
horizontalAlign: o.horizontalAlign,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -19258,6 +19262,7 @@ BI.FlexWrapperHorizontalCenter = BI.inherit(BI.Layout, {
},
horizontalAlign: BI.HorizontalAlign.Center,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
@ -19281,6 +19286,7 @@ BI.FlexWrapperHorizontalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_scrollable_horizontal_adapt", BI.FlexWrapperHorizontalCenter);
BI.shortcut("bi.flex_scrollable_horizontal_center_adapt", BI.FlexWrapperHorizontalCenter);
/***/ }),
/* 373 */
/***/ (function(module, exports) {
@ -19323,15 +19329,13 @@ BI.FlexWrapperHorizontalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.horizontalAlign !== BI.HorizontalAlign.Stretch && o.columnSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.columnSize[i] > 0) {
w.element.width(o.columnSize[i] <= 1 ? (o.columnSize[i] * 100 + "%") : (o.columnSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.columnSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -19414,6 +19418,7 @@ BI.FlexWrapperVerticalCenter = BI.inherit(BI.Layout, {
verticalAlign: BI.VerticalAlign.Middle,
horizontalAlign: o.horizontalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -19436,6 +19441,7 @@ BI.FlexWrapperVerticalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_scrollable_vertical_adapt", BI.FlexWrapperVerticalCenter);
BI.shortcut("bi.flex_scrollable_vertical_center_adapt", BI.FlexWrapperVerticalCenter);
/***/ }),
/* 375 */
/***/ (function(module, exports) {
@ -19478,15 +19484,13 @@ BI.FlexWrapperVerticalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.verticalAlign !== BI.VerticalAlign.Stretch && o.rowSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.rowSize[i] > 0) {
w.element.height(o.rowSize[i] <= 1 ? (o.rowSize[i] * 100 + "%") : (o.rowSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.rowSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -31471,7 +31475,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({
type: "bi.center_adapt",
height: o.height,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [
@ -31484,7 +31488,7 @@ BI.shortcut("bi.radio", BI.Radio);
}
BI.createWidget({ // 1.2
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [
@ -31507,7 +31511,7 @@ BI.shortcut("bi.radio", BI.Radio);
this.text = BI.createWidget(json);
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [this.text]
@ -31542,7 +31546,7 @@ BI.shortcut("bi.radio", BI.Radio);
this.text = BI.createWidget(json);
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [this.text]
@ -31553,7 +31557,7 @@ BI.shortcut("bi.radio", BI.Radio);
json.maxWidth = o.textWidth;
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [
@ -31576,7 +31580,7 @@ BI.shortcut("bi.radio", BI.Radio);
this.text = BI.createWidget(json);
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: true,
element: this,
items: [this.text]
@ -31613,7 +31617,7 @@ BI.shortcut("bi.radio", BI.Radio);
}));
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
element: this,
items: [this.text]
});
@ -31630,7 +31634,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
height: o.height,
scrollable: o.whiteSpace === "normal",
element: this,
@ -31645,7 +31649,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({ // 2.2
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
hgap: o.hgap,
vgap: o.vgap,
@ -31683,7 +31687,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({ // 2.4
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
hgap: o.hgap,
vgap: o.vgap,
@ -31703,7 +31707,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({ // 2.5
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
hgap: o.hgap,
vgap: o.vgap,
@ -31752,7 +31756,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
element: this,
scrollable: o.whiteSpace === "normal",
items: [this.text]

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

62
dist/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-2-18 17:00:32 */
/*! time: 2021-2-19 10:00:35 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -18843,6 +18843,8 @@ BI.FlexCenterLayout = BI.inherit(BI.Layout, {
},
horizontalAlign: o.horizontalAlign,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -18903,6 +18905,7 @@ BI.FlexHorizontalCenter = BI.inherit(BI.Layout, {
},
horizontalAlign: BI.HorizontalAlign.Center,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
@ -18930,6 +18933,7 @@ BI.FlexHorizontalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_horizontal_adapt", BI.FlexHorizontalCenter);
BI.shortcut("bi.flex_horizontal_center_adapt", BI.FlexHorizontalCenter);
/***/ }),
/* 368 */
/***/ (function(module, exports) {
@ -18971,15 +18975,13 @@ BI.FlexHorizontalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.horizontalAlign !== BI.HorizontalAlign.Stretch && o.columnSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.columnSize[i] > 0) {
w.element.width(o.columnSize[i] <= 1 ? (o.columnSize[i] * 100 + "%") : (o.columnSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.columnSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -19052,6 +19054,7 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, {
verticalAlign: BI.VerticalAlign.Middle,
horizontalAlign: o.horizontalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -19078,6 +19081,7 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_vertical_adapt", BI.FlexVerticalCenter);
BI.shortcut("bi.flex_vertical_center_adapt", BI.FlexVerticalCenter);
/***/ }),
/* 370 */
/***/ (function(module, exports) {
@ -19118,15 +19122,13 @@ BI.FlexVerticalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.verticalAlign !== BI.VerticalAlign.Stretch && o.rowSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.rowSize[i] > 0) {
w.element.height(o.rowSize[i] <= 1 ? (o.rowSize[i] * 100 + "%") : (o.rowSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.rowSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -19200,6 +19202,8 @@ BI.FlexWrapperCenterLayout = BI.inherit(BI.Layout, {
},
horizontalAlign: o.horizontalAlign,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -19258,6 +19262,7 @@ BI.FlexWrapperHorizontalCenter = BI.inherit(BI.Layout, {
},
horizontalAlign: BI.HorizontalAlign.Center,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
@ -19281,6 +19286,7 @@ BI.FlexWrapperHorizontalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_scrollable_horizontal_adapt", BI.FlexWrapperHorizontalCenter);
BI.shortcut("bi.flex_scrollable_horizontal_center_adapt", BI.FlexWrapperHorizontalCenter);
/***/ }),
/* 373 */
/***/ (function(module, exports) {
@ -19323,15 +19329,13 @@ BI.FlexWrapperHorizontalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.horizontalAlign !== BI.HorizontalAlign.Stretch && o.columnSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.columnSize[i] > 0) {
w.element.width(o.columnSize[i] <= 1 ? (o.columnSize[i] * 100 + "%") : (o.columnSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.columnSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -19414,6 +19418,7 @@ BI.FlexWrapperVerticalCenter = BI.inherit(BI.Layout, {
verticalAlign: BI.VerticalAlign.Middle,
horizontalAlign: o.horizontalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -19436,6 +19441,7 @@ BI.FlexWrapperVerticalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_scrollable_vertical_adapt", BI.FlexWrapperVerticalCenter);
BI.shortcut("bi.flex_scrollable_vertical_center_adapt", BI.FlexWrapperVerticalCenter);
/***/ }),
/* 375 */
/***/ (function(module, exports) {
@ -19478,15 +19484,13 @@ BI.FlexWrapperVerticalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.verticalAlign !== BI.VerticalAlign.Stretch && o.rowSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.rowSize[i] > 0) {
w.element.height(o.rowSize[i] <= 1 ? (o.rowSize[i] * 100 + "%") : (o.rowSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.rowSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -31471,7 +31475,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({
type: "bi.center_adapt",
height: o.height,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [
@ -31484,7 +31488,7 @@ BI.shortcut("bi.radio", BI.Radio);
}
BI.createWidget({ // 1.2
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [
@ -31507,7 +31511,7 @@ BI.shortcut("bi.radio", BI.Radio);
this.text = BI.createWidget(json);
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [this.text]
@ -31542,7 +31546,7 @@ BI.shortcut("bi.radio", BI.Radio);
this.text = BI.createWidget(json);
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [this.text]
@ -31553,7 +31557,7 @@ BI.shortcut("bi.radio", BI.Radio);
json.maxWidth = o.textWidth;
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [
@ -31576,7 +31580,7 @@ BI.shortcut("bi.radio", BI.Radio);
this.text = BI.createWidget(json);
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: true,
element: this,
items: [this.text]
@ -31613,7 +31617,7 @@ BI.shortcut("bi.radio", BI.Radio);
}));
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
element: this,
items: [this.text]
});
@ -31630,7 +31634,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
height: o.height,
scrollable: o.whiteSpace === "normal",
element: this,
@ -31645,7 +31649,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({ // 2.2
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
hgap: o.hgap,
vgap: o.vgap,
@ -31683,7 +31687,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({ // 2.4
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
hgap: o.hgap,
vgap: o.vgap,
@ -31703,7 +31707,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({ // 2.5
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
hgap: o.hgap,
vgap: o.vgap,
@ -31752,7 +31756,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
element: this,
scrollable: o.whiteSpace === "normal",
items: [this.text]

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

62
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-2-18 17:00:32 */
/*! time: 2021-2-19 10:00:35 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -14865,6 +14865,8 @@ BI.FlexCenterLayout = BI.inherit(BI.Layout, {
},
horizontalAlign: o.horizontalAlign,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -14925,6 +14927,7 @@ BI.FlexHorizontalCenter = BI.inherit(BI.Layout, {
},
horizontalAlign: BI.HorizontalAlign.Center,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
@ -14952,6 +14955,7 @@ BI.FlexHorizontalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_horizontal_adapt", BI.FlexHorizontalCenter);
BI.shortcut("bi.flex_horizontal_center_adapt", BI.FlexHorizontalCenter);
/***/ }),
/* 368 */
/***/ (function(module, exports) {
@ -14993,15 +14997,13 @@ BI.FlexHorizontalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.horizontalAlign !== BI.HorizontalAlign.Stretch && o.columnSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.columnSize[i] > 0) {
w.element.width(o.columnSize[i] <= 1 ? (o.columnSize[i] * 100 + "%") : (o.columnSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.columnSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -15074,6 +15076,7 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, {
verticalAlign: BI.VerticalAlign.Middle,
horizontalAlign: o.horizontalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -15100,6 +15103,7 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_vertical_adapt", BI.FlexVerticalCenter);
BI.shortcut("bi.flex_vertical_center_adapt", BI.FlexVerticalCenter);
/***/ }),
/* 370 */
/***/ (function(module, exports) {
@ -15140,15 +15144,13 @@ BI.FlexVerticalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.verticalAlign !== BI.VerticalAlign.Stretch && o.rowSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.rowSize[i] > 0) {
w.element.height(o.rowSize[i] <= 1 ? (o.rowSize[i] * 100 + "%") : (o.rowSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.rowSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -15222,6 +15224,8 @@ BI.FlexWrapperCenterLayout = BI.inherit(BI.Layout, {
},
horizontalAlign: o.horizontalAlign,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -15280,6 +15284,7 @@ BI.FlexWrapperHorizontalCenter = BI.inherit(BI.Layout, {
},
horizontalAlign: BI.HorizontalAlign.Center,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
@ -15303,6 +15308,7 @@ BI.FlexWrapperHorizontalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_scrollable_horizontal_adapt", BI.FlexWrapperHorizontalCenter);
BI.shortcut("bi.flex_scrollable_horizontal_center_adapt", BI.FlexWrapperHorizontalCenter);
/***/ }),
/* 373 */
/***/ (function(module, exports) {
@ -15345,15 +15351,13 @@ BI.FlexWrapperHorizontalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.horizontalAlign !== BI.HorizontalAlign.Stretch && o.columnSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.columnSize[i] > 0) {
w.element.width(o.columnSize[i] <= 1 ? (o.columnSize[i] * 100 + "%") : (o.columnSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.columnSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -15436,6 +15440,7 @@ BI.FlexWrapperVerticalCenter = BI.inherit(BI.Layout, {
verticalAlign: BI.VerticalAlign.Middle,
horizontalAlign: o.horizontalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -15458,6 +15463,7 @@ BI.FlexWrapperVerticalCenter = BI.inherit(BI.Layout, {
BI.shortcut("bi.flex_scrollable_vertical_adapt", BI.FlexWrapperVerticalCenter);
BI.shortcut("bi.flex_scrollable_vertical_center_adapt", BI.FlexWrapperVerticalCenter);
/***/ }),
/* 375 */
/***/ (function(module, exports) {
@ -15500,15 +15506,13 @@ BI.FlexWrapperVerticalLayout = BI.inherit(BI.Layout, {
position: "relative"
});
if (o.verticalAlign !== BI.VerticalAlign.Stretch && o.rowSize[i] !== "auto") {
w.element.css({
"flex-shrink": "0"
});
w.element.addClass("shrink-none");
}
if (o.rowSize[i] > 0) {
w.element.height(o.rowSize[i] <= 1 ? (o.rowSize[i] * 100 + "%") : (o.rowSize[i] / BI.pixRatio + BI.pixUnit));
}
if (o.rowSize[i] === "fill") {
w.element.css("flex", "1");
w.element.addClass("fill");
}
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
@ -27493,7 +27497,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({
type: "bi.center_adapt",
height: o.height,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [
@ -27506,7 +27510,7 @@ BI.shortcut("bi.radio", BI.Radio);
}
BI.createWidget({ // 1.2
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [
@ -27529,7 +27533,7 @@ BI.shortcut("bi.radio", BI.Radio);
this.text = BI.createWidget(json);
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [this.text]
@ -27564,7 +27568,7 @@ BI.shortcut("bi.radio", BI.Radio);
this.text = BI.createWidget(json);
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [this.text]
@ -27575,7 +27579,7 @@ BI.shortcut("bi.radio", BI.Radio);
json.maxWidth = o.textWidth;
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
element: this,
items: [
@ -27598,7 +27602,7 @@ BI.shortcut("bi.radio", BI.Radio);
this.text = BI.createWidget(json);
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: true,
element: this,
items: [this.text]
@ -27635,7 +27639,7 @@ BI.shortcut("bi.radio", BI.Radio);
}));
BI.createWidget({
type: "bi.center_adapt",
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
element: this,
items: [this.text]
});
@ -27652,7 +27656,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
height: o.height,
scrollable: o.whiteSpace === "normal",
element: this,
@ -27667,7 +27671,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({ // 2.2
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
hgap: o.hgap,
vgap: o.vgap,
@ -27705,7 +27709,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({ // 2.4
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
hgap: o.hgap,
vgap: o.vgap,
@ -27725,7 +27729,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({ // 2.5
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
scrollable: o.whiteSpace === "normal",
hgap: o.hgap,
vgap: o.vgap,
@ -27774,7 +27778,7 @@ BI.shortcut("bi.radio", BI.Radio);
BI.createWidget({
type: adaptLayout,
horizontalAlign: o.textAlign,
columnSize: [o.whiteSpace === "normal" ? "auto" : ""], // important! 让文字在normal下shrink为1
columnSize: ["auto"], // important! 让文字在flex布局下shrink为1
element: this,
scrollable: o.whiteSpace === "normal",
items: [this.text]

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-18 17:00:32 */
/*! time: 2021-2-19 10:00:35 */
/******/ (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.20210218170233",
"version": "2.0.20210219100243",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

Loading…
Cancel
Save