3h1-ui 3.0.0-next.90 → 3.0.0-next.91

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/index.js CHANGED
@@ -5464,7 +5464,7 @@ const _sfc_main$1D = defineComponent({
5464
5464
  };
5465
5465
  }
5466
5466
  });
5467
- const StrengthMeter_vue_vue_type_style_index_0_scoped_c8d77eaa_lang = "";
5467
+ const StrengthMeter_vue_vue_type_style_index_0_scoped_678d40fd_lang = "";
5468
5468
  const _hoisted_1$F = ["data-score"];
5469
5469
  function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
5470
5470
  const _component_InputPassword = resolveComponent("InputPassword");
@@ -5496,7 +5496,7 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
5496
5496
  ], 2)
5497
5497
  ], 2);
5498
5498
  }
5499
- const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$X], ["__scopeId", "data-v-c8d77eaa"]]);
5499
+ const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$X], ["__scopeId", "data-v-678d40fd"]]);
5500
5500
  const _sfc_main$1C = defineComponent({
5501
5501
  name: "SvgIcon",
5502
5502
  props: {
@@ -5532,7 +5532,7 @@ const _sfc_main$1C = defineComponent({
5532
5532
  return { symbolId, prefixCls: prefixCls2, getStyle };
5533
5533
  }
5534
5534
  });
5535
- const SvgIcon_vue_vue_type_style_index_0_scoped_fa64fe87_lang = "";
5535
+ const SvgIcon_vue_vue_type_style_index_0_scoped_905fa4a6_lang = "";
5536
5536
  const _hoisted_1$E = ["xlink:href"];
5537
5537
  function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
5538
5538
  return openBlock(), createElementBlock("svg", {
@@ -5543,7 +5543,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
5543
5543
  createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$E)
5544
5544
  ], 6);
5545
5545
  }
5546
- const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sfc_render$W], ["__scopeId", "data-v-fa64fe87"]]);
5546
+ const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sfc_render$W], ["__scopeId", "data-v-905fa4a6"]]);
5547
5547
  const SVG_END_WITH_FLAG = "|svg";
5548
5548
  const _sfc_main$1B = defineComponent({
5549
5549
  name: "Icon",
@@ -5854,8 +5854,8 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
5854
5854
  };
5855
5855
  }
5856
5856
  });
5857
- const BasicArrow_vue_vue_type_style_index_0_scoped_03d87956_lang = "";
5858
- const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-03d87956"]]);
5857
+ const BasicArrow_vue_vue_type_style_index_0_scoped_fea26917_lang = "";
5858
+ const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-fea26917"]]);
5859
5859
  const props$c = {
5860
5860
  /**
5861
5861
  * Help text max-width
@@ -6011,8 +6011,8 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
6011
6011
  };
6012
6012
  }
6013
6013
  });
6014
- const BasicTitle_vue_vue_type_style_index_0_scoped_93754286_lang = "";
6015
- const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__scopeId", "data-v-93754286"]]);
6014
+ const BasicTitle_vue_vue_type_style_index_0_scoped_3f576a81_lang = "";
6015
+ const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__scopeId", "data-v-3f576a81"]]);
6016
6016
  const props$b = {
6017
6017
  prefixCls: { type: String },
6018
6018
  helpMessage: {
@@ -9607,8 +9607,8 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
9607
9607
  };
9608
9608
  }
9609
9609
  });
9610
- const Table_vue_vue_type_style_index_0_scoped_9232fde4_lang = "";
9611
- const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-9232fde4"]]);
9610
+ const Table_vue_vue_type_style_index_0_scoped_95018c58_lang = "";
9611
+ const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-95018c58"]]);
9612
9612
  const modal = "";
9613
9613
  const modalProps = {
9614
9614
  visible: { type: Boolean },
@@ -10658,8 +10658,8 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
10658
10658
  };
10659
10659
  }
10660
10660
  });
10661
- const BasicTitle_vue_vue_type_style_index_0_scoped_d388ea3f_lang = "";
10662
- const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-d388ea3f"]]);
10661
+ const BasicTitle_vue_vue_type_style_index_0_scoped_1b6517cc_lang = "";
10662
+ const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-1b6517cc"]]);
10663
10663
  const _sfc_main$1g = defineComponent({
10664
10664
  name: "BasicModalHeader",
10665
10665
  components: { BasicTitle },
@@ -14526,8 +14526,8 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
14526
14526
  };
14527
14527
  }
14528
14528
  });
14529
- const TreeHeader_vue_vue_type_style_index_0_scoped_b90f77bd_lang = "";
14530
- const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-b90f77bd"]]);
14529
+ const TreeHeader_vue_vue_type_style_index_0_scoped_fd31ab3e_lang = "";
14530
+ const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-fd31ab3e"]]);
14531
14531
  process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
14532
14532
  process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
14533
14533
  const isString$1 = (val) => typeof val === "string";
@@ -18141,8 +18141,8 @@ const _sfc_main$S = defineComponent({
18141
18141
  return { isVisibleAdvancedSearch, handleIconClick };
18142
18142
  }
18143
18143
  });
18144
- const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_c5892da8_lang = "";
18145
- const _withScopeId$2 = (n) => (pushScopeId("data-v-c5892da8"), n = n(), popScopeId(), n);
18144
+ const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_f74ee46a_lang = "";
18145
+ const _withScopeId$2 = (n) => (pushScopeId("data-v-f74ee46a"), n = n(), popScopeId(), n);
18146
18146
  const _hoisted_1$q = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", null, "高级搜索", -1));
18147
18147
  function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
18148
18148
  const _component_FilterOutlined = resolveComponent("FilterOutlined");
@@ -18160,7 +18160,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
18160
18160
  _: 1
18161
18161
  });
18162
18162
  }
18163
- const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$z], ["__scopeId", "data-v-c5892da8"]]);
18163
+ const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$z], ["__scopeId", "data-v-f74ee46a"]]);
18164
18164
  const index$4 = "";
18165
18165
  const searchType = [
18166
18166
  {
@@ -19533,8 +19533,8 @@ const _sfc_main$L = defineComponent({
19533
19533
  };
19534
19534
  }
19535
19535
  });
19536
- const TableGlobalSearch_vue_vue_type_style_index_0_scoped_ee7fb814_lang = "";
19537
- const _withScopeId$1 = (n) => (pushScopeId("data-v-ee7fb814"), n = n(), popScopeId(), n);
19536
+ const TableGlobalSearch_vue_vue_type_style_index_0_scoped_c66f26d7_lang = "";
19537
+ const _withScopeId$1 = (n) => (pushScopeId("data-v-c66f26d7"), n = n(), popScopeId(), n);
19538
19538
  const _hoisted_1$l = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, "搜索全部", -1));
19539
19539
  const _hoisted_2$7 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, "搜索特定字段", -1));
19540
19540
  const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
@@ -19592,7 +19592,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
19592
19592
  ])
19593
19593
  ], 4);
19594
19594
  }
19595
- const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$u], ["__scopeId", "data-v-ee7fb814"]]);
19595
+ const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$u], ["__scopeId", "data-v-c66f26d7"]]);
19596
19596
  const _sfc_main$K = defineComponent({
19597
19597
  components: {
19598
19598
  TableAdvancedSearch: TableAdvancedSearch$1,
@@ -20146,7 +20146,7 @@ const _sfc_main$I = defineComponent({
20146
20146
  setup() {
20147
20147
  }
20148
20148
  });
20149
- const TableDict_vue_vue_type_style_index_0_scoped_21146269_lang = "";
20149
+ const TableDict_vue_vue_type_style_index_0_scoped_7d89a0e9_lang = "";
20150
20150
  function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
20151
20151
  var _a2;
20152
20152
  const _component_Icon = resolveComponent("Icon");
@@ -20175,7 +20175,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
20175
20175
  ]), 1032, ["color"])
20176
20176
  ]);
20177
20177
  }
20178
- const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$r], ["__scopeId", "data-v-21146269"]]);
20178
+ const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$r], ["__scopeId", "data-v-7d89a0e9"]]);
20179
20179
  const index$3 = "";
20180
20180
  function useTable(tableProps) {
20181
20181
  const tableRef = ref(null);
@@ -20447,8 +20447,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
20447
20447
  };
20448
20448
  }
20449
20449
  });
20450
- const Modal_vue_vue_type_style_index_0_scoped_24f758b3_lang = "";
20451
- const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-24f758b3"]]);
20450
+ const Modal_vue_vue_type_style_index_0_scoped_4dc415ac_lang = "";
20451
+ const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-4dc415ac"]]);
20452
20452
  const _hoisted_1$h = { class: "api-modal-select" };
20453
20453
  const _sfc_main$F = /* @__PURE__ */ defineComponent({
20454
20454
  __name: "ApiModalSelect",
@@ -20596,8 +20596,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20596
20596
  };
20597
20597
  }
20598
20598
  });
20599
- const ApiModalSelect_vue_vue_type_style_index_0_scoped_5427533c_lang = "";
20600
- const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-5427533c"]]);
20599
+ const ApiModalSelect_vue_vue_type_style_index_0_scoped_fb4fe18d_lang = "";
20600
+ const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-fb4fe18d"]]);
20601
20601
  const Description$1 = "";
20602
20602
  const basicColProps = 24;
20603
20603
  const basicProps$3 = reactive({
@@ -24870,7 +24870,7 @@ const _sfc_main$w = defineComponent({
24870
24870
  }
24871
24871
  }
24872
24872
  });
24873
- const Loading_vue_vue_type_style_index_0_scoped_33b23b82_lang = "";
24873
+ const Loading_vue_vue_type_style_index_0_scoped_ee545744_lang = "";
24874
24874
  function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
24875
24875
  const _component_Spin = resolveComponent("Spin");
24876
24876
  return withDirectives((openBlock(), createElementBlock("section", {
@@ -24886,7 +24886,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
24886
24886
  [vShow, _ctx.loading]
24887
24887
  ]);
24888
24888
  }
24889
- const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$j], ["__scopeId", "data-v-33b23b82"]]);
24889
+ const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$j], ["__scopeId", "data-v-ee545744"]]);
24890
24890
  function createLoading(props2, target, wait = false) {
24891
24891
  let vm = null;
24892
24892
  const data = reactive({
@@ -25032,7 +25032,9 @@ const useTableData = (getProps, { setPage, params, tableRef }) => {
25032
25032
  const reload = async () => {
25033
25033
  var _a2;
25034
25034
  if ((_a2 = getProps.value) == null ? void 0 : _a2.api) {
25035
- const res = await getProps.value.api(params.value);
25035
+ const res = await getProps.value.api(
25036
+ getProps.value.beforeFetch(params.value)
25037
+ );
25036
25038
  const isArrayResult = Array.isArray(res);
25037
25039
  let resultItems = isArrayResult ? res : get(res, "records");
25038
25040
  const resultTotal = isArrayResult ? res.length : get(res, "total");
@@ -25992,7 +25994,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
25992
25994
  columnSeq: { default: () => {
25993
25995
  return {};
25994
25996
  } },
25995
- transDataAfterReload: {}
25997
+ transDataAfterReload: {},
25998
+ beforeFetch: { default: (params) => {
25999
+ return params;
26000
+ } }
25996
26001
  },
25997
26002
  emits: [
25998
26003
  "register",
@@ -26679,7 +26684,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
26679
26684
  },
26680
26685
  setup(__props, { expose: __expose }) {
26681
26686
  useCssVars((_ctx) => ({
26682
- "7210fae1": props2.labelWidth
26687
+ "989efb00": props2.labelWidth
26683
26688
  }));
26684
26689
  const props2 = __props;
26685
26690
  const form = ref({});
@@ -26850,8 +26855,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
26850
26855
  };
26851
26856
  }
26852
26857
  });
26853
- const DescriptionsForm_vue_vue_type_style_index_0_scoped_b1ced086_lang = "";
26854
- const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-b1ced086"]]);
26858
+ const DescriptionsForm_vue_vue_type_style_index_0_scoped_2d2eda80_lang = "";
26859
+ const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-2d2eda80"]]);
26855
26860
  const DescriptionsForm = withInstall$8(descriptionsForm);
26856
26861
  const basicResizeWrapperProps = reactive({
26857
26862
  designWidth: {
@@ -26896,8 +26901,8 @@ const __default__$1 = defineComponent({
26896
26901
  });
26897
26902
  const __injectCSSVars__ = () => {
26898
26903
  useCssVars((_ctx) => ({
26899
- "1a93f028": _ctx.designWidth,
26900
- "1e1b1b05": _ctx.designHeight
26904
+ "0aaa544f": _ctx.designWidth,
26905
+ "30d13bbe": _ctx.designHeight
26901
26906
  }));
26902
26907
  };
26903
26908
  const __setup__ = __default__$1.setup;
@@ -27377,7 +27382,7 @@ const styles = `.vue-colorful {
27377
27382
  border-color: transparent;
27378
27383
  border-bottom: 12px solid #000;
27379
27384
  border-radius: 8px 8px 0 0;
27380
- background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),\r
27385
+ background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),
27381
27386
  linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
27382
27387
  }
27383
27388
  .vue-colorful__pointer-fill, .vue-colorful__alpha-gradient {
@@ -27398,15 +27403,15 @@ const styles = `.vue-colorful {
27398
27403
  height: 24px;
27399
27404
  }
27400
27405
  .vue-colorful__hue {
27401
- background: linear-gradient(\r
27402
- to right,\r
27403
- #f00 0%,\r
27404
- #ff0 17%,\r
27405
- #0f0 33%,\r
27406
- #0ff 50%,\r
27407
- #00f 67%,\r
27408
- #f0f 83%,\r
27409
- #f00 100%\r
27406
+ background: linear-gradient(
27407
+ to right,
27408
+ #f00 0%,
27409
+ #ff0 17%,
27410
+ #0f0 33%,
27411
+ #0ff 50%,
27412
+ #00f 67%,
27413
+ #f0f 83%,
27414
+ #f00 100%
27410
27415
  );
27411
27416
  }
27412
27417
  .vue-colorful__last-control {
@@ -35729,8 +35734,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
35729
35734
  };
35730
35735
  }
35731
35736
  });
35732
- const Table_vue_vue_type_style_index_0_scoped_5f20f43f_lang = "";
35733
- const Table = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-5f20f43f"]]);
35737
+ const Table_vue_vue_type_style_index_0_scoped_08f6f4a1_lang = "";
35738
+ const Table = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-08f6f4a1"]]);
35734
35739
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
35735
35740
  __name: "DeptTree",
35736
35741
  props: {
@@ -35882,8 +35887,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
35882
35887
  };
35883
35888
  }
35884
35889
  });
35885
- const Modal_vue_vue_type_style_index_0_scoped_15e2dcbb_lang = "";
35886
- const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-15e2dcbb"]]);
35890
+ const Modal_vue_vue_type_style_index_0_scoped_0ca4fd85_lang = "";
35891
+ const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-0ca4fd85"]]);
35887
35892
  const _hoisted_1$3 = { class: "api-modal-select" };
35888
35893
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
35889
35894
  __name: "ApiModalSelect",
@@ -36031,8 +36036,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
36031
36036
  };
36032
36037
  }
36033
36038
  });
36034
- const ApiModalSelect_vue_vue_type_style_index_0_scoped_5019fbdf_lang = "";
36035
- const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-5019fbdf"]]);
36039
+ const ApiModalSelect_vue_vue_type_style_index_0_scoped_45845a8d_lang = "";
36040
+ const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-45845a8d"]]);
36036
36041
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
36037
36042
  __name: "FormWrapper",
36038
36043
  props: {
@@ -39001,8 +39006,8 @@ const _sfc_main$2 = defineComponent({
39001
39006
  };
39002
39007
  }
39003
39008
  });
39004
- const TableGlobalSearch_vue_vue_type_style_index_0_scoped_329dc06f_lang = "";
39005
- const _withScopeId = (n) => (pushScopeId("data-v-329dc06f"), n = n(), popScopeId(), n);
39009
+ const TableGlobalSearch_vue_vue_type_style_index_0_scoped_e87e82dc_lang = "";
39010
+ const _withScopeId = (n) => (pushScopeId("data-v-e87e82dc"), n = n(), popScopeId(), n);
39006
39011
  const _hoisted_1$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "搜索全部", -1));
39007
39012
  const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "搜索特定字段", -1));
39008
39013
  const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
@@ -39060,7 +39065,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
39060
39065
  ])
39061
39066
  ], 4);
39062
39067
  }
39063
- const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$1], ["__scopeId", "data-v-329dc06f"]]);
39068
+ const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$1], ["__scopeId", "data-v-e87e82dc"]]);
39064
39069
  const _sfc_main$1 = defineComponent({
39065
39070
  name: "EditTableHeaderIcon",
39066
39071
  components: { FormOutlined: FormOutlined$1 },