3h1-ui 3.0.0-next.52 → 3.0.0-next.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -5420,7 +5420,7 @@ const _sfc_main$1F = vue.defineComponent({
5420
5420
  };
5421
5421
  }
5422
5422
  });
5423
- const StrengthMeter_vue_vue_type_style_index_0_scoped_678d40fd_lang = "";
5423
+ const StrengthMeter_vue_vue_type_style_index_0_scoped_c8d77eaa_lang = "";
5424
5424
  const _hoisted_1$G = ["data-score"];
5425
5425
  function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
5426
5426
  const _component_InputPassword = vue.resolveComponent("InputPassword");
@@ -5452,7 +5452,7 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
5452
5452
  ], 2)
5453
5453
  ], 2);
5454
5454
  }
5455
- const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$X], ["__scopeId", "data-v-678d40fd"]]);
5455
+ const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$X], ["__scopeId", "data-v-c8d77eaa"]]);
5456
5456
  const _sfc_main$1E = vue.defineComponent({
5457
5457
  name: "SvgIcon",
5458
5458
  props: {
@@ -5488,7 +5488,7 @@ const _sfc_main$1E = vue.defineComponent({
5488
5488
  return { symbolId, prefixCls: prefixCls2, getStyle };
5489
5489
  }
5490
5490
  });
5491
- const SvgIcon_vue_vue_type_style_index_0_scoped_905fa4a6_lang = "";
5491
+ const SvgIcon_vue_vue_type_style_index_0_scoped_fa64fe87_lang = "";
5492
5492
  const _hoisted_1$F = ["xlink:href"];
5493
5493
  function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
5494
5494
  return vue.openBlock(), vue.createElementBlock("svg", {
@@ -5499,7 +5499,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
5499
5499
  vue.createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$F)
5500
5500
  ], 6);
5501
5501
  }
5502
- const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$W], ["__scopeId", "data-v-905fa4a6"]]);
5502
+ const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$W], ["__scopeId", "data-v-fa64fe87"]]);
5503
5503
  const SVG_END_WITH_FLAG = "|svg";
5504
5504
  const _sfc_main$1D = vue.defineComponent({
5505
5505
  name: "Icon",
@@ -5810,8 +5810,8 @@ const _sfc_main$1B = /* @__PURE__ */ vue.defineComponent({
5810
5810
  };
5811
5811
  }
5812
5812
  });
5813
- const BasicArrow_vue_vue_type_style_index_0_scoped_fea26917_lang = "";
5814
- const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-fea26917"]]);
5813
+ const BasicArrow_vue_vue_type_style_index_0_scoped_03d87956_lang = "";
5814
+ const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-03d87956"]]);
5815
5815
  const props$c = {
5816
5816
  /**
5817
5817
  * Help text max-width
@@ -5988,8 +5988,8 @@ const _sfc_main$1z = /* @__PURE__ */ vue.defineComponent({
5988
5988
  };
5989
5989
  }
5990
5990
  });
5991
- const BasicTitle_vue_vue_type_style_index_0_scoped_df3764dc_lang = "";
5992
- const Divider = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-df3764dc"]]);
5991
+ const BasicTitle_vue_vue_type_style_index_0_scoped_c885e8af_lang = "";
5992
+ const Divider = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-c885e8af"]]);
5993
5993
  const props$b = {
5994
5994
  prefixCls: { type: String },
5995
5995
  helpMessage: {
@@ -9574,8 +9574,8 @@ const _sfc_main$1p = /* @__PURE__ */ vue.defineComponent({
9574
9574
  };
9575
9575
  }
9576
9576
  });
9577
- const Table_vue_vue_type_style_index_0_scoped_95018c58_lang = "";
9578
- const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-95018c58"]]);
9577
+ const Table_vue_vue_type_style_index_0_scoped_9232fde4_lang = "";
9578
+ const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-9232fde4"]]);
9579
9579
  const modal = "";
9580
9580
  const modalProps = {
9581
9581
  visible: { type: Boolean },
@@ -10621,8 +10621,8 @@ const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
10621
10621
  };
10622
10622
  }
10623
10623
  });
10624
- const BasicTitle_vue_vue_type_style_index_0_scoped_fdc837af_lang = "";
10625
- const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-fdc837af"]]);
10624
+ const BasicTitle_vue_vue_type_style_index_0_scoped_a48f9d86_lang = "";
10625
+ const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-a48f9d86"]]);
10626
10626
  const _sfc_main$1i = vue.defineComponent({
10627
10627
  name: "BasicModalHeader",
10628
10628
  components: { BasicTitle },
@@ -14601,8 +14601,8 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
14601
14601
  };
14602
14602
  }
14603
14603
  });
14604
- const TreeHeader_vue_vue_type_style_index_0_scoped_d8be8a1f_lang = "";
14605
- const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-d8be8a1f"]]);
14604
+ const TreeHeader_vue_vue_type_style_index_0_scoped_8dfdfcea_lang = "";
14605
+ const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-8dfdfcea"]]);
14606
14606
  process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
14607
14607
  process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
14608
14608
  const isString$1 = (val) => typeof val === "string";
@@ -15496,7 +15496,7 @@ const _sfc_main$11 = vue.defineComponent({
15496
15496
  return { prefixCls: prefixCls2, getCalcContentWidth };
15497
15497
  }
15498
15498
  });
15499
- const PageFooter_vue_vue_type_style_index_0_scoped_44a47dbd_lang = "";
15499
+ const PageFooter_vue_vue_type_style_index_0_scoped_b4695833_lang = "";
15500
15500
  function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
15501
15501
  return vue.openBlock(), vue.createElementBlock("div", {
15502
15502
  class: vue.normalizeClass(_ctx.prefixCls),
@@ -15515,7 +15515,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
15515
15515
  ], 2)
15516
15516
  ], 6);
15517
15517
  }
15518
- const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$F], ["__scopeId", "data-v-44a47dbd"]]);
15518
+ const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$F], ["__scopeId", "data-v-b4695833"]]);
15519
15519
  const _sfc_main$10 = vue.defineComponent({
15520
15520
  name: "PageWrapper",
15521
15521
  components: { PageFooter, PageHeader: antDesignVue.PageHeader },
@@ -18131,8 +18131,8 @@ const _sfc_main$U = vue.defineComponent({
18131
18131
  return { isVisibleAdvancedSearch, handleIconClick };
18132
18132
  }
18133
18133
  });
18134
- const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_f74ee46a_lang = "";
18135
- const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-f74ee46a"), n = n(), vue.popScopeId(), n);
18134
+ const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_c5892da8_lang = "";
18135
+ const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-c5892da8"), n = n(), vue.popScopeId(), n);
18136
18136
  const _hoisted_1$r = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("span", null, "高级搜索", -1));
18137
18137
  function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
18138
18138
  const _component_FilterOutlined = vue.resolveComponent("FilterOutlined");
@@ -18150,7 +18150,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
18150
18150
  _: 1
18151
18151
  });
18152
18152
  }
18153
- const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$z], ["__scopeId", "data-v-f74ee46a"]]);
18153
+ const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$z], ["__scopeId", "data-v-c5892da8"]]);
18154
18154
  const index$4 = "";
18155
18155
  const searchType = [
18156
18156
  {
@@ -19523,8 +19523,8 @@ const _sfc_main$N = vue.defineComponent({
19523
19523
  };
19524
19524
  }
19525
19525
  });
19526
- const TableGlobalSearch_vue_vue_type_style_index_0_scoped_90331d26_lang = "";
19527
- const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-90331d26"), n = n(), vue.popScopeId(), n);
19526
+ const TableGlobalSearch_vue_vue_type_style_index_0_scoped_5f6e7403_lang = "";
19527
+ const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-5f6e7403"), n = n(), vue.popScopeId(), n);
19528
19528
  const _hoisted_1$m = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索全部", -1));
19529
19529
  const _hoisted_2$8 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索特定字段", -1));
19530
19530
  const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", null, null, -1));
@@ -19582,7 +19582,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
19582
19582
  ])
19583
19583
  ], 4);
19584
19584
  }
19585
- const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$u], ["__scopeId", "data-v-90331d26"]]);
19585
+ const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$u], ["__scopeId", "data-v-5f6e7403"]]);
19586
19586
  const _sfc_main$M = vue.defineComponent({
19587
19587
  components: {
19588
19588
  TableAdvancedSearch: TableAdvancedSearch$1,
@@ -20136,7 +20136,7 @@ const _sfc_main$K = vue.defineComponent({
20136
20136
  setup() {
20137
20137
  }
20138
20138
  });
20139
- const TableDict_vue_vue_type_style_index_0_scoped_7d89a0e9_lang = "";
20139
+ const TableDict_vue_vue_type_style_index_0_scoped_21146269_lang = "";
20140
20140
  function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
20141
20141
  var _a2;
20142
20142
  const _component_Icon = vue.resolveComponent("Icon");
@@ -20165,7 +20165,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
20165
20165
  ]), 1032, ["color"])
20166
20166
  ]);
20167
20167
  }
20168
- const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$r], ["__scopeId", "data-v-7d89a0e9"]]);
20168
+ const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$r], ["__scopeId", "data-v-21146269"]]);
20169
20169
  const index$3 = "";
20170
20170
  function useTable(tableProps) {
20171
20171
  const tableRef = vue.ref(null);
@@ -20437,8 +20437,8 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
20437
20437
  };
20438
20438
  }
20439
20439
  });
20440
- const Modal_vue_vue_type_style_index_0_scoped_4dc415ac_lang = "";
20441
- const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-4dc415ac"]]);
20440
+ const Modal_vue_vue_type_style_index_0_scoped_24f758b3_lang = "";
20441
+ const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-24f758b3"]]);
20442
20442
  const _hoisted_1$i = { class: "api-modal-select" };
20443
20443
  const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
20444
20444
  __name: "ApiModalSelect",
@@ -20586,8 +20586,8 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
20586
20586
  };
20587
20587
  }
20588
20588
  });
20589
- const ApiModalSelect_vue_vue_type_style_index_0_scoped_fb4fe18d_lang = "";
20590
- const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-fb4fe18d"]]);
20589
+ const ApiModalSelect_vue_vue_type_style_index_0_scoped_5427533c_lang = "";
20590
+ const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-5427533c"]]);
20591
20591
  const Description$1 = "";
20592
20592
  const basicColProps = 24;
20593
20593
  const basicProps$3 = vue.reactive({
@@ -20595,6 +20595,14 @@ const basicProps$3 = vue.reactive({
20595
20595
  type: Array,
20596
20596
  default: () => []
20597
20597
  },
20598
+ summaryPrecision: {
20599
+ type: Number,
20600
+ default: 2
20601
+ },
20602
+ summaryTotalFields: {
20603
+ type: Array,
20604
+ default: () => []
20605
+ },
20598
20606
  labelAlign: {
20599
20607
  type: String,
20600
20608
  default: () => "right"
@@ -20704,7 +20712,7 @@ const Description = /* @__PURE__ */ vue.defineComponent({
20704
20712
  const rows = vue.computed(() => {
20705
20713
  let element = null;
20706
20714
  return getProps.value.schema.map((item) => {
20707
- var _a2, _b, _c, _d, _e, _f, _g, _h;
20715
+ var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j;
20708
20716
  if ((item == null ? void 0 : item.component) === "Divider") {
20709
20717
  return vue.createVNode(antDesignVue.Divider, null, null);
20710
20718
  } else if ((item == null ? void 0 : item.component) === "Group") {
@@ -20716,30 +20724,36 @@ const Description = /* @__PURE__ */ vue.defineComponent({
20716
20724
  "label": item == null ? void 0 : item.label
20717
20725
  }, null)]);
20718
20726
  } else {
20727
+ const data = getProps.value.data;
20719
20728
  if (item == null ? void 0 : item.customRender) {
20720
- element = (item == null ? void 0 : item.customRender) ? item.customRender(getProps.value.data) : null;
20729
+ element = (item == null ? void 0 : item.customRender) ? item.customRender(data) : null;
20730
+ } else if ((_a2 = getProps.value.summaryTotalFields) == null ? void 0 : _a2.length) {
20731
+ element = slots[`${item.field}Value`] ? (_b = slots[`${item.field}Value`]) == null ? void 0 : _b.call(slots, {
20732
+ model: data,
20733
+ field: data[`${item.field}`]
20734
+ }) : 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}`];
20721
20735
  } else {
20722
- element = slots[`${item.field}Value`] ? (_a2 = slots[`${item.field}Value`]) == null ? void 0 : _a2.call(slots, {
20723
- model: getProps.value.data,
20724
- field: getProps.value.data[`${item.field}`]
20725
- }) : getProps.value.data[`${item.field}`];
20736
+ element = slots[`${item.field}Value`] ? (_c = slots[`${item.field}Value`]) == null ? void 0 : _c.call(slots, {
20737
+ model: data,
20738
+ field: data[`${item.field}`]
20739
+ }) : data[`${item.field}`];
20726
20740
  }
20727
- const ifShow = utils.isBoolean(item == null ? void 0 : item.ifShow) || utils.isFunction(item == null ? void 0 : item.ifShow) ? utils.isFunction(item.ifShow) ? item.ifShow(getProps.value.data) : item.ifShow : true;
20741
+ const ifShow = utils.isBoolean(item == null ? void 0 : item.ifShow) || utils.isFunction(item == null ? void 0 : item.ifShow) ? utils.isFunction(item.ifShow) ? item.ifShow(data) : item.ifShow : true;
20728
20742
  return ifShow ? vue.createVNode("div", {
20729
20743
  "class": `${prefixCls2}-row`,
20730
20744
  "style": {
20731
- flex: `0 0 ${(((_b = item == null ? void 0 : item.colProps) == null ? void 0 : _b.span) || basicColProps) / 24 * 100}%`,
20745
+ flex: `0 0 ${(((_d = item == null ? void 0 : item.colProps) == null ? void 0 : _d.span) || basicColProps) / 24 * 100}%`,
20732
20746
  flexDirection: getProps.value.mode === "horizontal" ? "row" : "column"
20733
20747
  }
20734
20748
  }, [(slots == null ? void 0 : slots[`${item.field}Label`]) || item.label ? vue.createVNode("span", {
20735
20749
  "style": {
20736
20750
  width: getProps.value.mode === "horizontal" ? `${getProps.value.labelWidth}px` : "auto",
20737
20751
  ...labelAlignCss.value,
20738
- ...((_c = getProps.value) == null ? void 0 : _c.labelStyle) ? (_d = getProps.value) == null ? void 0 : _d.labelStyle : {},
20752
+ ...((_e = getProps.value) == null ? void 0 : _e.labelStyle) ? (_f = getProps.value) == null ? void 0 : _f.labelStyle : {},
20739
20753
  ...(item == null ? void 0 : item.labelStyle) ? item == null ? void 0 : item.labelStyle : {}
20740
20754
  },
20741
20755
  "class": `${prefixCls2}-label`
20742
- }, [slots[`${item.field}Label`] ? (_e = slots[`${item.field}Label`]) == null ? void 0 : _e.call(slots, {
20756
+ }, [slots[`${item.field}Label`] ? (_g = slots[`${item.field}Label`]) == null ? void 0 : _g.call(slots, {
20743
20757
  model: getProps.value.data,
20744
20758
  field: item.label
20745
20759
  }) : item.label, (item == null ? void 0 : item.helpMessage) ? vue.createVNode(_sfc_main$1A, {
@@ -20750,10 +20764,10 @@ const Description = /* @__PURE__ */ vue.defineComponent({
20750
20764
  "class": "mx-1",
20751
20765
  "text": item == null ? void 0 : item.helpMessage,
20752
20766
  "iconSize": "9px"
20753
- }, null) : "", ((_f = getProps.value) == null ? void 0 : _f.isShowColon) ? ":" : vue.createVNode("span", null, null)]) : vue.createVNode(vue.Fragment, null, [vue.createTextVNode(" ")]), vue.createVNode("span", {
20767
+ }, null) : "", ((_h = getProps.value) == null ? void 0 : _h.isShowColon) ? ":" : vue.createVNode("span", null, null)]) : vue.createVNode(vue.Fragment, null, [vue.createTextVNode(" ")]), vue.createVNode("span", {
20754
20768
  "class": `${prefixCls2}-value`,
20755
20769
  "style": {
20756
- ...((_g = getProps.value) == null ? void 0 : _g.contentStyle) ? (_h = getProps.value) == null ? void 0 : _h.contentStyle : {},
20770
+ ...((_i = getProps.value) == null ? void 0 : _i.contentStyle) ? (_j = getProps.value) == null ? void 0 : _j.contentStyle : {},
20757
20771
  ...(item == null ? void 0 : item.contentStyle) ? item == null ? void 0 : item.contentStyle : {}
20758
20772
  }
20759
20773
  }, [element, (item == null ? void 0 : item.isCopy) ? vue.createVNode("span", {
@@ -24620,7 +24634,7 @@ const _sfc_main$B = vue.defineComponent({
24620
24634
  };
24621
24635
  }
24622
24636
  });
24623
- const CropperAvatar_vue_vue_type_style_index_0_scoped_31315934_lang = "";
24637
+ const CropperAvatar_vue_vue_type_style_index_0_scoped_6ac45907_lang = "";
24624
24638
  const _hoisted_1$e = ["src"];
24625
24639
  function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
24626
24640
  const _component_Icon = vue.resolveComponent("Icon");
@@ -24671,7 +24685,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
24671
24685
  }, null, 8, ["onRegister", "onUploadSuccess", "onBeforeUpload", "uploadApi", "src"])
24672
24686
  ], 6);
24673
24687
  }
24674
- const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$l], ["__scopeId", "data-v-31315934"]]);
24688
+ const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$l], ["__scopeId", "data-v-6ac45907"]]);
24675
24689
  const props = {
24676
24690
  startVal: { type: Number, default: 0 },
24677
24691
  endVal: { type: Number, default: 2021 },
@@ -24843,7 +24857,7 @@ const _sfc_main$y = vue.defineComponent({
24843
24857
  }
24844
24858
  }
24845
24859
  });
24846
- const Loading_vue_vue_type_style_index_0_scoped_ee545744_lang = "";
24860
+ const Loading_vue_vue_type_style_index_0_scoped_33b23b82_lang = "";
24847
24861
  function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
24848
24862
  const _component_Spin = vue.resolveComponent("Spin");
24849
24863
  return vue.withDirectives((vue.openBlock(), vue.createElementBlock("section", {
@@ -24859,7 +24873,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
24859
24873
  [vue.vShow, _ctx.loading]
24860
24874
  ]);
24861
24875
  }
24862
- const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$j], ["__scopeId", "data-v-ee545744"]]);
24876
+ const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$j], ["__scopeId", "data-v-33b23b82"]]);
24863
24877
  function createLoading(props2, target, wait = false) {
24864
24878
  let vm = null;
24865
24879
  const data = vue.reactive({
@@ -26652,7 +26666,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
26652
26666
  },
26653
26667
  setup(__props, { expose: __expose }) {
26654
26668
  vue.useCssVars((_ctx) => ({
26655
- "989efb00": props2.labelWidth
26669
+ "7210fae1": props2.labelWidth
26656
26670
  }));
26657
26671
  const props2 = __props;
26658
26672
  const form = vue.ref({});
@@ -26823,8 +26837,8 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
26823
26837
  };
26824
26838
  }
26825
26839
  });
26826
- const DescriptionsForm_vue_vue_type_style_index_0_scoped_2d2eda80_lang = "";
26827
- const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-2d2eda80"]]);
26840
+ const DescriptionsForm_vue_vue_type_style_index_0_scoped_b1ced086_lang = "";
26841
+ const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-b1ced086"]]);
26828
26842
  const DescriptionsForm = utils.withInstall(descriptionsForm);
26829
26843
  const basicResizeWrapperProps = vue.reactive({
26830
26844
  designWidth: {
@@ -26869,8 +26883,8 @@ const __default__$1 = vue.defineComponent({
26869
26883
  });
26870
26884
  const __injectCSSVars__ = () => {
26871
26885
  vue.useCssVars((_ctx) => ({
26872
- "0aaa544f": _ctx.designWidth,
26873
- "30d13bbe": _ctx.designHeight
26886
+ "1a93f028": _ctx.designWidth,
26887
+ "1e1b1b05": _ctx.designHeight
26874
26888
  }));
26875
26889
  };
26876
26890
  const __setup__ = __default__$1.setup;
@@ -27350,7 +27364,7 @@ const styles = `.vue-colorful {
27350
27364
  border-color: transparent;
27351
27365
  border-bottom: 12px solid #000;
27352
27366
  border-radius: 8px 8px 0 0;
27353
- background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),
27367
+ background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),\r
27354
27368
  linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
27355
27369
  }
27356
27370
  .vue-colorful__pointer-fill, .vue-colorful__alpha-gradient {
@@ -27371,15 +27385,15 @@ const styles = `.vue-colorful {
27371
27385
  height: 24px;
27372
27386
  }
27373
27387
  .vue-colorful__hue {
27374
- background: linear-gradient(
27375
- to right,
27376
- #f00 0%,
27377
- #ff0 17%,
27378
- #0f0 33%,
27379
- #0ff 50%,
27380
- #00f 67%,
27381
- #f0f 83%,
27382
- #f00 100%
27388
+ background: linear-gradient(\r
27389
+ to right,\r
27390
+ #f00 0%,\r
27391
+ #ff0 17%,\r
27392
+ #0f0 33%,\r
27393
+ #0ff 50%,\r
27394
+ #00f 67%,\r
27395
+ #f0f 83%,\r
27396
+ #f00 100%\r
27383
27397
  );
27384
27398
  }
27385
27399
  .vue-colorful__last-control {
@@ -31932,6 +31946,10 @@ const setConstConfig = (config) => {
31932
31946
  DEFAULT_ALIGN = config.align;
31933
31947
  };
31934
31948
  const shyTableBasicProps = vue.reactive({
31949
+ summaryPrecision: {
31950
+ type: Number,
31951
+ default: 2
31952
+ },
31935
31953
  isShowTitle: {
31936
31954
  type: Boolean,
31937
31955
  default: true
@@ -33429,8 +33447,8 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
33429
33447
  };
33430
33448
  }
33431
33449
  });
33432
- const Table_vue_vue_type_style_index_0_scoped_abb4b35a_lang = "";
33433
- const Table = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-abb4b35a"]]);
33450
+ const Table_vue_vue_type_style_index_0_scoped_0d7f83ba_lang = "";
33451
+ const Table = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-0d7f83ba"]]);
33434
33452
  const ShyComponentMap = /* @__PURE__ */ new Map();
33435
33453
  ShyComponentMap.set("Input", antDesignVue.Input);
33436
33454
  ShyComponentMap.set("InputGroup", antDesignVue.Input.Group);
@@ -35319,8 +35337,8 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
35319
35337
  };
35320
35338
  }
35321
35339
  });
35322
- const Modal_vue_vue_type_style_index_0_scoped_0ca4fd85_lang = "";
35323
- const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-0ca4fd85"]]);
35340
+ const Modal_vue_vue_type_style_index_0_scoped_15e2dcbb_lang = "";
35341
+ const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-15e2dcbb"]]);
35324
35342
  const _hoisted_1$4 = { class: "api-modal-select" };
35325
35343
  const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
35326
35344
  __name: "ApiModalSelect",
@@ -35468,8 +35486,8 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
35468
35486
  };
35469
35487
  }
35470
35488
  });
35471
- const ApiModalSelect_vue_vue_type_style_index_0_scoped_45845a8d_lang = "";
35472
- const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-45845a8d"]]);
35489
+ const ApiModalSelect_vue_vue_type_style_index_0_scoped_5019fbdf_lang = "";
35490
+ const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-5019fbdf"]]);
35473
35491
  const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
35474
35492
  __name: "FormWrapper",
35475
35493
  props: {
@@ -35755,7 +35773,7 @@ function useDataSource(propsRef, {
35755
35773
  const total = dataSourceRef.value.reduce((acc, cur) => {
35756
35774
  return +acc + (+cur[field] || 0);
35757
35775
  }, 0);
35758
- obj[field] = Number.parseFloat(total.toFixed(2)).toLocaleString("en-US");
35776
+ obj[field] = total.toFixed(vue.unref(propsRef).summaryPrecision).replace(/(\d)(?=(\d{3})+\.)/g, "$1,");
35759
35777
  });
35760
35778
  return obj;
35761
35779
  });
@@ -37790,12 +37808,12 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37790
37808
  return hasPermission(column2.auth) && isIfShow(column2);
37791
37809
  }).map((column2) => {
37792
37810
  var _a2, _b;
37793
- const isSummaryCol = vue.unref(propsRef).showSummaryTotal && ((_b = (_a2 = vue.unref(propsRef).summaryTotalFields) == null ? void 0 : _a2.includes) == null ? void 0 : _b.call(
37811
+ const isSummaryCol = (_b = (_a2 = vue.unref(propsRef).summaryTotalFields) == null ? void 0 : _a2.includes) == null ? void 0 : _b.call(
37794
37812
  _a2,
37795
37813
  column2.dataIndex
37796
- ));
37814
+ );
37797
37815
  const summaryFormat = (text) => {
37798
- return text ? utils.isNumber(+text) && !isNaN(+text) ? Number.parseFloat((+text).toFixed(2)).toLocaleString("en-US") : text : "";
37816
+ return text ? utils.isNumber(+text) && !isNaN(+text) ? (+text).toFixed(vue.unref(propsRef).summaryPrecision).replace(/(\d)(?=(\d{3})+\.)/g, "$1,") : text : "";
37799
37817
  };
37800
37818
  const {
37801
37819
  slots,
@@ -38368,8 +38386,8 @@ const _sfc_main$3 = vue.defineComponent({
38368
38386
  };
38369
38387
  }
38370
38388
  });
38371
- const TableGlobalSearch_vue_vue_type_style_index_0_scoped_b3419d34_lang = "";
38372
- const _withScopeId = (n) => (vue.pushScopeId("data-v-b3419d34"), n = n(), vue.popScopeId(), n);
38389
+ const TableGlobalSearch_vue_vue_type_style_index_0_scoped_ac81b595_lang = "";
38390
+ const _withScopeId = (n) => (vue.pushScopeId("data-v-ac81b595"), n = n(), vue.popScopeId(), n);
38373
38391
  const _hoisted_1$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索全部", -1));
38374
38392
  const _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索特定字段", -1));
38375
38393
  const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, null, -1));
@@ -38427,7 +38445,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
38427
38445
  ])
38428
38446
  ], 4);
38429
38447
  }
38430
- const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__scopeId", "data-v-b3419d34"]]);
38448
+ const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__scopeId", "data-v-ac81b595"]]);
38431
38449
  const _sfc_main$2 = vue.defineComponent({
38432
38450
  name: "EditTableHeaderIcon",
38433
38451
  components: { FormOutlined: FormOutlined$1 },
@@ -39646,8 +39664,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
39646
39664
  };
39647
39665
  }
39648
39666
  });
39649
- const Process_vue_vue_type_style_index_0_scoped_fcb6f220_lang = "";
39650
- const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fcb6f220"]]);
39667
+ const Process_vue_vue_type_style_index_0_scoped_d4b02362_lang = "";
39668
+ const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d4b02362"]]);
39651
39669
  exports.AdvancedSearch = _sfc_main$T;
39652
39670
  exports.ApiCascader = ApiCascader$1;
39653
39671
  exports.ApiModalSelect = ApiModalSelect$1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3h1-ui",
3
- "version": "3.0.0-next.52",
3
+ "version": "3.0.0-next.53",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -29,9 +29,9 @@
29
29
  "vue-json-pretty": "^2.2.3",
30
30
  "vxe-table": "^4.3.6",
31
31
  "xe-utils": "^3.5.7",
32
- "@shy-plugins/tinymce": "^1.0.6",
32
+ "@shy-plugins/use": "1.0.0-next.1",
33
33
  "@shy-plugins/utils": "1.0.0-next.1",
34
- "@shy-plugins/use": "1.0.0-next.1"
34
+ "@shy-plugins/tinymce": "^1.0.6"
35
35
  },
36
36
  "types": "es/ui/index.d.ts",
37
37
  "devDependencies": {