@sfxcode/formkit-primevue 1.7.2 → 1.7.3

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 { markRaw as Lt, ref as T, nextTick as Va, reactive as $e, computed as d, triggerRef as ke, isRef as lt, isReactive as nt, watch as Sa, defineComponent as V, resolveComponent as S, openBlock as h, createElementBlock as _, createVNode as I, unref as r, normalizeClass as L, toDisplayString as se, createCommentVNode as Q, normalizeStyle as ee, createElementVNode as xt, Fragment as Ia, renderList as Oa } from "vue";
1
+ import { markRaw as Lt, ref as T, nextTick as Va, reactive as ke, computed as m, triggerRef as we, isRef as lt, isReactive as nt, watch as Sa, defineComponent as V, resolveComponent as S, openBlock as h, createElementBlock as _, createVNode as I, unref as r, normalizeClass as L, toDisplayString as se, createCommentVNode as Q, normalizeStyle as ee, createElementVNode as xt, Fragment as Ia, renderList as Oa } from "vue";
2
2
  var Mt = [
3
3
  "__key",
4
4
  "__init",
@@ -7,7 +7,7 @@ var Mt = [
7
7
  "__index",
8
8
  "__prevKey"
9
9
  ];
10
- function he() {
10
+ function _e() {
11
11
  return Math.random().toString(36).substring(2, 15);
12
12
  }
13
13
  function $(e, s) {
@@ -74,10 +74,10 @@ function La(e) {
74
74
  function He(e) {
75
75
  return Object.prototype.toString.call(e) === "[object Object]";
76
76
  }
77
- function Ce(e) {
77
+ function Ve(e) {
78
78
  return He(e) || Array.isArray(e);
79
79
  }
80
- function be(e) {
80
+ function ye(e) {
81
81
  if (He(e) === !1 || e.__FKNode__ || e.__POJO__ === !1)
82
82
  return !1;
83
83
  const s = e.constructor;
@@ -100,7 +100,7 @@ var X = /* @__NO_SIDE_EFFECTS__ */ (e, s, t = !1, a = !1) => {
100
100
  }
101
101
  if (s[l] === void 0)
102
102
  continue;
103
- be(e[l]) && be(s[l]) ? i[l] = /* @__PURE__ */ X(
103
+ ye(e[l]) && ye(s[l]) ? i[l] = /* @__PURE__ */ X(
104
104
  e[l],
105
105
  s[l],
106
106
  t,
@@ -127,16 +127,16 @@ function xa(e) {
127
127
  function ot(e, s = Mt) {
128
128
  if (e !== null && typeof e == "object") {
129
129
  let t;
130
- if (Array.isArray(e) ? t = [...e] : be(e) && (t = { ...e }), t)
130
+ if (Array.isArray(e) ? t = [...e] : ye(e) && (t = { ...e }), t)
131
131
  return Ma(e, t, s), t;
132
132
  }
133
133
  return e;
134
134
  }
135
- function oe(e, s = Mt) {
135
+ function ue(e, s = Mt) {
136
136
  if (e === null || e instanceof RegExp || e instanceof Date || e instanceof Map || e instanceof Set || typeof File == "function" && e instanceof File)
137
137
  return e;
138
138
  let t;
139
- Array.isArray(e) ? t = e.map((a) => typeof a == "object" ? oe(a, s) : a) : t = Object.keys(e).reduce((a, i) => (a[i] = typeof e[i] == "object" ? oe(e[i], s) : e[i], a), {});
139
+ Array.isArray(e) ? t = e.map((a) => typeof a == "object" ? ue(a, s) : a) : t = Object.keys(e).reduce((a, i) => (a[i] = typeof e[i] == "object" ? ue(e[i], s) : e[i], a), {});
140
140
  for (const a of s)
141
141
  a in e && Object.defineProperty(t, a, {
142
142
  enumerable: !1,
@@ -145,12 +145,12 @@ function oe(e, s = Mt) {
145
145
  return t;
146
146
  }
147
147
  function B(e) {
148
- return typeof e == "object" ? oe(e) : e;
148
+ return typeof e == "object" ? ue(e) : e;
149
149
  }
150
150
  function H(e) {
151
151
  return e !== void 0 && e !== "false" && e !== !1 ? !0 : void 0;
152
152
  }
153
- function ue(e) {
153
+ function pe(e) {
154
154
  return Object.isFrozen(e) ? e : Object.defineProperty(e, "__init", {
155
155
  enumerable: !1,
156
156
  value: !0
@@ -194,13 +194,13 @@ function Ra() {
194
194
  return a.flush = () => {
195
195
  e.clear(), s.clear(), t == null || t.clear();
196
196
  }, a.on = (i, l, o = "push") => {
197
- const [n, ...u] = i.split("."), p = l.receipt || he(), f = {
197
+ const [n, ...u] = i.split("."), c = l.receipt || _e(), p = {
198
198
  modifiers: u,
199
199
  event: n,
200
200
  listener: l,
201
- receipt: p
201
+ receipt: c
202
202
  };
203
- return e.has(n) ? e.get(n)[o](f) : e.set(n, [f]), s.has(p) ? s.get(p)[o](n) : s.set(p, [n]), p;
203
+ return e.has(n) ? e.get(n)[o](p) : e.set(n, [p]), s.has(c) ? s.get(c)[o](n) : s.set(c, [n]), c;
204
204
  }, a.off = (i) => {
205
205
  var l;
206
206
  s.has(i) && ((l = s.get(i)) == null || l.forEach((o) => {
@@ -229,7 +229,7 @@ function Da(e, s, t, a, i = !0, l) {
229
229
  }), e;
230
230
  }
231
231
  function Ea(e, s, t) {
232
- return je(e.parent) && e.parent._e(e.parent, t), e;
232
+ return Fe(e.parent) && e.parent._e(e.parent, t), e;
233
233
  }
234
234
  function ja(e, s, t, a, i) {
235
235
  return s._e.on(t, a, i);
@@ -248,13 +248,13 @@ et((e, s) => {
248
248
  function tt(e, s = {}) {
249
249
  et.dispatch({ code: e, data: s });
250
250
  }
251
- function ye(e, s = {}) {
251
+ function ve(e, s = {}) {
252
252
  throw Error(Xe.dispatch({ code: e, data: s }).message);
253
253
  }
254
254
  function Z(e, s) {
255
255
  const t = {
256
256
  blocking: !1,
257
- key: he(),
257
+ key: _e(),
258
258
  meta: {},
259
259
  type: "state",
260
260
  visible: !0,
@@ -325,13 +325,13 @@ function Ha(e, s) {
325
325
  const a = (o) => B(o.props.initial) || (o.type === "group" ? {} : o.type === "list" ? [] : void 0);
326
326
  t._e.pause(t);
327
327
  const i = B(s);
328
- return s && !D(s) && (t.props.initial = Ce(i) ? ue(i) : i, t.props._init = t.props.initial), t.input(a(t), !1), t.walk((o) => {
328
+ return s && !D(s) && (t.props.initial = Ve(i) ? pe(i) : i, t.props._init = t.props.initial), t.input(a(t), !1), t.walk((o) => {
329
329
  o.type === "list" && o.sync || o.input(a(o), !1);
330
330
  }), t.input(
331
331
  D(i) && i ? i : a(t),
332
332
  !1
333
- ), t.type !== "input" && s && !D(s) && Ce(s) && t.walk((o) => {
334
- o.props.initial = Ce(o.value) ? ue(o.value) : o.value, o.props._init = o.props.initial;
333
+ ), t.type !== "input" && s && !D(s) && Ve(s) && t.walk((o) => {
334
+ o.props.initial = Ve(o.value) ? pe(o.value) : o.value, o.props._init = o.props.initial;
335
335
  }), t._e.play(t), Ba(t), t.emit("reset", t), t;
336
336
  }
337
337
  tt(152, e);
@@ -345,47 +345,47 @@ var Ka = {
345
345
  function Za(e) {
346
346
  return e.type === "list" && Array.isArray(e._value);
347
347
  }
348
- function je(e) {
348
+ function Fe(e) {
349
349
  return e && typeof e == "object" && e.__FKNode__ === !0;
350
350
  }
351
- var Ve = (e, s, t) => {
352
- ye(102, [e, t]);
351
+ var Se = (e, s, t) => {
352
+ ve(102, [e, t]);
353
353
  };
354
- g(ms, Ve, !1), g(ls), g(is), g(ys, Ve, !1), g(vs), g(Ea), g(Is), g(as), g(!1), g(rs), g(ts), g(ss), g(Os), g(Xa), g(ds, fs, !1), g(Ja), g(us), g(Da), g(_s), g(ja), g(Fa), g(!1, ns), g(!1), g(os), g($s, Ve, !1), g(Vs), g(cs), g(Ss), g(Cs), g(ws), g(Nt), g(bs, !1, !1), g(ps);
354
+ g(ms, Se, !1), g(ls), g(is), g(ys, Se, !1), g(vs), g(Ea), g(Is), g(as), g(!1), g(rs), g(ts), g(ss), g(Os), g(Xa), g(ds, fs, !1), g(Ja), g(us), g(Da), g(_s), g(ja), g(Fa), g(!1, ns), g(!1), g(os), g($s, Se, !1), g(Vs), g(cs), g(Ss), g(Cs), g(ws), g(Nt), g(bs, !1, !1), g(ps);
355
355
  function g(e, s, t = !0) {
356
356
  return {
357
357
  get: e ? (a, i) => t ? (...l) => e(a, i, ...l) : e(a, i) : !1,
358
- set: s !== void 0 ? s : Ve.bind(null)
358
+ set: s !== void 0 ? s : Se.bind(null)
359
359
  };
360
360
  }
361
361
  var Ya = 0;
362
362
  function Ga(e) {
363
- return e.type === "group" ? ue(
363
+ return e.type === "group" ? pe(
364
364
  e.value && typeof e.value == "object" && !Array.isArray(e.value) ? e.value : {}
365
- ) : e.type === "list" ? ue(Array.isArray(e.value) ? e.value : []) : e.value;
365
+ ) : e.type === "list" ? pe(Array.isArray(e.value) ? e.value : []) : e.value;
366
366
  }
367
367
  function Ja(e, s, t, a = !0) {
368
368
  return s._value = Qa(e, e.hook.input.dispatch(t)), e.emit("input", s._value), e.isCreated && e.type === "input" && R(s._value, s.value) ? (e.emit("commitRaw", s.value), s.settled) : (s.isSettled && e.disturb(), a ? (s._tmo && clearTimeout(s._tmo), s._tmo = setTimeout(
369
- Oe,
369
+ Ae,
370
370
  e.props.delay,
371
371
  e,
372
372
  s
373
- )) : Oe(e, s), s.settled);
373
+ )) : Ae(e, s), s.settled);
374
374
  }
375
375
  function Qa(e, s) {
376
376
  switch (e.type) {
377
377
  case "input":
378
378
  break;
379
379
  case "group":
380
- (!s || typeof s != "object") && ye(107, [e, s]);
380
+ (!s || typeof s != "object") && ve(107, [e, s]);
381
381
  break;
382
382
  case "list":
383
- Array.isArray(s) || ye(108, [e, s]);
383
+ Array.isArray(s) || ve(108, [e, s]);
384
384
  break;
385
385
  }
386
386
  return s;
387
387
  }
388
- function Oe(e, s, t = !0, a = !0) {
388
+ function Ae(e, s, t = !0, a = !0) {
389
389
  s._value = s.value = e.hook.commit.dispatch(s._value), e.type !== "input" && a && e.hydrate(), e.emit("commitRaw", s.value), e.emit("commit", s.value), t && e.calm();
390
390
  }
391
391
  function Ft(e, { name: s, value: t, from: a }) {
@@ -407,8 +407,8 @@ function Xa(e, s) {
407
407
  return e.type === "list" && e.sync && es(e, s), s.children.forEach((a) => {
408
408
  if (typeof t == "object")
409
409
  if (a.name in t) {
410
- const i = a.type !== "input" || t[a.name] && typeof t[a.name] == "object" ? ue(t[a.name]) : t[a.name];
411
- if (!a.isSettled || !Ce(i) && R(i, a._value))
410
+ const i = a.type !== "input" || t[a.name] && typeof t[a.name] == "object" ? pe(t[a.name]) : t[a.name];
411
+ if (!a.isSettled || !Ve(i) && R(i, a._value))
412
412
  return;
413
413
  a.input(i, !1);
414
414
  } else
@@ -425,13 +425,13 @@ function es(e, s) {
425
425
  a.push(s.children[u]), i.delete(s.children[u]);
426
426
  else {
427
427
  a.push(null);
428
- const p = l.get(n) || [];
429
- p.push(u), l.set(n, p);
428
+ const c = l.get(n) || [];
429
+ c.push(u), l.set(n, c);
430
430
  }
431
431
  }), i.size && l.size && i.forEach((n) => {
432
432
  if (l.has(n._value)) {
433
- const u = l.get(n._value), p = u.shift();
434
- a[p] = n, i.delete(n), u.length || l.delete(n._value);
433
+ const u = l.get(n._value), c = u.shift();
434
+ a[c] = n, i.delete(n), u.length || l.delete(n._value);
435
435
  }
436
436
  });
437
437
  const o = [];
@@ -463,7 +463,7 @@ function ts(e, s) {
463
463
  function as(e, s, t) {
464
464
  var a;
465
465
  if (t !== void 0 && e.type !== "input")
466
- return Ft(s, t), Oe(e, s, !0, !1);
466
+ return Ft(s, t), Ae(e, s, !0, !1);
467
467
  s._d > 0 && s._d--, s._d === 0 && (s.isSettled = !0, e.emit("settled", !0, !1), e.parent && ((a = e.parent) == null || a.calm({ name: e.name, value: s.value })), s._resolve && s._resolve(s.value));
468
468
  }
469
469
  function ss(e, s) {
@@ -474,7 +474,7 @@ function ss(e, s) {
474
474
  }
475
475
  function rs(e, s, t) {
476
476
  s.type = t.type;
477
- const a = oe(t);
477
+ const a = ue(t);
478
478
  e.props.__propDefs = Tt(
479
479
  e.props.__propDefs ?? [],
480
480
  (a == null ? void 0 : a.props) || []
@@ -489,14 +489,14 @@ function is(e, s, t) {
489
489
  const o = { ...e.props.attrs };
490
490
  e.props._emit = !1;
491
491
  for (const u in o) {
492
- const p = Qe(u);
493
- a.includes(p) && (e.props[p] = o[u], delete o[u]);
492
+ const c = Qe(u);
493
+ a.includes(c) && (e.props[c] = o[u], delete o[u]);
494
494
  }
495
495
  Array.isArray(t) || a.forEach((u) => {
496
496
  "default" in t[u] && e.props[u] === void 0 && (e.props[u] = i[u]);
497
497
  });
498
498
  const n = B(s._value);
499
- e.props.initial = e.type !== "input" ? ue(n) : n, e.props._emit = !0, e.props.attrs = o;
499
+ e.props.initial = e.type !== "input" ? pe(n) : n, e.props._emit = !0, e.props.attrs = o;
500
500
  }
501
501
  const l = Tt(e.props.__propDefs ?? [], t);
502
502
  return e.props.definition && (e.props.definition.props = l), e.props.__propDefs = l, e.emit("added-props", t), e;
@@ -508,7 +508,7 @@ function Tt(e, s) {
508
508
  return Array.isArray(e) && Array.isArray(s) ? e.concat(s) : X(pt(e), pt(s));
509
509
  }
510
510
  function ls(e, s, t, a) {
511
- if (e.type === "input" && ye(100, e), t.parent && t.parent !== e && t.parent.remove(t), !s.children.includes(t)) {
511
+ if (e.type === "input" && ve(100, e), t.parent && t.parent !== e && t.parent.remove(t), !s.children.includes(t)) {
512
512
  if (a !== void 0 && e.type === "list") {
513
513
  const i = s.children[a];
514
514
  i && "__FKP" in i ? (t._c.uid = i.uid, s.children.splice(a, 1, t)) : s.children.splice(a, 0, t), Array.isArray(e.value) && e.value.length < s.children.length && e.disturb().calm({
@@ -525,10 +525,10 @@ function ls(e, s, t, a) {
525
525
  return e.remove(t), t.parent.add(t), e;
526
526
  } else
527
527
  t.use(e.plugins);
528
- return Oe(e, s, !1), e.ledger.merge(t), e.emit("child", t), e;
528
+ return Ae(e, s, !1), e.ledger.merge(t), e.emit("child", t), e;
529
529
  }
530
530
  function ns(e, s, t, a) {
531
- return je(a) ? (e.parent && e.parent !== a && e.parent.remove(e), s.parent = a, e.resetConfig(), a.children.includes(e) ? e.use(a.plugins) : a.add(e), !0) : a === null ? (s.parent = null, !0) : !1;
531
+ return Fe(a) ? (e.parent && e.parent !== a && e.parent.remove(e), s.parent = a, e.resetConfig(), a.children.includes(e) ? e.use(a.plugins) : a.add(e), !0) : a === null ? (s.parent = null, !0) : !1;
532
532
  }
533
533
  function os(e, s, t) {
534
534
  const a = s.children.indexOf(t);
@@ -563,7 +563,7 @@ function Nt(e, s, t, a = !0, i = !0) {
563
563
  return Array.isArray(t) || t instanceof Set ? (t.forEach((l) => Nt(e, s, l)), e) : (s.plugins.has(t) || (i && typeof t.library == "function" && t.library(e), a && t(e) !== !1 && (s.plugins.add(t), e.children.forEach((l) => l.use(t)))), e);
564
564
  }
565
565
  function fs(e, s, t, a) {
566
- if (je(e.parent)) {
566
+ if (Fe(e.parent)) {
567
567
  const i = e.parent.children, l = a >= i.length ? i.length - 1 : a < 0 ? 0 : a, o = i.indexOf(e);
568
568
  return o === -1 ? !1 : (i.splice(o, 1), i.splice(l, 0, e), e.parent.children = i, e.parent.type === "list" && e.parent.disturb().calm({ name: l, value: We, from: o }), !0);
569
569
  }
@@ -689,7 +689,7 @@ function Cs(e) {
689
689
  do {
690
690
  if (e.props.isForm === !0)
691
691
  break;
692
- e.parent || ye(106, s), e = e.parent;
692
+ e.parent || ve(106, s), e = e.parent;
693
693
  } while (e);
694
694
  e.props.id && qa(e.props.id, e.props.__root);
695
695
  }
@@ -740,11 +740,11 @@ function Ls(e) {
740
740
  function xs(e) {
741
741
  return !e || typeof e == "string" ? !1 : $(e, "if") && $(e, "then");
742
742
  }
743
- function Se(e, s, t) {
743
+ function Ie(e, s, t) {
744
744
  return t ? typeof t == "string" ? t.split(" ").reduce(
745
745
  (i, l) => Object.assign(i, { [l]: !0 }),
746
746
  {}
747
- ) : typeof t == "function" ? Se(
747
+ ) : typeof t == "function" ? Ie(
748
748
  e,
749
749
  s,
750
750
  t(s, e)
@@ -770,59 +770,59 @@ function Ue(e) {
770
770
  e[o] = !1, e[l] = !1;
771
771
  }), e;
772
772
  }
773
- var Ae = "1.5.9", zt = /* @__PURE__ */ new WeakSet();
774
- function ve(e, s) {
775
- const t = s || Object.assign(/* @__PURE__ */ new Map(), { active: !1 }), a = /* @__PURE__ */ new Map(), i = function(f) {
776
- var b;
777
- t.active && (t.has(e) || t.set(e, /* @__PURE__ */ new Set()), (b = t.get(e)) == null || b.add(f));
778
- }, l = function(f) {
779
- return new Proxy(f, {
780
- get(...b) {
781
- return typeof b[1] == "string" && i(`prop:${b[1]}`), Reflect.get(...b);
773
+ var Pe = "1.5.9", zt = /* @__PURE__ */ new WeakSet();
774
+ function he(e, s) {
775
+ const t = s || Object.assign(/* @__PURE__ */ new Map(), { active: !1 }), a = /* @__PURE__ */ new Map(), i = function(p) {
776
+ var d;
777
+ t.active && (t.has(e) || t.set(e, /* @__PURE__ */ new Set()), (d = t.get(e)) == null || d.add(p));
778
+ }, l = function(p) {
779
+ return new Proxy(p, {
780
+ get(...d) {
781
+ return typeof d[1] == "string" && i(`prop:${d[1]}`), Reflect.get(...d);
782
782
  }
783
783
  });
784
- }, o = function(f) {
785
- return new Proxy(f, {
786
- get(...b) {
787
- return b[1] === "value" ? (w) => (i(`count:${w}`), f.value(w)) : Reflect.get(...b);
784
+ }, o = function(p) {
785
+ return new Proxy(p, {
786
+ get(...d) {
787
+ return d[1] === "value" ? (k) => (i(`count:${k}`), p.value(k)) : Reflect.get(...d);
788
788
  }
789
789
  });
790
- }, n = function(f, b) {
791
- return je(f) ? ve(f, t) : (b === "value" && i("commit"), b === "_value" && i("input"), b === "props" ? l(f) : b === "ledger" ? o(f) : (b === "children" && (i("child"), i("childRemoved")), f));
790
+ }, n = function(p, d) {
791
+ return Fe(p) ? he(p, t) : (d === "value" && i("commit"), d === "_value" && i("input"), d === "props" ? l(p) : d === "ledger" ? o(p) : (d === "children" && (i("child"), i("childRemoved")), p));
792
792
  }, {
793
793
  proxy: u,
794
- revoke: p
794
+ revoke: c
795
795
  } = Proxy.revocable(e, {
796
- get(...f) {
797
- switch (f[1]) {
796
+ get(...p) {
797
+ switch (p[1]) {
798
798
  case "_node":
799
799
  return e;
800
800
  case "deps":
801
801
  return t;
802
802
  case "watch":
803
- return (w, P, q) => Bt(u, w, P, q);
803
+ return (k, A, q) => Bt(u, k, A, q);
804
804
  case "observe":
805
805
  return () => {
806
- const w = new Map(t);
807
- return t.clear(), t.active = !0, w;
806
+ const k = new Map(t);
807
+ return t.clear(), t.active = !0, k;
808
808
  };
809
809
  case "stopObserve":
810
810
  return () => {
811
- const w = new Map(t);
812
- return t.active = !1, w;
811
+ const k = new Map(t);
812
+ return t.active = !1, k;
813
813
  };
814
814
  case "receipts":
815
815
  return a;
816
816
  case "kill":
817
817
  return () => {
818
- qt(a), zt.add(f[2]), p();
818
+ qt(a), zt.add(p[2]), c();
819
819
  };
820
820
  }
821
- const b = Reflect.get(...f);
822
- return typeof b == "function" ? (...w) => {
823
- const P = b(...w);
824
- return n(P, f[1]);
825
- } : n(b, f[1]);
821
+ const d = Reflect.get(...p);
822
+ return typeof d == "function" ? (...k) => {
823
+ const A = d(...k);
824
+ return n(A, p[1]);
825
+ } : n(d, p[1]);
826
826
  }
827
827
  });
828
828
  return u;
@@ -1082,25 +1082,25 @@ var Ze = Z({
1082
1082
  });
1083
1083
  function Br(e = {}) {
1084
1084
  return function(t) {
1085
- let a = B(t.props.validationRules || {}), i = { ...e, ...a }, l = ve(t);
1086
- const o = { input: he(), rerun: null, isPassing: !0 };
1085
+ let a = B(t.props.validationRules || {}), i = { ...e, ...a }, l = he(t);
1086
+ const o = { input: _e(), rerun: null, isPassing: !0 };
1087
1087
  let n = B(t.props.validation);
1088
- t.on("prop:validation", ({ payload: p }) => u(p, a)), t.on(
1088
+ t.on("prop:validation", ({ payload: c }) => u(c, a)), t.on(
1089
1089
  "prop:validationRules",
1090
- ({ payload: p }) => u(n, p)
1090
+ ({ payload: c }) => u(n, c)
1091
1091
  );
1092
- function u(p, f) {
1093
- var b;
1094
- R(Object.keys(a || {}), Object.keys(f || {})) && R(n, p) || (a = B(f), n = B(p), i = { ...e, ...a }, qt(l.receipts), (b = t.props.parsedRules) == null || b.forEach((w) => {
1095
- var P;
1096
- w.messageObserver = (P = w.messageObserver) == null ? void 0 : P.kill();
1097
- }), t.store.filter(() => !1, "validation"), t.props.parsedRules = mt(p, i), l.kill(), l = ve(t), Ye(l, t.props.parsedRules, o));
1092
+ function u(c, p) {
1093
+ var d;
1094
+ R(Object.keys(a || {}), Object.keys(p || {})) && R(n, c) || (a = B(p), n = B(c), i = { ...e, ...a }, qt(l.receipts), (d = t.props.parsedRules) == null || d.forEach((k) => {
1095
+ var A;
1096
+ k.messageObserver = (A = k.messageObserver) == null ? void 0 : A.kill();
1097
+ }), t.store.filter(() => !1, "validation"), t.props.parsedRules = mt(c, i), l.kill(), l = he(t), Ye(l, t.props.parsedRules, o));
1098
1098
  }
1099
1099
  t.props.parsedRules = mt(n, i), Ye(l, t.props.parsedRules, o);
1100
1100
  };
1101
1101
  }
1102
1102
  function Ye(e, s, t) {
1103
- Kt(e) || (t.input = he(), t.isPassing = !0, e.store.filter((a) => !a.meta.removeImmediately, "validation"), s.forEach(
1103
+ Kt(e) || (t.input = _e(), t.isPassing = !0, e.store.filter((a) => !a.meta.removeImmediately, "validation"), s.forEach(
1104
1104
  (a) => a.debounce && clearTimeout(a.timer)
1105
1105
  ), s.length && (e.store.set(Ze), Ge(0, s, e, t, !1, () => {
1106
1106
  e.store.remove(Ze.key);
@@ -1112,12 +1112,12 @@ function Ge(e, s, t, a, i, l) {
1112
1112
  return l();
1113
1113
  const n = a.input;
1114
1114
  o.state = null;
1115
- function u(p, f) {
1116
- a.isPassing = a.isPassing && !!f, o.queued = !1;
1117
- const b = t.stopObserve();
1115
+ function u(c, p) {
1116
+ a.isPassing = a.isPassing && !!p, o.queued = !1;
1117
+ const d = t.stopObserve();
1118
1118
  Ut(
1119
1119
  t,
1120
- Ht(o.deps, b),
1120
+ Ht(o.deps, d),
1121
1121
  function() {
1122
1122
  try {
1123
1123
  t.store.set(Ze);
@@ -1133,17 +1133,17 @@ function Ge(e, s, t, a, i, l) {
1133
1133
  },
1134
1134
  "unshift"
1135
1135
  // We want these listeners to run before other events are emitted so the 'state.validating' will be reliable.
1136
- ), o.deps = b, a.input === n && (o.state = f, f === !1 ? Wr(t, o, i || p) : Kr(t, o), s.length > e + 1 ? Ge(
1136
+ ), o.deps = d, a.input === n && (o.state = p, p === !1 ? Wr(t, o, i || c) : Kr(t, o), s.length > e + 1 ? Ge(
1137
1137
  e + 1,
1138
1138
  s,
1139
1139
  t,
1140
1140
  a,
1141
- i || p,
1141
+ i || c,
1142
1142
  l
1143
1143
  ) : l());
1144
1144
  }
1145
- (!D(t.value) || !o.skipEmpty) && (a.isPassing || o.force) ? o.queued ? Hr(o, t, (p) => {
1146
- p instanceof Promise ? p.then((f) => u(!0, f)) : u(!1, p);
1145
+ (!D(t.value) || !o.skipEmpty) && (a.isPassing || o.force) ? o.queued ? Hr(o, t, (c) => {
1146
+ c instanceof Promise ? c.then((p) => u(!0, p)) : u(!1, c);
1147
1147
  }) : Ge(e + 1, s, t, a, i, l) : D(t.value) && o.skipEmpty && a.isPassing ? (t.observe(), t.value, u(!1, a.isPassing)) : u(!1, null);
1148
1148
  }
1149
1149
  function Hr(e, s, t) {
@@ -1156,7 +1156,7 @@ function Kr(e, s) {
1156
1156
  s.messageObserver && (s.messageObserver = s.messageObserver.kill()), $(e.store, t) && e.store.remove(t);
1157
1157
  }
1158
1158
  function Wr(e, s, t) {
1159
- Kt(e) || (s.messageObserver || (s.messageObserver = ve(e._node)), s.messageObserver.watch(
1159
+ Kt(e) || (s.messageObserver || (s.messageObserver = he(e._node)), s.messageObserver.watch(
1160
1160
  (a) => Yr(
1161
1161
  a,
1162
1162
  s
@@ -1220,7 +1220,7 @@ var Jt = "(?:[\\*+?()0-9]+)", Qt = "[a-zA-Z][a-zA-Z0-9_]+", Gr = new RegExp(
1220
1220
  name: ""
1221
1221
  };
1222
1222
  function mt(e, s) {
1223
- return e ? (typeof e == "string" ? ei(e) : oe(e)).reduce((a, i) => {
1223
+ return e ? (typeof e == "string" ? ei(e) : ue(e)).reduce((a, i) => {
1224
1224
  let l = i.shift();
1225
1225
  const o = {};
1226
1226
  if (typeof l == "string") {
@@ -1289,7 +1289,7 @@ function v(e) {
1289
1289
  function bt(e, s = "or") {
1290
1290
  return e.reduce((t, a, i) => (t += a, i <= e.length - 2 && e.length > 2 && (t += ", "), i === e.length - 2 && (t += `${e.length === 2 ? " " : ""}${s} `), t), "");
1291
1291
  }
1292
- function we(e) {
1292
+ function Ce(e) {
1293
1293
  const s = typeof e == "string" ? new Date(Date.parse(e)) : e;
1294
1294
  return s instanceof Date ? new Intl.DateTimeFormat(void 0, {
1295
1295
  dateStyle: "medium",
@@ -1398,7 +1398,7 @@ var ii = {
1398
1398
  * @see {@link https://formkit.com/essentials/validation#date-after}
1399
1399
  */
1400
1400
  date_after({ name: e, args: s }) {
1401
- return Array.isArray(s) && s.length ? `${v(e)} must be after ${we(s[0])}.` : `${v(e)} must be in the future.`;
1401
+ return Array.isArray(s) && s.length ? `${v(e)} must be after ${Ce(s[0])}.` : `${v(e)} must be in the future.`;
1402
1402
  },
1403
1403
  /**
1404
1404
  * The value is not a letter.
@@ -1497,7 +1497,7 @@ var ii = {
1497
1497
  * @see {@link https://formkit.com/essentials/validation#date-before}
1498
1498
  */
1499
1499
  date_before({ name: e, args: s }) {
1500
- return Array.isArray(s) && s.length ? `${v(e)} must be before ${we(s[0])}.` : `${v(e)} must be in the past.`;
1500
+ return Array.isArray(s) && s.length ? `${v(e)} must be before ${Ce(s[0])}.` : `${v(e)} must be in the past.`;
1501
1501
  },
1502
1502
  /**
1503
1503
  * The value is not between two numbers
@@ -1528,7 +1528,7 @@ var ii = {
1528
1528
  * @see {@link https://formkit.com/essentials/validation#date-between}
1529
1529
  */
1530
1530
  date_between({ name: e, args: s }) {
1531
- return `${v(e)} must be between ${we(s[0])} and ${we(s[1])}`;
1531
+ return `${v(e)} must be between ${Ce(s[0])} and ${Ce(s[1])}`;
1532
1532
  },
1533
1533
  /**
1534
1534
  * Shown when the user-provided value is not a valid email address.
@@ -1643,11 +1643,11 @@ function oi(e) {
1643
1643
  t.on("prop:locale", ({ payload: l }) => {
1644
1644
  a = vt(l, e), i = a ? e[a] : {}, t.store.touch();
1645
1645
  }), t.on("prop:label", () => t.store.touch()), t.on("prop:validationLabel", () => t.store.touch()), t.hook.text((l, o) => {
1646
- var u, p;
1646
+ var u, c;
1647
1647
  const n = ((u = l.meta) == null ? void 0 : u.messageKey) || l.key;
1648
1648
  if ($(i, l.type) && $(i[l.type], n)) {
1649
- const f = i[l.type][n];
1650
- typeof f == "function" ? l.value = Array.isArray((p = l.meta) == null ? void 0 : p.i18nArgs) ? f(...l.meta.i18nArgs) : f(l) : l.value = f;
1649
+ const p = i[l.type][n];
1650
+ typeof p == "function" ? l.value = Array.isArray((c = l.meta) == null ? void 0 : c.i18nArgs) ? p(...l.meta.i18nArgs) : p(l) : l.value = p;
1651
1651
  }
1652
1652
  return o(l);
1653
1653
  });
@@ -1674,7 +1674,7 @@ function ui(...e) {
1674
1674
  $(s, i) && a.define(s[i]);
1675
1675
  }, t;
1676
1676
  }
1677
- function Fe(e) {
1677
+ function Te(e) {
1678
1678
  return e && typeof e == "object" && "group" in e && Array.isArray(e.options);
1679
1679
  }
1680
1680
  function Xt(e, s = { count: 1 }) {
@@ -1704,7 +1704,7 @@ function re(e, s, t = !1) {
1704
1704
  if (Array.isArray(e)) {
1705
1705
  for (const a of e)
1706
1706
  if (!(typeof a != "object" && a)) {
1707
- if (Fe(a)) {
1707
+ if (Te(a)) {
1708
1708
  const i = re(a.options, s, !0);
1709
1709
  if (i !== void 0)
1710
1710
  return i;
@@ -1714,8 +1714,8 @@ function re(e, s, t = !1) {
1714
1714
  }
1715
1715
  return t ? void 0 : s;
1716
1716
  }
1717
- function pe(e, s) {
1718
- return e === null && s === void 0 || e === void 0 && s === null ? !1 : e == s ? !0 : be(e) && be(s) ? R(e, s) : !1;
1717
+ function ce(e, s) {
1718
+ return e === null && s === void 0 || e === void 0 && s === null ? !1 : e == s ? !0 : ye(e) && ye(s) ? R(e, s) : !1;
1719
1719
  }
1720
1720
  function at(e) {
1721
1721
  e.hook.prop((s, t) => {
@@ -1724,7 +1724,7 @@ function at(e) {
1724
1724
  });
1725
1725
  }
1726
1726
  // @__NO_SIDE_EFFECTS__
1727
- function m(e, s, t = !1) {
1727
+ function b(e, s, t = !1) {
1728
1728
  return (...a) => {
1729
1729
  const i = (l) => {
1730
1730
  const o = !s || typeof s == "string" ? { $el: s } : s();
@@ -1738,7 +1738,7 @@ function m(e, s, t = !1) {
1738
1738
  })), {
1739
1739
  if: `$slots.${e}`,
1740
1740
  then: `$slots.${e}`,
1741
- else: e in l ? /* @__PURE__ */ de(o, l[e]) : o
1741
+ else: e in l ? /* @__PURE__ */ me(o, l[e]) : o
1742
1742
  };
1743
1743
  };
1744
1744
  return i._s = e, t ? /* @__PURE__ */ pi(i) : i;
@@ -1748,17 +1748,17 @@ function m(e, s, t = !1) {
1748
1748
  function pi(e) {
1749
1749
  return (s) => [e(s)];
1750
1750
  }
1751
- function Pe(e) {
1751
+ function Le(e) {
1752
1752
  return !!(e && typeof e == "object" && ("$el" in e || "$cmp" in e || "$formkit" in e));
1753
1753
  }
1754
1754
  // @__NO_SIDE_EFFECTS__
1755
- function de(e, s = {}) {
1756
- return typeof e == "string" ? Pe(s) || typeof s == "string" ? s : e : Array.isArray(e) ? Pe(s) ? s : e : X(e, s);
1755
+ function me(e, s = {}) {
1756
+ return typeof e == "string" ? Le(s) || typeof s == "string" ? s : e : Array.isArray(e) ? Le(s) ? s : e : X(e, s);
1757
1757
  }
1758
- var ci = /* @__PURE__ */ m("actions", () => ({
1758
+ var ci = /* @__PURE__ */ b("actions", () => ({
1759
1759
  $el: "div",
1760
1760
  if: "$actions"
1761
- })), Le = /* @__PURE__ */ m("input", () => ({
1761
+ })), xe = /* @__PURE__ */ b("input", () => ({
1762
1762
  $el: "input",
1763
1763
  bind: "$attrs",
1764
1764
  attrs: {
@@ -1784,19 +1784,19 @@ var ci = /* @__PURE__ */ m("actions", () => ({
1784
1784
  }
1785
1785
  }
1786
1786
  }
1787
- })), ea = /* @__PURE__ */ m("optionHelp", () => ({
1787
+ })), ea = /* @__PURE__ */ b("optionHelp", () => ({
1788
1788
  $el: "div",
1789
1789
  if: "$option.help",
1790
1790
  attrs: {
1791
1791
  id: '$: "help-" + $option.attrs.id'
1792
1792
  }
1793
- })), xe = /* @__PURE__ */ m("inner", "span"), Me = /* @__PURE__ */ m("label", "span"), ta = /* @__PURE__ */ m("option", () => ({
1793
+ })), Me = /* @__PURE__ */ b("inner", "span"), Re = /* @__PURE__ */ b("label", "span"), ta = /* @__PURE__ */ b("option", () => ({
1794
1794
  $el: "li",
1795
1795
  for: ["option", "$options"],
1796
1796
  attrs: {
1797
1797
  "data-disabled": "$option.attrs.disabled || $disabled || undefined"
1798
1798
  }
1799
- })), aa = /* @__PURE__ */ m("options", "ul"), Re = /* @__PURE__ */ m("wrapper", () => ({
1799
+ })), aa = /* @__PURE__ */ b("options", "ul"), De = /* @__PURE__ */ b("wrapper", () => ({
1800
1800
  $el: "label",
1801
1801
  attrs: {
1802
1802
  "data-disabled": {
@@ -1810,7 +1810,7 @@ var ci = /* @__PURE__ */ m("actions", () => ({
1810
1810
  else: "$fns.isChecked($option.value) || undefined"
1811
1811
  }
1812
1812
  }
1813
- })), fi = /* @__PURE__ */ m("input", () => ({
1813
+ })), fi = /* @__PURE__ */ b("input", () => ({
1814
1814
  $el: "button",
1815
1815
  bind: "$attrs",
1816
1816
  attrs: {
@@ -1819,12 +1819,12 @@ var ci = /* @__PURE__ */ m("actions", () => ({
1819
1819
  name: "$node.name",
1820
1820
  id: "$id"
1821
1821
  }
1822
- })), di = /* @__PURE__ */ m("default", null), De = /* @__PURE__ */ m("decorator", () => ({
1822
+ })), di = /* @__PURE__ */ b("default", null), Ee = /* @__PURE__ */ b("decorator", () => ({
1823
1823
  $el: "span",
1824
1824
  attrs: {
1825
1825
  "aria-hidden": "true"
1826
1826
  }
1827
- })), sa = /* @__PURE__ */ m("fieldset", () => ({
1827
+ })), sa = /* @__PURE__ */ b("fieldset", () => ({
1828
1828
  $el: "fieldset",
1829
1829
  attrs: {
1830
1830
  id: "$id",
@@ -1834,7 +1834,7 @@ var ci = /* @__PURE__ */ m("actions", () => ({
1834
1834
  else: void 0
1835
1835
  }
1836
1836
  }
1837
- })), mi = /* @__PURE__ */ m("input", () => ({
1837
+ })), mi = /* @__PURE__ */ b("input", () => ({
1838
1838
  $el: "input",
1839
1839
  bind: "$attrs",
1840
1840
  attrs: {
@@ -1847,27 +1847,27 @@ var ci = /* @__PURE__ */ m("actions", () => ({
1847
1847
  "aria-describedby": "$describedBy",
1848
1848
  "aria-required": "$state.required || undefined"
1849
1849
  }
1850
- })), bi = /* @__PURE__ */ m("fileItem", () => ({
1850
+ })), bi = /* @__PURE__ */ b("fileItem", () => ({
1851
1851
  $el: "li",
1852
1852
  for: ["file", "$value"]
1853
- })), yi = /* @__PURE__ */ m("fileList", () => ({
1853
+ })), yi = /* @__PURE__ */ b("fileList", () => ({
1854
1854
  $el: "ul",
1855
1855
  if: "$value.length",
1856
1856
  attrs: {
1857
1857
  "data-has-multiple": "$_hasMultipleFiles"
1858
1858
  }
1859
- })), vi = /* @__PURE__ */ m("fileName", () => ({
1859
+ })), vi = /* @__PURE__ */ b("fileName", () => ({
1860
1860
  $el: "span",
1861
1861
  attrs: {
1862
1862
  class: "$classes.fileName"
1863
1863
  }
1864
- })), ht = /* @__PURE__ */ m("fileRemove", () => ({
1864
+ })), ht = /* @__PURE__ */ b("fileRemove", () => ({
1865
1865
  $el: "button",
1866
1866
  attrs: {
1867
1867
  type: "button",
1868
1868
  onClick: "$handlers.resetFiles"
1869
1869
  }
1870
- })), hi = /* @__PURE__ */ m("form", () => ({
1870
+ })), hi = /* @__PURE__ */ b("form", () => ({
1871
1871
  $el: "form",
1872
1872
  bind: "$attrs",
1873
1873
  attrs: {
@@ -1876,13 +1876,13 @@ var ci = /* @__PURE__ */ m("actions", () => ({
1876
1876
  onSubmit: "$handlers.submit",
1877
1877
  "data-loading": "$state.loading || undefined"
1878
1878
  }
1879
- })), st = /* @__PURE__ */ m("wrapper", null, !0), N = /* @__PURE__ */ m("help", () => ({
1879
+ })), st = /* @__PURE__ */ b("wrapper", null, !0), N = /* @__PURE__ */ b("help", () => ({
1880
1880
  $el: "div",
1881
1881
  if: "$help",
1882
1882
  attrs: {
1883
1883
  id: '$: "help-" + $id'
1884
1884
  }
1885
- })), A = (e, s) => (/* @__PURE__ */ m(`${e}Icon`, () => {
1885
+ })), P = (e, s) => (/* @__PURE__ */ b(`${e}Icon`, () => {
1886
1886
  const t = `_raw${e.charAt(0).toUpperCase()}${e.slice(1)}Icon`;
1887
1887
  return {
1888
1888
  if: `$${e}Icon && $${t}`,
@@ -1897,16 +1897,16 @@ var ci = /* @__PURE__ */ m("actions", () => ({
1897
1897
  }
1898
1898
  }
1899
1899
  };
1900
- }))(), _e = /* @__PURE__ */ m("inner", "div"), ge = /* @__PURE__ */ m("label", () => ({
1900
+ }))(), ge = /* @__PURE__ */ b("inner", "div"), $e = /* @__PURE__ */ b("label", () => ({
1901
1901
  $el: "label",
1902
1902
  if: "$label",
1903
1903
  attrs: {
1904
1904
  for: "$id"
1905
1905
  }
1906
- })), ra = /* @__PURE__ */ m("legend", () => ({
1906
+ })), ra = /* @__PURE__ */ b("legend", () => ({
1907
1907
  $el: "legend",
1908
1908
  if: "$label"
1909
- })), Y = /* @__PURE__ */ m("message", () => ({
1909
+ })), Y = /* @__PURE__ */ b("message", () => ({
1910
1910
  $el: "li",
1911
1911
  for: ["message", "$messages"],
1912
1912
  attrs: {
@@ -1914,19 +1914,19 @@ var ci = /* @__PURE__ */ m("actions", () => ({
1914
1914
  id: "$id + '-' + $message.key",
1915
1915
  "data-message-type": "$message.type"
1916
1916
  }
1917
- })), G = /* @__PURE__ */ m("messages", () => ({
1917
+ })), G = /* @__PURE__ */ b("messages", () => ({
1918
1918
  $el: "ul",
1919
1919
  if: "$defaultMessagePlacement && $fns.length($messages)"
1920
- })), _i = /* @__PURE__ */ m("noFiles", () => ({
1920
+ })), _i = /* @__PURE__ */ b("noFiles", () => ({
1921
1921
  $el: "span",
1922
1922
  if: "$value.length == 0"
1923
- })), gi = /* @__PURE__ */ m("optGroup", () => ({
1923
+ })), gi = /* @__PURE__ */ b("optGroup", () => ({
1924
1924
  $el: "optgroup",
1925
1925
  bind: "$option.attrs",
1926
1926
  attrs: {
1927
1927
  label: "$option.group"
1928
1928
  }
1929
- })), _t = /* @__PURE__ */ m("option", () => ({
1929
+ })), _t = /* @__PURE__ */ b("option", () => ({
1930
1930
  $el: "option",
1931
1931
  bind: "$option.attrs",
1932
1932
  attrs: {
@@ -1934,11 +1934,11 @@ var ci = /* @__PURE__ */ m("actions", () => ({
1934
1934
  value: "$option.value",
1935
1935
  selected: "$fns.isSelected($option)"
1936
1936
  }
1937
- })), gt = /* @__PURE__ */ m("options", () => ({
1937
+ })), gt = /* @__PURE__ */ b("options", () => ({
1938
1938
  $el: null,
1939
1939
  if: "$options.length",
1940
1940
  for: ["option", "$option.options || $options"]
1941
- })), te = /* @__PURE__ */ m("outer", () => ({
1941
+ })), te = /* @__PURE__ */ b("outer", () => ({
1942
1942
  $el: "div",
1943
1943
  attrs: {
1944
1944
  key: "$id",
@@ -1957,7 +1957,7 @@ var ci = /* @__PURE__ */ m("actions", () => ({
1957
1957
  "data-prefix-icon-click": "$onPrefixIconClick !== undefined || undefined",
1958
1958
  "data-suffix-icon-click": "$onSuffixIconClick !== undefined || undefined"
1959
1959
  }
1960
- })), z = /* @__PURE__ */ m("prefix", null), $i = /* @__PURE__ */ m("input", () => ({
1960
+ })), z = /* @__PURE__ */ b("prefix", null), $i = /* @__PURE__ */ b("input", () => ({
1961
1961
  $el: "select",
1962
1962
  bind: "$attrs",
1963
1963
  attrs: {
@@ -1972,14 +1972,14 @@ var ci = /* @__PURE__ */ m("actions", () => ({
1972
1972
  "aria-describedby": "$describedBy",
1973
1973
  "aria-required": "$state.required || undefined"
1974
1974
  }
1975
- })), ki = /* @__PURE__ */ m("submit", () => ({
1975
+ })), ki = /* @__PURE__ */ b("submit", () => ({
1976
1976
  $cmp: "FormKit",
1977
1977
  bind: "$submitAttrs",
1978
1978
  props: {
1979
1979
  type: "submit",
1980
1980
  label: "$submitLabel"
1981
1981
  }
1982
- })), U = /* @__PURE__ */ m("suffix", null), ia = /* @__PURE__ */ m("input", () => ({
1982
+ })), U = /* @__PURE__ */ b("suffix", null), ia = /* @__PURE__ */ b("input", () => ({
1983
1983
  $el: "input",
1984
1984
  bind: "$attrs",
1985
1985
  attrs: {
@@ -1993,7 +1993,7 @@ var ci = /* @__PURE__ */ m("actions", () => ({
1993
1993
  "aria-describedby": "$describedBy",
1994
1994
  "aria-required": "$state.required || undefined"
1995
1995
  }
1996
- })), wi = /* @__PURE__ */ m("input", () => ({
1996
+ })), wi = /* @__PURE__ */ b("input", () => ({
1997
1997
  $el: "textarea",
1998
1998
  bind: "$attrs",
1999
1999
  attrs: {
@@ -2007,7 +2007,7 @@ var ci = /* @__PURE__ */ m("actions", () => ({
2007
2007
  "aria-required": "$state.required || undefined"
2008
2008
  },
2009
2009
  children: "$initialValue"
2010
- })), ce = /* @__PURE__ */ m("wrapper", "div");
2010
+ })), fe = /* @__PURE__ */ b("wrapper", "div");
2011
2011
  function la(e) {
2012
2012
  return function(s, t) {
2013
2013
  return s.prop === "options" && Array.isArray(s.value) && (s.value = s.value.map((a) => {
@@ -2026,9 +2026,9 @@ function Ci(e, s) {
2026
2026
  const t = s.target;
2027
2027
  if (t instanceof HTMLInputElement) {
2028
2028
  const a = Array.isArray(e.props.options) ? re(e.props.options, t.value) : t.value;
2029
- Array.isArray(e.props.options) && e.props.options.length ? Array.isArray(e._value) ? e._value.some((i) => pe(a, i)) ? e.input(
2029
+ Array.isArray(e.props.options) && e.props.options.length ? Array.isArray(e._value) ? e._value.some((i) => ce(a, i)) ? e.input(
2030
2030
  e._value.filter(
2031
- (i) => !pe(a, i)
2031
+ (i) => !ce(a, i)
2032
2032
  )
2033
2033
  ) : e.input([...e._value, a]) : e.input([a]) : t.checked ? e.input(e.props.onValue) : e.input(e.props.offValue);
2034
2034
  }
@@ -2036,7 +2036,7 @@ function Ci(e, s) {
2036
2036
  function Vi(e, s) {
2037
2037
  var t, a;
2038
2038
  return (t = e.context) == null || t.value, (a = e.context) == null || a._value, Array.isArray(e._value) ? e._value.some(
2039
- (i) => pe(re(e.props.options, s), i)
2039
+ (i) => ce(re(e.props.options, s), i)
2040
2040
  ) : !1;
2041
2041
  }
2042
2042
  function Si(e) {
@@ -2045,7 +2045,7 @@ function Si(e) {
2045
2045
  (s = e.context) != null && s.handlers && (e.context.handlers.toggleChecked = Ci.bind(null, e)), (t = e.context) != null && t.fns && (e.context.fns.isChecked = Vi.bind(null, e)), $(e.props, "onValue") || (e.props.onValue = !0), $(e.props, "offValue") || (e.props.offValue = !1);
2046
2046
  }), e.hook.prop(la(e));
2047
2047
  }
2048
- function le(e, s) {
2048
+ function ne(e, s) {
2049
2049
  return (t) => {
2050
2050
  t.props[`${e}Icon`] === void 0 && (t.props[`${e}Icon`] = s.startsWith("<svg") ? s : `default:${s}`);
2051
2051
  };
@@ -2057,7 +2057,7 @@ function rt(e) {
2057
2057
  e.config.disabled = H(s);
2058
2058
  });
2059
2059
  }
2060
- function Ie(e, s) {
2060
+ function Oe(e, s) {
2061
2061
  return (t) => {
2062
2062
  t.store.set(
2063
2063
  Z({
@@ -2080,7 +2080,7 @@ function $t(e, s) {
2080
2080
  s.target instanceof HTMLInputElement ? e === "dragover" && s.target.setAttribute("data-file-hover", "true") : s.preventDefault(), e === "drop" && na(s);
2081
2081
  }
2082
2082
  function Ii(e) {
2083
- Ie("noFiles", "Select file")(e), Ie("removeAll", "Remove all")(e), Ie("remove")(e), e.addProps(["_hasMultipleFiles"]), qe && (window._FormKit_File_Drop || (window.addEventListener(
2083
+ Oe("noFiles", "Select file")(e), Oe("removeAll", "Remove all")(e), Oe("remove")(e), e.addProps(["_hasMultipleFiles"]), qe && (window._FormKit_File_Drop || (window.addEventListener(
2084
2084
  "dragover",
2085
2085
  $t.bind(null, "dragover")
2086
2086
  ), window.addEventListener("drop", $t.bind(null, "drop")), window.addEventListener("dragleave", na), window._FormKit_File_Drop = !0)), e.hook.input((s, t) => t(Array.isArray(s) ? s : [])), e.on("input", ({ payload: s }) => {
@@ -2130,7 +2130,7 @@ async function Oi(e, s) {
2130
2130
  typeof e.props.onSubmitInvalid == "function" && e.props.onSubmitInvalid(e), e.props.incompleteMessage !== !1 && oa(e);
2131
2131
  else if (typeof e.props.onSubmit == "function") {
2132
2132
  const i = e.props.onSubmit(
2133
- e.hook.submit.dispatch(oe(e.value)),
2133
+ e.hook.submit.dispatch(ue(e.value)),
2134
2134
  e
2135
2135
  );
2136
2136
  if (i instanceof Promise) {
@@ -2192,7 +2192,7 @@ function xi(e, s) {
2192
2192
  }
2193
2193
  function Mi(e, s) {
2194
2194
  var t, a;
2195
- return (t = e.context) == null || t.value, (a = e.context) == null || a._value, pe(re(e.props.options, s), e._value);
2195
+ return (t = e.context) == null || t.value, (a = e.context) == null || a._value, ce(re(e.props.options, s), e._value);
2196
2196
  }
2197
2197
  function Ri(e) {
2198
2198
  e.on("created", () => {
@@ -2211,14 +2211,14 @@ function Ei(e) {
2211
2211
  e.props.type === "radio" && (e.addProps(["altName"]), e.props.altName = `${e.name}_${Di++}`);
2212
2212
  }
2213
2213
  function ji(e, s) {
2214
- if (Fe(s))
2214
+ if (Te(s))
2215
2215
  return !1;
2216
2216
  e.context && e.context.value;
2217
2217
  const t = "__original" in s ? s.__original : s.value;
2218
- return Array.isArray(e._value) ? e._value.some((a) => pe(a, t)) : (e._value === void 0 || e._value === null && !ca(e.props.options, null)) && s.attrs && s.attrs["data-is-placeholder"] ? !0 : pe(t, e._value);
2218
+ return Array.isArray(e._value) ? e._value.some((a) => ce(a, t)) : (e._value === void 0 || e._value === null && !ca(e.props.options, null)) && s.attrs && s.attrs["data-is-placeholder"] ? !0 : ce(t, e._value);
2219
2219
  }
2220
2220
  function ca(e, s) {
2221
- return e.some((t) => Fe(t) ? ca(t.options, s) : ("__original" in t ? t.__original : t.value) === s);
2221
+ return e.some((t) => Te(t) ? ca(t.options, s) : ("__original" in t ? t.__original : t.value) === s);
2222
2222
  }
2223
2223
  async function Fi(e, s) {
2224
2224
  var t;
@@ -2249,7 +2249,7 @@ function wt(e, s) {
2249
2249
  function fa(e) {
2250
2250
  const s = e.length > 0 ? e[0] : void 0;
2251
2251
  if (s)
2252
- return Fe(s) ? fa(s.options) : "__original" in s ? s.__original : s.value;
2252
+ return Te(s) ? fa(s.options) : "__original" in s ? s.__original : s.value;
2253
2253
  }
2254
2254
  function Ni(e) {
2255
2255
  e.on("created", () => {
@@ -2271,8 +2271,8 @@ function Ni(e) {
2271
2271
  (u) => {
2272
2272
  if (u.attrs && "data-is-placeholder" in u.attrs)
2273
2273
  return !1;
2274
- const p = "__original" in u ? u.__original : u.value;
2275
- return R(l, p);
2274
+ const c = "__original" in u ? u.__original : u.value;
2275
+ return R(l, c);
2276
2276
  }
2277
2277
  );
2278
2278
  return o && !n ? !0 : void 0;
@@ -2289,9 +2289,9 @@ function Je(e) {
2289
2289
  // @__NO_SIDE_EFFECTS__
2290
2290
  function zi(e, s = {}) {
2291
2291
  const t = te(
2292
- ce(
2293
- ge("$label"),
2294
- _e(A("prefix"), z(), e(), U(), A("suffix"))
2292
+ fe(
2293
+ $e("$label"),
2294
+ ge(P("prefix"), z(), e(), U(), P("suffix"))
2295
2295
  ),
2296
2296
  N("$help"),
2297
2297
  G(Y("$message.value"))
@@ -2302,27 +2302,27 @@ function zi(e, s = {}) {
2302
2302
  function K(e, s, t) {
2303
2303
  const a = (i) => {
2304
2304
  const l = s(i);
2305
- if (t || Pe(l) && "if" in l || /* @__PURE__ */ Je(l)) {
2305
+ if (t || Le(l) && "if" in l || /* @__PURE__ */ Je(l)) {
2306
2306
  const o = {
2307
2307
  if: e,
2308
2308
  then: l
2309
2309
  };
2310
2310
  return t && (o.else = t(i)), o;
2311
2311
  } else
2312
- /* @__PURE__ */ Je(l) ? Object.assign(l.else, { if: e }) : Pe(l) && Object.assign(l, { if: e });
2312
+ /* @__PURE__ */ Je(l) ? Object.assign(l.else, { if: e }) : Le(l) && Object.assign(l, { if: e });
2313
2313
  return l;
2314
2314
  };
2315
- return a._s = he(), a;
2315
+ return a._s = _e(), a;
2316
2316
  }
2317
2317
  // @__NO_SIDE_EFFECTS__
2318
- function ne(e, s) {
2318
+ function oe(e, s) {
2319
2319
  const t = (a) => {
2320
2320
  const i = e({});
2321
- return /* @__PURE__ */ Je(i) ? (Array.isArray(i.else) || (i.else = /* @__PURE__ */ de(
2322
- /* @__PURE__ */ de(i.else, s),
2321
+ return /* @__PURE__ */ Je(i) ? (Array.isArray(i.else) || (i.else = /* @__PURE__ */ me(
2322
+ /* @__PURE__ */ me(i.else, s),
2323
2323
  e._s ? a[e._s] : {}
2324
- )), i) : /* @__PURE__ */ de(
2325
- /* @__PURE__ */ de(i, s),
2324
+ )), i) : /* @__PURE__ */ me(
2325
+ /* @__PURE__ */ me(i, s),
2326
2326
  e._s ? a[e._s] : {}
2327
2327
  );
2328
2328
  };
@@ -2334,13 +2334,13 @@ var Ct = {
2334
2334
  */
2335
2335
  schema: te(
2336
2336
  G(Y("$message.value")),
2337
- ce(
2337
+ fe(
2338
2338
  fi(
2339
- A("prefix"),
2339
+ P("prefix"),
2340
2340
  z(),
2341
2341
  di("$label || $ui.submit.value"),
2342
2342
  U(),
2343
- A("suffix")
2343
+ P("suffix")
2344
2344
  )
2345
2345
  ),
2346
2346
  N("$help")
@@ -2361,7 +2361,7 @@ var Ct = {
2361
2361
  /**
2362
2362
  * Additional features that should be added to your input
2363
2363
  */
2364
- features: [Ie("submit"), Pi],
2364
+ features: [Oe("submit"), Pi],
2365
2365
  /**
2366
2366
  * A key to use for memoizing the schema. This is used to prevent the schema
2367
2367
  * from needing to be stringified when performing a memo lookup.
@@ -2377,9 +2377,9 @@ var Ct = {
2377
2377
  /**
2378
2378
  * Single checkbox structure.
2379
2379
  */
2380
- Re(
2381
- xe(z(), Le(), De(A("decorator")), U()),
2382
- /* @__PURE__ */ ne(Me("$label"), {
2380
+ De(
2381
+ Me(z(), xe(), Ee(P("decorator")), U()),
2382
+ /* @__PURE__ */ oe(Re("$label"), {
2383
2383
  if: "$label"
2384
2384
  })
2385
2385
  ),
@@ -2391,10 +2391,10 @@ var Ct = {
2391
2391
  N("$help"),
2392
2392
  aa(
2393
2393
  ta(
2394
- Re(
2395
- xe(
2394
+ De(
2395
+ Me(
2396
2396
  z(),
2397
- /* @__PURE__ */ ne(Le(), {
2397
+ /* @__PURE__ */ oe(xe(), {
2398
2398
  bind: "$option.attrs",
2399
2399
  attrs: {
2400
2400
  id: "$option.attrs.id",
@@ -2402,10 +2402,10 @@ var Ct = {
2402
2402
  checked: "$fns.isChecked($option.value)"
2403
2403
  }
2404
2404
  }),
2405
- De(A("decorator")),
2405
+ Ee(P("decorator")),
2406
2406
  U()
2407
2407
  ),
2408
- /* @__PURE__ */ ne(Me("$option.label"), {
2408
+ /* @__PURE__ */ oe(Re("$option.label"), {
2409
2409
  if: "$option.label"
2410
2410
  })
2411
2411
  ),
@@ -2437,7 +2437,7 @@ var Ct = {
2437
2437
  features: [
2438
2438
  at,
2439
2439
  Si,
2440
- le("decorator", "checkboxDecorator")
2440
+ ne("decorator", "checkboxDecorator")
2441
2441
  ],
2442
2442
  /**
2443
2443
  * The key used to memoize the schema.
@@ -2448,29 +2448,29 @@ var Ct = {
2448
2448
  * The actual schema of the input, or a function that returns the schema.
2449
2449
  */
2450
2450
  schema: te(
2451
- ce(
2452
- ge("$label"),
2453
- _e(
2454
- A("prefix", "label"),
2451
+ fe(
2452
+ $e("$label"),
2453
+ ge(
2454
+ P("prefix", "label"),
2455
2455
  z(),
2456
2456
  mi(),
2457
2457
  yi(
2458
2458
  bi(
2459
- A("fileItem"),
2459
+ P("fileItem"),
2460
2460
  vi("$file.name"),
2461
2461
  /* @__PURE__ */ K(
2462
2462
  "$value.length === 1",
2463
2463
  ht(
2464
- A("fileRemove"),
2464
+ P("fileRemove"),
2465
2465
  '$ui.remove.value + " " + $file.name'
2466
2466
  )
2467
2467
  )
2468
2468
  )
2469
2469
  ),
2470
2470
  /* @__PURE__ */ K("$value.length > 1", ht("$ui.removeAll.value")),
2471
- _i(A("noFiles"), "$ui.noFiles.value"),
2471
+ _i(P("noFiles"), "$ui.noFiles.value"),
2472
2472
  U(),
2473
- A("suffix")
2473
+ P("suffix")
2474
2474
  )
2475
2475
  ),
2476
2476
  N("$help"),
@@ -2494,9 +2494,9 @@ var Ct = {
2494
2494
  */
2495
2495
  features: [
2496
2496
  Ii,
2497
- le("fileItem", "fileItem"),
2498
- le("fileRemove", "fileRemove"),
2499
- le("noFiles", "noFiles")
2497
+ ne("fileItem", "fileItem"),
2498
+ ne("fileRemove", "fileRemove"),
2499
+ ne("noFiles", "noFiles")
2500
2500
  ],
2501
2501
  /**
2502
2502
  * The key used to memoize the schema.
@@ -2612,9 +2612,9 @@ var Ct = {
2612
2612
  /**
2613
2613
  * Single radio structure.
2614
2614
  */
2615
- Re(
2616
- xe(z(), Le(), De(A("decorator")), U()),
2617
- /* @__PURE__ */ ne(Me("$label"), {
2615
+ De(
2616
+ Me(z(), xe(), Ee(P("decorator")), U()),
2617
+ /* @__PURE__ */ oe(Re("$label"), {
2618
2618
  if: "$label"
2619
2619
  })
2620
2620
  ),
@@ -2626,10 +2626,10 @@ var Ct = {
2626
2626
  N("$help"),
2627
2627
  aa(
2628
2628
  ta(
2629
- Re(
2630
- xe(
2629
+ De(
2630
+ Me(
2631
2631
  z(),
2632
- /* @__PURE__ */ ne(Le(), {
2632
+ /* @__PURE__ */ oe(xe(), {
2633
2633
  bind: "$option.attrs",
2634
2634
  attrs: {
2635
2635
  id: "$option.attrs.id",
@@ -2637,10 +2637,10 @@ var Ct = {
2637
2637
  checked: "$fns.isChecked($option.value)"
2638
2638
  }
2639
2639
  }),
2640
- De(A("decorator")),
2640
+ Ee(P("decorator")),
2641
2641
  U()
2642
2642
  ),
2643
- /* @__PURE__ */ ne(Me("$option.label"), {
2643
+ /* @__PURE__ */ oe(Re("$option.label"), {
2644
2644
  if: "$option.label"
2645
2645
  })
2646
2646
  ),
@@ -2669,7 +2669,7 @@ var Ct = {
2669
2669
  /**
2670
2670
  * Additional features that should be added to your input
2671
2671
  */
2672
- features: [at, Ri, le("decorator", "radioDecorator")],
2672
+ features: [at, Ri, ne("decorator", "radioDecorator")],
2673
2673
  /**
2674
2674
  * The key used to memoize the schema.
2675
2675
  */
@@ -2679,10 +2679,10 @@ var Ct = {
2679
2679
  * The actual schema of the input, or a function that returns the schema.
2680
2680
  */
2681
2681
  schema: te(
2682
- ce(
2683
- ge("$label"),
2684
- _e(
2685
- A("prefix"),
2682
+ fe(
2683
+ $e("$label"),
2684
+ ge(
2685
+ P("prefix"),
2686
2686
  z(),
2687
2687
  $i(
2688
2688
  /* @__PURE__ */ K(
@@ -2697,9 +2697,9 @@ var Ct = {
2697
2697
  )
2698
2698
  )
2699
2699
  ),
2700
- /* @__PURE__ */ K("$attrs.multiple !== undefined", () => "", A("select")),
2700
+ /* @__PURE__ */ K("$attrs.multiple !== undefined", () => "", P("select")),
2701
2701
  U(),
2702
- A("suffix")
2702
+ P("suffix")
2703
2703
  )
2704
2704
  ),
2705
2705
  N("$help"),
@@ -2716,7 +2716,7 @@ var Ct = {
2716
2716
  /**
2717
2717
  * Additional features that should be added to your input
2718
2718
  */
2719
- features: [at, Ni, le("select", "select")],
2719
+ features: [at, Ni, ne("select", "select")],
2720
2720
  /**
2721
2721
  * The key used to memoize the schema.
2722
2722
  */
@@ -2726,14 +2726,14 @@ var Ct = {
2726
2726
  * The actual schema of the input, or a function that returns the schema.
2727
2727
  */
2728
2728
  schema: te(
2729
- ce(
2730
- ge("$label"),
2731
- _e(
2732
- A("prefix", "label"),
2729
+ fe(
2730
+ $e("$label"),
2731
+ ge(
2732
+ P("prefix", "label"),
2733
2733
  z(),
2734
2734
  wi(),
2735
2735
  U(),
2736
- A("suffix")
2736
+ P("suffix")
2737
2737
  )
2738
2738
  ),
2739
2739
  N("$help"),
@@ -2760,14 +2760,14 @@ var Ct = {
2760
2760
  * The actual schema of the input, or a function that returns the schema.
2761
2761
  */
2762
2762
  schema: te(
2763
- ce(
2764
- ge("$label"),
2765
- _e(
2766
- A("prefix", "label"),
2763
+ fe(
2764
+ $e("$label"),
2765
+ ge(
2766
+ P("prefix", "label"),
2767
2767
  z(),
2768
2768
  ia(),
2769
2769
  U(),
2770
- A("suffix")
2770
+ P("suffix")
2771
2771
  )
2772
2772
  ),
2773
2773
  N("$help"),
@@ -2821,38 +2821,38 @@ var Ct = {
2821
2821
  url: x,
2822
2822
  week: x,
2823
2823
  range: x
2824
- }, j = void 0, F = null, Ee, da = !1, me = !1, Xi = /* @__PURE__ */ new Promise((e) => {
2825
- Ee = () => {
2824
+ }, j = void 0, F = null, je, da = !1, be = !1, Xi = /* @__PURE__ */ new Promise((e) => {
2825
+ je = () => {
2826
2826
  da = !0, e();
2827
2827
  };
2828
2828
  }), W = typeof window < "u" && typeof fetch < "u";
2829
2829
  j = W ? /* @__PURE__ */ getComputedStyle(document.documentElement) : void 0;
2830
- var ie = {}, Be = {};
2830
+ var le = {}, Be = {};
2831
2831
  function el(e, s, t, a) {
2832
- s && Object.assign(ie, s), W && !me && (j != null && j.getPropertyValue("--formkit-theme")) ? (Ee(), me = !0) : e && !me && W ? tl(e) : !me && W && Ee();
2832
+ s && Object.assign(le, s), W && !be && (j != null && j.getPropertyValue("--formkit-theme")) ? (je(), be = !0) : e && !be && W ? tl(e) : !be && W && je();
2833
2833
  const i = function(o) {
2834
2834
  var n, u;
2835
2835
  o.addProps(["iconLoader", "iconLoaderUrl"]), o.props.iconHandler = Vt(
2836
2836
  (n = o.props) != null && n.iconLoader ? o.props.iconLoader : a,
2837
2837
  (u = o.props) != null && u.iconLoaderUrl ? o.props.iconLoaderUrl : t
2838
2838
  ), rl(o, o.props.iconHandler), o.on("created", () => {
2839
- var p;
2840
- (p = o == null ? void 0 : o.context) != null && p.handlers && (o.context.handlers.iconClick = (f) => {
2841
- const b = `on${f.charAt(0).toUpperCase()}${f.slice(1)}IconClick`, w = o.props[b];
2842
- if (w && typeof w == "function")
2843
- return (P) => w(o, P);
2839
+ var c;
2840
+ (c = o == null ? void 0 : o.context) != null && c.handlers && (o.context.handlers.iconClick = (p) => {
2841
+ const d = `on${p.charAt(0).toUpperCase()}${p.slice(1)}IconClick`, k = o.props[d];
2842
+ if (k && typeof k == "function")
2843
+ return (A) => k(o, A);
2844
2844
  });
2845
2845
  });
2846
2846
  };
2847
2847
  return i.iconHandler = Vt(a, t), i;
2848
2848
  }
2849
2849
  function tl(e) {
2850
- if (!(!e || !W || typeof getComputedStyle != "function") && (me = !0, F = document.getElementById("formkit-theme"), e && // if we have a window object
2850
+ if (!(!e || !W || typeof getComputedStyle != "function") && (be = !0, F = document.getElementById("formkit-theme"), e && // if we have a window object
2851
2851
  W && // we don't have an existing theme OR the theme being set up is different
2852
2852
  (!(j != null && j.getPropertyValue("--formkit-theme")) && !F || F != null && F.getAttribute("data-theme") && (F == null ? void 0 : F.getAttribute("data-theme")) !== e))) {
2853
- const t = `https://cdn.jsdelivr.net/npm/@formkit/themes@${Ae.startsWith("__") ? "latest" : Ae}/dist/${e}/theme.css`, a = document.createElement("link");
2853
+ const t = `https://cdn.jsdelivr.net/npm/@formkit/themes@${Pe.startsWith("__") ? "latest" : Pe}/dist/${e}/theme.css`, a = document.createElement("link");
2854
2854
  a.type = "text/css", a.rel = "stylesheet", a.id = "formkit-theme", a.setAttribute("data-theme", e), a.onload = () => {
2855
- j = getComputedStyle(document.documentElement), Ee();
2855
+ j = getComputedStyle(document.documentElement), je();
2856
2856
  }, document.head.appendChild(a), a.href = t, F && F.remove();
2857
2857
  }
2858
2858
  }
@@ -2864,15 +2864,15 @@ function Vt(e, s) {
2864
2864
  return t;
2865
2865
  const a = t.startsWith("default:");
2866
2866
  t = a ? t.split(":")[1] : t;
2867
- const i = t in ie;
2867
+ const i = t in le;
2868
2868
  let l;
2869
2869
  if (i)
2870
- return ie[t];
2870
+ return le[t];
2871
2871
  if (!Be[t]) {
2872
2872
  if (l = al(t), l = W && typeof l > "u" ? Promise.resolve(l) : l, l instanceof Promise)
2873
- Be[t] = l.then((o) => !o && typeof t == "string" && !a ? l = typeof e == "function" ? e(t) : sl(t, s) : o).then((o) => (typeof t == "string" && (ie[a ? `default:${t}` : t] = o), o));
2873
+ Be[t] = l.then((o) => !o && typeof t == "string" && !a ? l = typeof e == "function" ? e(t) : sl(t, s) : o).then((o) => (typeof t == "string" && (le[a ? `default:${t}` : t] = o), o));
2874
2874
  else if (typeof l == "string")
2875
- return ie[a ? `default:${t}` : t] = l, l;
2875
+ return le[a ? `default:${t}` : t] = l, l;
2876
2876
  }
2877
2877
  return Be[t];
2878
2878
  };
@@ -2886,11 +2886,11 @@ function St(e) {
2886
2886
  if (s) {
2887
2887
  const t = atob(s);
2888
2888
  if (t.startsWith("<svg"))
2889
- return ie[e] = t, t;
2889
+ return le[e] = t, t;
2890
2890
  }
2891
2891
  }
2892
2892
  function sl(e, s) {
2893
- const t = Ae.startsWith("__") ? "latest" : Ae, a = typeof s == "function" ? s(e) : `https://cdn.jsdelivr.net/npm/@formkit/icons@${t}/dist/icons/${e}.svg`;
2893
+ const t = Pe.startsWith("__") ? "latest" : Pe, a = typeof s == "function" ? s(e) : `https://cdn.jsdelivr.net/npm/@formkit/icons@${t}/dist/icons/${e}.svg`;
2894
2894
  if (W)
2895
2895
  return fetch(`${a}`).then(async (i) => {
2896
2896
  const l = await i.text();
@@ -2995,29 +2995,29 @@ var ul = (e, s) => {
2995
2995
  }, Pt, ba, ya = ma({
2996
2996
  "packages/vue/src/bindings.ts"() {
2997
2997
  Pt = function(s) {
2998
- s.ledger.count("blocking", (c) => c.blocking);
2998
+ s.ledger.count("blocking", (f) => f.blocking);
2999
2999
  const t = T(!s.ledger.value("blocking"));
3000
- s.ledger.count("errors", (c) => c.type === "error");
3000
+ s.ledger.count("errors", (f) => f.type === "error");
3001
3001
  const a = T(!!s.ledger.value("errors"));
3002
3002
  let i = !1;
3003
3003
  Va(() => {
3004
3004
  i = !0;
3005
3005
  });
3006
- const l = $e(
3007
- s.store.reduce((c, k) => (k.visible && (c[k.key] = k), c), {})
3006
+ const l = ke(
3007
+ s.store.reduce((f, w) => (w.visible && (f[w.key] = w), f), {})
3008
3008
  ), o = T(
3009
3009
  s.props.validationVisibility || (s.props.type === "checkbox" ? "dirty" : "blur")
3010
3010
  );
3011
- s.on("prop:validationVisibility", ({ payload: c }) => {
3012
- o.value = c;
3011
+ s.on("prop:validationVisibility", ({ payload: f }) => {
3012
+ o.value = f;
3013
3013
  });
3014
- const n = T(o.value === "live"), u = T(!1), p = (c) => {
3015
- u.value = (c ?? []).some(
3016
- (k) => k.name === "required"
3014
+ const n = T(o.value === "live"), u = T(!1), c = (f) => {
3015
+ u.value = (f ?? []).some(
3016
+ (w) => w.name === "required"
3017
3017
  );
3018
3018
  };
3019
- p(s.props.parsedRules), s.on("prop:parsedRules", ({ payload: c }) => p(c));
3020
- const f = T(s.children.map((c) => c.uid)), b = d(() => {
3019
+ c(s.props.parsedRules), s.on("prop:parsedRules", ({ payload: f }) => c(f));
3020
+ const p = T(s.children.map((f) => f.uid)), d = m(() => {
3021
3021
  if (!C.state)
3022
3022
  return !1;
3023
3023
  if (C.state.submitted)
@@ -3034,31 +3034,31 @@ var ul = (e, s) => {
3034
3034
  default:
3035
3035
  return !1;
3036
3036
  }
3037
- }), w = d(() => C && P.value ? t.value && !a.value : C.state.dirty && !D(C.value)), P = T(
3037
+ }), k = m(() => C && A.value ? t.value && !a.value : C.state.dirty && !D(C.value)), A = T(
3038
3038
  Array.isArray(s.props.parsedRules) && s.props.parsedRules.length > 0
3039
3039
  );
3040
- s.on("prop:parsedRules", ({ payload: c }) => {
3041
- P.value = Array.isArray(c) && c.length > 0;
3040
+ s.on("prop:parsedRules", ({ payload: f }) => {
3041
+ A.value = Array.isArray(f) && f.length > 0;
3042
3042
  });
3043
- const q = d(() => {
3044
- const c = {};
3045
- for (const k in l) {
3046
- const y = l[k];
3047
- (y.type !== "validation" || b.value) && (c[k] = y);
3043
+ const q = m(() => {
3044
+ const f = {};
3045
+ for (const w in l) {
3046
+ const y = l[w];
3047
+ (y.type !== "validation" || d.value) && (f[w] = y);
3048
3048
  }
3049
- return c;
3050
- }), fe = $e(
3051
- s.store.reduce((c, k) => (k.type === "ui" && k.visible && (c[k.key] = k), c), {})
3052
- ), Te = $e({}), ha = new Proxy(Te, {
3053
- get(...c) {
3054
- const [k, y] = c;
3055
- let M = Reflect.get(...c);
3056
- return !M && typeof y == "string" && !$(k, y) && !y.startsWith("__v") && ve(s).watch((E) => {
3057
- const $a = typeof E.config.rootClasses == "function" ? E.config.rootClasses(y, E) : {}, ka = E.config.classes ? Se(y, E, E.config.classes[y]) : {}, wa = Se(
3049
+ return f;
3050
+ }), ie = ke(
3051
+ s.store.reduce((f, w) => (w.type === "ui" && w.visible && (f[w.key] = w), f), {})
3052
+ ), de = ke({}), ha = new Proxy(de, {
3053
+ get(...f) {
3054
+ const [w, y] = f;
3055
+ let M = Reflect.get(...f);
3056
+ return !M && typeof y == "string" && !$(w, y) && !y.startsWith("__v") && he(s).watch((E) => {
3057
+ const $a = typeof E.config.rootClasses == "function" ? E.config.rootClasses(y, E) : {}, ka = E.config.classes ? Ie(y, E, E.config.classes[y]) : {}, wa = Ie(
3058
3058
  y,
3059
3059
  E,
3060
3060
  E.props[`_${y}Class`]
3061
- ), Ca = Se(
3061
+ ), Ca = Ie(
3062
3062
  y,
3063
3063
  E,
3064
3064
  E.props[`${y}Class`]
@@ -3070,56 +3070,56 @@ var ul = (e, s) => {
3070
3070
  ka,
3071
3071
  wa,
3072
3072
  Ca
3073
- ), k[y] = M ?? "";
3073
+ ), w[y] = M ?? "";
3074
3074
  }), M;
3075
3075
  }
3076
3076
  });
3077
3077
  s.on("prop:rootClasses", () => {
3078
- const c = Object.keys(Te);
3079
- for (const k of c)
3080
- delete Te[k];
3078
+ const f = Object.keys(de);
3079
+ for (const w of f)
3080
+ delete de[w];
3081
3081
  });
3082
- const _a = d(() => {
3083
- const c = [];
3084
- C.help && c.push(`help-${s.props.id}`);
3085
- for (const k in q.value)
3086
- c.push(`${s.props.id}-${k}`);
3087
- return c.length ? c.join(" ") : void 0;
3088
- }), ae = T(s.value), J = T(s.value), C = $e({
3082
+ const _a = m(() => {
3083
+ const f = [];
3084
+ C.help && f.push(`help-${s.props.id}`);
3085
+ for (const w in q.value)
3086
+ f.push(`${s.props.id}-${w}`);
3087
+ return f.length ? f.join(" ") : void 0;
3088
+ }), ae = T(s.value), J = T(s.value), C = ke({
3089
3089
  _value: J,
3090
3090
  attrs: s.props.attrs,
3091
3091
  disabled: s.props.disabled,
3092
3092
  describedBy: _a,
3093
3093
  fns: {
3094
- length: (c) => Object.keys(c).length,
3095
- number: (c) => Number(c),
3096
- string: (c) => String(c),
3097
- json: (c) => JSON.stringify(c),
3094
+ length: (f) => Object.keys(f).length,
3095
+ number: (f) => Number(f),
3096
+ string: (f) => String(f),
3097
+ json: (f) => JSON.stringify(f),
3098
3098
  eq: R
3099
3099
  },
3100
3100
  handlers: {
3101
- blur: (c) => {
3101
+ blur: (f) => {
3102
3102
  s && (s.store.set(
3103
3103
  Z({ key: "blurred", visible: !1, value: !0 })
3104
- ), typeof s.props.attrs.onBlur == "function" && s.props.attrs.onBlur(c));
3104
+ ), typeof s.props.attrs.onBlur == "function" && s.props.attrs.onBlur(f));
3105
3105
  },
3106
3106
  touch: () => {
3107
3107
  var y;
3108
- const c = C.dirtyBehavior === "compare";
3109
- if ((y = s.store.dirty) != null && y.value && !c)
3108
+ const f = C.dirtyBehavior === "compare";
3109
+ if ((y = s.store.dirty) != null && y.value && !f)
3110
3110
  return;
3111
- const k = !R(s.props._init, s._value);
3112
- !k && !c || s.store.set(
3113
- Z({ key: "dirty", visible: !1, value: k })
3111
+ const w = !R(s.props._init, s._value);
3112
+ !w && !f || s.store.set(
3113
+ Z({ key: "dirty", visible: !1, value: w })
3114
3114
  );
3115
3115
  },
3116
- DOMInput: (c) => {
3117
- s.input(c.target.value), s.emit("dom-input-event", c);
3116
+ DOMInput: (f) => {
3117
+ s.input(f.target.value), s.emit("dom-input-event", f);
3118
3118
  }
3119
3119
  },
3120
3120
  help: s.props.help,
3121
3121
  id: s.props.id,
3122
- items: f,
3122
+ items: p,
3123
3123
  label: s.props.label,
3124
3124
  messages: q,
3125
3125
  didMount: !1,
@@ -3129,39 +3129,39 @@ var ul = (e, s) => {
3129
3129
  slots: s.props.__slots,
3130
3130
  state: {
3131
3131
  blurred: !1,
3132
- complete: w,
3132
+ complete: k,
3133
3133
  dirty: !1,
3134
3134
  empty: D(ae),
3135
3135
  submitted: !1,
3136
3136
  settled: s.isSettled,
3137
3137
  valid: t,
3138
3138
  errors: a,
3139
- rules: P,
3140
- validationVisible: b,
3139
+ rules: A,
3140
+ validationVisible: d,
3141
3141
  required: u
3142
3142
  },
3143
3143
  type: s.props.type,
3144
3144
  family: s.props.family,
3145
- ui: fe,
3145
+ ui: ie,
3146
3146
  value: ae,
3147
3147
  classes: ha
3148
3148
  });
3149
3149
  s.on("created", () => {
3150
- R(C.value, s.value) || (J.value = s.value, ae.value = s.value, ke(ae), ke(J)), (async () => (await s.settled, s && (s.props._init = B(s.value))))();
3150
+ R(C.value, s.value) || (J.value = s.value, ae.value = s.value, we(ae), we(J)), (async () => (await s.settled, s && (s.props._init = B(s.value))))();
3151
3151
  }), s.on("mounted", () => {
3152
3152
  C.didMount = !0;
3153
- }), s.on("settled", ({ payload: c }) => {
3154
- C.state.settled = c;
3153
+ }), s.on("settled", ({ payload: f }) => {
3154
+ C.state.settled = f;
3155
3155
  });
3156
- function Ne(c) {
3157
- (Array.isArray(c) ? c : Object.keys(c)).forEach((y) => {
3156
+ function Ne(f) {
3157
+ (Array.isArray(f) ? f : Object.keys(f)).forEach((y) => {
3158
3158
  y = Qe(y), $(C, y) || (C[y] = s.props[y]), s.on(`prop:${y}`, ({ payload: M }) => {
3159
3159
  C[y] = M;
3160
3160
  });
3161
3161
  });
3162
3162
  }
3163
3163
  Ne((() => {
3164
- const c = [
3164
+ const f = [
3165
3165
  "__root",
3166
3166
  "help",
3167
3167
  "label",
@@ -3173,38 +3173,38 @@ var ul = (e, s) => {
3173
3173
  "preserveErrors",
3174
3174
  "id",
3175
3175
  "dirtyBehavior"
3176
- ], k = /^[a-zA-Z-]+(?:-icon|Icon)$/, y = Object.keys(s.props).filter((M) => k.test(M));
3177
- return c.concat(y);
3176
+ ], w = /^[a-zA-Z-]+(?:-icon|Icon)$/, y = Object.keys(s.props).filter((M) => w.test(M));
3177
+ return f.concat(y);
3178
3178
  })());
3179
- function ga(c) {
3180
- c.props && Ne(c.props);
3179
+ function ga(f) {
3180
+ f.props && Ne(f.props);
3181
3181
  }
3182
- s.props.definition && ga(s.props.definition), s.on("added-props", ({ payload: c }) => Ne(c)), s.on("input", ({ payload: c }) => {
3183
- s.type !== "input" && !lt(c) && !nt(c) ? J.value = ot(c) : (J.value = c, ke(J));
3184
- }), s.on("commitRaw", ({ payload: c }) => {
3185
- s.type !== "input" && !lt(c) && !nt(c) ? ae.value = J.value = ot(c) : (ae.value = J.value = c, ke(ae)), s.emit("modelUpdated");
3186
- }), s.on("commit", ({ payload: c }) => {
3187
- var k;
3182
+ s.props.definition && ga(s.props.definition), s.on("added-props", ({ payload: f }) => Ne(f)), s.on("input", ({ payload: f }) => {
3183
+ s.type !== "input" && !lt(f) && !nt(f) ? J.value = ot(f) : (J.value = f, we(J));
3184
+ }), s.on("commitRaw", ({ payload: f }) => {
3185
+ s.type !== "input" && !lt(f) && !nt(f) ? ae.value = J.value = ot(f) : (ae.value = J.value = f, we(ae)), s.emit("modelUpdated");
3186
+ }), s.on("commit", ({ payload: f }) => {
3187
+ var w;
3188
3188
  if ((!C.state.dirty || C.dirtyBehavior === "compare") && s.isCreated && i)
3189
- if (!((k = s.store.validating) != null && k.value))
3189
+ if (!((w = s.store.validating) != null && w.value))
3190
3190
  C.handlers.touch();
3191
3191
  else {
3192
3192
  const y = s.on("message-removed", ({ payload: M }) => {
3193
3193
  M.key === "validating" && (C.handlers.touch(), s.off(y));
3194
3194
  });
3195
3195
  }
3196
- w && s.type === "input" && a.value && !H(s.props.preserveErrors) && s.store.filter(
3196
+ k && s.type === "input" && a.value && !H(s.props.preserveErrors) && s.store.filter(
3197
3197
  (y) => {
3198
3198
  var M;
3199
3199
  return !(y.type === "error" && ((M = y.meta) == null ? void 0 : M.autoClear) === !0);
3200
3200
  }
3201
- ), s.type === "list" && s.sync && (f.value = s.children.map((y) => y.uid)), C.state.empty = D(c);
3201
+ ), s.type === "list" && s.sync && (p.value = s.children.map((y) => y.uid)), C.state.empty = D(f);
3202
3202
  });
3203
- const it = async (c) => {
3204
- c.type === "ui" && c.visible && !c.meta.showAsMessage ? fe[c.key] = c : c.visible ? l[c.key] = c : c.type === "state" && (C.state[c.key] = !!c.value);
3203
+ const it = async (f) => {
3204
+ f.type === "ui" && f.visible && !f.meta.showAsMessage ? ie[f.key] = f : f.visible ? l[f.key] = f : f.type === "state" && (C.state[f.key] = !!f.value);
3205
3205
  };
3206
- s.on("message-added", (c) => it(c.payload)), s.on("message-updated", (c) => it(c.payload)), s.on("message-removed", ({ payload: c }) => {
3207
- delete fe[c.key], delete l[c.key], delete C.state[c.key];
3206
+ s.on("message-added", (f) => it(f.payload)), s.on("message-updated", (f) => it(f.payload)), s.on("message-removed", ({ payload: f }) => {
3207
+ delete ie[f.key], delete l[f.key], delete C.state[f.key];
3208
3208
  }), s.on("settled:blocking", () => {
3209
3209
  t.value = !0;
3210
3210
  }), s.on("unsettled:blocking", () => {
@@ -3213,8 +3213,8 @@ var ul = (e, s) => {
3213
3213
  a.value = !1;
3214
3214
  }), s.on("unsettled:errors", () => {
3215
3215
  a.value = !0;
3216
- }), Sa(b, (c) => {
3217
- c && (n.value = !0);
3216
+ }), Sa(d, (f) => {
3217
+ f && (n.value = !0);
3218
3218
  }), s.context = C, s.emit("context", s, !1), s.on("destroyed", () => {
3219
3219
  s.context = void 0, s = null;
3220
3220
  });
@@ -3237,20 +3237,20 @@ var va, ml = ma({
3237
3237
  theme: o = void 0,
3238
3238
  iconLoaderUrl: n = void 0,
3239
3239
  iconLoader: u = void 0,
3240
- icons: p = {},
3241
- ...f
3242
- } = e, b = Br({
3240
+ icons: c = {},
3241
+ ...p
3242
+ } = e, d = Br({
3243
3243
  ...qr,
3244
3244
  ...s || {}
3245
- }), w = oi(
3245
+ }), k = oi(
3246
3246
  X({ en: ni, ...t || {} }, i)
3247
- ), P = ui(Qi, a), q = el(o, p, n, u);
3247
+ ), A = ui(Qi, a), q = el(o, c, n, u);
3248
3248
  return X(
3249
3249
  {
3250
- plugins: [P, q, ba, w, b],
3250
+ plugins: [A, q, ba, k, d],
3251
3251
  ...l ? { config: { locale: l } } : {}
3252
3252
  },
3253
- f || {},
3253
+ p || {},
3254
3254
  !0
3255
3255
  );
3256
3256
  };
@@ -3267,20 +3267,20 @@ function O(e, s = {}, t = {}) {
3267
3267
  let i;
3268
3268
  if (yl(e)) {
3269
3269
  const l = `SchemaComponent${bl++}`;
3270
- i = /* @__PURE__ */ m("input", () => ({
3270
+ i = /* @__PURE__ */ b("input", () => ({
3271
3271
  $cmp: l,
3272
3272
  props: {
3273
3273
  context: "$node.context"
3274
3274
  }
3275
3275
  })), a.library = { [l]: Lt(e) };
3276
3276
  } else
3277
- typeof e == "function" ? i = e : i = /* @__PURE__ */ m("input", () => B(e));
3277
+ typeof e == "function" ? i = e : i = /* @__PURE__ */ b("input", () => B(e));
3278
3278
  return a.schema = /* @__PURE__ */ zi(i || "Schema undefined", t), a.schemaMemoKey || (a.schemaMemoKey = `${Math.random()}`), a;
3279
3279
  }
3280
- var vl = /* @__PURE__ */ m("messages", () => ({
3280
+ var vl = /* @__PURE__ */ b("messages", () => ({
3281
3281
  $el: "ul",
3282
3282
  if: "$fns.length($messages)"
3283
- })), hl = /* @__PURE__ */ m("message", () => ({
3283
+ })), hl = /* @__PURE__ */ b("message", () => ({
3284
3284
  $el: "li",
3285
3285
  for: ["message", "$messages"],
3286
3286
  attrs: {
@@ -3290,30 +3290,30 @@ var vl = /* @__PURE__ */ m("messages", () => ({
3290
3290
  }
3291
3291
  }));
3292
3292
  vl(hl("$message.value"));
3293
- var _l = /* @__PURE__ */ m("summary", () => ({
3293
+ var _l = /* @__PURE__ */ b("summary", () => ({
3294
3294
  $el: "div",
3295
3295
  attrs: {
3296
3296
  "aria-live": "polite"
3297
3297
  }
3298
- })), gl = /* @__PURE__ */ m("summaryInner", () => ({
3298
+ })), gl = /* @__PURE__ */ b("summaryInner", () => ({
3299
3299
  $el: "div",
3300
3300
  if: "$summaries.length && $showSummaries"
3301
- })), $l = /* @__PURE__ */ m("messages", () => ({
3301
+ })), $l = /* @__PURE__ */ b("messages", () => ({
3302
3302
  $el: "ul",
3303
3303
  if: "$summaries.length && $showSummaries"
3304
- })), kl = /* @__PURE__ */ m("message", () => ({
3304
+ })), kl = /* @__PURE__ */ b("message", () => ({
3305
3305
  $el: "li",
3306
3306
  for: ["summary", "$summaries"],
3307
3307
  attrs: {
3308
3308
  key: "$summary.key",
3309
3309
  "data-message-type": "$summary.type"
3310
3310
  }
3311
- })), wl = /* @__PURE__ */ m("summaryHeader", () => ({
3311
+ })), wl = /* @__PURE__ */ b("summaryHeader", () => ({
3312
3312
  $el: "h2",
3313
3313
  attrs: {
3314
3314
  id: "$id"
3315
3315
  }
3316
- })), Cl = /* @__PURE__ */ m("messageLink", () => ({
3316
+ })), Cl = /* @__PURE__ */ b("messageLink", () => ({
3317
3317
  $el: "a",
3318
3318
  attrs: {
3319
3319
  id: "$summary.key",
@@ -3335,7 +3335,7 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
3335
3335
  context: Object
3336
3336
  },
3337
3337
  setup(e) {
3338
- const s = e, t = s.context, a = d(() => t == null ? void 0 : t.attrs), i = T([]);
3338
+ const s = e, t = s.context, a = m(() => t == null ? void 0 : t.attrs), i = T([]);
3339
3339
  function l(n) {
3340
3340
  i.value = a.value.complete(n.query);
3341
3341
  }
@@ -3343,23 +3343,23 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
3343
3343
  var u;
3344
3344
  t == null || t.node.input((u = s.context) == null ? void 0 : u._value);
3345
3345
  }
3346
- return d(() => {
3346
+ return m(() => {
3347
3347
  var n, u;
3348
3348
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(n = a.value) == null ? void 0 : n.class} p-invalid` : (u = a.value) == null ? void 0 : u.class;
3349
3349
  }), (n, u) => {
3350
- var f;
3351
- const p = S("AutoComplete");
3350
+ var p, d;
3351
+ const c = S("AutoComplete");
3352
3352
  return h(), _("div", Vl, [
3353
- I(p, {
3353
+ I(c, {
3354
3354
  id: r(t).id,
3355
3355
  modelValue: r(t)._value,
3356
- "onUpdate:modelValue": u[0] || (u[0] = (b) => r(t)._value = b),
3357
- disabled: r(a)._disabled ?? !1,
3356
+ "onUpdate:modelValue": u[0] || (u[0] = (k) => r(t)._value = k),
3357
+ disabled: r(a)._disabled ?? !!((p = r(t)) != null && p.disabled),
3358
3358
  tabindex: r(a).tabindex,
3359
3359
  "aria-label": r(a).ariaLabel,
3360
3360
  "aria-labelledby": r(a).ariaLabelledby,
3361
3361
  suggestions: r(i),
3362
- dropdown: ((f = r(a)) == null ? void 0 : f.dropdown) ?? !1,
3362
+ dropdown: ((d = r(a)) == null ? void 0 : d.dropdown) ?? !1,
3363
3363
  multiple: r(a).multiple ?? !1,
3364
3364
  pt: r(a).pt,
3365
3365
  "pt-options": r(a).ptOptions,
@@ -3376,31 +3376,32 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
3376
3376
  context: Object
3377
3377
  },
3378
3378
  setup(e) {
3379
- const s = e, t = s.context, a = d(() => t == null ? void 0 : t.attrs);
3380
- function i(p) {
3379
+ const s = e, t = s.context, a = m(() => t == null ? void 0 : t.attrs);
3380
+ function i(c) {
3381
3381
  t == null || t.node.input(t == null ? void 0 : t._value);
3382
3382
  }
3383
- function l(p) {
3384
- t == null || t.node.input(p);
3383
+ function l(c) {
3384
+ t == null || t.node.input(c);
3385
3385
  }
3386
- function o(p) {
3387
- t == null || t.handlers.blur(p.value);
3386
+ function o(c) {
3387
+ t == null || t.handlers.blur(c.value);
3388
3388
  }
3389
3389
  function n() {
3390
3390
  t == null || t.node.input(null);
3391
3391
  }
3392
- const u = d(() => {
3393
- var p, f;
3394
- return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(p = a.value) == null ? void 0 : p.class} p-invalid` : (f = a.value) == null ? void 0 : f.class;
3392
+ const u = m(() => {
3393
+ var c, p;
3394
+ return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(c = a.value) == null ? void 0 : c.class} p-invalid` : (p = a.value) == null ? void 0 : p.class;
3395
3395
  });
3396
- return (p, f) => {
3397
- const b = S("Calendar");
3396
+ return (c, p) => {
3397
+ var k;
3398
+ const d = S("Calendar");
3398
3399
  return h(), _("div", Il, [
3399
- I(b, {
3400
+ I(d, {
3400
3401
  modelValue: r(t)._value,
3401
- "onUpdate:modelValue": f[0] || (f[0] = (w) => r(t)._value = w),
3402
+ "onUpdate:modelValue": p[0] || (p[0] = (A) => r(t)._value = A),
3402
3403
  "input-id": s.context.id,
3403
- disabled: r(a)._disabled ?? !1,
3404
+ disabled: r(a)._disabled ?? !!((k = r(t)) != null && k.disabled),
3404
3405
  readonly: r(a)._readonly ?? !1,
3405
3406
  "input-style": r(a).style,
3406
3407
  "input-class": r(u),
@@ -3465,24 +3466,24 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
3465
3466
  context: Object
3466
3467
  },
3467
3468
  setup(e) {
3468
- const s = e, t = s.context, a = d(() => t == null ? void 0 : t.attrs);
3469
+ const s = e, t = s.context, a = m(() => t == null ? void 0 : t.attrs);
3469
3470
  function i(o) {
3470
3471
  var n;
3471
3472
  t == null || t.node.input((n = s.context) == null ? void 0 : n._value);
3472
3473
  }
3473
- const l = d(() => {
3474
+ const l = m(() => {
3474
3475
  var o, n;
3475
3476
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(o = a.value) == null ? void 0 : o.class} p-invalid` : (n = a.value) == null ? void 0 : n.class;
3476
3477
  });
3477
3478
  return (o, n) => {
3478
- var p;
3479
+ var c, p;
3479
3480
  const u = S("CascadeSelect");
3480
3481
  return h(), _("div", Al, [
3481
3482
  I(u, {
3482
3483
  id: r(t).id,
3483
3484
  modelValue: r(t)._value,
3484
- "onUpdate:modelValue": n[0] || (n[0] = (f) => r(t)._value = f),
3485
- disabled: r(a)._disabled ?? !1,
3485
+ "onUpdate:modelValue": n[0] || (n[0] = (d) => r(t)._value = d),
3486
+ disabled: r(a)._disabled ?? !!((c = r(t)) != null && c.disabled),
3486
3487
  readonly: r(a)._readonly ?? !1,
3487
3488
  "list-style": r(a).style,
3488
3489
  class: L(r(l)),
@@ -3515,16 +3516,17 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
3515
3516
  context: Object
3516
3517
  },
3517
3518
  setup(e) {
3518
- const s = e, t = s.context, a = d(() => t == null ? void 0 : t.attrs);
3519
+ const s = e, t = s.context, a = m(() => t == null ? void 0 : t.attrs);
3519
3520
  function i(o) {
3520
3521
  var n;
3521
3522
  t == null || t.node.input((n = s.context) == null ? void 0 : n._value);
3522
3523
  }
3523
- const l = d(() => {
3524
+ const l = m(() => {
3524
3525
  var o, n;
3525
3526
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(o = a.value) == null ? void 0 : o.class} p-invalid` : (n = a.value) == null ? void 0 : n.class;
3526
3527
  });
3527
3528
  return (o, n) => {
3529
+ var c;
3528
3530
  const u = S("Checkbox");
3529
3531
  return h(), _("div", Ll, [
3530
3532
  r(t).attrs.labelLeft ? (h(), _("span", xl, se(r(t).attrs.labelLeft), 1)) : Q("", !0),
@@ -3532,7 +3534,7 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
3532
3534
  modelValue: r(t)._value,
3533
3535
  "onUpdate:modelValue": n[0] || (n[0] = (p) => r(t)._value = p),
3534
3536
  "input-id": r(t).id,
3535
- disabled: r(a)._disabled ?? !1,
3537
+ disabled: r(a)._disabled ?? !!((c = r(t)) != null && c.disabled),
3536
3538
  readonly: r(a)._readonly ?? !1,
3537
3539
  "input-style": r(a).style,
3538
3540
  "input-class": r(l),
@@ -3557,23 +3559,24 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
3557
3559
  context: Object
3558
3560
  },
3559
3561
  setup(e) {
3560
- const s = e, t = s.context, a = d(() => t == null ? void 0 : t.attrs);
3562
+ const s = e, t = s.context, a = m(() => t == null ? void 0 : t.attrs);
3561
3563
  function i(o) {
3562
3564
  var n;
3563
3565
  t == null || t.node.input((n = s.context) == null ? void 0 : n._value);
3564
3566
  }
3565
- const l = d(() => {
3567
+ const l = m(() => {
3566
3568
  var o, n;
3567
3569
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(o = a.value) == null ? void 0 : o.class} p-invalid` : (n = a.value) == null ? void 0 : n.class;
3568
3570
  });
3569
3571
  return (o, n) => {
3572
+ var c;
3570
3573
  const u = S("Chips");
3571
3574
  return h(), _("div", Dl, [
3572
3575
  I(u, {
3573
3576
  modelValue: r(t)._value,
3574
3577
  "onUpdate:modelValue": n[0] || (n[0] = (p) => r(t)._value = p),
3575
3578
  "input-id": r(t).id,
3576
- disabled: r(a)._disabled ?? !1,
3579
+ disabled: r(a)._disabled ?? !!((c = r(t)) != null && c.disabled),
3577
3580
  readonly: r(a)._readonly ?? !1,
3578
3581
  "input-style": r(a).style,
3579
3582
  "input-class": r(l),
@@ -3600,18 +3603,19 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
3600
3603
  context: Object
3601
3604
  },
3602
3605
  setup(e) {
3603
- const s = e, t = s.context, a = d(() => t == null ? void 0 : t.attrs);
3606
+ const s = e, t = s.context, a = m(() => t == null ? void 0 : t.attrs);
3604
3607
  function i(l) {
3605
3608
  var o;
3606
3609
  t == null || t.node.input((o = s.context) == null ? void 0 : o._value);
3607
3610
  }
3608
3611
  return (l, o) => {
3612
+ var u;
3609
3613
  const n = S("ColorPicker");
3610
3614
  return h(), _("div", jl, [
3611
3615
  I(n, {
3612
3616
  modelValue: r(t)._value,
3613
- "onUpdate:modelValue": o[0] || (o[0] = (u) => r(t)._value = u),
3614
- disabled: r(a)._disabled ?? !1,
3617
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => r(t)._value = c),
3618
+ disabled: r(a)._disabled ?? !!((u = r(t)) != null && u.disabled),
3615
3619
  readonly: r(a)._readonly ?? !1,
3616
3620
  style: ee(r(a).style),
3617
3621
  "panel-class": r(a).class,
@@ -3635,25 +3639,26 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
3635
3639
  context: Object
3636
3640
  },
3637
3641
  setup(e) {
3638
- const t = e.context, a = d(() => t == null ? void 0 : t.attrs);
3642
+ const t = e.context, a = m(() => t == null ? void 0 : t.attrs);
3639
3643
  function i(n) {
3640
3644
  t == null || t.handlers.blur(n.value);
3641
3645
  }
3642
3646
  function l(n) {
3643
3647
  t == null || t.node.input(n.value);
3644
3648
  }
3645
- const o = d(() => {
3649
+ const o = m(() => {
3646
3650
  var n, u;
3647
3651
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(n = a.value) == null ? void 0 : n.class} p-invalid` : (u = a.value) == null ? void 0 : u.class;
3648
3652
  });
3649
3653
  return (n, u) => {
3650
- const p = S("Dropdown");
3654
+ var p;
3655
+ const c = S("Dropdown");
3651
3656
  return h(), _("div", Tl, [
3652
- I(p, {
3657
+ I(c, {
3653
3658
  modelValue: r(t)._value,
3654
- "onUpdate:modelValue": u[0] || (u[0] = (f) => r(t)._value = f),
3659
+ "onUpdate:modelValue": u[0] || (u[0] = (d) => r(t)._value = d),
3655
3660
  "input-id": r(t).id,
3656
- disabled: r(a)._disabled ?? !1,
3661
+ disabled: r(a)._disabled ?? !!((p = r(t)) != null && p.disabled),
3657
3662
  readonly: r(a)._readonly ?? !1,
3658
3663
  style: ee(r(a).style),
3659
3664
  class: L(r(o)),
@@ -3708,25 +3713,26 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
3708
3713
  context: Object
3709
3714
  },
3710
3715
  setup(e) {
3711
- const t = e.context, a = d(() => t == null ? void 0 : t.attrs);
3716
+ const t = e.context, a = m(() => t == null ? void 0 : t.attrs);
3712
3717
  function i(n) {
3713
3718
  t == null || t.node.input(n.htmlValue);
3714
3719
  }
3715
3720
  function l(n) {
3716
3721
  n.range === null && (t == null || t.handlers.blur(n.htmlValue));
3717
3722
  }
3718
- const o = d(() => {
3723
+ const o = m(() => {
3719
3724
  var n, u;
3720
3725
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(n = a.value) == null ? void 0 : n.class} p-invalid` : (u = a.value) == null ? void 0 : u.class;
3721
3726
  });
3722
3727
  return (n, u) => {
3723
- const p = S("Editor");
3728
+ var p;
3729
+ const c = S("Editor");
3724
3730
  return h(), _("div", zl, [
3725
- I(p, {
3731
+ I(c, {
3726
3732
  id: r(t).id,
3727
3733
  modelValue: r(t)._value,
3728
- "onUpdate:modelValue": u[0] || (u[0] = (f) => r(t)._value = f),
3729
- disabled: r(a)._disabled ?? !1,
3734
+ "onUpdate:modelValue": u[0] || (u[0] = (d) => r(t)._value = d),
3735
+ disabled: r(a)._disabled ?? !!((p = r(t)) != null && p.disabled),
3730
3736
  readonly: r(a)._readonly ?? !1,
3731
3737
  "editor-style": r(a).style,
3732
3738
  class: L(r(o)),
@@ -3751,23 +3757,24 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
3751
3757
  context: Object
3752
3758
  },
3753
3759
  setup(e) {
3754
- const s = e, t = s.context, a = d(() => t == null ? void 0 : t.attrs);
3760
+ const s = e, t = s.context, a = m(() => t == null ? void 0 : t.attrs);
3755
3761
  function i(o) {
3756
3762
  var n, u;
3757
3763
  t == null || t.node.input((n = s.context) == null ? void 0 : n._value), t == null || t.handlers.blur((u = s.context) == null ? void 0 : u._value);
3758
3764
  }
3759
- const l = d(() => {
3765
+ const l = m(() => {
3760
3766
  var o, n;
3761
3767
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(o = a.value) == null ? void 0 : o.class} p-invalid` : (n = a.value) == null ? void 0 : n.class;
3762
3768
  });
3763
3769
  return (o, n) => {
3770
+ var c;
3764
3771
  const u = S("InputMask");
3765
3772
  return h(), _("div", ql, [
3766
3773
  I(u, {
3767
3774
  id: r(t).id,
3768
3775
  modelValue: r(t)._value,
3769
3776
  "onUpdate:modelValue": n[0] || (n[0] = (p) => r(t)._value = p),
3770
- disabled: r(a)._disabled ?? !1,
3777
+ disabled: r(a)._disabled ?? !!((c = r(t)) != null && c.disabled),
3771
3778
  readonly: r(a)._readonly ?? !1,
3772
3779
  "editor-style": r(a).style,
3773
3780
  class: L(r(l)),
@@ -3793,25 +3800,26 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
3793
3800
  context: Object
3794
3801
  },
3795
3802
  setup(e) {
3796
- const t = e.context, a = d(() => t == null ? void 0 : t.attrs);
3803
+ const t = e.context, a = m(() => t == null ? void 0 : t.attrs);
3797
3804
  function i(n) {
3798
3805
  t == null || t.handlers.blur(n.value);
3799
3806
  }
3800
3807
  function l(n) {
3801
3808
  t == null || t.node.input(n.value);
3802
3809
  }
3803
- const o = d(() => {
3810
+ const o = m(() => {
3804
3811
  var n, u;
3805
3812
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(n = a.value) == null ? void 0 : n.class} p-invalid` : (u = a.value) == null ? void 0 : u.class;
3806
3813
  });
3807
3814
  return (n, u) => {
3808
- const p = S("InputNumber");
3815
+ var p;
3816
+ const c = S("InputNumber");
3809
3817
  return h(), _("div", Hl, [
3810
- I(p, {
3818
+ I(c, {
3811
3819
  modelValue: r(t)._value,
3812
- "onUpdate:modelValue": u[0] || (u[0] = (f) => r(t)._value = f),
3820
+ "onUpdate:modelValue": u[0] || (u[0] = (d) => r(t)._value = d),
3813
3821
  "input-id": r(t).id,
3814
- disabled: r(a)._disabled ?? !1,
3822
+ disabled: r(a)._disabled ?? !!((p = r(t)) != null && p.disabled),
3815
3823
  readonly: r(a)._readonly ?? !1,
3816
3824
  "input-style": r(a).style,
3817
3825
  "input-class": r(o),
@@ -3853,16 +3861,17 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
3853
3861
  context: Object
3854
3862
  },
3855
3863
  setup(e) {
3856
- const s = e, t = s.context, a = d(() => t == null ? void 0 : t.attrs);
3864
+ const s = e, t = s.context, a = m(() => t == null ? void 0 : t.attrs);
3857
3865
  function i(o) {
3858
3866
  var n;
3859
3867
  t == null || t.node.input((n = s.context) == null ? void 0 : n._value);
3860
3868
  }
3861
- const l = d(() => {
3869
+ const l = m(() => {
3862
3870
  var o, n;
3863
3871
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(o = a.value) == null ? void 0 : o.class} p-invalid` : (n = a.value) == null ? void 0 : n.class;
3864
3872
  });
3865
3873
  return (o, n) => {
3874
+ var c;
3866
3875
  const u = S("InputSwitch");
3867
3876
  return h(), _("div", {
3868
3877
  class: L([r(a).option_class, "p-formkit"])
@@ -3872,7 +3881,7 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
3872
3881
  modelValue: r(t)._value,
3873
3882
  "onUpdate:modelValue": n[0] || (n[0] = (p) => r(t)._value = p),
3874
3883
  "input-id": r(t).id,
3875
- disabled: r(a)._disabled ?? !1,
3884
+ disabled: r(a)._disabled ?? !!((c = r(t)) != null && c.disabled),
3876
3885
  readonly: r(a)._readonly ?? !1,
3877
3886
  "input-style": r(a).style,
3878
3887
  "input-class": r(l),
@@ -3896,7 +3905,7 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
3896
3905
  context: Object
3897
3906
  },
3898
3907
  setup(e) {
3899
- const t = e.context, a = d(() => t == null ? void 0 : t.attrs);
3908
+ const t = e.context, a = m(() => t == null ? void 0 : t.attrs);
3900
3909
  function i() {
3901
3910
  return (t == null ? void 0 : t.iconLeft) && (t == null ? void 0 : t.iconLeft.length) > 0;
3902
3911
  }
@@ -3904,38 +3913,38 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
3904
3913
  return (t == null ? void 0 : t.iconRight) && (t == null ? void 0 : t.iconRight.length) > 0;
3905
3914
  }
3906
3915
  function o() {
3907
- let f = "";
3908
- return i() && (f = `p-formkit-icon ${f}p-input-icon-left `), l() && (f = `p-formkit-icon ${f}p-input-icon-right `), f;
3916
+ let p = "";
3917
+ return i() && (p = `p-formkit-icon ${p}p-input-icon-left `), l() && (p = `p-formkit-icon ${p}p-input-icon-right `), p;
3909
3918
  }
3910
- function n(f) {
3911
- t == null || t.handlers.blur(f.target.value);
3919
+ function n(p) {
3920
+ t == null || t.handlers.blur(p.target.value);
3912
3921
  }
3913
- function u(f) {
3914
- t == null || t.node.input(f.target.value);
3922
+ function u(p) {
3923
+ t == null || t.node.input(p.target.value);
3915
3924
  }
3916
- const p = d(() => {
3917
- var f, b;
3918
- return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(f = a.value) == null ? void 0 : f.class} p-invalid` : (b = a.value) == null ? void 0 : b.class;
3925
+ const c = m(() => {
3926
+ var p, d;
3927
+ return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(p = a.value) == null ? void 0 : p.class} p-invalid` : (d = a.value) == null ? void 0 : d.class;
3919
3928
  });
3920
- return (f, b) => {
3921
- var P, q;
3922
- const w = S("InputText");
3929
+ return (p, d) => {
3930
+ var A, q, ie;
3931
+ const k = S("InputText");
3923
3932
  return h(), _("div", Gl, [
3924
3933
  xt("span", {
3925
3934
  class: L(o())
3926
3935
  }, [
3927
3936
  i() ? (h(), _("i", {
3928
3937
  key: 0,
3929
- class: L((P = r(t)) == null ? void 0 : P.iconLeft)
3938
+ class: L((A = r(t)) == null ? void 0 : A.iconLeft)
3930
3939
  }, null, 2)) : Q("", !0),
3931
- I(w, {
3940
+ I(k, {
3932
3941
  id: r(t).id,
3933
3942
  modelValue: r(t)._value,
3934
- "onUpdate:modelValue": b[0] || (b[0] = (fe) => r(t)._value = fe),
3935
- disabled: r(a)._disabled ?? !1,
3943
+ "onUpdate:modelValue": d[0] || (d[0] = (de) => r(t)._value = de),
3944
+ disabled: r(a)._disabled ?? !!((q = r(t)) != null && q.disabled),
3936
3945
  readonly: r(a)._readonly ?? !1,
3937
3946
  style: ee(r(a).style),
3938
- class: L(r(p)),
3947
+ class: L(r(c)),
3939
3948
  tabindex: r(a).tabindex,
3940
3949
  "aria-label": r(a).ariaLabel,
3941
3950
  "aria-labelledby": r(a).ariaLabelledby,
@@ -3948,7 +3957,7 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
3948
3957
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "pt", "pt-options", "unstyled"]),
3949
3958
  l() ? (h(), _("i", {
3950
3959
  key: 1,
3951
- class: L((q = r(t)) == null ? void 0 : q.iconRight)
3960
+ class: L((ie = r(t)) == null ? void 0 : ie.iconRight)
3952
3961
  }, null, 2)) : Q("", !0)
3953
3962
  ], 2)
3954
3963
  ]);
@@ -3960,25 +3969,26 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
3960
3969
  context: Object
3961
3970
  },
3962
3971
  setup(e) {
3963
- const t = e.context, a = d(() => t == null ? void 0 : t.attrs);
3972
+ const t = e.context, a = m(() => t == null ? void 0 : t.attrs);
3964
3973
  function i(n) {
3965
3974
  t == null || t.handlers.blur(n.target.value);
3966
3975
  }
3967
3976
  function l(n) {
3968
3977
  t == null || t.node.input(n.target.value);
3969
3978
  }
3970
- const o = d(() => {
3979
+ const o = m(() => {
3971
3980
  var n, u;
3972
3981
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(n = a.value) == null ? void 0 : n.class} p-invalid` : (u = a.value) == null ? void 0 : u.class;
3973
3982
  });
3974
3983
  return (n, u) => {
3975
- const p = S("Textarea");
3984
+ var p;
3985
+ const c = S("Textarea");
3976
3986
  return h(), _("div", Ql, [
3977
- I(p, {
3987
+ I(c, {
3978
3988
  id: r(t).id,
3979
3989
  modelValue: r(t)._value,
3980
- "onUpdate:modelValue": u[0] || (u[0] = (f) => r(t)._value = f),
3981
- disabled: r(a)._disabled ?? !1,
3990
+ "onUpdate:modelValue": u[0] || (u[0] = (d) => r(t)._value = d),
3991
+ disabled: r(a)._disabled ?? !!((p = r(t)) != null && p.disabled),
3982
3992
  readonly: r(a)._readonly ?? !1,
3983
3993
  style: ee(r(a).style),
3984
3994
  class: L(r(o)),
@@ -4003,28 +4013,29 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
4003
4013
  context: Object
4004
4014
  },
4005
4015
  setup(e) {
4006
- const t = e.context, a = d(() => t == null ? void 0 : t.attrs);
4016
+ const t = e.context, a = m(() => t == null ? void 0 : t.attrs);
4007
4017
  function i(n) {
4008
4018
  t == null || t.node.input(n), t == null || t.handlers.blur(n);
4009
4019
  }
4010
4020
  function l(n) {
4011
4021
  t == null || t.node.input(n);
4012
4022
  }
4013
- const o = d(() => {
4023
+ const o = m(() => {
4014
4024
  var n, u;
4015
4025
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(n = a.value) == null ? void 0 : n.class} p-invalid` : (u = a.value) == null ? void 0 : u.class;
4016
4026
  });
4017
4027
  return (n, u) => {
4018
- const p = S("Knob");
4028
+ var p;
4029
+ const c = S("Knob");
4019
4030
  return h(), _("div", en, [
4020
- I(p, {
4031
+ I(c, {
4021
4032
  id: r(t).id,
4022
4033
  modelValue: r(t)._value,
4023
4034
  "onUpdate:modelValue": [
4024
- u[0] || (u[0] = (f) => r(t)._value = f),
4035
+ u[0] || (u[0] = (d) => r(t)._value = d),
4025
4036
  l
4026
4037
  ],
4027
- disabled: r(a)._disabled ?? !1,
4038
+ disabled: r(a)._disabled ?? !!((p = r(t)) != null && p.disabled),
4028
4039
  readonly: r(a)._readonly ?? !1,
4029
4040
  style: ee(r(a).style),
4030
4041
  class: L(r(o)),
@@ -4055,23 +4066,24 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
4055
4066
  context: Object
4056
4067
  },
4057
4068
  setup(e) {
4058
- const s = e, t = s.context, a = d(() => t == null ? void 0 : t.attrs);
4069
+ const s = e, t = s.context, a = m(() => t == null ? void 0 : t.attrs);
4059
4070
  function i(o) {
4060
4071
  var n;
4061
4072
  t == null || t.node.input((n = s.context) == null ? void 0 : n._value);
4062
4073
  }
4063
- const l = d(() => {
4074
+ const l = m(() => {
4064
4075
  var o, n;
4065
4076
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(o = a.value) == null ? void 0 : o.class} p-invalid` : (n = a.value) == null ? void 0 : n.class;
4066
4077
  });
4067
4078
  return (o, n) => {
4079
+ var c;
4068
4080
  const u = S("MultiSelect");
4069
4081
  return h(), _("div", an, [
4070
4082
  I(u, {
4071
4083
  modelValue: r(t)._value,
4072
4084
  "onUpdate:modelValue": n[0] || (n[0] = (p) => r(t)._value = p),
4073
4085
  "input-id": r(t).id,
4074
- disabled: r(a)._disabled ?? !1,
4086
+ disabled: r(a)._disabled ?? !!((c = r(t)) != null && c.disabled),
4075
4087
  readonly: r(a)._readonly ?? !1,
4076
4088
  "list-style": r(a).style,
4077
4089
  class: L(r(l)),
@@ -4125,24 +4137,24 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
4125
4137
  context: Object
4126
4138
  },
4127
4139
  setup(e) {
4128
- const s = e, t = s.context, a = d(() => t == null ? void 0 : t.attrs);
4140
+ const s = e, t = s.context, a = m(() => t == null ? void 0 : t.attrs);
4129
4141
  function i(o) {
4130
4142
  var n;
4131
4143
  t == null || t.node.input((n = s.context) == null ? void 0 : n._value);
4132
4144
  }
4133
- const l = d(() => {
4145
+ const l = m(() => {
4134
4146
  var o, n;
4135
4147
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(o = a.value) == null ? void 0 : o.class} p-invalid` : (n = a.value) == null ? void 0 : n.class;
4136
4148
  });
4137
4149
  return (o, n) => {
4138
- var p;
4150
+ var c, p;
4139
4151
  const u = S("Listbox");
4140
4152
  return h(), _("div", rn, [
4141
4153
  I(u, {
4142
4154
  id: r(t).id,
4143
4155
  modelValue: r(t)._value,
4144
- "onUpdate:modelValue": n[0] || (n[0] = (f) => r(t)._value = f),
4145
- disabled: r(a)._disabled ?? !1,
4156
+ "onUpdate:modelValue": n[0] || (n[0] = (d) => r(t)._value = d),
4157
+ disabled: r(a)._disabled ?? !!((c = r(t)) != null && c.disabled),
4146
4158
  readonly: r(a)._readonly ?? !1,
4147
4159
  "list-style": r(a).style,
4148
4160
  class: L(r(l)),
@@ -4174,25 +4186,26 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
4174
4186
  context: Object
4175
4187
  },
4176
4188
  setup(e) {
4177
- const t = e.context, a = d(() => t == null ? void 0 : t.attrs);
4189
+ const t = e.context, a = m(() => t == null ? void 0 : t.attrs);
4178
4190
  function i(n) {
4179
4191
  t == null || t.handlers.blur(n.target.value);
4180
4192
  }
4181
4193
  function l(n) {
4182
4194
  t == null || t.node.input(n.target.value);
4183
4195
  }
4184
- const o = d(() => {
4196
+ const o = m(() => {
4185
4197
  var n, u;
4186
4198
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(n = a.value) == null ? void 0 : n.class} p-invalid` : (u = a.value) == null ? void 0 : u.class;
4187
4199
  });
4188
4200
  return (n, u) => {
4189
- const p = S("Password");
4201
+ var p;
4202
+ const c = S("Password");
4190
4203
  return h(), _("div", nn, [
4191
- I(p, {
4204
+ I(c, {
4192
4205
  modelValue: r(t)._value,
4193
- "onUpdate:modelValue": u[0] || (u[0] = (f) => r(t)._value = f),
4206
+ "onUpdate:modelValue": u[0] || (u[0] = (d) => r(t)._value = d),
4194
4207
  "input-id": r(t).id,
4195
- disabled: r(a)._disabled ?? !1,
4208
+ disabled: r(a)._disabled ?? !!((p = r(t)) != null && p.disabled),
4196
4209
  readonly: r(a)._readonly ?? !1,
4197
4210
  "input-style": r(a).style,
4198
4211
  "input-class": r(o),
@@ -4225,12 +4238,12 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
4225
4238
  context: Object
4226
4239
  },
4227
4240
  setup(e) {
4228
- const s = e, t = s.context, a = d(() => t == null ? void 0 : t.attrs);
4241
+ const s = e, t = s.context, a = m(() => t == null ? void 0 : t.attrs);
4229
4242
  function i(o) {
4230
4243
  var n;
4231
4244
  t == null || t.node.input((n = s.context) == null ? void 0 : n._value);
4232
4245
  }
4233
- const l = d(() => {
4246
+ const l = m(() => {
4234
4247
  var o, n;
4235
4248
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(o = a.value) == null ? void 0 : o.class} p-invalid` : (n = a.value) == null ? void 0 : n.class;
4236
4249
  });
@@ -4239,27 +4252,33 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
4239
4252
  return h(), _("div", {
4240
4253
  class: L([r(a).options_class, "p-formkit"])
4241
4254
  }, [
4242
- (h(!0), _(Ia, null, Oa(r(a).options, (p) => (h(), _("div", {
4243
- key: p.value,
4244
- class: L(r(a).option_class)
4245
- }, [
4246
- I(u, {
4247
- modelValue: r(t)._value,
4248
- "onUpdate:modelValue": n[0] || (n[0] = (f) => r(t)._value = f),
4249
- name: r(a).name,
4250
- value: p.value,
4251
- "input-style": r(a).style,
4252
- "input-class": r(l),
4253
- pt: r(a).pt,
4254
- "pt-options": r(a).ptOptions,
4255
- unstyled: r(a).unstyled ?? !1,
4256
- onClick: i,
4257
- onChange: i
4258
- }, null, 8, ["modelValue", "name", "value", "input-style", "input-class", "pt", "pt-options", "unstyled"]),
4259
- xt("label", {
4260
- for: p.value
4261
- }, se(p.label), 9, un)
4262
- ], 2))), 128))
4255
+ (h(!0), _(Ia, null, Oa(r(a).options, (c) => {
4256
+ var p;
4257
+ return h(), _("div", {
4258
+ key: c.value,
4259
+ class: L(r(a).option_class)
4260
+ }, [
4261
+ I(u, {
4262
+ id: r(t).id,
4263
+ modelValue: r(t)._value,
4264
+ "onUpdate:modelValue": n[0] || (n[0] = (d) => r(t)._value = d),
4265
+ disabled: r(a)._disabled ?? !!((p = r(t)) != null && p.disabled),
4266
+ readonly: r(a)._readonly ?? !1,
4267
+ name: r(a).name,
4268
+ value: c.value,
4269
+ "input-style": r(a).style,
4270
+ "input-class": r(l),
4271
+ pt: r(a).pt,
4272
+ "pt-options": r(a).ptOptions,
4273
+ unstyled: r(a).unstyled ?? !1,
4274
+ onClick: i,
4275
+ onChange: i
4276
+ }, null, 8, ["id", "modelValue", "disabled", "readonly", "name", "value", "input-style", "input-class", "pt", "pt-options", "unstyled"]),
4277
+ xt("label", {
4278
+ for: c.value
4279
+ }, se(c.label), 9, un)
4280
+ ], 2);
4281
+ }), 128))
4263
4282
  ], 2);
4264
4283
  };
4265
4284
  }
@@ -4269,23 +4288,24 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
4269
4288
  context: Object
4270
4289
  },
4271
4290
  setup(e) {
4272
- const s = e, t = s.context, a = d(() => t == null ? void 0 : t.attrs);
4291
+ const s = e, t = s.context, a = m(() => t == null ? void 0 : t.attrs);
4273
4292
  function i(o) {
4274
4293
  var n;
4275
4294
  t == null || t.node.input((n = s.context) == null ? void 0 : n._value);
4276
4295
  }
4277
- const l = d(() => {
4296
+ const l = m(() => {
4278
4297
  var o, n;
4279
4298
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(o = a.value) == null ? void 0 : o.class} p-invalid` : (n = a.value) == null ? void 0 : n.class;
4280
4299
  });
4281
4300
  return (o, n) => {
4301
+ var c;
4282
4302
  const u = S("Rating");
4283
4303
  return h(), _("div", cn, [
4284
4304
  I(u, {
4285
4305
  id: r(t).id,
4286
4306
  modelValue: r(t)._value,
4287
4307
  "onUpdate:modelValue": n[0] || (n[0] = (p) => r(t)._value = p),
4288
- disabled: r(a)._disabled ?? !1,
4308
+ disabled: r(a)._disabled ?? !!((c = r(t)) != null && c.disabled),
4289
4309
  readonly: r(a)._readonly ?? !1,
4290
4310
  style: ee(r(a).style),
4291
4311
  class: L(r(l)),
@@ -4311,22 +4331,23 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
4311
4331
  context: Object
4312
4332
  },
4313
4333
  setup(e) {
4314
- const t = e.context, a = d(() => t == null ? void 0 : t.attrs);
4334
+ const t = e.context, a = m(() => t == null ? void 0 : t.attrs);
4315
4335
  function i(o) {
4316
4336
  t == null || t.node.input(o), t == null || t.handlers.blur(o);
4317
4337
  }
4318
- const l = d(() => {
4338
+ const l = m(() => {
4319
4339
  var o, n;
4320
4340
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(o = a.value) == null ? void 0 : o.class} p-invalid` : (n = a.value) == null ? void 0 : n.class;
4321
4341
  });
4322
4342
  return (o, n) => {
4343
+ var c;
4323
4344
  const u = S("Slider");
4324
4345
  return h(), _("div", dn, [
4325
4346
  I(u, {
4326
4347
  id: r(t).id,
4327
4348
  modelValue: r(t)._value,
4328
4349
  "onUpdate:modelValue": n[0] || (n[0] = (p) => r(t)._value = p),
4329
- disabled: r(a)._disabled ?? !1,
4350
+ disabled: r(a)._disabled ?? !!((c = r(t)) != null && c.disabled),
4330
4351
  readonly: r(a)._readonly ?? !1,
4331
4352
  style: ee(r(a).style),
4332
4353
  class: L(r(l)),
@@ -4352,23 +4373,24 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
4352
4373
  context: Object
4353
4374
  },
4354
4375
  setup(e) {
4355
- const s = e, t = s.context, a = d(() => t == null ? void 0 : t.attrs);
4376
+ const s = e, t = s.context, a = m(() => t == null ? void 0 : t.attrs);
4356
4377
  function i(o) {
4357
4378
  var n;
4358
4379
  t == null || t.node.input((n = s.context) == null ? void 0 : n._value);
4359
4380
  }
4360
- const l = d(() => {
4381
+ const l = m(() => {
4361
4382
  var o, n;
4362
4383
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(o = a.value) == null ? void 0 : o.class} p-invalid` : (n = a.value) == null ? void 0 : n.class;
4363
4384
  });
4364
4385
  return (o, n) => {
4386
+ var c;
4365
4387
  const u = S("ToggleButton");
4366
4388
  return h(), _("div", bn, [
4367
4389
  I(u, {
4368
4390
  modelValue: r(t)._value,
4369
4391
  "onUpdate:modelValue": n[0] || (n[0] = (p) => r(t)._value = p),
4370
4392
  "input-id": r(t).id,
4371
- disabled: r(a)._disabled ?? !1,
4393
+ disabled: r(a)._disabled ?? !!((c = r(t)) != null && c.disabled),
4372
4394
  readonly: r(a)._readonly ?? !1,
4373
4395
  "input-style": r(a).style,
4374
4396
  "input-class": r(l),
@@ -4394,24 +4416,24 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
4394
4416
  context: Object
4395
4417
  },
4396
4418
  setup(e) {
4397
- const s = e, t = s.context, a = d(() => t == null ? void 0 : t.attrs);
4419
+ const s = e, t = s.context, a = m(() => t == null ? void 0 : t.attrs);
4398
4420
  function i(o) {
4399
4421
  var n;
4400
4422
  t == null || t.node.input((n = s.context) == null ? void 0 : n._value);
4401
4423
  }
4402
- const l = d(() => {
4424
+ const l = m(() => {
4403
4425
  var o, n;
4404
4426
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(o = a.value) == null ? void 0 : o.class} p-invalid` : (n = a.value) == null ? void 0 : n.class;
4405
4427
  });
4406
4428
  return (o, n) => {
4407
- var p;
4429
+ var c, p;
4408
4430
  const u = S("TreeSelect");
4409
4431
  return h(), _("div", vn, [
4410
4432
  I(u, {
4411
4433
  modelValue: r(t)._value,
4412
- "onUpdate:modelValue": n[0] || (n[0] = (f) => r(t)._value = f),
4434
+ "onUpdate:modelValue": n[0] || (n[0] = (d) => r(t)._value = d),
4413
4435
  "input-id": r(t).id,
4414
- disabled: r(a)._disabled ?? !1,
4436
+ disabled: r(a)._disabled ?? !!((c = r(t)) != null && c.disabled),
4415
4437
  readonly: r(a)._readonly ?? !1,
4416
4438
  "input-style": r(a).style,
4417
4439
  "input-class": r(l),
@@ -4435,23 +4457,24 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
4435
4457
  context: Object
4436
4458
  },
4437
4459
  setup(e) {
4438
- const s = e, t = s.context, a = d(() => t == null ? void 0 : t.attrs);
4460
+ const s = e, t = s.context, a = m(() => t == null ? void 0 : t.attrs);
4439
4461
  function i(o) {
4440
4462
  var n;
4441
4463
  t == null || t.node.input((n = s.context) == null ? void 0 : n._value);
4442
4464
  }
4443
- const l = d(() => {
4465
+ const l = m(() => {
4444
4466
  var o, n;
4445
4467
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(o = a.value) == null ? void 0 : o.class} p-invalid` : (n = a.value) == null ? void 0 : n.class;
4446
4468
  });
4447
4469
  return (o, n) => {
4470
+ var c;
4448
4471
  const u = S("SelectButton");
4449
4472
  return h(), _("div", _n, [
4450
4473
  I(u, {
4451
4474
  id: r(t).id,
4452
4475
  modelValue: r(t)._value,
4453
4476
  "onUpdate:modelValue": n[0] || (n[0] = (p) => r(t)._value = p),
4454
- disabled: r(a)._disabled ?? !1,
4477
+ disabled: r(a)._disabled ?? !!((c = r(t)) != null && c.disabled),
4455
4478
  readonly: r(a)._readonly ?? !1,
4456
4479
  style: ee(r(a).style),
4457
4480
  class: L(r(l)),
@@ -4485,16 +4508,17 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
4485
4508
  context: Object
4486
4509
  },
4487
4510
  setup(e) {
4488
- const s = e, t = s.context, a = d(() => t == null ? void 0 : t.attrs);
4511
+ const s = e, t = s.context, a = m(() => t == null ? void 0 : t.attrs);
4489
4512
  function i(o) {
4490
4513
  var n;
4491
4514
  t == null || t.node.input((n = s.context) == null ? void 0 : n._value);
4492
4515
  }
4493
- const l = d(() => {
4516
+ const l = m(() => {
4494
4517
  var o, n;
4495
4518
  return t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${(o = a.value) == null ? void 0 : o.class} p-invalid` : (n = a.value) == null ? void 0 : n.class;
4496
4519
  });
4497
4520
  return (o, n) => {
4521
+ var c;
4498
4522
  const u = S("TriStateCheckbox");
4499
4523
  return h(), _("div", $n, [
4500
4524
  r(t).attrs.labelLeft ? (h(), _("span", kn, se(r(t).attrs.labelLeft), 1)) : Q("", !0),
@@ -4502,7 +4526,7 @@ const Vl = { class: "p-formkit" }, Sl = /* @__PURE__ */ V({
4502
4526
  modelValue: r(t)._value,
4503
4527
  "onUpdate:modelValue": n[0] || (n[0] = (p) => r(t)._value = p),
4504
4528
  "input-id": r(t).id,
4505
- disabled: r(a)._disabled ?? !1,
4529
+ disabled: r(a)._disabled ?? !!((c = r(t)) != null && c.disabled),
4506
4530
  readonly: r(a)._readonly ?? !1,
4507
4531
  "input-style": r(a).style,
4508
4532
  "input-class": r(l),