@vtj/ui 0.11.15 → 0.12.0-alpha.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.
package/dist/index.mjs CHANGED
@@ -9,10 +9,10 @@ import { VXETable as jt, VxeTableFilterModule as yl, VxeTableEditModule as bl, V
9
9
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
10
10
  * @name @vtj/ui
11
11
  * @author CHC chenhuachun1549@dingtalk.com
12
- * @version 0.11.15
12
+ * @version 0.12.0-alpha.0
13
13
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
14
14
  */
15
- const t2 = "0.11.15", Dl = {
15
+ const t2 = "0.12.0-alpha.0", Dl = {
16
16
  default: 14,
17
17
  small: 12,
18
18
  large: 18
@@ -6430,38 +6430,40 @@ async function gu(o, t) {
6430
6430
  return n ? typeof n == "function" ? await n(t) || [] : n : [];
6431
6431
  }
6432
6432
  function hu(o, t, n, e, r) {
6433
- const a = L([]), l = z(() => !e || !r ? {} : Fo(o.cascader).reduce((c, d) => (c[d] = fn(r, d), c), {}));
6434
- return re(
6433
+ const a = L([]), l = z(() => !e || !r ? {} : Fo(o.cascader).reduce((d, f) => (d[f] = fn(r, f), d), {}));
6434
+ re(
6435
6435
  [l, () => o.options],
6436
- async ([s, c]) => {
6437
- n.value && (a.value = await gu(o, s), e?.exposed?.reset && o.name);
6436
+ async ([c, d]) => {
6437
+ n.value && (a.value = await gu(o, c), e?.exposed?.reset && o.name);
6438
6438
  },
6439
6439
  {
6440
6440
  immediate: !0
6441
6441
  }
6442
- ), {
6442
+ );
6443
+ const i = o.props || {};
6444
+ return {
6443
6445
  editor: z(() => {
6444
6446
  const {
6445
- editor: s = "text",
6446
- placeholder: c,
6447
- label: d = "...",
6448
- disabled: f,
6449
- readonly: m
6450
- } = o, g = {
6451
- ...o.props,
6452
- placeholder: c || (c === null ? void 0 : `请输入${d}`),
6453
- disabled: f,
6454
- readonly: m,
6447
+ editor: c = "text",
6448
+ placeholder: d,
6449
+ label: f = "...",
6450
+ disabled: m,
6451
+ readonly: g
6452
+ } = o, p = {
6453
+ ...i,
6454
+ placeholder: d || (d === null ? void 0 : `请输入${f}`),
6455
+ disabled: m,
6456
+ readonly: g,
6455
6457
  options: a.value,
6456
6458
  onFocus: () => t("focus"),
6457
6459
  onBlur: () => t("blur"),
6458
- onChange: (h, y) => t("change", h, y)
6459
- }, p = typeof s == "string" ? Wo[s] : {
6460
- component: s,
6460
+ onChange: (y, _) => t("change", y, _)
6461
+ }, h = typeof c == "string" ? Wo[c] : {
6462
+ component: c,
6461
6463
  props: {}
6462
6464
  };
6463
- return fa({}, p, {
6464
- props: g
6465
+ return fa({}, h, {
6466
+ props: p
6465
6467
  });
6466
6468
  })
6467
6469
  };