@sfxcode/formkit-primevue 1.2.4 → 1.2.9

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,5 +1,5 @@
1
- import { defineComponent as M, getCurrentInstance as st, watch as pe, watchEffect as ee, reactive as _n, onUnmounted as gn, ref as ne, provide as zt, h as we, computed as R, inject as he, onMounted as $n, toRef as wn, onBeforeUnmount as kn, markRaw as Cn, isRef as Sn, createTextVNode as Vn, resolveComponent as F, openBlock as L, createElementBlock as P, createVNode as D, unref as a, toDisplayString as de, createCommentVNode as oe, normalizeStyle as be, normalizeClass as U, createElementVNode as Ut, Fragment as In, renderList as Ln } from "vue";
2
- const Kt = [
1
+ import { defineComponent as M, getCurrentInstance as st, watch as ce, watchEffect as ee, reactive as $n, onUnmounted as wn, ref as ne, provide as Kt, h as we, computed as E, inject as he, onMounted as kn, toRef as Cn, onBeforeUnmount as Sn, markRaw as Vn, isRef as In, createTextVNode as Ln, resolveComponent as j, openBlock as L, createElementBlock as P, createVNode as D, unref as a, toDisplayString as pe, createCommentVNode as re, normalizeStyle as be, normalizeClass as U, createElementVNode as Nt, Fragment as Pn, renderList as An } from "vue";
2
+ const Wt = [
3
3
  "__key",
4
4
  "__init",
5
5
  "__shim",
@@ -10,14 +10,14 @@ const Kt = [
10
10
  function Ye() {
11
11
  return Math.random().toString(36).substring(2, 15);
12
12
  }
13
- function Pn(e, i) {
13
+ function On(e, i) {
14
14
  const t = e instanceof Set ? e : new Set(e);
15
15
  return i && i.forEach((n) => t.add(n)), [...t];
16
16
  }
17
- function j(e, i) {
17
+ function F(e, i) {
18
18
  return Object.prototype.hasOwnProperty.call(e, i);
19
19
  }
20
- function fe(e, i, t = !0, n = ["__key"]) {
20
+ function ue(e, i, t = !0, n = ["__key"]) {
21
21
  if (e === i)
22
22
  return !0;
23
23
  if (typeof i == "object" && typeof e == "object") {
@@ -26,20 +26,20 @@ function fe(e, i, t = !0, n = ["__key"]) {
26
26
  if (e instanceof Date && i instanceof Date)
27
27
  return e.getTime() === i.getTime();
28
28
  if (e instanceof RegExp && i instanceof RegExp)
29
- return An(e, i);
29
+ return xn(e, i);
30
30
  if (e === null || i === null || Object.keys(e).length !== Object.keys(i).length)
31
31
  return !1;
32
32
  for (const l of n)
33
33
  if ((l in e || l in i) && e[l] !== i[l])
34
34
  return !1;
35
35
  for (const l in e)
36
- if (!(l in i) || e[l] !== i[l] && !t || t && !fe(e[l], i[l], t, n))
36
+ if (!(l in i) || e[l] !== i[l] && !t || t && !ue(e[l], i[l], t, n))
37
37
  return !1;
38
38
  return !0;
39
39
  }
40
40
  return !1;
41
41
  }
42
- function An(e, i) {
42
+ function xn(e, i) {
43
43
  return e.source === i.source && e.flags.split("").sort().join("") === i.flags.split("").sort().join("");
44
44
  }
45
45
  function et(e) {
@@ -81,7 +81,7 @@ function Qe(e, i, t = !1, n = !1) {
81
81
  if (typeof i == "string")
82
82
  return i;
83
83
  for (const s in e)
84
- if (j(i, s) && (i[s] !== void 0 || !n)) {
84
+ if (F(i, s) && (i[s] !== void 0 || !n)) {
85
85
  if (t && Array.isArray(e[s]) && Array.isArray(i[s])) {
86
86
  l[s] = e[s].concat(i[s]);
87
87
  continue;
@@ -92,10 +92,10 @@ function Qe(e, i, t = !1, n = !1) {
92
92
  } else
93
93
  l[s] = e[s];
94
94
  for (const s in i)
95
- !j(l, s) && i[s] !== void 0 && (l[s] = i[s]);
95
+ !F(l, s) && i[s] !== void 0 && (l[s] = i[s]);
96
96
  return l;
97
97
  }
98
- function On(e) {
98
+ function Mn(e) {
99
99
  if (e[0] !== '"' && e[0] !== "'" || e[0] !== e[e.length - 1])
100
100
  return !1;
101
101
  const i = e[0];
@@ -104,7 +104,7 @@ function On(e) {
104
104
  return !1;
105
105
  return !0;
106
106
  }
107
- function xn(e) {
107
+ function Rn(e) {
108
108
  if (!e.length)
109
109
  return "";
110
110
  let i = "", t = "";
@@ -120,7 +120,7 @@ function ye(...e) {
120
120
  return Object.assign(i, u);
121
121
  }, {});
122
122
  }
123
- function Mn(e) {
123
+ function En(e) {
124
124
  const i = [];
125
125
  let t = "", n = 0, l = "", s = "";
126
126
  for (let r = 0; r < e.length; r++) {
@@ -129,13 +129,13 @@ function Mn(e) {
129
129
  }
130
130
  return t && i.push(t), i;
131
131
  }
132
- function Ct(e, i) {
132
+ function St(e, i) {
133
133
  const t = {}, n = i.filter((s) => s instanceof RegExp), l = new Set(i);
134
134
  for (const s in e)
135
135
  !l.has(s) && !n.some((r) => r.test(s)) && (t[s] = e[s]);
136
136
  return t;
137
137
  }
138
- function St(e, i) {
138
+ function Vt(e, i) {
139
139
  const t = {}, n = i.filter((l) => l instanceof RegExp);
140
140
  return i.forEach((l) => {
141
141
  l instanceof RegExp || (t[l] = e[l]);
@@ -146,22 +146,22 @@ function St(e, i) {
146
146
  function De(e) {
147
147
  return e.replace(/-([a-z0-9])/gi, (i, t) => t.toUpperCase());
148
148
  }
149
- function Wt(e) {
149
+ function Ht(e) {
150
150
  return e.replace(/([a-z0-9])([A-Z])/g, (i, t, n) => t + "-" + n.toLowerCase()).replace(" ", "-").toLowerCase();
151
151
  }
152
- function En(e, i = Kt) {
152
+ function jn(e, i = Wt) {
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 jn(e, t, i), t;
156
+ return Dn(e, t, i), t;
157
157
  }
158
158
  return e;
159
159
  }
160
- function Ee(e, i = Kt) {
160
+ function Re(e, i = Wt) {
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" ? Ee(n, i) : n) : t = Object.keys(e).reduce((n, l) => (n[l] = typeof e[l] == "object" ? Ee(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, l) => (n[l] = typeof e[l] == "object" ? Re(e[l], i) : e[l], n), {});
165
165
  for (const n of i)
166
166
  n in e && Object.defineProperty(t, n, {
167
167
  enumerable: !1,
@@ -169,17 +169,17 @@ function Ee(e, i = Kt) {
169
169
  });
170
170
  return t;
171
171
  }
172
- function me(e) {
173
- return typeof e == "object" ? Ee(e) : e;
172
+ function de(e) {
173
+ return typeof e == "object" ? Re(e) : e;
174
174
  }
175
- function Rn(e, i) {
175
+ function Fn(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
180
  for (const l in t) {
181
181
  const s = t[l];
182
- if (j(n, s) && (n = n[s]), +l === t.length - 1)
182
+ if (F(n, s) && (n = n[s]), +l === t.length - 1)
183
183
  return n;
184
184
  if (!n || typeof n != "object")
185
185
  return null;
@@ -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 jn(e, i, t) {
201
+ function Dn(e, i, t) {
202
202
  for (const n of t)
203
203
  n in e && Object.defineProperty(i, n, {
204
204
  enumerable: !1,
@@ -206,7 +206,7 @@ function jn(e, i, t) {
206
206
  });
207
207
  return i;
208
208
  }
209
- function Fn(e) {
209
+ function Tn(e) {
210
210
  let i = !1;
211
211
  return (...t) => {
212
212
  if (!i)
@@ -218,14 +218,14 @@ function mt() {
218
218
  let i = 0;
219
219
  const t = (l) => e.push(l), n = (l) => {
220
220
  const s = e[i];
221
- return typeof s == "function" ? s(l, (r) => (i++, n(r === void 0 ? l : r))) : (i = 0, l);
221
+ return typeof s == "function" ? s(l, (r) => (i++, n(r))) : (i = 0, l);
222
222
  };
223
223
  return t.dispatch = n, t.unshift = (l) => e.unshift(l), t.remove = (l) => {
224
224
  const s = e.indexOf(l);
225
225
  s > -1 && e.splice(s, 1);
226
226
  }, t;
227
227
  }
228
- function Nt() {
228
+ function qt() {
229
229
  const e = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
230
230
  let t;
231
231
  const n = (l, s) => {
@@ -262,7 +262,7 @@ function Nt() {
262
262
  t = void 0, s.forEach(([r, o]) => n(r, o)), l && l.walk((r) => r._e.play());
263
263
  }, n;
264
264
  }
265
- function Dn(e, i, t, n, l = !0, s) {
265
+ function Bn(e, i, t, n, l = !0, s) {
266
266
  return i._e(e, {
267
267
  payload: n,
268
268
  name: t,
@@ -271,13 +271,13 @@ function Dn(e, i, t, n, l = !0, s) {
271
271
  meta: s
272
272
  }), e;
273
273
  }
274
- function Tn(e, i, t) {
274
+ function zn(e, i, t) {
275
275
  return Xe(e.parent) && e.parent._e(e.parent, t), e;
276
276
  }
277
- function Bn(e, i, t, n) {
277
+ function Un(e, i, t, n) {
278
278
  return i._e.on(t, n);
279
279
  }
280
- function zn(e, i, t) {
280
+ function Kn(e, i, t) {
281
281
  return i._e.off(t), e;
282
282
  }
283
283
  const bt = mt();
@@ -288,13 +288,13 @@ 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 Re(e, i = {}) {
291
+ function Ee(e, i = {}) {
292
292
  yt.dispatch({ code: e, data: i });
293
293
  }
294
294
  function H(e, i = {}) {
295
295
  throw Error(bt.dispatch({ code: e, data: i }).message);
296
296
  }
297
- function ue(e, i) {
297
+ function oe(e, i) {
298
298
  const t = {
299
299
  blocking: !1,
300
300
  key: Ye(),
@@ -305,16 +305,16 @@ function ue(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 Vt = {
309
- apply: qn,
310
- set: Kn,
311
- remove: Ht,
312
- filter: Nn,
313
- reduce: Hn,
314
- release: Yn,
315
- touch: Wn
308
+ const It = {
309
+ apply: Jn,
310
+ set: Wn,
311
+ remove: Zt,
312
+ filter: qn,
313
+ reduce: Zn,
314
+ release: Xn,
315
+ touch: Hn
316
316
  };
317
- function Un(e = !1) {
317
+ function Nn(e = !1) {
318
318
  const i = {};
319
319
  let t, n = e, l = [];
320
320
  const s = /* @__PURE__ */ new Map();
@@ -322,15 +322,15 @@ function Un(e = !1) {
322
322
  const o = new Proxy(i, {
323
323
  get(...u) {
324
324
  const [p, _] = u;
325
- return _ === "buffer" ? n : _ === "_b" ? l : _ === "_m" ? s : _ === "_r" ? r : j(Vt, _) ? Vt[_].bind(null, i, o, t) : Reflect.get(...u);
325
+ return _ === "buffer" ? n : _ === "_b" ? l : _ === "_m" ? s : _ === "_r" ? r : F(It, _) ? It[_].bind(null, i, o, t) : Reflect.get(...u);
326
326
  },
327
327
  set(u, p, _) {
328
- return p === "_n" ? (t = _, r === "__n" && qt(t, o), !0) : p === "_b" ? (l = _, !0) : p === "buffer" ? (n = _, !0) : p === "_r" ? (r = _, !0) : (H(101, t), !1);
328
+ return p === "_n" ? (t = _, r === "__n" && Jt(t, o), !0) : p === "_b" ? (l = _, !0) : p === "buffer" ? (n = _, !0) : p === "_r" ? (r = _, !0) : (H(101, t), !1);
329
329
  }
330
330
  });
331
331
  return o;
332
332
  }
333
- function Kn(e, i, t, n) {
333
+ function Wn(e, i, t, n) {
334
334
  if (i.buffer)
335
335
  return i._b.push([[n]]), i;
336
336
  if (e[n.key] !== n) {
@@ -338,38 +338,38 @@ function Kn(e, i, t, n) {
338
338
  const s = n.value;
339
339
  n.value = t.t(n), n.value !== s && (n.meta.locale = t.props.locale);
340
340
  }
341
- const l = `message-${j(e, n.key) ? "updated" : "added"}`;
341
+ const l = `message-${F(e, n.key) ? "updated" : "added"}`;
342
342
  e[n.key] = Object.freeze(t.hook.message.dispatch(n)), t.emit(l, n);
343
343
  }
344
344
  return i;
345
345
  }
346
- function Wn(e, i) {
346
+ function Hn(e, i) {
347
347
  for (const t in e) {
348
348
  const n = { ...e[t] };
349
349
  i.set(n);
350
350
  }
351
351
  }
352
- function Ht(e, i, t, n) {
353
- if (j(e, n)) {
352
+ function Zt(e, i, t, n) {
353
+ if (F(e, n)) {
354
354
  const l = e[n];
355
355
  delete e[n], t.emit("message-removed", l);
356
356
  }
357
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;
358
358
  }
359
- function Nn(e, i, t, n, l) {
359
+ function qn(e, i, t, n, l) {
360
360
  for (const s in e) {
361
361
  const r = e[s];
362
- (!l || r.type === l) && !n(r) && Ht(e, i, t, s);
362
+ (!l || r.type === l) && !n(r) && Zt(e, i, t, s);
363
363
  }
364
364
  }
365
- function Hn(e, i, t, n, l) {
365
+ function Zn(e, i, t, n, l) {
366
366
  for (const s in e) {
367
367
  const r = e[s];
368
368
  l = n(l, r);
369
369
  }
370
370
  return l;
371
371
  }
372
- function qn(e, i, t, n, l) {
372
+ function Jn(e, i, t, n, l) {
373
373
  if (Array.isArray(n)) {
374
374
  if (i.buffer) {
375
375
  i._b.push([n, l]);
@@ -380,11 +380,11 @@ function qn(e, i, t, n, l) {
380
380
  } else
381
381
  for (const s in n) {
382
382
  const r = t.at(s);
383
- r ? r.store.apply(n[s], l) : Jn(t, i, s, n[s], l);
383
+ r ? r.store.apply(n[s], l) : Qn(t, i, s, n[s], l);
384
384
  }
385
385
  }
386
- function Zn(e, ...i) {
387
- const t = `${e.name}-set`, n = (l) => ue({
386
+ function Yn(e, ...i) {
387
+ const t = `${e.name}-set`, n = (l) => oe({
388
388
  key: dt(l),
389
389
  type: "error",
390
390
  value: l,
@@ -401,12 +401,12 @@ function Zn(e, ...i) {
401
401
  }
402
402
  });
403
403
  }
404
- function Jn(e, i, t, n, l) {
404
+ function Qn(e, i, t, n, l) {
405
405
  var s;
406
406
  const r = i._m;
407
- r.has(t) || r.set(t, []), i._r || (i._r = qt(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 = Jt(e, i)), (s = r.get(t)) === null || s === void 0 || s.push([n, l]);
408
408
  }
409
- function qt(e, i) {
409
+ function Jt(e, i) {
410
410
  return e.on("child.deep", ({ payload: t }) => {
411
411
  i._m.forEach((n, l) => {
412
412
  e.at(l) === t && (n.forEach(([s, r]) => {
@@ -415,29 +415,29 @@ function qt(e, i) {
415
415
  }), i._m.size === 0 && i._r && (e.off(i._r), i._r = void 0);
416
416
  });
417
417
  }
418
- function Yn(e, i) {
418
+ function Xn(e, i) {
419
419
  i.buffer = !1, i._b.forEach(([t, n]) => i.apply(t, n)), i._b = [];
420
420
  }
421
- function Qn() {
421
+ function Gn() {
422
422
  const e = {};
423
423
  let i;
424
424
  return {
425
- count: (...t) => Xn(i, e, ...t),
425
+ count: (...t) => ei(i, e, ...t),
426
426
  init(t) {
427
- i = t, t.on("message-added.deep", It(e, 1)), t.on("message-removed.deep", It(e, -1));
427
+ i = t, t.on("message-added.deep", Lt(e, 1)), t.on("message-removed.deep", Lt(e, -1));
428
428
  },
429
- merge: (t) => Lt(i, e, t),
429
+ merge: (t) => Pt(i, e, t),
430
430
  settled(t) {
431
- return j(e, t) ? e[t].promise : Promise.resolve();
431
+ return F(e, t) ? e[t].promise : Promise.resolve();
432
432
  },
433
- unmerge: (t) => Lt(i, e, t, !0),
433
+ unmerge: (t) => Pt(i, e, t, !0),
434
434
  value(t) {
435
- return j(e, t) ? e[t].count : 0;
435
+ return F(e, t) ? e[t].count : 0;
436
436
  }
437
437
  };
438
438
  }
439
- function Xn(e, i, t, n, l = 0) {
440
- if (n = Gn(n || t), !j(i, t)) {
439
+ function ei(e, i, t, n, l = 0) {
440
+ if (n = ti(n || t), !F(i, t)) {
441
441
  const s = {
442
442
  condition: n,
443
443
  count: 0,
@@ -452,24 +452,24 @@ function Xn(e, i, t, n, l = 0) {
452
452
  r.ledger.count(s.name, s.condition), l += r.ledger.value(s.name);
453
453
  });
454
454
  }
455
- return Zt(i[t], l).promise;
455
+ return Yt(i[t], l).promise;
456
456
  }
457
- function Gn(e) {
457
+ function ti(e) {
458
458
  return typeof e == "function" ? e : (i) => i.type === e;
459
459
  }
460
- function Zt(e, i) {
460
+ function Yt(e, i) {
461
461
  const t = e.count, n = e.count + i;
462
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;
463
463
  }
464
- function It(e, i) {
464
+ function Lt(e, i) {
465
465
  return (t) => {
466
466
  for (const n in e) {
467
467
  const l = e[n];
468
- l.condition(t.payload) && Zt(l, i);
468
+ l.condition(t.payload) && Yt(l, i);
469
469
  }
470
470
  };
471
471
  }
472
- function Lt(e, i, t, n = !1) {
472
+ function Pt(e, i, t, n = !1) {
473
473
  const l = e;
474
474
  for (const s in i) {
475
475
  const r = i[s].condition;
@@ -483,8 +483,8 @@ function Lt(e, i, t, n = !1) {
483
483
  }
484
484
  }
485
485
  }
486
- const vt = /* @__PURE__ */ new Map(), Te = /* @__PURE__ */ new Map(), ht = Nt(), ei = [];
487
- function ti(e) {
486
+ const vt = /* @__PURE__ */ new Map(), Te = /* @__PURE__ */ new Map(), ht = qt(), ni = [];
487
+ function ii(e) {
488
488
  e.props.id && (vt.set(e.props.id, e), Te.set(e, e.props.id), ht(e, {
489
489
  payload: e,
490
490
  name: e.props.id,
@@ -492,7 +492,7 @@ function ti(e) {
492
492
  origin: e
493
493
  }));
494
494
  }
495
- function ni(e) {
495
+ function li(e) {
496
496
  if (Te.has(e)) {
497
497
  const i = Te.get(e);
498
498
  Te.delete(e), vt.delete(i), ht(e, {
@@ -503,26 +503,26 @@ function ni(e) {
503
503
  });
504
504
  }
505
505
  }
506
- function Jt(e) {
506
+ function Qt(e) {
507
507
  return vt.get(e);
508
508
  }
509
- function ii(e, i) {
510
- ei.push(ht.on(e, i));
509
+ function ai(e, i) {
510
+ ni.push(ht.on(e, i));
511
511
  }
512
- function Pt(e, i, t) {
512
+ function At(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
  }
516
- function li(e) {
516
+ function si(e) {
517
517
  const i = document.getElementById(e);
518
518
  if (i instanceof HTMLFormElement) {
519
519
  const t = new Event("submit", { cancelable: !0, bubbles: !0 });
520
520
  i.dispatchEvent(t);
521
521
  return;
522
522
  }
523
- Re(151, e);
523
+ Ee(151, e);
524
524
  }
525
- function ai(e) {
525
+ function ri(e) {
526
526
  const i = (t) => {
527
527
  for (const n in t.store) {
528
528
  const l = t.store[n];
@@ -531,27 +531,27 @@ function ai(e) {
531
531
  };
532
532
  i(e), e.walk(i);
533
533
  }
534
- function si(e, i) {
535
- const t = typeof e == "string" ? Jt(e) : e;
534
+ function oi(e, i) {
535
+ const t = typeof e == "string" ? Qt(e) : e;
536
536
  if (t) {
537
- const n = (r) => me(r.props.initial) || (r.type === "group" ? {} : r.type === "list" ? [] : void 0);
537
+ const n = (r) => de(r.props.initial) || (r.type === "group" ? {} : r.type === "list" ? [] : void 0);
538
538
  t._e.pause(t);
539
- const l = me(i);
539
+ const l = de(i);
540
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) => {
541
541
  r.type === "list" && r.sync || r.input(n(r), !1);
542
542
  }), t.input(et(l) && l ? l : 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
- }), t._e.play(t), ai(t), t.emit("reset", t), t;
544
+ }), t._e.play(t), ri(t), t.emit("reset", t), t;
545
545
  }
546
- Re(152, e);
546
+ Ee(152, e);
547
547
  }
548
- const ri = {
548
+ const ui = {
549
549
  delimiter: ".",
550
550
  delay: 0,
551
551
  locale: "en",
552
- rootClasses: (e) => ({ [`formkit-${Wt(e)}`]: !0 })
553
- }, Yt = Symbol("index"), ot = Symbol("removed"), ut = Symbol("moved"), Qt = Symbol("inserted");
554
- function oi(e) {
552
+ rootClasses: (e) => ({ [`formkit-${Ht(e)}`]: !0 })
553
+ }, Xt = Symbol("index"), ot = Symbol("removed"), ut = Symbol("moved"), Gt = Symbol("inserted");
554
+ function fi(e) {
555
555
  return e.type === "list" && Array.isArray(e._value);
556
556
  }
557
557
  function Xe(e) {
@@ -559,43 +559,43 @@ function Xe(e) {
559
559
  }
560
560
  const Be = (e, i, t) => {
561
561
  H(102, [e, t]);
562
- }, ui = {
563
- _c: V(Ai, Be, !1),
564
- add: V(wi),
565
- addProps: V($i),
566
- address: V(xi, Be, !1),
567
- at: V(Mi),
568
- bubble: V(Tn),
569
- clearErrors: V(zi),
570
- calm: V(hi),
562
+ }, ci = {
563
+ _c: V(xi, Be, !1),
564
+ add: V(Ci),
565
+ addProps: V(ki),
566
+ address: V(Ri, Be, !1),
567
+ at: V(Ei),
568
+ bubble: V(zn),
569
+ clearErrors: V(Ki),
570
+ calm: V(gi),
571
571
  config: V(!1),
572
- define: V(gi),
573
- disturb: V(vi),
574
- destroy: V(_i),
572
+ define: V(wi),
573
+ disturb: V(_i),
574
+ destroy: V($i),
575
575
  extend: V(Wi),
576
- hydrate: V(bi),
577
- index: V(Pi, Li, !1),
578
- input: V(en),
579
- each: V(Si),
580
- emit: V(Dn),
581
- find: V(Ri),
582
- on: V(Bn),
583
- off: V(zn),
584
- parent: V(!1, ki),
576
+ hydrate: V(vi),
577
+ index: V(Oi, Ai, !1),
578
+ input: V(nn),
579
+ each: V(Ii),
580
+ emit: V(Bn),
581
+ find: V(Fi),
582
+ on: V(Un),
583
+ off: V(Kn),
584
+ parent: V(!1, Si),
585
585
  plugins: V(!1),
586
- remove: V(Ci),
587
- root: V(Fi, Be, !1),
588
- reset: V(Bi),
589
- resetConfig: V(Ii),
590
- setErrors: V(ln),
591
- submit: V(Ti),
592
- t: V(Di),
586
+ remove: V(Vi),
587
+ root: V(Ti, Be, !1),
588
+ reset: V(Ui),
589
+ resetConfig: V(Pi),
590
+ setErrors: V(sn),
591
+ submit: V(zi),
592
+ t: V(Bi),
593
593
  use: V(_t),
594
- name: V(Oi, !1, !1),
595
- walk: V(Vi)
594
+ name: V(Mi, !1, !1),
595
+ walk: V(Li)
596
596
  };
597
- function fi() {
598
- return new Map(Object.entries(ui));
597
+ function pi() {
598
+ return new Map(Object.entries(ci));
599
599
  }
600
600
  function V(e, i, t = !0) {
601
601
  return {
@@ -603,7 +603,7 @@ function V(e, i, t = !0) {
603
603
  set: i !== void 0 ? i : Be.bind(null)
604
604
  };
605
605
  }
606
- function ci() {
606
+ function di() {
607
607
  const e = /* @__PURE__ */ new Map();
608
608
  return new Proxy(e, {
609
609
  get(i, t) {
@@ -611,18 +611,18 @@ function ci() {
611
611
  }
612
612
  });
613
613
  }
614
- let Xt = 0, pi = 0;
615
- function di(e) {
614
+ let en = 0, mi = 0;
615
+ function bi(e) {
616
616
  var i, t;
617
- return ((i = e.parent) === null || i === void 0 ? void 0 : i.type) === "list" ? Yt : e.name || `${((t = e.props) === null || t === void 0 ? void 0 : t.type) || "input"}_${++Xt}`;
617
+ return ((i = e.parent) === null || i === void 0 ? void 0 : i.type) === "list" ? Xt : e.name || `${((t = e.props) === null || t === void 0 ? void 0 : t.type) || "input"}_${++en}`;
618
618
  }
619
- function Gt(e) {
619
+ function tn(e) {
620
620
  return e.type === "group" ? Ce(e.value && typeof e.value == "object" && !Array.isArray(e.value) ? e.value : {}) : e.type === "list" ? Ce(Array.isArray(e.value) ? e.value : []) : e.value;
621
621
  }
622
- function en(e, i, t, n = !0) {
623
- return i._value = mi(e, e.hook.input.dispatch(t)), e.emit("input", i._value), e.isCreated && e.type === "input" && fe(i._value, i.value) ? (e.emit("commitRaw", i.value), i.settled) : (i.isSettled && e.disturb(), n ? (i._tmo && clearTimeout(i._tmo), i._tmo = setTimeout(Ke, e.props.delay, e, i)) : Ke(e, i), i.settled);
622
+ function nn(e, i, t, n = !0) {
623
+ return i._value = yi(e, e.hook.input.dispatch(t)), e.emit("input", i._value), e.isCreated && e.type === "input" && ue(i._value, i.value) ? (e.emit("commitRaw", i.value), i.settled) : (i.isSettled && e.disturb(), n ? (i._tmo && clearTimeout(i._tmo), i._tmo = setTimeout(Ke, e.props.delay, e, i)) : Ke(e, i), i.settled);
624
624
  }
625
- function mi(e, i) {
625
+ function yi(e, i) {
626
626
  switch (e.type) {
627
627
  case "input":
628
628
  break;
@@ -638,30 +638,30 @@ function mi(e, i) {
638
638
  function Ke(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 tn(e, { name: i, value: t, from: n }) {
641
+ function ln(e, { name: i, value: t, from: n }) {
642
642
  if (!Object.isFrozen(e._value)) {
643
- if (oi(e)) {
643
+ if (fi(e)) {
644
644
  const l = t === ot ? [] : t === ut && typeof n == "number" ? e._value.splice(n, 1) : [t];
645
- e._value.splice(i, t === ut || n === Qt ? 0 : 1, ...l);
645
+ e._value.splice(i, t === ut || n === Gt ? 0 : 1, ...l);
646
646
  return;
647
647
  }
648
648
  t !== ot ? e._value[i] = t : delete e._value[i];
649
649
  }
650
650
  }
651
- function bi(e, i) {
651
+ function vi(e, i) {
652
652
  const t = i._value;
653
- return e.type === "list" && e.sync && yi(e, i), i.children.forEach((n) => {
653
+ return e.type === "list" && e.sync && hi(e, i), i.children.forEach((n) => {
654
654
  if (typeof t == "object")
655
655
  if (n.name in t) {
656
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) && fe(l, n._value))
657
+ if (!n.isSettled || !xe(l) && ue(l, n._value))
658
658
  return;
659
659
  n.input(l, !1);
660
660
  } else
661
- (e.type !== "list" || typeof n.name == "number") && tn(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") && ln(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
- function yi(e, i) {
664
+ function hi(e, i) {
665
665
  const t = e._value;
666
666
  if (!Array.isArray(t))
667
667
  return;
@@ -690,41 +690,41 @@ function yi(e, i) {
690
690
  n[u] = o, l.delete(o);
691
691
  }
692
692
  r.forEach((o, u) => {
693
- n[o] = Zi({ value: u });
693
+ n[o] = Ji({ value: u });
694
694
  }), l.size && l.forEach((o) => {
695
695
  if (!("__FKP" in o)) {
696
696
  const u = o._c.parent;
697
- if (!u || Ji(u))
697
+ if (!u || Yi(u))
698
698
  return;
699
699
  u.ledger.unmerge(o), o._c.parent = null, o.destroy();
700
700
  }
701
701
  }), i.children = n;
702
702
  }
703
- function vi(e, i) {
703
+ function _i(e, i) {
704
704
  var t;
705
705
  return i._d <= 0 && (i.isSettled = !1, e.emit("settled", !1, !1), i.settled = new Promise((n) => {
706
706
  i._resolve = n;
707
707
  }), e.parent && ((t = e.parent) === null || t === void 0 || t.disturb())), i._d++, e;
708
708
  }
709
- function hi(e, i, t) {
709
+ function gi(e, i, t) {
710
710
  var n;
711
711
  if (t !== void 0 && e.type !== "input")
712
- return tn(i, t), Ke(e, i, !0, !1);
712
+ return ln(i, t), Ke(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
- function _i(e, i) {
716
- e.emit("destroying", e), e.store.filter(() => !1), e.parent && (e.parent.emit("childRemoved", e), e.parent.remove(e)), ni(e), e.emit("destroyed", e), i._e.flush(), i._value = i.value = void 0;
715
+ function $i(e, i) {
716
+ e.emit("destroying", e), e.store.filter(() => !1), e.parent && (e.parent.emit("childRemoved", e), e.parent.remove(e)), li(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;
720
720
  }
721
- function gi(e, i, t) {
722
- i.type = t.type, i.props.definition = Ee(t), i.value = i._value = Gt({
721
+ function wi(e, i, t) {
722
+ i.type = t.type, i.props.definition = Re(t), i.value = i._value = tn({
723
723
  type: e.type,
724
724
  value: i.value
725
725
  }), t.forceTypeProp && (e.props.type && (e.props.originalType = e.props.type), i.props.type = t.forceTypeProp), t.family && (i.props.family = t.family), t.features && t.features.forEach((n) => n(e)), t.props && e.addProps(t.props), e.emit("defined", t);
726
726
  }
727
- function $i(e, i, t) {
727
+ function ki(e, i, t) {
728
728
  var n;
729
729
  if (e.props.attrs) {
730
730
  const l = { ...e.props.attrs };
@@ -733,7 +733,7 @@ function $i(e, i, t) {
733
733
  const o = De(r);
734
734
  t.includes(o) && (e.props[o] = l[r], delete l[r]);
735
735
  }
736
- const s = me(i._value);
736
+ const s = de(i._value);
737
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 = [
738
738
  ...((n = e.props.definition) === null || n === void 0 ? void 0 : n.props) || [],
739
739
  ...t
@@ -741,14 +741,14 @@ function $i(e, i, t) {
741
741
  }
742
742
  return e.emit("added-props", t), e;
743
743
  }
744
- function wi(e, i, t, n) {
744
+ function Ci(e, i, t, n) {
745
745
  if (e.type === "input" && H(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
747
  const l = i.children[n];
748
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({
749
749
  name: n,
750
750
  value: t.value,
751
- from: Qt
751
+ from: Gt
752
752
  });
753
753
  } else
754
754
  i.children.push(t);
@@ -761,10 +761,10 @@ function wi(e, i, t, n) {
761
761
  t.use(e.plugins);
762
762
  return Ke(e, i, !1), e.ledger.merge(t), e.emit("child", t), e;
763
763
  }
764
- function ki(e, i, t, n) {
764
+ function Si(e, i, t, n) {
765
765
  return Xe(n) ? (e.parent && e.parent !== n && e.parent.remove(e), i.parent = n, e.resetConfig(), n.children.includes(e) ? e.use(n.plugins) : n.add(e), !0) : n === null ? (i.parent = null, !0) : !1;
766
766
  }
767
- function Ci(e, i, t) {
767
+ function Vi(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);
@@ -778,10 +778,10 @@ function Ci(e, i, t) {
778
778
  }
779
779
  return e.ledger.unmerge(t), e;
780
780
  }
781
- function Si(e, i, t) {
781
+ function Ii(e, i, t) {
782
782
  i.children.forEach((n) => !("__FKP" in n) && t(n));
783
783
  }
784
- function Vi(e, i, t, n = !1, l = !1) {
784
+ function Li(e, i, t, n = !1, l = !1) {
785
785
  i.children.some((s) => {
786
786
  if ("__FKP" in s)
787
787
  return !1;
@@ -789,38 +789,38 @@ function Vi(e, i, t, n = !1, l = !1) {
789
789
  return n && r === !1 ? !0 : l && r === !1 ? !1 : s.walk(t, n, l);
790
790
  });
791
791
  }
792
- function Ii(e, i) {
792
+ function Pi(e, i) {
793
793
  const t = e.parent || void 0;
794
- i.config = nn(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
796
  function _t(e, i, t, n = !0, l = !0) {
797
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);
798
798
  }
799
- function Li(e, i, t, n) {
799
+ function Ai(e, i, t, n) {
800
800
  if (Xe(e.parent)) {
801
801
  const l = e.parent.children, s = n >= l.length ? l.length - 1 : n < 0 ? 0 : n, r = l.indexOf(e);
802
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);
803
803
  }
804
804
  return !1;
805
805
  }
806
- function Pi(e) {
806
+ function Oi(e) {
807
807
  if (e.parent) {
808
808
  const i = [...e.parent.children].indexOf(e);
809
809
  return i === -1 ? e.parent.children.length : i;
810
810
  }
811
811
  return -1;
812
812
  }
813
- function Ai(e, i) {
813
+ function xi(e, i) {
814
814
  return i;
815
815
  }
816
- function Oi(e, i) {
816
+ function Mi(e, i) {
817
817
  var t;
818
- return ((t = e.parent) === null || t === void 0 ? void 0 : t.type) === "list" ? e.index : i.name !== Yt ? i.name : e.index;
818
+ return ((t = e.parent) === null || t === void 0 ? void 0 : t.type) === "list" ? e.index : i.name !== Xt ? i.name : e.index;
819
819
  }
820
- function xi(e, i) {
820
+ function Ri(e, i) {
821
821
  return i.parent ? i.parent.address.concat([e.name]) : [e.name];
822
822
  }
823
- function Mi(e, i, t) {
823
+ function Ei(e, i, t) {
824
824
  const n = typeof t == "string" ? t.split(e.config.delimiter) : t;
825
825
  if (!n.length)
826
826
  return;
@@ -839,12 +839,12 @@ function Mi(e, i, t) {
839
839
  s = e;
840
840
  break;
841
841
  default:
842
- s = s.children.find((o) => !("__FKP" in o) && String(o.name) === String(r)) || Ei(s, r);
842
+ s = s.children.find((o) => !("__FKP" in o) && String(o.name) === String(r)) || ji(s, r);
843
843
  }
844
844
  }
845
845
  return s || void 0;
846
846
  }
847
- function Ei(e, i) {
847
+ function ji(e, i) {
848
848
  const t = String(i).match(/^(find)\((.*)\)$/);
849
849
  if (t) {
850
850
  const [, n, l] = t, s = l.split(",").map((r) => r.trim());
@@ -856,10 +856,10 @@ function Ei(e, i) {
856
856
  }
857
857
  }
858
858
  }
859
- function Ri(e, i, t, n) {
860
- return ji(e, t, n);
859
+ function Fi(e, i, t, n) {
860
+ return Di(e, t, n);
861
861
  }
862
- function ji(e, i, t = "name") {
862
+ function Di(e, i, t = "name") {
863
863
  const n = typeof t == "string" ? (s) => s[t] == i : t, l = [e];
864
864
  for (; l.length; ) {
865
865
  const s = l.shift();
@@ -870,13 +870,13 @@ function ji(e, i, t = "name") {
870
870
  }
871
871
  }
872
872
  }
873
- function Fi(e) {
873
+ function Ti(e) {
874
874
  let i = e;
875
875
  for (; i.parent; )
876
876
  i = i.parent;
877
877
  return i;
878
878
  }
879
- function nn(e = {}, i) {
879
+ function an(e = {}, i) {
880
880
  let t;
881
881
  return new Proxy(e, {
882
882
  get(...n) {
@@ -896,7 +896,7 @@ function nn(e = {}, i) {
896
896
  if (r !== void 0)
897
897
  return r;
898
898
  }
899
- return l === "delay" && (t == null ? void 0 : t.type) === "input" ? 20 : ri[l];
899
+ return l === "delay" && (t == null ? void 0 : t.type) === "input" ? 20 : ui[l];
900
900
  },
901
901
  set(...n) {
902
902
  const l = n[1], s = n[2];
@@ -904,53 +904,50 @@ function nn(e = {}, i) {
904
904
  return t = s, e.rootConfig && e.rootConfig._add(t), !0;
905
905
  if (l === "_rmn")
906
906
  return e.rootConfig && e.rootConfig._rm(t), t = void 0, !0;
907
- if (!fe(e[l], s, !1)) {
907
+ if (!ue(e[l], s, !1)) {
908
908
  const r = Reflect.set(...n);
909
- return t && (t.emit(`config:${l}`, s, !1), Pt(t, l, s), t.walk((o) => Pt(o, l, s), !1, !0)), r;
909
+ return t && (t.emit(`config:${l}`, s, !1), At(t, l, s), t.walk((o) => At(o, l, s), !1, !0)), r;
910
910
  }
911
911
  return !0;
912
912
  }
913
913
  });
914
914
  }
915
- function Di(e, i, t, n = "ui") {
915
+ function Bi(e, i, t, n = "ui") {
916
916
  const l = typeof t == "string" ? { key: t, value: t, type: n } : t, s = e.hook.text.dispatch(l);
917
917
  return e.emit("text", s, !1), s.value;
918
918
  }
919
- function Ti(e) {
919
+ function zi(e) {
920
920
  const i = e.name;
921
921
  do {
922
922
  if (e.props.isForm === !0)
923
923
  break;
924
924
  e.parent || H(106, i), e = e.parent;
925
925
  } while (e);
926
- e.props.id && li(e.props.id);
926
+ e.props.id && si(e.props.id);
927
927
  }
928
- function Bi(e, i, t) {
929
- return si(e, t);
928
+ function Ui(e, i, t) {
929
+ return oi(e, t);
930
930
  }
931
- function ln(e, i, t, n) {
931
+ function sn(e, i, t, n) {
932
932
  const l = `${e.name}-set`, s = e.hook.setErrors.dispatch({ localErrors: t, childErrors: n });
933
- return Zn(e, s.localErrors, s.childErrors).forEach((r) => {
933
+ return Yn(e, s.localErrors, s.childErrors).forEach((r) => {
934
934
  e.store.apply(r, (o) => o.meta.source === l);
935
935
  }), e;
936
936
  }
937
- function zi(e, i, t = !0, n) {
938
- return ln(e, i, []), t && (n = n || `${e.name}-set`, e.walk((l) => {
937
+ function Ki(e, i, t = !0, n) {
938
+ return sn(e, i, []), t && (n = n || `${e.name}-set`, e.walk((l) => {
939
939
  l.store.filter((s) => !(s.type === "error" && s.meta && s.meta.source === n));
940
940
  })), e;
941
941
  }
942
- function Ui(e) {
943
- return j(e.props, "id") || (e.props.id = `input_${pi++}`), e;
944
- }
945
- function Ki(e) {
942
+ function Ni(e) {
946
943
  const i = {
947
- initial: typeof e == "object" ? me(e) : e
944
+ initial: typeof e == "object" ? de(e) : e
948
945
  };
949
946
  let t, n = !0;
950
947
  return new Proxy(i, {
951
948
  get(...l) {
952
949
  const [s, r] = l;
953
- if (j(i, r))
950
+ if (F(i, r))
954
951
  return Reflect.get(...l);
955
952
  if (t && typeof r == "string" && t.config[r] !== void 0)
956
953
  return t.config[r];
@@ -964,7 +961,7 @@ function Ki(e) {
964
961
  prop: s,
965
962
  value: r
966
963
  });
967
- if (!fe(i[u], p, !1) || typeof p == "object") {
964
+ if (!ue(i[u], p, !1) || typeof p == "object") {
968
965
  const _ = Reflect.set(l, u, p, o);
969
966
  return n && (t.emit("prop", { prop: u, value: p }), typeof u == "string" && t.emit(`prop:${u}`, p)), _;
970
967
  }
@@ -975,7 +972,7 @@ function Ki(e) {
975
972
  function Wi(e, i, t, n) {
976
973
  return i.traps.set(t, n), e;
977
974
  }
978
- function Ni(e, i) {
975
+ function Hi(e, i) {
979
976
  if (e.props.definition)
980
977
  return e.define(e.props.definition);
981
978
  for (const t of i) {
@@ -984,49 +981,50 @@ function Ni(e, i) {
984
981
  typeof t.library == "function" && t.library(e);
985
982
  }
986
983
  }
987
- function Hi(e) {
988
- const i = Gt(e), t = nn(e.config || {}, e.parent);
984
+ function qi(e) {
985
+ const i = tn(e), t = an(e.config || {}, e.parent);
989
986
  return {
990
987
  _d: 0,
991
- _e: Nt(),
988
+ _e: qt(),
992
989
  uid: Symbol(),
993
990
  _resolve: !1,
994
991
  _tmo: !1,
995
992
  _value: i,
996
- children: Pn(e.children || []),
993
+ children: On(e.children || []),
997
994
  config: t,
998
- hook: ci(),
995
+ hook: di(),
999
996
  isCreated: !1,
1000
997
  isSettled: !0,
1001
- ledger: Qn(),
1002
- name: di(e),
998
+ ledger: Gn(),
999
+ name: bi(e),
1003
1000
  parent: e.parent || null,
1004
1001
  plugins: /* @__PURE__ */ new Set(),
1005
- props: Ki(i),
1002
+ props: Ni(i),
1006
1003
  settled: Promise.resolve(i),
1007
- store: Un(!0),
1004
+ store: Nn(!0),
1008
1005
  sync: e.sync || !1,
1009
- traps: fi(),
1006
+ traps: pi(),
1010
1007
  type: e.type || "input",
1011
1008
  value: i
1012
1009
  };
1013
1010
  }
1014
- function qi(e, i) {
1015
- var t;
1016
- if (e.ledger.init(e.store._n = e.props._n = e.config._n = e), e.props._emit = !1, i.props && Object.assign(e.props, i.props), e.props._emit = !0, Ni(e, /* @__PURE__ */ new Set([
1011
+ function Zi(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_${mi++}` }, (l = i.props) !== null && l !== void 0 ? l : {}), e.props._emit = !0, Hi(e, /* @__PURE__ */ new Set([
1017
1015
  ...i.plugins || [],
1018
1016
  ...e.parent ? e.parent.plugins : []
1019
1017
  ])), i.plugins)
1020
- for (const n of i.plugins)
1021
- _t(e, e._c, n, !0, !1);
1022
- return Ui(e), e.each((n) => e.add(n)), e.parent && e.parent.add(e, i.index), e.type === "input" && e.children.length && H(100, e), en(e, e._c, e._value, !1), e.store.release(), !((t = i.props) === null || t === void 0) && t.id && ti(e), e.emit("created", e), e.isCreated = !0, e;
1018
+ for (const r of i.plugins)
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 && H(100, e), nn(e, e._c, e._value, !1), e.store.release(), s && ii(e), e.emit("created", e), e.isCreated = !0, e;
1023
1021
  }
1024
- function Zi(e) {
1022
+ function Ji(e) {
1025
1023
  var i, t, n, l;
1026
1024
  return {
1027
1025
  __FKP: !0,
1028
1026
  uid: Symbol(),
1029
- name: (i = e == null ? void 0 : e.name) !== null && i !== void 0 ? i : `p_${Xt++}`,
1027
+ name: (i = e == null ? void 0 : e.name) !== null && i !== void 0 ? i : `p_${en++}`,
1030
1028
  value: (t = e == null ? void 0 : e.value) !== null && t !== void 0 ? t : null,
1031
1029
  _value: (n = e == null ? void 0 : e.value) !== null && n !== void 0 ? n : null,
1032
1030
  type: (l = e == null ? void 0 : e.type) !== null && l !== void 0 ? l : "input",
@@ -1038,11 +1036,11 @@ function Zi(e) {
1038
1036
  isSettled: !0
1039
1037
  };
1040
1038
  }
1041
- function Ji(e) {
1039
+ function Yi(e) {
1042
1040
  return "__FKP" in e;
1043
1041
  }
1044
- function Yi(e) {
1045
- const i = e || {}, t = Hi(i), n = new Proxy(t, {
1042
+ function Qi(e) {
1043
+ const i = e || {}, t = qi(i), n = new Proxy(t, {
1046
1044
  get(...l) {
1047
1045
  const [, s] = l;
1048
1046
  if (s === "__FKNode__")
@@ -1055,27 +1053,27 @@ function Yi(e) {
1055
1053
  return o && o.set ? o.set(n, t, s, r) : Reflect.set(...l);
1056
1054
  }
1057
1055
  });
1058
- return qi(n, i);
1056
+ return Zi(n, i);
1059
1057
  }
1060
1058
  function ft(e) {
1061
- return typeof e != "string" && j(e, "$el");
1059
+ return typeof e != "string" && F(e, "$el");
1062
1060
  }
1063
1061
  function ct(e) {
1064
- return typeof e != "string" && j(e, "$cmp");
1062
+ return typeof e != "string" && F(e, "$cmp");
1065
1063
  }
1066
1064
  function ve(e) {
1067
- return !e || typeof e == "string" ? !1 : j(e, "if") && j(e, "then");
1065
+ return !e || typeof e == "string" ? !1 : F(e, "if") && F(e, "then");
1068
1066
  }
1069
- function Qi(e) {
1067
+ function Xi(e) {
1070
1068
  return typeof e != "string" && "$formkit" in e;
1071
1069
  }
1072
- function Xi(e) {
1070
+ function Gi(e) {
1073
1071
  if (typeof e == "string")
1074
1072
  return {
1075
1073
  $el: "text",
1076
1074
  children: e
1077
1075
  };
1078
- if (Qi(e)) {
1076
+ if (Xi(e)) {
1079
1077
  const { $formkit: i, for: t, if: n, children: l, bind: s, ...r } = e;
1080
1078
  return Object.assign({
1081
1079
  $cmp: "FormKit",
@@ -1151,62 +1149,62 @@ function J(e) {
1151
1149
  }
1152
1150
  function _(c, d = 0) {
1153
1151
  const m = l[d], y = c.length, g = Object.keys(m);
1154
- let v = 0, w = !1, f = null, b = "", k = null, I, B = "", C = "", E = "", O = "", W = 0;
1155
- const q = (x, N) => {
1156
- x ? E += N : b += N;
1152
+ let v = 0, w = !1, f = null, b = "", k = null, I, B = "", S = "", R = "", O = "", N = 0;
1153
+ const q = (x, W) => {
1154
+ x ? R += W : b += W;
1157
1155
  };
1158
1156
  for (let x = 0; x < y; x++)
1159
- if (B = C, C = c.charAt(x), (C === "'" || C === '"') && B !== "\\" && (v === 0 && !w || v && !O)) {
1160
- v ? O = C : w = C, q(v, C);
1157
+ if (B = S, S = c.charAt(x), (S === "'" || S === '"') && B !== "\\" && (v === 0 && !w || v && !O)) {
1158
+ v ? O = S : w = S, q(v, S);
1161
1159
  continue;
1162
- } else if (w && (C !== w || B === "\\") || O && (C !== O || B === "\\")) {
1163
- q(v, C);
1160
+ } else if (w && (S !== w || B === "\\") || O && (S !== O || B === "\\")) {
1161
+ q(v, S);
1164
1162
  continue;
1165
- } else if (w === C) {
1166
- w = !1, q(v, C);
1163
+ } else if (w === S) {
1164
+ w = !1, q(v, S);
1167
1165
  continue;
1168
- } else if (O === C) {
1169
- O = !1, q(v, C);
1166
+ } else if (O === S) {
1167
+ O = !1, q(v, S);
1170
1168
  continue;
1171
1169
  } else {
1172
- if (C === " ")
1170
+ if (S === " ")
1173
1171
  continue;
1174
- if (C === "(")
1175
- v === 0 ? W = x : E += C, v++;
1176
- else if (C === ")")
1172
+ if (S === "(")
1173
+ v === 0 ? N = x : R += S, v++;
1174
+ else if (S === ")")
1177
1175
  if (v--, v === 0) {
1178
- const N = typeof b == "string" && b.startsWith("$") ? b : void 0, Le = N && c.charAt(x + 1) === ".";
1179
- let re = "";
1180
- Le && ([re, x] = p(x + 2, c));
1181
- const Fe = f ? d : u(W, c, 0), Pe = u(x, c);
1182
- Fe === -1 && Pe === -1 ? (b = A(E, -1, N, re), typeof b == "string" && (b = E)) : f && (Fe >= Pe || Pe === -1) && d === Fe ? (k = f.bind(null, A(E, -1, N, re)), f = null, b = "") : Pe > Fe && d === Pe ? b = A(E, -1, N, re) : b += `(${E})${Le ? `.${re}` : ""}`, E = "";
1176
+ const W = typeof b == "string" && b.startsWith("$") ? b : void 0, Le = W && c.charAt(x + 1) === ".";
1177
+ let se = "";
1178
+ Le && ([se, x] = p(x + 2, c));
1179
+ const Fe = f ? d : u(N, c, 0), Pe = u(x, c);
1180
+ Fe === -1 && Pe === -1 ? (b = A(R, -1, W, se), typeof b == "string" && (b = R)) : f && (Fe >= Pe || Pe === -1) && d === Fe ? (k = f.bind(null, A(R, -1, W, se)), f = null, b = "") : Pe > Fe && d === Pe ? b = A(R, -1, W, se) : b += `(${R})${Le ? `.${se}` : ""}`, R = "";
1183
1181
  } else
1184
- E += C;
1185
- else if (v === 0 && (I = o(g, C, x, c))) {
1182
+ R += S;
1183
+ else if (v === 0 && (I = o(g, S, x, c))) {
1186
1184
  x === 0 && H(103, [I, c]), x += I.length - 1, x === c.length - 1 && H(104, [I, c]), f ? b && (k = f.bind(null, A(b, d)), f = m[I].bind(null, k), b = "") : k ? (f = m[I].bind(null, A(k, d)), k = null) : (f = m[I].bind(null, A(b, d)), b = "");
1187
1185
  continue;
1188
1186
  } else
1189
- q(v, C);
1187
+ q(v, S);
1190
1188
  }
1191
- return b && f && (f = f.bind(null, A(b, d))), f = !f && k ? k : f, !f && b && (f = (x, N) => typeof x == "function" ? x(N) : x, f = f.bind(null, A(b, d))), !f && !b && H(105, c), f;
1189
+ return b && f && (f = f.bind(null, A(b, d))), f = !f && k ? k : f, !f && b && (f = (x, W) => typeof x == "function" ? x(W) : x, f = f.bind(null, A(b, d))), !f && !b && H(105, c), f;
1192
1190
  }
1193
1191
  function A(c, d, m, y) {
1194
1192
  if (m) {
1195
1193
  const g = A(m, l.length);
1196
1194
  let v, w = y ? J(`$${y}`) : !1;
1197
1195
  if (typeof g == "function") {
1198
- const f = Mn(String(c)).map((b) => A(b, -1));
1196
+ const f = En(String(c)).map((b) => A(b, -1));
1199
1197
  return (b) => {
1200
1198
  const k = g(b);
1201
- return typeof k != "function" ? (Re(150, m), k) : (v = k(...f.map((I) => typeof I == "function" ? I(b) : I)), w && (w = w.provide((I) => {
1199
+ return typeof k != "function" ? (Ee(150, m), k) : (v = k(...f.map((I) => typeof I == "function" ? I(b) : I)), w && (w = w.provide((I) => {
1202
1200
  const B = i(I);
1203
- return I.reduce((E, O) => {
1201
+ return I.reduce((R, O) => {
1204
1202
  if (O === y || (y == null ? void 0 : y.startsWith(`${O}(`))) {
1205
- const q = Rn(v, O);
1206
- E[O] = () => q;
1203
+ const q = Fn(v, O);
1204
+ R[O] = () => q;
1207
1205
  } else
1208
- E[O] = B[O];
1209
- return E;
1206
+ R[O] = B[O];
1207
+ return R;
1210
1208
  }, {});
1211
1209
  })), w ? w() : v);
1212
1210
  };
@@ -1218,8 +1216,8 @@ function J(e) {
1218
1216
  return !1;
1219
1217
  if (c === "undefined")
1220
1218
  return;
1221
- if (On(c))
1222
- return xn(c.substring(1, c.length - 1));
1219
+ if (Mn(c))
1220
+ return Rn(c.substring(1, c.length - 1));
1223
1221
  if (!isNaN(+c))
1224
1222
  return Number(c);
1225
1223
  if (d < l.length - 1)
@@ -1246,8 +1244,8 @@ function J(e) {
1246
1244
  provide: h
1247
1245
  });
1248
1246
  }
1249
- const At = "0.18.3";
1250
- function Gi(e) {
1247
+ const Ot = "0.19.0";
1248
+ function el(e) {
1251
1249
  let i = 1;
1252
1250
  return Array.isArray(e) ? e.map((t) => typeof t == "string" || typeof t == "number" ? {
1253
1251
  label: String(t),
@@ -1269,12 +1267,12 @@ function Se(e, i) {
1269
1267
  return i;
1270
1268
  }
1271
1269
  function Ve(e, i) {
1272
- return e === null && i === void 0 || e === void 0 && i === null ? !1 : e == i ? !0 : ke(e) && ke(i) ? fe(e, i) : !1;
1270
+ return e === null && i === void 0 || e === void 0 && i === null ? !1 : e == i ? !0 : ke(e) && ke(i) ? ue(e, i) : !1;
1273
1271
  }
1274
1272
  function gt(e) {
1275
- e.hook.prop((i, t) => (i.prop === "options" && (typeof i.value == "function" ? (e.props.optionsLoader = i.value, i.value = []) : i.value = Gi(i.value)), t(i)));
1273
+ e.hook.prop((i, t) => (i.prop === "options" && (typeof i.value == "function" ? (e.props.optionsLoader = i.value, i.value = []) : i.value = el(i.value)), t(i)));
1276
1274
  }
1277
- function S(e, i, t = !1) {
1275
+ function C(e, i, t = !1) {
1278
1276
  return (...n) => {
1279
1277
  const l = (s) => {
1280
1278
  const r = !i || typeof i == "string" ? { $el: i } : i();
@@ -1289,75 +1287,22 @@ function S(e, i, t = !1) {
1289
1287
  else: e in s ? Ae(r, s[e]) : r
1290
1288
  };
1291
1289
  };
1292
- return l._s = e, t ? el(l) : l;
1290
+ return l._s = e, t ? tl(l) : l;
1293
1291
  };
1294
1292
  }
1295
- function el(e) {
1293
+ function tl(e) {
1296
1294
  return (i) => [e(i)];
1297
1295
  }
1298
- function We(e) {
1296
+ function Ne(e) {
1299
1297
  return typeof e == "object" && ("$el" in e || "$cmp" in e || "$formkit" in e);
1300
1298
  }
1301
1299
  function Ae(e, i = {}) {
1302
- return typeof e == "string" ? We(i) || typeof i == "string" ? i : e : Array.isArray(e) ? We(i) ? i : e : Qe(e, i);
1300
+ return typeof e == "string" ? Ne(i) || typeof i == "string" ? i : e : Array.isArray(e) ? Ne(i) ? i : e : Qe(e, i);
1303
1301
  }
1304
- const ce = S("outer", () => ({
1305
- $el: "div",
1306
- attrs: {
1307
- key: "$id",
1308
- "data-family": "$family || undefined",
1309
- "data-type": "$type",
1310
- "data-multiple": '$attrs.multiple || ($type != "select" && $options != undefined) || undefined',
1311
- "data-disabled": '$: ($disabled !== "false" && $disabled) || undefined',
1312
- "data-empty": "$state.empty || undefined",
1313
- "data-complete": "$state.complete || undefined",
1314
- "data-invalid": "$state.valid === false && $state.validationVisible || undefined",
1315
- "data-errors": "$state.errors || undefined",
1316
- "data-submitted": "$state.submitted || undefined",
1317
- "data-prefix-icon": "$_rawPrefixIcon !== undefined || undefined",
1318
- "data-suffix-icon": "$_rawSuffixIcon !== undefined || undefined",
1319
- "data-prefix-icon-click": "$onPrefixIconClick !== undefined || undefined",
1320
- "data-suffix-icon-click": "$onSuffixIconClick !== undefined || undefined"
1321
- }
1322
- })), le = S("inner", "div"), Ie = S("wrapper", "div"), je = S("label", () => ({
1323
- $el: "label",
1324
- if: "$label",
1325
- attrs: {
1326
- for: "$id"
1327
- }
1328
- })), ae = S("messages", () => ({
1329
- $el: "ul",
1330
- if: "$defaultMessagePlacement && $fns.length($messages)"
1331
- })), se = S("message", () => ({
1332
- $el: "li",
1333
- for: ["message", "$messages"],
1334
- attrs: {
1335
- key: "$message.key",
1336
- id: "$id + '-' + $message.key",
1337
- "data-message-type": "$message.type"
1338
- }
1339
- })), Q = S("prefix", null), X = S("suffix", null), G = S("help", () => ({
1302
+ const nl = C("actions", () => ({
1340
1303
  $el: "div",
1341
- if: "$help",
1342
- attrs: {
1343
- id: '$: "help-" + $id'
1344
- }
1345
- })), an = S("fieldset", () => ({
1346
- $el: "fieldset",
1347
- attrs: {
1348
- id: "$id",
1349
- "aria-describedby": {
1350
- if: "$help",
1351
- then: '$: "help-" + $id',
1352
- else: void 0
1353
- }
1354
- }
1355
- })), Ne = S("decorator", () => ({
1356
- $el: "span",
1357
- attrs: {
1358
- "aria-hidden": "true"
1359
- }
1360
- })), He = S("input", () => ({
1304
+ if: "$actions"
1305
+ })), We = C("input", () => ({
1361
1306
  $el: "input",
1362
1307
  bind: "$attrs",
1363
1308
  attrs: {
@@ -1383,16 +1328,19 @@ const ce = S("outer", () => ({
1383
1328
  }
1384
1329
  }
1385
1330
  }
1386
- })), sn = S("legend", () => ({
1387
- $el: "legend",
1388
- if: "$label"
1389
- })), rn = S("option", () => ({
1331
+ })), rn = C("optionHelp", () => ({
1332
+ $el: "div",
1333
+ if: "$option.help",
1334
+ attrs: {
1335
+ id: '$: "help-" + $option.attrs.id'
1336
+ }
1337
+ })), xt = C("inner", "span"), He = C("label", "span"), on = C("option", () => ({
1390
1338
  $el: "li",
1391
1339
  for: ["option", "$options"],
1392
1340
  attrs: {
1393
1341
  "data-disabled": "$option.attrs.disabled || $disabled"
1394
1342
  }
1395
- })), on = S("options", "ul"), qe = S("wrapper", () => ({
1343
+ })), un = C("options", "ul"), qe = C("wrapper", () => ({
1396
1344
  $el: "label",
1397
1345
  attrs: {
1398
1346
  "data-disabled": {
@@ -1406,13 +1354,7 @@ const ce = S("outer", () => ({
1406
1354
  else: "$fns.isChecked($option.value) || undefined"
1407
1355
  }
1408
1356
  }
1409
- })), un = S("optionHelp", () => ({
1410
- $el: "div",
1411
- if: "$option.help",
1412
- attrs: {
1413
- id: '$: "help-" + $option.attrs.id'
1414
- }
1415
- })), Ze = S("label", "span"), tl = S("input", () => ({
1357
+ })), il = C("input", () => ({
1416
1358
  $el: "button",
1417
1359
  bind: "$attrs",
1418
1360
  attrs: {
@@ -1421,7 +1363,22 @@ const ce = S("outer", () => ({
1421
1363
  name: "$node.name",
1422
1364
  id: "$id"
1423
1365
  }
1424
- })), nl = S("default", null), il = S("input", () => ({
1366
+ })), ll = C("default", null), Ze = C("decorator", () => ({
1367
+ $el: "span",
1368
+ attrs: {
1369
+ "aria-hidden": "true"
1370
+ }
1371
+ })), fn = C("fieldset", () => ({
1372
+ $el: "fieldset",
1373
+ attrs: {
1374
+ id: "$id",
1375
+ "aria-describedby": {
1376
+ if: "$help",
1377
+ then: '$: "help-" + $id',
1378
+ else: void 0
1379
+ }
1380
+ }
1381
+ })), al = C("input", () => ({
1425
1382
  $el: "input",
1426
1383
  bind: "$attrs",
1427
1384
  attrs: {
@@ -1433,10 +1390,10 @@ const ce = S("outer", () => ({
1433
1390
  id: "$id",
1434
1391
  "aria-describedby": "$describedBy"
1435
1392
  }
1436
- })), ll = S("fileItem", () => ({
1393
+ })), sl = C("fileItem", () => ({
1437
1394
  $el: "li",
1438
1395
  for: ["file", "$value"]
1439
- })), al = S("fileList", () => ({
1396
+ })), rl = C("fileList", () => ({
1440
1397
  $el: "ul",
1441
1398
  if: "$value.length",
1442
1399
  attrs: {
@@ -1445,20 +1402,17 @@ const ce = S("outer", () => ({
1445
1402
  then: "true"
1446
1403
  }
1447
1404
  }
1448
- })), sl = S("fileName", () => ({
1405
+ })), ol = C("fileName", () => ({
1449
1406
  $el: "span",
1450
1407
  attrs: {
1451
1408
  class: "$classes.fileName"
1452
1409
  }
1453
- })), Ot = S("fileRemove", () => ({
1410
+ })), Mt = C("fileRemove", () => ({
1454
1411
  $el: "button",
1455
1412
  attrs: {
1456
1413
  onClick: "$handlers.resetFiles"
1457
1414
  }
1458
- })), rl = S("noFiles", () => ({
1459
- $el: "span",
1460
- if: "$value.length == 0"
1461
- })), ol = S("form", () => ({
1415
+ })), ul = C("form", () => ({
1462
1416
  $el: "form",
1463
1417
  bind: "$attrs",
1464
1418
  attrs: {
@@ -1467,10 +1421,97 @@ const ce = S("outer", () => ({
1467
1421
  onSubmit: "$handlers.submit",
1468
1422
  "data-loading": "$state.loading || undefined"
1469
1423
  }
1470
- })), ul = S("actions", () => ({
1424
+ })), $t = C("wrapper", null, !0), Q = C("help", () => ({
1471
1425
  $el: "div",
1472
- if: "$actions"
1473
- })), fl = S("submit", () => ({
1426
+ if: "$help",
1427
+ attrs: {
1428
+ id: '$: "help-" + $id'
1429
+ }
1430
+ })), z = (e, i) => C(`${e}Icon`, () => {
1431
+ const t = `_raw${e.charAt(0).toUpperCase()}${e.slice(1)}Icon`;
1432
+ return {
1433
+ if: `$${e}Icon && $${t}`,
1434
+ $el: `${i || "span"}`,
1435
+ attrs: {
1436
+ class: `$classes.${e}Icon + " " + $classes.icon`,
1437
+ innerHTML: `$${t}`,
1438
+ onClick: `$handlers.iconClick(${e})`,
1439
+ for: {
1440
+ if: `${i === "label"}`,
1441
+ then: "$id"
1442
+ }
1443
+ }
1444
+ };
1445
+ })(), me = C("inner", "div"), je = C("label", () => ({
1446
+ $el: "label",
1447
+ if: "$label",
1448
+ attrs: {
1449
+ for: "$id"
1450
+ }
1451
+ })), cn = C("legend", () => ({
1452
+ $el: "legend",
1453
+ if: "$label"
1454
+ })), le = C("message", () => ({
1455
+ $el: "li",
1456
+ for: ["message", "$messages"],
1457
+ attrs: {
1458
+ key: "$message.key",
1459
+ id: "$id + '-' + $message.key",
1460
+ "data-message-type": "$message.type"
1461
+ }
1462
+ })), ae = C("messages", () => ({
1463
+ $el: "ul",
1464
+ if: "$defaultMessagePlacement && $fns.length($messages)"
1465
+ })), fl = C("noFiles", () => ({
1466
+ $el: "span",
1467
+ if: "$value.length == 0"
1468
+ })), cl = C("option", () => ({
1469
+ $el: "option",
1470
+ for: ["option", "$options"],
1471
+ bind: "$option.attrs",
1472
+ attrs: {
1473
+ class: "$classes.option",
1474
+ value: "$option.value",
1475
+ selected: "$fns.isSelected($option)"
1476
+ }
1477
+ })), pl = () => ({
1478
+ $el: null,
1479
+ if: "$options.length",
1480
+ for: ["option", "$options"],
1481
+ children: "$slots.option"
1482
+ }), fe = C("outer", () => ({
1483
+ $el: "div",
1484
+ attrs: {
1485
+ key: "$id",
1486
+ "data-family": "$family || undefined",
1487
+ "data-type": "$type",
1488
+ "data-multiple": '$attrs.multiple || ($type != "select" && $options != undefined) || undefined',
1489
+ "data-disabled": '$: ($disabled !== "false" && $disabled) || undefined',
1490
+ "data-empty": "$state.empty || undefined",
1491
+ "data-complete": "$state.complete || undefined",
1492
+ "data-invalid": "$state.valid === false && $state.validationVisible || undefined",
1493
+ "data-errors": "$state.errors || undefined",
1494
+ "data-submitted": "$state.submitted || undefined",
1495
+ "data-prefix-icon": "$_rawPrefixIcon !== undefined || undefined",
1496
+ "data-suffix-icon": "$_rawSuffixIcon !== undefined || undefined",
1497
+ "data-prefix-icon-click": "$onPrefixIconClick !== undefined || undefined",
1498
+ "data-suffix-icon-click": "$onSuffixIconClick !== undefined || undefined"
1499
+ }
1500
+ })), X = C("prefix", null), dl = C("input", () => ({
1501
+ $el: "select",
1502
+ bind: "$attrs",
1503
+ attrs: {
1504
+ id: "$id",
1505
+ "data-placeholder": "$fns.showPlaceholder($_value, $placeholder)",
1506
+ disabled: "$disabled",
1507
+ class: "$classes.input",
1508
+ name: "$node.name",
1509
+ onChange: "$handlers.onChange",
1510
+ onInput: "$handlers.selectInput",
1511
+ onBlur: "$handlers.blur",
1512
+ "aria-describedby": "$describedBy"
1513
+ }
1514
+ })), ml = C("submit", () => ({
1474
1515
  $cmp: "FormKit",
1475
1516
  bind: "$submitAttrs",
1476
1517
  props: {
@@ -1478,7 +1519,7 @@ const ce = S("outer", () => ({
1478
1519
  disabled: "$disabled",
1479
1520
  label: "$submitLabel"
1480
1521
  }
1481
- })), fn = S("input", () => ({
1522
+ })), G = C("suffix", null), pn = C("input", () => ({
1482
1523
  $el: "input",
1483
1524
  bind: "$attrs",
1484
1525
  attrs: {
@@ -1491,35 +1532,7 @@ const ce = S("outer", () => ({
1491
1532
  id: "$id",
1492
1533
  "aria-describedby": "$describedBy"
1493
1534
  }
1494
- })), cn = S("wrapper", null, !0), cl = S("input", () => ({
1495
- $el: "select",
1496
- bind: "$attrs",
1497
- attrs: {
1498
- id: "$id",
1499
- "data-placeholder": "$fns.showPlaceholder($_value, $placeholder)",
1500
- disabled: "$disabled",
1501
- class: "$classes.input",
1502
- name: "$node.name",
1503
- onChange: "$handlers.onChange",
1504
- onInput: "$handlers.selectInput",
1505
- onBlur: "$handlers.blur",
1506
- "aria-describedby": "$describedBy"
1507
- }
1508
- })), pl = S("option", () => ({
1509
- $el: "option",
1510
- for: ["option", "$options"],
1511
- bind: "$option.attrs",
1512
- attrs: {
1513
- class: "$classes.option",
1514
- value: "$option.value",
1515
- selected: "$fns.isSelected($option)"
1516
- }
1517
- })), dl = () => ({
1518
- $el: null,
1519
- if: "$options.length",
1520
- for: ["option", "$options"],
1521
- children: "$slots.option"
1522
- }), ml = S("input", () => ({
1535
+ })), bl = C("input", () => ({
1523
1536
  $el: "textarea",
1524
1537
  bind: "$attrs",
1525
1538
  attrs: {
@@ -1532,29 +1545,14 @@ const ce = S("outer", () => ({
1532
1545
  "aria-describedby": "$describedBy"
1533
1546
  },
1534
1547
  children: "$initialValue"
1535
- })), z = (e, i) => S(`${e}Icon`, () => {
1536
- const t = `_raw${e.charAt(0).toUpperCase()}${e.slice(1)}Icon`;
1537
- return {
1538
- if: `$${e}Icon && $${t}`,
1539
- $el: `${i || "span"}`,
1540
- attrs: {
1541
- class: `$classes.${e}Icon + " " + $classes.icon`,
1542
- innerHTML: `$${t}`,
1543
- onClick: `$handlers.iconClick(${e})`,
1544
- for: {
1545
- if: `${i === "label"}`,
1546
- then: "$id"
1547
- }
1548
- }
1549
- };
1550
- })();
1551
- function pn(e) {
1548
+ })), Ie = C("wrapper", "div");
1549
+ function dn(e) {
1552
1550
  return function(i, t) {
1553
1551
  return i.prop === "options" && Array.isArray(i.value) && (i.value = i.value.map((n) => {
1554
1552
  var l;
1555
1553
  return !((l = n.attrs) === null || l === void 0) && l.id ? n : Qe(n, {
1556
1554
  attrs: {
1557
- id: `${e.name}-option-${dt(String(n.value))}`
1555
+ id: `${e.props.id}-option-${dt(String(n.value))}`
1558
1556
  }
1559
1557
  });
1560
1558
  }), e.props.type === "checkbox" && !Array.isArray(e.value) && (e.isCreated ? e.input([], !1) : e.on("created", () => {
@@ -1562,24 +1560,29 @@ function pn(e) {
1562
1560
  }))), t(i);
1563
1561
  };
1564
1562
  }
1565
- function bl(e, i) {
1563
+ function yl(e, i) {
1566
1564
  const t = i.target;
1567
1565
  if (t instanceof HTMLInputElement) {
1568
1566
  const n = Array.isArray(e.props.options) ? Se(e.props.options, t.value) : t.value;
1569
1567
  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);
1570
1568
  }
1571
1569
  }
1572
- function yl(e, i) {
1570
+ function vl(e, i) {
1573
1571
  var t, n;
1574
1572
  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;
1575
1573
  }
1576
- function vl(e) {
1574
+ function hl(e) {
1577
1575
  e.on("created", () => {
1578
1576
  var i, t;
1579
- !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.toggleChecked = bl.bind(null, e)), !((t = e.context) === null || t === void 0) && t.fns && (e.context.fns.isChecked = yl.bind(null, e)), j(e.props, "onValue") || (e.props.onValue = !0), j(e.props, "offValue") || (e.props.offValue = !1);
1580
- }), e.hook.prop(pn(e));
1577
+ !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.toggleChecked = yl.bind(null, e)), !((t = e.context) === null || t === void 0) && t.fns && (e.context.fns.isChecked = vl.bind(null, e)), F(e.props, "onValue") || (e.props.onValue = !0), F(e.props, "offValue") || (e.props.offValue = !1);
1578
+ }), e.hook.prop(dn(e));
1579
+ }
1580
+ function _e(e, i) {
1581
+ return (t) => {
1582
+ t.props[`${e}Icon`] === void 0 && (t.props[`${e}Icon`] = i.startsWith("<svg") ? i : `default:${i}`);
1583
+ };
1581
1584
  }
1582
- function $t(e) {
1585
+ function wt(e) {
1583
1586
  e.on("created", () => {
1584
1587
  "disabled" in e.props && (e.props.disabled = Y(e.props.disabled), e.config.disabled = Y(e.props.disabled));
1585
1588
  }), 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 }) => {
@@ -1588,7 +1591,7 @@ function $t(e) {
1588
1591
  }
1589
1592
  function ze(e, i) {
1590
1593
  return (t) => {
1591
- t.store.set(ue({
1594
+ t.store.set(oe({
1592
1595
  key: e,
1593
1596
  type: "ui",
1594
1597
  value: i || e,
@@ -1600,14 +1603,14 @@ function ze(e, i) {
1600
1603
  };
1601
1604
  }
1602
1605
  const tt = typeof window < "u";
1603
- function dn(e) {
1606
+ function mn(e) {
1604
1607
  e.target instanceof HTMLElement && e.target.hasAttribute("data-file-hover") && e.target.removeAttribute("data-file-hover");
1605
1608
  }
1606
- function xt(e, i) {
1607
- i.target instanceof HTMLInputElement ? e === "dragover" && i.target.setAttribute("data-file-hover", "true") : i.preventDefault(), e === "drop" && dn(i);
1609
+ function Rt(e, i) {
1610
+ i.target instanceof HTMLInputElement ? e === "dragover" && i.target.setAttribute("data-file-hover", "true") : i.preventDefault(), e === "drop" && mn(i);
1608
1611
  }
1609
- function hl(e) {
1610
- ze("noFiles", "Select file")(e), ze("removeAll", "Remove all")(e), ze("remove")(e), tt && (window._FormKit_File_Drop || (window.addEventListener("dragover", xt.bind(null, "dragover")), window.addEventListener("drop", xt.bind(null, "drop")), window.addEventListener("dragleave", dn), window._FormKit_File_Drop = !0)), e.hook.input((i, t) => t(Array.isArray(i) ? i : [])), e.on("reset", () => {
1612
+ function _l(e) {
1613
+ ze("noFiles", "Select file")(e), ze("removeAll", "Remove all")(e), ze("remove")(e), tt && (window._FormKit_File_Drop || (window.addEventListener("dragover", Rt.bind(null, "dragover")), window.addEventListener("drop", Rt.bind(null, "drop")), window.addEventListener("dragleave", mn), window._FormKit_File_Drop = !0)), e.hook.input((i, t) => t(Array.isArray(i) ? i : [])), e.on("reset", () => {
1611
1614
  if (e.props.id && tt) {
1612
1615
  const i = document.getElementById(e.props.id);
1613
1616
  i && (i.value = "");
@@ -1632,22 +1635,22 @@ function hl(e) {
1632
1635
  });
1633
1636
  });
1634
1637
  }
1635
- const Mt = ue({
1638
+ const Et = oe({
1636
1639
  key: "loading",
1637
1640
  value: !0,
1638
1641
  visible: !1
1639
1642
  });
1640
- async function _l(e, i) {
1643
+ async function gl(e, i) {
1641
1644
  const t = Math.random();
1642
- if (e.props._submitNonce = t, i.preventDefault(), await e.settled, e.ledger.value("validating") && (e.store.set(Mt), await e.ledger.settled("validating"), e.store.remove("loading"), e.props._submitNonce !== t))
1645
+ if (e.props._submitNonce = t, i.preventDefault(), await e.settled, e.ledger.value("validating") && (e.store.set(Et), await e.ledger.settled("validating"), e.store.remove("loading"), e.props._submitNonce !== t))
1643
1646
  return;
1644
- const n = (l) => l.store.set(ue({
1647
+ const n = (l) => l.store.set(oe({
1645
1648
  key: "submitted",
1646
1649
  value: !0,
1647
1650
  visible: !1
1648
1651
  }));
1649
1652
  if (e.walk(n), n(e), typeof e.props.onSubmitRaw == "function" && e.props.onSubmitRaw(i, e), e.ledger.value("blocking"))
1650
- typeof e.props.onSubmitInvalid == "function" && e.props.onSubmitInvalid(e), e.props.incompleteMessage !== !1 && e.store.set(ue({
1653
+ typeof e.props.onSubmitInvalid == "function" && e.props.onSubmitInvalid(e), e.props.incompleteMessage !== !1 && e.store.set(oe({
1651
1654
  blocking: !1,
1652
1655
  key: "incomplete",
1653
1656
  meta: {
@@ -1659,45 +1662,63 @@ async function _l(e, i) {
1659
1662
  value: e.props.incompleteMessage || "Form incomplete."
1660
1663
  }));
1661
1664
  else if (typeof e.props.onSubmit == "function") {
1662
- const l = e.props.onSubmit(e.hook.submit.dispatch(Ee(e.value)), e);
1665
+ const l = e.props.onSubmit(e.hook.submit.dispatch(Re(e.value)), e);
1663
1666
  if (l instanceof Promise) {
1664
1667
  const s = e.props.disabled === void 0 && e.props.submitBehavior !== "live";
1665
- s && (e.props.disabled = !0), e.store.set(Mt), await l, s && (e.props.disabled = !1), e.store.remove("loading");
1668
+ s && (e.props.disabled = !0), e.store.set(Et), await l, s && (e.props.disabled = !1), e.store.remove("loading");
1666
1669
  }
1667
1670
  } else
1668
1671
  i.target instanceof HTMLFormElement && i.target.submit();
1669
1672
  }
1670
- function gl(e) {
1673
+ function $l(e) {
1671
1674
  e.props.isForm = !0, e.ledger.count("validating", (i) => i.key === "validating"), e.on("created", () => {
1672
1675
  var i;
1673
- !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.submit = _l.bind(null, e)), j(e.props, "actions") || (e.props.actions = !0);
1676
+ !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.submit = gl.bind(null, e)), F(e.props, "actions") || (e.props.actions = !0);
1674
1677
  }), e.on("settled:blocking", () => e.store.remove("incomplete"));
1675
1678
  }
1676
- function $l(e) {
1679
+ function wl(e) {
1677
1680
  e.props.ignore === void 0 && (e.props.ignore = !0, e.parent = null);
1678
1681
  }
1679
- function wl(e) {
1682
+ function kl(e) {
1680
1683
  e.on("created", () => {
1681
1684
  e.context && (e.context.initialValue = e.value || "");
1682
1685
  });
1683
1686
  }
1684
- function kl(e, i) {
1685
- i.target instanceof HTMLInputElement && e.input(Se(e.props.options, i.target.value));
1687
+ function bn(e) {
1688
+ if (typeof e.props.number > "u")
1689
+ return;
1690
+ const i = ["number", "range", "hidden"].includes(e.props.type);
1691
+ e.hook.input((t, n) => {
1692
+ if (t === "")
1693
+ return n(void 0);
1694
+ const l = e.props.number === "integer" ? parseInt(t) : parseFloat(t);
1695
+ return Number.isFinite(l) ? n(l) : n(i ? void 0 : t);
1696
+ });
1686
1697
  }
1687
1698
  function Cl(e, i) {
1699
+ i.target instanceof HTMLInputElement && e.input(Se(e.props.options, i.target.value));
1700
+ }
1701
+ function Sl(e, i) {
1688
1702
  var t, n;
1689
1703
  return (t = e.context) === null || t === void 0 || t.value, (n = e.context) === null || n === void 0 || n._value, Ve(Se(e.props.options, i), e._value);
1690
1704
  }
1691
- function Sl(e) {
1705
+ function Vl(e) {
1692
1706
  e.on("created", () => {
1693
1707
  var i, t;
1694
- Array.isArray(e.props.options) || Re(350, {
1708
+ Array.isArray(e.props.options) || Ee(350, {
1695
1709
  node: e,
1696
1710
  inputType: "radio"
1697
- }), !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.toggleChecked = kl.bind(null, e)), !((t = e.context) === null || t === void 0) && t.fns && (e.context.fns.isChecked = Cl.bind(null, e));
1698
- }), e.hook.prop(pn(e));
1711
+ }), !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.toggleChecked = Cl.bind(null, e)), !((t = e.context) === null || t === void 0) && t.fns && (e.context.fns.isChecked = Sl.bind(null, e));
1712
+ }), e.hook.prop(dn(e));
1713
+ }
1714
+ let Il = 0;
1715
+ function Ll(e) {
1716
+ e.sync && e.plugins.add(Pl);
1717
+ }
1718
+ function Pl(e) {
1719
+ e.props.type === "radio" && (e.props.altName = `${e.name}_${Il++}`);
1699
1720
  }
1700
- function Vl(e, i) {
1721
+ function Al(e, i) {
1701
1722
  e.context && e.context.value;
1702
1723
  const t = "__original" in i ? i.__original : i.value;
1703
1724
  function n() {
@@ -1705,15 +1726,15 @@ function Vl(e, i) {
1705
1726
  }
1706
1727
  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);
1707
1728
  }
1708
- async function Il(e, i) {
1729
+ async function Ol(e, i) {
1709
1730
  var t;
1710
1731
  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));
1711
1732
  }
1712
- function Ll(e, i) {
1733
+ function xl(e, i) {
1713
1734
  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);
1714
1735
  e.input(n);
1715
1736
  }
1716
- function Et(e, i) {
1737
+ function jt(e, i) {
1717
1738
  return e.some((t) => t.attrs && t.attrs["data-is-placeholder"]) ? e : [
1718
1739
  {
1719
1740
  label: i,
@@ -1727,24 +1748,24 @@ function Et(e, i) {
1727
1748
  ...e
1728
1749
  ];
1729
1750
  }
1730
- function Pl(e) {
1751
+ function Ml(e) {
1731
1752
  e.on("created", () => {
1732
1753
  var i, t, n;
1733
1754
  const l = Y((i = e.props.attrs) === null || i === void 0 ? void 0 : i.multiple);
1734
- !l && e.props.placeholder && Array.isArray(e.props.options) && (e.hook.prop(({ prop: s, value: r }, o) => (s === "options" && (r = Et(r, e.props.placeholder)), o({ prop: s, value: r }))), e.props.options = Et(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
+ !l && e.props.placeholder && Array.isArray(e.props.options) && (e.hook.prop(({ prop: s, value: r }, o) => (s === "options" && (r = jt(r, e.props.placeholder)), o({ prop: s, value: r }))), e.props.options = jt(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, {
1735
1756
  value: e._value
1736
1757
  }), e.on("input", ({ payload: s }) => {
1737
1758
  e.props.attrs = Object.assign({}, e.props.attrs, {
1738
1759
  value: s
1739
1760
  });
1740
- })), !((t = e.context) === null || t === void 0) && t.handlers && (e.context.handlers.selectInput = Ll.bind(null, e), e.context.handlers.onChange = Il.bind(null, e)), !((n = e.context) === null || n === void 0) && n.fns && (e.context.fns.isSelected = Vl.bind(null, e), e.context.fns.showPlaceholder = (s, r) => {
1761
+ })), !((t = e.context) === null || t === void 0) && t.handlers && (e.context.handlers.selectInput = xl.bind(null, e), e.context.handlers.onChange = Ol.bind(null, e)), !((n = e.context) === null || n === void 0) && n.fns && (e.context.fns.isSelected = Al.bind(null, e), e.context.fns.showPlaceholder = (s, r) => {
1741
1762
  if (!Array.isArray(e.props.options))
1742
1763
  return !1;
1743
1764
  const o = e.props.options.some((u) => {
1744
1765
  if (u.attrs && "data-is-placeholder" in u.attrs)
1745
1766
  return !1;
1746
1767
  const p = "__original" in u ? u.__original : u.value;
1747
- return fe(s, p);
1768
+ return ue(s, p);
1748
1769
  });
1749
1770
  return r && !o ? !0 : void 0;
1750
1771
  });
@@ -1753,28 +1774,23 @@ function Pl(e) {
1753
1774
  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);
1754
1775
  });
1755
1776
  }
1756
- function _e(e, i) {
1757
- return (t) => {
1758
- t.props[`${e}Icon`] === void 0 && (t.props[`${e}Icon`] = i.startsWith("<svg") ? i : `default:${i}`);
1759
- };
1760
- }
1761
1777
  function pt(e) {
1762
1778
  return !!(ve(e) && e.if && e.if.startsWith("$slots.") && typeof e.then == "string" && e.then.startsWith("$slots.") && "else" in e);
1763
1779
  }
1764
- function Al(e) {
1765
- return ce(Ie(je("$label"), le(Q(), e(), X())), G("$help"), ae(se("$message.value")));
1780
+ function Rl(e) {
1781
+ return fe(Ie(je("$label"), me(X(), e(), G())), Q("$help"), ae(le("$message.value")));
1766
1782
  }
1767
1783
  function ie(e, i, t) {
1768
1784
  const n = (l) => {
1769
1785
  const s = i(l);
1770
- if (t || We(s) && "if" in s || pt(s)) {
1786
+ if (t || Ne(s) && "if" in s || pt(s)) {
1771
1787
  const r = {
1772
1788
  if: e,
1773
1789
  then: s
1774
1790
  };
1775
1791
  return t && (r.else = t(l)), r;
1776
1792
  } else
1777
- pt(s) ? Object.assign(s.else, { if: e }) : We(s) && Object.assign(s, { if: e });
1793
+ pt(s) ? Object.assign(s.else, { if: e }) : Ne(s) && Object.assign(s, { if: e });
1778
1794
  return s;
1779
1795
  };
1780
1796
  return n._s = Ye(), n;
@@ -1786,7 +1802,7 @@ function ge(e, i) {
1786
1802
  };
1787
1803
  return t._s = e._s, t;
1788
1804
  }
1789
- const Ol = [
1805
+ const El = [
1790
1806
  "classes",
1791
1807
  "config",
1792
1808
  "delay",
@@ -1797,6 +1813,7 @@ const Ol = [
1797
1813
  "modelValue",
1798
1814
  "onUpdate:modelValue",
1799
1815
  "name",
1816
+ "number",
1800
1817
  "parent",
1801
1818
  "plugins",
1802
1819
  "sectionsSchema",
@@ -1814,70 +1831,71 @@ const Ol = [
1814
1831
  "onSubmitInvalid",
1815
1832
  "onSubmitRaw"
1816
1833
  ];
1817
- ce(ae(se("$message.value")), Ie(tl(z("prefix"), Q(), nl("$label || $ui.submit.value"), X(), z("suffix"))), G("$help")), ze("submit");
1818
- ce(
1834
+ fe(ae(le("$message.value")), Ie(il(z("prefix"), X(), ll("$label || $ui.submit.value"), G(), z("suffix"))), Q("$help")), ze("submit");
1835
+ fe(
1819
1836
  ie(
1820
1837
  "$options == undefined",
1821
1838
  /**
1822
1839
  * Single checkbox structure.
1823
1840
  */
1824
- qe(le(Q(), He(), Ne(z("decorator")), X()), ge(Ze("$label"), {
1841
+ qe(xt(X(), We(), Ze(z("decorator")), G()), ge(He("$label"), {
1825
1842
  if: "$label"
1826
1843
  })),
1827
1844
  /**
1828
1845
  * Multi checkbox structure.
1829
1846
  */
1830
- an(sn("$label"), G("$help"), on(rn(qe(le(Q(), ge(He(), {
1847
+ fn(cn("$label"), Q("$help"), un(on(qe(xt(X(), ge(We(), {
1831
1848
  bind: "$option.attrs",
1832
1849
  attrs: {
1833
1850
  id: "$option.attrs.id",
1834
1851
  value: "$option.value",
1835
1852
  checked: "$fns.isChecked($option.value)"
1836
1853
  }
1837
- }), Ne(z("decorator")), X()), ge(Ze("$option.label"), {
1854
+ }), Ze(z("decorator")), G()), ge(He("$option.label"), {
1838
1855
  if: "$option.label"
1839
- })), un("$option.help"))))
1856
+ })), rn("$option.help"))))
1840
1857
  ),
1841
1858
  // Help text only goes under the input when it is a single.
1842
- ie("$options == undefined && $help", G("$help")),
1843
- ae(se("$message.value"))
1859
+ ie("$options == undefined && $help", Q("$help")),
1860
+ ae(le("$message.value"))
1844
1861
  ), _e("decorator", "checkboxDecorator");
1845
- ce(Ie(je("$label"), le(z("prefix", "label"), Q(), il(), al(ll(z("fileItem"), sl("$file.name"), ie("$value.length === 1", Ot(z("fileRemove"), "$ui.remove.value")))), ie("$value.length > 1", Ot("$ui.removeAll.value")), rl(z("noFiles"), "$ui.noFiles.value"), X(), z("suffix"))), G("$help"), ae(se("$message.value"))), _e("fileItem", "fileItem"), _e("fileRemove", "fileRemove"), _e("noFiles", "noFiles");
1846
- ol("$slots.default", ae(se("$message.value")), ul(fl()));
1847
- cn("$slots.default");
1848
- fn();
1849
- cn("$slots.default");
1850
- ce(
1862
+ fe(Ie(je("$label"), me(z("prefix", "label"), X(), al(), rl(sl(z("fileItem"), ol("$file.name"), ie("$value.length === 1", Mt(z("fileRemove"), "$ui.remove.value")))), ie("$value.length > 1", Mt("$ui.removeAll.value")), fl(z("noFiles"), "$ui.noFiles.value"), G(), z("suffix"))), Q("$help"), ae(le("$message.value"))), _e("fileItem", "fileItem"), _e("fileRemove", "fileRemove"), _e("noFiles", "noFiles");
1863
+ ul("$slots.default", ae(le("$message.value")), nl(ml()));
1864
+ $t("$slots.default");
1865
+ pn();
1866
+ $t("$slots.default");
1867
+ $t();
1868
+ fe(
1851
1869
  ie(
1852
1870
  "$options == undefined",
1853
1871
  /**
1854
1872
  * Single radio structure.
1855
1873
  */
1856
- qe(le(Q(), He(), Ne(z("decorator")), X()), ge(Ze("$label"), {
1874
+ qe(me(X(), We(), Ze(z("decorator")), G()), ge(He("$label"), {
1857
1875
  if: "$label"
1858
1876
  })),
1859
1877
  /**
1860
1878
  * Multi radio structure.
1861
1879
  */
1862
- an(sn("$label"), G("$help"), on(rn(qe(le(Q(), ge(He(), {
1880
+ fn(cn("$label"), Q("$help"), un(on(qe(me(X(), ge(We(), {
1863
1881
  bind: "$option.attrs",
1864
1882
  attrs: {
1865
1883
  id: "$option.attrs.id",
1866
1884
  value: "$option.value",
1867
1885
  checked: "$fns.isChecked($option.value)"
1868
1886
  }
1869
- }), Ne(z("decorator")), X()), ge(Ze("$option.label"), {
1887
+ }), Ze(z("decorator")), G()), ge(He("$option.label"), {
1870
1888
  if: "$option.label"
1871
- })), un("$option.help"))))
1889
+ })), rn("$option.help"))))
1872
1890
  ),
1873
1891
  // Help text only goes under the input when it is a single.
1874
- ie("$options == undefined && $help", G("$help")),
1875
- ae(se("$message.value"))
1892
+ ie("$options == undefined && $help", Q("$help")),
1893
+ ae(le("$message.value"))
1876
1894
  ), _e("decorator", "radioDecorator");
1877
- ce(Ie(je("$label"), le(z("prefix"), Q(), cl(ie("$slots.default", () => "$slots.default", ie("$slots.option", dl, pl("$option.label")))), ie("$attrs.multiple !== undefined", () => "", z("select")), X(), z("suffix"))), G("$help"), ae(se("$message.value"))), _e("select", "select");
1878
- ce(Ie(je("$label"), le(z("prefix", "label"), Q(), ml(), X(), z("suffix"))), G("$help"), ae(se("$message.value")));
1879
- ce(Ie(je("$label"), le(z("prefix", "label"), Q(), fn(), X(), z("suffix"))), G("$help"), ae(se("$message.value")));
1880
- ue({
1895
+ fe(Ie(je("$label"), me(z("prefix"), X(), dl(ie("$slots.default", () => "$slots.default", ie("$slots.option", pl, cl("$option.label")))), ie("$attrs.multiple !== undefined", () => "", z("select")), G(), z("suffix"))), Q("$help"), ae(le("$message.value"))), _e("select", "select");
1896
+ fe(Ie(je("$label"), me(z("prefix", "label"), X(), bl(), G(), z("suffix"))), Q("$help"), ae(le("$message.value")));
1897
+ fe(Ie(je("$label"), me(z("prefix", "label"), X(), pn(), G(), z("suffix"))), Q("$help"), ae(le("$message.value")));
1898
+ oe({
1881
1899
  type: "state",
1882
1900
  blocking: !0,
1883
1901
  visible: !1,
@@ -1885,7 +1903,7 @@ ue({
1885
1903
  key: "validating"
1886
1904
  });
1887
1905
  let Ue;
1888
- const xl = new Promise((e) => {
1906
+ const jl = new Promise((e) => {
1889
1907
  }), Ge = typeof window < "u" && typeof fetch < "u";
1890
1908
  Ue = Ge ? getComputedStyle(document.documentElement) : void 0;
1891
1909
  const Oe = {}, nt = {};
@@ -1902,19 +1920,19 @@ function it(e, i) {
1902
1920
  if (l)
1903
1921
  return Oe[t];
1904
1922
  if (!nt[t]) {
1905
- if (s = Ml(t), s = Ge && typeof s > "u" ? Promise.resolve(s) : s, s instanceof Promise)
1906
- nt[t] = s.then((r) => !r && typeof t == "string" && !n ? s = typeof e == "function" ? e(t) : Rl(t, i) : r).then((r) => (typeof t == "string" && (Oe[n ? `default:${t}` : t] = r), r));
1923
+ if (s = Fl(t), s = Ge && typeof s > "u" ? Promise.resolve(s) : s, s instanceof Promise)
1924
+ nt[t] = s.then((r) => !r && typeof t == "string" && !n ? s = typeof e == "function" ? e(t) : Tl(t, i) : r).then((r) => (typeof t == "string" && (Oe[n ? `default:${t}` : t] = r), r));
1907
1925
  else if (typeof s == "string")
1908
1926
  return Oe[n ? `default:${t}` : t] = s, s;
1909
1927
  }
1910
1928
  return nt[t];
1911
1929
  };
1912
1930
  }
1913
- function Ml(e) {
1931
+ function Fl(e) {
1914
1932
  if (Ge)
1915
- return xl.then(() => El(e));
1933
+ return jl.then(() => Dl(e));
1916
1934
  }
1917
- function El(e) {
1935
+ function Dl(e) {
1918
1936
  const i = Ue == null ? void 0 : Ue.getPropertyValue(`--fk-icon-${e}`);
1919
1937
  if (i) {
1920
1938
  const t = atob(i);
@@ -1922,8 +1940,8 @@ function El(e) {
1922
1940
  return Oe[e] = t, t;
1923
1941
  }
1924
1942
  }
1925
- function Rl(e, i) {
1926
- const t = At.startsWith("__") ? "latest" : At, n = typeof i == "function" ? i(e) : `https://cdn.jsdelivr.net/npm/@formkit/icons@${t}/dist/icons/${e}.svg`;
1943
+ function Tl(e, i) {
1944
+ const t = Ot.startsWith("__") ? "latest" : Ot, n = typeof i == "function" ? i(e) : `https://cdn.jsdelivr.net/npm/@formkit/icons@${t}/dist/icons/${e}.svg`;
1927
1945
  if (Ge)
1928
1946
  return fetch(`${n}`).then(async (l) => {
1929
1947
  const s = await l.text();
@@ -1933,8 +1951,8 @@ function Rl(e, i) {
1933
1951
  console.error(l);
1934
1952
  });
1935
1953
  }
1936
- let wt = !1;
1937
- const Rt = {
1954
+ let kt = !1;
1955
+ const Ft = {
1938
1956
  /**
1939
1957
  * FormKit errors:
1940
1958
  */
@@ -1956,7 +1974,7 @@ const Rt = {
1956
1974
  */
1957
1975
  600: ({ data: e }) => `Unknown input type${typeof e.props.type == "string" ? ' "' + e.props.type + '"' : ""} ("${e.name}")`,
1958
1976
  601: ({ data: e }) => `Input definition${typeof e.props.type == "string" ? ' "' + e.props.type + '"' : ""} is missing a schema or component property (${e.name}).`
1959
- }, jt = {
1977
+ }, Dt = {
1960
1978
  /**
1961
1979
  * Core warnings:
1962
1980
  */
@@ -1977,46 +1995,46 @@ const Rt = {
1977
1995
  * Deprecation warnings:
1978
1996
  */
1979
1997
  800: ({ data: e }) => `${e} is deprecated.`
1980
- }, jl = (e, i) => {
1981
- if (e.code in Rt) {
1982
- const t = Rt[e.code];
1998
+ }, Bl = (e, i) => {
1999
+ if (e.code in Ft) {
2000
+ const t = Ft[e.code];
1983
2001
  e.message = typeof t == "function" ? t(e) : t;
1984
2002
  }
1985
2003
  return i(e);
1986
2004
  };
1987
- wt || bt(jl);
1988
- const Fl = (e, i) => {
1989
- if (e.code in jt) {
1990
- const t = jt[e.code];
2005
+ kt || bt(Bl);
2006
+ const zl = (e, i) => {
2007
+ if (e.code in Dt) {
2008
+ const t = Dt[e.code];
1991
2009
  e.message = typeof t == "function" ? t(e) : t;
1992
2010
  }
1993
2011
  return i(e);
1994
2012
  };
1995
- wt || yt(Fl);
1996
- wt = !0;
1997
- const Dl = typeof window > "u", lt = /* @__PURE__ */ new Map();
1998
- function Tl(e, i) {
2013
+ kt || yt(zl);
2014
+ kt = !0;
2015
+ const Ul = typeof window > "u", lt = /* @__PURE__ */ new Map();
2016
+ function Kl(e, i) {
1999
2017
  var t;
2000
- !Dl || !e || (lt.has(e) || lt.set(e, /* @__PURE__ */ new Set()), (t = lt.get(e)) === null || t === void 0 || t.add(i));
2018
+ !Ul || !e || (lt.has(e) || lt.set(e, /* @__PURE__ */ new Set()), (t = lt.get(e)) === null || t === void 0 || t.add(i));
2001
2019
  }
2002
- const mn = typeof window > "u", Me = {}, $e = {};
2020
+ const yn = typeof window > "u", Me = {}, $e = {};
2003
2021
  let K;
2004
- const te = /* @__PURE__ */ new WeakMap(), Bl = "__raw__", zl = /[a-zA-Z0-9\-][cC]lass$/;
2005
- function Ul(e, i) {
2022
+ const te = /* @__PURE__ */ new WeakMap(), Nl = "__raw__", Wl = /[a-zA-Z0-9\-][cC]lass$/;
2023
+ function Hl(e, i) {
2006
2024
  const t = ne(null);
2007
2025
  if (e === "get") {
2008
2026
  const l = {};
2009
- return t.value = Kl.bind(null, l), t;
2027
+ return t.value = ql.bind(null, l), t;
2010
2028
  }
2011
2029
  const n = e.split(".");
2012
2030
  return ee(() => {
2013
- t.value = kt(Sn(i) ? i.value : i, n);
2031
+ t.value = Ct(In(i) ? i.value : i, n);
2014
2032
  }), t;
2015
2033
  }
2016
- function kt(e, i) {
2034
+ function Ct(e, i) {
2017
2035
  if (Array.isArray(e)) {
2018
2036
  for (const l of e) {
2019
- const s = l !== !1 && kt(l, i);
2037
+ const s = l !== !1 && Ct(l, i);
2020
2038
  if (s !== void 0)
2021
2039
  return s;
2022
2040
  }
@@ -2038,19 +2056,19 @@ function kt(e, i) {
2038
2056
  }
2039
2057
  return t;
2040
2058
  }
2041
- function Kl(e, i) {
2059
+ function ql(e, i) {
2042
2060
  if (typeof i != "string")
2043
- return Re(650);
2061
+ return Ee(650);
2044
2062
  if (i in e || (e[i] = ne(void 0)), e[i].value === void 0) {
2045
2063
  e[i].value = null;
2046
- const t = Jt(i);
2047
- t && (e[i].value = t.context), ii(i, ({ payload: n }) => {
2064
+ const t = Qt(i);
2065
+ t && (e[i].value = t.context), ai(i, ({ payload: n }) => {
2048
2066
  e[i].value = Xe(n) ? n.context : n;
2049
2067
  });
2050
2068
  }
2051
2069
  return e[i].value;
2052
2070
  }
2053
- function Ft(e, i, t) {
2071
+ function Tt(e, i, t) {
2054
2072
  function n($, h) {
2055
2073
  const c = A(J(h.if), { if: !0 }), d = p($, h.then), m = h.else ? p($, h.else) : null;
2056
2074
  return [c, d, m];
@@ -2059,7 +2077,7 @@ function Ft(e, i, t) {
2059
2077
  var c, d;
2060
2078
  const m = A(J($.if));
2061
2079
  let y = () => h, g = () => h;
2062
- return typeof $.then == "object" ? g = s($.then, void 0) : typeof $.then == "string" && (!((c = $.then) === null || c === void 0) && c.startsWith("$")) ? g = A(J($.then)) : g = () => $.then, j($, "else") && (typeof $.else == "object" ? y = s($.else) : typeof $.else == "string" && (!((d = $.else) === null || d === void 0) && d.startsWith("$")) ? y = A(J($.else)) : y = () => $.else), () => m() ? g() : y();
2080
+ return typeof $.then == "object" ? g = s($.then, void 0) : typeof $.then == "string" && (!((c = $.then) === null || c === void 0) && c.startsWith("$")) ? g = A(J($.then)) : g = () => $.then, F($, "else") && (typeof $.else == "object" ? y = s($.else) : typeof $.else == "string" && (!((d = $.else) === null || d === void 0) && d.startsWith("$")) ? y = A(J($.else)) : y = () => $.else), () => m() ? g() : y();
2063
2081
  }
2064
2082
  function s($, h, c = {}) {
2065
2083
  const d = new Set(Object.keys($ || {})), m = h ? A(J(h)) : () => ({}), y = [
@@ -2076,7 +2094,7 @@ function Ft(e, i, t) {
2076
2094
  const v = $[g];
2077
2095
  let w;
2078
2096
  const f = typeof v == "string";
2079
- g.startsWith(Bl) ? (g = g.substring(7), w = () => v) : f && v.startsWith("$") && v.length > 1 && !(v.startsWith("$reset") && zl.test(g)) ? w = A(J(v)) : typeof v == "object" && ve(v) ? w = l(v, void 0) : typeof v == "object" && ke(v) ? w = s(v) : w = () => v, y.push((b) => {
2097
+ g.startsWith(Nl) ? (g = g.substring(7), w = () => v) : f && v.startsWith("$") && v.length > 1 && !(v.startsWith("$reset") && Wl.test(g)) ? w = A(J(v)) : typeof v == "object" && ve(v) ? w = l(v, void 0) : typeof v == "object" && ke(v) ? w = s(v) : w = () => v, y.push((b) => {
2080
2098
  b[g] = w();
2081
2099
  });
2082
2100
  }
@@ -2088,8 +2106,8 @@ function Ft(e, i, t) {
2088
2106
  }
2089
2107
  function r($, h) {
2090
2108
  let c = null, d = () => null, m = !1, y = null, g = null, v = null, w = !1;
2091
- const f = Xi(h);
2092
- if (ft(f) ? (c = f.$el, d = f.$el !== "text" ? s(f.attrs, f.bind) : () => null) : ct(f) ? (typeof f.$cmp == "string" ? j($, f.$cmp) ? c = $[f.$cmp] : (c = f.$cmp, w = !0) : c = f.$cmp, d = s(f.props, f.bind)) : ve(f) && ([m, y, g] = n($, f)), !ve(f) && "if" in f ? m = A(J(f.if)) : !ve(f) && c === null && (m = () => !0), "children" in f && f.children)
2109
+ const f = Gi(h);
2110
+ if (ft(f) ? (c = f.$el, d = f.$el !== "text" ? s(f.attrs, f.bind) : () => null) : ct(f) ? (typeof f.$cmp == "string" ? F($, f.$cmp) ? c = $[f.$cmp] : (c = f.$cmp, w = !0) : c = f.$cmp, d = s(f.props, f.bind)) : ve(f) && ([m, y, g] = n($, f)), !ve(f) && "if" in f ? m = A(J(f.if)) : !ve(f) && c === null && (m = () => !0), "children" in f && f.children)
2093
2111
  if (typeof f.children == "string")
2094
2112
  if (f.children.startsWith("$slots."))
2095
2113
  c = c === "text" ? "slot" : c, y = A(J(f.children));
@@ -2109,11 +2127,11 @@ function Ft(e, i, t) {
2109
2127
  const b = y;
2110
2128
  y = (k) => ({
2111
2129
  default(I, B) {
2112
- var C, E, O, W;
2130
+ var S, R, O, N;
2113
2131
  const q = K;
2114
- B && (K = B), I && ((C = te.get(K)) === null || C === void 0 || C.unshift(I)), k && ((E = te.get(K)) === null || E === void 0 || E.unshift(k));
2132
+ B && (K = B), I && ((S = te.get(K)) === null || S === void 0 || S.unshift(I)), k && ((R = te.get(K)) === null || R === void 0 || R.unshift(k));
2115
2133
  const x = b(k);
2116
- return I && ((O = te.get(K)) === null || O === void 0 || O.shift()), k && ((W = te.get(K)) === null || W === void 0 || W.shift()), K = q, x;
2134
+ return I && ((O = te.get(K)) === null || O === void 0 || O.shift()), k && ((N = te.get(K)) === null || N === void 0 || N.shift()), K = q, x;
2117
2135
  }
2118
2136
  }), y.slot = !0;
2119
2137
  } else
@@ -2142,10 +2160,10 @@ function Ft(e, i, t) {
2142
2160
  return c() ? y(b) : g && g(b);
2143
2161
  if (d && (!c || c())) {
2144
2162
  if (d === "text" && y)
2145
- return Vn(String(y()));
2163
+ return Ln(String(y()));
2146
2164
  if (d === "slot" && y)
2147
2165
  return y(b);
2148
- const k = w ? F(d) : d, I = y != null && y.slot ? o(y, b) : null;
2166
+ const k = w ? j(d) : d, I = y != null && y.slot ? o(y, b) : null;
2149
2167
  return we(k, m(), I || (y ? y(b) : []));
2150
2168
  }
2151
2169
  return typeof g == "function" ? g(b) : g;
@@ -2153,19 +2171,19 @@ function Ft(e, i, t) {
2153
2171
  if (v) {
2154
2172
  const b = f, [k, I, B] = v;
2155
2173
  f = () => {
2156
- const C = k(), E = Number.isFinite(C) ? Array(Number(C)).fill(0).map((x, N) => N) : C, O = [];
2157
- if (typeof E != "object")
2174
+ const S = k(), R = Number.isFinite(S) ? Array(Number(S)).fill(0).map((x, W) => W) : S, O = [];
2175
+ if (typeof R != "object")
2158
2176
  return null;
2159
- const W = te.get(K) || [], q = Array.isArray(E);
2160
- for (const x in E) {
2177
+ const N = te.get(K) || [], q = Array.isArray(R);
2178
+ for (const x in R) {
2161
2179
  if (q && x in Array.prototype)
2162
2180
  continue;
2163
- const N = Object.defineProperty({
2164
- ...W.reduce((Le, re) => Le.__idata ? { ...Le, ...re } : re, {}),
2165
- [I]: E[x],
2181
+ const W = Object.defineProperty({
2182
+ ...N.reduce((Le, se) => Le.__idata ? { ...Le, ...se } : se, {}),
2183
+ [I]: R[x],
2166
2184
  ...B !== null ? { [B]: q ? Number(x) : x } : {}
2167
2185
  }, "__idata", { enumerable: !1, value: !0 });
2168
- W.unshift(N), O.push(b.bind(null, N)()), W.shift();
2186
+ N.unshift(W), O.push(b.bind(null, W)()), N.shift();
2169
2187
  }
2170
2188
  return O;
2171
2189
  };
@@ -2190,49 +2208,49 @@ function Ft(e, i, t) {
2190
2208
  function Z($, h) {
2191
2209
  var c;
2192
2210
  t ?? (t = JSON.stringify(i));
2193
- const [d, m] = j(Me, t) ? Me[t] : [p(e, i), _];
2194
- return mn || ((c = $e[t]) !== null && c !== void 0 || ($e[t] = 0), $e[t]++, Me[t] = [d, m]), m.forEach((y) => {
2211
+ const [d, m] = F(Me, t) ? Me[t] : [p(e, i), _];
2212
+ return yn || ((c = $e[t]) !== null && c !== void 0 || ($e[t] = 0), $e[t]++, Me[t] = [d, m]), m.forEach((y) => {
2195
2213
  y($, h);
2196
2214
  }), () => (K = h, d());
2197
2215
  }
2198
2216
  return Z;
2199
2217
  }
2200
- function bn(e, i) {
2218
+ function vn(e, i) {
2201
2219
  const t = te.get(K) || [];
2202
2220
  let n;
2203
- return t.length && (n = kt(t, e.split("."))), n === void 0 ? i : n;
2221
+ return t.length && (n = Ct(t, e.split("."))), n === void 0 ? i : n;
2204
2222
  }
2205
- function Wl(e, i) {
2223
+ function Zl(e, i) {
2206
2224
  return new Proxy(e, {
2207
2225
  get(...t) {
2208
2226
  let n;
2209
2227
  const l = t[1];
2210
2228
  if (typeof l == "string") {
2211
2229
  const s = K;
2212
- K = i, n = bn(l, void 0), K = s;
2230
+ K = i, n = vn(l, void 0), K = s;
2213
2231
  }
2214
2232
  return n !== void 0 ? n : Reflect.get(...t);
2215
2233
  }
2216
2234
  });
2217
2235
  }
2218
- function Dt(e, i, t) {
2236
+ function Bt(e, i, t) {
2219
2237
  return e((n, l = {}) => n.reduce((s, r) => {
2220
2238
  if (r.startsWith("slots.")) {
2221
- const o = r.substring(6), u = () => i.slots && j(i.slots, o) && typeof i.slots[o] == "function";
2239
+ const o = r.substring(6), u = () => i.slots && F(i.slots, o) && typeof i.slots[o] == "function";
2222
2240
  if (l.if)
2223
2241
  s[r] = u;
2224
2242
  else if (i.slots) {
2225
- const p = Wl(i, t);
2243
+ const p = Zl(i, t);
2226
2244
  s[r] = () => u() ? i.slots[o](p) : null;
2227
2245
  }
2228
2246
  } else {
2229
- const o = Ul(r, i);
2230
- s[r] = () => bn(r, o.value);
2247
+ const o = Hl(r, i);
2248
+ s[r] = () => vn(r, o.value);
2231
2249
  }
2232
2250
  return s;
2233
2251
  }, {}), t);
2234
2252
  }
2235
- function Tt(e, i, t) {
2253
+ function zt(e, i, t) {
2236
2254
  if (i ?? (i = JSON.stringify(e)), $e[i]--, $e[i] === 0) {
2237
2255
  delete $e[i];
2238
2256
  const [, n] = Me[i];
@@ -2240,7 +2258,7 @@ function Tt(e, i, t) {
2240
2258
  }
2241
2259
  te.delete(t);
2242
2260
  }
2243
- const yn = M({
2261
+ const hn = M({
2244
2262
  name: "FormKitSchema",
2245
2263
  props: {
2246
2264
  schema: {
@@ -2265,25 +2283,25 @@ const yn = M({
2265
2283
  const n = st();
2266
2284
  let l = {};
2267
2285
  te.set(l, []);
2268
- let s = Ft(e.library, e.schema, e.memoKey), r, o;
2269
- mn || pe(() => e.schema, (p, _) => {
2286
+ let s = Tt(e.library, e.schema, e.memoKey), r, o;
2287
+ yn || ce(() => e.schema, (p, _) => {
2270
2288
  var A;
2271
2289
  const Z = l;
2272
- l = {}, te.set(l, []), s = Ft(e.library, e.schema, e.memoKey), r = Dt(s, o, l), p === _ && ((A = n == null ? void 0 : n.proxy) === null || A === void 0 ? void 0 : A.$forceUpdate)(), Tt(e.schema, e.memoKey, Z);
2290
+ l = {}, te.set(l, []), s = Tt(e.library, e.schema, e.memoKey), r = Bt(s, o, l), p === _ && ((A = n == null ? void 0 : n.proxy) === null || A === void 0 ? void 0 : A.$forceUpdate)(), zt(e.schema, e.memoKey, Z);
2273
2291
  }, { deep: !0 }), ee(() => {
2274
2292
  var p;
2275
- o = Object.assign(_n((p = e.data) !== null && p !== void 0 ? p : {}), {
2293
+ o = Object.assign($n((p = e.data) !== null && p !== void 0 ? p : {}), {
2276
2294
  slots: i.slots
2277
- }), i.slots, r = Dt(s, o, l);
2295
+ }), i.slots, r = Bt(s, o, l);
2278
2296
  });
2279
2297
  function u() {
2280
- Tt(e.schema, e.memoKey, l), o.node && o.node.destroy(), o.slots = null, o = null, r = null;
2298
+ zt(e.schema, e.memoKey, l), o.node && o.node.destroy(), o.slots = null, o = null, r = null;
2281
2299
  }
2282
- return gn(u), Tl((t = st()) === null || t === void 0 ? void 0 : t.appContext.app, u), () => r ? r() : null;
2300
+ return wn(u), Kl((t = st()) === null || t === void 0 ? void 0 : t.appContext.app, u), () => r ? r() : null;
2283
2301
  }
2284
- }), Nl = typeof window > "u", Je = Symbol("FormKitParent");
2285
- function Hl(e, i) {
2286
- const t = Jl(e, i);
2302
+ }), Jl = typeof window > "u", Je = Symbol("FormKitParent");
2303
+ function Yl(e, i) {
2304
+ const t = Gl(e, i);
2287
2305
  if (t.props.definition || H(600, t), t.props.definition.component)
2288
2306
  return () => {
2289
2307
  var o;
@@ -2298,19 +2316,19 @@ function Hl(e, i) {
2298
2316
  const p = (u = (o = t.props) === null || o === void 0 ? void 0 : o.definition) === null || u === void 0 ? void 0 : u.schema;
2299
2317
  p || H(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;
2300
2318
  };
2301
- s(), Nl || t.on("schema", () => {
2319
+ s(), Jl || t.on("schema", () => {
2302
2320
  l += "♻️", s();
2303
2321
  }), i.emit("node", t);
2304
2322
  const r = t.props.definition.library;
2305
- return i.expose({ node: t }), () => we(yn, { schema: n.value, data: t.context, library: r, memoKey: l }, { ...i.slots });
2323
+ return i.expose({ node: t }), () => we(hn, { schema: n.value, data: t.context, library: r, memoKey: l }, { ...i.slots });
2306
2324
  }
2307
- M(Hl, {
2308
- props: Ol,
2325
+ M(Yl, {
2326
+ props: El,
2309
2327
  inheritAttrs: !1
2310
2328
  });
2311
- const vn = Symbol();
2329
+ const _n = Symbol();
2312
2330
  M((e, i) => {
2313
- const t = ne(null), n = ne(!1), l = ne(void 0), s = pe(t, (o) => {
2331
+ const t = ne(null), n = ne(!1), l = ne(void 0), s = ce(t, (o) => {
2314
2332
  let u = o, p = null;
2315
2333
  for (; u = u == null ? void 0 : u.parentNode; )
2316
2334
  if (p = u, p instanceof ShadowRoot || p instanceof Document) {
@@ -2319,13 +2337,13 @@ M((e, i) => {
2319
2337
  }
2320
2338
  s(), n.value = !0;
2321
2339
  });
2322
- zt(vn, l);
2340
+ Kt(_n, l);
2323
2341
  function r(o) {
2324
2342
  l.value = o;
2325
2343
  }
2326
2344
  return () => n.value && i.slots.default ? i.slots.default() : we("template", { ref: t });
2327
2345
  });
2328
- const hn = Symbol.for("FormKitOptions"), ql = typeof window < "u", at = [
2346
+ const gn = Symbol.for("FormKitOptions"), Ql = typeof window < "u", at = [
2329
2347
  "help",
2330
2348
  "label",
2331
2349
  "ignore",
@@ -2338,28 +2356,28 @@ const hn = Symbol.for("FormKitOptions"), ql = typeof window < "u", at = [
2338
2356
  "suffixIcon",
2339
2357
  /^[a-zA-Z-]+(?:-icon|Icon)$/
2340
2358
  ];
2341
- function Bt(e, i) {
2359
+ function Ut(e, i) {
2342
2360
  i.classes && Object.keys(i.classes).forEach((t) => {
2343
2361
  typeof t == "string" && (e.props[`_${t}Class`] = i.classes[t], xe(i.classes[t]) && t === "inner" && Object.values(i.classes[t]));
2344
2362
  });
2345
2363
  }
2346
- function Zl(e) {
2364
+ function Xl(e) {
2347
2365
  return e ? ["Submit", "SubmitRaw", "SubmitInvalid"].reduce((t, n) => {
2348
2366
  const l = `on${n}`;
2349
2367
  return l in e && typeof e[l] == "function" && (t[l] = e[l]), t;
2350
2368
  }, {}) : {};
2351
2369
  }
2352
- function Jl(e, i, t = {}) {
2370
+ function Gl(e, i, t = {}) {
2353
2371
  var n;
2354
- const l = Object.assign({}, he(hn) || {}, t), s = he(vn, ne(ql ? document : void 0)), r = st(), o = Zl(r == null ? void 0 : r.vnode.props), u = ["modelValue", "model-value"].some((f) => {
2372
+ const l = Object.assign({}, he(gn) || {}, t), s = he(_n, ne(Ql ? document : void 0)), r = st(), o = Xl(r == null ? void 0 : r.vnode.props), u = ["modelValue", "model-value"].some((f) => {
2355
2373
  var b;
2356
2374
  return f in ((b = r == null ? void 0 : r.vnode.props) !== null && b !== void 0 ? b : {});
2357
2375
  });
2358
2376
  let p = !1;
2359
- $n(() => {
2377
+ kn(() => {
2360
2378
  p = !0;
2361
2379
  });
2362
- const _ = e.modelValue !== void 0 ? e.modelValue : me(i.attrs.value);
2380
+ const _ = e.modelValue !== void 0 ? e.modelValue : de(i.attrs.value);
2363
2381
  function A() {
2364
2382
  var f;
2365
2383
  const b = {
@@ -2368,15 +2386,15 @@ function Jl(e, i, t = {}) {
2368
2386
  type: (f = e.type) !== null && f !== void 0 ? f : "text",
2369
2387
  __root: s.value,
2370
2388
  __slots: i.slots
2371
- }, k = Ct(ye(i.attrs), at);
2389
+ }, k = St(ye(i.attrs), at);
2372
2390
  k.key || (k.key = Ye()), b.attrs = k;
2373
- const I = St(ye(i.attrs), at);
2374
- for (const C in I)
2375
- b[De(C)] = I[C];
2391
+ const I = Vt(ye(i.attrs), at);
2392
+ for (const S in I)
2393
+ b[De(S)] = I[S];
2376
2394
  const B = { props: {} };
2377
- return Bt(B, e), Object.assign(b, B.props), typeof b.type != "string" && (b.definition = b.type, delete b.type), b;
2395
+ return Ut(B, e), Object.assign(b, B.props), typeof b.type != "string" && (b.definition = b.type, delete b.type), b;
2378
2396
  }
2379
- const Z = A(), $ = Z.ignore ? null : e.parent || he(Je, null), h = Yi(Qe(l || {}, {
2397
+ const Z = A(), $ = Z.ignore ? null : e.parent || he(Je, null), h = Qi(Qe(l || {}, {
2380
2398
  name: e.name || void 0,
2381
2399
  value: _,
2382
2400
  parent: $,
@@ -2391,11 +2409,11 @@ function Jl(e, i, t = {}) {
2391
2409
  h.on("added-props", ({ payload: f }) => {
2392
2410
  Array.isArray(f) && f.forEach((b) => c.value.add(b));
2393
2411
  });
2394
- const d = R(() => at.concat([...c.value]).reduce((f, b) => (typeof b == "string" ? (f.push(De(b)), f.push(Wt(b))) : f.push(b), f), []));
2395
- ee(() => Bt(h, e));
2412
+ const d = E(() => at.concat([...c.value]).reduce((f, b) => (typeof b == "string" ? (f.push(De(b)), f.push(Ht(b))) : f.push(b), f), []));
2413
+ ee(() => Ut(h, e));
2396
2414
  const m = ye(e);
2397
2415
  for (const f in m)
2398
- pe(() => e[f], () => {
2416
+ ce(() => e[f], () => {
2399
2417
  e[f] !== void 0 && (h.props[f] = e[f]);
2400
2418
  });
2401
2419
  ee(() => {
@@ -2403,7 +2421,7 @@ function Jl(e, i, t = {}) {
2403
2421
  });
2404
2422
  const y = /* @__PURE__ */ new Set(), g = ye(i.attrs);
2405
2423
  ee(() => {
2406
- v(St(g, d.value));
2424
+ v(Vt(g, d.value));
2407
2425
  });
2408
2426
  function v(f) {
2409
2427
  y.forEach((b) => {
@@ -2411,17 +2429,17 @@ function Jl(e, i, t = {}) {
2411
2429
  });
2412
2430
  for (const b in f) {
2413
2431
  const k = De(b);
2414
- y.add(pe(() => i.attrs[b], () => {
2432
+ y.add(ce(() => i.attrs[b], () => {
2415
2433
  h.props[k] = i.attrs[b];
2416
2434
  }));
2417
2435
  }
2418
2436
  }
2419
2437
  if (ee(() => {
2420
- const f = Ct(ye(i.attrs), d.value);
2421
- "multiple" in f && (f.multiple = Y(f.multiple)), typeof f.onBlur == "function" && (f.onBlur = Fn(f.onBlur)), h.props.attrs = Object.assign({}, h.props.attrs || {}, f);
2438
+ const f = St(ye(i.attrs), d.value);
2439
+ "multiple" in f && (f.multiple = Y(f.multiple)), typeof f.onBlur == "function" && (f.onBlur = Tn(f.onBlur)), h.props.attrs = Object.assign({}, h.props.attrs || {}, f);
2422
2440
  }), ee(() => {
2423
2441
  var f;
2424
- const b = ((f = e.errors) !== null && f !== void 0 ? f : []).map((k) => ue({
2442
+ const b = ((f = e.errors) !== null && f !== void 0 ? f : []).map((k) => oe({
2425
2443
  key: dt(k),
2426
2444
  type: "error",
2427
2445
  value: k,
@@ -2434,29 +2452,29 @@ function Jl(e, i, t = {}) {
2434
2452
  var b;
2435
2453
  const k = (b = e.inputErrors) !== null && b !== void 0 ? b : {}, I = Object.keys(k);
2436
2454
  I.length || h.clearErrors(!0, f);
2437
- const B = I.reduce((C, E) => {
2438
- let O = k[E];
2439
- return typeof O == "string" && (O = [O]), Array.isArray(O) && (C[E] = O.map((W) => ue({
2440
- key: W,
2455
+ const B = I.reduce((S, R) => {
2456
+ let O = k[R];
2457
+ return typeof O == "string" && (O = [O]), Array.isArray(O) && (S[R] = O.map((N) => oe({
2458
+ key: N,
2441
2459
  type: "error",
2442
- value: W,
2460
+ value: N,
2443
2461
  meta: { source: f }
2444
- }))), C;
2462
+ }))), S;
2445
2463
  }, {});
2446
- h.store.apply(B, (C) => C.type === "error" && C.meta.source === f);
2464
+ h.store.apply(B, (S) => S.type === "error" && S.meta.source === f);
2447
2465
  });
2448
2466
  }
2449
- ee(() => Object.assign(h.config, e.config)), h.type !== "input" && zt(Je, h);
2467
+ ee(() => Object.assign(h.config, e.config)), h.type !== "input" && Kt(Je, h);
2450
2468
  let w;
2451
2469
  return h.on("modelUpdated", () => {
2452
2470
  var f, b;
2453
- i.emit("inputRaw", (f = h.context) === null || f === void 0 ? void 0 : f.value, h), p && i.emit("input", (b = h.context) === null || b === void 0 ? void 0 : b.value, h), u && h.context && (w = me(h.value), i.emit("update:modelValue", En(h.value)));
2454
- }), u && (pe(wn(e, "modelValue"), (f) => {
2455
- fe(w, f) || h.input(f, !1);
2456
- }, { deep: !0 }), h.value !== _ && h.emit("modelUpdated")), kn(() => h.destroy()), h;
2471
+ i.emit("inputRaw", (f = h.context) === null || f === void 0 ? void 0 : f.value, h), p && i.emit("input", (b = h.context) === null || b === void 0 ? void 0 : b.value, h), u && h.context && (w = de(h.value), i.emit("update:modelValue", jn(h.value)));
2472
+ }), u && (ce(Cn(e, "modelValue"), (f) => {
2473
+ ue(w, f) || h.input(f, !1);
2474
+ }, { deep: !0 }), h.value !== _ && h.emit("modelUpdated")), Sn(() => h.destroy()), h;
2457
2475
  }
2458
- let Yl = 1;
2459
- function Ql(e) {
2476
+ let ea = 1;
2477
+ function ta(e) {
2460
2478
  return typeof e == "function" && e.length === 2 || typeof e == "object" && !Array.isArray(e) && !("$el" in e) && !("$cmp" in e) && !("if" in e);
2461
2479
  }
2462
2480
  function T(e, i = {}) {
@@ -2465,22 +2483,22 @@ function T(e, i = {}) {
2465
2483
  ...i
2466
2484
  };
2467
2485
  let n;
2468
- if (Ql(e)) {
2469
- const l = `SchemaComponent${Yl++}`;
2470
- n = S("input", () => ({
2486
+ if (ta(e)) {
2487
+ const l = `SchemaComponent${ea++}`;
2488
+ n = C("input", () => ({
2471
2489
  $cmp: l,
2472
2490
  props: {
2473
2491
  context: "$node.context"
2474
2492
  }
2475
- })), t.library = { [l]: Cn(e) };
2493
+ })), t.library = { [l]: Vn(e) };
2476
2494
  } else
2477
- typeof e == "function" ? n = e : n = S("input", () => me(e));
2478
- return t.schema = Al(n || "Schema undefined"), t.schemaMemoKey || (t.schemaMemoKey = `${Math.random()}`), t;
2495
+ typeof e == "function" ? n = e : n = C("input", () => de(e));
2496
+ return t.schema = Rl(n || "Schema undefined"), t.schemaMemoKey || (t.schemaMemoKey = `${Math.random()}`), t;
2479
2497
  }
2480
- const Xl = S("messages", () => ({
2498
+ const na = C("messages", () => ({
2481
2499
  $el: "ul",
2482
2500
  if: "$fns.length($messages)"
2483
- })), Gl = S("message", () => ({
2501
+ })), ia = C("message", () => ({
2484
2502
  $el: "li",
2485
2503
  for: ["message", "$messages"],
2486
2504
  attrs: {
@@ -2488,7 +2506,7 @@ const Xl = S("messages", () => ({
2488
2506
  id: "$id + '-' + $message.key",
2489
2507
  "data-message-type": "$message.type"
2490
2508
  }
2491
- })), ea = Xl(Gl("$message.value"));
2509
+ })), la = na(ia("$message.value"));
2492
2510
  M({
2493
2511
  props: {
2494
2512
  node: {
@@ -2505,12 +2523,12 @@ M({
2505
2523
  }
2506
2524
  },
2507
2525
  setup(e, i) {
2508
- const t = R(() => e.node || he(Je, void 0));
2509
- pe(t, () => {
2526
+ const t = E(() => e.node || he(Je, void 0));
2527
+ ce(t, () => {
2510
2528
  var s;
2511
2529
  !((s = t.value) === null || s === void 0) && s.context && !Y(e.defaultPosition) && (t.value.context.defaultMessagePlacement = !1);
2512
2530
  }, { immediate: !0 });
2513
- const n = ea(e.sectionsSchema || {}), l = R(() => {
2531
+ const n = la(e.sectionsSchema || {}), l = E(() => {
2514
2532
  var s, r, o, u, p, _;
2515
2533
  return {
2516
2534
  messages: ((r = (s = t.value) === null || s === void 0 ? void 0 : s.context) === null || r === void 0 ? void 0 : r.messages) || {},
@@ -2520,7 +2538,7 @@ M({
2520
2538
  });
2521
2539
  return () => {
2522
2540
  var s;
2523
- return !((s = t.value) === null || s === void 0) && s.context ? we(yn, { schema: n, data: l.value }, { ...i.slots }) : null;
2541
+ return !((s = t.value) === null || s === void 0) && s.context ? we(hn, { schema: n, data: l.value }, { ...i.slots }) : null;
2524
2542
  };
2525
2543
  }
2526
2544
  });
@@ -2542,7 +2560,7 @@ M({
2542
2560
  },
2543
2561
  setup(e) {
2544
2562
  var i, t;
2545
- const n = ne(void 0), l = he(hn, {}), s = he(Je, null);
2563
+ const n = ne(void 0), l = he(gn, {}), s = he(Je, null);
2546
2564
  let r;
2547
2565
  function o() {
2548
2566
  if (!r || typeof r != "function")
@@ -2562,7 +2580,7 @@ M({
2562
2580
  const u = (t = l == null ? void 0 : l.plugins) === null || t === void 0 ? void 0 : t.find((p) => typeof p.iconHandler == "function");
2563
2581
  u && (r = u.iconHandler);
2564
2582
  }
2565
- return pe(() => e.icon, () => {
2583
+ return ce(() => e.icon, () => {
2566
2584
  o();
2567
2585
  }, { immediate: !0 }), () => e.icon && n.value ? we("span", {
2568
2586
  class: "formkit-icon",
@@ -2570,7 +2588,7 @@ M({
2570
2588
  }) : null;
2571
2589
  }
2572
2590
  });
2573
- const ta = /* @__PURE__ */ M({
2591
+ const aa = /* @__PURE__ */ M({
2574
2592
  __name: "PrimeCalendar",
2575
2593
  props: {
2576
2594
  context: Object
@@ -2583,9 +2601,9 @@ const ta = /* @__PURE__ */ M({
2583
2601
  function s(o) {
2584
2602
  t == null || t.node.input(o);
2585
2603
  }
2586
- const r = R(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2604
+ 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);
2587
2605
  return (o, u) => {
2588
- const p = F("Calendar");
2606
+ const p = j("Calendar");
2589
2607
  return L(), P("div", null, [
2590
2608
  D(p, {
2591
2609
  modelValue: a(t)._value,
@@ -2645,13 +2663,13 @@ const ta = /* @__PURE__ */ M({
2645
2663
  ]);
2646
2664
  };
2647
2665
  }
2648
- }), na = {
2666
+ }), sa = {
2649
2667
  key: 0,
2650
2668
  class: "formkit-prime-left"
2651
- }, ia = {
2669
+ }, ra = {
2652
2670
  key: 1,
2653
2671
  class: "formkit-prime-right"
2654
- }, la = /* @__PURE__ */ M({
2672
+ }, oa = /* @__PURE__ */ M({
2655
2673
  __name: "PrimeCheckbox",
2656
2674
  props: {
2657
2675
  context: Object
@@ -2662,11 +2680,11 @@ const ta = /* @__PURE__ */ M({
2662
2680
  var o;
2663
2681
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
2664
2682
  }
2665
- const s = R(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2683
+ 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);
2666
2684
  return (r, o) => {
2667
- const u = F("Checkbox");
2685
+ const u = j("Checkbox");
2668
2686
  return L(), P("div", null, [
2669
- a(t).attrs.labelLeft ? (L(), P("span", na, de(a(t).attrs.labelLeft), 1)) : oe("", !0),
2687
+ a(t).attrs.labelLeft ? (L(), P("span", sa, pe(a(t).attrs.labelLeft), 1)) : re("", !0),
2670
2688
  D(u, {
2671
2689
  modelValue: a(t)._value,
2672
2690
  "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
@@ -2684,11 +2702,11 @@ const ta = /* @__PURE__ */ M({
2684
2702
  pt: a(n).pt,
2685
2703
  onInput: l
2686
2704
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "binary", "true-value", "false-value", "pt"]),
2687
- a(t).attrs.labelRight ? (L(), P("span", ia, de(a(t).attrs.labelRight), 1)) : oe("", !0)
2705
+ a(t).attrs.labelRight ? (L(), P("span", ra, pe(a(t).attrs.labelRight), 1)) : re("", !0)
2688
2706
  ]);
2689
2707
  };
2690
2708
  }
2691
- }), aa = /* @__PURE__ */ M({
2709
+ }), ua = /* @__PURE__ */ M({
2692
2710
  __name: "PrimeChips",
2693
2711
  props: {
2694
2712
  context: Object
@@ -2699,9 +2717,9 @@ const ta = /* @__PURE__ */ M({
2699
2717
  var o;
2700
2718
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
2701
2719
  }
2702
- const s = R(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2720
+ 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);
2703
2721
  return (r, o) => {
2704
- const u = F("Chips");
2722
+ const u = j("Chips");
2705
2723
  return L(), P("div", null, [
2706
2724
  D(u, {
2707
2725
  modelValue: a(t)._value,
@@ -2726,7 +2744,7 @@ const ta = /* @__PURE__ */ M({
2726
2744
  ]);
2727
2745
  };
2728
2746
  }
2729
- }), sa = /* @__PURE__ */ M({
2747
+ }), fa = /* @__PURE__ */ M({
2730
2748
  __name: "PrimeColorPicker",
2731
2749
  props: {
2732
2750
  context: Object
@@ -2738,7 +2756,7 @@ const ta = /* @__PURE__ */ M({
2738
2756
  t == null || t.node.input((r = i.context) == null ? void 0 : r._value);
2739
2757
  }
2740
2758
  return (s, r) => {
2741
- const o = F("ColorPicker");
2759
+ const o = j("ColorPicker");
2742
2760
  return L(), P("div", null, [
2743
2761
  D(o, {
2744
2762
  modelValue: a(t)._value,
@@ -2759,7 +2777,7 @@ const ta = /* @__PURE__ */ M({
2759
2777
  ]);
2760
2778
  };
2761
2779
  }
2762
- }), ra = /* @__PURE__ */ M({
2780
+ }), ca = /* @__PURE__ */ M({
2763
2781
  __name: "PrimeDropdown",
2764
2782
  props: {
2765
2783
  context: Object
@@ -2772,9 +2790,9 @@ const ta = /* @__PURE__ */ M({
2772
2790
  function s(o) {
2773
2791
  t == null || t.node.input(o.value);
2774
2792
  }
2775
- const r = R(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2793
+ 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);
2776
2794
  return (o, u) => {
2777
- const p = F("Dropdown");
2795
+ const p = j("Dropdown");
2778
2796
  return L(), P("div", null, [
2779
2797
  D(p, {
2780
2798
  modelValue: a(t)._value,
@@ -2800,7 +2818,7 @@ const ta = /* @__PURE__ */ M({
2800
2818
  ]);
2801
2819
  };
2802
2820
  }
2803
- }), oa = /* @__PURE__ */ M({
2821
+ }), pa = /* @__PURE__ */ M({
2804
2822
  __name: "PrimeEditor",
2805
2823
  props: {
2806
2824
  context: Object
@@ -2813,9 +2831,9 @@ const ta = /* @__PURE__ */ M({
2813
2831
  function s(o) {
2814
2832
  o.range === null && (t == null || t.handlers.blur(o.htmlValue));
2815
2833
  }
2816
- const r = R(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2834
+ 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);
2817
2835
  return (o, u) => {
2818
- const p = F("Editor");
2836
+ const p = j("Editor");
2819
2837
  return L(), P("div", null, [
2820
2838
  D(p, {
2821
2839
  id: a(t).id,
@@ -2838,7 +2856,7 @@ const ta = /* @__PURE__ */ M({
2838
2856
  ]);
2839
2857
  };
2840
2858
  }
2841
- }), ua = /* @__PURE__ */ M({
2859
+ }), da = /* @__PURE__ */ M({
2842
2860
  __name: "PrimeInputMask",
2843
2861
  props: {
2844
2862
  context: Object
@@ -2849,9 +2867,9 @@ const ta = /* @__PURE__ */ M({
2849
2867
  var o, u;
2850
2868
  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);
2851
2869
  }
2852
- const s = R(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2870
+ 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);
2853
2871
  return (r, o) => {
2854
- const u = F("InputMask");
2872
+ const u = j("InputMask");
2855
2873
  return L(), P("div", null, [
2856
2874
  D(u, {
2857
2875
  id: a(t).id,
@@ -2875,7 +2893,7 @@ const ta = /* @__PURE__ */ M({
2875
2893
  ]);
2876
2894
  };
2877
2895
  }
2878
- }), fa = /* @__PURE__ */ M({
2896
+ }), ma = /* @__PURE__ */ M({
2879
2897
  __name: "PrimeInputNumber",
2880
2898
  props: {
2881
2899
  context: Object
@@ -2888,9 +2906,9 @@ const ta = /* @__PURE__ */ M({
2888
2906
  function s(o) {
2889
2907
  t == null || t.node.input(o.value);
2890
2908
  }
2891
- const r = R(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2909
+ 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);
2892
2910
  return (o, u) => {
2893
- const p = F("InputNumber");
2911
+ const p = j("InputNumber");
2894
2912
  return L(), P("div", null, [
2895
2913
  D(p, {
2896
2914
  modelValue: a(t)._value,
@@ -2922,13 +2940,13 @@ const ta = /* @__PURE__ */ M({
2922
2940
  ]);
2923
2941
  };
2924
2942
  }
2925
- }), ca = {
2943
+ }), ba = {
2926
2944
  key: 0,
2927
2945
  class: "formkit-prime-left"
2928
- }, pa = {
2946
+ }, ya = {
2929
2947
  key: 1,
2930
2948
  class: "formkit-prime-right"
2931
- }, da = /* @__PURE__ */ M({
2949
+ }, va = /* @__PURE__ */ M({
2932
2950
  __name: "PrimeInputSwitch",
2933
2951
  props: {
2934
2952
  context: Object
@@ -2939,13 +2957,13 @@ const ta = /* @__PURE__ */ M({
2939
2957
  var o;
2940
2958
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
2941
2959
  }
2942
- const s = R(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2960
+ 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);
2943
2961
  return (r, o) => {
2944
- const u = F("InputSwitch");
2962
+ const u = j("InputSwitch");
2945
2963
  return L(), P("div", {
2946
2964
  class: U(a(n).option_class)
2947
2965
  }, [
2948
- a(t).attrs.labelLeft ? (L(), P("span", ca, de(a(t).attrs.labelLeft), 1)) : oe("", !0),
2966
+ a(t).attrs.labelLeft ? (L(), P("span", ba, pe(a(t).attrs.labelLeft), 1)) : re("", !0),
2949
2967
  D(u, {
2950
2968
  modelValue: a(t)._value,
2951
2969
  "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
@@ -2962,11 +2980,11 @@ const ta = /* @__PURE__ */ M({
2962
2980
  pt: a(n).pt,
2963
2981
  onInput: l
2964
2982
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "true-value", "false-value", "pt"]),
2965
- a(t).attrs.labelRight ? (L(), P("span", pa, de(a(t).attrs.labelRight), 1)) : oe("", !0)
2983
+ a(t).attrs.labelRight ? (L(), P("span", ya, pe(a(t).attrs.labelRight), 1)) : re("", !0)
2966
2984
  ], 2);
2967
2985
  };
2968
2986
  }
2969
- }), ma = /* @__PURE__ */ M({
2987
+ }), ha = /* @__PURE__ */ M({
2970
2988
  __name: "PrimeInputText",
2971
2989
  props: {
2972
2990
  context: Object
@@ -2989,17 +3007,17 @@ const ta = /* @__PURE__ */ M({
2989
3007
  function u(_) {
2990
3008
  t == null || t.node.input(_.target.value);
2991
3009
  }
2992
- const p = R(() => 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
+ 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);
2993
3011
  return (_, A) => {
2994
- const Z = F("InputText");
3012
+ const Z = j("InputText");
2995
3013
  return L(), P("div", null, [
2996
- Ut("span", {
3014
+ Nt("span", {
2997
3015
  class: U(r())
2998
3016
  }, [
2999
3017
  l() ? (L(), P("i", {
3000
3018
  key: 0,
3001
3019
  class: U(a(t).iconLeft)
3002
- }, null, 2)) : oe("", !0),
3020
+ }, null, 2)) : re("", !0),
3003
3021
  D(Z, {
3004
3022
  id: a(t).id,
3005
3023
  modelValue: a(t)._value,
@@ -3019,12 +3037,12 @@ const ta = /* @__PURE__ */ M({
3019
3037
  s ? (L(), P("i", {
3020
3038
  key: 1,
3021
3039
  class: U(a(t).iconRight)
3022
- }, null, 2)) : oe("", !0)
3040
+ }, null, 2)) : re("", !0)
3023
3041
  ], 2)
3024
3042
  ]);
3025
3043
  };
3026
3044
  }
3027
- }), ba = /* @__PURE__ */ M({
3045
+ }), _a = /* @__PURE__ */ M({
3028
3046
  __name: "PrimeTextarea",
3029
3047
  props: {
3030
3048
  context: Object
@@ -3037,9 +3055,9 @@ const ta = /* @__PURE__ */ M({
3037
3055
  function s(o) {
3038
3056
  t == null || t.node.input(o.target.value);
3039
3057
  }
3040
- const r = R(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3058
+ 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);
3041
3059
  return (o, u) => {
3042
- const p = F("Textarea");
3060
+ const p = j("Textarea");
3043
3061
  return L(), P("div", null, [
3044
3062
  D(p, {
3045
3063
  id: a(t).id,
@@ -3061,7 +3079,7 @@ const ta = /* @__PURE__ */ M({
3061
3079
  ]);
3062
3080
  };
3063
3081
  }
3064
- }), ya = /* @__PURE__ */ M({
3082
+ }), ga = /* @__PURE__ */ M({
3065
3083
  __name: "PrimeKnob",
3066
3084
  props: {
3067
3085
  context: Object
@@ -3071,9 +3089,9 @@ const ta = /* @__PURE__ */ M({
3071
3089
  function l(r) {
3072
3090
  t == null || t.node.input(r), t == null || t.handlers.blur(r);
3073
3091
  }
3074
- const s = R(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3092
+ 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);
3075
3093
  return (r, o) => {
3076
- const u = F("Knob");
3094
+ const u = j("Knob");
3077
3095
  return L(), P("div", null, [
3078
3096
  D(u, {
3079
3097
  id: a(t).id,
@@ -3102,7 +3120,7 @@ const ta = /* @__PURE__ */ M({
3102
3120
  ]);
3103
3121
  };
3104
3122
  }
3105
- }), va = /* @__PURE__ */ M({
3123
+ }), $a = /* @__PURE__ */ M({
3106
3124
  __name: "PrimeMultiSelect",
3107
3125
  props: {
3108
3126
  context: Object
@@ -3113,9 +3131,9 @@ const ta = /* @__PURE__ */ M({
3113
3131
  var o;
3114
3132
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3115
3133
  }
3116
- const s = R(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3134
+ 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);
3117
3135
  return (r, o) => {
3118
- const u = F("MultiSelect");
3136
+ const u = j("MultiSelect");
3119
3137
  return L(), P("div", null, [
3120
3138
  D(u, {
3121
3139
  modelValue: a(t)._value,
@@ -3138,7 +3156,7 @@ const ta = /* @__PURE__ */ M({
3138
3156
  ]);
3139
3157
  };
3140
3158
  }
3141
- }), ha = /* @__PURE__ */ M({
3159
+ }), wa = /* @__PURE__ */ M({
3142
3160
  __name: "PrimeListbox",
3143
3161
  props: {
3144
3162
  context: Object
@@ -3149,10 +3167,10 @@ const ta = /* @__PURE__ */ M({
3149
3167
  var o;
3150
3168
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3151
3169
  }
3152
- const s = R(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3170
+ 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);
3153
3171
  return (r, o) => {
3154
3172
  var p;
3155
- const u = F("Listbox");
3173
+ const u = j("Listbox");
3156
3174
  return L(), P("div", null, [
3157
3175
  D(u, {
3158
3176
  id: a(t).id,
@@ -3182,7 +3200,7 @@ const ta = /* @__PURE__ */ M({
3182
3200
  ]);
3183
3201
  };
3184
3202
  }
3185
- }), _a = /* @__PURE__ */ M({
3203
+ }), ka = /* @__PURE__ */ M({
3186
3204
  __name: "PrimePassword",
3187
3205
  props: {
3188
3206
  context: Object
@@ -3195,9 +3213,9 @@ const ta = /* @__PURE__ */ M({
3195
3213
  function s(o) {
3196
3214
  t == null || t.node.input(o.target.value);
3197
3215
  }
3198
- const r = R(() => 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 = 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);
3199
3217
  return (o, u) => {
3200
- const p = F("Password");
3218
+ const p = j("Password");
3201
3219
  return L(), P("div", null, [
3202
3220
  D(p, {
3203
3221
  modelValue: a(t)._value,
@@ -3228,7 +3246,7 @@ const ta = /* @__PURE__ */ M({
3228
3246
  ]);
3229
3247
  };
3230
3248
  }
3231
- }), ga = ["for"], $a = /* @__PURE__ */ M({
3249
+ }), Ca = ["for"], Sa = /* @__PURE__ */ M({
3232
3250
  __name: "PrimeRadioButton",
3233
3251
  props: {
3234
3252
  context: Object
@@ -3239,13 +3257,13 @@ const ta = /* @__PURE__ */ M({
3239
3257
  var o;
3240
3258
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3241
3259
  }
3242
- const s = R(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3260
+ 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);
3243
3261
  return (r, o) => {
3244
- const u = F("RadioButton");
3262
+ const u = j("RadioButton");
3245
3263
  return L(), P("div", {
3246
3264
  class: U(a(n).options_class)
3247
3265
  }, [
3248
- (L(!0), P(In, null, Ln(a(n).options, (p) => (L(), P("div", {
3266
+ (L(!0), P(Pn, null, An(a(n).options, (p) => (L(), P("div", {
3249
3267
  key: p.value,
3250
3268
  class: U(a(n).option_class)
3251
3269
  }, [
@@ -3260,14 +3278,14 @@ const ta = /* @__PURE__ */ M({
3260
3278
  onClick: l,
3261
3279
  onChange: l
3262
3280
  }, null, 8, ["modelValue", "name", "value", "input-style", "input-class", "pt"]),
3263
- Ut("label", {
3281
+ Nt("label", {
3264
3282
  for: p.value
3265
- }, de(p.label), 9, ga)
3283
+ }, pe(p.label), 9, Ca)
3266
3284
  ], 2))), 128))
3267
3285
  ], 2);
3268
3286
  };
3269
3287
  }
3270
- }), wa = /* @__PURE__ */ M({
3288
+ }), Va = /* @__PURE__ */ M({
3271
3289
  __name: "PrimeRating",
3272
3290
  props: {
3273
3291
  context: Object
@@ -3278,9 +3296,9 @@ const ta = /* @__PURE__ */ M({
3278
3296
  var o;
3279
3297
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3280
3298
  }
3281
- const s = R(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3299
+ 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);
3282
3300
  return (r, o) => {
3283
- const u = F("Rating");
3301
+ const u = j("Rating");
3284
3302
  return L(), P("div", null, [
3285
3303
  D(u, {
3286
3304
  id: a(t).id,
@@ -3304,7 +3322,7 @@ const ta = /* @__PURE__ */ M({
3304
3322
  ]);
3305
3323
  };
3306
3324
  }
3307
- }), ka = /* @__PURE__ */ M({
3325
+ }), Ia = /* @__PURE__ */ M({
3308
3326
  __name: "PrimeSlider",
3309
3327
  props: {
3310
3328
  context: Object
@@ -3314,9 +3332,9 @@ const ta = /* @__PURE__ */ M({
3314
3332
  function l(r) {
3315
3333
  t == null || t.node.input(r), t == null || t.handlers.blur(r);
3316
3334
  }
3317
- const s = R(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3335
+ 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);
3318
3336
  return (r, o) => {
3319
- const u = F("Slider");
3337
+ const u = j("Slider");
3320
3338
  return L(), P("div", null, [
3321
3339
  D(u, {
3322
3340
  id: a(t).id,
@@ -3340,7 +3358,7 @@ const ta = /* @__PURE__ */ M({
3340
3358
  ]);
3341
3359
  };
3342
3360
  }
3343
- }), Ca = /* @__PURE__ */ M({
3361
+ }), La = /* @__PURE__ */ M({
3344
3362
  __name: "PrimeToggleButton",
3345
3363
  props: {
3346
3364
  context: Object
@@ -3351,9 +3369,9 @@ const ta = /* @__PURE__ */ M({
3351
3369
  var o;
3352
3370
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3353
3371
  }
3354
- const s = R(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3372
+ 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);
3355
3373
  return (r, o) => {
3356
- const u = F("ToggleButton");
3374
+ const u = j("ToggleButton");
3357
3375
  return L(), P("div", null, [
3358
3376
  D(u, {
3359
3377
  modelValue: a(t)._value,
@@ -3377,7 +3395,7 @@ const ta = /* @__PURE__ */ M({
3377
3395
  ]);
3378
3396
  };
3379
3397
  }
3380
- }), Sa = /* @__PURE__ */ M({
3398
+ }), Pa = /* @__PURE__ */ M({
3381
3399
  __name: "PrimeSelectButton",
3382
3400
  props: {
3383
3401
  context: Object
@@ -3388,9 +3406,9 @@ const ta = /* @__PURE__ */ M({
3388
3406
  var o;
3389
3407
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3390
3408
  }
3391
- const s = R(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3409
+ 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);
3392
3410
  return (r, o) => {
3393
- const u = F("SelectButton");
3411
+ const u = j("SelectButton");
3394
3412
  return L(), P("div", null, [
3395
3413
  D(u, {
3396
3414
  id: a(t).id,
@@ -3416,13 +3434,13 @@ const ta = /* @__PURE__ */ M({
3416
3434
  ]);
3417
3435
  };
3418
3436
  }
3419
- }), Va = {
3437
+ }), Aa = {
3420
3438
  key: 0,
3421
3439
  class: "formkit-prime-left"
3422
- }, Ia = {
3440
+ }, Oa = {
3423
3441
  key: 1,
3424
3442
  class: "formkit-prime-right"
3425
- }, La = /* @__PURE__ */ M({
3443
+ }, xa = /* @__PURE__ */ M({
3426
3444
  __name: "PrimeTriStateCheckbox",
3427
3445
  props: {
3428
3446
  context: Object
@@ -3433,11 +3451,11 @@ const ta = /* @__PURE__ */ M({
3433
3451
  var o;
3434
3452
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3435
3453
  }
3436
- const s = R(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3454
+ 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);
3437
3455
  return (r, o) => {
3438
- const u = F("TriStateCheckbox");
3456
+ const u = j("TriStateCheckbox");
3439
3457
  return L(), P("div", null, [
3440
- a(t).attrs.labelLeft ? (L(), P("span", Va, de(a(t).attrs.labelLeft), 1)) : oe("", !0),
3458
+ a(t).attrs.labelLeft ? (L(), P("span", Aa, pe(a(t).attrs.labelLeft), 1)) : re("", !0),
3441
3459
  D(u, {
3442
3460
  modelValue: a(t)._value,
3443
3461
  "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
@@ -3452,96 +3470,96 @@ const ta = /* @__PURE__ */ M({
3452
3470
  pt: a(n).pt,
3453
3471
  onClick: l
3454
3472
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "pt"]),
3455
- a(t).attrs.labelRight ? (L(), P("span", Ia, de(a(t).attrs.labelRight), 1)) : oe("", !0)
3473
+ a(t).attrs.labelRight ? (L(), P("span", Oa, pe(a(t).attrs.labelRight), 1)) : re("", !0)
3456
3474
  ]);
3457
3475
  };
3458
3476
  }
3459
- }), Pa = T(ma, {
3477
+ }), Ma = T(ha, {
3460
3478
  props: ["iconRight", "iconLeft"]
3461
- }), Aa = T(fa, {
3479
+ }), Ra = T(ma, {
3462
3480
  props: ["iconRight", "iconLeft"]
3463
- }), Oa = T(ua, {
3481
+ }), Ea = T(da, {
3464
3482
  props: []
3465
- }), xa = T(_a, {
3483
+ }), ja = T(ka, {
3466
3484
  props: ["feedback", "toggleMask"]
3467
- }), Ma = T(ba, {
3485
+ }), Fa = T(_a, {
3468
3486
  props: ["rows"]
3469
- }), Ea = T(la, {
3487
+ }), Da = T(oa, {
3470
3488
  props: []
3471
- }), Ra = T(da, {
3489
+ }), Ta = T(va, {
3472
3490
  props: []
3473
- }), ja = T(oa, {
3491
+ }), Ba = T(pa, {
3474
3492
  props: []
3475
- }), Fa = T(ra, {
3493
+ }), za = T(ca, {
3476
3494
  props: []
3477
- }), Da = T(va, {
3495
+ }), Ua = T($a, {
3478
3496
  props: []
3479
- }), Ta = T(ha, {
3497
+ }), Ka = T(wa, {
3480
3498
  props: []
3481
- }), Ba = T(ta, {
3499
+ }), Na = T(aa, {
3482
3500
  props: []
3483
- }), za = T(ka, {
3501
+ }), Wa = T(Ia, {
3484
3502
  props: []
3485
- }), Ua = T(wa, {
3503
+ }), Ha = T(Va, {
3486
3504
  props: []
3487
- }), Ka = T($a, {
3505
+ }), qa = T(Sa, {
3488
3506
  props: []
3489
- }), Wa = T(aa, {
3507
+ }), Za = T(ua, {
3490
3508
  props: []
3491
- }), Na = T(ya, {
3509
+ }), Ja = T(ga, {
3492
3510
  props: []
3493
- }), Ha = T(sa, {
3511
+ }), Ya = T(fa, {
3494
3512
  props: []
3495
- }), qa = T(Ca, {
3513
+ }), Qa = T(La, {
3496
3514
  props: []
3497
- }), Za = T(Sa, {
3515
+ }), Xa = T(Pa, {
3498
3516
  props: []
3499
- }), Ja = T(La, {
3517
+ }), Ga = T(xa, {
3500
3518
  props: []
3501
- }), Qa = {
3502
- primeInputText: Pa,
3503
- primeInputNumber: Aa,
3504
- primeInputMask: Oa,
3505
- primePassword: xa,
3506
- primeCheckbox: Ea,
3507
- primeInputSwitch: Ra,
3508
- primeTextarea: Ma,
3509
- primeEditor: ja,
3510
- primeDropdown: Fa,
3511
- primeMultiSelect: Da,
3512
- primeCalendar: Ba,
3513
- primeSlider: za,
3514
- primeChips: Wa,
3515
- primeKnob: Na,
3516
- primeRating: Ua,
3517
- primeRadioButton: Ka,
3518
- primeColorPicker: Ha,
3519
- primeToggleButton: qa,
3520
- primeListbox: Ta,
3521
- primeSelectButton: Za,
3522
- primeTriStateCheckbox: Ja
3519
+ }), ts = {
3520
+ primeInputText: Ma,
3521
+ primeInputNumber: Ra,
3522
+ primeInputMask: Ea,
3523
+ primePassword: ja,
3524
+ primeCheckbox: Da,
3525
+ primeInputSwitch: Ta,
3526
+ primeTextarea: Fa,
3527
+ primeEditor: Ba,
3528
+ primeDropdown: za,
3529
+ primeMultiSelect: Ua,
3530
+ primeCalendar: Na,
3531
+ primeSlider: Wa,
3532
+ primeChips: Za,
3533
+ primeKnob: Ja,
3534
+ primeRating: Ha,
3535
+ primeRadioButton: qa,
3536
+ primeColorPicker: Ya,
3537
+ primeToggleButton: Qa,
3538
+ primeListbox: Ka,
3539
+ primeSelectButton: Xa,
3540
+ primeTriStateCheckbox: Ga
3523
3541
  };
3524
3542
  export {
3525
- Ba as primeCalendarDefinition,
3526
- Ea as primeCheckboxDefinition,
3527
- Wa as primeChipsDefinition,
3528
- Ha as primeColorPickerDefinition,
3529
- Fa as primeDropdownDefinition,
3530
- ja as primeEditorDefinition,
3531
- Oa as primeInputMaskDefinition,
3532
- Aa as primeInputNumberDefinition,
3533
- Ra as primeInputSwitchDefinition,
3534
- Pa as primeInputTextDefinition,
3535
- Qa as primeInputs,
3536
- Na as primeKnobDefinition,
3537
- Ta as primeListboxDefinition,
3538
- Da as primeMultiSelectDefinition,
3539
- xa as primePasswordDefinition,
3540
- Ka as primeRadioButtonDefinition,
3541
- Ua as primeRatingDefinition,
3542
- Za as primeSelectButtonDefinition,
3543
- za as primeSliderDefinition,
3544
- Ma as primeTextareaDefinition,
3545
- qa as primeToggleButtonDefinition,
3546
- Ja as primeTriStateCheckboxDefinition
3543
+ Na as primeCalendarDefinition,
3544
+ Da as primeCheckboxDefinition,
3545
+ Za as primeChipsDefinition,
3546
+ Ya as primeColorPickerDefinition,
3547
+ za as primeDropdownDefinition,
3548
+ Ba as primeEditorDefinition,
3549
+ Ea as primeInputMaskDefinition,
3550
+ Ra as primeInputNumberDefinition,
3551
+ Ta as primeInputSwitchDefinition,
3552
+ Ma as primeInputTextDefinition,
3553
+ ts as primeInputs,
3554
+ Ja as primeKnobDefinition,
3555
+ Ka as primeListboxDefinition,
3556
+ Ua as primeMultiSelectDefinition,
3557
+ ja as primePasswordDefinition,
3558
+ qa as primeRadioButtonDefinition,
3559
+ Ha as primeRatingDefinition,
3560
+ Xa as primeSelectButtonDefinition,
3561
+ Wa as primeSliderDefinition,
3562
+ Fa as primeTextareaDefinition,
3563
+ Qa as primeToggleButtonDefinition,
3564
+ Ga as primeTriStateCheckboxDefinition
3547
3565
  };