3h1-ui 2.11.10 → 2.12.1
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/es/index.js +109 -60
- package/lib/index.js +109 -60
- package/package.json +1 -1
package/es/index.js
CHANGED
|
@@ -655,7 +655,7 @@ function insertCss(css, options) {
|
|
|
655
655
|
}
|
|
656
656
|
return styleElement;
|
|
657
657
|
}
|
|
658
|
-
function _objectSpread$
|
|
658
|
+
function _objectSpread$r(target) {
|
|
659
659
|
for (var i = 1; i < arguments.length; i++) {
|
|
660
660
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
661
661
|
var ownKeys2 = Object.keys(source);
|
|
@@ -665,12 +665,12 @@ function _objectSpread$q(target) {
|
|
|
665
665
|
}));
|
|
666
666
|
}
|
|
667
667
|
ownKeys2.forEach(function(key2) {
|
|
668
|
-
_defineProperty$
|
|
668
|
+
_defineProperty$s(target, key2, source[key2]);
|
|
669
669
|
});
|
|
670
670
|
}
|
|
671
671
|
return target;
|
|
672
672
|
}
|
|
673
|
-
function _defineProperty$
|
|
673
|
+
function _defineProperty$s(obj, key2, value) {
|
|
674
674
|
if (key2 in obj) {
|
|
675
675
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
676
676
|
} else {
|
|
@@ -691,13 +691,13 @@ function isIconDefinition(target) {
|
|
|
691
691
|
}
|
|
692
692
|
function generate(node, key2, rootProps) {
|
|
693
693
|
if (!rootProps) {
|
|
694
|
-
return h(node.tag, _objectSpread$
|
|
694
|
+
return h(node.tag, _objectSpread$r({
|
|
695
695
|
key: key2
|
|
696
696
|
}, node.attrs), (node.children || []).map(function(child, index2) {
|
|
697
697
|
return generate(child, "".concat(key2, "-").concat(node.tag, "-").concat(index2));
|
|
698
698
|
}));
|
|
699
699
|
}
|
|
700
|
-
return h(node.tag, _objectSpread$
|
|
700
|
+
return h(node.tag, _objectSpread$r({
|
|
701
701
|
key: key2
|
|
702
702
|
}, rootProps, node.attrs), (node.children || []).map(function(child, index2) {
|
|
703
703
|
return generate(child, "".concat(key2, "-").concat(node.tag, "-").concat(index2));
|
|
@@ -760,7 +760,7 @@ function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
|
760
760
|
}
|
|
761
761
|
return target;
|
|
762
762
|
}
|
|
763
|
-
function _objectSpread$
|
|
763
|
+
function _objectSpread$q(target) {
|
|
764
764
|
for (var i = 1; i < arguments.length; i++) {
|
|
765
765
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
766
766
|
var ownKeys2 = Object.keys(source);
|
|
@@ -770,12 +770,12 @@ function _objectSpread$p(target) {
|
|
|
770
770
|
}));
|
|
771
771
|
}
|
|
772
772
|
ownKeys2.forEach(function(key2) {
|
|
773
|
-
_defineProperty$
|
|
773
|
+
_defineProperty$r(target, key2, source[key2]);
|
|
774
774
|
});
|
|
775
775
|
}
|
|
776
776
|
return target;
|
|
777
777
|
}
|
|
778
|
-
function _defineProperty$
|
|
778
|
+
function _defineProperty$r(obj, key2, value) {
|
|
779
779
|
if (key2 in obj) {
|
|
780
780
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
781
781
|
} else {
|
|
@@ -795,10 +795,10 @@ function setTwoToneColors(_ref) {
|
|
|
795
795
|
twoToneColorPalette.calculated = !!secondaryColor;
|
|
796
796
|
}
|
|
797
797
|
function getTwoToneColors() {
|
|
798
|
-
return _objectSpread$
|
|
798
|
+
return _objectSpread$q({}, twoToneColorPalette);
|
|
799
799
|
}
|
|
800
800
|
var IconBase = function IconBase2(props2, context) {
|
|
801
|
-
var _props$context$attrs = _objectSpread$
|
|
801
|
+
var _props$context$attrs = _objectSpread$q({}, props2, context.attrs), icon = _props$context$attrs.icon, primaryColor = _props$context$attrs.primaryColor, secondaryColor = _props$context$attrs.secondaryColor, restProps = _objectWithoutProperties$1(_props$context$attrs, _excluded$1);
|
|
802
802
|
var colors = twoToneColorPalette;
|
|
803
803
|
if (primaryColor) {
|
|
804
804
|
colors = {
|
|
@@ -813,11 +813,11 @@ var IconBase = function IconBase2(props2, context) {
|
|
|
813
813
|
}
|
|
814
814
|
var target = icon;
|
|
815
815
|
if (target && typeof target.icon === "function") {
|
|
816
|
-
target = _objectSpread$
|
|
816
|
+
target = _objectSpread$q({}, target, {
|
|
817
817
|
icon: target.icon(colors.primaryColor, colors.secondaryColor)
|
|
818
818
|
});
|
|
819
819
|
}
|
|
820
|
-
return generate(target.icon, "svg-".concat(target.name), _objectSpread$
|
|
820
|
+
return generate(target.icon, "svg-".concat(target.name), _objectSpread$q({}, restProps, {
|
|
821
821
|
"data-icon": target.name,
|
|
822
822
|
width: "1em",
|
|
823
823
|
height: "1em",
|
|
@@ -969,7 +969,7 @@ function _arrayWithHoles(arr) {
|
|
|
969
969
|
if (Array.isArray(arr))
|
|
970
970
|
return arr;
|
|
971
971
|
}
|
|
972
|
-
function _objectSpread$
|
|
972
|
+
function _objectSpread$p(target) {
|
|
973
973
|
for (var i = 1; i < arguments.length; i++) {
|
|
974
974
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
975
975
|
var ownKeys2 = Object.keys(source);
|
|
@@ -979,12 +979,12 @@ function _objectSpread$o(target) {
|
|
|
979
979
|
}));
|
|
980
980
|
}
|
|
981
981
|
ownKeys2.forEach(function(key2) {
|
|
982
|
-
_defineProperty$
|
|
982
|
+
_defineProperty$q(target, key2, source[key2]);
|
|
983
983
|
});
|
|
984
984
|
}
|
|
985
985
|
return target;
|
|
986
986
|
}
|
|
987
|
-
function _defineProperty$
|
|
987
|
+
function _defineProperty$q(obj, key2, value) {
|
|
988
988
|
if (key2 in obj) {
|
|
989
989
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
990
990
|
} else {
|
|
@@ -1027,10 +1027,10 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
|
1027
1027
|
setTwoToneColor("#1890ff");
|
|
1028
1028
|
var Icon$1 = function Icon(props2, context) {
|
|
1029
1029
|
var _classObj;
|
|
1030
|
-
var _props$context$attrs = _objectSpread$
|
|
1030
|
+
var _props$context$attrs = _objectSpread$p({}, props2, context.attrs), cls = _props$context$attrs["class"], icon = _props$context$attrs.icon, spin = _props$context$attrs.spin, rotate2 = _props$context$attrs.rotate, tabindex = _props$context$attrs.tabindex, twoToneColor = _props$context$attrs.twoToneColor, onClick = _props$context$attrs.onClick, restProps = _objectWithoutProperties(_props$context$attrs, _excluded);
|
|
1031
1031
|
var classObj = (_classObj = {
|
|
1032
1032
|
anticon: true
|
|
1033
|
-
}, _defineProperty$
|
|
1033
|
+
}, _defineProperty$q(_classObj, "anticon-".concat(icon.name), Boolean(icon.name)), _defineProperty$q(_classObj, cls, cls), _classObj);
|
|
1034
1034
|
var svgClassString = spin === "" || !!spin || icon.name === "loading" ? "anticon-spin" : "";
|
|
1035
1035
|
var iconTabIndex = tabindex;
|
|
1036
1036
|
if (iconTabIndex === void 0 && onClick) {
|
|
@@ -1042,7 +1042,7 @@ var Icon$1 = function Icon(props2, context) {
|
|
|
1042
1042
|
transform: "rotate(".concat(rotate2, "deg)")
|
|
1043
1043
|
} : void 0;
|
|
1044
1044
|
var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), _normalizeTwoToneColo2 = _slicedToArray(_normalizeTwoToneColo, 2), primaryColor = _normalizeTwoToneColo2[0], secondaryColor = _normalizeTwoToneColo2[1];
|
|
1045
|
-
return createVNode("span", _objectSpread$
|
|
1045
|
+
return createVNode("span", _objectSpread$p({
|
|
1046
1046
|
"role": "img",
|
|
1047
1047
|
"aria-label": icon.name
|
|
1048
1048
|
}, restProps, {
|
|
@@ -1069,7 +1069,7 @@ Icon$1.setTwoToneColor = setTwoToneColor;
|
|
|
1069
1069
|
const AntdIcon = Icon$1;
|
|
1070
1070
|
var AlignCenterOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M264 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm496 424c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496zm144 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" } }] }, "name": "align-center", "theme": "outlined" };
|
|
1071
1071
|
const AlignCenterOutlinedSvg = AlignCenterOutlined$2;
|
|
1072
|
-
function _objectSpread$
|
|
1072
|
+
function _objectSpread$o(target) {
|
|
1073
1073
|
for (var i = 1; i < arguments.length; i++) {
|
|
1074
1074
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
1075
1075
|
var ownKeys2 = Object.keys(source);
|
|
@@ -1079,12 +1079,12 @@ function _objectSpread$n(target) {
|
|
|
1079
1079
|
}));
|
|
1080
1080
|
}
|
|
1081
1081
|
ownKeys2.forEach(function(key2) {
|
|
1082
|
-
_defineProperty$
|
|
1082
|
+
_defineProperty$p(target, key2, source[key2]);
|
|
1083
1083
|
});
|
|
1084
1084
|
}
|
|
1085
1085
|
return target;
|
|
1086
1086
|
}
|
|
1087
|
-
function _defineProperty$
|
|
1087
|
+
function _defineProperty$p(obj, key2, value) {
|
|
1088
1088
|
if (key2 in obj) {
|
|
1089
1089
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
1090
1090
|
} else {
|
|
@@ -1093,8 +1093,8 @@ function _defineProperty$o(obj, key2, value) {
|
|
|
1093
1093
|
return obj;
|
|
1094
1094
|
}
|
|
1095
1095
|
var AlignCenterOutlined = function AlignCenterOutlined2(props2, context) {
|
|
1096
|
-
var p = _objectSpread$
|
|
1097
|
-
return createVNode(AntdIcon, _objectSpread$
|
|
1096
|
+
var p = _objectSpread$o({}, props2, context.attrs);
|
|
1097
|
+
return createVNode(AntdIcon, _objectSpread$o({}, p, {
|
|
1098
1098
|
"icon": AlignCenterOutlinedSvg
|
|
1099
1099
|
}), null);
|
|
1100
1100
|
};
|
|
@@ -1103,7 +1103,7 @@ AlignCenterOutlined.inheritAttrs = false;
|
|
|
1103
1103
|
const AlignCenterOutlined$1 = AlignCenterOutlined;
|
|
1104
1104
|
var ArrowLeftOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" } }] }, "name": "arrow-left", "theme": "outlined" };
|
|
1105
1105
|
const ArrowLeftOutlinedSvg = ArrowLeftOutlined$2;
|
|
1106
|
-
function _objectSpread$
|
|
1106
|
+
function _objectSpread$n(target) {
|
|
1107
1107
|
for (var i = 1; i < arguments.length; i++) {
|
|
1108
1108
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
1109
1109
|
var ownKeys2 = Object.keys(source);
|
|
@@ -1113,12 +1113,12 @@ function _objectSpread$m(target) {
|
|
|
1113
1113
|
}));
|
|
1114
1114
|
}
|
|
1115
1115
|
ownKeys2.forEach(function(key2) {
|
|
1116
|
-
_defineProperty$
|
|
1116
|
+
_defineProperty$o(target, key2, source[key2]);
|
|
1117
1117
|
});
|
|
1118
1118
|
}
|
|
1119
1119
|
return target;
|
|
1120
1120
|
}
|
|
1121
|
-
function _defineProperty$
|
|
1121
|
+
function _defineProperty$o(obj, key2, value) {
|
|
1122
1122
|
if (key2 in obj) {
|
|
1123
1123
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
1124
1124
|
} else {
|
|
@@ -1127,8 +1127,8 @@ function _defineProperty$n(obj, key2, value) {
|
|
|
1127
1127
|
return obj;
|
|
1128
1128
|
}
|
|
1129
1129
|
var ArrowLeftOutlined = function ArrowLeftOutlined2(props2, context) {
|
|
1130
|
-
var p = _objectSpread$
|
|
1131
|
-
return createVNode(AntdIcon, _objectSpread$
|
|
1130
|
+
var p = _objectSpread$n({}, props2, context.attrs);
|
|
1131
|
+
return createVNode(AntdIcon, _objectSpread$n({}, p, {
|
|
1132
1132
|
"icon": ArrowLeftOutlinedSvg
|
|
1133
1133
|
}), null);
|
|
1134
1134
|
};
|
|
@@ -1137,7 +1137,7 @@ ArrowLeftOutlined.inheritAttrs = false;
|
|
|
1137
1137
|
const ArrowLeftOutlined$1 = ArrowLeftOutlined;
|
|
1138
1138
|
var BarsOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, "name": "bars", "theme": "outlined" };
|
|
1139
1139
|
const BarsOutlinedSvg = BarsOutlined$2;
|
|
1140
|
-
function _objectSpread$
|
|
1140
|
+
function _objectSpread$m(target) {
|
|
1141
1141
|
for (var i = 1; i < arguments.length; i++) {
|
|
1142
1142
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
1143
1143
|
var ownKeys2 = Object.keys(source);
|
|
@@ -1147,12 +1147,12 @@ function _objectSpread$l(target) {
|
|
|
1147
1147
|
}));
|
|
1148
1148
|
}
|
|
1149
1149
|
ownKeys2.forEach(function(key2) {
|
|
1150
|
-
_defineProperty$
|
|
1150
|
+
_defineProperty$n(target, key2, source[key2]);
|
|
1151
1151
|
});
|
|
1152
1152
|
}
|
|
1153
1153
|
return target;
|
|
1154
1154
|
}
|
|
1155
|
-
function _defineProperty$
|
|
1155
|
+
function _defineProperty$n(obj, key2, value) {
|
|
1156
1156
|
if (key2 in obj) {
|
|
1157
1157
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
1158
1158
|
} else {
|
|
@@ -1161,8 +1161,8 @@ function _defineProperty$m(obj, key2, value) {
|
|
|
1161
1161
|
return obj;
|
|
1162
1162
|
}
|
|
1163
1163
|
var BarsOutlined = function BarsOutlined2(props2, context) {
|
|
1164
|
-
var p = _objectSpread$
|
|
1165
|
-
return createVNode(AntdIcon, _objectSpread$
|
|
1164
|
+
var p = _objectSpread$m({}, props2, context.attrs);
|
|
1165
|
+
return createVNode(AntdIcon, _objectSpread$m({}, p, {
|
|
1166
1166
|
"icon": BarsOutlinedSvg
|
|
1167
1167
|
}), null);
|
|
1168
1168
|
};
|
|
@@ -1171,7 +1171,7 @@ BarsOutlined.inheritAttrs = false;
|
|
|
1171
1171
|
const BarsOutlined$1 = BarsOutlined;
|
|
1172
1172
|
var CaretDownOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" } }] }, "name": "caret-down", "theme": "outlined" };
|
|
1173
1173
|
const CaretDownOutlinedSvg = CaretDownOutlined$2;
|
|
1174
|
-
function _objectSpread$
|
|
1174
|
+
function _objectSpread$l(target) {
|
|
1175
1175
|
for (var i = 1; i < arguments.length; i++) {
|
|
1176
1176
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
1177
1177
|
var ownKeys2 = Object.keys(source);
|
|
@@ -1181,12 +1181,12 @@ function _objectSpread$k(target) {
|
|
|
1181
1181
|
}));
|
|
1182
1182
|
}
|
|
1183
1183
|
ownKeys2.forEach(function(key2) {
|
|
1184
|
-
_defineProperty$
|
|
1184
|
+
_defineProperty$m(target, key2, source[key2]);
|
|
1185
1185
|
});
|
|
1186
1186
|
}
|
|
1187
1187
|
return target;
|
|
1188
1188
|
}
|
|
1189
|
-
function _defineProperty$
|
|
1189
|
+
function _defineProperty$m(obj, key2, value) {
|
|
1190
1190
|
if (key2 in obj) {
|
|
1191
1191
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
1192
1192
|
} else {
|
|
@@ -1195,8 +1195,8 @@ function _defineProperty$l(obj, key2, value) {
|
|
|
1195
1195
|
return obj;
|
|
1196
1196
|
}
|
|
1197
1197
|
var CaretDownOutlined = function CaretDownOutlined2(props2, context) {
|
|
1198
|
-
var p = _objectSpread$
|
|
1199
|
-
return createVNode(AntdIcon, _objectSpread$
|
|
1198
|
+
var p = _objectSpread$l({}, props2, context.attrs);
|
|
1199
|
+
return createVNode(AntdIcon, _objectSpread$l({}, p, {
|
|
1200
1200
|
"icon": CaretDownOutlinedSvg
|
|
1201
1201
|
}), null);
|
|
1202
1202
|
};
|
|
@@ -1205,7 +1205,7 @@ CaretDownOutlined.inheritAttrs = false;
|
|
|
1205
1205
|
const CaretDownOutlined$1 = CaretDownOutlined;
|
|
1206
1206
|
var CaretUpOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" } }] }, "name": "caret-up", "theme": "outlined" };
|
|
1207
1207
|
const CaretUpOutlinedSvg = CaretUpOutlined$2;
|
|
1208
|
-
function _objectSpread$
|
|
1208
|
+
function _objectSpread$k(target) {
|
|
1209
1209
|
for (var i = 1; i < arguments.length; i++) {
|
|
1210
1210
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
1211
1211
|
var ownKeys2 = Object.keys(source);
|
|
@@ -1215,12 +1215,12 @@ function _objectSpread$j(target) {
|
|
|
1215
1215
|
}));
|
|
1216
1216
|
}
|
|
1217
1217
|
ownKeys2.forEach(function(key2) {
|
|
1218
|
-
_defineProperty$
|
|
1218
|
+
_defineProperty$l(target, key2, source[key2]);
|
|
1219
1219
|
});
|
|
1220
1220
|
}
|
|
1221
1221
|
return target;
|
|
1222
1222
|
}
|
|
1223
|
-
function _defineProperty$
|
|
1223
|
+
function _defineProperty$l(obj, key2, value) {
|
|
1224
1224
|
if (key2 in obj) {
|
|
1225
1225
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
1226
1226
|
} else {
|
|
@@ -1229,8 +1229,8 @@ function _defineProperty$k(obj, key2, value) {
|
|
|
1229
1229
|
return obj;
|
|
1230
1230
|
}
|
|
1231
1231
|
var CaretUpOutlined = function CaretUpOutlined2(props2, context) {
|
|
1232
|
-
var p = _objectSpread$
|
|
1233
|
-
return createVNode(AntdIcon, _objectSpread$
|
|
1232
|
+
var p = _objectSpread$k({}, props2, context.attrs);
|
|
1233
|
+
return createVNode(AntdIcon, _objectSpread$k({}, p, {
|
|
1234
1234
|
"icon": CaretUpOutlinedSvg
|
|
1235
1235
|
}), null);
|
|
1236
1236
|
};
|
|
@@ -1239,7 +1239,7 @@ CaretUpOutlined.inheritAttrs = false;
|
|
|
1239
1239
|
const CaretUpOutlined$1 = CaretUpOutlined;
|
|
1240
1240
|
var CheckOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" } }] }, "name": "check", "theme": "outlined" };
|
|
1241
1241
|
const CheckOutlinedSvg = CheckOutlined$2;
|
|
1242
|
-
function _objectSpread$
|
|
1242
|
+
function _objectSpread$j(target) {
|
|
1243
1243
|
for (var i = 1; i < arguments.length; i++) {
|
|
1244
1244
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
1245
1245
|
var ownKeys2 = Object.keys(source);
|
|
@@ -1249,12 +1249,12 @@ function _objectSpread$i(target) {
|
|
|
1249
1249
|
}));
|
|
1250
1250
|
}
|
|
1251
1251
|
ownKeys2.forEach(function(key2) {
|
|
1252
|
-
_defineProperty$
|
|
1252
|
+
_defineProperty$k(target, key2, source[key2]);
|
|
1253
1253
|
});
|
|
1254
1254
|
}
|
|
1255
1255
|
return target;
|
|
1256
1256
|
}
|
|
1257
|
-
function _defineProperty$
|
|
1257
|
+
function _defineProperty$k(obj, key2, value) {
|
|
1258
1258
|
if (key2 in obj) {
|
|
1259
1259
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
1260
1260
|
} else {
|
|
@@ -1263,8 +1263,8 @@ function _defineProperty$j(obj, key2, value) {
|
|
|
1263
1263
|
return obj;
|
|
1264
1264
|
}
|
|
1265
1265
|
var CheckOutlined = function CheckOutlined2(props2, context) {
|
|
1266
|
-
var p = _objectSpread$
|
|
1267
|
-
return createVNode(AntdIcon, _objectSpread$
|
|
1266
|
+
var p = _objectSpread$j({}, props2, context.attrs);
|
|
1267
|
+
return createVNode(AntdIcon, _objectSpread$j({}, p, {
|
|
1268
1268
|
"icon": CheckOutlinedSvg
|
|
1269
1269
|
}), null);
|
|
1270
1270
|
};
|
|
@@ -1273,7 +1273,7 @@ CheckOutlined.inheritAttrs = false;
|
|
|
1273
1273
|
const CheckOutlined$1 = CheckOutlined;
|
|
1274
1274
|
var CloseOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" } }] }, "name": "close", "theme": "outlined" };
|
|
1275
1275
|
const CloseOutlinedSvg = CloseOutlined$2;
|
|
1276
|
-
function _objectSpread$
|
|
1276
|
+
function _objectSpread$i(target) {
|
|
1277
1277
|
for (var i = 1; i < arguments.length; i++) {
|
|
1278
1278
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
1279
1279
|
var ownKeys2 = Object.keys(source);
|
|
@@ -1283,12 +1283,12 @@ function _objectSpread$h(target) {
|
|
|
1283
1283
|
}));
|
|
1284
1284
|
}
|
|
1285
1285
|
ownKeys2.forEach(function(key2) {
|
|
1286
|
-
_defineProperty$
|
|
1286
|
+
_defineProperty$j(target, key2, source[key2]);
|
|
1287
1287
|
});
|
|
1288
1288
|
}
|
|
1289
1289
|
return target;
|
|
1290
1290
|
}
|
|
1291
|
-
function _defineProperty$
|
|
1291
|
+
function _defineProperty$j(obj, key2, value) {
|
|
1292
1292
|
if (key2 in obj) {
|
|
1293
1293
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
1294
1294
|
} else {
|
|
@@ -1297,8 +1297,8 @@ function _defineProperty$i(obj, key2, value) {
|
|
|
1297
1297
|
return obj;
|
|
1298
1298
|
}
|
|
1299
1299
|
var CloseOutlined = function CloseOutlined2(props2, context) {
|
|
1300
|
-
var p = _objectSpread$
|
|
1301
|
-
return createVNode(AntdIcon, _objectSpread$
|
|
1300
|
+
var p = _objectSpread$i({}, props2, context.attrs);
|
|
1301
|
+
return createVNode(AntdIcon, _objectSpread$i({}, p, {
|
|
1302
1302
|
"icon": CloseOutlinedSvg
|
|
1303
1303
|
}), null);
|
|
1304
1304
|
};
|
|
@@ -1307,7 +1307,7 @@ CloseOutlined.inheritAttrs = false;
|
|
|
1307
1307
|
const CloseOutlined$1 = CloseOutlined;
|
|
1308
1308
|
var ColumnHeightOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" } }] }, "name": "column-height", "theme": "outlined" };
|
|
1309
1309
|
const ColumnHeightOutlinedSvg = ColumnHeightOutlined$2;
|
|
1310
|
-
function _objectSpread$
|
|
1310
|
+
function _objectSpread$h(target) {
|
|
1311
1311
|
for (var i = 1; i < arguments.length; i++) {
|
|
1312
1312
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
1313
1313
|
var ownKeys2 = Object.keys(source);
|
|
@@ -1317,12 +1317,12 @@ function _objectSpread$g(target) {
|
|
|
1317
1317
|
}));
|
|
1318
1318
|
}
|
|
1319
1319
|
ownKeys2.forEach(function(key2) {
|
|
1320
|
-
_defineProperty$
|
|
1320
|
+
_defineProperty$i(target, key2, source[key2]);
|
|
1321
1321
|
});
|
|
1322
1322
|
}
|
|
1323
1323
|
return target;
|
|
1324
1324
|
}
|
|
1325
|
-
function _defineProperty$
|
|
1325
|
+
function _defineProperty$i(obj, key2, value) {
|
|
1326
1326
|
if (key2 in obj) {
|
|
1327
1327
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
1328
1328
|
} else {
|
|
@@ -1331,14 +1331,48 @@ function _defineProperty$h(obj, key2, value) {
|
|
|
1331
1331
|
return obj;
|
|
1332
1332
|
}
|
|
1333
1333
|
var ColumnHeightOutlined = function ColumnHeightOutlined2(props2, context) {
|
|
1334
|
-
var p = _objectSpread$
|
|
1335
|
-
return createVNode(AntdIcon, _objectSpread$
|
|
1334
|
+
var p = _objectSpread$h({}, props2, context.attrs);
|
|
1335
|
+
return createVNode(AntdIcon, _objectSpread$h({}, p, {
|
|
1336
1336
|
"icon": ColumnHeightOutlinedSvg
|
|
1337
1337
|
}), null);
|
|
1338
1338
|
};
|
|
1339
1339
|
ColumnHeightOutlined.displayName = "ColumnHeightOutlined";
|
|
1340
1340
|
ColumnHeightOutlined.inheritAttrs = false;
|
|
1341
1341
|
const ColumnHeightOutlined$1 = ColumnHeightOutlined;
|
|
1342
|
+
var CopyOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" } }] }, "name": "copy", "theme": "outlined" };
|
|
1343
|
+
const CopyOutlinedSvg = CopyOutlined$2;
|
|
1344
|
+
function _objectSpread$g(target) {
|
|
1345
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
1346
|
+
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
1347
|
+
var ownKeys2 = Object.keys(source);
|
|
1348
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
1349
|
+
ownKeys2 = ownKeys2.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
1350
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
1351
|
+
}));
|
|
1352
|
+
}
|
|
1353
|
+
ownKeys2.forEach(function(key2) {
|
|
1354
|
+
_defineProperty$h(target, key2, source[key2]);
|
|
1355
|
+
});
|
|
1356
|
+
}
|
|
1357
|
+
return target;
|
|
1358
|
+
}
|
|
1359
|
+
function _defineProperty$h(obj, key2, value) {
|
|
1360
|
+
if (key2 in obj) {
|
|
1361
|
+
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
1362
|
+
} else {
|
|
1363
|
+
obj[key2] = value;
|
|
1364
|
+
}
|
|
1365
|
+
return obj;
|
|
1366
|
+
}
|
|
1367
|
+
var CopyOutlined = function CopyOutlined2(props2, context) {
|
|
1368
|
+
var p = _objectSpread$g({}, props2, context.attrs);
|
|
1369
|
+
return createVNode(AntdIcon, _objectSpread$g({}, p, {
|
|
1370
|
+
"icon": CopyOutlinedSvg
|
|
1371
|
+
}), null);
|
|
1372
|
+
};
|
|
1373
|
+
CopyOutlined.displayName = "CopyOutlined";
|
|
1374
|
+
CopyOutlined.inheritAttrs = false;
|
|
1375
|
+
const CopyOutlined$1 = CopyOutlined;
|
|
1342
1376
|
var DownOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, "name": "down", "theme": "outlined" };
|
|
1343
1377
|
const DownOutlinedSvg = DownOutlined$2;
|
|
1344
1378
|
function _objectSpread$f(target) {
|
|
@@ -8531,11 +8565,13 @@ function useFormEvents({
|
|
|
8531
8565
|
value = handleInputNumberValue(schema == null ? void 0 : schema.component, value);
|
|
8532
8566
|
if (hasKey && fields.includes(key2)) {
|
|
8533
8567
|
if (itemIsDateType(key2)) {
|
|
8568
|
+
console.log(1, key2);
|
|
8534
8569
|
if (Array.isArray(value)) {
|
|
8535
8570
|
const arr = [];
|
|
8536
8571
|
for (const ele of value) {
|
|
8537
|
-
arr.push(ele ?
|
|
8572
|
+
arr.push(ele ? ele : null);
|
|
8538
8573
|
}
|
|
8574
|
+
console.log("arr", arr);
|
|
8539
8575
|
formModel[key2] = arr;
|
|
8540
8576
|
} else {
|
|
8541
8577
|
const { componentProps } = schema || {};
|
|
@@ -17039,6 +17075,16 @@ const Description = /* @__PURE__ */ defineComponent({
|
|
|
17039
17075
|
...props3
|
|
17040
17076
|
};
|
|
17041
17077
|
};
|
|
17078
|
+
const copyToClipboard = async (text) => {
|
|
17079
|
+
try {
|
|
17080
|
+
await navigator.clipboard.writeText(text);
|
|
17081
|
+
} catch (err) {
|
|
17082
|
+
console.error("Failed to copy text: ", err);
|
|
17083
|
+
}
|
|
17084
|
+
};
|
|
17085
|
+
const handleClick = (value) => {
|
|
17086
|
+
copyToClipboard(value);
|
|
17087
|
+
};
|
|
17042
17088
|
const rows = computed(() => {
|
|
17043
17089
|
return getProps.value.schema.map((item) => {
|
|
17044
17090
|
var _a2, _b;
|
|
@@ -17065,7 +17111,10 @@ const Description = /* @__PURE__ */ defineComponent({
|
|
|
17065
17111
|
"class": `${prefixCls2}-label`
|
|
17066
17112
|
}, [slots[`${item.field}Label`] ? slots[`${item.field}Label`]() : item.label, ((_b = getProps.value) == null ? void 0 : _b.isShowColon) ? ":" : ""]), createVNode("span", {
|
|
17067
17113
|
"class": `${prefixCls2}-value`
|
|
17068
|
-
}, [slots[`${item.field}Value`] ? slots[`${item.field}Value`]() : getProps.value.data[item.field]])
|
|
17114
|
+
}, [slots[`${item.field}Value`] ? slots[`${item.field}Value`]() : getProps.value.data[item.field]]), (item == null ? void 0 : item.isCopy) ? createVNode("span", {
|
|
17115
|
+
"style": "cursor:pointer",
|
|
17116
|
+
"onClick": () => handleClick(getProps.value.data[item.field])
|
|
17117
|
+
}, [createVNode(CopyOutlined$1, null, null)]) : null]);
|
|
17069
17118
|
}
|
|
17070
17119
|
});
|
|
17071
17120
|
});
|
package/lib/index.js
CHANGED
|
@@ -657,7 +657,7 @@ function insertCss(css, options) {
|
|
|
657
657
|
}
|
|
658
658
|
return styleElement;
|
|
659
659
|
}
|
|
660
|
-
function _objectSpread$
|
|
660
|
+
function _objectSpread$r(target) {
|
|
661
661
|
for (var i = 1; i < arguments.length; i++) {
|
|
662
662
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
663
663
|
var ownKeys2 = Object.keys(source);
|
|
@@ -667,12 +667,12 @@ function _objectSpread$q(target) {
|
|
|
667
667
|
}));
|
|
668
668
|
}
|
|
669
669
|
ownKeys2.forEach(function(key2) {
|
|
670
|
-
_defineProperty$
|
|
670
|
+
_defineProperty$s(target, key2, source[key2]);
|
|
671
671
|
});
|
|
672
672
|
}
|
|
673
673
|
return target;
|
|
674
674
|
}
|
|
675
|
-
function _defineProperty$
|
|
675
|
+
function _defineProperty$s(obj, key2, value) {
|
|
676
676
|
if (key2 in obj) {
|
|
677
677
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
678
678
|
} else {
|
|
@@ -693,13 +693,13 @@ function isIconDefinition(target) {
|
|
|
693
693
|
}
|
|
694
694
|
function generate(node, key2, rootProps) {
|
|
695
695
|
if (!rootProps) {
|
|
696
|
-
return vue.h(node.tag, _objectSpread$
|
|
696
|
+
return vue.h(node.tag, _objectSpread$r({
|
|
697
697
|
key: key2
|
|
698
698
|
}, node.attrs), (node.children || []).map(function(child, index2) {
|
|
699
699
|
return generate(child, "".concat(key2, "-").concat(node.tag, "-").concat(index2));
|
|
700
700
|
}));
|
|
701
701
|
}
|
|
702
|
-
return vue.h(node.tag, _objectSpread$
|
|
702
|
+
return vue.h(node.tag, _objectSpread$r({
|
|
703
703
|
key: key2
|
|
704
704
|
}, rootProps, node.attrs), (node.children || []).map(function(child, index2) {
|
|
705
705
|
return generate(child, "".concat(key2, "-").concat(node.tag, "-").concat(index2));
|
|
@@ -762,7 +762,7 @@ function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
|
762
762
|
}
|
|
763
763
|
return target;
|
|
764
764
|
}
|
|
765
|
-
function _objectSpread$
|
|
765
|
+
function _objectSpread$q(target) {
|
|
766
766
|
for (var i = 1; i < arguments.length; i++) {
|
|
767
767
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
768
768
|
var ownKeys2 = Object.keys(source);
|
|
@@ -772,12 +772,12 @@ function _objectSpread$p(target) {
|
|
|
772
772
|
}));
|
|
773
773
|
}
|
|
774
774
|
ownKeys2.forEach(function(key2) {
|
|
775
|
-
_defineProperty$
|
|
775
|
+
_defineProperty$r(target, key2, source[key2]);
|
|
776
776
|
});
|
|
777
777
|
}
|
|
778
778
|
return target;
|
|
779
779
|
}
|
|
780
|
-
function _defineProperty$
|
|
780
|
+
function _defineProperty$r(obj, key2, value) {
|
|
781
781
|
if (key2 in obj) {
|
|
782
782
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
783
783
|
} else {
|
|
@@ -797,10 +797,10 @@ function setTwoToneColors(_ref) {
|
|
|
797
797
|
twoToneColorPalette.calculated = !!secondaryColor;
|
|
798
798
|
}
|
|
799
799
|
function getTwoToneColors() {
|
|
800
|
-
return _objectSpread$
|
|
800
|
+
return _objectSpread$q({}, twoToneColorPalette);
|
|
801
801
|
}
|
|
802
802
|
var IconBase = function IconBase2(props2, context) {
|
|
803
|
-
var _props$context$attrs = _objectSpread$
|
|
803
|
+
var _props$context$attrs = _objectSpread$q({}, props2, context.attrs), icon = _props$context$attrs.icon, primaryColor = _props$context$attrs.primaryColor, secondaryColor = _props$context$attrs.secondaryColor, restProps = _objectWithoutProperties$1(_props$context$attrs, _excluded$1);
|
|
804
804
|
var colors = twoToneColorPalette;
|
|
805
805
|
if (primaryColor) {
|
|
806
806
|
colors = {
|
|
@@ -815,11 +815,11 @@ var IconBase = function IconBase2(props2, context) {
|
|
|
815
815
|
}
|
|
816
816
|
var target = icon;
|
|
817
817
|
if (target && typeof target.icon === "function") {
|
|
818
|
-
target = _objectSpread$
|
|
818
|
+
target = _objectSpread$q({}, target, {
|
|
819
819
|
icon: target.icon(colors.primaryColor, colors.secondaryColor)
|
|
820
820
|
});
|
|
821
821
|
}
|
|
822
|
-
return generate(target.icon, "svg-".concat(target.name), _objectSpread$
|
|
822
|
+
return generate(target.icon, "svg-".concat(target.name), _objectSpread$q({}, restProps, {
|
|
823
823
|
"data-icon": target.name,
|
|
824
824
|
width: "1em",
|
|
825
825
|
height: "1em",
|
|
@@ -971,7 +971,7 @@ function _arrayWithHoles(arr) {
|
|
|
971
971
|
if (Array.isArray(arr))
|
|
972
972
|
return arr;
|
|
973
973
|
}
|
|
974
|
-
function _objectSpread$
|
|
974
|
+
function _objectSpread$p(target) {
|
|
975
975
|
for (var i = 1; i < arguments.length; i++) {
|
|
976
976
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
977
977
|
var ownKeys2 = Object.keys(source);
|
|
@@ -981,12 +981,12 @@ function _objectSpread$o(target) {
|
|
|
981
981
|
}));
|
|
982
982
|
}
|
|
983
983
|
ownKeys2.forEach(function(key2) {
|
|
984
|
-
_defineProperty$
|
|
984
|
+
_defineProperty$q(target, key2, source[key2]);
|
|
985
985
|
});
|
|
986
986
|
}
|
|
987
987
|
return target;
|
|
988
988
|
}
|
|
989
|
-
function _defineProperty$
|
|
989
|
+
function _defineProperty$q(obj, key2, value) {
|
|
990
990
|
if (key2 in obj) {
|
|
991
991
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
992
992
|
} else {
|
|
@@ -1029,10 +1029,10 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
|
1029
1029
|
setTwoToneColor("#1890ff");
|
|
1030
1030
|
var Icon$1 = function Icon(props2, context) {
|
|
1031
1031
|
var _classObj;
|
|
1032
|
-
var _props$context$attrs = _objectSpread$
|
|
1032
|
+
var _props$context$attrs = _objectSpread$p({}, props2, context.attrs), cls = _props$context$attrs["class"], icon = _props$context$attrs.icon, spin = _props$context$attrs.spin, rotate2 = _props$context$attrs.rotate, tabindex = _props$context$attrs.tabindex, twoToneColor = _props$context$attrs.twoToneColor, onClick = _props$context$attrs.onClick, restProps = _objectWithoutProperties(_props$context$attrs, _excluded);
|
|
1033
1033
|
var classObj = (_classObj = {
|
|
1034
1034
|
anticon: true
|
|
1035
|
-
}, _defineProperty$
|
|
1035
|
+
}, _defineProperty$q(_classObj, "anticon-".concat(icon.name), Boolean(icon.name)), _defineProperty$q(_classObj, cls, cls), _classObj);
|
|
1036
1036
|
var svgClassString = spin === "" || !!spin || icon.name === "loading" ? "anticon-spin" : "";
|
|
1037
1037
|
var iconTabIndex = tabindex;
|
|
1038
1038
|
if (iconTabIndex === void 0 && onClick) {
|
|
@@ -1044,7 +1044,7 @@ var Icon$1 = function Icon(props2, context) {
|
|
|
1044
1044
|
transform: "rotate(".concat(rotate2, "deg)")
|
|
1045
1045
|
} : void 0;
|
|
1046
1046
|
var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), _normalizeTwoToneColo2 = _slicedToArray(_normalizeTwoToneColo, 2), primaryColor = _normalizeTwoToneColo2[0], secondaryColor = _normalizeTwoToneColo2[1];
|
|
1047
|
-
return vue.createVNode("span", _objectSpread$
|
|
1047
|
+
return vue.createVNode("span", _objectSpread$p({
|
|
1048
1048
|
"role": "img",
|
|
1049
1049
|
"aria-label": icon.name
|
|
1050
1050
|
}, restProps, {
|
|
@@ -1071,7 +1071,7 @@ Icon$1.setTwoToneColor = setTwoToneColor;
|
|
|
1071
1071
|
const AntdIcon = Icon$1;
|
|
1072
1072
|
var AlignCenterOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M264 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm496 424c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496zm144 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" } }] }, "name": "align-center", "theme": "outlined" };
|
|
1073
1073
|
const AlignCenterOutlinedSvg = AlignCenterOutlined$2;
|
|
1074
|
-
function _objectSpread$
|
|
1074
|
+
function _objectSpread$o(target) {
|
|
1075
1075
|
for (var i = 1; i < arguments.length; i++) {
|
|
1076
1076
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
1077
1077
|
var ownKeys2 = Object.keys(source);
|
|
@@ -1081,12 +1081,12 @@ function _objectSpread$n(target) {
|
|
|
1081
1081
|
}));
|
|
1082
1082
|
}
|
|
1083
1083
|
ownKeys2.forEach(function(key2) {
|
|
1084
|
-
_defineProperty$
|
|
1084
|
+
_defineProperty$p(target, key2, source[key2]);
|
|
1085
1085
|
});
|
|
1086
1086
|
}
|
|
1087
1087
|
return target;
|
|
1088
1088
|
}
|
|
1089
|
-
function _defineProperty$
|
|
1089
|
+
function _defineProperty$p(obj, key2, value) {
|
|
1090
1090
|
if (key2 in obj) {
|
|
1091
1091
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
1092
1092
|
} else {
|
|
@@ -1095,8 +1095,8 @@ function _defineProperty$o(obj, key2, value) {
|
|
|
1095
1095
|
return obj;
|
|
1096
1096
|
}
|
|
1097
1097
|
var AlignCenterOutlined = function AlignCenterOutlined2(props2, context) {
|
|
1098
|
-
var p = _objectSpread$
|
|
1099
|
-
return vue.createVNode(AntdIcon, _objectSpread$
|
|
1098
|
+
var p = _objectSpread$o({}, props2, context.attrs);
|
|
1099
|
+
return vue.createVNode(AntdIcon, _objectSpread$o({}, p, {
|
|
1100
1100
|
"icon": AlignCenterOutlinedSvg
|
|
1101
1101
|
}), null);
|
|
1102
1102
|
};
|
|
@@ -1105,7 +1105,7 @@ AlignCenterOutlined.inheritAttrs = false;
|
|
|
1105
1105
|
const AlignCenterOutlined$1 = AlignCenterOutlined;
|
|
1106
1106
|
var ArrowLeftOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" } }] }, "name": "arrow-left", "theme": "outlined" };
|
|
1107
1107
|
const ArrowLeftOutlinedSvg = ArrowLeftOutlined$2;
|
|
1108
|
-
function _objectSpread$
|
|
1108
|
+
function _objectSpread$n(target) {
|
|
1109
1109
|
for (var i = 1; i < arguments.length; i++) {
|
|
1110
1110
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
1111
1111
|
var ownKeys2 = Object.keys(source);
|
|
@@ -1115,12 +1115,12 @@ function _objectSpread$m(target) {
|
|
|
1115
1115
|
}));
|
|
1116
1116
|
}
|
|
1117
1117
|
ownKeys2.forEach(function(key2) {
|
|
1118
|
-
_defineProperty$
|
|
1118
|
+
_defineProperty$o(target, key2, source[key2]);
|
|
1119
1119
|
});
|
|
1120
1120
|
}
|
|
1121
1121
|
return target;
|
|
1122
1122
|
}
|
|
1123
|
-
function _defineProperty$
|
|
1123
|
+
function _defineProperty$o(obj, key2, value) {
|
|
1124
1124
|
if (key2 in obj) {
|
|
1125
1125
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
1126
1126
|
} else {
|
|
@@ -1129,8 +1129,8 @@ function _defineProperty$n(obj, key2, value) {
|
|
|
1129
1129
|
return obj;
|
|
1130
1130
|
}
|
|
1131
1131
|
var ArrowLeftOutlined = function ArrowLeftOutlined2(props2, context) {
|
|
1132
|
-
var p = _objectSpread$
|
|
1133
|
-
return vue.createVNode(AntdIcon, _objectSpread$
|
|
1132
|
+
var p = _objectSpread$n({}, props2, context.attrs);
|
|
1133
|
+
return vue.createVNode(AntdIcon, _objectSpread$n({}, p, {
|
|
1134
1134
|
"icon": ArrowLeftOutlinedSvg
|
|
1135
1135
|
}), null);
|
|
1136
1136
|
};
|
|
@@ -1139,7 +1139,7 @@ ArrowLeftOutlined.inheritAttrs = false;
|
|
|
1139
1139
|
const ArrowLeftOutlined$1 = ArrowLeftOutlined;
|
|
1140
1140
|
var BarsOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, "name": "bars", "theme": "outlined" };
|
|
1141
1141
|
const BarsOutlinedSvg = BarsOutlined$2;
|
|
1142
|
-
function _objectSpread$
|
|
1142
|
+
function _objectSpread$m(target) {
|
|
1143
1143
|
for (var i = 1; i < arguments.length; i++) {
|
|
1144
1144
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
1145
1145
|
var ownKeys2 = Object.keys(source);
|
|
@@ -1149,12 +1149,12 @@ function _objectSpread$l(target) {
|
|
|
1149
1149
|
}));
|
|
1150
1150
|
}
|
|
1151
1151
|
ownKeys2.forEach(function(key2) {
|
|
1152
|
-
_defineProperty$
|
|
1152
|
+
_defineProperty$n(target, key2, source[key2]);
|
|
1153
1153
|
});
|
|
1154
1154
|
}
|
|
1155
1155
|
return target;
|
|
1156
1156
|
}
|
|
1157
|
-
function _defineProperty$
|
|
1157
|
+
function _defineProperty$n(obj, key2, value) {
|
|
1158
1158
|
if (key2 in obj) {
|
|
1159
1159
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
1160
1160
|
} else {
|
|
@@ -1163,8 +1163,8 @@ function _defineProperty$m(obj, key2, value) {
|
|
|
1163
1163
|
return obj;
|
|
1164
1164
|
}
|
|
1165
1165
|
var BarsOutlined = function BarsOutlined2(props2, context) {
|
|
1166
|
-
var p = _objectSpread$
|
|
1167
|
-
return vue.createVNode(AntdIcon, _objectSpread$
|
|
1166
|
+
var p = _objectSpread$m({}, props2, context.attrs);
|
|
1167
|
+
return vue.createVNode(AntdIcon, _objectSpread$m({}, p, {
|
|
1168
1168
|
"icon": BarsOutlinedSvg
|
|
1169
1169
|
}), null);
|
|
1170
1170
|
};
|
|
@@ -1173,7 +1173,7 @@ BarsOutlined.inheritAttrs = false;
|
|
|
1173
1173
|
const BarsOutlined$1 = BarsOutlined;
|
|
1174
1174
|
var CaretDownOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" } }] }, "name": "caret-down", "theme": "outlined" };
|
|
1175
1175
|
const CaretDownOutlinedSvg = CaretDownOutlined$2;
|
|
1176
|
-
function _objectSpread$
|
|
1176
|
+
function _objectSpread$l(target) {
|
|
1177
1177
|
for (var i = 1; i < arguments.length; i++) {
|
|
1178
1178
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
1179
1179
|
var ownKeys2 = Object.keys(source);
|
|
@@ -1183,12 +1183,12 @@ function _objectSpread$k(target) {
|
|
|
1183
1183
|
}));
|
|
1184
1184
|
}
|
|
1185
1185
|
ownKeys2.forEach(function(key2) {
|
|
1186
|
-
_defineProperty$
|
|
1186
|
+
_defineProperty$m(target, key2, source[key2]);
|
|
1187
1187
|
});
|
|
1188
1188
|
}
|
|
1189
1189
|
return target;
|
|
1190
1190
|
}
|
|
1191
|
-
function _defineProperty$
|
|
1191
|
+
function _defineProperty$m(obj, key2, value) {
|
|
1192
1192
|
if (key2 in obj) {
|
|
1193
1193
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
1194
1194
|
} else {
|
|
@@ -1197,8 +1197,8 @@ function _defineProperty$l(obj, key2, value) {
|
|
|
1197
1197
|
return obj;
|
|
1198
1198
|
}
|
|
1199
1199
|
var CaretDownOutlined = function CaretDownOutlined2(props2, context) {
|
|
1200
|
-
var p = _objectSpread$
|
|
1201
|
-
return vue.createVNode(AntdIcon, _objectSpread$
|
|
1200
|
+
var p = _objectSpread$l({}, props2, context.attrs);
|
|
1201
|
+
return vue.createVNode(AntdIcon, _objectSpread$l({}, p, {
|
|
1202
1202
|
"icon": CaretDownOutlinedSvg
|
|
1203
1203
|
}), null);
|
|
1204
1204
|
};
|
|
@@ -1207,7 +1207,7 @@ CaretDownOutlined.inheritAttrs = false;
|
|
|
1207
1207
|
const CaretDownOutlined$1 = CaretDownOutlined;
|
|
1208
1208
|
var CaretUpOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" } }] }, "name": "caret-up", "theme": "outlined" };
|
|
1209
1209
|
const CaretUpOutlinedSvg = CaretUpOutlined$2;
|
|
1210
|
-
function _objectSpread$
|
|
1210
|
+
function _objectSpread$k(target) {
|
|
1211
1211
|
for (var i = 1; i < arguments.length; i++) {
|
|
1212
1212
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
1213
1213
|
var ownKeys2 = Object.keys(source);
|
|
@@ -1217,12 +1217,12 @@ function _objectSpread$j(target) {
|
|
|
1217
1217
|
}));
|
|
1218
1218
|
}
|
|
1219
1219
|
ownKeys2.forEach(function(key2) {
|
|
1220
|
-
_defineProperty$
|
|
1220
|
+
_defineProperty$l(target, key2, source[key2]);
|
|
1221
1221
|
});
|
|
1222
1222
|
}
|
|
1223
1223
|
return target;
|
|
1224
1224
|
}
|
|
1225
|
-
function _defineProperty$
|
|
1225
|
+
function _defineProperty$l(obj, key2, value) {
|
|
1226
1226
|
if (key2 in obj) {
|
|
1227
1227
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
1228
1228
|
} else {
|
|
@@ -1231,8 +1231,8 @@ function _defineProperty$k(obj, key2, value) {
|
|
|
1231
1231
|
return obj;
|
|
1232
1232
|
}
|
|
1233
1233
|
var CaretUpOutlined = function CaretUpOutlined2(props2, context) {
|
|
1234
|
-
var p = _objectSpread$
|
|
1235
|
-
return vue.createVNode(AntdIcon, _objectSpread$
|
|
1234
|
+
var p = _objectSpread$k({}, props2, context.attrs);
|
|
1235
|
+
return vue.createVNode(AntdIcon, _objectSpread$k({}, p, {
|
|
1236
1236
|
"icon": CaretUpOutlinedSvg
|
|
1237
1237
|
}), null);
|
|
1238
1238
|
};
|
|
@@ -1241,7 +1241,7 @@ CaretUpOutlined.inheritAttrs = false;
|
|
|
1241
1241
|
const CaretUpOutlined$1 = CaretUpOutlined;
|
|
1242
1242
|
var CheckOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" } }] }, "name": "check", "theme": "outlined" };
|
|
1243
1243
|
const CheckOutlinedSvg = CheckOutlined$2;
|
|
1244
|
-
function _objectSpread$
|
|
1244
|
+
function _objectSpread$j(target) {
|
|
1245
1245
|
for (var i = 1; i < arguments.length; i++) {
|
|
1246
1246
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
1247
1247
|
var ownKeys2 = Object.keys(source);
|
|
@@ -1251,12 +1251,12 @@ function _objectSpread$i(target) {
|
|
|
1251
1251
|
}));
|
|
1252
1252
|
}
|
|
1253
1253
|
ownKeys2.forEach(function(key2) {
|
|
1254
|
-
_defineProperty$
|
|
1254
|
+
_defineProperty$k(target, key2, source[key2]);
|
|
1255
1255
|
});
|
|
1256
1256
|
}
|
|
1257
1257
|
return target;
|
|
1258
1258
|
}
|
|
1259
|
-
function _defineProperty$
|
|
1259
|
+
function _defineProperty$k(obj, key2, value) {
|
|
1260
1260
|
if (key2 in obj) {
|
|
1261
1261
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
1262
1262
|
} else {
|
|
@@ -1265,8 +1265,8 @@ function _defineProperty$j(obj, key2, value) {
|
|
|
1265
1265
|
return obj;
|
|
1266
1266
|
}
|
|
1267
1267
|
var CheckOutlined = function CheckOutlined2(props2, context) {
|
|
1268
|
-
var p = _objectSpread$
|
|
1269
|
-
return vue.createVNode(AntdIcon, _objectSpread$
|
|
1268
|
+
var p = _objectSpread$j({}, props2, context.attrs);
|
|
1269
|
+
return vue.createVNode(AntdIcon, _objectSpread$j({}, p, {
|
|
1270
1270
|
"icon": CheckOutlinedSvg
|
|
1271
1271
|
}), null);
|
|
1272
1272
|
};
|
|
@@ -1275,7 +1275,7 @@ CheckOutlined.inheritAttrs = false;
|
|
|
1275
1275
|
const CheckOutlined$1 = CheckOutlined;
|
|
1276
1276
|
var CloseOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" } }] }, "name": "close", "theme": "outlined" };
|
|
1277
1277
|
const CloseOutlinedSvg = CloseOutlined$2;
|
|
1278
|
-
function _objectSpread$
|
|
1278
|
+
function _objectSpread$i(target) {
|
|
1279
1279
|
for (var i = 1; i < arguments.length; i++) {
|
|
1280
1280
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
1281
1281
|
var ownKeys2 = Object.keys(source);
|
|
@@ -1285,12 +1285,12 @@ function _objectSpread$h(target) {
|
|
|
1285
1285
|
}));
|
|
1286
1286
|
}
|
|
1287
1287
|
ownKeys2.forEach(function(key2) {
|
|
1288
|
-
_defineProperty$
|
|
1288
|
+
_defineProperty$j(target, key2, source[key2]);
|
|
1289
1289
|
});
|
|
1290
1290
|
}
|
|
1291
1291
|
return target;
|
|
1292
1292
|
}
|
|
1293
|
-
function _defineProperty$
|
|
1293
|
+
function _defineProperty$j(obj, key2, value) {
|
|
1294
1294
|
if (key2 in obj) {
|
|
1295
1295
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
1296
1296
|
} else {
|
|
@@ -1299,8 +1299,8 @@ function _defineProperty$i(obj, key2, value) {
|
|
|
1299
1299
|
return obj;
|
|
1300
1300
|
}
|
|
1301
1301
|
var CloseOutlined = function CloseOutlined2(props2, context) {
|
|
1302
|
-
var p = _objectSpread$
|
|
1303
|
-
return vue.createVNode(AntdIcon, _objectSpread$
|
|
1302
|
+
var p = _objectSpread$i({}, props2, context.attrs);
|
|
1303
|
+
return vue.createVNode(AntdIcon, _objectSpread$i({}, p, {
|
|
1304
1304
|
"icon": CloseOutlinedSvg
|
|
1305
1305
|
}), null);
|
|
1306
1306
|
};
|
|
@@ -1309,7 +1309,7 @@ CloseOutlined.inheritAttrs = false;
|
|
|
1309
1309
|
const CloseOutlined$1 = CloseOutlined;
|
|
1310
1310
|
var ColumnHeightOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" } }] }, "name": "column-height", "theme": "outlined" };
|
|
1311
1311
|
const ColumnHeightOutlinedSvg = ColumnHeightOutlined$2;
|
|
1312
|
-
function _objectSpread$
|
|
1312
|
+
function _objectSpread$h(target) {
|
|
1313
1313
|
for (var i = 1; i < arguments.length; i++) {
|
|
1314
1314
|
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
1315
1315
|
var ownKeys2 = Object.keys(source);
|
|
@@ -1319,12 +1319,12 @@ function _objectSpread$g(target) {
|
|
|
1319
1319
|
}));
|
|
1320
1320
|
}
|
|
1321
1321
|
ownKeys2.forEach(function(key2) {
|
|
1322
|
-
_defineProperty$
|
|
1322
|
+
_defineProperty$i(target, key2, source[key2]);
|
|
1323
1323
|
});
|
|
1324
1324
|
}
|
|
1325
1325
|
return target;
|
|
1326
1326
|
}
|
|
1327
|
-
function _defineProperty$
|
|
1327
|
+
function _defineProperty$i(obj, key2, value) {
|
|
1328
1328
|
if (key2 in obj) {
|
|
1329
1329
|
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
1330
1330
|
} else {
|
|
@@ -1333,14 +1333,48 @@ function _defineProperty$h(obj, key2, value) {
|
|
|
1333
1333
|
return obj;
|
|
1334
1334
|
}
|
|
1335
1335
|
var ColumnHeightOutlined = function ColumnHeightOutlined2(props2, context) {
|
|
1336
|
-
var p = _objectSpread$
|
|
1337
|
-
return vue.createVNode(AntdIcon, _objectSpread$
|
|
1336
|
+
var p = _objectSpread$h({}, props2, context.attrs);
|
|
1337
|
+
return vue.createVNode(AntdIcon, _objectSpread$h({}, p, {
|
|
1338
1338
|
"icon": ColumnHeightOutlinedSvg
|
|
1339
1339
|
}), null);
|
|
1340
1340
|
};
|
|
1341
1341
|
ColumnHeightOutlined.displayName = "ColumnHeightOutlined";
|
|
1342
1342
|
ColumnHeightOutlined.inheritAttrs = false;
|
|
1343
1343
|
const ColumnHeightOutlined$1 = ColumnHeightOutlined;
|
|
1344
|
+
var CopyOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" } }] }, "name": "copy", "theme": "outlined" };
|
|
1345
|
+
const CopyOutlinedSvg = CopyOutlined$2;
|
|
1346
|
+
function _objectSpread$g(target) {
|
|
1347
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
1348
|
+
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
|
1349
|
+
var ownKeys2 = Object.keys(source);
|
|
1350
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
1351
|
+
ownKeys2 = ownKeys2.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
1352
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
1353
|
+
}));
|
|
1354
|
+
}
|
|
1355
|
+
ownKeys2.forEach(function(key2) {
|
|
1356
|
+
_defineProperty$h(target, key2, source[key2]);
|
|
1357
|
+
});
|
|
1358
|
+
}
|
|
1359
|
+
return target;
|
|
1360
|
+
}
|
|
1361
|
+
function _defineProperty$h(obj, key2, value) {
|
|
1362
|
+
if (key2 in obj) {
|
|
1363
|
+
Object.defineProperty(obj, key2, { value, enumerable: true, configurable: true, writable: true });
|
|
1364
|
+
} else {
|
|
1365
|
+
obj[key2] = value;
|
|
1366
|
+
}
|
|
1367
|
+
return obj;
|
|
1368
|
+
}
|
|
1369
|
+
var CopyOutlined = function CopyOutlined2(props2, context) {
|
|
1370
|
+
var p = _objectSpread$g({}, props2, context.attrs);
|
|
1371
|
+
return vue.createVNode(AntdIcon, _objectSpread$g({}, p, {
|
|
1372
|
+
"icon": CopyOutlinedSvg
|
|
1373
|
+
}), null);
|
|
1374
|
+
};
|
|
1375
|
+
CopyOutlined.displayName = "CopyOutlined";
|
|
1376
|
+
CopyOutlined.inheritAttrs = false;
|
|
1377
|
+
const CopyOutlined$1 = CopyOutlined;
|
|
1344
1378
|
var DownOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, "name": "down", "theme": "outlined" };
|
|
1345
1379
|
const DownOutlinedSvg = DownOutlined$2;
|
|
1346
1380
|
function _objectSpread$f(target) {
|
|
@@ -8533,11 +8567,13 @@ function useFormEvents({
|
|
|
8533
8567
|
value = handleInputNumberValue(schema == null ? void 0 : schema.component, value);
|
|
8534
8568
|
if (hasKey && fields.includes(key2)) {
|
|
8535
8569
|
if (itemIsDateType(key2)) {
|
|
8570
|
+
console.log(1, key2);
|
|
8536
8571
|
if (Array.isArray(value)) {
|
|
8537
8572
|
const arr = [];
|
|
8538
8573
|
for (const ele of value) {
|
|
8539
|
-
arr.push(ele ?
|
|
8574
|
+
arr.push(ele ? ele : null);
|
|
8540
8575
|
}
|
|
8576
|
+
console.log("arr", arr);
|
|
8541
8577
|
formModel[key2] = arr;
|
|
8542
8578
|
} else {
|
|
8543
8579
|
const { componentProps } = schema || {};
|
|
@@ -17041,6 +17077,16 @@ const Description = /* @__PURE__ */ vue.defineComponent({
|
|
|
17041
17077
|
...props3
|
|
17042
17078
|
};
|
|
17043
17079
|
};
|
|
17080
|
+
const copyToClipboard = async (text) => {
|
|
17081
|
+
try {
|
|
17082
|
+
await navigator.clipboard.writeText(text);
|
|
17083
|
+
} catch (err) {
|
|
17084
|
+
console.error("Failed to copy text: ", err);
|
|
17085
|
+
}
|
|
17086
|
+
};
|
|
17087
|
+
const handleClick = (value) => {
|
|
17088
|
+
copyToClipboard(value);
|
|
17089
|
+
};
|
|
17044
17090
|
const rows = vue.computed(() => {
|
|
17045
17091
|
return getProps.value.schema.map((item) => {
|
|
17046
17092
|
var _a2, _b;
|
|
@@ -17067,7 +17113,10 @@ const Description = /* @__PURE__ */ vue.defineComponent({
|
|
|
17067
17113
|
"class": `${prefixCls2}-label`
|
|
17068
17114
|
}, [slots[`${item.field}Label`] ? slots[`${item.field}Label`]() : item.label, ((_b = getProps.value) == null ? void 0 : _b.isShowColon) ? ":" : ""]), vue.createVNode("span", {
|
|
17069
17115
|
"class": `${prefixCls2}-value`
|
|
17070
|
-
}, [slots[`${item.field}Value`] ? slots[`${item.field}Value`]() : getProps.value.data[item.field]])
|
|
17116
|
+
}, [slots[`${item.field}Value`] ? slots[`${item.field}Value`]() : getProps.value.data[item.field]]), (item == null ? void 0 : item.isCopy) ? vue.createVNode("span", {
|
|
17117
|
+
"style": "cursor:pointer",
|
|
17118
|
+
"onClick": () => handleClick(getProps.value.data[item.field])
|
|
17119
|
+
}, [vue.createVNode(CopyOutlined$1, null, null)]) : null]);
|
|
17071
17120
|
}
|
|
17072
17121
|
});
|
|
17073
17122
|
});
|