@sfxcode/formkit-primevue 1.1.7 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as x, getCurrentInstance as at, watch as ye, watchEffect as ae, reactive as yn, onUnmounted as vn, h as Ae, ref as Me, inject as Oe, onMounted as hn, computed as M, provide as _n, toRef as gn, onBeforeUnmount as $n, markRaw as wn, isRef as kn, createTextVNode as Cn, resolveComponent as E, openBlock as A, createElementBlock as O, createVNode as T, unref as a, toDisplayString as ce, createCommentVNode as oe, normalizeStyle as de, normalizeClass as U, createElementVNode as Bt, Fragment as Sn, renderList as Vn } from "vue";
1
+ import { defineComponent as M, getCurrentInstance as at, watch as ye, watchEffect as ae, reactive as yn, onUnmounted as vn, h as Ae, ref as Me, inject as Oe, onMounted as hn, computed as j, provide as _n, toRef as gn, onBeforeUnmount as $n, markRaw as wn, isRef as kn, createTextVNode as Cn, resolveComponent as R, openBlock as L, createElementBlock as A, createVNode as T, unref as a, toDisplayString as ce, createCommentVNode as oe, normalizeStyle as de, normalizeClass as K, createElementVNode as Bt, Fragment as Sn, renderList as Vn } from "vue";
2
2
  const zt = [
3
3
  "__key",
4
4
  "__init",
@@ -14,7 +14,7 @@ function In(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
- function j(e, i) {
17
+ function E(e, i) {
18
18
  return Object.prototype.hasOwnProperty.call(e, i);
19
19
  }
20
20
  function ue(e, i, t = !0, n = ["__key"]) {
@@ -72,7 +72,7 @@ function Ye(e, i, t = !1, n = !1) {
72
72
  if (typeof i == "string")
73
73
  return i;
74
74
  for (const s in e)
75
- if (j(i, s) && (i[s] !== void 0 || !n)) {
75
+ if (E(i, s) && (i[s] !== void 0 || !n)) {
76
76
  if (t && Array.isArray(e[s]) && Array.isArray(i[s])) {
77
77
  l[s] = e[s].concat(i[s]);
78
78
  continue;
@@ -83,7 +83,7 @@ function Ye(e, i, t = !1, n = !1) {
83
83
  } else
84
84
  l[s] = e[s];
85
85
  for (const s in i)
86
- !j(l, s) && i[s] !== void 0 && (l[s] = i[s]);
86
+ !E(l, s) && i[s] !== void 0 && (l[s] = i[s]);
87
87
  return l;
88
88
  }
89
89
  function Ln(e) {
@@ -170,7 +170,7 @@ function xn(e, i) {
170
170
  let n = e;
171
171
  for (const l in t) {
172
172
  const s = t[l];
173
- if (j(n, s) && (n = n[s]), +l === t.length - 1)
173
+ if (E(n, s) && (n = n[s]), +l === t.length - 1)
174
174
  return n;
175
175
  if (!n || typeof n != "object")
176
176
  return null;
@@ -281,7 +281,7 @@ yt((e, i) => {
281
281
  function je(e, i = {}) {
282
282
  yt.dispatch({ code: e, data: i });
283
283
  }
284
- function W(e, i = {}) {
284
+ function N(e, i = {}) {
285
285
  throw Error(bt.dispatch({ code: e, data: i }).message);
286
286
  }
287
287
  function re(e, i) {
@@ -311,11 +311,11 @@ function Dn(e = !1) {
311
311
  let r;
312
312
  const o = new Proxy(i, {
313
313
  get(...u) {
314
- const [p, _] = u;
315
- return _ === "buffer" ? n : _ === "_b" ? l : _ === "_m" ? s : _ === "_r" ? r : j(Vt, _) ? Vt[_].bind(null, i, o, t) : Reflect.get(...u);
314
+ const [p, h] = u;
315
+ return h === "buffer" ? n : h === "_b" ? l : h === "_m" ? s : h === "_r" ? r : E(Vt, h) ? Vt[h].bind(null, i, o, t) : Reflect.get(...u);
316
316
  },
317
- set(u, p, _) {
318
- return p === "_n" ? (t = _, r === "__n" && Wt(t, o), !0) : p === "_b" ? (l = _, !0) : p === "buffer" ? (n = _, !0) : p === "_r" ? (r = _, !0) : (W(101, t), !1);
317
+ set(u, p, h) {
318
+ return p === "_n" ? (t = h, r === "__n" && Wt(t, o), !0) : p === "_b" ? (l = h, !0) : p === "buffer" ? (n = h, !0) : p === "_r" ? (r = h, !0) : (N(101, t), !1);
319
319
  }
320
320
  });
321
321
  return o;
@@ -328,7 +328,7 @@ function Bn(e, i, t, n) {
328
328
  const s = n.value;
329
329
  n.value = t.t(n), n.value !== s && (n.meta.locale = t.props.locale);
330
330
  }
331
- const l = `message-${j(e, n.key) ? "updated" : "added"}`;
331
+ const l = `message-${E(e, n.key) ? "updated" : "added"}`;
332
332
  e[n.key] = Object.freeze(t.hook.message.dispatch(n)), t.emit(l, n);
333
333
  }
334
334
  return i;
@@ -340,7 +340,7 @@ function zn(e, i) {
340
340
  }
341
341
  }
342
342
  function qt(e, i, t, n) {
343
- if (j(e, n)) {
343
+ if (E(e, n)) {
344
344
  const l = e[n];
345
345
  delete e[n], t.emit("message-removed", l);
346
346
  }
@@ -418,16 +418,16 @@ function Zn() {
418
418
  },
419
419
  merge: (t) => Lt(i, e, t),
420
420
  settled(t) {
421
- return j(e, t) ? e[t].promise : Promise.resolve();
421
+ return E(e, t) ? e[t].promise : Promise.resolve();
422
422
  },
423
423
  unmerge: (t) => Lt(i, e, t, !0),
424
424
  value(t) {
425
- return j(e, t) ? e[t].count : 0;
425
+ return E(e, t) ? e[t].count : 0;
426
426
  }
427
427
  };
428
428
  }
429
429
  function Jn(e, i, t, n, l = 0) {
430
- if (n = Yn(n || t), !j(i, t)) {
430
+ if (n = Yn(n || t), !E(i, t)) {
431
431
  const s = {
432
432
  condition: n,
433
433
  count: 0,
@@ -541,46 +541,46 @@ function Qe(e) {
541
541
  return e && typeof e == "object" && e.__FKNode__ === !0;
542
542
  }
543
543
  const De = (e, i, t) => {
544
- W(102, [e, t]);
544
+ N(102, [e, t]);
545
545
  }, si = {
546
- _c: S(Ii, De, !1),
547
- add: S(_i),
548
- addProps: S(hi),
549
- address: S(Ai, De, !1),
550
- at: S(Oi),
551
- bubble: S(Rn),
552
- clearErrors: S(Ti),
553
- calm: S(bi),
554
- config: S(!1),
555
- define: S(vi),
556
- disturb: S(mi),
557
- destroy: S(yi),
558
- extend: S(zi),
559
- hydrate: S(pi),
560
- index: S(Vi, Si, !1),
561
- input: S(Xt),
562
- each: S(wi),
563
- emit: S(En),
564
- find: S(xi),
565
- on: S(Fn),
566
- off: S(Tn),
567
- parent: S(!1, gi),
568
- plugins: S(!1),
569
- remove: S($i),
570
- root: S(ji, De, !1),
571
- reset: S(Fi),
572
- resetConfig: S(Ci),
573
- setErrors: S(tn),
574
- submit: S(Ri),
575
- t: S(Ei),
576
- use: S(_t),
577
- name: S(Li, !1, !1),
578
- walk: S(ki)
546
+ _c: C(Ii, De, !1),
547
+ add: C(_i),
548
+ addProps: C(hi),
549
+ address: C(Ai, De, !1),
550
+ at: C(Oi),
551
+ bubble: C(Rn),
552
+ clearErrors: C(Ti),
553
+ calm: C(bi),
554
+ config: C(!1),
555
+ define: C(vi),
556
+ disturb: C(mi),
557
+ destroy: C(yi),
558
+ extend: C(zi),
559
+ hydrate: C(pi),
560
+ index: C(Vi, Si, !1),
561
+ input: C(Xt),
562
+ each: C(wi),
563
+ emit: C(En),
564
+ find: C(xi),
565
+ on: C(Fn),
566
+ off: C(Tn),
567
+ parent: C(!1, gi),
568
+ plugins: C(!1),
569
+ remove: C($i),
570
+ root: C(ji, De, !1),
571
+ reset: C(Fi),
572
+ resetConfig: C(Ci),
573
+ setErrors: C(tn),
574
+ submit: C(Ri),
575
+ t: C(Ei),
576
+ use: C(_t),
577
+ name: C(Li, !1, !1),
578
+ walk: C(ki)
579
579
  };
580
580
  function ri() {
581
581
  return new Map(Object.entries(si));
582
582
  }
583
- function S(e, i, t = !0) {
583
+ function C(e, i, t = !0) {
584
584
  return {
585
585
  get: e ? (n, l) => t ? (...s) => e(n, l, ...s) : e(n, l) : !1,
586
586
  set: i !== void 0 ? i : De.bind(null)
@@ -610,10 +610,10 @@ function ci(e, i) {
610
610
  case "input":
611
611
  break;
612
612
  case "group":
613
- (!i || typeof i != "object") && W(107, [e, i]);
613
+ (!i || typeof i != "object") && N(107, [e, i]);
614
614
  break;
615
615
  case "list":
616
- Array.isArray(i) || W(108, [e, i]);
616
+ Array.isArray(i) || N(108, [e, i]);
617
617
  break;
618
618
  }
619
619
  return i;
@@ -725,7 +725,7 @@ function hi(e, i, t) {
725
725
  return e.emit("added-props", t), e;
726
726
  }
727
727
  function _i(e, i, t, n) {
728
- if (e.type === "input" && W(100, e), t.parent && t.parent !== e && t.parent.remove(t), !i.children.includes(t)) {
728
+ if (e.type === "input" && N(100, e), t.parent && t.parent !== e && t.parent.remove(t), !i.children.includes(t)) {
729
729
  if (n !== void 0 && e.type === "list") {
730
730
  const l = i.children[n];
731
731
  l && "__FKP" in l ? (t._c.uid = l.uid, i.children.splice(n, 1, t)) : i.children.splice(n, 0, t), Array.isArray(e.value) && e.value.length < i.children.length && e.disturb().calm({
@@ -904,7 +904,7 @@ function Ri(e) {
904
904
  do {
905
905
  if (e.props.isForm === !0)
906
906
  break;
907
- e.parent || W(106, i), e = e.parent;
907
+ e.parent || N(106, i), e = e.parent;
908
908
  } while (e);
909
909
  e.props.id && ti(e.props.id);
910
910
  }
@@ -923,7 +923,7 @@ function Ti(e, i, t = !0, n) {
923
923
  })), e;
924
924
  }
925
925
  function Di(e) {
926
- return j(e.props, "id") || (e.props.id = `input_${ui++}`), e;
926
+ return E(e.props, "id") || (e.props.id = `input_${ui++}`), e;
927
927
  }
928
928
  function Bi(e) {
929
929
  const i = {
@@ -933,7 +933,7 @@ function Bi(e) {
933
933
  return new Proxy(i, {
934
934
  get(...l) {
935
935
  const [s, r] = l;
936
- if (j(i, r))
936
+ if (E(i, r))
937
937
  return Reflect.get(...l);
938
938
  if (t && typeof r == "string" && t.config[r] !== void 0)
939
939
  return t.config[r];
@@ -948,8 +948,8 @@ function Bi(e) {
948
948
  value: r
949
949
  });
950
950
  if (!ue(i[u], p, !1) || typeof p == "object") {
951
- const _ = Reflect.set(l, u, p, o);
952
- return n && (t.emit("prop", { prop: u, value: p }), typeof u == "string" && t.emit(`prop:${u}`, p)), _;
951
+ const h = Reflect.set(l, u, p, o);
952
+ return n && (t.emit("prop", { prop: u, value: p }), typeof u == "string" && t.emit(`prop:${u}`, p)), h;
953
953
  }
954
954
  return !0;
955
955
  }
@@ -1002,7 +1002,7 @@ function qi(e, i) {
1002
1002
  ])), i.plugins)
1003
1003
  for (const n of i.plugins)
1004
1004
  _t(e, e._c, n, !0, !1);
1005
- return Di(e), e.each((n) => e.add(n)), e.parent && e.parent.add(e, i.index), e.type === "input" && e.children.length && W(100, e), Xt(e, e._c, e._value, !1), e.store.release(), !((t = i.props) === null || t === void 0) && t.id && Xn(e), e.emit("created", e), e.isCreated = !0, e;
1005
+ return Di(e), e.each((n) => e.add(n)), e.parent && e.parent.add(e, i.index), e.type === "input" && e.children.length && N(100, e), Xt(e, e._c, e._value, !1), e.store.release(), !((t = i.props) === null || t === void 0) && t.id && Xn(e), e.emit("created", e), e.isCreated = !0, e;
1006
1006
  }
1007
1007
  function Wi(e) {
1008
1008
  var i, t, n, l;
@@ -1041,13 +1041,13 @@ function Hi(e) {
1041
1041
  return qi(n, i);
1042
1042
  }
1043
1043
  function ut(e) {
1044
- return typeof e != "string" && j(e, "$el");
1044
+ return typeof e != "string" && E(e, "$el");
1045
1045
  }
1046
1046
  function ft(e) {
1047
- return typeof e != "string" && j(e, "$cmp");
1047
+ return typeof e != "string" && E(e, "$cmp");
1048
1048
  }
1049
1049
  function be(e) {
1050
- return !e || typeof e == "string" ? !1 : j(e, "if") && j(e, "then");
1050
+ return !e || typeof e == "string" ? !1 : E(e, "if") && E(e, "then");
1051
1051
  }
1052
1052
  function Zi(e) {
1053
1053
  return typeof e != "string" && "$formkit" in e;
@@ -1067,131 +1067,131 @@ function Ji(e) {
1067
1067
  }
1068
1068
  return e;
1069
1069
  }
1070
- function Z(e) {
1070
+ function J(e) {
1071
1071
  let i;
1072
- const t = /* @__PURE__ */ new Set(), n = function(m, d) {
1073
- return typeof m == "function" ? m(d) : m;
1072
+ const t = /* @__PURE__ */ new Set(), n = function(d, m) {
1073
+ return typeof d == "function" ? d(m) : d;
1074
1074
  }, l = [
1075
1075
  {
1076
- "&&": (f, m, d) => n(f, d) && n(m, d),
1077
- "||": (f, m, d) => n(f, d) || n(m, d)
1076
+ "&&": (f, d, m) => n(f, m) && n(d, m),
1077
+ "||": (f, d, m) => n(f, m) || n(d, m)
1078
1078
  },
1079
1079
  {
1080
- "===": (f, m, d) => n(f, d) === n(m, d),
1081
- "!==": (f, m, d) => n(f, d) !== n(m, d),
1082
- "==": (f, m, d) => n(f, d) == n(m, d),
1083
- "!=": (f, m, d) => n(f, d) != n(m, d),
1084
- ">=": (f, m, d) => n(f, d) >= n(m, d),
1085
- "<=": (f, m, d) => n(f, d) <= n(m, d),
1086
- ">": (f, m, d) => n(f, d) > n(m, d),
1087
- "<": (f, m, d) => n(f, d) < n(m, d)
1080
+ "===": (f, d, m) => n(f, m) === n(d, m),
1081
+ "!==": (f, d, m) => n(f, m) !== n(d, m),
1082
+ "==": (f, d, m) => n(f, m) == n(d, m),
1083
+ "!=": (f, d, m) => n(f, m) != n(d, m),
1084
+ ">=": (f, d, m) => n(f, m) >= n(d, m),
1085
+ "<=": (f, d, m) => n(f, m) <= n(d, m),
1086
+ ">": (f, d, m) => n(f, m) > n(d, m),
1087
+ "<": (f, d, m) => n(f, m) < n(d, m)
1088
1088
  },
1089
1089
  {
1090
- "+": (f, m, d) => n(f, d) + n(m, d),
1091
- "-": (f, m, d) => n(f, d) - n(m, d)
1090
+ "+": (f, d, m) => n(f, m) + n(d, m),
1091
+ "-": (f, d, m) => n(f, m) - n(d, m)
1092
1092
  },
1093
1093
  {
1094
- "*": (f, m, d) => n(f, d) * n(m, d),
1095
- "/": (f, m, d) => n(f, d) / n(m, d),
1096
- "%": (f, m, d) => n(f, d) % n(m, d)
1097
- }
1098
- ], s = l.reduce((f, m) => f.concat(Object.keys(m)), []), r = new Set(s.map((f) => f.charAt(0)));
1099
- function o(f, m, d, h) {
1100
- const $ = f.filter((v) => v.startsWith(m));
1101
- return $.length ? $.find((v) => h.length >= d + v.length && h.substring(d, d + v.length) === v ? v : !1) : !1;
1102
- }
1103
- function u(f, m, d = 1) {
1104
- let h = d ? m.substring(f + 1).trim() : m.substring(0, f).trim();
1105
- if (!h.length)
1094
+ "*": (f, d, m) => n(f, m) * n(d, m),
1095
+ "/": (f, d, m) => n(f, m) / n(d, m),
1096
+ "%": (f, d, m) => n(f, m) % n(d, m)
1097
+ }
1098
+ ], s = l.reduce((f, d) => f.concat(Object.keys(d)), []), r = new Set(s.map((f) => f.charAt(0)));
1099
+ function o(f, d, m, v) {
1100
+ const g = f.filter((c) => c.startsWith(d));
1101
+ return g.length ? g.find((c) => v.length >= m + c.length && v.substring(m, m + c.length) === c ? c : !1) : !1;
1102
+ }
1103
+ function u(f, d, m = 1) {
1104
+ let v = m ? d.substring(f + 1).trim() : d.substring(0, f).trim();
1105
+ if (!v.length)
1106
1106
  return -1;
1107
- if (!d) {
1108
- const v = h.split("").reverse(), b = v.findIndex((c) => r.has(c));
1109
- h = v.slice(b).join("");
1110
- }
1111
- const $ = h[0];
1112
- return l.findIndex((v) => {
1113
- const b = Object.keys(v);
1114
- return !!o(b, $, 0, h);
1107
+ if (!m) {
1108
+ const c = v.split("").reverse(), y = c.findIndex((b) => r.has(b));
1109
+ v = c.slice(y).join("");
1110
+ }
1111
+ const g = v[0];
1112
+ return l.findIndex((c) => {
1113
+ const y = Object.keys(c);
1114
+ return !!o(y, g, 0, v);
1115
1115
  });
1116
1116
  }
1117
- function p(f, m) {
1118
- let d = "";
1119
- const h = m.length;
1120
- let $ = 0;
1121
- for (let v = f; v < h; v++) {
1122
- const b = m.charAt(v);
1123
- if (b === "(")
1124
- $++;
1125
- else if (b === ")")
1126
- $--;
1127
- else if ($ === 0 && b === " ")
1117
+ function p(f, d) {
1118
+ let m = "";
1119
+ const v = d.length;
1120
+ let g = 0;
1121
+ for (let c = f; c < v; c++) {
1122
+ const y = d.charAt(c);
1123
+ if (y === "(")
1124
+ g++;
1125
+ else if (y === ")")
1126
+ g--;
1127
+ else if (g === 0 && y === " ")
1128
1128
  continue;
1129
- if ($ === 0 && o(s, b, v, m))
1130
- return [d, v - 1];
1131
- d += b;
1129
+ if (g === 0 && o(s, y, c, d))
1130
+ return [m, c - 1];
1131
+ m += y;
1132
1132
  }
1133
- return [d, m.length - 1];
1133
+ return [m, d.length - 1];
1134
1134
  }
1135
- function _(f, m = 0) {
1136
- const d = l[m], h = f.length, $ = Object.keys(d);
1137
- let v = 0, b = !1, c = null, g = "", k = null, L, R = "", C = "", F = "", B = "", H = 0;
1138
- const N = (P, q) => {
1139
- P ? F += q : g += q;
1135
+ function h(f, d = 0) {
1136
+ const m = l[d], v = f.length, g = Object.keys(m);
1137
+ let c = 0, y = !1, b = null, _ = "", V = null, I, z = "", P = "", F = "", B = "", Z = 0;
1138
+ const H = (x, W) => {
1139
+ x ? F += W : _ += W;
1140
1140
  };
1141
- for (let P = 0; P < h; P++)
1142
- if (R = C, C = f.charAt(P), (C === "'" || C === '"') && R !== "\\" && (v === 0 && !b || v && !B)) {
1143
- v ? B = C : b = C, N(v, C);
1141
+ for (let x = 0; x < v; x++)
1142
+ if (z = P, P = f.charAt(x), (P === "'" || P === '"') && z !== "\\" && (c === 0 && !y || c && !B)) {
1143
+ c ? B = P : y = P, H(c, P);
1144
1144
  continue;
1145
- } else if (b && (C !== b || R === "\\") || B && (C !== B || R === "\\")) {
1146
- N(v, C);
1145
+ } else if (y && (P !== y || z === "\\") || B && (P !== B || z === "\\")) {
1146
+ H(c, P);
1147
1147
  continue;
1148
- } else if (b === C) {
1149
- b = !1, N(v, C);
1148
+ } else if (y === P) {
1149
+ y = !1, H(c, P);
1150
1150
  continue;
1151
- } else if (B === C) {
1152
- B = !1, N(v, C);
1151
+ } else if (B === P) {
1152
+ B = !1, H(c, P);
1153
1153
  continue;
1154
1154
  } else {
1155
- if (C === " ")
1155
+ if (P === " ")
1156
1156
  continue;
1157
- if (C === "(")
1158
- v === 0 ? H = P : F += C, v++;
1159
- else if (C === ")")
1160
- if (v--, v === 0) {
1161
- const q = typeof g == "string" && g.startsWith("$") ? g : void 0, ke = q && f.charAt(P + 1) === ".";
1157
+ if (P === "(")
1158
+ c === 0 ? Z = x : F += P, c++;
1159
+ else if (P === ")")
1160
+ if (c--, c === 0) {
1161
+ const W = typeof _ == "string" && _.startsWith("$") ? _ : void 0, ke = W && f.charAt(x + 1) === ".";
1162
1162
  let le = "";
1163
- ke && ([le, P] = p(P + 2, f));
1164
- const Re = c ? m : u(H, f, 0), Ce = u(P, f);
1165
- Re === -1 && Ce === -1 ? g = V(F, -1, q, le) : c && (Re >= Ce || Ce === -1) && m === Re ? (k = c.bind(null, V(F, -1, q, le)), c = null, g = "") : Ce > Re && m === Ce ? g = V(F, -1, q, le) : g += `(${F})${ke ? `.${le}` : ""}`, F = "";
1163
+ ke && ([le, x] = p(x + 2, f));
1164
+ const Re = b ? d : u(Z, f, 0), Ce = u(x, f);
1165
+ Re === -1 && Ce === -1 ? _ = O(F, -1, W, le) : b && (Re >= Ce || Ce === -1) && d === Re ? (V = b.bind(null, O(F, -1, W, le)), b = null, _ = "") : Ce > Re && d === Ce ? _ = O(F, -1, W, le) : _ += `(${F})${ke ? `.${le}` : ""}`, F = "";
1166
1166
  } else
1167
- F += C;
1168
- else if (v === 0 && (L = o($, C, P, f))) {
1169
- P === 0 && W(103, [L, f]), P += L.length - 1, P === f.length - 1 && W(104, [L, f]), c ? g && (k = c.bind(null, V(g, m)), c = d[L].bind(null, k), g = "") : k ? (c = d[L].bind(null, V(k, m)), k = null) : (c = d[L].bind(null, V(g, m)), g = "");
1167
+ F += P;
1168
+ else if (c === 0 && (I = o(g, P, x, f))) {
1169
+ x === 0 && N(103, [I, f]), x += I.length - 1, x === f.length - 1 && N(104, [I, f]), b ? _ && (V = b.bind(null, O(_, d)), b = m[I].bind(null, V), _ = "") : V ? (b = m[I].bind(null, O(V, d)), V = null) : (b = m[I].bind(null, O(_, d)), _ = "");
1170
1170
  continue;
1171
1171
  } else
1172
- N(v, C);
1172
+ H(c, P);
1173
1173
  }
1174
- return g && c && (c = c.bind(null, V(g, m))), c = !c && k ? k : c, !c && g && (c = (P, q) => typeof P == "function" ? P(q) : P, c = c.bind(null, V(g, m))), !c && !g && W(105, f), c;
1175
- }
1176
- function V(f, m, d, h) {
1177
- if (d) {
1178
- const $ = V(d, l.length);
1179
- let v, b = h ? Z(`$${h}`) : !1;
1180
- if (typeof $ == "function") {
1181
- const c = On(String(f)).map((g) => V(g, -1));
1182
- return (g) => {
1183
- const k = $(g);
1184
- return typeof k != "function" ? (je(150, d), k) : (v = k(...c.map((L) => typeof L == "function" ? L(g) : L)), b && (b = b.provide((L) => {
1185
- const R = i(L);
1186
- return L.reduce((F, B) => {
1187
- if (B === h || (h == null ? void 0 : h.startsWith(`${B}(`))) {
1188
- const N = xn(v, B);
1189
- F[B] = () => N;
1174
+ return _ && b && (b = b.bind(null, O(_, d))), b = !b && V ? V : b, !b && _ && (b = (x, W) => typeof x == "function" ? x(W) : x, b = b.bind(null, O(_, d))), !b && !_ && N(105, f), b;
1175
+ }
1176
+ function O(f, d, m, v) {
1177
+ if (m) {
1178
+ const g = O(m, l.length);
1179
+ let c, y = v ? J(`$${v}`) : !1;
1180
+ if (typeof g == "function") {
1181
+ const b = On(String(f)).map((_) => O(_, -1));
1182
+ return (_) => {
1183
+ const V = g(_);
1184
+ return typeof V != "function" ? (je(150, m), V) : (c = V(...b.map((I) => typeof I == "function" ? I(_) : I)), y && (y = y.provide((I) => {
1185
+ const z = i(I);
1186
+ return I.reduce((F, B) => {
1187
+ if (B === v || (v == null ? void 0 : v.startsWith(`${B}(`))) {
1188
+ const H = xn(c, B);
1189
+ F[B] = () => H;
1190
1190
  } else
1191
- F[B] = R[B];
1191
+ F[B] = z[B];
1192
1192
  return F;
1193
1193
  }, {});
1194
- })), b ? b() : v);
1194
+ })), y ? y() : c);
1195
1195
  };
1196
1196
  }
1197
1197
  } else if (typeof f == "string") {
@@ -1205,29 +1205,29 @@ function Z(e) {
1205
1205
  return An(f.substring(1, f.length - 1));
1206
1206
  if (!isNaN(+f))
1207
1207
  return Number(f);
1208
- if (m < l.length - 1)
1209
- return _(f, m + 1);
1208
+ if (d < l.length - 1)
1209
+ return h(f, d + 1);
1210
1210
  if (f.startsWith("$")) {
1211
- const $ = f.substring(1);
1212
- return t.add($), function(b) {
1213
- return $ in b ? b[$]() : void 0;
1211
+ const g = f.substring(1);
1212
+ return t.add(g), function(y) {
1213
+ return g in y ? y[g]() : void 0;
1214
1214
  };
1215
1215
  }
1216
1216
  return f;
1217
1217
  }
1218
1218
  return f;
1219
1219
  }
1220
- const J = _(e.startsWith("$:") ? e.substring(2) : e), y = Array.from(t);
1221
- function I(f) {
1222
- return i = f, Object.assign(J.bind(null, f(y)), {
1223
- provide: I
1220
+ const w = h(e.startsWith("$:") ? e.substring(2) : e), $ = Array.from(t);
1221
+ function S(f) {
1222
+ return i = f, Object.assign(w.bind(null, f($)), {
1223
+ provide: S
1224
1224
  });
1225
1225
  }
1226
- return Object.assign(J, {
1227
- provide: I
1226
+ return Object.assign(w, {
1227
+ provide: S
1228
1228
  });
1229
1229
  }
1230
- const Ot = "0.17.3";
1230
+ const Ot = "0.17.4";
1231
1231
  function Yi(e) {
1232
1232
  let i = 1;
1233
1233
  return Array.isArray(e) ? e.map((t) => typeof t == "string" || typeof t == "number" ? {
@@ -1255,7 +1255,7 @@ function $e(e, i) {
1255
1255
  function gt(e) {
1256
1256
  e.hook.prop((i, t) => (i.prop === "options" && (typeof i.value == "function" ? (e.props.optionsLoader = i.value, i.value = []) : i.value = Yi(i.value)), t(i)));
1257
1257
  }
1258
- function w(e, i, t = !1) {
1258
+ function k(e, i, t = !1) {
1259
1259
  return (...n) => {
1260
1260
  const l = (s) => {
1261
1261
  const r = !i || typeof i == "string" ? { $el: i } : i();
@@ -1282,7 +1282,7 @@ function Ke(e) {
1282
1282
  function Se(e, i = {}) {
1283
1283
  return typeof e == "string" ? Ke(i) || typeof i == "string" ? i : e : Array.isArray(e) ? Ke(i) ? i : e : Ye(e, i);
1284
1284
  }
1285
- const fe = w("outer", () => ({
1285
+ const fe = k("outer", () => ({
1286
1286
  $el: "div",
1287
1287
  attrs: {
1288
1288
  key: "$id",
@@ -1290,6 +1290,7 @@ const fe = w("outer", () => ({
1290
1290
  "data-type": "$type",
1291
1291
  "data-multiple": '$attrs.multiple || ($type != "select" && $options != undefined) || undefined',
1292
1292
  "data-disabled": "$disabled || undefined",
1293
+ "data-empty": "$state.empty || undefined",
1293
1294
  "data-complete": "$state.complete || undefined",
1294
1295
  "data-invalid": "$state.valid === false && $state.validationVisible || undefined",
1295
1296
  "data-errors": "$state.errors || undefined",
@@ -1299,16 +1300,16 @@ const fe = w("outer", () => ({
1299
1300
  "data-prefix-icon-click": "$onPrefixIconClick !== undefined || undefined",
1300
1301
  "data-suffix-icon-click": "$onSuffixIconClick !== undefined || undefined"
1301
1302
  }
1302
- })), te = w("inner", "div"), we = w("wrapper", "div"), Ee = w("label", () => ({
1303
+ })), te = k("inner", "div"), we = k("wrapper", "div"), Ee = k("label", () => ({
1303
1304
  $el: "label",
1304
1305
  if: "$label",
1305
1306
  attrs: {
1306
1307
  for: "$id"
1307
1308
  }
1308
- })), ne = w("messages", () => ({
1309
+ })), ne = k("messages", () => ({
1309
1310
  $el: "ul",
1310
1311
  if: "$defaultMessagePlacement && $fns.length($messages)"
1311
- })), ie = w("message", () => ({
1312
+ })), ie = k("message", () => ({
1312
1313
  $el: "li",
1313
1314
  for: ["message", "$messages"],
1314
1315
  attrs: {
@@ -1316,13 +1317,13 @@ const fe = w("outer", () => ({
1316
1317
  id: "$id + '-' + $message.key",
1317
1318
  "data-message-type": "$message.type"
1318
1319
  }
1319
- })), X = w("prefix", null), G = w("suffix", null), ee = w("help", () => ({
1320
+ })), X = k("prefix", null), G = k("suffix", null), ee = k("help", () => ({
1320
1321
  $el: "div",
1321
1322
  if: "$help",
1322
1323
  attrs: {
1323
1324
  id: '$: "help-" + $id'
1324
1325
  }
1325
- })), nn = w("fieldset", () => ({
1326
+ })), nn = k("fieldset", () => ({
1326
1327
  $el: "fieldset",
1327
1328
  attrs: {
1328
1329
  id: "$id",
@@ -1332,12 +1333,12 @@ const fe = w("outer", () => ({
1332
1333
  else: void 0
1333
1334
  }
1334
1335
  }
1335
- })), qe = w("decorator", () => ({
1336
+ })), qe = k("decorator", () => ({
1336
1337
  $el: "span",
1337
1338
  attrs: {
1338
1339
  "aria-hidden": "true"
1339
1340
  }
1340
- })), We = w("input", () => ({
1341
+ })), We = k("input", () => ({
1341
1342
  $el: "input",
1342
1343
  bind: "$attrs",
1343
1344
  attrs: {
@@ -1363,16 +1364,16 @@ const fe = w("outer", () => ({
1363
1364
  }
1364
1365
  }
1365
1366
  }
1366
- })), ln = w("legend", () => ({
1367
+ })), ln = k("legend", () => ({
1367
1368
  $el: "legend",
1368
1369
  if: "$label"
1369
- })), an = w("option", () => ({
1370
+ })), an = k("option", () => ({
1370
1371
  $el: "li",
1371
1372
  for: ["option", "$options"],
1372
1373
  attrs: {
1373
1374
  "data-disabled": "$option.attrs.disabled || $disabled"
1374
1375
  }
1375
- })), sn = w("options", "ul"), Ne = w("wrapper", () => ({
1376
+ })), sn = k("options", "ul"), Ne = k("wrapper", () => ({
1376
1377
  $el: "label",
1377
1378
  attrs: {
1378
1379
  "data-disabled": {
@@ -1386,13 +1387,13 @@ const fe = w("outer", () => ({
1386
1387
  else: "$fns.isChecked($option.value) || undefined"
1387
1388
  }
1388
1389
  }
1389
- })), rn = w("optionHelp", () => ({
1390
+ })), rn = k("optionHelp", () => ({
1390
1391
  $el: "div",
1391
1392
  if: "$option.help",
1392
1393
  attrs: {
1393
1394
  id: '$: "help-" + $option.attrs.id'
1394
1395
  }
1395
- })), He = w("label", "span"), Xi = w("input", () => ({
1396
+ })), He = k("label", "span"), Xi = k("input", () => ({
1396
1397
  $el: "button",
1397
1398
  bind: "$attrs",
1398
1399
  attrs: {
@@ -1401,7 +1402,7 @@ const fe = w("outer", () => ({
1401
1402
  name: "$node.name",
1402
1403
  id: "$id"
1403
1404
  }
1404
- })), Gi = w("default", null), el = w("input", () => ({
1405
+ })), Gi = k("default", null), el = k("input", () => ({
1405
1406
  $el: "input",
1406
1407
  bind: "$attrs",
1407
1408
  attrs: {
@@ -1413,10 +1414,10 @@ const fe = w("outer", () => ({
1413
1414
  id: "$id",
1414
1415
  "aria-describedby": "$describedBy"
1415
1416
  }
1416
- })), tl = w("fileItem", () => ({
1417
+ })), tl = k("fileItem", () => ({
1417
1418
  $el: "li",
1418
1419
  for: ["file", "$value"]
1419
- })), nl = w("fileList", () => ({
1420
+ })), nl = k("fileList", () => ({
1420
1421
  $el: "ul",
1421
1422
  if: "$value.length",
1422
1423
  attrs: {
@@ -1425,20 +1426,20 @@ const fe = w("outer", () => ({
1425
1426
  then: "true"
1426
1427
  }
1427
1428
  }
1428
- })), il = w("fileName", () => ({
1429
+ })), il = k("fileName", () => ({
1429
1430
  $el: "span",
1430
1431
  attrs: {
1431
1432
  class: "$classes.fileName"
1432
1433
  }
1433
- })), Pt = w("fileRemove", () => ({
1434
+ })), Pt = k("fileRemove", () => ({
1434
1435
  $el: "button",
1435
1436
  attrs: {
1436
1437
  onClick: "$handlers.resetFiles"
1437
1438
  }
1438
- })), ll = w("noFiles", () => ({
1439
+ })), ll = k("noFiles", () => ({
1439
1440
  $el: "span",
1440
1441
  if: "$value.length == 0"
1441
- })), al = w("form", () => ({
1442
+ })), al = k("form", () => ({
1442
1443
  $el: "form",
1443
1444
  bind: "$attrs",
1444
1445
  attrs: {
@@ -1447,10 +1448,10 @@ const fe = w("outer", () => ({
1447
1448
  onSubmit: "$handlers.submit",
1448
1449
  "data-loading": "$state.loading || undefined"
1449
1450
  }
1450
- })), sl = w("actions", () => ({
1451
+ })), sl = k("actions", () => ({
1451
1452
  $el: "div",
1452
1453
  if: "$actions"
1453
- })), rl = w("submit", () => ({
1454
+ })), rl = k("submit", () => ({
1454
1455
  $cmp: "FormKit",
1455
1456
  bind: "$submitAttrs",
1456
1457
  props: {
@@ -1458,7 +1459,7 @@ const fe = w("outer", () => ({
1458
1459
  disabled: "$disabled",
1459
1460
  label: "$submitLabel"
1460
1461
  }
1461
- })), on = w("input", () => ({
1462
+ })), on = k("input", () => ({
1462
1463
  $el: "input",
1463
1464
  bind: "$attrs",
1464
1465
  attrs: {
@@ -1471,7 +1472,7 @@ const fe = w("outer", () => ({
1471
1472
  id: "$id",
1472
1473
  "aria-describedby": "$describedBy"
1473
1474
  }
1474
- })), un = w("wrapper", null, !0), ol = w("input", () => ({
1475
+ })), un = k("wrapper", null, !0), ol = k("input", () => ({
1475
1476
  $el: "select",
1476
1477
  bind: "$attrs",
1477
1478
  attrs: {
@@ -1485,7 +1486,7 @@ const fe = w("outer", () => ({
1485
1486
  onBlur: "$handlers.blur",
1486
1487
  "aria-describedby": "$describedBy"
1487
1488
  }
1488
- })), ul = w("option", () => ({
1489
+ })), ul = k("option", () => ({
1489
1490
  $el: "option",
1490
1491
  for: ["option", "$options"],
1491
1492
  bind: "$option.attrs",
@@ -1499,7 +1500,7 @@ const fe = w("outer", () => ({
1499
1500
  if: "$options.length",
1500
1501
  for: ["option", "$options"],
1501
1502
  children: "$slots.option"
1502
- }), cl = w("input", () => ({
1503
+ }), cl = k("input", () => ({
1503
1504
  $el: "textarea",
1504
1505
  bind: "$attrs",
1505
1506
  attrs: {
@@ -1512,7 +1513,7 @@ const fe = w("outer", () => ({
1512
1513
  "aria-describedby": "$describedBy"
1513
1514
  },
1514
1515
  children: "$initialValue"
1515
- })), z = (e, i) => w(`${e}Icon`, () => {
1516
+ })), U = (e, i) => k(`${e}Icon`, () => {
1516
1517
  const t = `_raw${e.charAt(0).toUpperCase()}${e.slice(1)}Icon`;
1517
1518
  return {
1518
1519
  if: `$${e}Icon && $${t}`,
@@ -1556,7 +1557,7 @@ function dl(e, i) {
1556
1557
  function ml(e) {
1557
1558
  e.on("created", () => {
1558
1559
  var i, t;
1559
- !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.toggleChecked = pl.bind(null, e)), !((t = e.context) === null || t === void 0) && t.fns && (e.context.fns.isChecked = dl.bind(null, e)), j(e.props, "onValue") || (e.props.onValue = !0), j(e.props, "offValue") || (e.props.offValue = !1);
1560
+ !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.toggleChecked = pl.bind(null, e)), !((t = e.context) === null || t === void 0) && t.fns && (e.context.fns.isChecked = dl.bind(null, e)), E(e.props, "onValue") || (e.props.onValue = !0), E(e.props, "offValue") || (e.props.offValue = !1);
1560
1561
  }), e.hook.prop(fn(e));
1561
1562
  }
1562
1563
  function Xe(e) {
@@ -1647,7 +1648,7 @@ async function yl(e, i) {
1647
1648
  function vl(e) {
1648
1649
  e.props.isForm = !0, e.on("created", () => {
1649
1650
  var i;
1650
- !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.submit = yl.bind(null, e)), j(e.props, "actions") || (e.props.actions = !0);
1651
+ !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.submit = yl.bind(null, e)), E(e.props, "actions") || (e.props.actions = !0);
1651
1652
  }), e.on("settled:blocking", () => e.store.remove("incomplete"));
1652
1653
  }
1653
1654
  function hl(e) {
@@ -1763,14 +1764,14 @@ function Ie(e, i) {
1763
1764
  };
1764
1765
  return t._s = e._s, t;
1765
1766
  }
1766
- fe(ne(ie("$message.value")), we(Xi(z("prefix"), X(), Gi("$label || $ui.submit.value"), G(), z("suffix"))), ee("$help")), Be("submit");
1767
+ fe(ne(ie("$message.value")), we(Xi(U("prefix"), X(), Gi("$label || $ui.submit.value"), G(), U("suffix"))), ee("$help")), Be("submit");
1767
1768
  fe(
1768
1769
  Q(
1769
1770
  "$options == undefined",
1770
1771
  /**
1771
1772
  * Single checkbox structure.
1772
1773
  */
1773
- Ne(te(X(), We(), qe(z("decorator")), G()), Ie(He("$label"), {
1774
+ Ne(te(X(), We(), qe(U("decorator")), G()), Ie(He("$label"), {
1774
1775
  if: "$label"
1775
1776
  })),
1776
1777
  /**
@@ -1783,7 +1784,7 @@ fe(
1783
1784
  value: "$option.value",
1784
1785
  checked: "$fns.isChecked($option.value)"
1785
1786
  }
1786
- }), qe(z("decorator")), G()), Ie(He("$option.label"), {
1787
+ }), qe(U("decorator")), G()), Ie(He("$option.label"), {
1787
1788
  if: "$option.label"
1788
1789
  })), rn("$option.help"))))
1789
1790
  ),
@@ -1791,7 +1792,7 @@ fe(
1791
1792
  Q("$options == undefined && $help", ee("$help")),
1792
1793
  ne(ie("$message.value"))
1793
1794
  ), ve("decorator", "checkboxDecorator");
1794
- fe(we(Ee("$label"), te(z("prefix", "label"), X(), el(), nl(tl(z("fileItem"), il("$file.name"), Q("$value.length === 1", Pt(z("fileRemove"), "$ui.remove.value")))), Q("$value.length > 1", Pt("$ui.removeAll.value")), ll(z("noFiles"), "$ui.noFiles.value"), G(), z("suffix"))), ee("$help"), ne(ie("$message.value"))), ve("fileItem", "fileItem"), ve("fileRemove", "fileRemove"), ve("noFiles", "noFiles");
1795
+ fe(we(Ee("$label"), te(U("prefix", "label"), X(), el(), nl(tl(U("fileItem"), il("$file.name"), Q("$value.length === 1", Pt(U("fileRemove"), "$ui.remove.value")))), Q("$value.length > 1", Pt("$ui.removeAll.value")), ll(U("noFiles"), "$ui.noFiles.value"), G(), U("suffix"))), ee("$help"), ne(ie("$message.value"))), ve("fileItem", "fileItem"), ve("fileRemove", "fileRemove"), ve("noFiles", "noFiles");
1795
1796
  al("$slots.default", ne(ie("$message.value")), sl(rl()));
1796
1797
  un("$slots.default");
1797
1798
  on();
@@ -1802,7 +1803,7 @@ fe(
1802
1803
  /**
1803
1804
  * Single radio structure.
1804
1805
  */
1805
- Ne(te(X(), We(), qe(z("decorator")), G()), Q("$label", He("$label"))),
1806
+ Ne(te(X(), We(), qe(U("decorator")), G()), Q("$label", He("$label"))),
1806
1807
  /**
1807
1808
  * Multi radio structure.
1808
1809
  */
@@ -1813,7 +1814,7 @@ fe(
1813
1814
  value: "$option.value",
1814
1815
  checked: "$fns.isChecked($option.value)"
1815
1816
  }
1816
- }), qe(z("decorator")), G()), Ie(He("$option.label"), {
1817
+ }), qe(U("decorator")), G()), Ie(He("$option.label"), {
1817
1818
  if: "$option.label"
1818
1819
  })), rn("$option.help"))))
1819
1820
  ),
@@ -1821,9 +1822,9 @@ fe(
1821
1822
  Q("$options == undefined && $help", ee("$help")),
1822
1823
  ne(ie("$message.value"))
1823
1824
  ), ve("decorator", "radioDecorator");
1824
- fe(we(Ee("$label"), te(z("prefix"), X(), ol(Q("$slots.default", () => "$slots.default", Q("$slots.option", fl, ul("$option.label")))), Q("$attrs.multiple !== undefined", () => "", z("select")), G(), z("suffix"))), ee("$help"), ne(ie("$message.value"))), ve("select", "select");
1825
- fe(we(Ee("$label"), te(z("prefix", "label"), X(), cl(), G(), z("suffix"))), ee("$help"), ne(ie("$message.value")));
1826
- fe(we(Ee("$label"), te(z("prefix", "label"), X(), on(), G(), z("suffix"))), ee("$help"), ne(ie("$message.value")));
1825
+ fe(we(Ee("$label"), te(U("prefix"), X(), ol(Q("$slots.default", () => "$slots.default", Q("$slots.option", fl, ul("$option.label")))), Q("$attrs.multiple !== undefined", () => "", U("select")), G(), U("suffix"))), ee("$help"), ne(ie("$message.value"))), ve("select", "select");
1826
+ fe(we(Ee("$label"), te(U("prefix", "label"), X(), cl(), G(), U("suffix"))), ee("$help"), ne(ie("$message.value")));
1827
+ fe(we(Ee("$label"), te(U("prefix", "label"), X(), on(), G(), U("suffix"))), ee("$help"), ne(ie("$message.value")));
1827
1828
  re({
1828
1829
  type: "state",
1829
1830
  blocking: !0,
@@ -1838,12 +1839,10 @@ ze = Ge ? getComputedStyle(document.documentElement) : void 0;
1838
1839
  const Ve = {}, tt = {};
1839
1840
  function nt(e, i) {
1840
1841
  return (t) => {
1841
- if (typeof t == "boolean")
1842
+ if (typeof t != "string")
1842
1843
  return;
1843
1844
  if (t.startsWith("<svg"))
1844
1845
  return t;
1845
- if (typeof t != "string")
1846
- return;
1847
1846
  const n = t.startsWith("default:");
1848
1847
  t = n ? t.split(":")[1] : t;
1849
1848
  const l = t in Ve;
@@ -1949,7 +1948,7 @@ function El(e, i) {
1949
1948
  !jl || !e || (it.has(e) || it.set(e, /* @__PURE__ */ new Set()), (t = it.get(e)) === null || t === void 0 || t.add(i));
1950
1949
  }
1951
1950
  const pn = typeof window > "u", Le = {}, he = {};
1952
- let K;
1951
+ let q;
1953
1952
  const se = /* @__PURE__ */ new WeakMap(), Rl = "__raw__", Fl = /[a-zA-Z0-9\-][cC]lass$/;
1954
1953
  function Tl(e, i) {
1955
1954
  const t = Me(null);
@@ -2000,154 +1999,154 @@ function Dl(e, i) {
2000
1999
  return e[i].value;
2001
2000
  }
2002
2001
  function Rt(e, i, t) {
2003
- function n(y, I) {
2004
- const f = V(Z(I.if), { if: !0 }), m = p(y, I.then), d = I.else ? p(y, I.else) : null;
2005
- return [f, m, d];
2006
- }
2007
- function l(y, I) {
2008
- var f, m;
2009
- const d = V(Z(y.if));
2010
- let h = () => I, $ = () => I;
2011
- return typeof y.then == "object" ? $ = s(y.then, void 0) : typeof y.then == "string" && (!((f = y.then) === null || f === void 0) && f.startsWith("$")) ? $ = V(Z(y.then)) : $ = () => y.then, j(y, "else") && (typeof y.else == "object" ? h = s(y.else) : typeof y.else == "string" && (!((m = y.else) === null || m === void 0) && m.startsWith("$")) ? h = V(Z(y.else)) : h = () => y.else), () => d() ? $() : h();
2012
- }
2013
- function s(y, I, f = {}) {
2014
- const m = new Set(Object.keys(y || {})), d = I ? V(Z(I)) : () => ({}), h = [
2015
- ($) => {
2016
- const v = d();
2017
- for (const b in v)
2018
- m.has(b) || ($[b] = v[b]);
2002
+ function n($, S) {
2003
+ const f = O(J(S.if), { if: !0 }), d = p($, S.then), m = S.else ? p($, S.else) : null;
2004
+ return [f, d, m];
2005
+ }
2006
+ function l($, S) {
2007
+ var f, d;
2008
+ const m = O(J($.if));
2009
+ let v = () => S, g = () => S;
2010
+ return typeof $.then == "object" ? g = s($.then, void 0) : typeof $.then == "string" && (!((f = $.then) === null || f === void 0) && f.startsWith("$")) ? g = O(J($.then)) : g = () => $.then, E($, "else") && (typeof $.else == "object" ? v = s($.else) : typeof $.else == "string" && (!((d = $.else) === null || d === void 0) && d.startsWith("$")) ? v = O(J($.else)) : v = () => $.else), () => m() ? g() : v();
2011
+ }
2012
+ function s($, S, f = {}) {
2013
+ const d = new Set(Object.keys($ || {})), m = S ? O(J(S)) : () => ({}), v = [
2014
+ (g) => {
2015
+ const c = m();
2016
+ for (const y in c)
2017
+ d.has(y) || (g[y] = c[y]);
2019
2018
  }
2020
2019
  ];
2021
- if (y) {
2022
- if (be(y))
2023
- return l(y, f);
2024
- for (let $ in y) {
2025
- const v = y[$];
2026
- let b;
2027
- const c = typeof v == "string";
2028
- $.startsWith(Rl) ? ($ = $.substring(7), b = () => v) : c && v.startsWith("$") && v.length > 1 && !(v.startsWith("$reset") && Fl.test($)) ? b = V(Z(v)) : typeof v == "object" && be(v) ? b = l(v, void 0) : typeof v == "object" && _e(v) ? b = s(v) : b = () => v, h.push((g) => {
2029
- g[$] = b();
2020
+ if ($) {
2021
+ if (be($))
2022
+ return l($, f);
2023
+ for (let g in $) {
2024
+ const c = $[g];
2025
+ let y;
2026
+ const b = typeof c == "string";
2027
+ g.startsWith(Rl) ? (g = g.substring(7), y = () => c) : b && c.startsWith("$") && c.length > 1 && !(c.startsWith("$reset") && Fl.test(g)) ? y = O(J(c)) : typeof c == "object" && be(c) ? y = l(c, void 0) : typeof c == "object" && _e(c) ? y = s(c) : y = () => c, v.push((_) => {
2028
+ _[g] = y();
2030
2029
  });
2031
2030
  }
2032
2031
  }
2033
2032
  return () => {
2034
- const $ = Array.isArray(y) ? [] : {};
2035
- return h.forEach((v) => v($)), $;
2033
+ const g = Array.isArray($) ? [] : {};
2034
+ return v.forEach((c) => c(g)), g;
2036
2035
  };
2037
2036
  }
2038
- function r(y, I) {
2039
- let f = null, m = () => null, d = !1, h = null, $ = null, v = null, b = !1;
2040
- const c = Ji(I);
2041
- if (ut(c) ? (f = c.$el, m = c.$el !== "text" ? s(c.attrs, c.bind) : () => null) : ft(c) ? (typeof c.$cmp == "string" ? j(y, c.$cmp) ? f = y[c.$cmp] : (f = c.$cmp, b = !0) : f = c.$cmp, m = s(c.props, c.bind)) : be(c) && ([d, h, $] = n(y, c)), !be(c) && "if" in c ? d = V(Z(c.if)) : !be(c) && f === null && (d = () => !0), "children" in c && c.children)
2042
- if (typeof c.children == "string")
2043
- if (c.children.startsWith("$slots."))
2044
- f = f === "text" ? "slot" : f, h = V(Z(c.children));
2045
- else if (c.children.startsWith("$") && c.children.length > 1) {
2046
- const g = V(Z(c.children));
2047
- h = () => String(g());
2037
+ function r($, S) {
2038
+ let f = null, d = () => null, m = !1, v = null, g = null, c = null, y = !1;
2039
+ const b = Ji(S);
2040
+ if (ut(b) ? (f = b.$el, d = b.$el !== "text" ? s(b.attrs, b.bind) : () => null) : ft(b) ? (typeof b.$cmp == "string" ? E($, b.$cmp) ? f = $[b.$cmp] : (f = b.$cmp, y = !0) : f = b.$cmp, d = s(b.props, b.bind)) : be(b) && ([m, v, g] = n($, b)), !be(b) && "if" in b ? m = O(J(b.if)) : !be(b) && f === null && (m = () => !0), "children" in b && b.children)
2041
+ if (typeof b.children == "string")
2042
+ if (b.children.startsWith("$slots."))
2043
+ f = f === "text" ? "slot" : f, v = O(J(b.children));
2044
+ else if (b.children.startsWith("$") && b.children.length > 1) {
2045
+ const _ = O(J(b.children));
2046
+ v = () => String(_());
2048
2047
  } else
2049
- h = () => String(c.children);
2050
- else if (Array.isArray(c.children))
2051
- h = p(y, c.children);
2048
+ v = () => String(b.children);
2049
+ else if (Array.isArray(b.children))
2050
+ v = p($, b.children);
2052
2051
  else {
2053
- const [g, k, L] = n(y, c.children);
2054
- h = (R) => g && g() ? k && k(R) : L && L(R);
2052
+ const [_, V, I] = n($, b.children);
2053
+ v = (z) => _ && _() ? V && V(z) : I && I(z);
2055
2054
  }
2056
- if (ft(c))
2057
- if (h) {
2058
- const g = h;
2059
- h = (k) => ({
2060
- default(L, R) {
2061
- var C, F, B, H;
2062
- const N = K;
2063
- R && (K = R), L && ((C = se.get(K)) === null || C === void 0 || C.unshift(L)), k && ((F = se.get(K)) === null || F === void 0 || F.unshift(k));
2064
- const P = g(k);
2065
- return L && ((B = se.get(K)) === null || B === void 0 || B.shift()), k && ((H = se.get(K)) === null || H === void 0 || H.shift()), K = N, P;
2055
+ if (ft(b))
2056
+ if (v) {
2057
+ const _ = v;
2058
+ v = (V) => ({
2059
+ default(I, z) {
2060
+ var P, F, B, Z;
2061
+ const H = q;
2062
+ z && (q = z), I && ((P = se.get(q)) === null || P === void 0 || P.unshift(I)), V && ((F = se.get(q)) === null || F === void 0 || F.unshift(V));
2063
+ const x = _(V);
2064
+ return I && ((B = se.get(q)) === null || B === void 0 || B.shift()), V && ((Z = se.get(q)) === null || Z === void 0 || Z.shift()), q = H, x;
2066
2065
  }
2067
- }), h.slot = !0;
2066
+ }), v.slot = !0;
2068
2067
  } else
2069
- h = () => ({});
2070
- if ("for" in c && c.for) {
2071
- const g = c.for.length === 3 ? c.for[2] : c.for[1];
2072
- v = [
2073
- typeof g == "string" && g.startsWith("$") ? V(Z(g)) : () => g,
2074
- c.for[0],
2075
- c.for.length === 3 ? String(c.for[1]) : null
2068
+ v = () => ({});
2069
+ if ("for" in b && b.for) {
2070
+ const _ = b.for.length === 3 ? b.for[2] : b.for[1];
2071
+ c = [
2072
+ typeof _ == "string" && _.startsWith("$") ? O(J(_)) : () => _,
2073
+ b.for[0],
2074
+ b.for.length === 3 ? String(b.for[1]) : null
2076
2075
  ];
2077
2076
  }
2078
- return [d, f, m, h, $, v, b];
2077
+ return [m, f, d, v, g, c, y];
2079
2078
  }
2080
- function o(y, I) {
2081
- const f = y(I), m = K;
2082
- return Object.keys(f).reduce((d, h) => {
2083
- const $ = f && f[h];
2084
- return d[h] = (v) => $ && $(v, m) || null, d;
2079
+ function o($, S) {
2080
+ const f = $(S), d = q;
2081
+ return Object.keys(f).reduce((m, v) => {
2082
+ const g = f && f[v];
2083
+ return m[v] = (c) => g && g(c, d) || null, m;
2085
2084
  }, {});
2086
2085
  }
2087
- function u(y, I) {
2088
- const [f, m, d, h, $, v, b] = r(y, I);
2089
- let c = (g) => {
2090
- if (f && m === null && h)
2091
- return f() ? h(g) : $ && $(g);
2092
- if (m && (!f || f())) {
2093
- if (m === "text" && h)
2094
- return Cn(String(h()));
2095
- if (m === "slot" && h)
2096
- return h(g);
2097
- const k = b ? E(m) : m, L = h != null && h.slot ? o(h, g) : null;
2098
- return Ae(k, d(), L || (h ? h(g) : []));
2086
+ function u($, S) {
2087
+ const [f, d, m, v, g, c, y] = r($, S);
2088
+ let b = (_) => {
2089
+ if (f && d === null && v)
2090
+ return f() ? v(_) : g && g(_);
2091
+ if (d && (!f || f())) {
2092
+ if (d === "text" && v)
2093
+ return Cn(String(v()));
2094
+ if (d === "slot" && v)
2095
+ return v(_);
2096
+ const V = y ? R(d) : d, I = v != null && v.slot ? o(v, _) : null;
2097
+ return Ae(V, m(), I || (v ? v(_) : []));
2099
2098
  }
2100
- return typeof $ == "function" ? $(g) : $;
2099
+ return typeof g == "function" ? g(_) : g;
2101
2100
  };
2102
- if (v) {
2103
- const g = c, [k, L, R] = v;
2104
- c = () => {
2105
- const C = k(), F = Number.isFinite(C) ? Array(Number(C)).fill(0).map((P, q) => q) : C, B = [];
2101
+ if (c) {
2102
+ const _ = b, [V, I, z] = c;
2103
+ b = () => {
2104
+ const P = V(), F = Number.isFinite(P) ? Array(Number(P)).fill(0).map((x, W) => W) : P, B = [];
2106
2105
  if (typeof F != "object")
2107
2106
  return null;
2108
- const H = se.get(K) || [], N = Array.isArray(F);
2109
- for (const P in F) {
2110
- if (N && P in Array.prototype)
2107
+ const Z = se.get(q) || [], H = Array.isArray(F);
2108
+ for (const x in F) {
2109
+ if (H && x in Array.prototype)
2111
2110
  continue;
2112
- const q = Object.defineProperty({
2113
- ...H.reduce((ke, le) => ke.__idata ? { ...ke, ...le } : le, {}),
2114
- [L]: F[P],
2115
- ...R !== null ? { [R]: N ? Number(P) : P } : {}
2111
+ const W = Object.defineProperty({
2112
+ ...Z.reduce((ke, le) => ke.__idata ? { ...ke, ...le } : le, {}),
2113
+ [I]: F[x],
2114
+ ...z !== null ? { [z]: H ? Number(x) : x } : {}
2116
2115
  }, "__idata", { enumerable: !1, value: !0 });
2117
- H.unshift(q), B.push(g.bind(null, q)()), H.shift();
2116
+ Z.unshift(W), B.push(_.bind(null, W)()), Z.shift();
2118
2117
  }
2119
2118
  return B;
2120
2119
  };
2121
2120
  }
2122
- return c;
2121
+ return b;
2123
2122
  }
2124
- function p(y, I) {
2125
- if (Array.isArray(I)) {
2126
- const m = I.map(u.bind(null, y));
2127
- return (d) => m.map((h) => h(d));
2123
+ function p($, S) {
2124
+ if (Array.isArray(S)) {
2125
+ const d = S.map(u.bind(null, $));
2126
+ return (m) => d.map((v) => v(m));
2128
2127
  }
2129
- const f = u(y, I);
2130
- return (m) => f(m);
2128
+ const f = u($, S);
2129
+ return (d) => f(d);
2131
2130
  }
2132
- const _ = [];
2133
- function V(y, I = {}) {
2131
+ const h = [];
2132
+ function O($, S = {}) {
2134
2133
  const f = /* @__PURE__ */ new WeakMap();
2135
- return _.push((m, d) => {
2136
- f.set(d, y.provide((h) => m(h, I)));
2137
- }), () => f.get(K)();
2134
+ return h.push((d, m) => {
2135
+ f.set(m, $.provide((v) => d(v, S)));
2136
+ }), () => f.get(q)();
2138
2137
  }
2139
- function J(y, I) {
2138
+ function w($, S) {
2140
2139
  var f;
2141
2140
  t ?? (t = JSON.stringify(i));
2142
- const [m, d] = j(Le, t) ? Le[t] : [p(e, i), _];
2143
- return pn || ((f = he[t]) !== null && f !== void 0 || (he[t] = 0), he[t]++, Le[t] = [m, d]), d.forEach((h) => {
2144
- h(y, I);
2145
- }), () => (K = I, m());
2141
+ const [d, m] = E(Le, t) ? Le[t] : [p(e, i), h];
2142
+ return pn || ((f = he[t]) !== null && f !== void 0 || (he[t] = 0), he[t]++, Le[t] = [d, m]), m.forEach((v) => {
2143
+ v($, S);
2144
+ }), () => (q = S, d());
2146
2145
  }
2147
- return J;
2146
+ return w;
2148
2147
  }
2149
2148
  function dn(e, i) {
2150
- const t = se.get(K) || [];
2149
+ const t = se.get(q) || [];
2151
2150
  let n;
2152
2151
  return t.length && (n = wt(t, e.split("."))), n === void 0 ? i : n;
2153
2152
  }
@@ -2157,8 +2156,8 @@ function Bl(e, i) {
2157
2156
  let n;
2158
2157
  const l = t[1];
2159
2158
  if (typeof l == "string") {
2160
- const s = K;
2161
- K = i, n = dn(l, void 0), K = s;
2159
+ const s = q;
2160
+ q = i, n = dn(l, void 0), q = s;
2162
2161
  }
2163
2162
  return n !== void 0 ? n : Reflect.get(...t);
2164
2163
  }
@@ -2167,7 +2166,7 @@ function Bl(e, i) {
2167
2166
  function Ft(e, i, t) {
2168
2167
  return e((n, l = {}) => n.reduce((s, r) => {
2169
2168
  if (r.startsWith("slots.")) {
2170
- const o = r.substring(6), u = () => i.slots && j(i.slots, o) && typeof i.slots[o] == "function";
2169
+ const o = r.substring(6), u = () => i.slots && E(i.slots, o) && typeof i.slots[o] == "function";
2171
2170
  if (l.if)
2172
2171
  s[r] = u;
2173
2172
  else if (i.slots) {
@@ -2189,7 +2188,7 @@ function Tt(e, i, t) {
2189
2188
  }
2190
2189
  se.delete(t);
2191
2190
  }
2192
- const mn = x({
2191
+ const mn = M({
2193
2192
  name: "FormKitSchema",
2194
2193
  props: {
2195
2194
  schema: {
@@ -2215,10 +2214,10 @@ const mn = x({
2215
2214
  let l = {};
2216
2215
  se.set(l, []);
2217
2216
  let s = Rt(e.library, e.schema, e.memoKey), r, o;
2218
- pn || ye(() => e.schema, (p, _) => {
2219
- var V;
2220
- const J = l;
2221
- l = {}, s = Rt(e.library, e.schema, e.memoKey), r = Ft(s, o, l), p === _ && ((V = n == null ? void 0 : n.proxy) === null || V === void 0 ? void 0 : V.$forceUpdate)(), Tt(e.schema, e.memoKey, J);
2217
+ pn || ye(() => e.schema, (p, h) => {
2218
+ var O;
2219
+ const w = l;
2220
+ l = {}, s = Rt(e.library, e.schema, e.memoKey), r = Ft(s, o, l), p === h && ((O = n == null ? void 0 : n.proxy) === null || O === void 0 ? void 0 : O.$forceUpdate)(), Tt(e.schema, e.memoKey, w);
2222
2221
  }, { deep: !0 }), ae(() => {
2223
2222
  var p;
2224
2223
  o = Object.assign(yn((p = e.data) !== null && p !== void 0 ? p : {}), {
@@ -2307,7 +2306,7 @@ const mn = x({
2307
2306
  required: !1
2308
2307
  }
2309
2308
  }, Ul = zl, Kl = typeof window > "u", Ze = Symbol("FormKitParent");
2310
- x({
2309
+ M({
2311
2310
  props: Ul,
2312
2311
  emits: {
2313
2312
  /* eslint-disable @typescript-eslint/no-unused-vars */
@@ -2323,7 +2322,7 @@ x({
2323
2322
  inheritAttrs: !1,
2324
2323
  setup(e, i) {
2325
2324
  const t = Wl(e, i);
2326
- if (t.props.definition || W(600, t), t.props.definition.component)
2325
+ if (t.props.definition || N(600, t), t.props.definition.component)
2327
2326
  return () => {
2328
2327
  var o;
2329
2328
  return Ae((o = t.props.definition) === null || o === void 0 ? void 0 : o.component, {
@@ -2335,7 +2334,7 @@ x({
2335
2334
  const s = () => {
2336
2335
  var o, u;
2337
2336
  const p = (u = (o = t.props) === null || o === void 0 ? void 0 : o.definition) === null || u === void 0 ? void 0 : u.schema;
2338
- p || W(601, t), typeof p == "function" ? (n.value = p({ ...e.sectionsSchema }), (l && e.sectionsSchema || "memoKey" in p && typeof p.memoKey == "string") && (l = (l ?? (p == null ? void 0 : p.memoKey)) + JSON.stringify(e.sectionsSchema))) : n.value = p;
2337
+ p || N(601, t), typeof p == "function" ? (n.value = p({ ...e.sectionsSchema }), (l && e.sectionsSchema || "memoKey" in p && typeof p.memoKey == "string") && (l = (l ?? (p == null ? void 0 : p.memoKey)) + JSON.stringify(e.sectionsSchema))) : n.value = p;
2339
2338
  };
2340
2339
  s(), Kl || t.on("schema", s), i.emit("node", t);
2341
2340
  const r = t.props.definition.library;
@@ -2367,99 +2366,101 @@ function ql(e) {
2367
2366
  }, {}) : {};
2368
2367
  }
2369
2368
  function Wl(e, i, t = {}) {
2370
- var n;
2371
- const l = Object.assign({}, Oe(bn) || {}, t), s = at(), r = ql(s == null ? void 0 : s.vnode.props), o = "modelValue" in ((n = s == null ? void 0 : s.vnode.props) !== null && n !== void 0 ? n : {});
2372
- let u = !1;
2369
+ const n = Object.assign({}, Oe(bn) || {}, t), l = at(), s = ql(l == null ? void 0 : l.vnode.props), r = ["modelValue", "model-value"].some((c) => {
2370
+ var y;
2371
+ return c in ((y = l == null ? void 0 : l.vnode.props) !== null && y !== void 0 ? y : {});
2372
+ });
2373
+ let o = !1;
2373
2374
  hn(() => {
2374
- u = !0;
2375
+ o = !0;
2375
2376
  });
2376
- const p = e.modelValue !== void 0 ? e.modelValue : pe(i.attrs.value);
2377
- function _() {
2378
- const b = {
2377
+ const u = e.modelValue !== void 0 ? e.modelValue : pe(i.attrs.value);
2378
+ function p() {
2379
+ const c = {
2379
2380
  ...me(e),
2380
- ...r,
2381
+ ...s,
2381
2382
  __slots: i.slots
2382
- }, c = Ct(me(i.attrs), lt);
2383
- c.key || (c.key = Je()), b.attrs = c;
2384
- const g = St(me(i.attrs), lt);
2385
- for (const L in g)
2386
- b[Fe(L)] = g[L];
2387
- const k = { props: {} };
2388
- return Dt(k, e), Object.assign(b, k.props), typeof b.type != "string" && (b.definition = b.type, delete b.type), b;
2389
- }
2390
- const V = _(), J = V.ignore ? null : e.parent || Oe(Ze, null), y = Hi(Ye(l || {}, {
2383
+ }, y = Ct(me(i.attrs), lt);
2384
+ y.key || (y.key = Je()), c.attrs = y;
2385
+ const b = St(me(i.attrs), lt);
2386
+ for (const V in b)
2387
+ c[Fe(V)] = b[V];
2388
+ const _ = { props: {} };
2389
+ return Dt(_, e), Object.assign(c, _.props), typeof c.type != "string" && (c.definition = c.type, delete c.type), c;
2390
+ }
2391
+ const h = p(), O = h.ignore ? null : e.parent || Oe(Ze, null), w = Hi(Ye(n || {}, {
2391
2392
  name: e.name || void 0,
2392
- value: p,
2393
- parent: J,
2394
- plugins: (l.plugins || []).concat(e.plugins),
2393
+ value: u,
2394
+ parent: O,
2395
+ plugins: (n.plugins || []).concat(e.plugins),
2395
2396
  config: e.config,
2396
- props: V,
2397
+ props: h,
2397
2398
  index: e.index,
2398
2399
  sync: e.sync || e.dynamic
2399
2400
  }, !1, !0));
2400
- y.props.definition || W(600, y);
2401
- const I = Me(new Set(y.props.definition.props || []));
2402
- y.on("added-props", ({ payload: b }) => {
2403
- Array.isArray(b) && b.forEach((c) => I.value.add(c));
2401
+ w.props.definition || N(600, w);
2402
+ const $ = Me(new Set(w.props.definition.props || []));
2403
+ w.on("added-props", ({ payload: c }) => {
2404
+ Array.isArray(c) && c.forEach((y) => $.value.add(y));
2404
2405
  });
2405
- const f = M(() => lt.concat([...I.value]).reduce((b, c) => (typeof c == "string" ? (b.push(Fe(c)), b.push(Ut(c))) : b.push(c), b), []));
2406
- ae(() => Dt(y, e));
2407
- const m = me(e);
2408
- for (const b in m)
2409
- ye(() => e[b], () => {
2410
- e[b] !== void 0 && (y.props[b] = e[b]);
2406
+ const S = j(() => lt.concat([...$.value]).reduce((c, y) => (typeof y == "string" ? (c.push(Fe(y)), c.push(Ut(y))) : c.push(y), c), []));
2407
+ ae(() => Dt(w, e));
2408
+ const f = me(e);
2409
+ for (const c in f)
2410
+ ye(() => e[c], () => {
2411
+ e[c] !== void 0 && (w.props[c] = e[c]);
2411
2412
  });
2412
- const d = /* @__PURE__ */ new Set(), h = me(i.attrs);
2413
+ const d = /* @__PURE__ */ new Set(), m = me(i.attrs);
2413
2414
  ae(() => {
2414
- $(St(h, f.value));
2415
+ v(St(m, S.value));
2415
2416
  });
2416
- function $(b) {
2417
- d.forEach((c) => {
2418
- c(), d.delete(c);
2417
+ function v(c) {
2418
+ d.forEach((y) => {
2419
+ y(), d.delete(y);
2419
2420
  });
2420
- for (const c in b) {
2421
- const g = Fe(c);
2422
- d.add(ye(() => i.attrs[c], () => {
2423
- y.props[g] = i.attrs[c];
2421
+ for (const y in c) {
2422
+ const b = Fe(y);
2423
+ d.add(ye(() => i.attrs[y], () => {
2424
+ w.props[b] = i.attrs[y];
2424
2425
  }));
2425
2426
  }
2426
2427
  }
2427
2428
  if (ae(() => {
2428
- const b = Ct(me(i.attrs), f.value);
2429
- "multiple" in b && (b.multiple = Y(b.multiple)), typeof b.onBlur == "function" && (b.onBlur = jn(b.onBlur)), y.props.attrs = Object.assign({}, y.props.attrs || {}, b);
2429
+ const c = Ct(me(i.attrs), S.value);
2430
+ "multiple" in c && (c.multiple = Y(c.multiple)), typeof c.onBlur == "function" && (c.onBlur = jn(c.onBlur)), w.props.attrs = Object.assign({}, w.props.attrs || {}, c);
2430
2431
  }), ae(() => {
2431
- const b = e.errors.map((c) => re({
2432
- key: dt(c),
2432
+ const c = e.errors.map((y) => re({
2433
+ key: dt(y),
2433
2434
  type: "error",
2434
- value: c,
2435
+ value: y,
2435
2436
  meta: { source: "prop" }
2436
2437
  }));
2437
- y.store.apply(b, (c) => c.type === "error" && c.meta.source === "prop");
2438
- }), y.type !== "input") {
2439
- const b = `${y.name}-prop`;
2438
+ w.store.apply(c, (y) => y.type === "error" && y.meta.source === "prop");
2439
+ }), w.type !== "input") {
2440
+ const c = `${w.name}-prop`;
2440
2441
  ae(() => {
2441
- const c = Object.keys(e.inputErrors);
2442
- c.length || y.clearErrors(!0, b);
2443
- const g = c.reduce((k, L) => {
2444
- let R = e.inputErrors[L];
2445
- return typeof R == "string" && (R = [R]), Array.isArray(R) && (k[L] = R.map((C) => re({
2446
- key: C,
2442
+ const y = Object.keys(e.inputErrors);
2443
+ y.length || w.clearErrors(!0, c);
2444
+ const b = y.reduce((_, V) => {
2445
+ let I = e.inputErrors[V];
2446
+ return typeof I == "string" && (I = [I]), Array.isArray(I) && (_[V] = I.map((z) => re({
2447
+ key: z,
2447
2448
  type: "error",
2448
- value: C,
2449
- meta: { source: b }
2450
- }))), k;
2449
+ value: z,
2450
+ meta: { source: c }
2451
+ }))), _;
2451
2452
  }, {});
2452
- y.store.apply(g, (k) => k.type === "error" && k.meta.source === b);
2453
+ w.store.apply(b, (_) => _.type === "error" && _.meta.source === c);
2453
2454
  });
2454
2455
  }
2455
- ae(() => Object.assign(y.config, e.config)), y.type !== "input" && _n(Ze, y);
2456
- let v;
2457
- return y.on("modelUpdated", () => {
2458
- var b, c;
2459
- i.emit("inputRaw", (b = y.context) === null || b === void 0 ? void 0 : b.value, y), u && i.emit("input", (c = y.context) === null || c === void 0 ? void 0 : c.value, y), o && y.context && (v = pe(y.value), i.emit("update:modelValue", Pn(y.value)));
2460
- }), o && (ye(gn(e, "modelValue"), (b) => {
2461
- ue(v, b) || y.input(b, !1);
2462
- }, { deep: !0 }), y.value !== p && y.emit("modelUpdated")), $n(() => y.destroy()), y;
2456
+ ae(() => Object.assign(w.config, e.config)), w.type !== "input" && _n(Ze, w);
2457
+ let g;
2458
+ return w.on("modelUpdated", () => {
2459
+ var c, y;
2460
+ i.emit("inputRaw", (c = w.context) === null || c === void 0 ? void 0 : c.value, w), o && i.emit("input", (y = w.context) === null || y === void 0 ? void 0 : y.value, w), r && w.context && (g = pe(w.value), i.emit("update:modelValue", Pn(w.value)));
2461
+ }), r && (ye(gn(e, "modelValue"), (c) => {
2462
+ ue(g, c) || w.input(c, !1);
2463
+ }, { deep: !0 }), w.value !== u && w.emit("modelUpdated")), $n(() => w.destroy()), w;
2463
2464
  }
2464
2465
  let Nl = 1;
2465
2466
  function Hl(e) {
@@ -2473,20 +2474,20 @@ function D(e, i = {}) {
2473
2474
  let n;
2474
2475
  if (Hl(e)) {
2475
2476
  const l = `SchemaComponent${Nl++}`;
2476
- n = w("input", () => ({
2477
+ n = k("input", () => ({
2477
2478
  $cmp: l,
2478
2479
  props: {
2479
2480
  context: "$node.context"
2480
2481
  }
2481
2482
  })), t.library = { [l]: wn(e) };
2482
2483
  } else
2483
- typeof e == "function" ? n = e : n = w("input", () => pe(e));
2484
+ typeof e == "function" ? n = e : n = k("input", () => pe(e));
2484
2485
  return t.schema = Il(n || "Schema undefined"), t.schemaMemoKey || (t.schemaMemoKey = `${Math.random()}`), t;
2485
2486
  }
2486
- const Zl = w("messages", () => ({
2487
+ const Zl = k("messages", () => ({
2487
2488
  $el: "ul",
2488
2489
  if: "$fns.length($messages)"
2489
- })), Jl = w("message", () => ({
2490
+ })), Jl = k("message", () => ({
2490
2491
  $el: "li",
2491
2492
  for: ["message", "$messages"],
2492
2493
  attrs: {
@@ -2495,7 +2496,7 @@ const Zl = w("messages", () => ({
2495
2496
  "data-message-type": "$message.type"
2496
2497
  }
2497
2498
  })), Yl = Zl(Jl("$message.value"));
2498
- x({
2499
+ M({
2499
2500
  props: {
2500
2501
  node: {
2501
2502
  type: Object,
@@ -2511,17 +2512,17 @@ x({
2511
2512
  }
2512
2513
  },
2513
2514
  setup(e, i) {
2514
- const t = M(() => e.node || Oe(Ze, void 0));
2515
+ const t = j(() => e.node || Oe(Ze, void 0));
2515
2516
  ye(t, () => {
2516
2517
  var s;
2517
2518
  !((s = t.value) === null || s === void 0) && s.context && !Y(e.defaultPosition) && (t.value.context.defaultMessagePlacement = !1);
2518
2519
  }, { immediate: !0 });
2519
- const n = Yl(e.sectionsSchema || {}), l = M(() => {
2520
- var s, r, o, u, p, _;
2520
+ const n = Yl(e.sectionsSchema || {}), l = j(() => {
2521
+ var s, r, o, u, p, h;
2521
2522
  return {
2522
2523
  messages: ((r = (s = t.value) === null || s === void 0 ? void 0 : s.context) === null || r === void 0 ? void 0 : r.messages) || {},
2523
2524
  fns: ((u = (o = t.value) === null || o === void 0 ? void 0 : o.context) === null || u === void 0 ? void 0 : u.fns) || {},
2524
- classes: ((_ = (p = t.value) === null || p === void 0 ? void 0 : p.context) === null || _ === void 0 ? void 0 : _.classes) || {}
2525
+ classes: ((h = (p = t.value) === null || p === void 0 ? void 0 : p.context) === null || h === void 0 ? void 0 : h.classes) || {}
2525
2526
  };
2526
2527
  });
2527
2528
  return () => {
@@ -2530,7 +2531,7 @@ x({
2530
2531
  };
2531
2532
  }
2532
2533
  });
2533
- x({
2534
+ M({
2534
2535
  name: "FormKitIcon",
2535
2536
  props: {
2536
2537
  icon: {
@@ -2576,7 +2577,7 @@ x({
2576
2577
  }) : null;
2577
2578
  }
2578
2579
  });
2579
- const Ql = /* @__PURE__ */ x({
2580
+ const Ql = /* @__PURE__ */ M({
2580
2581
  __name: "PrimeCalendar",
2581
2582
  props: {
2582
2583
  context: Object
@@ -2589,13 +2590,13 @@ const Ql = /* @__PURE__ */ x({
2589
2590
  function s(o) {
2590
2591
  t == null || t.node.input(o);
2591
2592
  }
2592
- const r = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2593
+ const r = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2593
2594
  return (o, u) => {
2594
- const p = E("Calendar");
2595
- return A(), O("div", null, [
2595
+ const p = R("Calendar");
2596
+ return L(), A("div", null, [
2596
2597
  T(p, {
2597
2598
  modelValue: a(t)._value,
2598
- "onUpdate:modelValue": u[0] || (u[0] = (_) => a(t)._value = _),
2599
+ "onUpdate:modelValue": u[0] || (u[0] = (h) => a(t)._value = h),
2599
2600
  "input-id": i.context.id,
2600
2601
  disabled: a(n)._disabled ?? !1,
2601
2602
  readonly: a(n)._readonly ?? !1,
@@ -2657,7 +2658,7 @@ const Ql = /* @__PURE__ */ x({
2657
2658
  }, Gl = {
2658
2659
  key: 1,
2659
2660
  class: "formkit-prime-right"
2660
- }, ea = /* @__PURE__ */ x({
2661
+ }, ea = /* @__PURE__ */ M({
2661
2662
  __name: "PrimeCheckbox",
2662
2663
  props: {
2663
2664
  context: Object
@@ -2668,11 +2669,11 @@ const Ql = /* @__PURE__ */ x({
2668
2669
  var o;
2669
2670
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
2670
2671
  }
2671
- const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2672
+ const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2672
2673
  return (r, o) => {
2673
- const u = E("Checkbox");
2674
- return A(), O("div", null, [
2675
- a(t).attrs.labelLeft ? (A(), O("span", Xl, ce(a(t).attrs.labelLeft), 1)) : oe("", !0),
2674
+ const u = R("Checkbox");
2675
+ return L(), A("div", null, [
2676
+ a(t).attrs.labelLeft ? (L(), A("span", Xl, ce(a(t).attrs.labelLeft), 1)) : oe("", !0),
2676
2677
  T(u, {
2677
2678
  modelValue: a(t)._value,
2678
2679
  "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
@@ -2690,11 +2691,11 @@ const Ql = /* @__PURE__ */ x({
2690
2691
  pt: a(n).pt,
2691
2692
  onInput: l
2692
2693
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "binary", "true-value", "false-value", "pt"]),
2693
- a(t).attrs.labelRight ? (A(), O("span", Gl, ce(a(t).attrs.labelRight), 1)) : oe("", !0)
2694
+ a(t).attrs.labelRight ? (L(), A("span", Gl, ce(a(t).attrs.labelRight), 1)) : oe("", !0)
2694
2695
  ]);
2695
2696
  };
2696
2697
  }
2697
- }), ta = /* @__PURE__ */ x({
2698
+ }), ta = /* @__PURE__ */ M({
2698
2699
  __name: "PrimeChips",
2699
2700
  props: {
2700
2701
  context: Object
@@ -2705,10 +2706,10 @@ const Ql = /* @__PURE__ */ x({
2705
2706
  var o;
2706
2707
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
2707
2708
  }
2708
- const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2709
+ const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2709
2710
  return (r, o) => {
2710
- const u = E("Chips");
2711
- return A(), O("div", null, [
2711
+ const u = R("Chips");
2712
+ return L(), A("div", null, [
2712
2713
  T(u, {
2713
2714
  modelValue: a(t)._value,
2714
2715
  "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
@@ -2732,7 +2733,7 @@ const Ql = /* @__PURE__ */ x({
2732
2733
  ]);
2733
2734
  };
2734
2735
  }
2735
- }), na = /* @__PURE__ */ x({
2736
+ }), na = /* @__PURE__ */ M({
2736
2737
  __name: "PrimeColorPicker",
2737
2738
  props: {
2738
2739
  context: Object
@@ -2744,8 +2745,8 @@ const Ql = /* @__PURE__ */ x({
2744
2745
  t == null || t.node.input((r = i.context) == null ? void 0 : r._value);
2745
2746
  }
2746
2747
  return (s, r) => {
2747
- const o = E("ColorPicker");
2748
- return A(), O("div", null, [
2748
+ const o = R("ColorPicker");
2749
+ return L(), A("div", null, [
2749
2750
  T(o, {
2750
2751
  modelValue: a(t)._value,
2751
2752
  "onUpdate:modelValue": r[0] || (r[0] = (u) => a(t)._value = u),
@@ -2765,7 +2766,7 @@ const Ql = /* @__PURE__ */ x({
2765
2766
  ]);
2766
2767
  };
2767
2768
  }
2768
- }), ia = /* @__PURE__ */ x({
2769
+ }), ia = /* @__PURE__ */ M({
2769
2770
  __name: "PrimeDropdown",
2770
2771
  props: {
2771
2772
  context: Object
@@ -2778,13 +2779,13 @@ const Ql = /* @__PURE__ */ x({
2778
2779
  function s(o) {
2779
2780
  t == null || t.node.input(o.value);
2780
2781
  }
2781
- const r = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2782
+ const r = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2782
2783
  return (o, u) => {
2783
- const p = E("Dropdown");
2784
- return A(), O("div", null, [
2784
+ const p = R("Dropdown");
2785
+ return L(), A("div", null, [
2785
2786
  T(p, {
2786
2787
  modelValue: a(t)._value,
2787
- "onUpdate:modelValue": u[0] || (u[0] = (_) => a(t)._value = _),
2788
+ "onUpdate:modelValue": u[0] || (u[0] = (h) => a(t)._value = h),
2788
2789
  "input-id": a(t).id,
2789
2790
  disabled: a(n)._disabled ?? !1,
2790
2791
  readonly: a(n)._readonly ?? !1,
@@ -2806,7 +2807,7 @@ const Ql = /* @__PURE__ */ x({
2806
2807
  ]);
2807
2808
  };
2808
2809
  }
2809
- }), la = /* @__PURE__ */ x({
2810
+ }), la = /* @__PURE__ */ M({
2810
2811
  __name: "PrimeEditor",
2811
2812
  props: {
2812
2813
  context: Object
@@ -2819,18 +2820,18 @@ const Ql = /* @__PURE__ */ x({
2819
2820
  function s(o) {
2820
2821
  o.range === null && (t == null || t.handlers.blur(o.htmlValue));
2821
2822
  }
2822
- const r = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2823
+ const r = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2823
2824
  return (o, u) => {
2824
- const p = E("Editor");
2825
- return A(), O("div", null, [
2825
+ const p = R("Editor");
2826
+ return L(), A("div", null, [
2826
2827
  T(p, {
2827
2828
  id: a(t).id,
2828
2829
  modelValue: a(t)._value,
2829
- "onUpdate:modelValue": u[0] || (u[0] = (_) => a(t)._value = _),
2830
+ "onUpdate:modelValue": u[0] || (u[0] = (h) => a(t)._value = h),
2830
2831
  disabled: a(n)._disabled ?? !1,
2831
2832
  readonly: a(n)._readonly ?? !1,
2832
2833
  "editor-style": a(n).style,
2833
- class: U(a(r)),
2834
+ class: K(a(r)),
2834
2835
  tabindex: a(n).tabindex,
2835
2836
  "aria-label": a(n).ariaLabel,
2836
2837
  "aria-labelledby": a(n).ariaLabelledby,
@@ -2844,7 +2845,7 @@ const Ql = /* @__PURE__ */ x({
2844
2845
  ]);
2845
2846
  };
2846
2847
  }
2847
- }), aa = /* @__PURE__ */ x({
2848
+ }), aa = /* @__PURE__ */ M({
2848
2849
  __name: "PrimeInputMask",
2849
2850
  props: {
2850
2851
  context: Object
@@ -2855,10 +2856,10 @@ const Ql = /* @__PURE__ */ x({
2855
2856
  var o, u;
2856
2857
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value), t == null || t.handlers.blur((u = i.context) == null ? void 0 : u._value);
2857
2858
  }
2858
- const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2859
+ const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2859
2860
  return (r, o) => {
2860
- const u = E("InputMask");
2861
- return A(), O("div", null, [
2861
+ const u = R("InputMask");
2862
+ return L(), A("div", null, [
2862
2863
  T(u, {
2863
2864
  id: a(t).id,
2864
2865
  modelValue: a(t)._value,
@@ -2866,7 +2867,7 @@ const Ql = /* @__PURE__ */ x({
2866
2867
  disabled: a(n)._disabled ?? !1,
2867
2868
  readonly: a(n)._readonly ?? !1,
2868
2869
  "editor-style": a(n).style,
2869
- class: U(a(s)),
2870
+ class: K(a(s)),
2870
2871
  tabindex: a(n).tabindex,
2871
2872
  "aria-label": a(n).ariaLabel,
2872
2873
  "aria-labelledby": a(n).ariaLabelledby,
@@ -2881,7 +2882,7 @@ const Ql = /* @__PURE__ */ x({
2881
2882
  ]);
2882
2883
  };
2883
2884
  }
2884
- }), sa = /* @__PURE__ */ x({
2885
+ }), sa = /* @__PURE__ */ M({
2885
2886
  __name: "PrimeInputNumber",
2886
2887
  props: {
2887
2888
  context: Object
@@ -2894,13 +2895,13 @@ const Ql = /* @__PURE__ */ x({
2894
2895
  function s(o) {
2895
2896
  t == null || t.node.input(o.value);
2896
2897
  }
2897
- const r = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2898
+ const r = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2898
2899
  return (o, u) => {
2899
- const p = E("InputNumber");
2900
- return A(), O("div", null, [
2900
+ const p = R("InputNumber");
2901
+ return L(), A("div", null, [
2901
2902
  T(p, {
2902
2903
  modelValue: a(t)._value,
2903
- "onUpdate:modelValue": u[0] || (u[0] = (_) => a(t)._value = _),
2904
+ "onUpdate:modelValue": u[0] || (u[0] = (h) => a(t)._value = h),
2904
2905
  "input-id": a(t).id,
2905
2906
  disabled: a(n)._disabled ?? !1,
2906
2907
  readonly: a(n)._readonly ?? !1,
@@ -2934,7 +2935,7 @@ const Ql = /* @__PURE__ */ x({
2934
2935
  }, oa = {
2935
2936
  key: 1,
2936
2937
  class: "formkit-prime-right"
2937
- }, ua = /* @__PURE__ */ x({
2938
+ }, ua = /* @__PURE__ */ M({
2938
2939
  __name: "PrimeInputSwitch",
2939
2940
  props: {
2940
2941
  context: Object
@@ -2945,13 +2946,13 @@ const Ql = /* @__PURE__ */ x({
2945
2946
  var o;
2946
2947
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
2947
2948
  }
2948
- const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2949
+ const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2949
2950
  return (r, o) => {
2950
- const u = E("InputSwitch");
2951
- return A(), O("div", {
2952
- class: U(a(n).option_class)
2951
+ const u = R("InputSwitch");
2952
+ return L(), A("div", {
2953
+ class: K(a(n).option_class)
2953
2954
  }, [
2954
- a(t).attrs.labelLeft ? (A(), O("span", ra, ce(a(t).attrs.labelLeft), 1)) : oe("", !0),
2955
+ a(t).attrs.labelLeft ? (L(), A("span", ra, ce(a(t).attrs.labelLeft), 1)) : oe("", !0),
2955
2956
  T(u, {
2956
2957
  modelValue: a(t)._value,
2957
2958
  "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
@@ -2968,11 +2969,11 @@ const Ql = /* @__PURE__ */ x({
2968
2969
  pt: a(n).pt,
2969
2970
  onInput: l
2970
2971
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "true-value", "false-value", "pt"]),
2971
- a(t).attrs.labelRight ? (A(), O("span", oa, ce(a(t).attrs.labelRight), 1)) : oe("", !0)
2972
+ a(t).attrs.labelRight ? (L(), A("span", oa, ce(a(t).attrs.labelRight), 1)) : oe("", !0)
2972
2973
  ], 2);
2973
2974
  };
2974
2975
  }
2975
- }), fa = /* @__PURE__ */ x({
2976
+ }), fa = /* @__PURE__ */ M({
2976
2977
  __name: "PrimeInputText",
2977
2978
  props: {
2978
2979
  context: Object
@@ -2986,34 +2987,34 @@ const Ql = /* @__PURE__ */ x({
2986
2987
  return (t == null ? void 0 : t.iconRight) && (t == null ? void 0 : t.iconRight.length) > 0;
2987
2988
  }
2988
2989
  function r() {
2989
- let _ = "";
2990
- return l() && (_ = `${_}p-input-icon-left `), s() && (_ = `${_}p-input-icon-right `), _;
2990
+ let h = "";
2991
+ return l() && (h = `${h}p-input-icon-left `), s() && (h = `${h}p-input-icon-right `), h;
2991
2992
  }
2992
- function o(_) {
2993
- t == null || t.handlers.blur(_.target.value);
2993
+ function o(h) {
2994
+ t == null || t.handlers.blur(h.target.value);
2994
2995
  }
2995
- function u(_) {
2996
- t == null || t.node.input(_.target.value);
2996
+ function u(h) {
2997
+ t == null || t.node.input(h.target.value);
2997
2998
  }
2998
- const p = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2999
- return (_, V) => {
3000
- const J = E("InputText");
3001
- return A(), O("div", null, [
2999
+ const p = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3000
+ return (h, O) => {
3001
+ const w = R("InputText");
3002
+ return L(), A("div", null, [
3002
3003
  Bt("span", {
3003
- class: U(r())
3004
+ class: K(r())
3004
3005
  }, [
3005
- l() ? (A(), O("i", {
3006
+ l() ? (L(), A("i", {
3006
3007
  key: 0,
3007
- class: U(a(t).iconLeft)
3008
+ class: K(a(t).iconLeft)
3008
3009
  }, null, 2)) : oe("", !0),
3009
- T(J, {
3010
+ T(w, {
3010
3011
  id: a(t).id,
3011
3012
  modelValue: a(t)._value,
3012
- "onUpdate:modelValue": V[0] || (V[0] = (y) => a(t)._value = y),
3013
+ "onUpdate:modelValue": O[0] || (O[0] = ($) => a(t)._value = $),
3013
3014
  disabled: a(n)._disabled ?? !1,
3014
3015
  readonly: a(n)._readonly ?? !1,
3015
3016
  style: de(a(n).style),
3016
- class: U(a(p)),
3017
+ class: K(a(p)),
3017
3018
  tabindex: a(n).tabindex,
3018
3019
  "aria-label": a(n).ariaLabel,
3019
3020
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3022,15 +3023,15 @@ const Ql = /* @__PURE__ */ x({
3022
3023
  onInput: u,
3023
3024
  onBlur: o
3024
3025
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "pt"]),
3025
- s ? (A(), O("i", {
3026
+ s ? (L(), A("i", {
3026
3027
  key: 1,
3027
- class: U(a(t).iconRight)
3028
+ class: K(a(t).iconRight)
3028
3029
  }, null, 2)) : oe("", !0)
3029
3030
  ], 2)
3030
3031
  ]);
3031
3032
  };
3032
3033
  }
3033
- }), ca = /* @__PURE__ */ x({
3034
+ }), ca = /* @__PURE__ */ M({
3034
3035
  __name: "PrimeTextarea",
3035
3036
  props: {
3036
3037
  context: Object
@@ -3043,18 +3044,18 @@ const Ql = /* @__PURE__ */ x({
3043
3044
  function s(o) {
3044
3045
  t == null || t.node.input(o.target.value);
3045
3046
  }
3046
- const r = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3047
+ const r = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3047
3048
  return (o, u) => {
3048
- const p = E("Textarea");
3049
- return A(), O("div", null, [
3049
+ const p = R("Textarea");
3050
+ return L(), A("div", null, [
3050
3051
  T(p, {
3051
3052
  id: a(t).id,
3052
3053
  modelValue: a(t)._value,
3053
- "onUpdate:modelValue": u[0] || (u[0] = (_) => a(t)._value = _),
3054
+ "onUpdate:modelValue": u[0] || (u[0] = (h) => a(t)._value = h),
3054
3055
  disabled: a(n)._disabled ?? !1,
3055
3056
  readonly: a(n)._readonly ?? !1,
3056
3057
  style: de(a(n).style),
3057
- class: U(a(r)),
3058
+ class: K(a(r)),
3058
3059
  tabindex: a(n).tabindex,
3059
3060
  "aria-label": a(n).ariaLabel,
3060
3061
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3067,7 +3068,7 @@ const Ql = /* @__PURE__ */ x({
3067
3068
  ]);
3068
3069
  };
3069
3070
  }
3070
- }), pa = /* @__PURE__ */ x({
3071
+ }), pa = /* @__PURE__ */ M({
3071
3072
  __name: "PrimeKnob",
3072
3073
  props: {
3073
3074
  context: Object
@@ -3077,10 +3078,10 @@ const Ql = /* @__PURE__ */ x({
3077
3078
  function l(r) {
3078
3079
  t == null || t.node.input(r), t == null || t.handlers.blur(r);
3079
3080
  }
3080
- const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3081
+ const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3081
3082
  return (r, o) => {
3082
- const u = E("Knob");
3083
- return A(), O("div", null, [
3083
+ const u = R("Knob");
3084
+ return L(), A("div", null, [
3084
3085
  T(u, {
3085
3086
  id: a(t).id,
3086
3087
  modelValue: a(t)._value,
@@ -3088,7 +3089,7 @@ const Ql = /* @__PURE__ */ x({
3088
3089
  disabled: a(n)._disabled ?? !1,
3089
3090
  readonly: a(n)._readonly ?? !1,
3090
3091
  style: de(a(n).style),
3091
- class: U(a(s)),
3092
+ class: K(a(s)),
3092
3093
  tabindex: a(n).tabindex,
3093
3094
  "aria-label": a(n).ariaLabel,
3094
3095
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3108,7 +3109,7 @@ const Ql = /* @__PURE__ */ x({
3108
3109
  ]);
3109
3110
  };
3110
3111
  }
3111
- }), da = /* @__PURE__ */ x({
3112
+ }), da = /* @__PURE__ */ M({
3112
3113
  __name: "PrimeMultiSelect",
3113
3114
  props: {
3114
3115
  context: Object
@@ -3119,10 +3120,10 @@ const Ql = /* @__PURE__ */ x({
3119
3120
  var o;
3120
3121
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3121
3122
  }
3122
- const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3123
+ const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3123
3124
  return (r, o) => {
3124
- const u = E("MultiSelect");
3125
- return A(), O("div", null, [
3125
+ const u = R("MultiSelect");
3126
+ return L(), A("div", null, [
3126
3127
  T(u, {
3127
3128
  modelValue: a(t)._value,
3128
3129
  "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
@@ -3130,7 +3131,7 @@ const Ql = /* @__PURE__ */ x({
3130
3131
  disabled: a(n)._disabled ?? !1,
3131
3132
  readonly: a(n)._readonly ?? !1,
3132
3133
  "list-style": a(n).style,
3133
- class: U(a(s)),
3134
+ class: K(a(s)),
3134
3135
  tabindex: a(n).tabindex,
3135
3136
  "aria-label": a(n).ariaLabel,
3136
3137
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3144,7 +3145,7 @@ const Ql = /* @__PURE__ */ x({
3144
3145
  ]);
3145
3146
  };
3146
3147
  }
3147
- }), ma = /* @__PURE__ */ x({
3148
+ }), ma = /* @__PURE__ */ M({
3148
3149
  __name: "PrimeListbox",
3149
3150
  props: {
3150
3151
  context: Object
@@ -3155,19 +3156,19 @@ const Ql = /* @__PURE__ */ x({
3155
3156
  var o;
3156
3157
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3157
3158
  }
3158
- const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3159
+ const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3159
3160
  return (r, o) => {
3160
3161
  var p;
3161
- const u = E("Listbox");
3162
- return A(), O("div", null, [
3162
+ const u = R("Listbox");
3163
+ return L(), A("div", null, [
3163
3164
  T(u, {
3164
3165
  id: a(t).id,
3165
3166
  modelValue: a(t)._value,
3166
- "onUpdate:modelValue": o[0] || (o[0] = (_) => a(t)._value = _),
3167
+ "onUpdate:modelValue": o[0] || (o[0] = (h) => a(t)._value = h),
3167
3168
  disabled: a(n)._disabled ?? !1,
3168
3169
  readonly: a(n)._readonly ?? !1,
3169
3170
  "list-style": a(n).style,
3170
- class: U(a(s)),
3171
+ class: K(a(s)),
3171
3172
  tabindex: a(n).tabindex,
3172
3173
  "aria-label": a(n).ariaLabel,
3173
3174
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3188,7 +3189,7 @@ const Ql = /* @__PURE__ */ x({
3188
3189
  ]);
3189
3190
  };
3190
3191
  }
3191
- }), ba = /* @__PURE__ */ x({
3192
+ }), ba = /* @__PURE__ */ M({
3192
3193
  __name: "PrimePassword",
3193
3194
  props: {
3194
3195
  context: Object
@@ -3201,13 +3202,13 @@ const Ql = /* @__PURE__ */ x({
3201
3202
  function s(o) {
3202
3203
  t == null || t.node.input(o.target.value);
3203
3204
  }
3204
- const r = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3205
+ const r = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3205
3206
  return (o, u) => {
3206
- const p = E("Password");
3207
- return A(), O("div", null, [
3207
+ const p = R("Password");
3208
+ return L(), A("div", null, [
3208
3209
  T(p, {
3209
3210
  modelValue: a(t)._value,
3210
- "onUpdate:modelValue": u[0] || (u[0] = (_) => a(t)._value = _),
3211
+ "onUpdate:modelValue": u[0] || (u[0] = (h) => a(t)._value = h),
3211
3212
  "input-id": a(t).id,
3212
3213
  disabled: a(n)._disabled ?? !1,
3213
3214
  readonly: a(n)._readonly ?? !1,
@@ -3234,7 +3235,7 @@ const Ql = /* @__PURE__ */ x({
3234
3235
  ]);
3235
3236
  };
3236
3237
  }
3237
- }), ya = ["for"], va = /* @__PURE__ */ x({
3238
+ }), ya = ["for"], va = /* @__PURE__ */ M({
3238
3239
  __name: "PrimeRadioButton",
3239
3240
  props: {
3240
3241
  context: Object
@@ -3245,19 +3246,19 @@ const Ql = /* @__PURE__ */ x({
3245
3246
  var o;
3246
3247
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3247
3248
  }
3248
- const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3249
+ const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3249
3250
  return (r, o) => {
3250
- const u = E("RadioButton");
3251
- return A(), O("div", {
3252
- class: U(a(n).options_class)
3251
+ const u = R("RadioButton");
3252
+ return L(), A("div", {
3253
+ class: K(a(n).options_class)
3253
3254
  }, [
3254
- (A(!0), O(Sn, null, Vn(a(n).options, (p) => (A(), O("div", {
3255
+ (L(!0), A(Sn, null, Vn(a(n).options, (p) => (L(), A("div", {
3255
3256
  key: p.value,
3256
- class: U(a(n).option_class)
3257
+ class: K(a(n).option_class)
3257
3258
  }, [
3258
3259
  T(u, {
3259
3260
  modelValue: a(t)._value,
3260
- "onUpdate:modelValue": o[0] || (o[0] = (_) => a(t)._value = _),
3261
+ "onUpdate:modelValue": o[0] || (o[0] = (h) => a(t)._value = h),
3261
3262
  name: a(n).name,
3262
3263
  value: p.value,
3263
3264
  "input-style": a(n).style,
@@ -3273,7 +3274,7 @@ const Ql = /* @__PURE__ */ x({
3273
3274
  ], 2);
3274
3275
  };
3275
3276
  }
3276
- }), ha = /* @__PURE__ */ x({
3277
+ }), ha = /* @__PURE__ */ M({
3277
3278
  __name: "PrimeRating",
3278
3279
  props: {
3279
3280
  context: Object
@@ -3284,10 +3285,10 @@ const Ql = /* @__PURE__ */ x({
3284
3285
  var o;
3285
3286
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3286
3287
  }
3287
- const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3288
+ const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3288
3289
  return (r, o) => {
3289
- const u = E("Rating");
3290
- return A(), O("div", null, [
3290
+ const u = R("Rating");
3291
+ return L(), A("div", null, [
3291
3292
  T(u, {
3292
3293
  id: a(t).id,
3293
3294
  modelValue: a(t)._value,
@@ -3295,7 +3296,7 @@ const Ql = /* @__PURE__ */ x({
3295
3296
  disabled: a(n)._disabled ?? !1,
3296
3297
  readonly: a(n)._readonly ?? !1,
3297
3298
  style: de(a(n).style),
3298
- class: U(a(s)),
3299
+ class: K(a(s)),
3299
3300
  tabindex: a(n).tabindex,
3300
3301
  "aria-label": a(n).ariaLabel,
3301
3302
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3310,7 +3311,7 @@ const Ql = /* @__PURE__ */ x({
3310
3311
  ]);
3311
3312
  };
3312
3313
  }
3313
- }), _a = /* @__PURE__ */ x({
3314
+ }), _a = /* @__PURE__ */ M({
3314
3315
  __name: "PrimeSlider",
3315
3316
  props: {
3316
3317
  context: Object
@@ -3320,10 +3321,10 @@ const Ql = /* @__PURE__ */ x({
3320
3321
  function l(r) {
3321
3322
  t == null || t.node.input(r), t == null || t.handlers.blur(r);
3322
3323
  }
3323
- const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3324
+ const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3324
3325
  return (r, o) => {
3325
- const u = E("Slider");
3326
- return A(), O("div", null, [
3326
+ const u = R("Slider");
3327
+ return L(), A("div", null, [
3327
3328
  T(u, {
3328
3329
  id: a(t).id,
3329
3330
  modelValue: a(t)._value,
@@ -3331,7 +3332,7 @@ const Ql = /* @__PURE__ */ x({
3331
3332
  disabled: a(n)._disabled ?? !1,
3332
3333
  readonly: a(n)._readonly ?? !1,
3333
3334
  style: de(a(n).style),
3334
- class: U(a(s)),
3335
+ class: K(a(s)),
3335
3336
  tabindex: a(n).tabindex,
3336
3337
  "aria-label": a(n).ariaLabel,
3337
3338
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3346,7 +3347,7 @@ const Ql = /* @__PURE__ */ x({
3346
3347
  ]);
3347
3348
  };
3348
3349
  }
3349
- }), ga = /* @__PURE__ */ x({
3350
+ }), ga = /* @__PURE__ */ M({
3350
3351
  __name: "PrimeToggleButton",
3351
3352
  props: {
3352
3353
  context: Object
@@ -3357,10 +3358,10 @@ const Ql = /* @__PURE__ */ x({
3357
3358
  var o;
3358
3359
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3359
3360
  }
3360
- const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3361
+ const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3361
3362
  return (r, o) => {
3362
- const u = E("ToggleButton");
3363
- return A(), O("div", null, [
3363
+ const u = R("ToggleButton");
3364
+ return L(), A("div", null, [
3364
3365
  T(u, {
3365
3366
  modelValue: a(t)._value,
3366
3367
  "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
@@ -3383,7 +3384,7 @@ const Ql = /* @__PURE__ */ x({
3383
3384
  ]);
3384
3385
  };
3385
3386
  }
3386
- }), $a = /* @__PURE__ */ x({
3387
+ }), $a = /* @__PURE__ */ M({
3387
3388
  __name: "PrimeSelectButton",
3388
3389
  props: {
3389
3390
  context: Object
@@ -3394,10 +3395,10 @@ const Ql = /* @__PURE__ */ x({
3394
3395
  var o;
3395
3396
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3396
3397
  }
3397
- const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3398
+ const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3398
3399
  return (r, o) => {
3399
- const u = E("SelectButton");
3400
- return A(), O("div", null, [
3400
+ const u = R("SelectButton");
3401
+ return L(), A("div", null, [
3401
3402
  T(u, {
3402
3403
  id: a(t).id,
3403
3404
  modelValue: a(t)._value,
@@ -3405,7 +3406,7 @@ const Ql = /* @__PURE__ */ x({
3405
3406
  disabled: a(n)._disabled ?? !1,
3406
3407
  readonly: a(n)._readonly ?? !1,
3407
3408
  style: de(a(n).style),
3408
- class: U(a(s)),
3409
+ class: K(a(s)),
3409
3410
  tabindex: a(n).tabindex,
3410
3411
  "aria-label": a(n).ariaLabel,
3411
3412
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3428,7 +3429,7 @@ const Ql = /* @__PURE__ */ x({
3428
3429
  }, ka = {
3429
3430
  key: 1,
3430
3431
  class: "formkit-prime-right"
3431
- }, Ca = /* @__PURE__ */ x({
3432
+ }, Ca = /* @__PURE__ */ M({
3432
3433
  __name: "PrimeTriStateCheckbox",
3433
3434
  props: {
3434
3435
  context: Object
@@ -3439,11 +3440,11 @@ const Ql = /* @__PURE__ */ x({
3439
3440
  var o;
3440
3441
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3441
3442
  }
3442
- const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3443
+ const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3443
3444
  return (r, o) => {
3444
- const u = E("TriStateCheckbox");
3445
- return A(), O("div", null, [
3446
- a(t).attrs.labelLeft ? (A(), O("span", wa, ce(a(t).attrs.labelLeft), 1)) : oe("", !0),
3445
+ const u = R("TriStateCheckbox");
3446
+ return L(), A("div", null, [
3447
+ a(t).attrs.labelLeft ? (L(), A("span", wa, ce(a(t).attrs.labelLeft), 1)) : oe("", !0),
3447
3448
  T(u, {
3448
3449
  modelValue: a(t)._value,
3449
3450
  "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
@@ -3458,7 +3459,7 @@ const Ql = /* @__PURE__ */ x({
3458
3459
  pt: a(n).pt,
3459
3460
  onClick: l
3460
3461
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "pt"]),
3461
- a(t).attrs.labelRight ? (A(), O("span", ka, ce(a(t).attrs.labelRight), 1)) : oe("", !0)
3462
+ a(t).attrs.labelRight ? (L(), A("span", ka, ce(a(t).attrs.labelRight), 1)) : oe("", !0)
3462
3463
  ]);
3463
3464
  };
3464
3465
  }