3h1-ui 3.0.0-next.67 → 3.0.0-next.69

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 +220 -155
  2. package/es/style.css +132 -121
  3. package/index.ts +42 -0
  4. package/lib/index.js +220 -155
  5. package/package.json +5 -5
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
@@ -5922,7 +5922,6 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
5922
5922
  { [`${prefixCls2}-show-span`]: props2.span && slots.default }
5923
5923
  ]);
5924
5924
  return (_ctx, _cache) => {
5925
- var _a2, _b, _c;
5926
5925
  return openBlock(), createElementBlock("span", {
5927
5926
  class: normalizeClass(getClass.value)
5928
5927
  }, [
@@ -5932,16 +5931,20 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
5932
5931
  class: normalizeClass(`${unref(prefixCls2)}-help`),
5933
5932
  text: __props.helpMessage
5934
5933
  }, null, 8, ["class", "text"])) : createCommentVNode("", true),
5935
- renderSlot(_ctx.$slots, "extra", {}, void 0, true),
5936
- ((_a2 = _ctx.$attrs) == null ? void 0 : _a2.extra) ? (openBlock(), createBlock(resolveDynamicComponent(
5937
- unref(isFunction$4)(_ctx.$attrs.extra) ? (_c = (_b = _ctx.$attrs).extra) == null ? void 0 : _c.call(_b) : h("span", _ctx.$attrs.extra)
5938
- ), { key: 1 })) : createCommentVNode("", true)
5934
+ renderSlot(_ctx.$slots, "extra", {}, () => {
5935
+ var _a2, _b, _c;
5936
+ return [
5937
+ ((_a2 = _ctx.$attrs) == null ? void 0 : _a2.extra) ? (openBlock(), createBlock(resolveDynamicComponent(
5938
+ unref(isFunction$4)(_ctx.$attrs.extra) ? (_c = (_b = _ctx.$attrs).extra) == null ? void 0 : _c.call(_b) : h("span", _ctx.$attrs.extra)
5939
+ ), { key: 0 })) : createCommentVNode("", true)
5940
+ ];
5941
+ }, true)
5939
5942
  ], 2);
5940
5943
  };
5941
5944
  }
5942
5945
  });
5943
- const BasicTitle_vue_vue_type_style_index_0_scoped_b0cf71c3_lang = "";
5944
- const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-b0cf71c3"]]);
5946
+ const BasicTitle_vue_vue_type_style_index_0_scoped_004c9d3e_lang = "";
5947
+ const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-004c9d3e"]]);
5945
5948
  const props$b = {
5946
5949
  prefixCls: { type: String },
5947
5950
  helpMessage: {
@@ -9536,8 +9539,8 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
9536
9539
  };
9537
9540
  }
9538
9541
  });
9539
- const Table_vue_vue_type_style_index_0_scoped_95018c58_lang = "";
9540
- const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-95018c58"]]);
9542
+ const Table_vue_vue_type_style_index_0_scoped_9232fde4_lang = "";
9543
+ const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-9232fde4"]]);
9541
9544
  const modal = "";
9542
9545
  const modalProps = {
9543
9546
  visible: { type: Boolean },
@@ -10401,7 +10404,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
10401
10404
  renderSlot(_ctx.$slots, "centerFooter"),
10402
10405
  _ctx.showOkBtn ? (openBlock(), createBlock(_component_BasicButton, mergeProps({
10403
10406
  key: 1,
10404
- type: "success",
10407
+ type: "primary",
10405
10408
  onClick: _ctx.handleOk,
10406
10409
  loading: _ctx.confirmLoading
10407
10410
  }, _ctx.okButtonProps), {
@@ -10584,8 +10587,8 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
10584
10587
  };
10585
10588
  }
10586
10589
  });
10587
- const BasicTitle_vue_vue_type_style_index_0_scoped_fdc837af_lang = "";
10588
- const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-fdc837af"]]);
10590
+ const BasicTitle_vue_vue_type_style_index_0_scoped_a48f9d86_lang = "";
10591
+ const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-a48f9d86"]]);
10589
10592
  const _sfc_main$1i = defineComponent({
10590
10593
  name: "BasicModalHeader",
10591
10594
  components: { BasicTitle },
@@ -14570,8 +14573,8 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
14570
14573
  };
14571
14574
  }
14572
14575
  });
14573
- const TreeHeader_vue_vue_type_style_index_0_scoped_743e62ba_lang = "";
14574
- const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-743e62ba"]]);
14576
+ const TreeHeader_vue_vue_type_style_index_0_scoped_8f421346_lang = "";
14577
+ const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-8f421346"]]);
14575
14578
  process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
14576
14579
  process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
14577
14580
  const isString$1 = (val) => typeof val === "string";
@@ -15467,7 +15470,7 @@ const _sfc_main$11 = defineComponent({
15467
15470
  return { prefixCls: prefixCls2, getCalcContentWidth };
15468
15471
  }
15469
15472
  });
15470
- const PageFooter_vue_vue_type_style_index_0_scoped_44a47dbd_lang = "";
15473
+ const PageFooter_vue_vue_type_style_index_0_scoped_b4695833_lang = "";
15471
15474
  function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
15472
15475
  return openBlock(), createElementBlock("div", {
15473
15476
  class: normalizeClass(_ctx.prefixCls),
@@ -15486,7 +15489,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
15486
15489
  ], 2)
15487
15490
  ], 6);
15488
15491
  }
15489
- const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$F], ["__scopeId", "data-v-44a47dbd"]]);
15492
+ const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$F], ["__scopeId", "data-v-b4695833"]]);
15490
15493
  const _sfc_main$10 = defineComponent({
15491
15494
  name: "PageWrapper",
15492
15495
  components: { PageFooter, PageHeader },
@@ -18102,8 +18105,8 @@ const _sfc_main$U = defineComponent({
18102
18105
  return { isVisibleAdvancedSearch, handleIconClick };
18103
18106
  }
18104
18107
  });
18105
- const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_f74ee46a_lang = "";
18106
- const _withScopeId$2 = (n) => (pushScopeId("data-v-f74ee46a"), n = n(), popScopeId(), n);
18108
+ const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_c5892da8_lang = "";
18109
+ const _withScopeId$2 = (n) => (pushScopeId("data-v-c5892da8"), n = n(), popScopeId(), n);
18107
18110
  const _hoisted_1$r = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", null, "高级搜索", -1));
18108
18111
  function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
18109
18112
  const _component_FilterOutlined = resolveComponent("FilterOutlined");
@@ -18121,7 +18124,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
18121
18124
  _: 1
18122
18125
  });
18123
18126
  }
18124
- const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$z], ["__scopeId", "data-v-f74ee46a"]]);
18127
+ const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$z], ["__scopeId", "data-v-c5892da8"]]);
18125
18128
  const index$4 = "";
18126
18129
  const searchType = [
18127
18130
  {
@@ -19494,8 +19497,8 @@ const _sfc_main$N = defineComponent({
19494
19497
  };
19495
19498
  }
19496
19499
  });
19497
- const TableGlobalSearch_vue_vue_type_style_index_0_scoped_90331d26_lang = "";
19498
- const _withScopeId$1 = (n) => (pushScopeId("data-v-90331d26"), n = n(), popScopeId(), n);
19500
+ const TableGlobalSearch_vue_vue_type_style_index_0_scoped_5f6e7403_lang = "";
19501
+ const _withScopeId$1 = (n) => (pushScopeId("data-v-5f6e7403"), n = n(), popScopeId(), n);
19499
19502
  const _hoisted_1$m = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, "搜索全部", -1));
19500
19503
  const _hoisted_2$8 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, "搜索特定字段", -1));
19501
19504
  const _hoisted_3$5 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
@@ -19553,7 +19556,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
19553
19556
  ])
19554
19557
  ], 4);
19555
19558
  }
19556
- const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$u], ["__scopeId", "data-v-90331d26"]]);
19559
+ const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$u], ["__scopeId", "data-v-5f6e7403"]]);
19557
19560
  const _sfc_main$M = defineComponent({
19558
19561
  components: {
19559
19562
  TableAdvancedSearch: TableAdvancedSearch$1,
@@ -20107,7 +20110,7 @@ const _sfc_main$K = defineComponent({
20107
20110
  setup() {
20108
20111
  }
20109
20112
  });
20110
- const TableDict_vue_vue_type_style_index_0_scoped_7d89a0e9_lang = "";
20113
+ const TableDict_vue_vue_type_style_index_0_scoped_21146269_lang = "";
20111
20114
  function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
20112
20115
  var _a2;
20113
20116
  const _component_Icon = resolveComponent("Icon");
@@ -20136,7 +20139,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
20136
20139
  ]), 1032, ["color"])
20137
20140
  ]);
20138
20141
  }
20139
- const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$r], ["__scopeId", "data-v-7d89a0e9"]]);
20142
+ const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$r], ["__scopeId", "data-v-21146269"]]);
20140
20143
  const index$3 = "";
20141
20144
  function useTable(tableProps) {
20142
20145
  const tableRef = ref(null);
@@ -20408,8 +20411,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
20408
20411
  };
20409
20412
  }
20410
20413
  });
20411
- const Modal_vue_vue_type_style_index_0_scoped_4dc415ac_lang = "";
20412
- const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-4dc415ac"]]);
20414
+ const Modal_vue_vue_type_style_index_0_scoped_24f758b3_lang = "";
20415
+ const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-24f758b3"]]);
20413
20416
  const _hoisted_1$i = { class: "api-modal-select" };
20414
20417
  const _sfc_main$H = /* @__PURE__ */ defineComponent({
20415
20418
  __name: "ApiModalSelect",
@@ -20557,8 +20560,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
20557
20560
  };
20558
20561
  }
20559
20562
  });
20560
- const ApiModalSelect_vue_vue_type_style_index_0_scoped_fb4fe18d_lang = "";
20561
- const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-fb4fe18d"]]);
20563
+ const ApiModalSelect_vue_vue_type_style_index_0_scoped_5427533c_lang = "";
20564
+ const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-5427533c"]]);
20562
20565
  const Description$1 = "";
20563
20566
  const basicColProps = 24;
20564
20567
  const basicProps$3 = reactive({
@@ -24606,7 +24609,7 @@ const _sfc_main$B = defineComponent({
24606
24609
  };
24607
24610
  }
24608
24611
  });
24609
- const CropperAvatar_vue_vue_type_style_index_0_scoped_31315934_lang = "";
24612
+ const CropperAvatar_vue_vue_type_style_index_0_scoped_6ac45907_lang = "";
24610
24613
  const _hoisted_1$e = ["src"];
24611
24614
  function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
24612
24615
  const _component_Icon = resolveComponent("Icon");
@@ -24657,7 +24660,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
24657
24660
  }, null, 8, ["onRegister", "onUploadSuccess", "onBeforeUpload", "uploadApi", "src"])
24658
24661
  ], 6);
24659
24662
  }
24660
- const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$l], ["__scopeId", "data-v-31315934"]]);
24663
+ const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$l], ["__scopeId", "data-v-6ac45907"]]);
24661
24664
  const props = {
24662
24665
  startVal: { type: Number, default: 0 },
24663
24666
  endVal: { type: Number, default: 2021 },
@@ -24829,7 +24832,7 @@ const _sfc_main$y = defineComponent({
24829
24832
  }
24830
24833
  }
24831
24834
  });
24832
- const Loading_vue_vue_type_style_index_0_scoped_ee545744_lang = "";
24835
+ const Loading_vue_vue_type_style_index_0_scoped_33b23b82_lang = "";
24833
24836
  function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
24834
24837
  const _component_Spin = resolveComponent("Spin");
24835
24838
  return withDirectives((openBlock(), createElementBlock("section", {
@@ -24845,7 +24848,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
24845
24848
  [vShow, _ctx.loading]
24846
24849
  ]);
24847
24850
  }
24848
- const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$j], ["__scopeId", "data-v-ee545744"]]);
24851
+ const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$j], ["__scopeId", "data-v-33b23b82"]]);
24849
24852
  function createLoading(props2, target, wait = false) {
24850
24853
  let vm = null;
24851
24854
  const data = reactive({
@@ -26638,7 +26641,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
26638
26641
  },
26639
26642
  setup(__props, { expose: __expose }) {
26640
26643
  useCssVars((_ctx) => ({
26641
- "989efb00": props2.labelWidth
26644
+ "7210fae1": props2.labelWidth
26642
26645
  }));
26643
26646
  const props2 = __props;
26644
26647
  const form = ref({});
@@ -26809,8 +26812,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
26809
26812
  };
26810
26813
  }
26811
26814
  });
26812
- const DescriptionsForm_vue_vue_type_style_index_0_scoped_2d2eda80_lang = "";
26813
- const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-2d2eda80"]]);
26815
+ const DescriptionsForm_vue_vue_type_style_index_0_scoped_b1ced086_lang = "";
26816
+ const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-b1ced086"]]);
26814
26817
  const DescriptionsForm = withInstall$8(descriptionsForm);
26815
26818
  const basicResizeWrapperProps = reactive({
26816
26819
  designWidth: {
@@ -26855,8 +26858,8 @@ const __default__$1 = defineComponent({
26855
26858
  });
26856
26859
  const __injectCSSVars__ = () => {
26857
26860
  useCssVars((_ctx) => ({
26858
- "0aaa544f": _ctx.designWidth,
26859
- "30d13bbe": _ctx.designHeight
26861
+ "1a93f028": _ctx.designWidth,
26862
+ "1e1b1b05": _ctx.designHeight
26860
26863
  }));
26861
26864
  };
26862
26865
  const __setup__ = __default__$1.setup;
@@ -27336,7 +27339,7 @@ const styles = `.vue-colorful {
27336
27339
  border-color: transparent;
27337
27340
  border-bottom: 12px solid #000;
27338
27341
  border-radius: 8px 8px 0 0;
27339
- background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),
27342
+ background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),\r
27340
27343
  linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
27341
27344
  }
27342
27345
  .vue-colorful__pointer-fill, .vue-colorful__alpha-gradient {
@@ -27357,15 +27360,15 @@ const styles = `.vue-colorful {
27357
27360
  height: 24px;
27358
27361
  }
27359
27362
  .vue-colorful__hue {
27360
- background: linear-gradient(
27361
- to right,
27362
- #f00 0%,
27363
- #ff0 17%,
27364
- #0f0 33%,
27365
- #0ff 50%,
27366
- #00f 67%,
27367
- #f0f 83%,
27368
- #f00 100%
27363
+ background: linear-gradient(\r
27364
+ to right,\r
27365
+ #f00 0%,\r
27366
+ #ff0 17%,\r
27367
+ #0f0 33%,\r
27368
+ #0ff 50%,\r
27369
+ #00f 67%,\r
27370
+ #f0f 83%,\r
27371
+ #f00 100%\r
27369
27372
  );
27370
27373
  }
27371
27374
  .vue-colorful__last-control {
@@ -33459,8 +33462,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
33459
33462
  };
33460
33463
  }
33461
33464
  });
33462
- const Table_vue_vue_type_style_index_0_scoped_221ba907_lang = "";
33463
- const Table = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-221ba907"]]);
33465
+ const Table_vue_vue_type_style_index_0_scoped_d3bdc269_lang = "";
33466
+ const Table = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-d3bdc269"]]);
33464
33467
  const ShyComponentMap = /* @__PURE__ */ new Map();
33465
33468
  ShyComponentMap.set("Input", Input);
33466
33469
  ShyComponentMap.set("InputGroup", Input.Group);
@@ -35353,8 +35356,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
35353
35356
  };
35354
35357
  }
35355
35358
  });
35356
- const Modal_vue_vue_type_style_index_0_scoped_0ca4fd85_lang = "";
35357
- const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-0ca4fd85"]]);
35359
+ const Modal_vue_vue_type_style_index_0_scoped_15e2dcbb_lang = "";
35360
+ const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-15e2dcbb"]]);
35358
35361
  const _hoisted_1$4 = { class: "api-modal-select" };
35359
35362
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
35360
35363
  __name: "ApiModalSelect",
@@ -35502,8 +35505,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
35502
35505
  };
35503
35506
  }
35504
35507
  });
35505
- const ApiModalSelect_vue_vue_type_style_index_0_scoped_45845a8d_lang = "";
35506
- const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-45845a8d"]]);
35508
+ const ApiModalSelect_vue_vue_type_style_index_0_scoped_5019fbdf_lang = "";
35509
+ const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-5019fbdf"]]);
35507
35510
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
35508
35511
  __name: "FormWrapper",
35509
35512
  props: {
@@ -37663,8 +37666,45 @@ const useTableHeader = (propsRef, slots, handlers2) => {
37663
37666
  getHeaderProps
37664
37667
  };
37665
37668
  };
37666
- function handleItem(item, ellipsis) {
37667
- const { key: key2, dataIndex, children } = item;
37669
+ const ShyTableTag = /* @__PURE__ */ defineComponent({
37670
+ props: {
37671
+ options: {
37672
+ type: Array,
37673
+ default: () => []
37674
+ },
37675
+ value: {
37676
+ type: [String, Number]
37677
+ }
37678
+ },
37679
+ setup(props2) {
37680
+ const {
37681
+ prefixCls: prefixCls2
37682
+ } = useDesign$1("ant-table-column-tag");
37683
+ const tag = computed(() => props2.options.find((item) => item.value == props2.value) ?? {
37684
+ label: "-",
37685
+ colorType: "var(--gray-5)",
37686
+ cssClass: ""
37687
+ });
37688
+ return () => {
37689
+ return createVNode("div", {
37690
+ "class": [prefixCls2, tag.value.cssClass],
37691
+ "style": {
37692
+ "--pointer-color": tag.value.colorType
37693
+ }
37694
+ }, [createVNode("div", {
37695
+ "class": `${prefixCls2}-pointer`
37696
+ }, null), createVNode("span", {
37697
+ "class": `${prefixCls2}-label`
37698
+ }, [tag.value.label])]);
37699
+ };
37700
+ }
37701
+ });
37702
+ const handleItem = (item, ellipsis) => {
37703
+ const {
37704
+ key: key2,
37705
+ dataIndex,
37706
+ children
37707
+ } = item;
37668
37708
  item.align = item.align || DEFAULT_ALIGN;
37669
37709
  if (ellipsis) {
37670
37710
  if (!key2) {
@@ -37679,20 +37719,17 @@ function handleItem(item, ellipsis) {
37679
37719
  if (children && children.length) {
37680
37720
  handleChildren(children, !!ellipsis);
37681
37721
  }
37682
- }
37683
- function handleColumnResize(propsRef, columns, wrapRef) {
37722
+ };
37723
+ const handleColumnResize = (propsRef, columns, wrapRef) => {
37684
37724
  var _a2, _b, _c, _d, _e, _f;
37685
37725
  const tableWidth = ((_c = (_b = (_a2 = wrapRef.value) == null ? void 0 : _a2.querySelector) == null ? void 0 : _b.call(_a2, ".ant-table-body")) == null ? void 0 : _c.clientWidth) - 7 || ((_f = (_e = (_d = wrapRef.value) == null ? void 0 : _d.querySelector) == null ? void 0 : _e.call(_d, ".ant-table-content")) == null ? void 0 : _f.clientWidth);
37686
37726
  const selectWidth = propsRef.value.rowSelection ? 36 : 0;
37687
- const [sumWidth, sumLength] = columns.reduce(
37688
- ([sumWidth2, length22], cur) => {
37689
- if (typeof cur.width === "number") {
37690
- return [sumWidth2 + cur.width, ++length22];
37691
- }
37692
- return [sumWidth2, length22];
37693
- },
37694
- [0, 0]
37695
- );
37727
+ const [sumWidth, sumLength] = columns.reduce(([sumWidth2, length3], cur) => {
37728
+ if (typeof cur.width === "number") {
37729
+ return [sumWidth2 + cur.width, ++length3];
37730
+ }
37731
+ return [sumWidth2, length3];
37732
+ }, [0, 0]);
37696
37733
  const length2 = columns.length;
37697
37734
  columns.forEach((item) => {
37698
37735
  const minWidth = ((item == null ? void 0 : item.title) + "").length * 14 + 16;
@@ -37711,26 +37748,30 @@ function handleColumnResize(propsRef, columns, wrapRef) {
37711
37748
  }
37712
37749
  }
37713
37750
  });
37714
- }
37715
- function handleChildren(children, ellipsis) {
37751
+ };
37752
+ const handleChildren = (children, ellipsis) => {
37716
37753
  if (!children)
37717
37754
  return;
37718
37755
  children.forEach((item) => {
37719
- const { children: children2 } = item;
37756
+ const {
37757
+ children: children2
37758
+ } = item;
37720
37759
  handleItem(item, ellipsis);
37721
37760
  handleChildren(children2, ellipsis);
37722
37761
  });
37723
- }
37724
- function handleIndexColumn(propsRef, getPaginationRef, columns) {
37725
- const { showIndexColumn, indexColumnProps, isTreeTable } = unref(propsRef);
37762
+ };
37763
+ const handleIndexColumn = (propsRef, getPaginationRef, columns) => {
37764
+ const {
37765
+ showIndexColumn,
37766
+ indexColumnProps,
37767
+ isTreeTable
37768
+ } = unref(propsRef);
37726
37769
  let pushIndexColumns = false;
37727
37770
  if (unref(isTreeTable)) {
37728
37771
  return;
37729
37772
  }
37730
37773
  columns.forEach(() => {
37731
- const indIndex = columns.findIndex(
37732
- (column2) => column2.flag === INDEX_COLUMN_FLAG
37733
- );
37774
+ const indIndex = columns.findIndex((column2) => column2.flag === INDEX_COLUMN_FLAG);
37734
37775
  if (showIndexColumn) {
37735
37776
  pushIndexColumns = indIndex === -1;
37736
37777
  } else if (!showIndexColumn && indIndex !== -1) {
@@ -37747,31 +37788,34 @@ function handleIndexColumn(propsRef, getPaginationRef, columns) {
37747
37788
  maxWidth: 50,
37748
37789
  title: "序号",
37749
37790
  align: "center",
37750
- customRender: ({ index: index2 }) => {
37791
+ customRender: ({
37792
+ index: index2
37793
+ }) => {
37751
37794
  const getPagination = unref(getPaginationRef);
37752
37795
  if (isBoolean$1(getPagination)) {
37753
37796
  return `${index2 + 1}`;
37754
37797
  }
37755
- const { current = 1, pageSize = PAGE_SIZE } = getPagination;
37756
- return h(
37757
- "div",
37758
- { class: "ant-table-cell-index full cursor-pointer" },
37759
- ((current < 1 ? 1 : current) - 1) * pageSize + index2 + 1
37760
- );
37798
+ const {
37799
+ current = 1,
37800
+ pageSize = PAGE_SIZE
37801
+ } = getPagination;
37802
+ return h("div", {
37803
+ class: "ant-table-cell-index full cursor-pointer"
37804
+ }, ((current < 1 ? 1 : current) - 1) * pageSize + index2 + 1);
37761
37805
  },
37762
37806
  ...isFixedLeft ? {
37763
37807
  fixed: "left"
37764
37808
  } : {},
37765
37809
  ...indexColumnProps
37766
37810
  });
37767
- }
37768
- function handleActionColumn(propsRef, columns) {
37769
- const { actionColumn } = unref(propsRef);
37811
+ };
37812
+ const handleActionColumn = (propsRef, columns) => {
37813
+ const {
37814
+ actionColumn
37815
+ } = unref(propsRef);
37770
37816
  if (!actionColumn)
37771
37817
  return;
37772
- const hasIndex = columns.findIndex(
37773
- (column2) => column2.flag === ACTION_COLUMN_FLAG
37774
- );
37818
+ const hasIndex = columns.findIndex((column2) => column2.flag === ACTION_COLUMN_FLAG);
37775
37819
  if (hasIndex === -1) {
37776
37820
  columns.push({
37777
37821
  ...columns[hasIndex],
@@ -37783,8 +37827,8 @@ function handleActionColumn(propsRef, columns) {
37783
37827
  flag: ACTION_COLUMN_FLAG
37784
37828
  });
37785
37829
  }
37786
- }
37787
- function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37830
+ };
37831
+ const useColumns = (propsRef, getPaginationRef, tableAction2, wrapRef) => {
37788
37832
  const columnsRef = ref(unref(propsRef).columns);
37789
37833
  let cacheColumns = unref(propsRef).columns;
37790
37834
  const getColumnsRef = computed(() => {
@@ -37795,17 +37839,19 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37795
37839
  if (!columns) {
37796
37840
  return [];
37797
37841
  }
37798
- const { ellipsis } = unref(propsRef);
37842
+ const {
37843
+ ellipsis
37844
+ } = unref(propsRef);
37799
37845
  columns.forEach((item) => {
37800
- const { customRender, slots } = item;
37801
- handleItem(
37802
- item,
37803
- Reflect.has(item, "ellipsis") ? !!item.ellipsis : !!ellipsis && !customRender && !slots
37804
- );
37846
+ const {
37847
+ customRender,
37848
+ slots
37849
+ } = item;
37850
+ handleItem(item, Reflect.has(item, "ellipsis") ? !!item.ellipsis : !!ellipsis && !customRender && !slots);
37805
37851
  });
37806
37852
  return columns;
37807
37853
  });
37808
- function isIfShow(column2) {
37854
+ const isIfShow = (column2) => {
37809
37855
  const ifShow = column2.ifShow;
37810
37856
  let isIfShow2 = true;
37811
37857
  if (isBoolean$1(ifShow)) {
@@ -37815,7 +37861,7 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37815
37861
  isIfShow2 = ifShow(column2);
37816
37862
  }
37817
37863
  return isIfShow2;
37818
- }
37864
+ };
37819
37865
  const hasPermission = (key2) => true;
37820
37866
  const getViewColumns = computed(() => {
37821
37867
  const viewColumns = sortFixedColumn(unref(getColumnsRef));
@@ -37824,10 +37870,7 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37824
37870
  return hasPermission(column2.auth) && isIfShow(column2);
37825
37871
  }).map((column2) => {
37826
37872
  var _a2, _b;
37827
- const isSummaryCol = (_b = (_a2 = unref(propsRef).summaryTotalFields) == null ? void 0 : _a2.includes) == null ? void 0 : _b.call(
37828
- _a2,
37829
- column2.dataIndex
37830
- );
37873
+ const isSummaryCol = (_b = (_a2 = unref(propsRef).summaryTotalFields) == null ? void 0 : _a2.includes) == null ? void 0 : _b.call(_a2, column2.dataIndex);
37831
37874
  const summaryFormat = (text) => {
37832
37875
  return text ? isNumber$2(+text) && !isNaN(+text) ? (+text).toFixed(unref(propsRef).summaryPrecision).replace(/(\d)(?=(\d{3})+\.)/g, "$1,") : text : "";
37833
37876
  };
@@ -37837,25 +37880,50 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37837
37880
  format: format2 = isSummaryCol ? summaryFormat : void 0,
37838
37881
  edit,
37839
37882
  editRow,
37840
- flag
37883
+ flag,
37884
+ tag,
37885
+ options
37841
37886
  } = column2;
37887
+ const renderTag = ({
37888
+ value
37889
+ }) => {
37890
+ return createVNode(ShyTableTag, {
37891
+ "value": value,
37892
+ "options": options
37893
+ }, null);
37894
+ };
37842
37895
  if (!slots || !(slots == null ? void 0 : slots.title)) {
37843
37896
  column2.customTitle = column2.title;
37844
37897
  Reflect.deleteProperty(column2, "title");
37845
37898
  }
37846
- const isDefaultAction = [
37847
- INDEX_COLUMN_FLAG,
37848
- ACTION_COLUMN_FLAG
37849
- ].includes(flag);
37850
- if (!customRender && format2 && !edit && !isDefaultAction) {
37851
- column2.customRender = ({ text, record, index: index2 }) => {
37899
+ const isDefaultAction = [INDEX_COLUMN_FLAG, ACTION_COLUMN_FLAG].includes(flag);
37900
+ if (!customRender && format2 && !edit && !isDefaultAction && !(tag && options)) {
37901
+ column2.customRender = ({
37902
+ text,
37903
+ record,
37904
+ index: index2
37905
+ }) => {
37852
37906
  return formatCell(text, format2, record, index2, tableAction2.value);
37853
37907
  };
37854
37908
  }
37855
- if (customRender) {
37856
- column2.customRender = ({ ...ages }) => customRender({
37857
- ...ages,
37858
- ...{ tableAction: tableAction2.value }
37909
+ if (customRender && !(tag && options)) {
37910
+ column2.customRender = ({
37911
+ ...args
37912
+ }) => customRender({
37913
+ ...args,
37914
+ ...{
37915
+ tableAction: tableAction2.value
37916
+ }
37917
+ });
37918
+ }
37919
+ if (tag && options) {
37920
+ column2.customRender = ({
37921
+ ...args
37922
+ }) => renderTag({
37923
+ ...args,
37924
+ ...{
37925
+ tableAction: tableAction2.value
37926
+ }
37859
37927
  });
37860
37928
  }
37861
37929
  if ((edit || editRow) && !isDefaultAction) {
@@ -37873,18 +37941,17 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37873
37941
  });
37874
37942
  const getColumnsSummary = computed(() => {
37875
37943
  if (propsRef.value.rowSelection) {
37876
- return [{ flag: "ROW_SELECTION" }, ...getViewColumns.value];
37944
+ return [{
37945
+ flag: "ROW_SELECTION"
37946
+ }, ...getViewColumns.value];
37877
37947
  }
37878
37948
  return getViewColumns.value;
37879
37949
  });
37880
- watch(
37881
- () => unref(propsRef).columns,
37882
- (columns) => {
37883
- columnsRef.value = columns;
37884
- cacheColumns = (columns == null ? void 0 : columns.filter((item) => !item.flag)) ?? [];
37885
- }
37886
- );
37887
- function setCacheColumnsByField(dataIndex, value) {
37950
+ watch(() => unref(propsRef).columns, (columns) => {
37951
+ columnsRef.value = columns;
37952
+ cacheColumns = (columns == null ? void 0 : columns.filter((item) => !item.flag)) ?? [];
37953
+ });
37954
+ const setCacheColumnsByField = (dataIndex, value) => {
37888
37955
  if (!dataIndex || !value) {
37889
37956
  return;
37890
37957
  }
@@ -37894,8 +37961,8 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37894
37961
  return;
37895
37962
  }
37896
37963
  });
37897
- }
37898
- function setColumns(columnList) {
37964
+ };
37965
+ const setColumns = (columnList) => {
37899
37966
  const columns = cloneDeep(columnList);
37900
37967
  if (!isArray$4(columns))
37901
37968
  return;
@@ -37909,17 +37976,13 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37909
37976
  columnsRef.value = columns;
37910
37977
  cacheColumns = columns;
37911
37978
  } else {
37912
- const columnKeys = columns.map(
37913
- (m) => m.toString()
37914
- );
37979
+ const columnKeys = columns.map((m) => m.toString());
37915
37980
  const newColumns = [];
37916
37981
  cacheColumns.forEach((item) => {
37917
37982
  var _a2;
37918
37983
  newColumns.push({
37919
37984
  ...item,
37920
- defaultHidden: !columnKeys.includes(
37921
- ((_a2 = item.dataIndex) == null ? void 0 : _a2.toString()) || item.key
37922
- )
37985
+ defaultHidden: !columnKeys.includes(((_a2 = item.dataIndex) == null ? void 0 : _a2.toString()) || item.key)
37923
37986
  });
37924
37987
  });
37925
37988
  if (!isEqual(cacheKeys, columns)) {
@@ -37930,9 +37993,13 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37930
37993
  }
37931
37994
  columnsRef.value = newColumns;
37932
37995
  }
37933
- }
37934
- function getColumns(opt) {
37935
- const { ignoreIndex, ignoreAction, sort } = opt || {};
37996
+ };
37997
+ const getColumns = (opt) => {
37998
+ const {
37999
+ ignoreIndex,
38000
+ ignoreAction,
38001
+ sort
38002
+ } = opt || {};
37936
38003
  let columns = toRaw(unref(getColumnsRef));
37937
38004
  if (ignoreIndex) {
37938
38005
  columns = columns.filter((item) => item.flag !== INDEX_COLUMN_FLAG);
@@ -37944,10 +38011,10 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37944
38011
  columns = sortFixedColumn(columns);
37945
38012
  }
37946
38013
  return columns;
37947
- }
37948
- function getCacheColumns() {
38014
+ };
38015
+ const getCacheColumns = () => {
37949
38016
  return cacheColumns;
37950
- }
38017
+ };
37951
38018
  return {
37952
38019
  getColumnsRef,
37953
38020
  getCacheColumns,
@@ -37957,8 +38024,8 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37957
38024
  setCacheColumnsByField,
37958
38025
  getColumnsSummary
37959
38026
  };
37960
- }
37961
- function sortFixedColumn(columns) {
38027
+ };
38028
+ const sortFixedColumn = (columns) => {
37962
38029
  const fixedLeftColumns = [];
37963
38030
  const fixedRightColumns = [];
37964
38031
  const defColumns = [];
@@ -37973,11 +38040,9 @@ function sortFixedColumn(columns) {
37973
38040
  }
37974
38041
  defColumns.push(column2);
37975
38042
  }
37976
- return [...fixedLeftColumns, ...defColumns, ...fixedRightColumns].filter(
37977
- (item) => !item.defaultHidden
37978
- );
37979
- }
37980
- function formatCell(text, format2, record, index2, tableAction2) {
38043
+ return [...fixedLeftColumns, ...defColumns, ...fixedRightColumns].filter((item) => !item.defaultHidden);
38044
+ };
38045
+ const formatCell = (text, format2, record, index2, tableAction2) => {
37981
38046
  if (!format2) {
37982
38047
  return text;
37983
38048
  }
@@ -37999,7 +38064,7 @@ function formatCell(text, format2, record, index2, tableAction2) {
37999
38064
  } catch (error2) {
38000
38065
  return text;
38001
38066
  }
38002
- }
38067
+ };
38003
38068
  function useTableScroll(propsRef, tableElRef, columnsRef, rowSelectionRef, getDataSourceRef, wrapRef, formRef) {
38004
38069
  const tableHeightRef = ref(167);
38005
38070
  const modalFn = useModalContext();
@@ -38402,8 +38467,8 @@ const _sfc_main$3 = defineComponent({
38402
38467
  };
38403
38468
  }
38404
38469
  });
38405
- const TableGlobalSearch_vue_vue_type_style_index_0_scoped_b3419d34_lang = "";
38406
- const _withScopeId = (n) => (pushScopeId("data-v-b3419d34"), n = n(), popScopeId(), n);
38470
+ const TableGlobalSearch_vue_vue_type_style_index_0_scoped_ac81b595_lang = "";
38471
+ const _withScopeId = (n) => (pushScopeId("data-v-ac81b595"), n = n(), popScopeId(), n);
38407
38472
  const _hoisted_1$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "搜索全部", -1));
38408
38473
  const _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "搜索特定字段", -1));
38409
38474
  const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
@@ -38461,7 +38526,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
38461
38526
  ])
38462
38527
  ], 4);
38463
38528
  }
38464
- const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__scopeId", "data-v-b3419d34"]]);
38529
+ const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__scopeId", "data-v-ac81b595"]]);
38465
38530
  const _sfc_main$2 = defineComponent({
38466
38531
  name: "EditTableHeaderIcon",
38467
38532
  components: { FormOutlined: FormOutlined$1 },
@@ -39685,8 +39750,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39685
39750
  };
39686
39751
  }
39687
39752
  });
39688
- const Process_vue_vue_type_style_index_0_scoped_0cf797c8_lang = "";
39689
- const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0cf797c8"]]);
39753
+ const Process_vue_vue_type_style_index_0_scoped_5c48c981_lang = "";
39754
+ const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5c48c981"]]);
39690
39755
  export {
39691
39756
  _sfc_main$T as AdvancedSearch,
39692
39757
  ApiCascader$1 as ApiCascader,