@sfxcode/formkit-primevue 1.3.0 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as O, getCurrentInstance as st, watch as ce, watchEffect as te, reactive as $n, onUnmounted as wn, ref as Q, provide as Nt, h as de, computed as E, inject as pe, nextTick as kn, onMounted as Cn, toRef as Sn, onBeforeUnmount as Vn, markRaw as In, isRef as Ln, createTextVNode as Pn, resolveComponent as j, openBlock as P, createElementBlock as A, createVNode as T, unref as a, toDisplayString as me, createCommentVNode as re, normalizeStyle as ve, normalizeClass as U, createElementVNode as Wt, Fragment as An, renderList as On } from "vue";
1
+ import { defineComponent as P, getCurrentInstance as at, watch as pe, watchEffect as te, reactive as $n, onUnmounted as wn, ref as J, provide as Nt, h as de, computed as x, inject as ce, nextTick as kn, onMounted as Cn, toRef as Sn, onBeforeUnmount as Vn, markRaw as In, isRef as On, createTextVNode as Ln, resolveComponent as j, openBlock as O, createElementBlock as L, createVNode as F, unref as l, toDisplayString as me, createCommentVNode as re, normalizeStyle as ve, normalizeClass as U, createElementVNode as Wt, Fragment as An, renderList as Pn } from "vue";
2
2
  const Ht = [
3
3
  "__key",
4
4
  "__init",
@@ -14,7 +14,7 @@ function xn(e, i) {
14
14
  const t = e instanceof Set ? e : new Set(e);
15
15
  return i && i.forEach((n) => t.add(n)), [...t];
16
16
  }
17
- function F(e, i) {
17
+ function T(e, i) {
18
18
  return Object.prototype.hasOwnProperty.call(e, i);
19
19
  }
20
20
  function ue(e, i, t = !0, n = ["__key"]) {
@@ -29,11 +29,11 @@ function ue(e, i, t = !0, n = ["__key"]) {
29
29
  return Mn(e, i);
30
30
  if (e === null || i === null || Object.keys(e).length !== Object.keys(i).length)
31
31
  return !1;
32
- for (const l of n)
33
- if ((l in e || l in i) && e[l] !== i[l])
32
+ for (const s of n)
33
+ if ((s in e || s in i) && e[s] !== i[s])
34
34
  return !1;
35
- for (const l in e)
36
- if (!(l in i) || e[l] !== i[l] && !t || t && !ue(e[l], i[l], t, n))
35
+ for (const s in e)
36
+ if (!(s in i) || e[s] !== i[s] && !t || t && !ue(e[s], i[s], t, n))
37
37
  return !1;
38
38
  return !0;
39
39
  }
@@ -77,23 +77,23 @@ function ke(e) {
77
77
  function Qe(e, i, t = !1, n = !1) {
78
78
  if (i === null)
79
79
  return null;
80
- const l = {};
80
+ const s = {};
81
81
  if (typeof i == "string")
82
82
  return i;
83
- for (const s in e)
84
- if (F(i, s) && (i[s] !== void 0 || !n)) {
85
- if (t && Array.isArray(e[s]) && Array.isArray(i[s])) {
86
- l[s] = e[s].concat(i[s]);
83
+ for (const a in e)
84
+ if (T(i, a) && (i[a] !== void 0 || !n)) {
85
+ if (t && Array.isArray(e[a]) && Array.isArray(i[a])) {
86
+ s[a] = e[a].concat(i[a]);
87
87
  continue;
88
88
  }
89
- if (i[s] === void 0)
89
+ if (i[a] === void 0)
90
90
  continue;
91
- ke(e[s]) && ke(i[s]) ? l[s] = Qe(e[s], i[s], t, n) : l[s] = i[s];
91
+ ke(e[a]) && ke(i[a]) ? s[a] = Qe(e[a], i[a], t, n) : s[a] = i[a];
92
92
  } else
93
- l[s] = e[s];
94
- for (const s in i)
95
- !F(l, s) && i[s] !== void 0 && (l[s] = i[s]);
96
- return l;
93
+ s[a] = e[a];
94
+ for (const a in i)
95
+ !T(s, a) && i[a] !== void 0 && (s[a] = i[a]);
96
+ return s;
97
97
  }
98
98
  function En(e) {
99
99
  if (e[0] !== '"' && e[0] !== "'" || e[0] !== e[e.length - 1])
@@ -109,38 +109,38 @@ function Rn(e) {
109
109
  return "";
110
110
  let i = "", t = "";
111
111
  for (let n = 0; n < e.length; n++) {
112
- const l = e.charAt(n);
113
- (l !== "\\" || t === "\\") && (i += l), t = l;
112
+ const s = e.charAt(n);
113
+ (s !== "\\" || t === "\\") && (i += s), t = s;
114
114
  }
115
115
  return i;
116
116
  }
117
117
  function he(...e) {
118
118
  return e.reduce((i, t) => {
119
- const { value: n, name: l, modelValue: s, config: r, plugins: o, ...u } = t;
119
+ const { value: n, name: s, modelValue: a, config: r, plugins: o, ...u } = t;
120
120
  return Object.assign(i, u);
121
121
  }, {});
122
122
  }
123
123
  function jn(e) {
124
124
  const i = [];
125
- let t = "", n = 0, l = "", s = "";
125
+ let t = "", n = 0, s = "", a = "";
126
126
  for (let r = 0; r < e.length; r++) {
127
127
  const o = e.charAt(r);
128
- 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;
128
+ o === s && a !== "\\" ? s = "" : (o === "'" || o === '"') && !s && a !== "\\" ? s = o : o === "(" && !s ? n++ : o === ")" && !s && n--, o === "," && !s && n === 0 ? (i.push(t), t = "") : (o !== " " || s) && (t += o), a = o;
129
129
  }
130
130
  return t && i.push(t), i;
131
131
  }
132
132
  function Vt(e, i) {
133
- const t = {}, n = i.filter((s) => s instanceof RegExp), l = new Set(i);
134
- for (const s in e)
135
- !l.has(s) && !n.some((r) => r.test(s)) && (t[s] = e[s]);
133
+ const t = {}, n = i.filter((a) => a instanceof RegExp), s = new Set(i);
134
+ for (const a in e)
135
+ !s.has(a) && !n.some((r) => r.test(a)) && (t[a] = e[a]);
136
136
  return t;
137
137
  }
138
138
  function It(e, i) {
139
- const t = {}, n = i.filter((l) => l instanceof RegExp);
140
- return i.forEach((l) => {
141
- l instanceof RegExp || (t[l] = e[l]);
142
- }), Object.keys(e).forEach((l) => {
143
- n.some((s) => s.test(l)) && (t[l] = e[l]);
139
+ const t = {}, n = i.filter((s) => s instanceof RegExp);
140
+ return i.forEach((s) => {
141
+ s instanceof RegExp || (t[s] = e[s]);
142
+ }), Object.keys(e).forEach((s) => {
143
+ n.some((a) => a.test(s)) && (t[s] = e[s]);
144
144
  }), t;
145
145
  }
146
146
  function ze(e) {
@@ -153,7 +153,7 @@ function Fn(e, i = Ht) {
153
153
  if (e !== null && typeof e == "object") {
154
154
  let t;
155
155
  if (Array.isArray(e) ? t = [...e] : ke(e) && (t = { ...e }), t)
156
- return Dn(e, t, i), t;
156
+ return Tn(e, t, i), t;
157
157
  }
158
158
  return e;
159
159
  }
@@ -161,7 +161,7 @@ function Re(e, i = Ht) {
161
161
  if (e === null || e instanceof RegExp || e instanceof Date || e instanceof Map || e instanceof Set || typeof File == "function" && e instanceof File)
162
162
  return e;
163
163
  let t;
164
- Array.isArray(e) ? t = e.map((n) => typeof n == "object" ? Re(n, i) : n) : t = Object.keys(e).reduce((n, l) => (n[l] = typeof e[l] == "object" ? Re(e[l], i) : e[l], n), {});
164
+ Array.isArray(e) ? t = e.map((n) => typeof n == "object" ? Re(n, i) : n) : t = Object.keys(e).reduce((n, s) => (n[s] = typeof e[s] == "object" ? Re(e[s], i) : e[s], n), {});
165
165
  for (const n of i)
166
166
  n in e && Object.defineProperty(t, n, {
167
167
  enumerable: !1,
@@ -172,21 +172,21 @@ function Re(e, i = Ht) {
172
172
  function be(e) {
173
173
  return typeof e == "object" ? Re(e) : e;
174
174
  }
175
- function Tn(e, i) {
175
+ function Dn(e, i) {
176
176
  if (!e || typeof e != "object")
177
177
  return null;
178
178
  const t = i.split(".");
179
179
  let n = e;
180
- for (const l in t) {
181
- const s = t[l];
182
- if (F(n, s) && (n = n[s]), +l === t.length - 1)
180
+ for (const s in t) {
181
+ const a = t[s];
182
+ if (T(n, a) && (n = n[a]), +s === t.length - 1)
183
183
  return n;
184
184
  if (!n || typeof n != "object")
185
185
  return null;
186
186
  }
187
187
  return null;
188
188
  }
189
- function Y(e) {
189
+ function Q(e) {
190
190
  return e !== void 0 && e !== "false" && e !== !1 ? !0 : void 0;
191
191
  }
192
192
  function Ce(e) {
@@ -198,7 +198,7 @@ function Ce(e) {
198
198
  function dt(e) {
199
199
  return e.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]/g, " ").trim().replace(/\s+/g, "-");
200
200
  }
201
- function Dn(e, i, t) {
201
+ function Tn(e, i, t) {
202
202
  for (const n of t)
203
203
  n in e && Object.defineProperty(i, n, {
204
204
  enumerable: !1,
@@ -216,59 +216,59 @@ function Bn(e) {
216
216
  function mt() {
217
217
  const e = [];
218
218
  let i = 0;
219
- const t = (l) => e.push(l), n = (l) => {
220
- const s = e[i];
221
- return typeof s == "function" ? s(l, (r) => (i++, n(r))) : (i = 0, l);
219
+ const t = (s) => e.push(s), n = (s) => {
220
+ const a = e[i];
221
+ return typeof a == "function" ? a(s, (r) => (i++, n(r))) : (i = 0, s);
222
222
  };
223
- return t.dispatch = n, t.unshift = (l) => e.unshift(l), t.remove = (l) => {
224
- const s = e.indexOf(l);
225
- s > -1 && e.splice(s, 1);
223
+ return t.dispatch = n, t.unshift = (s) => e.unshift(s), t.remove = (s) => {
224
+ const a = e.indexOf(s);
225
+ a > -1 && e.splice(a, 1);
226
226
  }, t;
227
227
  }
228
228
  function Zt() {
229
229
  const e = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
230
230
  let t;
231
- const n = (l, s) => {
231
+ const n = (s, a) => {
232
232
  if (t) {
233
- t.set(s.name, [l, s]);
233
+ t.set(a.name, [s, a]);
234
234
  return;
235
235
  }
236
- e.has(s.name) && e.get(s.name).forEach((r) => {
237
- (s.origin === l || r.modifiers.includes("deep")) && r.listener(s);
238
- }), s.bubble && l.bubble(s);
236
+ e.has(a.name) && e.get(a.name).forEach((r) => {
237
+ (a.origin === s || r.modifiers.includes("deep")) && r.listener(a);
238
+ }), a.bubble && s.bubble(a);
239
239
  };
240
240
  return n.flush = () => {
241
241
  e.clear(), i.clear(), t == null || t.clear();
242
- }, n.on = (l, s) => {
243
- const [r, ...o] = l.split("."), u = s.receipt || Fe(), p = {
242
+ }, n.on = (s, a) => {
243
+ const [r, ...o] = s.split("."), u = a.receipt || Fe(), c = {
244
244
  modifiers: o,
245
245
  event: r,
246
- listener: s,
246
+ listener: a,
247
247
  receipt: u
248
248
  };
249
- return e.has(r) ? e.get(r).push(p) : e.set(r, [p]), i.has(u) ? i.get(u).push(r) : i.set(u, [r]), u;
250
- }, n.off = (l) => {
251
- var s;
252
- i.has(l) && ((s = i.get(l)) === null || s === void 0 || s.forEach((r) => {
249
+ return e.has(r) ? e.get(r).push(c) : e.set(r, [c]), i.has(u) ? i.get(u).push(r) : i.set(u, [r]), u;
250
+ }, n.off = (s) => {
251
+ var a;
252
+ i.has(s) && ((a = i.get(s)) === null || a === void 0 || a.forEach((r) => {
253
253
  const o = e.get(r);
254
- Array.isArray(o) && e.set(r, o.filter((u) => u.receipt !== l));
255
- }), i.delete(l));
256
- }, n.pause = (l) => {
257
- t || (t = /* @__PURE__ */ new Map()), l && l.walk((s) => s._e.pause());
258
- }, n.play = (l) => {
254
+ Array.isArray(o) && e.set(r, o.filter((u) => u.receipt !== s));
255
+ }), i.delete(s));
256
+ }, n.pause = (s) => {
257
+ t || (t = /* @__PURE__ */ new Map()), s && s.walk((a) => a._e.pause());
258
+ }, n.play = (s) => {
259
259
  if (!t)
260
260
  return;
261
- const s = t;
262
- t = void 0, s.forEach(([r, o]) => n(r, o)), l && l.walk((r) => r._e.play());
261
+ const a = t;
262
+ t = void 0, a.forEach(([r, o]) => n(r, o)), s && s.walk((r) => r._e.play());
263
263
  }, n;
264
264
  }
265
- function zn(e, i, t, n, l = !0, s) {
265
+ function zn(e, i, t, n, s = !0, a) {
266
266
  return i._e(e, {
267
267
  payload: n,
268
268
  name: t,
269
- bubble: l,
269
+ bubble: s,
270
270
  origin: e,
271
- meta: s
271
+ meta: a
272
272
  }), e;
273
273
  }
274
274
  function Un(e, i, t) {
@@ -288,7 +288,7 @@ yt((e, i) => {
288
288
  const t = i(e);
289
289
  return console && typeof console.warn == "function" && console.warn(t.message), t;
290
290
  });
291
- function Te(e, i = {}) {
291
+ function De(e, i = {}) {
292
292
  yt.dispatch({ code: e, data: i });
293
293
  }
294
294
  function q(e, i = {}) {
@@ -305,7 +305,7 @@ function oe(e, i) {
305
305
  };
306
306
  return i && t.value && t.meta.localize !== !1 && (t.value = i.t(t), t.meta.locale = i.config.locale), t;
307
307
  }
308
- const Lt = {
308
+ const Ot = {
309
309
  apply: Yn,
310
310
  set: Hn,
311
311
  remove: Jt,
@@ -316,16 +316,16 @@ const Lt = {
316
316
  };
317
317
  function Wn(e = !1) {
318
318
  const i = {};
319
- let t, n = e, l = [];
320
- const s = /* @__PURE__ */ new Map();
319
+ let t, n = e, s = [];
320
+ const a = /* @__PURE__ */ new Map();
321
321
  let r;
322
322
  const o = new Proxy(i, {
323
323
  get(...u) {
324
- const [p, g] = u;
325
- return g === "buffer" ? n : g === "_b" ? l : g === "_m" ? s : g === "_r" ? r : F(Lt, g) ? Lt[g].bind(null, i, o, t) : Reflect.get(...u);
324
+ const [c, g] = u;
325
+ return g === "buffer" ? n : g === "_b" ? s : g === "_m" ? a : g === "_r" ? r : T(Ot, g) ? Ot[g].bind(null, i, o, t) : Reflect.get(...u);
326
326
  },
327
- set(u, p, g) {
328
- return p === "_n" ? (t = g, r === "__n" && Yt(t, o), !0) : p === "_b" ? (l = g, !0) : p === "buffer" ? (n = g, !0) : p === "_r" ? (r = g, !0) : (q(101, t), !1);
327
+ set(u, c, g) {
328
+ return c === "_n" ? (t = g, r === "__n" && Yt(t, o), !0) : c === "_b" ? (s = g, !0) : c === "buffer" ? (n = g, !0) : c === "_r" ? (r = g, !0) : (q(101, t), !1);
329
329
  }
330
330
  });
331
331
  return o;
@@ -335,11 +335,11 @@ function Hn(e, i, t, n) {
335
335
  return i._b.push([[n]]), i;
336
336
  if (e[n.key] !== n) {
337
337
  if (typeof n.value == "string" && n.meta.localize !== !1) {
338
- const s = n.value;
339
- n.value = t.t(n), n.value !== s && (n.meta.locale = t.props.locale);
338
+ const a = n.value;
339
+ n.value = t.t(n), n.value !== a && (n.meta.locale = t.props.locale);
340
340
  }
341
- const l = `message-${F(e, n.key) ? "updated" : "added"}`;
342
- e[n.key] = Object.freeze(t.hook.message.dispatch(n)), t.emit(l, n);
341
+ const s = `message-${T(e, n.key) ? "updated" : "added"}`;
342
+ e[n.key] = Object.freeze(t.hook.message.dispatch(n)), t.emit(s, n);
343
343
  }
344
344
  return i;
345
345
  }
@@ -350,68 +350,68 @@ function qn(e, i) {
350
350
  }
351
351
  }
352
352
  function Jt(e, i, t, n) {
353
- if (F(e, n)) {
354
- const l = e[n];
355
- delete e[n], t.emit("message-removed", l);
353
+ if (T(e, n)) {
354
+ const s = e[n];
355
+ delete e[n], t.emit("message-removed", s);
356
356
  }
357
- 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;
357
+ return i.buffer === !0 && (i._b = i._b.filter((s) => (s[0] = s[0].filter((a) => a.key !== n), s[1] || s[0].length))), i;
358
358
  }
359
- function Zn(e, i, t, n, l) {
360
- for (const s in e) {
361
- const r = e[s];
362
- (!l || r.type === l) && !n(r) && Jt(e, i, t, s);
359
+ function Zn(e, i, t, n, s) {
360
+ for (const a in e) {
361
+ const r = e[a];
362
+ (!s || r.type === s) && !n(r) && Jt(e, i, t, a);
363
363
  }
364
364
  }
365
- function Jn(e, i, t, n, l) {
366
- for (const s in e) {
367
- const r = e[s];
368
- l = n(l, r);
365
+ function Jn(e, i, t, n, s) {
366
+ for (const a in e) {
367
+ const r = e[a];
368
+ s = n(s, r);
369
369
  }
370
- return l;
370
+ return s;
371
371
  }
372
- function Yn(e, i, t, n, l) {
372
+ function Yn(e, i, t, n, s) {
373
373
  if (Array.isArray(n)) {
374
374
  if (i.buffer) {
375
- i._b.push([n, l]);
375
+ i._b.push([n, s]);
376
376
  return;
377
377
  }
378
- const s = new Set(n.map((r) => (i.set(r), r.key)));
379
- 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));
378
+ const a = new Set(n.map((r) => (i.set(r), r.key)));
379
+ typeof s == "string" ? i.filter((r) => r.type !== s || a.has(r.key)) : typeof s == "function" && i.filter((r) => !s(r) || a.has(r.key));
380
380
  } else
381
- for (const s in n) {
382
- const r = t.at(s);
383
- r ? r.store.apply(n[s], l) : Xn(t, i, s, n[s], l);
381
+ for (const a in n) {
382
+ const r = t.at(a);
383
+ r ? r.store.apply(n[a], s) : Xn(t, i, a, n[a], s);
384
384
  }
385
385
  }
386
386
  function Qn(e, ...i) {
387
- const t = `${e.name}-set`, n = (l) => oe({
388
- key: dt(l),
387
+ const t = `${e.name}-set`, n = (s) => oe({
388
+ key: dt(s),
389
389
  type: "error",
390
- value: l,
390
+ value: s,
391
391
  meta: { source: t, autoClear: !0 }
392
392
  });
393
- return i.filter((l) => !!l).map((l) => {
394
- if (typeof l == "string" && (l = [l]), Array.isArray(l))
395
- return l.map((s) => n(s));
393
+ return i.filter((s) => !!s).map((s) => {
394
+ if (typeof s == "string" && (s = [s]), Array.isArray(s))
395
+ return s.map((a) => n(a));
396
396
  {
397
- const s = {};
398
- for (const r in l)
399
- Array.isArray(l[r]) ? s[r] = l[r].map((o) => n(o)) : s[r] = [n(l[r])];
400
- return s;
397
+ const a = {};
398
+ for (const r in s)
399
+ Array.isArray(s[r]) ? a[r] = s[r].map((o) => n(o)) : a[r] = [n(s[r])];
400
+ return a;
401
401
  }
402
402
  });
403
403
  }
404
- function Xn(e, i, t, n, l) {
405
- var s;
404
+ function Xn(e, i, t, n, s) {
405
+ var a;
406
406
  const r = i._m;
407
- r.has(t) || r.set(t, []), i._r || (i._r = Yt(e, i)), (s = r.get(t)) === null || s === void 0 || s.push([n, l]);
407
+ r.has(t) || r.set(t, []), i._r || (i._r = Yt(e, i)), (a = r.get(t)) === null || a === void 0 || a.push([n, s]);
408
408
  }
409
409
  function Yt(e, i) {
410
410
  return e.on("child.deep", ({ payload: t }) => {
411
- i._m.forEach((n, l) => {
412
- e.at(l) === t && (n.forEach(([s, r]) => {
413
- t.store.apply(s, r);
414
- }), i._m.delete(l));
411
+ i._m.forEach((n, s) => {
412
+ e.at(s) === t && (n.forEach(([a, r]) => {
413
+ t.store.apply(a, r);
414
+ }), i._m.delete(s));
415
415
  }), i._m.size === 0 && i._r && (e.off(i._r), i._r = void 0);
416
416
  });
417
417
  }
@@ -424,21 +424,21 @@ function ei() {
424
424
  return {
425
425
  count: (...t) => ti(i, e, ...t),
426
426
  init(t) {
427
- i = t, t.on("message-added.deep", Pt(e, 1)), t.on("message-removed.deep", Pt(e, -1));
427
+ i = t, t.on("message-added.deep", Lt(e, 1)), t.on("message-removed.deep", Lt(e, -1));
428
428
  },
429
429
  merge: (t) => At(i, e, t),
430
430
  settled(t) {
431
- return F(e, t) ? e[t].promise : Promise.resolve();
431
+ return T(e, t) ? e[t].promise : Promise.resolve();
432
432
  },
433
433
  unmerge: (t) => At(i, e, t, !0),
434
434
  value(t) {
435
- return F(e, t) ? e[t].count : 0;
435
+ return T(e, t) ? e[t].count : 0;
436
436
  }
437
437
  };
438
438
  }
439
- function ti(e, i, t, n, l = 0) {
440
- if (n = ni(n || t), !F(i, t)) {
441
- const s = {
439
+ function ti(e, i, t, n, s = 0) {
440
+ if (n = ni(n || t), !T(i, t)) {
441
+ const a = {
442
442
  condition: n,
443
443
  count: 0,
444
444
  name: t,
@@ -448,38 +448,38 @@ function ti(e, i, t, n, l = 0) {
448
448
  }
449
449
  // eslint-disable-line @typescript-eslint/no-empty-function
450
450
  };
451
- i[t] = s, l = e.store.reduce((r, o) => r + s.condition(o) * 1, l), e.each((r) => {
452
- r.ledger.count(s.name, s.condition), l += r.ledger.value(s.name);
451
+ i[t] = a, s = e.store.reduce((r, o) => r + a.condition(o) * 1, s), e.each((r) => {
452
+ r.ledger.count(a.name, a.condition), s += r.ledger.value(a.name);
453
453
  });
454
454
  }
455
- return Qt(i[t], l).promise;
455
+ return Qt(i[t], s).promise;
456
456
  }
457
457
  function ni(e) {
458
458
  return typeof e == "function" ? e : (i) => i.type === e;
459
459
  }
460
460
  function Qt(e, i) {
461
461
  const t = e.count, n = e.count + i;
462
- return e.count = n, t === 0 && n !== 0 ? (e.node.emit(`unsettled:${e.name}`, e.count, !1), e.promise = new Promise((l) => e.resolve = l)) : t !== 0 && n === 0 && (e.node.emit(`settled:${e.name}`, e.count, !1), e.resolve()), e.node.emit(`count:${e.name}`, e.count, !1), e;
462
+ return e.count = n, t === 0 && n !== 0 ? (e.node.emit(`unsettled:${e.name}`, e.count, !1), e.promise = new Promise((s) => e.resolve = s)) : t !== 0 && n === 0 && (e.node.emit(`settled:${e.name}`, e.count, !1), e.resolve()), e.node.emit(`count:${e.name}`, e.count, !1), e;
463
463
  }
464
- function Pt(e, i) {
464
+ function Lt(e, i) {
465
465
  return (t) => {
466
466
  for (const n in e) {
467
- const l = e[n];
468
- l.condition(t.payload) && Qt(l, i);
467
+ const s = e[n];
468
+ s.condition(t.payload) && Qt(s, i);
469
469
  }
470
470
  };
471
471
  }
472
472
  function At(e, i, t, n = !1) {
473
- const l = e;
474
- for (const s in i) {
475
- const r = i[s].condition;
476
- n || t.ledger.count(s, r);
477
- const o = t.ledger.value(s) * (n ? -1 : 1);
473
+ const s = e;
474
+ for (const a in i) {
475
+ const r = i[a].condition;
476
+ n || t.ledger.count(a, r);
477
+ const o = t.ledger.value(a) * (n ? -1 : 1);
478
478
  if (e) {
479
479
  do
480
- e.ledger.count(s, r, o), e = e.parent;
480
+ e.ledger.count(a, r, o), e = e.parent;
481
481
  while (e);
482
- e = l;
482
+ e = s;
483
483
  }
484
484
  }
485
485
  }
@@ -492,7 +492,7 @@ function li(e) {
492
492
  origin: e
493
493
  }));
494
494
  }
495
- function ai(e) {
495
+ function si(e) {
496
496
  if (Ue.has(e)) {
497
497
  const i = Ue.get(e);
498
498
  Ue.delete(e), vt.delete(i), ht(e, {
@@ -506,10 +506,10 @@ function ai(e) {
506
506
  function Xt(e) {
507
507
  return vt.get(e);
508
508
  }
509
- function si(e, i) {
509
+ function ai(e, i) {
510
510
  ii.push(ht.on(e, i));
511
511
  }
512
- function Ot(e, i, t) {
512
+ function Pt(e, i, t) {
513
513
  let n = !0;
514
514
  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;
515
515
  }
@@ -520,13 +520,13 @@ function ri(e) {
520
520
  i.dispatchEvent(t);
521
521
  return;
522
522
  }
523
- Te(151, e);
523
+ De(151, e);
524
524
  }
525
525
  function oi(e) {
526
526
  const i = (t) => {
527
527
  for (const n in t.store) {
528
- const l = t.store[n];
529
- l.type === "error" || l.type === "ui" && n === "incomplete" ? t.store.remove(n) : l.type === "state" && t.store.set({ ...l, value: !1 });
528
+ const s = t.store[n];
529
+ s.type === "error" || s.type === "ui" && n === "incomplete" ? t.store.remove(n) : s.type === "state" && t.store.set({ ...s, value: !1 });
530
530
  }
531
531
  };
532
532
  i(e), e.walk(i);
@@ -536,14 +536,14 @@ function ui(e, i) {
536
536
  if (t) {
537
537
  const n = (r) => be(r.props.initial) || (r.type === "group" ? {} : r.type === "list" ? [] : void 0);
538
538
  t._e.pause(t);
539
- const l = be(i);
540
- return i && !et(i) && (t.props.initial = xe(l) ? Ce(l) : l, t.props._init = t.props.initial), t.input(n(t), !1), t.walk((r) => {
539
+ const s = be(i);
540
+ return i && !et(i) && (t.props.initial = xe(s) ? Ce(s) : s, t.props._init = t.props.initial), t.input(n(t), !1), t.walk((r) => {
541
541
  r.type === "list" && r.sync || r.input(n(r), !1);
542
- }), t.input(et(l) && l ? l : n(t), !1), t.type !== "input" && i && !et(i) && xe(i) && t.walk((r) => {
542
+ }), t.input(et(s) && s ? s : n(t), !1), t.type !== "input" && i && !et(i) && xe(i) && t.walk((r) => {
543
543
  r.props.initial = xe(r.value) ? Ce(r.value) : r.value, r.props._init = t.props.initial;
544
544
  }), t._e.play(t), oi(t), t.emit("reset", t), t;
545
545
  }
546
- Te(152, e);
546
+ De(152, e);
547
547
  }
548
548
  const fi = {
549
549
  delimiter: ".",
@@ -551,7 +551,7 @@ const fi = {
551
551
  locale: "en",
552
552
  rootClasses: (e) => ({ [`formkit-${qt(e)}`]: !0 })
553
553
  }, Gt = Symbol("index"), ot = Symbol("removed"), ut = Symbol("moved"), en = Symbol("inserted");
554
- function ci(e) {
554
+ function pi(e) {
555
555
  return e.type === "list" && Array.isArray(e._value);
556
556
  }
557
557
  function Xe(e) {
@@ -559,47 +559,47 @@ function Xe(e) {
559
559
  }
560
560
  const Ke = (e, i, t) => {
561
561
  q(102, [e, t]);
562
- }, pi = {
563
- _c: V(Mi, Ke, !1),
564
- add: V(Si),
565
- addProps: V(Ci),
566
- address: V(Ri, Ke, !1),
567
- at: V(ji),
568
- bubble: V(Un),
569
- clearErrors: V(Ni),
570
- calm: V($i),
571
- config: V(!1),
572
- define: V(ki),
573
- disturb: V(gi),
574
- destroy: V(wi),
575
- extend: V(Hi),
576
- hydrate: V(hi),
577
- index: V(xi, Oi, !1),
578
- input: V(ln),
579
- each: V(Li),
580
- emit: V(zn),
581
- find: V(Ti),
582
- on: V(Kn),
583
- off: V(Nn),
584
- parent: V(!1, Vi),
585
- plugins: V(!1),
586
- remove: V(Ii),
587
- root: V(Bi, Ke, !1),
588
- reset: V(Ki),
589
- resetConfig: V(Ai),
590
- setErrors: V(rn),
591
- submit: V(Ui),
592
- t: V(zi),
593
- use: V(_t),
594
- name: V(Ei, !1, !1),
595
- walk: V(Pi)
562
+ }, ci = {
563
+ _c: I(Mi, Ke, !1),
564
+ add: I(Si),
565
+ addProps: I(Ci),
566
+ address: I(Ri, Ke, !1),
567
+ at: I(ji),
568
+ bubble: I(Un),
569
+ clearErrors: I(Ni),
570
+ calm: I($i),
571
+ config: I(!1),
572
+ define: I(ki),
573
+ disturb: I(gi),
574
+ destroy: I(wi),
575
+ extend: I(Hi),
576
+ hydrate: I(hi),
577
+ index: I(xi, Pi, !1),
578
+ input: I(ln),
579
+ each: I(Oi),
580
+ emit: I(zn),
581
+ find: I(Di),
582
+ on: I(Kn),
583
+ off: I(Nn),
584
+ parent: I(!1, Vi),
585
+ plugins: I(!1),
586
+ remove: I(Ii),
587
+ root: I(Bi, Ke, !1),
588
+ reset: I(Ki),
589
+ resetConfig: I(Ai),
590
+ setErrors: I(rn),
591
+ submit: I(Ui),
592
+ t: I(zi),
593
+ use: I(_t),
594
+ name: I(Ei, !1, !1),
595
+ walk: I(Li)
596
596
  };
597
597
  function di() {
598
- return new Map(Object.entries(pi));
598
+ return new Map(Object.entries(ci));
599
599
  }
600
- function V(e, i, t = !0) {
600
+ function I(e, i, t = !0) {
601
601
  return {
602
- get: e ? (n, l) => t ? (...s) => e(n, l, ...s) : e(n, l) : !1,
602
+ get: e ? (n, s) => t ? (...a) => e(n, s, ...a) : e(n, s) : !1,
603
603
  set: i !== void 0 ? i : Ke.bind(null)
604
604
  };
605
605
  }
@@ -638,11 +638,11 @@ function vi(e, i) {
638
638
  function We(e, i, t = !0, n = !0) {
639
639
  i._value = i.value = e.hook.commit.dispatch(i._value), e.type !== "input" && n && e.hydrate(), e.emit("commitRaw", i.value), e.emit("commit", i.value), t && e.calm();
640
640
  }
641
- function an(e, { name: i, value: t, from: n }) {
641
+ function sn(e, { name: i, value: t, from: n }) {
642
642
  if (!Object.isFrozen(e._value)) {
643
- if (ci(e)) {
644
- const l = t === ot ? [] : t === ut && typeof n == "number" ? e._value.splice(n, 1) : [t];
645
- e._value.splice(i, t === ut || n === en ? 0 : 1, ...l);
643
+ if (pi(e)) {
644
+ const s = t === ot ? [] : t === ut && typeof n == "number" ? e._value.splice(n, 1) : [t];
645
+ e._value.splice(i, t === ut || n === en ? 0 : 1, ...s);
646
646
  return;
647
647
  }
648
648
  t !== ot ? e._value[i] = t : delete e._value[i];
@@ -653,45 +653,45 @@ function hi(e, i) {
653
653
  return e.type === "list" && e.sync && _i(e, i), i.children.forEach((n) => {
654
654
  if (typeof t == "object")
655
655
  if (n.name in t) {
656
- const l = n.type !== "input" || t[n.name] && typeof t[n.name] == "object" ? Ce(t[n.name]) : t[n.name];
657
- if (!n.isSettled || !xe(l) && ue(l, n._value))
656
+ const s = n.type !== "input" || t[n.name] && typeof t[n.name] == "object" ? Ce(t[n.name]) : t[n.name];
657
+ if (!n.isSettled || !xe(s) && ue(s, n._value))
658
658
  return;
659
- n.input(l, !1);
659
+ n.input(s, !1);
660
660
  } else
661
- (e.type !== "list" || typeof n.name == "number") && an(i, { name: n.name, value: n.value }), t.__init || (n.type === "group" ? n.input({}, !1) : n.type === "list" ? n.input([], !1) : n.input(void 0, !1));
661
+ (e.type !== "list" || typeof n.name == "number") && sn(i, { name: n.name, value: n.value }), t.__init || (n.type === "group" ? n.input({}, !1) : n.type === "list" ? n.input([], !1) : n.input(void 0, !1));
662
662
  }), e;
663
663
  }
664
664
  function _i(e, i) {
665
665
  const t = e._value;
666
666
  if (!Array.isArray(t))
667
667
  return;
668
- const n = [], l = new Set(i.children), s = /* @__PURE__ */ new Map();
668
+ const n = [], s = new Set(i.children), a = /* @__PURE__ */ new Map();
669
669
  t.forEach((o, u) => {
670
670
  if (i.children[u] && i.children[u]._value === o)
671
- n.push(i.children[u]), l.delete(i.children[u]);
671
+ n.push(i.children[u]), s.delete(i.children[u]);
672
672
  else {
673
673
  n.push(null);
674
- const p = s.get(o) || [];
675
- p.push(u), s.set(o, p);
674
+ const c = a.get(o) || [];
675
+ c.push(u), a.set(o, c);
676
676
  }
677
- }), l.size && s.size && l.forEach((o) => {
678
- if (s.has(o._value)) {
679
- const u = s.get(o._value), p = u.shift();
680
- n[p] = o, l.delete(o), u.length || s.delete(o._value);
677
+ }), s.size && a.size && s.forEach((o) => {
678
+ if (a.has(o._value)) {
679
+ const u = a.get(o._value), c = u.shift();
680
+ n[c] = o, s.delete(o), u.length || a.delete(o._value);
681
681
  }
682
682
  });
683
683
  const r = [];
684
- for (s.forEach((o) => {
684
+ for (a.forEach((o) => {
685
685
  r.push(...o);
686
- }); l.size && r.length; ) {
687
- const o = l.values().next().value, u = r.shift();
686
+ }); s.size && r.length; ) {
687
+ const o = s.values().next().value, u = r.shift();
688
688
  if (u === void 0)
689
689
  break;
690
- n[u] = o, l.delete(o);
690
+ n[u] = o, s.delete(o);
691
691
  }
692
692
  r.forEach((o, u) => {
693
693
  n[o] = Yi({ value: u });
694
- }), l.size && l.forEach((o) => {
694
+ }), s.size && s.forEach((o) => {
695
695
  if (!("__FKP" in o)) {
696
696
  const u = o._c.parent;
697
697
  if (!u || Qi(u))
@@ -709,11 +709,11 @@ function gi(e, i) {
709
709
  function $i(e, i, t) {
710
710
  var n;
711
711
  if (t !== void 0 && e.type !== "input")
712
- return an(i, t), We(e, i, !0, !1);
712
+ return sn(i, t), We(e, i, !0, !1);
713
713
  i._d > 0 && i._d--, i._d === 0 && (i.isSettled = !0, e.emit("settled", !0, !1), e.parent && ((n = e.parent) === null || n === void 0 || n.calm({ name: e.name, value: i.value })), i._resolve && i._resolve(i.value));
714
714
  }
715
715
  function wi(e, i) {
716
- e.emit("destroying", e), e.store.filter(() => !1), e.parent && (e.parent.emit("childRemoved", e), e.parent.remove(e)), ai(e), e.emit("destroyed", e), i._e.flush(), i._value = i.value = void 0;
716
+ e.emit("destroying", e), e.store.filter(() => !1), e.parent && (e.parent.emit("childRemoved", e), e.parent.remove(e)), si(e), e.emit("destroyed", e), i._e.flush(), i._value = i.value = void 0;
717
717
  for (const t in i.context)
718
718
  delete i.context[t];
719
719
  i.plugins.clear(), i.context = null;
@@ -727,14 +727,14 @@ function ki(e, i, t) {
727
727
  function Ci(e, i, t) {
728
728
  var n;
729
729
  if (e.props.attrs) {
730
- const l = { ...e.props.attrs };
730
+ const s = { ...e.props.attrs };
731
731
  e.props._emit = !1;
732
- for (const r in l) {
732
+ for (const r in s) {
733
733
  const o = ze(r);
734
- t.includes(o) && (e.props[o] = l[r], delete l[r]);
734
+ t.includes(o) && (e.props[o] = s[r], delete s[r]);
735
735
  }
736
- const s = be(i._value);
737
- e.props.initial = e.type !== "input" ? Ce(s) : s, e.props._emit = !0, e.props.attrs = l, e.props.definition && (e.props.definition.props = [
736
+ const a = be(i._value);
737
+ e.props.initial = e.type !== "input" ? Ce(a) : a, e.props._emit = !0, e.props.attrs = s, e.props.definition && (e.props.definition.props = [
738
738
  ...((n = e.props.definition) === null || n === void 0 ? void 0 : n.props) || [],
739
739
  ...t
740
740
  ]);
@@ -744,8 +744,8 @@ function Ci(e, i, t) {
744
744
  function Si(e, i, t, n) {
745
745
  if (e.type === "input" && q(100, e), t.parent && t.parent !== e && t.parent.remove(t), !i.children.includes(t)) {
746
746
  if (n !== void 0 && e.type === "list") {
747
- const l = i.children[n];
748
- l && "__FKP" in l ? (t._c.uid = l.uid, i.children.splice(n, 1, t)) : i.children.splice(n, 0, t), Array.isArray(e.value) && e.value.length < i.children.length && e.disturb().calm({
747
+ const s = i.children[n];
748
+ s && "__FKP" in s ? (t._c.uid = s.uid, i.children.splice(n, 1, t)) : i.children.splice(n, 0, t), Array.isArray(e.value) && e.value.length < i.children.length && e.disturb().calm({
749
749
  name: n,
750
750
  value: t.value,
751
751
  from: en
@@ -768,38 +768,38 @@ function Ii(e, i, t) {
768
768
  const n = i.children.indexOf(t);
769
769
  if (n !== -1) {
770
770
  t.isSettled && e.disturb(), i.children.splice(n, 1);
771
- let l = Y(t.props.preserve), s = t.parent;
772
- for (; l === void 0 && s; )
773
- l = Y(s.props.preserve), s = s.parent;
774
- l ? e.calm() : e.calm({
771
+ let s = Q(t.props.preserve), a = t.parent;
772
+ for (; s === void 0 && a; )
773
+ s = Q(a.props.preserve), a = a.parent;
774
+ s ? e.calm() : e.calm({
775
775
  name: e.type === "list" ? n : t.name,
776
776
  value: ot
777
777
  }), t.parent = null, t.config._rmn = t;
778
778
  }
779
779
  return e.ledger.unmerge(t), e;
780
780
  }
781
- function Li(e, i, t) {
781
+ function Oi(e, i, t) {
782
782
  i.children.forEach((n) => !("__FKP" in n) && t(n));
783
783
  }
784
- function Pi(e, i, t, n = !1, l = !1) {
785
- i.children.some((s) => {
786
- if ("__FKP" in s)
784
+ function Li(e, i, t, n = !1, s = !1) {
785
+ i.children.some((a) => {
786
+ if ("__FKP" in a)
787
787
  return !1;
788
- const r = t(s);
789
- return n && r === !1 ? !0 : l && r === !1 ? !1 : s.walk(t, n, l);
788
+ const r = t(a);
789
+ return n && r === !1 ? !0 : s && r === !1 ? !1 : a.walk(t, n, s);
790
790
  });
791
791
  }
792
792
  function Ai(e, i) {
793
793
  const t = e.parent || void 0;
794
- i.config = sn(e.config._t, t), e.walk((n) => n.resetConfig());
794
+ i.config = an(e.config._t, t), e.walk((n) => n.resetConfig());
795
795
  }
796
- function _t(e, i, t, n = !0, l = !0) {
797
- return Array.isArray(t) || t instanceof Set ? (t.forEach((s) => _t(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);
796
+ function _t(e, i, t, n = !0, s = !0) {
797
+ return Array.isArray(t) || t instanceof Set ? (t.forEach((a) => _t(e, i, a)), e) : (i.plugins.has(t) || (s && typeof t.library == "function" && t.library(e), n && t(e) !== !1 && (i.plugins.add(t), e.children.forEach((a) => a.use(t)))), e);
798
798
  }
799
- function Oi(e, i, t, n) {
799
+ function Pi(e, i, t, n) {
800
800
  if (Xe(e.parent)) {
801
- const l = e.parent.children, s = n >= l.length ? l.length - 1 : n < 0 ? 0 : n, r = l.indexOf(e);
802
- 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: ut, from: r }), !0);
801
+ const s = e.parent.children, a = n >= s.length ? s.length - 1 : n < 0 ? 0 : n, r = s.indexOf(e);
802
+ return r === -1 ? !1 : (s.splice(r, 1), s.splice(a, 0, e), e.parent.children = s, e.parent.type === "list" && e.parent.disturb().calm({ name: a, value: ut, from: r }), !0);
803
803
  }
804
804
  return !1;
805
805
  }
@@ -824,49 +824,49 @@ function ji(e, i, t) {
824
824
  const n = typeof t == "string" ? t.split(e.config.delimiter) : t;
825
825
  if (!n.length)
826
826
  return;
827
- const l = n[0];
828
- let s = e.parent;
829
- for (s || (String(n[0]) === String(e.name) && n.shift(), s = e), l === "$parent" && n.shift(); s && n.length; ) {
827
+ const s = n[0];
828
+ let a = e.parent;
829
+ for (a || (String(n[0]) === String(e.name) && n.shift(), a = e), s === "$parent" && n.shift(); a && n.length; ) {
830
830
  const r = n.shift();
831
831
  switch (r) {
832
832
  case "$root":
833
- s = e.root;
833
+ a = e.root;
834
834
  break;
835
835
  case "$parent":
836
- s = s.parent;
836
+ a = a.parent;
837
837
  break;
838
838
  case "$self":
839
- s = e;
839
+ a = e;
840
840
  break;
841
841
  default:
842
- s = s.children.find((o) => !("__FKP" in o) && String(o.name) === String(r)) || Fi(s, r);
842
+ a = a.children.find((o) => !("__FKP" in o) && String(o.name) === String(r)) || Fi(a, r);
843
843
  }
844
844
  }
845
- return s || void 0;
845
+ return a || void 0;
846
846
  }
847
847
  function Fi(e, i) {
848
848
  const t = String(i).match(/^(find)\((.*)\)$/);
849
849
  if (t) {
850
- const [, n, l] = t, s = l.split(",").map((r) => r.trim());
850
+ const [, n, s] = t, a = s.split(",").map((r) => r.trim());
851
851
  switch (n) {
852
852
  case "find":
853
- return e.find(s[0], s[1]);
853
+ return e.find(a[0], a[1]);
854
854
  default:
855
855
  return;
856
856
  }
857
857
  }
858
858
  }
859
- function Ti(e, i, t, n) {
860
- return Di(e, t, n);
859
+ function Di(e, i, t, n) {
860
+ return Ti(e, t, n);
861
861
  }
862
- function Di(e, i, t = "name") {
863
- const n = typeof t == "string" ? (s) => s[t] == i : t, l = [e];
864
- for (; l.length; ) {
865
- const s = l.shift();
866
- if (!("__FKP" in s)) {
867
- if (n(s, i))
868
- return s;
869
- l.push(...s.children);
862
+ function Ti(e, i, t = "name") {
863
+ const n = typeof t == "string" ? (a) => a[t] == i : t, s = [e];
864
+ for (; s.length; ) {
865
+ const a = s.shift();
866
+ if (!("__FKP" in a)) {
867
+ if (n(a, i))
868
+ return a;
869
+ s.push(...a.children);
870
870
  }
871
871
  }
872
872
  }
@@ -876,45 +876,45 @@ function Bi(e) {
876
876
  i = i.parent;
877
877
  return i;
878
878
  }
879
- function sn(e = {}, i) {
879
+ function an(e = {}, i) {
880
880
  let t;
881
881
  return new Proxy(e, {
882
882
  get(...n) {
883
- const l = n[1];
884
- if (l === "_t")
883
+ const s = n[1];
884
+ if (s === "_t")
885
885
  return e;
886
- const s = Reflect.get(...n);
887
- if (s !== void 0)
888
- return s;
886
+ const a = Reflect.get(...n);
887
+ if (a !== void 0)
888
+ return a;
889
889
  if (i) {
890
- const r = i.config[l];
890
+ const r = i.config[s];
891
891
  if (r !== void 0)
892
892
  return r;
893
893
  }
894
- if (e.rootConfig && typeof l == "string") {
895
- const r = e.rootConfig[l];
894
+ if (e.rootConfig && typeof s == "string") {
895
+ const r = e.rootConfig[s];
896
896
  if (r !== void 0)
897
897
  return r;
898
898
  }
899
- return l === "delay" && (t == null ? void 0 : t.type) === "input" ? 20 : fi[l];
899
+ return s === "delay" && (t == null ? void 0 : t.type) === "input" ? 20 : fi[s];
900
900
  },
901
901
  set(...n) {
902
- const l = n[1], s = n[2];
903
- if (l === "_n")
904
- return t = s, e.rootConfig && e.rootConfig._add(t), !0;
905
- if (l === "_rmn")
902
+ const s = n[1], a = n[2];
903
+ if (s === "_n")
904
+ return t = a, e.rootConfig && e.rootConfig._add(t), !0;
905
+ if (s === "_rmn")
906
906
  return e.rootConfig && e.rootConfig._rm(t), t = void 0, !0;
907
- if (!ue(e[l], s, !1)) {
907
+ if (!ue(e[s], a, !1)) {
908
908
  const r = Reflect.set(...n);
909
- return t && (t.emit(`config:${l}`, s, !1), Ot(t, l, s), t.walk((o) => Ot(o, l, s), !1, !0)), r;
909
+ return t && (t.emit(`config:${s}`, a, !1), Pt(t, s, a), t.walk((o) => Pt(o, s, a), !1, !0)), r;
910
910
  }
911
911
  return !0;
912
912
  }
913
913
  });
914
914
  }
915
915
  function zi(e, i, t, n = "ui") {
916
- const l = typeof t == "string" ? { key: t, value: t, type: n } : t, s = e.hook.text.dispatch(l);
917
- return e.emit("text", s, !1), s.value;
916
+ const s = typeof t == "string" ? { key: t, value: t, type: n } : t, a = e.hook.text.dispatch(s);
917
+ return e.emit("text", a, !1), a.value;
918
918
  }
919
919
  function Ui(e) {
920
920
  const i = e.name;
@@ -929,14 +929,14 @@ function Ki(e, i, t) {
929
929
  return ui(e, t);
930
930
  }
931
931
  function rn(e, i, t, n) {
932
- const l = `${e.name}-set`, s = e.hook.setErrors.dispatch({ localErrors: t, childErrors: n });
933
- return Qn(e, s.localErrors, s.childErrors).forEach((r) => {
934
- e.store.apply(r, (o) => o.meta.source === l);
932
+ const s = `${e.name}-set`, a = e.hook.setErrors.dispatch({ localErrors: t, childErrors: n });
933
+ return Qn(e, a.localErrors, a.childErrors).forEach((r) => {
934
+ e.store.apply(r, (o) => o.meta.source === s);
935
935
  }), e;
936
936
  }
937
937
  function Ni(e, i, t = !0, n) {
938
- return rn(e, i, []), t && (n = n || `${e.name}-set`, e.walk((l) => {
939
- l.store.filter((s) => !(s.type === "error" && s.meta && s.meta.source === n));
938
+ return rn(e, i, []), t && (n = n || `${e.name}-set`, e.walk((s) => {
939
+ s.store.filter((a) => !(a.type === "error" && a.meta && a.meta.source === n));
940
940
  })), e;
941
941
  }
942
942
  function Wi(e) {
@@ -945,25 +945,25 @@ function Wi(e) {
945
945
  };
946
946
  let t, n = !0;
947
947
  return new Proxy(i, {
948
- get(...l) {
949
- const [s, r] = l;
950
- if (F(i, r))
951
- return Reflect.get(...l);
948
+ get(...s) {
949
+ const [a, r] = s;
950
+ if (T(i, r))
951
+ return Reflect.get(...s);
952
952
  if (t && typeof r == "string" && t.config[r] !== void 0)
953
953
  return t.config[r];
954
954
  },
955
- set(l, s, r, o) {
956
- if (s === "_n")
955
+ set(s, a, r, o) {
956
+ if (a === "_n")
957
957
  return t = r, !0;
958
- if (s === "_emit")
958
+ if (a === "_emit")
959
959
  return n = r, !0;
960
- const { prop: u, value: p } = t.hook.prop.dispatch({
961
- prop: s,
960
+ const { prop: u, value: c } = t.hook.prop.dispatch({
961
+ prop: a,
962
962
  value: r
963
963
  });
964
- if (!ue(i[u], p, !1) || typeof p == "object") {
965
- const g = Reflect.set(l, u, p, o);
966
- return n && (t.emit("prop", { prop: u, value: p }), typeof u == "string" && t.emit(`prop:${u}`, p)), g;
964
+ if (!ue(i[u], c, !1) || typeof c == "object") {
965
+ const g = Reflect.set(s, u, c, o);
966
+ return n && (t.emit("prop", { prop: u, value: c }), typeof u == "string" && t.emit(`prop:${u}`, c)), g;
967
967
  }
968
968
  return !0;
969
969
  }
@@ -982,7 +982,7 @@ function qi(e, i) {
982
982
  }
983
983
  }
984
984
  function Zi(e) {
985
- const i = nn(e), t = sn(e.config || {}, e.parent);
985
+ const i = nn(e), t = an(e.config || {}, e.parent);
986
986
  return {
987
987
  _d: 0,
988
988
  _e: Zt(),
@@ -1009,29 +1009,29 @@ function Zi(e) {
1009
1009
  };
1010
1010
  }
1011
1011
  function Ji(e, i) {
1012
- var t, n, l;
1013
- const s = (t = i.props) === null || t === void 0 ? void 0 : t.id;
1014
- if (s || (n = i.props) === null || n === void 0 || delete n.id, e.ledger.init(e.store._n = e.props._n = e.config._n = e), e.props._emit = !1, Object.assign(e.props, s ? {} : { id: `input_${bi++}` }, (l = i.props) !== null && l !== void 0 ? l : {}), e.props._emit = !0, qi(e, /* @__PURE__ */ new Set([
1012
+ var t, n, s;
1013
+ const a = (t = i.props) === null || t === void 0 ? void 0 : t.id;
1014
+ if (a || (n = i.props) === null || n === void 0 || delete n.id, e.ledger.init(e.store._n = e.props._n = e.config._n = e), e.props._emit = !1, Object.assign(e.props, a ? {} : { id: `input_${bi++}` }, (s = i.props) !== null && s !== void 0 ? s : {}), e.props._emit = !0, qi(e, /* @__PURE__ */ new Set([
1015
1015
  ...i.plugins || [],
1016
1016
  ...e.parent ? e.parent.plugins : []
1017
1017
  ])), i.plugins)
1018
1018
  for (const r of i.plugins)
1019
1019
  _t(e, e._c, r, !0, !1);
1020
- return e.each((r) => e.add(r)), e.parent && e.parent.add(e, i.index), e.type === "input" && e.children.length && q(100, e), ln(e, e._c, e._value, !1), e.store.release(), s && li(e), e.emit("created", e), e.isCreated = !0, e;
1020
+ return e.each((r) => e.add(r)), e.parent && e.parent.add(e, i.index), e.type === "input" && e.children.length && q(100, e), ln(e, e._c, e._value, !1), e.store.release(), a && li(e), e.emit("created", e), e.isCreated = !0, e;
1021
1021
  }
1022
1022
  function Yi(e) {
1023
- var i, t, n, l;
1023
+ var i, t, n, s;
1024
1024
  return {
1025
1025
  __FKP: !0,
1026
1026
  uid: Symbol(),
1027
1027
  name: (i = e == null ? void 0 : e.name) !== null && i !== void 0 ? i : `p_${tn++}`,
1028
1028
  value: (t = e == null ? void 0 : e.value) !== null && t !== void 0 ? t : null,
1029
1029
  _value: (n = e == null ? void 0 : e.value) !== null && n !== void 0 ? n : null,
1030
- type: (l = e == null ? void 0 : e.type) !== null && l !== void 0 ? l : "input",
1030
+ type: (s = e == null ? void 0 : e.type) !== null && s !== void 0 ? s : "input",
1031
1031
  use: () => {
1032
1032
  },
1033
- input(s) {
1034
- return this._value = s, this.value = s, Promise.resolve();
1033
+ input(a) {
1034
+ return this._value = a, this.value = a, Promise.resolve();
1035
1035
  },
1036
1036
  isSettled: !0
1037
1037
  };
@@ -1041,28 +1041,28 @@ function Qi(e) {
1041
1041
  }
1042
1042
  function Xi(e) {
1043
1043
  const i = e || {}, t = Zi(i), n = new Proxy(t, {
1044
- get(...l) {
1045
- const [, s] = l;
1046
- if (s === "__FKNode__")
1044
+ get(...s) {
1045
+ const [, a] = s;
1046
+ if (a === "__FKNode__")
1047
1047
  return !0;
1048
- const r = t.traps.get(s);
1049
- return r && r.get ? r.get(n, t) : Reflect.get(...l);
1048
+ const r = t.traps.get(a);
1049
+ return r && r.get ? r.get(n, t) : Reflect.get(...s);
1050
1050
  },
1051
- set(...l) {
1052
- const [, s, r] = l, o = t.traps.get(s);
1053
- return o && o.set ? o.set(n, t, s, r) : Reflect.set(...l);
1051
+ set(...s) {
1052
+ const [, a, r] = s, o = t.traps.get(a);
1053
+ return o && o.set ? o.set(n, t, a, r) : Reflect.set(...s);
1054
1054
  }
1055
1055
  });
1056
1056
  return Ji(n, i);
1057
1057
  }
1058
1058
  function ft(e) {
1059
- return typeof e != "string" && F(e, "$el");
1059
+ return typeof e != "string" && T(e, "$el");
1060
1060
  }
1061
- function ct(e) {
1062
- return typeof e != "string" && F(e, "$cmp");
1061
+ function pt(e) {
1062
+ return typeof e != "string" && T(e, "$cmp");
1063
1063
  }
1064
1064
  function _e(e) {
1065
- return !e || typeof e == "string" ? !1 : F(e, "if") && F(e, "then");
1065
+ return !e || typeof e == "string" ? !1 : T(e, "if") && T(e, "then");
1066
1066
  }
1067
1067
  function Gi(e) {
1068
1068
  return typeof e != "string" && "$formkit" in e;
@@ -1074,19 +1074,19 @@ function el(e) {
1074
1074
  children: e
1075
1075
  };
1076
1076
  if (Gi(e)) {
1077
- const { $formkit: i, for: t, if: n, children: l, bind: s, ...r } = e;
1077
+ const { $formkit: i, for: t, if: n, children: s, bind: a, ...r } = e;
1078
1078
  return Object.assign({
1079
1079
  $cmp: "FormKit",
1080
1080
  props: { ...r, type: i }
1081
- }, n ? { if: n } : {}, t ? { for: t } : {}, l ? { children: l } : {}, s ? { bind: s } : {});
1081
+ }, n ? { if: n } : {}, t ? { for: t } : {}, s ? { children: s } : {}, a ? { bind: a } : {});
1082
1082
  }
1083
1083
  return e;
1084
1084
  }
1085
- function J(e) {
1085
+ function Y(e) {
1086
1086
  let i;
1087
1087
  const t = /* @__PURE__ */ new Set(), n = function(d, m) {
1088
1088
  return typeof d == "function" ? d(m) : d;
1089
- }, l = [
1089
+ }, s = [
1090
1090
  {
1091
1091
  "&&": (f, d, m) => n(f, m) && n(d, m),
1092
1092
  "||": (f, d, m) => n(f, m) || n(d, m)
@@ -1110,7 +1110,7 @@ function J(e) {
1110
1110
  "/": (f, d, m) => n(f, m) / n(d, m),
1111
1111
  "%": (f, d, m) => n(f, m) % n(d, m)
1112
1112
  }
1113
- ], s = l.reduce((f, d) => f.concat(Object.keys(d)), []), r = new Set(s.map((f) => f.charAt(0)));
1113
+ ], a = s.reduce((f, d) => f.concat(Object.keys(d)), []), r = new Set(a.map((f) => f.charAt(0)));
1114
1114
  function o(f, d, m, h) {
1115
1115
  const $ = f.filter((_) => _.startsWith(d));
1116
1116
  return $.length ? $.find((_) => h.length >= m + _.length && h.substring(m, m + _.length) === _ ? _ : !1) : !1;
@@ -1120,16 +1120,16 @@ function J(e) {
1120
1120
  if (!h.length)
1121
1121
  return -1;
1122
1122
  if (!m) {
1123
- const _ = h.split("").reverse(), k = _.findIndex((c) => r.has(c));
1123
+ const _ = h.split("").reverse(), k = _.findIndex((p) => r.has(p));
1124
1124
  h = _.slice(k).join("");
1125
1125
  }
1126
1126
  const $ = h[0];
1127
- return l.findIndex((_) => {
1127
+ return s.findIndex((_) => {
1128
1128
  const k = Object.keys(_);
1129
1129
  return !!o(k, $, 0, h);
1130
1130
  });
1131
1131
  }
1132
- function p(f, d) {
1132
+ function c(f, d) {
1133
1133
  let m = "";
1134
1134
  const h = d.length;
1135
1135
  let $ = 0;
@@ -1141,69 +1141,69 @@ function J(e) {
1141
1141
  $--;
1142
1142
  else if ($ === 0 && k === " ")
1143
1143
  continue;
1144
- if ($ === 0 && o(s, k, _, d))
1144
+ if ($ === 0 && o(a, k, _, d))
1145
1145
  return [m, _ - 1];
1146
1146
  m += k;
1147
1147
  }
1148
1148
  return [m, d.length - 1];
1149
1149
  }
1150
1150
  function g(f, d = 0) {
1151
- const m = l[d], h = f.length, $ = Object.keys(m);
1152
- let _ = 0, k = !1, c = null, b = "", C = null, L, B = "", S = "", R = "", x = "", N = 0;
1153
- const Z = (M, W) => {
1154
- M ? R += W : b += W;
1151
+ const m = s[d], h = f.length, $ = Object.keys(m);
1152
+ let _ = 0, k = !1, p = null, b = "", C = null, A, B = "", S = "", R = "", M = "", N = 0;
1153
+ const Z = (E, W) => {
1154
+ E ? R += W : b += W;
1155
1155
  };
1156
- for (let M = 0; M < h; M++)
1157
- if (B = S, S = f.charAt(M), (S === "'" || S === '"') && B !== "\\" && (_ === 0 && !k || _ && !x)) {
1158
- _ ? x = S : k = S, Z(_, S);
1156
+ for (let E = 0; E < h; E++)
1157
+ if (B = S, S = f.charAt(E), (S === "'" || S === '"') && B !== "\\" && (_ === 0 && !k || _ && !M)) {
1158
+ _ ? M = S : k = S, Z(_, S);
1159
1159
  continue;
1160
- } else if (k && (S !== k || B === "\\") || x && (S !== x || B === "\\")) {
1160
+ } else if (k && (S !== k || B === "\\") || M && (S !== M || B === "\\")) {
1161
1161
  Z(_, S);
1162
1162
  continue;
1163
1163
  } else if (k === S) {
1164
1164
  k = !1, Z(_, S);
1165
1165
  continue;
1166
- } else if (x === S) {
1167
- x = !1, Z(_, S);
1166
+ } else if (M === S) {
1167
+ M = !1, Z(_, S);
1168
1168
  continue;
1169
1169
  } else {
1170
1170
  if (S === " ")
1171
1171
  continue;
1172
1172
  if (S === "(")
1173
- _ === 0 ? N = M : R += S, _++;
1173
+ _ === 0 ? N = E : R += S, _++;
1174
1174
  else if (S === ")")
1175
1175
  if (_--, _ === 0) {
1176
- const W = typeof b == "string" && b.startsWith("$") ? b : void 0, Le = W && f.charAt(M + 1) === ".";
1177
- let se = "";
1178
- Le && ([se, M] = p(M + 2, f));
1179
- const Be = c ? d : u(N, f, 0), Pe = u(M, f);
1180
- Be === -1 && Pe === -1 ? (b = I(R, -1, W, se), typeof b == "string" && (b = R)) : c && (Be >= Pe || Pe === -1) && d === Be ? (C = c.bind(null, I(R, -1, W, se)), c = null, b = "") : Pe > Be && d === Pe ? b = I(R, -1, W, se) : b += `(${R})${Le ? `.${se}` : ""}`, R = "";
1176
+ const W = typeof b == "string" && b.startsWith("$") ? b : void 0, Oe = W && f.charAt(E + 1) === ".";
1177
+ let ae = "";
1178
+ Oe && ([ae, E] = c(E + 2, f));
1179
+ const Be = p ? d : u(N, f, 0), Le = u(E, f);
1180
+ Be === -1 && Le === -1 ? (b = V(R, -1, W, ae), typeof b == "string" && (b = R)) : p && (Be >= Le || Le === -1) && d === Be ? (C = p.bind(null, V(R, -1, W, ae)), p = null, b = "") : Le > Be && d === Le ? b = V(R, -1, W, ae) : b += `(${R})${Oe ? `.${ae}` : ""}`, R = "";
1181
1181
  } else
1182
1182
  R += S;
1183
- else if (_ === 0 && (L = o($, S, M, f))) {
1184
- M === 0 && q(103, [L, f]), M += L.length - 1, M === f.length - 1 && q(104, [L, f]), c ? b && (C = c.bind(null, I(b, d)), c = m[L].bind(null, C), b = "") : C ? (c = m[L].bind(null, I(C, d)), C = null) : (c = m[L].bind(null, I(b, d)), b = "");
1183
+ else if (_ === 0 && (A = o($, S, E, f))) {
1184
+ E === 0 && q(103, [A, f]), E += A.length - 1, E === f.length - 1 && q(104, [A, f]), p ? b && (C = p.bind(null, V(b, d)), p = m[A].bind(null, C), b = "") : C ? (p = m[A].bind(null, V(C, d)), C = null) : (p = m[A].bind(null, V(b, d)), b = "");
1185
1185
  continue;
1186
1186
  } else
1187
1187
  Z(_, S);
1188
1188
  }
1189
- return b && c && (c = c.bind(null, I(b, d))), c = !c && C ? C : c, !c && b && (c = (M, W) => typeof M == "function" ? M(W) : M, c = c.bind(null, I(b, d))), !c && !b && q(105, f), c;
1189
+ return b && p && (p = p.bind(null, V(b, d))), p = !p && C ? C : p, !p && b && (p = (E, W) => typeof E == "function" ? E(W) : E, p = p.bind(null, V(b, d))), !p && !b && q(105, f), p;
1190
1190
  }
1191
- function I(f, d, m, h) {
1191
+ function V(f, d, m, h) {
1192
1192
  if (m) {
1193
- const $ = I(m, l.length);
1194
- let _, k = h ? J(`$${h}`) : !1;
1193
+ const $ = V(m, s.length);
1194
+ let _, k = h ? Y(`$${h}`) : !1;
1195
1195
  if (typeof $ == "function") {
1196
- const c = jn(String(f)).map((b) => I(b, -1));
1196
+ const p = jn(String(f)).map((b) => V(b, -1));
1197
1197
  return (b) => {
1198
1198
  const C = $(b);
1199
- return typeof C != "function" ? (Te(150, m), C) : (_ = C(...c.map((L) => typeof L == "function" ? L(b) : L)), k && (k = k.provide((L) => {
1200
- const B = i(L);
1201
- return L.reduce((R, x) => {
1202
- if (x === h || (h == null ? void 0 : h.startsWith(`${x}(`))) {
1203
- const Z = Tn(_, x);
1204
- R[x] = () => Z;
1199
+ return typeof C != "function" ? (De(150, m), C) : (_ = C(...p.map((A) => typeof A == "function" ? A(b) : A)), k && (k = k.provide((A) => {
1200
+ const B = i(A);
1201
+ return A.reduce((R, M) => {
1202
+ if (M === h || (h == null ? void 0 : h.startsWith(`${M}(`))) {
1203
+ const Z = Dn(_, M);
1204
+ R[M] = () => Z;
1205
1205
  } else
1206
- R[x] = B[x];
1206
+ R[M] = B[M];
1207
1207
  return R;
1208
1208
  }, {});
1209
1209
  })), k ? k() : _);
@@ -1220,7 +1220,7 @@ function J(e) {
1220
1220
  return Rn(f.substring(1, f.length - 1));
1221
1221
  if (!isNaN(+f))
1222
1222
  return Number(f);
1223
- if (d < l.length - 1)
1223
+ if (d < s.length - 1)
1224
1224
  return g(f, d + 1);
1225
1225
  if (f.startsWith("$")) {
1226
1226
  const $ = f.substring(1);
@@ -1274,20 +1274,20 @@ function gt(e) {
1274
1274
  }
1275
1275
  function w(e, i, t = !1) {
1276
1276
  return (...n) => {
1277
- const l = (s) => {
1277
+ const s = (a) => {
1278
1278
  const r = !i || typeof i == "string" ? { $el: i } : i();
1279
- return (ft(r) || ct(r)) && (r.meta || (r.meta = { section: e }), n.length && !r.children && (r.children = [
1280
- ...n.map((o) => typeof o == "string" ? o : o(s))
1279
+ return (ft(r) || pt(r)) && (r.meta || (r.meta = { section: e }), n.length && !r.children && (r.children = [
1280
+ ...n.map((o) => typeof o == "string" ? o : o(a))
1281
1281
  ]), ft(r) && (r.attrs = {
1282
1282
  class: `$classes.${e}`,
1283
1283
  ...r.attrs || {}
1284
1284
  })), {
1285
1285
  if: `$slots.${e}`,
1286
1286
  then: `$slots.${e}`,
1287
- else: e in s ? Ae(r, s[e]) : r
1287
+ else: e in a ? Ae(r, a[e]) : r
1288
1288
  };
1289
1289
  };
1290
- return l._s = e, t ? nl(l) : l;
1290
+ return s._s = e, t ? nl(s) : s;
1291
1291
  };
1292
1292
  }
1293
1293
  function nl(e) {
@@ -1363,12 +1363,12 @@ const il = w("actions", () => ({
1363
1363
  name: "$node.name",
1364
1364
  id: "$id"
1365
1365
  }
1366
- })), al = w("default", null), Ye = w("decorator", () => ({
1366
+ })), sl = w("default", null), Ye = w("decorator", () => ({
1367
1367
  $el: "span",
1368
1368
  attrs: {
1369
1369
  "aria-hidden": "true"
1370
1370
  }
1371
- })), cn = w("fieldset", () => ({
1371
+ })), pn = w("fieldset", () => ({
1372
1372
  $el: "fieldset",
1373
1373
  attrs: {
1374
1374
  id: "$id",
@@ -1378,7 +1378,7 @@ const il = w("actions", () => ({
1378
1378
  else: void 0
1379
1379
  }
1380
1380
  }
1381
- })), sl = w("input", () => ({
1381
+ })), al = w("input", () => ({
1382
1382
  $el: "input",
1383
1383
  bind: "$attrs",
1384
1384
  attrs: {
@@ -1443,13 +1443,13 @@ const il = w("actions", () => ({
1443
1443
  }
1444
1444
  }
1445
1445
  };
1446
- })(), ye = w("inner", "div"), De = w("label", () => ({
1446
+ })(), ye = w("inner", "div"), Te = w("label", () => ({
1447
1447
  $el: "label",
1448
1448
  if: "$label",
1449
1449
  attrs: {
1450
1450
  for: "$id"
1451
1451
  }
1452
- })), pn = w("legend", () => ({
1452
+ })), cn = w("legend", () => ({
1453
1453
  $el: "legend",
1454
1454
  if: "$label"
1455
1455
  })), le = w("message", () => ({
@@ -1460,13 +1460,13 @@ const il = w("actions", () => ({
1460
1460
  id: "$id + '-' + $message.key",
1461
1461
  "data-message-type": "$message.type"
1462
1462
  }
1463
- })), ae = w("messages", () => ({
1463
+ })), se = w("messages", () => ({
1464
1464
  $el: "ul",
1465
1465
  if: "$defaultMessagePlacement && $fns.length($messages)"
1466
- })), cl = w("noFiles", () => ({
1466
+ })), pl = w("noFiles", () => ({
1467
1467
  $el: "span",
1468
1468
  if: "$value.length == 0"
1469
- })), pl = w("option", () => ({
1469
+ })), cl = w("option", () => ({
1470
1470
  $el: "option",
1471
1471
  for: ["option", "$options"],
1472
1472
  bind: "$option.attrs",
@@ -1550,8 +1550,8 @@ const il = w("actions", () => ({
1550
1550
  function mn(e) {
1551
1551
  return function(i, t) {
1552
1552
  return i.prop === "options" && Array.isArray(i.value) && (i.value = i.value.map((n) => {
1553
- var l;
1554
- return !((l = n.attrs) === null || l === void 0) && l.id ? n : Qe(n, {
1553
+ var s;
1554
+ return !((s = n.attrs) === null || s === void 0) && s.id ? n : Qe(n, {
1555
1555
  attrs: {
1556
1556
  id: `${e.props.id}-option-${dt(String(n.value))}`
1557
1557
  }
@@ -1565,17 +1565,17 @@ function vl(e, i) {
1565
1565
  const t = i.target;
1566
1566
  if (t instanceof HTMLInputElement) {
1567
1567
  const n = Array.isArray(e.props.options) ? Se(e.props.options, t.value) : t.value;
1568
- Array.isArray(e.props.options) && e.props.options.length ? Array.isArray(e._value) ? e._value.some((l) => Ve(n, l)) ? e.input(e._value.filter((l) => !Ve(n, l))) : e.input([...e._value, n]) : e.input([n]) : t.checked ? e.input(e.props.onValue) : e.input(e.props.offValue);
1568
+ Array.isArray(e.props.options) && e.props.options.length ? Array.isArray(e._value) ? e._value.some((s) => Ve(n, s)) ? e.input(e._value.filter((s) => !Ve(n, s))) : e.input([...e._value, n]) : e.input([n]) : t.checked ? e.input(e.props.onValue) : e.input(e.props.offValue);
1569
1569
  }
1570
1570
  }
1571
1571
  function hl(e, i) {
1572
1572
  var t, n;
1573
- return (t = e.context) === null || t === void 0 || t.value, (n = e.context) === null || n === void 0 || n._value, Array.isArray(e._value) ? e._value.some((l) => Ve(Se(e.props.options, i), l)) : !1;
1573
+ return (t = e.context) === null || t === void 0 || t.value, (n = e.context) === null || n === void 0 || n._value, Array.isArray(e._value) ? e._value.some((s) => Ve(Se(e.props.options, i), s)) : !1;
1574
1574
  }
1575
1575
  function _l(e) {
1576
1576
  e.on("created", () => {
1577
1577
  var i, t;
1578
- !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.toggleChecked = vl.bind(null, e)), !((t = e.context) === null || t === void 0) && t.fns && (e.context.fns.isChecked = hl.bind(null, e)), F(e.props, "onValue") || (e.props.onValue = !0), F(e.props, "offValue") || (e.props.offValue = !1);
1578
+ !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.toggleChecked = vl.bind(null, e)), !((t = e.context) === null || t === void 0) && t.fns && (e.context.fns.isChecked = hl.bind(null, e)), T(e.props, "onValue") || (e.props.onValue = !0), T(e.props, "offValue") || (e.props.offValue = !1);
1579
1579
  }), e.hook.prop(mn(e));
1580
1580
  }
1581
1581
  function ge(e, i) {
@@ -1585,9 +1585,9 @@ function ge(e, i) {
1585
1585
  }
1586
1586
  function wt(e) {
1587
1587
  e.on("created", () => {
1588
- "disabled" in e.props && (e.props.disabled = Y(e.props.disabled), e.config.disabled = Y(e.props.disabled));
1589
- }), e.hook.prop(({ prop: i, value: t }, n) => (t = i === "disabled" ? Y(t) : t, n({ prop: i, value: t }))), e.on("prop:disabled", ({ payload: i }) => {
1590
- e.config.disabled = Y(i);
1588
+ "disabled" in e.props && (e.props.disabled = Q(e.props.disabled), e.config.disabled = Q(e.props.disabled));
1589
+ }), e.hook.prop(({ prop: i, value: t }, n) => (t = i === "disabled" ? Q(t) : t, n({ prop: i, value: t }))), e.on("prop:disabled", ({ payload: i }) => {
1590
+ e.config.disabled = Q(i);
1591
1591
  });
1592
1592
  }
1593
1593
  function Me(e, i) {
@@ -1624,15 +1624,15 @@ function gl(e) {
1624
1624
  }
1625
1625
  }, e.context.handlers.files = (i) => {
1626
1626
  var t, n;
1627
- const l = [];
1627
+ const s = [];
1628
1628
  if (i.target instanceof HTMLInputElement && i.target.files) {
1629
- for (let s = 0; s < i.target.files.length; s++) {
1629
+ for (let a = 0; a < i.target.files.length; a++) {
1630
1630
  let r;
1631
- (r = i.target.files.item(s)) && l.push({ name: r.name, file: r });
1631
+ (r = i.target.files.item(a)) && s.push({ name: r.name, file: r });
1632
1632
  }
1633
- e.input(l);
1633
+ e.input(s);
1634
1634
  }
1635
- e.context && (e.context.files = l), typeof ((t = e.props.attrs) === null || t === void 0 ? void 0 : t.onChange) == "function" && ((n = e.props.attrs) === null || n === void 0 || n.onChange(i));
1635
+ e.context && (e.context.files = s), typeof ((t = e.props.attrs) === null || t === void 0 ? void 0 : t.onChange) == "function" && ((n = e.props.attrs) === null || n === void 0 || n.onChange(i));
1636
1636
  });
1637
1637
  });
1638
1638
  }
@@ -1645,7 +1645,7 @@ async function $l(e, i) {
1645
1645
  const t = Math.random();
1646
1646
  if (e.props._submitNonce = t, i.preventDefault(), await e.settled, e.ledger.value("validating") && (e.store.set(jt), await e.ledger.settled("validating"), e.store.remove("loading"), e.props._submitNonce !== t))
1647
1647
  return;
1648
- const n = (l) => l.store.set(oe({
1648
+ const n = (s) => s.store.set(oe({
1649
1649
  key: "submitted",
1650
1650
  value: !0,
1651
1651
  visible: !1
@@ -1663,10 +1663,10 @@ async function $l(e, i) {
1663
1663
  value: e.props.incompleteMessage || "Form incomplete."
1664
1664
  }));
1665
1665
  else if (typeof e.props.onSubmit == "function") {
1666
- const l = e.props.onSubmit(e.hook.submit.dispatch(Re(e.value)), e);
1667
- if (l instanceof Promise) {
1668
- const s = e.props.disabled === void 0 && e.props.submitBehavior !== "live";
1669
- s && (e.props.disabled = !0), e.store.set(jt), await l, s && (e.props.disabled = !1), e.store.remove("loading");
1666
+ const s = e.props.onSubmit(e.hook.submit.dispatch(Re(e.value)), e);
1667
+ if (s instanceof Promise) {
1668
+ const a = e.props.disabled === void 0 && e.props.submitBehavior !== "live";
1669
+ a && (e.props.disabled = !0), e.store.set(jt), await s, a && (e.props.disabled = !1), e.store.remove("loading");
1670
1670
  }
1671
1671
  } else
1672
1672
  i.target instanceof HTMLFormElement && i.target.submit();
@@ -1674,7 +1674,7 @@ async function $l(e, i) {
1674
1674
  function wl(e) {
1675
1675
  e.props.isForm = !0, e.ledger.count("validating", (i) => i.key === "validating"), e.on("created", () => {
1676
1676
  var i;
1677
- !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.submit = $l.bind(null, e)), F(e.props, "actions") || (e.props.actions = !0);
1677
+ !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.submit = $l.bind(null, e)), T(e.props, "actions") || (e.props.actions = !0);
1678
1678
  }), e.on("settled:blocking", () => e.store.remove("incomplete"));
1679
1679
  }
1680
1680
  function kl(e) {
@@ -1692,8 +1692,8 @@ function yn(e) {
1692
1692
  e.hook.input((t, n) => {
1693
1693
  if (t === "")
1694
1694
  return n(void 0);
1695
- const l = e.props.number === "integer" ? parseInt(t) : parseFloat(t);
1696
- return Number.isFinite(l) ? n(l) : n(i ? void 0 : t);
1695
+ const s = e.props.number === "integer" ? parseInt(t) : parseFloat(t);
1696
+ return Number.isFinite(s) ? n(s) : n(i ? void 0 : t);
1697
1697
  });
1698
1698
  }
1699
1699
  function Sl(e, i) {
@@ -1706,33 +1706,33 @@ function Vl(e, i) {
1706
1706
  function Il(e) {
1707
1707
  e.on("created", () => {
1708
1708
  var i, t;
1709
- Array.isArray(e.props.options) || Te(350, {
1709
+ Array.isArray(e.props.options) || De(350, {
1710
1710
  node: e,
1711
1711
  inputType: "radio"
1712
1712
  }), !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.toggleChecked = Sl.bind(null, e)), !((t = e.context) === null || t === void 0) && t.fns && (e.context.fns.isChecked = Vl.bind(null, e));
1713
1713
  }), e.hook.prop(mn(e));
1714
1714
  }
1715
- let Ll = 0;
1716
- function Pl(e) {
1715
+ let Ol = 0;
1716
+ function Ll(e) {
1717
1717
  e.sync && e.plugins.add(Al);
1718
1718
  }
1719
1719
  function Al(e) {
1720
- e.props.type === "radio" && (e.props.altName = `${e.name}_${Ll++}`);
1720
+ e.props.type === "radio" && (e.props.altName = `${e.name}_${Ol++}`);
1721
1721
  }
1722
- function Ol(e, i) {
1722
+ function Pl(e, i) {
1723
1723
  e.context && e.context.value;
1724
1724
  const t = "__original" in i ? i.__original : i.value;
1725
1725
  function n() {
1726
- return !e.props.options.some((l) => ("__original" in l ? l.__original : l.value) === null);
1726
+ return !e.props.options.some((s) => ("__original" in s ? s.__original : s.value) === null);
1727
1727
  }
1728
- return Array.isArray(e._value) ? e._value.some((l) => Ve(l, t)) : (e._value === void 0 || e._value === null && n()) && i.attrs && i.attrs["data-is-placeholder"] ? !0 : Ve(t, e._value);
1728
+ return Array.isArray(e._value) ? e._value.some((s) => Ve(s, t)) : (e._value === void 0 || e._value === null && n()) && i.attrs && i.attrs["data-is-placeholder"] ? !0 : Ve(t, e._value);
1729
1729
  }
1730
1730
  async function xl(e, i) {
1731
1731
  var t;
1732
1732
  typeof ((t = e.props.attrs) === null || t === void 0 ? void 0 : t.onChange) == "function" && (await new Promise((n) => setTimeout(n, 0)), await e.settled, e.props.attrs.onChange(i));
1733
1733
  }
1734
1734
  function Ml(e, i) {
1735
- const t = i.target, n = t.hasAttribute("multiple") ? Array.from(t.selectedOptions).map((l) => Se(e.props.options, l.value)) : Se(e.props.options, t.value);
1735
+ const t = i.target, n = t.hasAttribute("multiple") ? Array.from(t.selectedOptions).map((s) => Se(e.props.options, s.value)) : Se(e.props.options, t.value);
1736
1736
  e.input(n);
1737
1737
  }
1738
1738
  function Ft(e, i) {
@@ -1752,54 +1752,54 @@ function Ft(e, i) {
1752
1752
  function El(e) {
1753
1753
  e.on("created", () => {
1754
1754
  var i, t, n;
1755
- const l = Y((i = e.props.attrs) === null || i === void 0 ? void 0 : i.multiple);
1756
- !l && e.props.placeholder && Array.isArray(e.props.options) && (e.hook.prop(({ prop: s, value: r }, o) => (s === "options" && (r = Ft(r, e.props.placeholder)), o({ prop: s, value: r }))), e.props.options = Ft(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, {
1755
+ const s = Q((i = e.props.attrs) === null || i === void 0 ? void 0 : i.multiple);
1756
+ !s && e.props.placeholder && Array.isArray(e.props.options) && (e.hook.prop(({ prop: a, value: r }, o) => (a === "options" && (r = Ft(r, e.props.placeholder)), o({ prop: a, value: r }))), e.props.options = Ft(e.props.options, e.props.placeholder)), s ? e.value === void 0 && e.input([], !1) : e.context && !e.context.options && (e.props.attrs = Object.assign({}, e.props.attrs, {
1757
1757
  value: e._value
1758
- }), e.on("input", ({ payload: s }) => {
1758
+ }), e.on("input", ({ payload: a }) => {
1759
1759
  e.props.attrs = Object.assign({}, e.props.attrs, {
1760
- value: s
1760
+ value: a
1761
1761
  });
1762
- })), !((t = e.context) === null || t === void 0) && t.handlers && (e.context.handlers.selectInput = Ml.bind(null, e), e.context.handlers.onChange = xl.bind(null, e)), !((n = e.context) === null || n === void 0) && n.fns && (e.context.fns.isSelected = Ol.bind(null, e), e.context.fns.showPlaceholder = (s, r) => {
1762
+ })), !((t = e.context) === null || t === void 0) && t.handlers && (e.context.handlers.selectInput = Ml.bind(null, e), e.context.handlers.onChange = xl.bind(null, e)), !((n = e.context) === null || n === void 0) && n.fns && (e.context.fns.isSelected = Pl.bind(null, e), e.context.fns.showPlaceholder = (a, r) => {
1763
1763
  if (!Array.isArray(e.props.options))
1764
1764
  return !1;
1765
1765
  const o = e.props.options.some((u) => {
1766
1766
  if (u.attrs && "data-is-placeholder" in u.attrs)
1767
1767
  return !1;
1768
- const p = "__original" in u ? u.__original : u.value;
1769
- return ue(s, p);
1768
+ const c = "__original" in u ? u.__original : u.value;
1769
+ return ue(a, c);
1770
1770
  });
1771
1771
  return r && !o ? !0 : void 0;
1772
1772
  });
1773
1773
  }), e.hook.input((i, t) => {
1774
- var n, l, s;
1775
- return !e.props.placeholder && i === void 0 && Array.isArray((n = e.props) === null || n === void 0 ? void 0 : n.options) && e.props.options.length && !Y((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);
1774
+ var n, s, a;
1775
+ 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((a = (s = e.props) === null || s === void 0 ? void 0 : s.attrs) === null || a === void 0 ? void 0 : a.multiple) && (i = "__original" in e.props.options[0] ? e.props.options[0].__original : e.props.options[0].value), t(i);
1776
1776
  });
1777
1777
  }
1778
- function pt(e) {
1778
+ function ct(e) {
1779
1779
  return !!(_e(e) && e.if && e.if.startsWith("$slots.") && typeof e.then == "string" && e.then.startsWith("$slots.") && "else" in e);
1780
1780
  }
1781
1781
  function Rl(e) {
1782
- return fe(Ie(De("$label"), ye(G(), e(), ee())), X("$help"), ae(le("$message.value")));
1782
+ return fe(Ie(Te("$label"), ye(G(), e(), ee())), X("$help"), se(le("$message.value")));
1783
1783
  }
1784
1784
  function ie(e, i, t) {
1785
- const n = (l) => {
1786
- const s = i(l);
1787
- if (t || He(s) && "if" in s || pt(s)) {
1785
+ const n = (s) => {
1786
+ const a = i(s);
1787
+ if (t || He(a) && "if" in a || ct(a)) {
1788
1788
  const r = {
1789
1789
  if: e,
1790
- then: s
1790
+ then: a
1791
1791
  };
1792
- return t && (r.else = t(l)), r;
1792
+ return t && (r.else = t(s)), r;
1793
1793
  } else
1794
- pt(s) ? Object.assign(s.else, { if: e }) : He(s) && Object.assign(s, { if: e });
1795
- return s;
1794
+ ct(a) ? Object.assign(a.else, { if: e }) : He(a) && Object.assign(a, { if: e });
1795
+ return a;
1796
1796
  };
1797
1797
  return n._s = Fe(), n;
1798
1798
  }
1799
1799
  function $e(e, i) {
1800
1800
  const t = (n) => {
1801
- const l = e({});
1802
- return pt(l) ? (Array.isArray(l.else) || (l.else = Ae(Ae(l.else, i), e._s ? n[e._s] : {})), l) : Ae(Ae(l, i), e._s ? n[e._s] : {});
1801
+ const s = e({});
1802
+ return ct(s) ? (Array.isArray(s.else) || (s.else = Ae(Ae(s.else, i), e._s ? n[e._s] : {})), s) : Ae(Ae(s, i), e._s ? n[e._s] : {});
1803
1803
  };
1804
1804
  return t._s = e._s, t;
1805
1805
  }
@@ -1832,7 +1832,7 @@ const jl = [
1832
1832
  "onSubmitInvalid",
1833
1833
  "onSubmitRaw"
1834
1834
  ];
1835
- fe(ae(le("$message.value")), Ie(ll(z("prefix"), G(), al("$label || $ui.submit.value"), ee(), z("suffix"))), X("$help")), Me("submit");
1835
+ fe(se(le("$message.value")), Ie(ll(z("prefix"), G(), sl("$label || $ui.submit.value"), ee(), z("suffix"))), X("$help")), Me("submit");
1836
1836
  fe(
1837
1837
  ie(
1838
1838
  "$options == undefined",
@@ -1845,7 +1845,7 @@ fe(
1845
1845
  /**
1846
1846
  * Multi checkbox structure.
1847
1847
  */
1848
- cn(pn("$label"), X("$help"), fn(un(Je(Mt(G(), $e(qe(), {
1848
+ pn(cn("$label"), X("$help"), fn(un(Je(Mt(G(), $e(qe(), {
1849
1849
  bind: "$option.attrs",
1850
1850
  attrs: {
1851
1851
  id: "$option.attrs.id",
@@ -1858,10 +1858,10 @@ fe(
1858
1858
  ),
1859
1859
  // Help text only goes under the input when it is a single.
1860
1860
  ie("$options == undefined && $help", X("$help")),
1861
- ae(le("$message.value"))
1861
+ se(le("$message.value"))
1862
1862
  ), ge("decorator", "checkboxDecorator");
1863
- fe(Ie(De("$label"), ye(z("prefix", "label"), G(), sl(), ol(rl(z("fileItem"), ul("$file.name"), ie("$value.length === 1", Et(z("fileRemove"), '$ui.remove.value + " " + $file.name')))), ie("$value.length > 1", Et("$ui.removeAll.value")), cl(z("noFiles"), "$ui.noFiles.value"), ee(), z("suffix"))), X("$help"), ae(le("$message.value"))), ge("fileItem", "fileItem"), ge("fileRemove", "fileRemove"), ge("noFiles", "noFiles");
1864
- fl("$slots.default", ae(le("$message.value")), il(bl()));
1863
+ fe(Ie(Te("$label"), ye(z("prefix", "label"), G(), al(), ol(rl(z("fileItem"), ul("$file.name"), ie("$value.length === 1", Et(z("fileRemove"), '$ui.remove.value + " " + $file.name')))), ie("$value.length > 1", Et("$ui.removeAll.value")), pl(z("noFiles"), "$ui.noFiles.value"), ee(), z("suffix"))), X("$help"), se(le("$message.value"))), ge("fileItem", "fileItem"), ge("fileRemove", "fileRemove"), ge("noFiles", "noFiles");
1864
+ fl("$slots.default", se(le("$message.value")), il(bl()));
1865
1865
  $t("$slots.default");
1866
1866
  dn();
1867
1867
  $t("$slots.default");
@@ -1878,7 +1878,7 @@ fe(
1878
1878
  /**
1879
1879
  * Multi radio structure.
1880
1880
  */
1881
- cn(pn("$label"), X("$help"), fn(un(Je(ye(G(), $e(qe(), {
1881
+ pn(cn("$label"), X("$help"), fn(un(Je(ye(G(), $e(qe(), {
1882
1882
  bind: "$option.attrs",
1883
1883
  attrs: {
1884
1884
  id: "$option.attrs.id",
@@ -1891,11 +1891,11 @@ fe(
1891
1891
  ),
1892
1892
  // Help text only goes under the input when it is a single.
1893
1893
  ie("$options == undefined && $help", X("$help")),
1894
- ae(le("$message.value"))
1894
+ se(le("$message.value"))
1895
1895
  ), ge("decorator", "radioDecorator");
1896
- fe(Ie(De("$label"), ye(z("prefix"), G(), ml(ie("$slots.default", () => "$slots.default", ie("$slots.option", dl, pl("$option.label")))), ie("$attrs.multiple !== undefined", () => "", z("select")), ee(), z("suffix"))), X("$help"), ae(le("$message.value"))), ge("select", "select");
1897
- fe(Ie(De("$label"), ye(z("prefix", "label"), G(), yl(), ee(), z("suffix"))), X("$help"), ae(le("$message.value")));
1898
- fe(Ie(De("$label"), ye(z("prefix", "label"), G(), dn(), ee(), z("suffix"))), X("$help"), ae(le("$message.value")));
1896
+ fe(Ie(Te("$label"), ye(z("prefix"), G(), ml(ie("$slots.default", () => "$slots.default", ie("$slots.option", dl, cl("$option.label")))), ie("$attrs.multiple !== undefined", () => "", z("select")), ee(), z("suffix"))), X("$help"), se(le("$message.value"))), ge("select", "select");
1897
+ fe(Ie(Te("$label"), ye(z("prefix", "label"), G(), yl(), ee(), z("suffix"))), X("$help"), se(le("$message.value")));
1898
+ fe(Ie(Te("$label"), ye(z("prefix", "label"), G(), dn(), ee(), z("suffix"))), X("$help"), se(le("$message.value")));
1899
1899
  oe({
1900
1900
  type: "state",
1901
1901
  blocking: !0,
@@ -1907,7 +1907,7 @@ let Ne;
1907
1907
  const Fl = new Promise((e) => {
1908
1908
  }), Ge = typeof window < "u" && typeof fetch < "u";
1909
1909
  Ne = Ge ? getComputedStyle(document.documentElement) : void 0;
1910
- const Oe = {}, nt = {};
1910
+ const Pe = {}, nt = {};
1911
1911
  function it(e, i) {
1912
1912
  return (t) => {
1913
1913
  if (typeof t != "string")
@@ -1916,44 +1916,44 @@ function it(e, i) {
1916
1916
  return t;
1917
1917
  const n = t.startsWith("default:");
1918
1918
  t = n ? t.split(":")[1] : t;
1919
- const l = t in Oe;
1920
- let s;
1921
- if (l)
1922
- return Oe[t];
1919
+ const s = t in Pe;
1920
+ let a;
1921
+ if (s)
1922
+ return Pe[t];
1923
1923
  if (!nt[t]) {
1924
- if (s = Tl(t), s = Ge && typeof s > "u" ? Promise.resolve(s) : s, s instanceof Promise)
1925
- nt[t] = s.then((r) => !r && typeof t == "string" && !n ? s = typeof e == "function" ? e(t) : Bl(t, i) : r).then((r) => (typeof t == "string" && (Oe[n ? `default:${t}` : t] = r), r));
1926
- else if (typeof s == "string")
1927
- return Oe[n ? `default:${t}` : t] = s, s;
1924
+ if (a = Dl(t), a = Ge && typeof a > "u" ? Promise.resolve(a) : a, a instanceof Promise)
1925
+ nt[t] = a.then((r) => !r && typeof t == "string" && !n ? a = typeof e == "function" ? e(t) : Bl(t, i) : r).then((r) => (typeof t == "string" && (Pe[n ? `default:${t}` : t] = r), r));
1926
+ else if (typeof a == "string")
1927
+ return Pe[n ? `default:${t}` : t] = a, a;
1928
1928
  }
1929
1929
  return nt[t];
1930
1930
  };
1931
1931
  }
1932
- function Tl(e) {
1932
+ function Dl(e) {
1933
1933
  if (Ge)
1934
- return Fl.then(() => Dl(e));
1934
+ return Fl.then(() => Tl(e));
1935
1935
  }
1936
- function Dl(e) {
1936
+ function Tl(e) {
1937
1937
  const i = Ne == null ? void 0 : Ne.getPropertyValue(`--fk-icon-${e}`);
1938
1938
  if (i) {
1939
1939
  const t = atob(i);
1940
1940
  if (t.startsWith("<svg"))
1941
- return Oe[e] = t, t;
1941
+ return Pe[e] = t, t;
1942
1942
  }
1943
1943
  }
1944
1944
  function Bl(e, i) {
1945
1945
  const t = xt.startsWith("__") ? "latest" : xt, n = typeof i == "function" ? i(e) : `https://cdn.jsdelivr.net/npm/@formkit/icons@${t}/dist/icons/${e}.svg`;
1946
1946
  if (Ge)
1947
- return fetch(`${n}`).then(async (l) => {
1948
- const s = await l.text();
1949
- if (s.startsWith("<svg"))
1950
- return s;
1951
- }).catch((l) => {
1952
- console.error(l);
1947
+ return fetch(`${n}`).then(async (s) => {
1948
+ const a = await s.text();
1949
+ if (a.startsWith("<svg"))
1950
+ return a;
1951
+ }).catch((s) => {
1952
+ console.error(s);
1953
1953
  });
1954
1954
  }
1955
1955
  let kt = !1;
1956
- const Tt = {
1956
+ const Dt = {
1957
1957
  /**
1958
1958
  * FormKit errors:
1959
1959
  */
@@ -1975,7 +1975,7 @@ const Tt = {
1975
1975
  */
1976
1976
  600: ({ data: e }) => `Unknown input type${typeof e.props.type == "string" ? ' "' + e.props.type + '"' : ""} ("${e.name}")`,
1977
1977
  601: ({ data: e }) => `Input definition${typeof e.props.type == "string" ? ' "' + e.props.type + '"' : ""} is missing a schema or component property (${e.name}).`
1978
- }, Dt = {
1978
+ }, Tt = {
1979
1979
  /**
1980
1980
  * Core warnings:
1981
1981
  */
@@ -1997,16 +1997,16 @@ const Tt = {
1997
1997
  */
1998
1998
  800: ({ data: e }) => `${e} is deprecated.`
1999
1999
  }, zl = (e, i) => {
2000
- if (e.code in Tt) {
2001
- const t = Tt[e.code];
2000
+ if (e.code in Dt) {
2001
+ const t = Dt[e.code];
2002
2002
  e.message = typeof t == "function" ? t(e) : t;
2003
2003
  }
2004
2004
  return i(e);
2005
2005
  };
2006
2006
  kt || bt(zl);
2007
2007
  const Ul = (e, i) => {
2008
- if (e.code in Dt) {
2009
- const t = Dt[e.code];
2008
+ if (e.code in Tt) {
2009
+ const t = Tt[e.code];
2010
2010
  e.message = typeof t == "function" ? t(e) : t;
2011
2011
  }
2012
2012
  return i(e);
@@ -2022,34 +2022,34 @@ const vn = typeof window > "u", Ee = {}, we = {};
2022
2022
  let K;
2023
2023
  const ne = /* @__PURE__ */ new WeakMap(), Wl = "__raw__", Hl = /[a-zA-Z0-9\-][cC]lass$/;
2024
2024
  function ql(e, i) {
2025
- const t = Q(null);
2025
+ const t = J(null);
2026
2026
  if (e === "get") {
2027
- const l = {};
2028
- return t.value = Zl.bind(null, l), t;
2027
+ const s = {};
2028
+ return t.value = Zl.bind(null, s), t;
2029
2029
  }
2030
2030
  const n = e.split(".");
2031
2031
  return te(() => {
2032
- t.value = Ct(Ln(i) ? i.value : i, n);
2032
+ t.value = Ct(On(i) ? i.value : i, n);
2033
2033
  }), t;
2034
2034
  }
2035
2035
  function Ct(e, i) {
2036
2036
  if (Array.isArray(e)) {
2037
- for (const l of e) {
2038
- const s = l !== !1 && Ct(l, i);
2039
- if (s !== void 0)
2040
- return s;
2037
+ for (const s of e) {
2038
+ const a = s !== !1 && Ct(s, i);
2039
+ if (a !== void 0)
2040
+ return a;
2041
2041
  }
2042
2042
  return;
2043
2043
  }
2044
2044
  let t, n = e;
2045
- for (const l in i) {
2046
- const s = i[l];
2045
+ for (const s in i) {
2046
+ const a = i[s];
2047
2047
  if (typeof n != "object" || n === null) {
2048
2048
  t = void 0;
2049
2049
  break;
2050
2050
  }
2051
- const r = n[s];
2052
- if (Number(l) === i.length - 1 && r !== void 0) {
2051
+ const r = n[a];
2052
+ if (Number(s) === i.length - 1 && r !== void 0) {
2053
2053
  t = typeof r == "function" ? r.bind(n) : r;
2054
2054
  break;
2055
2055
  }
@@ -2059,11 +2059,11 @@ function Ct(e, i) {
2059
2059
  }
2060
2060
  function Zl(e, i) {
2061
2061
  if (typeof i != "string")
2062
- return Te(650);
2063
- if (i in e || (e[i] = Q(void 0)), e[i].value === void 0) {
2062
+ return De(650);
2063
+ if (i in e || (e[i] = J(void 0)), e[i].value === void 0) {
2064
2064
  e[i].value = null;
2065
2065
  const t = Xt(i);
2066
- t && (e[i].value = t.context), si(i, ({ payload: n }) => {
2066
+ t && (e[i].value = t.context), ai(i, ({ payload: n }) => {
2067
2067
  e[i].value = Xe(n) ? n.context : n;
2068
2068
  });
2069
2069
  }
@@ -2071,17 +2071,17 @@ function Zl(e, i) {
2071
2071
  }
2072
2072
  function Bt(e, i, t) {
2073
2073
  function n(v, y) {
2074
- const f = I(J(y.if), { if: !0 }), d = p(v, y.then), m = y.else ? p(v, y.else) : null;
2074
+ const f = V(Y(y.if), { if: !0 }), d = c(v, y.then), m = y.else ? c(v, y.else) : null;
2075
2075
  return [f, d, m];
2076
2076
  }
2077
- function l(v, y) {
2077
+ function s(v, y) {
2078
2078
  var f, d;
2079
- const m = I(J(v.if));
2079
+ const m = V(Y(v.if));
2080
2080
  let h = () => y, $ = () => y;
2081
- return typeof v.then == "object" ? $ = s(v.then, void 0) : typeof v.then == "string" && (!((f = v.then) === null || f === void 0) && f.startsWith("$")) ? $ = I(J(v.then)) : $ = () => v.then, F(v, "else") && (typeof v.else == "object" ? h = s(v.else) : typeof v.else == "string" && (!((d = v.else) === null || d === void 0) && d.startsWith("$")) ? h = I(J(v.else)) : h = () => v.else), () => m() ? $() : h();
2081
+ return typeof v.then == "object" ? $ = a(v.then, void 0) : typeof v.then == "string" && (!((f = v.then) === null || f === void 0) && f.startsWith("$")) ? $ = V(Y(v.then)) : $ = () => v.then, T(v, "else") && (typeof v.else == "object" ? h = a(v.else) : typeof v.else == "string" && (!((d = v.else) === null || d === void 0) && d.startsWith("$")) ? h = V(Y(v.else)) : h = () => v.else), () => m() ? $() : h();
2082
2082
  }
2083
- function s(v, y, f = {}) {
2084
- const d = new Set(Object.keys(v || {})), m = y ? I(J(y)) : () => ({}), h = [
2083
+ function a(v, y, f = {}) {
2084
+ const d = new Set(Object.keys(v || {})), m = y ? V(Y(y)) : () => ({}), h = [
2085
2085
  ($) => {
2086
2086
  const _ = m();
2087
2087
  for (const k in _)
@@ -2090,12 +2090,12 @@ function Bt(e, i, t) {
2090
2090
  ];
2091
2091
  if (v) {
2092
2092
  if (_e(v))
2093
- return l(v, f);
2093
+ return s(v, f);
2094
2094
  for (let $ in v) {
2095
2095
  const _ = v[$];
2096
2096
  let k;
2097
- const c = typeof _ == "string";
2098
- $.startsWith(Wl) ? ($ = $.substring(7), k = () => _) : c && _.startsWith("$") && _.length > 1 && !(_.startsWith("$reset") && Hl.test($)) ? k = I(J(_)) : typeof _ == "object" && _e(_) ? k = l(_, void 0) : typeof _ == "object" && ke(_) ? k = s(_) : k = () => _, h.push((b) => {
2097
+ const p = typeof _ == "string";
2098
+ $.startsWith(Wl) ? ($ = $.substring(7), k = () => _) : p && _.startsWith("$") && _.length > 1 && !(_.startsWith("$reset") && Hl.test($)) ? k = V(Y(_)) : typeof _ == "object" && _e(_) ? k = s(_, void 0) : typeof _ == "object" && ke(_) ? k = a(_) : k = () => _, h.push((b) => {
2099
2099
  b[$] = k();
2100
2100
  });
2101
2101
  }
@@ -2107,42 +2107,42 @@ function Bt(e, i, t) {
2107
2107
  }
2108
2108
  function r(v, y) {
2109
2109
  let f = null, d = () => null, m = !1, h = null, $ = null, _ = null, k = !1;
2110
- const c = el(y);
2111
- if (ft(c) ? (f = c.$el, d = c.$el !== "text" ? s(c.attrs, c.bind) : () => null) : ct(c) ? (typeof c.$cmp == "string" ? F(v, c.$cmp) ? f = v[c.$cmp] : (f = c.$cmp, k = !0) : f = c.$cmp, d = s(c.props, c.bind)) : _e(c) && ([m, h, $] = n(v, c)), !_e(c) && "if" in c ? m = I(J(c.if)) : !_e(c) && f === null && (m = () => !0), "children" in c && c.children)
2112
- if (typeof c.children == "string")
2113
- if (c.children.startsWith("$slots."))
2114
- f = f === "text" ? "slot" : f, h = I(J(c.children));
2115
- else if (c.children.startsWith("$") && c.children.length > 1) {
2116
- const b = I(J(c.children));
2110
+ const p = el(y);
2111
+ if (ft(p) ? (f = p.$el, d = p.$el !== "text" ? a(p.attrs, p.bind) : () => null) : pt(p) ? (typeof p.$cmp == "string" ? T(v, p.$cmp) ? f = v[p.$cmp] : (f = p.$cmp, k = !0) : f = p.$cmp, d = a(p.props, p.bind)) : _e(p) && ([m, h, $] = n(v, p)), !_e(p) && "if" in p ? m = V(Y(p.if)) : !_e(p) && f === null && (m = () => !0), "children" in p && p.children)
2112
+ if (typeof p.children == "string")
2113
+ if (p.children.startsWith("$slots."))
2114
+ f = f === "text" ? "slot" : f, h = V(Y(p.children));
2115
+ else if (p.children.startsWith("$") && p.children.length > 1) {
2116
+ const b = V(Y(p.children));
2117
2117
  h = () => String(b());
2118
2118
  } else
2119
- h = () => String(c.children);
2120
- else if (Array.isArray(c.children))
2121
- h = p(v, c.children);
2119
+ h = () => String(p.children);
2120
+ else if (Array.isArray(p.children))
2121
+ h = c(v, p.children);
2122
2122
  else {
2123
- const [b, C, L] = n(v, c.children);
2124
- h = (B) => b && b() ? C && C(B) : L && L(B);
2123
+ const [b, C, A] = n(v, p.children);
2124
+ h = (B) => b && b() ? C && C(B) : A && A(B);
2125
2125
  }
2126
- if (ct(c))
2126
+ if (pt(p))
2127
2127
  if (h) {
2128
2128
  const b = h;
2129
2129
  h = (C) => ({
2130
- default(L, B) {
2131
- var S, R, x, N;
2130
+ default(A, B) {
2131
+ var S, R, M, N;
2132
2132
  const Z = K;
2133
- B && (K = B), L && ((S = ne.get(K)) === null || S === void 0 || S.unshift(L)), C && ((R = ne.get(K)) === null || R === void 0 || R.unshift(C));
2134
- const M = b(C);
2135
- return L && ((x = ne.get(K)) === null || x === void 0 || x.shift()), C && ((N = ne.get(K)) === null || N === void 0 || N.shift()), K = Z, M;
2133
+ B && (K = B), A && ((S = ne.get(K)) === null || S === void 0 || S.unshift(A)), C && ((R = ne.get(K)) === null || R === void 0 || R.unshift(C));
2134
+ const E = b(C);
2135
+ return A && ((M = ne.get(K)) === null || M === void 0 || M.shift()), C && ((N = ne.get(K)) === null || N === void 0 || N.shift()), K = Z, E;
2136
2136
  }
2137
2137
  }), h.slot = !0;
2138
2138
  } else
2139
2139
  h = () => ({});
2140
- if ("for" in c && c.for) {
2141
- const b = c.for.length === 3 ? c.for[2] : c.for[1];
2140
+ if ("for" in p && p.for) {
2141
+ const b = p.for.length === 3 ? p.for[2] : p.for[1];
2142
2142
  _ = [
2143
- typeof b == "string" && b.startsWith("$") ? I(J(b)) : () => b,
2144
- c.for[0],
2145
- c.for.length === 3 ? String(c.for[1]) : null
2143
+ typeof b == "string" && b.startsWith("$") ? V(Y(b)) : () => b,
2144
+ p.for[0],
2145
+ p.for.length === 3 ? String(p.for[1]) : null
2146
2146
  ];
2147
2147
  }
2148
2148
  return [m, f, d, h, $, _, k];
@@ -2156,42 +2156,42 @@ function Bt(e, i, t) {
2156
2156
  }
2157
2157
  function u(v, y) {
2158
2158
  const [f, d, m, h, $, _, k] = r(v, y);
2159
- let c = (b) => {
2159
+ let p = (b) => {
2160
2160
  if (f && d === null && h)
2161
2161
  return f() ? h(b) : $ && $(b);
2162
2162
  if (d && (!f || f())) {
2163
2163
  if (d === "text" && h)
2164
- return Pn(String(h()));
2164
+ return Ln(String(h()));
2165
2165
  if (d === "slot" && h)
2166
2166
  return h(b);
2167
- const C = k ? j(d) : d, L = h != null && h.slot ? o(h, b) : null;
2168
- return de(C, m(), L || (h ? h(b) : []));
2167
+ const C = k ? j(d) : d, A = h != null && h.slot ? o(h, b) : null;
2168
+ return de(C, m(), A || (h ? h(b) : []));
2169
2169
  }
2170
2170
  return typeof $ == "function" ? $(b) : $;
2171
2171
  };
2172
2172
  if (_) {
2173
- const b = c, [C, L, B] = _;
2174
- c = () => {
2175
- const S = C(), R = Number.isFinite(S) ? Array(Number(S)).fill(0).map((M, W) => W) : S, x = [];
2173
+ const b = p, [C, A, B] = _;
2174
+ p = () => {
2175
+ const S = C(), R = Number.isFinite(S) ? Array(Number(S)).fill(0).map((E, W) => W) : S, M = [];
2176
2176
  if (typeof R != "object")
2177
2177
  return null;
2178
2178
  const N = ne.get(K) || [], Z = Array.isArray(R);
2179
- for (const M in R) {
2180
- if (Z && M in Array.prototype)
2179
+ for (const E in R) {
2180
+ if (Z && E in Array.prototype)
2181
2181
  continue;
2182
2182
  const W = Object.defineProperty({
2183
- ...N.reduce((Le, se) => Le.__idata ? { ...Le, ...se } : se, {}),
2184
- [L]: R[M],
2185
- ...B !== null ? { [B]: Z ? Number(M) : M } : {}
2183
+ ...N.reduce((Oe, ae) => Oe.__idata ? { ...Oe, ...ae } : ae, {}),
2184
+ [A]: R[E],
2185
+ ...B !== null ? { [B]: Z ? Number(E) : E } : {}
2186
2186
  }, "__idata", { enumerable: !1, value: !0 });
2187
- N.unshift(W), x.push(b.bind(null, W)()), N.shift();
2187
+ N.unshift(W), M.push(b.bind(null, W)()), N.shift();
2188
2188
  }
2189
- return x;
2189
+ return M;
2190
2190
  };
2191
2191
  }
2192
- return c;
2192
+ return p;
2193
2193
  }
2194
- function p(v, y) {
2194
+ function c(v, y) {
2195
2195
  if (Array.isArray(y)) {
2196
2196
  const d = y.map(u.bind(null, v));
2197
2197
  return (m) => d.map((h) => h(m));
@@ -2200,7 +2200,7 @@ function Bt(e, i, t) {
2200
2200
  return (d) => f(d);
2201
2201
  }
2202
2202
  const g = [];
2203
- function I(v, y = {}) {
2203
+ function V(v, y = {}) {
2204
2204
  const f = /* @__PURE__ */ new WeakMap();
2205
2205
  return g.push((d, m) => {
2206
2206
  f.set(m, v.provide((h) => d(h, y)));
@@ -2209,7 +2209,7 @@ function Bt(e, i, t) {
2209
2209
  function H(v, y) {
2210
2210
  var f;
2211
2211
  t ?? (t = JSON.stringify(i));
2212
- const [d, m] = F(Ee, t) ? Ee[t] : [p(e, i), g];
2212
+ const [d, m] = T(Ee, t) ? Ee[t] : [c(e, i), g];
2213
2213
  return vn || ((f = we[t]) !== null && f !== void 0 || (we[t] = 0), we[t]++, Ee[t] = [d, m]), m.forEach((h) => {
2214
2214
  h(v, y);
2215
2215
  }), () => (K = y, d());
@@ -2225,30 +2225,30 @@ function Jl(e, i) {
2225
2225
  return new Proxy(e, {
2226
2226
  get(...t) {
2227
2227
  let n;
2228
- const l = t[1];
2229
- if (typeof l == "string") {
2230
- const s = K;
2231
- K = i, n = hn(l, void 0), K = s;
2228
+ const s = t[1];
2229
+ if (typeof s == "string") {
2230
+ const a = K;
2231
+ K = i, n = hn(s, void 0), K = a;
2232
2232
  }
2233
2233
  return n !== void 0 ? n : Reflect.get(...t);
2234
2234
  }
2235
2235
  });
2236
2236
  }
2237
2237
  function zt(e, i, t) {
2238
- return e((n, l = {}) => n.reduce((s, r) => {
2238
+ return e((n, s = {}) => n.reduce((a, r) => {
2239
2239
  if (r.startsWith("slots.")) {
2240
- const o = r.substring(6), u = () => i.slots && F(i.slots, o) && typeof i.slots[o] == "function";
2241
- if (l.if)
2242
- s[r] = u;
2240
+ const o = r.substring(6), u = () => i.slots && T(i.slots, o) && typeof i.slots[o] == "function";
2241
+ if (s.if)
2242
+ a[r] = u;
2243
2243
  else if (i.slots) {
2244
- const p = Jl(i, t);
2245
- s[r] = () => u() ? i.slots[o](p) : null;
2244
+ const c = Jl(i, t);
2245
+ a[r] = () => u() ? i.slots[o](c) : null;
2246
2246
  }
2247
2247
  } else {
2248
2248
  const o = ql(r, i);
2249
- s[r] = () => hn(r, o.value);
2249
+ a[r] = () => hn(r, o.value);
2250
2250
  }
2251
- return s;
2251
+ return a;
2252
2252
  }, {}), t);
2253
2253
  }
2254
2254
  function Ut(e, i, t) {
@@ -2259,7 +2259,7 @@ function Ut(e, i, t) {
2259
2259
  }
2260
2260
  ne.delete(t);
2261
2261
  }
2262
- const St = O({
2262
+ const St = P({
2263
2263
  name: "FormKitSchema",
2264
2264
  props: {
2265
2265
  schema: {
@@ -2281,28 +2281,28 @@ const St = O({
2281
2281
  },
2282
2282
  setup(e, i) {
2283
2283
  var t;
2284
- const n = st();
2285
- let l = {};
2286
- ne.set(l, []);
2287
- let s = Bt(e.library, e.schema, e.memoKey), r, o;
2288
- vn || ce(() => e.schema, (p, g) => {
2289
- var I;
2290
- const H = l;
2291
- l = {}, ne.set(l, []), s = Bt(e.library, e.schema, e.memoKey), r = zt(s, o, l), p === g && ((I = n == null ? void 0 : n.proxy) === null || I === void 0 ? void 0 : I.$forceUpdate)(), Ut(e.schema, e.memoKey, H);
2284
+ const n = at();
2285
+ let s = {};
2286
+ ne.set(s, []);
2287
+ let a = Bt(e.library, e.schema, e.memoKey), r, o;
2288
+ vn || pe(() => e.schema, (c, g) => {
2289
+ var V;
2290
+ const H = s;
2291
+ s = {}, ne.set(s, []), a = Bt(e.library, e.schema, e.memoKey), r = zt(a, o, s), c === g && ((V = n == null ? void 0 : n.proxy) === null || V === void 0 ? void 0 : V.$forceUpdate)(), Ut(e.schema, e.memoKey, H);
2292
2292
  }, { deep: !0 }), te(() => {
2293
- var p;
2294
- o = Object.assign($n((p = e.data) !== null && p !== void 0 ? p : {}), {
2293
+ var c;
2294
+ o = Object.assign($n((c = e.data) !== null && c !== void 0 ? c : {}), {
2295
2295
  slots: i.slots
2296
- }), i.slots, r = zt(s, o, l);
2296
+ }), i.slots, r = zt(a, o, s);
2297
2297
  });
2298
2298
  function u() {
2299
- Ut(e.schema, e.memoKey, l), o.node && o.node.destroy(), o.slots = null, o = null, r = null;
2299
+ Ut(e.schema, e.memoKey, s), o.node && o.node.destroy(), o.slots = null, o = null, r = null;
2300
2300
  }
2301
- return wn(u), Nl((t = st()) === null || t === void 0 ? void 0 : t.appContext.app, u), () => r ? r() : null;
2301
+ return wn(u), Nl((t = at()) === null || t === void 0 ? void 0 : t.appContext.app, u), () => r ? r() : null;
2302
2302
  }
2303
2303
  }), Yl = typeof window > "u", je = Symbol("FormKitParent");
2304
2304
  function Ql(e, i) {
2305
- const t = ea(e, i);
2305
+ const t = es(e, i);
2306
2306
  if (t.props.definition || q(600, t), t.props.definition.component)
2307
2307
  return () => {
2308
2308
  var o;
@@ -2310,41 +2310,41 @@ function Ql(e, i) {
2310
2310
  context: t.context
2311
2311
  }, { ...i.slots });
2312
2312
  };
2313
- const n = Q([]);
2314
- let l = t.props.definition.schemaMemoKey;
2315
- const s = () => {
2313
+ const n = J([]);
2314
+ let s = t.props.definition.schemaMemoKey;
2315
+ const a = () => {
2316
2316
  var o, u;
2317
- const p = (u = (o = t.props) === null || o === void 0 ? void 0 : o.definition) === null || u === void 0 ? void 0 : u.schema;
2318
- p || q(601, t), typeof p == "function" ? (n.value = p({ ...e.sectionsSchema }), (l && e.sectionsSchema || "memoKey" in p && typeof p.memoKey == "string") && (l = (l ?? (p == null ? void 0 : p.memoKey)) + JSON.stringify(e.sectionsSchema))) : n.value = p;
2317
+ const c = (u = (o = t.props) === null || o === void 0 ? void 0 : o.definition) === null || u === void 0 ? void 0 : u.schema;
2318
+ c || q(601, t), typeof c == "function" ? (n.value = c({ ...e.sectionsSchema }), (s && e.sectionsSchema || "memoKey" in c && typeof c.memoKey == "string") && (s = (s ?? (c == null ? void 0 : c.memoKey)) + JSON.stringify(e.sectionsSchema))) : n.value = c;
2319
2319
  };
2320
- s(), Yl || t.on("schema", () => {
2321
- l += "♻️", s();
2320
+ a(), Yl || t.on("schema", () => {
2321
+ s += "♻️", a();
2322
2322
  }), i.emit("node", t);
2323
2323
  const r = t.props.definition.library;
2324
- return i.expose({ node: t }), () => de(St, { schema: n.value, data: t.context, library: r, memoKey: l }, { ...i.slots });
2324
+ return i.expose({ node: t }), () => de(St, { schema: n.value, data: t.context, library: r, memoKey: s }, { ...i.slots });
2325
2325
  }
2326
- O(Ql, {
2326
+ P(Ql, {
2327
2327
  props: jl,
2328
2328
  inheritAttrs: !1
2329
2329
  });
2330
2330
  const _n = Symbol();
2331
- O((e, i) => {
2332
- const t = Q(null), n = Q(!1), l = Q(void 0), s = ce(t, (o) => {
2333
- let u = o, p = null;
2331
+ P((e, i) => {
2332
+ const t = J(null), n = J(!1), s = J(void 0), a = pe(t, (o) => {
2333
+ let u = o, c = null;
2334
2334
  for (; u = u == null ? void 0 : u.parentNode; )
2335
- if (p = u, p instanceof ShadowRoot || p instanceof Document) {
2336
- r(p);
2335
+ if (c = u, c instanceof ShadowRoot || c instanceof Document) {
2336
+ r(c);
2337
2337
  break;
2338
2338
  }
2339
- s(), n.value = !0;
2339
+ a(), n.value = !0;
2340
2340
  });
2341
- Nt(_n, l);
2341
+ Nt(_n, s);
2342
2342
  function r(o) {
2343
- l.value = o;
2343
+ s.value = o;
2344
2344
  }
2345
2345
  return () => n.value && i.slots.default ? i.slots.default() : de("template", { ref: t });
2346
2346
  });
2347
- const gn = Symbol.for("FormKitOptions"), Xl = typeof window < "u", at = [
2347
+ const gn = Symbol.for("FormKitOptions"), Xl = typeof window < "u", st = [
2348
2348
  "help",
2349
2349
  "label",
2350
2350
  "ignore",
@@ -2364,83 +2364,83 @@ function Kt(e, i) {
2364
2364
  }
2365
2365
  function Gl(e) {
2366
2366
  return e ? ["Submit", "SubmitRaw", "SubmitInvalid"].reduce((t, n) => {
2367
- const l = `on${n}`;
2368
- return l in e && typeof e[l] == "function" && (t[l] = e[l]), t;
2367
+ const s = `on${n}`;
2368
+ return s in e && typeof e[s] == "function" && (t[s] = e[s]), t;
2369
2369
  }, {}) : {};
2370
2370
  }
2371
- function ea(e, i, t = {}) {
2371
+ function es(e, i, t = {}) {
2372
2372
  var n;
2373
- const l = Object.assign({}, pe(gn) || {}, t), s = pe(_n, Q(Xl ? document : void 0)), r = st(), o = Gl(r == null ? void 0 : r.vnode.props), u = ["modelValue", "model-value"].some((c) => {
2373
+ const s = Object.assign({}, ce(gn) || {}, t), a = ce(_n, J(Xl ? document : void 0)), r = at(), o = Gl(r == null ? void 0 : r.vnode.props), u = ["modelValue", "model-value"].some((p) => {
2374
2374
  var b;
2375
- return c in ((b = r == null ? void 0 : r.vnode.props) !== null && b !== void 0 ? b : {});
2375
+ return p in ((b = r == null ? void 0 : r.vnode.props) !== null && b !== void 0 ? b : {});
2376
2376
  });
2377
- let p = !1;
2377
+ let c = !1;
2378
2378
  Cn(() => {
2379
- p = !0;
2379
+ c = !0;
2380
2380
  });
2381
2381
  const g = e.modelValue !== void 0 ? e.modelValue : be(i.attrs.value);
2382
- function I() {
2383
- var c;
2382
+ function V() {
2383
+ var p;
2384
2384
  const b = {
2385
2385
  ...he(e),
2386
2386
  ...o,
2387
- type: (c = e.type) !== null && c !== void 0 ? c : "text",
2388
- __root: s.value,
2387
+ type: (p = e.type) !== null && p !== void 0 ? p : "text",
2388
+ __root: a.value,
2389
2389
  __slots: i.slots
2390
- }, C = Vt(he(i.attrs), at);
2390
+ }, C = Vt(he(i.attrs), st);
2391
2391
  C.key || (C.key = Fe()), b.attrs = C;
2392
- const L = It(he(i.attrs), at);
2393
- for (const S in L)
2394
- b[ze(S)] = L[S];
2392
+ const A = It(he(i.attrs), st);
2393
+ for (const S in A)
2394
+ b[ze(S)] = A[S];
2395
2395
  const B = { props: {} };
2396
2396
  return Kt(B, e), Object.assign(b, B.props), typeof b.type != "string" && (b.definition = b.type, delete b.type), b;
2397
2397
  }
2398
- const H = I(), v = H.ignore ? null : e.parent || pe(je, null), y = Xi(Qe(l || {}, {
2398
+ const H = V(), v = H.ignore ? null : e.parent || ce(je, null), y = Xi(Qe(s || {}, {
2399
2399
  name: e.name || void 0,
2400
2400
  value: g,
2401
2401
  parent: v,
2402
- plugins: (l.plugins || []).concat((n = e.plugins) !== null && n !== void 0 ? n : []),
2402
+ plugins: (s.plugins || []).concat((n = e.plugins) !== null && n !== void 0 ? n : []),
2403
2403
  config: e.config || {},
2404
2404
  props: H,
2405
2405
  index: e.index,
2406
- sync: !!Y(i.attrs.sync || i.attrs.dynamic)
2406
+ sync: !!Q(i.attrs.sync || i.attrs.dynamic)
2407
2407
  }, !1, !0));
2408
2408
  y.props.definition || q(600, y);
2409
- const f = Q(new Set(y.props.definition.props || []));
2410
- y.on("added-props", ({ payload: c }) => {
2411
- Array.isArray(c) && c.forEach((b) => f.value.add(b));
2409
+ const f = J(new Set(y.props.definition.props || []));
2410
+ y.on("added-props", ({ payload: p }) => {
2411
+ Array.isArray(p) && p.forEach((b) => f.value.add(b));
2412
2412
  });
2413
- const d = E(() => at.concat([...f.value]).reduce((c, b) => (typeof b == "string" ? (c.push(ze(b)), c.push(qt(b))) : c.push(b), c), []));
2413
+ const d = x(() => st.concat([...f.value]).reduce((p, b) => (typeof b == "string" ? (p.push(ze(b)), p.push(qt(b))) : p.push(b), p), []));
2414
2414
  te(() => Kt(y, e));
2415
2415
  const m = he(e);
2416
- for (const c in m)
2417
- ce(() => e[c], () => {
2418
- e[c] !== void 0 && (y.props[c] = e[c]);
2416
+ for (const p in m)
2417
+ pe(() => e[p], () => {
2418
+ e[p] !== void 0 && (y.props[p] = e[p]);
2419
2419
  });
2420
2420
  te(() => {
2421
- y.props.__root = s.value;
2421
+ y.props.__root = a.value;
2422
2422
  });
2423
2423
  const h = /* @__PURE__ */ new Set(), $ = he(i.attrs);
2424
2424
  te(() => {
2425
2425
  _(It($, d.value));
2426
2426
  });
2427
- function _(c) {
2427
+ function _(p) {
2428
2428
  h.forEach((b) => {
2429
2429
  b(), h.delete(b);
2430
2430
  });
2431
- for (const b in c) {
2431
+ for (const b in p) {
2432
2432
  const C = ze(b);
2433
- h.add(ce(() => i.attrs[b], () => {
2433
+ h.add(pe(() => i.attrs[b], () => {
2434
2434
  y.props[C] = i.attrs[b];
2435
2435
  }));
2436
2436
  }
2437
2437
  }
2438
2438
  if (te(() => {
2439
- const c = Vt(he(i.attrs), d.value);
2440
- "multiple" in c && (c.multiple = Y(c.multiple)), typeof c.onBlur == "function" && (c.onBlur = Bn(c.onBlur)), y.props.attrs = Object.assign({}, y.props.attrs || {}, c);
2439
+ const p = Vt(he(i.attrs), d.value);
2440
+ "multiple" in p && (p.multiple = Q(p.multiple)), typeof p.onBlur == "function" && (p.onBlur = Bn(p.onBlur)), y.props.attrs = Object.assign({}, y.props.attrs || {}, p);
2441
2441
  }), te(() => {
2442
- var c;
2443
- const b = ((c = e.errors) !== null && c !== void 0 ? c : []).map((C) => oe({
2442
+ var p;
2443
+ const b = ((p = e.errors) !== null && p !== void 0 ? p : []).map((C) => oe({
2444
2444
  key: dt(C),
2445
2445
  type: "error",
2446
2446
  value: C,
@@ -2448,34 +2448,34 @@ function ea(e, i, t = {}) {
2448
2448
  }));
2449
2449
  y.store.apply(b, (C) => C.type === "error" && C.meta.source === "prop");
2450
2450
  }), y.type !== "input") {
2451
- const c = `${y.name}-prop`;
2451
+ const p = `${y.name}-prop`;
2452
2452
  te(() => {
2453
2453
  var b;
2454
- const C = (b = e.inputErrors) !== null && b !== void 0 ? b : {}, L = Object.keys(C);
2455
- L.length || y.clearErrors(!0, c);
2456
- const B = L.reduce((S, R) => {
2457
- let x = C[R];
2458
- return typeof x == "string" && (x = [x]), Array.isArray(x) && (S[R] = x.map((N) => oe({
2454
+ const C = (b = e.inputErrors) !== null && b !== void 0 ? b : {}, A = Object.keys(C);
2455
+ A.length || y.clearErrors(!0, p);
2456
+ const B = A.reduce((S, R) => {
2457
+ let M = C[R];
2458
+ return typeof M == "string" && (M = [M]), Array.isArray(M) && (S[R] = M.map((N) => oe({
2459
2459
  key: N,
2460
2460
  type: "error",
2461
2461
  value: N,
2462
- meta: { source: c }
2462
+ meta: { source: p }
2463
2463
  }))), S;
2464
2464
  }, {});
2465
- y.store.apply(B, (S) => S.type === "error" && S.meta.source === c);
2465
+ y.store.apply(B, (S) => S.type === "error" && S.meta.source === p);
2466
2466
  });
2467
2467
  }
2468
2468
  te(() => Object.assign(y.config, e.config)), y.type !== "input" && Nt(je, y);
2469
2469
  let k;
2470
2470
  return y.on("modelUpdated", () => {
2471
- var c, b;
2472
- i.emit("inputRaw", (c = y.context) === null || c === void 0 ? void 0 : c.value, y), p && i.emit("input", (b = y.context) === null || b === void 0 ? void 0 : b.value, y), u && y.context && (k = be(y.value), i.emit("update:modelValue", Fn(y.value)));
2473
- }), u && (ce(Sn(e, "modelValue"), (c) => {
2474
- ue(k, c) || y.input(c, !1);
2471
+ var p, b;
2472
+ i.emit("inputRaw", (p = y.context) === null || p === void 0 ? void 0 : p.value, y), c && i.emit("input", (b = y.context) === null || b === void 0 ? void 0 : b.value, y), u && y.context && (k = be(y.value), i.emit("update:modelValue", Fn(y.value)));
2473
+ }), u && (pe(Sn(e, "modelValue"), (p) => {
2474
+ ue(k, p) || y.input(p, !1);
2475
2475
  }, { deep: !0 }), y.value !== g && y.emit("modelUpdated")), Vn(() => y.destroy()), y;
2476
2476
  }
2477
- let ta = 1;
2478
- function na(e) {
2477
+ let ts = 1;
2478
+ function ns(e) {
2479
2479
  return typeof e == "function" && e.length === 2 || typeof e == "object" && !Array.isArray(e) && !("$el" in e) && !("$cmp" in e) && !("if" in e);
2480
2480
  }
2481
2481
  function D(e, i = {}) {
@@ -2484,22 +2484,22 @@ function D(e, i = {}) {
2484
2484
  ...i
2485
2485
  };
2486
2486
  let n;
2487
- if (na(e)) {
2488
- const l = `SchemaComponent${ta++}`;
2487
+ if (ns(e)) {
2488
+ const s = `SchemaComponent${ts++}`;
2489
2489
  n = w("input", () => ({
2490
- $cmp: l,
2490
+ $cmp: s,
2491
2491
  props: {
2492
2492
  context: "$node.context"
2493
2493
  }
2494
- })), t.library = { [l]: In(e) };
2494
+ })), t.library = { [s]: In(e) };
2495
2495
  } else
2496
2496
  typeof e == "function" ? n = e : n = w("input", () => be(e));
2497
2497
  return t.schema = Rl(n || "Schema undefined"), t.schemaMemoKey || (t.schemaMemoKey = `${Math.random()}`), t;
2498
2498
  }
2499
- const ia = w("messages", () => ({
2499
+ const is = w("messages", () => ({
2500
2500
  $el: "ul",
2501
2501
  if: "$fns.length($messages)"
2502
- })), la = w("message", () => ({
2502
+ })), ls = w("message", () => ({
2503
2503
  $el: "li",
2504
2504
  for: ["message", "$messages"],
2505
2505
  attrs: {
@@ -2507,8 +2507,8 @@ const ia = w("messages", () => ({
2507
2507
  id: "$id + '-' + $message.key",
2508
2508
  "data-message-type": "$message.type"
2509
2509
  }
2510
- })), aa = ia(la("$message.value"));
2511
- O({
2510
+ })), ss = is(ls("$message.value"));
2511
+ P({
2512
2512
  props: {
2513
2513
  node: {
2514
2514
  type: Object,
@@ -2524,57 +2524,57 @@ O({
2524
2524
  }
2525
2525
  },
2526
2526
  setup(e, i) {
2527
- const t = E(() => e.node || pe(je, void 0));
2528
- ce(t, () => {
2529
- var s;
2530
- !((s = t.value) === null || s === void 0) && s.context && !Y(e.defaultPosition) && (t.value.context.defaultMessagePlacement = !1);
2527
+ const t = x(() => e.node || ce(je, void 0));
2528
+ pe(t, () => {
2529
+ var a;
2530
+ !((a = t.value) === null || a === void 0) && a.context && !Q(e.defaultPosition) && (t.value.context.defaultMessagePlacement = !1);
2531
2531
  }, { immediate: !0 });
2532
- const n = aa(e.sectionsSchema || {}), l = E(() => {
2533
- var s, r, o, u, p, g;
2532
+ const n = ss(e.sectionsSchema || {}), s = x(() => {
2533
+ var a, r, o, u, c, g;
2534
2534
  return {
2535
- messages: ((r = (s = t.value) === null || s === void 0 ? void 0 : s.context) === null || r === void 0 ? void 0 : r.messages) || {},
2535
+ messages: ((r = (a = t.value) === null || a === void 0 ? void 0 : a.context) === null || r === void 0 ? void 0 : r.messages) || {},
2536
2536
  fns: ((u = (o = t.value) === null || o === void 0 ? void 0 : o.context) === null || u === void 0 ? void 0 : u.fns) || {},
2537
- classes: ((g = (p = t.value) === null || p === void 0 ? void 0 : p.context) === null || g === void 0 ? void 0 : g.classes) || {}
2537
+ classes: ((g = (c = t.value) === null || c === void 0 ? void 0 : c.context) === null || g === void 0 ? void 0 : g.classes) || {}
2538
2538
  };
2539
2539
  });
2540
2540
  return () => {
2541
- var s;
2542
- return !((s = t.value) === null || s === void 0) && s.context ? de(St, { schema: n, data: l.value }, { ...i.slots }) : null;
2541
+ var a;
2542
+ return !((a = t.value) === null || a === void 0) && a.context ? de(St, { schema: n, data: s.value }, { ...i.slots }) : null;
2543
2543
  };
2544
2544
  }
2545
2545
  });
2546
- const sa = w("summary", () => ({
2546
+ const as = w("summary", () => ({
2547
2547
  $el: "div",
2548
2548
  attrs: {
2549
2549
  "aria-live": "polite"
2550
2550
  }
2551
- })), ra = w("summaryInner", () => ({
2551
+ })), rs = w("summaryInner", () => ({
2552
2552
  $el: "div",
2553
2553
  if: "$summaries.length && $showSummaries"
2554
- })), oa = w("messages", () => ({
2554
+ })), os = w("messages", () => ({
2555
2555
  $el: "ul",
2556
2556
  if: "$summaries.length && $showSummaries"
2557
- })), ua = w("message", () => ({
2557
+ })), us = w("message", () => ({
2558
2558
  $el: "li",
2559
2559
  for: ["summary", "$summaries"],
2560
2560
  attrs: {
2561
2561
  key: "$summary.key",
2562
2562
  "data-message-type": "$summary.type"
2563
2563
  }
2564
- })), fa = w("summaryHeader", () => ({
2564
+ })), fs = w("summaryHeader", () => ({
2565
2565
  $el: "h2",
2566
2566
  attrs: {
2567
2567
  id: "$id"
2568
2568
  }
2569
- })), ca = w("messageLink", () => ({
2569
+ })), ps = w("messageLink", () => ({
2570
2570
  $el: "a",
2571
2571
  attrs: {
2572
2572
  id: "$summary.key",
2573
2573
  href: '$: "#" + $summary.id',
2574
2574
  onClick: "$jumpLink"
2575
2575
  }
2576
- })), pa = sa(ra(fa("$summaryHeader"), oa(ua(ca("$summary.message")))));
2577
- O({
2576
+ })), cs = as(rs(fs("$summaryHeader"), os(us(ps("$summary.message")))));
2577
+ P({
2578
2578
  props: {
2579
2579
  node: {
2580
2580
  type: Object,
@@ -2591,10 +2591,10 @@ O({
2591
2591
  },
2592
2592
  setup(e, i) {
2593
2593
  var t, n;
2594
- const l = `summary-${Fe()}`, s = E(() => e.node || pe(je, void 0));
2595
- if (!s)
2594
+ const s = `summary-${Fe()}`, a = x(() => e.node || ce(je, void 0));
2595
+ if (!a)
2596
2596
  throw new Error("FormKitSummary must have a FormKit parent or use the node prop.");
2597
- const r = Q([]), o = Q(!1), u = E(() => {
2597
+ const r = J([]), o = J(!1), u = x(() => {
2598
2598
  const v = [];
2599
2599
  return r.value.forEach((y) => {
2600
2600
  for (const f in y.messages) {
@@ -2607,14 +2607,14 @@ O({
2607
2607
  });
2608
2608
  }
2609
2609
  }), v;
2610
- }), p = () => {
2610
+ }), c = () => {
2611
2611
  var v;
2612
- r.value = [], (v = s.value) === null || v === void 0 || v.walk((y) => y.context && r.value.push(y.context));
2612
+ r.value = [], (v = a.value) === null || v === void 0 || v.walk((y) => y.context && r.value.push(y.context));
2613
2613
  };
2614
- (t = s.value) === null || t === void 0 || t.on("submit-raw", async () => {
2614
+ (t = a.value) === null || t === void 0 || t.on("submit-raw", async () => {
2615
2615
  var v, y;
2616
- p(), u.value.length !== 0 && (i.emit("show", u.value), o.value = !0, await kn(), typeof window < "u" && ((v = document.getElementById(l)) === null || v === void 0 || v.scrollIntoView({ behavior: "smooth" }), u.value[0] && ((y = document.getElementById(u.value[0].key)) === null || y === void 0 || y.focus())));
2617
- }), (n = s.value) === null || n === void 0 || n.on("child", p);
2616
+ c(), u.value.length !== 0 && (i.emit("show", u.value), o.value = !0, await kn(), typeof window < "u" && ((v = document.getElementById(s)) === null || v === void 0 || v.scrollIntoView({ behavior: "smooth" }), u.value[0] && ((y = document.getElementById(u.value[0].key)) === null || y === void 0 || y.focus())));
2617
+ }), (n = a.value) === null || n === void 0 || n.on("child", c);
2618
2618
  function g(v) {
2619
2619
  var y, f, d;
2620
2620
  if (v.target instanceof HTMLAnchorElement) {
@@ -2623,26 +2623,26 @@ O({
2623
2623
  m && ((f = document.getElementById(m)) === null || f === void 0 || f.scrollIntoView({ behavior: "smooth" }), (d = document.getElementById(m)) === null || d === void 0 || d.focus());
2624
2624
  }
2625
2625
  }
2626
- Me("summaryHeader", "There were errors in your form.")(s.value);
2627
- const I = pa(e.sectionsSchema || {}), H = E(() => {
2626
+ Me("summaryHeader", "There were errors in your form.")(a.value);
2627
+ const V = cs(e.sectionsSchema || {}), H = x(() => {
2628
2628
  var v, y, f, d, m, h, $, _;
2629
2629
  return {
2630
- id: l,
2631
- fns: ((y = (v = s.value) === null || v === void 0 ? void 0 : v.context) === null || y === void 0 ? void 0 : y.fns) || {},
2632
- classes: ((d = (f = s.value) === null || f === void 0 ? void 0 : f.context) === null || d === void 0 ? void 0 : d.classes) || {},
2630
+ id: s,
2631
+ fns: ((y = (v = a.value) === null || v === void 0 ? void 0 : v.context) === null || y === void 0 ? void 0 : y.fns) || {},
2632
+ classes: ((d = (f = a.value) === null || f === void 0 ? void 0 : f.context) === null || d === void 0 ? void 0 : d.classes) || {},
2633
2633
  summaries: u.value,
2634
2634
  showSummaries: o.value,
2635
- summaryHeader: ((_ = ($ = (h = (m = s.value) === null || m === void 0 ? void 0 : m.context) === null || h === void 0 ? void 0 : h.ui) === null || $ === void 0 ? void 0 : $.summaryHeader) === null || _ === void 0 ? void 0 : _.value) || "",
2635
+ summaryHeader: ((_ = ($ = (h = (m = a.value) === null || m === void 0 ? void 0 : m.context) === null || h === void 0 ? void 0 : h.ui) === null || $ === void 0 ? void 0 : $.summaryHeader) === null || _ === void 0 ? void 0 : _.value) || "",
2636
2636
  jumpLink: g
2637
2637
  };
2638
2638
  });
2639
2639
  return () => {
2640
2640
  var v;
2641
- return !((v = s.value) === null || v === void 0) && v.context ? de(St, { schema: I, data: H.value }, { ...i.slots }) : null;
2641
+ return !((v = a.value) === null || v === void 0) && v.context ? de(St, { schema: V, data: H.value }, { ...i.slots }) : null;
2642
2642
  };
2643
2643
  }
2644
2644
  });
2645
- O({
2645
+ P({
2646
2646
  name: "FormKitIcon",
2647
2647
  props: {
2648
2648
  icon: {
@@ -2660,27 +2660,27 @@ O({
2660
2660
  },
2661
2661
  setup(e) {
2662
2662
  var i, t;
2663
- const n = Q(void 0), l = pe(gn, {}), s = pe(je, null);
2663
+ const n = J(void 0), s = ce(gn, {}), a = ce(je, null);
2664
2664
  let r;
2665
2665
  function o() {
2666
2666
  if (!r || typeof r != "function")
2667
2667
  return;
2668
2668
  const u = r(e.icon);
2669
- u instanceof Promise ? u.then((p) => {
2670
- n.value = p;
2669
+ u instanceof Promise ? u.then((c) => {
2670
+ n.value = c;
2671
2671
  }) : n.value = u;
2672
2672
  }
2673
2673
  if (e.iconLoader && typeof e.iconLoader == "function")
2674
2674
  r = it(e.iconLoader);
2675
- else if (s && (!((i = s.props) === null || i === void 0) && i.iconLoader))
2676
- r = it(s.props.iconLoader);
2675
+ else if (a && (!((i = a.props) === null || i === void 0) && i.iconLoader))
2676
+ r = it(a.props.iconLoader);
2677
2677
  else if (e.iconLoaderUrl && typeof e.iconLoaderUrl == "function")
2678
2678
  r = it(r, e.iconLoaderUrl);
2679
2679
  else {
2680
- const u = (t = l == null ? void 0 : l.plugins) === null || t === void 0 ? void 0 : t.find((p) => typeof p.iconHandler == "function");
2680
+ const u = (t = s == null ? void 0 : s.plugins) === null || t === void 0 ? void 0 : t.find((c) => typeof c.iconHandler == "function");
2681
2681
  u && (r = u.iconHandler);
2682
2682
  }
2683
- return ce(() => e.icon, () => {
2683
+ return pe(() => e.icon, () => {
2684
2684
  o();
2685
2685
  }, { immediate: !0 }), () => e.icon && n.value ? de("span", {
2686
2686
  class: "formkit-icon",
@@ -2688,418 +2688,474 @@ O({
2688
2688
  }) : null;
2689
2689
  }
2690
2690
  });
2691
- const da = /* @__PURE__ */ O({
2691
+ const ds = /* @__PURE__ */ P({
2692
+ __name: "PrimeAutoComplete",
2693
+ props: {
2694
+ context: Object
2695
+ },
2696
+ setup(e) {
2697
+ const i = e, t = i.context, n = t == null ? void 0 : t.attrs, s = J([]);
2698
+ function a(o) {
2699
+ s.value = n.complete(o.query);
2700
+ }
2701
+ function r(o) {
2702
+ var u;
2703
+ t == null || t.node.input((u = i.context) == null ? void 0 : u._value);
2704
+ }
2705
+ return x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class), (o, u) => {
2706
+ var g;
2707
+ const c = j("AutoComplete");
2708
+ return O(), L("div", null, [
2709
+ F(c, {
2710
+ id: l(t).id,
2711
+ modelValue: l(t)._value,
2712
+ "onUpdate:modelValue": u[0] || (u[0] = (V) => l(t)._value = V),
2713
+ disabled: l(n)._disabled ?? !1,
2714
+ tabindex: l(n).tabindex,
2715
+ "aria-label": l(n).ariaLabel,
2716
+ "aria-labelledby": l(n).ariaLabelledby,
2717
+ suggestions: l(s),
2718
+ dropdown: ((g = l(n)) == null ? void 0 : g.dropdown) ?? !1,
2719
+ multiple: l(n).multiple ?? !1,
2720
+ pt: l(n).pt,
2721
+ "pt-options": l(n).ptOptions,
2722
+ unstyled: l(n).unstyled ?? !1,
2723
+ onComplete: a,
2724
+ onChange: r
2725
+ }, null, 8, ["id", "modelValue", "disabled", "tabindex", "aria-label", "aria-labelledby", "suggestions", "dropdown", "multiple", "pt", "pt-options", "unstyled"])
2726
+ ]);
2727
+ };
2728
+ }
2729
+ }), ms = /* @__PURE__ */ P({
2692
2730
  __name: "PrimeCalendar",
2693
2731
  props: {
2694
2732
  context: Object
2695
2733
  },
2696
2734
  setup(e) {
2697
2735
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
2698
- function l(o) {
2736
+ function s(o) {
2699
2737
  t == null || t.node.input(t == null ? void 0 : t._value);
2700
2738
  }
2701
- function s(o) {
2739
+ function a(o) {
2702
2740
  t == null || t.node.input(o);
2703
2741
  }
2704
- const r = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2742
+ const r = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2705
2743
  return (o, u) => {
2706
- const p = j("Calendar");
2707
- return P(), A("div", null, [
2708
- T(p, {
2709
- modelValue: a(t)._value,
2710
- "onUpdate:modelValue": u[0] || (u[0] = (g) => a(t)._value = g),
2744
+ const c = j("Calendar");
2745
+ return O(), L("div", null, [
2746
+ F(c, {
2747
+ modelValue: l(t)._value,
2748
+ "onUpdate:modelValue": u[0] || (u[0] = (g) => l(t)._value = g),
2711
2749
  "input-id": i.context.id,
2712
- disabled: a(n)._disabled ?? !1,
2713
- readonly: a(n)._readonly ?? !1,
2714
- "input-style": a(n).style,
2715
- "input-class": a(r),
2716
- tabindex: a(n).tabindex,
2717
- "aria-label": a(n).ariaLabel,
2718
- "aria-labelledby": a(n).ariaLabelledby,
2719
- "date-format": a(n).dateFormat,
2720
- "selection-mode": a(n).selectionMode ?? "single",
2721
- inline: a(n).inline ?? !1,
2722
- "show-other-months": a(n).showOtherMonths ?? !0,
2723
- "select-other-months": a(n).selectOtherMonths ?? !1,
2724
- icon: a(n).icon,
2725
- "show-icon": a(t).showIcon,
2726
- "previous-icon": a(n).previousIcon ?? "pi pi-chevron-left",
2727
- "next-icon": a(n).nextIcon ?? "pi pi-chevron-right",
2728
- "increment-icon": a(n).incrementIcon ?? "pi pi-chevron-up",
2729
- "decrement-icon": a(n).decrementIcon ?? "pi pi-chevron-down",
2730
- "number-of-months": a(n).numberOfMonths ?? 1,
2731
- "responsive-options": a(n).responsiveOptions,
2732
- view: a(n).view ?? "date",
2733
- "touch-u-i": a(n).touchUI ?? !1,
2734
- "min-date": a(n).minDate,
2735
- "max-date": a(n).maxDate,
2736
- "disabled-dates": a(n).disabledDates,
2737
- "disabled-days": a(n).disabledDays,
2738
- "max-date-count": a(n).maxDateCount,
2739
- "show-on-focus": a(n).showOnFocus ?? !0,
2740
- "auto-z-index": a(n).autoZIndex ?? !0,
2741
- "base-z-index": a(n).baseZIndex ?? 0,
2742
- "show-button-bar": a(n).showButtonBar ?? !1,
2743
- "show-time": a(n).showTime ?? !1,
2744
- "time-only": a(n).timeOnly ?? !1,
2745
- "short-year-cutoff": a(n).shortYearCutoff ?? "+10",
2746
- "hour-format": a(n).hourFormat ?? "24",
2747
- "step-hour": a(n).stepHour ?? 1,
2748
- "step-minute": a(n).stepMinute ?? 1,
2749
- "step-second": a(n).stepSecond ?? 1,
2750
- "show-seconds": a(n).showSeconds ?? !1,
2751
- "hide-on-date-time-select": a(n).hideOnDateTimeSelect ?? !1,
2752
- "hide-on-range-selection": a(n).hideOnRangeSelection ?? !1,
2753
- "time-separator": a(n).timeSeparator ?? ":",
2754
- "show-week": a(n).showWeek ?? !1,
2755
- "manual-input": a(n).manualInput ?? !0,
2756
- "append-to": a(n).appendTo ?? "body",
2757
- "panel-style": a(n).panelStyle,
2758
- "panel-class": a(n).panelClass,
2759
- pt: a(n).pt,
2760
- onDateSelect: s,
2761
- onInput: l
2762
- }, 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", "pt"])
2750
+ disabled: l(n)._disabled ?? !1,
2751
+ readonly: l(n)._readonly ?? !1,
2752
+ "input-style": l(n).style,
2753
+ "input-class": l(r),
2754
+ tabindex: l(n).tabindex,
2755
+ "aria-label": l(n).ariaLabel,
2756
+ "aria-labelledby": l(n).ariaLabelledby,
2757
+ "date-format": l(n).dateFormat,
2758
+ "selection-mode": l(n).selectionMode ?? "single",
2759
+ inline: l(n).inline ?? !1,
2760
+ "show-other-months": l(n).showOtherMonths ?? !0,
2761
+ "select-other-months": l(n).selectOtherMonths ?? !1,
2762
+ icon: l(n).icon,
2763
+ "show-icon": l(t).showIcon,
2764
+ "previous-icon": l(n).previousIcon ?? "pi pi-chevron-left",
2765
+ "next-icon": l(n).nextIcon ?? "pi pi-chevron-right",
2766
+ "increment-icon": l(n).incrementIcon ?? "pi pi-chevron-up",
2767
+ "decrement-icon": l(n).decrementIcon ?? "pi pi-chevron-down",
2768
+ "number-of-months": l(n).numberOfMonths ?? 1,
2769
+ "responsive-options": l(n).responsiveOptions,
2770
+ view: l(n).view ?? "date",
2771
+ "touch-u-i": l(n).touchUI ?? !1,
2772
+ "min-date": l(n).minDate,
2773
+ "max-date": l(n).maxDate,
2774
+ "disabled-dates": l(n).disabledDates,
2775
+ "disabled-days": l(n).disabledDays,
2776
+ "max-date-count": l(n).maxDateCount,
2777
+ "show-on-focus": l(n).showOnFocus ?? !0,
2778
+ "auto-z-index": l(n).autoZIndex ?? !0,
2779
+ "base-z-index": l(n).baseZIndex ?? 0,
2780
+ "show-button-bar": l(n).showButtonBar ?? !1,
2781
+ "show-time": l(n).showTime ?? !1,
2782
+ "time-only": l(n).timeOnly ?? !1,
2783
+ "short-year-cutoff": l(n).shortYearCutoff ?? "+10",
2784
+ "hour-format": l(n).hourFormat ?? "24",
2785
+ "step-hour": l(n).stepHour ?? 1,
2786
+ "step-minute": l(n).stepMinute ?? 1,
2787
+ "step-second": l(n).stepSecond ?? 1,
2788
+ "show-seconds": l(n).showSeconds ?? !1,
2789
+ "hide-on-date-time-select": l(n).hideOnDateTimeSelect ?? !1,
2790
+ "hide-on-range-selection": l(n).hideOnRangeSelection ?? !1,
2791
+ "time-separator": l(n).timeSeparator ?? ":",
2792
+ "show-week": l(n).showWeek ?? !1,
2793
+ "manual-input": l(n).manualInput ?? !0,
2794
+ "append-to": l(n).appendTo ?? "body",
2795
+ "panel-style": l(n).panelStyle,
2796
+ "panel-class": l(n).panelClass,
2797
+ pt: l(n).pt,
2798
+ "pt-options": l(n).ptOptions,
2799
+ unstyled: l(n).unstyled ?? !1,
2800
+ onDateSelect: a,
2801
+ onInput: s
2802
+ }, 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", "pt", "pt-options", "unstyled"])
2763
2803
  ]);
2764
2804
  };
2765
2805
  }
2766
- }), ma = {
2806
+ }), bs = {
2767
2807
  key: 0,
2768
2808
  class: "formkit-prime-left"
2769
- }, ba = {
2809
+ }, ys = {
2770
2810
  key: 1,
2771
2811
  class: "formkit-prime-right"
2772
- }, ya = /* @__PURE__ */ O({
2812
+ }, vs = /* @__PURE__ */ P({
2773
2813
  __name: "PrimeCheckbox",
2774
2814
  props: {
2775
2815
  context: Object
2776
2816
  },
2777
2817
  setup(e) {
2778
2818
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
2779
- function l(r) {
2819
+ function s(r) {
2780
2820
  var o;
2781
2821
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
2782
2822
  }
2783
- const s = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2823
+ const a = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2784
2824
  return (r, o) => {
2785
2825
  const u = j("Checkbox");
2786
- return P(), A("div", null, [
2787
- a(t).attrs.labelLeft ? (P(), A("span", ma, me(a(t).attrs.labelLeft), 1)) : re("", !0),
2788
- T(u, {
2789
- modelValue: a(t)._value,
2790
- "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
2791
- "input-id": a(t).id,
2792
- disabled: a(n)._disabled ?? !1,
2793
- readonly: a(n)._readonly ?? !1,
2794
- "input-style": a(n).style,
2795
- "input-class": a(s),
2796
- tabindex: a(n).tabindex,
2797
- "aria-label": a(n).ariaLabel,
2798
- "aria-labelledby": a(n).ariaLabelledby,
2799
- binary: a(n).binary ?? !0,
2800
- "true-value": a(n).trueValue ?? void 0,
2801
- "false-value": a(n).falseValue ?? void 0,
2802
- pt: a(n).pt,
2803
- onInput: l
2804
- }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "binary", "true-value", "false-value", "pt"]),
2805
- a(t).attrs.labelRight ? (P(), A("span", ba, me(a(t).attrs.labelRight), 1)) : re("", !0)
2826
+ return O(), L("div", null, [
2827
+ l(t).attrs.labelLeft ? (O(), L("span", bs, me(l(t).attrs.labelLeft), 1)) : re("", !0),
2828
+ F(u, {
2829
+ modelValue: l(t)._value,
2830
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => l(t)._value = c),
2831
+ "input-id": l(t).id,
2832
+ disabled: l(n)._disabled ?? !1,
2833
+ readonly: l(n)._readonly ?? !1,
2834
+ "input-style": l(n).style,
2835
+ "input-class": l(a),
2836
+ tabindex: l(n).tabindex,
2837
+ "aria-label": l(n).ariaLabel,
2838
+ "aria-labelledby": l(n).ariaLabelledby,
2839
+ binary: l(n).binary ?? !0,
2840
+ "true-value": l(n).trueValue ?? void 0,
2841
+ "false-value": l(n).falseValue ?? void 0,
2842
+ pt: l(n).pt,
2843
+ "pt-options": l(n).ptOptions,
2844
+ unstyled: l(n).unstyled ?? !1,
2845
+ onInput: s
2846
+ }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "binary", "true-value", "false-value", "pt", "pt-options", "unstyled"]),
2847
+ l(t).attrs.labelRight ? (O(), L("span", ys, me(l(t).attrs.labelRight), 1)) : re("", !0)
2806
2848
  ]);
2807
2849
  };
2808
2850
  }
2809
- }), va = /* @__PURE__ */ O({
2851
+ }), hs = /* @__PURE__ */ P({
2810
2852
  __name: "PrimeChips",
2811
2853
  props: {
2812
2854
  context: Object
2813
2855
  },
2814
2856
  setup(e) {
2815
2857
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
2816
- function l(r) {
2858
+ function s(r) {
2817
2859
  var o;
2818
2860
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
2819
2861
  }
2820
- const s = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2862
+ const a = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2821
2863
  return (r, o) => {
2822
2864
  const u = j("Chips");
2823
- return P(), A("div", null, [
2824
- T(u, {
2825
- modelValue: a(t)._value,
2826
- "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
2827
- "input-id": a(t).id,
2828
- disabled: a(n)._disabled ?? !1,
2829
- readonly: a(n)._readonly ?? !1,
2830
- "input-style": a(n).style,
2831
- "input-class": a(s),
2832
- tabindex: a(n).tabindex,
2833
- "aria-label": a(n).ariaLabel,
2834
- "aria-labelledby": a(n).ariaLabelledby,
2835
- "allow-duplicate": a(n).allowDuplicate ?? !0,
2836
- "add-on-blur": a(n).addOnBlur ?? !1,
2837
- max: a(n).max ?? void 0,
2838
- placeholder: a(n).placeholder,
2839
- separator: a(n).separator,
2840
- pt: a(n).pt,
2841
- onAdd: l,
2842
- onRemove: l
2843
- }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "allow-duplicate", "add-on-blur", "max", "placeholder", "separator", "pt"])
2865
+ return O(), L("div", null, [
2866
+ F(u, {
2867
+ modelValue: l(t)._value,
2868
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => l(t)._value = c),
2869
+ "input-id": l(t).id,
2870
+ disabled: l(n)._disabled ?? !1,
2871
+ readonly: l(n)._readonly ?? !1,
2872
+ "input-style": l(n).style,
2873
+ "input-class": l(a),
2874
+ tabindex: l(n).tabindex,
2875
+ "aria-label": l(n).ariaLabel,
2876
+ "aria-labelledby": l(n).ariaLabelledby,
2877
+ "allow-duplicate": l(n).allowDuplicate ?? !0,
2878
+ "add-on-blur": l(n).addOnBlur ?? !1,
2879
+ max: l(n).max ?? void 0,
2880
+ placeholder: l(n).placeholder,
2881
+ separator: l(n).separator,
2882
+ pt: l(n).pt,
2883
+ "pt-options": l(n).ptOptions,
2884
+ unstyled: l(n).unstyled ?? !1,
2885
+ onAdd: s,
2886
+ onRemove: s
2887
+ }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "allow-duplicate", "add-on-blur", "max", "placeholder", "separator", "pt", "pt-options", "unstyled"])
2844
2888
  ]);
2845
2889
  };
2846
2890
  }
2847
- }), ha = /* @__PURE__ */ O({
2891
+ }), _s = /* @__PURE__ */ P({
2848
2892
  __name: "PrimeColorPicker",
2849
2893
  props: {
2850
2894
  context: Object
2851
2895
  },
2852
2896
  setup(e) {
2853
2897
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
2854
- function l(s) {
2898
+ function s(a) {
2855
2899
  var r;
2856
2900
  t == null || t.node.input((r = i.context) == null ? void 0 : r._value);
2857
2901
  }
2858
- return (s, r) => {
2902
+ return (a, r) => {
2859
2903
  const o = j("ColorPicker");
2860
- return P(), A("div", null, [
2861
- T(o, {
2862
- modelValue: a(t)._value,
2863
- "onUpdate:modelValue": r[0] || (r[0] = (u) => a(t)._value = u),
2864
- disabled: a(n)._disabled ?? !1,
2865
- readonly: a(n)._readonly ?? !1,
2866
- style: ve(a(n).style),
2867
- "panel-class": a(n).class,
2868
- tabindex: a(n).tabindex,
2869
- "aria-label": a(n).ariaLabel,
2870
- "aria-labelledby": a(n).ariaLabelledby,
2871
- "default-color": a(n).defaultColor ?? "ff0000",
2872
- inline: a(n).inline ?? !1,
2873
- format: a(n).format,
2874
- pt: a(n).pt,
2875
- onChange: l
2876
- }, null, 8, ["modelValue", "disabled", "readonly", "style", "panel-class", "tabindex", "aria-label", "aria-labelledby", "default-color", "inline", "format", "pt"])
2904
+ return O(), L("div", null, [
2905
+ F(o, {
2906
+ modelValue: l(t)._value,
2907
+ "onUpdate:modelValue": r[0] || (r[0] = (u) => l(t)._value = u),
2908
+ disabled: l(n)._disabled ?? !1,
2909
+ readonly: l(n)._readonly ?? !1,
2910
+ style: ve(l(n).style),
2911
+ "panel-class": l(n).class,
2912
+ tabindex: l(n).tabindex,
2913
+ "aria-label": l(n).ariaLabel,
2914
+ "aria-labelledby": l(n).ariaLabelledby,
2915
+ "default-color": l(n).defaultColor ?? "ff0000",
2916
+ inline: l(n).inline ?? !1,
2917
+ format: l(n).format,
2918
+ pt: l(n).pt,
2919
+ "pt-options": l(n).ptOptions,
2920
+ unstyled: l(n).unstyled ?? !1,
2921
+ onChange: s
2922
+ }, null, 8, ["modelValue", "disabled", "readonly", "style", "panel-class", "tabindex", "aria-label", "aria-labelledby", "default-color", "inline", "format", "pt", "pt-options", "unstyled"])
2877
2923
  ]);
2878
2924
  };
2879
2925
  }
2880
- }), _a = /* @__PURE__ */ O({
2926
+ }), gs = /* @__PURE__ */ P({
2881
2927
  __name: "PrimeDropdown",
2882
2928
  props: {
2883
2929
  context: Object
2884
2930
  },
2885
2931
  setup(e) {
2886
2932
  const t = e.context, n = t == null ? void 0 : t.attrs;
2887
- function l(o) {
2933
+ function s(o) {
2888
2934
  t == null || t.handlers.blur(o.value);
2889
2935
  }
2890
- function s(o) {
2936
+ function a(o) {
2891
2937
  t == null || t.node.input(o.value);
2892
2938
  }
2893
- const r = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2939
+ const r = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2894
2940
  return (o, u) => {
2895
- const p = j("Dropdown");
2896
- return P(), A("div", null, [
2897
- T(p, {
2898
- modelValue: a(t)._value,
2899
- "onUpdate:modelValue": u[0] || (u[0] = (g) => a(t)._value = g),
2900
- "input-id": a(t).id,
2901
- disabled: a(n)._disabled ?? !1,
2902
- readonly: a(n)._readonly ?? !1,
2903
- "input-style": a(r),
2904
- "input-class": a(n).class,
2905
- tabindex: a(n).tabindex,
2906
- "aria-label": a(n).ariaLabel,
2907
- "aria-labelledby": a(n).ariaLabelledby,
2908
- options: a(n).options,
2909
- "option-label": a(n).optionLabel ?? "label",
2910
- "option-value": a(n).optionValue ?? "value",
2911
- placeholder: a(n).placeholder,
2912
- filter: a(n).filter ?? !1,
2913
- "show-clear": a(n).showClear ?? !1,
2914
- pt: a(n).pt,
2915
- onChange: s,
2916
- onBlur: l
2917
- }, 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", "pt"])
2941
+ const c = j("Dropdown");
2942
+ return O(), L("div", null, [
2943
+ F(c, {
2944
+ modelValue: l(t)._value,
2945
+ "onUpdate:modelValue": u[0] || (u[0] = (g) => l(t)._value = g),
2946
+ "input-id": l(t).id,
2947
+ disabled: l(n)._disabled ?? !1,
2948
+ readonly: l(n)._readonly ?? !1,
2949
+ "input-style": l(r),
2950
+ "input-class": l(n).class,
2951
+ tabindex: l(n).tabindex,
2952
+ "aria-label": l(n).ariaLabel,
2953
+ "aria-labelledby": l(n).ariaLabelledby,
2954
+ options: l(n).options,
2955
+ "option-label": l(n).optionLabel ?? "label",
2956
+ "option-value": l(n).optionValue ?? "value",
2957
+ placeholder: l(n).placeholder,
2958
+ filter: l(n).filter ?? !1,
2959
+ "show-clear": l(n).showClear ?? !1,
2960
+ pt: l(n).pt,
2961
+ "pt-options": l(n).ptOptions,
2962
+ unstyled: l(n).unstyled ?? !1,
2963
+ onChange: a,
2964
+ onBlur: s
2965
+ }, 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", "pt", "pt-options", "unstyled"])
2918
2966
  ]);
2919
2967
  };
2920
2968
  }
2921
- }), ga = /* @__PURE__ */ O({
2969
+ }), $s = /* @__PURE__ */ P({
2922
2970
  __name: "PrimeEditor",
2923
2971
  props: {
2924
2972
  context: Object
2925
2973
  },
2926
2974
  setup(e) {
2927
2975
  const t = e.context, n = t == null ? void 0 : t.attrs;
2928
- function l(o) {
2976
+ function s(o) {
2929
2977
  t == null || t.node.input(o.htmlValue);
2930
2978
  }
2931
- function s(o) {
2979
+ function a(o) {
2932
2980
  o.range === null && (t == null || t.handlers.blur(o.htmlValue));
2933
2981
  }
2934
- const r = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2982
+ const r = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2935
2983
  return (o, u) => {
2936
- const p = j("Editor");
2937
- return P(), A("div", null, [
2938
- T(p, {
2939
- id: a(t).id,
2940
- modelValue: a(t)._value,
2941
- "onUpdate:modelValue": u[0] || (u[0] = (g) => a(t)._value = g),
2942
- disabled: a(n)._disabled ?? !1,
2943
- readonly: a(n)._readonly ?? !1,
2944
- "editor-style": a(n).style,
2945
- class: U(a(r)),
2946
- tabindex: a(n).tabindex,
2947
- "aria-label": a(n).ariaLabel,
2948
- "aria-labelledby": a(n).ariaLabelledby,
2949
- placeholder: a(n).placeholder,
2950
- formats: a(n).formats,
2951
- modules: a(n).modules,
2952
- pt: a(n).pt,
2953
- onTextChange: l,
2954
- onSelectionChange: s
2955
- }, null, 8, ["id", "modelValue", "disabled", "readonly", "editor-style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "formats", "modules", "pt"])
2984
+ const c = j("Editor");
2985
+ return O(), L("div", null, [
2986
+ F(c, {
2987
+ id: l(t).id,
2988
+ modelValue: l(t)._value,
2989
+ "onUpdate:modelValue": u[0] || (u[0] = (g) => l(t)._value = g),
2990
+ disabled: l(n)._disabled ?? !1,
2991
+ readonly: l(n)._readonly ?? !1,
2992
+ "editor-style": l(n).style,
2993
+ class: U(l(r)),
2994
+ tabindex: l(n).tabindex,
2995
+ "aria-label": l(n).ariaLabel,
2996
+ "aria-labelledby": l(n).ariaLabelledby,
2997
+ placeholder: l(n).placeholder,
2998
+ formats: l(n).formats,
2999
+ modules: l(n).modules,
3000
+ pt: l(n).pt,
3001
+ "pt-options": l(n).ptOptions,
3002
+ unstyled: l(n).unstyled ?? !1,
3003
+ onTextChange: s,
3004
+ onSelectionChange: a
3005
+ }, null, 8, ["id", "modelValue", "disabled", "readonly", "editor-style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "formats", "modules", "pt", "pt-options", "unstyled"])
2956
3006
  ]);
2957
3007
  };
2958
3008
  }
2959
- }), $a = /* @__PURE__ */ O({
3009
+ }), ws = /* @__PURE__ */ P({
2960
3010
  __name: "PrimeInputMask",
2961
3011
  props: {
2962
3012
  context: Object
2963
3013
  },
2964
3014
  setup(e) {
2965
3015
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
2966
- function l(r) {
3016
+ function s(r) {
2967
3017
  var o, u;
2968
3018
  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);
2969
3019
  }
2970
- const s = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3020
+ const a = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2971
3021
  return (r, o) => {
2972
3022
  const u = j("InputMask");
2973
- return P(), A("div", null, [
2974
- T(u, {
2975
- id: a(t).id,
2976
- modelValue: a(t)._value,
2977
- "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
2978
- disabled: a(n)._disabled ?? !1,
2979
- readonly: a(n)._readonly ?? !1,
2980
- "editor-style": a(n).style,
2981
- class: U(a(s)),
2982
- tabindex: a(n).tabindex,
2983
- "aria-label": a(n).ariaLabel,
2984
- "aria-labelledby": a(n).ariaLabelledby,
2985
- placeholder: a(n).placeholder,
2986
- mask: a(n).mask ?? void 0,
2987
- "slot-char": a(n).slotChar ?? "_",
2988
- "auto-clear": a(n).autoClear ?? !0,
2989
- unmask: a(n).unmask ?? !1,
2990
- pt: a(n).pt,
2991
- onBlur: l
2992
- }, null, 8, ["id", "modelValue", "disabled", "readonly", "editor-style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "mask", "slot-char", "auto-clear", "unmask", "pt"])
3023
+ return O(), L("div", null, [
3024
+ F(u, {
3025
+ id: l(t).id,
3026
+ modelValue: l(t)._value,
3027
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => l(t)._value = c),
3028
+ disabled: l(n)._disabled ?? !1,
3029
+ readonly: l(n)._readonly ?? !1,
3030
+ "editor-style": l(n).style,
3031
+ class: U(l(a)),
3032
+ tabindex: l(n).tabindex,
3033
+ "aria-label": l(n).ariaLabel,
3034
+ "aria-labelledby": l(n).ariaLabelledby,
3035
+ placeholder: l(n).placeholder,
3036
+ mask: l(n).mask ?? void 0,
3037
+ "slot-char": l(n).slotChar ?? "_",
3038
+ "auto-clear": l(n).autoClear ?? !0,
3039
+ unmask: l(n).unmask ?? !1,
3040
+ pt: l(n).pt,
3041
+ "pt-options": l(n).ptOptions,
3042
+ unstyled: l(n).unstyled ?? !1,
3043
+ onBlur: s
3044
+ }, null, 8, ["id", "modelValue", "disabled", "readonly", "editor-style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "mask", "slot-char", "auto-clear", "unmask", "pt", "pt-options", "unstyled"])
2993
3045
  ]);
2994
3046
  };
2995
3047
  }
2996
- }), wa = /* @__PURE__ */ O({
3048
+ }), ks = /* @__PURE__ */ P({
2997
3049
  __name: "PrimeInputNumber",
2998
3050
  props: {
2999
3051
  context: Object
3000
3052
  },
3001
3053
  setup(e) {
3002
3054
  const t = e.context, n = t == null ? void 0 : t.attrs;
3003
- function l(o) {
3055
+ function s(o) {
3004
3056
  t == null || t.handlers.blur(o.value);
3005
3057
  }
3006
- function s(o) {
3058
+ function a(o) {
3007
3059
  t == null || t.node.input(o.value);
3008
3060
  }
3009
- const r = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3061
+ const r = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3010
3062
  return (o, u) => {
3011
- const p = j("InputNumber");
3012
- return P(), A("div", null, [
3013
- T(p, {
3014
- modelValue: a(t)._value,
3015
- "onUpdate:modelValue": u[0] || (u[0] = (g) => a(t)._value = g),
3016
- "input-id": a(t).id,
3017
- disabled: a(n)._disabled ?? !1,
3018
- readonly: a(n)._readonly ?? !1,
3019
- "input-style": a(n).style,
3020
- "input-class": a(r),
3021
- tabindex: a(n).tabindex,
3022
- "aria-label": a(n).ariaLabel,
3023
- "aria-labelledby": a(n).ariaLabelledby,
3024
- placeholder: a(n).placeholder,
3025
- "use-grouping": a(n).useGrouping ?? !0,
3026
- "min-fraction-digits": a(n).minFractionDigits ?? void 0,
3027
- "max-fraction-digits": a(n).maxFractionDigits ?? void 0,
3028
- locale: a(n).locale ?? void 0,
3029
- mode: a(n).mode ?? void 0,
3030
- currency: a(n).currency ?? void 0,
3031
- prefix: a(n).prefix ?? void 0,
3032
- suffix: a(n).suffix ?? void 0,
3033
- "show-buttons": a(n).showButtons ?? void 0,
3034
- "button-layout": a(n).buttonLayout ?? "stacked",
3035
- step: a(n).step ?? void 0,
3036
- pt: a(n).pt,
3037
- onInput: s,
3038
- onBlur: l
3039
- }, 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", "pt"])
3063
+ const c = j("InputNumber");
3064
+ return O(), L("div", null, [
3065
+ F(c, {
3066
+ modelValue: l(t)._value,
3067
+ "onUpdate:modelValue": u[0] || (u[0] = (g) => l(t)._value = g),
3068
+ "input-id": l(t).id,
3069
+ disabled: l(n)._disabled ?? !1,
3070
+ readonly: l(n)._readonly ?? !1,
3071
+ "input-style": l(n).style,
3072
+ "input-class": l(r),
3073
+ tabindex: l(n).tabindex,
3074
+ "aria-label": l(n).ariaLabel,
3075
+ "aria-labelledby": l(n).ariaLabelledby,
3076
+ placeholder: l(n).placeholder,
3077
+ "use-grouping": l(n).useGrouping ?? !0,
3078
+ "min-fraction-digits": l(n).minFractionDigits ?? void 0,
3079
+ "max-fraction-digits": l(n).maxFractionDigits ?? void 0,
3080
+ locale: l(n).locale ?? void 0,
3081
+ mode: l(n).mode ?? void 0,
3082
+ currency: l(n).currency ?? void 0,
3083
+ prefix: l(n).prefix ?? void 0,
3084
+ suffix: l(n).suffix ?? void 0,
3085
+ "show-buttons": l(n).showButtons ?? void 0,
3086
+ "button-layout": l(n).buttonLayout ?? "stacked",
3087
+ step: l(n).step ?? void 0,
3088
+ pt: l(n).pt,
3089
+ "pt-options": l(n).ptOptions,
3090
+ unstyled: l(n).unstyled ?? !1,
3091
+ onInput: a,
3092
+ onBlur: s
3093
+ }, 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", "pt", "pt-options", "unstyled"])
3040
3094
  ]);
3041
3095
  };
3042
3096
  }
3043
- }), ka = {
3097
+ }), Cs = {
3044
3098
  key: 0,
3045
3099
  class: "formkit-prime-left"
3046
- }, Ca = {
3100
+ }, Ss = {
3047
3101
  key: 1,
3048
3102
  class: "formkit-prime-right"
3049
- }, Sa = /* @__PURE__ */ O({
3103
+ }, Vs = /* @__PURE__ */ P({
3050
3104
  __name: "PrimeInputSwitch",
3051
3105
  props: {
3052
3106
  context: Object
3053
3107
  },
3054
3108
  setup(e) {
3055
3109
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
3056
- function l(r) {
3110
+ function s(r) {
3057
3111
  var o;
3058
3112
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3059
3113
  }
3060
- const s = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3114
+ const a = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3061
3115
  return (r, o) => {
3062
3116
  const u = j("InputSwitch");
3063
- return P(), A("div", {
3064
- class: U(a(n).option_class)
3117
+ return O(), L("div", {
3118
+ class: U(l(n).option_class)
3065
3119
  }, [
3066
- a(t).attrs.labelLeft ? (P(), A("span", ka, me(a(t).attrs.labelLeft), 1)) : re("", !0),
3067
- T(u, {
3068
- modelValue: a(t)._value,
3069
- "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
3070
- "input-id": a(t).id,
3071
- disabled: a(n)._disabled ?? !1,
3072
- readonly: a(n)._readonly ?? !1,
3073
- "input-style": a(n).style,
3074
- "input-class": a(s),
3075
- tabindex: a(n).tabindex,
3076
- "aria-label": a(n).ariaLabel,
3077
- "aria-labelledby": a(n).ariaLabelledby,
3078
- "true-value": a(n).trueValue ?? void 0,
3079
- "false-value": a(n).falseValue ?? void 0,
3080
- pt: a(n).pt,
3081
- onInput: l
3082
- }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "true-value", "false-value", "pt"]),
3083
- a(t).attrs.labelRight ? (P(), A("span", Ca, me(a(t).attrs.labelRight), 1)) : re("", !0)
3120
+ l(t).attrs.labelLeft ? (O(), L("span", Cs, me(l(t).attrs.labelLeft), 1)) : re("", !0),
3121
+ F(u, {
3122
+ modelValue: l(t)._value,
3123
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => l(t)._value = c),
3124
+ "input-id": l(t).id,
3125
+ disabled: l(n)._disabled ?? !1,
3126
+ readonly: l(n)._readonly ?? !1,
3127
+ "input-style": l(n).style,
3128
+ "input-class": l(a),
3129
+ tabindex: l(n).tabindex,
3130
+ "aria-label": l(n).ariaLabel,
3131
+ "aria-labelledby": l(n).ariaLabelledby,
3132
+ "true-value": l(n).trueValue ?? void 0,
3133
+ "false-value": l(n).falseValue ?? void 0,
3134
+ pt: l(n).pt,
3135
+ "pt-options": l(n).ptOptions,
3136
+ unstyled: l(n).unstyled ?? !1,
3137
+ onInput: s
3138
+ }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "true-value", "false-value", "pt", "pt-options", "unstyled"]),
3139
+ l(t).attrs.labelRight ? (O(), L("span", Ss, me(l(t).attrs.labelRight), 1)) : re("", !0)
3084
3140
  ], 2);
3085
3141
  };
3086
3142
  }
3087
- }), Va = /* @__PURE__ */ O({
3143
+ }), Is = /* @__PURE__ */ P({
3088
3144
  __name: "PrimeInputText",
3089
3145
  props: {
3090
3146
  context: Object
3091
3147
  },
3092
3148
  setup(e) {
3093
3149
  const t = e.context, n = t == null ? void 0 : t.attrs;
3094
- function l() {
3150
+ function s() {
3095
3151
  return (t == null ? void 0 : t.iconLeft) && (t == null ? void 0 : t.iconLeft.length) > 0;
3096
3152
  }
3097
- function s() {
3153
+ function a() {
3098
3154
  return (t == null ? void 0 : t.iconRight) && (t == null ? void 0 : t.iconRight.length) > 0;
3099
3155
  }
3100
3156
  function r() {
3101
3157
  let g = "";
3102
- return l() && (g = `${g}p-input-icon-left `), s() && (g = `${g}p-input-icon-right `), g;
3158
+ return s() && (g = `${g}p-input-icon-left `), a() && (g = `${g}p-input-icon-right `), g;
3103
3159
  }
3104
3160
  function o(g) {
3105
3161
  t == null || t.handlers.blur(g.target.value);
@@ -3107,559 +3163,587 @@ const da = /* @__PURE__ */ O({
3107
3163
  function u(g) {
3108
3164
  t == null || t.node.input(g.target.value);
3109
3165
  }
3110
- const p = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3111
- return (g, I) => {
3166
+ const c = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3167
+ return (g, V) => {
3112
3168
  const H = j("InputText");
3113
- return P(), A("div", null, [
3169
+ return O(), L("div", null, [
3114
3170
  Wt("span", {
3115
3171
  class: U(r())
3116
3172
  }, [
3117
- l() ? (P(), A("i", {
3173
+ s() ? (O(), L("i", {
3118
3174
  key: 0,
3119
- class: U(a(t).iconLeft)
3175
+ class: U(l(t).iconLeft)
3120
3176
  }, null, 2)) : re("", !0),
3121
- T(H, {
3122
- id: a(t).id,
3123
- modelValue: a(t)._value,
3124
- "onUpdate:modelValue": I[0] || (I[0] = (v) => a(t)._value = v),
3125
- disabled: a(n)._disabled ?? !1,
3126
- readonly: a(n)._readonly ?? !1,
3127
- style: ve(a(n).style),
3128
- class: U(a(p)),
3129
- tabindex: a(n).tabindex,
3130
- "aria-label": a(n).ariaLabel,
3131
- "aria-labelledby": a(n).ariaLabelledby,
3132
- placeholder: a(n).placeholder,
3133
- pt: a(n).pt,
3177
+ F(H, {
3178
+ id: l(t).id,
3179
+ modelValue: l(t)._value,
3180
+ "onUpdate:modelValue": V[0] || (V[0] = (v) => l(t)._value = v),
3181
+ disabled: l(n)._disabled ?? !1,
3182
+ readonly: l(n)._readonly ?? !1,
3183
+ style: ve(l(n).style),
3184
+ class: U(l(c)),
3185
+ tabindex: l(n).tabindex,
3186
+ "aria-label": l(n).ariaLabel,
3187
+ "aria-labelledby": l(n).ariaLabelledby,
3188
+ placeholder: l(n).placeholder,
3189
+ pt: l(n).pt,
3190
+ "pt-options": l(n).ptOptions,
3191
+ unstyled: l(n).unstyled ?? !1,
3134
3192
  onInput: u,
3135
3193
  onBlur: o
3136
- }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "pt"]),
3137
- s ? (P(), A("i", {
3194
+ }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "pt", "pt-options", "unstyled"]),
3195
+ a ? (O(), L("i", {
3138
3196
  key: 1,
3139
- class: U(a(t).iconRight)
3197
+ class: U(l(t).iconRight)
3140
3198
  }, null, 2)) : re("", !0)
3141
3199
  ], 2)
3142
3200
  ]);
3143
3201
  };
3144
3202
  }
3145
- }), Ia = /* @__PURE__ */ O({
3203
+ }), Os = /* @__PURE__ */ P({
3146
3204
  __name: "PrimeTextarea",
3147
3205
  props: {
3148
3206
  context: Object
3149
3207
  },
3150
3208
  setup(e) {
3151
3209
  const t = e.context, n = t == null ? void 0 : t.attrs;
3152
- function l(o) {
3210
+ function s(o) {
3153
3211
  t == null || t.handlers.blur(o.target.value);
3154
3212
  }
3155
- function s(o) {
3213
+ function a(o) {
3156
3214
  t == null || t.node.input(o.target.value);
3157
3215
  }
3158
- const r = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3216
+ const r = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3159
3217
  return (o, u) => {
3160
- const p = j("Textarea");
3161
- return P(), A("div", null, [
3162
- T(p, {
3163
- id: a(t).id,
3164
- modelValue: a(t)._value,
3165
- "onUpdate:modelValue": u[0] || (u[0] = (g) => a(t)._value = g),
3166
- disabled: a(n)._disabled ?? !1,
3167
- readonly: a(n)._readonly ?? !1,
3168
- style: ve(a(n).style),
3169
- class: U(a(r)),
3170
- tabindex: a(n).tabindex,
3171
- "aria-label": a(n).ariaLabel,
3172
- "aria-labelledby": a(n).ariaLabelledby,
3173
- placeholder: a(n).placeholder,
3174
- rows: a(t).rows ?? 3,
3175
- pt: a(n).pt,
3176
- onInput: s,
3177
- onBlur: l
3178
- }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "rows", "pt"])
3218
+ const c = j("Textarea");
3219
+ return O(), L("div", null, [
3220
+ F(c, {
3221
+ id: l(t).id,
3222
+ modelValue: l(t)._value,
3223
+ "onUpdate:modelValue": u[0] || (u[0] = (g) => l(t)._value = g),
3224
+ disabled: l(n)._disabled ?? !1,
3225
+ readonly: l(n)._readonly ?? !1,
3226
+ style: ve(l(n).style),
3227
+ class: U(l(r)),
3228
+ tabindex: l(n).tabindex,
3229
+ "aria-label": l(n).ariaLabel,
3230
+ "aria-labelledby": l(n).ariaLabelledby,
3231
+ placeholder: l(n).placeholder,
3232
+ rows: l(t).rows ?? 3,
3233
+ pt: l(n).pt,
3234
+ "pt-options": l(n).ptOptions,
3235
+ unstyled: l(n).unstyled ?? !1,
3236
+ onInput: a,
3237
+ onBlur: s
3238
+ }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "rows", "pt", "pt-options", "unstyled"])
3179
3239
  ]);
3180
3240
  };
3181
3241
  }
3182
- }), La = /* @__PURE__ */ O({
3242
+ }), Ls = /* @__PURE__ */ P({
3183
3243
  __name: "PrimeKnob",
3184
3244
  props: {
3185
3245
  context: Object
3186
3246
  },
3187
3247
  setup(e) {
3188
3248
  const t = e.context, n = t == null ? void 0 : t.attrs;
3189
- function l(r) {
3249
+ function s(r) {
3190
3250
  t == null || t.node.input(r), t == null || t.handlers.blur(r);
3191
3251
  }
3192
- const s = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3252
+ const a = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3193
3253
  return (r, o) => {
3194
3254
  const u = j("Knob");
3195
- return P(), A("div", null, [
3196
- T(u, {
3197
- id: a(t).id,
3198
- modelValue: a(t)._value,
3199
- "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
3200
- disabled: a(n)._disabled ?? !1,
3201
- readonly: a(n)._readonly ?? !1,
3202
- style: ve(a(n).style),
3203
- class: U(a(s)),
3204
- tabindex: a(n).tabindex,
3205
- "aria-label": a(n).ariaLabel,
3206
- "aria-labelledby": a(n).ariaLabelledby,
3207
- min: a(n).min ?? 0,
3208
- max: a(n).max ?? 100,
3209
- step: a(n).step ?? void 0,
3210
- size: a(n).size ?? 100,
3211
- "stroke-width": a(n).strokeWidth ?? 14,
3212
- "show-value": a(n).showValue ?? !0,
3213
- "value-color": a(n).valueColor ?? void 0,
3214
- "range-color": a(n).rangeColor ?? void 0,
3215
- "text-color": a(n).textColor ?? void 0,
3216
- "value-template": a(n).valueTemplate ?? void 0,
3217
- pt: a(n).pt,
3218
- onChange: l
3219
- }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "min", "max", "step", "size", "stroke-width", "show-value", "value-color", "range-color", "text-color", "value-template", "pt"])
3255
+ return O(), L("div", null, [
3256
+ F(u, {
3257
+ id: l(t).id,
3258
+ modelValue: l(t)._value,
3259
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => l(t)._value = c),
3260
+ disabled: l(n)._disabled ?? !1,
3261
+ readonly: l(n)._readonly ?? !1,
3262
+ style: ve(l(n).style),
3263
+ class: U(l(a)),
3264
+ tabindex: l(n).tabindex,
3265
+ "aria-label": l(n).ariaLabel,
3266
+ "aria-labelledby": l(n).ariaLabelledby,
3267
+ min: l(n).min ?? 0,
3268
+ max: l(n).max ?? 100,
3269
+ step: l(n).step ?? void 0,
3270
+ size: l(n).size ?? 100,
3271
+ "stroke-width": l(n).strokeWidth ?? 14,
3272
+ "show-value": l(n).showValue ?? !0,
3273
+ "value-color": l(n).valueColor ?? void 0,
3274
+ "range-color": l(n).rangeColor ?? void 0,
3275
+ "text-color": l(n).textColor ?? void 0,
3276
+ "value-template": l(n).valueTemplate ?? void 0,
3277
+ pt: l(n).pt,
3278
+ "pt-options": l(n).ptOptions,
3279
+ unstyled: l(n).unstyled ?? !1,
3280
+ onChange: s
3281
+ }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "min", "max", "step", "size", "stroke-width", "show-value", "value-color", "range-color", "text-color", "value-template", "pt", "pt-options", "unstyled"])
3220
3282
  ]);
3221
3283
  };
3222
3284
  }
3223
- }), Pa = /* @__PURE__ */ O({
3285
+ }), As = /* @__PURE__ */ P({
3224
3286
  __name: "PrimeMultiSelect",
3225
3287
  props: {
3226
3288
  context: Object
3227
3289
  },
3228
3290
  setup(e) {
3229
3291
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
3230
- function l(r) {
3292
+ function s(r) {
3231
3293
  var o;
3232
3294
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3233
3295
  }
3234
- const s = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3296
+ const a = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3235
3297
  return (r, o) => {
3236
3298
  const u = j("MultiSelect");
3237
- return P(), A("div", null, [
3238
- T(u, {
3239
- modelValue: a(t)._value,
3240
- "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
3241
- "input-id": a(t).id,
3242
- disabled: a(n)._disabled ?? !1,
3243
- readonly: a(n)._readonly ?? !1,
3244
- "list-style": a(n).style,
3245
- class: U(a(s)),
3246
- tabindex: a(n).tabindex,
3247
- "aria-label": a(n).ariaLabel,
3248
- "aria-labelledby": a(n).ariaLabelledby,
3249
- options: a(n).options,
3250
- "option-label": a(n).optionLabel ?? "label",
3251
- "option-value": a(n).optionValue ?? "value",
3252
- filter: a(n).filter ?? !1,
3253
- pt: a(n).pt,
3254
- onChange: l
3255
- }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "list-style", "class", "tabindex", "aria-label", "aria-labelledby", "options", "option-label", "option-value", "filter", "pt"])
3299
+ return O(), L("div", null, [
3300
+ F(u, {
3301
+ modelValue: l(t)._value,
3302
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => l(t)._value = c),
3303
+ "input-id": l(t).id,
3304
+ disabled: l(n)._disabled ?? !1,
3305
+ readonly: l(n)._readonly ?? !1,
3306
+ "list-style": l(n).style,
3307
+ class: U(l(a)),
3308
+ tabindex: l(n).tabindex,
3309
+ "aria-label": l(n).ariaLabel,
3310
+ "aria-labelledby": l(n).ariaLabelledby,
3311
+ options: l(n).options,
3312
+ "option-label": l(n).optionLabel ?? "label",
3313
+ "option-value": l(n).optionValue ?? "value",
3314
+ filter: l(n).filter ?? !1,
3315
+ pt: l(n).pt,
3316
+ "pt-options": l(n).ptOptions,
3317
+ unstyled: l(n).unstyled ?? !1,
3318
+ onChange: s
3319
+ }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "list-style", "class", "tabindex", "aria-label", "aria-labelledby", "options", "option-label", "option-value", "filter", "pt", "pt-options", "unstyled"])
3256
3320
  ]);
3257
3321
  };
3258
3322
  }
3259
- }), Aa = /* @__PURE__ */ O({
3323
+ }), Ps = /* @__PURE__ */ P({
3260
3324
  __name: "PrimeListbox",
3261
3325
  props: {
3262
3326
  context: Object
3263
3327
  },
3264
3328
  setup(e) {
3265
3329
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
3266
- function l(r) {
3330
+ function s(r) {
3267
3331
  var o;
3268
3332
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3269
3333
  }
3270
- const s = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3334
+ const a = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3271
3335
  return (r, o) => {
3272
- var p;
3336
+ var c;
3273
3337
  const u = j("Listbox");
3274
- return P(), A("div", null, [
3275
- T(u, {
3276
- id: a(t).id,
3277
- modelValue: a(t)._value,
3278
- "onUpdate:modelValue": o[0] || (o[0] = (g) => a(t)._value = g),
3279
- disabled: a(n)._disabled ?? !1,
3280
- readonly: a(n)._readonly ?? !1,
3281
- "list-style": a(n).style,
3282
- class: U(a(s)),
3283
- tabindex: a(n).tabindex,
3284
- "aria-label": a(n).ariaLabel,
3285
- "aria-labelledby": a(n).ariaLabelledby,
3286
- options: (p = a(n)) == null ? void 0 : p.options,
3287
- "option-label": a(n).optionLabel ?? "label",
3288
- "option-value": a(n).optionValue ?? "value",
3289
- multiple: a(n).multiple ?? !1,
3290
- filter: a(n).filter ?? !1,
3291
- "filter-icon": a(n).filterIcon,
3292
- "filter-placeholder": a(n).filterPlaceholder,
3293
- "filter-locale": a(n).filterLocale,
3294
- "filter-match-mode": a(n).filterMatchMode,
3295
- "auto-option-focus": a(n).autoOptionFocus ?? !0,
3296
- "select-on-focus": a(n).selectOnFocus ?? !1,
3297
- pt: a(n).pt,
3298
- onChange: l
3299
- }, null, 8, ["id", "modelValue", "disabled", "readonly", "list-style", "class", "tabindex", "aria-label", "aria-labelledby", "options", "option-label", "option-value", "multiple", "filter", "filter-icon", "filter-placeholder", "filter-locale", "filter-match-mode", "auto-option-focus", "select-on-focus", "pt"])
3338
+ return O(), L("div", null, [
3339
+ F(u, {
3340
+ id: l(t).id,
3341
+ modelValue: l(t)._value,
3342
+ "onUpdate:modelValue": o[0] || (o[0] = (g) => l(t)._value = g),
3343
+ disabled: l(n)._disabled ?? !1,
3344
+ readonly: l(n)._readonly ?? !1,
3345
+ "list-style": l(n).style,
3346
+ class: U(l(a)),
3347
+ tabindex: l(n).tabindex,
3348
+ "aria-label": l(n).ariaLabel,
3349
+ "aria-labelledby": l(n).ariaLabelledby,
3350
+ options: (c = l(n)) == null ? void 0 : c.options,
3351
+ "option-label": l(n).optionLabel ?? "label",
3352
+ "option-value": l(n).optionValue ?? "value",
3353
+ multiple: l(n).multiple ?? !1,
3354
+ filter: l(n).filter ?? !1,
3355
+ "filter-icon": l(n).filterIcon,
3356
+ "filter-placeholder": l(n).filterPlaceholder,
3357
+ "filter-locale": l(n).filterLocale,
3358
+ "filter-match-mode": l(n).filterMatchMode,
3359
+ "auto-option-focus": l(n).autoOptionFocus ?? !0,
3360
+ "select-on-focus": l(n).selectOnFocus ?? !1,
3361
+ pt: l(n).pt,
3362
+ "pt-options": l(n).ptOptions,
3363
+ unstyled: l(n).unstyled ?? !1,
3364
+ onChange: s
3365
+ }, null, 8, ["id", "modelValue", "disabled", "readonly", "list-style", "class", "tabindex", "aria-label", "aria-labelledby", "options", "option-label", "option-value", "multiple", "filter", "filter-icon", "filter-placeholder", "filter-locale", "filter-match-mode", "auto-option-focus", "select-on-focus", "pt", "pt-options", "unstyled"])
3300
3366
  ]);
3301
3367
  };
3302
3368
  }
3303
- }), Oa = /* @__PURE__ */ O({
3369
+ }), xs = /* @__PURE__ */ P({
3304
3370
  __name: "PrimePassword",
3305
3371
  props: {
3306
3372
  context: Object
3307
3373
  },
3308
3374
  setup(e) {
3309
3375
  const t = e.context, n = t == null ? void 0 : t.attrs;
3310
- function l(o) {
3376
+ function s(o) {
3311
3377
  t == null || t.handlers.blur(o.target.value);
3312
3378
  }
3313
- function s(o) {
3379
+ function a(o) {
3314
3380
  t == null || t.node.input(o.target.value);
3315
3381
  }
3316
- const r = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3382
+ const r = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3317
3383
  return (o, u) => {
3318
- const p = j("Password");
3319
- return P(), A("div", null, [
3320
- T(p, {
3321
- modelValue: a(t)._value,
3322
- "onUpdate:modelValue": u[0] || (u[0] = (g) => a(t)._value = g),
3323
- "input-id": a(t).id,
3324
- disabled: a(n)._disabled ?? !1,
3325
- readonly: a(n)._readonly ?? !1,
3326
- "input-style": a(n).style,
3327
- "input-class": a(r),
3328
- tabindex: a(n).tabindex,
3329
- "aria-label": a(n).ariaLabel,
3330
- "aria-labelledby": a(n).ariaLabelledby,
3331
- placeholder: a(n).placeholder,
3332
- "medium-regex": a(n).mediumRegex ?? "^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})",
3333
- "strong-regex": a(n).strongRegex ?? "^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})",
3334
- "prompt-label": a(n).promptLabel,
3335
- "weak-label": a(n).weakLabel,
3336
- "medium-label": a(n).mediumLabel,
3337
- "strong-label": a(n).strongLabel,
3338
- "hide-icon": a(n).hideIcon ?? "pi pi-eye-slash",
3339
- "show-icon": a(n).showIcon ?? "pi pi-eye",
3340
- feedback: a(t).feedback ?? !1,
3341
- "toggle-mask": a(t).toggleMask ?? !1,
3342
- pt: a(n).pt,
3343
- onInput: s,
3344
- onBlur: l
3345
- }, 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", "pt"])
3384
+ const c = j("Password");
3385
+ return O(), L("div", null, [
3386
+ F(c, {
3387
+ modelValue: l(t)._value,
3388
+ "onUpdate:modelValue": u[0] || (u[0] = (g) => l(t)._value = g),
3389
+ "input-id": l(t).id,
3390
+ disabled: l(n)._disabled ?? !1,
3391
+ readonly: l(n)._readonly ?? !1,
3392
+ "input-style": l(n).style,
3393
+ "input-class": l(r),
3394
+ tabindex: l(n).tabindex,
3395
+ "aria-label": l(n).ariaLabel,
3396
+ "aria-labelledby": l(n).ariaLabelledby,
3397
+ placeholder: l(n).placeholder,
3398
+ "medium-regex": l(n).mediumRegex ?? "^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})",
3399
+ "strong-regex": l(n).strongRegex ?? "^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})",
3400
+ "prompt-label": l(n).promptLabel,
3401
+ "weak-label": l(n).weakLabel,
3402
+ "medium-label": l(n).mediumLabel,
3403
+ "strong-label": l(n).strongLabel,
3404
+ "hide-icon": l(n).hideIcon ?? "pi pi-eye-slash",
3405
+ "show-icon": l(n).showIcon ?? "pi pi-eye",
3406
+ feedback: l(t).feedback ?? !1,
3407
+ "toggle-mask": l(t).toggleMask ?? !1,
3408
+ pt: l(n).pt,
3409
+ "pt-options": l(n).ptOptions,
3410
+ unstyled: l(n).unstyled ?? !1,
3411
+ onInput: a,
3412
+ onBlur: s
3413
+ }, 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", "pt", "pt-options", "unstyled"])
3346
3414
  ]);
3347
3415
  };
3348
3416
  }
3349
- }), xa = ["for"], Ma = /* @__PURE__ */ O({
3417
+ }), Ms = ["for"], Es = /* @__PURE__ */ P({
3350
3418
  __name: "PrimeRadioButton",
3351
3419
  props: {
3352
3420
  context: Object
3353
3421
  },
3354
3422
  setup(e) {
3355
3423
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
3356
- function l(r) {
3424
+ function s(r) {
3357
3425
  var o;
3358
3426
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3359
3427
  }
3360
- const s = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3428
+ const a = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3361
3429
  return (r, o) => {
3362
3430
  const u = j("RadioButton");
3363
- return P(), A("div", {
3364
- class: U(a(n).options_class)
3431
+ return O(), L("div", {
3432
+ class: U(l(n).options_class)
3365
3433
  }, [
3366
- (P(!0), A(An, null, On(a(n).options, (p) => (P(), A("div", {
3367
- key: p.value,
3368
- class: U(a(n).option_class)
3434
+ (O(!0), L(An, null, Pn(l(n).options, (c) => (O(), L("div", {
3435
+ key: c.value,
3436
+ class: U(l(n).option_class)
3369
3437
  }, [
3370
- T(u, {
3371
- modelValue: a(t)._value,
3372
- "onUpdate:modelValue": o[0] || (o[0] = (g) => a(t)._value = g),
3373
- name: a(n).name,
3374
- value: p.value,
3375
- "input-style": a(n).style,
3376
- "input-class": a(s),
3377
- pt: a(n).pt,
3378
- onClick: l,
3379
- onChange: l
3380
- }, null, 8, ["modelValue", "name", "value", "input-style", "input-class", "pt"]),
3438
+ F(u, {
3439
+ modelValue: l(t)._value,
3440
+ "onUpdate:modelValue": o[0] || (o[0] = (g) => l(t)._value = g),
3441
+ name: l(n).name,
3442
+ value: c.value,
3443
+ "input-style": l(n).style,
3444
+ "input-class": l(a),
3445
+ pt: l(n).pt,
3446
+ "pt-options": l(n).ptOptions,
3447
+ unstyled: l(n).unstyled ?? !1,
3448
+ onClick: s,
3449
+ onChange: s
3450
+ }, null, 8, ["modelValue", "name", "value", "input-style", "input-class", "pt", "pt-options", "unstyled"]),
3381
3451
  Wt("label", {
3382
- for: p.value
3383
- }, me(p.label), 9, xa)
3452
+ for: c.value
3453
+ }, me(c.label), 9, Ms)
3384
3454
  ], 2))), 128))
3385
3455
  ], 2);
3386
3456
  };
3387
3457
  }
3388
- }), Ea = /* @__PURE__ */ O({
3458
+ }), Rs = /* @__PURE__ */ P({
3389
3459
  __name: "PrimeRating",
3390
3460
  props: {
3391
3461
  context: Object
3392
3462
  },
3393
3463
  setup(e) {
3394
3464
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
3395
- function l(r) {
3465
+ function s(r) {
3396
3466
  var o;
3397
3467
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3398
3468
  }
3399
- const s = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3469
+ const a = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3400
3470
  return (r, o) => {
3401
3471
  const u = j("Rating");
3402
- return P(), A("div", null, [
3403
- T(u, {
3404
- id: a(t).id,
3405
- modelValue: a(t)._value,
3406
- "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
3407
- disabled: a(n)._disabled ?? !1,
3408
- readonly: a(n)._readonly ?? !1,
3409
- style: ve(a(n).style),
3410
- class: U(a(s)),
3411
- tabindex: a(n).tabindex,
3412
- "aria-label": a(n).ariaLabel,
3413
- "aria-labelledby": a(n).ariaLabelledby,
3414
- stars: a(n).stars ?? 5,
3415
- cancel: a(n).cancel ?? !1,
3416
- "on-icon": a(n).onIcon ?? "pi pi-star-fill",
3417
- "off-icon": a(n).offIcon ?? "pi pi-star",
3418
- "cancel-icon": a(n).cancelIcon ?? "pi pi-ban",
3419
- pt: a(n).pt,
3420
- onChange: l
3421
- }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "stars", "cancel", "on-icon", "off-icon", "cancel-icon", "pt"])
3472
+ return O(), L("div", null, [
3473
+ F(u, {
3474
+ id: l(t).id,
3475
+ modelValue: l(t)._value,
3476
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => l(t)._value = c),
3477
+ disabled: l(n)._disabled ?? !1,
3478
+ readonly: l(n)._readonly ?? !1,
3479
+ style: ve(l(n).style),
3480
+ class: U(l(a)),
3481
+ tabindex: l(n).tabindex,
3482
+ "aria-label": l(n).ariaLabel,
3483
+ "aria-labelledby": l(n).ariaLabelledby,
3484
+ stars: l(n).stars ?? 5,
3485
+ cancel: l(n).cancel ?? !1,
3486
+ "on-icon": l(n).onIcon ?? "pi pi-star-fill",
3487
+ "off-icon": l(n).offIcon ?? "pi pi-star",
3488
+ "cancel-icon": l(n).cancelIcon ?? "pi pi-ban",
3489
+ pt: l(n).pt,
3490
+ "pt-options": l(n).ptOptions,
3491
+ unstyled: l(n).unstyled ?? !1,
3492
+ onChange: s
3493
+ }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "stars", "cancel", "on-icon", "off-icon", "cancel-icon", "pt", "pt-options", "unstyled"])
3422
3494
  ]);
3423
3495
  };
3424
3496
  }
3425
- }), Ra = /* @__PURE__ */ O({
3497
+ }), js = /* @__PURE__ */ P({
3426
3498
  __name: "PrimeSlider",
3427
3499
  props: {
3428
3500
  context: Object
3429
3501
  },
3430
3502
  setup(e) {
3431
3503
  const t = e.context, n = t == null ? void 0 : t.attrs;
3432
- function l(r) {
3504
+ function s(r) {
3433
3505
  t == null || t.node.input(r), t == null || t.handlers.blur(r);
3434
3506
  }
3435
- const s = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3507
+ const a = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3436
3508
  return (r, o) => {
3437
3509
  const u = j("Slider");
3438
- return P(), A("div", null, [
3439
- T(u, {
3440
- id: a(t).id,
3441
- modelValue: a(t)._value,
3442
- "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
3443
- disabled: a(n)._disabled ?? !1,
3444
- readonly: a(n)._readonly ?? !1,
3445
- style: ve(a(n).style),
3446
- class: U(a(s)),
3447
- tabindex: a(n).tabindex,
3448
- "aria-label": a(n).ariaLabel,
3449
- "aria-labelledby": a(n).ariaLabelledby,
3450
- min: a(n).min ?? 0,
3451
- max: a(n).max ?? 100,
3452
- step: a(n).step ?? void 0,
3453
- range: a(n).range ?? !1,
3454
- orientation: a(n).orientation ?? "horizontal",
3455
- pt: a(n).pt,
3456
- onChange: l
3457
- }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "min", "max", "step", "range", "orientation", "pt"])
3510
+ return O(), L("div", null, [
3511
+ F(u, {
3512
+ id: l(t).id,
3513
+ modelValue: l(t)._value,
3514
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => l(t)._value = c),
3515
+ disabled: l(n)._disabled ?? !1,
3516
+ readonly: l(n)._readonly ?? !1,
3517
+ style: ve(l(n).style),
3518
+ class: U(l(a)),
3519
+ tabindex: l(n).tabindex,
3520
+ "aria-label": l(n).ariaLabel,
3521
+ "aria-labelledby": l(n).ariaLabelledby,
3522
+ min: l(n).min ?? 0,
3523
+ max: l(n).max ?? 100,
3524
+ step: l(n).step ?? void 0,
3525
+ range: l(n).range ?? !1,
3526
+ orientation: l(n).orientation ?? "horizontal",
3527
+ pt: l(n).pt,
3528
+ "pt-options": l(n).ptOptions,
3529
+ unstyled: l(n).unstyled ?? !1,
3530
+ onChange: s
3531
+ }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "min", "max", "step", "range", "orientation", "pt", "pt-options", "unstyled"])
3458
3532
  ]);
3459
3533
  };
3460
3534
  }
3461
- }), ja = /* @__PURE__ */ O({
3535
+ }), Fs = /* @__PURE__ */ P({
3462
3536
  __name: "PrimeToggleButton",
3463
3537
  props: {
3464
3538
  context: Object
3465
3539
  },
3466
3540
  setup(e) {
3467
3541
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
3468
- function l(r) {
3542
+ function s(r) {
3469
3543
  var o;
3470
3544
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3471
3545
  }
3472
- const s = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3546
+ const a = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3473
3547
  return (r, o) => {
3474
3548
  const u = j("ToggleButton");
3475
- return P(), A("div", null, [
3476
- T(u, {
3477
- modelValue: a(t)._value,
3478
- "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
3479
- "input-id": a(t).id,
3480
- disabled: a(n)._disabled ?? !1,
3481
- readonly: a(n)._readonly ?? !1,
3482
- "input-style": a(n).style,
3483
- "input-class": a(s),
3484
- tabindex: a(n).tabindex,
3485
- "aria-label": a(n).ariaLabel,
3486
- "aria-labelledby": a(n).ariaLabelledby,
3487
- "on-label": a(n).onLabel ?? "Yes",
3488
- "off-label": a(n).offLabel ?? "No",
3489
- "on-icon": a(n).onIcon ?? "pi pi-check",
3490
- "off-icon": a(n).offIcon ?? "pi pi-times",
3491
- "icon-pos": a(n).iconPos ?? "left",
3492
- pt: a(n).pt,
3493
- onChange: l
3494
- }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "on-label", "off-label", "on-icon", "off-icon", "icon-pos", "pt"])
3549
+ return O(), L("div", null, [
3550
+ F(u, {
3551
+ modelValue: l(t)._value,
3552
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => l(t)._value = c),
3553
+ "input-id": l(t).id,
3554
+ disabled: l(n)._disabled ?? !1,
3555
+ readonly: l(n)._readonly ?? !1,
3556
+ "input-style": l(n).style,
3557
+ "input-class": l(a),
3558
+ tabindex: l(n).tabindex,
3559
+ "aria-label": l(n).ariaLabel,
3560
+ "aria-labelledby": l(n).ariaLabelledby,
3561
+ "on-label": l(n).onLabel ?? "Yes",
3562
+ "off-label": l(n).offLabel ?? "No",
3563
+ "on-icon": l(n).onIcon ?? "pi pi-check",
3564
+ "off-icon": l(n).offIcon ?? "pi pi-times",
3565
+ "icon-pos": l(n).iconPos ?? "left",
3566
+ pt: l(n).pt,
3567
+ "pt-options": l(n).ptOptions,
3568
+ unstyled: l(n).unstyled ?? !1,
3569
+ onChange: s
3570
+ }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "on-label", "off-label", "on-icon", "off-icon", "icon-pos", "pt", "pt-options", "unstyled"])
3495
3571
  ]);
3496
3572
  };
3497
3573
  }
3498
- }), Fa = /* @__PURE__ */ O({
3574
+ }), Ds = /* @__PURE__ */ P({
3499
3575
  __name: "PrimeSelectButton",
3500
3576
  props: {
3501
3577
  context: Object
3502
3578
  },
3503
3579
  setup(e) {
3504
3580
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
3505
- function l(r) {
3581
+ function s(r) {
3506
3582
  var o;
3507
3583
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3508
3584
  }
3509
- const s = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3585
+ const a = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3510
3586
  return (r, o) => {
3511
3587
  const u = j("SelectButton");
3512
- return P(), A("div", null, [
3513
- T(u, {
3514
- id: a(t).id,
3515
- modelValue: a(t)._value,
3516
- "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
3517
- disabled: a(n)._disabled ?? !1,
3518
- readonly: a(n)._readonly ?? !1,
3519
- style: ve(a(n).style),
3520
- class: U(a(s)),
3521
- tabindex: a(n).tabindex,
3522
- "aria-label": a(n).ariaLabel,
3523
- "aria-labelledby": a(n).ariaLabelledby,
3524
- options: a(n).options,
3525
- "option-label": a(n).optionLabel ?? "label",
3526
- "option-value": a(n).optionValue ?? "value",
3527
- "option-disabled": a(n).optionDisabled,
3528
- multiple: a(n).multiple ?? !1,
3529
- unselectable: a(n).unselectable ?? !0,
3530
- "data-key": a(n).dataKey,
3531
- pt: a(n).pt,
3532
- onChange: l
3533
- }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "options", "option-label", "option-value", "option-disabled", "multiple", "unselectable", "data-key", "pt"])
3588
+ return O(), L("div", null, [
3589
+ F(u, {
3590
+ id: l(t).id,
3591
+ modelValue: l(t)._value,
3592
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => l(t)._value = c),
3593
+ disabled: l(n)._disabled ?? !1,
3594
+ readonly: l(n)._readonly ?? !1,
3595
+ style: ve(l(n).style),
3596
+ class: U(l(a)),
3597
+ tabindex: l(n).tabindex,
3598
+ "aria-label": l(n).ariaLabel,
3599
+ "aria-labelledby": l(n).ariaLabelledby,
3600
+ options: l(n).options,
3601
+ "option-label": l(n).optionLabel ?? "label",
3602
+ "option-value": l(n).optionValue ?? "value",
3603
+ "option-disabled": l(n).optionDisabled,
3604
+ multiple: l(n).multiple ?? !1,
3605
+ unselectable: l(n).unselectable ?? !0,
3606
+ "data-key": l(n).dataKey,
3607
+ pt: l(n).pt,
3608
+ "pt-options": l(n).ptOptions,
3609
+ unstyled: l(n).unstyled ?? !1,
3610
+ onChange: s
3611
+ }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "options", "option-label", "option-value", "option-disabled", "multiple", "unselectable", "data-key", "pt", "pt-options", "unstyled"])
3534
3612
  ]);
3535
3613
  };
3536
3614
  }
3537
- }), Ta = {
3615
+ }), Ts = {
3538
3616
  key: 0,
3539
3617
  class: "formkit-prime-left"
3540
- }, Da = {
3618
+ }, Bs = {
3541
3619
  key: 1,
3542
3620
  class: "formkit-prime-right"
3543
- }, Ba = /* @__PURE__ */ O({
3621
+ }, zs = /* @__PURE__ */ P({
3544
3622
  __name: "PrimeTriStateCheckbox",
3545
3623
  props: {
3546
3624
  context: Object
3547
3625
  },
3548
3626
  setup(e) {
3549
3627
  const i = e, t = i.context, n = t == null ? void 0 : t.attrs;
3550
- function l(r) {
3628
+ function s(r) {
3551
3629
  var o;
3552
3630
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3553
3631
  }
3554
- const s = E(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3632
+ const a = x(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3555
3633
  return (r, o) => {
3556
3634
  const u = j("TriStateCheckbox");
3557
- return P(), A("div", null, [
3558
- a(t).attrs.labelLeft ? (P(), A("span", Ta, me(a(t).attrs.labelLeft), 1)) : re("", !0),
3559
- T(u, {
3560
- modelValue: a(t)._value,
3561
- "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
3562
- "input-id": a(t).id,
3563
- disabled: a(n)._disabled ?? !1,
3564
- readonly: a(n)._readonly ?? !1,
3565
- "input-style": a(n).style,
3566
- "input-class": a(s),
3567
- tabindex: a(n).tabindex,
3568
- "aria-label": a(n).ariaLabel,
3569
- "aria-labelledby": a(n).ariaLabelledby,
3570
- pt: a(n).pt,
3571
- onClick: l
3572
- }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "pt"]),
3573
- a(t).attrs.labelRight ? (P(), A("span", Da, me(a(t).attrs.labelRight), 1)) : re("", !0)
3635
+ return O(), L("div", null, [
3636
+ l(t).attrs.labelLeft ? (O(), L("span", Ts, me(l(t).attrs.labelLeft), 1)) : re("", !0),
3637
+ F(u, {
3638
+ modelValue: l(t)._value,
3639
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => l(t)._value = c),
3640
+ "input-id": l(t).id,
3641
+ disabled: l(n)._disabled ?? !1,
3642
+ readonly: l(n)._readonly ?? !1,
3643
+ "input-style": l(n).style,
3644
+ "input-class": l(a),
3645
+ tabindex: l(n).tabindex,
3646
+ "aria-label": l(n).ariaLabel,
3647
+ "aria-labelledby": l(n).ariaLabelledby,
3648
+ pt: l(n).pt,
3649
+ "pt-options": l(n).ptOptions,
3650
+ unstyled: l(n).unstyled ?? !1,
3651
+ onClick: s
3652
+ }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "pt", "pt-options", "unstyled"]),
3653
+ l(t).attrs.labelRight ? (O(), L("span", Bs, me(l(t).attrs.labelRight), 1)) : re("", !0)
3574
3654
  ]);
3575
3655
  };
3576
3656
  }
3577
- }), za = D(Va, {
3657
+ }), Us = D(ds, {
3658
+ props: []
3659
+ }), Ks = D(Is, {
3578
3660
  props: ["iconRight", "iconLeft"]
3579
- }), Ua = D(wa, {
3661
+ }), Ns = D(ks, {
3580
3662
  props: ["iconRight", "iconLeft"]
3581
- }), Ka = D($a, {
3663
+ }), Ws = D(ws, {
3582
3664
  props: []
3583
- }), Na = D(Oa, {
3665
+ }), Hs = D(xs, {
3584
3666
  props: ["feedback", "toggleMask"]
3585
- }), Wa = D(Ia, {
3667
+ }), qs = D(Os, {
3586
3668
  props: ["rows"]
3587
- }), Ha = D(ya, {
3669
+ }), Zs = D(vs, {
3588
3670
  props: []
3589
- }), qa = D(Sa, {
3671
+ }), Js = D(Vs, {
3590
3672
  props: []
3591
- }), Za = D(ga, {
3673
+ }), Ys = D($s, {
3592
3674
  props: []
3593
- }), Ja = D(_a, {
3675
+ }), Qs = D(gs, {
3594
3676
  props: []
3595
- }), Ya = D(Pa, {
3677
+ }), Xs = D(As, {
3596
3678
  props: []
3597
- }), Qa = D(Aa, {
3679
+ }), Gs = D(Ps, {
3598
3680
  props: []
3599
- }), Xa = D(da, {
3681
+ }), ea = D(ms, {
3600
3682
  props: []
3601
- }), Ga = D(Ra, {
3683
+ }), ta = D(js, {
3602
3684
  props: []
3603
- }), es = D(Ea, {
3685
+ }), na = D(Rs, {
3604
3686
  props: []
3605
- }), ts = D(Ma, {
3687
+ }), ia = D(Es, {
3606
3688
  props: []
3607
- }), ns = D(va, {
3689
+ }), la = D(hs, {
3608
3690
  props: []
3609
- }), is = D(La, {
3691
+ }), sa = D(Ls, {
3610
3692
  props: []
3611
- }), ls = D(ha, {
3693
+ }), aa = D(_s, {
3612
3694
  props: []
3613
- }), as = D(ja, {
3695
+ }), ra = D(Fs, {
3614
3696
  props: []
3615
- }), ss = D(Fa, {
3697
+ }), oa = D(Ds, {
3616
3698
  props: []
3617
- }), rs = D(Ba, {
3699
+ }), ua = D(zs, {
3618
3700
  props: []
3619
- }), us = {
3620
- primeInputText: za,
3621
- primeInputNumber: Ua,
3622
- primeInputMask: Ka,
3623
- primePassword: Na,
3624
- primeCheckbox: Ha,
3625
- primeInputSwitch: qa,
3626
- primeTextarea: Wa,
3627
- primeEditor: Za,
3628
- primeDropdown: Ja,
3629
- primeMultiSelect: Ya,
3630
- primeCalendar: Xa,
3631
- primeSlider: Ga,
3632
- primeChips: ns,
3633
- primeKnob: is,
3634
- primeRating: es,
3635
- primeRadioButton: ts,
3636
- primeColorPicker: ls,
3637
- primeToggleButton: as,
3638
- primeListbox: Qa,
3639
- primeSelectButton: ss,
3640
- primeTriStateCheckbox: rs
3701
+ }), pa = {
3702
+ primeAutoComplete: Us,
3703
+ primeInputText: Ks,
3704
+ primeInputNumber: Ns,
3705
+ primeInputMask: Ws,
3706
+ primePassword: Hs,
3707
+ primeCheckbox: Zs,
3708
+ primeInputSwitch: Js,
3709
+ primeTextarea: qs,
3710
+ primeEditor: Ys,
3711
+ primeDropdown: Qs,
3712
+ primeMultiSelect: Xs,
3713
+ primeCalendar: ea,
3714
+ primeSlider: ta,
3715
+ primeChips: la,
3716
+ primeKnob: sa,
3717
+ primeRating: na,
3718
+ primeRadioButton: ia,
3719
+ primeColorPicker: aa,
3720
+ primeToggleButton: ra,
3721
+ primeListbox: Gs,
3722
+ primeSelectButton: oa,
3723
+ primeTriStateCheckbox: ua
3641
3724
  };
3642
3725
  export {
3643
- Xa as primeCalendarDefinition,
3644
- Ha as primeCheckboxDefinition,
3645
- ns as primeChipsDefinition,
3646
- ls as primeColorPickerDefinition,
3647
- Ja as primeDropdownDefinition,
3648
- Za as primeEditorDefinition,
3649
- Ka as primeInputMaskDefinition,
3650
- Ua as primeInputNumberDefinition,
3651
- qa as primeInputSwitchDefinition,
3652
- za as primeInputTextDefinition,
3653
- us as primeInputs,
3654
- is as primeKnobDefinition,
3655
- Qa as primeListboxDefinition,
3656
- Ya as primeMultiSelectDefinition,
3657
- Na as primePasswordDefinition,
3658
- ts as primeRadioButtonDefinition,
3659
- es as primeRatingDefinition,
3660
- ss as primeSelectButtonDefinition,
3661
- Ga as primeSliderDefinition,
3662
- Wa as primeTextareaDefinition,
3663
- as as primeToggleButtonDefinition,
3664
- rs as primeTriStateCheckboxDefinition
3726
+ Us as primeAutoCompleteDefinition,
3727
+ ea as primeCalendarDefinition,
3728
+ Zs as primeCheckboxDefinition,
3729
+ la as primeChipsDefinition,
3730
+ aa as primeColorPickerDefinition,
3731
+ Qs as primeDropdownDefinition,
3732
+ Ys as primeEditorDefinition,
3733
+ Ws as primeInputMaskDefinition,
3734
+ Ns as primeInputNumberDefinition,
3735
+ Js as primeInputSwitchDefinition,
3736
+ Ks as primeInputTextDefinition,
3737
+ pa as primeInputs,
3738
+ sa as primeKnobDefinition,
3739
+ Gs as primeListboxDefinition,
3740
+ Xs as primeMultiSelectDefinition,
3741
+ Hs as primePasswordDefinition,
3742
+ ia as primeRadioButtonDefinition,
3743
+ na as primeRatingDefinition,
3744
+ oa as primeSelectButtonDefinition,
3745
+ ta as primeSliderDefinition,
3746
+ qs as primeTextareaDefinition,
3747
+ ra as primeToggleButtonDefinition,
3748
+ ua as primeTriStateCheckboxDefinition
3665
3749
  };