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