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/lib/index.js CHANGED
@@ -5488,7 +5488,7 @@ const _sfc_main$1D = vue.defineComponent({
5488
5488
  };
5489
5489
  }
5490
5490
  });
5491
- const StrengthMeter_vue_vue_type_style_index_0_scoped_c8d77eaa_lang = "";
5491
+ const StrengthMeter_vue_vue_type_style_index_0_scoped_678d40fd_lang = "";
5492
5492
  const _hoisted_1$F = ["data-score"];
5493
5493
  function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
5494
5494
  const _component_InputPassword = vue.resolveComponent("InputPassword");
@@ -5520,7 +5520,7 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
5520
5520
  ], 2)
5521
5521
  ], 2);
5522
5522
  }
5523
- const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$X], ["__scopeId", "data-v-c8d77eaa"]]);
5523
+ const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$X], ["__scopeId", "data-v-678d40fd"]]);
5524
5524
  const _sfc_main$1C = vue.defineComponent({
5525
5525
  name: "SvgIcon",
5526
5526
  props: {
@@ -5556,7 +5556,7 @@ const _sfc_main$1C = vue.defineComponent({
5556
5556
  return { symbolId, prefixCls: prefixCls2, getStyle };
5557
5557
  }
5558
5558
  });
5559
- const SvgIcon_vue_vue_type_style_index_0_scoped_fa64fe87_lang = "";
5559
+ const SvgIcon_vue_vue_type_style_index_0_scoped_905fa4a6_lang = "";
5560
5560
  const _hoisted_1$E = ["xlink:href"];
5561
5561
  function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
5562
5562
  return vue.openBlock(), vue.createElementBlock("svg", {
@@ -5567,7 +5567,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
5567
5567
  vue.createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$E)
5568
5568
  ], 6);
5569
5569
  }
5570
- const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sfc_render$W], ["__scopeId", "data-v-fa64fe87"]]);
5570
+ const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sfc_render$W], ["__scopeId", "data-v-905fa4a6"]]);
5571
5571
  const SVG_END_WITH_FLAG = "|svg";
5572
5572
  const _sfc_main$1B = vue.defineComponent({
5573
5573
  name: "Icon",
@@ -5878,8 +5878,8 @@ const _sfc_main$1z = /* @__PURE__ */ vue.defineComponent({
5878
5878
  };
5879
5879
  }
5880
5880
  });
5881
- const BasicArrow_vue_vue_type_style_index_0_scoped_03d87956_lang = "";
5882
- const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-03d87956"]]);
5881
+ const BasicArrow_vue_vue_type_style_index_0_scoped_fea26917_lang = "";
5882
+ const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-fea26917"]]);
5883
5883
  const props$c = {
5884
5884
  /**
5885
5885
  * Help text max-width
@@ -6035,8 +6035,8 @@ const _sfc_main$1x = /* @__PURE__ */ vue.defineComponent({
6035
6035
  };
6036
6036
  }
6037
6037
  });
6038
- const BasicTitle_vue_vue_type_style_index_0_scoped_93754286_lang = "";
6039
- const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__scopeId", "data-v-93754286"]]);
6038
+ const BasicTitle_vue_vue_type_style_index_0_scoped_3f576a81_lang = "";
6039
+ const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__scopeId", "data-v-3f576a81"]]);
6040
6040
  const props$b = {
6041
6041
  prefixCls: { type: String },
6042
6042
  helpMessage: {
@@ -9631,8 +9631,8 @@ const _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
9631
9631
  };
9632
9632
  }
9633
9633
  });
9634
- const Table_vue_vue_type_style_index_0_scoped_9232fde4_lang = "";
9635
- const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-9232fde4"]]);
9634
+ const Table_vue_vue_type_style_index_0_scoped_95018c58_lang = "";
9635
+ const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-95018c58"]]);
9636
9636
  const modal = "";
9637
9637
  const modalProps = {
9638
9638
  visible: { type: Boolean },
@@ -10682,8 +10682,8 @@ const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
10682
10682
  };
10683
10683
  }
10684
10684
  });
10685
- const BasicTitle_vue_vue_type_style_index_0_scoped_d388ea3f_lang = "";
10686
- const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-d388ea3f"]]);
10685
+ const BasicTitle_vue_vue_type_style_index_0_scoped_1b6517cc_lang = "";
10686
+ const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-1b6517cc"]]);
10687
10687
  const _sfc_main$1g = vue.defineComponent({
10688
10688
  name: "BasicModalHeader",
10689
10689
  components: { BasicTitle },
@@ -14550,8 +14550,8 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
14550
14550
  };
14551
14551
  }
14552
14552
  });
14553
- const TreeHeader_vue_vue_type_style_index_0_scoped_b90f77bd_lang = "";
14554
- const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-b90f77bd"]]);
14553
+ const TreeHeader_vue_vue_type_style_index_0_scoped_fd31ab3e_lang = "";
14554
+ const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-fd31ab3e"]]);
14555
14555
  process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
14556
14556
  process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
14557
14557
  const isString$1 = (val) => typeof val === "string";
@@ -18165,8 +18165,8 @@ const _sfc_main$S = vue.defineComponent({
18165
18165
  return { isVisibleAdvancedSearch, handleIconClick };
18166
18166
  }
18167
18167
  });
18168
- const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_c5892da8_lang = "";
18169
- const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-c5892da8"), n = n(), vue.popScopeId(), n);
18168
+ const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_f74ee46a_lang = "";
18169
+ const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-f74ee46a"), n = n(), vue.popScopeId(), n);
18170
18170
  const _hoisted_1$q = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("span", null, "高级搜索", -1));
18171
18171
  function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
18172
18172
  const _component_FilterOutlined = vue.resolveComponent("FilterOutlined");
@@ -18184,7 +18184,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
18184
18184
  _: 1
18185
18185
  });
18186
18186
  }
18187
- const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$z], ["__scopeId", "data-v-c5892da8"]]);
18187
+ const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$z], ["__scopeId", "data-v-f74ee46a"]]);
18188
18188
  const index$4 = "";
18189
18189
  const searchType = [
18190
18190
  {
@@ -19557,8 +19557,8 @@ const _sfc_main$L = vue.defineComponent({
19557
19557
  };
19558
19558
  }
19559
19559
  });
19560
- const TableGlobalSearch_vue_vue_type_style_index_0_scoped_ee7fb814_lang = "";
19561
- const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-ee7fb814"), n = n(), vue.popScopeId(), n);
19560
+ const TableGlobalSearch_vue_vue_type_style_index_0_scoped_c66f26d7_lang = "";
19561
+ const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-c66f26d7"), n = n(), vue.popScopeId(), n);
19562
19562
  const _hoisted_1$l = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索全部", -1));
19563
19563
  const _hoisted_2$7 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索特定字段", -1));
19564
19564
  const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", null, null, -1));
@@ -19616,7 +19616,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
19616
19616
  ])
19617
19617
  ], 4);
19618
19618
  }
19619
- const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$u], ["__scopeId", "data-v-ee7fb814"]]);
19619
+ const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$u], ["__scopeId", "data-v-c66f26d7"]]);
19620
19620
  const _sfc_main$K = vue.defineComponent({
19621
19621
  components: {
19622
19622
  TableAdvancedSearch: TableAdvancedSearch$1,
@@ -20170,7 +20170,7 @@ const _sfc_main$I = vue.defineComponent({
20170
20170
  setup() {
20171
20171
  }
20172
20172
  });
20173
- const TableDict_vue_vue_type_style_index_0_scoped_21146269_lang = "";
20173
+ const TableDict_vue_vue_type_style_index_0_scoped_7d89a0e9_lang = "";
20174
20174
  function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
20175
20175
  var _a2;
20176
20176
  const _component_Icon = vue.resolveComponent("Icon");
@@ -20199,7 +20199,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
20199
20199
  ]), 1032, ["color"])
20200
20200
  ]);
20201
20201
  }
20202
- const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$r], ["__scopeId", "data-v-21146269"]]);
20202
+ const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$r], ["__scopeId", "data-v-7d89a0e9"]]);
20203
20203
  const index$3 = "";
20204
20204
  function useTable(tableProps) {
20205
20205
  const tableRef = vue.ref(null);
@@ -20471,8 +20471,8 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
20471
20471
  };
20472
20472
  }
20473
20473
  });
20474
- const Modal_vue_vue_type_style_index_0_scoped_24f758b3_lang = "";
20475
- const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-24f758b3"]]);
20474
+ const Modal_vue_vue_type_style_index_0_scoped_4dc415ac_lang = "";
20475
+ const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-4dc415ac"]]);
20476
20476
  const _hoisted_1$h = { class: "api-modal-select" };
20477
20477
  const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
20478
20478
  __name: "ApiModalSelect",
@@ -20620,8 +20620,8 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
20620
20620
  };
20621
20621
  }
20622
20622
  });
20623
- const ApiModalSelect_vue_vue_type_style_index_0_scoped_5427533c_lang = "";
20624
- const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-5427533c"]]);
20623
+ const ApiModalSelect_vue_vue_type_style_index_0_scoped_fb4fe18d_lang = "";
20624
+ const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-fb4fe18d"]]);
20625
20625
  const Description$1 = "";
20626
20626
  const basicColProps = 24;
20627
20627
  const basicProps$3 = vue.reactive({
@@ -24894,7 +24894,7 @@ const _sfc_main$w = vue.defineComponent({
24894
24894
  }
24895
24895
  }
24896
24896
  });
24897
- const Loading_vue_vue_type_style_index_0_scoped_33b23b82_lang = "";
24897
+ const Loading_vue_vue_type_style_index_0_scoped_ee545744_lang = "";
24898
24898
  function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
24899
24899
  const _component_Spin = vue.resolveComponent("Spin");
24900
24900
  return vue.withDirectives((vue.openBlock(), vue.createElementBlock("section", {
@@ -24910,7 +24910,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
24910
24910
  [vue.vShow, _ctx.loading]
24911
24911
  ]);
24912
24912
  }
24913
- const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$j], ["__scopeId", "data-v-33b23b82"]]);
24913
+ const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$j], ["__scopeId", "data-v-ee545744"]]);
24914
24914
  function createLoading(props2, target, wait = false) {
24915
24915
  let vm = null;
24916
24916
  const data = vue.reactive({
@@ -25056,7 +25056,9 @@ const useTableData = (getProps, { setPage, params, tableRef }) => {
25056
25056
  const reload = async () => {
25057
25057
  var _a2;
25058
25058
  if ((_a2 = getProps.value) == null ? void 0 : _a2.api) {
25059
- const res = await getProps.value.api(params.value);
25059
+ const res = await getProps.value.api(
25060
+ getProps.value.beforeFetch(params.value)
25061
+ );
25060
25062
  const isArrayResult = Array.isArray(res);
25061
25063
  let resultItems = isArrayResult ? res : get(res, "records");
25062
25064
  const resultTotal = isArrayResult ? res.length : get(res, "total");
@@ -26016,7 +26018,10 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
26016
26018
  columnSeq: { default: () => {
26017
26019
  return {};
26018
26020
  } },
26019
- transDataAfterReload: {}
26021
+ transDataAfterReload: {},
26022
+ beforeFetch: { default: (params) => {
26023
+ return params;
26024
+ } }
26020
26025
  },
26021
26026
  emits: [
26022
26027
  "register",
@@ -26703,7 +26708,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
26703
26708
  },
26704
26709
  setup(__props, { expose: __expose }) {
26705
26710
  vue.useCssVars((_ctx) => ({
26706
- "7210fae1": props2.labelWidth
26711
+ "989efb00": props2.labelWidth
26707
26712
  }));
26708
26713
  const props2 = __props;
26709
26714
  const form = vue.ref({});
@@ -26874,8 +26879,8 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
26874
26879
  };
26875
26880
  }
26876
26881
  });
26877
- const DescriptionsForm_vue_vue_type_style_index_0_scoped_b1ced086_lang = "";
26878
- const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-b1ced086"]]);
26882
+ const DescriptionsForm_vue_vue_type_style_index_0_scoped_2d2eda80_lang = "";
26883
+ const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-2d2eda80"]]);
26879
26884
  const DescriptionsForm = utils.withInstall(descriptionsForm);
26880
26885
  const basicResizeWrapperProps = vue.reactive({
26881
26886
  designWidth: {
@@ -26920,8 +26925,8 @@ const __default__$1 = vue.defineComponent({
26920
26925
  });
26921
26926
  const __injectCSSVars__ = () => {
26922
26927
  vue.useCssVars((_ctx) => ({
26923
- "1a93f028": _ctx.designWidth,
26924
- "1e1b1b05": _ctx.designHeight
26928
+ "0aaa544f": _ctx.designWidth,
26929
+ "30d13bbe": _ctx.designHeight
26925
26930
  }));
26926
26931
  };
26927
26932
  const __setup__ = __default__$1.setup;
@@ -27401,7 +27406,7 @@ const styles = `.vue-colorful {
27401
27406
  border-color: transparent;
27402
27407
  border-bottom: 12px solid #000;
27403
27408
  border-radius: 8px 8px 0 0;
27404
- background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),\r
27409
+ background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),
27405
27410
  linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
27406
27411
  }
27407
27412
  .vue-colorful__pointer-fill, .vue-colorful__alpha-gradient {
@@ -27422,15 +27427,15 @@ const styles = `.vue-colorful {
27422
27427
  height: 24px;
27423
27428
  }
27424
27429
  .vue-colorful__hue {
27425
- background: linear-gradient(\r
27426
- to right,\r
27427
- #f00 0%,\r
27428
- #ff0 17%,\r
27429
- #0f0 33%,\r
27430
- #0ff 50%,\r
27431
- #00f 67%,\r
27432
- #f0f 83%,\r
27433
- #f00 100%\r
27430
+ background: linear-gradient(
27431
+ to right,
27432
+ #f00 0%,
27433
+ #ff0 17%,
27434
+ #0f0 33%,
27435
+ #0ff 50%,
27436
+ #00f 67%,
27437
+ #f0f 83%,
27438
+ #f00 100%
27434
27439
  );
27435
27440
  }
27436
27441
  .vue-colorful__last-control {
@@ -35753,8 +35758,8 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
35753
35758
  };
35754
35759
  }
35755
35760
  });
35756
- const Table_vue_vue_type_style_index_0_scoped_5f20f43f_lang = "";
35757
- const Table = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-5f20f43f"]]);
35761
+ const Table_vue_vue_type_style_index_0_scoped_08f6f4a1_lang = "";
35762
+ const Table = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-08f6f4a1"]]);
35758
35763
  const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
35759
35764
  __name: "DeptTree",
35760
35765
  props: {
@@ -35906,8 +35911,8 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
35906
35911
  };
35907
35912
  }
35908
35913
  });
35909
- const Modal_vue_vue_type_style_index_0_scoped_15e2dcbb_lang = "";
35910
- const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-15e2dcbb"]]);
35914
+ const Modal_vue_vue_type_style_index_0_scoped_0ca4fd85_lang = "";
35915
+ const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-0ca4fd85"]]);
35911
35916
  const _hoisted_1$3 = { class: "api-modal-select" };
35912
35917
  const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
35913
35918
  __name: "ApiModalSelect",
@@ -36055,8 +36060,8 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
36055
36060
  };
36056
36061
  }
36057
36062
  });
36058
- const ApiModalSelect_vue_vue_type_style_index_0_scoped_5019fbdf_lang = "";
36059
- const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-5019fbdf"]]);
36063
+ const ApiModalSelect_vue_vue_type_style_index_0_scoped_45845a8d_lang = "";
36064
+ const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-45845a8d"]]);
36060
36065
  const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
36061
36066
  __name: "FormWrapper",
36062
36067
  props: {
@@ -39025,8 +39030,8 @@ const _sfc_main$2 = vue.defineComponent({
39025
39030
  };
39026
39031
  }
39027
39032
  });
39028
- const TableGlobalSearch_vue_vue_type_style_index_0_scoped_329dc06f_lang = "";
39029
- const _withScopeId = (n) => (vue.pushScopeId("data-v-329dc06f"), n = n(), vue.popScopeId(), n);
39033
+ const TableGlobalSearch_vue_vue_type_style_index_0_scoped_e87e82dc_lang = "";
39034
+ const _withScopeId = (n) => (vue.pushScopeId("data-v-e87e82dc"), n = n(), vue.popScopeId(), n);
39030
39035
  const _hoisted_1$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索全部", -1));
39031
39036
  const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, "搜索特定字段", -1));
39032
39037
  const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, null, -1));
@@ -39084,7 +39089,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
39084
39089
  ])
39085
39090
  ], 4);
39086
39091
  }
39087
- const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$1], ["__scopeId", "data-v-329dc06f"]]);
39092
+ const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$1], ["__scopeId", "data-v-e87e82dc"]]);
39088
39093
  const _sfc_main$1 = vue.defineComponent({
39089
39094
  name: "EditTableHeaderIcon",
39090
39095
  components: { FormOutlined: FormOutlined$1 },