wyfe-ivue 2.19.11 → 2.19.13

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/dist/index.es.js CHANGED
@@ -25176,7 +25176,7 @@ var kA = {
25176
25176
  return {
25177
25177
  finalLanguage: e.language ?? t.language,
25178
25178
  finalThemeMode: e.themeMode || t.themeMode || (document.documentElement.classList.contains("dark") ? "dark" : "light"),
25179
- finalDictProps: e.dictProps && Object.keys(e.dictProps).length ? e.dictProps : t.extConfig.dictProps ?? AA.dictProps,
25179
+ finalDictProps: e.dictProps && Object.keys(e.dictProps).length ? e.dictProps : t?.extConfig?.dictProps ?? AA.dictProps,
25180
25180
  finalTableExtraHeight: e.extConfig?.adaptive?.extraHeight ?? t.tableExtraHeight,
25181
25181
  finalUploadConfig: e.uploadConfig && Object.keys(e.uploadConfig).length ? e.uploadConfig : t.uploadConfig
25182
25182
  };
@@ -26246,17 +26246,17 @@ var kA = {
26246
26246
  let s = i ? t[i]?.props : null, { finalDictProps: c } = n, { label: l, value: u, children: d } = {
26247
26247
  ...c,
26248
26248
  ...s
26249
- }, f = (e) => {
26250
- for (let t of e) {
26251
- if (String(t[u]) === String(r)) return t[l];
26252
- if (t[d]?.length) {
26253
- let e = f(t[d]);
26254
- if (e) return e;
26249
+ }, f = (e, t) => {
26250
+ for (let n of t) {
26251
+ if (String(n[u]) === String(e)) return n[l];
26252
+ if (n[d]?.length) {
26253
+ let t = f(e, n[d]);
26254
+ if (t) return t;
26255
26255
  }
26256
26256
  }
26257
26257
  return null;
26258
26258
  };
26259
- return f(o) ?? r;
26259
+ return zA(r) && r.includes(",") ? r.split(",").filter(Boolean).map((e) => f(e, o) ?? e).filter(Boolean).join("、") : f(r, o) ?? r;
26260
26260
  }),
26261
26261
  getFormComponent: s(() => (e, t) => {
26262
26262
  let n = Object.keys(e).find((e) => e.endsWith("Config"));
@@ -26529,7 +26529,7 @@ var kA = {
26529
26529
  type: Boolean,
26530
26530
  default: !0
26531
26531
  },
26532
- isJoin: {
26532
+ toJoin: {
26533
26533
  type: Boolean,
26534
26534
  default: !1
26535
26535
  },
@@ -26557,7 +26557,7 @@ var kA = {
26557
26557
  return typeof t[n];
26558
26558
  }), r = s(() => {
26559
26559
  let t = e.modelValue;
26560
- return e.isJoin && typeof t == "string" ? t.split(",").filter(Boolean).map((e) => n.value === "number" ? Number(e) : e) : t;
26560
+ return e.toJoin && typeof t == "string" ? t.split(",").filter(Boolean).map((e) => n.value === "number" ? Number(e) : e) : t;
26561
26561
  });
26562
26562
  return {
26563
26563
  modelValue: r,
@@ -26567,7 +26567,7 @@ var kA = {
26567
26567
  return t ? t[e.defaultProps.label] : r.value;
26568
26568
  }),
26569
26569
  handleSelectChange: (n) => {
26570
- let { value: r, label: i } = e.defaultProps, a = FA(n), o = (t) => e.options.find((e) => e[r] === t)?.[i] ?? "", s = a && e.isJoin ? n.join() : n, c = a ? n.map(o).filter(Boolean) : [o(n)], l = e.isJoin ? c.join() : a ? c : c[0];
26570
+ let { value: r, label: i } = e.defaultProps, a = FA(n), o = (t) => e.options.find((e) => e[r] === t)?.[i] ?? "", s = a && e.toJoin ? n.join() : n, c = a ? n.map(o).filter(Boolean) : [o(n)], l = e.toJoin ? c.join() : a ? c : c[0];
26571
26571
  t("update:modelValue", s), t("update:label", l);
26572
26572
  }
26573
26573
  };
@@ -27310,7 +27310,8 @@ var kA = {
27310
27310
  formModel: e.formModel,
27311
27311
  globalConfig: U(s),
27312
27312
  dictMap: e.dictMap,
27313
- formItemWidth: e.formItemWidth
27313
+ formItemWidth: e.formItemWidth,
27314
+ disabled: e.disabled
27314
27315
  }, null, 8, [
27315
27316
  "modelValue",
27316
27317
  "onUpdate:modelValue",
@@ -27318,7 +27319,8 @@ var kA = {
27318
27319
  "formModel",
27319
27320
  "globalConfig",
27320
27321
  "dictMap",
27321
- "formItemWidth"
27322
+ "formItemWidth",
27323
+ "disabled"
27322
27324
  ]))]),
27323
27325
  _: 2
27324
27326
  }, 1032, [
@@ -27342,7 +27344,7 @@ var kA = {
27342
27344
  ]);
27343
27345
  };
27344
27346
  }
27345
- }), [["__scopeId", "data-v-d961f076"]]), Qj = {
27347
+ }), [["__scopeId", "data-v-a58d8439"]]), Qj = {
27346
27348
  key: 0,
27347
27349
  class: "input-range"
27348
27350
  }, $j = /* @__PURE__ */ oj(/* @__PURE__ */ g({
@@ -27492,7 +27494,7 @@ var kA = {
27492
27494
  });
27493
27495
  };
27494
27496
  }
27495
- }), [["__scopeId", "data-v-3c92553e"]]), nM = { class: "wyfe-ivue__use-el-form" }, rM = /* @__PURE__ */ g({
27497
+ }), [["__scopeId", "data-v-3c92553e"]]), nM = { class: "wyfe-ivue__use-el-form" }, rM = /* @__PURE__ */ oj(/* @__PURE__ */ g({
27496
27498
  __name: "index",
27497
27499
  props: xj,
27498
27500
  setup(e, { expose: t }) {
@@ -27513,10 +27515,10 @@ var kA = {
27513
27515
  ...U(i)
27514
27516
  }), p({ _: 2 }, [R(r, (t, n) => ({
27515
27517
  name: n,
27516
- fn: G((t) => [z(e.$slots, n, A(b(t)))])
27518
+ fn: G((t) => [z(e.$slots, n, A(b(t)), void 0, !0)])
27517
27519
  }))]), 1040))]));
27518
27520
  }
27519
- }), iM = {
27521
+ }), [["__scopeId", "data-v-52034635"]]), iM = {
27520
27522
  configs: {
27521
27523
  type: Array,
27522
27524
  required: !0
@@ -27642,7 +27644,7 @@ var kA = {
27642
27644
  type: Boolean,
27643
27645
  default: !1
27644
27646
  },
27645
- isJoin: {
27647
+ toJoin: {
27646
27648
  type: Boolean,
27647
27649
  default: !1
27648
27650
  }
@@ -27659,7 +27661,7 @@ var kA = {
27659
27661
  }
27660
27662
  },
27661
27663
  set: (n) => {
27662
- t("update:modelValue", e.isJoin ? n.join() : n);
27664
+ t("update:modelValue", e.toJoin ? n.join() : n);
27663
27665
  }
27664
27666
  }), i = L(!1), a = L(!1);
27665
27667
  return {