wyfe-ivue 2.3.0 → 2.4.0

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 (25) hide show
  1. package/dist/index.es.js +72 -55
  2. package/dist/index.umd.cjs +2 -2
  3. package/dist/types/UseRender/index.vue.d.ts +7 -0
  4. package/dist/types/{src/components/index.d.ts → index.d.ts} +1 -0
  5. package/package.json +1 -1
  6. /package/dist/types/{src/components/UseElButton → UseElButton}/defaultExtConfig.d.ts +0 -0
  7. /package/dist/types/{src/components/UseElButton → UseElButton}/index.vue.d.ts +0 -0
  8. /package/dist/types/{src/components/UseElButton → UseElButton}/types.d.ts +0 -0
  9. /package/dist/types/{src/components/UseElButton → UseElButton}/useButtonHook.d.ts +0 -0
  10. /package/dist/types/{src/components/UseElForm → UseElForm}/components/InlineForm.vue.d.ts +0 -0
  11. /package/dist/types/{src/components/UseElForm → UseElForm}/components/RowForm.vue.d.ts +0 -0
  12. /package/dist/types/{src/components/UseElForm → UseElForm}/index.vue.d.ts +0 -0
  13. /package/dist/types/{src/components/UseElForm → UseElForm}/types.d.ts +0 -0
  14. /package/dist/types/{src/components/UseElForm → UseElForm}/useFormHook.d.ts +0 -0
  15. /package/dist/types/{src/components/UseElTable → UseElTable}/components/RecTableColumn.vue.d.ts +0 -0
  16. /package/dist/types/{src/components/UseElTable → UseElTable}/components/Selection.vue.d.ts +0 -0
  17. /package/dist/types/{src/components/UseElTable → UseElTable}/components/Span.vue.d.ts +0 -0
  18. /package/dist/types/{src/components/UseElTable → UseElTable}/defaultExtConfig.d.ts +0 -0
  19. /package/dist/types/{src/components/UseElTable → UseElTable}/hooks/usePaginationHook.d.ts +0 -0
  20. /package/dist/types/{src/components/UseElTable → UseElTable}/hooks/useSelectionHook.d.ts +0 -0
  21. /package/dist/types/{src/components/UseElTable → UseElTable}/hooks/useTableHook.d.ts +0 -0
  22. /package/dist/types/{src/components/UseElTable → UseElTable}/index.vue.d.ts +0 -0
  23. /package/dist/types/{src/components/UseElTable → UseElTable}/types.d.ts +0 -0
  24. /package/dist/types/{src/components/UseElTable → UseElTable}/utils.d.ts +0 -0
  25. /package/dist/types/{src/components/UseElTable → UseElTable}/vElTableAdaptive.d.ts +0 -0
package/dist/index.es.js CHANGED
@@ -20820,7 +20820,24 @@ var pD = {
20820
20820
  let n = e.__vccOpts || e;
20821
20821
  for (let [e, r] of t) n[e] = r;
20822
20822
  return n;
20823
- }, ED = /* @__PURE__ */ TD(wD, [["__scopeId", "data-v-e35e5c1d"]]), DD = (e) => {
20823
+ }, ED = /* @__PURE__ */ TD(wD, [["__scopeId", "data-v-e35e5c1d"]]), DD = ["innerHTML"], OD = {
20824
+ key: 2,
20825
+ style: { color: "#f00" }
20826
+ }, kD = /* @__PURE__ */ g({
20827
+ __name: "index",
20828
+ props: { content: {} },
20829
+ setup(e) {
20830
+ let t = s(() => (e) => typeof e == "string"), n = s(() => (e) => {
20831
+ if (C(e) || t.value(e) || typeof e != "object" || !e) return !1;
20832
+ let n = typeof e.render == "function", r = typeof e.setup == "function";
20833
+ return n || r;
20834
+ });
20835
+ return (r, i) => n.value(e.content) || C(e.content) ? (F(), l(V(e.content), { key: 0 })) : t.value(e.content) ? (F(), d("div", {
20836
+ key: 1,
20837
+ innerHTML: e.content
20838
+ }, null, 8, DD)) : (F(), d("span", OD, " 不支持的content类型(仅支持同步组件/异步组件/VNode/字符串) "));
20839
+ }
20840
+ }), AD = (e) => {
20824
20841
  let t = x("wyfe-ivue__UseElConfigProvider_key", {}), n = {
20825
20842
  globalConfig: t,
20826
20843
  finalLanguage: s(() => e.language || t.language),
@@ -20835,7 +20852,7 @@ var pD = {
20835
20852
  let n = Reflect.get(e, t);
20836
20853
  return n && typeof n == "object" && "value" in n ? n.value : n;
20837
20854
  } });
20838
- }, OD = ({ props: e, globalConfig: t }) => {
20855
+ }, jD = ({ props: e, globalConfig: t }) => {
20839
20856
  let n = R(null), r = s(() => e.formColumns.filter((e) => Object.hasOwn(e, "show") ? e.show : !0)), i = s(() => {
20840
20857
  let t = {};
20841
20858
  return e.formColumns.forEach((e) => {
@@ -20946,22 +20963,22 @@ var pD = {
20946
20963
  });
20947
20964
  }
20948
20965
  };
20949
- }, kD = { mounted(e, t) {
20966
+ }, MD = { mounted(e, t) {
20950
20967
  if (t.value === !1) return;
20951
20968
  let n = e.querySelector("input"), r = e.querySelector("textarea"), i = n || r || e;
20952
20969
  i && Promise.resolve().then(() => {
20953
20970
  i.focus({ preventScroll: !0 });
20954
20971
  });
20955
- } }, AD = {
20972
+ } }, ND = {
20956
20973
  key: 1,
20957
20974
  class: "input-number-wrapper"
20958
- }, jD = {
20975
+ }, PD = {
20959
20976
  key: 0,
20960
20977
  class: "unit"
20961
- }, MD = {
20978
+ }, FD = {
20962
20979
  key: 6,
20963
20980
  class: "time-select-wrapper"
20964
- }, ND = /* @__PURE__ */ TD(/* @__PURE__ */ g({
20981
+ }, ID = /* @__PURE__ */ TD(/* @__PURE__ */ g({
20965
20982
  __name: "RowForm",
20966
20983
  props: {
20967
20984
  formColumns: {},
@@ -20980,12 +20997,12 @@ var pD = {
20980
20997
  showBorberBottom: { type: Boolean }
20981
20998
  },
20982
20999
  setup(e, { expose: n }) {
20983
- let r = e, { formRules: i, dateFormatComputed: a, timeFormatComputed: o, selectOptions: s, selectProps: c, cascaderOptions: p, radioOptions: g, handleInputPlaceholder: _, handleSelectPlaceholder: v, handleDatePickerPalceholder: y, handleDatePickerStartPlaceholder: b, handleDatePickerEndPlaceholder: x, handleDatePickerRangeSeparator: S, handleTimePickerStartPlaceholder: C, handleTimePickerEndPlaceholder: w, handleTimePickerRangeSeparator: T, handleSelectChange: D, handleCascaderChange: k, handleDatePickerChange: j, handleTimePickerChange: M, handleRadioGroupChange: N, handleSwitchChange: ee, efRef: te } = OD({
21000
+ let r = e, { formRules: i, dateFormatComputed: a, timeFormatComputed: o, selectOptions: s, selectProps: c, cascaderOptions: p, radioOptions: g, handleInputPlaceholder: _, handleSelectPlaceholder: v, handleDatePickerPalceholder: y, handleDatePickerStartPlaceholder: b, handleDatePickerEndPlaceholder: x, handleDatePickerRangeSeparator: S, handleTimePickerStartPlaceholder: C, handleTimePickerEndPlaceholder: w, handleTimePickerRangeSeparator: T, handleSelectChange: D, handleCascaderChange: k, handleDatePickerChange: j, handleTimePickerChange: M, handleRadioGroupChange: N, handleSwitchChange: ee, efRef: te } = jD({
20984
21001
  props: r,
20985
- globalConfig: DD(r)
21002
+ globalConfig: AD(r)
20986
21003
  });
20987
21004
  return n({ efRef: te }), (n, r) => {
20988
- let ne = B("UseElInput"), P = uC, re = B("UseRender"), ie = tT, I = ox, L = aC, ae = hy, R = tD, oe = Rb, ce = zb, V = uT, le = wh, ue = dx, de = ux, fe = Ch;
21005
+ let ne = B("UseElInput"), P = uC, re = kD, ie = tT, I = ox, L = aC, ae = hy, R = tD, oe = Rb, ce = zb, V = uT, le = wh, ue = dx, de = ux, fe = Ch;
20989
21006
  return e.formMode === "rowForm" ? (F(), l(fe, {
20990
21007
  key: 0,
20991
21008
  ref_key: "efRef",
@@ -21065,8 +21082,8 @@ var pD = {
21065
21082
  "disabled",
21066
21083
  "onInput",
21067
21084
  "onKeyup"
21068
- ])), [[U(kD), i.inputConfig.autoFocus || !1]]) : u("", !0),
21069
- i.inputNumberConfig ? (F(), d("div", AD, [h(P, {
21085
+ ])), [[U(MD), i.inputConfig.autoFocus || !1]]) : u("", !0),
21086
+ i.inputNumberConfig ? (F(), d("div", ND, [h(P, {
21070
21087
  modelValue: e.formModel[i.prop],
21071
21088
  "onUpdate:modelValue": (t) => e.formModel[i.prop] = t,
21072
21089
  min: i.inputNumberConfig.min,
@@ -21086,7 +21103,7 @@ var pD = {
21086
21103
  "disabled-scientific",
21087
21104
  "placeholder",
21088
21105
  "disabled"
21089
- ]), i.inputNumberConfig.unit ? (F(), d("span", jD, [h(re, { content: i.inputNumberConfig.unit }, null, 8, ["content"])])) : u("", !0)])) : u("", !0),
21106
+ ]), i.inputNumberConfig.unit ? (F(), d("span", PD, [h(re, { content: i.inputNumberConfig.unit }, null, 8, ["content"])])) : u("", !0)])) : u("", !0),
21090
21107
  i.selectConfig ? (F(), l(ie, {
21091
21108
  key: 2,
21092
21109
  modelValue: e.formModel[i.prop],
@@ -21180,7 +21197,7 @@ var pD = {
21180
21197
  "value-format",
21181
21198
  "onChange"
21182
21199
  ])) : u("", !0),
21183
- i.timeSelectConfig ? (F(), d("div", MD, [
21200
+ i.timeSelectConfig ? (F(), d("div", FD, [
21184
21201
  h(R, {
21185
21202
  modelValue: e.formModel[i.timeSelectConfig.startProp],
21186
21203
  "onUpdate:modelValue": (t) => e.formModel[i.timeSelectConfig.startProp] = t,
@@ -21266,7 +21283,7 @@ var pD = {
21266
21283
  ])) : u("", !0);
21267
21284
  };
21268
21285
  }
21269
- }), [["__scopeId", "data-v-ae349ef2"]]), PD = { class: "btn-wrapper" }, FD = /* @__PURE__ */ TD(/* @__PURE__ */ g({
21286
+ }), [["__scopeId", "data-v-ae349ef2"]]), LD = { class: "btn-wrapper" }, RD = /* @__PURE__ */ TD(/* @__PURE__ */ g({
21270
21287
  __name: "InlineForm",
21271
21288
  props: {
21272
21289
  formColumns: {},
@@ -21294,9 +21311,9 @@ var pD = {
21294
21311
  }, !0);
21295
21312
  });
21296
21313
  });
21297
- let { efRef: c, cascaderRef: p, formColumnsComputed: g, selectOptions: _, selectProps: v, cascaderOptions: y, dateFormatComputed: b, transformFieldProps: x, handleInputPlaceholder: S, handleSelectPlaceholder: C, handleDatePickerPalceholder: w, handleDatePickerStartPlaceholder: T, handleDatePickerRangeSeparator: E, handleDatePickerEndPlaceholder: O, handleCascaderChange: k } = OD({
21314
+ let { efRef: c, cascaderRef: p, formColumnsComputed: g, selectOptions: _, selectProps: v, cascaderOptions: y, dateFormatComputed: b, transformFieldProps: x, handleInputPlaceholder: S, handleSelectPlaceholder: C, handleDatePickerPalceholder: w, handleDatePickerStartPlaceholder: T, handleDatePickerRangeSeparator: E, handleDatePickerEndPlaceholder: O, handleCascaderChange: k } = jD({
21298
21315
  props: i,
21299
- globalConfig: DD(i)
21316
+ globalConfig: AD(i)
21300
21317
  }), j = async () => {
21301
21318
  await D(), a("onQuery", x(i.formColumns, i.formModel));
21302
21319
  }, M = () => {
@@ -21437,7 +21454,7 @@ var pD = {
21437
21454
  _: 2
21438
21455
  }, 1032, ["label"]))), 128))]),
21439
21456
  _: 1
21440
- }, 8, ["model", "label-suffix"]), f("div", PD, [
21457
+ }, 8, ["model", "label-suffix"]), f("div", LD, [
21441
21458
  h(ne, {
21442
21459
  type: "primary",
21443
21460
  loading: e.queryLoading,
@@ -21456,7 +21473,7 @@ var pD = {
21456
21473
  });
21457
21474
  };
21458
21475
  }
21459
- }), [["__scopeId", "data-v-c30fdf11"]]), ID = { class: "wyfe-ivue__use-el-form" }, LD = /* @__PURE__ */ g({
21476
+ }), [["__scopeId", "data-v-c30fdf11"]]), zD = { class: "wyfe-ivue__use-el-form" }, BD = /* @__PURE__ */ g({
21460
21477
  __name: "index",
21461
21478
  props: /* @__PURE__ */ T({
21462
21479
  formColumns: {},
@@ -21495,7 +21512,7 @@ var pD = {
21495
21512
  clearValidate: s(() => a.value?.efRef?.clearValidate),
21496
21513
  showInlineForm: s(() => a.value?.showInlineForm),
21497
21514
  handleInlineFormDisplay: s(() => a.value?.handleInlineFormDisplay)
21498
- }), (t, n) => (F(), d("div", ID, [(F(), l(V(e.formMode === "rowForm" ? ND : FD), E({
21515
+ }), (t, n) => (F(), d("div", zD, [(F(), l(V(e.formMode === "rowForm" ? ID : RD), E({
21499
21516
  ref_key: "componentRef",
21500
21517
  ref: a
21501
21518
  }, o.value), p({ _: 2 }, [se(U(i), (e, n) => ({
@@ -21503,7 +21520,7 @@ var pD = {
21503
21520
  fn: G((e) => [z(t.$slots, n, k(y(e)))])
21504
21521
  }))]), 1040))]));
21505
21522
  }
21506
- }), RD = {
21523
+ }), VD = {
21507
21524
  selection: {
21508
21525
  width: 40,
21509
21526
  enableRowClick: !1,
@@ -21539,7 +21556,7 @@ var pD = {
21539
21556
  background: !0,
21540
21557
  layout: "total, sizes, prev, pager, next, jumper"
21541
21558
  }
21542
- }, zD = {
21559
+ }, HD = {
21543
21560
  async mounted(e, t) {
21544
21561
  let n = typeof t.value == "number" ? t.value : 0;
21545
21562
  if (t.value === !1) return;
@@ -21572,10 +21589,10 @@ var pD = {
21572
21589
  let t = e._adaptiveCleanup;
21573
21590
  t && (t(), delete e._adaptiveCleanup);
21574
21591
  }
21575
- }, BD = (e) => {
21592
+ }, UD = (e) => {
21576
21593
  let t = Object.prototype.toString.call(e).slice(8, -1).toLowerCase();
21577
21594
  return t === "array" && e.toString().startsWith("[object Object]") ? "objectArray" : t;
21578
- }, VD = (e, t, n) => {
21595
+ }, WD = (e, t, n) => {
21579
21596
  let r = e[t.prop], i = {
21580
21597
  class: "",
21581
21598
  style: "",
@@ -21595,7 +21612,7 @@ var pD = {
21595
21612
  o && (i.class = Array.isArray(o) ? o.join(" ") : o), s && typeof s == "object" && !Array.isArray(s) && (i.style = s[r]);
21596
21613
  let { data: l, props: u = {}, dataToString: d, separator: f } = c;
21597
21614
  if (l) {
21598
- let { dictMap: e = {}, dictProps: t = {}, dictDataToString: a } = n, o = BD(l), s = u.value ?? t.value ?? "value", c = u.label ?? t.label ?? "label", p = d ?? a ?? !0;
21615
+ let { dictMap: e = {}, dictProps: t = {}, dictDataToString: a } = n, o = UD(l), s = u.value ?? t.value ?? "value", c = u.label ?? t.label ?? "label", p = d ?? a ?? !0;
21599
21616
  if (o === "string" && Array.isArray(e?.[l])) {
21600
21617
  let t = new Map(e[l].map((e) => [p ? e[s] + "" : e[s], {
21601
21618
  label: e[c],
@@ -21620,15 +21637,15 @@ var pD = {
21620
21637
  }
21621
21638
  }
21622
21639
  return i;
21623
- }, HD = (e) => {
21640
+ }, GD = (e) => {
21624
21641
  if (!(e.length && SD())) return 0;
21625
21642
  let t = document.createElement("div");
21626
21643
  t.style.cssText = "\n position: absolute;\n visibility: hidden;\n display: inline-block;\n white-space: nowrap;\n ", document.body.appendChild(t);
21627
21644
  let n = e.map((e) => (t.textContent = String(e), t.scrollWidth));
21628
21645
  return document.body.removeChild(t), Math.max(...n);
21629
- }, UD = (e, t, n) => {
21646
+ }, KD = (e, t, n) => {
21630
21647
  e.length && n?.extConfig?.adaptive?.autoMinWidth && e.forEach((e) => {
21631
- if (e.children) UD(e.children, t, n);
21648
+ if (e.children) KD(e.children, t, n);
21632
21649
  else {
21633
21650
  let r = {};
21634
21651
  if (e?.extConfig?.dict) {
@@ -21648,11 +21665,11 @@ var pD = {
21648
21665
  let i = [];
21649
21666
  t.length && t.forEach((t) => {
21650
21667
  i.push(Object.keys(r).length ? r[t[e.prop]] : t[e.prop]);
21651
- }), i.unshift(e.label), e.minWidth = e.minWidth || HD([...new Set(i.filter(Boolean))]) + 40;
21668
+ }), i.unshift(e.label), e.minWidth = e.minWidth || GD([...new Set(i.filter(Boolean))]) + 40;
21652
21669
  }
21653
21670
  });
21654
- }, WD = ({ props: e, proxy: t, globalConfig: n }) => {
21655
- let r = s(() => mD(RD, e.extConfig)), i = s(() => {
21671
+ }, qD = ({ props: e, proxy: t, globalConfig: n }) => {
21672
+ let r = s(() => mD(VD, e.extConfig)), i = s(() => {
21656
21673
  let { disabled: e, extraHeight: i } = r.value.adaptive;
21657
21674
  return e || t.$attrs.height ? !1 : (i = n.finalTableExtraHeight ?? i, r.value?.pagination?.total === -1 ? i : i + 42);
21658
21675
  }), a = ({ column: e }) => e.type === "selection" && r.value?.selection?.type === "CHECKBOXRADIO" ? "hideAllSelection" : "", o = s(() => n.finalThemeMode === "dark" ? {} : e.headerCellStyle), c = s(() => {
@@ -21670,7 +21687,7 @@ var pD = {
21670
21687
  dictDataToString: n.finalDictDataToString
21671
21688
  }));
21672
21689
  return W([() => e.tableColumns, () => e.tableData], async ([e, n]) => {
21673
- e.length && n.length && (await D(), UD(e, n, u.value), await D(), t.$refs.etRef?.doLayout());
21690
+ e.length && n.length && (await D(), KD(e, n, u.value), await D(), t.$refs.etRef?.doLayout());
21674
21691
  }, {
21675
21692
  immediate: !0,
21676
21693
  deep: !0
@@ -21683,7 +21700,7 @@ var pD = {
21683
21700
  headerCellStyleComputed: o,
21684
21701
  tableColumnsComputed: c
21685
21702
  };
21686
- }, GD = ({ props: e, emits: t, proxy: n, mergedExtConfig: r }) => {
21703
+ }, JD = ({ props: e, emits: t, proxy: n, mergedExtConfig: r }) => {
21687
21704
  let i = s({
21688
21705
  get: () => JSON.stringify(n.$attrs.selectionData) ?? "{}",
21689
21706
  set: (e) => {
@@ -21733,7 +21750,7 @@ var pD = {
21733
21750
  handleRowClick: u,
21734
21751
  _selectionContent: a
21735
21752
  };
21736
- }, KD = ({ mergedExtConfig: e, emits: t }) => ({
21753
+ }, YD = ({ mergedExtConfig: e, emits: t }) => ({
21737
21754
  paginationFixedComputed: s(() => ({
21738
21755
  left: "display: flex;justify-content: left;",
21739
21756
  center: "display: flex;justify-content: center;",
@@ -21742,7 +21759,7 @@ var pD = {
21742
21759
  handlePagination: (n = 1, r) => {
21743
21760
  r === "currentChange" && t("update:currentPage", n), r === "sizeChange" && (t("update:currentPage", 1), t("update:pageSize", n)), e.pagination?.func?.();
21744
21761
  }
21745
- }), qD = /* @__PURE__ */ g({
21762
+ }), XD = /* @__PURE__ */ g({
21746
21763
  __name: "Selection",
21747
21764
  props: {
21748
21765
  modelValue: {},
@@ -21791,7 +21808,7 @@ var pD = {
21791
21808
  ]));
21792
21809
  };
21793
21810
  }
21794
- }), JD = /* @__PURE__ */ g({
21811
+ }), ZD = /* @__PURE__ */ g({
21795
21812
  __name: "Span",
21796
21813
  props: {
21797
21814
  row: {},
@@ -21799,13 +21816,13 @@ var pD = {
21799
21816
  tableProps: {}
21800
21817
  },
21801
21818
  setup(e) {
21802
- let t = e, n = s(() => VD(t.row, t.item, t.tableProps));
21819
+ let t = e, n = s(() => WD(t.row, t.item, t.tableProps));
21803
21820
  return (e, t) => (F(), d("span", {
21804
21821
  class: O(n.value.class),
21805
21822
  style: A(n.value.style)
21806
21823
  }, H(n.value.data), 7));
21807
21824
  }
21808
- }), YD = /* @__PURE__ */ g({
21825
+ }), QD = /* @__PURE__ */ g({
21809
21826
  __name: "RecTableColumn",
21810
21827
  props: {
21811
21828
  columnObj: { default: () => ({}) },
@@ -21847,7 +21864,7 @@ var pD = {
21847
21864
  row: i,
21848
21865
  data: i[r.prop],
21849
21866
  dict: r.extConfig?.dict
21850
- })) : (F(), l(JD, {
21867
+ })) : (F(), l(ZD, {
21851
21868
  key: 1,
21852
21869
  row: i,
21853
21870
  item: r,
@@ -21872,7 +21889,7 @@ var pD = {
21872
21889
  }, 8, ["label", "align"]);
21873
21890
  };
21874
21891
  }
21875
- }), XD = { class: "wyfe-ivue__use-el-table" }, ZD = { key: 0 }, QD = /* @__PURE__ */ TD(/* @__PURE__ */ g({
21892
+ }), $D = { class: "wyfe-ivue__use-el-table" }, eO = { key: 0 }, tO = /* @__PURE__ */ TD(/* @__PURE__ */ g({
21876
21893
  __name: "index",
21877
21894
  props: /* @__PURE__ */ T({
21878
21895
  tableColumns: {},
@@ -21896,7 +21913,7 @@ var pD = {
21896
21913
  backgroundColor: "#F0F2F6",
21897
21914
  color: "#000"
21898
21915
  }),
21899
- extConfig: () => JSON.parse(JSON.stringify(RD))
21916
+ extConfig: () => JSON.parse(JSON.stringify(VD))
21900
21917
  }),
21901
21918
  emits: [
21902
21919
  "update:selectionData",
@@ -21906,22 +21923,22 @@ var pD = {
21906
21923
  ],
21907
21924
  setup(e, { emit: n }) {
21908
21925
  _e((e) => ({ c8b5685c: U(T) }));
21909
- let r = e, i = n, a = ve(), { proxy: o } = _(), { tableProps: s, mergedExtConfig: c, adaptiveComputed: f, slotName: m, handleHeaderCellClassName: h, headerCellStyleComputed: g, tableColumnsComputed: v } = WD({
21926
+ let r = e, i = n, a = ve(), { proxy: o } = _(), { tableProps: s, mergedExtConfig: c, adaptiveComputed: f, slotName: m, handleHeaderCellClassName: h, headerCellStyleComputed: g, tableColumnsComputed: v } = qD({
21910
21927
  props: r,
21911
21928
  proxy: o,
21912
- globalConfig: DD(r)
21913
- }), { handleSelectAll: b, handleSelect: x, handleRowClick: C, radioComputed: w, _selectionContent: T } = GD({
21929
+ globalConfig: AD(r)
21930
+ }), { handleSelectAll: b, handleSelect: x, handleRowClick: C, radioComputed: w, _selectionContent: T } = JD({
21914
21931
  props: r,
21915
21932
  emits: i,
21916
21933
  proxy: o,
21917
21934
  mergedExtConfig: c
21918
- }), { paginationFixedComputed: D, handlePagination: O } = KD({
21935
+ }), { paginationFixedComputed: D, handlePagination: O } = YD({
21919
21936
  mergedExtConfig: c,
21920
21937
  emits: i
21921
21938
  });
21922
21939
  return (n, r) => {
21923
21940
  let i = qE, _ = KE, T = BC, A = fD;
21924
- return Te((F(), d("div", XD, [Te((F(), l(_, E({ ref: "etRef" }, n.$attrs, {
21941
+ return Te((F(), d("div", $D, [Te((F(), l(_, E({ ref: "etRef" }, n.$attrs, {
21925
21942
  data: e.tableData,
21926
21943
  "header-cell-style": U(g),
21927
21944
  "header-cell-class-name": U(h),
@@ -21930,7 +21947,7 @@ var pD = {
21930
21947
  onSelectAll: U(b)
21931
21948
  }), {
21932
21949
  default: G(() => [
21933
- n.$attrs.hasOwnProperty("selectionData") ? (F(), l(qD, {
21950
+ n.$attrs.hasOwnProperty("selectionData") ? (F(), l(XD, {
21934
21951
  key: 0,
21935
21952
  proxy: U(o).$attrs,
21936
21953
  modelValue: U(w),
@@ -21962,7 +21979,7 @@ var pD = {
21962
21979
  default: G(({ row: e }) => [z(n.$slots, "expand", k(y({ row: e })), void 0, !0)]),
21963
21980
  _: 3
21964
21981
  }, 8, ["width"])) : u("", !0),
21965
- (F(!0), d(t, null, se(U(v), (r) => (F(), d(t, { key: r.prop + r.label }, [r.children && r.children.length ? (F(), l(YD, {
21982
+ (F(!0), d(t, null, se(U(v), (r) => (F(), d(t, { key: r.prop + r.label }, [r.children && r.children.length ? (F(), l(QD, {
21966
21983
  key: 0,
21967
21984
  columnObj: r,
21968
21985
  tableColumnAlign: e.tableColumnAlign,
@@ -21985,14 +22002,14 @@ var pD = {
21985
22002
  sortable: r.sortable,
21986
22003
  "show-overflow-tooltip": r.showOverflowTooltip || e.showOverflowTooltip
21987
22004
  }, {
21988
- default: G(({ row: i }) => [r.prop && Object.keys(i).length ? (F(), d(t, { key: 0 }, [r?.extConfig?.slot ? (F(), d("div", ZD, [z(n.$slots, U(m)(r), E({ ref_for: !0 }, {
22005
+ default: G(({ row: i }) => [r.prop && Object.keys(i).length ? (F(), d(t, { key: 0 }, [r?.extConfig?.slot ? (F(), d("div", eO, [z(n.$slots, U(m)(r), E({ ref_for: !0 }, {
21989
22006
  row: i,
21990
22007
  data: i[U(m)(r)],
21991
22008
  label: r.label,
21992
22009
  prop: U(m)(r),
21993
22010
  dict: r.extConfig?.dict,
21994
22011
  dictData: typeof r.extConfig?.dict == "string" ? e.dictMap[r.extConfig?.dict] : r.extConfig?.dict
21995
- }), void 0, !0)])) : (F(), l(JD, {
22012
+ }), void 0, !0)])) : (F(), l(ZD, {
21996
22013
  key: 1,
21997
22014
  row: i,
21998
22015
  item: r,
@@ -22025,7 +22042,7 @@ var pD = {
22025
22042
  "onRowClick",
22026
22043
  "onSelect",
22027
22044
  "onSelectAll"
22028
- ])), [[U(zD), U(f)]]), U(c).pagination.total === -1 ? u("", !0) : (F(), l(T, E({ key: 0 }, n.$attrs, {
22045
+ ])), [[U(HD), U(f)]]), U(c).pagination.total === -1 ? u("", !0) : (F(), l(T, E({ key: 0 }, n.$attrs, {
22029
22046
  "page-sizes": U(c).pagination.pageSizes,
22030
22047
  background: U(c).pagination.background,
22031
22048
  layout: U(c).pagination.layout,
@@ -22042,11 +22059,11 @@ var pD = {
22042
22059
  ]))])), [[A, e.tableLoading]]);
22043
22060
  };
22044
22061
  }
22045
- }), [["__scopeId", "data-v-20363677"]]), $D = /* @__PURE__ */ Object.assign({}), eO = {};
22046
- Object.entries($D).forEach(([e, t]) => {
22062
+ }), [["__scopeId", "data-v-20363677"]]), nO = /* @__PURE__ */ Object.assign({}), rO = {};
22063
+ Object.entries(nO).forEach(([e, t]) => {
22047
22064
  typeof t != "object" || !t || Object.entries(t).forEach(([t, n]) => {
22048
- Reflect.has(eO, t) && console.warn(`[iVueUtils] 工具函数 ${t} 重复定义,已覆盖(来源:${e})`), eO[t] = n;
22065
+ Reflect.has(rO, t) && console.warn(`[iVueUtils] 工具函数 ${t} 重复定义,已覆盖(来源:${e})`), rO[t] = n;
22049
22066
  });
22050
22067
  });
22051
22068
  //#endregion
22052
- export { ED as UseElButton, LD as UseElForm, QD as UseElTable, eO as iVueUtils };
22069
+ export { ED as UseElButton, BD as UseElForm, tO as UseElTable, kD as UseRender, rO as iVueUtils };