3h1-ui 3.0.0-next.88 → 3.0.0-next.89

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 CHANGED
@@ -6011,8 +6011,8 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
6011
6011
  };
6012
6012
  }
6013
6013
  });
6014
- const BasicTitle_vue_vue_type_style_index_0_scoped_3f576a81_lang = "";
6015
- const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__scopeId", "data-v-3f576a81"]]);
6014
+ const BasicTitle_vue_vue_type_style_index_0_scoped_93754286_lang = "";
6015
+ const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__scopeId", "data-v-93754286"]]);
6016
6016
  const props$b = {
6017
6017
  prefixCls: { type: String },
6018
6018
  helpMessage: {
@@ -9607,8 +9607,8 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
9607
9607
  };
9608
9608
  }
9609
9609
  });
9610
- const Table_vue_vue_type_style_index_0_scoped_95018c58_lang = "";
9611
- const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-95018c58"]]);
9610
+ const Table_vue_vue_type_style_index_0_scoped_9232fde4_lang = "";
9611
+ const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-9232fde4"]]);
9612
9612
  const modal = "";
9613
9613
  const modalProps = {
9614
9614
  visible: { type: Boolean },
@@ -10658,8 +10658,8 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
10658
10658
  };
10659
10659
  }
10660
10660
  });
10661
- const BasicTitle_vue_vue_type_style_index_0_scoped_1b6517cc_lang = "";
10662
- const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-1b6517cc"]]);
10661
+ const BasicTitle_vue_vue_type_style_index_0_scoped_d388ea3f_lang = "";
10662
+ const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-d388ea3f"]]);
10663
10663
  const _sfc_main$1g = defineComponent({
10664
10664
  name: "BasicModalHeader",
10665
10665
  components: { BasicTitle },
@@ -14526,8 +14526,8 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
14526
14526
  };
14527
14527
  }
14528
14528
  });
14529
- const TreeHeader_vue_vue_type_style_index_0_scoped_fd31ab3e_lang = "";
14530
- const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-fd31ab3e"]]);
14529
+ const TreeHeader_vue_vue_type_style_index_0_scoped_b90f77bd_lang = "";
14530
+ const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-b90f77bd"]]);
14531
14531
  process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
14532
14532
  process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
14533
14533
  const isString$1 = (val) => typeof val === "string";
@@ -19533,8 +19533,8 @@ const _sfc_main$L = defineComponent({
19533
19533
  };
19534
19534
  }
19535
19535
  });
19536
- const TableGlobalSearch_vue_vue_type_style_index_0_scoped_c66f26d7_lang = "";
19537
- const _withScopeId$1 = (n) => (pushScopeId("data-v-c66f26d7"), n = n(), popScopeId(), n);
19536
+ const TableGlobalSearch_vue_vue_type_style_index_0_scoped_ee7fb814_lang = "";
19537
+ const _withScopeId$1 = (n) => (pushScopeId("data-v-ee7fb814"), n = n(), popScopeId(), n);
19538
19538
  const _hoisted_1$l = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, "搜索全部", -1));
19539
19539
  const _hoisted_2$7 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, "搜索特定字段", -1));
19540
19540
  const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
@@ -19592,7 +19592,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
19592
19592
  ])
19593
19593
  ], 4);
19594
19594
  }
19595
- const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$u], ["__scopeId", "data-v-c66f26d7"]]);
19595
+ const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$u], ["__scopeId", "data-v-ee7fb814"]]);
19596
19596
  const _sfc_main$K = defineComponent({
19597
19597
  components: {
19598
19598
  TableAdvancedSearch: TableAdvancedSearch$1,
@@ -20741,7 +20741,9 @@ const Description = /* @__PURE__ */ defineComponent({
20741
20741
  element = slots[`${item.field}Value`] ? (_b = slots[`${item.field}Value`]) == null ? void 0 : _b.call(slots, {
20742
20742
  model: data,
20743
20743
  field: data[`${item.field}`]
20744
- }) : getProps.value.summaryTotalFields.includes(item.field) && isNumber$2(+data[`${item.field}`]) && !isNaN(+data[`${item.field}`]) ? (+data[`${item.field}`]).toFixed(getProps.value.summaryPrecision).replace(/(\d)(?=(\d{3})+\.)/g, "$1,") : data[`${item.field}`];
20744
+ }) : getProps.value.summaryTotalFields.includes(item.field) && isNumber$2(+data[`${item.field}`]) && !isNaN(+data[`${item.field}`]) ? (+data[`${item.field}`]).toFixed(getProps.value.summaryPrecision).replace(/\d(?=(?:\d{3})+(?:\.|$))/g, (match, offset, string) => {
20745
+ return match + (string.charAt(offset + 1) === "." || offset === string.length - 1 ? "" : ",");
20746
+ }) : data[`${item.field}`];
20745
20747
  } else {
20746
20748
  element = slots[`${item.field}Value`] ? (_c = slots[`${item.field}Value`]) == null ? void 0 : _c.call(slots, {
20747
20749
  model: data,
@@ -27375,7 +27377,7 @@ const styles = `.vue-colorful {
27375
27377
  border-color: transparent;
27376
27378
  border-bottom: 12px solid #000;
27377
27379
  border-radius: 8px 8px 0 0;
27378
- background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),
27380
+ background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),\r
27379
27381
  linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
27380
27382
  }
27381
27383
  .vue-colorful__pointer-fill, .vue-colorful__alpha-gradient {
@@ -27396,15 +27398,15 @@ const styles = `.vue-colorful {
27396
27398
  height: 24px;
27397
27399
  }
27398
27400
  .vue-colorful__hue {
27399
- background: linear-gradient(
27400
- to right,
27401
- #f00 0%,
27402
- #ff0 17%,
27403
- #0f0 33%,
27404
- #0ff 50%,
27405
- #00f 67%,
27406
- #f0f 83%,
27407
- #f00 100%
27401
+ background: linear-gradient(\r
27402
+ to right,\r
27403
+ #f00 0%,\r
27404
+ #ff0 17%,\r
27405
+ #0f0 33%,\r
27406
+ #0ff 50%,\r
27407
+ #00f 67%,\r
27408
+ #f0f 83%,\r
27409
+ #f00 100%\r
27408
27410
  );
27409
27411
  }
27410
27412
  .vue-colorful__last-control {
@@ -35722,8 +35724,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
35722
35724
  };
35723
35725
  }
35724
35726
  });
35725
- const Table_vue_vue_type_style_index_0_scoped_08f6f4a1_lang = "";
35726
- const Table = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-08f6f4a1"]]);
35727
+ const Table_vue_vue_type_style_index_0_scoped_5f20f43f_lang = "";
35728
+ const Table = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-5f20f43f"]]);
35727
35729
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
35728
35730
  __name: "DeptTree",
35729
35731
  props: {
@@ -35875,8 +35877,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
35875
35877
  };
35876
35878
  }
35877
35879
  });
35878
- const Modal_vue_vue_type_style_index_0_scoped_0ca4fd85_lang = "";
35879
- const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-0ca4fd85"]]);
35880
+ const Modal_vue_vue_type_style_index_0_scoped_15e2dcbb_lang = "";
35881
+ const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-15e2dcbb"]]);
35880
35882
  const _hoisted_1$3 = { class: "api-modal-select" };
35881
35883
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
35882
35884
  __name: "ApiModalSelect",
@@ -36024,8 +36026,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
36024
36026
  };
36025
36027
  }
36026
36028
  });
36027
- const ApiModalSelect_vue_vue_type_style_index_0_scoped_45845a8d_lang = "";
36028
- const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-45845a8d"]]);
36029
+ const ApiModalSelect_vue_vue_type_style_index_0_scoped_5019fbdf_lang = "";
36030
+ const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-5019fbdf"]]);
36029
36031
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
36030
36032
  __name: "FormWrapper",
36031
36033
  props: {
@@ -36310,7 +36312,9 @@ function useDataSource(propsRef, {
36310
36312
  const total = dataSourceRef.value.reduce((acc, cur) => {
36311
36313
  return +acc + (+cur[field] || 0);
36312
36314
  }, 0);
36313
- obj[field] = total.toFixed(unref(propsRef).summaryPrecision).replace(/(\d)(?=(\d{3})+\.)/g, "$1,");
36315
+ obj[field] = total.toFixed(unref(propsRef).summaryPrecision).replace(/\d(?=(?:\d{3})+(?:\.|$))/g, (match, offset, string) => {
36316
+ return match + (string.charAt(offset + 1) === "." || offset === string.length - 1 ? "" : ",");
36317
+ });
36314
36318
  });
36315
36319
  return obj;
36316
36320
  });
@@ -38394,7 +38398,9 @@ const useColumns = (propsRef, getPaginationRef, tableAction2, wrapRef) => {
38394
38398
  var _a2, _b;
38395
38399
  const isSummaryCol = (_b = (_a2 = unref(propsRef).summaryTotalFields) == null ? void 0 : _a2.includes) == null ? void 0 : _b.call(_a2, column2.dataIndex);
38396
38400
  const summaryFormat = (text) => {
38397
- return text || isNumber$2(text) ? isNumber$2(+text) && !isNaN(+text) ? (+text).toFixed(unref(propsRef).summaryPrecision).replace(/(\d)(?=(\d{3})+\.)/g, "$1,") : text : text;
38401
+ return text || isNumber$2(text) ? isNumber$2(+text) && !isNaN(+text) ? (+text).toFixed(unref(propsRef).summaryPrecision).replace(/\d(?=(?:\d{3})+(?:\.|$))/g, (match, offset, string) => {
38402
+ return match + (string.charAt(offset + 1) === "." || offset === string.length - 1 ? "" : ",");
38403
+ }) : text : text;
38398
38404
  };
38399
38405
  const {
38400
38406
  slots,
@@ -38990,8 +38996,8 @@ const _sfc_main$2 = defineComponent({
38990
38996
  };
38991
38997
  }
38992
38998
  });
38993
- const TableGlobalSearch_vue_vue_type_style_index_0_scoped_e87e82dc_lang = "";
38994
- const _withScopeId = (n) => (pushScopeId("data-v-e87e82dc"), n = n(), popScopeId(), n);
38999
+ const TableGlobalSearch_vue_vue_type_style_index_0_scoped_329dc06f_lang = "";
39000
+ const _withScopeId = (n) => (pushScopeId("data-v-329dc06f"), n = n(), popScopeId(), n);
38995
39001
  const _hoisted_1$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "搜索全部", -1));
38996
39002
  const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "搜索特定字段", -1));
38997
39003
  const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
@@ -39049,7 +39055,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
39049
39055
  ])
39050
39056
  ], 4);
39051
39057
  }
39052
- const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$1], ["__scopeId", "data-v-e87e82dc"]]);
39058
+ const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$1], ["__scopeId", "data-v-329dc06f"]]);
39053
39059
  const _sfc_main$1 = defineComponent({
39054
39060
  name: "EditTableHeaderIcon",
39055
39061
  components: { FormOutlined: FormOutlined$1 },
package/es/style.css CHANGED
@@ -1047,7 +1047,7 @@ span.iconify {
1047
1047
  }
1048
1048
  .shy-basic-help__wrap p {
1049
1049
  margin-bottom: 0;
1050
- }.shy-basic-title[data-v-3f576a81] {
1050
+ }.shy-basic-title[data-v-93754286] {
1051
1051
  position: relative;
1052
1052
  display: flex;
1053
1053
  font-family: PingFangSC, PingFang SC;
@@ -1060,7 +1060,7 @@ span.iconify {
1060
1060
  align-items: center;
1061
1061
  gap: 8px;
1062
1062
  }
1063
- .shy-basic-title-show-span[data-v-3f576a81]::before {
1063
+ .shy-basic-title-show-span[data-v-93754286]::before {
1064
1064
  content: '';
1065
1065
  position: absolute;
1066
1066
  width: 2px;
@@ -1071,7 +1071,7 @@ span.iconify {
1071
1071
  top: 50%;
1072
1072
  transform: translateY(-50%);
1073
1073
  }
1074
- .shy-basic-title-help[data-v-3f576a81] {
1074
+ .shy-basic-title-help[data-v-93754286] {
1075
1075
  margin-left: 10px;
1076
1076
  }.shy-collapse-container-arrow {
1077
1077
  font-size: 14px !important;
@@ -1202,40 +1202,40 @@ span.iconify {
1202
1202
  .shy-tinymce-container textarea {
1203
1203
  z-index: -1;
1204
1204
  visibility: hidden;
1205
- }.shy-table-edit-icon-plus[data-v-95018c58] {
1205
+ }.shy-table-edit-icon-plus[data-v-9232fde4] {
1206
1206
  width: 30px;
1207
1207
  height: 30px;
1208
1208
  font-size: 30px;
1209
1209
  cursor: pointer;
1210
1210
  display: flex;
1211
1211
  }
1212
- .table-children[data-v-95018c58] .ant-form-item {
1212
+ .table-children[data-v-9232fde4] .ant-form-item {
1213
1213
  margin-bottom: 0 !important;
1214
1214
  }
1215
- .table-children-required[data-v-95018c58] {
1215
+ .table-children-required[data-v-9232fde4] {
1216
1216
  color: #ff4d4f;
1217
1217
  margin-right: 4px;
1218
1218
  }
1219
- .table-children[data-v-95018c58] .ant-table-cell {
1219
+ .table-children[data-v-9232fde4] .ant-table-cell {
1220
1220
  padding: 8px !important;
1221
1221
  }
1222
- .table-children[data-v-95018c58] .ant-table-cell .ant-form-item-explain {
1222
+ .table-children[data-v-9232fde4] .ant-table-cell .ant-form-item-explain {
1223
1223
  display: none;
1224
1224
  }
1225
- .table-children-delete-wrapper[data-v-95018c58] {
1225
+ .table-children-delete-wrapper[data-v-9232fde4] {
1226
1226
  display: flex;
1227
1227
  height: 100%;
1228
1228
  justify-content: center;
1229
1229
  }
1230
- .table-children-delete-wrapper:hover .table-children-delete-item[data-v-95018c58] {
1230
+ .table-children-delete-wrapper:hover .table-children-delete-item[data-v-9232fde4] {
1231
1231
  display: flex;
1232
1232
  justify-content: center;
1233
1233
  align-items: center;
1234
1234
  }
1235
- .table-children-delete-wrapper:hover .table-children-delete-index[data-v-95018c58] {
1235
+ .table-children-delete-wrapper:hover .table-children-delete-index[data-v-9232fde4] {
1236
1236
  display: none;
1237
1237
  }
1238
- .table-children-delete-item[data-v-95018c58] {
1238
+ .table-children-delete-item[data-v-9232fde4] {
1239
1239
  background-color: red;
1240
1240
  border-radius: 50%;
1241
1241
  width: 30px;
@@ -1244,7 +1244,7 @@ span.iconify {
1244
1244
  display: none;
1245
1245
  cursor: pointer;
1246
1246
  }
1247
- .table-children-delete-index[data-v-95018c58] {
1247
+ .table-children-delete-index[data-v-9232fde4] {
1248
1248
  user-select: none;
1249
1249
  display: inline-block;
1250
1250
  }.shy-basic-modal :is(.ant-modal-content) {
@@ -1422,7 +1422,7 @@ html[data-theme='light'] {
1422
1422
  }
1423
1423
  .shy-basic-help__wrap p {
1424
1424
  margin-bottom: 0;
1425
- }[data-v-1b6517cc]:root {
1425
+ }[data-v-d388ea3f]:root {
1426
1426
  --shadow-2: 0px 2px 4px 0px rgba(0, 0, 0, 0.04),
1427
1427
  0px 1px 1px 0px rgba(0, 0, 0, 0.02);
1428
1428
  --shadow-3: 0px 4px 10px 0px rgba(0, 0, 0, 0.08),
@@ -1434,17 +1434,17 @@ html[data-theme='light'] {
1434
1434
  --light: #fff;
1435
1435
  --dark: #141414;
1436
1436
  }
1437
- html[data-theme='dark'][data-v-1b6517cc] {
1437
+ html[data-theme='dark'][data-v-d388ea3f] {
1438
1438
  --theme: var(--dark);
1439
1439
  --text-color: var(--light);
1440
1440
  color-scheme: dark;
1441
1441
  }
1442
- html[data-theme='light'][data-v-1b6517cc] {
1442
+ html[data-theme='light'][data-v-d388ea3f] {
1443
1443
  --theme: var(--light);
1444
1444
  --text-color: var(--dark);
1445
1445
  color-scheme: light;
1446
1446
  }
1447
- .shy-basic-title[data-v-1b6517cc] {
1447
+ .shy-basic-title[data-v-d388ea3f] {
1448
1448
  position: relative;
1449
1449
  display: flex;
1450
1450
  font-size: 16px;
@@ -1454,11 +1454,11 @@ html[data-theme='light'][data-v-1b6517cc] {
1454
1454
  cursor: pointer;
1455
1455
  user-select: none;
1456
1456
  }
1457
- .shy-basic-title-normal[data-v-1b6517cc] {
1457
+ .shy-basic-title-normal[data-v-d388ea3f] {
1458
1458
  font-size: 14px;
1459
1459
  font-weight: 500;
1460
1460
  }
1461
- .shy-basic-title-show-span[data-v-1b6517cc]::before {
1461
+ .shy-basic-title-show-span[data-v-d388ea3f]::before {
1462
1462
  position: absolute;
1463
1463
  top: 4px;
1464
1464
  left: 0;
@@ -1468,7 +1468,7 @@ html[data-theme='light'][data-v-1b6517cc] {
1468
1468
  background-color: #006eff;
1469
1469
  content: '';
1470
1470
  }
1471
- .shy-basic-title-help[data-v-1b6517cc] {
1471
+ .shy-basic-title-help[data-v-d388ea3f] {
1472
1472
  margin-left: 10px;
1473
1473
  }.shy-basic-modal :is(.ant-modal-content) {
1474
1474
  padding: 0;
@@ -1760,7 +1760,7 @@ html[data-theme='light'][data-v-1b6517cc] {
1760
1760
  }
1761
1761
  .table-children-err-popover .ant-popover-inner-content {
1762
1762
  padding: 6px 16px;
1763
- }.shy-search[data-v-fd31ab3e] {
1763
+ }.shy-search[data-v-b90f77bd] {
1764
1764
  position: relative;
1765
1765
  display: flex;
1766
1766
  align-items: center;
@@ -2153,7 +2153,7 @@ html[data-theme='light'][data-v-1b6517cc] {
2153
2153
  }
2154
2154
  .shy-basic-table-header__toolbar > * {
2155
2155
  margin-right: 8px;
2156
- }.shy-basic-table-global-search[data-v-c66f26d7] {
2156
+ }.shy-basic-table-global-search[data-v-ee7fb814] {
2157
2157
  position: absolute;
2158
2158
  top: 40px;
2159
2159
  right: 131px;
@@ -2165,7 +2165,7 @@ html[data-theme='light'][data-v-1b6517cc] {
2165
2165
  border: 1px solid #ebebeb;
2166
2166
  padding: 10px;
2167
2167
  }
2168
- .shy-basic-table-global-search-item-global[data-v-c66f26d7] {
2168
+ .shy-basic-table-global-search-item-global[data-v-ee7fb814] {
2169
2169
  height: 32px;
2170
2170
  line-height: 32px;
2171
2171
  font-size: 14px;
@@ -2176,7 +2176,7 @@ html[data-theme='light'][data-v-1b6517cc] {
2176
2176
  align-items: center;
2177
2177
  justify-content: space-between;
2178
2178
  }
2179
- .shy-basic-table-global-search-item-special[data-v-c66f26d7] {
2179
+ .shy-basic-table-global-search-item-special[data-v-ee7fb814] {
2180
2180
  height: 32px;
2181
2181
  line-height: 32px;
2182
2182
  font-size: 14px;
@@ -2187,10 +2187,10 @@ html[data-theme='light'][data-v-1b6517cc] {
2187
2187
  align-items: center;
2188
2188
  justify-content: space-between;
2189
2189
  }
2190
- .shy-basic-table-global-search-checkbox-wrapper[data-v-c66f26d7] {
2190
+ .shy-basic-table-global-search-checkbox-wrapper[data-v-ee7fb814] {
2191
2191
  padding: 0 8px;
2192
2192
  }
2193
- .shy-basic-table-global-search .selected-bg[data-v-c66f26d7] {
2193
+ .shy-basic-table-global-search .selected-bg[data-v-ee7fb814] {
2194
2194
  background-color: #ebf1ff;
2195
2195
  }.shy-basic-table-img .ant-image {
2196
2196
  margin-right: 4px;
@@ -8270,30 +8270,30 @@ html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
8270
8270
  min-width: var(--min-width--large);
8271
8271
  max-width: var(--max-width-large);
8272
8272
  }
8273
- }.shy-table-edit-icon-plus[data-v-08f6f4a1] {
8273
+ }.shy-table-edit-icon-plus[data-v-5f20f43f] {
8274
8274
  width: 30px;
8275
8275
  height: 30px;
8276
8276
  font-size: 30px;
8277
8277
  cursor: pointer;
8278
8278
  display: flex;
8279
8279
  }
8280
- .table-children[data-v-08f6f4a1] .ant-form-item {
8280
+ .table-children[data-v-5f20f43f] .ant-form-item {
8281
8281
  margin-bottom: 0 !important;
8282
8282
  }
8283
- .table-children[data-v-08f6f4a1] {
8283
+ .table-children[data-v-5f20f43f] {
8284
8284
  width: 100%;
8285
8285
  }
8286
- .table-children-required[data-v-08f6f4a1] {
8286
+ .table-children-required[data-v-5f20f43f] {
8287
8287
  color: #ff4d4f;
8288
8288
  margin-right: 4px;
8289
8289
  }
8290
- .table-children[data-v-08f6f4a1] .ant-table-cell {
8290
+ .table-children[data-v-5f20f43f] .ant-table-cell {
8291
8291
  padding: 8px !important;
8292
8292
  }
8293
- .table-children[data-v-08f6f4a1] .ant-table-cell .ant-form-item-explain {
8293
+ .table-children[data-v-5f20f43f] .ant-table-cell .ant-form-item-explain {
8294
8294
  display: none;
8295
8295
  }
8296
- .table-children-add-btn[data-v-08f6f4a1] {
8296
+ .table-children-add-btn[data-v-5f20f43f] {
8297
8297
  display: flex;
8298
8298
  align-items: center;
8299
8299
  padding-inline: 8px;
@@ -8303,21 +8303,21 @@ html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
8303
8303
  border-bottom-left-radius: 4px;
8304
8304
  border-bottom-right-radius: 4px;
8305
8305
  }
8306
- .table-children-add-btn[data-v-08f6f4a1] .ant-btn {
8306
+ .table-children-add-btn[data-v-5f20f43f] .ant-btn {
8307
8307
  width: 100%;
8308
- }.wrapper[data-v-0ca4fd85] {
8308
+ }.wrapper[data-v-15e2dcbb] {
8309
8309
  display: flex;
8310
8310
  }
8311
- .tree[data-v-0ca4fd85] {
8311
+ .tree[data-v-15e2dcbb] {
8312
8312
  flex: none;
8313
8313
  }
8314
- .table-wrapper[data-v-0ca4fd85] {
8314
+ .table-wrapper[data-v-15e2dcbb] {
8315
8315
  flex: 1 1 0%;
8316
8316
  overflow: hidden;
8317
- }[data-v-45845a8d] .ant-input-group-addon {
8317
+ }[data-v-5019fbdf] .ant-input-group-addon {
8318
8318
  padding: 0;
8319
8319
  }
8320
- .btn-wrapper[data-v-45845a8d] {
8320
+ .btn-wrapper[data-v-5019fbdf] {
8321
8321
  padding: 0 5px;
8322
8322
  display: flex;
8323
8323
  align-items: center;
@@ -8477,7 +8477,7 @@ html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
8477
8477
  font-size: 20px;
8478
8478
  line-height: 24px;
8479
8479
  font-weight: 500;
8480
- }.shy-basic-table-global-search[data-v-e87e82dc] {
8480
+ }.shy-basic-table-global-search[data-v-329dc06f] {
8481
8481
  position: absolute;
8482
8482
  top: 80px;
8483
8483
  right: 131px;
@@ -8489,7 +8489,7 @@ html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
8489
8489
  border: 1px solid #ebebeb;
8490
8490
  padding: 10px;
8491
8491
  }
8492
- .shy-basic-table-global-search-item-global[data-v-e87e82dc] {
8492
+ .shy-basic-table-global-search-item-global[data-v-329dc06f] {
8493
8493
  height: 32px;
8494
8494
  line-height: 32px;
8495
8495
  font-size: 14px;
@@ -8500,7 +8500,7 @@ html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
8500
8500
  align-items: center;
8501
8501
  justify-content: space-between;
8502
8502
  }
8503
- .shy-basic-table-global-search-item-special[data-v-e87e82dc] {
8503
+ .shy-basic-table-global-search-item-special[data-v-329dc06f] {
8504
8504
  height: 32px;
8505
8505
  line-height: 32px;
8506
8506
  font-size: 14px;
@@ -8511,10 +8511,10 @@ html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
8511
8511
  align-items: center;
8512
8512
  justify-content: space-between;
8513
8513
  }
8514
- .shy-basic-table-global-search-checkbox-wrapper[data-v-e87e82dc] {
8514
+ .shy-basic-table-global-search-checkbox-wrapper[data-v-329dc06f] {
8515
8515
  padding: 0 8px;
8516
8516
  }
8517
- .shy-basic-table-global-search .selected-bg[data-v-e87e82dc] {
8517
+ .shy-basic-table-global-search .selected-bg[data-v-329dc06f] {
8518
8518
  background-color: #ebf1ff;
8519
8519
  }.shy-basic-table-header-cell__help {
8520
8520
  margin-left: 8px;
package/lib/index.js CHANGED
@@ -6035,8 +6035,8 @@ const _sfc_main$1x = /* @__PURE__ */ vue.defineComponent({
6035
6035
  };
6036
6036
  }
6037
6037
  });
6038
- const BasicTitle_vue_vue_type_style_index_0_scoped_3f576a81_lang = "";
6039
- const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__scopeId", "data-v-3f576a81"]]);
6038
+ const BasicTitle_vue_vue_type_style_index_0_scoped_93754286_lang = "";
6039
+ const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__scopeId", "data-v-93754286"]]);
6040
6040
  const props$b = {
6041
6041
  prefixCls: { type: String },
6042
6042
  helpMessage: {
@@ -9631,8 +9631,8 @@ const _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
9631
9631
  };
9632
9632
  }
9633
9633
  });
9634
- const Table_vue_vue_type_style_index_0_scoped_95018c58_lang = "";
9635
- const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-95018c58"]]);
9634
+ const Table_vue_vue_type_style_index_0_scoped_9232fde4_lang = "";
9635
+ const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-9232fde4"]]);
9636
9636
  const modal = "";
9637
9637
  const modalProps = {
9638
9638
  visible: { type: Boolean },
@@ -10682,8 +10682,8 @@ const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
10682
10682
  };
10683
10683
  }
10684
10684
  });
10685
- const BasicTitle_vue_vue_type_style_index_0_scoped_1b6517cc_lang = "";
10686
- const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-1b6517cc"]]);
10685
+ const BasicTitle_vue_vue_type_style_index_0_scoped_d388ea3f_lang = "";
10686
+ const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-d388ea3f"]]);
10687
10687
  const _sfc_main$1g = vue.defineComponent({
10688
10688
  name: "BasicModalHeader",
10689
10689
  components: { BasicTitle },
@@ -14550,8 +14550,8 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
14550
14550
  };
14551
14551
  }
14552
14552
  });
14553
- const TreeHeader_vue_vue_type_style_index_0_scoped_fd31ab3e_lang = "";
14554
- const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-fd31ab3e"]]);
14553
+ const TreeHeader_vue_vue_type_style_index_0_scoped_b90f77bd_lang = "";
14554
+ const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-b90f77bd"]]);
14555
14555
  process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
14556
14556
  process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
14557
14557
  const isString$1 = (val) => typeof val === "string";
@@ -19557,8 +19557,8 @@ const _sfc_main$L = vue.defineComponent({
19557
19557
  };
19558
19558
  }
19559
19559
  });
19560
- const TableGlobalSearch_vue_vue_type_style_index_0_scoped_c66f26d7_lang = "";
19561
- const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-c66f26d7"), n = n(), vue.popScopeId(), n);
19560
+ const TableGlobalSearch_vue_vue_type_style_index_0_scoped_ee7fb814_lang = "";
19561
+ const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-ee7fb814"), n = n(), vue.popScopeId(), n);
19562
19562
  const _hoisted_1$l = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索全部", -1));
19563
19563
  const _hoisted_2$7 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索特定字段", -1));
19564
19564
  const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", null, null, -1));
@@ -19616,7 +19616,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
19616
19616
  ])
19617
19617
  ], 4);
19618
19618
  }
19619
- const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$u], ["__scopeId", "data-v-c66f26d7"]]);
19619
+ const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$u], ["__scopeId", "data-v-ee7fb814"]]);
19620
19620
  const _sfc_main$K = vue.defineComponent({
19621
19621
  components: {
19622
19622
  TableAdvancedSearch: TableAdvancedSearch$1,
@@ -20765,7 +20765,9 @@ const Description = /* @__PURE__ */ vue.defineComponent({
20765
20765
  element = slots[`${item.field}Value`] ? (_b = slots[`${item.field}Value`]) == null ? void 0 : _b.call(slots, {
20766
20766
  model: data,
20767
20767
  field: data[`${item.field}`]
20768
- }) : getProps.value.summaryTotalFields.includes(item.field) && utils.isNumber(+data[`${item.field}`]) && !isNaN(+data[`${item.field}`]) ? (+data[`${item.field}`]).toFixed(getProps.value.summaryPrecision).replace(/(\d)(?=(\d{3})+\.)/g, "$1,") : data[`${item.field}`];
20768
+ }) : getProps.value.summaryTotalFields.includes(item.field) && utils.isNumber(+data[`${item.field}`]) && !isNaN(+data[`${item.field}`]) ? (+data[`${item.field}`]).toFixed(getProps.value.summaryPrecision).replace(/\d(?=(?:\d{3})+(?:\.|$))/g, (match, offset, string) => {
20769
+ return match + (string.charAt(offset + 1) === "." || offset === string.length - 1 ? "" : ",");
20770
+ }) : data[`${item.field}`];
20769
20771
  } else {
20770
20772
  element = slots[`${item.field}Value`] ? (_c = slots[`${item.field}Value`]) == null ? void 0 : _c.call(slots, {
20771
20773
  model: data,
@@ -27399,7 +27401,7 @@ const styles = `.vue-colorful {
27399
27401
  border-color: transparent;
27400
27402
  border-bottom: 12px solid #000;
27401
27403
  border-radius: 8px 8px 0 0;
27402
- background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),
27404
+ background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),\r
27403
27405
  linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
27404
27406
  }
27405
27407
  .vue-colorful__pointer-fill, .vue-colorful__alpha-gradient {
@@ -27420,15 +27422,15 @@ const styles = `.vue-colorful {
27420
27422
  height: 24px;
27421
27423
  }
27422
27424
  .vue-colorful__hue {
27423
- background: linear-gradient(
27424
- to right,
27425
- #f00 0%,
27426
- #ff0 17%,
27427
- #0f0 33%,
27428
- #0ff 50%,
27429
- #00f 67%,
27430
- #f0f 83%,
27431
- #f00 100%
27425
+ background: linear-gradient(\r
27426
+ to right,\r
27427
+ #f00 0%,\r
27428
+ #ff0 17%,\r
27429
+ #0f0 33%,\r
27430
+ #0ff 50%,\r
27431
+ #00f 67%,\r
27432
+ #f0f 83%,\r
27433
+ #f00 100%\r
27432
27434
  );
27433
27435
  }
27434
27436
  .vue-colorful__last-control {
@@ -35746,8 +35748,8 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
35746
35748
  };
35747
35749
  }
35748
35750
  });
35749
- const Table_vue_vue_type_style_index_0_scoped_08f6f4a1_lang = "";
35750
- const Table = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-08f6f4a1"]]);
35751
+ const Table_vue_vue_type_style_index_0_scoped_5f20f43f_lang = "";
35752
+ const Table = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-5f20f43f"]]);
35751
35753
  const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
35752
35754
  __name: "DeptTree",
35753
35755
  props: {
@@ -35899,8 +35901,8 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
35899
35901
  };
35900
35902
  }
35901
35903
  });
35902
- const Modal_vue_vue_type_style_index_0_scoped_0ca4fd85_lang = "";
35903
- const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-0ca4fd85"]]);
35904
+ const Modal_vue_vue_type_style_index_0_scoped_15e2dcbb_lang = "";
35905
+ const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-15e2dcbb"]]);
35904
35906
  const _hoisted_1$3 = { class: "api-modal-select" };
35905
35907
  const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
35906
35908
  __name: "ApiModalSelect",
@@ -36048,8 +36050,8 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
36048
36050
  };
36049
36051
  }
36050
36052
  });
36051
- const ApiModalSelect_vue_vue_type_style_index_0_scoped_45845a8d_lang = "";
36052
- const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-45845a8d"]]);
36053
+ const ApiModalSelect_vue_vue_type_style_index_0_scoped_5019fbdf_lang = "";
36054
+ const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-5019fbdf"]]);
36053
36055
  const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
36054
36056
  __name: "FormWrapper",
36055
36057
  props: {
@@ -36334,7 +36336,9 @@ function useDataSource(propsRef, {
36334
36336
  const total = dataSourceRef.value.reduce((acc, cur) => {
36335
36337
  return +acc + (+cur[field] || 0);
36336
36338
  }, 0);
36337
- obj[field] = total.toFixed(vue.unref(propsRef).summaryPrecision).replace(/(\d)(?=(\d{3})+\.)/g, "$1,");
36339
+ obj[field] = total.toFixed(vue.unref(propsRef).summaryPrecision).replace(/\d(?=(?:\d{3})+(?:\.|$))/g, (match, offset, string) => {
36340
+ return match + (string.charAt(offset + 1) === "." || offset === string.length - 1 ? "" : ",");
36341
+ });
36338
36342
  });
36339
36343
  return obj;
36340
36344
  });
@@ -38418,7 +38422,9 @@ const useColumns = (propsRef, getPaginationRef, tableAction2, wrapRef) => {
38418
38422
  var _a2, _b;
38419
38423
  const isSummaryCol = (_b = (_a2 = vue.unref(propsRef).summaryTotalFields) == null ? void 0 : _a2.includes) == null ? void 0 : _b.call(_a2, column2.dataIndex);
38420
38424
  const summaryFormat = (text) => {
38421
- return text || utils.isNumber(text) ? utils.isNumber(+text) && !isNaN(+text) ? (+text).toFixed(vue.unref(propsRef).summaryPrecision).replace(/(\d)(?=(\d{3})+\.)/g, "$1,") : text : text;
38425
+ return text || utils.isNumber(text) ? utils.isNumber(+text) && !isNaN(+text) ? (+text).toFixed(vue.unref(propsRef).summaryPrecision).replace(/\d(?=(?:\d{3})+(?:\.|$))/g, (match, offset, string) => {
38426
+ return match + (string.charAt(offset + 1) === "." || offset === string.length - 1 ? "" : ",");
38427
+ }) : text : text;
38422
38428
  };
38423
38429
  const {
38424
38430
  slots,
@@ -39014,8 +39020,8 @@ const _sfc_main$2 = vue.defineComponent({
39014
39020
  };
39015
39021
  }
39016
39022
  });
39017
- const TableGlobalSearch_vue_vue_type_style_index_0_scoped_e87e82dc_lang = "";
39018
- const _withScopeId = (n) => (vue.pushScopeId("data-v-e87e82dc"), n = n(), vue.popScopeId(), n);
39023
+ const TableGlobalSearch_vue_vue_type_style_index_0_scoped_329dc06f_lang = "";
39024
+ const _withScopeId = (n) => (vue.pushScopeId("data-v-329dc06f"), n = n(), vue.popScopeId(), n);
39019
39025
  const _hoisted_1$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索全部", -1));
39020
39026
  const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索特定字段", -1));
39021
39027
  const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, null, -1));
@@ -39073,7 +39079,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
39073
39079
  ])
39074
39080
  ], 4);
39075
39081
  }
39076
- const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$1], ["__scopeId", "data-v-e87e82dc"]]);
39082
+ const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$1], ["__scopeId", "data-v-329dc06f"]]);
39077
39083
  const _sfc_main$1 = vue.defineComponent({
39078
39084
  name: "EditTableHeaderIcon",
39079
39085
  components: { FormOutlined: FormOutlined$1 },