@das-fed/upf-ui 6.4.0-dev.305 → 6.4.0-dev.306

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 (59) hide show
  1. package/front-end/i18n/front-end-page/dasui_en-US.js +7 -7
  2. package/front-end/i18n/front-end-page/dasui_zh-CN.js +7 -7
  3. package/front-end/i18n/front-end-page/dasui_zh-MO.js +7 -7
  4. package/package.json +7 -7
  5. package/packages/business-components/ai-panel/src/dasAI/components/referenceContent/index.vue.d.ts +2 -2
  6. package/packages/business-components/area-phone-select/index.d.ts +9 -9
  7. package/packages/business-components/area-phone-select/src/area-popover/index.vue.d.ts +1 -1
  8. package/packages/business-components/change-pwd/src/hooks/use-changePwd.d.ts +14 -14
  9. package/packages/business-components/device-panel/src/components/drag-resize/index.vue.d.ts +1 -1
  10. package/packages/business-components/echarts/index.d.ts +10 -10
  11. package/packages/business-components/echarts/src/Index.vue.d.ts +2 -2
  12. package/packages/business-components/export-button/index.d.ts +3 -3
  13. package/packages/business-components/export-button/src/App.vue.d.ts +1 -1
  14. package/packages/business-components/model-table-dialog/index.d.ts +39 -39
  15. package/packages/business-components/model-table-dialog/src/Index.vue.d.ts +4 -4
  16. package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +1 -1
  17. package/packages/business-components/process-form/src/hooks/useForm.d.ts +14 -14
  18. package/packages/business-components/process-form/src/widgets/layout/accordion/accordion.d.ts +1 -1
  19. package/packages/business-components/process-form/src/widgets/layout/grid/grid.d.ts +1 -1
  20. package/packages/business-components/process-search-form/hooks/useSearchOptions.d.ts +2 -2
  21. package/packages/business-components/urgent-panel/src/components/drag-resize/index.vue.d.ts +1 -1
  22. package/packages/components/alert/index.d.ts +9 -9
  23. package/packages/components/alert/src/index.vue.d.ts +1 -1
  24. package/packages/components/audio-video/index.d.ts +10 -10
  25. package/packages/components/audio-video/src/Index.vue.d.ts +2 -2
  26. package/packages/components/autocomplete/index.d.ts +9 -9
  27. package/packages/components/autocomplete/src/index.vue.d.ts +1 -1
  28. package/packages/components/button/index.d.ts +3 -3
  29. package/packages/components/button/src/Index.vue.d.ts +1 -1
  30. package/packages/components/date-picker/index.d.ts +15 -15
  31. package/packages/components/date-picker/src/DatePicker.vue.d.ts +1 -1
  32. package/packages/components/date-picker/src/DateRangePicker.vue.d.ts +1 -1
  33. package/packages/components/date-picker/src/RangePicker.vue.d.ts +1 -1
  34. package/packages/components/date-picker/src/TimePicker.vue.d.ts +1 -1
  35. package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +1 -1
  36. package/packages/components/dialog/index.d.ts +3 -3
  37. package/packages/components/dialog/src/Index.vue.d.ts +1 -1
  38. package/packages/components/empty/index.d.ts +3 -3
  39. package/packages/components/empty/src/Index.vue.d.ts +1 -1
  40. package/packages/components/form/index.d.ts +23 -23
  41. package/packages/components/form/src/Index.vue.d.ts +3 -3
  42. package/packages/components/form-item/index.js +178 -172
  43. package/packages/components/form-item/index.js.gz +0 -0
  44. package/packages/components/infinite-scroll/index.d.ts +1 -1
  45. package/packages/components/infinite-scroll/src/index.vue.d.ts +2 -2
  46. package/packages/components/select/index.d.ts +3 -3
  47. package/packages/components/select/src/Select.vue.d.ts +1 -1
  48. package/packages/components/select-list/index.d.ts +3 -3
  49. package/packages/components/select-list/src/Index.vue.d.ts +1 -1
  50. package/packages/components/table/index.d.ts +18 -18
  51. package/packages/components/table/src/Table.vue.d.ts +1 -1
  52. package/packages/components/table/src/table-column/index.vue.d.ts +1 -1
  53. package/packages/components/tag/index.d.ts +3 -3
  54. package/packages/components/tag/src/Index.vue.d.ts +1 -1
  55. package/packages/components/tooltip/index.d.ts +16 -16
  56. package/packages/components/tooltip/src/index.vue.d.ts +2 -2
  57. package/packages/components/tree-select/src/App.vue.d.ts +6 -6
  58. package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +6 -6
  59. package/release-meta.json +4 -4
@@ -1,5 +1,5 @@
1
1
  import { withInstall as Or } from "@das-fed/upf-utils/with-install/index";
2
- import { useAttrs as Ht, inject as xr, computed as S, ref as Re, watch as gt, reactive as Ar, onMounted as Fr, onUnmounted as Pr, defineComponent as Er, useCssVars as Cr, unref as s, openBlock as I, createElementBlock as D, normalizeClass as me, normalizeStyle as Me, createElementVNode as ve, withDirectives as ht, toDisplayString as yt, createCommentVNode as z, createBlock as He, mergeProps as U, createSlots as mt, withCtx as le, createVNode as W, renderSlot as ue, isRef as B, Fragment as K, createTextVNode as Mr } from "vue";
2
+ import { useAttrs as Ht, inject as xr, computed as O, ref as Re, watch as gt, reactive as Ar, onMounted as Fr, onUnmounted as Pr, defineComponent as Er, useCssVars as Cr, unref as s, openBlock as I, createElementBlock as D, normalizeClass as ye, normalizeStyle as Me, createElementVNode as ve, withDirectives as ht, toDisplayString as mt, createCommentVNode as z, createBlock as He, mergeProps as U, createSlots as yt, withCtx as le, createVNode as W, renderSlot as ue, isRef as B, Fragment as K, createTextVNode as Mr } from "vue";
3
3
  import { DasTreeSelectRef as qr, DasTreeSelect as Ir } from "@das-fed/upf-ui/packages/components/tree-select/index";
4
4
  import { DasSelectInput as zr } from "@das-fed/upf-ui/packages/components/select-input/index";
5
5
  import { DasInputDialogSelect as Rr } from "@das-fed/upf-ui/packages/components/input-dialog-select/index";
@@ -188,12 +188,12 @@ function un(e, t, r, n, i) {
188
188
  return $;
189
189
  }), a;
190
190
  }
191
- var o = t.firstFields === !0 ? Object.keys(e) : t.firstFields || [], l = Object.keys(e), f = l.length, w = 0, j = [], g = new Promise(function($, R) {
191
+ var o = t.firstFields === !0 ? Object.keys(e) : t.firstFields || [], l = Object.keys(e), f = l.length, w = 0, S = [], g = new Promise(function($, R) {
192
192
  var T = function(u) {
193
- if (j.push.apply(j, u), w++, w === f)
194
- return n(j), j.length ? R(new wt(j, Qe(j))) : $(i);
193
+ if (S.push.apply(S, u), w++, w === f)
194
+ return n(S), S.length ? R(new wt(S, Qe(S))) : $(i);
195
195
  };
196
- l.length || (n(j), $(i)), l.forEach(function(h) {
196
+ l.length || (n(S), $(i)), l.forEach(function(h) {
197
197
  var u = e[h];
198
198
  o.indexOf(h) !== -1 ? bt(u, r, T) : sn(u, r, T);
199
199
  });
@@ -240,8 +240,8 @@ var Zt = function(t, r, n, i, a, o) {
240
240
  }, qe, pn = function() {
241
241
  if (qe)
242
242
  return qe;
243
- var e = "[a-fA-F\\d:]", t = function(V) {
244
- return V && V.includeBoundaries ? "(?:(?<=\\s|^)(?=" + e + ")|(?<=" + e + ")(?=\\s|$))" : "";
243
+ var e = "[a-fA-F\\d:]", t = function(j) {
244
+ return j && j.includeBoundaries ? "(?:(?<=\\s|^)(?=" + e + ")|(?<=" + e + ")(?=\\s|$))" : "";
245
245
  }, r = "(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}", n = "[a-fA-F\\d]{1,4}", i = (`
246
246
  (?:
247
247
  (?:` + n + ":){7}(?:" + n + `|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
@@ -253,15 +253,15 @@ var Zt = function(t, r, n, i, a, o) {
253
253
  (?:` + n + ":){1}(?:(?::" + n + "){0,4}:" + r + "|(?::" + n + `){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
254
254
  (?::(?:(?::` + n + "){0,5}:" + r + "|(?::" + n + `){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
255
255
  )(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
256
- `).replace(/\s*\/\/.*$/gm, "").replace(/\n/g, "").trim(), a = new RegExp("(?:^" + r + "$)|(?:^" + i + "$)"), o = new RegExp("^" + r + "$"), l = new RegExp("^" + i + "$"), f = function(V) {
257
- return V && V.exact ? a : new RegExp("(?:" + t(V) + r + t(V) + ")|(?:" + t(V) + i + t(V) + ")", "g");
256
+ `).replace(/\s*\/\/.*$/gm, "").replace(/\n/g, "").trim(), a = new RegExp("(?:^" + r + "$)|(?:^" + i + "$)"), o = new RegExp("^" + r + "$"), l = new RegExp("^" + i + "$"), f = function(j) {
257
+ return j && j.exact ? a : new RegExp("(?:" + t(j) + r + t(j) + ")|(?:" + t(j) + i + t(j) + ")", "g");
258
258
  };
259
- f.v4 = function(m) {
260
- return m && m.exact ? o : new RegExp("" + t(m) + r + t(m), "g");
261
- }, f.v6 = function(m) {
262
- return m && m.exact ? l : new RegExp("" + t(m) + i + t(m), "g");
259
+ f.v4 = function(y) {
260
+ return y && y.exact ? o : new RegExp("" + t(y) + r + t(y), "g");
261
+ }, f.v6 = function(y) {
262
+ return y && y.exact ? l : new RegExp("" + t(y) + i + t(y), "g");
263
263
  };
264
- var w = "(?:(?:[a-z]+:)?//)", j = "(?:\\S+(?::\\S*)?@)?", g = f.v4().source, $ = f.v6().source, R = "(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)", T = "(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*", h = "(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))", u = "(?::\\d{2,5})?", d = '(?:[/?#][^\\s"]*)?', G = "(?:" + w + "|www\\.)" + j + "(?:localhost|" + g + "|" + $ + "|" + R + T + h + ")" + u + d;
264
+ var w = "(?:(?:[a-z]+:)?//)", S = "(?:\\S+(?::\\S*)?@)?", g = f.v4().source, $ = f.v6().source, R = "(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)", T = "(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*", h = "(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))", u = "(?::\\d{2,5})?", d = '(?:[/?#][^\\s"]*)?', G = "(?:" + w + "|www\\.)" + S + "(?:localhost|" + g + "|" + $ + "|" + R + T + h + ")" + u + d;
265
265
  return qe = new RegExp("(?:^" + G + "$)", "i"), qe;
266
266
  }, Vt = {
267
267
  // http://emailregex.com/
@@ -319,13 +319,13 @@ var Zt = function(t, r, n, i, a, o) {
319
319
  var o = ["integer", "float", "array", "regexp", "object", "method", "email", "number", "date", "url", "hex"], l = t.type;
320
320
  o.indexOf(l) > -1 ? we[l](r) || i.push(k(a.messages.types[l], t.fullField, t.type)) : l && typeof r !== t.type && i.push(k(a.messages.types[l], t.fullField, t.type));
321
321
  }, hn = function(t, r, n, i, a) {
322
- var o = typeof t.len == "number", l = typeof t.min == "number", f = typeof t.max == "number", w = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, j = r, g = null, $ = typeof r == "number", R = typeof r == "string", T = Array.isArray(r);
322
+ var o = typeof t.len == "number", l = typeof t.min == "number", f = typeof t.max == "number", w = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, S = r, g = null, $ = typeof r == "number", R = typeof r == "string", T = Array.isArray(r);
323
323
  if ($ ? g = "number" : R ? g = "string" : T && (g = "array"), !g)
324
324
  return !1;
325
- T && (j = r.length), R && (j = r.replace(w, "_").length), o ? j !== t.len && i.push(k(a.messages[g].len, t.fullField, t.len)) : l && !f && j < t.min ? i.push(k(a.messages[g].min, t.fullField, t.min)) : f && !l && j > t.max ? i.push(k(a.messages[g].max, t.fullField, t.max)) : l && f && (j < t.min || j > t.max) && i.push(k(a.messages[g].range, t.fullField, t.min, t.max));
326
- }, fe = "enum", yn = function(t, r, n, i, a) {
325
+ T && (S = r.length), R && (S = r.replace(w, "_").length), o ? S !== t.len && i.push(k(a.messages[g].len, t.fullField, t.len)) : l && !f && S < t.min ? i.push(k(a.messages[g].min, t.fullField, t.min)) : f && !l && S > t.max ? i.push(k(a.messages[g].max, t.fullField, t.max)) : l && f && (S < t.min || S > t.max) && i.push(k(a.messages[g].range, t.fullField, t.min, t.max));
326
+ }, fe = "enum", mn = function(t, r, n, i, a) {
327
327
  t[fe] = Array.isArray(t[fe]) ? t[fe] : [], t[fe].indexOf(r) === -1 && i.push(k(a.messages[fe], t.fullField, t[fe].join(", ")));
328
- }, mn = function(t, r, n, i, a) {
328
+ }, yn = function(t, r, n, i, a) {
329
329
  if (t.pattern) {
330
330
  if (t.pattern instanceof RegExp)
331
331
  t.pattern.lastIndex = 0, t.pattern.test(r) || i.push(k(a.messages.pattern.mismatch, t.fullField, r, t.pattern));
@@ -339,8 +339,8 @@ var Zt = function(t, r, n, i, a, o) {
339
339
  whitespace: cn,
340
340
  type: gn,
341
341
  range: hn,
342
- enum: yn,
343
- pattern: mn
342
+ enum: mn,
343
+ pattern: yn
344
344
  }, vn = function(t, r, n, i, a) {
345
345
  var o = [], l = t.required || !t.required && i.hasOwnProperty(t.field);
346
346
  if (l) {
@@ -555,17 +555,17 @@ var tt = et(), Oe = /* @__PURE__ */ function() {
555
555
  var l = n, f = i, w = a;
556
556
  if (typeof f == "function" && (w = f, f = {}), !this.rules || Object.keys(this.rules).length === 0)
557
557
  return w && w(null, l), Promise.resolve(l);
558
- function j(h) {
558
+ function S(h) {
559
559
  var u = [], d = {};
560
- function G(V) {
561
- if (Array.isArray(V)) {
560
+ function G(j) {
561
+ if (Array.isArray(j)) {
562
562
  var C;
563
- u = (C = u).concat.apply(C, V);
563
+ u = (C = u).concat.apply(C, j);
564
564
  } else
565
- u.push(V);
565
+ u.push(j);
566
566
  }
567
- for (var m = 0; m < h.length; m++)
568
- G(h[m]);
567
+ for (var y = 0; y < h.length; y++)
568
+ G(h[y]);
569
569
  u.length ? (d = Qe(u), w(u, d)) : w(null, l);
570
570
  }
571
571
  if (f.messages) {
@@ -577,11 +577,11 @@ var tt = et(), Oe = /* @__PURE__ */ function() {
577
577
  R.forEach(function(h) {
578
578
  var u = o.rules[h], d = l[h];
579
579
  u.forEach(function(G) {
580
- var m = G;
581
- typeof m.transform == "function" && (l === n && (l = re({}, l)), d = l[h] = m.transform(d)), typeof m == "function" ? m = {
582
- validator: m
583
- } : m = re({}, m), m.validator = o.getValidationMethod(m), m.validator && (m.field = h, m.fullField = m.fullField || h, m.type = o.getType(m), $[h] = $[h] || [], $[h].push({
584
- rule: m,
580
+ var y = G;
581
+ typeof y.transform == "function" && (l === n && (l = re({}, l)), d = l[h] = y.transform(d)), typeof y == "function" ? y = {
582
+ validator: y
583
+ } : y = re({}, y), y.validator = o.getValidationMethod(y), y.validator && (y.field = h, y.fullField = y.fullField || h, y.type = o.getType(y), $[h] = $[h] || [], $[h].push({
584
+ rule: y,
585
585
  value: d,
586
586
  source: l,
587
587
  field: h
@@ -592,13 +592,13 @@ var tt = et(), Oe = /* @__PURE__ */ function() {
592
592
  return un($, f, function(h, u) {
593
593
  var d = h.rule, G = (d.type === "object" || d.type === "array") && (typeof d.fields == "object" || typeof d.defaultField == "object");
594
594
  G = G && (d.required || !d.required && h.value), d.field = h.field;
595
- function m(M, q) {
595
+ function y(M, q) {
596
596
  return re({}, q, {
597
597
  fullField: d.fullField + "." + M,
598
598
  fullFields: d.fullFields ? [].concat(d.fullFields, [M]) : [M]
599
599
  });
600
600
  }
601
- function V(M) {
601
+ function j(M) {
602
602
  M === void 0 && (M = []);
603
603
  var q = Array.isArray(M) ? M : [M];
604
604
  !f.suppressWarning && q.length && e.warning("async-validator:", q), q.length && d.message !== void 0 && (q = [].concat(d.message));
@@ -611,41 +611,41 @@ var tt = et(), Oe = /* @__PURE__ */ function() {
611
611
  if (d.required && !h.value)
612
612
  return d.message !== void 0 ? L = [].concat(d.message).map($t(d, l)) : f.error && (L = [f.error(d, k(f.messages.required, d.field))]), u(L);
613
613
  var J = {};
614
- d.defaultField && Object.keys(h.value).map(function(O) {
615
- J[O] = d.defaultField;
614
+ d.defaultField && Object.keys(h.value).map(function(x) {
615
+ J[x] = d.defaultField;
616
616
  }), J = re({}, J, h.rule.fields);
617
617
  var oe = {};
618
- Object.keys(J).forEach(function(O) {
619
- var H = J[O], E = Array.isArray(H) ? H : [H];
620
- oe[O] = E.map(m.bind(null, O));
618
+ Object.keys(J).forEach(function(x) {
619
+ var H = J[x], E = Array.isArray(H) ? H : [H];
620
+ oe[x] = E.map(y.bind(null, x));
621
621
  });
622
622
  var ee = new e(oe);
623
- ee.messages(f.messages), h.rule.options && (h.rule.options.messages = f.messages, h.rule.options.error = f.error), ee.validate(h.value, h.rule.options || f, function(O) {
623
+ ee.messages(f.messages), h.rule.options && (h.rule.options.messages = f.messages, h.rule.options.error = f.error), ee.validate(h.value, h.rule.options || f, function(x) {
624
624
  var H = [];
625
- L && L.length && H.push.apply(H, L), O && O.length && H.push.apply(H, O), u(H.length ? H : null);
625
+ L && L.length && H.push.apply(H, L), x && x.length && H.push.apply(H, x), u(H.length ? H : null);
626
626
  });
627
627
  }
628
628
  }
629
629
  var C;
630
630
  if (d.asyncValidator)
631
- C = d.asyncValidator(d, h.value, V, h.source, f);
631
+ C = d.asyncValidator(d, h.value, j, h.source, f);
632
632
  else if (d.validator) {
633
633
  try {
634
- C = d.validator(d, h.value, V, h.source, f);
634
+ C = d.validator(d, h.value, j, h.source, f);
635
635
  } catch (M) {
636
636
  console.error == null, f.suppressValidatorError || setTimeout(function() {
637
637
  throw M;
638
- }, 0), V(M.message);
638
+ }, 0), j(M.message);
639
639
  }
640
- C === !0 ? V() : C === !1 ? V(typeof d.message == "function" ? d.message(d.fullField || d.field) : d.message || (d.fullField || d.field) + " fails") : C instanceof Array ? V(C) : C instanceof Error && V(C.message);
640
+ C === !0 ? j() : C === !1 ? j(typeof d.message == "function" ? d.message(d.fullField || d.field) : d.message || (d.fullField || d.field) + " fails") : C instanceof Array ? j(C) : C instanceof Error && j(C.message);
641
641
  }
642
642
  C && C.then && C.then(function() {
643
- return V();
643
+ return j();
644
644
  }, function(M) {
645
- return V(M);
645
+ return j(M);
646
646
  });
647
647
  }, function(h) {
648
- j(h);
648
+ S(h);
649
649
  }, l);
650
650
  }, t.getType = function(n) {
651
651
  if (n.type === void 0 && n.pattern instanceof RegExp && (n.type = "pattern"), typeof n.validator != "function" && n.type && !$e.hasOwnProperty(n.type))
@@ -793,16 +793,16 @@ var je = ae(Y, "Map"), Se = ae(Object, "create");
793
793
  function hi() {
794
794
  this.__data__ = Se ? Se(null) : {}, this.size = 0;
795
795
  }
796
- function yi(e) {
796
+ function mi(e) {
797
797
  var t = this.has(e) && delete this.__data__[e];
798
798
  return this.size -= t ? 1 : 0, t;
799
799
  }
800
- var mi = "__lodash_hash_undefined__", vi = Object.prototype, bi = vi.hasOwnProperty;
800
+ var yi = "__lodash_hash_undefined__", vi = Object.prototype, bi = vi.hasOwnProperty;
801
801
  function wi(e) {
802
802
  var t = this.__data__;
803
803
  if (Se) {
804
804
  var r = t[e];
805
- return r === mi ? void 0 : r;
805
+ return r === yi ? void 0 : r;
806
806
  }
807
807
  return bi.call(t, e) ? t[e] : void 0;
808
808
  }
@@ -824,7 +824,7 @@ function ne(e) {
824
824
  }
825
825
  }
826
826
  ne.prototype.clear = hi;
827
- ne.prototype.delete = yi;
827
+ ne.prototype.delete = mi;
828
828
  ne.prototype.get = wi;
829
829
  ne.prototype.has = Vi;
830
830
  ne.prototype.set = Si;
@@ -952,8 +952,8 @@ var Zi = 9007199254740991;
952
952
  function ir(e) {
953
953
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Zi;
954
954
  }
955
- var Ji = "[object Arguments]", Yi = "[object Array]", Xi = "[object Boolean]", _i = "[object Date]", Qi = "[object Error]", ea = "[object Function]", ta = "[object Map]", ra = "[object Number]", na = "[object Object]", ia = "[object RegExp]", aa = "[object Set]", oa = "[object String]", sa = "[object WeakMap]", la = "[object ArrayBuffer]", ua = "[object DataView]", fa = "[object Float32Array]", da = "[object Float64Array]", ca = "[object Int8Array]", pa = "[object Int16Array]", ga = "[object Int32Array]", ha = "[object Uint8Array]", ya = "[object Uint8ClampedArray]", ma = "[object Uint16Array]", va = "[object Uint32Array]", P = {};
956
- P[fa] = P[da] = P[ca] = P[pa] = P[ga] = P[ha] = P[ya] = P[ma] = P[va] = !0;
955
+ var Ji = "[object Arguments]", Yi = "[object Array]", Xi = "[object Boolean]", _i = "[object Date]", Qi = "[object Error]", ea = "[object Function]", ta = "[object Map]", ra = "[object Number]", na = "[object Object]", ia = "[object RegExp]", aa = "[object Set]", oa = "[object String]", sa = "[object WeakMap]", la = "[object ArrayBuffer]", ua = "[object DataView]", fa = "[object Float32Array]", da = "[object Float64Array]", ca = "[object Int8Array]", pa = "[object Int16Array]", ga = "[object Int32Array]", ha = "[object Uint8Array]", ma = "[object Uint8ClampedArray]", ya = "[object Uint16Array]", va = "[object Uint32Array]", P = {};
956
+ P[fa] = P[da] = P[ca] = P[pa] = P[ga] = P[ha] = P[ma] = P[ya] = P[va] = !0;
957
957
  P[Ji] = P[Yi] = P[la] = P[Xi] = P[ua] = P[_i] = P[Qi] = P[ea] = P[ta] = P[ra] = P[na] = P[ia] = P[aa] = P[oa] = P[sa] = !1;
958
958
  function ba(e) {
959
959
  return Fe(e) && ir(e.length) && !!P[xe(e)];
@@ -1129,7 +1129,7 @@ function ao(e, t) {
1129
1129
  var r = t ? ct(e.buffer) : e.buffer;
1130
1130
  return new e.constructor(r, e.byteOffset, e.length);
1131
1131
  }
1132
- var oo = "[object Boolean]", so = "[object Date]", lo = "[object Map]", uo = "[object Number]", fo = "[object RegExp]", co = "[object Set]", po = "[object String]", go = "[object Symbol]", ho = "[object ArrayBuffer]", yo = "[object DataView]", mo = "[object Float32Array]", vo = "[object Float64Array]", bo = "[object Int8Array]", wo = "[object Int16Array]", $o = "[object Int32Array]", To = "[object Uint8Array]", Vo = "[object Uint8ClampedArray]", jo = "[object Uint16Array]", So = "[object Uint32Array]";
1132
+ var oo = "[object Boolean]", so = "[object Date]", lo = "[object Map]", uo = "[object Number]", fo = "[object RegExp]", co = "[object Set]", po = "[object String]", go = "[object Symbol]", ho = "[object ArrayBuffer]", mo = "[object DataView]", yo = "[object Float32Array]", vo = "[object Float64Array]", bo = "[object Int8Array]", wo = "[object Int16Array]", $o = "[object Int32Array]", To = "[object Uint8Array]", Vo = "[object Uint8ClampedArray]", jo = "[object Uint16Array]", So = "[object Uint32Array]";
1133
1133
  function Oo(e, t, r) {
1134
1134
  var n = e.constructor;
1135
1135
  switch (t) {
@@ -1138,9 +1138,9 @@ function Oo(e, t, r) {
1138
1138
  case oo:
1139
1139
  case so:
1140
1140
  return new n(+e);
1141
- case yo:
1142
- return to(e, r);
1143
1141
  case mo:
1142
+ return to(e, r);
1143
+ case yo:
1144
1144
  case vo:
1145
1145
  case bo:
1146
1146
  case wo:
@@ -1187,24 +1187,24 @@ var Kt = ce && ce.isMap, Eo = Kt ? st(Kt) : Po, Co = "[object Set]";
1187
1187
  function Mo(e) {
1188
1188
  return Fe(e) && _(e) == Co;
1189
1189
  }
1190
- var Gt = ce && ce.isSet, qo = Gt ? st(Gt) : Mo, Io = 1, zo = 2, Ro = 4, hr = "[object Arguments]", Do = "[object Array]", No = "[object Boolean]", Lo = "[object Date]", Uo = "[object Error]", yr = "[object Function]", Bo = "[object GeneratorFunction]", Wo = "[object Map]", Ko = "[object Number]", mr = "[object Object]", Go = "[object RegExp]", Ho = "[object Set]", ko = "[object String]", Zo = "[object Symbol]", Jo = "[object WeakMap]", Yo = "[object ArrayBuffer]", Xo = "[object DataView]", _o = "[object Float32Array]", Qo = "[object Float64Array]", es = "[object Int8Array]", ts = "[object Int16Array]", rs = "[object Int32Array]", ns = "[object Uint8Array]", is = "[object Uint8ClampedArray]", as = "[object Uint16Array]", os = "[object Uint32Array]", A = {};
1191
- A[hr] = A[Do] = A[Yo] = A[Xo] = A[No] = A[Lo] = A[_o] = A[Qo] = A[es] = A[ts] = A[rs] = A[Wo] = A[Ko] = A[mr] = A[Go] = A[Ho] = A[ko] = A[Zo] = A[ns] = A[is] = A[as] = A[os] = !0;
1192
- A[Uo] = A[yr] = A[Jo] = !1;
1190
+ var Gt = ce && ce.isSet, qo = Gt ? st(Gt) : Mo, Io = 1, zo = 2, Ro = 4, hr = "[object Arguments]", Do = "[object Array]", No = "[object Boolean]", Lo = "[object Date]", Uo = "[object Error]", mr = "[object Function]", Bo = "[object GeneratorFunction]", Wo = "[object Map]", Ko = "[object Number]", yr = "[object Object]", Go = "[object RegExp]", Ho = "[object Set]", ko = "[object String]", Zo = "[object Symbol]", Jo = "[object WeakMap]", Yo = "[object ArrayBuffer]", Xo = "[object DataView]", _o = "[object Float32Array]", Qo = "[object Float64Array]", es = "[object Int8Array]", ts = "[object Int16Array]", rs = "[object Int32Array]", ns = "[object Uint8Array]", is = "[object Uint8ClampedArray]", as = "[object Uint16Array]", os = "[object Uint32Array]", A = {};
1191
+ A[hr] = A[Do] = A[Yo] = A[Xo] = A[No] = A[Lo] = A[_o] = A[Qo] = A[es] = A[ts] = A[rs] = A[Wo] = A[Ko] = A[yr] = A[Go] = A[Ho] = A[ko] = A[Zo] = A[ns] = A[is] = A[as] = A[os] = !0;
1192
+ A[Uo] = A[mr] = A[Jo] = !1;
1193
1193
  function ze(e, t, r, n, i, a) {
1194
1194
  var o, l = t & Io, f = t & zo, w = t & Ro;
1195
1195
  if (o !== void 0)
1196
1196
  return o;
1197
1197
  if (!Ae(e))
1198
1198
  return e;
1199
- var j = ot(e);
1200
- if (j) {
1199
+ var S = ot(e);
1200
+ if (S) {
1201
1201
  if (o = eo(e), !l)
1202
1202
  return Ra(e, o);
1203
1203
  } else {
1204
- var g = _(e), $ = g == yr || g == Bo;
1204
+ var g = _(e), $ = g == mr || g == Bo;
1205
1205
  if (nr(e))
1206
1206
  return za(e, l);
1207
- if (g == mr || g == hr || $ && !i) {
1207
+ if (g == yr || g == hr || $ && !i) {
1208
1208
  if (o = f || $ ? {} : Ao(e), !l)
1209
1209
  return f ? Wa(e, qa(o, e)) : Ua(e, Fa(o, e));
1210
1210
  } else {
@@ -1222,7 +1222,7 @@ function ze(e, t, r, n, i, a) {
1222
1222
  }) : Eo(e) && e.forEach(function(u, d) {
1223
1223
  o.set(d, ze(u, t, r, d, e, a));
1224
1224
  });
1225
- var T = w ? f ? Ga : Ka : f ? ft : ut, h = j ? void 0 : T(e);
1225
+ var T = w ? f ? Ga : Ka : f ? ft : ut, h = S ? void 0 : T(e);
1226
1226
  return qi(h || e, function(u, d) {
1227
1227
  h && (d = u, u = e[d]), er(o, d, ze(u, t, r, d, e, a));
1228
1228
  }), o;
@@ -1235,10 +1235,10 @@ const fs = (e, t, r) => {
1235
1235
  let n = [];
1236
1236
  return e.length > 0 ? n = e : t && (n = r[t] || []), n;
1237
1237
  }, ds = (e, t, r) => {
1238
- const n = Ht(), i = xr("DasForm"), a = i.props, o = n.class, l = n.prop, f = (y, x) => e[y] || a[y] || x, w = S(() => e.size || a.size || "default");
1239
- let j = Re("none");
1240
- const g = ke(e, "modelValue"), $ = ke(e, "error"), R = ke(e, "optionValue"), T = S(() => fs(e.rules, l, a.rules)), h = S(() => e.errorMode || a.errorMode), u = "8px", d = S(() => a.alignType === "horizontal" && !a.cols ? u : e.labelMarginRight || a.labelMarginRight), G = S(() => $.value !== ""), m = S(() => {
1241
- const y = f("alignType"), x = f("labelPosition"), F = y === "vertical", X = x === "top";
1238
+ const n = Ht(), i = xr("DasForm"), a = i.props, o = n.class, l = n.prop, f = (m, V) => e[m] || a[m] || V, w = O(() => e.size || a.size || "default");
1239
+ let S = Re("none");
1240
+ const g = ke(e, "modelValue"), $ = ke(e, "error"), R = ke(e, "optionValue"), T = O(() => fs(e.rules, l, a.rules)), h = O(() => e.errorMode || a.errorMode), u = "8px", d = O(() => a.alignType === "horizontal" && !a.cols ? u : e.labelMarginRight || a.labelMarginRight), G = O(() => $.value !== ""), y = O(() => {
1241
+ const m = f("alignType"), V = f("labelPosition"), F = m === "vertical", X = V === "top";
1242
1242
  return {
1243
1243
  isVertical: F,
1244
1244
  isVerticalInline: F && !X,
@@ -1247,46 +1247,52 @@ const fs = (e, t, r) => {
1247
1247
  isHorizontalTop: !F && X,
1248
1248
  isGrid: F && a.cols
1249
1249
  };
1250
- }), V = S(() => {
1251
- if (a.autoMarginRight && m.value.isGrid)
1250
+ }), j = O(() => {
1251
+ if (a.autoMarginRight && y.value.isGrid)
1252
1252
  return "0px";
1253
- const y = e.marginRight, x = a.marginRight, F = y != null && y !== "" ? y : x != null && x !== "" ? x : "0px";
1253
+ const m = e.marginRight, V = a.marginRight, F = m != null && m !== "" ? m : V != null && V !== "" ? V : "0px";
1254
1254
  return typeof F == "number" ? `${F}px` : typeof F == "string" && /^\d+(?:\.\d+)?$/.test(F.trim()) ? `${F.trim()}px` : F;
1255
- }), C = S(() => f("marginBottom")), M = S(() => {
1256
- let y = f("contentWidth");
1257
- if (typeof y == "number")
1258
- return `${y}px`;
1259
- if (!(y && ["auto", "100%"].includes(y)))
1260
- return y;
1261
- }), q = S(() => {
1262
- let y = f("labelWidth");
1263
- if (typeof y == "number")
1264
- return `${y}px`;
1265
- if (!(y && ["auto", "100%"].includes(y)))
1266
- return y;
1267
- }), L = "7px", J = "16px", oe = S(() => {
1255
+ }), C = O(() => f("marginBottom")), M = O(() => {
1256
+ const m = f("contentWidth");
1257
+ if (typeof m == "number")
1258
+ return `${m}px`;
1259
+ if (typeof m == "string") {
1260
+ const V = m.trim();
1261
+ if (["auto", "100%"].includes(V))
1262
+ return;
1263
+ if (/^\d+(?:\.\d+)?$/.test(V))
1264
+ return `${V}px`;
1265
+ }
1266
+ return m;
1267
+ }), q = O(() => {
1268
+ let m = f("labelWidth");
1269
+ if (typeof m == "number")
1270
+ return `${m}px`;
1271
+ if (!(m && ["auto", "100%"].includes(m)))
1272
+ return m;
1273
+ }), L = "7px", J = "16px", oe = O(() => {
1268
1274
  var F, X;
1269
- const y = {
1275
+ const m = {
1270
1276
  small: 12,
1271
1277
  default: 14,
1272
1278
  large: 16
1273
1279
  }[w.value];
1274
- let x = `${f("labelLength", 4) * y + ((F = i == null ? void 0 : i.hasRequiredFormItem) != null && F.value ? parseFloat(L) : 0) + ((X = i == null ? void 0 : i.hasHelpMessageFormItem) != null && X.value ? parseFloat(J) : 0)}px`;
1275
- return m.value.isHorizontalTop || m.value.isVerticalTop ? M.value ?? x : m.value.isHorizontalInline && !M.value && !a.isSearchForm ? "fit-content" : x;
1276
- }), ee = S(() => {
1277
- var x, F;
1278
- let y = "0px";
1279
- return a.labelPosition === "top" || (a.labelPosition === "right" ? y = `${((x = i == null ? void 0 : i.hasRequiredFormItem) != null && x.value && !e.required ? parseFloat(L) : 0) + ((F = i == null ? void 0 : i.hasHelpMessageFormItem) != null && F.value && !e.helpMessage ? parseFloat(J) : 0)}px` : a.labelPosition), y;
1280
- }), O = S(() => {
1281
- let y = "";
1282
- return a.labelPosition === "top" || (a.labelPosition === "right" ? y = "paddingLeft" : a.labelPosition), y;
1283
- }), H = S(() => {
1284
- const { isVerticalTop: y, isHorizontalTop: x, isVerticalInline: F } = m.value;
1285
- if (y)
1286
- return M.value ?? `calc(100% - ${V.value})`;
1280
+ let V = `${f("labelLength", 4) * m + ((F = i == null ? void 0 : i.hasRequiredFormItem) != null && F.value ? parseFloat(L) : 0) + ((X = i == null ? void 0 : i.hasHelpMessageFormItem) != null && X.value ? parseFloat(J) : 0)}px`;
1281
+ return y.value.isHorizontalTop || y.value.isVerticalTop ? M.value ?? V : y.value.isHorizontalInline && !M.value && !a.isSearchForm ? "fit-content" : V;
1282
+ }), ee = O(() => {
1283
+ var V, F;
1284
+ let m = "0px";
1285
+ return a.labelPosition === "top" || (a.labelPosition === "right" ? m = `${((V = i == null ? void 0 : i.hasRequiredFormItem) != null && V.value && !e.required ? parseFloat(L) : 0) + ((F = i == null ? void 0 : i.hasHelpMessageFormItem) != null && F.value && !e.helpMessage ? parseFloat(J) : 0)}px` : a.labelPosition), m;
1286
+ }), x = O(() => {
1287
+ let m = "";
1288
+ return a.labelPosition === "top" || (a.labelPosition === "right" ? m = "paddingLeft" : a.labelPosition), m;
1289
+ }), H = O(() => {
1290
+ const { isVerticalTop: m, isHorizontalTop: V, isVerticalInline: F } = y.value;
1291
+ if (m)
1292
+ return M.value ?? `calc(100% - ${j.value})`;
1287
1293
  if (F && !M.value)
1288
- return `calc(100% - ${V.value})`;
1289
- if (x)
1294
+ return `calc(100% - ${j.value})`;
1295
+ if (V)
1290
1296
  return M.value;
1291
1297
  });
1292
1298
  gt(
@@ -1300,29 +1306,29 @@ const fs = (e, t, r) => {
1300
1306
  });
1301
1307
  const E = () => {
1302
1308
  $.value = "", t("update:error", "");
1303
- }, Pe = Re(void 0), Ue = (y, x) => {
1309
+ }, Pe = Re(void 0), Ue = (m, V) => {
1304
1310
  if (he(), r("inputNumber")) {
1305
- if (JSON.stringify(y) === JSON.stringify(Pe.value)) return;
1306
- Pe.value = us(y);
1311
+ if (JSON.stringify(m) === JSON.stringify(Pe.value)) return;
1312
+ Pe.value = us(m);
1307
1313
  }
1308
- t("update:modelValue", y), t("change", y, x);
1309
- }, Be = (y) => {
1310
- t("update:modelValue", y), t("input", y);
1311
- }, We = (y) => {
1312
- t("update:optionValue", y), t("select-change", y);
1314
+ t("update:modelValue", m), t("change", m, V);
1315
+ }, Be = (m) => {
1316
+ t("update:modelValue", m), t("input", m);
1317
+ }, We = (m) => {
1318
+ t("update:optionValue", m), t("select-change", m);
1313
1319
  }, he = async () => {
1314
1320
  if (l && T.value.length > 0) {
1315
- T.value.forEach((x) => {
1316
- !x.type && typeof g.value == "number" && (x.type = "number");
1321
+ T.value.forEach((V) => {
1322
+ !V.type && typeof g.value == "number" && (V.type = "number");
1317
1323
  });
1318
- const y = new Oe({
1324
+ const m = new Oe({
1319
1325
  [l]: T.value
1320
1326
  });
1321
- return new Promise((x) => {
1322
- y.validate({ [l]: g.value }, { firstFields: !0 }).then(() => {
1323
- $.value = "", x(!0);
1327
+ return new Promise((V) => {
1328
+ m.validate({ [l]: g.value }, { firstFields: !0 }).then(() => {
1329
+ $.value = "", V(!0);
1324
1330
  }).catch((F) => {
1325
- $.value = F.errors[0].message, x(!1);
1331
+ $.value = F.errors[0].message, V(!1);
1326
1332
  });
1327
1333
  });
1328
1334
  }
@@ -1349,8 +1355,8 @@ const fs = (e, t, r) => {
1349
1355
  formLabelMarginRight: d,
1350
1356
  contentWidth: M,
1351
1357
  formLabelWidth: q,
1352
- flexConfig: j,
1353
- marginRight: V,
1358
+ flexConfig: S,
1359
+ marginRight: j,
1354
1360
  marginBottom: C,
1355
1361
  formProps: a,
1356
1362
  className: o,
@@ -1358,10 +1364,10 @@ const fs = (e, t, r) => {
1358
1364
  changeHandler: Ue,
1359
1365
  selectChangeHandler: We,
1360
1366
  size: w,
1361
- layoutType: m,
1367
+ layoutType: y,
1362
1368
  formItemContainerWidth: H,
1363
1369
  paddingSpace: ee,
1364
- paddingDirection: O
1370
+ paddingDirection: x
1365
1371
  };
1366
1372
  }, cs = () => {
1367
1373
  const e = Re(), t = Re(!1);
@@ -1375,10 +1381,10 @@ const fs = (e, t, r) => {
1375
1381
  t.value = !1;
1376
1382
  }
1377
1383
  };
1378
- }, ps = ["data-col"], gs = { class: "label-context" }, hs = { class: "label-text" }, ys = { key: 0 }, ms = {
1384
+ }, ps = ["data-col"], gs = { class: "label-context" }, hs = { class: "label-text" }, ms = { key: 0 }, ys = {
1379
1385
  inheritAttrs: !1
1380
1386
  }, vs = /* @__PURE__ */ Er({
1381
- ...ms,
1387
+ ...ys,
1382
1388
  __name: "Index",
1383
1389
  props: {
1384
1390
  labelLength: {},
@@ -1412,10 +1418,10 @@ const fs = (e, t, r) => {
1412
1418
  emits: ["update:modelValue", "update:optionValue", "update:error", "change", "input", "select-change"],
1413
1419
  setup(e, { expose: t, emit: r }) {
1414
1420
  Cr((c) => ({
1415
- v33be0a9a: s(m),
1421
+ v33be0a9a: s(y),
1416
1422
  v8a7d11f4: s(C)
1417
1423
  }));
1418
- const n = e, i = r, a = Ht(), o = S(() => a.width), l = qr(), f = Zr(), w = S(() => String(n.optionsValueKey ?? "value")), j = S(() => String(n.optionsLabelKey ?? "label")), { isShow: g } = en(n), {
1424
+ const n = e, i = r, a = Ht(), o = O(() => a.width), l = qr(), f = Zr(), w = O(() => String(n.optionsValueKey ?? "value")), S = O(() => String(n.optionsLabelKey ?? "label")), { isShow: g } = en(n), {
1419
1425
  innerError: $,
1420
1426
  selectModelValue: R,
1421
1427
  errored: T,
@@ -1423,8 +1429,8 @@ const fs = (e, t, r) => {
1423
1429
  innerValue: u,
1424
1430
  labelWidth: d,
1425
1431
  formLabelWidth: G,
1426
- reqiuiredMarkerWidth: m,
1427
- formLabelMarginRight: V,
1432
+ reqiuiredMarkerWidth: y,
1433
+ formLabelMarginRight: j,
1428
1434
  contentWidth: C,
1429
1435
  flexConfig: M,
1430
1436
  formProps: q,
@@ -1432,28 +1438,28 @@ const fs = (e, t, r) => {
1432
1438
  marginBottom: J,
1433
1439
  className: oe,
1434
1440
  inputHandler: ee,
1435
- changeHandler: O,
1441
+ changeHandler: x,
1436
1442
  selectChangeHandler: H,
1437
1443
  size: E,
1438
1444
  layoutType: Pe,
1439
1445
  formItemContainerWidth: Ue,
1440
1446
  paddingSpace: Be,
1441
1447
  paddingDirection: We
1442
- } = ds(n, i, g), { $dasFormItem: he, isHoverInInput: Ee, errorModalInputMouseEnter: y, errorModallInputMouseLeave: x } = cs(), F = (c) => c === "small" || c === "default" || c === "large" ? c : void 0, X = S(() => F(a.size) ?? E.value), vr = S(
1448
+ } = ds(n, i, g), { $dasFormItem: he, isHoverInInput: Ee, errorModalInputMouseEnter: m, errorModallInputMouseLeave: V } = cs(), F = (c) => c === "small" || c === "default" || c === "large" ? c : void 0, X = O(() => F(a.size) ?? E.value), vr = O(
1443
1449
  () => o.value != null && o.value !== "" || n.contentWidth != null
1444
- ), br = S(() => {
1450
+ ), br = O(() => {
1445
1451
  const c = { ...a };
1446
1452
  return delete c.size, delete c.formSize, c;
1447
- }), pt = S(() => {
1453
+ }), pt = O(() => {
1448
1454
  if (q.alignType !== "horizontal") return 0;
1449
1455
  const c = Number(q.cols);
1450
1456
  if (!Number.isFinite(c) || c <= 0) return 0;
1451
1457
  const p = n.col == null ? 1 : Number(n.col), Z = Number.isFinite(p) && p > 0 ? p : 1;
1452
1458
  return Math.min(Math.floor(Z), Math.floor(c));
1453
- }), wr = S(() => n.marginRight != null && n.marginRight !== ""), $r = S(() => {
1459
+ }), wr = O(() => n.marginRight != null && n.marginRight !== ""), $r = O(() => {
1454
1460
  const c = q.marginRight;
1455
1461
  return typeof c == "number" ? `${c}px` : typeof c == "string" && /^\d+(?:\.\d+)?$/.test(c.trim()) ? `${c.trim()}px` : c ?? "0px";
1456
- }), se = S(() => {
1462
+ }), se = O(() => {
1457
1463
  const c = pt.value;
1458
1464
  if (!c) return;
1459
1465
  const p = Math.floor(Number(q.cols));
@@ -1462,19 +1468,19 @@ const fs = (e, t, r) => {
1462
1468
  if (!(typeof Z == "string" && (Z.trim().startsWith("calc(") || /^-?\d+(?:\.\d+)?[a-z%]+$/i.test(Z.trim())))) return;
1463
1469
  if (c >= p)
1464
1470
  return `calc(100% - ${Ce})`;
1465
- const ye = [];
1466
- for (let te = 0; te < p; te += 1) ye.push(Z);
1467
- const v = `((100% - (${ye.join(" + ")})) / ${p})`, Ge = [];
1471
+ const me = [];
1472
+ for (let te = 0; te < p; te += 1) me.push(Z);
1473
+ const v = `((100% - (${me.join(" + ")})) / ${p})`, Ge = [];
1468
1474
  for (let te = 0; te < c; te += 1) Ge.push(v);
1469
1475
  for (let te = 0; te < c - 1; te += 1) Ge.push(Z);
1470
1476
  return `calc(${Ge.join(" + ")})`;
1471
- }), Tr = S(() => {
1477
+ }), Tr = O(() => {
1472
1478
  const c = pt.value;
1473
1479
  if (!c || se.value || wr.value) return;
1474
1480
  const p = typeof C.value == "string" && C.value ? C.value : void 0, Z = typeof q.marginRight == "string" && q.marginRight ? q.marginRight : "0px";
1475
1481
  if (p)
1476
1482
  return `calc(${L.value ?? "0px"} + ((${c} - 1) * (${p} + ${Z})))`;
1477
- }), Vr = S(() => ({
1483
+ }), Vr = O(() => ({
1478
1484
  marginRight: Tr.value ?? L.value,
1479
1485
  marginBottom: J.value,
1480
1486
  alignItems: n.alignItems,
@@ -1482,19 +1488,19 @@ const fs = (e, t, r) => {
1482
1488
  flex: se.value ? `0 0 ${se.value}` : void 0,
1483
1489
  width: se.value ?? Ue.value,
1484
1490
  maxWidth: se.value
1485
- })), jr = S(() => ({
1491
+ })), jr = O(() => ({
1486
1492
  width: G.value ?? d.value,
1487
1493
  [We.value]: G.value ? 0 : Be.value,
1488
- marginRight: V.value
1489
- })), Sr = S(() => ({
1494
+ marginRight: j.value
1495
+ })), Sr = O(() => ({
1490
1496
  // 横向 cols 已约束 item 宽度时,控件使用列内剩余空间,避免固定 contentWidth 溢出相邻列。
1491
1497
  flex: q.labelPosition === "top" ? void 0 : se.value && !vr.value ? "1" : C.value ? `0 0 ${C.value}` : "1",
1492
1498
  width: q.labelPosition === "top" ? "100%" : void 0
1493
1499
  }));
1494
1500
  return t({ $treeSelect: l, $cascader: f }), (c, p) => {
1495
- var Z, Ce, Ke, ye;
1501
+ var Z, Ce, Ke, me;
1496
1502
  return I(), D("div", {
1497
- class: me(["das-ui-form-item", [s(oe), s(q).labelPosition, s(q).alignType]]),
1503
+ class: ye(["das-ui-form-item", [s(oe), s(q).labelPosition, s(q).alignType]]),
1498
1504
  style: Me(Vr.value),
1499
1505
  "data-col": e.col
1500
1506
  }, [
@@ -1502,27 +1508,27 @@ const fs = (e, t, r) => {
1502
1508
  "div",
1503
1509
  {
1504
1510
  ref: "formLabelRef",
1505
- class: me(["das-ui-form-item-label", `size-${s(E)}`]),
1511
+ class: ye(["das-ui-form-item-label", `size-${s(E)}`]),
1506
1512
  style: Me(jr.value)
1507
1513
  },
1508
1514
  [
1509
1515
  ve(
1510
1516
  "div",
1511
1517
  {
1512
- class: me(["label", { "has-help": e.helpMessage }])
1518
+ class: ye(["label", { "has-help": e.helpMessage }])
1513
1519
  },
1514
1520
  [
1515
1521
  ht((I(), D("div", gs, [
1516
1522
  ve(
1517
1523
  "span",
1518
1524
  {
1519
- class: me(["label-context-inner", { "required-mark": e.required }])
1525
+ class: ye(["label-context-inner", { "required-mark": e.required }])
1520
1526
  },
1521
1527
  [
1522
1528
  ve(
1523
1529
  "span",
1524
1530
  hs,
1525
- yt(e.label),
1531
+ mt(e.label),
1526
1532
  1
1527
1533
  /* TEXT */
1528
1534
  )
@@ -1533,16 +1539,16 @@ const fs = (e, t, r) => {
1533
1539
  ])), [
1534
1540
  [s(vt)]
1535
1541
  ]),
1536
- e.showColon ? (I(), D("span", ys, ":")) : z("v-if", !0),
1542
+ e.showColon ? (I(), D("span", ms, ":")) : z("v-if", !0),
1537
1543
  e.helpMessage || c.$slots.helpContent ? (I(), He(s(Wr), U({
1538
1544
  key: 1,
1539
1545
  effect: "light",
1540
1546
  placement: "top-start",
1541
1547
  content: e.helpMessage
1542
- }, e.tooltipAttrs), mt({
1548
+ }, e.tooltipAttrs), yt({
1543
1549
  default: le(() => [
1544
1550
  W(s(_r), {
1545
- class: me(["help-icon", { "no-required": !e.required }]),
1551
+ class: ye(["help-icon", { "no-required": !e.required }]),
1546
1552
  iconColor: "var(--upf-text-secondary)",
1547
1553
  size: "medium"
1548
1554
  }, null, 8, ["class"])
@@ -1574,9 +1580,9 @@ const fs = (e, t, r) => {
1574
1580
  class: "das-ui-form-container",
1575
1581
  style: Me(Sr.value),
1576
1582
  onMouseenter: p[16] || (p[16] = //@ts-ignore
1577
- (...v) => s(y) && s(y)(...v)),
1583
+ (...v) => s(m) && s(m)(...v)),
1578
1584
  onMouseleave: p[17] || (p[17] = //@ts-ignore
1579
- (...v) => s(x) && s(x)(...v))
1585
+ (...v) => s(V) && s(V)(...v))
1580
1586
  },
1581
1587
  [
1582
1588
  z(" 输入框 "),
@@ -1591,10 +1597,10 @@ const fs = (e, t, r) => {
1591
1597
  type: e.type,
1592
1598
  error: s(T),
1593
1599
  onInput: s(ee),
1594
- onChange: s(O),
1600
+ onChange: s(x),
1595
1601
  width: "100%",
1596
1602
  size: X.value
1597
- }), mt({
1603
+ }), yt({
1598
1604
  _: 2
1599
1605
  /* DYNAMIC */
1600
1606
  }, [
@@ -1640,10 +1646,10 @@ const fs = (e, t, r) => {
1640
1646
  options: e.options,
1641
1647
  defaultProps: {
1642
1648
  value: w.value,
1643
- label: j.value
1649
+ label: S.value
1644
1650
  },
1645
1651
  formSize: s(E),
1646
- onChange: s(O)
1652
+ onChange: s(x)
1647
1653
  }, c.$attrs), null, 16, ["modelValue", "isView", "disabled", "options", "defaultProps", "formSize", "onChange"])
1648
1654
  ],
1649
1655
  2112
@@ -1662,10 +1668,10 @@ const fs = (e, t, r) => {
1662
1668
  options: e.options,
1663
1669
  defaultProps: {
1664
1670
  value: w.value,
1665
- label: j.value
1671
+ label: S.value
1666
1672
  },
1667
1673
  formSize: s(E),
1668
- onChange: s(O)
1674
+ onChange: s(x)
1669
1675
  }, c.$attrs), null, 16, ["modelValue", "isView", "disabled", "options", "defaultProps", "formSize", "onChange"])
1670
1676
  ],
1671
1677
  2112
@@ -1679,7 +1685,7 @@ const fs = (e, t, r) => {
1679
1685
  modelValue: s(u),
1680
1686
  "onUpdate:modelValue": p[3] || (p[3] = (v) => B(u) ? u.value = v : null),
1681
1687
  disabled: e.disabled,
1682
- onChange: s(O),
1688
+ onChange: s(x),
1683
1689
  formSize: s(E)
1684
1690
  }, c.$attrs), null, 16, ["modelValue", "disabled", "onChange", "formSize"])
1685
1691
  ],
@@ -1703,7 +1709,7 @@ const fs = (e, t, r) => {
1703
1709
  value: (Z = e.optionsValueKey) == null ? void 0 : Z.toString(),
1704
1710
  label: (Ce = e.optionsLabelKey) == null ? void 0 : Ce.toString()
1705
1711
  },
1706
- onChange: s(O),
1712
+ onChange: s(x),
1707
1713
  formSize: s(E)
1708
1714
  }, c.$attrs), null, 16, ["modelValue", "isView", "disabled", "error", "size", "options", "fieldNames", "onChange", "formSize"])
1709
1715
  ],
@@ -1726,7 +1732,7 @@ const fs = (e, t, r) => {
1726
1732
  options: e.options,
1727
1733
  width: "100%",
1728
1734
  formSize: s(E),
1729
- onChange: s(O)
1735
+ onChange: s(x)
1730
1736
  }, c.$attrs), null, 16, ["modelValue", "isView", "disabled", "error", "options", "formSize", "onChange"])
1731
1737
  ],
1732
1738
  2112
@@ -1747,7 +1753,7 @@ const fs = (e, t, r) => {
1747
1753
  isView: e.isView,
1748
1754
  disabled: e.disabled,
1749
1755
  error: s(T),
1750
- onChange: s(O)
1756
+ onChange: s(x)
1751
1757
  }, c.$attrs), null, 16, ["modelValue", "data", "size", "width", "isView", "disabled", "error", "onChange"])
1752
1758
  ],
1753
1759
  2112
@@ -1762,7 +1768,7 @@ const fs = (e, t, r) => {
1762
1768
  "onUpdate:modelValue": p[7] || (p[7] = (v) => B(u) ? u.value = v : null),
1763
1769
  options: e.options,
1764
1770
  width: "100%",
1765
- onChange: s(O),
1771
+ onChange: s(x),
1766
1772
  disabled: !!e.disabled,
1767
1773
  error: s(T),
1768
1774
  isView: !!e.isView,
@@ -1781,7 +1787,7 @@ const fs = (e, t, r) => {
1781
1787
  "onUpdate:modelValue": p[8] || (p[8] = (v) => B(u) ? u.value = v : null),
1782
1788
  width: "100%",
1783
1789
  onInput: s(ee),
1784
- onChange: s(O),
1790
+ onChange: s(x),
1785
1791
  disabled: e.disabled,
1786
1792
  error: s(T),
1787
1793
  isView: e.isView,
@@ -1806,8 +1812,8 @@ const fs = (e, t, r) => {
1806
1812
  "onUpdate:optionValue": p[10] || (p[10] = (v) => B(R) ? R.value = v : null),
1807
1813
  options: e.options,
1808
1814
  optionsLabelKey: (Ke = e.optionsLabelKey) == null ? void 0 : Ke.toString(),
1809
- optionsValueKey: (ye = e.optionsValueKey) == null ? void 0 : ye.toString(),
1810
- onInputChange: s(O),
1815
+ optionsValueKey: (me = e.optionsValueKey) == null ? void 0 : me.toString(),
1816
+ onInputChange: s(x),
1811
1817
  onDasInput: s(ee),
1812
1818
  onSelectChange: s(H),
1813
1819
  formSize: s(E)
@@ -1830,9 +1836,9 @@ const fs = (e, t, r) => {
1830
1836
  "onUpdate:modelValue": p[11] || (p[11] = (v) => B(u) ? u.value = v : null),
1831
1837
  formSize: s(E)
1832
1838
  }, c.$attrs, {
1833
- optionsLabelKey: j.value,
1839
+ optionsLabelKey: S.value,
1834
1840
  optionsValueKey: w.value,
1835
- onChange: s(O)
1841
+ onChange: s(x)
1836
1842
  }), null, 16, ["isView", "disabled", "error", "selected-options", "modelValue", "formSize", "optionsLabelKey", "optionsValueKey", "onChange"])
1837
1843
  ],
1838
1844
  2112
@@ -1852,7 +1858,7 @@ const fs = (e, t, r) => {
1852
1858
  disabled: e.disabled,
1853
1859
  isView: e.isView,
1854
1860
  error: s(T),
1855
- onChange: s(O),
1861
+ onChange: s(x),
1856
1862
  formSize: s(E)
1857
1863
  }, c.$attrs), null, 16, ["show-time", "picker", "modelValue", "disabled", "isView", "error", "onChange", "formSize"])
1858
1864
  ],
@@ -1873,7 +1879,7 @@ const fs = (e, t, r) => {
1873
1879
  disabled: e.disabled,
1874
1880
  isView: e.isView,
1875
1881
  error: s(T),
1876
- onChange: s(O),
1882
+ onChange: s(x),
1877
1883
  formSize: s(E)
1878
1884
  }, c.$attrs), null, 16, ["show-time", "picker", "modelValue", "disabled", "isView", "error", "onChange", "formSize"])
1879
1885
  ],
@@ -1891,7 +1897,7 @@ const fs = (e, t, r) => {
1891
1897
  width: "100%",
1892
1898
  disabled: e.disabled,
1893
1899
  isView: e.isView,
1894
- onChange: s(O),
1900
+ onChange: s(x),
1895
1901
  formSize: s(E)
1896
1902
  }, c.$attrs), null, 16, ["modelValue", "disabled", "isView", "onChange", "formSize"])
1897
1903
  ],
@@ -1909,7 +1915,7 @@ const fs = (e, t, r) => {
1909
1915
  width: "100%",
1910
1916
  disabled: e.disabled,
1911
1917
  isView: e.isView,
1912
- onChange: s(O),
1918
+ onChange: s(x),
1913
1919
  formSize: s(E)
1914
1920
  }, c.$attrs), null, 16, ["modelValue", "disabled", "isView", "onChange", "formSize"])
1915
1921
  ],
@@ -1932,7 +1938,7 @@ const fs = (e, t, r) => {
1932
1938
  },
1933
1939
  [
1934
1940
  Mr(
1935
- yt(s($)),
1941
+ mt(s($)),
1936
1942
  1
1937
1943
  /* TEXT */
1938
1944
  )