3h1-ui 3.0.0-next.44 → 3.0.0-next.45

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
@@ -5396,7 +5396,7 @@ const _sfc_main$1F = defineComponent({
5396
5396
  };
5397
5397
  }
5398
5398
  });
5399
- const StrengthMeter_vue_vue_type_style_index_0_scoped_678d40fd_lang = "";
5399
+ const StrengthMeter_vue_vue_type_style_index_0_scoped_c8d77eaa_lang = "";
5400
5400
  const _hoisted_1$G = ["data-score"];
5401
5401
  function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
5402
5402
  const _component_InputPassword = resolveComponent("InputPassword");
@@ -5428,7 +5428,7 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
5428
5428
  ], 2)
5429
5429
  ], 2);
5430
5430
  }
5431
- const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$X], ["__scopeId", "data-v-678d40fd"]]);
5431
+ const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$X], ["__scopeId", "data-v-c8d77eaa"]]);
5432
5432
  const _sfc_main$1E = defineComponent({
5433
5433
  name: "SvgIcon",
5434
5434
  props: {
@@ -5464,7 +5464,7 @@ const _sfc_main$1E = defineComponent({
5464
5464
  return { symbolId, prefixCls: prefixCls2, getStyle };
5465
5465
  }
5466
5466
  });
5467
- const SvgIcon_vue_vue_type_style_index_0_scoped_905fa4a6_lang = "";
5467
+ const SvgIcon_vue_vue_type_style_index_0_scoped_fa64fe87_lang = "";
5468
5468
  const _hoisted_1$F = ["xlink:href"];
5469
5469
  function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
5470
5470
  return openBlock(), createElementBlock("svg", {
@@ -5475,7 +5475,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
5475
5475
  createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$F)
5476
5476
  ], 6);
5477
5477
  }
5478
- const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$W], ["__scopeId", "data-v-905fa4a6"]]);
5478
+ const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$W], ["__scopeId", "data-v-fa64fe87"]]);
5479
5479
  const SVG_END_WITH_FLAG = "|svg";
5480
5480
  const _sfc_main$1D = defineComponent({
5481
5481
  name: "Icon",
@@ -5786,8 +5786,8 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
5786
5786
  };
5787
5787
  }
5788
5788
  });
5789
- const BasicArrow_vue_vue_type_style_index_0_scoped_fea26917_lang = "";
5790
- const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-fea26917"]]);
5789
+ const BasicArrow_vue_vue_type_style_index_0_scoped_03d87956_lang = "";
5790
+ const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-03d87956"]]);
5791
5791
  const props$c = {
5792
5792
  /**
5793
5793
  * Help text max-width
@@ -5964,8 +5964,8 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
5964
5964
  };
5965
5965
  }
5966
5966
  });
5967
- const BasicTitle_vue_vue_type_style_index_0_scoped_df3764dc_lang = "";
5968
- const Divider = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-df3764dc"]]);
5967
+ const BasicTitle_vue_vue_type_style_index_0_scoped_c885e8af_lang = "";
5968
+ const Divider = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-c885e8af"]]);
5969
5969
  const props$b = {
5970
5970
  prefixCls: { type: String },
5971
5971
  helpMessage: {
@@ -9550,8 +9550,8 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
9550
9550
  };
9551
9551
  }
9552
9552
  });
9553
- const Table_vue_vue_type_style_index_0_scoped_95018c58_lang = "";
9554
- const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-95018c58"]]);
9553
+ const Table_vue_vue_type_style_index_0_scoped_9232fde4_lang = "";
9554
+ const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-9232fde4"]]);
9555
9555
  const modal = "";
9556
9556
  const modalProps = {
9557
9557
  visible: { type: Boolean },
@@ -10596,8 +10596,8 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
10596
10596
  };
10597
10597
  }
10598
10598
  });
10599
- const BasicTitle_vue_vue_type_style_index_0_scoped_fdc837af_lang = "";
10600
- const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-fdc837af"]]);
10599
+ const BasicTitle_vue_vue_type_style_index_0_scoped_a48f9d86_lang = "";
10600
+ const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-a48f9d86"]]);
10601
10601
  const _sfc_main$1i = defineComponent({
10602
10602
  name: "BasicModalHeader",
10603
10603
  components: { BasicTitle },
@@ -14623,8 +14623,8 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
14623
14623
  };
14624
14624
  }
14625
14625
  });
14626
- const TreeHeader_vue_vue_type_style_index_0_scoped_14537c01_lang = "";
14627
- const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-14537c01"]]);
14626
+ const TreeHeader_vue_vue_type_style_index_0_scoped_340c1177_lang = "";
14627
+ const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-340c1177"]]);
14628
14628
  process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
14629
14629
  process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
14630
14630
  const isString$1 = (val) => typeof val === "string";
@@ -15514,7 +15514,7 @@ const _sfc_main$11 = defineComponent({
15514
15514
  return { prefixCls: prefixCls2, getCalcContentWidth };
15515
15515
  }
15516
15516
  });
15517
- const PageFooter_vue_vue_type_style_index_0_scoped_44a47dbd_lang = "";
15517
+ const PageFooter_vue_vue_type_style_index_0_scoped_b4695833_lang = "";
15518
15518
  function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
15519
15519
  return openBlock(), createElementBlock("div", {
15520
15520
  class: normalizeClass(_ctx.prefixCls),
@@ -15533,7 +15533,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
15533
15533
  ], 2)
15534
15534
  ], 6);
15535
15535
  }
15536
- const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$F], ["__scopeId", "data-v-44a47dbd"]]);
15536
+ const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$F], ["__scopeId", "data-v-b4695833"]]);
15537
15537
  const _sfc_main$10 = defineComponent({
15538
15538
  name: "PageWrapper",
15539
15539
  components: { PageFooter, PageHeader },
@@ -18149,8 +18149,8 @@ const _sfc_main$U = defineComponent({
18149
18149
  return { isVisibleAdvancedSearch, handleIconClick };
18150
18150
  }
18151
18151
  });
18152
- const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_f74ee46a_lang = "";
18153
- const _withScopeId$2 = (n) => (pushScopeId("data-v-f74ee46a"), n = n(), popScopeId(), n);
18152
+ const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_c5892da8_lang = "";
18153
+ const _withScopeId$2 = (n) => (pushScopeId("data-v-c5892da8"), n = n(), popScopeId(), n);
18154
18154
  const _hoisted_1$r = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", null, "高级搜索", -1));
18155
18155
  function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
18156
18156
  const _component_FilterOutlined = resolveComponent("FilterOutlined");
@@ -18168,7 +18168,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
18168
18168
  _: 1
18169
18169
  });
18170
18170
  }
18171
- const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$z], ["__scopeId", "data-v-f74ee46a"]]);
18171
+ const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$z], ["__scopeId", "data-v-c5892da8"]]);
18172
18172
  const index$4 = "";
18173
18173
  const searchType = [
18174
18174
  {
@@ -19541,8 +19541,8 @@ const _sfc_main$N = defineComponent({
19541
19541
  };
19542
19542
  }
19543
19543
  });
19544
- const TableGlobalSearch_vue_vue_type_style_index_0_scoped_90331d26_lang = "";
19545
- const _withScopeId$1 = (n) => (pushScopeId("data-v-90331d26"), n = n(), popScopeId(), n);
19544
+ const TableGlobalSearch_vue_vue_type_style_index_0_scoped_5f6e7403_lang = "";
19545
+ const _withScopeId$1 = (n) => (pushScopeId("data-v-5f6e7403"), n = n(), popScopeId(), n);
19546
19546
  const _hoisted_1$m = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, "搜索全部", -1));
19547
19547
  const _hoisted_2$8 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, "搜索特定字段", -1));
19548
19548
  const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
@@ -19600,7 +19600,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
19600
19600
  ])
19601
19601
  ], 4);
19602
19602
  }
19603
- const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$u], ["__scopeId", "data-v-90331d26"]]);
19603
+ const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$u], ["__scopeId", "data-v-5f6e7403"]]);
19604
19604
  const _sfc_main$M = defineComponent({
19605
19605
  components: {
19606
19606
  TableAdvancedSearch: TableAdvancedSearch$1,
@@ -20154,7 +20154,7 @@ const _sfc_main$K = defineComponent({
20154
20154
  setup() {
20155
20155
  }
20156
20156
  });
20157
- const TableDict_vue_vue_type_style_index_0_scoped_7d89a0e9_lang = "";
20157
+ const TableDict_vue_vue_type_style_index_0_scoped_21146269_lang = "";
20158
20158
  function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
20159
20159
  var _a2;
20160
20160
  const _component_Icon = resolveComponent("Icon");
@@ -20183,7 +20183,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
20183
20183
  ]), 1032, ["color"])
20184
20184
  ]);
20185
20185
  }
20186
- const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$r], ["__scopeId", "data-v-7d89a0e9"]]);
20186
+ const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$r], ["__scopeId", "data-v-21146269"]]);
20187
20187
  const index$3 = "";
20188
20188
  function useTable(tableProps) {
20189
20189
  const tableRef = ref(null);
@@ -20455,8 +20455,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
20455
20455
  };
20456
20456
  }
20457
20457
  });
20458
- const Modal_vue_vue_type_style_index_0_scoped_4dc415ac_lang = "";
20459
- const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-4dc415ac"]]);
20458
+ const Modal_vue_vue_type_style_index_0_scoped_24f758b3_lang = "";
20459
+ const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-24f758b3"]]);
20460
20460
  const _hoisted_1$i = { class: "api-modal-select" };
20461
20461
  const _sfc_main$H = /* @__PURE__ */ defineComponent({
20462
20462
  __name: "ApiModalSelect",
@@ -20604,8 +20604,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
20604
20604
  };
20605
20605
  }
20606
20606
  });
20607
- const ApiModalSelect_vue_vue_type_style_index_0_scoped_fb4fe18d_lang = "";
20608
- const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-fb4fe18d"]]);
20607
+ const ApiModalSelect_vue_vue_type_style_index_0_scoped_5427533c_lang = "";
20608
+ const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-5427533c"]]);
20609
20609
  const Description$1 = "";
20610
20610
  const basicColProps = 24;
20611
20611
  const basicProps$3 = reactive({
@@ -24638,7 +24638,7 @@ const _sfc_main$B = defineComponent({
24638
24638
  };
24639
24639
  }
24640
24640
  });
24641
- const CropperAvatar_vue_vue_type_style_index_0_scoped_31315934_lang = "";
24641
+ const CropperAvatar_vue_vue_type_style_index_0_scoped_6ac45907_lang = "";
24642
24642
  const _hoisted_1$e = ["src"];
24643
24643
  function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
24644
24644
  const _component_Icon = resolveComponent("Icon");
@@ -24689,7 +24689,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
24689
24689
  }, null, 8, ["onRegister", "onUploadSuccess", "onBeforeUpload", "uploadApi", "src"])
24690
24690
  ], 6);
24691
24691
  }
24692
- const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$l], ["__scopeId", "data-v-31315934"]]);
24692
+ const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$l], ["__scopeId", "data-v-6ac45907"]]);
24693
24693
  const props = {
24694
24694
  startVal: { type: Number, default: 0 },
24695
24695
  endVal: { type: Number, default: 2021 },
@@ -24861,7 +24861,7 @@ const _sfc_main$y = defineComponent({
24861
24861
  }
24862
24862
  }
24863
24863
  });
24864
- const Loading_vue_vue_type_style_index_0_scoped_ee545744_lang = "";
24864
+ const Loading_vue_vue_type_style_index_0_scoped_33b23b82_lang = "";
24865
24865
  function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
24866
24866
  const _component_Spin = resolveComponent("Spin");
24867
24867
  return withDirectives((openBlock(), createElementBlock("section", {
@@ -24877,7 +24877,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
24877
24877
  [vShow, _ctx.loading]
24878
24878
  ]);
24879
24879
  }
24880
- const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$j], ["__scopeId", "data-v-ee545744"]]);
24880
+ const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$j], ["__scopeId", "data-v-33b23b82"]]);
24881
24881
  function createLoading(props2, target, wait = false) {
24882
24882
  let vm = null;
24883
24883
  const data = reactive({
@@ -26670,7 +26670,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
26670
26670
  },
26671
26671
  setup(__props, { expose: __expose }) {
26672
26672
  useCssVars((_ctx) => ({
26673
- "989efb00": props2.labelWidth
26673
+ "7210fae1": props2.labelWidth
26674
26674
  }));
26675
26675
  const props2 = __props;
26676
26676
  const form = ref({});
@@ -26841,8 +26841,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
26841
26841
  };
26842
26842
  }
26843
26843
  });
26844
- const DescriptionsForm_vue_vue_type_style_index_0_scoped_2d2eda80_lang = "";
26845
- const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-2d2eda80"]]);
26844
+ const DescriptionsForm_vue_vue_type_style_index_0_scoped_b1ced086_lang = "";
26845
+ const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-b1ced086"]]);
26846
26846
  const DescriptionsForm = withInstall$8(descriptionsForm);
26847
26847
  const basicResizeWrapperProps = reactive({
26848
26848
  designWidth: {
@@ -26887,8 +26887,8 @@ const __default__$1 = defineComponent({
26887
26887
  });
26888
26888
  const __injectCSSVars__ = () => {
26889
26889
  useCssVars((_ctx) => ({
26890
- "0aaa544f": _ctx.designWidth,
26891
- "30d13bbe": _ctx.designHeight
26890
+ "1a93f028": _ctx.designWidth,
26891
+ "1e1b1b05": _ctx.designHeight
26892
26892
  }));
26893
26893
  };
26894
26894
  const __setup__ = __default__$1.setup;
@@ -27368,7 +27368,7 @@ const styles = `.vue-colorful {
27368
27368
  border-color: transparent;
27369
27369
  border-bottom: 12px solid #000;
27370
27370
  border-radius: 8px 8px 0 0;
27371
- background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),
27371
+ background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),\r
27372
27372
  linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
27373
27373
  }
27374
27374
  .vue-colorful__pointer-fill, .vue-colorful__alpha-gradient {
@@ -27389,15 +27389,15 @@ const styles = `.vue-colorful {
27389
27389
  height: 24px;
27390
27390
  }
27391
27391
  .vue-colorful__hue {
27392
- background: linear-gradient(
27393
- to right,
27394
- #f00 0%,
27395
- #ff0 17%,
27396
- #0f0 33%,
27397
- #0ff 50%,
27398
- #00f 67%,
27399
- #f0f 83%,
27400
- #f00 100%
27392
+ background: linear-gradient(\r
27393
+ to right,\r
27394
+ #f00 0%,\r
27395
+ #ff0 17%,\r
27396
+ #0f0 33%,\r
27397
+ #0ff 50%,\r
27398
+ #00f 67%,\r
27399
+ #f0f 83%,\r
27400
+ #f00 100%\r
27401
27401
  );
27402
27402
  }
27403
27403
  .vue-colorful__last-control {
@@ -33447,8 +33447,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
33447
33447
  };
33448
33448
  }
33449
33449
  });
33450
- const Table_vue_vue_type_style_index_0_scoped_abb4b35a_lang = "";
33451
- 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"]]);
33452
33452
  const ShyComponentMap = /* @__PURE__ */ new Map();
33453
33453
  ShyComponentMap.set("Input", Input);
33454
33454
  ShyComponentMap.set("InputGroup", Input.Group);
@@ -35337,8 +35337,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
35337
35337
  };
35338
35338
  }
35339
35339
  });
35340
- const Modal_vue_vue_type_style_index_0_scoped_0ca4fd85_lang = "";
35341
- 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"]]);
35342
35342
  const _hoisted_1$4 = { class: "api-modal-select" };
35343
35343
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
35344
35344
  __name: "ApiModalSelect",
@@ -35486,8 +35486,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
35486
35486
  };
35487
35487
  }
35488
35488
  });
35489
- const ApiModalSelect_vue_vue_type_style_index_0_scoped_45845a8d_lang = "";
35490
- 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"]]);
35491
35491
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
35492
35492
  __name: "FormWrapper",
35493
35493
  props: {
@@ -37073,9 +37073,9 @@ const ShyTableColumn = /* @__PURE__ */ defineComponent({
37073
37073
  const table2 = useTableContext();
37074
37074
  const defaultRowSelection = omit$1(table2.getRowSelection(), "selectedRowKeys");
37075
37075
  let inited = false;
37076
+ let inset = false;
37076
37077
  const cachePlainOptions = ref([]);
37077
37078
  const plainOptions = ref([]);
37078
- const plainSortOptions = ref([]);
37079
37079
  const columnListRef = ref(null);
37080
37080
  const state = reactive({
37081
37081
  checkAll: true,
@@ -37091,7 +37091,7 @@ const ShyTableColumn = /* @__PURE__ */ defineComponent({
37091
37091
  return unref(table2 == null ? void 0 : table2.getBindValues) || {};
37092
37092
  });
37093
37093
  watch(() => table2.getColumns(), () => {
37094
- if (!state.isInit)
37094
+ if (!state.isInit || inset)
37095
37095
  return;
37096
37096
  reInit();
37097
37097
  }, {
@@ -37117,9 +37117,9 @@ const ShyTableColumn = /* @__PURE__ */ defineComponent({
37117
37117
  ignoreAction: true
37118
37118
  }).forEach((item) => {
37119
37119
  ret.push({
37120
- label: item.title || item.customTitle,
37121
- value: item.dataIndex || item.title,
37122
- ...item
37120
+ ...item,
37121
+ title: item.title || item.customTitle,
37122
+ dataIndex: item.dataIndex || item.title
37123
37123
  });
37124
37124
  });
37125
37125
  return ret;
@@ -37137,7 +37137,6 @@ const ShyTableColumn = /* @__PURE__ */ defineComponent({
37137
37137
  }).filter(Boolean);
37138
37138
  if (!plainOptions.value.length) {
37139
37139
  plainOptions.value = columns;
37140
- plainSortOptions.value = columns;
37141
37140
  cachePlainOptions.value = columns;
37142
37141
  state.defaultCheckList = checkList;
37143
37142
  } else {
@@ -37154,8 +37153,6 @@ const ShyTableColumn = /* @__PURE__ */ defineComponent({
37154
37153
  }
37155
37154
  const reInit = () => {
37156
37155
  const columns = getColumns();
37157
- plainOptions.value = columns;
37158
- cachePlainOptions.value = columns;
37159
37156
  unref(plainOptions).forEach((item) => {
37160
37157
  const findItem = columns.find((col) => col.dataIndex === item.dataIndex);
37161
37158
  if (findItem) {
@@ -37163,17 +37160,16 @@ const ShyTableColumn = /* @__PURE__ */ defineComponent({
37163
37160
  item.width = findItem.width;
37164
37161
  }
37165
37162
  });
37166
- const data = getResult(columns);
37167
- emit("columns-change", data);
37163
+ handleEmit(columns, false);
37168
37164
  };
37169
37165
  function onCheckAllChange(e) {
37170
- const checkList = plainOptions.value.map((item) => item.value);
37166
+ const checkList = plainOptions.value.map((item) => item.dataIndex);
37171
37167
  if (e.target.checked) {
37172
37168
  state.checkedList = checkList;
37173
- setColumns(checkList);
37169
+ handleEmit(checkList);
37174
37170
  } else {
37175
37171
  state.checkedList = [];
37176
- setColumns([]);
37172
+ handleEmit([]);
37177
37173
  }
37178
37174
  }
37179
37175
  const indeterminate = computed(() => {
@@ -37182,13 +37178,13 @@ const ShyTableColumn = /* @__PURE__ */ defineComponent({
37182
37178
  return checkedLen > 0 && checkedLen < len;
37183
37179
  });
37184
37180
  function onChange(checkedList) {
37185
- const len = plainSortOptions.value.length;
37181
+ const len = plainOptions.value.length;
37186
37182
  state.checkAll = checkedList.length === len;
37187
- const sortList = unref(plainSortOptions).map((item) => item.value);
37183
+ const sortList = unref(plainOptions).map((item) => item.dataIndex);
37188
37184
  checkedList.sort((prev2, next2) => {
37189
37185
  return sortList.indexOf(prev2) - sortList.indexOf(next2);
37190
37186
  });
37191
- setColumns(checkedList);
37187
+ handleEmit(checkedList);
37192
37188
  }
37193
37189
  let sortable;
37194
37190
  let sortableOrder = [];
@@ -37196,8 +37192,7 @@ const ShyTableColumn = /* @__PURE__ */ defineComponent({
37196
37192
  state.checkedList = [...state.defaultCheckList];
37197
37193
  state.checkAll = true;
37198
37194
  plainOptions.value = unref(cachePlainOptions);
37199
- plainSortOptions.value = unref(cachePlainOptions);
37200
- setColumns(table2.getCacheColumns());
37195
+ handleEmit(table2.getCacheColumns());
37201
37196
  sortable.sort(sortableOrder);
37202
37197
  }
37203
37198
  function handleVisibleChange() {
@@ -37223,7 +37218,7 @@ const ShyTableColumn = /* @__PURE__ */ defineComponent({
37223
37218
  if (isNullAndUnDef(oldIndex) || isNullAndUnDef(newIndex) || oldIndex === newIndex) {
37224
37219
  return;
37225
37220
  }
37226
- const columns = cloneDeep(plainSortOptions.value);
37221
+ const columns = cloneDeep(plainOptions.value);
37227
37222
  if (oldIndex > newIndex) {
37228
37223
  columns.splice(newIndex, 0, columns[oldIndex]);
37229
37224
  columns.splice(oldIndex + 1, 1);
@@ -37231,8 +37226,8 @@ const ShyTableColumn = /* @__PURE__ */ defineComponent({
37231
37226
  columns.splice(newIndex + 1, 0, columns[oldIndex]);
37232
37227
  columns.splice(oldIndex, 1);
37233
37228
  }
37234
- plainSortOptions.value = columns;
37235
- setColumns(columns.map((col) => col.value).filter((value) => state.checkedList.includes(value)));
37229
+ const tempCol = columns.map((col) => col.dataIndex).filter((value) => state.checkedList.includes(value));
37230
+ handleEmit(tempCol);
37236
37231
  }
37237
37232
  });
37238
37233
  sortableOrder = sortable.toArray();
@@ -37266,27 +37261,51 @@ const ShyTableColumn = /* @__PURE__ */ defineComponent({
37266
37261
  (_a2 = table2.setCacheColumnsByField) == null ? void 0 : _a2.call(table2, item.dataIndex, {
37267
37262
  fixed: isFixed
37268
37263
  });
37269
- setColumns(columns);
37264
+ handleEmit(columns);
37270
37265
  }
37271
37266
  function getResult(columns) {
37272
- return unref(plainOptions).map((col) => {
37273
- const defaultHidden = columns.findIndex((c) => c === col.value || typeof c !== "string" && c.dataIndex === col.value && (isBoolean(c.defaultHidden) ? !c.defaultHidden : false)) !== -1;
37267
+ const tempOptions = unref(plainOptions).map((col) => {
37268
+ let defaultHidden = false;
37269
+ if (columns.every((val) => typeof val === "string")) {
37270
+ defaultHidden = columns.findIndex((val) => val === col.dataIndex) === -1;
37271
+ } else {
37272
+ const find = columns.find((val) => val.dataIndex === col.dataIndex);
37273
+ defaultHidden = find ? isBoolean(find.defaultHidden) ? find.defaultHidden : false : true;
37274
+ }
37274
37275
  return {
37275
- dataIndex: col.value,
37276
+ title: col.title,
37277
+ dataIndex: col.dataIndex,
37276
37278
  fixed: col.fixed,
37277
37279
  defaultHidden,
37278
37280
  width: col.width
37279
37281
  };
37280
37282
  });
37281
- }
37282
- function setColumns(columns) {
37283
- table2.setColumns(columns);
37284
- const data = getResult(columns);
37285
- emit("columns-change", data);
37283
+ if (!columns.every((val) => typeof val === "string")) {
37284
+ const sortList = columns.map((item) => item.dataIndex);
37285
+ tempOptions.sort((prev2, next2) => {
37286
+ return sortList.indexOf(prev2.dataIndex) - sortList.indexOf(next2.dataIndex);
37287
+ });
37288
+ return tempOptions;
37289
+ }
37290
+ tempOptions.sort((prev2, next2) => {
37291
+ return columns.indexOf(prev2.dataIndex) - columns.indexOf(next2.dataIndex);
37292
+ });
37293
+ return tempOptions;
37286
37294
  }
37287
37295
  function getPopupContainer2() {
37288
37296
  return isFunction$4(attrs.getPopupContainer) ? attrs.getPopupContainer() : getPopupContainer$1();
37289
37297
  }
37298
+ const handleEmit = useDebounceFn$1((columns, set2 = true) => {
37299
+ const data = getResult(columns);
37300
+ emit("columns-change", data);
37301
+ if (set2) {
37302
+ inset = true;
37303
+ table2.setColumns(columns);
37304
+ setTimeout(() => {
37305
+ inset = false;
37306
+ });
37307
+ }
37308
+ }, 100);
37290
37309
  return () => {
37291
37310
  return createVNode(Tooltip, {
37292
37311
  "placement": "top"
@@ -37342,9 +37361,9 @@ const ShyTableColumn = /* @__PURE__ */ defineComponent({
37342
37361
  }, [createVNode(DragOutlined$1, {
37343
37362
  "class": "table-column-drag-icon"
37344
37363
  }, null), createVNode(Checkbox, {
37345
- "value": item.value
37364
+ "value": item.dataIndex
37346
37365
  }, {
37347
- default: () => [item.label]
37366
+ default: () => [item.title]
37348
37367
  }), createVNode(Tooltip, {
37349
37368
  "placement": "bottomLeft",
37350
37369
  "mouseLeaveDelay": 0.4,
@@ -37354,7 +37373,7 @@ const ShyTableColumn = /* @__PURE__ */ defineComponent({
37354
37373
  "rotate": 90,
37355
37374
  "class": [`${prefixCls2}__fixed-left`, {
37356
37375
  active: item.fixed === "left",
37357
- disabled: !state.checkedList.includes(item.value)
37376
+ disabled: !state.checkedList.includes(item.dataIndex)
37358
37377
  }],
37359
37378
  "onClick": () => handleColumnFixed(item, "left")
37360
37379
  }, null)],
@@ -37370,7 +37389,7 @@ const ShyTableColumn = /* @__PURE__ */ defineComponent({
37370
37389
  "rotate": 90,
37371
37390
  "class": [`${prefixCls2}__fixed-right`, {
37372
37391
  active: item.fixed === "right",
37373
- disabled: !state.checkedList.includes(item.value)
37392
+ disabled: !state.checkedList.includes(item.dataIndex)
37374
37393
  }],
37375
37394
  "onClick": () => handleColumnFixed(item, "right")
37376
37395
  }, null)],
@@ -38351,8 +38370,8 @@ const _sfc_main$3 = defineComponent({
38351
38370
  };
38352
38371
  }
38353
38372
  });
38354
- const TableGlobalSearch_vue_vue_type_style_index_0_scoped_b3419d34_lang = "";
38355
- const _withScopeId = (n) => (pushScopeId("data-v-b3419d34"), n = n(), popScopeId(), n);
38373
+ const TableGlobalSearch_vue_vue_type_style_index_0_scoped_ac81b595_lang = "";
38374
+ const _withScopeId = (n) => (pushScopeId("data-v-ac81b595"), n = n(), popScopeId(), n);
38356
38375
  const _hoisted_1$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "搜索全部", -1));
38357
38376
  const _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "搜索特定字段", -1));
38358
38377
  const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
@@ -38410,7 +38429,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
38410
38429
  ])
38411
38430
  ], 4);
38412
38431
  }
38413
- const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__scopeId", "data-v-b3419d34"]]);
38432
+ const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__scopeId", "data-v-ac81b595"]]);
38414
38433
  const _sfc_main$2 = defineComponent({
38415
38434
  name: "EditTableHeaderIcon",
38416
38435
  components: { FormOutlined: FormOutlined$1 },
@@ -39623,8 +39642,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39623
39642
  };
39624
39643
  }
39625
39644
  });
39626
- const Process_vue_vue_type_style_index_0_scoped_6d2645fc_lang = "";
39627
- const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6d2645fc"]]);
39645
+ const Process_vue_vue_type_style_index_0_scoped_e7917888_lang = "";
39646
+ const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e7917888"]]);
39628
39647
  export {
39629
39648
  _sfc_main$T as AdvancedSearch,
39630
39649
  ApiCascader$1 as ApiCascader,