3h1-ui 2.15.22 → 2.15.24

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.
Files changed (5) hide show
  1. package/es/index.js +339 -236
  2. package/es/style.css +2771 -1943
  3. package/lib/index.js +339 -236
  4. package/lib/style.css +2771 -1943
  5. package/package.json +3 -3
package/es/index.js CHANGED
@@ -3908,7 +3908,7 @@ const _export_sfc = (sfc, props2) => {
3908
3908
  }
3909
3909
  return target;
3910
3910
  };
3911
- function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
3911
+ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
3912
3912
  const _component_RadioButton = resolveComponent("RadioButton");
3913
3913
  const _component_Radio = resolveComponent("Radio");
3914
3914
  const _component_RadioGroup = resolveComponent("RadioGroup");
@@ -3948,7 +3948,7 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
3948
3948
  _: 1
3949
3949
  }, 16, ["value", "onChange"]);
3950
3950
  }
3951
- const ApiRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$T]]);
3951
+ const ApiRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$U]]);
3952
3952
  const _sfc_main$1r = defineComponent({
3953
3953
  name: "RadioButtonGroup",
3954
3954
  components: {
@@ -3982,7 +3982,7 @@ const _sfc_main$1r = defineComponent({
3982
3982
  return { state, getOptions, attrs };
3983
3983
  }
3984
3984
  });
3985
- function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
3985
+ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
3986
3986
  const _component_RadioButton = resolveComponent("RadioButton");
3987
3987
  const _component_RadioGroup = resolveComponent("RadioGroup");
3988
3988
  return openBlock(), createBlock(_component_RadioGroup, mergeProps(_ctx.attrs, {
@@ -4007,7 +4007,7 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
4007
4007
  _: 1
4008
4008
  }, 16, ["value"]);
4009
4009
  }
4010
- const RadioButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$S]]);
4010
+ const RadioButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$T]]);
4011
4011
  const _sfc_main$1q = defineComponent({
4012
4012
  name: "ApiSelect",
4013
4013
  components: {
@@ -4166,7 +4166,7 @@ const _sfc_main$1q = defineComponent({
4166
4166
  };
4167
4167
  }
4168
4168
  });
4169
- function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
4169
+ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
4170
4170
  const _component_LoadingOutlined = resolveComponent("LoadingOutlined");
4171
4171
  const _component_Select = resolveComponent("Select");
4172
4172
  return openBlock(), createBlock(_component_Select, mergeProps({ onDropdownVisibleChange: _ctx.handleFetch }, _ctx.$attrs, {
@@ -4207,7 +4207,7 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
4207
4207
  } : void 0
4208
4208
  ]), 1040, ["onDropdownVisibleChange", "onChange", "options", "value", "filter-option"]);
4209
4209
  }
4210
- const ApiSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["render", _sfc_render$R]]);
4210
+ const ApiSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["render", _sfc_render$S]]);
4211
4211
  const _sfc_main$1p = defineComponent({
4212
4212
  name: "ApiTree",
4213
4213
  components: { ATree: Tree, LoadingOutlined: LoadingOutlined$1 },
@@ -4281,7 +4281,7 @@ const _sfc_main$1p = defineComponent({
4281
4281
  return { getAttrs, loading, handleChange };
4282
4282
  }
4283
4283
  });
4284
- function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
4284
+ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
4285
4285
  const _component_LoadingOutlined = resolveComponent("LoadingOutlined");
4286
4286
  const _component_a_tree = resolveComponent("a-tree");
4287
4287
  return openBlock(), createBlock(_component_a_tree, mergeProps(_ctx.getAttrs, { onChange: _ctx.handleChange }), createSlots({ _: 2 }, [
@@ -4302,7 +4302,7 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
4302
4302
  } : void 0
4303
4303
  ]), 1040, ["onChange"]);
4304
4304
  }
4305
- const ApiTree = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$Q]]);
4305
+ const ApiTree = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$R]]);
4306
4306
  const _sfc_main$1o = defineComponent({
4307
4307
  name: "ApiTreeSelect",
4308
4308
  components: { ATreeSelect: TreeSelect, LoadingOutlined: LoadingOutlined$1 },
@@ -4388,7 +4388,7 @@ const _sfc_main$1o = defineComponent({
4388
4388
  return { getAttrs, loading, handleChange, filterTreeNode };
4389
4389
  }
4390
4390
  });
4391
- function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
4391
+ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
4392
4392
  const _component_LoadingOutlined = resolveComponent("LoadingOutlined");
4393
4393
  const _component_a_tree_select = resolveComponent("a-tree-select");
4394
4394
  return openBlock(), createBlock(_component_a_tree_select, mergeProps(_ctx.getAttrs, {
@@ -4413,7 +4413,7 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
4413
4413
  } : void 0
4414
4414
  ]), 1040, ["onChange", "filterTreeNode"]);
4415
4415
  }
4416
- const ApiTreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$P]]);
4416
+ const ApiTreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$Q]]);
4417
4417
  const _sfc_main$1n = defineComponent({
4418
4418
  name: "ApiCascader",
4419
4419
  components: {
@@ -4590,7 +4590,7 @@ const _sfc_main$1n = defineComponent({
4590
4590
  };
4591
4591
  }
4592
4592
  });
4593
- function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
4593
+ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
4594
4594
  const _component_LoadingOutlined = resolveComponent("LoadingOutlined");
4595
4595
  const _component_a_cascader = resolveComponent("a-cascader");
4596
4596
  return openBlock(), createBlock(_component_a_cascader, {
@@ -4624,7 +4624,7 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
4624
4624
  } : void 0
4625
4625
  ]), 1032, ["value", "options", "load-data", "onChange", "displayRender"]);
4626
4626
  }
4627
- const ApiCascader = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$O]]);
4627
+ const ApiCascader = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$P]]);
4628
4628
  const _sfc_main$1m = defineComponent({
4629
4629
  name: "ApiTransfer",
4630
4630
  components: { Transfer },
@@ -4745,7 +4745,7 @@ const _sfc_main$1m = defineComponent({
4745
4745
  return { getTargetKeys, getdataSource, getAttrs, handleChange };
4746
4746
  }
4747
4747
  });
4748
- function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
4748
+ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
4749
4749
  const _component_Transfer = resolveComponent("Transfer");
4750
4750
  return openBlock(), createBlock(_component_Transfer, mergeProps(_ctx.getAttrs, {
4751
4751
  "data-source": _ctx.getdataSource,
@@ -4758,7 +4758,7 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
4758
4758
  onChange: _ctx.handleChange
4759
4759
  }), null, 16, ["data-source", "filter-option", "render", "showSelectAll", "selectedKeys", "targetKeys", "showSearch", "onChange"]);
4760
4760
  }
4761
- const ApiTransfer = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$N]]);
4761
+ const ApiTransfer = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$O]]);
4762
4762
  const _sfc_main$1l = defineComponent({
4763
4763
  name: "StrengthMeter",
4764
4764
  components: { InputPassword: Input.Password },
@@ -4809,7 +4809,7 @@ const _sfc_main$1l = defineComponent({
4809
4809
  });
4810
4810
  const StrengthMeter_vue_vue_type_style_index_0_scoped_c8d77eaa_lang = "";
4811
4811
  const _hoisted_1$z = ["data-score"];
4812
- function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
4812
+ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
4813
4813
  const _component_InputPassword = resolveComponent("InputPassword");
4814
4814
  return openBlock(), createElementBlock("div", {
4815
4815
  class: normalizeClass([_ctx.prefixCls, "relative"])
@@ -4839,7 +4839,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
4839
4839
  ], 2)
4840
4840
  ], 2);
4841
4841
  }
4842
- const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$M], ["__scopeId", "data-v-c8d77eaa"]]);
4842
+ const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$N], ["__scopeId", "data-v-c8d77eaa"]]);
4843
4843
  const _sfc_main$1k = defineComponent({
4844
4844
  name: "SvgIcon",
4845
4845
  props: {
@@ -4877,7 +4877,7 @@ const _sfc_main$1k = defineComponent({
4877
4877
  });
4878
4878
  const SvgIcon_vue_vue_type_style_index_0_scoped_fa64fe87_lang = "";
4879
4879
  const _hoisted_1$y = ["xlink:href"];
4880
- function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
4880
+ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
4881
4881
  return openBlock(), createElementBlock("svg", {
4882
4882
  class: normalizeClass([_ctx.prefixCls, _ctx.$attrs.class, _ctx.spin && "svg-icon-spin"]),
4883
4883
  style: normalizeStyle(_ctx.getStyle),
@@ -4886,7 +4886,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
4886
4886
  createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$y)
4887
4887
  ], 6);
4888
4888
  }
4889
- const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$L], ["__scopeId", "data-v-fa64fe87"]]);
4889
+ const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$M], ["__scopeId", "data-v-fa64fe87"]]);
4890
4890
  const SVG_END_WITH_FLAG = "|svg";
4891
4891
  const _sfc_main$1j = defineComponent({
4892
4892
  name: "Icon",
@@ -4969,7 +4969,7 @@ const _sfc_main$1j = defineComponent({
4969
4969
  }
4970
4970
  });
4971
4971
  const Icon_vue_vue_type_style_index_0_lang = "";
4972
- function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
4972
+ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
4973
4973
  const _component_SvgIcon = resolveComponent("SvgIcon");
4974
4974
  return _ctx.isSvgIcon ? (openBlock(), createBlock(_component_SvgIcon, {
4975
4975
  key: 0,
@@ -4984,7 +4984,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
4984
4984
  style: normalizeStyle(_ctx.getWrapStyle)
4985
4985
  }, null, 6));
4986
4986
  }
4987
- const Icon2 = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$K]]);
4987
+ const Icon2 = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$L]]);
4988
4988
  function createJavascriptTransition(name, functions, mode = "in-out") {
4989
4989
  return /* @__PURE__ */ defineComponent({
4990
4990
  name,
@@ -5133,7 +5133,7 @@ const _sfc_main$1i = defineComponent({
5133
5133
  };
5134
5134
  }
5135
5135
  });
5136
- function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
5136
+ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
5137
5137
  return openBlock(), createBlock(Transition, mergeProps({ mode: "out-in" }, toHandlers(_ctx.on)), {
5138
5138
  default: withCtx(() => [
5139
5139
  renderSlot(_ctx.$slots, "default")
@@ -5141,7 +5141,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
5141
5141
  _: 3
5142
5142
  }, 16);
5143
5143
  }
5144
- const CollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$J]]);
5144
+ const CollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$K]]);
5145
5145
  createJavascriptTransition(
5146
5146
  "expand-x-transition",
5147
5147
  ExpandTransitionGenerator("", true)
@@ -5358,7 +5358,7 @@ const _sfc_main$1e = defineComponent({
5358
5358
  props: props$b,
5359
5359
  emits: ["expand"]
5360
5360
  });
5361
- function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
5361
+ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
5362
5362
  const _component_BasicTitle = resolveComponent("BasicTitle");
5363
5363
  const _component_BasicArrow = resolveComponent("BasicArrow");
5364
5364
  return openBlock(), createElementBlock("div", {
@@ -5388,7 +5388,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
5388
5388
  ], 2)
5389
5389
  ], 2);
5390
5390
  }
5391
- const CollapseHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$I]]);
5391
+ const CollapseHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$J]]);
5392
5392
  const _hoisted_1$x = { class: "p-2" };
5393
5393
  const prefixCls$5 = "shy-collapse-container";
5394
5394
  const _sfc_main$1d = /* @__PURE__ */ defineComponent({
@@ -5696,7 +5696,7 @@ const _sfc_main$1c = defineComponent({
5696
5696
  });
5697
5697
  const Scrollbar_vue_vue_type_style_index_0_lang = "";
5698
5698
  const _hoisted_1$w = { class: "scrollbar" };
5699
- function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
5699
+ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
5700
5700
  const _component_bar = resolveComponent("bar");
5701
5701
  return openBlock(), createElementBlock("div", _hoisted_1$w, [
5702
5702
  createElementVNode("div", {
@@ -5733,7 +5733,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
5733
5733
  ], 64)) : createCommentVNode("", true)
5734
5734
  ]);
5735
5735
  }
5736
- const Scrollbar = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$H]]);
5736
+ const Scrollbar = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$I]]);
5737
5737
  const _sfc_main$1b = defineComponent({
5738
5738
  name: "ScrollContainer",
5739
5739
  components: { Scrollbar },
@@ -5791,7 +5791,7 @@ const _sfc_main$1b = defineComponent({
5791
5791
  }
5792
5792
  });
5793
5793
  const ScrollContainer_vue_vue_type_style_index_0_lang$1 = "";
5794
- function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
5794
+ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
5795
5795
  const _component_Scrollbar = resolveComponent("Scrollbar");
5796
5796
  return openBlock(), createBlock(_component_Scrollbar, mergeProps({
5797
5797
  ref: "scrollbarRef",
@@ -5803,7 +5803,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
5803
5803
  _: 3
5804
5804
  }, 16);
5805
5805
  }
5806
- const ScrollContainer$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$G]]);
5806
+ const ScrollContainer$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$H]]);
5807
5807
  const props$a = {
5808
5808
  /**
5809
5809
  * Waiting time, if the time is specified, whether visible or not, it will be automatically loaded after the specified time
@@ -5911,7 +5911,7 @@ const _sfc_main$1a = defineComponent({
5911
5911
  });
5912
5912
  const _hoisted_1$v = { key: "component" };
5913
5913
  const _hoisted_2$b = { key: "skeleton" };
5914
- function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
5914
+ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
5915
5915
  const _component_Skeleton = resolveComponent("Skeleton");
5916
5916
  return openBlock(), createBlock(TransitionGroup, mergeProps({ class: "h-full w-full" }, _ctx.$attrs, {
5917
5917
  ref: "elRef",
@@ -5929,7 +5929,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
5929
5929
  _: 3
5930
5930
  }, 16, ["name", "tag"]);
5931
5931
  }
5932
- const LazyContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$F]]);
5932
+ const LazyContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$G]]);
5933
5933
  const iconsData = [
5934
5934
  "ant-design:account-book-filled",
5935
5935
  "ant-design:account-book-outlined",
@@ -7521,7 +7521,7 @@ const _sfc_main$18 = defineComponent({
7521
7521
  return { handleStart, currentCount, loading, getButtonText, isStart };
7522
7522
  }
7523
7523
  });
7524
- function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
7524
+ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
7525
7525
  const _component_AButton = resolveComponent("AButton");
7526
7526
  return openBlock(), createBlock(_component_AButton, mergeProps(_ctx.$attrs, {
7527
7527
  disabled: _ctx.isStart,
@@ -7534,7 +7534,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
7534
7534
  _: 1
7535
7535
  }, 16, ["disabled", "onClick", "loading"]);
7536
7536
  }
7537
- const CountButton = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$E]]);
7537
+ const CountButton = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$F]]);
7538
7538
  const props$8 = {
7539
7539
  value: { type: String },
7540
7540
  size: {
@@ -7559,7 +7559,7 @@ const _sfc_main$17 = defineComponent({
7559
7559
  }
7560
7560
  });
7561
7561
  const CountdownInput_vue_vue_type_style_index_0_lang = "";
7562
- function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
7562
+ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
7563
7563
  const _component_CountButton = resolveComponent("CountButton");
7564
7564
  const _component_a_input = resolveComponent("a-input");
7565
7565
  return openBlock(), createBlock(_component_a_input, mergeProps(_ctx.$attrs, {
@@ -7588,7 +7588,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
7588
7588
  })
7589
7589
  ]), 1040, ["class", "size", "value"]);
7590
7590
  }
7591
- const CountdownInput = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$D]]);
7591
+ const CountdownInput = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$E]]);
7592
7592
  const style$2 = "";
7593
7593
  const _sfc_main$16 = /* @__PURE__ */ defineComponent({
7594
7594
  __name: "Tinymce",
@@ -8332,7 +8332,7 @@ const _sfc_main$14 = defineComponent({
8332
8332
  }
8333
8333
  });
8334
8334
  const ScrollContainer_vue_vue_type_style_index_0_lang = "";
8335
- function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
8335
+ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
8336
8336
  const _component_Scrollbar = resolveComponent("Scrollbar");
8337
8337
  return openBlock(), createBlock(_component_Scrollbar, mergeProps({
8338
8338
  ref: "scrollbarRef",
@@ -8344,7 +8344,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
8344
8344
  _: 3
8345
8345
  }, 16);
8346
8346
  }
8347
- const ScrollContainer = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$C]]);
8347
+ const ScrollContainer = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$D]]);
8348
8348
  function createContext(context, key2 = Symbol(), options = {}) {
8349
8349
  const { readonly: readonly$1 = true, createProvider = false, native = false } = options;
8350
8350
  const state = reactive(context);
@@ -8477,7 +8477,7 @@ const _sfc_main$13 = defineComponent({
8477
8477
  }
8478
8478
  });
8479
8479
  const _hoisted_1$s = ["loading-tip"];
8480
- function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
8480
+ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
8481
8481
  const _component_ScrollContainer = resolveComponent("ScrollContainer");
8482
8482
  return openBlock(), createBlock(_component_ScrollContainer, { ref: "wrapperRef" }, {
8483
8483
  default: withCtx(() => [
@@ -8492,7 +8492,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
8492
8492
  _: 3
8493
8493
  }, 512);
8494
8494
  }
8495
- const ModalWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$B]]);
8495
+ const ModalWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$C]]);
8496
8496
  function getKey$1(namespace, key2) {
8497
8497
  if (!namespace) {
8498
8498
  return key2;
@@ -8555,7 +8555,7 @@ const _sfc_main$12 = defineComponent({
8555
8555
  }
8556
8556
  });
8557
8557
  const ModalClose_vue_vue_type_style_index_0_lang = "";
8558
- function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
8558
+ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
8559
8559
  const _component_FullscreenExitOutlined = resolveComponent("FullscreenExitOutlined");
8560
8560
  const _component_Tooltip = resolveComponent("Tooltip");
8561
8561
  const _component_FullscreenOutlined = resolveComponent("FullscreenOutlined");
@@ -8601,7 +8601,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
8601
8601
  })
8602
8602
  ], 2);
8603
8603
  }
8604
- const ModalClose = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$A]]);
8604
+ const ModalClose = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$B]]);
8605
8605
  const _sfc_main$11 = defineComponent({
8606
8606
  name: "BasicModalFooter",
8607
8607
  props: basicProps$6,
@@ -8616,7 +8616,7 @@ const _sfc_main$11 = defineComponent({
8616
8616
  return { handleOk, handleCancel };
8617
8617
  }
8618
8618
  });
8619
- function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
8619
+ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
8620
8620
  const _component_a_button = resolveComponent("a-button");
8621
8621
  return openBlock(), createElementBlock("div", null, [
8622
8622
  renderSlot(_ctx.$slots, "insertFooter"),
@@ -8641,7 +8641,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
8641
8641
  renderSlot(_ctx.$slots, "appendFooter")
8642
8642
  ]);
8643
8643
  }
8644
- const ModalFooter = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$z]]);
8644
+ const ModalFooter = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$A]]);
8645
8645
  function deepMerge(src = {}, target = {}) {
8646
8646
  let key2;
8647
8647
  const res = cloneDeep(src);
@@ -8825,7 +8825,7 @@ const _sfc_main$_ = defineComponent({
8825
8825
  },
8826
8826
  emits: ["dblclick"]
8827
8827
  });
8828
- function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
8828
+ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
8829
8829
  const _component_BasicTitle = resolveComponent("BasicTitle");
8830
8830
  return openBlock(), createBlock(_component_BasicTitle, { helpMessage: _ctx.helpMessage }, {
8831
8831
  default: withCtx(() => [
@@ -8834,7 +8834,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
8834
8834
  _: 1
8835
8835
  }, 8, ["helpMessage"]);
8836
8836
  }
8837
- const ModalHeader = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$y]]);
8837
+ const ModalHeader = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$z]]);
8838
8838
  function useFullScreen(context) {
8839
8839
  const fullScreenRef = ref(false);
8840
8840
  const getWrapClassName = computed(() => {
@@ -9002,7 +9002,7 @@ const _sfc_main$Z = defineComponent({
9002
9002
  };
9003
9003
  }
9004
9004
  });
9005
- function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
9005
+ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
9006
9006
  const _component_ModalClose = resolveComponent("ModalClose");
9007
9007
  const _component_ModalHeader = resolveComponent("ModalHeader");
9008
9008
  const _component_ModalFooter = resolveComponent("ModalFooter");
@@ -9089,7 +9089,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
9089
9089
  })
9090
9090
  ]), 1040, ["onCancel"]);
9091
9091
  }
9092
- const basicModal = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$x]]);
9092
+ const basicModal = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$y]]);
9093
9093
  const projectName = {}.VITE_GLOB_APP_TITLE;
9094
9094
  function error(message) {
9095
9095
  throw new Error(`[${projectName} error]:${message}`);
@@ -9411,13 +9411,13 @@ const buttonProps = {
9411
9411
  iconSize: { type: Number, default: 14 },
9412
9412
  onClick: { type: Function, default: null }
9413
9413
  };
9414
- const __default__$4 = defineComponent({
9414
+ const __default__$3 = defineComponent({
9415
9415
  name: "AButton",
9416
9416
  extends: Button$1,
9417
9417
  inheritAttrs: false
9418
9418
  });
9419
9419
  const _sfc_main$Y = /* @__PURE__ */ defineComponent({
9420
- ...__default__$4,
9420
+ ...__default__$3,
9421
9421
  props: buttonProps,
9422
9422
  setup(__props) {
9423
9423
  const props2 = __props;
@@ -9694,11 +9694,11 @@ const ACTION_COLUMN_WIDTH = 160;
9694
9694
  const setConstConfig = (config) => {
9695
9695
  DEFAULT_ALIGN = config.align;
9696
9696
  };
9697
- const __default__$3 = {
9697
+ const __default__$2 = {
9698
9698
  name: "TableAction"
9699
9699
  };
9700
9700
  const _sfc_main$V = /* @__PURE__ */ defineComponent({
9701
- ...__default__$3,
9701
+ ...__default__$2,
9702
9702
  props: {
9703
9703
  actions: {
9704
9704
  type: Array,
@@ -11454,7 +11454,7 @@ const _sfc_main$N = defineComponent({
11454
11454
  };
11455
11455
  }
11456
11456
  });
11457
- function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
11457
+ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
11458
11458
  const _component_BasicButton = resolveComponent("BasicButton");
11459
11459
  const _component_Button = resolveComponent("Button");
11460
11460
  const _component_FormItem = resolveComponent("FormItem");
@@ -11493,7 +11493,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
11493
11493
  })
11494
11494
  ], 4)) : createCommentVNode("", true);
11495
11495
  }
11496
- const FormAction = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$w]]);
11496
+ const FormAction = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$x]]);
11497
11497
  function tryDeconstructArray(key2, value, target) {
11498
11498
  const pattern = /^\[(.+)\]$/;
11499
11499
  if (pattern.test(key2)) {
@@ -12448,7 +12448,7 @@ const _sfc_main$M = defineComponent({
12448
12448
  };
12449
12449
  }
12450
12450
  });
12451
- function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
12451
+ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
12452
12452
  const _component_FormItem = resolveComponent("FormItem");
12453
12453
  const _component_Row = resolveComponent("Row");
12454
12454
  const _component_FormAction = resolveComponent("FormAction");
@@ -12538,7 +12538,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
12538
12538
  })
12539
12539
  ], 64);
12540
12540
  }
12541
- const BasicForm = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$v]]);
12541
+ const BasicForm = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$w]]);
12542
12542
  const index$6 = "";
12543
12543
  function useComponentRegister(compName, comp) {
12544
12544
  add(compName, comp);
@@ -12935,7 +12935,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
12935
12935
  const TreeHeader_vue_vue_type_style_index_0_scoped_a0f20f9d_lang = "";
12936
12936
  const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-a0f20f9d"]]);
12937
12937
  /**
12938
- * @vue/shared v3.4.30
12938
+ * @vue/shared v3.4.37
12939
12939
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
12940
12940
  * @license MIT
12941
12941
  **/
@@ -13829,7 +13829,7 @@ const _sfc_main$H = defineComponent({
13829
13829
  }
13830
13830
  });
13831
13831
  const PageFooter_vue_vue_type_style_index_0_scoped_b4695833_lang = "";
13832
- function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
13832
+ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
13833
13833
  return openBlock(), createElementBlock("div", {
13834
13834
  class: normalizeClass(_ctx.prefixCls),
13835
13835
  style: normalizeStyle({ width: _ctx.getCalcContentWidth })
@@ -13847,7 +13847,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
13847
13847
  ], 2)
13848
13848
  ], 6);
13849
13849
  }
13850
- const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$u], ["__scopeId", "data-v-b4695833"]]);
13850
+ const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$v], ["__scopeId", "data-v-b4695833"]]);
13851
13851
  const _sfc_main$G = defineComponent({
13852
13852
  name: "PageWrapper",
13853
13853
  components: { PageFooter, PageHeader },
@@ -13975,7 +13975,7 @@ const _sfc_main$G = defineComponent({
13975
13975
  }
13976
13976
  });
13977
13977
  const PageWrapper_vue_vue_type_style_index_0_lang = "";
13978
- function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
13978
+ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
13979
13979
  const _component_PageHeader = resolveComponent("PageHeader");
13980
13980
  const _component_PageFooter = resolveComponent("PageFooter");
13981
13981
  return openBlock(), createElementBlock("div", {
@@ -14024,7 +14024,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
14024
14024
  }, 512)) : createCommentVNode("", true)
14025
14025
  ], 2);
14026
14026
  }
14027
- const PageWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$t]]);
14027
+ const PageWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$u]]);
14028
14028
  const prefixCls$1 = "shy-basic-page-second";
14029
14029
  const PageSecond = /* @__PURE__ */ defineComponent({
14030
14030
  props: {
@@ -14109,7 +14109,7 @@ const _sfc_main$F = defineComponent({
14109
14109
  components: { FormOutlined: FormOutlined$1 },
14110
14110
  props: { title: { type: String, default: "" } }
14111
14111
  });
14112
- function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
14112
+ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
14113
14113
  const _component_FormOutlined = resolveComponent("FormOutlined");
14114
14114
  return openBlock(), createElementBlock("span", null, [
14115
14115
  renderSlot(_ctx.$slots, "default"),
@@ -14117,13 +14117,13 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
14117
14117
  createVNode(_component_FormOutlined)
14118
14118
  ]);
14119
14119
  }
14120
- const EditTableHeaderCell = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$s]]);
14120
+ const EditTableHeaderCell = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$t]]);
14121
14121
  const _hoisted_1$m = { key: 1 };
14122
- const __default__$2 = {
14122
+ const __default__$1 = {
14123
14123
  name: "TableHeaderCell"
14124
14124
  };
14125
14125
  const _sfc_main$E = /* @__PURE__ */ defineComponent({
14126
- ...__default__$2,
14126
+ ...__default__$1,
14127
14127
  props: {
14128
14128
  column: { default: () => {
14129
14129
  return {};
@@ -15086,18 +15086,38 @@ function useColumns$1(propsRef, getPaginationRef, tableAction, wrapRef) {
15086
15086
  if (!isString$3(firstColumn) && !isArray$3(firstColumn)) {
15087
15087
  columnsRef.value = columns;
15088
15088
  } else {
15089
+ let deepFilter = function(arr, keys2) {
15090
+ let temp = cloneDeep(arr);
15091
+ return temp.filter((item) => {
15092
+ var _a2;
15093
+ if (item.children) {
15094
+ item.children = deepFilter(item.children, keys2);
15095
+ }
15096
+ return keys2.includes(((_a2 = item.dataIndex) == null ? void 0 : _a2.toString()) || item.key) || item.children && item.children.length > 0;
15097
+ });
15098
+ };
15089
15099
  const columnKeys = columns.map(
15090
15100
  (m) => m.toString()
15091
15101
  );
15092
15102
  const newColumns = [];
15093
15103
  cacheColumns.forEach((item) => {
15094
15104
  var _a2;
15095
- newColumns.push({
15096
- ...item,
15097
- defaultHidden: !columnKeys.includes(
15098
- ((_a2 = item.dataIndex) == null ? void 0 : _a2.toString()) || item.key
15099
- )
15100
- });
15105
+ if (item.children) {
15106
+ let children = deepFilter(item.children, columnKeys);
15107
+ if (children.length > 0) {
15108
+ newColumns.push({
15109
+ ...item,
15110
+ children
15111
+ });
15112
+ }
15113
+ } else {
15114
+ newColumns.push({
15115
+ ...item,
15116
+ defaultHidden: !columnKeys.includes(
15117
+ ((_a2 = item.dataIndex) == null ? void 0 : _a2.toString()) || item.key
15118
+ )
15119
+ });
15120
+ }
15101
15121
  });
15102
15122
  if (!isEqual(cacheKeys, columns)) {
15103
15123
  newColumns.sort((prev, next) => {
@@ -15941,15 +15961,21 @@ function useTableStyle(propsRef, prefixCls2) {
15941
15961
  }
15942
15962
  return { getRowClassName };
15943
15963
  }
15944
- const __default__$1 = {
15945
- name: "ColumnSetting"
15946
- };
15947
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
15948
- ...__default__$1,
15964
+ const _sfc_main$C = defineComponent({
15965
+ name: "ColumnSetting",
15966
+ components: {
15967
+ SettingOutlined: SettingOutlined$1,
15968
+ Popover,
15969
+ Tooltip,
15970
+ Checkbox,
15971
+ CheckboxGroup: Checkbox.Group,
15972
+ DragOutlined: DragOutlined$1,
15973
+ ScrollContainer: ScrollContainer$1,
15974
+ Divider: Divider$1,
15975
+ Icon: Icon2
15976
+ },
15949
15977
  emits: ["columns-change"],
15950
- setup(__props, { emit: __emit }) {
15951
- const emit = __emit;
15952
- const attrs = useAttrs$2();
15978
+ setup(_, { emit, attrs }) {
15953
15979
  const { t: t2 } = useI18n$1();
15954
15980
  t2("component.table.settingColumn");
15955
15981
  const table2 = useTableContext();
@@ -15983,25 +16009,66 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15983
16009
  checkIndex.value = !!values.showIndexColumn;
15984
16010
  checkSelect.value = !!values.rowSelection;
15985
16011
  });
16012
+ function getLeafNodes(columns) {
16013
+ let leafColumns = [];
16014
+ let leaf = (tree) => {
16015
+ tree.forEach((column) => {
16016
+ if (column.children) {
16017
+ leaf(column.children);
16018
+ } else {
16019
+ leafColumns.push({
16020
+ label: column.title || column.customTitle,
16021
+ value: column.dataIndex || column.title,
16022
+ hasParent: true,
16023
+ ...column
16024
+ });
16025
+ }
16026
+ });
16027
+ };
16028
+ leaf(columns);
16029
+ return leafColumns;
16030
+ }
15986
16031
  function getColumns() {
15987
- const ret = [];
16032
+ let ret = [];
15988
16033
  table2.getColumns({ ignoreIndex: true, ignoreAction: true }).forEach((item) => {
15989
- ret.push({
15990
- label: item.title || item.customTitle,
15991
- value: item.dataIndex || item.title,
15992
- ...item
15993
- });
16034
+ if (item.children) {
16035
+ ret = ret.concat(getLeafNodes(item.children));
16036
+ } else {
16037
+ ret.push({
16038
+ label: item.title || item.customTitle,
16039
+ value: item.dataIndex || item.title,
16040
+ ...item
16041
+ });
16042
+ }
15994
16043
  });
15995
16044
  return ret;
15996
16045
  }
16046
+ function getLeafKey(tree) {
16047
+ let leafKeys = [];
16048
+ let leaf = (tree2) => {
16049
+ tree2.forEach((child) => {
16050
+ if (child.children) {
16051
+ leaf(child.children);
16052
+ } else {
16053
+ let key2 = child.dataIndex || child.title;
16054
+ leafKeys.push(key2);
16055
+ }
16056
+ });
16057
+ };
16058
+ leaf(tree);
16059
+ return leafKeys;
16060
+ }
15997
16061
  function init() {
15998
16062
  const columns = getColumns();
15999
16063
  const checkList = table2.getColumns({ ignoreAction: true, ignoreIndex: true }).map((item) => {
16000
16064
  if (item.defaultHidden) {
16001
16065
  return "";
16002
16066
  }
16067
+ if (item.children) {
16068
+ return getLeafKey(item.children);
16069
+ }
16003
16070
  return item.dataIndex || item.title;
16004
- }).filter(Boolean);
16071
+ }).flat().filter(Boolean);
16005
16072
  if (!plainOptions.value.length) {
16006
16073
  plainOptions.value = columns;
16007
16074
  plainSortOptions.value = columns;
@@ -16127,173 +16194,205 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
16127
16194
  const visible = columns.findIndex(
16128
16195
  (c) => c === col.value || typeof c !== "string" && c.dataIndex === col.value
16129
16196
  ) !== -1;
16130
- return { dataIndex: col.value, fixed: col.fixed, visible };
16197
+ return {
16198
+ dataIndex: col.value,
16199
+ fixed: col.fixed,
16200
+ visible,
16201
+ hasParent: col.hasParent
16202
+ };
16131
16203
  });
16132
16204
  emit("columns-change", data);
16133
16205
  }
16134
16206
  function getPopupContainer2() {
16135
16207
  return isFunction$4(attrs.getPopupContainer) ? attrs.getPopupContainer() : getPopupContainer$1();
16136
16208
  }
16137
- return (_ctx, _cache) => {
16138
- const _component_a_button = resolveComponent("a-button");
16139
- const _component_CheckboxGroup = resolveComponent("CheckboxGroup");
16140
- return openBlock(), createBlock(unref(Tooltip), { placement: "top" }, {
16209
+ return {
16210
+ t: t2,
16211
+ ...toRefs(state),
16212
+ indeterminate,
16213
+ onCheckAllChange,
16214
+ onChange,
16215
+ plainOptions,
16216
+ reset: reset2,
16217
+ prefixCls: prefixCls2,
16218
+ columnListRef,
16219
+ handleVisibleChange,
16220
+ checkIndex,
16221
+ checkSelect,
16222
+ handleIndexCheckChange,
16223
+ handleSelectCheckChange,
16224
+ defaultRowSelection,
16225
+ handleColumnFixed,
16226
+ getPopupContainer: getPopupContainer2
16227
+ };
16228
+ }
16229
+ });
16230
+ const ColumnSetting_vue_vue_type_style_index_0_lang$1 = "";
16231
+ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
16232
+ const _component_Checkbox = resolveComponent("Checkbox");
16233
+ const _component_a_button = resolveComponent("a-button");
16234
+ const _component_DragOutlined = resolveComponent("DragOutlined");
16235
+ const _component_Icon = resolveComponent("Icon");
16236
+ const _component_Tooltip = resolveComponent("Tooltip");
16237
+ const _component_Divider = resolveComponent("Divider");
16238
+ const _component_CheckboxGroup = resolveComponent("CheckboxGroup");
16239
+ const _component_ScrollContainer = resolveComponent("ScrollContainer");
16240
+ const _component_SettingOutlined = resolveComponent("SettingOutlined");
16241
+ const _component_Popover = resolveComponent("Popover");
16242
+ return openBlock(), createBlock(_component_Tooltip, { placement: "top" }, {
16243
+ title: withCtx(() => [
16244
+ createElementVNode("span", null, toDisplayString(_ctx.t("component.table.settingColumn")), 1)
16245
+ ]),
16246
+ default: withCtx(() => [
16247
+ createVNode(_component_Popover, {
16248
+ placement: "bottomLeft",
16249
+ trigger: "click",
16250
+ onVisibleChange: _ctx.handleVisibleChange,
16251
+ overlayClassName: `${_ctx.prefixCls}__cloumn-list`,
16252
+ getPopupContainer: _ctx.getPopupContainer
16253
+ }, {
16141
16254
  title: withCtx(() => [
16142
- createElementVNode("span", null, toDisplayString(unref(t2)("component.table.settingColumn")), 1)
16255
+ createElementVNode("div", {
16256
+ class: normalizeClass(`${_ctx.prefixCls}__popover-title`)
16257
+ }, [
16258
+ createVNode(_component_Checkbox, {
16259
+ indeterminate: _ctx.indeterminate,
16260
+ checked: _ctx.checkAll,
16261
+ "onUpdate:checked": _cache[0] || (_cache[0] = ($event) => _ctx.checkAll = $event),
16262
+ onChange: _ctx.onCheckAllChange
16263
+ }, {
16264
+ default: withCtx(() => [
16265
+ createTextVNode(toDisplayString(_ctx.t("component.table.settingColumnShow")), 1)
16266
+ ]),
16267
+ _: 1
16268
+ }, 8, ["indeterminate", "checked", "onChange"]),
16269
+ createVNode(_component_Checkbox, {
16270
+ checked: _ctx.checkIndex,
16271
+ "onUpdate:checked": _cache[1] || (_cache[1] = ($event) => _ctx.checkIndex = $event),
16272
+ onChange: _ctx.handleIndexCheckChange
16273
+ }, {
16274
+ default: withCtx(() => [
16275
+ createTextVNode(toDisplayString(_ctx.t("component.table.settingIndexColumnShow")), 1)
16276
+ ]),
16277
+ _: 1
16278
+ }, 8, ["checked", "onChange"]),
16279
+ createVNode(_component_Checkbox, {
16280
+ checked: _ctx.checkSelect,
16281
+ "onUpdate:checked": _cache[2] || (_cache[2] = ($event) => _ctx.checkSelect = $event),
16282
+ onChange: _ctx.handleSelectCheckChange,
16283
+ disabled: !_ctx.defaultRowSelection
16284
+ }, {
16285
+ default: withCtx(() => [
16286
+ createTextVNode(toDisplayString(_ctx.t("component.table.settingSelectColumnShow")), 1)
16287
+ ]),
16288
+ _: 1
16289
+ }, 8, ["checked", "onChange", "disabled"]),
16290
+ createVNode(_component_a_button, {
16291
+ size: "small",
16292
+ type: "link",
16293
+ onClick: _ctx.reset
16294
+ }, {
16295
+ default: withCtx(() => [
16296
+ createTextVNode(toDisplayString(_ctx.t("common.resetText")), 1)
16297
+ ]),
16298
+ _: 1
16299
+ }, 8, ["onClick"])
16300
+ ], 2)
16143
16301
  ]),
16144
- default: withCtx(() => [
16145
- createVNode(unref(Popover), {
16146
- placement: "bottomLeft",
16147
- trigger: "click",
16148
- onVisibleChange: handleVisibleChange,
16149
- overlayClassName: `${unref(prefixCls2)}__cloumn-list`,
16150
- getPopupContainer: getPopupContainer2
16151
- }, {
16152
- title: withCtx(() => [
16153
- createElementVNode("div", {
16154
- class: normalizeClass(`${unref(prefixCls2)}__popover-title`)
16155
- }, [
16156
- createVNode(unref(Checkbox), {
16157
- indeterminate: indeterminate.value,
16158
- checked: state.checkAll,
16159
- "onUpdate:checked": _cache[0] || (_cache[0] = ($event) => state.checkAll = $event),
16160
- onChange: onCheckAllChange
16161
- }, {
16162
- default: withCtx(() => [
16163
- createTextVNode(toDisplayString(unref(t2)("component.table.settingColumnShow")), 1)
16164
- ]),
16165
- _: 1
16166
- }, 8, ["indeterminate", "checked"]),
16167
- createVNode(unref(Checkbox), {
16168
- checked: checkIndex.value,
16169
- "onUpdate:checked": _cache[1] || (_cache[1] = ($event) => checkIndex.value = $event),
16170
- onChange: handleIndexCheckChange
16171
- }, {
16172
- default: withCtx(() => [
16173
- createTextVNode(toDisplayString(unref(t2)("component.table.settingIndexColumnShow")), 1)
16174
- ]),
16175
- _: 1
16176
- }, 8, ["checked"]),
16177
- createVNode(unref(Checkbox), {
16178
- checked: checkSelect.value,
16179
- "onUpdate:checked": _cache[2] || (_cache[2] = ($event) => checkSelect.value = $event),
16180
- onChange: handleSelectCheckChange,
16181
- disabled: !unref(defaultRowSelection)
16182
- }, {
16183
- default: withCtx(() => [
16184
- createTextVNode(toDisplayString(unref(t2)("component.table.settingSelectColumnShow")), 1)
16185
- ]),
16186
- _: 1
16187
- }, 8, ["checked", "disabled"]),
16188
- createVNode(_component_a_button, {
16189
- size: "small",
16190
- type: "link",
16191
- onClick: reset2
16192
- }, {
16193
- default: withCtx(() => [
16194
- createTextVNode(toDisplayString(unref(t2)("common.resetText")), 1)
16195
- ]),
16196
- _: 1
16197
- })
16198
- ], 2)
16199
- ]),
16200
- content: withCtx(() => [
16201
- createVNode(unref(ScrollContainer$1), null, {
16302
+ content: withCtx(() => [
16303
+ createVNode(_component_ScrollContainer, null, {
16304
+ default: withCtx(() => [
16305
+ createVNode(_component_CheckboxGroup, {
16306
+ value: _ctx.checkedList,
16307
+ "onUpdate:value": _cache[3] || (_cache[3] = ($event) => _ctx.checkedList = $event),
16308
+ onChange: _ctx.onChange,
16309
+ ref: "columnListRef"
16310
+ }, {
16202
16311
  default: withCtx(() => [
16203
- createVNode(_component_CheckboxGroup, {
16204
- value: state.checkedList,
16205
- "onUpdate:value": _cache[3] || (_cache[3] = ($event) => state.checkedList = $event),
16206
- onChange,
16207
- ref_key: "columnListRef",
16208
- ref: columnListRef
16209
- }, {
16210
- default: withCtx(() => [
16211
- (openBlock(true), createElementBlock(Fragment, null, renderList(plainOptions.value, (item) => {
16212
- return openBlock(), createElementBlock(Fragment, {
16213
- key: item.value
16214
- }, [
16215
- !("ifShow" in item && !item.ifShow) ? (openBlock(), createElementBlock("div", {
16216
- key: 0,
16217
- class: normalizeClass(`${unref(prefixCls2)}__check-item`)
16218
- }, [
16219
- createVNode(unref(DragOutlined$1), { class: "table-column-drag-icon" }),
16220
- createVNode(unref(Checkbox), {
16221
- value: item.value
16222
- }, {
16223
- default: withCtx(() => [
16224
- createTextVNode(toDisplayString(item.label), 1)
16225
- ]),
16226
- _: 2
16227
- }, 1032, ["value"]),
16228
- createVNode(unref(Tooltip), {
16229
- placement: "bottomLeft",
16230
- mouseLeaveDelay: 0.4,
16231
- getPopupContainer: getPopupContainer2
16232
- }, {
16233
- title: withCtx(() => [
16234
- createTextVNode(toDisplayString(unref(t2)("component.table.settingFixedLeft")), 1)
16235
- ]),
16236
- default: withCtx(() => [
16237
- createVNode(unref(Icon2), {
16238
- icon: "line-md:arrow-align-left",
16239
- class: normalizeClass([
16240
- `${unref(prefixCls2)}__fixed-left`,
16241
- {
16242
- active: item.fixed === "left",
16243
- disabled: !state.checkedList.includes(item.value)
16244
- }
16245
- ]),
16246
- onClick: ($event) => handleColumnFixed(item, "left")
16247
- }, null, 8, ["class", "onClick"])
16248
- ]),
16249
- _: 2
16250
- }, 1024),
16251
- createVNode(unref(Divider$1), { type: "vertical" }),
16252
- createVNode(unref(Tooltip), {
16253
- placement: "bottomLeft",
16254
- mouseLeaveDelay: 0.4,
16255
- getPopupContainer: getPopupContainer2
16256
- }, {
16257
- title: withCtx(() => [
16258
- createTextVNode(toDisplayString(unref(t2)("component.table.settingFixedRight")), 1)
16312
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.plainOptions, (item) => {
16313
+ return openBlock(), createElementBlock(Fragment, {
16314
+ key: item.value
16315
+ }, [
16316
+ !("ifShow" in item && !item.ifShow) ? (openBlock(), createElementBlock("div", {
16317
+ key: 0,
16318
+ class: normalizeClass(`${_ctx.prefixCls}__check-item`)
16319
+ }, [
16320
+ createVNode(_component_DragOutlined, { class: "table-column-drag-icon" }),
16321
+ createVNode(_component_Checkbox, {
16322
+ value: item.value
16323
+ }, {
16324
+ default: withCtx(() => [
16325
+ createTextVNode(toDisplayString(item.label), 1)
16326
+ ]),
16327
+ _: 2
16328
+ }, 1032, ["value"]),
16329
+ createVNode(_component_Tooltip, {
16330
+ placement: "bottomLeft",
16331
+ mouseLeaveDelay: 0.4,
16332
+ getPopupContainer: _ctx.getPopupContainer
16333
+ }, {
16334
+ title: withCtx(() => [
16335
+ createTextVNode(toDisplayString(_ctx.t("component.table.settingFixedLeft")), 1)
16336
+ ]),
16337
+ default: withCtx(() => [
16338
+ createVNode(_component_Icon, {
16339
+ icon: "line-md:arrow-align-left",
16340
+ class: normalizeClass([
16341
+ `${_ctx.prefixCls}__fixed-left`,
16342
+ {
16343
+ active: item.fixed === "left",
16344
+ disabled: !_ctx.checkedList.includes(item.value)
16345
+ }
16259
16346
  ]),
16260
- default: withCtx(() => [
16261
- createVNode(unref(Icon2), {
16262
- icon: "line-md:arrow-align-left",
16263
- class: normalizeClass([
16264
- `${unref(prefixCls2)}__fixed-right`,
16265
- {
16266
- active: item.fixed === "right",
16267
- disabled: !state.checkedList.includes(item.value)
16268
- }
16269
- ]),
16270
- onClick: ($event) => handleColumnFixed(item, "right")
16271
- }, null, 8, ["class", "onClick"])
16347
+ onClick: ($event) => _ctx.handleColumnFixed(item, "left")
16348
+ }, null, 8, ["class", "onClick"])
16349
+ ]),
16350
+ _: 2
16351
+ }, 1032, ["getPopupContainer"]),
16352
+ createVNode(_component_Divider, { type: "vertical" }),
16353
+ createVNode(_component_Tooltip, {
16354
+ placement: "bottomLeft",
16355
+ mouseLeaveDelay: 0.4,
16356
+ getPopupContainer: _ctx.getPopupContainer
16357
+ }, {
16358
+ title: withCtx(() => [
16359
+ createTextVNode(toDisplayString(_ctx.t("component.table.settingFixedRight")), 1)
16360
+ ]),
16361
+ default: withCtx(() => [
16362
+ createVNode(_component_Icon, {
16363
+ icon: "line-md:arrow-align-left",
16364
+ class: normalizeClass([
16365
+ `${_ctx.prefixCls}__fixed-right`,
16366
+ {
16367
+ active: item.fixed === "right",
16368
+ disabled: !_ctx.checkedList.includes(item.value)
16369
+ }
16272
16370
  ]),
16273
- _: 2
16274
- }, 1024)
16275
- ], 2)) : createCommentVNode("", true)
16276
- ], 64);
16277
- }), 128))
16278
- ]),
16279
- _: 1
16280
- }, 8, ["value"])
16371
+ onClick: ($event) => _ctx.handleColumnFixed(item, "right")
16372
+ }, null, 8, ["class", "onClick"])
16373
+ ]),
16374
+ _: 2
16375
+ }, 1032, ["getPopupContainer"])
16376
+ ], 2)) : createCommentVNode("", true)
16377
+ ], 64);
16378
+ }), 128))
16281
16379
  ]),
16282
16380
  _: 1
16283
- })
16284
- ]),
16285
- default: withCtx(() => [
16286
- createVNode(unref(SettingOutlined$1))
16381
+ }, 8, ["value", "onChange"])
16287
16382
  ]),
16288
16383
  _: 1
16289
- }, 8, ["overlayClassName"])
16384
+ })
16385
+ ]),
16386
+ default: withCtx(() => [
16387
+ createVNode(_component_SettingOutlined)
16290
16388
  ]),
16291
16389
  _: 1
16292
- });
16293
- };
16294
- }
16295
- });
16296
- const ColumnSetting_vue_vue_type_style_index_0_lang$1 = "";
16390
+ }, 8, ["onVisibleChange", "overlayClassName", "getPopupContainer"])
16391
+ ]),
16392
+ _: 1
16393
+ });
16394
+ }
16395
+ const ColumnSetting$1 = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$s]]);
16297
16396
  const _sfc_main$B = defineComponent({
16298
16397
  name: "SizeSetting",
16299
16398
  components: {
@@ -16992,7 +17091,7 @@ const _sfc_main$v = defineComponent({
16992
17091
  name: "TableSetting",
16993
17092
  components: {
16994
17093
  GlobalSearch: _sfc_main$w,
16995
- ColumnSetting: _sfc_main$C,
17094
+ ColumnSetting: ColumnSetting$1,
16996
17095
  SizeSetting: SizeSetting$1,
16997
17096
  // RedoSetting,
16998
17097
  FullScreenSetting: FullScreenSetting$1,
@@ -24375,7 +24474,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
24375
24474
  const props2 = __props;
24376
24475
  const innerProps = ref({});
24377
24476
  const getProps = computed(() => {
24378
- const tempProps = { ...props2, ...innerProps.value };
24477
+ const tempProps = {
24478
+ emptyText: "暂无数据",
24479
+ ...props2,
24480
+ ...innerProps.value
24481
+ };
24379
24482
  if (tempProps.isCompatible) {
24380
24483
  tempProps.columns.forEach((column) => {
24381
24484
  column.field = column.dataIndex;