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/lib/index.js CHANGED
@@ -5420,7 +5420,7 @@ const _sfc_main$1F = vue.defineComponent({
5420
5420
  };
5421
5421
  }
5422
5422
  });
5423
- const StrengthMeter_vue_vue_type_style_index_0_scoped_678d40fd_lang = "";
5423
+ const StrengthMeter_vue_vue_type_style_index_0_scoped_c8d77eaa_lang = "";
5424
5424
  const _hoisted_1$G = ["data-score"];
5425
5425
  function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
5426
5426
  const _component_InputPassword = vue.resolveComponent("InputPassword");
@@ -5452,7 +5452,7 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
5452
5452
  ], 2)
5453
5453
  ], 2);
5454
5454
  }
5455
- const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$X], ["__scopeId", "data-v-678d40fd"]]);
5455
+ const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$X], ["__scopeId", "data-v-c8d77eaa"]]);
5456
5456
  const _sfc_main$1E = vue.defineComponent({
5457
5457
  name: "SvgIcon",
5458
5458
  props: {
@@ -5488,7 +5488,7 @@ const _sfc_main$1E = vue.defineComponent({
5488
5488
  return { symbolId, prefixCls: prefixCls2, getStyle };
5489
5489
  }
5490
5490
  });
5491
- const SvgIcon_vue_vue_type_style_index_0_scoped_905fa4a6_lang = "";
5491
+ const SvgIcon_vue_vue_type_style_index_0_scoped_fa64fe87_lang = "";
5492
5492
  const _hoisted_1$F = ["xlink:href"];
5493
5493
  function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
5494
5494
  return vue.openBlock(), vue.createElementBlock("svg", {
@@ -5499,7 +5499,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
5499
5499
  vue.createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$F)
5500
5500
  ], 6);
5501
5501
  }
5502
- const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$W], ["__scopeId", "data-v-905fa4a6"]]);
5502
+ const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$W], ["__scopeId", "data-v-fa64fe87"]]);
5503
5503
  const SVG_END_WITH_FLAG = "|svg";
5504
5504
  const _sfc_main$1D = vue.defineComponent({
5505
5505
  name: "Icon",
@@ -5810,8 +5810,8 @@ const _sfc_main$1B = /* @__PURE__ */ vue.defineComponent({
5810
5810
  };
5811
5811
  }
5812
5812
  });
5813
- const BasicArrow_vue_vue_type_style_index_0_scoped_fea26917_lang = "";
5814
- const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-fea26917"]]);
5813
+ const BasicArrow_vue_vue_type_style_index_0_scoped_03d87956_lang = "";
5814
+ const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-03d87956"]]);
5815
5815
  const props$c = {
5816
5816
  /**
5817
5817
  * Help text max-width
@@ -5946,7 +5946,6 @@ const _sfc_main$1z = /* @__PURE__ */ vue.defineComponent({
5946
5946
  { [`${prefixCls2}-show-span`]: props2.span && slots.default }
5947
5947
  ]);
5948
5948
  return (_ctx, _cache) => {
5949
- var _a2, _b, _c;
5950
5949
  return vue.openBlock(), vue.createElementBlock("span", {
5951
5950
  class: vue.normalizeClass(getClass.value)
5952
5951
  }, [
@@ -5956,16 +5955,20 @@ const _sfc_main$1z = /* @__PURE__ */ vue.defineComponent({
5956
5955
  class: vue.normalizeClass(`${vue.unref(prefixCls2)}-help`),
5957
5956
  text: __props.helpMessage
5958
5957
  }, null, 8, ["class", "text"])) : vue.createCommentVNode("", true),
5959
- vue.renderSlot(_ctx.$slots, "extra", {}, void 0, true),
5960
- ((_a2 = _ctx.$attrs) == null ? void 0 : _a2.extra) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(
5961
- vue.unref(utils.isFunction)(_ctx.$attrs.extra) ? (_c = (_b = _ctx.$attrs).extra) == null ? void 0 : _c.call(_b) : vue.h("span", _ctx.$attrs.extra)
5962
- ), { key: 1 })) : vue.createCommentVNode("", true)
5958
+ vue.renderSlot(_ctx.$slots, "extra", {}, () => {
5959
+ var _a2, _b, _c;
5960
+ return [
5961
+ ((_a2 = _ctx.$attrs) == null ? void 0 : _a2.extra) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(
5962
+ vue.unref(utils.isFunction)(_ctx.$attrs.extra) ? (_c = (_b = _ctx.$attrs).extra) == null ? void 0 : _c.call(_b) : vue.h("span", _ctx.$attrs.extra)
5963
+ ), { key: 0 })) : vue.createCommentVNode("", true)
5964
+ ];
5965
+ }, true)
5963
5966
  ], 2);
5964
5967
  };
5965
5968
  }
5966
5969
  });
5967
- const BasicTitle_vue_vue_type_style_index_0_scoped_b0cf71c3_lang = "";
5968
- const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-b0cf71c3"]]);
5970
+ const BasicTitle_vue_vue_type_style_index_0_scoped_004c9d3e_lang = "";
5971
+ const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-004c9d3e"]]);
5969
5972
  const props$b = {
5970
5973
  prefixCls: { type: String },
5971
5974
  helpMessage: {
@@ -9560,8 +9563,8 @@ const _sfc_main$1p = /* @__PURE__ */ vue.defineComponent({
9560
9563
  };
9561
9564
  }
9562
9565
  });
9563
- const Table_vue_vue_type_style_index_0_scoped_95018c58_lang = "";
9564
- const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-95018c58"]]);
9566
+ const Table_vue_vue_type_style_index_0_scoped_9232fde4_lang = "";
9567
+ const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-9232fde4"]]);
9565
9568
  const modal = "";
9566
9569
  const modalProps = {
9567
9570
  visible: { type: Boolean },
@@ -10425,7 +10428,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
10425
10428
  vue.renderSlot(_ctx.$slots, "centerFooter"),
10426
10429
  _ctx.showOkBtn ? (vue.openBlock(), vue.createBlock(_component_BasicButton, vue.mergeProps({
10427
10430
  key: 1,
10428
- type: "success",
10431
+ type: "primary",
10429
10432
  onClick: _ctx.handleOk,
10430
10433
  loading: _ctx.confirmLoading
10431
10434
  }, _ctx.okButtonProps), {
@@ -10608,8 +10611,8 @@ const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
10608
10611
  };
10609
10612
  }
10610
10613
  });
10611
- const BasicTitle_vue_vue_type_style_index_0_scoped_fdc837af_lang = "";
10612
- const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-fdc837af"]]);
10614
+ const BasicTitle_vue_vue_type_style_index_0_scoped_a48f9d86_lang = "";
10615
+ const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-a48f9d86"]]);
10613
10616
  const _sfc_main$1i = vue.defineComponent({
10614
10617
  name: "BasicModalHeader",
10615
10618
  components: { BasicTitle },
@@ -14594,8 +14597,8 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
14594
14597
  };
14595
14598
  }
14596
14599
  });
14597
- const TreeHeader_vue_vue_type_style_index_0_scoped_743e62ba_lang = "";
14598
- const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-743e62ba"]]);
14600
+ const TreeHeader_vue_vue_type_style_index_0_scoped_8f421346_lang = "";
14601
+ const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-8f421346"]]);
14599
14602
  process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
14600
14603
  process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
14601
14604
  const isString$1 = (val) => typeof val === "string";
@@ -15491,7 +15494,7 @@ const _sfc_main$11 = vue.defineComponent({
15491
15494
  return { prefixCls: prefixCls2, getCalcContentWidth };
15492
15495
  }
15493
15496
  });
15494
- const PageFooter_vue_vue_type_style_index_0_scoped_44a47dbd_lang = "";
15497
+ const PageFooter_vue_vue_type_style_index_0_scoped_b4695833_lang = "";
15495
15498
  function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
15496
15499
  return vue.openBlock(), vue.createElementBlock("div", {
15497
15500
  class: vue.normalizeClass(_ctx.prefixCls),
@@ -15510,7 +15513,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
15510
15513
  ], 2)
15511
15514
  ], 6);
15512
15515
  }
15513
- const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$F], ["__scopeId", "data-v-44a47dbd"]]);
15516
+ const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$F], ["__scopeId", "data-v-b4695833"]]);
15514
15517
  const _sfc_main$10 = vue.defineComponent({
15515
15518
  name: "PageWrapper",
15516
15519
  components: { PageFooter, PageHeader: antDesignVue.PageHeader },
@@ -18126,8 +18129,8 @@ const _sfc_main$U = vue.defineComponent({
18126
18129
  return { isVisibleAdvancedSearch, handleIconClick };
18127
18130
  }
18128
18131
  });
18129
- const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_f74ee46a_lang = "";
18130
- const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-f74ee46a"), n = n(), vue.popScopeId(), n);
18132
+ const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_c5892da8_lang = "";
18133
+ const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-c5892da8"), n = n(), vue.popScopeId(), n);
18131
18134
  const _hoisted_1$r = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("span", null, "高级搜索", -1));
18132
18135
  function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
18133
18136
  const _component_FilterOutlined = vue.resolveComponent("FilterOutlined");
@@ -18145,7 +18148,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
18145
18148
  _: 1
18146
18149
  });
18147
18150
  }
18148
- const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$z], ["__scopeId", "data-v-f74ee46a"]]);
18151
+ const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$z], ["__scopeId", "data-v-c5892da8"]]);
18149
18152
  const index$4 = "";
18150
18153
  const searchType = [
18151
18154
  {
@@ -19518,8 +19521,8 @@ const _sfc_main$N = vue.defineComponent({
19518
19521
  };
19519
19522
  }
19520
19523
  });
19521
- const TableGlobalSearch_vue_vue_type_style_index_0_scoped_90331d26_lang = "";
19522
- const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-90331d26"), n = n(), vue.popScopeId(), n);
19524
+ const TableGlobalSearch_vue_vue_type_style_index_0_scoped_5f6e7403_lang = "";
19525
+ const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-5f6e7403"), n = n(), vue.popScopeId(), n);
19523
19526
  const _hoisted_1$m = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索全部", -1));
19524
19527
  const _hoisted_2$8 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索特定字段", -1));
19525
19528
  const _hoisted_3$5 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", null, null, -1));
@@ -19577,7 +19580,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
19577
19580
  ])
19578
19581
  ], 4);
19579
19582
  }
19580
- const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$u], ["__scopeId", "data-v-90331d26"]]);
19583
+ const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$u], ["__scopeId", "data-v-5f6e7403"]]);
19581
19584
  const _sfc_main$M = vue.defineComponent({
19582
19585
  components: {
19583
19586
  TableAdvancedSearch: TableAdvancedSearch$1,
@@ -20131,7 +20134,7 @@ const _sfc_main$K = vue.defineComponent({
20131
20134
  setup() {
20132
20135
  }
20133
20136
  });
20134
- const TableDict_vue_vue_type_style_index_0_scoped_7d89a0e9_lang = "";
20137
+ const TableDict_vue_vue_type_style_index_0_scoped_21146269_lang = "";
20135
20138
  function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
20136
20139
  var _a2;
20137
20140
  const _component_Icon = vue.resolveComponent("Icon");
@@ -20160,7 +20163,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
20160
20163
  ]), 1032, ["color"])
20161
20164
  ]);
20162
20165
  }
20163
- const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$r], ["__scopeId", "data-v-7d89a0e9"]]);
20166
+ const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$r], ["__scopeId", "data-v-21146269"]]);
20164
20167
  const index$3 = "";
20165
20168
  function useTable(tableProps) {
20166
20169
  const tableRef = vue.ref(null);
@@ -20432,8 +20435,8 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
20432
20435
  };
20433
20436
  }
20434
20437
  });
20435
- const Modal_vue_vue_type_style_index_0_scoped_4dc415ac_lang = "";
20436
- const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-4dc415ac"]]);
20438
+ const Modal_vue_vue_type_style_index_0_scoped_24f758b3_lang = "";
20439
+ const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-24f758b3"]]);
20437
20440
  const _hoisted_1$i = { class: "api-modal-select" };
20438
20441
  const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
20439
20442
  __name: "ApiModalSelect",
@@ -20581,8 +20584,8 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
20581
20584
  };
20582
20585
  }
20583
20586
  });
20584
- const ApiModalSelect_vue_vue_type_style_index_0_scoped_fb4fe18d_lang = "";
20585
- const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-fb4fe18d"]]);
20587
+ const ApiModalSelect_vue_vue_type_style_index_0_scoped_5427533c_lang = "";
20588
+ const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-5427533c"]]);
20586
20589
  const Description$1 = "";
20587
20590
  const basicColProps = 24;
20588
20591
  const basicProps$3 = vue.reactive({
@@ -24630,7 +24633,7 @@ const _sfc_main$B = vue.defineComponent({
24630
24633
  };
24631
24634
  }
24632
24635
  });
24633
- const CropperAvatar_vue_vue_type_style_index_0_scoped_31315934_lang = "";
24636
+ const CropperAvatar_vue_vue_type_style_index_0_scoped_6ac45907_lang = "";
24634
24637
  const _hoisted_1$e = ["src"];
24635
24638
  function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
24636
24639
  const _component_Icon = vue.resolveComponent("Icon");
@@ -24681,7 +24684,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
24681
24684
  }, null, 8, ["onRegister", "onUploadSuccess", "onBeforeUpload", "uploadApi", "src"])
24682
24685
  ], 6);
24683
24686
  }
24684
- const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$l], ["__scopeId", "data-v-31315934"]]);
24687
+ const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$l], ["__scopeId", "data-v-6ac45907"]]);
24685
24688
  const props = {
24686
24689
  startVal: { type: Number, default: 0 },
24687
24690
  endVal: { type: Number, default: 2021 },
@@ -24853,7 +24856,7 @@ const _sfc_main$y = vue.defineComponent({
24853
24856
  }
24854
24857
  }
24855
24858
  });
24856
- const Loading_vue_vue_type_style_index_0_scoped_ee545744_lang = "";
24859
+ const Loading_vue_vue_type_style_index_0_scoped_33b23b82_lang = "";
24857
24860
  function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
24858
24861
  const _component_Spin = vue.resolveComponent("Spin");
24859
24862
  return vue.withDirectives((vue.openBlock(), vue.createElementBlock("section", {
@@ -24869,7 +24872,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
24869
24872
  [vue.vShow, _ctx.loading]
24870
24873
  ]);
24871
24874
  }
24872
- const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$j], ["__scopeId", "data-v-ee545744"]]);
24875
+ const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$j], ["__scopeId", "data-v-33b23b82"]]);
24873
24876
  function createLoading(props2, target, wait = false) {
24874
24877
  let vm = null;
24875
24878
  const data = vue.reactive({
@@ -26662,7 +26665,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
26662
26665
  },
26663
26666
  setup(__props, { expose: __expose }) {
26664
26667
  vue.useCssVars((_ctx) => ({
26665
- "989efb00": props2.labelWidth
26668
+ "7210fae1": props2.labelWidth
26666
26669
  }));
26667
26670
  const props2 = __props;
26668
26671
  const form = vue.ref({});
@@ -26833,8 +26836,8 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
26833
26836
  };
26834
26837
  }
26835
26838
  });
26836
- const DescriptionsForm_vue_vue_type_style_index_0_scoped_2d2eda80_lang = "";
26837
- const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-2d2eda80"]]);
26839
+ const DescriptionsForm_vue_vue_type_style_index_0_scoped_b1ced086_lang = "";
26840
+ const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-b1ced086"]]);
26838
26841
  const DescriptionsForm = utils.withInstall(descriptionsForm);
26839
26842
  const basicResizeWrapperProps = vue.reactive({
26840
26843
  designWidth: {
@@ -26879,8 +26882,8 @@ const __default__$1 = vue.defineComponent({
26879
26882
  });
26880
26883
  const __injectCSSVars__ = () => {
26881
26884
  vue.useCssVars((_ctx) => ({
26882
- "0aaa544f": _ctx.designWidth,
26883
- "30d13bbe": _ctx.designHeight
26885
+ "1a93f028": _ctx.designWidth,
26886
+ "1e1b1b05": _ctx.designHeight
26884
26887
  }));
26885
26888
  };
26886
26889
  const __setup__ = __default__$1.setup;
@@ -27360,7 +27363,7 @@ const styles = `.vue-colorful {
27360
27363
  border-color: transparent;
27361
27364
  border-bottom: 12px solid #000;
27362
27365
  border-radius: 8px 8px 0 0;
27363
- background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),
27366
+ background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),\r
27364
27367
  linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
27365
27368
  }
27366
27369
  .vue-colorful__pointer-fill, .vue-colorful__alpha-gradient {
@@ -27381,15 +27384,15 @@ const styles = `.vue-colorful {
27381
27384
  height: 24px;
27382
27385
  }
27383
27386
  .vue-colorful__hue {
27384
- background: linear-gradient(
27385
- to right,
27386
- #f00 0%,
27387
- #ff0 17%,
27388
- #0f0 33%,
27389
- #0ff 50%,
27390
- #00f 67%,
27391
- #f0f 83%,
27392
- #f00 100%
27387
+ background: linear-gradient(\r
27388
+ to right,\r
27389
+ #f00 0%,\r
27390
+ #ff0 17%,\r
27391
+ #0f0 33%,\r
27392
+ #0ff 50%,\r
27393
+ #00f 67%,\r
27394
+ #f0f 83%,\r
27395
+ #f00 100%\r
27393
27396
  );
27394
27397
  }
27395
27398
  .vue-colorful__last-control {
@@ -33483,8 +33486,8 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
33483
33486
  };
33484
33487
  }
33485
33488
  });
33486
- const Table_vue_vue_type_style_index_0_scoped_221ba907_lang = "";
33487
- const Table = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-221ba907"]]);
33489
+ const Table_vue_vue_type_style_index_0_scoped_d3bdc269_lang = "";
33490
+ const Table = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-d3bdc269"]]);
33488
33491
  const ShyComponentMap = /* @__PURE__ */ new Map();
33489
33492
  ShyComponentMap.set("Input", antDesignVue.Input);
33490
33493
  ShyComponentMap.set("InputGroup", antDesignVue.Input.Group);
@@ -35377,8 +35380,8 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
35377
35380
  };
35378
35381
  }
35379
35382
  });
35380
- const Modal_vue_vue_type_style_index_0_scoped_0ca4fd85_lang = "";
35381
- const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-0ca4fd85"]]);
35383
+ const Modal_vue_vue_type_style_index_0_scoped_15e2dcbb_lang = "";
35384
+ const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-15e2dcbb"]]);
35382
35385
  const _hoisted_1$4 = { class: "api-modal-select" };
35383
35386
  const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
35384
35387
  __name: "ApiModalSelect",
@@ -35526,8 +35529,8 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
35526
35529
  };
35527
35530
  }
35528
35531
  });
35529
- const ApiModalSelect_vue_vue_type_style_index_0_scoped_45845a8d_lang = "";
35530
- const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-45845a8d"]]);
35532
+ const ApiModalSelect_vue_vue_type_style_index_0_scoped_5019fbdf_lang = "";
35533
+ const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-5019fbdf"]]);
35531
35534
  const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
35532
35535
  __name: "FormWrapper",
35533
35536
  props: {
@@ -37687,8 +37690,45 @@ const useTableHeader = (propsRef, slots, handlers2) => {
37687
37690
  getHeaderProps
37688
37691
  };
37689
37692
  };
37690
- function handleItem(item, ellipsis) {
37691
- const { key: key2, dataIndex, children } = item;
37693
+ const ShyTableTag = /* @__PURE__ */ vue.defineComponent({
37694
+ props: {
37695
+ options: {
37696
+ type: Array,
37697
+ default: () => []
37698
+ },
37699
+ value: {
37700
+ type: [String, Number]
37701
+ }
37702
+ },
37703
+ setup(props2) {
37704
+ const {
37705
+ prefixCls: prefixCls2
37706
+ } = use.useDesign("ant-table-column-tag");
37707
+ const tag = vue.computed(() => props2.options.find((item) => item.value == props2.value) ?? {
37708
+ label: "-",
37709
+ colorType: "var(--gray-5)",
37710
+ cssClass: ""
37711
+ });
37712
+ return () => {
37713
+ return vue.createVNode("div", {
37714
+ "class": [prefixCls2, tag.value.cssClass],
37715
+ "style": {
37716
+ "--pointer-color": tag.value.colorType
37717
+ }
37718
+ }, [vue.createVNode("div", {
37719
+ "class": `${prefixCls2}-pointer`
37720
+ }, null), vue.createVNode("span", {
37721
+ "class": `${prefixCls2}-label`
37722
+ }, [tag.value.label])]);
37723
+ };
37724
+ }
37725
+ });
37726
+ const handleItem = (item, ellipsis) => {
37727
+ const {
37728
+ key: key2,
37729
+ dataIndex,
37730
+ children
37731
+ } = item;
37692
37732
  item.align = item.align || DEFAULT_ALIGN;
37693
37733
  if (ellipsis) {
37694
37734
  if (!key2) {
@@ -37703,20 +37743,17 @@ function handleItem(item, ellipsis) {
37703
37743
  if (children && children.length) {
37704
37744
  handleChildren(children, !!ellipsis);
37705
37745
  }
37706
- }
37707
- function handleColumnResize(propsRef, columns, wrapRef) {
37746
+ };
37747
+ const handleColumnResize = (propsRef, columns, wrapRef) => {
37708
37748
  var _a2, _b, _c, _d, _e, _f;
37709
37749
  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);
37710
37750
  const selectWidth = propsRef.value.rowSelection ? 36 : 0;
37711
- const [sumWidth, sumLength] = columns.reduce(
37712
- ([sumWidth2, length22], cur) => {
37713
- if (typeof cur.width === "number") {
37714
- return [sumWidth2 + cur.width, ++length22];
37715
- }
37716
- return [sumWidth2, length22];
37717
- },
37718
- [0, 0]
37719
- );
37751
+ const [sumWidth, sumLength] = columns.reduce(([sumWidth2, length3], cur) => {
37752
+ if (typeof cur.width === "number") {
37753
+ return [sumWidth2 + cur.width, ++length3];
37754
+ }
37755
+ return [sumWidth2, length3];
37756
+ }, [0, 0]);
37720
37757
  const length2 = columns.length;
37721
37758
  columns.forEach((item) => {
37722
37759
  const minWidth = ((item == null ? void 0 : item.title) + "").length * 14 + 16;
@@ -37735,26 +37772,30 @@ function handleColumnResize(propsRef, columns, wrapRef) {
37735
37772
  }
37736
37773
  }
37737
37774
  });
37738
- }
37739
- function handleChildren(children, ellipsis) {
37775
+ };
37776
+ const handleChildren = (children, ellipsis) => {
37740
37777
  if (!children)
37741
37778
  return;
37742
37779
  children.forEach((item) => {
37743
- const { children: children2 } = item;
37780
+ const {
37781
+ children: children2
37782
+ } = item;
37744
37783
  handleItem(item, ellipsis);
37745
37784
  handleChildren(children2, ellipsis);
37746
37785
  });
37747
- }
37748
- function handleIndexColumn(propsRef, getPaginationRef, columns) {
37749
- const { showIndexColumn, indexColumnProps, isTreeTable } = vue.unref(propsRef);
37786
+ };
37787
+ const handleIndexColumn = (propsRef, getPaginationRef, columns) => {
37788
+ const {
37789
+ showIndexColumn,
37790
+ indexColumnProps,
37791
+ isTreeTable
37792
+ } = vue.unref(propsRef);
37750
37793
  let pushIndexColumns = false;
37751
37794
  if (vue.unref(isTreeTable)) {
37752
37795
  return;
37753
37796
  }
37754
37797
  columns.forEach(() => {
37755
- const indIndex = columns.findIndex(
37756
- (column2) => column2.flag === INDEX_COLUMN_FLAG
37757
- );
37798
+ const indIndex = columns.findIndex((column2) => column2.flag === INDEX_COLUMN_FLAG);
37758
37799
  if (showIndexColumn) {
37759
37800
  pushIndexColumns = indIndex === -1;
37760
37801
  } else if (!showIndexColumn && indIndex !== -1) {
@@ -37771,31 +37812,34 @@ function handleIndexColumn(propsRef, getPaginationRef, columns) {
37771
37812
  maxWidth: 50,
37772
37813
  title: "序号",
37773
37814
  align: "center",
37774
- customRender: ({ index: index2 }) => {
37815
+ customRender: ({
37816
+ index: index2
37817
+ }) => {
37775
37818
  const getPagination = vue.unref(getPaginationRef);
37776
37819
  if (utils.isBoolean(getPagination)) {
37777
37820
  return `${index2 + 1}`;
37778
37821
  }
37779
- const { current = 1, pageSize = PAGE_SIZE } = getPagination;
37780
- return vue.h(
37781
- "div",
37782
- { class: "ant-table-cell-index full cursor-pointer" },
37783
- ((current < 1 ? 1 : current) - 1) * pageSize + index2 + 1
37784
- );
37822
+ const {
37823
+ current = 1,
37824
+ pageSize = PAGE_SIZE
37825
+ } = getPagination;
37826
+ return vue.h("div", {
37827
+ class: "ant-table-cell-index full cursor-pointer"
37828
+ }, ((current < 1 ? 1 : current) - 1) * pageSize + index2 + 1);
37785
37829
  },
37786
37830
  ...isFixedLeft ? {
37787
37831
  fixed: "left"
37788
37832
  } : {},
37789
37833
  ...indexColumnProps
37790
37834
  });
37791
- }
37792
- function handleActionColumn(propsRef, columns) {
37793
- const { actionColumn } = vue.unref(propsRef);
37835
+ };
37836
+ const handleActionColumn = (propsRef, columns) => {
37837
+ const {
37838
+ actionColumn
37839
+ } = vue.unref(propsRef);
37794
37840
  if (!actionColumn)
37795
37841
  return;
37796
- const hasIndex = columns.findIndex(
37797
- (column2) => column2.flag === ACTION_COLUMN_FLAG
37798
- );
37842
+ const hasIndex = columns.findIndex((column2) => column2.flag === ACTION_COLUMN_FLAG);
37799
37843
  if (hasIndex === -1) {
37800
37844
  columns.push({
37801
37845
  ...columns[hasIndex],
@@ -37807,8 +37851,8 @@ function handleActionColumn(propsRef, columns) {
37807
37851
  flag: ACTION_COLUMN_FLAG
37808
37852
  });
37809
37853
  }
37810
- }
37811
- function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37854
+ };
37855
+ const useColumns = (propsRef, getPaginationRef, tableAction2, wrapRef) => {
37812
37856
  const columnsRef = vue.ref(vue.unref(propsRef).columns);
37813
37857
  let cacheColumns = vue.unref(propsRef).columns;
37814
37858
  const getColumnsRef = vue.computed(() => {
@@ -37819,17 +37863,19 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37819
37863
  if (!columns) {
37820
37864
  return [];
37821
37865
  }
37822
- const { ellipsis } = vue.unref(propsRef);
37866
+ const {
37867
+ ellipsis
37868
+ } = vue.unref(propsRef);
37823
37869
  columns.forEach((item) => {
37824
- const { customRender, slots } = item;
37825
- handleItem(
37826
- item,
37827
- Reflect.has(item, "ellipsis") ? !!item.ellipsis : !!ellipsis && !customRender && !slots
37828
- );
37870
+ const {
37871
+ customRender,
37872
+ slots
37873
+ } = item;
37874
+ handleItem(item, Reflect.has(item, "ellipsis") ? !!item.ellipsis : !!ellipsis && !customRender && !slots);
37829
37875
  });
37830
37876
  return columns;
37831
37877
  });
37832
- function isIfShow(column2) {
37878
+ const isIfShow = (column2) => {
37833
37879
  const ifShow = column2.ifShow;
37834
37880
  let isIfShow2 = true;
37835
37881
  if (utils.isBoolean(ifShow)) {
@@ -37839,7 +37885,7 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37839
37885
  isIfShow2 = ifShow(column2);
37840
37886
  }
37841
37887
  return isIfShow2;
37842
- }
37888
+ };
37843
37889
  const hasPermission = (key2) => true;
37844
37890
  const getViewColumns = vue.computed(() => {
37845
37891
  const viewColumns = sortFixedColumn(vue.unref(getColumnsRef));
@@ -37848,10 +37894,7 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37848
37894
  return hasPermission(column2.auth) && isIfShow(column2);
37849
37895
  }).map((column2) => {
37850
37896
  var _a2, _b;
37851
- const isSummaryCol = (_b = (_a2 = vue.unref(propsRef).summaryTotalFields) == null ? void 0 : _a2.includes) == null ? void 0 : _b.call(
37852
- _a2,
37853
- column2.dataIndex
37854
- );
37897
+ const isSummaryCol = (_b = (_a2 = vue.unref(propsRef).summaryTotalFields) == null ? void 0 : _a2.includes) == null ? void 0 : _b.call(_a2, column2.dataIndex);
37855
37898
  const summaryFormat = (text) => {
37856
37899
  return text ? utils.isNumber(+text) && !isNaN(+text) ? (+text).toFixed(vue.unref(propsRef).summaryPrecision).replace(/(\d)(?=(\d{3})+\.)/g, "$1,") : text : "";
37857
37900
  };
@@ -37861,25 +37904,50 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37861
37904
  format: format2 = isSummaryCol ? summaryFormat : void 0,
37862
37905
  edit,
37863
37906
  editRow,
37864
- flag
37907
+ flag,
37908
+ tag,
37909
+ options
37865
37910
  } = column2;
37911
+ const renderTag = ({
37912
+ value
37913
+ }) => {
37914
+ return vue.createVNode(ShyTableTag, {
37915
+ "value": value,
37916
+ "options": options
37917
+ }, null);
37918
+ };
37866
37919
  if (!slots || !(slots == null ? void 0 : slots.title)) {
37867
37920
  column2.customTitle = column2.title;
37868
37921
  Reflect.deleteProperty(column2, "title");
37869
37922
  }
37870
- const isDefaultAction = [
37871
- INDEX_COLUMN_FLAG,
37872
- ACTION_COLUMN_FLAG
37873
- ].includes(flag);
37874
- if (!customRender && format2 && !edit && !isDefaultAction) {
37875
- column2.customRender = ({ text, record, index: index2 }) => {
37923
+ const isDefaultAction = [INDEX_COLUMN_FLAG, ACTION_COLUMN_FLAG].includes(flag);
37924
+ if (!customRender && format2 && !edit && !isDefaultAction && !(tag && options)) {
37925
+ column2.customRender = ({
37926
+ text,
37927
+ record,
37928
+ index: index2
37929
+ }) => {
37876
37930
  return formatCell(text, format2, record, index2, tableAction2.value);
37877
37931
  };
37878
37932
  }
37879
- if (customRender) {
37880
- column2.customRender = ({ ...ages }) => customRender({
37881
- ...ages,
37882
- ...{ tableAction: tableAction2.value }
37933
+ if (customRender && !(tag && options)) {
37934
+ column2.customRender = ({
37935
+ ...args
37936
+ }) => customRender({
37937
+ ...args,
37938
+ ...{
37939
+ tableAction: tableAction2.value
37940
+ }
37941
+ });
37942
+ }
37943
+ if (tag && options) {
37944
+ column2.customRender = ({
37945
+ ...args
37946
+ }) => renderTag({
37947
+ ...args,
37948
+ ...{
37949
+ tableAction: tableAction2.value
37950
+ }
37883
37951
  });
37884
37952
  }
37885
37953
  if ((edit || editRow) && !isDefaultAction) {
@@ -37897,18 +37965,17 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37897
37965
  });
37898
37966
  const getColumnsSummary = vue.computed(() => {
37899
37967
  if (propsRef.value.rowSelection) {
37900
- return [{ flag: "ROW_SELECTION" }, ...getViewColumns.value];
37968
+ return [{
37969
+ flag: "ROW_SELECTION"
37970
+ }, ...getViewColumns.value];
37901
37971
  }
37902
37972
  return getViewColumns.value;
37903
37973
  });
37904
- vue.watch(
37905
- () => vue.unref(propsRef).columns,
37906
- (columns) => {
37907
- columnsRef.value = columns;
37908
- cacheColumns = (columns == null ? void 0 : columns.filter((item) => !item.flag)) ?? [];
37909
- }
37910
- );
37911
- function setCacheColumnsByField(dataIndex, value) {
37974
+ vue.watch(() => vue.unref(propsRef).columns, (columns) => {
37975
+ columnsRef.value = columns;
37976
+ cacheColumns = (columns == null ? void 0 : columns.filter((item) => !item.flag)) ?? [];
37977
+ });
37978
+ const setCacheColumnsByField = (dataIndex, value) => {
37912
37979
  if (!dataIndex || !value) {
37913
37980
  return;
37914
37981
  }
@@ -37918,8 +37985,8 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37918
37985
  return;
37919
37986
  }
37920
37987
  });
37921
- }
37922
- function setColumns(columnList) {
37988
+ };
37989
+ const setColumns = (columnList) => {
37923
37990
  const columns = cloneDeep(columnList);
37924
37991
  if (!utils.isArray(columns))
37925
37992
  return;
@@ -37933,17 +38000,13 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37933
38000
  columnsRef.value = columns;
37934
38001
  cacheColumns = columns;
37935
38002
  } else {
37936
- const columnKeys = columns.map(
37937
- (m) => m.toString()
37938
- );
38003
+ const columnKeys = columns.map((m) => m.toString());
37939
38004
  const newColumns = [];
37940
38005
  cacheColumns.forEach((item) => {
37941
38006
  var _a2;
37942
38007
  newColumns.push({
37943
38008
  ...item,
37944
- defaultHidden: !columnKeys.includes(
37945
- ((_a2 = item.dataIndex) == null ? void 0 : _a2.toString()) || item.key
37946
- )
38009
+ defaultHidden: !columnKeys.includes(((_a2 = item.dataIndex) == null ? void 0 : _a2.toString()) || item.key)
37947
38010
  });
37948
38011
  });
37949
38012
  if (!isEqual(cacheKeys, columns)) {
@@ -37954,9 +38017,13 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37954
38017
  }
37955
38018
  columnsRef.value = newColumns;
37956
38019
  }
37957
- }
37958
- function getColumns(opt) {
37959
- const { ignoreIndex, ignoreAction, sort } = opt || {};
38020
+ };
38021
+ const getColumns = (opt) => {
38022
+ const {
38023
+ ignoreIndex,
38024
+ ignoreAction,
38025
+ sort
38026
+ } = opt || {};
37960
38027
  let columns = vue.toRaw(vue.unref(getColumnsRef));
37961
38028
  if (ignoreIndex) {
37962
38029
  columns = columns.filter((item) => item.flag !== INDEX_COLUMN_FLAG);
@@ -37968,10 +38035,10 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37968
38035
  columns = sortFixedColumn(columns);
37969
38036
  }
37970
38037
  return columns;
37971
- }
37972
- function getCacheColumns() {
38038
+ };
38039
+ const getCacheColumns = () => {
37973
38040
  return cacheColumns;
37974
- }
38041
+ };
37975
38042
  return {
37976
38043
  getColumnsRef,
37977
38044
  getCacheColumns,
@@ -37981,8 +38048,8 @@ function useColumns(propsRef, getPaginationRef, tableAction2, wrapRef) {
37981
38048
  setCacheColumnsByField,
37982
38049
  getColumnsSummary
37983
38050
  };
37984
- }
37985
- function sortFixedColumn(columns) {
38051
+ };
38052
+ const sortFixedColumn = (columns) => {
37986
38053
  const fixedLeftColumns = [];
37987
38054
  const fixedRightColumns = [];
37988
38055
  const defColumns = [];
@@ -37997,11 +38064,9 @@ function sortFixedColumn(columns) {
37997
38064
  }
37998
38065
  defColumns.push(column2);
37999
38066
  }
38000
- return [...fixedLeftColumns, ...defColumns, ...fixedRightColumns].filter(
38001
- (item) => !item.defaultHidden
38002
- );
38003
- }
38004
- function formatCell(text, format2, record, index2, tableAction2) {
38067
+ return [...fixedLeftColumns, ...defColumns, ...fixedRightColumns].filter((item) => !item.defaultHidden);
38068
+ };
38069
+ const formatCell = (text, format2, record, index2, tableAction2) => {
38005
38070
  if (!format2) {
38006
38071
  return text;
38007
38072
  }
@@ -38023,7 +38088,7 @@ function formatCell(text, format2, record, index2, tableAction2) {
38023
38088
  } catch (error2) {
38024
38089
  return text;
38025
38090
  }
38026
- }
38091
+ };
38027
38092
  function useTableScroll(propsRef, tableElRef, columnsRef, rowSelectionRef, getDataSourceRef, wrapRef, formRef) {
38028
38093
  const tableHeightRef = vue.ref(167);
38029
38094
  const modalFn = useModalContext();
@@ -38426,8 +38491,8 @@ const _sfc_main$3 = vue.defineComponent({
38426
38491
  };
38427
38492
  }
38428
38493
  });
38429
- const TableGlobalSearch_vue_vue_type_style_index_0_scoped_b3419d34_lang = "";
38430
- const _withScopeId = (n) => (vue.pushScopeId("data-v-b3419d34"), n = n(), vue.popScopeId(), n);
38494
+ const TableGlobalSearch_vue_vue_type_style_index_0_scoped_ac81b595_lang = "";
38495
+ const _withScopeId = (n) => (vue.pushScopeId("data-v-ac81b595"), n = n(), vue.popScopeId(), n);
38431
38496
  const _hoisted_1$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索全部", -1));
38432
38497
  const _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索特定字段", -1));
38433
38498
  const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, null, -1));
@@ -38485,7 +38550,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
38485
38550
  ])
38486
38551
  ], 4);
38487
38552
  }
38488
- const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__scopeId", "data-v-b3419d34"]]);
38553
+ const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__scopeId", "data-v-ac81b595"]]);
38489
38554
  const _sfc_main$2 = vue.defineComponent({
38490
38555
  name: "EditTableHeaderIcon",
38491
38556
  components: { FormOutlined: FormOutlined$1 },
@@ -39709,8 +39774,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
39709
39774
  };
39710
39775
  }
39711
39776
  });
39712
- const Process_vue_vue_type_style_index_0_scoped_0cf797c8_lang = "";
39713
- const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0cf797c8"]]);
39777
+ const Process_vue_vue_type_style_index_0_scoped_5c48c981_lang = "";
39778
+ const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5c48c981"]]);
39714
39779
  exports.AdvancedSearch = _sfc_main$T;
39715
39780
  exports.ApiCascader = ApiCascader$1;
39716
39781
  exports.ApiModalSelect = ApiModalSelect$1;