@sfxcode/formkit-primevue 0.9.0 → 0.9.2

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as E, getCurrentInstance as mt, watch as me, watchEffect as J, reactive as Rt, h as be, ref as oe, inject as ye, computed as jt, provide as Tt, toRef as Mt, onUnmounted as Dt, isRef as Me, isReactive as Ge, toRaw as Ft, markRaw as Ut, createTextVNode as Wt, resolveComponent as j, openBlock as O, createBlock as D, unref as r, createElementBlock as q, Fragment as De, toDisplayString as re, createCommentVNode as Q, createVNode as $e, normalizeStyle as te, normalizeClass as z } from "vue";
1
+ import { defineComponent as A, getCurrentInstance as bt, watch as me, watchEffect as J, reactive as Rt, h as be, ref as oe, inject as ye, computed as jt, provide as Tt, toRef as Mt, onBeforeUnmount as Dt, isRef as Me, isReactive as Xe, toRaw as Ft, markRaw as Ut, createTextVNode as Wt, resolveComponent as j, openBlock as O, createBlock as D, unref as r, createElementBlock as q, Fragment as De, toDisplayString as re, createCommentVNode as Q, createVNode as $e, normalizeStyle as te, normalizeClass as B } from "vue";
2
2
  const zt = [
3
3
  "__key",
4
4
  "__init",
@@ -7,17 +7,17 @@ const zt = [
7
7
  "__index",
8
8
  "__prevKey"
9
9
  ];
10
- function bt() {
10
+ function Fe() {
11
11
  return Math.random().toString(36).substring(2, 15);
12
12
  }
13
- function Kt(e, i) {
13
+ function Bt(e, i) {
14
14
  const t = e instanceof Set ? e : new Set(e);
15
15
  return i && i.forEach((n) => t.add(n)), [...t];
16
16
  }
17
17
  function M(e, i) {
18
18
  return Object.prototype.hasOwnProperty.call(e, i);
19
19
  }
20
- function Fe(e, i, t = !0, n = ["__key"]) {
20
+ function Ue(e, i, t = !0, n = ["__key"]) {
21
21
  if (e === i)
22
22
  return !0;
23
23
  if (typeof i == "object" && typeof e == "object") {
@@ -27,7 +27,7 @@ function Fe(e, i, t = !0, n = ["__key"]) {
27
27
  if ((a in e || a in i) && e[a] !== i[a])
28
28
  return !1;
29
29
  for (const a in e)
30
- if (!(a in i) || e[a] !== i[a] && !t || t && !Fe(e[a], i[a], t, n))
30
+ if (!(a in i) || e[a] !== i[a] && !t || t && !Ue(e[a], i[a], t, n))
31
31
  return !1;
32
32
  return !0;
33
33
  }
@@ -48,7 +48,7 @@ function he(e) {
48
48
  const t = i.prototype;
49
49
  return !(Oe(t) === !1 || t.hasOwnProperty("isPrototypeOf") === !1);
50
50
  }
51
- function Ue(e, i, t = !1, n = !1) {
51
+ function We(e, i, t = !1, n = !1) {
52
52
  if (i === null)
53
53
  return null;
54
54
  const a = {};
@@ -62,14 +62,14 @@ function Ue(e, i, t = !1, n = !1) {
62
62
  }
63
63
  if (i[l] === void 0)
64
64
  continue;
65
- he(e[l]) && he(i[l]) ? a[l] = Ue(e[l], i[l], t, n) : a[l] = i[l];
65
+ he(e[l]) && he(i[l]) ? a[l] = We(e[l], i[l], t, n) : a[l] = i[l];
66
66
  } else
67
67
  a[l] = e[l];
68
68
  for (const l in i)
69
69
  !M(a, l) && i[l] !== void 0 && (a[l] = i[l]);
70
70
  return a;
71
71
  }
72
- function Bt(e) {
72
+ function Kt(e) {
73
73
  if (e[0] !== '"' && e[0] !== "'" || e[0] !== e[e.length - 1])
74
74
  return !1;
75
75
  const i = e[0];
@@ -103,13 +103,13 @@ function Nt(e) {
103
103
  }
104
104
  return t && i.push(t), i;
105
105
  }
106
- function Xe(e, i) {
106
+ function et(e, i) {
107
107
  const t = {}, n = i.filter((l) => l instanceof RegExp), a = new Set(i);
108
108
  for (const l in e)
109
109
  !a.has(l) && !n.some((s) => s.test(l)) && (t[l] = e[l]);
110
110
  return t;
111
111
  }
112
- function et(e, i) {
112
+ function tt(e, i) {
113
113
  const t = {}, n = i.filter((a) => a instanceof RegExp);
114
114
  return i.forEach((a) => {
115
115
  a instanceof RegExp || (t[a] = e[a]);
@@ -152,7 +152,7 @@ function Ht(e, i) {
152
152
  }
153
153
  return null;
154
154
  }
155
- function tt(e) {
155
+ function nt(e) {
156
156
  return e !== void 0 && e !== "false" && e !== !1 ? !0 : void 0;
157
157
  }
158
158
  function se(e) {
@@ -164,7 +164,7 @@ function se(e) {
164
164
  function ht(e) {
165
165
  return e.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]/g, " ").trim().replace(/\s+/g, "-");
166
166
  }
167
- function We() {
167
+ function ze() {
168
168
  const e = [];
169
169
  let i = 0;
170
170
  const t = (a) => e.push(a), n = (a) => {
@@ -189,7 +189,7 @@ function _t() {
189
189
  }), l.bubble && a.bubble(l);
190
190
  };
191
191
  return n.on = (a, l) => {
192
- const [s, ...f] = a.split("."), b = l.receipt || bt(), m = {
192
+ const [s, ...f] = a.split("."), b = l.receipt || Fe(), m = {
193
193
  modifiers: f,
194
194
  event: s,
195
195
  listener: l,
@@ -228,9 +228,9 @@ function Jt(e, i, t, n) {
228
228
  function Qt(e, i, t) {
229
229
  return i._e.off(t), e;
230
230
  }
231
- const ze = We();
232
- ze((e, i) => (e.message || (e.message = String(`E${e.code}`)), i(e)));
233
- const Ke = We();
231
+ const Be = ze();
232
+ Be((e, i) => (e.message || (e.message = String(`E${e.code}`)), i(e)));
233
+ const Ke = ze();
234
234
  Ke((e, i) => {
235
235
  e.message || (e.message = String(`W${e.code}`));
236
236
  const t = i(e);
@@ -240,12 +240,12 @@ function we(e, i = {}) {
240
240
  Ke.dispatch({ code: e, data: i });
241
241
  }
242
242
  function K(e, i = {}) {
243
- throw Error(ze.dispatch({ code: e, data: i }).message);
243
+ throw Error(Be.dispatch({ code: e, data: i }).message);
244
244
  }
245
245
  function ge(e, i) {
246
246
  const t = {
247
247
  blocking: !1,
248
- key: bt(),
248
+ key: Fe(),
249
249
  meta: {},
250
250
  type: "state",
251
251
  visible: !0,
@@ -253,7 +253,7 @@ function ge(e, i) {
253
253
  };
254
254
  return i && t.value && t.meta.localize !== !1 && (t.value = i.t(t), t.meta.locale = i.config.locale), t;
255
255
  }
256
- const nt = {
256
+ const it = {
257
257
  apply: rn,
258
258
  set: Xt,
259
259
  remove: gt,
@@ -270,7 +270,7 @@ function Gt(e = !1) {
270
270
  const f = new Proxy(i, {
271
271
  get(...b) {
272
272
  const [m, y] = b;
273
- return y === "buffer" ? n : y === "_b" ? a : y === "_m" ? l : y === "_r" ? s : M(nt, y) ? nt[y].bind(null, i, f, t) : Reflect.get(...b);
273
+ return y === "buffer" ? n : y === "_b" ? a : y === "_m" ? l : y === "_r" ? s : M(it, y) ? it[y].bind(null, i, f, t) : Reflect.get(...b);
274
274
  },
275
275
  set(b, m, y) {
276
276
  return m === "_n" ? (t = y, s === "__n" && vt(t, f), !0) : m === "_b" ? (a = y, !0) : m === "buffer" ? (n = y, !0) : m === "_r" ? (s = y, !0) : (K(101, t), !1);
@@ -372,13 +372,13 @@ function on() {
372
372
  return {
373
373
  count: (...t) => un(i, e, ...t),
374
374
  init(t) {
375
- i = t, t.on("message-added.deep", it(e, 1)), t.on("message-removed.deep", it(e, -1));
375
+ i = t, t.on("message-added.deep", rt(e, 1)), t.on("message-removed.deep", rt(e, -1));
376
376
  },
377
- merge: (t) => rt(i, e, t),
377
+ merge: (t) => at(i, e, t),
378
378
  settled(t) {
379
379
  return M(e, t) ? e[t].promise : Promise.resolve();
380
380
  },
381
- unmerge: (t) => rt(i, e, t, !0),
381
+ unmerge: (t) => at(i, e, t, !0),
382
382
  value(t) {
383
383
  return M(e, t) ? e[t].count : 0;
384
384
  }
@@ -408,7 +408,7 @@ function $t(e, i) {
408
408
  const t = e.count, n = e.count + i;
409
409
  return e.count = n, t === 0 && n !== 0 ? (e.node.emit(`unsettled:${e.name}`, e.count, !1), e.promise = new Promise((a) => e.resolve = a)) : t !== 0 && n === 0 && (e.node.emit(`settled:${e.name}`, e.count, !1), e.resolve()), e.node.emit(`count:${e.name}`, e.count, !1), e;
410
410
  }
411
- function it(e, i) {
411
+ function rt(e, i) {
412
412
  return (t) => {
413
413
  for (const n in e) {
414
414
  const a = e[n];
@@ -416,7 +416,7 @@ function it(e, i) {
416
416
  }
417
417
  };
418
418
  }
419
- function rt(e, i, t, n = !1) {
419
+ function at(e, i, t, n = !1) {
420
420
  for (const a in i) {
421
421
  const l = i[a].condition;
422
422
  n || t.ledger.count(a, l);
@@ -427,9 +427,9 @@ function rt(e, i, t, n = !1) {
427
427
  while (e);
428
428
  }
429
429
  }
430
- const Be = /* @__PURE__ */ new Map(), fe = /* @__PURE__ */ new Map(), qe = _t(), cn = [];
430
+ const qe = /* @__PURE__ */ new Map(), fe = /* @__PURE__ */ new Map(), Ne = _t(), cn = [];
431
431
  function dn(e) {
432
- e.props.id && (Be.set(e.props.id, e), fe.set(e, e.props.id), qe(e, {
432
+ e.props.id && (qe.set(e.props.id, e), fe.set(e, e.props.id), Ne(e, {
433
433
  payload: e,
434
434
  name: e.props.id,
435
435
  bubble: !1,
@@ -439,7 +439,7 @@ function dn(e) {
439
439
  function pn(e) {
440
440
  if (fe.has(e)) {
441
441
  const i = fe.get(e);
442
- fe.delete(e), Be.delete(i), qe(e, {
442
+ fe.delete(e), qe.delete(i), Ne(e, {
443
443
  payload: null,
444
444
  name: i,
445
445
  bubble: !1,
@@ -448,12 +448,12 @@ function pn(e) {
448
448
  }
449
449
  }
450
450
  function wt(e) {
451
- return Be.get(e);
451
+ return qe.get(e);
452
452
  }
453
453
  function mn(e, i) {
454
- cn.push(qe.on(e, i));
454
+ cn.push(Ne.on(e, i));
455
455
  }
456
- function at(e, i, t) {
456
+ function lt(e, i, t) {
457
457
  let n = !0;
458
458
  return i in e.config._t ? n = !1 : e.emit(`config:${i}`, t, !1), i in e.props || (e.emit("prop", { prop: i, value: t }), e.emit(`prop:${i}`, t)), n;
459
459
  }
@@ -503,8 +503,8 @@ const ce = (e, i, t) => {
503
503
  _c: C(Wn, ce, !1),
504
504
  add: C(En),
505
505
  addProps: C(An),
506
- address: C(Kn, ce, !1),
507
- at: C(Bn),
506
+ address: C(Bn, ce, !1),
507
+ at: C(Kn),
508
508
  bubble: C(Yt),
509
509
  clearErrors: C(Gn),
510
510
  calm: C(On),
@@ -529,7 +529,7 @@ const ce = (e, i, t) => {
529
529
  setErrors: C(Ot),
530
530
  submit: C(Jn),
531
531
  t: C(Yn),
532
- use: C(Ne),
532
+ use: C(He),
533
533
  name: C(zn, !1, !1),
534
534
  walk: C(Mn)
535
535
  };
@@ -546,7 +546,7 @@ function wn() {
546
546
  const e = /* @__PURE__ */ new Map();
547
547
  return new Proxy(e, {
548
548
  get(i, t) {
549
- return e.has(t) || e.set(t, We()), e.get(t);
549
+ return e.has(t) || e.set(t, ze()), e.get(t);
550
550
  }
551
551
  });
552
552
  }
@@ -655,9 +655,9 @@ function jn(e, i, t) {
655
655
  const n = i.children.indexOf(t);
656
656
  if (n !== -1) {
657
657
  t.isSettled && e.disturb(), i.children.splice(n, 1);
658
- let a = tt(t.props.preserve), l = t.parent;
658
+ let a = nt(t.props.preserve), l = t.parent;
659
659
  for (; a === void 0 && l; )
660
- a = tt(l.props.preserve), l = l.parent;
660
+ a = nt(l.props.preserve), l = l.parent;
661
661
  a ? e.calm() : e.calm({
662
662
  name: e.type === "list" ? n : t.name,
663
663
  value: Pe
@@ -670,15 +670,15 @@ function Tn(e, i, t) {
670
670
  }
671
671
  function Mn(e, i, t, n = !1) {
672
672
  i.children.forEach((a) => {
673
- (t(a) !== !1 || !n) && a.walk(t);
673
+ (t(a) !== !1 || !n) && a.walk(t, n);
674
674
  });
675
675
  }
676
676
  function Dn(e, i) {
677
677
  const t = e.parent || void 0;
678
678
  i.config = It(e.config._t, t), e.walk((n) => n.resetConfig());
679
679
  }
680
- function Ne(e, i, t, n = !0, a = !0) {
681
- return Array.isArray(t) || t instanceof Set ? (t.forEach((l) => Ne(e, i, l)), e) : (i.plugins.has(t) || (a && typeof t.library == "function" && t.library(e), n && t(e) !== !1 && (i.plugins.add(t), e.children.forEach((l) => l.use(t)))), e);
680
+ function He(e, i, t, n = !0, a = !0) {
681
+ return Array.isArray(t) || t instanceof Set ? (t.forEach((l) => He(e, i, l)), e) : (i.plugins.has(t) || (a && typeof t.library == "function" && t.library(e), n && t(e) !== !1 && (i.plugins.add(t), e.children.forEach((l) => l.use(t)))), e);
682
682
  }
683
683
  function Fn(e, i, t, n) {
684
684
  if (ke(e.parent)) {
@@ -701,10 +701,10 @@ function zn(e, i) {
701
701
  var t;
702
702
  return ((t = e.parent) === null || t === void 0 ? void 0 : t.type) === "list" ? e.index : i.name !== kt ? i.name : e.index;
703
703
  }
704
- function Kn(e, i) {
704
+ function Bn(e, i) {
705
705
  return i.parent ? i.parent.address.concat([e.name]) : [e.name];
706
706
  }
707
- function Bn(e, i, t) {
707
+ function Kn(e, i, t) {
708
708
  const n = typeof t == "string" ? t.split(e.config.delimiter) : t;
709
709
  if (!n.length)
710
710
  return;
@@ -786,9 +786,9 @@ function It(e = {}, i) {
786
786
  return t = l, e.rootConfig && e.rootConfig._add(t), !0;
787
787
  if (a === "_rmn")
788
788
  return e.rootConfig && e.rootConfig._rm(t), t = void 0, !0;
789
- if (!Fe(e[a], l, !1)) {
789
+ if (!Ue(e[a], l, !1)) {
790
790
  const s = Reflect.set(...n);
791
- return t && (t.emit(`config:${a}`, l, !1), at(t, a, l), t.walk((f) => at(f, a, l), !0)), s;
791
+ return t && (t.emit(`config:${a}`, l, !1), lt(t, a, l), t.walk((f) => lt(f, a, l), !0)), s;
792
792
  }
793
793
  return !0;
794
794
  }
@@ -846,7 +846,7 @@ function ei(e) {
846
846
  prop: l,
847
847
  value: s
848
848
  });
849
- if (!Fe(i[b], m, !1) || typeof m == "object") {
849
+ if (!Ue(i[b], m, !1) || typeof m == "object") {
850
850
  const y = Reflect.set(a, b, m, f);
851
851
  return n && (t.emit("prop", { prop: b, value: m }), typeof b == "string" && t.emit(`prop:${b}`, m)), y;
852
852
  }
@@ -871,7 +871,7 @@ function ni(e) {
871
871
  _resolve: !1,
872
872
  _tmo: !1,
873
873
  _value: i,
874
- children: Kt(e.children || []),
874
+ children: Bt(e.children || []),
875
875
  config: t,
876
876
  hook: wn(),
877
877
  isCreated: !1,
@@ -895,7 +895,7 @@ function ii(e, i) {
895
895
  ...e.parent ? e.parent.plugins : []
896
896
  ])), i.plugins)
897
897
  for (const n of i.plugins)
898
- Ne(e, e._c, n, !0, !1);
898
+ He(e, e._c, n, !0, !1);
899
899
  return Xn(e), e.each((n) => e.add(n)), e.parent && e.parent.add(e, i.index), e.type === "input" && e.children.length && K(100, e), Ct(e, e._c, e._value, !1), e.store.release(), !((t = i.props) === null || t === void 0) && t.id && dn(e), e.emit("created", e), e.isCreated = !0, e;
900
900
  }
901
901
  function ri(e) {
@@ -1008,44 +1008,44 @@ function N(e) {
1008
1008
  }
1009
1009
  function y(c, d = 0) {
1010
1010
  const p = a[d], w = c.length, S = Object.keys(p);
1011
- let u = 0, h = !1, $ = null, k = "", I = null, V, R = "", x = "", P = "", A = "", U = 0;
1012
- const W = (L, B) => {
1013
- L ? P += B : k += B;
1011
+ let u = 0, h = !1, $ = null, k = "", I = null, V, E = "", x = "", P = "", R = "", z = 0;
1012
+ const F = (L, U) => {
1013
+ L ? P += U : k += U;
1014
1014
  };
1015
1015
  for (let L = 0; L < w; L++)
1016
- if (R = x, x = c.charAt(L), (x === "'" || x === '"') && R !== "\\" && (u === 0 && !h || u && !A)) {
1017
- u ? A = x : h = x, W(u, x);
1016
+ if (E = x, x = c.charAt(L), (x === "'" || x === '"') && E !== "\\" && (u === 0 && !h || u && !R)) {
1017
+ u ? R = x : h = x, F(u, x);
1018
1018
  continue;
1019
- } else if (h && (x !== h || R === "\\") || A && (x !== A || R === "\\")) {
1020
- W(u, x);
1019
+ } else if (h && (x !== h || E === "\\") || R && (x !== R || E === "\\")) {
1020
+ F(u, x);
1021
1021
  continue;
1022
1022
  } else if (h === x) {
1023
- h = !1, W(u, x);
1023
+ h = !1, F(u, x);
1024
1024
  continue;
1025
- } else if (A === x) {
1026
- A = !1, W(u, x);
1025
+ } else if (R === x) {
1026
+ R = !1, F(u, x);
1027
1027
  continue;
1028
1028
  } else {
1029
1029
  if (x === " ")
1030
1030
  continue;
1031
1031
  if (x === "(")
1032
- u === 0 ? U = L : P += x, u++;
1032
+ u === 0 ? z = L : P += x, u++;
1033
1033
  else if (x === ")")
1034
1034
  if (u--, u === 0) {
1035
- const B = typeof k == "string" && k.startsWith("$") ? k : void 0, ae = B && c.charAt(L + 1) === ".";
1035
+ const U = typeof k == "string" && k.startsWith("$") ? k : void 0, ae = U && c.charAt(L + 1) === ".";
1036
1036
  let Z = "";
1037
1037
  ae && ([Z, L] = m(L + 2, c));
1038
- const G = $ ? d : b(U, c, 0), Y = b(L, c);
1039
- G === -1 && Y === -1 ? k = o(P, -1, B, Z) : $ && (G >= Y || Y === -1) && d === G ? (I = $.bind(null, o(P, -1, B, Z)), $ = null, k = "") : Y > G && d === Y ? k = o(P, -1, B, Z) : k += `(${P})${ae ? `.${Z}` : ""}`, P = "";
1038
+ const G = $ ? d : b(z, c, 0), Y = b(L, c);
1039
+ G === -1 && Y === -1 ? k = o(P, -1, U, Z) : $ && (G >= Y || Y === -1) && d === G ? (I = $.bind(null, o(P, -1, U, Z)), $ = null, k = "") : Y > G && d === Y ? k = o(P, -1, U, Z) : k += `(${P})${ae ? `.${Z}` : ""}`, P = "";
1040
1040
  } else
1041
1041
  P += x;
1042
1042
  else if (u === 0 && (V = f(S, x, L, c))) {
1043
1043
  L === 0 && K(103, [V, c]), L += V.length - 1, L === c.length - 1 && K(104, [V, c]), $ ? k && (I = $.bind(null, o(k, d)), $ = p[V].bind(null, I), k = "") : I ? ($ = p[V].bind(null, o(I, d)), I = null) : ($ = p[V].bind(null, o(k, d)), k = "");
1044
1044
  continue;
1045
1045
  } else
1046
- W(u, x);
1046
+ F(u, x);
1047
1047
  }
1048
- return k && $ && ($ = $.bind(null, o(k, d))), $ = !$ && I ? I : $, !$ && k && ($ = (L, B) => typeof L == "function" ? L(B) : L, $ = $.bind(null, o(k, d))), !$ && !k && K(105, c), $;
1048
+ return k && $ && ($ = $.bind(null, o(k, d))), $ = !$ && I ? I : $, !$ && k && ($ = (L, U) => typeof L == "function" ? L(U) : L, $ = $.bind(null, o(k, d))), !$ && !k && K(105, c), $;
1049
1049
  }
1050
1050
  function o(c, d, p, w) {
1051
1051
  if (p) {
@@ -1056,13 +1056,13 @@ function N(e) {
1056
1056
  return (k) => {
1057
1057
  const I = S(k);
1058
1058
  return typeof I != "function" ? (we(150, p), I) : (u = I(...$.map((V) => typeof V == "function" ? V(k) : V)), h && (h = h.provide((V) => {
1059
- const R = i(V);
1060
- return V.reduce((P, A) => {
1061
- if (A === w || (w == null ? void 0 : w.startsWith(`${A}(`))) {
1062
- const W = Ht(u, A);
1063
- P[A] = () => W;
1059
+ const E = i(V);
1060
+ return V.reduce((P, R) => {
1061
+ if (R === w || (w == null ? void 0 : w.startsWith(`${R}(`))) {
1062
+ const F = Ht(u, R);
1063
+ P[R] = () => F;
1064
1064
  } else
1065
- P[A] = R[A];
1065
+ P[R] = E[R];
1066
1066
  return P;
1067
1067
  }, {});
1068
1068
  })), h ? h() : u);
@@ -1075,7 +1075,7 @@ function N(e) {
1075
1075
  return !1;
1076
1076
  if (c === "undefined")
1077
1077
  return;
1078
- if (Bt(c))
1078
+ if (Kt(c))
1079
1079
  return qt(c.substring(1, c.length - 1));
1080
1080
  if (!isNaN(+c))
1081
1081
  return Number(c);
@@ -1101,7 +1101,7 @@ function N(e) {
1101
1101
  provide: v
1102
1102
  });
1103
1103
  }
1104
- const lt = "1.0.0-beta.11", si = H("outer", () => ({
1104
+ const st = "1.0.0-beta.12", si = H("outer", () => ({
1105
1105
  $el: "div",
1106
1106
  attrs: {
1107
1107
  key: "$id",
@@ -1142,11 +1142,11 @@ const lt = "1.0.0-beta.11", si = H("outer", () => ({
1142
1142
  id: '$: "help-" + $id'
1143
1143
  }
1144
1144
  }));
1145
- function st(e) {
1145
+ function ot(e) {
1146
1146
  return typeof e == "object" && ("$el" in e || "$cmp" in e || "$formkit" in e);
1147
1147
  }
1148
1148
  function yi(e, i = {}) {
1149
- return typeof e == "string" ? st(i) || typeof i == "string" ? i : e : Array.isArray(e) ? st(i) ? i : e : Ue(e, i);
1149
+ return typeof e == "string" ? ot(i) || typeof i == "string" ? i : e : Array.isArray(e) ? ot(i) ? i : e : We(e, i);
1150
1150
  }
1151
1151
  function hi(e) {
1152
1152
  return si(ui(fi("$label"), oi(pi(), e(), mi())), bi("$help"), ci(di("$message.value")));
@@ -1219,7 +1219,7 @@ function $i(e) {
1219
1219
  }
1220
1220
  }
1221
1221
  function wi(e, i) {
1222
- const t = lt.startsWith("__") ? "latest" : lt, n = typeof i == "function" ? i(e) : `https://cdn.jsdelivr.net/npm/@formkit/icons@${t}/dist/icons/${e}.svg`;
1222
+ const t = st.startsWith("__") ? "latest" : st, n = typeof i == "function" ? i(e) : `https://cdn.jsdelivr.net/npm/@formkit/icons@${t}/dist/icons/${e}.svg`;
1223
1223
  if (!!Se)
1224
1224
  return fetch(`${n}`).then(async (a) => {
1225
1225
  const l = await a.text();
@@ -1229,8 +1229,8 @@ function wi(e, i) {
1229
1229
  console.error(a);
1230
1230
  });
1231
1231
  }
1232
- let He = !1;
1233
- const ot = {
1232
+ let Ze = !1;
1233
+ const ut = {
1234
1234
  100: ({ data: e }) => `Only groups, lists, and forms can have children (${e.name}).`,
1235
1235
  101: ({ data: e }) => `You cannot directly modify the store (${e.name}). See: https://formkit.com/advanced/core#message-store`,
1236
1236
  102: ({ data: [e, i] }) => `You cannot directly assign node.${i} (${e.name})`,
@@ -1243,7 +1243,7 @@ const ot = {
1243
1243
  300: ({ data: [e] }) => `Cannot set behavior prop to overscroll (on ${e.name} input) when options prop is a function.`,
1244
1244
  600: ({ data: e }) => `Unknown input type${typeof e.props.type == "string" ? ' "' + e.props.type + '"' : ""} ("${e.name}")`,
1245
1245
  601: ({ data: e }) => `Input definition${typeof e.props.type == "string" ? ' "' + e.props.type + '"' : ""} is missing a schema or component property (${e.name}).`
1246
- }, ut = {
1246
+ }, ft = {
1247
1247
  150: ({ data: e }) => `Schema function "${e}()" is not a valid function.`,
1248
1248
  151: ({ data: e }) => `No form element with id: ${e}`,
1249
1249
  152: ({ data: e }) => `No input element with id: ${e}`,
@@ -1253,24 +1253,24 @@ const ot = {
1253
1253
  652: ({ data: e }) => `Cannot clearErrors() on "${e}" because no such id exists.`,
1254
1254
  800: ({ data: e }) => `${e} is deprecated.`
1255
1255
  }, ki = (e, i) => {
1256
- if (e.code in ot) {
1257
- const t = ot[e.code];
1256
+ if (e.code in ut) {
1257
+ const t = ut[e.code];
1258
1258
  e.message = typeof t == "function" ? t(e) : t;
1259
1259
  }
1260
1260
  return i(e);
1261
1261
  };
1262
- He || ze(ki);
1262
+ Ze || Be(ki);
1263
1263
  const Si = (e, i) => {
1264
- if (e.code in ut) {
1265
- const t = ut[e.code];
1264
+ if (e.code in ft) {
1265
+ const t = ft[e.code];
1266
1266
  e.message = typeof t == "function" ? t(e) : t;
1267
1267
  }
1268
1268
  return i(e);
1269
1269
  };
1270
- He || Ke(Si);
1271
- He = !0;
1270
+ Ze || Ke(Si);
1271
+ Ze = !0;
1272
1272
  const Ve = {};
1273
- let F;
1273
+ let W;
1274
1274
  const X = /* @__PURE__ */ new Map(), xi = "__raw__", Ci = /[a-zA-Z0-9\-][cC]lass$/;
1275
1275
  function Vi(e, i) {
1276
1276
  const t = oe(null);
@@ -1279,12 +1279,12 @@ function Vi(e, i) {
1279
1279
  return t.value = Ii.bind(null, a), t;
1280
1280
  }
1281
1281
  const n = e.split(".");
1282
- return J(() => t.value = Ze(i, n)), t;
1282
+ return J(() => t.value = Ye(i, n)), t;
1283
1283
  }
1284
- function Ze(e, i) {
1284
+ function Ye(e, i) {
1285
1285
  if (Array.isArray(e)) {
1286
1286
  for (const a of e) {
1287
- const l = a !== !1 && Ze(a, i);
1287
+ const l = a !== !1 && Ye(a, i);
1288
1288
  if (l !== void 0)
1289
1289
  return l;
1290
1290
  }
@@ -1299,7 +1299,7 @@ function Ze(e, i) {
1299
1299
  }
1300
1300
  const s = n[l];
1301
1301
  if (Number(a) === i.length - 1 && s !== void 0) {
1302
- t = s;
1302
+ t = typeof s == "function" ? s.bind(n) : s;
1303
1303
  break;
1304
1304
  }
1305
1305
  n = s;
@@ -1318,7 +1318,7 @@ function Ii(e, i) {
1318
1318
  }
1319
1319
  return e[i].value;
1320
1320
  }
1321
- function ft(e, i) {
1321
+ function ct(e, i) {
1322
1322
  function t(o, _) {
1323
1323
  const g = y(N(_.if), { if: !0 }), v = b(o, _.then), c = _.else ? b(o, _.else) : null;
1324
1324
  return [g, v, c];
@@ -1377,11 +1377,11 @@ function ft(e, i) {
1377
1377
  const h = d;
1378
1378
  d = ($) => ({
1379
1379
  default(k, I) {
1380
- var V, R, x, P;
1381
- const A = F;
1382
- I && (F = I), k && ((V = X.get(F)) === null || V === void 0 || V.unshift(k)), $ && ((R = X.get(F)) === null || R === void 0 || R.unshift($));
1383
- const U = h($);
1384
- return k && ((x = X.get(F)) === null || x === void 0 || x.shift()), $ && ((P = X.get(F)) === null || P === void 0 || P.shift()), F = A, U;
1380
+ var V, E, x, P;
1381
+ const R = W;
1382
+ I && (W = I), k && ((V = X.get(W)) === null || V === void 0 || V.unshift(k)), $ && ((E = X.get(W)) === null || E === void 0 || E.unshift($));
1383
+ const z = h($);
1384
+ return k && ((x = X.get(W)) === null || x === void 0 || x.shift()), $ && ((P = X.get(W)) === null || P === void 0 || P.shift()), W = R, z;
1385
1385
  }
1386
1386
  }), d.slot = !0;
1387
1387
  } else
@@ -1397,7 +1397,7 @@ function ft(e, i) {
1397
1397
  return [c, g, v, d, p, w, S];
1398
1398
  }
1399
1399
  function s(o, _) {
1400
- const g = o(_), v = F;
1400
+ const g = o(_), v = W;
1401
1401
  return Object.keys(g).reduce((c, d) => {
1402
1402
  const p = g && g[d];
1403
1403
  return c[d] = (w) => p && p(w, v) || null, c;
@@ -1421,19 +1421,19 @@ function ft(e, i) {
1421
1421
  if (w) {
1422
1422
  const h = u, [$, k, I] = w;
1423
1423
  u = () => {
1424
- const V = $(), R = isNaN(V) ? V : Array(Number(V)).fill(0).map((A, U) => U), x = [];
1425
- if (typeof R != "object")
1424
+ const V = $(), E = isNaN(V) ? V : Array(Number(V)).fill(0).map((z, F) => F), x = [];
1425
+ if (typeof E != "object")
1426
1426
  return null;
1427
- const P = X.get(F) || [];
1428
- for (const A in R) {
1429
- if (Array.isArray(R) && A === "length")
1427
+ const P = X.get(W) || [], R = Array.isArray(E);
1428
+ for (const z in E) {
1429
+ if (R && z in Array.prototype)
1430
1430
  continue;
1431
- const U = Object.defineProperty({
1432
- ...P.reduce((W, L) => W.__idata ? { ...W, ...L } : L, {}),
1433
- [k]: R[A],
1434
- ...I !== null ? { [I]: A } : {}
1431
+ const F = Object.defineProperty({
1432
+ ...P.reduce((L, U) => L.__idata ? { ...L, ...U } : U, {}),
1433
+ [k]: E[z],
1434
+ ...I !== null ? { [I]: R ? Number(z) : z } : {}
1435
1435
  }, "__idata", { enumerable: !1, value: !0 });
1436
- P.unshift(U), x.push(h.bind(null, U)()), P.shift();
1436
+ P.unshift(F), x.push(h.bind(null, F)()), P.shift();
1437
1437
  }
1438
1438
  return x;
1439
1439
  };
@@ -1453,19 +1453,19 @@ function ft(e, i) {
1453
1453
  const g = {};
1454
1454
  return m.push((v, c) => {
1455
1455
  g[c] = o.provide((d) => v(d, _));
1456
- }), () => g[F]();
1456
+ }), () => g[W]();
1457
1457
  }
1458
1458
  return function(_, g) {
1459
1459
  const v = JSON.stringify(i), [c, d] = M(Ve, v) ? Ve[v] : [b(e, i), m];
1460
1460
  return Ve[v] = [c, d], d.forEach((p) => {
1461
1461
  p(_, g);
1462
- }), () => (F = g, c());
1462
+ }), () => (W = g, c());
1463
1463
  };
1464
1464
  }
1465
1465
  function Lt(e, i) {
1466
- const t = X.get(F) || [];
1466
+ const t = X.get(W) || [];
1467
1467
  let n;
1468
- return t.length && (n = Ze(t, e.split("."))), n === void 0 ? i : n;
1468
+ return t.length && (n = Ye(t, e.split("."))), n === void 0 ? i : n;
1469
1469
  }
1470
1470
  function Oi(e, i) {
1471
1471
  return new Proxy(e, {
@@ -1473,14 +1473,14 @@ function Oi(e, i) {
1473
1473
  let n;
1474
1474
  const a = t[1];
1475
1475
  if (typeof a == "string") {
1476
- const l = F;
1477
- F = i, n = Lt(a, void 0), F = l;
1476
+ const l = W;
1477
+ W = i, n = Lt(a, void 0), W = l;
1478
1478
  }
1479
1479
  return n !== void 0 ? n : Reflect.get(...t);
1480
1480
  }
1481
1481
  });
1482
1482
  }
1483
- function ct(e, i, t) {
1483
+ function dt(e, i, t) {
1484
1484
  return e((n, a = {}) => n.reduce((l, s) => {
1485
1485
  if (s.startsWith("slots.")) {
1486
1486
  const b = s.substring(6), m = i.slots && M(i.slots, b);
@@ -1495,8 +1495,8 @@ function ct(e, i, t) {
1495
1495
  return l[s] = () => Lt(s, f.value), l;
1496
1496
  }, {}), t);
1497
1497
  }
1498
- let dt = 0;
1499
- const Li = E({
1498
+ let pt = 0;
1499
+ const Li = A({
1500
1500
  name: "FormKitSchema",
1501
1501
  props: {
1502
1502
  schema: {
@@ -1513,17 +1513,17 @@ const Li = E({
1513
1513
  }
1514
1514
  },
1515
1515
  setup(e, i) {
1516
- const t = mt();
1517
- let n = Symbol(String(dt++));
1516
+ const t = bt();
1517
+ let n = Symbol(String(pt++));
1518
1518
  X.set(n, []);
1519
- let a = ft(e.library, e.schema), l, s;
1519
+ let a = ct(e.library, e.schema), l, s;
1520
1520
  return me(() => e.schema, (f, b) => {
1521
1521
  var m;
1522
- n = Symbol(String(dt++)), a = ft(e.library, e.schema), l = ct(a, s, n), f === b && ((m = t == null ? void 0 : t.proxy) === null || m === void 0 ? void 0 : m.$forceUpdate)();
1522
+ n = Symbol(String(pt++)), a = ct(e.library, e.schema), l = dt(a, s, n), f === b && ((m = t == null ? void 0 : t.proxy) === null || m === void 0 ? void 0 : m.$forceUpdate)();
1523
1523
  }, { deep: !0 }), J(() => {
1524
1524
  s = Object.assign(Rt(e.data), {
1525
1525
  slots: i.slots
1526
- }), l = ct(a, s, n);
1526
+ }), l = dt(a, s, n);
1527
1527
  }), () => l();
1528
1528
  }
1529
1529
  }), Pi = {
@@ -1595,7 +1595,7 @@ const Li = E({
1595
1595
  required: !1
1596
1596
  }
1597
1597
  }, Ai = Pi, je = Symbol("FormKitParent");
1598
- E({
1598
+ A({
1599
1599
  props: Ai,
1600
1600
  emits: {
1601
1601
  input: (e, i) => !0,
@@ -1636,12 +1636,12 @@ function Ei(e, i) {
1636
1636
  for (const f in t)
1637
1637
  `${f}`.startsWith(`${s.__str}.`) && (t[f](), delete t[f]);
1638
1638
  });
1639
- n(Ye(e));
1639
+ n(Je(e));
1640
1640
  }
1641
1641
  function Ri(e, i, t, n) {
1642
1642
  return (a) => {
1643
1643
  const l = At(e, a);
1644
- l !== Te && (a.__deep && n(a), typeof l == "object" && t(Ye(l, [a], ...a)), i(a, l, e));
1644
+ l !== Te && (a.__deep && n(a), typeof l == "object" && t(Je(l, [a], ...a)), i(a, l, e));
1645
1645
  };
1646
1646
  }
1647
1647
  function ji(e, i) {
@@ -1656,7 +1656,7 @@ function At(e, i) {
1656
1656
  }
1657
1657
  return i.reduce((t, n) => t === Te ? t : t === null || typeof t != "object" ? Te : t[n], e);
1658
1658
  }
1659
- function Ye(e, i = [], ...t) {
1659
+ function Je(e, i = [], ...t) {
1660
1660
  if (e === null)
1661
1661
  return i;
1662
1662
  if (!t.length) {
@@ -1674,12 +1674,12 @@ function Ye(e, i = [], ...t) {
1674
1674
  const a = t.concat(n);
1675
1675
  Object.defineProperty(a, "__str", { value: a.join(".") });
1676
1676
  const l = e[n];
1677
- he(l) || Array.isArray(l) ? (i.push(Object.defineProperty(a, "__deep", { value: !0 })), i = i.concat(Ye(l, [], ...a))) : i.push(a);
1677
+ he(l) || Array.isArray(l) ? (i.push(Object.defineProperty(a, "__deep", { value: !0 })), i = i.concat(Je(l, [], ...a))) : i.push(a);
1678
1678
  }
1679
1679
  return i;
1680
1680
  }
1681
1681
  function pe(e) {
1682
- return e === null || typeof e != "object" || (Ge(e) ? e = Ft(e) : Me(e) && (e = Ge(e.value) ? pe(e.value) : e.value)), e;
1682
+ return e === null || typeof e != "object" || (Xe(e) ? e = Ft(e) : Me(e) && (e = Xe(e.value) ? pe(e.value) : e.value)), e;
1683
1683
  }
1684
1684
  const Ie = [
1685
1685
  "help",
@@ -1694,7 +1694,7 @@ const Ie = [
1694
1694
  "suffixIcon",
1695
1695
  /^[a-zA-Z-]+(?:-icon|Icon)$/
1696
1696
  ];
1697
- function pt(e, i) {
1697
+ function mt(e, i) {
1698
1698
  i.classes && Object.keys(i.classes).forEach((t) => {
1699
1699
  typeof t == "string" && (e.props[`_${t}Class`] = i.classes[t], Le(i.classes[t]) && t === "inner" && Object.values(i.classes[t]));
1700
1700
  });
@@ -1706,20 +1706,20 @@ function Ti(e) {
1706
1706
  }, {}) : {};
1707
1707
  }
1708
1708
  function Mi(e, i, t = {}) {
1709
- const n = Object.assign({}, ye(Pt) || {}, t), a = mt(), l = Ti(a == null ? void 0 : a.vnode.props), s = e.modelValue !== void 0, f = e.modelValue !== void 0 ? e.modelValue : ee(i.attrs.value);
1709
+ const n = Object.assign({}, ye(Pt) || {}, t), a = bt(), l = Ti(a == null ? void 0 : a.vnode.props), s = e.modelValue !== void 0, f = e.modelValue !== void 0 ? e.modelValue : ee(i.attrs.value);
1710
1710
  function b() {
1711
1711
  const u = {
1712
1712
  ...ne(e),
1713
1713
  ...l
1714
- }, h = Xe(ne(i.attrs), Ie);
1715
- u.attrs = h;
1716
- const $ = et(ne(i.attrs), Ie);
1714
+ }, h = et(ne(i.attrs), Ie);
1715
+ h.key || (h.key = Fe()), u.attrs = h;
1716
+ const $ = tt(ne(i.attrs), Ie);
1717
1717
  for (const I in $)
1718
1718
  u[ue(I)] = $[I];
1719
1719
  const k = { props: {} };
1720
- return pt(k, e), Object.assign(u, k.props), typeof u.type != "string" && (u.definition = u.type, delete u.type), u;
1720
+ return mt(k, e), Object.assign(u, k.props), typeof u.type != "string" && (u.definition = u.type, delete u.type), u;
1721
1721
  }
1722
- const m = b(), y = m.ignore ? null : e.parent || ye(je, null), o = ri(Ue(n || {}, {
1722
+ const m = b(), y = m.ignore ? null : e.parent || ye(je, null), o = ri(We(n || {}, {
1723
1723
  name: e.name || void 0,
1724
1724
  value: f,
1725
1725
  parent: y,
@@ -1734,7 +1734,7 @@ function Mi(e, i, t = {}) {
1734
1734
  Array.isArray(u) && u.forEach((h) => _.value.add(h));
1735
1735
  });
1736
1736
  const g = jt(() => Ie.concat([..._.value]).reduce((u, h) => (typeof h == "string" ? (u.push(ue(h)), u.push(yt(h))) : u.push(h), u), []));
1737
- J(() => pt(o, e));
1737
+ J(() => mt(o, e));
1738
1738
  const v = ne(e);
1739
1739
  for (const u in v)
1740
1740
  me(() => e[u], () => {
@@ -1742,7 +1742,7 @@ function Mi(e, i, t = {}) {
1742
1742
  });
1743
1743
  const c = /* @__PURE__ */ new Set(), d = ne(i.attrs);
1744
1744
  J(() => {
1745
- p(et(d, g.value));
1745
+ p(tt(d, g.value));
1746
1746
  });
1747
1747
  function p(u) {
1748
1748
  c.forEach((h) => {
@@ -1756,7 +1756,7 @@ function Mi(e, i, t = {}) {
1756
1756
  }
1757
1757
  }
1758
1758
  if (J(() => {
1759
- const u = Xe(ne(i.attrs), g.value);
1759
+ const u = et(ne(i.attrs), g.value);
1760
1760
  o.props.attrs = Object.assign({}, o.props.attrs || {}, u);
1761
1761
  }), J(() => {
1762
1762
  const u = e.errors.map((h) => ge({
@@ -1773,10 +1773,10 @@ function Mi(e, i, t = {}) {
1773
1773
  h.length || o.clearErrors(!0, u);
1774
1774
  const $ = h.reduce((k, I) => {
1775
1775
  let V = e.inputErrors[I];
1776
- return typeof V == "string" && (V = [V]), Array.isArray(V) && (k[I] = V.map((R) => ge({
1777
- key: R,
1776
+ return typeof V == "string" && (V = [V]), Array.isArray(V) && (k[I] = V.map((E) => ge({
1777
+ key: E,
1778
1778
  type: "error",
1779
- value: R,
1779
+ value: E,
1780
1780
  meta: { source: u }
1781
1781
  }))), k;
1782
1782
  }, {});
@@ -1822,7 +1822,7 @@ function T(e, i = {}) {
1822
1822
  typeof e == "function" ? n = e : n = H("input", () => ee(e));
1823
1823
  return t.schema = hi(n || "Schema undefined"), t;
1824
1824
  }
1825
- E({
1825
+ A({
1826
1826
  name: "FormKitIcon",
1827
1827
  props: {
1828
1828
  icon: {
@@ -1864,7 +1864,7 @@ E({
1864
1864
  }) : null;
1865
1865
  }
1866
1866
  });
1867
- const Ui = /* @__PURE__ */ E({
1867
+ const Ui = /* @__PURE__ */ A({
1868
1868
  __name: "PrimeCalendar",
1869
1869
  props: {
1870
1870
  context: Object
@@ -1878,7 +1878,7 @@ const Ui = /* @__PURE__ */ E({
1878
1878
  t == null || t.node.input(s);
1879
1879
  }
1880
1880
  return (s, f) => {
1881
- var m, y, o, _, g, v, c, d, p, w, S, u, h, $, k, I, V, R, x, P, A, U, W, L, B, ae, Z, G, Y, Je, Qe;
1881
+ var m, y, o, _, g, v, c, d, p, w, S, u, h, $, k, I, V, E, x, P, R, z, F, L, U, ae, Z, G, Y, Qe, Ge;
1882
1882
  const b = j("Calendar");
1883
1883
  return O(), D(b, {
1884
1884
  modelValue: r(t)._value,
@@ -1915,20 +1915,20 @@ const Ui = /* @__PURE__ */ E({
1915
1915
  "auto-z-index": (k = r(n).autoZIndex) != null ? k : !0,
1916
1916
  "base-z-index": (I = r(n).baseZIndex) != null ? I : 0,
1917
1917
  "show-button-bar": (V = r(n).showButtonBar) != null ? V : !1,
1918
- "show-time": (R = r(n).showTime) != null ? R : !1,
1918
+ "show-time": (E = r(n).showTime) != null ? E : !1,
1919
1919
  "time-only": (x = r(n).timeOnly) != null ? x : !1,
1920
1920
  "short-year-cutoff": (P = r(n).shortYearCutoff) != null ? P : "+10",
1921
- "hour-format": (A = r(n).hourFormat) != null ? A : "24",
1922
- "step-hour": (U = r(n).stepHour) != null ? U : 1,
1923
- "step-minute": (W = r(n).stepMinute) != null ? W : 1,
1921
+ "hour-format": (R = r(n).hourFormat) != null ? R : "24",
1922
+ "step-hour": (z = r(n).stepHour) != null ? z : 1,
1923
+ "step-minute": (F = r(n).stepMinute) != null ? F : 1,
1924
1924
  "step-second": (L = r(n).stepSecond) != null ? L : 1,
1925
- "show-seconds": (B = r(n).showSeconds) != null ? B : !1,
1925
+ "show-seconds": (U = r(n).showSeconds) != null ? U : !1,
1926
1926
  "hide-on-date-time-select": (ae = r(n).hideOnDateTimeSelect) != null ? ae : !1,
1927
1927
  "hide-on-range-selection": (Z = r(n).hideOnRangeSelection) != null ? Z : !1,
1928
1928
  "time-separator": (G = r(n).timeSeparator) != null ? G : ":",
1929
1929
  "show-week": (Y = r(n).showWeek) != null ? Y : !1,
1930
- "manual-input": (Je = r(n).manualInput) != null ? Je : !0,
1931
- "append-to": (Qe = r(n).appendTo) != null ? Qe : "body",
1930
+ "manual-input": (Qe = r(n).manualInput) != null ? Qe : !0,
1931
+ "append-to": (Ge = r(n).appendTo) != null ? Ge : "body",
1932
1932
  "panel-style": r(n).panelStyle,
1933
1933
  "panel-class": r(n).panelClass,
1934
1934
  onDateSelect: l,
@@ -1942,7 +1942,7 @@ const Ui = /* @__PURE__ */ E({
1942
1942
  }, zi = {
1943
1943
  key: 1,
1944
1944
  class: "formkit-prime-right"
1945
- }, Ki = /* @__PURE__ */ E({
1945
+ }, Bi = /* @__PURE__ */ A({
1946
1946
  __name: "PrimeCheckbox",
1947
1947
  props: {
1948
1948
  context: Object
@@ -1978,7 +1978,7 @@ const Ui = /* @__PURE__ */ E({
1978
1978
  ], 64);
1979
1979
  };
1980
1980
  }
1981
- }), Bi = /* @__PURE__ */ E({
1981
+ }), Ki = /* @__PURE__ */ A({
1982
1982
  __name: "PrimeChips",
1983
1983
  props: {
1984
1984
  context: Object
@@ -2013,7 +2013,7 @@ const Ui = /* @__PURE__ */ E({
2013
2013
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "allow-duplicate", "add-on-blur", "max", "placeholder", "separator"]);
2014
2014
  };
2015
2015
  }
2016
- }), qi = /* @__PURE__ */ E({
2016
+ }), qi = /* @__PURE__ */ A({
2017
2017
  __name: "PrimeColorPicker",
2018
2018
  props: {
2019
2019
  context: Object
@@ -2044,7 +2044,7 @@ const Ui = /* @__PURE__ */ E({
2044
2044
  }, null, 8, ["modelValue", "disabled", "readonly", "style", "panel-class", "tabindex", "aria-label", "aria-labelledby", "default-color", "inline", "format"]);
2045
2045
  };
2046
2046
  }
2047
- }), Ni = /* @__PURE__ */ E({
2047
+ }), Ni = /* @__PURE__ */ A({
2048
2048
  __name: "PrimeDropdown",
2049
2049
  props: {
2050
2050
  context: Object
@@ -2082,7 +2082,7 @@ const Ui = /* @__PURE__ */ E({
2082
2082
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "options", "option-label", "option-value", "placeholder", "filter", "show-clear"]);
2083
2083
  };
2084
2084
  }
2085
- }), Hi = /* @__PURE__ */ E({
2085
+ }), Hi = /* @__PURE__ */ A({
2086
2086
  __name: "PrimeEditor",
2087
2087
  props: {
2088
2088
  context: Object
@@ -2105,7 +2105,7 @@ const Ui = /* @__PURE__ */ E({
2105
2105
  disabled: (m = r(n)._disabled) != null ? m : !1,
2106
2106
  readonly: (y = r(n)._readonly) != null ? y : !1,
2107
2107
  "editor-style": r(n).style,
2108
- class: z(r(n).class),
2108
+ class: B(r(n).class),
2109
2109
  tabindex: r(n).tabindex,
2110
2110
  "aria-label": r(n).ariaLabel,
2111
2111
  "aria-labelledby": r(n).ariaLabelledby,
@@ -2117,7 +2117,7 @@ const Ui = /* @__PURE__ */ E({
2117
2117
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "editor-style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "formats", "modules"]);
2118
2118
  };
2119
2119
  }
2120
- }), Zi = /* @__PURE__ */ E({
2120
+ }), Zi = /* @__PURE__ */ A({
2121
2121
  __name: "PrimeInputMask",
2122
2122
  props: {
2123
2123
  context: Object
@@ -2138,7 +2138,7 @@ const Ui = /* @__PURE__ */ E({
2138
2138
  disabled: (b = r(n)._disabled) != null ? b : !1,
2139
2139
  readonly: (m = r(n)._readonly) != null ? m : !1,
2140
2140
  "editor-style": r(n).style,
2141
- class: z(r(n).class),
2141
+ class: B(r(n).class),
2142
2142
  tabindex: r(n).tabindex,
2143
2143
  "aria-label": r(n).ariaLabel,
2144
2144
  "aria-labelledby": r(n).ariaLabelledby,
@@ -2151,7 +2151,7 @@ const Ui = /* @__PURE__ */ E({
2151
2151
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "editor-style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "mask", "slot-char", "auto-clear", "unmask"]);
2152
2152
  };
2153
2153
  }
2154
- }), Yi = /* @__PURE__ */ E({
2154
+ }), Yi = /* @__PURE__ */ A({
2155
2155
  __name: "PrimeInputNumber",
2156
2156
  props: {
2157
2157
  context: Object
@@ -2201,7 +2201,7 @@ const Ui = /* @__PURE__ */ E({
2201
2201
  }, Qi = {
2202
2202
  key: 1,
2203
2203
  class: "formkit-prime-right"
2204
- }, Gi = /* @__PURE__ */ E({
2204
+ }, Gi = /* @__PURE__ */ A({
2205
2205
  __name: "PrimeInputSwitch",
2206
2206
  props: {
2207
2207
  context: Object
@@ -2236,7 +2236,7 @@ const Ui = /* @__PURE__ */ E({
2236
2236
  ], 64);
2237
2237
  };
2238
2238
  }
2239
- }), Xi = /* @__PURE__ */ E({
2239
+ }), Xi = /* @__PURE__ */ A({
2240
2240
  __name: "PrimeInputText",
2241
2241
  props: {
2242
2242
  context: Object
@@ -2256,11 +2256,11 @@ const Ui = /* @__PURE__ */ E({
2256
2256
  var _, g;
2257
2257
  const o = j("InputText");
2258
2258
  return O(), q("span", {
2259
- class: z(s())
2259
+ class: B(s())
2260
2260
  }, [
2261
2261
  a() ? (O(), q("i", {
2262
2262
  key: 0,
2263
- class: z(r(t).iconLeft)
2263
+ class: B(r(t).iconLeft)
2264
2264
  }, null, 2)) : Q("", !0),
2265
2265
  $e(o, {
2266
2266
  id: r(t).id,
@@ -2269,7 +2269,7 @@ const Ui = /* @__PURE__ */ E({
2269
2269
  disabled: (_ = r(n)._disabled) != null ? _ : !1,
2270
2270
  readonly: (g = r(n)._readonly) != null ? g : !1,
2271
2271
  style: te(r(n).style),
2272
- class: z(r(n).class),
2272
+ class: B(r(n).class),
2273
2273
  tabindex: r(n).tabindex,
2274
2274
  "aria-label": r(n).ariaLabel,
2275
2275
  "aria-labelledby": r(n).ariaLabelledby,
@@ -2279,13 +2279,13 @@ const Ui = /* @__PURE__ */ E({
2279
2279
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder"]),
2280
2280
  l ? (O(), q("i", {
2281
2281
  key: 1,
2282
- class: z(r(t).iconRight)
2282
+ class: B(r(t).iconRight)
2283
2283
  }, null, 2)) : Q("", !0)
2284
2284
  ], 2);
2285
2285
  };
2286
2286
  }
2287
- }), er = /* @__PURE__ */ E({
2288
- __name: "PrimeInputTextArea",
2287
+ }), er = /* @__PURE__ */ A({
2288
+ __name: "PrimeTextarea",
2289
2289
  props: {
2290
2290
  context: Object
2291
2291
  },
@@ -2307,7 +2307,7 @@ const Ui = /* @__PURE__ */ E({
2307
2307
  disabled: (m = r(n)._disabled) != null ? m : !1,
2308
2308
  readonly: (y = r(n)._readonly) != null ? y : !1,
2309
2309
  style: te(r(n).style),
2310
- class: z(r(n).class),
2310
+ class: B(r(n).class),
2311
2311
  tabindex: r(n).tabindex,
2312
2312
  "aria-label": r(n).ariaLabel,
2313
2313
  "aria-labelledby": r(n).ariaLabelledby,
@@ -2318,7 +2318,7 @@ const Ui = /* @__PURE__ */ E({
2318
2318
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "rows"]);
2319
2319
  };
2320
2320
  }
2321
- }), tr = /* @__PURE__ */ E({
2321
+ }), tr = /* @__PURE__ */ A({
2322
2322
  __name: "PrimeKnob",
2323
2323
  props: {
2324
2324
  context: Object
@@ -2338,7 +2338,7 @@ const Ui = /* @__PURE__ */ E({
2338
2338
  disabled: (b = r(n)._disabled) != null ? b : !1,
2339
2339
  readonly: (m = r(n)._readonly) != null ? m : !1,
2340
2340
  style: te(r(n).style),
2341
- class: z(r(n).class),
2341
+ class: B(r(n).class),
2342
2342
  tabindex: r(n).tabindex,
2343
2343
  "aria-label": r(n).ariaLabel,
2344
2344
  "aria-labelledby": r(n).ariaLabelledby,
@@ -2356,7 +2356,7 @@ const Ui = /* @__PURE__ */ E({
2356
2356
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "min", "max", "step", "size", "stroke-width", "show-value", "value-color", "range-color", "text-color", "value-template"]);
2357
2357
  };
2358
2358
  }
2359
- }), nr = /* @__PURE__ */ E({
2359
+ }), nr = /* @__PURE__ */ A({
2360
2360
  __name: "PrimeMultiSelect",
2361
2361
  props: {
2362
2362
  context: Object
@@ -2377,7 +2377,7 @@ const Ui = /* @__PURE__ */ E({
2377
2377
  disabled: (b = r(n)._disabled) != null ? b : !1,
2378
2378
  readonly: (m = r(n)._readonly) != null ? m : !1,
2379
2379
  "list-style": r(n).style,
2380
- class: z(r(n).class),
2380
+ class: B(r(n).class),
2381
2381
  tabindex: r(n).tabindex,
2382
2382
  "aria-label": r(n).ariaLabel,
2383
2383
  "aria-labelledby": r(n).ariaLabelledby,
@@ -2389,7 +2389,7 @@ const Ui = /* @__PURE__ */ E({
2389
2389
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "list-style", "class", "tabindex", "aria-label", "aria-labelledby", "options", "option-label", "option-value", "filter"]);
2390
2390
  };
2391
2391
  }
2392
- }), ir = /* @__PURE__ */ E({
2392
+ }), ir = /* @__PURE__ */ A({
2393
2393
  __name: "PrimeListbox",
2394
2394
  props: {
2395
2395
  context: Object
@@ -2410,7 +2410,7 @@ const Ui = /* @__PURE__ */ E({
2410
2410
  disabled: (b = r(n)._disabled) != null ? b : !1,
2411
2411
  readonly: (m = r(n)._readonly) != null ? m : !1,
2412
2412
  "list-style": r(n).style,
2413
- class: z(r(n).class),
2413
+ class: B(r(n).class),
2414
2414
  tabindex: r(n).tabindex,
2415
2415
  "aria-label": r(n).ariaLabel,
2416
2416
  "aria-labelledby": r(n).ariaLabelledby,
@@ -2429,7 +2429,7 @@ const Ui = /* @__PURE__ */ E({
2429
2429
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "list-style", "class", "tabindex", "aria-label", "aria-labelledby", "options", "option-label", "option-value", "multiple", "filter", "filter-icon", "filter-placeholder", "filter-locale", "filter-match-mode", "auto-option-focus", "select-on-focus"]);
2430
2430
  };
2431
2431
  }
2432
- }), rr = /* @__PURE__ */ E({
2432
+ }), rr = /* @__PURE__ */ A({
2433
2433
  __name: "PrimePassword",
2434
2434
  props: {
2435
2435
  context: Object
@@ -2472,7 +2472,7 @@ const Ui = /* @__PURE__ */ E({
2472
2472
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "medium-regex", "strong-regex", "prompt-label", "weak-label", "medium-label", "strong-label", "hide-icon", "show-icon", "feedback", "toggle-mask"]);
2473
2473
  };
2474
2474
  }
2475
- }), ar = /* @__PURE__ */ E({
2475
+ }), ar = /* @__PURE__ */ A({
2476
2476
  __name: "PrimeRating",
2477
2477
  props: {
2478
2478
  context: Object
@@ -2493,7 +2493,7 @@ const Ui = /* @__PURE__ */ E({
2493
2493
  disabled: (b = r(n)._disabled) != null ? b : !1,
2494
2494
  readonly: (m = r(n)._readonly) != null ? m : !1,
2495
2495
  style: te(r(n).style),
2496
- class: z(r(n).class),
2496
+ class: B(r(n).class),
2497
2497
  tabindex: r(n).tabindex,
2498
2498
  "aria-label": r(n).ariaLabel,
2499
2499
  "aria-labelledby": r(n).ariaLabelledby,
@@ -2506,7 +2506,7 @@ const Ui = /* @__PURE__ */ E({
2506
2506
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "stars", "cancel", "on-icon", "off-icon", "cancel-icon"]);
2507
2507
  };
2508
2508
  }
2509
- }), lr = /* @__PURE__ */ E({
2509
+ }), lr = /* @__PURE__ */ A({
2510
2510
  __name: "PrimeSlider",
2511
2511
  props: {
2512
2512
  context: Object
@@ -2526,7 +2526,7 @@ const Ui = /* @__PURE__ */ E({
2526
2526
  disabled: (b = r(n)._disabled) != null ? b : !1,
2527
2527
  readonly: (m = r(n)._readonly) != null ? m : !1,
2528
2528
  style: te(r(n).style),
2529
- class: z(r(n).class),
2529
+ class: B(r(n).class),
2530
2530
  tabindex: r(n).tabindex,
2531
2531
  "aria-label": r(n).ariaLabel,
2532
2532
  "aria-labelledby": r(n).ariaLabelledby,
@@ -2539,7 +2539,7 @@ const Ui = /* @__PURE__ */ E({
2539
2539
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "min", "max", "step", "range", "orientation"]);
2540
2540
  };
2541
2541
  }
2542
- }), sr = /* @__PURE__ */ E({
2542
+ }), sr = /* @__PURE__ */ A({
2543
2543
  __name: "PrimeToggleButton",
2544
2544
  props: {
2545
2545
  context: Object
@@ -2573,7 +2573,7 @@ const Ui = /* @__PURE__ */ E({
2573
2573
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "on-label", "off-label", "on-icon", "off-icon", "icon-pos"]);
2574
2574
  };
2575
2575
  }
2576
- }), or = /* @__PURE__ */ E({
2576
+ }), or = /* @__PURE__ */ A({
2577
2577
  __name: "PrimeSelectButton",
2578
2578
  props: {
2579
2579
  context: Object
@@ -2594,7 +2594,7 @@ const Ui = /* @__PURE__ */ E({
2594
2594
  disabled: (b = r(n)._disabled) != null ? b : !1,
2595
2595
  readonly: (m = r(n)._readonly) != null ? m : !1,
2596
2596
  style: te(r(n).style),
2597
- class: z(r(n).class),
2597
+ class: B(r(n).class),
2598
2598
  tabindex: r(n).tabindex,
2599
2599
  "aria-label": r(n).ariaLabel,
2600
2600
  "aria-labelledby": r(n).ariaLabelledby,
@@ -2615,7 +2615,7 @@ const Ui = /* @__PURE__ */ E({
2615
2615
  }, fr = {
2616
2616
  key: 1,
2617
2617
  class: "formkit-prime-right"
2618
- }, cr = /* @__PURE__ */ E({
2618
+ }, cr = /* @__PURE__ */ A({
2619
2619
  __name: "PrimeTriStateCheckbox",
2620
2620
  props: {
2621
2621
  context: Object
@@ -2658,7 +2658,7 @@ const Ui = /* @__PURE__ */ E({
2658
2658
  props: ["feedback", "toggleMask"]
2659
2659
  }), yr = T(er, {
2660
2660
  props: ["rows"]
2661
- }), hr = T(Ki, {
2661
+ }), hr = T(Bi, {
2662
2662
  props: []
2663
2663
  }), _r = T(Gi, {
2664
2664
  props: []
@@ -2676,7 +2676,7 @@ const Ui = /* @__PURE__ */ E({
2676
2676
  props: []
2677
2677
  }), xr = T(ar, {
2678
2678
  props: []
2679
- }), Cr = T(Bi, {
2679
+ }), Cr = T(Ki, {
2680
2680
  props: []
2681
2681
  }), Vr = T(tr, {
2682
2682
  props: []
@@ -2695,7 +2695,7 @@ const Ui = /* @__PURE__ */ E({
2695
2695
  primePassword: br,
2696
2696
  primeCheckbox: hr,
2697
2697
  primeInputSwitch: _r,
2698
- primeInputTextArea: yr,
2698
+ primeTextarea: yr,
2699
2699
  primeEditor: gr,
2700
2700
  primeDropdown: vr,
2701
2701
  primeMultiSelect: $r,
@@ -2720,7 +2720,6 @@ export {
2720
2720
  mr as primeInputMaskDefinition,
2721
2721
  pr as primeInputNumberDefinition,
2722
2722
  _r as primeInputSwitchDefinition,
2723
- yr as primeInputTextAreaDefinition,
2724
2723
  dr as primeInputTextDefinition,
2725
2724
  Er as primeInputs,
2726
2725
  Vr as primeKnobDefinition,
@@ -2730,6 +2729,7 @@ export {
2730
2729
  xr as primeRatingDefinition,
2731
2730
  Lr as primeSelectButtonDefinition,
2732
2731
  Sr as primeSliderDefinition,
2732
+ yr as primeTextareaDefinition,
2733
2733
  Or as primeToggleButtonDefinition,
2734
2734
  Pr as primeTriStateCheckboxDefinition
2735
2735
  };