@farris/ui-vue 1.2.6 → 1.2.7

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 (74) hide show
  1. package/components/accordion/index.esm.js +147 -139
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +11 -28
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/checkbox/index.esm.js +33 -50
  6. package/components/checkbox/index.umd.cjs +1 -1
  7. package/components/combo-list/index.esm.js +183 -171
  8. package/components/combo-list/index.umd.cjs +1 -1
  9. package/components/condition/index.esm.js +236 -235
  10. package/components/condition/index.umd.cjs +1 -1
  11. package/components/data-grid/index.esm.js +1531 -1560
  12. package/components/data-grid/index.umd.cjs +1 -1
  13. package/components/data-view/index.esm.js +1299 -1300
  14. package/components/data-view/index.umd.cjs +1 -1
  15. package/components/date-picker/index.esm.js +235 -252
  16. package/components/date-picker/index.umd.cjs +1 -1
  17. package/components/dynamic-form/index.esm.js +127 -143
  18. package/components/dynamic-form/index.umd.cjs +1 -1
  19. package/components/dynamic-view/index.esm.js +206 -201
  20. package/components/dynamic-view/index.umd.cjs +1 -1
  21. package/components/external-container/index.esm.js +650 -647
  22. package/components/external-container/index.umd.cjs +1 -1
  23. package/components/field-selector/index.esm.js +1101 -1131
  24. package/components/field-selector/index.umd.cjs +1 -1
  25. package/components/filter-bar/index.esm.js +335 -332
  26. package/components/filter-bar/index.umd.cjs +1 -1
  27. package/components/input-group/index.esm.js +128 -145
  28. package/components/input-group/index.umd.cjs +1 -1
  29. package/components/list-view/index.esm.js +306 -303
  30. package/components/list-view/index.umd.cjs +1 -1
  31. package/components/lookup/index.esm.js +2470 -2469
  32. package/components/lookup/index.umd.cjs +1 -1
  33. package/components/mapping-editor/index.esm.js +1928 -1958
  34. package/components/mapping-editor/index.umd.cjs +1 -1
  35. package/components/order/index.esm.js +802 -788
  36. package/components/order/index.umd.cjs +1 -1
  37. package/components/page-header/index.esm.js +116 -137
  38. package/components/page-header/index.umd.cjs +1 -1
  39. package/components/property-editor/index.esm.js +533 -521
  40. package/components/property-editor/index.umd.cjs +2 -2
  41. package/components/property-panel/index.esm.js +178 -177
  42. package/components/property-panel/index.umd.cjs +1 -1
  43. package/components/radio-group/index.esm.js +56 -73
  44. package/components/radio-group/index.umd.cjs +1 -1
  45. package/components/response-layout-editor/index.esm.js +547 -518
  46. package/components/response-layout-editor/index.umd.cjs +1 -1
  47. package/components/response-toolbar/index.esm.js +260 -281
  48. package/components/response-toolbar/index.umd.cjs +1 -1
  49. package/components/schema-selector/index.esm.js +598 -617
  50. package/components/schema-selector/index.umd.cjs +2 -2
  51. package/components/switch/index.esm.js +137 -154
  52. package/components/switch/index.umd.cjs +1 -1
  53. package/components/tabs/index.esm.js +109 -130
  54. package/components/tabs/index.umd.cjs +1 -1
  55. package/components/textarea/index.esm.js +103 -120
  56. package/components/textarea/index.umd.cjs +1 -1
  57. package/components/time-picker/index.esm.js +172 -189
  58. package/components/time-picker/index.umd.cjs +1 -1
  59. package/components/transfer/index.esm.js +124 -122
  60. package/components/transfer/index.umd.cjs +1 -1
  61. package/components/tree-grid/index.esm.js +1600 -1630
  62. package/components/tree-grid/index.umd.cjs +1 -1
  63. package/components/tree-view/index.esm.js +245 -246
  64. package/components/tree-view/index.umd.cjs +1 -1
  65. package/farris.all.esm.js +4123 -4112
  66. package/farris.all.umd.cjs +8 -8
  67. package/package.json +1 -1
  68. package/types/combo-list/src/components/list-container.component.d.ts +6 -0
  69. package/types/combo-list/src/components/list-container.props.d.ts +9 -1
  70. package/types/data-grid/src/data-grid.props.d.ts +1 -0
  71. package/types/lookup/src/property-config/converters/lookup-property.converter.d.ts +0 -4
  72. package/types/lookup/src/property-config/lookup.property-config.d.ts +2 -2
  73. package/types/property-panel/src/composition/entity/base-property.d.ts +0 -16
  74. package/types/property-panel/src/composition/entity/input-base-property.d.ts +21 -0
@@ -1,17 +1,17 @@
1
1
  var kt = Object.defineProperty;
2
2
  var Pt = (t, n, e) => n in t ? kt(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e;
3
3
  var f = (t, n, e) => Pt(t, typeof n != "symbol" ? n + "" : n, e);
4
- import { ref as v, defineComponent as ne, watch as R, computed as S, onMounted as de, createVNode as w, createTextVNode as be, mergeProps as Ce, Teleport as Dt, createApp as Ot, onUnmounted as Ht, inject as pe, nextTick as Ve, withDirectives as Bt, vShow as Ft, Fragment as Et, resolveComponent as Vt } from "vue";
5
- import { cloneDeep as St } from "lodash-es";
4
+ import { ref as v, defineComponent as ne, watch as R, computed as V, onMounted as de, createVNode as w, createTextVNode as be, mergeProps as Ce, Teleport as Dt, createApp as Ot, onUnmounted as Ht, inject as pe, nextTick as Se, withDirectives as Bt, vShow as Ft, Fragment as Et, resolveComponent as St } from "vue";
5
+ import { cloneDeep as Vt } from "lodash-es";
6
6
  import Nt from "@farris/ui-vue/components/button-edit";
7
7
  import "bignumber.js";
8
- import { resolveAppearance as It } from "@farris/ui-vue/components/dynamic-resolver";
9
- import Lt from "@farris/ui-vue/components/tags";
10
- import At from "@farris/ui-vue/components/popover";
11
- import { withInstall as Wt } from "@farris/ui-vue/components/common";
8
+ import { resolveAppearance as Lt } from "@farris/ui-vue/components/dynamic-resolver";
9
+ import At from "@farris/ui-vue/components/tags";
10
+ import Wt from "@farris/ui-vue/components/popover";
11
+ import { withInstall as It } from "@farris/ui-vue/components/common";
12
12
  const qe = {}, _e = {};
13
13
  function ke(t) {
14
- const { properties: n, title: e } = t, r = Object.keys(n).reduce((o, a) => (o[a] = n[a].type === "object" && n[a].properties ? ke(n[a]) : St(n[a].default), o), {});
14
+ const { properties: n, title: e } = t, r = Object.keys(n).reduce((o, a) => (o[a] = n[a].type === "object" && n[a].properties ? ke(n[a]) : Vt(n[a].default), o), {});
15
15
  return r.id = `${e}-${Date.now()}`, r;
16
16
  }
17
17
  function ve(t, n = {}) {
@@ -402,12 +402,12 @@ function q(t) {
402
402
  const n = Object.prototype.toString.call(t);
403
403
  return t instanceof Date || typeof t == "object" && n === "[object Date]" ? new t.constructor(+t) : typeof t == "number" || n === "[object Number]" || typeof t == "string" || n === "[object String]" ? new Date(t) : /* @__PURE__ */ new Date(NaN);
404
404
  }
405
- function I(t, n) {
405
+ function L(t, n) {
406
406
  return t instanceof Date ? new t.constructor(n) : new Date(n);
407
407
  }
408
408
  function Qe(t, n) {
409
409
  const e = q(t);
410
- return isNaN(n) ? I(t, NaN) : (n && e.setDate(e.getDate() + n), e);
410
+ return isNaN(n) ? L(t, NaN) : (n && e.setDate(e.getDate() + n), e);
411
411
  }
412
412
  const $e = 6048e5, on = 864e5, an = 6e4, sn = 36e5, un = 1e3;
413
413
  let ln = {};
@@ -423,14 +423,14 @@ function te(t) {
423
423
  return z(t, { weekStartsOn: 1 });
424
424
  }
425
425
  function Ge(t) {
426
- const n = q(t), e = n.getFullYear(), r = I(t, 0);
426
+ const n = q(t), e = n.getFullYear(), r = L(t, 0);
427
427
  r.setFullYear(e + 1, 0, 4), r.setHours(0, 0, 0, 0);
428
- const o = te(r), a = I(t, 0);
428
+ const o = te(r), a = L(t, 0);
429
429
  a.setFullYear(e, 0, 4), a.setHours(0, 0, 0, 0);
430
430
  const i = te(a);
431
431
  return n.getTime() >= o.getTime() ? e + 1 : n.getTime() >= i.getTime() ? e : e - 1;
432
432
  }
433
- function Se(t) {
433
+ function Ve(t) {
434
434
  const n = q(t);
435
435
  return n.setHours(0, 0, 0, 0), n;
436
436
  }
@@ -449,11 +449,11 @@ function me(t) {
449
449
  return e.setUTCFullYear(n.getFullYear()), +t - +e;
450
450
  }
451
451
  function cn(t, n) {
452
- const e = Se(t), r = Se(n), o = +e - me(e), a = +r - me(r);
452
+ const e = Ve(t), r = Ve(n), o = +e - me(e), a = +r - me(r);
453
453
  return Math.round((o - a) / on);
454
454
  }
455
455
  function dn(t) {
456
- const n = Ge(t), e = I(t, 0);
456
+ const n = Ge(t), e = L(t, 0);
457
457
  return e.setFullYear(n, 0, 4), e.setHours(0, 0, 0, 0), te(e);
458
458
  }
459
459
  function fn(t) {
@@ -466,7 +466,7 @@ function Ue(t) {
466
466
  return !isNaN(Number(n));
467
467
  }
468
468
  function pn(t) {
469
- const n = q(t), e = I(t, 0);
469
+ const n = q(t), e = L(t, 0);
470
470
  return e.setFullYear(n.getFullYear(), 0, 1), e.setHours(0, 0, 0, 0), e;
471
471
  }
472
472
  const mn = {
@@ -784,19 +784,19 @@ function En(t) {
784
784
  return { value: i, rest: s };
785
785
  };
786
786
  }
787
- const Vn = /^(\d+)(th|st|nd|rd)?/i, Sn = /\d+/i, Nn = {
787
+ const Sn = /^(\d+)(th|st|nd|rd)?/i, Vn = /\d+/i, Nn = {
788
788
  narrow: /^(b|a)/i,
789
789
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
790
790
  wide: /^(before christ|before common era|anno domini|common era)/i
791
- }, In = {
792
- any: [/^b/i, /^(a|c)/i]
793
791
  }, Ln = {
792
+ any: [/^b/i, /^(a|c)/i]
793
+ }, An = {
794
794
  narrow: /^[1234]/i,
795
795
  abbreviated: /^q[1234]/i,
796
796
  wide: /^[1234](th|st|nd|rd)? quarter/i
797
- }, An = {
798
- any: [/1/i, /2/i, /3/i, /4/i]
799
797
  }, Wn = {
798
+ any: [/1/i, /2/i, /3/i, /4/i]
799
+ }, In = {
800
800
  narrow: /^[jfmasond]/i,
801
801
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
802
802
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
@@ -853,25 +853,25 @@ const Vn = /^(\d+)(th|st|nd|rd)?/i, Sn = /\d+/i, Nn = {
853
853
  }
854
854
  }, Qn = {
855
855
  ordinalNumber: En({
856
- matchPattern: Vn,
857
- parsePattern: Sn,
856
+ matchPattern: Sn,
857
+ parsePattern: Vn,
858
858
  valueCallback: (t) => parseInt(t, 10)
859
859
  }),
860
860
  era: le({
861
861
  matchPatterns: Nn,
862
862
  defaultMatchWidth: "wide",
863
- parsePatterns: In,
863
+ parsePatterns: Ln,
864
864
  defaultParseWidth: "any"
865
865
  }),
866
866
  quarter: le({
867
- matchPatterns: Ln,
867
+ matchPatterns: An,
868
868
  defaultMatchWidth: "wide",
869
- parsePatterns: An,
869
+ parsePatterns: Wn,
870
870
  defaultParseWidth: "any",
871
871
  valueCallback: (t) => t + 1
872
872
  }),
873
873
  month: le({
874
- matchPatterns: Wn,
874
+ matchPatterns: In,
875
875
  defaultMatchWidth: "wide",
876
876
  parsePatterns: Yn,
877
877
  defaultParseWidth: "any"
@@ -910,16 +910,16 @@ function ze(t) {
910
910
  }
911
911
  function De(t, n) {
912
912
  var d, u, l, h;
913
- const e = q(t), r = e.getFullYear(), o = re(), a = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((u = (d = n == null ? void 0 : n.locale) == null ? void 0 : d.options) == null ? void 0 : u.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((h = (l = o.locale) == null ? void 0 : l.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, i = I(t, 0);
913
+ const e = q(t), r = e.getFullYear(), o = re(), a = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((u = (d = n == null ? void 0 : n.locale) == null ? void 0 : d.options) == null ? void 0 : u.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((h = (l = o.locale) == null ? void 0 : l.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, i = L(t, 0);
914
914
  i.setFullYear(r + 1, 0, a), i.setHours(0, 0, 0, 0);
915
- const s = z(i, n), p = I(t, 0);
915
+ const s = z(i, n), p = L(t, 0);
916
916
  p.setFullYear(r, 0, a), p.setHours(0, 0, 0, 0);
917
917
  const c = z(p, n);
918
918
  return e.getTime() >= s.getTime() ? r + 1 : e.getTime() >= c.getTime() ? r : r - 1;
919
919
  }
920
920
  function Gn(t, n) {
921
921
  var s, p, c, d;
922
- const e = re(), r = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((p = (s = n == null ? void 0 : n.locale) == null ? void 0 : s.options) == null ? void 0 : p.firstWeekContainsDate) ?? e.firstWeekContainsDate ?? ((d = (c = e.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, o = De(t, n), a = I(t, 0);
922
+ const e = re(), r = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((p = (s = n == null ? void 0 : n.locale) == null ? void 0 : s.options) == null ? void 0 : p.firstWeekContainsDate) ?? e.firstWeekContainsDate ?? ((d = (c = e.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, o = De(t, n), a = L(t, 0);
923
923
  return a.setFullYear(o, 0, r), a.setHours(0, 0, 0, 0), z(a, n);
924
924
  }
925
925
  function Ze(t, n) {
@@ -1419,7 +1419,7 @@ const X = {
1419
1419
  return "Z";
1420
1420
  switch (n) {
1421
1421
  case "X":
1422
- return Le(r);
1422
+ return Ae(r);
1423
1423
  case "XXXX":
1424
1424
  case "XX":
1425
1425
  return Z(r);
@@ -1434,7 +1434,7 @@ const X = {
1434
1434
  const r = t.getTimezoneOffset();
1435
1435
  switch (n) {
1436
1436
  case "x":
1437
- return Le(r);
1437
+ return Ae(r);
1438
1438
  case "xxxx":
1439
1439
  case "xx":
1440
1440
  return Z(r);
@@ -1451,7 +1451,7 @@ const X = {
1451
1451
  case "O":
1452
1452
  case "OO":
1453
1453
  case "OOO":
1454
- return "GMT" + Ie(r, ":");
1454
+ return "GMT" + Le(r, ":");
1455
1455
  case "OOOO":
1456
1456
  default:
1457
1457
  return "GMT" + Z(r, ":");
@@ -1464,7 +1464,7 @@ const X = {
1464
1464
  case "z":
1465
1465
  case "zz":
1466
1466
  case "zzz":
1467
- return "GMT" + Ie(r, ":");
1467
+ return "GMT" + Le(r, ":");
1468
1468
  case "zzzz":
1469
1469
  default:
1470
1470
  return "GMT" + Z(r, ":");
@@ -1481,18 +1481,18 @@ const X = {
1481
1481
  return D(r, n.length);
1482
1482
  }
1483
1483
  };
1484
- function Ie(t, n = "") {
1484
+ function Le(t, n = "") {
1485
1485
  const e = t > 0 ? "-" : "+", r = Math.abs(t), o = Math.trunc(r / 60), a = r % 60;
1486
1486
  return a === 0 ? e + String(o) : e + String(o) + n + D(a, 2);
1487
1487
  }
1488
- function Le(t, n) {
1488
+ function Ae(t, n) {
1489
1489
  return t % 60 === 0 ? (t > 0 ? "-" : "+") + D(Math.abs(t) / 60, 2) : Z(t, n);
1490
1490
  }
1491
1491
  function Z(t, n = "") {
1492
1492
  const e = t > 0 ? "-" : "+", r = Math.abs(t), o = D(Math.trunc(r / 60), 2), a = D(r % 60, 2);
1493
1493
  return e + o + n + a;
1494
1494
  }
1495
- const Ae = (t, n) => {
1495
+ const We = (t, n) => {
1496
1496
  switch (t) {
1497
1497
  case "P":
1498
1498
  return n.date({ width: "short" });
@@ -1519,7 +1519,7 @@ const Ae = (t, n) => {
1519
1519
  }, Un = (t, n) => {
1520
1520
  const e = t.match(/(P+)(p+)?/) || [], r = e[1], o = e[2];
1521
1521
  if (!o)
1522
- return Ae(t, n);
1522
+ return We(t, n);
1523
1523
  let a;
1524
1524
  switch (r) {
1525
1525
  case "P":
@@ -1536,7 +1536,7 @@ const Ae = (t, n) => {
1536
1536
  a = n.dateTime({ width: "full" });
1537
1537
  break;
1538
1538
  }
1539
- return a.replace("{{date}}", Ae(r, n)).replace("{{time}}", Je(o, n));
1539
+ return a.replace("{{date}}", We(r, n)).replace("{{time}}", Je(o, n));
1540
1540
  }, xe = {
1541
1541
  p: Je,
1542
1542
  P: Un
@@ -1556,7 +1556,7 @@ function Jn(t, n, e) {
1556
1556
  return `Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${n}\`) for formatting ${r} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
1557
1557
  }
1558
1558
  const Kn = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, er = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, tr = /^'([^]*?)'?$/, nr = /''/g, rr = /[a-zA-Z]/;
1559
- function We(t, n, e) {
1559
+ function Ie(t, n, e) {
1560
1560
  var d, u, l, h;
1561
1561
  const r = re(), o = r.locale ?? Xe, a = r.firstWeekContainsDate ?? ((u = (d = r.locale) == null ? void 0 : d.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, i = r.weekStartsOn ?? ((h = (l = r.locale) == null ? void 0 : l.options) == null ? void 0 : h.weekStartsOn) ?? 0, s = q(t);
1562
1562
  if (!Ue(s))
@@ -1608,7 +1608,7 @@ function ir(t) {
1608
1608
  return e === 0 && (e = 7), e;
1609
1609
  }
1610
1610
  function sr(t, n) {
1611
- const e = n instanceof Date ? I(n, 0) : new n(0);
1611
+ const e = n instanceof Date ? L(n, 0) : new n(0);
1612
1612
  return e.setFullYear(
1613
1613
  t.getFullYear(),
1614
1614
  t.getMonth(),
@@ -1647,7 +1647,7 @@ class cr extends tt {
1647
1647
  f(this, "subPriority", -1);
1648
1648
  }
1649
1649
  set(e, r) {
1650
- return r.timestampIsSet ? e : I(e, sr(e, Date));
1650
+ return r.timestampIsSet ? e : L(e, sr(e, Date));
1651
1651
  }
1652
1652
  }
1653
1653
  class P {
@@ -1691,7 +1691,7 @@ class dr extends P {
1691
1691
  return r.era = o, e.setFullYear(o, 0, 1), e.setHours(0, 0, 0, 0), e;
1692
1692
  }
1693
1693
  }
1694
- const A = {
1694
+ const W = {
1695
1695
  month: /^(1[0-2]|0?\d)/,
1696
1696
  // 0 to 12
1697
1697
  date: /^(3[0-1]|[0-2]?\d)/,
@@ -1736,7 +1736,7 @@ const A = {
1736
1736
  extended: /^([+-])(\d{2}):(\d{2})|Z/,
1737
1737
  extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
1738
1738
  };
1739
- function W(t, n) {
1739
+ function I(t, n) {
1740
1740
  return t && {
1741
1741
  value: n(t.value),
1742
1742
  rest: t.rest
@@ -1765,18 +1765,18 @@ function U(t, n) {
1765
1765
  };
1766
1766
  }
1767
1767
  function nt(t) {
1768
- return N(A.anyDigitsSigned, t);
1768
+ return N(W.anyDigitsSigned, t);
1769
1769
  }
1770
- function L(t, n) {
1770
+ function A(t, n) {
1771
1771
  switch (t) {
1772
1772
  case 1:
1773
- return N(A.singleDigit, n);
1773
+ return N(W.singleDigit, n);
1774
1774
  case 2:
1775
- return N(A.twoDigits, n);
1775
+ return N(W.twoDigits, n);
1776
1776
  case 3:
1777
- return N(A.threeDigits, n);
1777
+ return N(W.threeDigits, n);
1778
1778
  case 4:
1779
- return N(A.fourDigits, n);
1779
+ return N(W.fourDigits, n);
1780
1780
  default:
1781
1781
  return N(new RegExp("^\\d{1," + t + "}"), n);
1782
1782
  }
@@ -1784,13 +1784,13 @@ function L(t, n) {
1784
1784
  function he(t, n) {
1785
1785
  switch (t) {
1786
1786
  case 1:
1787
- return N(A.singleDigitSigned, n);
1787
+ return N(W.singleDigitSigned, n);
1788
1788
  case 2:
1789
- return N(A.twoDigitsSigned, n);
1789
+ return N(W.twoDigitsSigned, n);
1790
1790
  case 3:
1791
- return N(A.threeDigitsSigned, n);
1791
+ return N(W.threeDigitsSigned, n);
1792
1792
  case 4:
1793
- return N(A.fourDigitsSigned, n);
1793
+ return N(W.fourDigitsSigned, n);
1794
1794
  default:
1795
1795
  return N(new RegExp("^-?\\d{1," + t + "}"), n);
1796
1796
  }
@@ -1839,16 +1839,16 @@ class fr extends P {
1839
1839
  });
1840
1840
  switch (r) {
1841
1841
  case "y":
1842
- return W(L(4, e), a);
1842
+ return I(A(4, e), a);
1843
1843
  case "yo":
1844
- return W(
1844
+ return I(
1845
1845
  o.ordinalNumber(e, {
1846
1846
  unit: "year"
1847
1847
  }),
1848
1848
  a
1849
1849
  );
1850
1850
  default:
1851
- return W(L(r.length, e), a);
1851
+ return I(A(r.length, e), a);
1852
1852
  }
1853
1853
  }
1854
1854
  validate(e, r) {
@@ -1894,16 +1894,16 @@ class pr extends P {
1894
1894
  });
1895
1895
  switch (r) {
1896
1896
  case "Y":
1897
- return W(L(4, e), a);
1897
+ return I(A(4, e), a);
1898
1898
  case "Yo":
1899
- return W(
1899
+ return I(
1900
1900
  o.ordinalNumber(e, {
1901
1901
  unit: "year"
1902
1902
  }),
1903
1903
  a
1904
1904
  );
1905
1905
  default:
1906
- return W(L(r.length, e), a);
1906
+ return I(A(r.length, e), a);
1907
1907
  }
1908
1908
  }
1909
1909
  validate(e, r) {
@@ -1952,7 +1952,7 @@ class mr extends P {
1952
1952
  return he(r === "R" ? 4 : r.length, e);
1953
1953
  }
1954
1954
  set(e, r, o) {
1955
- const a = I(e, 0);
1955
+ const a = L(e, 0);
1956
1956
  return a.setFullYear(o, 0, 4), a.setHours(0, 0, 0, 0), te(a);
1957
1957
  }
1958
1958
  }
@@ -1994,7 +1994,7 @@ class yr extends P {
1994
1994
  switch (r) {
1995
1995
  case "Q":
1996
1996
  case "QQ":
1997
- return L(r.length, e);
1997
+ return A(r.length, e);
1998
1998
  case "Qo":
1999
1999
  return o.ordinalNumber(e, { unit: "quarter" });
2000
2000
  case "QQQ":
@@ -2056,7 +2056,7 @@ class gr extends P {
2056
2056
  switch (r) {
2057
2057
  case "q":
2058
2058
  case "qq":
2059
- return L(r.length, e);
2059
+ return A(r.length, e);
2060
2060
  case "qo":
2061
2061
  return o.ordinalNumber(e, { unit: "quarter" });
2062
2062
  case "qqq":
@@ -2117,14 +2117,14 @@ class br extends P {
2117
2117
  const a = (i) => i - 1;
2118
2118
  switch (r) {
2119
2119
  case "M":
2120
- return W(
2121
- N(A.month, e),
2120
+ return I(
2121
+ N(W.month, e),
2122
2122
  a
2123
2123
  );
2124
2124
  case "MM":
2125
- return W(L(2, e), a);
2125
+ return I(A(2, e), a);
2126
2126
  case "Mo":
2127
- return W(
2127
+ return I(
2128
2128
  o.ordinalNumber(e, {
2129
2129
  unit: "month"
2130
2130
  }),
@@ -2179,14 +2179,14 @@ class wr extends P {
2179
2179
  const a = (i) => i - 1;
2180
2180
  switch (r) {
2181
2181
  case "L":
2182
- return W(
2183
- N(A.month, e),
2182
+ return I(
2183
+ N(W.month, e),
2184
2184
  a
2185
2185
  );
2186
2186
  case "LL":
2187
- return W(L(2, e), a);
2187
+ return I(A(2, e), a);
2188
2188
  case "Lo":
2189
- return W(
2189
+ return I(
2190
2190
  o.ordinalNumber(e, {
2191
2191
  unit: "month"
2192
2192
  }),
@@ -2244,11 +2244,11 @@ class xr extends P {
2244
2244
  parse(e, r, o) {
2245
2245
  switch (r) {
2246
2246
  case "w":
2247
- return N(A.week, e);
2247
+ return N(W.week, e);
2248
2248
  case "wo":
2249
2249
  return o.ordinalNumber(e, { unit: "week" });
2250
2250
  default:
2251
- return L(r.length, e);
2251
+ return A(r.length, e);
2252
2252
  }
2253
2253
  }
2254
2254
  validate(e, r) {
@@ -2286,11 +2286,11 @@ class Mr extends P {
2286
2286
  parse(e, r, o) {
2287
2287
  switch (r) {
2288
2288
  case "I":
2289
- return N(A.week, e);
2289
+ return N(W.week, e);
2290
2290
  case "Io":
2291
2291
  return o.ordinalNumber(e, { unit: "week" });
2292
2292
  default:
2293
- return L(r.length, e);
2293
+ return A(r.length, e);
2294
2294
  }
2295
2295
  }
2296
2296
  validate(e, r) {
@@ -2337,11 +2337,11 @@ class Pr extends P {
2337
2337
  parse(e, r, o) {
2338
2338
  switch (r) {
2339
2339
  case "d":
2340
- return N(A.date, e);
2340
+ return N(W.date, e);
2341
2341
  case "do":
2342
2342
  return o.ordinalNumber(e, { unit: "date" });
2343
2343
  default:
2344
- return L(r.length, e);
2344
+ return A(r.length, e);
2345
2345
  }
2346
2346
  }
2347
2347
  validate(e, r) {
@@ -2379,11 +2379,11 @@ class Dr extends P {
2379
2379
  switch (r) {
2380
2380
  case "D":
2381
2381
  case "DD":
2382
- return N(A.dayOfYear, e);
2382
+ return N(W.dayOfYear, e);
2383
2383
  case "Do":
2384
2384
  return o.ordinalNumber(e, { unit: "date" });
2385
2385
  default:
2386
- return L(r.length, e);
2386
+ return A(r.length, e);
2387
2387
  }
2388
2388
  }
2389
2389
  validate(e, r) {
@@ -2466,9 +2466,9 @@ class Hr extends P {
2466
2466
  switch (r) {
2467
2467
  case "e":
2468
2468
  case "ee":
2469
- return W(L(r.length, e), i);
2469
+ return I(A(r.length, e), i);
2470
2470
  case "eo":
2471
- return W(
2471
+ return I(
2472
2472
  o.ordinalNumber(e, {
2473
2473
  unit: "day"
2474
2474
  }),
@@ -2531,9 +2531,9 @@ class Br extends P {
2531
2531
  switch (r) {
2532
2532
  case "c":
2533
2533
  case "cc":
2534
- return W(L(r.length, e), i);
2534
+ return I(A(r.length, e), i);
2535
2535
  case "co":
2536
- return W(
2536
+ return I(
2537
2537
  o.ordinalNumber(e, {
2538
2538
  unit: "day"
2539
2539
  }),
@@ -2597,11 +2597,11 @@ class Er extends P {
2597
2597
  switch (r) {
2598
2598
  case "i":
2599
2599
  case "ii":
2600
- return L(r.length, e);
2600
+ return A(r.length, e);
2601
2601
  case "io":
2602
2602
  return o.ordinalNumber(e, { unit: "day" });
2603
2603
  case "iii":
2604
- return W(
2604
+ return I(
2605
2605
  o.day(e, {
2606
2606
  width: "abbreviated",
2607
2607
  context: "formatting"
@@ -2615,7 +2615,7 @@ class Er extends P {
2615
2615
  a
2616
2616
  );
2617
2617
  case "iiiii":
2618
- return W(
2618
+ return I(
2619
2619
  o.day(e, {
2620
2620
  width: "narrow",
2621
2621
  context: "formatting"
@@ -2623,7 +2623,7 @@ class Er extends P {
2623
2623
  a
2624
2624
  );
2625
2625
  case "iiiiii":
2626
- return W(
2626
+ return I(
2627
2627
  o.day(e, {
2628
2628
  width: "short",
2629
2629
  context: "formatting"
@@ -2635,7 +2635,7 @@ class Er extends P {
2635
2635
  );
2636
2636
  case "iiii":
2637
2637
  default:
2638
- return W(
2638
+ return I(
2639
2639
  o.day(e, {
2640
2640
  width: "wide",
2641
2641
  context: "formatting"
@@ -2660,7 +2660,7 @@ class Er extends P {
2660
2660
  return e = Fr(e, o), e.setHours(0, 0, 0, 0), e;
2661
2661
  }
2662
2662
  }
2663
- class Vr extends P {
2663
+ class Sr extends P {
2664
2664
  constructor() {
2665
2665
  super(...arguments);
2666
2666
  f(this, "priority", 80);
@@ -2701,7 +2701,7 @@ class Vr extends P {
2701
2701
  return e.setHours(Oe(o), 0, 0, 0), e;
2702
2702
  }
2703
2703
  }
2704
- class Sr extends P {
2704
+ class Vr extends P {
2705
2705
  constructor() {
2706
2706
  super(...arguments);
2707
2707
  f(this, "priority", 80);
@@ -2783,7 +2783,7 @@ class Nr extends P {
2783
2783
  return e.setHours(Oe(o), 0, 0, 0), e;
2784
2784
  }
2785
2785
  }
2786
- class Ir extends P {
2786
+ class Lr extends P {
2787
2787
  constructor() {
2788
2788
  super(...arguments);
2789
2789
  f(this, "priority", 70);
@@ -2792,11 +2792,11 @@ class Ir extends P {
2792
2792
  parse(e, r, o) {
2793
2793
  switch (r) {
2794
2794
  case "h":
2795
- return N(A.hour12h, e);
2795
+ return N(W.hour12h, e);
2796
2796
  case "ho":
2797
2797
  return o.ordinalNumber(e, { unit: "hour" });
2798
2798
  default:
2799
- return L(r.length, e);
2799
+ return A(r.length, e);
2800
2800
  }
2801
2801
  }
2802
2802
  validate(e, r) {
@@ -2807,7 +2807,7 @@ class Ir extends P {
2807
2807
  return a && o < 12 ? e.setHours(o + 12, 0, 0, 0) : !a && o === 12 ? e.setHours(0, 0, 0, 0) : e.setHours(o, 0, 0, 0), e;
2808
2808
  }
2809
2809
  }
2810
- class Lr extends P {
2810
+ class Ar extends P {
2811
2811
  constructor() {
2812
2812
  super(...arguments);
2813
2813
  f(this, "priority", 70);
@@ -2816,11 +2816,11 @@ class Lr extends P {
2816
2816
  parse(e, r, o) {
2817
2817
  switch (r) {
2818
2818
  case "H":
2819
- return N(A.hour23h, e);
2819
+ return N(W.hour23h, e);
2820
2820
  case "Ho":
2821
2821
  return o.ordinalNumber(e, { unit: "hour" });
2822
2822
  default:
2823
- return L(r.length, e);
2823
+ return A(r.length, e);
2824
2824
  }
2825
2825
  }
2826
2826
  validate(e, r) {
@@ -2830,7 +2830,7 @@ class Lr extends P {
2830
2830
  return e.setHours(o, 0, 0, 0), e;
2831
2831
  }
2832
2832
  }
2833
- class Ar extends P {
2833
+ class Wr extends P {
2834
2834
  constructor() {
2835
2835
  super(...arguments);
2836
2836
  f(this, "priority", 70);
@@ -2839,11 +2839,11 @@ class Ar extends P {
2839
2839
  parse(e, r, o) {
2840
2840
  switch (r) {
2841
2841
  case "K":
2842
- return N(A.hour11h, e);
2842
+ return N(W.hour11h, e);
2843
2843
  case "Ko":
2844
2844
  return o.ordinalNumber(e, { unit: "hour" });
2845
2845
  default:
2846
- return L(r.length, e);
2846
+ return A(r.length, e);
2847
2847
  }
2848
2848
  }
2849
2849
  validate(e, r) {
@@ -2853,7 +2853,7 @@ class Ar extends P {
2853
2853
  return e.getHours() >= 12 && o < 12 ? e.setHours(o + 12, 0, 0, 0) : e.setHours(o, 0, 0, 0), e;
2854
2854
  }
2855
2855
  }
2856
- class Wr extends P {
2856
+ class Ir extends P {
2857
2857
  constructor() {
2858
2858
  super(...arguments);
2859
2859
  f(this, "priority", 70);
@@ -2862,11 +2862,11 @@ class Wr extends P {
2862
2862
  parse(e, r, o) {
2863
2863
  switch (r) {
2864
2864
  case "k":
2865
- return N(A.hour24h, e);
2865
+ return N(W.hour24h, e);
2866
2866
  case "ko":
2867
2867
  return o.ordinalNumber(e, { unit: "hour" });
2868
2868
  default:
2869
- return L(r.length, e);
2869
+ return A(r.length, e);
2870
2870
  }
2871
2871
  }
2872
2872
  validate(e, r) {
@@ -2886,11 +2886,11 @@ class Yr extends P {
2886
2886
  parse(e, r, o) {
2887
2887
  switch (r) {
2888
2888
  case "m":
2889
- return N(A.minute, e);
2889
+ return N(W.minute, e);
2890
2890
  case "mo":
2891
2891
  return o.ordinalNumber(e, { unit: "minute" });
2892
2892
  default:
2893
- return L(r.length, e);
2893
+ return A(r.length, e);
2894
2894
  }
2895
2895
  }
2896
2896
  validate(e, r) {
@@ -2909,11 +2909,11 @@ class qr extends P {
2909
2909
  parse(e, r, o) {
2910
2910
  switch (r) {
2911
2911
  case "s":
2912
- return N(A.second, e);
2912
+ return N(W.second, e);
2913
2913
  case "so":
2914
2914
  return o.ordinalNumber(e, { unit: "second" });
2915
2915
  default:
2916
- return L(r.length, e);
2916
+ return A(r.length, e);
2917
2917
  }
2918
2918
  }
2919
2919
  validate(e, r) {
@@ -2931,7 +2931,7 @@ class _r extends P {
2931
2931
  }
2932
2932
  parse(e, r) {
2933
2933
  const o = (a) => Math.trunc(a * Math.pow(10, -r.length + 3));
2934
- return W(L(r.length, e), o);
2934
+ return I(A(r.length, e), o);
2935
2935
  }
2936
2936
  set(e, r, o) {
2937
2937
  return e.setMilliseconds(o), e;
@@ -2968,7 +2968,7 @@ class Rr extends P {
2968
2968
  }
2969
2969
  }
2970
2970
  set(e, r, o) {
2971
- return r.timestampIsSet ? e : I(
2971
+ return r.timestampIsSet ? e : L(
2972
2972
  e,
2973
2973
  e.getTime() - me(e) - o
2974
2974
  );
@@ -3005,7 +3005,7 @@ class jr extends P {
3005
3005
  }
3006
3006
  }
3007
3007
  set(e, r, o) {
3008
- return r.timestampIsSet ? e : I(
3008
+ return r.timestampIsSet ? e : L(
3009
3009
  e,
3010
3010
  e.getTime() - me(e) - o
3011
3011
  );
@@ -3021,7 +3021,7 @@ class Qr extends P {
3021
3021
  return nt(e);
3022
3022
  }
3023
3023
  set(e, r, o) {
3024
- return [I(e, o * 1e3), { timestampIsSet: !0 }];
3024
+ return [L(e, o * 1e3), { timestampIsSet: !0 }];
3025
3025
  }
3026
3026
  }
3027
3027
  class $r extends P {
@@ -3034,7 +3034,7 @@ class $r extends P {
3034
3034
  return nt(e);
3035
3035
  }
3036
3036
  set(e, r, o) {
3037
- return [I(e, o), { timestampIsSet: !0 }];
3037
+ return [L(e, o), { timestampIsSet: !0 }];
3038
3038
  }
3039
3039
  }
3040
3040
  const Gr = {
@@ -3055,13 +3055,13 @@ const Gr = {
3055
3055
  e: new Hr(),
3056
3056
  c: new Br(),
3057
3057
  i: new Er(),
3058
- a: new Vr(),
3059
- b: new Sr(),
3058
+ a: new Sr(),
3059
+ b: new Vr(),
3060
3060
  B: new Nr(),
3061
- h: new Ir(),
3062
- H: new Lr(),
3063
- K: new Ar(),
3064
- k: new Wr(),
3061
+ h: new Lr(),
3062
+ H: new Ar(),
3063
+ K: new Wr(),
3064
+ k: new Ir(),
3065
3065
  m: new Yr(),
3066
3066
  s: new qr(),
3067
3067
  S: new _r(),
@@ -3074,7 +3074,7 @@ function Ye(t, n, e, r) {
3074
3074
  var M, O, Y, _;
3075
3075
  const o = ar(), a = o.locale ?? Xe, i = o.firstWeekContainsDate ?? ((O = (M = o.locale) == null ? void 0 : M.options) == null ? void 0 : O.firstWeekContainsDate) ?? 1, s = o.weekStartsOn ?? ((_ = (Y = o.locale) == null ? void 0 : Y.options) == null ? void 0 : _.weekStartsOn) ?? 0;
3076
3076
  if (n === "")
3077
- return t === "" ? q(e) : I(e, NaN);
3077
+ return t === "" ? q(e) : L(e, NaN);
3078
3078
  const p = {
3079
3079
  firstWeekContainsDate: i,
3080
3080
  weekStartsOn: s,
@@ -3112,7 +3112,7 @@ function Ye(t, n, e, r) {
3112
3112
  p
3113
3113
  );
3114
3114
  if (!F)
3115
- return I(e, NaN);
3115
+ return L(e, NaN);
3116
3116
  c.push(F.setter), t = F.rest;
3117
3117
  } else {
3118
3118
  if (C.match(Kr))
@@ -3122,25 +3122,25 @@ function Ye(t, n, e, r) {
3122
3122
  if (g === "''" ? g = "'" : C === "'" && (g = eo(g)), t.indexOf(g) === 0)
3123
3123
  t = t.slice(g.length);
3124
3124
  else
3125
- return I(e, NaN);
3125
+ return L(e, NaN);
3126
3126
  }
3127
3127
  }
3128
3128
  if (t.length > 0 && Jr.test(t))
3129
- return I(e, NaN);
3129
+ return L(e, NaN);
3130
3130
  const l = c.map((g) => g.priority).sort((g, C) => C - g).filter((g, C, E) => E.indexOf(g) === C).map(
3131
3131
  (g) => c.filter((C) => C.priority === g).sort((C, E) => E.subPriority - C.subPriority)
3132
3132
  ).map((g) => g[0]);
3133
3133
  let h = q(e);
3134
3134
  if (isNaN(h.getTime()))
3135
- return I(e, NaN);
3135
+ return L(e, NaN);
3136
3136
  const y = {};
3137
3137
  for (const g of l) {
3138
3138
  if (!g.validate(h, p))
3139
- return I(e, NaN);
3139
+ return L(e, NaN);
3140
3140
  const C = g.set(h, y, p);
3141
3141
  Array.isArray(C) ? (h = C[0], Object.assign(y, C[1])) : h = C;
3142
3142
  }
3143
- return I(e, h);
3143
+ return L(e, h);
3144
3144
  }
3145
3145
  function eo(t) {
3146
3146
  return t.match(zr)[1].replace(Zr, "'");
@@ -3153,7 +3153,7 @@ function at(t, n = "hh:mm:ss") {
3153
3153
  return n.indexOf("ss") === -1 && t.split(":").length === 3 && (n = n + ":ss"), n.indexOf("A") > -1 ? (n = n.replace(/A/g, "a"), Ye(t.toLowerCase(), n, /* @__PURE__ */ new Date())) : Ye(t, n, /* @__PURE__ */ new Date());
3154
3154
  }
3155
3155
  function it(t, n = "hh:mm:ss", e = "AM") {
3156
- return !t || isNaN(t.getTime()) ? "" : n.indexOf("A") > -1 ? (n = n.replace(/A/g, "a"), We(t, n).toUpperCase()) : We(t, n);
3156
+ return !t || isNaN(t.getTime()) ? "" : n.indexOf("A") > -1 ? (n = n.replace(/A/g, "a"), Ie(t, n).toUpperCase()) : Ie(t, n);
3157
3157
  }
3158
3158
  function st(t, n) {
3159
3159
  let e = t || "hh:mm:ss";
@@ -3460,16 +3460,16 @@ const Me = /* @__PURE__ */ ne({
3460
3460
  function T(m = "hour") {
3461
3461
  return g.value ? g.value.indexOf(m[0].toUpperCase()) > -1 || g.value.indexOf(m[0].toLowerCase()) > -1 : !1;
3462
3462
  }
3463
- const j = S(() => ({
3463
+ const j = V(() => ({
3464
3464
  "time-picker-panel": !0,
3465
3465
  "time-picker-panel-column-3": !0,
3466
3466
  "time-picker-panel-placement-bottomLeft": !0,
3467
3467
  "f-area-show": !0
3468
- })), Q = S(() => ({
3468
+ })), Q = V(() => ({
3469
3469
  width: C.value ? `${r.value}px` : "100%"
3470
- })), J = S(() => T("hour")), oe = S(() => T("minute")), ae = S(() => T("second"));
3470
+ })), J = V(() => T("hour")), oe = V(() => T("minute")), ae = V(() => T("second"));
3471
3471
  function ye(m, x = 1, $ = 0) {
3472
- return x = Math.ceil(x), new Array(Math.ceil(m / x)).fill(0).map((V, se) => (se + $) * x);
3472
+ return x = Math.ceil(x), new Array(Math.ceil(m / x)).fill(0).map((S, se) => (se + $) * x);
3473
3473
  }
3474
3474
  function wt() {
3475
3475
  if (J.value && p.value && h(p.value, B(l.viewHours) ? l.viewHours : l.defaultViewHours, 0, "hour", l), oe.value && c.value && h(c.value, B(l.minutes) ? l.minutes : l.defaultMinutes, 0, "minute", l), ae.value && d.value && h(d.value, B(l.seconds) ? l.seconds : l.defaultSeconds, 0, "second", l), C.value && u.value) {
@@ -3481,14 +3481,14 @@ const Me = /* @__PURE__ */ ne({
3481
3481
  let m = 24, x = 0;
3482
3482
  C.value && (m = 12, x = 1);
3483
3483
  const $ = H();
3484
- if (o.value = ye(m, M.value, x).map((V) => ({
3485
- index: V,
3486
- disabled: $.length > 0 && $.indexOf(V) !== -1
3484
+ if (o.value = ye(m, M.value, x).map((S) => ({
3485
+ index: S,
3486
+ disabled: $.length > 0 && $.indexOf(S) !== -1
3487
3487
  })), C.value && o.value[o.value.length - 1].index === 12) {
3488
- const V = [...o.value];
3489
- V.unshift(V[V.length - 1]), V.splice(V.length - 1, 1), o.value = V;
3488
+ const S = [...o.value];
3489
+ S.unshift(S[S.length - 1]), S.splice(S.length - 1, 1), o.value = S;
3490
3490
  }
3491
- o.value = o.value.filter((V) => !(E.value && V.disabled));
3491
+ o.value = o.value.filter((S) => !(E.value && S.disabled));
3492
3492
  }
3493
3493
  function fe() {
3494
3494
  a.value = ye(60, O.value).map((m) => ({
@@ -3516,13 +3516,13 @@ const Me = /* @__PURE__ */ ne({
3516
3516
  if (m.stopPropagation(), l.setHours(x.index, x.disabled), !x.disabled) {
3517
3517
  if (h(p.value, x.index, 120, "hour", l), t.disabledMinutes !== null) {
3518
3518
  fe();
3519
- const $ = a.value.filter((V) => !V.disabled);
3520
- if (!$.find((V) => V.index === l.minutes)) {
3519
+ const $ = a.value.filter((S) => !S.disabled);
3520
+ if (!$.find((S) => S.index === l.minutes)) {
3521
3521
  const {
3522
- index: V,
3522
+ index: S,
3523
3523
  disabled: se
3524
3524
  } = $[0];
3525
- l.setMinutes(V, se);
3525
+ l.setMinutes(S, se);
3526
3526
  }
3527
3527
  }
3528
3528
  (t.disabledSeconds !== null || t.disabledMinutes !== null) && ie();
@@ -3534,13 +3534,13 @@ const Me = /* @__PURE__ */ ne({
3534
3534
  function Tt(m, x) {
3535
3535
  if (m.stopPropagation(), l.setMinutes(x.index, x.disabled), !x.disabled && (h(c.value, x.index, 120, "minute", l), t.disabledSeconds !== null)) {
3536
3536
  ie();
3537
- const $ = i.value.filter((V) => !V.disabled);
3538
- if (!$.find((V) => V.index === l.seconds)) {
3537
+ const $ = i.value.filter((S) => !S.disabled);
3538
+ if (!$.find((S) => S.index === l.seconds)) {
3539
3539
  const {
3540
- index: V,
3540
+ index: S,
3541
3541
  disabled: se
3542
3542
  } = $[0];
3543
- l.setSeconds(V, se);
3543
+ l.setSeconds(S, se);
3544
3544
  }
3545
3545
  }
3546
3546
  }
@@ -3621,7 +3621,7 @@ const Me = /* @__PURE__ */ ne({
3621
3621
  props: Pe,
3622
3622
  emits: ["update:modelValue", "valueChange", "clear"],
3623
3623
  setup(t, n) {
3624
- const e = '<span class="f-icon f-icon-timepicker"></span>', r = v(t.modelValue), o = v(null), a = v(), i = S(() => st(t.format, t.use12Hours));
3624
+ const e = '<span class="f-icon f-icon-timepicker"></span>', r = v(t.modelValue), o = v(null), a = v(), i = V(() => st(t.format, t.use12Hours));
3625
3625
  function s() {
3626
3626
  r.value = "", n.emit("clear");
3627
3627
  }
@@ -3662,7 +3662,7 @@ const Me = /* @__PURE__ */ ne({
3662
3662
  });
3663
3663
  }
3664
3664
  }), uo = /* @__PURE__ */ new Map([
3665
- ["appearance", It]
3665
+ ["appearance", Lt]
3666
3666
  ]);
3667
3667
  function lo(t, n, e) {
3668
3668
  return n;
@@ -4064,14 +4064,14 @@ const co = "https://json-schema.org/draft/2020-12/schema", fo = "https://farris-
4064
4064
  props: Co,
4065
4065
  emits: ["click"],
4066
4066
  setup(t, n) {
4067
- const e = v(t.popupContentPosition), r = v(t.host), o = S(() => ({
4067
+ const e = v(t.popupContentPosition), r = v(t.host), o = V(() => ({
4068
4068
  backgroundColor: t.backgroundColor || "",
4069
4069
  pointerEvents: "auto"
4070
4070
  }));
4071
4071
  function a(s) {
4072
4072
  n.emit("click"), s.preventDefault(), s.stopPropagation();
4073
4073
  }
4074
- S(() => {
4074
+ V(() => {
4075
4075
  const s = r.value;
4076
4076
  if (s) {
4077
4077
  const p = s.getBoundingClientRect(), {
@@ -4086,7 +4086,7 @@ const co = "https://json-schema.org/draft/2020-12/schema", fo = "https://farris-
4086
4086
  }
4087
4087
  return e.value;
4088
4088
  });
4089
- const i = S(() => ({
4089
+ const i = V(() => ({
4090
4090
  // position: 'relative',
4091
4091
  // left: `${position.value.left}px`,
4092
4092
  // top: `${position.value.top}px`
@@ -4159,10 +4159,10 @@ function lt(t, n) {
4159
4159
  return { judgeCanOpen: e };
4160
4160
  }
4161
4161
  function ct(t, n, e, r, o) {
4162
- const a = v(t.buttonBehavior), i = v(t.popupOnInput), s = S(() => ({
4162
+ const a = v(t.buttonBehavior), i = v(t.popupOnInput), s = V(() => ({
4163
4163
  "input-group-append": !0,
4164
4164
  "append-force-show": t.showButtonWhenDisabled && (t.readonly || t.disable)
4165
- })), { judgeCanOpen: p } = lt(t, o), c = S(() => t.showButtonWhenDisabled || (!t.editable || !t.readonly) && !t.disable), d = pe(Ho, null), u = v();
4165
+ })), { judgeCanOpen: p } = lt(t, o), c = V(() => t.showButtonWhenDisabled || (!t.editable || !t.readonly) && !t.disable), d = pe(Ho, null), u = v();
4166
4166
  async function l(M) {
4167
4167
  if (await p() && c.value) {
4168
4168
  const O = !!n.slots.default;
@@ -4196,7 +4196,7 @@ function ct(t, n, e, r, o) {
4196
4196
  };
4197
4197
  }
4198
4198
  function dt(t, n, e, r, o, a) {
4199
- const i = v(!1), s = S(() => t.enableClear && !t.readonly && !t.disable), { changeTextBoxValue: p } = a;
4199
+ const i = v(!1), s = V(() => t.enableClear && !t.readonly && !t.disable), { changeTextBoxValue: p } = a;
4200
4200
  function c(h) {
4201
4201
  i.value = h;
4202
4202
  }
@@ -4228,13 +4228,13 @@ function dt(t, n, e, r, o, a) {
4228
4228
  };
4229
4229
  }
4230
4230
  function ft(t, n, e, r, o) {
4231
- const a = S(() => t.popupOnInput), i = S(() => t.popupOnFocus), { shouldPopupContent: s } = o, p = S(() => t.enableTitle ? e.value : ""), c = S(() => (t.disable || t.readonly) && !t.forcePlaceholder ? "" : t.placeholder), d = S(() => t.readonly || !t.editable), u = v(!1), l = S(() => !t.disable && u.value), h = S(() => ({
4231
+ const a = V(() => t.popupOnInput), i = V(() => t.popupOnFocus), { shouldPopupContent: s } = o, p = V(() => t.enableTitle ? e.value : ""), c = V(() => (t.disable || t.readonly) && !t.forcePlaceholder ? "" : t.placeholder), d = V(() => t.readonly || !t.editable), u = v(!1), l = V(() => !t.disable && u.value), h = V(() => ({
4232
4232
  "text-left": t.textAlign === "left",
4233
4233
  "text-center": t.textAlign === "center",
4234
4234
  "text-right": t.textAlign === "right",
4235
4235
  "form-control": !0,
4236
4236
  "f-utils-fill": !0
4237
- })), y = S(() => ({
4237
+ })), y = V(() => ({
4238
4238
  "input-group": !0,
4239
4239
  "f-state-disable": t.disable,
4240
4240
  "f-state-editable": t.editable && !t.disable && !t.readonly,
@@ -4309,14 +4309,14 @@ function pt(t, n, e, r) {
4309
4309
  if (!!n.slots.default) {
4310
4310
  if (!u && !a.value && !await i())
4311
4311
  return;
4312
- a.value = !a.value, await Ve(), s();
4312
+ a.value = !a.value, await Se(), s();
4313
4313
  }
4314
4314
  }
4315
4315
  async function c(u = !1) {
4316
4316
  if (!!n.slots.default) {
4317
4317
  if (!u && !await i())
4318
4318
  return;
4319
- a.value = !0, await Ve(), s();
4319
+ a.value = !0, await Se(), s();
4320
4320
  }
4321
4321
  }
4322
4322
  function d() {
@@ -4369,14 +4369,14 @@ function mt(t, n, e) {
4369
4369
  function ht(t, n, e) {
4370
4370
  const r = v(t.separator), {
4371
4371
  changeTextBoxValue: o
4372
- } = e, a = S(() => n.value ? n.value.split(r.value).map((s) => ({
4372
+ } = e, a = V(() => n.value ? n.value.split(r.value).map((s) => ({
4373
4373
  name: s,
4374
4374
  selectable: !0
4375
4375
  })) : []);
4376
4376
  function i(s) {
4377
4377
  o(s.map((p) => p.name).join(r.value), !0);
4378
4378
  }
4379
- return () => w(Lt, {
4379
+ return () => w(At, {
4380
4380
  id: `${t.id}-tag-editor`,
4381
4381
  class: "form-control",
4382
4382
  data: a.value,
@@ -4426,7 +4426,7 @@ function Bo(t, n, e) {
4426
4426
  hidePopup: o,
4427
4427
  popoverRef: a
4428
4428
  } = e;
4429
- return () => w(At, {
4429
+ return () => w(Wt, {
4430
4430
  id: `${t.id}-popover`,
4431
4431
  ref: a,
4432
4432
  visible: !0,
@@ -4461,7 +4461,7 @@ const ce = /* @__PURE__ */ ne({
4461
4461
  } = u, M = dt(t, n, o, l, d, u), {
4462
4462
  onMouseEnterTextBox: O,
4463
4463
  onMouseLeaveTextBox: Y
4464
- } = M, _ = S(() => {
4464
+ } = M, _ = V(() => {
4465
4465
  const T = {
4466
4466
  "f-button-edit": !0,
4467
4467
  "f-cmp-inputgroup": !0,
@@ -4610,7 +4610,7 @@ const Fo = /* @__PURE__ */ ne({
4610
4610
  de(() => {
4611
4611
  e.value.componentInstance = o;
4612
4612
  }), n.expose(o.value);
4613
- const y = S(() => {
4613
+ const y = V(() => {
4614
4614
  const g = {
4615
4615
  "f-button-edit": !0,
4616
4616
  "f-cmp-inputgroup": !0,
@@ -4644,7 +4644,7 @@ ce.register = (t, n, e, r) => {
4644
4644
  ce.registerDesigner = (t, n, e) => {
4645
4645
  t["button-edit"] = Fo, n["button-edit"] = ut;
4646
4646
  };
4647
- Wt(ce);
4647
+ It(ce);
4648
4648
  class bt {
4649
4649
  static getEditorTypesByMDataType(n) {
4650
4650
  const e = this.fieldControlTypeMapping[n];
@@ -4870,29 +4870,8 @@ class Eo {
4870
4870
  return r;
4871
4871
  }
4872
4872
  }
4873
- getBindingFieldEditorOptions(n) {
4874
- const e = this.formSchemaUtils.getFormMetadataBasicInfo();
4875
- return {
4876
- type: "field-selector",
4877
- bindingType: { enable: !1 },
4878
- editorParams: {
4879
- propertyData: n,
4880
- formBasicInfo: e
4881
- },
4882
- columns: [
4883
- { field: "name", title: "字段名称" },
4884
- { field: "bindingField", title: "绑定字段" },
4885
- { field: "fieldType", title: "字段类型" }
4886
- ],
4887
- beforeOpenDialog: (r) => {
4888
- const o = this.designViewModelUtils.getAllFields2TreeByVMId(this.viewModelId);
4889
- r.instance.loadData(o);
4890
- },
4891
- textField: "bindingField"
4892
- };
4893
- }
4894
4873
  }
4895
- class Vo extends Eo {
4874
+ class So extends Eo {
4896
4875
  constructor(n, e) {
4897
4876
  super(n, e);
4898
4877
  }
@@ -4927,10 +4906,14 @@ class Vo extends Eo {
4927
4906
  { field: "bindingField", title: "绑定字段" },
4928
4907
  { field: "fieldType", title: "字段类型" }
4929
4908
  ],
4909
+ textField: "bindingField",
4930
4910
  data: r
4931
4911
  }
4932
4912
  };
4933
4913
  }
4914
+ getBindingOtions(n) {
4915
+ return this.getFieldSelectorOptions(n);
4916
+ }
4934
4917
  getComponentConfig(n, e = {}, r = {}) {
4935
4918
  const o = Object.assign({
4936
4919
  description: "组件信息",
@@ -4962,7 +4945,7 @@ class Vo extends Eo {
4962
4945
  return { ...o, properties: { ...a } };
4963
4946
  }
4964
4947
  }
4965
- class So extends Vo {
4948
+ class Vo extends So {
4966
4949
  constructor(n, e) {
4967
4950
  super(n, e);
4968
4951
  }
@@ -5036,7 +5019,7 @@ function No(t, n) {
5036
5019
  getPropsConfig: d
5037
5020
  };
5038
5021
  }
5039
- function Io(t, n) {
5022
+ function Lo(t, n) {
5040
5023
  const {
5041
5024
  canAccepts: e,
5042
5025
  checkCanDeleteComponent: r,
@@ -5048,7 +5031,7 @@ function Io(t, n) {
5048
5031
  triggerBelongedComponentToDeleteWhenDeleted: c
5049
5032
  } = No(t), d = t.schema;
5050
5033
  function u(l) {
5051
- return new So(l, n).getPropertyConfig(d);
5034
+ return new Vo(l, n).getPropertyConfig(d);
5052
5035
  }
5053
5036
  return {
5054
5037
  canAccepts: e,
@@ -5062,12 +5045,12 @@ function Io(t, n) {
5062
5045
  getPropsConfig: u
5063
5046
  };
5064
5047
  }
5065
- const Lo = /* @__PURE__ */ ne({
5048
+ const Ao = /* @__PURE__ */ ne({
5066
5049
  name: "FTimePickerDesign",
5067
5050
  props: Pe,
5068
5051
  emits: ["datePicked", "update:modelValue"],
5069
5052
  setup(t, n) {
5070
- const e = '<span class="f-icon f-icon-timepicker"></span>', r = v(t.modelValue), o = v(), a = v(), i = pe("designer-host-service"), s = pe("design-item-context"), p = Io(s, i), c = gt(a, s, p);
5053
+ const e = '<span class="f-icon f-icon-timepicker"></span>', r = v(t.modelValue), o = v(), a = v(), i = pe("designer-host-service"), s = pe("design-item-context"), p = Lo(s, i), c = gt(a, s, p);
5071
5054
  de(() => {
5072
5055
  a.value.componentInstance = c;
5073
5056
  }), n.expose(c.value);
@@ -5083,7 +5066,7 @@ const Lo = /* @__PURE__ */ ne({
5083
5066
  enableClear: !0,
5084
5067
  onClickButton: () => void 0
5085
5068
  }, {
5086
- default: () => [w(Vt("f-time-picker-time-view"), null, null)]
5069
+ default: () => [w(St("f-time-picker-time-view"), null, null)]
5087
5070
  })]);
5088
5071
  }
5089
5072
  });
@@ -5094,7 +5077,7 @@ ee.register = (t, n, e, r) => {
5094
5077
  t["time-picker"] = ee, n["time-picker"] = je;
5095
5078
  };
5096
5079
  ee.registerDesigner = (t, n, e) => {
5097
- t["time-picker"] = Lo, n["time-picker"] = je;
5080
+ t["time-picker"] = Ao, n["time-picker"] = je;
5098
5081
  };
5099
5082
  export {
5100
5083
  ee as FTimePicker,