@sfxcode/formkit-primevue 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as P, getCurrentInstance as zt, watch as me, watchEffect as le, reactive as yn, h as Ce, ref as Ve, inject as Se, computed as M, provide as vn, toRef as hn, onBeforeUnmount as _n, isRef as He, isReactive as kt, toRaw as gn, markRaw as $n, createTextVNode as wn, resolveComponent as T, openBlock as O, createElementBlock as A, createVNode as D, unref as a, toDisplayString as be, createCommentVNode as re, normalizeStyle as fe, normalizeClass as q, createElementVNode as kn } from "vue";
1
+ import { defineComponent as P, getCurrentInstance as zt, watch as me, watchEffect as le, reactive as yn, h as Ce, ref as Le, inject as Se, computed as M, provide as vn, toRef as hn, onBeforeUnmount as _n, isRef as He, isReactive as kt, toRaw as gn, markRaw as $n, createTextVNode as wn, resolveComponent as T, openBlock as A, createElementBlock as x, createVNode as D, unref as a, toDisplayString as be, createCommentVNode as se, normalizeStyle as fe, normalizeClass as q, createElementVNode as kn } from "vue";
2
2
  const Cn = [
3
3
  "__key",
4
4
  "__init",
@@ -17,7 +17,7 @@ function Sn(e, i) {
17
17
  function E(e, i) {
18
18
  return Object.prototype.hasOwnProperty.call(e, i);
19
19
  }
20
- function Le(e, i, t = !0, n = ["__key"]) {
20
+ function Oe(e, i, t = !0, n = ["__key"]) {
21
21
  if (e === i)
22
22
  return !0;
23
23
  if (typeof i == "object" && typeof e == "object") {
@@ -27,7 +27,7 @@ function Le(e, i, t = !0, n = ["__key"]) {
27
27
  if ((l in e || l in i) && e[l] !== i[l])
28
28
  return !1;
29
29
  for (const l in e)
30
- if (!(l in i) || e[l] !== i[l] && !t || t && !Le(e[l], i[l], t, n))
30
+ if (!(l in i) || e[l] !== i[l] && !t || t && !Oe(e[l], i[l], t, n))
31
31
  return !1;
32
32
  return !0;
33
33
  }
@@ -54,22 +54,22 @@ function Ye(e, i, t = !1, n = !1) {
54
54
  const l = {};
55
55
  if (typeof i == "string")
56
56
  return i;
57
- for (const r in e)
58
- if (E(i, r) && (i[r] !== void 0 || !n)) {
59
- if (t && Array.isArray(e[r]) && Array.isArray(i[r])) {
60
- l[r] = e[r].concat(i[r]);
57
+ for (const s in e)
58
+ if (E(i, s) && (i[s] !== void 0 || !n)) {
59
+ if (t && Array.isArray(e[s]) && Array.isArray(i[s])) {
60
+ l[s] = e[s].concat(i[s]);
61
61
  continue;
62
62
  }
63
- if (i[r] === void 0)
63
+ if (i[s] === void 0)
64
64
  continue;
65
- ye(e[r]) && ye(i[r]) ? l[r] = Ye(e[r], i[r], t, n) : l[r] = i[r];
65
+ ye(e[s]) && ye(i[s]) ? l[s] = Ye(e[s], i[s], t, n) : l[s] = i[s];
66
66
  } else
67
- l[r] = e[r];
68
- for (const r in i)
69
- !E(l, r) && i[r] !== void 0 && (l[r] = i[r]);
67
+ l[s] = e[s];
68
+ for (const s in i)
69
+ !E(l, s) && i[s] !== void 0 && (l[s] = i[s]);
70
70
  return l;
71
71
  }
72
- function xn(e) {
72
+ function Vn(e) {
73
73
  if (e[0] !== '"' && e[0] !== "'" || e[0] !== e[e.length - 1])
74
74
  return !1;
75
75
  const i = e[0];
@@ -90,23 +90,23 @@ function In(e) {
90
90
  }
91
91
  function ce(...e) {
92
92
  return e.reduce((i, t) => {
93
- const { value: n, name: l, modelValue: r, config: s, plugins: o, ...u } = t;
93
+ const { value: n, name: l, modelValue: s, config: r, plugins: o, ...u } = t;
94
94
  return Object.assign(i, u);
95
95
  }, {});
96
96
  }
97
- function Vn(e) {
97
+ function Ln(e) {
98
98
  const i = [];
99
- let t = "", n = 0, l = "", r = "";
100
- for (let s = 0; s < e.length; s++) {
101
- const o = e.charAt(s);
102
- o === l && r !== "\\" ? l = "" : (o === "'" || o === '"') && !l && r !== "\\" ? l = o : o === "(" && !l ? n++ : o === ")" && !l && n--, o === "," && !l && n === 0 ? (i.push(t), t = "") : (o !== " " || l) && (t += o), r = o;
99
+ let t = "", n = 0, l = "", s = "";
100
+ for (let r = 0; r < e.length; r++) {
101
+ const o = e.charAt(r);
102
+ o === l && s !== "\\" ? l = "" : (o === "'" || o === '"') && !l && s !== "\\" ? l = o : o === "(" && !l ? n++ : o === ")" && !l && n--, o === "," && !l && n === 0 ? (i.push(t), t = "") : (o !== " " || l) && (t += o), s = o;
103
103
  }
104
104
  return t && i.push(t), i;
105
105
  }
106
106
  function Ct(e, i) {
107
- const t = {}, n = i.filter((r) => r instanceof RegExp), l = new Set(i);
108
- for (const r in e)
109
- !l.has(r) && !n.some((s) => s.test(r)) && (t[r] = e[r]);
107
+ const t = {}, n = i.filter((s) => s instanceof RegExp), l = new Set(i);
108
+ for (const s in e)
109
+ !l.has(s) && !n.some((r) => r.test(s)) && (t[s] = e[s]);
110
110
  return t;
111
111
  }
112
112
  function St(e, i) {
@@ -114,7 +114,7 @@ function St(e, i) {
114
114
  return i.forEach((l) => {
115
115
  l instanceof RegExp || (t[l] = e[l]);
116
116
  }), Object.keys(e).forEach((l) => {
117
- n.some((r) => r.test(l)) && (t[l] = e[l]);
117
+ n.some((s) => s.test(l)) && (t[l] = e[l]);
118
118
  }), t;
119
119
  }
120
120
  function Ee(e) {
@@ -123,11 +123,11 @@ function Ee(e) {
123
123
  function Wt(e) {
124
124
  return e.replace(/([a-z0-9])([A-Z])/g, (i, t, n) => t + "-" + n.toLowerCase()).replace(" ", "-").toLowerCase();
125
125
  }
126
- function xe(e, i = Cn) {
126
+ function Ve(e, i = Cn) {
127
127
  if (e === null || e instanceof RegExp || e instanceof Date || e instanceof Map || e instanceof Set || typeof File == "function" && e instanceof File)
128
128
  return e;
129
129
  let t;
130
- Array.isArray(e) ? t = e.map((n) => typeof n == "object" ? xe(n, i) : n) : t = Object.keys(e).reduce((n, l) => (n[l] = typeof e[l] == "object" ? xe(e[l], i) : e[l], n), {});
130
+ Array.isArray(e) ? t = e.map((n) => typeof n == "object" ? Ve(n, i) : n) : t = Object.keys(e).reduce((n, l) => (n[l] = typeof e[l] == "object" ? Ve(e[l], i) : e[l], n), {});
131
131
  for (const n of i)
132
132
  n in e && Object.defineProperty(t, n, {
133
133
  enumerable: !1,
@@ -136,16 +136,16 @@ function xe(e, i = Cn) {
136
136
  return t;
137
137
  }
138
138
  function ue(e) {
139
- return typeof e == "object" ? xe(e) : e;
139
+ return typeof e == "object" ? Ve(e) : e;
140
140
  }
141
- function Ln(e, i) {
141
+ function On(e, i) {
142
142
  if (!e || typeof e != "object")
143
143
  return null;
144
144
  const t = i.split(".");
145
145
  let n = e;
146
146
  for (const l in t) {
147
- const r = t[l];
148
- if (E(n, r) && (n = n[r]), +l === t.length - 1)
147
+ const s = t[l];
148
+ if (E(n, s) && (n = n[s]), +l === t.length - 1)
149
149
  return n;
150
150
  if (!n || typeof n != "object")
151
151
  return null;
@@ -168,50 +168,50 @@ function pt() {
168
168
  const e = [];
169
169
  let i = 0;
170
170
  const t = (l) => e.push(l), n = (l) => {
171
- const r = e[i];
172
- return typeof r == "function" ? r(l, (s) => (i++, n(s === void 0 ? l : s))) : (i = 0, l);
171
+ const s = e[i];
172
+ return typeof s == "function" ? s(l, (r) => (i++, n(r === void 0 ? l : r))) : (i = 0, l);
173
173
  };
174
174
  return t.dispatch = n, t.unshift = (l) => e.unshift(l), t.remove = (l) => {
175
- const r = e.indexOf(l);
176
- r > -1 && e.splice(r, 1);
175
+ const s = e.indexOf(l);
176
+ s > -1 && e.splice(s, 1);
177
177
  }, t;
178
178
  }
179
179
  function Ut() {
180
180
  const e = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
181
181
  let t;
182
- const n = (l, r) => {
182
+ const n = (l, s) => {
183
183
  if (t) {
184
- t.set(r.name, [l, r]);
184
+ t.set(s.name, [l, s]);
185
185
  return;
186
186
  }
187
- e.has(r.name) && e.get(r.name).forEach((s) => {
188
- (r.origin === l || s.modifiers.includes("deep")) && s.listener(r);
189
- }), r.bubble && l.bubble(r);
187
+ e.has(s.name) && e.get(s.name).forEach((r) => {
188
+ (s.origin === l || r.modifiers.includes("deep")) && r.listener(s);
189
+ }), s.bubble && l.bubble(s);
190
190
  };
191
- return n.on = (l, r) => {
192
- const [s, ...o] = l.split("."), u = r.receipt || Ze(), b = {
191
+ return n.on = (l, s) => {
192
+ const [r, ...o] = l.split("."), u = s.receipt || Ze(), b = {
193
193
  modifiers: o,
194
- event: s,
195
- listener: r,
194
+ event: r,
195
+ listener: s,
196
196
  receipt: u
197
197
  };
198
- return e.has(s) ? e.get(s).push(b) : e.set(s, [b]), i.has(u) ? i.get(u).push(s) : i.set(u, [s]), u;
198
+ return e.has(r) ? e.get(r).push(b) : e.set(r, [b]), i.has(u) ? i.get(u).push(r) : i.set(u, [r]), u;
199
199
  }, n.off = (l) => {
200
- var r;
201
- i.has(l) && ((r = i.get(l)) === null || r === void 0 || r.forEach((s) => {
202
- const o = e.get(s);
203
- Array.isArray(o) && e.set(s, o.filter((u) => u.receipt !== l));
200
+ var s;
201
+ i.has(l) && ((s = i.get(l)) === null || s === void 0 || s.forEach((r) => {
202
+ const o = e.get(r);
203
+ Array.isArray(o) && e.set(r, o.filter((u) => u.receipt !== l));
204
204
  }), i.delete(l));
205
205
  }, n.pause = (l) => {
206
- t || (t = /* @__PURE__ */ new Map()), l && l.walk((r) => r._e.pause());
206
+ t || (t = /* @__PURE__ */ new Map()), l && l.walk((s) => s._e.pause());
207
207
  }, n.play = (l) => {
208
208
  if (!t)
209
209
  return;
210
- const r = t;
211
- t = void 0, r.forEach(([s, o]) => n(s, o)), l && l.walk((s) => s._e.play());
210
+ const s = t;
211
+ t = void 0, s.forEach(([r, o]) => n(r, o)), l && l.walk((r) => r._e.play());
212
212
  }, n;
213
213
  }
214
- function On(e, i, t, n, l = !0) {
214
+ function An(e, i, t, n, l = !0) {
215
215
  return i._e(e, {
216
216
  payload: n,
217
217
  name: t,
@@ -219,7 +219,7 @@ function On(e, i, t, n, l = !0) {
219
219
  origin: e
220
220
  }), e;
221
221
  }
222
- function An(e, i, t) {
222
+ function xn(e, i, t) {
223
223
  return Je(e.parent) && e.parent._e(e.parent, t), e;
224
224
  }
225
225
  function Pn(e, i, t, n) {
@@ -236,7 +236,7 @@ mt((e, i) => {
236
236
  const t = i(e);
237
237
  return console && typeof console.warn == "function" && console.warn(t.message), t;
238
238
  });
239
- function Oe(e, i = {}) {
239
+ function Ae(e, i = {}) {
240
240
  mt.dispatch({ code: e, data: i });
241
241
  }
242
242
  function N(e, i = {}) {
@@ -253,7 +253,7 @@ function ae(e, i) {
253
253
  };
254
254
  return i && t.value && t.meta.localize !== !1 && (t.value = i.t(t), t.meta.locale = i.config.locale), t;
255
255
  }
256
- const xt = {
256
+ const Vt = {
257
257
  apply: Dn,
258
258
  set: Rn,
259
259
  remove: qt,
@@ -265,15 +265,15 @@ const xt = {
265
265
  function Mn(e = !1) {
266
266
  const i = {};
267
267
  let t, n = e, l = [];
268
- const r = /* @__PURE__ */ new Map();
269
- let s;
268
+ const s = /* @__PURE__ */ new Map();
269
+ let r;
270
270
  const o = new Proxy(i, {
271
271
  get(...u) {
272
272
  const [b, h] = u;
273
- return h === "buffer" ? n : h === "_b" ? l : h === "_m" ? r : h === "_r" ? s : E(xt, h) ? xt[h].bind(null, i, o, t) : Reflect.get(...u);
273
+ return h === "buffer" ? n : h === "_b" ? l : h === "_m" ? s : h === "_r" ? r : E(Vt, h) ? Vt[h].bind(null, i, o, t) : Reflect.get(...u);
274
274
  },
275
275
  set(u, b, h) {
276
- return b === "_n" ? (t = h, s === "__n" && Nt(t, o), !0) : b === "_b" ? (l = h, !0) : b === "buffer" ? (n = h, !0) : b === "_r" ? (s = h, !0) : (N(101, t), !1);
276
+ return b === "_n" ? (t = h, r === "__n" && Nt(t, o), !0) : b === "_b" ? (l = h, !0) : b === "buffer" ? (n = h, !0) : b === "_r" ? (r = h, !0) : (N(101, t), !1);
277
277
  }
278
278
  });
279
279
  return o;
@@ -283,8 +283,8 @@ function Rn(e, i, t, n) {
283
283
  return i._b.push([[n]]), i;
284
284
  if (e[n.key] !== n) {
285
285
  if (typeof n.value == "string" && n.meta.localize !== !1) {
286
- const r = n.value;
287
- n.value = t.t(n), n.value !== r && (n.meta.locale = t.props.locale);
286
+ const s = n.value;
287
+ n.value = t.t(n), n.value !== s && (n.meta.locale = t.props.locale);
288
288
  }
289
289
  const l = `message-${E(e, n.key) ? "updated" : "added"}`;
290
290
  e[n.key] = Object.freeze(t.hook.message.dispatch(n)), t.emit(l, n);
@@ -302,18 +302,18 @@ function qt(e, i, t, n) {
302
302
  const l = e[n];
303
303
  delete e[n], t.emit("message-removed", l);
304
304
  }
305
- return i.buffer === !0 && (i._b = i._b.filter((l) => (l[0] = l[0].filter((r) => r.key !== n), l[1] || l[0].length))), i;
305
+ return i.buffer === !0 && (i._b = i._b.filter((l) => (l[0] = l[0].filter((s) => s.key !== n), l[1] || l[0].length))), i;
306
306
  }
307
307
  function Tn(e, i, t, n, l) {
308
- for (const r in e) {
309
- const s = e[r];
310
- (!l || s.type === l) && !n(s) && qt(e, i, t, r);
308
+ for (const s in e) {
309
+ const r = e[s];
310
+ (!l || r.type === l) && !n(r) && qt(e, i, t, s);
311
311
  }
312
312
  }
313
313
  function Fn(e, i, t, n, l) {
314
- for (const r in e) {
315
- const s = e[r];
316
- l = n(l, s);
314
+ for (const s in e) {
315
+ const r = e[s];
316
+ l = n(l, r);
317
317
  }
318
318
  return l;
319
319
  }
@@ -323,12 +323,12 @@ function Dn(e, i, t, n, l) {
323
323
  i._b.push([n, l]);
324
324
  return;
325
325
  }
326
- const r = new Set(n.map((s) => (i.set(s), s.key)));
327
- typeof l == "string" ? i.filter((s) => s.type !== l || r.has(s.key)) : typeof l == "function" && i.filter((s) => !l(s) || r.has(s.key));
326
+ const s = new Set(n.map((r) => (i.set(r), r.key)));
327
+ typeof l == "string" ? i.filter((r) => r.type !== l || s.has(r.key)) : typeof l == "function" && i.filter((r) => !l(r) || s.has(r.key));
328
328
  } else
329
- for (const r in n) {
330
- const s = t.at(r);
331
- s ? s.store.apply(n[r], l) : zn(t, i, r, n[r], l);
329
+ for (const s in n) {
330
+ const r = t.at(s);
331
+ r ? r.store.apply(n[s], l) : zn(t, i, s, n[s], l);
332
332
  }
333
333
  }
334
334
  function Bn(e, ...i) {
@@ -340,25 +340,25 @@ function Bn(e, ...i) {
340
340
  });
341
341
  return i.filter((l) => !!l).map((l) => {
342
342
  if (typeof l == "string" && (l = [l]), Array.isArray(l))
343
- return l.map((r) => n(r));
343
+ return l.map((s) => n(s));
344
344
  {
345
- const r = {};
346
- for (const s in l)
347
- Array.isArray(l[s]) ? r[s] = l[s].map((o) => n(o)) : r[s] = [n(l[s])];
348
- return r;
345
+ const s = {};
346
+ for (const r in l)
347
+ Array.isArray(l[r]) ? s[r] = l[r].map((o) => n(o)) : s[r] = [n(l[r])];
348
+ return s;
349
349
  }
350
350
  });
351
351
  }
352
352
  function zn(e, i, t, n, l) {
353
- var r;
354
- const s = i._m;
355
- s.has(t) || s.set(t, []), i._r || (i._r = Nt(e, i)), (r = s.get(t)) === null || r === void 0 || r.push([n, l]);
353
+ var s;
354
+ const r = i._m;
355
+ r.has(t) || r.set(t, []), i._r || (i._r = Nt(e, i)), (s = r.get(t)) === null || s === void 0 || s.push([n, l]);
356
356
  }
357
357
  function Nt(e, i) {
358
358
  return e.on("child.deep", ({ payload: t }) => {
359
359
  i._m.forEach((n, l) => {
360
- e.at(l) === t && (n.forEach(([r, s]) => {
361
- t.store.apply(r, s);
360
+ e.at(l) === t && (n.forEach(([s, r]) => {
361
+ t.store.apply(s, r);
362
362
  }), i._m.delete(l));
363
363
  }), i._m.size === 0 && i._r && (e.off(i._r), i._r = void 0);
364
364
  });
@@ -374,11 +374,11 @@ function Un() {
374
374
  init(t) {
375
375
  i = t, t.on("message-added.deep", It(e, 1)), t.on("message-removed.deep", It(e, -1));
376
376
  },
377
- merge: (t) => Vt(i, e, t),
377
+ merge: (t) => Lt(i, e, t),
378
378
  settled(t) {
379
379
  return E(e, t) ? e[t].promise : Promise.resolve();
380
380
  },
381
- unmerge: (t) => Vt(i, e, t, !0),
381
+ unmerge: (t) => Lt(i, e, t, !0),
382
382
  value(t) {
383
383
  return E(e, t) ? e[t].count : 0;
384
384
  }
@@ -386,7 +386,7 @@ function Un() {
386
386
  }
387
387
  function qn(e, i, t, n, l = 0) {
388
388
  if (n = Nn(n || t), !E(i, t)) {
389
- const r = {
389
+ const s = {
390
390
  condition: n,
391
391
  count: 0,
392
392
  name: t,
@@ -396,8 +396,8 @@ function qn(e, i, t, n, l = 0) {
396
396
  }
397
397
  // eslint-disable-line @typescript-eslint/no-empty-function
398
398
  };
399
- i[t] = r, l = e.store.reduce((s, o) => s + r.condition(o) * 1, l), e.each((s) => {
400
- s.ledger.count(r.name, r.condition), l += s.ledger.value(r.name);
399
+ i[t] = s, l = e.store.reduce((r, o) => r + s.condition(o) * 1, l), e.each((r) => {
400
+ r.ledger.count(s.name, s.condition), l += r.ledger.value(s.name);
401
401
  });
402
402
  }
403
403
  return Kt(i[t], l).promise;
@@ -417,14 +417,14 @@ function It(e, i) {
417
417
  }
418
418
  };
419
419
  }
420
- function Vt(e, i, t, n = !1) {
420
+ function Lt(e, i, t, n = !1) {
421
421
  for (const l in i) {
422
- const r = i[l].condition;
423
- n || t.ledger.count(l, r);
424
- const s = t.ledger.value(l) * (n ? -1 : 1);
422
+ const s = i[l].condition;
423
+ n || t.ledger.count(l, s);
424
+ const r = t.ledger.value(l) * (n ? -1 : 1);
425
425
  if (e)
426
426
  do
427
- e.ledger.count(l, r, s), e = e.parent;
427
+ e.ledger.count(l, s, r), e = e.parent;
428
428
  while (e);
429
429
  }
430
430
  }
@@ -454,7 +454,7 @@ function Ht(e) {
454
454
  function Yn(e, i) {
455
455
  Kn.push(yt.on(e, i));
456
456
  }
457
- function Lt(e, i, t) {
457
+ function Ot(e, i, t) {
458
458
  let n = !0;
459
459
  return i in e.config._t ? n = !1 : e.emit(`config:${i}`, t, !1), i in e.props || (e.emit("prop", { prop: i, value: t }), e.emit(`prop:${i}`, t)), n;
460
460
  }
@@ -465,7 +465,7 @@ function Jn(e) {
465
465
  i.dispatchEvent(t);
466
466
  return;
467
467
  }
468
- Oe(151, e);
468
+ Ae(151, e);
469
469
  }
470
470
  function Qn(e) {
471
471
  const i = (t) => {
@@ -479,19 +479,19 @@ function Qn(e) {
479
479
  function Gn(e, i) {
480
480
  const t = typeof e == "string" ? Ht(e) : e;
481
481
  if (t) {
482
- const n = (r) => ue(r.props.initial) || (r.type === "group" ? {} : r.type === "list" ? [] : void 0);
483
- t._e.pause(t), t.input(ue(i) || n(t), !1), t.walk((r) => r.input(n(r), !1));
482
+ const n = (s) => ue(s.props.initial) || (s.type === "group" ? {} : s.type === "list" ? [] : void 0);
483
+ t._e.pause(t), t.input(ue(i) || n(t), !1), t.walk((s) => s.input(n(s), !1));
484
484
  const l = n(t);
485
485
  return t.input(typeof l == "object" ? ue(i) || Ie(l) : l, !1), t._e.play(t), Qn(t), t.emit("reset", t), t;
486
486
  }
487
- Oe(152, e);
487
+ Ae(152, e);
488
488
  }
489
489
  const Xn = {
490
490
  delimiter: ".",
491
491
  delay: 0,
492
492
  locale: "en",
493
493
  rootClasses: (e) => ({ [`formkit-${Wt(e)}`]: !0 })
494
- }, Zt = Symbol("index"), at = Symbol("removed"), rt = Symbol("moved"), Yt = Symbol("inserted");
494
+ }, Zt = Symbol("index"), at = Symbol("removed"), st = Symbol("moved"), Yt = Symbol("inserted");
495
495
  function ei(e) {
496
496
  return e.type === "list" && Array.isArray(e._value);
497
497
  }
@@ -501,45 +501,45 @@ function Je(e) {
501
501
  const Re = (e, i, t) => {
502
502
  N(102, [e, t]);
503
503
  }, ti = {
504
- _c: V(wi, Re, !1),
505
- add: V(mi),
506
- addProps: V(di),
507
- address: V(Ci, Re, !1),
508
- at: V(Si),
509
- bubble: V(An),
510
- clearErrors: V(Ei),
511
- calm: V(fi),
512
- config: V(!1),
513
- define: V(pi),
514
- disturb: V(ui),
515
- destroy: V(ci),
516
- hydrate: V(oi),
517
- index: V($i, gi, !1),
518
- input: V(Qt),
519
- each: V(vi),
520
- emit: V(On),
521
- find: V(Ii),
522
- on: V(Pn),
523
- off: V(En),
524
- parent: V(!1, bi),
525
- plugins: V(!1),
526
- remove: V(yi),
527
- root: V(Li, Re, !1),
528
- reset: V(Pi),
529
- resetConfig: V(_i),
530
- setErrors: V(en),
531
- submit: V(Ai),
532
- t: V(Oi),
533
- use: V(vt),
534
- name: V(ki, !1, !1),
535
- walk: V(hi)
504
+ _c: L(wi, Re, !1),
505
+ add: L(mi),
506
+ addProps: L(di),
507
+ address: L(Ci, Re, !1),
508
+ at: L(Si),
509
+ bubble: L(xn),
510
+ clearErrors: L(Ei),
511
+ calm: L(fi),
512
+ config: L(!1),
513
+ define: L(pi),
514
+ disturb: L(ui),
515
+ destroy: L(ci),
516
+ hydrate: L(oi),
517
+ index: L($i, gi, !1),
518
+ input: L(Qt),
519
+ each: L(vi),
520
+ emit: L(An),
521
+ find: L(Ii),
522
+ on: L(Pn),
523
+ off: L(En),
524
+ parent: L(!1, bi),
525
+ plugins: L(!1),
526
+ remove: L(yi),
527
+ root: L(Oi, Re, !1),
528
+ reset: L(Pi),
529
+ resetConfig: L(_i),
530
+ setErrors: L(en),
531
+ submit: L(xi),
532
+ t: L(Ai),
533
+ use: L(vt),
534
+ name: L(ki, !1, !1),
535
+ walk: L(hi)
536
536
  };
537
537
  function ni() {
538
538
  return new Map(Object.entries(ti));
539
539
  }
540
- function V(e, i, t = !0) {
540
+ function L(e, i, t = !0) {
541
541
  return {
542
- get: e ? (n, l) => t ? (...r) => e(n, l, ...r) : e(n, l) : !1,
542
+ get: e ? (n, l) => t ? (...s) => e(n, l, ...s) : e(n, l) : !1,
543
543
  set: i !== void 0 ? i : Re.bind(null)
544
544
  };
545
545
  }
@@ -552,7 +552,7 @@ function ii() {
552
552
  });
553
553
  }
554
554
  let li = 0, ai = 0;
555
- function ri(e) {
555
+ function si(e) {
556
556
  var i, t;
557
557
  return ((i = e.parent) === null || i === void 0 ? void 0 : i.type) === "list" ? Zt : e.name || `${((t = e.props) === null || t === void 0 ? void 0 : t.type) || "input"}_${++li}`;
558
558
  }
@@ -560,9 +560,9 @@ function Jt(e) {
560
560
  return e.type === "group" ? Ie(e.value && typeof e.value == "object" && !Array.isArray(e.value) ? e.value : {}) : e.type === "list" ? Ie(Array.isArray(e.value) ? e.value : []) : e.value;
561
561
  }
562
562
  function Qt(e, i, t, n = !0) {
563
- return i._value = si(e, e.hook.input.dispatch(t)), e.emit("input", i._value), i.isSettled && e.disturb(), n ? (i._tmo && clearTimeout(i._tmo), i._tmo = setTimeout(Be, e.props.delay, e, i)) : Be(e, i), i.settled;
563
+ return i._value = ri(e, e.hook.input.dispatch(t)), e.emit("input", i._value), i.isSettled && e.disturb(), n ? (i._tmo && clearTimeout(i._tmo), i._tmo = setTimeout(Be, e.props.delay, e, i)) : Be(e, i), i.settled;
564
564
  }
565
- function si(e, i) {
565
+ function ri(e, i) {
566
566
  switch (e.type) {
567
567
  case "input":
568
568
  break;
@@ -581,8 +581,8 @@ function Be(e, i, t = !0, n = !0) {
581
581
  function Gt(e, { name: i, value: t, from: n }) {
582
582
  if (!Object.isFrozen(e._value)) {
583
583
  if (ei(e)) {
584
- const l = t === at ? [] : t === rt && typeof n == "number" ? e._value.splice(n, 1) : [t];
585
- e._value.splice(i, t === rt || n === Yt ? 0 : 1, ...l);
584
+ const l = t === at ? [] : t === st && typeof n == "number" ? e._value.splice(n, 1) : [t];
585
+ e._value.splice(i, t === st || n === Yt ? 0 : 1, ...l);
586
586
  return;
587
587
  }
588
588
  t !== at ? e._value[i] = t : delete e._value[i];
@@ -615,7 +615,7 @@ function ci(e, i) {
615
615
  e.emit("destroying", e), e.store.filter(() => !1), e.parent && (e.parent.emit("childRemoved", e), e.parent.remove(e)), Zn(e), i._value = i.value = void 0, e.emit("destroyed", e);
616
616
  }
617
617
  function pi(e, i, t) {
618
- i.type = t.type, i.props.definition = xe(t), i.value = i._value = Jt({
618
+ i.type = t.type, i.props.definition = Ve(t), i.value = i._value = Jt({
619
619
  type: e.type,
620
620
  value: i.value
621
621
  }), t.forceTypeProp && (e.props.type && (e.props.originalType = e.props.type), i.props.type = t.forceTypeProp), t.family && (i.props.family = t.family), t.features && t.features.forEach((n) => n(e)), t.props && e.addProps(t.props), e.emit("defined", t);
@@ -625,12 +625,12 @@ function di(e, i, t) {
625
625
  if (e.props.attrs) {
626
626
  const l = { ...e.props.attrs };
627
627
  e.props._emit = !1;
628
- for (const s in l) {
629
- const o = Ee(s);
630
- t.includes(o) && (e.props[o] = l[s], delete l[s]);
628
+ for (const r in l) {
629
+ const o = Ee(r);
630
+ t.includes(o) && (e.props[o] = l[r], delete l[r]);
631
631
  }
632
- const r = ue(i._value);
633
- e.props.initial = e.type !== "input" ? Ie(r) : r, e.props._emit = !0, e.props.attrs = l, e.props.definition && (e.props.definition.props = [
632
+ const s = ue(i._value);
633
+ e.props.initial = e.type !== "input" ? Ie(s) : s, e.props._emit = !0, e.props.attrs = l, e.props.definition && (e.props.definition.props = [
634
634
  ...((n = e.props.definition) === null || n === void 0 ? void 0 : n.props) || [],
635
635
  ...t
636
636
  ]);
@@ -656,9 +656,9 @@ function yi(e, i, t) {
656
656
  const n = i.children.indexOf(t);
657
657
  if (n !== -1) {
658
658
  t.isSettled && e.disturb(), i.children.splice(n, 1);
659
- let l = Q(t.props.preserve), r = t.parent;
660
- for (; l === void 0 && r; )
661
- l = Q(r.props.preserve), r = r.parent;
659
+ let l = Q(t.props.preserve), s = t.parent;
660
+ for (; l === void 0 && s; )
661
+ l = Q(s.props.preserve), s = s.parent;
662
662
  l ? e.calm() : e.calm({
663
663
  name: e.type === "list" ? n : t.name,
664
664
  value: at
@@ -679,12 +679,12 @@ function _i(e, i) {
679
679
  i.config = Xt(e.config._t, t), e.walk((n) => n.resetConfig());
680
680
  }
681
681
  function vt(e, i, t, n = !0, l = !0) {
682
- return Array.isArray(t) || t instanceof Set ? (t.forEach((r) => vt(e, i, r)), e) : (i.plugins.has(t) || (l && typeof t.library == "function" && t.library(e), n && t(e) !== !1 && (i.plugins.add(t), e.children.forEach((r) => r.use(t)))), e);
682
+ return Array.isArray(t) || t instanceof Set ? (t.forEach((s) => vt(e, i, s)), e) : (i.plugins.has(t) || (l && typeof t.library == "function" && t.library(e), n && t(e) !== !1 && (i.plugins.add(t), e.children.forEach((s) => s.use(t)))), e);
683
683
  }
684
684
  function gi(e, i, t, n) {
685
685
  if (Je(e.parent)) {
686
- const l = e.parent.children, r = n >= l.length ? l.length - 1 : n < 0 ? 0 : n, s = l.indexOf(e);
687
- return s === -1 ? !1 : (l.splice(s, 1), l.splice(r, 0, e), e.parent.children = l, e.parent.type === "list" && e.parent.disturb().calm({ name: r, value: rt, from: s }), !0);
686
+ const l = e.parent.children, s = n >= l.length ? l.length - 1 : n < 0 ? 0 : n, r = l.indexOf(e);
687
+ return r === -1 ? !1 : (l.splice(r, 1), l.splice(s, 0, e), e.parent.children = l, e.parent.type === "list" && e.parent.disturb().calm({ name: s, value: st, from: r }), !0);
688
688
  }
689
689
  return !1;
690
690
  }
@@ -710,50 +710,50 @@ function Si(e, i, t) {
710
710
  if (!n.length)
711
711
  return;
712
712
  const l = n[0];
713
- let r = e.parent;
714
- for (r || (String(n[0]) === String(e.name) && n.shift(), r = e), l === "$parent" && n.shift(); r && n.length; ) {
715
- const s = n.shift();
716
- switch (s) {
713
+ let s = e.parent;
714
+ for (s || (String(n[0]) === String(e.name) && n.shift(), s = e), l === "$parent" && n.shift(); s && n.length; ) {
715
+ const r = n.shift();
716
+ switch (r) {
717
717
  case "$root":
718
- r = e.root;
718
+ s = e.root;
719
719
  break;
720
720
  case "$parent":
721
- r = r.parent;
721
+ s = s.parent;
722
722
  break;
723
723
  case "$self":
724
- r = e;
724
+ s = e;
725
725
  break;
726
726
  default:
727
- r = r.children.find((o) => String(o.name) === String(s)) || xi(r, s);
727
+ s = s.children.find((o) => String(o.name) === String(r)) || Vi(s, r);
728
728
  }
729
729
  }
730
- return r || void 0;
730
+ return s || void 0;
731
731
  }
732
- function xi(e, i) {
732
+ function Vi(e, i) {
733
733
  const t = String(i).match(/^(find)\((.*)\)$/);
734
734
  if (t) {
735
- const [, n, l] = t, r = l.split(",").map((s) => s.trim());
735
+ const [, n, l] = t, s = l.split(",").map((r) => r.trim());
736
736
  switch (n) {
737
737
  case "find":
738
- return e.find(r[0], r[1]);
738
+ return e.find(s[0], s[1]);
739
739
  default:
740
740
  return;
741
741
  }
742
742
  }
743
743
  }
744
744
  function Ii(e, i, t, n) {
745
- return Vi(e, t, n);
745
+ return Li(e, t, n);
746
746
  }
747
- function Vi(e, i, t = "name") {
748
- const n = typeof t == "string" ? (r) => r[t] == i : t, l = [e];
747
+ function Li(e, i, t = "name") {
748
+ const n = typeof t == "string" ? (s) => s[t] == i : t, l = [e];
749
749
  for (; l.length; ) {
750
- const r = l.shift();
751
- if (n(r, i))
752
- return r;
753
- l.push(...r.children);
750
+ const s = l.shift();
751
+ if (n(s, i))
752
+ return s;
753
+ l.push(...s.children);
754
754
  }
755
755
  }
756
- function Li(e) {
756
+ function Oi(e) {
757
757
  let i = e;
758
758
  for (; i.parent; )
759
759
  i = i.parent;
@@ -766,40 +766,40 @@ function Xt(e = {}, i) {
766
766
  const l = n[1];
767
767
  if (l === "_t")
768
768
  return e;
769
- const r = Reflect.get(...n);
770
- if (r !== void 0)
771
- return r;
769
+ const s = Reflect.get(...n);
770
+ if (s !== void 0)
771
+ return s;
772
772
  if (i) {
773
- const s = i.config[l];
774
- if (s !== void 0)
775
- return s;
773
+ const r = i.config[l];
774
+ if (r !== void 0)
775
+ return r;
776
776
  }
777
777
  if (e.rootConfig && typeof l == "string") {
778
- const s = e.rootConfig[l];
779
- if (s !== void 0)
780
- return s;
778
+ const r = e.rootConfig[l];
779
+ if (r !== void 0)
780
+ return r;
781
781
  }
782
782
  return l === "delay" && (t == null ? void 0 : t.type) === "input" ? 20 : Xn[l];
783
783
  },
784
784
  set(...n) {
785
- const l = n[1], r = n[2];
785
+ const l = n[1], s = n[2];
786
786
  if (l === "_n")
787
- return t = r, e.rootConfig && e.rootConfig._add(t), !0;
787
+ return t = s, e.rootConfig && e.rootConfig._add(t), !0;
788
788
  if (l === "_rmn")
789
789
  return e.rootConfig && e.rootConfig._rm(t), t = void 0, !0;
790
- if (!Le(e[l], r, !1)) {
791
- const s = Reflect.set(...n);
792
- return t && (t.emit(`config:${l}`, r, !1), Lt(t, l, r), t.walk((o) => Lt(o, l, r), !0)), s;
790
+ if (!Oe(e[l], s, !1)) {
791
+ const r = Reflect.set(...n);
792
+ return t && (t.emit(`config:${l}`, s, !1), Ot(t, l, s), t.walk((o) => Ot(o, l, s), !0)), r;
793
793
  }
794
794
  return !0;
795
795
  }
796
796
  });
797
797
  }
798
- function Oi(e, i, t, n = "ui") {
799
- const l = typeof t == "string" ? { key: t, value: t, type: n } : t, r = e.hook.text.dispatch(l);
800
- return e.emit("text", r, !1), r.value;
798
+ function Ai(e, i, t, n = "ui") {
799
+ const l = typeof t == "string" ? { key: t, value: t, type: n } : t, s = e.hook.text.dispatch(l);
800
+ return e.emit("text", s, !1), s.value;
801
801
  }
802
- function Ai(e) {
802
+ function xi(e) {
803
803
  const i = e.name;
804
804
  do {
805
805
  if (e.props.isForm === !0)
@@ -812,14 +812,14 @@ function Pi(e, i, t) {
812
812
  return Gn(e, t);
813
813
  }
814
814
  function en(e, i, t, n) {
815
- const l = `${e.name}-set`, r = e.hook.setErrors.dispatch({ localErrors: t, childErrors: n });
816
- return Bn(e, r.localErrors, r.childErrors).forEach((s) => {
817
- e.store.apply(s, (o) => o.meta.source === l);
815
+ const l = `${e.name}-set`, s = e.hook.setErrors.dispatch({ localErrors: t, childErrors: n });
816
+ return Bn(e, s.localErrors, s.childErrors).forEach((r) => {
817
+ e.store.apply(r, (o) => o.meta.source === l);
818
818
  }), e;
819
819
  }
820
820
  function Ei(e, i, t = !0, n) {
821
821
  return en(e, i, []), t && (n = n || `${e.name}-set`, e.walk((l) => {
822
- l.store.filter((r) => !(r.type === "error" && r.meta && r.meta.source === n));
822
+ l.store.filter((s) => !(s.type === "error" && s.meta && s.meta.source === n));
823
823
  })), e;
824
824
  }
825
825
  function Mi(e) {
@@ -832,22 +832,22 @@ function Ri(e) {
832
832
  let t, n = !0;
833
833
  return new Proxy(i, {
834
834
  get(...l) {
835
- const [r, s] = l;
836
- if (E(i, s))
835
+ const [s, r] = l;
836
+ if (E(i, r))
837
837
  return Reflect.get(...l);
838
- if (t && typeof s == "string" && t.config[s] !== void 0)
839
- return t.config[s];
838
+ if (t && typeof r == "string" && t.config[r] !== void 0)
839
+ return t.config[r];
840
840
  },
841
- set(l, r, s, o) {
842
- if (r === "_n")
843
- return t = s, !0;
844
- if (r === "_emit")
845
- return n = s, !0;
841
+ set(l, s, r, o) {
842
+ if (s === "_n")
843
+ return t = r, !0;
844
+ if (s === "_emit")
845
+ return n = r, !0;
846
846
  const { prop: u, value: b } = t.hook.prop.dispatch({
847
- prop: r,
848
- value: s
847
+ prop: s,
848
+ value: r
849
849
  });
850
- if (!Le(i[u], b, !1) || typeof b == "object") {
850
+ if (!Oe(i[u], b, !1) || typeof b == "object") {
851
851
  const h = Reflect.set(l, u, b, o);
852
852
  return n && (t.emit("prop", { prop: u, value: b }), typeof u == "string" && t.emit(`prop:${u}`, b)), h;
853
853
  }
@@ -878,7 +878,7 @@ function Ti(e) {
878
878
  isCreated: !1,
879
879
  isSettled: !0,
880
880
  ledger: Un(),
881
- name: ri(e),
881
+ name: si(e),
882
882
  parent: e.parent || null,
883
883
  plugins: /* @__PURE__ */ new Set(),
884
884
  props: Ri(i),
@@ -902,20 +902,20 @@ function Fi(e, i) {
902
902
  function Di(e) {
903
903
  const i = e || {}, t = Ti(i), n = new Proxy(t, {
904
904
  get(...l) {
905
- const [, r] = l;
906
- if (r === "__FKNode__")
905
+ const [, s] = l;
906
+ if (s === "__FKNode__")
907
907
  return !0;
908
- const s = t.traps.get(r);
909
- return s && s.get ? s.get(n, t) : Reflect.get(...l);
908
+ const r = t.traps.get(s);
909
+ return r && r.get ? r.get(n, t) : Reflect.get(...l);
910
910
  },
911
911
  set(...l) {
912
- const [, r, s] = l, o = t.traps.get(r);
913
- return o && o.set ? o.set(n, t, r, s) : Reflect.set(...l);
912
+ const [, s, r] = l, o = t.traps.get(s);
913
+ return o && o.set ? o.set(n, t, s, r) : Reflect.set(...l);
914
914
  }
915
915
  });
916
916
  return Fi(n, i);
917
917
  }
918
- function st(e) {
918
+ function rt(e) {
919
919
  return typeof e != "string" && E(e, "$el");
920
920
  }
921
921
  function ot(e) {
@@ -934,11 +934,11 @@ function zi(e) {
934
934
  children: e
935
935
  };
936
936
  if (Bi(e)) {
937
- const { $formkit: i, for: t, if: n, children: l, bind: r, ...s } = e;
937
+ const { $formkit: i, for: t, if: n, children: l, bind: s, ...r } = e;
938
938
  return Object.assign({
939
939
  $cmp: "FormKit",
940
- props: { ...s, type: i }
941
- }, n ? { if: n } : {}, t ? { for: t } : {}, l ? { children: l } : {}, r ? { bind: r } : {});
940
+ props: { ...r, type: i }
941
+ }, n ? { if: n } : {}, t ? { for: t } : {}, l ? { children: l } : {}, s ? { bind: s } : {});
942
942
  }
943
943
  return e;
944
944
  }
@@ -970,7 +970,7 @@ function Y(e) {
970
970
  "/": (p, f, c) => n(p, c) / n(f, c),
971
971
  "%": (p, f, c) => n(p, c) % n(f, c)
972
972
  }
973
- ], r = l.reduce((p, f) => p.concat(Object.keys(f)), []), s = new Set(r.map((p) => p.charAt(0)));
973
+ ], s = l.reduce((p, f) => p.concat(Object.keys(f)), []), r = new Set(s.map((p) => p.charAt(0)));
974
974
  function o(p, f, c, $) {
975
975
  const C = p.filter((m) => m.startsWith(f));
976
976
  return C.length ? C.find((m) => $.length >= c + m.length && $.substring(c, c + m.length) === m ? m : !1) : !1;
@@ -980,7 +980,7 @@ function Y(e) {
980
980
  if (!$.length)
981
981
  return -1;
982
982
  if (!c) {
983
- const m = $.split("").reverse(), d = m.findIndex((y) => s.has(y));
983
+ const m = $.split("").reverse(), d = m.findIndex((y) => r.has(y));
984
984
  $ = m.slice(d).join("");
985
985
  }
986
986
  const C = $[0];
@@ -1001,7 +1001,7 @@ function Y(e) {
1001
1001
  C--;
1002
1002
  else if (C === 0 && d === " ")
1003
1003
  continue;
1004
- if (C === 0 && o(r, d, m, f))
1004
+ if (C === 0 && o(s, d, m, f))
1005
1005
  return [c, m - 1];
1006
1006
  c += d;
1007
1007
  }
@@ -1009,7 +1009,7 @@ function Y(e) {
1009
1009
  }
1010
1010
  function h(p, f = 0) {
1011
1011
  const c = l[f], $ = p.length, C = Object.keys(c);
1012
- let m = 0, d = !1, y = null, g = "", x = null, L, R = "", I = "", F = "", z = "", Z = 0;
1012
+ let m = 0, d = !1, y = null, g = "", V = null, O, R = "", I = "", F = "", z = "", Z = 0;
1013
1013
  const K = (j, H) => {
1014
1014
  j ? F += H : g += H;
1015
1015
  };
@@ -1037,30 +1037,30 @@ function Y(e) {
1037
1037
  let ge = "";
1038
1038
  wt && ([ge, j] = b(j + 2, p));
1039
1039
  const Pe = y ? f : u(Z, p, 0), $e = u(j, p);
1040
- Pe === -1 && $e === -1 ? g = _(F, -1, H, ge) : y && (Pe >= $e || $e === -1) && f === Pe ? (x = y.bind(null, _(F, -1, H, ge)), y = null, g = "") : $e > Pe && f === $e ? g = _(F, -1, H, ge) : g += `(${F})${wt ? `.${ge}` : ""}`, F = "";
1040
+ Pe === -1 && $e === -1 ? g = _(F, -1, H, ge) : y && (Pe >= $e || $e === -1) && f === Pe ? (V = y.bind(null, _(F, -1, H, ge)), y = null, g = "") : $e > Pe && f === $e ? g = _(F, -1, H, ge) : g += `(${F})${wt ? `.${ge}` : ""}`, F = "";
1041
1041
  } else
1042
1042
  F += I;
1043
- else if (m === 0 && (L = o(C, I, j, p))) {
1044
- j === 0 && N(103, [L, p]), j += L.length - 1, j === p.length - 1 && N(104, [L, p]), y ? g && (x = y.bind(null, _(g, f)), y = c[L].bind(null, x), g = "") : x ? (y = c[L].bind(null, _(x, f)), x = null) : (y = c[L].bind(null, _(g, f)), g = "");
1043
+ else if (m === 0 && (O = o(C, I, j, p))) {
1044
+ j === 0 && N(103, [O, p]), j += O.length - 1, j === p.length - 1 && N(104, [O, p]), y ? g && (V = y.bind(null, _(g, f)), y = c[O].bind(null, V), g = "") : V ? (y = c[O].bind(null, _(V, f)), V = null) : (y = c[O].bind(null, _(g, f)), g = "");
1045
1045
  continue;
1046
1046
  } else
1047
1047
  K(m, I);
1048
1048
  }
1049
- return g && y && (y = y.bind(null, _(g, f))), y = !y && x ? x : y, !y && g && (y = (j, H) => typeof j == "function" ? j(H) : j, y = y.bind(null, _(g, f))), !y && !g && N(105, p), y;
1049
+ return g && y && (y = y.bind(null, _(g, f))), y = !y && V ? V : y, !y && g && (y = (j, H) => typeof j == "function" ? j(H) : j, y = y.bind(null, _(g, f))), !y && !g && N(105, p), y;
1050
1050
  }
1051
1051
  function _(p, f, c, $) {
1052
1052
  if (c) {
1053
1053
  const C = _(c, l.length);
1054
1054
  let m, d = $ ? Y(`$${$}`) : !1;
1055
1055
  if (typeof C == "function") {
1056
- const y = Vn(String(p)).map((g) => _(g, -1));
1056
+ const y = Ln(String(p)).map((g) => _(g, -1));
1057
1057
  return (g) => {
1058
- const x = C(g);
1059
- return typeof x != "function" ? (Oe(150, c), x) : (m = x(...y.map((L) => typeof L == "function" ? L(g) : L)), d && (d = d.provide((L) => {
1060
- const R = i(L);
1061
- return L.reduce((F, z) => {
1058
+ const V = C(g);
1059
+ return typeof V != "function" ? (Ae(150, c), V) : (m = V(...y.map((O) => typeof O == "function" ? O(g) : O)), d && (d = d.provide((O) => {
1060
+ const R = i(O);
1061
+ return O.reduce((F, z) => {
1062
1062
  if (z === $ || ($ == null ? void 0 : $.startsWith(`${z}(`))) {
1063
- const K = Ln(m, z);
1063
+ const K = On(m, z);
1064
1064
  F[z] = () => K;
1065
1065
  } else
1066
1066
  F[z] = R[z];
@@ -1076,7 +1076,7 @@ function Y(e) {
1076
1076
  return !1;
1077
1077
  if (p === "undefined")
1078
1078
  return;
1079
- if (xn(p))
1079
+ if (Vn(p))
1080
1080
  return In(p.substring(1, p.length - 1));
1081
1081
  if (!isNaN(+p))
1082
1082
  return Number(p);
@@ -1102,7 +1102,7 @@ function Y(e) {
1102
1102
  provide: S
1103
1103
  });
1104
1104
  }
1105
- const Ot = "0.16.4";
1105
+ const At = "0.16.4";
1106
1106
  function Wi(e) {
1107
1107
  let i = 1;
1108
1108
  return Array.isArray(e) ? e.map((t) => typeof t == "string" || typeof t == "number" ? {
@@ -1125,12 +1125,12 @@ function ve(e, i) {
1125
1125
  return i;
1126
1126
  }
1127
1127
  function he(e, i) {
1128
- return e === null && i === void 0 || e === void 0 && i === null ? !1 : e == i ? !0 : ye(e) && ye(i) ? Le(e, i) : !1;
1128
+ return e === null && i === void 0 || e === void 0 && i === null ? !1 : e == i ? !0 : ye(e) && ye(i) ? Oe(e, i) : !1;
1129
1129
  }
1130
1130
  function ht(e) {
1131
1131
  e.hook.prop((i, t) => (i.prop === "options" && (typeof i.value == "function" ? (e.props.optionsLoader = i.value, i.value = []) : i.value = Wi(i.value)), t(i)));
1132
1132
  }
1133
- const se = k("outer", () => ({
1133
+ const re = k("outer", () => ({
1134
1134
  $el: "div",
1135
1135
  attrs: {
1136
1136
  key: "$id",
@@ -1147,7 +1147,7 @@ const se = k("outer", () => ({
1147
1147
  "data-prefix-icon-click": "$onPrefixIconClick !== undefined || undefined",
1148
1148
  "data-suffix-icon-click": "$onSuffixIconClick !== undefined || undefined"
1149
1149
  }
1150
- }), !0), te = k("inner", "div"), _e = k("wrapper", "div"), Ae = k("label", () => ({
1150
+ }), !0), te = k("inner", "div"), _e = k("wrapper", "div"), xe = k("label", () => ({
1151
1151
  $el: "label",
1152
1152
  if: "$label",
1153
1153
  attrs: {
@@ -1234,7 +1234,7 @@ const se = k("outer", () => ({
1234
1234
  else: "$fns.isChecked($option.value) || undefined"
1235
1235
  }
1236
1236
  }
1237
- })), rn = k("optionHelp", () => ({
1237
+ })), sn = k("optionHelp", () => ({
1238
1238
  $el: "div",
1239
1239
  if: "$option.help",
1240
1240
  attrs: {
@@ -1278,7 +1278,7 @@ const se = k("outer", () => ({
1278
1278
  attrs: {
1279
1279
  class: "$classes.fileName"
1280
1280
  }
1281
- })), At = k("fileRemove", () => ({
1281
+ })), xt = k("fileRemove", () => ({
1282
1282
  $el: "button",
1283
1283
  attrs: {
1284
1284
  onClick: "$handlers.resetFiles"
@@ -1306,7 +1306,7 @@ const se = k("outer", () => ({
1306
1306
  disabled: "$disabled",
1307
1307
  label: "$submitLabel"
1308
1308
  }
1309
- })), sn = k("input", () => ({
1309
+ })), rn = k("input", () => ({
1310
1310
  $el: "input",
1311
1311
  bind: "$attrs",
1312
1312
  attrs: {
@@ -1436,7 +1436,7 @@ function fn(e) {
1436
1436
  function Et(e, i) {
1437
1437
  i.target instanceof HTMLInputElement ? e === "dragover" && i.target.setAttribute("data-file-hover", "true") : i.preventDefault(), e === "drop" && fn(i);
1438
1438
  }
1439
- function rl(e) {
1439
+ function sl(e) {
1440
1440
  je("noFiles", "Select file")(e), je("removeAll", "Remove all")(e), je("remove")(e), Pt && (window._FormKit_File_Drop || (window.addEventListener("dragover", Et.bind(null, "dragover")), window.addEventListener("drop", Et.bind(null, "drop")), window.addEventListener("dragleave", fn), window._FormKit_File_Drop = !0)), e.hook.input((i, t) => t(Array.isArray(i) ? i : [])), e.on("created", () => {
1441
1441
  Array.isArray(e.value) || e.input([], !1), e.context && (e.context.handlers.resetFiles = (i) => {
1442
1442
  if (i.preventDefault(), e.input([]), e.props.id && Pt) {
@@ -1447,9 +1447,9 @@ function rl(e) {
1447
1447
  var t, n;
1448
1448
  const l = [];
1449
1449
  if (i.target instanceof HTMLInputElement && i.target.files) {
1450
- for (let r = 0; r < i.target.files.length; r++) {
1451
- let s;
1452
- (s = i.target.files.item(r)) && l.push({ name: s.name, file: s });
1450
+ for (let s = 0; s < i.target.files.length; s++) {
1451
+ let r;
1452
+ (r = i.target.files.item(s)) && l.push({ name: r.name, file: r });
1453
1453
  }
1454
1454
  e.input(l);
1455
1455
  }
@@ -1457,7 +1457,7 @@ function rl(e) {
1457
1457
  });
1458
1458
  });
1459
1459
  }
1460
- async function sl(e, i) {
1460
+ async function rl(e, i) {
1461
1461
  i.preventDefault(), await e.settled;
1462
1462
  const t = (n) => n.store.set(ae({
1463
1463
  key: "submitted",
@@ -1477,7 +1477,7 @@ async function sl(e, i) {
1477
1477
  value: e.props.incompleteMessage || "Form incomplete."
1478
1478
  }));
1479
1479
  else if (typeof e.props.onSubmit == "function") {
1480
- const n = e.props.onSubmit(e.hook.submit.dispatch(xe(e.value)), e);
1480
+ const n = e.props.onSubmit(e.hook.submit.dispatch(Ve(e.value)), e);
1481
1481
  if (n instanceof Promise) {
1482
1482
  const l = e.props.disabled === void 0 && e.props.submitBehavior !== "live";
1483
1483
  l && (e.props.disabled = !0), e.store.set(ae({
@@ -1492,7 +1492,7 @@ async function sl(e, i) {
1492
1492
  function ol(e) {
1493
1493
  e.props.isForm = !0, e.on("created", () => {
1494
1494
  var i;
1495
- !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.submit = sl.bind(null, e)), E(e.props, "actions") || (e.props.actions = !0);
1495
+ !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.submit = rl.bind(null, e)), E(e.props, "actions") || (e.props.actions = !0);
1496
1496
  }), e.on("settled:blocking", () => e.store.remove("incomplete"));
1497
1497
  }
1498
1498
  function ul(e) {
@@ -1513,7 +1513,7 @@ function pl(e, i) {
1513
1513
  function dl(e) {
1514
1514
  e.on("created", () => {
1515
1515
  var i, t;
1516
- Array.isArray(e.props.options) || Oe(350, e), !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.toggleChecked = cl.bind(null, e)), !((t = e.context) === null || t === void 0) && t.fns && (e.context.fns.isChecked = pl.bind(null, e));
1516
+ Array.isArray(e.props.options) || Ae(350, e), !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.toggleChecked = cl.bind(null, e)), !((t = e.context) === null || t === void 0) && t.fns && (e.context.fns.isChecked = pl.bind(null, e));
1517
1517
  }), e.hook.prop(un(e));
1518
1518
  }
1519
1519
  function ml(e, i) {
@@ -1550,26 +1550,26 @@ function vl(e) {
1550
1550
  e.on("created", () => {
1551
1551
  var i, t, n;
1552
1552
  const l = Q((i = e.props.attrs) === null || i === void 0 ? void 0 : i.multiple);
1553
- !l && e.props.placeholder && Array.isArray(e.props.options) && (e.hook.prop(({ prop: r, value: s }, o) => (r === "options" && (s = Mt(s, e.props.placeholder)), o({ prop: r, value: s }))), e.props.options = Mt(e.props.options, e.props.placeholder)), l ? e.value === void 0 && e.input([], !1) : e.context && !e.context.options && (e.props.attrs = Object.assign({}, e.props.attrs, {
1553
+ !l && e.props.placeholder && Array.isArray(e.props.options) && (e.hook.prop(({ prop: s, value: r }, o) => (s === "options" && (r = Mt(r, e.props.placeholder)), o({ prop: s, value: r }))), e.props.options = Mt(e.props.options, e.props.placeholder)), l ? e.value === void 0 && e.input([], !1) : e.context && !e.context.options && (e.props.attrs = Object.assign({}, e.props.attrs, {
1554
1554
  value: e._value
1555
- }), e.on("input", ({ payload: r }) => {
1555
+ }), e.on("input", ({ payload: s }) => {
1556
1556
  e.props.attrs = Object.assign({}, e.props.attrs, {
1557
- value: r
1557
+ value: s
1558
1558
  });
1559
- })), !((t = e.context) === null || t === void 0) && t.handlers && (e.context.handlers.selectInput = yl.bind(null, e), e.context.handlers.onChange = bl.bind(null, e)), !((n = e.context) === null || n === void 0) && n.fns && (e.context.fns.isSelected = ml.bind(null, e), e.context.fns.showPlaceholder = (r, s) => {
1559
+ })), !((t = e.context) === null || t === void 0) && t.handlers && (e.context.handlers.selectInput = yl.bind(null, e), e.context.handlers.onChange = bl.bind(null, e)), !((n = e.context) === null || n === void 0) && n.fns && (e.context.fns.isSelected = ml.bind(null, e), e.context.fns.showPlaceholder = (s, r) => {
1560
1560
  if (!Array.isArray(e.props.options))
1561
1561
  return !1;
1562
1562
  const o = e.props.options.some((u) => {
1563
1563
  if (u.attrs && "data-is-placeholder" in u.attrs)
1564
1564
  return !1;
1565
1565
  const b = "__original" in u ? u.__original : u.value;
1566
- return Le(r, b);
1566
+ return Oe(s, b);
1567
1567
  });
1568
- return s && !o ? !0 : void 0;
1568
+ return r && !o ? !0 : void 0;
1569
1569
  });
1570
1570
  }), e.hook.input((i, t) => {
1571
- var n, l, r;
1572
- return !e.props.placeholder && i === void 0 && Array.isArray((n = e.props) === null || n === void 0 ? void 0 : n.options) && e.props.options.length && !Q((r = (l = e.props) === null || l === void 0 ? void 0 : l.attrs) === null || r === void 0 ? void 0 : r.multiple) && (i = "__original" in e.props.options[0] ? e.props.options[0].__original : e.props.options[0].value), t(i);
1571
+ var n, l, s;
1572
+ return !e.props.placeholder && i === void 0 && Array.isArray((n = e.props) === null || n === void 0 ? void 0 : n.options) && e.props.options.length && !Q((s = (l = e.props) === null || l === void 0 ? void 0 : l.attrs) === null || s === void 0 ? void 0 : s.multiple) && (i = "__original" in e.props.options[0] ? e.props.options[0].__original : e.props.options[0].value), t(i);
1573
1573
  });
1574
1574
  }
1575
1575
  function de(e, i) {
@@ -1587,21 +1587,21 @@ function we(e, i = {}) {
1587
1587
  return typeof e == "string" ? Ne(i) || typeof i == "string" ? i : e : Array.isArray(e) ? Ne(i) ? i : e : Ye(e, i);
1588
1588
  }
1589
1589
  function hl(e) {
1590
- return se(_e(Ae("$label"), te(G(), e(), X())), ee("$help"), ne(ie("$message.value")));
1590
+ return re(_e(xe("$label"), te(G(), e(), X())), ee("$help"), ne(ie("$message.value")));
1591
1591
  }
1592
1592
  function k(e, i, t = !1) {
1593
1593
  return (...n) => {
1594
- const l = (r) => {
1595
- const s = !i || typeof i == "string" ? { $el: i } : i();
1596
- return (st(s) || ot(s)) && (s.meta || (s.meta = { section: e }), n.length && !s.children && (s.children = [
1597
- ...n.map((o) => typeof o == "string" ? o : o(r))
1598
- ]), st(s) && (s.attrs = {
1594
+ const l = (s) => {
1595
+ const r = !i || typeof i == "string" ? { $el: i } : i();
1596
+ return (rt(r) || ot(r)) && (r.meta || (r.meta = { section: e }), n.length && !r.children && (r.children = [
1597
+ ...n.map((o) => typeof o == "string" ? o : o(s))
1598
+ ]), rt(r) && (r.attrs = {
1599
1599
  class: `$classes.${e}`,
1600
- ...s.attrs || {}
1600
+ ...r.attrs || {}
1601
1601
  })), {
1602
1602
  if: `$slots.${e}`,
1603
1603
  then: `$slots.${e}`,
1604
- else: e in r ? we(s, r[e]) : s
1604
+ else: e in s ? we(r, s[e]) : r
1605
1605
  };
1606
1606
  };
1607
1607
  return l._s = e, t ? cn(l) : l;
@@ -1612,16 +1612,16 @@ function cn(e) {
1612
1612
  }
1613
1613
  function J(e, i, t) {
1614
1614
  const n = (l) => {
1615
- const r = i(l);
1616
- if (t || Ne(r) && "if" in r || ut(r)) {
1617
- const s = {
1615
+ const s = i(l);
1616
+ if (t || Ne(s) && "if" in s || ut(s)) {
1617
+ const r = {
1618
1618
  if: e,
1619
- then: r
1619
+ then: s
1620
1620
  };
1621
- return t && (s.else = t(l)), s;
1621
+ return t && (r.else = t(l)), r;
1622
1622
  } else
1623
- ut(r) ? Object.assign(r.else, { if: e }) : Ne(r) && Object.assign(r, { if: e });
1624
- return r;
1623
+ ut(s) ? Object.assign(s.else, { if: e }) : Ne(s) && Object.assign(s, { if: e });
1624
+ return s;
1625
1625
  };
1626
1626
  return n._s = Ze(), n;
1627
1627
  }
@@ -1635,8 +1635,8 @@ function Te(e, i) {
1635
1635
  function _l(e) {
1636
1636
  return cn(e);
1637
1637
  }
1638
- se(ne(ie("$message.value")), _e(Ui(W("prefix"), G(), qi("$label || $ui.submit.value"), X(), W("suffix"))), ee("$help")), je("submit");
1639
- se(
1638
+ re(ne(ie("$message.value")), _e(Ui(W("prefix"), G(), qi("$label || $ui.submit.value"), X(), W("suffix"))), ee("$help")), je("submit");
1639
+ re(
1640
1640
  J(
1641
1641
  "$options == undefined",
1642
1642
  /**
@@ -1657,18 +1657,18 @@ se(
1657
1657
  }
1658
1658
  }), ze(W("decorator")), X()), Te(qe("$option.label"), {
1659
1659
  if: "$option.label"
1660
- })), rn("$option.help"))))
1660
+ })), sn("$option.help"))))
1661
1661
  ),
1662
1662
  // Help text only goes under the input when it is a single.
1663
1663
  J("$options == undefined && $help", ee("$help")),
1664
1664
  ne(ie("$message.value"))
1665
1665
  ), de("decorator", "checkboxDecorator");
1666
- se(_e(Ae("$label"), te(W("prefix", "label"), G(), Ni(), Hi(Ki(W("fileItem"), Zi("$file.name"), J("$value.length === 1", At(W("fileRemove"), "$ui.remove.value")))), J("$value.length > 1", At("$ui.removeAll.value")), Yi(W("noFiles"), "$ui.noFiles.value"), X(), W("suffix"))), ee("$help"), ne(ie("$message.value"))), de("fileItem", "fileItem"), de("fileRemove", "fileRemove"), de("noFiles", "noFiles");
1666
+ re(_e(xe("$label"), te(W("prefix", "label"), G(), Ni(), Hi(Ki(W("fileItem"), Zi("$file.name"), J("$value.length === 1", xt(W("fileRemove"), "$ui.remove.value")))), J("$value.length > 1", xt("$ui.removeAll.value")), Yi(W("noFiles"), "$ui.noFiles.value"), X(), W("suffix"))), ee("$help"), ne(ie("$message.value"))), de("fileItem", "fileItem"), de("fileRemove", "fileRemove"), de("noFiles", "noFiles");
1667
1667
  Ji("$slots.default", ne(ie("$message.value")), Qi(Gi()));
1668
1668
  on("$slots.default");
1669
- _l(sn());
1669
+ _l(rn());
1670
1670
  on("$slots.default");
1671
- se(
1671
+ re(
1672
1672
  J(
1673
1673
  "$options == undefined",
1674
1674
  /**
@@ -1685,15 +1685,15 @@ se(
1685
1685
  value: "$option.value",
1686
1686
  checked: "$fns.isChecked($option.value)"
1687
1687
  }
1688
- }), ze(W("decorator")), X()), J("$option.label", qe("$option.label"))), rn("$option.help"))))
1688
+ }), ze(W("decorator")), X()), J("$option.label", qe("$option.label"))), sn("$option.help"))))
1689
1689
  ),
1690
1690
  // Help text only goes under the input when it is a single.
1691
1691
  J("$options === undefined && $help", ee("$help")),
1692
1692
  ne(ie("$message.value"))
1693
1693
  ), de("decorator", "radioDecorator");
1694
- se(_e(Ae("$label"), te(W("prefix"), G(), Xi(J("$slots.default", () => "$slots.default", J("$slots.option", tl, el("$option.label")))), J("$attrs.multiple !== undefined", () => "", W("select")), X(), W("suffix"))), ee("$help"), ne(ie("$message.value"))), de("select", "select");
1695
- se(_e(Ae("$label"), te(W("prefix", "label"), G(), nl(), X(), W("suffix"))), ee("$help"), ne(ie("$message.value")));
1696
- se(_e(Ae("$label"), te(W("prefix", "label"), G(), sn(), X(), W("suffix"))), ee("$help"), ne(ie("$message.value")));
1694
+ re(_e(xe("$label"), te(W("prefix"), G(), Xi(J("$slots.default", () => "$slots.default", J("$slots.option", tl, el("$option.label")))), J("$attrs.multiple !== undefined", () => "", W("select")), X(), W("suffix"))), ee("$help"), ne(ie("$message.value"))), de("select", "select");
1695
+ re(_e(xe("$label"), te(W("prefix", "label"), G(), nl(), X(), W("suffix"))), ee("$help"), ne(ie("$message.value")));
1696
+ re(_e(xe("$label"), te(W("prefix", "label"), G(), rn(), X(), W("suffix"))), ee("$help"), ne(ie("$message.value")));
1697
1697
  ae({
1698
1698
  type: "state",
1699
1699
  blocking: !0,
@@ -1717,14 +1717,14 @@ function et(e, i) {
1717
1717
  const n = t.startsWith("default:");
1718
1718
  t = n ? t.split(":")[1] : t;
1719
1719
  const l = t in ke;
1720
- let r;
1720
+ let s;
1721
1721
  if (l)
1722
1722
  return ke[t];
1723
1723
  if (!Xe[t]) {
1724
- if (r = $l(t), r = Ge && typeof r > "u" ? Promise.resolve(r) : r, r instanceof Promise)
1725
- Xe[t] = r.then((s) => !s && typeof t == "string" && !n ? r = typeof e == "function" ? e(t) : kl(t, i) : s).then((s) => (typeof t == "string" && (ke[n ? `default:${t}` : t] = s), s));
1726
- else if (typeof r == "string")
1727
- return ke[n ? `default:${t}` : t] = r, r;
1724
+ if (s = $l(t), s = Ge && typeof s > "u" ? Promise.resolve(s) : s, s instanceof Promise)
1725
+ Xe[t] = s.then((r) => !r && typeof t == "string" && !n ? s = typeof e == "function" ? e(t) : kl(t, i) : r).then((r) => (typeof t == "string" && (ke[n ? `default:${t}` : t] = r), r));
1726
+ else if (typeof s == "string")
1727
+ return ke[n ? `default:${t}` : t] = s, s;
1728
1728
  }
1729
1729
  return Xe[t];
1730
1730
  };
@@ -1742,12 +1742,12 @@ function wl(e) {
1742
1742
  }
1743
1743
  }
1744
1744
  function kl(e, i) {
1745
- const t = Ot.startsWith("__") ? "latest" : Ot, n = typeof i == "function" ? i(e) : `https://cdn.jsdelivr.net/npm/@formkit/icons@${t}/dist/icons/${e}.svg`;
1745
+ const t = At.startsWith("__") ? "latest" : At, n = typeof i == "function" ? i(e) : `https://cdn.jsdelivr.net/npm/@formkit/icons@${t}/dist/icons/${e}.svg`;
1746
1746
  if (Ge)
1747
1747
  return fetch(`${n}`).then(async (l) => {
1748
- const r = await l.text();
1749
- if (r.startsWith("<svg"))
1750
- return r;
1748
+ const s = await l.text();
1749
+ if (s.startsWith("<svg"))
1750
+ return s;
1751
1751
  }).catch((l) => {
1752
1752
  console.error(l);
1753
1753
  });
@@ -1815,12 +1815,12 @@ _t || mt(Sl);
1815
1815
  _t = !0;
1816
1816
  const tt = {};
1817
1817
  let U;
1818
- const oe = /* @__PURE__ */ new Map(), xl = "__raw__", Il = /[a-zA-Z0-9\-][cC]lass$/;
1819
- function Vl(e, i) {
1820
- const t = Ve(null);
1818
+ const oe = /* @__PURE__ */ new Map(), Vl = "__raw__", Il = /[a-zA-Z0-9\-][cC]lass$/;
1819
+ function Ll(e, i) {
1820
+ const t = Le(null);
1821
1821
  if (e === "get") {
1822
1822
  const l = {};
1823
- return t.value = Ll.bind(null, l), t;
1823
+ return t.value = Ol.bind(null, l), t;
1824
1824
  }
1825
1825
  const n = e.split(".");
1826
1826
  return le(() => {
@@ -1830,32 +1830,32 @@ function Vl(e, i) {
1830
1830
  function gt(e, i) {
1831
1831
  if (Array.isArray(e)) {
1832
1832
  for (const l of e) {
1833
- const r = l !== !1 && gt(l, i);
1834
- if (r !== void 0)
1835
- return r;
1833
+ const s = l !== !1 && gt(l, i);
1834
+ if (s !== void 0)
1835
+ return s;
1836
1836
  }
1837
1837
  return;
1838
1838
  }
1839
1839
  let t, n = e;
1840
1840
  for (const l in i) {
1841
- const r = i[l];
1841
+ const s = i[l];
1842
1842
  if (typeof n != "object" || n === null) {
1843
1843
  t = void 0;
1844
1844
  break;
1845
1845
  }
1846
- const s = n[r];
1847
- if (Number(l) === i.length - 1 && s !== void 0) {
1848
- t = typeof s == "function" ? s.bind(n) : s;
1846
+ const r = n[s];
1847
+ if (Number(l) === i.length - 1 && r !== void 0) {
1848
+ t = typeof r == "function" ? r.bind(n) : r;
1849
1849
  break;
1850
1850
  }
1851
- n = s;
1851
+ n = r;
1852
1852
  }
1853
1853
  return t;
1854
1854
  }
1855
- function Ll(e, i) {
1855
+ function Ol(e, i) {
1856
1856
  if (typeof i != "string")
1857
- return Oe(650);
1858
- if (i in e || (e[i] = Ve(void 0)), e[i].value === void 0) {
1857
+ return Ae(650);
1858
+ if (i in e || (e[i] = Le(void 0)), e[i].value === void 0) {
1859
1859
  e[i].value = null;
1860
1860
  const t = Ht(i);
1861
1861
  t && (e[i].value = t.context), Yn(i, ({ payload: n }) => {
@@ -1890,7 +1890,7 @@ function Tt(e, i) {
1890
1890
  const $ = _[c];
1891
1891
  let C;
1892
1892
  const m = typeof $ == "string";
1893
- c.startsWith(xl) ? (c = c.substring(7), C = () => $) : m && $.startsWith("$") && $.length > 1 && !($.startsWith("$reset") && Il.test(c)) ? C = h(Y($)) : typeof $ == "object" && pe($) ? C = n($, void 0) : typeof $ == "object" && ye($) ? C = l($) : C = () => $, f.push((d) => {
1893
+ c.startsWith(Vl) ? (c = c.substring(7), C = () => $) : m && $.startsWith("$") && $.length > 1 && !($.startsWith("$reset") && Il.test(c)) ? C = h(Y($)) : typeof $ == "object" && pe($) ? C = n($, void 0) : typeof $ == "object" && ye($) ? C = l($) : C = () => $, f.push((d) => {
1894
1894
  d[c] = C();
1895
1895
  });
1896
1896
  }
@@ -1900,10 +1900,10 @@ function Tt(e, i) {
1900
1900
  return f.forEach(($) => $(c)), c;
1901
1901
  };
1902
1902
  }
1903
- function r(_, v) {
1903
+ function s(_, v) {
1904
1904
  let w = null, S = () => null, p = !1, f = null, c = null, $ = null, C = !1;
1905
1905
  const m = zi(v);
1906
- if (st(m) ? (w = m.$el, S = m.$el !== "text" ? l(m.attrs, m.bind) : () => null) : ot(m) ? (typeof m.$cmp == "string" ? E(_, m.$cmp) ? w = _[m.$cmp] : (w = m.$cmp, C = !0) : w = m.$cmp, S = l(m.props, m.bind)) : pe(m) && ([p, f, c] = t(_, m)), !pe(m) && "if" in m ? p = h(Y(m.if)) : !pe(m) && w === null && (p = () => !0), "children" in m && m.children)
1906
+ if (rt(m) ? (w = m.$el, S = m.$el !== "text" ? l(m.attrs, m.bind) : () => null) : ot(m) ? (typeof m.$cmp == "string" ? E(_, m.$cmp) ? w = _[m.$cmp] : (w = m.$cmp, C = !0) : w = m.$cmp, S = l(m.props, m.bind)) : pe(m) && ([p, f, c] = t(_, m)), !pe(m) && "if" in m ? p = h(Y(m.if)) : !pe(m) && w === null && (p = () => !0), "children" in m && m.children)
1907
1907
  if (typeof m.children == "string")
1908
1908
  if (m.children.startsWith("$slots."))
1909
1909
  w = w === "text" ? "slot" : w, f = h(Y(m.children));
@@ -1916,16 +1916,16 @@ function Tt(e, i) {
1916
1916
  f = u(_, m.children);
1917
1917
  else {
1918
1918
  const [d, y, g] = t(_, m.children);
1919
- f = (x) => d && d() ? y && y(x) : g && g(x);
1919
+ f = (V) => d && d() ? y && y(V) : g && g(V);
1920
1920
  }
1921
1921
  if (ot(m))
1922
1922
  if (f) {
1923
1923
  const d = f;
1924
1924
  f = (y) => ({
1925
- default(g, x) {
1926
- var L, R, I, F;
1925
+ default(g, V) {
1926
+ var O, R, I, F;
1927
1927
  const z = U;
1928
- x && (U = x), g && ((L = oe.get(U)) === null || L === void 0 || L.unshift(g)), y && ((R = oe.get(U)) === null || R === void 0 || R.unshift(y));
1928
+ V && (U = V), g && ((O = oe.get(U)) === null || O === void 0 || O.unshift(g)), y && ((R = oe.get(U)) === null || R === void 0 || R.unshift(y));
1929
1929
  const Z = d(y);
1930
1930
  return g && ((I = oe.get(U)) === null || I === void 0 || I.shift()), y && ((F = oe.get(U)) === null || F === void 0 || F.shift()), U = z, Z;
1931
1931
  }
@@ -1942,7 +1942,7 @@ function Tt(e, i) {
1942
1942
  }
1943
1943
  return [p, w, S, f, c, $, C];
1944
1944
  }
1945
- function s(_, v) {
1945
+ function r(_, v) {
1946
1946
  const w = _(v), S = U;
1947
1947
  return Object.keys(w).reduce((p, f) => {
1948
1948
  const c = w && w[f];
@@ -1950,7 +1950,7 @@ function Tt(e, i) {
1950
1950
  }, {});
1951
1951
  }
1952
1952
  function o(_, v) {
1953
- const [w, S, p, f, c, $, C] = r(_, v);
1953
+ const [w, S, p, f, c, $, C] = s(_, v);
1954
1954
  let m = (d) => {
1955
1955
  if (w && S === null && f)
1956
1956
  return w() ? f(d) : c && c(d);
@@ -1959,15 +1959,15 @@ function Tt(e, i) {
1959
1959
  return wn(String(f()));
1960
1960
  if (S === "slot" && f)
1961
1961
  return f(d);
1962
- const y = C ? T(S) : S, g = f != null && f.slot ? s(f, d) : null;
1962
+ const y = C ? T(S) : S, g = f != null && f.slot ? r(f, d) : null;
1963
1963
  return Ce(y, p(), g || (f ? f(d) : []));
1964
1964
  }
1965
1965
  return typeof c == "function" ? c(d) : c;
1966
1966
  };
1967
1967
  if ($) {
1968
- const d = m, [y, g, x] = $;
1968
+ const d = m, [y, g, V] = $;
1969
1969
  m = () => {
1970
- const L = y(), R = isNaN(L) ? L : Array(Number(L)).fill(0).map((Z, K) => K), I = [];
1970
+ const O = y(), R = isNaN(O) ? O : Array(Number(O)).fill(0).map((Z, K) => K), I = [];
1971
1971
  if (typeof R != "object")
1972
1972
  return null;
1973
1973
  const F = oe.get(U) || [], z = Array.isArray(R);
@@ -1977,7 +1977,7 @@ function Tt(e, i) {
1977
1977
  const K = Object.defineProperty({
1978
1978
  ...F.reduce((j, H) => j.__idata ? { ...j, ...H } : H, {}),
1979
1979
  [g]: R[Z],
1980
- ...x !== null ? { [x]: z ? Number(Z) : Z } : {}
1980
+ ...V !== null ? { [V]: z ? Number(Z) : Z } : {}
1981
1981
  }, "__idata", { enumerable: !1, value: !0 });
1982
1982
  F.unshift(K), I.push(d.bind(null, K)()), F.shift();
1983
1983
  }
@@ -2013,34 +2013,34 @@ function pn(e, i) {
2013
2013
  let n;
2014
2014
  return t.length && (n = gt(t, e.split("."))), n === void 0 ? i : n;
2015
2015
  }
2016
- function Ol(e, i) {
2016
+ function Al(e, i) {
2017
2017
  return new Proxy(e, {
2018
2018
  get(...t) {
2019
2019
  let n;
2020
2020
  const l = t[1];
2021
2021
  if (typeof l == "string") {
2022
- const r = U;
2023
- U = i, n = pn(l, void 0), U = r;
2022
+ const s = U;
2023
+ U = i, n = pn(l, void 0), U = s;
2024
2024
  }
2025
2025
  return n !== void 0 ? n : Reflect.get(...t);
2026
2026
  }
2027
2027
  });
2028
2028
  }
2029
2029
  function Ft(e, i, t) {
2030
- return e((n, l = {}) => n.reduce((r, s) => {
2031
- if (s.startsWith("slots.")) {
2032
- const o = s.substring(6), u = () => i.slots && E(i.slots, o) && typeof i.slots[o] == "function";
2030
+ return e((n, l = {}) => n.reduce((s, r) => {
2031
+ if (r.startsWith("slots.")) {
2032
+ const o = r.substring(6), u = () => i.slots && E(i.slots, o) && typeof i.slots[o] == "function";
2033
2033
  if (l.if)
2034
- r[s] = u;
2034
+ s[r] = u;
2035
2035
  else if (i.slots) {
2036
- const b = Ol(i, t);
2037
- r[s] = () => u() ? i.slots[o](b) : null;
2036
+ const b = Al(i, t);
2037
+ s[r] = () => u() ? i.slots[o](b) : null;
2038
2038
  }
2039
2039
  } else {
2040
- const o = Vl(s, i);
2041
- r[s] = () => pn(s, o.value);
2040
+ const o = Ll(r, i);
2041
+ s[r] = () => pn(r, o.value);
2042
2042
  }
2043
- return r;
2043
+ return s;
2044
2044
  }, {}), t);
2045
2045
  }
2046
2046
  let Dt = 0;
@@ -2064,17 +2064,17 @@ const dn = P({
2064
2064
  const t = zt();
2065
2065
  let n = Symbol(String(Dt++));
2066
2066
  oe.set(n, []);
2067
- let l = Tt(e.library, e.schema), r, s;
2067
+ let l = Tt(e.library, e.schema), s, r;
2068
2068
  return me(() => e.schema, (o, u) => {
2069
2069
  var b;
2070
- n = Symbol(String(Dt++)), l = Tt(e.library, e.schema), r = Ft(l, s, n), o === u && ((b = t == null ? void 0 : t.proxy) === null || b === void 0 ? void 0 : b.$forceUpdate)();
2070
+ n = Symbol(String(Dt++)), l = Tt(e.library, e.schema), s = Ft(l, r, n), o === u && ((b = t == null ? void 0 : t.proxy) === null || b === void 0 ? void 0 : b.$forceUpdate)();
2071
2071
  }, { deep: !0 }), le(() => {
2072
- s = Object.assign(yn(e.data), {
2072
+ r = Object.assign(yn(e.data), {
2073
2073
  slots: i.slots
2074
- }), r = Ft(l, s, n);
2075
- }), () => r();
2074
+ }), s = Ft(l, r, n);
2075
+ }), () => s();
2076
2076
  }
2077
- }), Al = {
2077
+ }), xl = {
2078
2078
  config: {
2079
2079
  type: Object,
2080
2080
  default: {}
@@ -2142,7 +2142,7 @@ const dn = P({
2142
2142
  type: [String, Function],
2143
2143
  required: !1
2144
2144
  }
2145
- }, Pl = Al, Ke = Symbol("FormKitParent");
2145
+ }, Pl = xl, Ke = Symbol("FormKitParent");
2146
2146
  P({
2147
2147
  props: Pl,
2148
2148
  emits: {
@@ -2161,37 +2161,37 @@ P({
2161
2161
  const t = Tl(e, i);
2162
2162
  if (t.props.definition || N(600, t), t.props.definition.component)
2163
2163
  return () => {
2164
- var s;
2165
- return Ce((s = t.props.definition) === null || s === void 0 ? void 0 : s.component, {
2164
+ var r;
2165
+ return Ce((r = t.props.definition) === null || r === void 0 ? void 0 : r.component, {
2166
2166
  context: t.context
2167
2167
  }, { ...i.slots });
2168
2168
  };
2169
- const n = Ve([]), l = () => {
2170
- var s, o;
2171
- const u = (o = (s = t.props) === null || s === void 0 ? void 0 : s.definition) === null || o === void 0 ? void 0 : o.schema;
2169
+ const n = Le([]), l = () => {
2170
+ var r, o;
2171
+ const u = (o = (r = t.props) === null || r === void 0 ? void 0 : r.definition) === null || o === void 0 ? void 0 : o.schema;
2172
2172
  u || N(601, t), n.value = typeof u == "function" ? u({ ...e.sectionsSchema }) : u;
2173
2173
  };
2174
2174
  l(), t.on("schema", l), i.emit("node", t);
2175
- const r = t.props.definition.library;
2176
- return i.expose({ node: t }), () => Ce(dn, { schema: n.value, data: t.context, library: r }, { ...i.slots });
2175
+ const s = t.props.definition.library;
2176
+ return i.expose({ node: t }), () => Ce(dn, { schema: n.value, data: t.context, library: s }, { ...i.slots });
2177
2177
  }
2178
2178
  });
2179
2179
  const mn = Symbol.for("FormKitOptions"), ft = Symbol();
2180
2180
  function El(e, i) {
2181
- const t = {}, n = (s) => {
2182
- for (const o of s)
2183
- o.__str in t && t[o.__str](), t[o.__str] = me(Rl.bind(null, e, o), r.bind(null, o), { deep: !1 });
2184
- }, r = Ml(e, i, n, (s) => {
2185
- if (s.length)
2181
+ const t = {}, n = (r) => {
2182
+ for (const o of r)
2183
+ o.__str in t && t[o.__str](), t[o.__str] = me(Rl.bind(null, e, o), s.bind(null, o), { deep: !1 });
2184
+ }, s = Ml(e, i, n, (r) => {
2185
+ if (r.length)
2186
2186
  for (const o in t)
2187
- `${o}`.startsWith(`${s.__str}.`) && (t[o](), delete t[o]);
2187
+ `${o}`.startsWith(`${r.__str}.`) && (t[o](), delete t[o]);
2188
2188
  });
2189
2189
  n($t(e));
2190
2190
  }
2191
2191
  function Ml(e, i, t, n) {
2192
2192
  return (l) => {
2193
- const r = bn(e, l);
2194
- r !== ft && (l.__deep && n(l), typeof r == "object" && t($t(r, [l], ...l)), i(l, r, e));
2193
+ const s = bn(e, l);
2194
+ s !== ft && (l.__deep && n(l), typeof s == "object" && t($t(s, [l], ...l)), i(l, s, e));
2195
2195
  };
2196
2196
  }
2197
2197
  function Rl(e, i) {
@@ -2223,8 +2223,8 @@ function $t(e, i = [], ...t) {
2223
2223
  for (const n in e) {
2224
2224
  const l = t.concat(n);
2225
2225
  Object.defineProperty(l, "__str", { value: l.join(".") });
2226
- const r = e[n];
2227
- ye(r) || Array.isArray(r) ? (i.push(Object.defineProperty(l, "__deep", { value: !0 })), i = i.concat($t(r, [], ...l))) : i.push(l);
2226
+ const s = e[n];
2227
+ ye(s) || Array.isArray(s) ? (i.push(Object.defineProperty(l, "__deep", { value: !0 })), i = i.concat($t(s, [], ...l))) : i.push(l);
2228
2228
  }
2229
2229
  return i;
2230
2230
  }
@@ -2257,18 +2257,18 @@ function jl(e) {
2257
2257
  }
2258
2258
  function Tl(e, i, t = {}) {
2259
2259
  var n;
2260
- const l = Object.assign({}, Se(mn) || {}, t), r = zt(), s = jl(r == null ? void 0 : r.vnode.props), o = "modelValue" in ((n = r == null ? void 0 : r.vnode.props) !== null && n !== void 0 ? n : {}), u = e.modelValue !== void 0 ? e.modelValue : ue(i.attrs.value);
2260
+ const l = Object.assign({}, Se(mn) || {}, t), s = zt(), r = jl(s == null ? void 0 : s.vnode.props), o = "modelValue" in ((n = s == null ? void 0 : s.vnode.props) !== null && n !== void 0 ? n : {}), u = e.modelValue !== void 0 ? e.modelValue : ue(i.attrs.value);
2261
2261
  function b() {
2262
2262
  const d = {
2263
2263
  ...ce(e),
2264
- ...s
2264
+ ...r
2265
2265
  }, y = Ct(ce(i.attrs), nt);
2266
2266
  y.key || (y.key = Ze()), d.attrs = y;
2267
2267
  const g = St(ce(i.attrs), nt);
2268
- for (const L in g)
2269
- d[Ee(L)] = g[L];
2270
- const x = { props: {} };
2271
- return Bt(x, e), Object.assign(d, x.props), typeof d.type != "string" && (d.definition = d.type, delete d.type), d;
2268
+ for (const O in g)
2269
+ d[Ee(O)] = g[O];
2270
+ const V = { props: {} };
2271
+ return Bt(V, e), Object.assign(d, V.props), typeof d.type != "string" && (d.definition = d.type, delete d.type), d;
2272
2272
  }
2273
2273
  const h = b(), _ = h.ignore ? null : e.parent || Se(Ke, null), v = Di(Ye(l || {}, {
2274
2274
  name: e.name || void 0,
@@ -2280,7 +2280,7 @@ function Tl(e, i, t = {}) {
2280
2280
  index: e.index
2281
2281
  }, !1, !0));
2282
2282
  v.props.definition || N(600, v);
2283
- const w = Ve(new Set(v.props.definition.props || []));
2283
+ const w = Le(new Set(v.props.definition.props || []));
2284
2284
  v.on("added-props", ({ payload: d }) => {
2285
2285
  Array.isArray(d) && d.forEach((y) => w.value.add(y));
2286
2286
  });
@@ -2322,16 +2322,16 @@ function Tl(e, i, t = {}) {
2322
2322
  le(() => {
2323
2323
  const y = Object.keys(e.inputErrors);
2324
2324
  y.length || v.clearErrors(!0, d);
2325
- const g = y.reduce((x, L) => {
2326
- let R = e.inputErrors[L];
2327
- return typeof R == "string" && (R = [R]), Array.isArray(R) && (x[L] = R.map((I) => ae({
2325
+ const g = y.reduce((V, O) => {
2326
+ let R = e.inputErrors[O];
2327
+ return typeof R == "string" && (R = [R]), Array.isArray(R) && (V[O] = R.map((I) => ae({
2328
2328
  key: I,
2329
2329
  type: "error",
2330
2330
  value: I,
2331
2331
  meta: { source: d }
2332
- }))), x;
2332
+ }))), V;
2333
2333
  }, {});
2334
- v.store.apply(g, (x) => x.type === "error" && x.meta.source === d);
2334
+ v.store.apply(g, (V) => V.type === "error" && V.meta.source === d);
2335
2335
  });
2336
2336
  }
2337
2337
  le(() => Object.assign(v.config, e.config)), v.type !== "input" && vn(Ke, v);
@@ -2345,9 +2345,9 @@ function Tl(e, i, t = {}) {
2345
2345
  }
2346
2346
  }), o && (El(hn(e, "modelValue"), (d, y) => {
2347
2347
  var g;
2348
- const x = De(y);
2349
- if (lt(x) && m.has(x))
2350
- return m.delete(x);
2348
+ const V = De(y);
2349
+ if (lt(V) && m.has(V))
2350
+ return m.delete(V);
2351
2351
  d.length ? (g = v.at(d)) === null || g === void 0 || g.input(y, !1) : v.input(y, !1);
2352
2352
  }), v.value !== u && v.emit("modelUpdated")), _n(() => v.destroy()), v;
2353
2353
  }
@@ -2403,20 +2403,20 @@ P({
2403
2403
  setup(e, i) {
2404
2404
  const t = M(() => e.node || Se(Ke, void 0));
2405
2405
  me(t, () => {
2406
- var r;
2407
- !((r = t.value) === null || r === void 0) && r.context && !Q(e.defaultPosition) && (t.value.context.defaultMessagePlacement = !1);
2406
+ var s;
2407
+ !((s = t.value) === null || s === void 0) && s.context && !Q(e.defaultPosition) && (t.value.context.defaultMessagePlacement = !1);
2408
2408
  }, { immediate: !0 });
2409
2409
  const n = Wl(e.sectionsSchema || {}), l = M(() => {
2410
- var r, s, o, u, b, h;
2410
+ var s, r, o, u, b, h;
2411
2411
  return {
2412
- messages: ((s = (r = t.value) === null || r === void 0 ? void 0 : r.context) === null || s === void 0 ? void 0 : s.messages) || {},
2412
+ messages: ((r = (s = t.value) === null || s === void 0 ? void 0 : s.context) === null || r === void 0 ? void 0 : r.messages) || {},
2413
2413
  fns: ((u = (o = t.value) === null || o === void 0 ? void 0 : o.context) === null || u === void 0 ? void 0 : u.fns) || {},
2414
2414
  classes: ((h = (b = t.value) === null || b === void 0 ? void 0 : b.context) === null || h === void 0 ? void 0 : h.classes) || {}
2415
2415
  };
2416
2416
  });
2417
2417
  return () => {
2418
- var r;
2419
- return !((r = t.value) === null || r === void 0) && r.context ? Ce(dn, { schema: n, data: l.value }, { ...i.slots }) : null;
2418
+ var s;
2419
+ return !((s = t.value) === null || s === void 0) && s.context ? Ce(dn, { schema: n, data: l.value }, { ...i.slots }) : null;
2420
2420
  };
2421
2421
  }
2422
2422
  });
@@ -2438,25 +2438,25 @@ P({
2438
2438
  },
2439
2439
  setup(e) {
2440
2440
  var i, t;
2441
- const n = Ve(void 0), l = Se(mn, {}), r = Se(Ke, null);
2442
- let s;
2441
+ const n = Le(void 0), l = Se(mn, {}), s = Se(Ke, null);
2442
+ let r;
2443
2443
  function o() {
2444
- if (!s || typeof s != "function")
2444
+ if (!r || typeof r != "function")
2445
2445
  return;
2446
- const u = s(e.icon);
2446
+ const u = r(e.icon);
2447
2447
  u instanceof Promise ? u.then((b) => {
2448
2448
  n.value = b;
2449
2449
  }) : n.value = u;
2450
2450
  }
2451
2451
  if (e.iconLoader && typeof e.iconLoader == "function")
2452
- s = et(e.iconLoader);
2453
- else if (r && (!((i = r.props) === null || i === void 0) && i.iconLoader))
2454
- s = et(r.props.iconLoader);
2452
+ r = et(e.iconLoader);
2453
+ else if (s && (!((i = s.props) === null || i === void 0) && i.iconLoader))
2454
+ r = et(s.props.iconLoader);
2455
2455
  else if (e.iconLoaderUrl && typeof e.iconLoaderUrl == "function")
2456
- s = et(s, e.iconLoaderUrl);
2456
+ r = et(r, e.iconLoaderUrl);
2457
2457
  else {
2458
2458
  const u = (t = l == null ? void 0 : l.plugins) === null || t === void 0 ? void 0 : t.find((b) => typeof b.iconHandler == "function");
2459
- u && (s = u.iconHandler);
2459
+ u && (r = u.iconHandler);
2460
2460
  }
2461
2461
  return me(() => e.icon, () => {
2462
2462
  o();
@@ -2476,13 +2476,13 @@ const Ul = /* @__PURE__ */ P({
2476
2476
  function l(o) {
2477
2477
  t == null || t.node.input(t == null ? void 0 : t._value);
2478
2478
  }
2479
- function r(o) {
2479
+ function s(o) {
2480
2480
  t == null || t.node.input(o);
2481
2481
  }
2482
- const s = M(() => t != null && t.state.valid ? n == null ? void 0 : n.class : `${n == null ? void 0 : n.class} p-invalid`);
2482
+ const r = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2483
2483
  return (o, u) => {
2484
2484
  const b = T("Calendar");
2485
- return O(), A("div", null, [
2485
+ return A(), x("div", null, [
2486
2486
  D(b, {
2487
2487
  modelValue: a(t)._value,
2488
2488
  "onUpdate:modelValue": u[0] || (u[0] = (h) => a(t)._value = h),
@@ -2490,7 +2490,7 @@ const Ul = /* @__PURE__ */ P({
2490
2490
  disabled: a(n)._disabled ?? !1,
2491
2491
  readonly: a(n)._readonly ?? !1,
2492
2492
  "input-style": a(n).style,
2493
- "input-class": a(s),
2493
+ "input-class": a(r),
2494
2494
  tabindex: a(n).tabindex,
2495
2495
  "aria-label": a(n).ariaLabel,
2496
2496
  "aria-labelledby": a(n).ariaLabelledby,
@@ -2534,7 +2534,7 @@ const Ul = /* @__PURE__ */ P({
2534
2534
  "append-to": a(n).appendTo ?? "body",
2535
2535
  "panel-style": a(n).panelStyle,
2536
2536
  "panel-class": a(n).panelClass,
2537
- onDateSelect: r,
2537
+ onDateSelect: s,
2538
2538
  onInput: l
2539
2539
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "date-format", "selection-mode", "inline", "show-other-months", "select-other-months", "icon", "show-icon", "previous-icon", "next-icon", "increment-icon", "decrement-icon", "number-of-months", "responsive-options", "view", "touch-u-i", "min-date", "max-date", "disabled-dates", "disabled-days", "max-date-count", "show-on-focus", "auto-z-index", "base-z-index", "show-button-bar", "show-time", "time-only", "short-year-cutoff", "hour-format", "step-hour", "step-minute", "step-second", "show-seconds", "hide-on-date-time-select", "hide-on-range-selection", "time-separator", "show-week", "manual-input", "append-to", "panel-style", "panel-class"])
2540
2540
  ]);
@@ -2553,15 +2553,15 @@ const Ul = /* @__PURE__ */ P({
2553
2553
  },
2554
2554
  setup(e) {
2555
2555
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
2556
- function l(s) {
2556
+ function l(r) {
2557
2557
  var o;
2558
2558
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
2559
2559
  }
2560
- const r = M(() => t != null && t.state.valid ? n == null ? void 0 : n.class : `${n == null ? void 0 : n.class} p-invalid`);
2561
- return (s, o) => {
2560
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2561
+ return (r, o) => {
2562
2562
  const u = T("Checkbox");
2563
- return O(), A("div", null, [
2564
- a(t).attrs.labelLeft ? (O(), A("span", ql, be(a(t).attrs.labelLeft), 1)) : re("", !0),
2563
+ return A(), x("div", null, [
2564
+ a(t).attrs.labelLeft ? (A(), x("span", ql, be(a(t).attrs.labelLeft), 1)) : se("", !0),
2565
2565
  D(u, {
2566
2566
  modelValue: a(t)._value,
2567
2567
  "onUpdate:modelValue": o[0] || (o[0] = (b) => a(t)._value = b),
@@ -2569,7 +2569,7 @@ const Ul = /* @__PURE__ */ P({
2569
2569
  disabled: a(n)._disabled ?? !1,
2570
2570
  readonly: a(n)._readonly ?? !1,
2571
2571
  "input-style": a(n).style,
2572
- "input-class": a(r),
2572
+ "input-class": a(s),
2573
2573
  tabindex: a(n).tabindex,
2574
2574
  "aria-label": a(n).ariaLabel,
2575
2575
  "aria-labelledby": a(n).ariaLabelledby,
@@ -2578,7 +2578,7 @@ const Ul = /* @__PURE__ */ P({
2578
2578
  "false-value": a(n).falseValue ?? void 0,
2579
2579
  onInput: l
2580
2580
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "binary", "true-value", "false-value"]),
2581
- a(t).attrs.labelRight ? (O(), A("span", Nl, be(a(t).attrs.labelRight), 1)) : re("", !0)
2581
+ a(t).attrs.labelRight ? (A(), x("span", Nl, be(a(t).attrs.labelRight), 1)) : se("", !0)
2582
2582
  ]);
2583
2583
  };
2584
2584
  }
@@ -2589,14 +2589,14 @@ const Ul = /* @__PURE__ */ P({
2589
2589
  },
2590
2590
  setup(e) {
2591
2591
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
2592
- function l(s) {
2592
+ function l(r) {
2593
2593
  var o;
2594
2594
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
2595
2595
  }
2596
- const r = M(() => t != null && t.state.valid ? n == null ? void 0 : n.class : `${n == null ? void 0 : n.class} p-invalid`);
2597
- return (s, o) => {
2596
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2597
+ return (r, o) => {
2598
2598
  const u = T("Chips");
2599
- return O(), A("div", null, [
2599
+ return A(), x("div", null, [
2600
2600
  D(u, {
2601
2601
  modelValue: a(t)._value,
2602
2602
  "onUpdate:modelValue": o[0] || (o[0] = (b) => a(t)._value = b),
@@ -2604,7 +2604,7 @@ const Ul = /* @__PURE__ */ P({
2604
2604
  disabled: a(n)._disabled ?? !1,
2605
2605
  readonly: a(n)._readonly ?? !1,
2606
2606
  "input-style": a(n).style,
2607
- "input-class": a(r),
2607
+ "input-class": a(s),
2608
2608
  tabindex: a(n).tabindex,
2609
2609
  "aria-label": a(n).ariaLabel,
2610
2610
  "aria-labelledby": a(n).ariaLabelledby,
@@ -2626,16 +2626,16 @@ const Ul = /* @__PURE__ */ P({
2626
2626
  },
2627
2627
  setup(e) {
2628
2628
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
2629
- function l(r) {
2630
- var s;
2631
- t == null || t.node.input((s = i.context) == null ? void 0 : s._value);
2629
+ function l(s) {
2630
+ var r;
2631
+ t == null || t.node.input((r = i.context) == null ? void 0 : r._value);
2632
2632
  }
2633
- return (r, s) => {
2633
+ return (s, r) => {
2634
2634
  const o = T("ColorPicker");
2635
- return O(), A("div", null, [
2635
+ return A(), x("div", null, [
2636
2636
  D(o, {
2637
2637
  modelValue: a(t)._value,
2638
- "onUpdate:modelValue": s[0] || (s[0] = (u) => a(t)._value = u),
2638
+ "onUpdate:modelValue": r[0] || (r[0] = (u) => a(t)._value = u),
2639
2639
  disabled: a(n)._disabled ?? !1,
2640
2640
  readonly: a(n)._readonly ?? !1,
2641
2641
  style: fe(a(n).style),
@@ -2661,20 +2661,20 @@ const Ul = /* @__PURE__ */ P({
2661
2661
  function l(o) {
2662
2662
  t == null || t.handlers.blur(o.value);
2663
2663
  }
2664
- function r(o) {
2664
+ function s(o) {
2665
2665
  t == null || t.node.input(o.value);
2666
2666
  }
2667
- const s = M(() => t != null && t.state.valid ? n == null ? void 0 : n.class : `${n == null ? void 0 : n.class} p-invalid`);
2667
+ const r = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2668
2668
  return (o, u) => {
2669
2669
  const b = T("Dropdown");
2670
- return O(), A("div", null, [
2670
+ return A(), x("div", null, [
2671
2671
  D(b, {
2672
2672
  modelValue: a(t)._value,
2673
2673
  "onUpdate:modelValue": u[0] || (u[0] = (h) => a(t)._value = h),
2674
2674
  "input-id": a(t).id,
2675
2675
  disabled: a(n)._disabled ?? !1,
2676
2676
  readonly: a(n)._readonly ?? !1,
2677
- "input-style": a(s),
2677
+ "input-style": a(r),
2678
2678
  "input-class": a(n).class,
2679
2679
  tabindex: a(n).tabindex,
2680
2680
  "aria-label": a(n).ariaLabel,
@@ -2685,7 +2685,7 @@ const Ul = /* @__PURE__ */ P({
2685
2685
  placeholder: a(n).placeholder,
2686
2686
  filter: a(n).filter ?? !1,
2687
2687
  "show-clear": a(n).showClear ?? !1,
2688
- onChange: r,
2688
+ onChange: s,
2689
2689
  onBlur: l
2690
2690
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "options", "option-label", "option-value", "placeholder", "filter", "show-clear"])
2691
2691
  ]);
@@ -2701,13 +2701,13 @@ const Ul = /* @__PURE__ */ P({
2701
2701
  function l(o) {
2702
2702
  t == null || t.node.input(o.htmlValue);
2703
2703
  }
2704
- function r(o) {
2704
+ function s(o) {
2705
2705
  o.range === null && (t == null || t.handlers.blur(o.htmlValue));
2706
2706
  }
2707
- const s = M(() => t != null && t.state.valid ? n == null ? void 0 : n.class : `${n == null ? void 0 : n.class} p-invalid`);
2707
+ const r = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2708
2708
  return (o, u) => {
2709
2709
  const b = T("Editor");
2710
- return O(), A("div", null, [
2710
+ return A(), x("div", null, [
2711
2711
  D(b, {
2712
2712
  id: a(t).id,
2713
2713
  modelValue: a(t)._value,
@@ -2715,7 +2715,7 @@ const Ul = /* @__PURE__ */ P({
2715
2715
  disabled: a(n)._disabled ?? !1,
2716
2716
  readonly: a(n)._readonly ?? !1,
2717
2717
  "editor-style": a(n).style,
2718
- class: q(a(s)),
2718
+ class: q(a(r)),
2719
2719
  tabindex: a(n).tabindex,
2720
2720
  "aria-label": a(n).ariaLabel,
2721
2721
  "aria-labelledby": a(n).ariaLabelledby,
@@ -2723,7 +2723,7 @@ const Ul = /* @__PURE__ */ P({
2723
2723
  formats: a(n).formats,
2724
2724
  modules: a(n).modules,
2725
2725
  onTextChange: l,
2726
- onSelectionChange: r
2726
+ onSelectionChange: s
2727
2727
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "editor-style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "formats", "modules"])
2728
2728
  ]);
2729
2729
  };
@@ -2735,14 +2735,14 @@ const Ul = /* @__PURE__ */ P({
2735
2735
  },
2736
2736
  setup(e) {
2737
2737
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
2738
- function l(s) {
2738
+ function l(r) {
2739
2739
  var o, u;
2740
2740
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value), t == null || t.handlers.blur((u = i.context) == null ? void 0 : u._value);
2741
2741
  }
2742
- const r = M(() => t != null && t.state.valid ? n == null ? void 0 : n.class : `${n == null ? void 0 : n.class} p-invalid`);
2743
- return (s, o) => {
2742
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2743
+ return (r, o) => {
2744
2744
  const u = T("InputMask");
2745
- return O(), A("div", null, [
2745
+ return A(), x("div", null, [
2746
2746
  D(u, {
2747
2747
  id: a(t).id,
2748
2748
  modelValue: a(t)._value,
@@ -2750,7 +2750,7 @@ const Ul = /* @__PURE__ */ P({
2750
2750
  disabled: a(n)._disabled ?? !1,
2751
2751
  readonly: a(n)._readonly ?? !1,
2752
2752
  "editor-style": a(n).style,
2753
- class: q(a(r)),
2753
+ class: q(a(s)),
2754
2754
  tabindex: a(n).tabindex,
2755
2755
  "aria-label": a(n).ariaLabel,
2756
2756
  "aria-labelledby": a(n).ariaLabelledby,
@@ -2774,13 +2774,13 @@ const Ul = /* @__PURE__ */ P({
2774
2774
  function l(o) {
2775
2775
  t == null || t.handlers.blur(o.value);
2776
2776
  }
2777
- function r(o) {
2777
+ function s(o) {
2778
2778
  t == null || t.node.input(o.value);
2779
2779
  }
2780
- const s = M(() => t != null && t.state.valid ? n == null ? void 0 : n.class : `${n == null ? void 0 : n.class} p-invalid`);
2780
+ const r = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2781
2781
  return (o, u) => {
2782
2782
  const b = T("InputNumber");
2783
- return O(), A("div", null, [
2783
+ return A(), x("div", null, [
2784
2784
  D(b, {
2785
2785
  modelValue: a(t)._value,
2786
2786
  "onUpdate:modelValue": u[0] || (u[0] = (h) => a(t)._value = h),
@@ -2788,7 +2788,7 @@ const Ul = /* @__PURE__ */ P({
2788
2788
  disabled: a(n)._disabled ?? !1,
2789
2789
  readonly: a(n)._readonly ?? !1,
2790
2790
  "input-style": a(n).style,
2791
- "input-class": a(s),
2791
+ "input-class": a(r),
2792
2792
  tabindex: a(n).tabindex,
2793
2793
  "aria-label": a(n).ariaLabel,
2794
2794
  "aria-labelledby": a(n).ariaLabelledby,
@@ -2804,7 +2804,7 @@ const Ul = /* @__PURE__ */ P({
2804
2804
  "show-buttons": a(n).showButtons ?? void 0,
2805
2805
  "button-layout": a(n).buttonLayout ?? "stacked",
2806
2806
  step: a(n).step ?? void 0,
2807
- onInput: r,
2807
+ onInput: s,
2808
2808
  onBlur: l
2809
2809
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "use-grouping", "min-fraction-digits", "max-fraction-digits", "locale", "mode", "currency", "prefix", "suffix", "show-buttons", "button-layout", "step"])
2810
2810
  ]);
@@ -2823,15 +2823,15 @@ const Ul = /* @__PURE__ */ P({
2823
2823
  },
2824
2824
  setup(e) {
2825
2825
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
2826
- function l(s) {
2826
+ function l(r) {
2827
2827
  var o;
2828
2828
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
2829
2829
  }
2830
- const r = M(() => t != null && t.state.valid ? n == null ? void 0 : n.class : `${n == null ? void 0 : n.class} p-invalid`);
2831
- return (s, o) => {
2830
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2831
+ return (r, o) => {
2832
2832
  const u = T("InputSwitch");
2833
- return O(), A("div", null, [
2834
- a(t).attrs.labelLeft ? (O(), A("span", Xl, be(a(t).attrs.labelLeft), 1)) : re("", !0),
2833
+ return A(), x("div", null, [
2834
+ a(t).attrs.labelLeft ? (A(), x("span", Xl, be(a(t).attrs.labelLeft), 1)) : se("", !0),
2835
2835
  D(u, {
2836
2836
  modelValue: a(t)._value,
2837
2837
  "onUpdate:modelValue": o[0] || (o[0] = (b) => a(t)._value = b),
@@ -2839,7 +2839,7 @@ const Ul = /* @__PURE__ */ P({
2839
2839
  disabled: a(n)._disabled ?? !1,
2840
2840
  readonly: a(n)._readonly ?? !1,
2841
2841
  "input-style": a(n).style,
2842
- "input-class": a(r),
2842
+ "input-class": a(s),
2843
2843
  tabindex: a(n).tabindex,
2844
2844
  "aria-label": a(n).ariaLabel,
2845
2845
  "aria-labelledby": a(n).ariaLabelledby,
@@ -2847,7 +2847,7 @@ const Ul = /* @__PURE__ */ P({
2847
2847
  "false-value": a(n).falseValue ?? void 0,
2848
2848
  onInput: l
2849
2849
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "true-value", "false-value"]),
2850
- a(t).attrs.labelRight ? (O(), A("span", ea, be(a(t).attrs.labelRight), 1)) : re("", !0)
2850
+ a(t).attrs.labelRight ? (A(), x("span", ea, be(a(t).attrs.labelRight), 1)) : se("", !0)
2851
2851
  ]);
2852
2852
  };
2853
2853
  }
@@ -2861,12 +2861,12 @@ const Ul = /* @__PURE__ */ P({
2861
2861
  function l() {
2862
2862
  return (t == null ? void 0 : t.iconLeft) && (t == null ? void 0 : t.iconLeft.length) > 0;
2863
2863
  }
2864
- function r() {
2864
+ function s() {
2865
2865
  return (t == null ? void 0 : t.iconRight) && (t == null ? void 0 : t.iconRight.length) > 0;
2866
2866
  }
2867
- function s() {
2867
+ function r() {
2868
2868
  let h = "";
2869
- return l() && (h = `${h}p-input-icon-left `), r() && (h = `${h}p-input-icon-right `), h;
2869
+ return l() && (h = `${h}p-input-icon-left `), s() && (h = `${h}p-input-icon-right `), h;
2870
2870
  }
2871
2871
  function o(h) {
2872
2872
  t == null || t.handlers.blur(h.target.value);
@@ -2874,17 +2874,17 @@ const Ul = /* @__PURE__ */ P({
2874
2874
  function u(h) {
2875
2875
  t == null || t.node.input(h.target.value);
2876
2876
  }
2877
- const b = M(() => t != null && t.state.valid ? n == null ? void 0 : n.class : `${n == null ? void 0 : n.class} p-invalid`);
2877
+ const b = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2878
2878
  return (h, _) => {
2879
2879
  const v = T("InputText");
2880
- return O(), A("div", null, [
2880
+ return A(), x("div", null, [
2881
2881
  kn("span", {
2882
- class: q(s())
2882
+ class: q(r())
2883
2883
  }, [
2884
- l() ? (O(), A("i", {
2884
+ l() ? (A(), x("i", {
2885
2885
  key: 0,
2886
2886
  class: q(a(t).iconLeft)
2887
- }, null, 2)) : re("", !0),
2887
+ }, null, 2)) : se("", !0),
2888
2888
  D(v, {
2889
2889
  id: a(t).id,
2890
2890
  modelValue: a(t)._value,
@@ -2900,10 +2900,10 @@ const Ul = /* @__PURE__ */ P({
2900
2900
  onInput: u,
2901
2901
  onBlur: o
2902
2902
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder"]),
2903
- r ? (O(), A("i", {
2903
+ s ? (A(), x("i", {
2904
2904
  key: 1,
2905
2905
  class: q(a(t).iconRight)
2906
- }, null, 2)) : re("", !0)
2906
+ }, null, 2)) : se("", !0)
2907
2907
  ], 2)
2908
2908
  ]);
2909
2909
  };
@@ -2918,13 +2918,13 @@ const Ul = /* @__PURE__ */ P({
2918
2918
  function l(o) {
2919
2919
  t == null || t.handlers.blur(o.target.value);
2920
2920
  }
2921
- function r(o) {
2921
+ function s(o) {
2922
2922
  t == null || t.node.input(o.target.value);
2923
2923
  }
2924
- const s = M(() => t != null && t.state.valid ? n == null ? void 0 : n.class : `${n == null ? void 0 : n.class} p-invalid`);
2924
+ const r = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2925
2925
  return (o, u) => {
2926
2926
  const b = T("Textarea");
2927
- return O(), A("div", null, [
2927
+ return A(), x("div", null, [
2928
2928
  D(b, {
2929
2929
  id: a(t).id,
2930
2930
  modelValue: a(t)._value,
@@ -2932,13 +2932,13 @@ const Ul = /* @__PURE__ */ P({
2932
2932
  disabled: a(n)._disabled ?? !1,
2933
2933
  readonly: a(n)._readonly ?? !1,
2934
2934
  style: fe(a(n).style),
2935
- class: q(a(s)),
2935
+ class: q(a(r)),
2936
2936
  tabindex: a(n).tabindex,
2937
2937
  "aria-label": a(n).ariaLabel,
2938
2938
  "aria-labelledby": a(n).ariaLabelledby,
2939
2939
  placeholder: a(n).placeholder,
2940
2940
  rows: a(t).rows ?? 3,
2941
- onInput: r,
2941
+ onInput: s,
2942
2942
  onBlur: l
2943
2943
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "rows"])
2944
2944
  ]);
@@ -2951,20 +2951,20 @@ const Ul = /* @__PURE__ */ P({
2951
2951
  },
2952
2952
  setup(e) {
2953
2953
  const t = e.context, n = t == null ? void 0 : t.attrs;
2954
- function l(r) {
2955
- t == null || t.node.input(r), t == null || t.handlers.blur(r);
2954
+ function l(s) {
2955
+ t == null || t.node.input(s), t == null || t.handlers.blur(s);
2956
2956
  }
2957
- return M(() => t != null && t.state.valid ? n == null ? void 0 : n.class : `${n == null ? void 0 : n.class} p-invalid`), (r, s) => {
2957
+ return M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class), (s, r) => {
2958
2958
  const o = T("Knob");
2959
- return O(), A("div", null, [
2959
+ return A(), x("div", null, [
2960
2960
  D(o, {
2961
2961
  id: a(t).id,
2962
2962
  modelValue: a(t)._value,
2963
- "onUpdate:modelValue": s[0] || (s[0] = (u) => a(t)._value = u),
2963
+ "onUpdate:modelValue": r[0] || (r[0] = (u) => a(t)._value = u),
2964
2964
  disabled: a(n)._disabled ?? !1,
2965
2965
  readonly: a(n)._readonly ?? !1,
2966
2966
  style: fe(a(n).style),
2967
- class: q(r.styleClasss),
2967
+ class: q(s.styleClasss),
2968
2968
  tabindex: a(n).tabindex,
2969
2969
  "aria-label": a(n).ariaLabel,
2970
2970
  "aria-labelledby": a(n).ariaLabelledby,
@@ -2990,14 +2990,14 @@ const Ul = /* @__PURE__ */ P({
2990
2990
  },
2991
2991
  setup(e) {
2992
2992
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
2993
- function l(s) {
2993
+ function l(r) {
2994
2994
  var o;
2995
2995
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
2996
2996
  }
2997
- const r = M(() => t != null && t.state.valid ? n == null ? void 0 : n.class : `${n == null ? void 0 : n.class} p-invalid`);
2998
- return (s, o) => {
2997
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2998
+ return (r, o) => {
2999
2999
  const u = T("MultiSelect");
3000
- return O(), A("div", null, [
3000
+ return A(), x("div", null, [
3001
3001
  D(u, {
3002
3002
  modelValue: a(t)._value,
3003
3003
  "onUpdate:modelValue": o[0] || (o[0] = (b) => a(t)._value = b),
@@ -3005,7 +3005,7 @@ const Ul = /* @__PURE__ */ P({
3005
3005
  disabled: a(n)._disabled ?? !1,
3006
3006
  readonly: a(n)._readonly ?? !1,
3007
3007
  "list-style": a(n).style,
3008
- class: q(a(r)),
3008
+ class: q(a(s)),
3009
3009
  tabindex: a(n).tabindex,
3010
3010
  "aria-label": a(n).ariaLabel,
3011
3011
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3018,22 +3018,22 @@ const Ul = /* @__PURE__ */ P({
3018
3018
  ]);
3019
3019
  };
3020
3020
  }
3021
- }), ra = /* @__PURE__ */ P({
3021
+ }), sa = /* @__PURE__ */ P({
3022
3022
  __name: "PrimeListbox",
3023
3023
  props: {
3024
3024
  context: Object
3025
3025
  },
3026
3026
  setup(e) {
3027
3027
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
3028
- function l(s) {
3028
+ function l(r) {
3029
3029
  var o;
3030
3030
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3031
3031
  }
3032
- const r = M(() => t != null && t.state.valid ? n == null ? void 0 : n.class : `${n == null ? void 0 : n.class} p-invalid`);
3033
- return (s, o) => {
3032
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3033
+ return (r, o) => {
3034
3034
  var b;
3035
3035
  const u = T("Listbox");
3036
- return O(), A("div", null, [
3036
+ return A(), x("div", null, [
3037
3037
  D(u, {
3038
3038
  id: a(t).id,
3039
3039
  modelValue: a(t)._value,
@@ -3041,7 +3041,7 @@ const Ul = /* @__PURE__ */ P({
3041
3041
  disabled: a(n)._disabled ?? !1,
3042
3042
  readonly: a(n)._readonly ?? !1,
3043
3043
  "list-style": a(n).style,
3044
- class: q(a(r)),
3044
+ class: q(a(s)),
3045
3045
  tabindex: a(n).tabindex,
3046
3046
  "aria-label": a(n).ariaLabel,
3047
3047
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3061,7 +3061,7 @@ const Ul = /* @__PURE__ */ P({
3061
3061
  ]);
3062
3062
  };
3063
3063
  }
3064
- }), sa = /* @__PURE__ */ P({
3064
+ }), ra = /* @__PURE__ */ P({
3065
3065
  __name: "PrimePassword",
3066
3066
  props: {
3067
3067
  context: Object
@@ -3071,13 +3071,13 @@ const Ul = /* @__PURE__ */ P({
3071
3071
  function l(o) {
3072
3072
  t == null || t.handlers.blur(o.target.value);
3073
3073
  }
3074
- function r(o) {
3074
+ function s(o) {
3075
3075
  t == null || t.node.input(o.target.value);
3076
3076
  }
3077
- const s = M(() => t != null && t.state.valid ? n == null ? void 0 : n.class : `${n == null ? void 0 : n.class} p-invalid`);
3077
+ const r = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3078
3078
  return (o, u) => {
3079
3079
  const b = T("Password");
3080
- return O(), A("div", null, [
3080
+ return A(), x("div", null, [
3081
3081
  D(b, {
3082
3082
  modelValue: a(t)._value,
3083
3083
  "onUpdate:modelValue": u[0] || (u[0] = (h) => a(t)._value = h),
@@ -3085,7 +3085,7 @@ const Ul = /* @__PURE__ */ P({
3085
3085
  disabled: a(n)._disabled ?? !1,
3086
3086
  readonly: a(n)._readonly ?? !1,
3087
3087
  "input-style": a(n).style,
3088
- "input-class": a(s),
3088
+ "input-class": a(r),
3089
3089
  tabindex: a(n).tabindex,
3090
3090
  "aria-label": a(n).ariaLabel,
3091
3091
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3100,7 +3100,7 @@ const Ul = /* @__PURE__ */ P({
3100
3100
  "show-icon": a(n).showIcon ?? "pi pi-eye",
3101
3101
  feedback: a(t).feedback ?? !1,
3102
3102
  "toggle-mask": a(t).toggleMask ?? !1,
3103
- onInput: r,
3103
+ onInput: s,
3104
3104
  onBlur: l
3105
3105
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "medium-regex", "strong-regex", "prompt-label", "weak-label", "medium-label", "strong-label", "hide-icon", "show-icon", "feedback", "toggle-mask"])
3106
3106
  ]);
@@ -3113,14 +3113,14 @@ const Ul = /* @__PURE__ */ P({
3113
3113
  },
3114
3114
  setup(e) {
3115
3115
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
3116
- function l(s) {
3116
+ function l(r) {
3117
3117
  var o;
3118
3118
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3119
3119
  }
3120
- const r = M(() => t != null && t.state.valid ? n == null ? void 0 : n.class : `${n == null ? void 0 : n.class} p-invalid`);
3121
- return (s, o) => {
3120
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3121
+ return (r, o) => {
3122
3122
  const u = T("Rating");
3123
- return O(), A("div", null, [
3123
+ return A(), x("div", null, [
3124
3124
  D(u, {
3125
3125
  id: a(t).id,
3126
3126
  modelValue: a(t)._value,
@@ -3128,7 +3128,7 @@ const Ul = /* @__PURE__ */ P({
3128
3128
  disabled: a(n)._disabled ?? !1,
3129
3129
  readonly: a(n)._readonly ?? !1,
3130
3130
  style: fe(a(n).style),
3131
- class: q(a(r)),
3131
+ class: q(a(s)),
3132
3132
  tabindex: a(n).tabindex,
3133
3133
  "aria-label": a(n).ariaLabel,
3134
3134
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3149,13 +3149,13 @@ const Ul = /* @__PURE__ */ P({
3149
3149
  },
3150
3150
  setup(e) {
3151
3151
  const t = e.context, n = t == null ? void 0 : t.attrs;
3152
- function l(s) {
3153
- t == null || t.node.input(s), t == null || t.handlers.blur(s);
3152
+ function l(r) {
3153
+ t == null || t.node.input(r), t == null || t.handlers.blur(r);
3154
3154
  }
3155
- const r = M(() => t != null && t.state.valid ? n == null ? void 0 : n.class : `${n == null ? void 0 : n.class} p-invalid`);
3156
- return (s, o) => {
3155
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3156
+ return (r, o) => {
3157
3157
  const u = T("Slider");
3158
- return O(), A("div", null, [
3158
+ return A(), x("div", null, [
3159
3159
  D(u, {
3160
3160
  id: a(t).id,
3161
3161
  modelValue: a(t)._value,
@@ -3163,7 +3163,7 @@ const Ul = /* @__PURE__ */ P({
3163
3163
  disabled: a(n)._disabled ?? !1,
3164
3164
  readonly: a(n)._readonly ?? !1,
3165
3165
  style: fe(a(n).style),
3166
- class: q(a(r)),
3166
+ class: q(a(s)),
3167
3167
  tabindex: a(n).tabindex,
3168
3168
  "aria-label": a(n).ariaLabel,
3169
3169
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3184,14 +3184,14 @@ const Ul = /* @__PURE__ */ P({
3184
3184
  },
3185
3185
  setup(e) {
3186
3186
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
3187
- function l(s) {
3187
+ function l(r) {
3188
3188
  var o;
3189
3189
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3190
3190
  }
3191
- const r = M(() => t != null && t.state.valid ? n == null ? void 0 : n.class : `${n == null ? void 0 : n.class} p-invalid`);
3192
- return (s, o) => {
3191
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3192
+ return (r, o) => {
3193
3193
  const u = T("ToggleButton");
3194
- return O(), A("div", null, [
3194
+ return A(), x("div", null, [
3195
3195
  D(u, {
3196
3196
  modelValue: a(t)._value,
3197
3197
  "onUpdate:modelValue": o[0] || (o[0] = (b) => a(t)._value = b),
@@ -3199,7 +3199,7 @@ const Ul = /* @__PURE__ */ P({
3199
3199
  disabled: a(n)._disabled ?? !1,
3200
3200
  readonly: a(n)._readonly ?? !1,
3201
3201
  "input-style": a(n).style,
3202
- "input-class": a(r),
3202
+ "input-class": a(s),
3203
3203
  tabindex: a(n).tabindex,
3204
3204
  "aria-label": a(n).ariaLabel,
3205
3205
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3220,14 +3220,14 @@ const Ul = /* @__PURE__ */ P({
3220
3220
  },
3221
3221
  setup(e) {
3222
3222
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
3223
- function l(s) {
3223
+ function l(r) {
3224
3224
  var o;
3225
3225
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3226
3226
  }
3227
- const r = M(() => t != null && t.state.valid ? n == null ? void 0 : n.class : `${n == null ? void 0 : n.class} p-invalid`);
3228
- return (s, o) => {
3227
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3228
+ return (r, o) => {
3229
3229
  const u = T("SelectButton");
3230
- return O(), A("div", null, [
3230
+ return A(), x("div", null, [
3231
3231
  D(u, {
3232
3232
  id: a(t).id,
3233
3233
  modelValue: a(t)._value,
@@ -3235,7 +3235,7 @@ const Ul = /* @__PURE__ */ P({
3235
3235
  disabled: a(n)._disabled ?? !1,
3236
3236
  readonly: a(n)._readonly ?? !1,
3237
3237
  style: fe(a(n).style),
3238
- class: q(a(r)),
3238
+ class: q(a(s)),
3239
3239
  tabindex: a(n).tabindex,
3240
3240
  "aria-label": a(n).ariaLabel,
3241
3241
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3264,15 +3264,15 @@ const Ul = /* @__PURE__ */ P({
3264
3264
  },
3265
3265
  setup(e) {
3266
3266
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
3267
- function l(s) {
3267
+ function l(r) {
3268
3268
  var o;
3269
3269
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3270
3270
  }
3271
- const r = M(() => t != null && t.state.valid ? n == null ? void 0 : n.class : `${n == null ? void 0 : n.class} p-invalid`);
3272
- return (s, o) => {
3271
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3272
+ return (r, o) => {
3273
3273
  const u = T("TriStateCheckbox");
3274
- return O(), A("div", null, [
3275
- a(t).attrs.labelLeft ? (O(), A("span", pa, be(a(t).attrs.labelLeft), 1)) : re("", !0),
3274
+ return A(), x("div", null, [
3275
+ a(t).attrs.labelLeft ? (A(), x("span", pa, be(a(t).attrs.labelLeft), 1)) : se("", !0),
3276
3276
  D(u, {
3277
3277
  modelValue: a(t)._value,
3278
3278
  "onUpdate:modelValue": o[0] || (o[0] = (b) => a(t)._value = b),
@@ -3280,13 +3280,13 @@ const Ul = /* @__PURE__ */ P({
3280
3280
  disabled: a(n)._disabled ?? !1,
3281
3281
  readonly: a(n)._readonly ?? !1,
3282
3282
  "input-style": a(n).style,
3283
- "input-class": a(r),
3283
+ "input-class": a(s),
3284
3284
  tabindex: a(n).tabindex,
3285
3285
  "aria-label": a(n).ariaLabel,
3286
3286
  "aria-labelledby": a(n).ariaLabelledby,
3287
3287
  onClick: l
3288
3288
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby"]),
3289
- a(t).attrs.labelRight ? (O(), A("span", da, be(a(t).attrs.labelRight), 1)) : re("", !0)
3289
+ a(t).attrs.labelRight ? (A(), x("span", da, be(a(t).attrs.labelRight), 1)) : se("", !0)
3290
3290
  ]);
3291
3291
  };
3292
3292
  }
@@ -3296,7 +3296,7 @@ const Ul = /* @__PURE__ */ P({
3296
3296
  props: ["iconRight", "iconLeft"]
3297
3297
  }), va = B(Ql, {
3298
3298
  props: []
3299
- }), ha = B(sa, {
3299
+ }), ha = B(ra, {
3300
3300
  props: ["feedback", "toggleMask"]
3301
3301
  }), _a = B(ia, {
3302
3302
  props: ["rows"]
@@ -3310,19 +3310,19 @@ const Ul = /* @__PURE__ */ P({
3310
3310
  props: []
3311
3311
  }), Ca = B(aa, {
3312
3312
  props: []
3313
- }), Sa = B(ra, {
3313
+ }), Sa = B(sa, {
3314
3314
  props: []
3315
- }), xa = B(Ul, {
3315
+ }), Va = B(Ul, {
3316
3316
  props: []
3317
3317
  }), Ia = B(ua, {
3318
3318
  props: []
3319
- }), Va = B(oa, {
3319
+ }), La = B(oa, {
3320
3320
  props: []
3321
- }), La = B(Hl, {
3321
+ }), Oa = B(Hl, {
3322
3322
  props: []
3323
- }), Oa = B(la, {
3323
+ }), Aa = B(la, {
3324
3324
  props: []
3325
- }), Aa = B(Zl, {
3325
+ }), xa = B(Zl, {
3326
3326
  props: []
3327
3327
  }), Pa = B(fa, {
3328
3328
  props: []
@@ -3341,22 +3341,22 @@ const Ul = /* @__PURE__ */ P({
3341
3341
  primeEditor: wa,
3342
3342
  primeDropdown: ka,
3343
3343
  primeMultiSelect: Ca,
3344
- primeCalendar: xa,
3344
+ primeCalendar: Va,
3345
3345
  primeSlider: Ia,
3346
- primeChips: La,
3347
- primeKnob: Oa,
3348
- primeRating: Va,
3349
- primeColorPicker: Aa,
3346
+ primeChips: Oa,
3347
+ primeKnob: Aa,
3348
+ primeRating: La,
3349
+ primeColorPicker: xa,
3350
3350
  primeToggleButton: Pa,
3351
3351
  primeListbox: Sa,
3352
3352
  primeSelectButton: Ea,
3353
3353
  primeTriStateCheckbox: Ma
3354
3354
  };
3355
3355
  export {
3356
- xa as primeCalendarDefinition,
3356
+ Va as primeCalendarDefinition,
3357
3357
  ga as primeCheckboxDefinition,
3358
- La as primeChipsDefinition,
3359
- Aa as primeColorPickerDefinition,
3358
+ Oa as primeChipsDefinition,
3359
+ xa as primeColorPickerDefinition,
3360
3360
  ka as primeDropdownDefinition,
3361
3361
  wa as primeEditorDefinition,
3362
3362
  va as primeInputMaskDefinition,
@@ -3364,11 +3364,11 @@ export {
3364
3364
  $a as primeInputSwitchDefinition,
3365
3365
  ba as primeInputTextDefinition,
3366
3366
  ja as primeInputs,
3367
- Oa as primeKnobDefinition,
3367
+ Aa as primeKnobDefinition,
3368
3368
  Sa as primeListboxDefinition,
3369
3369
  Ca as primeMultiSelectDefinition,
3370
3370
  ha as primePasswordDefinition,
3371
- Va as primeRatingDefinition,
3371
+ La as primeRatingDefinition,
3372
3372
  Ea as primeSelectButtonDefinition,
3373
3373
  Ia as primeSliderDefinition,
3374
3374
  _a as primeTextareaDefinition,