tx-sider 2.2.21 → 2.2.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/TXUI.mjs +90 -89
- package/lib/TXUI.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -973,17 +973,17 @@ function getEvents() {
|
|
|
973
973
|
}
|
|
974
974
|
function getStyle(ele2, camel) {
|
|
975
975
|
var props = (isVNode(ele2) ? ele2.props : ele2.$attrs) || {};
|
|
976
|
-
var
|
|
977
|
-
if (typeof
|
|
978
|
-
|
|
979
|
-
} else if (camel &&
|
|
976
|
+
var style2 = props.style || {};
|
|
977
|
+
if (typeof style2 === "string") {
|
|
978
|
+
style2 = parseStyleText(style2, camel);
|
|
979
|
+
} else if (camel && style2) {
|
|
980
980
|
var res = {};
|
|
981
|
-
Object.keys(
|
|
982
|
-
return res[camelize(k10)] =
|
|
981
|
+
Object.keys(style2).forEach(function(k10) {
|
|
982
|
+
return res[camelize(k10)] = style2[k10];
|
|
983
983
|
});
|
|
984
984
|
return res;
|
|
985
985
|
}
|
|
986
|
-
return
|
|
986
|
+
return style2;
|
|
987
987
|
}
|
|
988
988
|
function isEmptyElement(c10) {
|
|
989
989
|
return c10 && (c10.type === Comment || c10.type === Fragment && c10.children.length === 0 || c10.type === Text && c10.children.trim() === "");
|
|
@@ -2201,7 +2201,7 @@ const Notice = defineComponent({
|
|
|
2201
2201
|
return function() {
|
|
2202
2202
|
var _a2, _b2;
|
|
2203
2203
|
var prefixCls = props.prefixCls, closable = props.closable, _props$closeIcon = props.closeIcon, closeIcon = _props$closeIcon === void 0 ? (_a2 = slots.closeIcon) === null || _a2 === void 0 ? void 0 : _a2.call(slots) : _props$closeIcon, onClick2 = props.onClick, holder = props.holder;
|
|
2204
|
-
var className = attrs.class,
|
|
2204
|
+
var className = attrs.class, style2 = attrs.style;
|
|
2205
2205
|
var componentClass = "".concat(prefixCls, "-notice");
|
|
2206
2206
|
var dataOrAriaAttributeProps = Object.keys(attrs).reduce(function(acc, key2) {
|
|
2207
2207
|
if (key2.substr(0, 5) === "data-" || key2.substr(0, 5) === "aria-" || key2 === "role") {
|
|
@@ -2211,7 +2211,7 @@ const Notice = defineComponent({
|
|
|
2211
2211
|
}, {});
|
|
2212
2212
|
var node = createVNode("div", _objectSpread2$1({
|
|
2213
2213
|
"class": classNames(componentClass, className, _defineProperty$q({}, "".concat(componentClass, "-closable"), closable)),
|
|
2214
|
-
"style":
|
|
2214
|
+
"style": style2,
|
|
2215
2215
|
"onMouseenter": clearCloseTimer,
|
|
2216
2216
|
"onMouseleave": startCloseTimer,
|
|
2217
2217
|
"onClick": onClick2
|
|
@@ -4880,38 +4880,38 @@ function setNotificationConfig(options) {
|
|
|
4880
4880
|
function getPlacementStyle(placement) {
|
|
4881
4881
|
var top = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : defaultTop;
|
|
4882
4882
|
var bottom = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : defaultBottom;
|
|
4883
|
-
var
|
|
4883
|
+
var style2;
|
|
4884
4884
|
switch (placement) {
|
|
4885
4885
|
case "topLeft":
|
|
4886
|
-
|
|
4886
|
+
style2 = {
|
|
4887
4887
|
left: "0px",
|
|
4888
4888
|
top,
|
|
4889
4889
|
bottom: "auto"
|
|
4890
4890
|
};
|
|
4891
4891
|
break;
|
|
4892
4892
|
case "topRight":
|
|
4893
|
-
|
|
4893
|
+
style2 = {
|
|
4894
4894
|
right: "0px",
|
|
4895
4895
|
top,
|
|
4896
4896
|
bottom: "auto"
|
|
4897
4897
|
};
|
|
4898
4898
|
break;
|
|
4899
4899
|
case "bottomLeft":
|
|
4900
|
-
|
|
4900
|
+
style2 = {
|
|
4901
4901
|
left: "0px",
|
|
4902
4902
|
top: "auto",
|
|
4903
4903
|
bottom
|
|
4904
4904
|
};
|
|
4905
4905
|
break;
|
|
4906
4906
|
default:
|
|
4907
|
-
|
|
4907
|
+
style2 = {
|
|
4908
4908
|
right: "0px",
|
|
4909
4909
|
top: "auto",
|
|
4910
4910
|
bottom
|
|
4911
4911
|
};
|
|
4912
4912
|
break;
|
|
4913
4913
|
}
|
|
4914
|
-
return
|
|
4914
|
+
return style2;
|
|
4915
4915
|
}
|
|
4916
4916
|
function getNotificationInstance(_ref, callback) {
|
|
4917
4917
|
var customizePrefixCls = _ref.prefixCls, _ref$placement = _ref.placement, placement = _ref$placement === void 0 ? defaultPlacement : _ref$placement, _ref$getContainer = _ref.getContainer, getContainer4 = _ref$getContainer === void 0 ? defaultGetContainer : _ref$getContainer, top = _ref.top, bottom = _ref.bottom, _ref$closeIcon = _ref.closeIcon, _closeIcon = _ref$closeIcon === void 0 ? defaultCloseIcon : _ref$closeIcon, appContext = _ref.appContext;
|
|
@@ -5801,7 +5801,7 @@ const useStretchStyle = function(stretch) {
|
|
|
5801
5801
|
height: element.offsetHeight
|
|
5802
5802
|
};
|
|
5803
5803
|
}
|
|
5804
|
-
var
|
|
5804
|
+
var style2 = computed(function() {
|
|
5805
5805
|
var sizeStyle = {};
|
|
5806
5806
|
if (stretch.value) {
|
|
5807
5807
|
var _targetSize$value = targetSize.value, width = _targetSize$value.width, height = _targetSize$value.height;
|
|
@@ -5818,7 +5818,7 @@ const useStretchStyle = function(stretch) {
|
|
|
5818
5818
|
}
|
|
5819
5819
|
return sizeStyle;
|
|
5820
5820
|
});
|
|
5821
|
-
return [
|
|
5821
|
+
return [style2, measureStretch];
|
|
5822
5822
|
};
|
|
5823
5823
|
function ownKeys(object4, enumerableOnly) {
|
|
5824
5824
|
var keys2 = Object.keys(object4);
|
|
@@ -5889,10 +5889,10 @@ function getVendorPrefix() {
|
|
|
5889
5889
|
return vendorPrefix;
|
|
5890
5890
|
}
|
|
5891
5891
|
vendorPrefix = "";
|
|
5892
|
-
var
|
|
5892
|
+
var style2 = document.createElement("p").style;
|
|
5893
5893
|
var testProp = "Transform";
|
|
5894
5894
|
for (var key2 in jsCssMap) {
|
|
5895
|
-
if (key2 + testProp in
|
|
5895
|
+
if (key2 + testProp in style2) {
|
|
5896
5896
|
vendorPrefix = key2;
|
|
5897
5897
|
}
|
|
5898
5898
|
}
|
|
@@ -5926,8 +5926,8 @@ function getTransitionProperty(node) {
|
|
|
5926
5926
|
return node.style.transitionProperty || node.style[getTransitionName2()];
|
|
5927
5927
|
}
|
|
5928
5928
|
function getTransformXY(node) {
|
|
5929
|
-
var
|
|
5930
|
-
var transform =
|
|
5929
|
+
var style2 = window.getComputedStyle(node, null);
|
|
5930
|
+
var transform = style2.getPropertyValue("transform") || style2.getPropertyValue(getTransformName());
|
|
5931
5931
|
if (transform && transform !== "none") {
|
|
5932
5932
|
var matrix = transform.replace(/[^0-9\-.,]/g, "").split(",");
|
|
5933
5933
|
return {
|
|
@@ -5943,8 +5943,8 @@ function getTransformXY(node) {
|
|
|
5943
5943
|
var matrix2d = /matrix\((.*)\)/;
|
|
5944
5944
|
var matrix3d = /matrix3d\((.*)\)/;
|
|
5945
5945
|
function setTransformXY(node, xy2) {
|
|
5946
|
-
var
|
|
5947
|
-
var transform =
|
|
5946
|
+
var style2 = window.getComputedStyle(node, null);
|
|
5947
|
+
var transform = style2.getPropertyValue("transform") || style2.getPropertyValue(getTransformName());
|
|
5948
5948
|
if (transform && transform !== "none") {
|
|
5949
5949
|
var arr;
|
|
5950
5950
|
var match2d = transform.match(matrix2d);
|
|
@@ -6070,13 +6070,13 @@ var PX$1 = "px";
|
|
|
6070
6070
|
function _getComputedStyleIE(elem, name2) {
|
|
6071
6071
|
var ret = elem[CURRENT_STYLE] && elem[CURRENT_STYLE][name2];
|
|
6072
6072
|
if (_RE_NUM_NO_PX.test(ret) && !RE_POS.test(name2)) {
|
|
6073
|
-
var
|
|
6074
|
-
var left =
|
|
6073
|
+
var style2 = elem.style;
|
|
6074
|
+
var left = style2[LEFT];
|
|
6075
6075
|
var rsLeft = elem[RUNTIME_STYLE][LEFT];
|
|
6076
6076
|
elem[RUNTIME_STYLE][LEFT] = elem[CURRENT_STYLE][LEFT];
|
|
6077
|
-
|
|
6078
|
-
ret =
|
|
6079
|
-
|
|
6077
|
+
style2[LEFT] = name2 === "fontSize" ? "1em" : ret || 0;
|
|
6078
|
+
ret = style2.pixelLeft + PX$1;
|
|
6079
|
+
style2[LEFT] = left;
|
|
6080
6080
|
elem[RUNTIME_STYLE][LEFT] = rsLeft;
|
|
6081
6081
|
}
|
|
6082
6082
|
return ret === "" ? "auto" : ret;
|
|
@@ -6214,18 +6214,18 @@ var BORDER_INDEX = 1;
|
|
|
6214
6214
|
var MARGIN_INDEX = 0;
|
|
6215
6215
|
function swap(elem, options, callback) {
|
|
6216
6216
|
var old = {};
|
|
6217
|
-
var
|
|
6217
|
+
var style2 = elem.style;
|
|
6218
6218
|
var name2;
|
|
6219
6219
|
for (name2 in options) {
|
|
6220
6220
|
if (options.hasOwnProperty(name2)) {
|
|
6221
|
-
old[name2] =
|
|
6222
|
-
|
|
6221
|
+
old[name2] = style2[name2];
|
|
6222
|
+
style2[name2] = options[name2];
|
|
6223
6223
|
}
|
|
6224
6224
|
}
|
|
6225
6225
|
callback.call(elem);
|
|
6226
6226
|
for (name2 in options) {
|
|
6227
6227
|
if (options.hasOwnProperty(name2)) {
|
|
6228
|
-
|
|
6228
|
+
style2[name2] = old[name2];
|
|
6229
6229
|
}
|
|
6230
6230
|
}
|
|
6231
6231
|
}
|
|
@@ -10118,16 +10118,16 @@ const ToolTip = defineComponent({
|
|
|
10118
10118
|
const Tooltip = withInstall(ToolTip);
|
|
10119
10119
|
function UnitNumber(_ref) {
|
|
10120
10120
|
var prefixCls = _ref.prefixCls, value = _ref.value, current = _ref.current, _ref$offset = _ref.offset, offset3 = _ref$offset === void 0 ? 0 : _ref$offset;
|
|
10121
|
-
var
|
|
10121
|
+
var style2;
|
|
10122
10122
|
if (offset3) {
|
|
10123
|
-
|
|
10123
|
+
style2 = {
|
|
10124
10124
|
position: "absolute",
|
|
10125
10125
|
top: "".concat(offset3, "00%"),
|
|
10126
10126
|
left: 0
|
|
10127
10127
|
};
|
|
10128
10128
|
}
|
|
10129
10129
|
return createVNode("p", {
|
|
10130
|
-
"style":
|
|
10130
|
+
"style": style2,
|
|
10131
10131
|
"class": classNames("".concat(prefixCls, "-only-unit"), {
|
|
10132
10132
|
current
|
|
10133
10133
|
})
|
|
@@ -10253,9 +10253,9 @@ const ScrollNumber = defineComponent({
|
|
|
10253
10253
|
_b2.prefixCls;
|
|
10254
10254
|
var count = _b2.count, title = _b2.title;
|
|
10255
10255
|
_b2.show;
|
|
10256
|
-
var _b$component = _b2.component, Tag = _b$component === void 0 ? "sup" : _b$component, className = _b2.class,
|
|
10256
|
+
var _b$component = _b2.component, Tag = _b$component === void 0 ? "sup" : _b$component, className = _b2.class, style2 = _b2.style, restProps = __rest$8(_b2, ["prefixCls", "count", "title", "show", "component", "class", "style"]);
|
|
10257
10257
|
var newProps = _extends$1(_extends$1({}, restProps), {
|
|
10258
|
-
style,
|
|
10258
|
+
style: style2,
|
|
10259
10259
|
"data-show": props.show,
|
|
10260
10260
|
class: classNames(prefixCls.value, className),
|
|
10261
10261
|
title
|
|
@@ -10272,9 +10272,9 @@ const ScrollNumber = defineComponent({
|
|
|
10272
10272
|
}, null);
|
|
10273
10273
|
});
|
|
10274
10274
|
}
|
|
10275
|
-
if (
|
|
10276
|
-
newProps.style = _extends$1(_extends$1({},
|
|
10277
|
-
boxShadow: "0 0 0 1px ".concat(
|
|
10275
|
+
if (style2 && style2.borderColor) {
|
|
10276
|
+
newProps.style = _extends$1(_extends$1({}, style2), {
|
|
10277
|
+
boxShadow: "0 0 0 1px ".concat(style2.borderColor, " inset")
|
|
10278
10278
|
});
|
|
10279
10279
|
}
|
|
10280
10280
|
var children = filterEmpty((_a2 = slots.default) === null || _a2 === void 0 ? void 0 : _a2.call(slots));
|
|
@@ -10337,7 +10337,7 @@ const Ribbon = defineComponent({
|
|
|
10337
10337
|
});
|
|
10338
10338
|
return function() {
|
|
10339
10339
|
var _a2, _b2;
|
|
10340
|
-
var className = attrs.class,
|
|
10340
|
+
var className = attrs.class, style2 = attrs.style, restAttrs = __rest$7(attrs, ["class", "style"]);
|
|
10341
10341
|
var colorStyle = {};
|
|
10342
10342
|
var cornerColorStyle = {};
|
|
10343
10343
|
if (props.color && !colorInPreset.value) {
|
|
@@ -10348,7 +10348,7 @@ const Ribbon = defineComponent({
|
|
|
10348
10348
|
"class": "".concat(prefixCls.value, "-wrapper")
|
|
10349
10349
|
}, restAttrs), [(_a2 = slots.default) === null || _a2 === void 0 ? void 0 : _a2.call(slots), createVNode("div", {
|
|
10350
10350
|
"class": [ribbonCls.value, className],
|
|
10351
|
-
"style": _extends$1(_extends$1({}, colorStyle),
|
|
10351
|
+
"style": _extends$1(_extends$1({}, colorStyle), style2)
|
|
10352
10352
|
}, [createVNode("span", {
|
|
10353
10353
|
"class": "".concat(prefixCls.value, "-text")
|
|
10354
10354
|
}, [props.text || ((_b2 = slots.text) === null || _b2 === void 0 ? void 0 : _b2.call(slots))]), createVNode("div", {
|
|
@@ -10462,7 +10462,7 @@ const Badge = defineComponent({
|
|
|
10462
10462
|
var _classNames;
|
|
10463
10463
|
var _a2, _b2;
|
|
10464
10464
|
var offset3 = props.offset, title = props.title, color = props.color;
|
|
10465
|
-
var
|
|
10465
|
+
var style2 = attrs.style;
|
|
10466
10466
|
var text = getPropsSlot(slots, props, "text");
|
|
10467
10467
|
var pre2 = prefixCls.value;
|
|
10468
10468
|
var count = livingCount.value;
|
|
@@ -10471,7 +10471,7 @@ const Badge = defineComponent({
|
|
|
10471
10471
|
var visible = !!(!isHidden2.value || slots.count);
|
|
10472
10472
|
var mergedStyle = function() {
|
|
10473
10473
|
if (!offset3) {
|
|
10474
|
-
return _extends$1({},
|
|
10474
|
+
return _extends$1({}, style2);
|
|
10475
10475
|
}
|
|
10476
10476
|
var offsetStyle = {
|
|
10477
10477
|
marginTop: isNumeric$1(offset3[1]) ? "".concat(offset3[1], "px") : offset3[1]
|
|
@@ -10481,7 +10481,7 @@ const Badge = defineComponent({
|
|
|
10481
10481
|
} else {
|
|
10482
10482
|
offsetStyle.right = "".concat(-parseInt(offset3[0], 10), "px");
|
|
10483
10483
|
}
|
|
10484
|
-
return _extends$1(_extends$1({}, offsetStyle),
|
|
10484
|
+
return _extends$1(_extends$1({}, offsetStyle), style2);
|
|
10485
10485
|
}();
|
|
10486
10486
|
var titleNode = title !== null && title !== void 0 ? title : typeof count === "string" || typeof count === "number" ? count : void 0;
|
|
10487
10487
|
var statusTextNode = visible || !text ? null : createVNode("span", {
|
|
@@ -10577,7 +10577,7 @@ var startEvents = [];
|
|
|
10577
10577
|
var endEvents = [];
|
|
10578
10578
|
function detectEvents() {
|
|
10579
10579
|
var testEl = document.createElement("div");
|
|
10580
|
-
var
|
|
10580
|
+
var style2 = testEl.style;
|
|
10581
10581
|
if (!("AnimationEvent" in window)) {
|
|
10582
10582
|
delete START_EVENT_NAME_MAP.animationstart.animation;
|
|
10583
10583
|
delete END_EVENT_NAME_MAP.animationend.animation;
|
|
@@ -10591,7 +10591,7 @@ function detectEvents() {
|
|
|
10591
10591
|
if (EVENT_NAME_MAP.hasOwnProperty(baseEventName)) {
|
|
10592
10592
|
var baseEvents = EVENT_NAME_MAP[baseEventName];
|
|
10593
10593
|
for (var styleName in baseEvents) {
|
|
10594
|
-
if (styleName in
|
|
10594
|
+
if (styleName in style2) {
|
|
10595
10595
|
events.push(baseEvents[styleName]);
|
|
10596
10596
|
break;
|
|
10597
10597
|
}
|
|
@@ -12260,20 +12260,20 @@ var ARow = defineComponent({
|
|
|
12260
12260
|
});
|
|
12261
12261
|
var rowStyle = computed(function() {
|
|
12262
12262
|
var gt2 = gutter.value;
|
|
12263
|
-
var
|
|
12263
|
+
var style2 = {};
|
|
12264
12264
|
var horizontalGutter = gt2[0] > 0 ? "".concat(gt2[0] / -2, "px") : void 0;
|
|
12265
12265
|
var verticalGutter = gt2[1] > 0 ? "".concat(gt2[1] / -2, "px") : void 0;
|
|
12266
12266
|
if (horizontalGutter) {
|
|
12267
|
-
|
|
12268
|
-
|
|
12267
|
+
style2.marginLeft = horizontalGutter;
|
|
12268
|
+
style2.marginRight = horizontalGutter;
|
|
12269
12269
|
}
|
|
12270
12270
|
if (supportFlexGap.value) {
|
|
12271
|
-
|
|
12271
|
+
style2.rowGap = "".concat(gt2[1], "px");
|
|
12272
12272
|
} else if (verticalGutter) {
|
|
12273
|
-
|
|
12274
|
-
|
|
12273
|
+
style2.marginTop = verticalGutter;
|
|
12274
|
+
style2.marginBottom = verticalGutter;
|
|
12275
12275
|
}
|
|
12276
|
-
return
|
|
12276
|
+
return style2;
|
|
12277
12277
|
});
|
|
12278
12278
|
return function() {
|
|
12279
12279
|
var _a2;
|
|
@@ -12361,24 +12361,24 @@ const Col = defineComponent({
|
|
|
12361
12361
|
var mergedStyle = computed(function() {
|
|
12362
12362
|
var flex = props.flex;
|
|
12363
12363
|
var gutterVal = gutter.value;
|
|
12364
|
-
var
|
|
12364
|
+
var style2 = {};
|
|
12365
12365
|
if (gutterVal && gutterVal[0] > 0) {
|
|
12366
12366
|
var horizontalGutter = "".concat(gutterVal[0] / 2, "px");
|
|
12367
|
-
|
|
12368
|
-
|
|
12367
|
+
style2.paddingLeft = horizontalGutter;
|
|
12368
|
+
style2.paddingRight = horizontalGutter;
|
|
12369
12369
|
}
|
|
12370
12370
|
if (gutterVal && gutterVal[1] > 0 && !supportFlexGap.value) {
|
|
12371
12371
|
var verticalGutter = "".concat(gutterVal[1] / 2, "px");
|
|
12372
|
-
|
|
12373
|
-
|
|
12372
|
+
style2.paddingTop = verticalGutter;
|
|
12373
|
+
style2.paddingBottom = verticalGutter;
|
|
12374
12374
|
}
|
|
12375
12375
|
if (flex) {
|
|
12376
|
-
|
|
12377
|
-
if (wrap.value === false && !
|
|
12378
|
-
|
|
12376
|
+
style2.flex = parseFlex(flex);
|
|
12377
|
+
if (wrap.value === false && !style2.minWidth) {
|
|
12378
|
+
style2.minWidth = 0;
|
|
12379
12379
|
}
|
|
12380
12380
|
}
|
|
12381
|
-
return
|
|
12381
|
+
return style2;
|
|
12382
12382
|
});
|
|
12383
12383
|
return function() {
|
|
12384
12384
|
var _a2;
|
|
@@ -16139,16 +16139,16 @@ function getScrollBarSize(fresh) {
|
|
|
16139
16139
|
}
|
|
16140
16140
|
return cached;
|
|
16141
16141
|
}
|
|
16142
|
-
function setStyle(
|
|
16142
|
+
function setStyle(style2) {
|
|
16143
16143
|
var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
16144
16144
|
var _options$element = options.element, element = _options$element === void 0 ? document.body : _options$element;
|
|
16145
16145
|
var oldStyle = {};
|
|
16146
|
-
var styleKeys = Object.keys(
|
|
16146
|
+
var styleKeys = Object.keys(style2);
|
|
16147
16147
|
styleKeys.forEach(function(key2) {
|
|
16148
16148
|
oldStyle[key2] = element.style[key2];
|
|
16149
16149
|
});
|
|
16150
16150
|
styleKeys.forEach(function(key2) {
|
|
16151
|
-
element.style[key2] =
|
|
16151
|
+
element.style[key2] = style2[key2];
|
|
16152
16152
|
});
|
|
16153
16153
|
return oldStyle;
|
|
16154
16154
|
}
|
|
@@ -17260,12 +17260,12 @@ function calculateNodeStyling(node) {
|
|
|
17260
17260
|
if (useCache && computedStyleCache[nodeRef]) {
|
|
17261
17261
|
return computedStyleCache[nodeRef];
|
|
17262
17262
|
}
|
|
17263
|
-
var
|
|
17264
|
-
var boxSizing =
|
|
17265
|
-
var paddingSize = parseFloat(
|
|
17266
|
-
var borderSize = parseFloat(
|
|
17263
|
+
var style2 = window.getComputedStyle(node);
|
|
17264
|
+
var boxSizing = style2.getPropertyValue("box-sizing") || style2.getPropertyValue("-moz-box-sizing") || style2.getPropertyValue("-webkit-box-sizing");
|
|
17265
|
+
var paddingSize = parseFloat(style2.getPropertyValue("padding-bottom")) + parseFloat(style2.getPropertyValue("padding-top"));
|
|
17266
|
+
var borderSize = parseFloat(style2.getPropertyValue("border-bottom-width")) + parseFloat(style2.getPropertyValue("border-top-width"));
|
|
17267
17267
|
var sizingStyle = SIZING_STYLE.map(function(name2) {
|
|
17268
|
-
return "".concat(name2, ":").concat(
|
|
17268
|
+
return "".concat(name2, ":").concat(style2.getPropertyValue(name2));
|
|
17269
17269
|
}).join(";");
|
|
17270
17270
|
var nodeInfo = {
|
|
17271
17271
|
sizingStyle,
|
|
@@ -17396,12 +17396,12 @@ var ResizableTextArea = defineComponent({
|
|
|
17396
17396
|
var prefixCls = props.prefixCls, autoSize = props.autoSize, autosize = props.autosize, disabled = props.disabled;
|
|
17397
17397
|
var otherProps = omit$3(props, ["prefixCls", "onPressEnter", "autoSize", "autosize", "defaultValue", "allowClear", "type", "lazy", "maxlength", "valueModifiers"]);
|
|
17398
17398
|
var cls = classNames(prefixCls, attrs.class, _defineProperty$q({}, "".concat(prefixCls, "-disabled"), disabled));
|
|
17399
|
-
var
|
|
17399
|
+
var style2 = [attrs.style, textareaStyles.value, resizeStatus.value === RESIZE_STATUS_RESIZING ? {
|
|
17400
17400
|
overflowX: "hidden",
|
|
17401
17401
|
overflowY: "hidden"
|
|
17402
17402
|
} : null];
|
|
17403
17403
|
var textareaProps = _extends$1(_extends$1(_extends$1({}, otherProps), attrs), {
|
|
17404
|
-
style,
|
|
17404
|
+
style: style2,
|
|
17405
17405
|
class: cls
|
|
17406
17406
|
});
|
|
17407
17407
|
if (!textareaProps.autofocus) {
|
|
@@ -17572,10 +17572,10 @@ const TextArea = defineComponent({
|
|
|
17572
17572
|
var renderTextArea = function renderTextArea2() {
|
|
17573
17573
|
var _class;
|
|
17574
17574
|
var _a2, _b2;
|
|
17575
|
-
var
|
|
17575
|
+
var style2 = attrs.style, customClass = attrs.class;
|
|
17576
17576
|
var _props$bordered = props.bordered, bordered = _props$bordered === void 0 ? true : _props$bordered;
|
|
17577
17577
|
var resizeProps = _extends$1(_extends$1(_extends$1({}, omit$3(props, ["allowClear"])), attrs), {
|
|
17578
|
-
style: showCount.value ? {} :
|
|
17578
|
+
style: showCount.value ? {} : style2,
|
|
17579
17579
|
class: (_class = {}, _defineProperty$q(_class, "".concat(prefixCls.value, "-borderless"), !bordered), _defineProperty$q(_class, "".concat(customClass), customClass && !showCount.value), _defineProperty$q(_class, "".concat(prefixCls.value, "-sm"), size.value === "small"), _defineProperty$q(_class, "".concat(prefixCls.value, "-lg"), size.value === "large"), _class),
|
|
17580
17580
|
showCount: null,
|
|
17581
17581
|
prefixCls: prefixCls.value,
|
|
@@ -17616,14 +17616,14 @@ const TextArea = defineComponent({
|
|
|
17616
17616
|
});
|
|
17617
17617
|
return function() {
|
|
17618
17618
|
var maxlength = props.maxlength, _props$bordered2 = props.bordered, bordered = _props$bordered2 === void 0 ? true : _props$bordered2, hidden = props.hidden;
|
|
17619
|
-
var
|
|
17619
|
+
var style2 = attrs.style, customClass = attrs.class;
|
|
17620
17620
|
var inputProps3 = _extends$1(_extends$1(_extends$1({}, props), attrs), {
|
|
17621
17621
|
prefixCls: prefixCls.value,
|
|
17622
17622
|
inputType: "text",
|
|
17623
17623
|
handleReset,
|
|
17624
17624
|
direction: direction.value,
|
|
17625
17625
|
bordered,
|
|
17626
|
-
style: showCount.value ? void 0 :
|
|
17626
|
+
style: showCount.value ? void 0 : style2
|
|
17627
17627
|
});
|
|
17628
17628
|
var textareaNode = createVNode(ClearableLabeledInput, _objectSpread2$1(_objectSpread2$1({}, inputProps3), {}, {
|
|
17629
17629
|
"value": mergedValue.value
|
|
@@ -17644,7 +17644,7 @@ const TextArea = defineComponent({
|
|
|
17644
17644
|
textareaNode = createVNode("div", {
|
|
17645
17645
|
"hidden": hidden,
|
|
17646
17646
|
"class": classNames("".concat(prefixCls.value, "-textarea"), _defineProperty$q({}, "".concat(prefixCls.value, "-textarea-rtl"), direction.value === "rtl"), "".concat(prefixCls.value, "-textarea-show-count"), customClass),
|
|
17647
|
-
"style":
|
|
17647
|
+
"style": style2,
|
|
17648
17648
|
"data-count": _typeof$2(dataCount) !== "object" ? dataCount : void 0
|
|
17649
17649
|
}, [textareaNode]);
|
|
17650
17650
|
}
|
|
@@ -18146,7 +18146,7 @@ const Dialog = defineComponent({
|
|
|
18146
18146
|
});
|
|
18147
18147
|
return function() {
|
|
18148
18148
|
var prefixCls = props.prefixCls, mask = props.mask, visible = props.visible, maskTransitionName = props.maskTransitionName, maskAnimation = props.maskAnimation, zIndex = props.zIndex, wrapClassName = props.wrapClassName, rootClassName = props.rootClassName, wrapStyle = props.wrapStyle, closable = props.closable, maskProps = props.maskProps, maskStyle = props.maskStyle, transitionName2 = props.transitionName, animation = props.animation, wrapProps = props.wrapProps, _props$title = props.title, title = _props$title === void 0 ? slots.title : _props$title;
|
|
18149
|
-
var
|
|
18149
|
+
var style2 = attrs.style, className = attrs.class;
|
|
18150
18150
|
return createVNode("div", _objectSpread2$1({
|
|
18151
18151
|
"class": ["".concat(prefixCls, "-root"), rootClassName]
|
|
18152
18152
|
}, pickAttrs(props, {
|
|
@@ -18173,7 +18173,7 @@ const Dialog = defineComponent({
|
|
|
18173
18173
|
display: !animatedVisible.value ? "none" : null
|
|
18174
18174
|
})
|
|
18175
18175
|
}, wrapProps), [createVNode(Content, _objectSpread2$1(_objectSpread2$1({}, omit$3(props, ["scrollLocker"])), {}, {
|
|
18176
|
-
"style":
|
|
18176
|
+
"style": style2,
|
|
18177
18177
|
"class": className,
|
|
18178
18178
|
"onMousedown": onContentMouseDown,
|
|
18179
18179
|
"onMouseup": onContentMouseUp,
|
|
@@ -18546,7 +18546,7 @@ const ConfirmDialog = defineComponent({
|
|
|
18546
18546
|
var okType = props.okType || "primary";
|
|
18547
18547
|
var prefixCls = props.prefixCls || "ant-modal";
|
|
18548
18548
|
var contentPrefixCls = "".concat(prefixCls, "-confirm");
|
|
18549
|
-
var
|
|
18549
|
+
var style2 = attrs.style || {};
|
|
18550
18550
|
var okText = renderSomeContent(props.okText) || (okCancel ? locale2.value.okText : locale2.value.justOkText);
|
|
18551
18551
|
var cancelText = renderSomeContent(props.cancelText) || locale2.value.cancelText;
|
|
18552
18552
|
var autoFocusButton = props.autoFocusButton === null ? false : props.autoFocusButton || "ok";
|
|
@@ -18579,7 +18579,7 @@ const ConfirmDialog = defineComponent({
|
|
|
18579
18579
|
"mask": mask,
|
|
18580
18580
|
"maskClosable": maskClosable,
|
|
18581
18581
|
"maskStyle": maskStyle,
|
|
18582
|
-
"style":
|
|
18582
|
+
"style": style2,
|
|
18583
18583
|
"bodyStyle": bodyStyle,
|
|
18584
18584
|
"width": width,
|
|
18585
18585
|
"zIndex": zIndex,
|
|
@@ -20279,7 +20279,7 @@ const ListItem = defineComponent({
|
|
|
20279
20279
|
var _infoUploadingClass, _listContainerNameCla;
|
|
20280
20280
|
var _a2, _b2;
|
|
20281
20281
|
var prefixCls = props.prefixCls, locale2 = props.locale, listType = props.listType, file = props.file, items = props.items, progressProps3 = props.progress, _props$iconRender = props.iconRender, iconRender = _props$iconRender === void 0 ? slots.iconRender : _props$iconRender, _props$actionIconRend = props.actionIconRender, actionIconRender = _props$actionIconRend === void 0 ? slots.actionIconRender : _props$actionIconRend, _props$itemRender = props.itemRender, itemRender = _props$itemRender === void 0 ? slots.itemRender : _props$itemRender, isImgUrl = props.isImgUrl, showPreviewIcon = props.showPreviewIcon, showRemoveIcon = props.showRemoveIcon, showDownloadIcon = props.showDownloadIcon, _props$previewIcon = props.previewIcon, customPreviewIcon = _props$previewIcon === void 0 ? slots.previewIcon : _props$previewIcon, _props$removeIcon = props.removeIcon, customRemoveIcon = _props$removeIcon === void 0 ? slots.removeIcon : _props$removeIcon, _props$downloadIcon = props.downloadIcon, customDownloadIcon = _props$downloadIcon === void 0 ? slots.downloadIcon : _props$downloadIcon, onPreview = props.onPreview, onDownload = props.onDownload, onClose = props.onClose;
|
|
20282
|
-
var className = attrs.class,
|
|
20282
|
+
var className = attrs.class, style2 = attrs.style;
|
|
20283
20283
|
var spanClassName = "".concat(prefixCls, "-span");
|
|
20284
20284
|
var iconNode = iconRender({
|
|
20285
20285
|
file
|
|
@@ -20416,7 +20416,7 @@ const ListItem = defineComponent({
|
|
|
20416
20416
|
}) : dom;
|
|
20417
20417
|
return createVNode("div", {
|
|
20418
20418
|
"class": listContainerNameClass,
|
|
20419
|
-
"style":
|
|
20419
|
+
"style": style2,
|
|
20420
20420
|
"ref": ref
|
|
20421
20421
|
}, [itemRender ? itemRender({
|
|
20422
20422
|
originNode: item,
|
|
@@ -20968,10 +20968,10 @@ const Dragger = defineComponent({
|
|
|
20968
20968
|
var slots = _ref.slots, attrs = _ref.attrs;
|
|
20969
20969
|
return function() {
|
|
20970
20970
|
var height = props.height, restProps = __rest(props, ["height"]);
|
|
20971
|
-
var
|
|
20971
|
+
var style2 = attrs.style, restAttrs = __rest(attrs, ["style"]);
|
|
20972
20972
|
var draggerProps = _extends$1(_extends$1(_extends$1({}, restProps), restAttrs), {
|
|
20973
20973
|
type: "drag",
|
|
20974
|
-
style: _extends$1(_extends$1({},
|
|
20974
|
+
style: _extends$1(_extends$1({}, style2), {
|
|
20975
20975
|
height: typeof height === "number" ? "".concat(height, "px") : height
|
|
20976
20976
|
})
|
|
20977
20977
|
});
|
|
@@ -55364,7 +55364,7 @@ const _sfc_main = {
|
|
|
55364
55364
|
};
|
|
55365
55365
|
}
|
|
55366
55366
|
};
|
|
55367
|
-
const _withScopeId = (n10) => (pushScopeId("data-v-
|
|
55367
|
+
const _withScopeId = (n10) => (pushScopeId("data-v-5982753e"), n10 = n10(), popScopeId(), n10);
|
|
55368
55368
|
const _hoisted_1 = {
|
|
55369
55369
|
class: "bg-white defaultTS funcTC relative",
|
|
55370
55370
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -55783,7 +55783,7 @@ const _hoisted_95 = { class: "flex flex-col px-5 pr-0 h-full" };
|
|
|
55783
55783
|
const _hoisted_96 = ["onClick"];
|
|
55784
55784
|
const _hoisted_97 = { class: "w-full h-full overflow-y-auto content" };
|
|
55785
55785
|
const _hoisted_98 = { class: "mb-[20px]" };
|
|
55786
|
-
const _hoisted_99 = { class: "flex justify-center
|
|
55786
|
+
const _hoisted_99 = { class: "h-[10%] flex justify-center items-center" };
|
|
55787
55787
|
const _hoisted_100 = /* @__PURE__ */ createTextVNode(" 取消 ");
|
|
55788
55788
|
const _hoisted_101 = /* @__PURE__ */ createTextVNode(" 设为已读 ");
|
|
55789
55789
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -56484,7 +56484,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
56484
56484
|
}, 8, ["show"])
|
|
56485
56485
|
], 64);
|
|
56486
56486
|
}
|
|
56487
|
-
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
56487
|
+
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-5982753e"]]);
|
|
56488
|
+
const style = "";
|
|
56488
56489
|
const components = [TSider];
|
|
56489
56490
|
installComponents();
|
|
56490
56491
|
function installComponents() {
|