@sfxcode/formkit-primevue 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { defineComponent as M, getCurrentInstance as at, watch as ye, watchEffect as ae, reactive as yn, onUnmounted as vn, h as Ae, ref as Me, inject as Oe, onMounted as hn, computed as j, provide as _n, toRef as gn, onBeforeUnmount as $n, markRaw as wn, isRef as kn, createTextVNode as Cn, resolveComponent as R, openBlock as L, createElementBlock as A, createVNode as T, unref as a, toDisplayString as ce, createCommentVNode as oe, normalizeStyle as de, normalizeClass as K, createElementVNode as Bt, Fragment as Sn, renderList as Vn } from "vue";
2
- const zt = [
1
+ import { defineComponent as x, getCurrentInstance as at, watch as pe, watchEffect as te, reactive as _n, onUnmounted as gn, h as $e, ref as ne, provide as zt, inject as he, onMounted as $n, computed as M, toRef as wn, onBeforeUnmount as kn, markRaw as Cn, isRef as Sn, createTextVNode as Vn, resolveComponent as E, openBlock as A, createElementBlock as O, createVNode as T, 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 = [
3
3
  "__key",
4
4
  "__init",
5
5
  "__shim",
@@ -10,14 +10,14 @@ const zt = [
10
10
  function Je() {
11
11
  return Math.random().toString(36).substring(2, 15);
12
12
  }
13
- function In(e, i) {
13
+ function An(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 E(e, i) {
17
+ function j(e, i) {
18
18
  return Object.prototype.hasOwnProperty.call(e, i);
19
19
  }
20
- function ue(e, i, t = !0, n = ["__key"]) {
20
+ function fe(e, i, t = !0, n = ["__key"]) {
21
21
  if (e === i)
22
22
  return !0;
23
23
  if (typeof i == "object" && typeof e == "object") {
@@ -27,7 +27,7 @@ function ue(e, i, t = !0, n = ["__key"]) {
27
27
  if ((l in e || l in i) && e[l] !== i[l])
28
28
  return !1;
29
29
  for (const l in e)
30
- if (!(l in i) || e[l] !== i[l] && !t || t && !ue(e[l], i[l], t, n))
30
+ if (!(l in i) || e[l] !== i[l] && !t || t && !fe(e[l], i[l], t, n))
31
31
  return !1;
32
32
  return !0;
33
33
  }
@@ -56,7 +56,7 @@ function st(e) {
56
56
  function pt(e) {
57
57
  return st(e) || Array.isArray(e);
58
58
  }
59
- function _e(e) {
59
+ function we(e) {
60
60
  if (st(e) === !1 || e.__FKNode__ || e.__POJO__ === !1)
61
61
  return !1;
62
62
  const i = e.constructor;
@@ -72,21 +72,21 @@ function Ye(e, i, t = !1, n = !1) {
72
72
  if (typeof i == "string")
73
73
  return i;
74
74
  for (const s in e)
75
- if (E(i, s) && (i[s] !== void 0 || !n)) {
75
+ if (j(i, s) && (i[s] !== void 0 || !n)) {
76
76
  if (t && Array.isArray(e[s]) && Array.isArray(i[s])) {
77
77
  l[s] = e[s].concat(i[s]);
78
78
  continue;
79
79
  }
80
80
  if (i[s] === void 0)
81
81
  continue;
82
- _e(e[s]) && _e(i[s]) ? l[s] = Ye(e[s], i[s], t, n) : l[s] = i[s];
82
+ we(e[s]) && we(i[s]) ? l[s] = Ye(e[s], i[s], t, n) : l[s] = i[s];
83
83
  } else
84
84
  l[s] = e[s];
85
85
  for (const s in i)
86
- !E(l, s) && i[s] !== void 0 && (l[s] = i[s]);
86
+ !j(l, s) && i[s] !== void 0 && (l[s] = i[s]);
87
87
  return l;
88
88
  }
89
- function Ln(e) {
89
+ function On(e) {
90
90
  if (e[0] !== '"' && e[0] !== "'" || e[0] !== e[e.length - 1])
91
91
  return !1;
92
92
  const i = e[0];
@@ -95,7 +95,7 @@ function Ln(e) {
95
95
  return !1;
96
96
  return !0;
97
97
  }
98
- function An(e) {
98
+ function Pn(e) {
99
99
  if (!e.length)
100
100
  return "";
101
101
  let i = "", t = "";
@@ -105,13 +105,13 @@ function An(e) {
105
105
  }
106
106
  return i;
107
107
  }
108
- function me(...e) {
108
+ function ye(...e) {
109
109
  return e.reduce((i, t) => {
110
110
  const { value: n, name: l, modelValue: s, config: r, plugins: o, ...u } = t;
111
111
  return Object.assign(i, u);
112
112
  }, {});
113
113
  }
114
- function On(e) {
114
+ function xn(e) {
115
115
  const i = [];
116
116
  let t = "", n = 0, l = "", s = "";
117
117
  for (let r = 0; r < e.length; r++) {
@@ -137,22 +137,22 @@ function St(e, i) {
137
137
  function Fe(e) {
138
138
  return e.replace(/-([a-z0-9])/gi, (i, t) => t.toUpperCase());
139
139
  }
140
- function Ut(e) {
140
+ function Nt(e) {
141
141
  return e.replace(/([a-z0-9])([A-Z])/g, (i, t, n) => t + "-" + n.toLowerCase()).replace(" ", "-").toLowerCase();
142
142
  }
143
- function Pn(e, i = zt) {
143
+ function Mn(e, i = Kt) {
144
144
  if (e !== null && typeof e == "object") {
145
145
  let t;
146
- if (Array.isArray(e) ? t = [...e] : _e(e) && (t = { ...e }), t)
147
- return Mn(e, t, i), t;
146
+ if (Array.isArray(e) ? t = [...e] : we(e) && (t = { ...e }), t)
147
+ return En(e, t, i), t;
148
148
  }
149
149
  return e;
150
150
  }
151
- function Pe(e, i = zt) {
151
+ function xe(e, i = Kt) {
152
152
  if (e === null || e instanceof RegExp || e instanceof Date || e instanceof Map || e instanceof Set || typeof File == "function" && e instanceof File)
153
153
  return e;
154
154
  let t;
155
- Array.isArray(e) ? t = e.map((n) => typeof n == "object" ? Pe(n, i) : n) : t = Object.keys(e).reduce((n, l) => (n[l] = typeof e[l] == "object" ? Pe(e[l], i) : e[l], n), {});
155
+ Array.isArray(e) ? t = e.map((n) => typeof n == "object" ? xe(n, i) : n) : t = Object.keys(e).reduce((n, l) => (n[l] = typeof e[l] == "object" ? xe(e[l], i) : e[l], n), {});
156
156
  for (const n of i)
157
157
  n in e && Object.defineProperty(t, n, {
158
158
  enumerable: !1,
@@ -160,17 +160,17 @@ function Pe(e, i = zt) {
160
160
  });
161
161
  return t;
162
162
  }
163
- function pe(e) {
164
- return typeof e == "object" ? Pe(e) : e;
163
+ function me(e) {
164
+ return typeof e == "object" ? xe(e) : e;
165
165
  }
166
- function xn(e, i) {
166
+ function jn(e, i) {
167
167
  if (!e || typeof e != "object")
168
168
  return null;
169
169
  const t = i.split(".");
170
170
  let n = e;
171
171
  for (const l in t) {
172
172
  const s = t[l];
173
- if (E(n, s) && (n = n[s]), +l === t.length - 1)
173
+ if (j(n, s) && (n = n[s]), +l === t.length - 1)
174
174
  return n;
175
175
  if (!n || typeof n != "object")
176
176
  return null;
@@ -180,7 +180,7 @@ function xn(e, i) {
180
180
  function Y(e) {
181
181
  return e !== void 0 && e !== "false" && e !== !1 ? !0 : void 0;
182
182
  }
183
- function xe(e) {
183
+ function Me(e) {
184
184
  return Object.isFrozen(e) ? e : Object.defineProperty(e, "__init", {
185
185
  enumerable: !1,
186
186
  value: !0
@@ -189,7 +189,7 @@ function xe(e) {
189
189
  function dt(e) {
190
190
  return e.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]/g, " ").trim().replace(/\s+/g, "-");
191
191
  }
192
- function Mn(e, i, t) {
192
+ function En(e, i, t) {
193
193
  for (const n of t)
194
194
  n in e && Object.defineProperty(i, n, {
195
195
  enumerable: !1,
@@ -197,7 +197,7 @@ function Mn(e, i, t) {
197
197
  });
198
198
  return i;
199
199
  }
200
- function jn(e) {
200
+ function Rn(e) {
201
201
  let i = !1;
202
202
  return (...t) => {
203
203
  if (!i)
@@ -216,7 +216,7 @@ function mt() {
216
216
  s > -1 && e.splice(s, 1);
217
217
  }, t;
218
218
  }
219
- function Kt() {
219
+ function Wt() {
220
220
  const e = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
221
221
  let t;
222
222
  const n = (l, s) => {
@@ -253,7 +253,7 @@ function Kt() {
253
253
  t = void 0, s.forEach(([r, o]) => n(r, o)), l && l.walk((r) => r._e.play());
254
254
  }, n;
255
255
  }
256
- function En(e, i, t, n, l = !0) {
256
+ function Fn(e, i, t, n, l = !0) {
257
257
  return i._e(e, {
258
258
  payload: n,
259
259
  name: t,
@@ -261,13 +261,13 @@ function En(e, i, t, n, l = !0) {
261
261
  origin: e
262
262
  }), e;
263
263
  }
264
- function Rn(e, i, t) {
264
+ function Tn(e, i, t) {
265
265
  return Qe(e.parent) && e.parent._e(e.parent, t), e;
266
266
  }
267
- function Fn(e, i, t, n) {
267
+ function Dn(e, i, t, n) {
268
268
  return i._e.on(t, n);
269
269
  }
270
- function Tn(e, i, t) {
270
+ function Bn(e, i, t) {
271
271
  return i._e.off(t), e;
272
272
  }
273
273
  const bt = mt();
@@ -281,10 +281,10 @@ yt((e, i) => {
281
281
  function je(e, i = {}) {
282
282
  yt.dispatch({ code: e, data: i });
283
283
  }
284
- function N(e, i = {}) {
284
+ function W(e, i = {}) {
285
285
  throw Error(bt.dispatch({ code: e, data: i }).message);
286
286
  }
287
- function re(e, i) {
287
+ function ue(e, i) {
288
288
  const t = {
289
289
  blocking: !1,
290
290
  key: Je(),
@@ -297,30 +297,30 @@ function re(e, i) {
297
297
  }
298
298
  const Vt = {
299
299
  apply: qn,
300
- set: Bn,
300
+ set: Un,
301
301
  remove: qt,
302
- filter: Un,
303
- reduce: Kn,
304
- release: Hn,
305
- touch: zn
302
+ filter: Nn,
303
+ reduce: Wn,
304
+ release: Jn,
305
+ touch: Kn
306
306
  };
307
- function Dn(e = !1) {
307
+ function zn(e = !1) {
308
308
  const i = {};
309
309
  let t, n = e, l = [];
310
310
  const s = /* @__PURE__ */ new Map();
311
311
  let r;
312
312
  const o = new Proxy(i, {
313
313
  get(...u) {
314
- const [p, h] = u;
315
- return h === "buffer" ? n : h === "_b" ? l : h === "_m" ? s : h === "_r" ? r : E(Vt, h) ? Vt[h].bind(null, i, o, t) : Reflect.get(...u);
314
+ const [p, _] = u;
315
+ return _ === "buffer" ? n : _ === "_b" ? l : _ === "_m" ? s : _ === "_r" ? r : j(Vt, _) ? Vt[_].bind(null, i, o, t) : Reflect.get(...u);
316
316
  },
317
- set(u, p, h) {
318
- return p === "_n" ? (t = h, r === "__n" && Wt(t, o), !0) : p === "_b" ? (l = h, !0) : p === "buffer" ? (n = h, !0) : p === "_r" ? (r = h, !0) : (N(101, t), !1);
317
+ set(u, p, _) {
318
+ return p === "_n" ? (t = _, r === "__n" && Ht(t, o), !0) : p === "_b" ? (l = _, !0) : p === "buffer" ? (n = _, !0) : p === "_r" ? (r = _, !0) : (W(101, t), !1);
319
319
  }
320
320
  });
321
321
  return o;
322
322
  }
323
- function Bn(e, i, t, n) {
323
+ function Un(e, i, t, n) {
324
324
  if (i.buffer)
325
325
  return i._b.push([[n]]), i;
326
326
  if (e[n.key] !== n) {
@@ -328,31 +328,31 @@ function Bn(e, i, t, n) {
328
328
  const s = n.value;
329
329
  n.value = t.t(n), n.value !== s && (n.meta.locale = t.props.locale);
330
330
  }
331
- const l = `message-${E(e, n.key) ? "updated" : "added"}`;
331
+ const l = `message-${j(e, n.key) ? "updated" : "added"}`;
332
332
  e[n.key] = Object.freeze(t.hook.message.dispatch(n)), t.emit(l, n);
333
333
  }
334
334
  return i;
335
335
  }
336
- function zn(e, i) {
336
+ function Kn(e, i) {
337
337
  for (const t in e) {
338
338
  const n = { ...e[t] };
339
339
  i.set(n);
340
340
  }
341
341
  }
342
342
  function qt(e, i, t, n) {
343
- if (E(e, n)) {
343
+ if (j(e, n)) {
344
344
  const l = e[n];
345
345
  delete e[n], t.emit("message-removed", l);
346
346
  }
347
347
  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;
348
348
  }
349
- function Un(e, i, t, n, l) {
349
+ function Nn(e, i, t, n, l) {
350
350
  for (const s in e) {
351
351
  const r = e[s];
352
352
  (!l || r.type === l) && !n(r) && qt(e, i, t, s);
353
353
  }
354
354
  }
355
- function Kn(e, i, t, n, l) {
355
+ function Wn(e, i, t, n, l) {
356
356
  for (const s in e) {
357
357
  const r = e[s];
358
358
  l = n(l, r);
@@ -370,11 +370,11 @@ function qn(e, i, t, n, l) {
370
370
  } else
371
371
  for (const s in n) {
372
372
  const r = t.at(s);
373
- r ? r.store.apply(n[s], l) : Nn(t, i, s, n[s], l);
373
+ r ? r.store.apply(n[s], l) : Zn(t, i, s, n[s], l);
374
374
  }
375
375
  }
376
- function Wn(e, ...i) {
377
- const t = `${e.name}-set`, n = (l) => re({
376
+ function Hn(e, ...i) {
377
+ const t = `${e.name}-set`, n = (l) => ue({
378
378
  key: dt(l),
379
379
  type: "error",
380
380
  value: l,
@@ -391,12 +391,12 @@ function Wn(e, ...i) {
391
391
  }
392
392
  });
393
393
  }
394
- function Nn(e, i, t, n, l) {
394
+ function Zn(e, i, t, n, l) {
395
395
  var s;
396
396
  const r = i._m;
397
- r.has(t) || r.set(t, []), i._r || (i._r = Wt(e, i)), (s = r.get(t)) === null || s === void 0 || s.push([n, l]);
397
+ r.has(t) || r.set(t, []), i._r || (i._r = Ht(e, i)), (s = r.get(t)) === null || s === void 0 || s.push([n, l]);
398
398
  }
399
- function Wt(e, i) {
399
+ function Ht(e, i) {
400
400
  return e.on("child.deep", ({ payload: t }) => {
401
401
  i._m.forEach((n, l) => {
402
402
  e.at(l) === t && (n.forEach(([s, r]) => {
@@ -405,29 +405,29 @@ function Wt(e, i) {
405
405
  }), i._m.size === 0 && i._r && (e.off(i._r), i._r = void 0);
406
406
  });
407
407
  }
408
- function Hn(e, i) {
408
+ function Jn(e, i) {
409
409
  i.buffer = !1, i._b.forEach(([t, n]) => i.apply(t, n)), i._b = [];
410
410
  }
411
- function Zn() {
411
+ function Yn() {
412
412
  const e = {};
413
413
  let i;
414
414
  return {
415
- count: (...t) => Jn(i, e, ...t),
415
+ count: (...t) => Qn(i, e, ...t),
416
416
  init(t) {
417
417
  i = t, t.on("message-added.deep", It(e, 1)), t.on("message-removed.deep", It(e, -1));
418
418
  },
419
419
  merge: (t) => Lt(i, e, t),
420
420
  settled(t) {
421
- return E(e, t) ? e[t].promise : Promise.resolve();
421
+ return j(e, t) ? e[t].promise : Promise.resolve();
422
422
  },
423
423
  unmerge: (t) => Lt(i, e, t, !0),
424
424
  value(t) {
425
- return E(e, t) ? e[t].count : 0;
425
+ return j(e, t) ? e[t].count : 0;
426
426
  }
427
427
  };
428
428
  }
429
- function Jn(e, i, t, n, l = 0) {
430
- if (n = Yn(n || t), !E(i, t)) {
429
+ function Qn(e, i, t, n, l = 0) {
430
+ if (n = Xn(n || t), !j(i, t)) {
431
431
  const s = {
432
432
  condition: n,
433
433
  count: 0,
@@ -442,12 +442,12 @@ function Jn(e, i, t, n, l = 0) {
442
442
  r.ledger.count(s.name, s.condition), l += r.ledger.value(s.name);
443
443
  });
444
444
  }
445
- return Nt(i[t], l).promise;
445
+ return Zt(i[t], l).promise;
446
446
  }
447
- function Yn(e) {
447
+ function Xn(e) {
448
448
  return typeof e == "function" ? e : (i) => i.type === e;
449
449
  }
450
- function Nt(e, i) {
450
+ function Zt(e, i) {
451
451
  const t = e.count, n = e.count + i;
452
452
  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;
453
453
  }
@@ -455,7 +455,7 @@ function It(e, i) {
455
455
  return (t) => {
456
456
  for (const n in e) {
457
457
  const l = e[n];
458
- l.condition(t.payload) && Nt(l, i);
458
+ l.condition(t.payload) && Zt(l, i);
459
459
  }
460
460
  };
461
461
  }
@@ -470,8 +470,8 @@ function Lt(e, i, t, n = !1) {
470
470
  while (e);
471
471
  }
472
472
  }
473
- const vt = /* @__PURE__ */ new Map(), Te = /* @__PURE__ */ new Map(), ht = Kt(), Qn = [];
474
- function Xn(e) {
473
+ const vt = /* @__PURE__ */ new Map(), Te = /* @__PURE__ */ new Map(), ht = Wt(), Gn = [];
474
+ function ei(e) {
475
475
  e.props.id && (vt.set(e.props.id, e), Te.set(e, e.props.id), ht(e, {
476
476
  payload: e,
477
477
  name: e.props.id,
@@ -479,7 +479,7 @@ function Xn(e) {
479
479
  origin: e
480
480
  }));
481
481
  }
482
- function Gn(e) {
482
+ function ti(e) {
483
483
  if (Te.has(e)) {
484
484
  const i = Te.get(e);
485
485
  Te.delete(e), vt.delete(i), ht(e, {
@@ -490,17 +490,17 @@ function Gn(e) {
490
490
  });
491
491
  }
492
492
  }
493
- function Ht(e) {
493
+ function Jt(e) {
494
494
  return vt.get(e);
495
495
  }
496
- function ei(e, i) {
497
- Qn.push(ht.on(e, i));
496
+ function ni(e, i) {
497
+ Gn.push(ht.on(e, i));
498
498
  }
499
499
  function At(e, i, t) {
500
500
  let n = !0;
501
501
  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;
502
502
  }
503
- function ti(e) {
503
+ function ii(e) {
504
504
  const i = document.getElementById(e);
505
505
  if (i instanceof HTMLFormElement) {
506
506
  const t = new Event("submit", { cancelable: !0, bubbles: !0 });
@@ -509,7 +509,7 @@ function ti(e) {
509
509
  }
510
510
  je(151, e);
511
511
  }
512
- function ni(e) {
512
+ function li(e) {
513
513
  const i = (t) => {
514
514
  for (const n in t.store) {
515
515
  const l = t.store[n];
@@ -518,75 +518,75 @@ function ni(e) {
518
518
  };
519
519
  i(e), e.walk(i);
520
520
  }
521
- function ii(e, i) {
522
- const t = typeof e == "string" ? Ht(e) : e;
521
+ function ai(e, i) {
522
+ const t = typeof e == "string" ? Jt(e) : e;
523
523
  if (t) {
524
- const n = (s) => pe(s.props.initial) || (s.type === "group" ? {} : s.type === "list" ? [] : void 0);
524
+ const n = (s) => me(s.props.initial) || (s.type === "group" ? {} : s.type === "list" ? [] : void 0);
525
525
  t._e.pause(t);
526
- const l = pe(i);
527
- return i && !kt(i) && (t.props.initial = pt(l) ? xe(l) : l), t.input(n(t), !1), t.walk((s) => s.input(n(s), !1)), t.input(kt(l) && l ? l : n(t), !1), t._e.play(t), ni(t), t.emit("reset", t), t;
526
+ const l = me(i);
527
+ return i && !kt(i) && (t.props.initial = pt(l) ? Me(l) : l), t.input(n(t), !1), t.walk((s) => s.input(n(s), !1)), t.input(kt(l) && l ? l : n(t), !1), t._e.play(t), li(t), t.emit("reset", t), t;
528
528
  }
529
529
  je(152, e);
530
530
  }
531
- const li = {
531
+ const si = {
532
532
  delimiter: ".",
533
533
  delay: 0,
534
534
  locale: "en",
535
- rootClasses: (e) => ({ [`formkit-${Ut(e)}`]: !0 })
536
- }, Zt = Symbol("index"), rt = Symbol("removed"), ot = Symbol("moved"), Jt = Symbol("inserted");
537
- function ai(e) {
535
+ rootClasses: (e) => ({ [`formkit-${Nt(e)}`]: !0 })
536
+ }, Yt = Symbol("index"), rt = Symbol("removed"), ot = Symbol("moved"), Qt = Symbol("inserted");
537
+ function ri(e) {
538
538
  return e.type === "list" && Array.isArray(e._value);
539
539
  }
540
540
  function Qe(e) {
541
541
  return e && typeof e == "object" && e.__FKNode__ === !0;
542
542
  }
543
543
  const De = (e, i, t) => {
544
- N(102, [e, t]);
545
- }, si = {
546
- _c: C(Ii, De, !1),
547
- add: C(_i),
548
- addProps: C(hi),
549
- address: C(Ai, De, !1),
550
- at: C(Oi),
551
- bubble: C(Rn),
552
- clearErrors: C(Ti),
553
- calm: C(bi),
554
- config: C(!1),
555
- define: C(vi),
556
- disturb: C(mi),
557
- destroy: C(yi),
558
- extend: C(zi),
559
- hydrate: C(pi),
560
- index: C(Vi, Si, !1),
561
- input: C(Xt),
562
- each: C(wi),
563
- emit: C(En),
564
- find: C(xi),
565
- on: C(Fn),
566
- off: C(Tn),
567
- parent: C(!1, gi),
568
- plugins: C(!1),
569
- remove: C($i),
570
- root: C(ji, De, !1),
571
- reset: C(Fi),
572
- resetConfig: C(Ci),
573
- setErrors: C(tn),
574
- submit: C(Ri),
575
- t: C(Ei),
576
- use: C(_t),
577
- name: C(Li, !1, !1),
578
- walk: C(ki)
544
+ W(102, [e, t]);
545
+ }, oi = {
546
+ _c: S(Ai, De, !1),
547
+ add: S($i),
548
+ addProps: S(gi),
549
+ address: S(Pi, De, !1),
550
+ at: S(xi),
551
+ bubble: S(Tn),
552
+ clearErrors: S(Bi),
553
+ calm: S(vi),
554
+ config: S(!1),
555
+ define: S(_i),
556
+ disturb: S(yi),
557
+ destroy: S(hi),
558
+ extend: S(Ki),
559
+ hydrate: S(mi),
560
+ index: S(Li, Ii, !1),
561
+ input: S(en),
562
+ each: S(Ci),
563
+ emit: S(Fn),
564
+ find: S(ji),
565
+ on: S(Dn),
566
+ off: S(Bn),
567
+ parent: S(!1, wi),
568
+ plugins: S(!1),
569
+ remove: S(ki),
570
+ root: S(Ri, De, !1),
571
+ reset: S(Di),
572
+ resetConfig: S(Vi),
573
+ setErrors: S(ln),
574
+ submit: S(Ti),
575
+ t: S(Fi),
576
+ use: S(_t),
577
+ name: S(Oi, !1, !1),
578
+ walk: S(Si)
579
579
  };
580
- function ri() {
581
- return new Map(Object.entries(si));
580
+ function ui() {
581
+ return new Map(Object.entries(oi));
582
582
  }
583
- function C(e, i, t = !0) {
583
+ function S(e, i, t = !0) {
584
584
  return {
585
585
  get: e ? (n, l) => t ? (...s) => e(n, l, ...s) : e(n, l) : !1,
586
586
  set: i !== void 0 ? i : De.bind(null)
587
587
  };
588
588
  }
589
- function oi() {
589
+ function fi() {
590
590
  const e = /* @__PURE__ */ new Map();
591
591
  return new Proxy(e, {
592
592
  get(i, t) {
@@ -594,26 +594,26 @@ function oi() {
594
594
  }
595
595
  });
596
596
  }
597
- let Yt = 0, ui = 0;
598
- function fi(e) {
597
+ let Xt = 0, ci = 0;
598
+ function pi(e) {
599
599
  var i, t;
600
- return ((i = e.parent) === null || i === void 0 ? void 0 : i.type) === "list" ? Zt : e.name || `${((t = e.props) === null || t === void 0 ? void 0 : t.type) || "input"}_${++Yt}`;
600
+ 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}`;
601
601
  }
602
- function Qt(e) {
603
- return e.type === "group" ? xe(e.value && typeof e.value == "object" && !Array.isArray(e.value) ? e.value : {}) : e.type === "list" ? xe(Array.isArray(e.value) ? e.value : []) : e.value;
602
+ function Gt(e) {
603
+ return e.type === "group" ? Me(e.value && typeof e.value == "object" && !Array.isArray(e.value) ? e.value : {}) : e.type === "list" ? Me(Array.isArray(e.value) ? e.value : []) : e.value;
604
604
  }
605
- function Xt(e, i, t, n = !0) {
606
- return i._value = ci(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(Ue, e.props.delay, e, i)) : Ue(e, i), i.settled);
605
+ function en(e, i, t, n = !0) {
606
+ return i._value = di(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(Ue, e.props.delay, e, i)) : Ue(e, i), i.settled);
607
607
  }
608
- function ci(e, i) {
608
+ function di(e, i) {
609
609
  switch (e.type) {
610
610
  case "input":
611
611
  break;
612
612
  case "group":
613
- (!i || typeof i != "object") && N(107, [e, i]);
613
+ (!i || typeof i != "object") && W(107, [e, i]);
614
614
  break;
615
615
  case "list":
616
- Array.isArray(i) || N(108, [e, i]);
616
+ Array.isArray(i) || W(108, [e, i]);
617
617
  break;
618
618
  }
619
619
  return i;
@@ -621,30 +621,30 @@ function ci(e, i) {
621
621
  function Ue(e, i, t = !0, n = !0) {
622
622
  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();
623
623
  }
624
- function Gt(e, { name: i, value: t, from: n }) {
624
+ function tn(e, { name: i, value: t, from: n }) {
625
625
  if (!Object.isFrozen(e._value)) {
626
- if (ai(e)) {
626
+ if (ri(e)) {
627
627
  const l = t === rt ? [] : t === ot && typeof n == "number" ? e._value.splice(n, 1) : [t];
628
- e._value.splice(i, t === ot || n === Jt ? 0 : 1, ...l);
628
+ e._value.splice(i, t === ot || n === Qt ? 0 : 1, ...l);
629
629
  return;
630
630
  }
631
631
  t !== rt ? e._value[i] = t : delete e._value[i];
632
632
  }
633
633
  }
634
- function pi(e, i) {
634
+ function mi(e, i) {
635
635
  const t = i._value;
636
- return e.type === "list" && e.sync && di(e, i), i.children.forEach((n) => {
636
+ return e.type === "list" && e.sync && bi(e, i), i.children.forEach((n) => {
637
637
  if (typeof t == "object")
638
638
  if (n.name in t) {
639
- const l = n.type !== "input" || t[n.name] && typeof t[n.name] == "object" ? xe(t[n.name]) : t[n.name];
640
- if (!n.isSettled || !pt(l) && ue(l, n._value))
639
+ const l = n.type !== "input" || t[n.name] && typeof t[n.name] == "object" ? Me(t[n.name]) : t[n.name];
640
+ if (!n.isSettled || !pt(l) && fe(l, n._value))
641
641
  return;
642
642
  n.input(l, !1);
643
643
  } else
644
- (e.type !== "list" || typeof n.name == "number") && Gt(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));
644
+ (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));
645
645
  }), e;
646
646
  }
647
- function di(e, i) {
647
+ function bi(e, i) {
648
648
  const t = e._value;
649
649
  if (!Array.isArray(t))
650
650
  return;
@@ -673,41 +673,41 @@ function di(e, i) {
673
673
  n[u] = o, l.delete(o);
674
674
  }
675
675
  r.forEach((o, u) => {
676
- n[o] = Wi({ value: u });
676
+ n[o] = Hi({ value: u });
677
677
  }), l.size && l.forEach((o) => {
678
678
  if (!("__FKP" in o)) {
679
679
  const u = o._c.parent;
680
- if (!u || Ni(u))
680
+ if (!u || Zi(u))
681
681
  return;
682
682
  u.ledger.unmerge(o), o._c.parent = null, o.destroy();
683
683
  }
684
684
  }), i.children = n;
685
685
  }
686
- function mi(e, i) {
686
+ function yi(e, i) {
687
687
  var t;
688
688
  return i._d <= 0 && (i.isSettled = !1, e.emit("settled", !1, !1), i.settled = new Promise((n) => {
689
689
  i._resolve = n;
690
690
  }), e.parent && ((t = e.parent) === null || t === void 0 || t.disturb())), i._d++, e;
691
691
  }
692
- function bi(e, i, t) {
692
+ function vi(e, i, t) {
693
693
  var n;
694
694
  if (t !== void 0 && e.type !== "input")
695
- return Gt(i, t), Ue(e, i, !0, !1);
695
+ return tn(i, t), Ue(e, i, !0, !1);
696
696
  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));
697
697
  }
698
- function yi(e, i) {
699
- e.emit("destroying", e), e.store.filter(() => !1), e.parent && (e.parent.emit("childRemoved", e), e.parent.remove(e)), Gn(e), e.emit("destroyed", e), i._e.flush(), i._value = i.value = void 0;
698
+ function hi(e, i) {
699
+ e.emit("destroying", e), e.store.filter(() => !1), e.parent && (e.parent.emit("childRemoved", e), e.parent.remove(e)), ti(e), e.emit("destroyed", e), i._e.flush(), i._value = i.value = void 0;
700
700
  for (const t in i.context)
701
701
  delete i.context[t];
702
702
  i.plugins.clear(), i.context = null;
703
703
  }
704
- function vi(e, i, t) {
705
- i.type = t.type, i.props.definition = Pe(t), i.value = i._value = Qt({
704
+ function _i(e, i, t) {
705
+ i.type = t.type, i.props.definition = xe(t), i.value = i._value = Gt({
706
706
  type: e.type,
707
707
  value: i.value
708
708
  }), 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);
709
709
  }
710
- function hi(e, i, t) {
710
+ function gi(e, i, t) {
711
711
  var n;
712
712
  if (e.props.attrs) {
713
713
  const l = { ...e.props.attrs };
@@ -716,22 +716,22 @@ function hi(e, i, t) {
716
716
  const o = Fe(r);
717
717
  t.includes(o) && (e.props[o] = l[r], delete l[r]);
718
718
  }
719
- const s = pe(i._value);
720
- e.props.initial = e.type !== "input" ? xe(s) : s, e.props._emit = !0, e.props.attrs = l, e.props.definition && (e.props.definition.props = [
719
+ const s = me(i._value);
720
+ e.props.initial = e.type !== "input" ? Me(s) : s, e.props._emit = !0, e.props.attrs = l, e.props.definition && (e.props.definition.props = [
721
721
  ...((n = e.props.definition) === null || n === void 0 ? void 0 : n.props) || [],
722
722
  ...t
723
723
  ]);
724
724
  }
725
725
  return e.emit("added-props", t), e;
726
726
  }
727
- function _i(e, i, t, n) {
728
- if (e.type === "input" && N(100, e), t.parent && t.parent !== e && t.parent.remove(t), !i.children.includes(t)) {
727
+ function $i(e, i, t, n) {
728
+ if (e.type === "input" && W(100, e), t.parent && t.parent !== e && t.parent.remove(t), !i.children.includes(t)) {
729
729
  if (n !== void 0 && e.type === "list") {
730
730
  const l = i.children[n];
731
731
  l && "__FKP" in l ? (t._c.uid = l.uid, i.children.splice(n, 1, t)) : i.children.splice(n, 0, t), Array.isArray(e.value) && e.value.length < i.children.length && e.disturb().calm({
732
732
  name: n,
733
733
  value: t.value,
734
- from: Jt
734
+ from: Qt
735
735
  });
736
736
  } else
737
737
  i.children.push(t);
@@ -744,10 +744,10 @@ function _i(e, i, t, n) {
744
744
  t.use(e.plugins);
745
745
  return Ue(e, i, !1), e.ledger.merge(t), e.emit("child", t), e;
746
746
  }
747
- function gi(e, i, t, n) {
747
+ function wi(e, i, t, n) {
748
748
  return Qe(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;
749
749
  }
750
- function $i(e, i, t) {
750
+ function ki(e, i, t) {
751
751
  const n = i.children.indexOf(t);
752
752
  if (n !== -1) {
753
753
  t.isSettled && e.disturb(), i.children.splice(n, 1);
@@ -761,10 +761,10 @@ function $i(e, i, t) {
761
761
  }
762
762
  return e.ledger.unmerge(t), e;
763
763
  }
764
- function wi(e, i, t) {
764
+ function Ci(e, i, t) {
765
765
  i.children.forEach((n) => !("__FKP" in n) && t(n));
766
766
  }
767
- function ki(e, i, t, n = !1, l = !1) {
767
+ function Si(e, i, t, n = !1, l = !1) {
768
768
  i.children.some((s) => {
769
769
  if ("__FKP" in s)
770
770
  return !1;
@@ -772,38 +772,38 @@ function ki(e, i, t, n = !1, l = !1) {
772
772
  return n && r === !1 ? !0 : l && r === !1 ? !1 : s.walk(t, n, l);
773
773
  });
774
774
  }
775
- function Ci(e, i) {
775
+ function Vi(e, i) {
776
776
  const t = e.parent || void 0;
777
- i.config = en(e.config._t, t), e.walk((n) => n.resetConfig());
777
+ i.config = nn(e.config._t, t), e.walk((n) => n.resetConfig());
778
778
  }
779
779
  function _t(e, i, t, n = !0, l = !0) {
780
780
  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);
781
781
  }
782
- function Si(e, i, t, n) {
782
+ function Ii(e, i, t, n) {
783
783
  if (Qe(e.parent)) {
784
784
  const l = e.parent.children, s = n >= l.length ? l.length - 1 : n < 0 ? 0 : n, r = l.indexOf(e);
785
785
  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: ot, from: r }), !0);
786
786
  }
787
787
  return !1;
788
788
  }
789
- function Vi(e) {
789
+ function Li(e) {
790
790
  if (e.parent) {
791
791
  const i = [...e.parent.children].indexOf(e);
792
792
  return i === -1 ? e.parent.children.length : i;
793
793
  }
794
794
  return -1;
795
795
  }
796
- function Ii(e, i) {
796
+ function Ai(e, i) {
797
797
  return i;
798
798
  }
799
- function Li(e, i) {
799
+ function Oi(e, i) {
800
800
  var t;
801
- return ((t = e.parent) === null || t === void 0 ? void 0 : t.type) === "list" ? e.index : i.name !== Zt ? i.name : e.index;
801
+ return ((t = e.parent) === null || t === void 0 ? void 0 : t.type) === "list" ? e.index : i.name !== Yt ? i.name : e.index;
802
802
  }
803
- function Ai(e, i) {
803
+ function Pi(e, i) {
804
804
  return i.parent ? i.parent.address.concat([e.name]) : [e.name];
805
805
  }
806
- function Oi(e, i, t) {
806
+ function xi(e, i, t) {
807
807
  const n = typeof t == "string" ? t.split(e.config.delimiter) : t;
808
808
  if (!n.length)
809
809
  return;
@@ -822,12 +822,12 @@ function Oi(e, i, t) {
822
822
  s = e;
823
823
  break;
824
824
  default:
825
- s = s.children.find((o) => !("__FKP" in o) && String(o.name) === String(r)) || Pi(s, r);
825
+ s = s.children.find((o) => !("__FKP" in o) && String(o.name) === String(r)) || Mi(s, r);
826
826
  }
827
827
  }
828
828
  return s || void 0;
829
829
  }
830
- function Pi(e, i) {
830
+ function Mi(e, i) {
831
831
  const t = String(i).match(/^(find)\((.*)\)$/);
832
832
  if (t) {
833
833
  const [, n, l] = t, s = l.split(",").map((r) => r.trim());
@@ -839,10 +839,10 @@ function Pi(e, i) {
839
839
  }
840
840
  }
841
841
  }
842
- function xi(e, i, t, n) {
843
- return Mi(e, t, n);
842
+ function ji(e, i, t, n) {
843
+ return Ei(e, t, n);
844
844
  }
845
- function Mi(e, i, t = "name") {
845
+ function Ei(e, i, t = "name") {
846
846
  const n = typeof t == "string" ? (s) => s[t] == i : t, l = [e];
847
847
  for (; l.length; ) {
848
848
  const s = l.shift();
@@ -853,13 +853,13 @@ function Mi(e, i, t = "name") {
853
853
  }
854
854
  }
855
855
  }
856
- function ji(e) {
856
+ function Ri(e) {
857
857
  let i = e;
858
858
  for (; i.parent; )
859
859
  i = i.parent;
860
860
  return i;
861
861
  }
862
- function en(e = {}, i) {
862
+ function nn(e = {}, i) {
863
863
  let t;
864
864
  return new Proxy(e, {
865
865
  get(...n) {
@@ -879,7 +879,7 @@ function en(e = {}, i) {
879
879
  if (r !== void 0)
880
880
  return r;
881
881
  }
882
- return l === "delay" && (t == null ? void 0 : t.type) === "input" ? 20 : li[l];
882
+ return l === "delay" && (t == null ? void 0 : t.type) === "input" ? 20 : si[l];
883
883
  },
884
884
  set(...n) {
885
885
  const l = n[1], s = n[2];
@@ -887,7 +887,7 @@ function en(e = {}, i) {
887
887
  return t = s, e.rootConfig && e.rootConfig._add(t), !0;
888
888
  if (l === "_rmn")
889
889
  return e.rootConfig && e.rootConfig._rm(t), t = void 0, !0;
890
- if (!ue(e[l], s, !1)) {
890
+ if (!fe(e[l], s, !1)) {
891
891
  const r = Reflect.set(...n);
892
892
  return t && (t.emit(`config:${l}`, s, !1), At(t, l, s), t.walk((o) => At(o, l, s), !1, !0)), r;
893
893
  }
@@ -895,45 +895,45 @@ function en(e = {}, i) {
895
895
  }
896
896
  });
897
897
  }
898
- function Ei(e, i, t, n = "ui") {
898
+ function Fi(e, i, t, n = "ui") {
899
899
  const l = typeof t == "string" ? { key: t, value: t, type: n } : t, s = e.hook.text.dispatch(l);
900
900
  return e.emit("text", s, !1), s.value;
901
901
  }
902
- function Ri(e) {
902
+ function Ti(e) {
903
903
  const i = e.name;
904
904
  do {
905
905
  if (e.props.isForm === !0)
906
906
  break;
907
- e.parent || N(106, i), e = e.parent;
907
+ e.parent || W(106, i), e = e.parent;
908
908
  } while (e);
909
- e.props.id && ti(e.props.id);
909
+ e.props.id && ii(e.props.id);
910
910
  }
911
- function Fi(e, i, t) {
912
- return ii(e, t);
911
+ function Di(e, i, t) {
912
+ return ai(e, t);
913
913
  }
914
- function tn(e, i, t, n) {
914
+ function ln(e, i, t, n) {
915
915
  const l = `${e.name}-set`, s = e.hook.setErrors.dispatch({ localErrors: t, childErrors: n });
916
- return Wn(e, s.localErrors, s.childErrors).forEach((r) => {
916
+ return Hn(e, s.localErrors, s.childErrors).forEach((r) => {
917
917
  e.store.apply(r, (o) => o.meta.source === l);
918
918
  }), e;
919
919
  }
920
- function Ti(e, i, t = !0, n) {
921
- return tn(e, i, []), t && (n = n || `${e.name}-set`, e.walk((l) => {
920
+ function Bi(e, i, t = !0, n) {
921
+ return ln(e, i, []), t && (n = n || `${e.name}-set`, e.walk((l) => {
922
922
  l.store.filter((s) => !(s.type === "error" && s.meta && s.meta.source === n));
923
923
  })), e;
924
924
  }
925
- function Di(e) {
926
- return E(e.props, "id") || (e.props.id = `input_${ui++}`), e;
925
+ function zi(e) {
926
+ return j(e.props, "id") || (e.props.id = `input_${ci++}`), e;
927
927
  }
928
- function Bi(e) {
928
+ function Ui(e) {
929
929
  const i = {
930
- initial: typeof e == "object" ? pe(e) : e
930
+ initial: typeof e == "object" ? me(e) : e
931
931
  };
932
932
  let t, n = !0;
933
933
  return new Proxy(i, {
934
934
  get(...l) {
935
935
  const [s, r] = l;
936
- if (E(i, r))
936
+ if (j(i, r))
937
937
  return Reflect.get(...l);
938
938
  if (t && typeof r == "string" && t.config[r] !== void 0)
939
939
  return t.config[r];
@@ -947,18 +947,18 @@ function Bi(e) {
947
947
  prop: s,
948
948
  value: r
949
949
  });
950
- if (!ue(i[u], p, !1) || typeof p == "object") {
951
- const h = Reflect.set(l, u, p, o);
952
- return n && (t.emit("prop", { prop: u, value: p }), typeof u == "string" && t.emit(`prop:${u}`, p)), h;
950
+ if (!fe(i[u], p, !1) || typeof p == "object") {
951
+ const _ = Reflect.set(l, u, p, o);
952
+ return n && (t.emit("prop", { prop: u, value: p }), typeof u == "string" && t.emit(`prop:${u}`, p)), _;
953
953
  }
954
954
  return !0;
955
955
  }
956
956
  });
957
957
  }
958
- function zi(e, i, t, n) {
958
+ function Ki(e, i, t, n) {
959
959
  return i.traps.set(t, n), e;
960
960
  }
961
- function Ui(e, i) {
961
+ function Ni(e, i) {
962
962
  if (e.props.definition)
963
963
  return e.define(e.props.definition);
964
964
  for (const t of i) {
@@ -967,49 +967,49 @@ function Ui(e, i) {
967
967
  typeof t.library == "function" && t.library(e);
968
968
  }
969
969
  }
970
- function Ki(e) {
971
- const i = Qt(e), t = en(e.config || {}, e.parent);
970
+ function Wi(e) {
971
+ const i = Gt(e), t = nn(e.config || {}, e.parent);
972
972
  return {
973
973
  _d: 0,
974
- _e: Kt(),
974
+ _e: Wt(),
975
975
  uid: Symbol(),
976
976
  _resolve: !1,
977
977
  _tmo: !1,
978
978
  _value: i,
979
- children: In(e.children || []),
979
+ children: An(e.children || []),
980
980
  config: t,
981
- hook: oi(),
981
+ hook: fi(),
982
982
  isCreated: !1,
983
983
  isSettled: !0,
984
- ledger: Zn(),
985
- name: fi(e),
984
+ ledger: Yn(),
985
+ name: pi(e),
986
986
  parent: e.parent || null,
987
987
  plugins: /* @__PURE__ */ new Set(),
988
- props: Bi(i),
988
+ props: Ui(i),
989
989
  settled: Promise.resolve(i),
990
- store: Dn(!0),
990
+ store: zn(!0),
991
991
  sync: e.sync || !1,
992
- traps: ri(),
992
+ traps: ui(),
993
993
  type: e.type || "input",
994
994
  value: i
995
995
  };
996
996
  }
997
997
  function qi(e, i) {
998
998
  var t;
999
- 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, Ui(e, /* @__PURE__ */ new Set([
999
+ 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([
1000
1000
  ...i.plugins || [],
1001
1001
  ...e.parent ? e.parent.plugins : []
1002
1002
  ])), i.plugins)
1003
1003
  for (const n of i.plugins)
1004
1004
  _t(e, e._c, n, !0, !1);
1005
- return Di(e), e.each((n) => e.add(n)), e.parent && e.parent.add(e, i.index), e.type === "input" && e.children.length && N(100, e), Xt(e, e._c, e._value, !1), e.store.release(), !((t = i.props) === null || t === void 0) && t.id && Xn(e), e.emit("created", e), e.isCreated = !0, e;
1005
+ return zi(e), e.each((n) => e.add(n)), e.parent && e.parent.add(e, i.index), e.type === "input" && e.children.length && W(100, e), en(e, e._c, e._value, !1), e.store.release(), !((t = i.props) === null || t === void 0) && t.id && ei(e), e.emit("created", e), e.isCreated = !0, e;
1006
1006
  }
1007
- function Wi(e) {
1007
+ function Hi(e) {
1008
1008
  var i, t, n, l;
1009
1009
  return {
1010
1010
  __FKP: !0,
1011
1011
  uid: Symbol(),
1012
- name: (i = e == null ? void 0 : e.name) !== null && i !== void 0 ? i : `p_${Yt++}`,
1012
+ name: (i = e == null ? void 0 : e.name) !== null && i !== void 0 ? i : `p_${Xt++}`,
1013
1013
  value: (t = e == null ? void 0 : e.value) !== null && t !== void 0 ? t : null,
1014
1014
  _value: (n = e == null ? void 0 : e.value) !== null && n !== void 0 ? n : null,
1015
1015
  type: (l = e == null ? void 0 : e.type) !== null && l !== void 0 ? l : "input",
@@ -1021,11 +1021,11 @@ function Wi(e) {
1021
1021
  isSettled: !0
1022
1022
  };
1023
1023
  }
1024
- function Ni(e) {
1024
+ function Zi(e) {
1025
1025
  return "__FKP" in e;
1026
1026
  }
1027
- function Hi(e) {
1028
- const i = e || {}, t = Ki(i), n = new Proxy(t, {
1027
+ function Ji(e) {
1028
+ const i = e || {}, t = Wi(i), n = new Proxy(t, {
1029
1029
  get(...l) {
1030
1030
  const [, s] = l;
1031
1031
  if (s === "__FKNode__")
@@ -1041,24 +1041,24 @@ function Hi(e) {
1041
1041
  return qi(n, i);
1042
1042
  }
1043
1043
  function ut(e) {
1044
- return typeof e != "string" && E(e, "$el");
1044
+ return typeof e != "string" && j(e, "$el");
1045
1045
  }
1046
1046
  function ft(e) {
1047
- return typeof e != "string" && E(e, "$cmp");
1047
+ return typeof e != "string" && j(e, "$cmp");
1048
1048
  }
1049
- function be(e) {
1050
- return !e || typeof e == "string" ? !1 : E(e, "if") && E(e, "then");
1049
+ function ve(e) {
1050
+ return !e || typeof e == "string" ? !1 : j(e, "if") && j(e, "then");
1051
1051
  }
1052
- function Zi(e) {
1052
+ function Yi(e) {
1053
1053
  return typeof e != "string" && "$formkit" in e;
1054
1054
  }
1055
- function Ji(e) {
1055
+ function Qi(e) {
1056
1056
  if (typeof e == "string")
1057
1057
  return {
1058
1058
  $el: "text",
1059
1059
  children: e
1060
1060
  };
1061
- if (Zi(e)) {
1061
+ if (Yi(e)) {
1062
1062
  const { $formkit: i, for: t, if: n, children: l, bind: s, ...r } = e;
1063
1063
  return Object.assign({
1064
1064
  $cmp: "FormKit",
@@ -1067,131 +1067,131 @@ function Ji(e) {
1067
1067
  }
1068
1068
  return e;
1069
1069
  }
1070
- function J(e) {
1070
+ function Z(e) {
1071
1071
  let i;
1072
- const t = /* @__PURE__ */ new Set(), n = function(d, m) {
1073
- return typeof d == "function" ? d(m) : d;
1072
+ const t = /* @__PURE__ */ new Set(), n = function(m, d) {
1073
+ return typeof m == "function" ? m(d) : m;
1074
1074
  }, l = [
1075
1075
  {
1076
- "&&": (f, d, m) => n(f, m) && n(d, m),
1077
- "||": (f, d, m) => n(f, m) || n(d, m)
1076
+ "&&": (f, m, d) => n(f, d) && n(m, d),
1077
+ "||": (f, m, d) => n(f, d) || n(m, d)
1078
1078
  },
1079
1079
  {
1080
- "===": (f, d, m) => n(f, m) === n(d, m),
1081
- "!==": (f, d, m) => n(f, m) !== n(d, m),
1082
- "==": (f, d, m) => n(f, m) == n(d, m),
1083
- "!=": (f, d, m) => n(f, m) != n(d, m),
1084
- ">=": (f, d, m) => n(f, m) >= n(d, m),
1085
- "<=": (f, d, m) => n(f, m) <= n(d, m),
1086
- ">": (f, d, m) => n(f, m) > n(d, m),
1087
- "<": (f, d, m) => n(f, m) < n(d, m)
1080
+ "===": (f, m, d) => n(f, d) === n(m, d),
1081
+ "!==": (f, m, d) => n(f, d) !== n(m, d),
1082
+ "==": (f, m, d) => n(f, d) == n(m, d),
1083
+ "!=": (f, m, d) => n(f, d) != n(m, d),
1084
+ ">=": (f, m, d) => n(f, d) >= n(m, d),
1085
+ "<=": (f, m, d) => n(f, d) <= n(m, d),
1086
+ ">": (f, m, d) => n(f, d) > n(m, d),
1087
+ "<": (f, m, d) => n(f, d) < n(m, d)
1088
1088
  },
1089
1089
  {
1090
- "+": (f, d, m) => n(f, m) + n(d, m),
1091
- "-": (f, d, m) => n(f, m) - n(d, m)
1090
+ "+": (f, m, d) => n(f, d) + n(m, d),
1091
+ "-": (f, m, d) => n(f, d) - n(m, d)
1092
1092
  },
1093
1093
  {
1094
- "*": (f, d, m) => n(f, m) * n(d, m),
1095
- "/": (f, d, m) => n(f, m) / n(d, m),
1096
- "%": (f, d, m) => n(f, m) % n(d, m)
1097
- }
1098
- ], s = l.reduce((f, d) => f.concat(Object.keys(d)), []), r = new Set(s.map((f) => f.charAt(0)));
1099
- function o(f, d, m, v) {
1100
- const g = f.filter((c) => c.startsWith(d));
1101
- return g.length ? g.find((c) => v.length >= m + c.length && v.substring(m, m + c.length) === c ? c : !1) : !1;
1102
- }
1103
- function u(f, d, m = 1) {
1104
- let v = m ? d.substring(f + 1).trim() : d.substring(0, f).trim();
1105
- if (!v.length)
1094
+ "*": (f, m, d) => n(f, d) * n(m, d),
1095
+ "/": (f, m, d) => n(f, d) / n(m, d),
1096
+ "%": (f, m, d) => n(f, d) % n(m, d)
1097
+ }
1098
+ ], s = l.reduce((f, m) => f.concat(Object.keys(m)), []), r = new Set(s.map((f) => f.charAt(0)));
1099
+ function o(f, m, d, h) {
1100
+ const $ = f.filter((v) => v.startsWith(m));
1101
+ return $.length ? $.find((v) => h.length >= d + v.length && h.substring(d, d + v.length) === v ? v : !1) : !1;
1102
+ }
1103
+ function u(f, m, d = 1) {
1104
+ let h = d ? m.substring(f + 1).trim() : m.substring(0, f).trim();
1105
+ if (!h.length)
1106
1106
  return -1;
1107
- if (!m) {
1108
- const c = v.split("").reverse(), y = c.findIndex((b) => r.has(b));
1109
- v = c.slice(y).join("");
1110
- }
1111
- const g = v[0];
1112
- return l.findIndex((c) => {
1113
- const y = Object.keys(c);
1114
- return !!o(y, g, 0, v);
1107
+ if (!d) {
1108
+ const v = h.split("").reverse(), b = v.findIndex((c) => r.has(c));
1109
+ h = v.slice(b).join("");
1110
+ }
1111
+ const $ = h[0];
1112
+ return l.findIndex((v) => {
1113
+ const b = Object.keys(v);
1114
+ return !!o(b, $, 0, h);
1115
1115
  });
1116
1116
  }
1117
- function p(f, d) {
1118
- let m = "";
1119
- const v = d.length;
1120
- let g = 0;
1121
- for (let c = f; c < v; c++) {
1122
- const y = d.charAt(c);
1123
- if (y === "(")
1124
- g++;
1125
- else if (y === ")")
1126
- g--;
1127
- else if (g === 0 && y === " ")
1117
+ function p(f, m) {
1118
+ let d = "";
1119
+ const h = m.length;
1120
+ let $ = 0;
1121
+ for (let v = f; v < h; v++) {
1122
+ const b = m.charAt(v);
1123
+ if (b === "(")
1124
+ $++;
1125
+ else if (b === ")")
1126
+ $--;
1127
+ else if ($ === 0 && b === " ")
1128
1128
  continue;
1129
- if (g === 0 && o(s, y, c, d))
1130
- return [m, c - 1];
1131
- m += y;
1129
+ if ($ === 0 && o(s, b, v, m))
1130
+ return [d, v - 1];
1131
+ d += b;
1132
1132
  }
1133
- return [m, d.length - 1];
1133
+ return [d, m.length - 1];
1134
1134
  }
1135
- function h(f, d = 0) {
1136
- const m = l[d], v = f.length, g = Object.keys(m);
1137
- let c = 0, y = !1, b = null, _ = "", V = null, I, z = "", P = "", F = "", B = "", Z = 0;
1138
- const H = (x, W) => {
1139
- x ? F += W : _ += W;
1135
+ function _(f, m = 0) {
1136
+ const d = l[m], h = f.length, $ = Object.keys(d);
1137
+ let v = 0, b = !1, c = null, g = "", k = null, L, R = "", C = "", F = "", B = "", H = 0;
1138
+ const q = (P, N) => {
1139
+ P ? F += N : g += N;
1140
1140
  };
1141
- for (let x = 0; x < v; x++)
1142
- if (z = P, P = f.charAt(x), (P === "'" || P === '"') && z !== "\\" && (c === 0 && !y || c && !B)) {
1143
- c ? B = P : y = P, H(c, P);
1141
+ for (let P = 0; P < h; P++)
1142
+ if (R = C, C = f.charAt(P), (C === "'" || C === '"') && R !== "\\" && (v === 0 && !b || v && !B)) {
1143
+ v ? B = C : b = C, q(v, C);
1144
1144
  continue;
1145
- } else if (y && (P !== y || z === "\\") || B && (P !== B || z === "\\")) {
1146
- H(c, P);
1145
+ } else if (b && (C !== b || R === "\\") || B && (C !== B || R === "\\")) {
1146
+ q(v, C);
1147
1147
  continue;
1148
- } else if (y === P) {
1149
- y = !1, H(c, P);
1148
+ } else if (b === C) {
1149
+ b = !1, q(v, C);
1150
1150
  continue;
1151
- } else if (B === P) {
1152
- B = !1, H(c, P);
1151
+ } else if (B === C) {
1152
+ B = !1, q(v, C);
1153
1153
  continue;
1154
1154
  } else {
1155
- if (P === " ")
1155
+ if (C === " ")
1156
1156
  continue;
1157
- if (P === "(")
1158
- c === 0 ? Z = x : F += P, c++;
1159
- else if (P === ")")
1160
- if (c--, c === 0) {
1161
- const W = typeof _ == "string" && _.startsWith("$") ? _ : void 0, ke = W && f.charAt(x + 1) === ".";
1162
- let le = "";
1163
- ke && ([le, x] = p(x + 2, f));
1164
- const Re = b ? d : u(Z, f, 0), Ce = u(x, f);
1165
- Re === -1 && Ce === -1 ? _ = O(F, -1, W, le) : b && (Re >= Ce || Ce === -1) && d === Re ? (V = b.bind(null, O(F, -1, W, le)), b = null, _ = "") : Ce > Re && d === Ce ? _ = O(F, -1, W, le) : _ += `(${F})${ke ? `.${le}` : ""}`, F = "";
1157
+ if (C === "(")
1158
+ v === 0 ? H = P : F += C, v++;
1159
+ else if (C === ")")
1160
+ if (v--, v === 0) {
1161
+ const N = typeof g == "string" && g.startsWith("$") ? g : void 0, Ve = N && f.charAt(P + 1) === ".";
1162
+ let se = "";
1163
+ Ve && ([se, P] = p(P + 2, f));
1164
+ const Re = c ? m : u(H, f, 0), Ie = u(P, f);
1165
+ Re === -1 && Ie === -1 ? g = V(F, -1, N, se) : c && (Re >= Ie || Ie === -1) && m === Re ? (k = c.bind(null, V(F, -1, N, se)), c = null, g = "") : Ie > Re && m === Ie ? g = V(F, -1, N, se) : g += `(${F})${Ve ? `.${se}` : ""}`, F = "";
1166
1166
  } else
1167
- F += P;
1168
- else if (c === 0 && (I = o(g, P, x, f))) {
1169
- x === 0 && N(103, [I, f]), x += I.length - 1, x === f.length - 1 && N(104, [I, f]), b ? _ && (V = b.bind(null, O(_, d)), b = m[I].bind(null, V), _ = "") : V ? (b = m[I].bind(null, O(V, d)), V = null) : (b = m[I].bind(null, O(_, d)), _ = "");
1167
+ F += C;
1168
+ else if (v === 0 && (L = o($, C, P, f))) {
1169
+ P === 0 && W(103, [L, f]), P += L.length - 1, P === f.length - 1 && W(104, [L, f]), c ? g && (k = c.bind(null, V(g, m)), c = d[L].bind(null, k), g = "") : k ? (c = d[L].bind(null, V(k, m)), k = null) : (c = d[L].bind(null, V(g, m)), g = "");
1170
1170
  continue;
1171
1171
  } else
1172
- H(c, P);
1172
+ q(v, C);
1173
1173
  }
1174
- return _ && b && (b = b.bind(null, O(_, d))), b = !b && V ? V : b, !b && _ && (b = (x, W) => typeof x == "function" ? x(W) : x, b = b.bind(null, O(_, d))), !b && !_ && N(105, f), b;
1175
- }
1176
- function O(f, d, m, v) {
1177
- if (m) {
1178
- const g = O(m, l.length);
1179
- let c, y = v ? J(`$${v}`) : !1;
1180
- if (typeof g == "function") {
1181
- const b = On(String(f)).map((_) => O(_, -1));
1182
- return (_) => {
1183
- const V = g(_);
1184
- return typeof V != "function" ? (je(150, m), V) : (c = V(...b.map((I) => typeof I == "function" ? I(_) : I)), y && (y = y.provide((I) => {
1185
- const z = i(I);
1186
- return I.reduce((F, B) => {
1187
- if (B === v || (v == null ? void 0 : v.startsWith(`${B}(`))) {
1188
- const H = xn(c, B);
1189
- F[B] = () => H;
1174
+ return g && c && (c = c.bind(null, V(g, m))), c = !c && k ? k : c, !c && g && (c = (P, N) => typeof P == "function" ? P(N) : P, c = c.bind(null, V(g, m))), !c && !g && W(105, f), c;
1175
+ }
1176
+ function V(f, m, d, h) {
1177
+ if (d) {
1178
+ const $ = V(d, l.length);
1179
+ let v, b = h ? Z(`$${h}`) : !1;
1180
+ if (typeof $ == "function") {
1181
+ const c = xn(String(f)).map((g) => V(g, -1));
1182
+ return (g) => {
1183
+ const k = $(g);
1184
+ return typeof k != "function" ? (je(150, d), k) : (v = k(...c.map((L) => typeof L == "function" ? L(g) : L)), b && (b = b.provide((L) => {
1185
+ const R = i(L);
1186
+ return L.reduce((F, B) => {
1187
+ if (B === h || (h == null ? void 0 : h.startsWith(`${B}(`))) {
1188
+ const q = jn(v, B);
1189
+ F[B] = () => q;
1190
1190
  } else
1191
- F[B] = z[B];
1191
+ F[B] = R[B];
1192
1192
  return F;
1193
1193
  }, {});
1194
- })), y ? y() : c);
1194
+ })), b ? b() : v);
1195
1195
  };
1196
1196
  }
1197
1197
  } else if (typeof f == "string") {
@@ -1201,34 +1201,34 @@ function J(e) {
1201
1201
  return !1;
1202
1202
  if (f === "undefined")
1203
1203
  return;
1204
- if (Ln(f))
1205
- return An(f.substring(1, f.length - 1));
1204
+ if (On(f))
1205
+ return Pn(f.substring(1, f.length - 1));
1206
1206
  if (!isNaN(+f))
1207
1207
  return Number(f);
1208
- if (d < l.length - 1)
1209
- return h(f, d + 1);
1208
+ if (m < l.length - 1)
1209
+ return _(f, m + 1);
1210
1210
  if (f.startsWith("$")) {
1211
- const g = f.substring(1);
1212
- return t.add(g), function(y) {
1213
- return g in y ? y[g]() : void 0;
1211
+ const $ = f.substring(1);
1212
+ return t.add($), function(b) {
1213
+ return $ in b ? b[$]() : void 0;
1214
1214
  };
1215
1215
  }
1216
1216
  return f;
1217
1217
  }
1218
1218
  return f;
1219
1219
  }
1220
- const w = h(e.startsWith("$:") ? e.substring(2) : e), $ = Array.from(t);
1221
- function S(f) {
1222
- return i = f, Object.assign(w.bind(null, f($)), {
1223
- provide: S
1220
+ const J = _(e.startsWith("$:") ? e.substring(2) : e), y = Array.from(t);
1221
+ function I(f) {
1222
+ return i = f, Object.assign(J.bind(null, f(y)), {
1223
+ provide: I
1224
1224
  });
1225
1225
  }
1226
- return Object.assign(w, {
1227
- provide: S
1226
+ return Object.assign(J, {
1227
+ provide: I
1228
1228
  });
1229
1229
  }
1230
- const Ot = "0.17.4";
1231
- function Yi(e) {
1230
+ const Ot = "0.17.5";
1231
+ function Xi(e) {
1232
1232
  let i = 1;
1233
1233
  return Array.isArray(e) ? e.map((t) => typeof t == "string" || typeof t == "number" ? {
1234
1234
  label: String(t),
@@ -1241,7 +1241,7 @@ function Yi(e) {
1241
1241
  value: t
1242
1242
  }));
1243
1243
  }
1244
- function ge(e, i) {
1244
+ function ke(e, i) {
1245
1245
  if (Array.isArray(e)) {
1246
1246
  for (const t of e)
1247
1247
  if (i == t.value)
@@ -1249,13 +1249,13 @@ function ge(e, i) {
1249
1249
  }
1250
1250
  return i;
1251
1251
  }
1252
- function $e(e, i) {
1253
- return e === null && i === void 0 || e === void 0 && i === null ? !1 : e == i ? !0 : _e(e) && _e(i) ? ue(e, i) : !1;
1252
+ function Ce(e, i) {
1253
+ return e === null && i === void 0 || e === void 0 && i === null ? !1 : e == i ? !0 : we(e) && we(i) ? fe(e, i) : !1;
1254
1254
  }
1255
1255
  function gt(e) {
1256
- e.hook.prop((i, t) => (i.prop === "options" && (typeof i.value == "function" ? (e.props.optionsLoader = i.value, i.value = []) : i.value = Yi(i.value)), t(i)));
1256
+ e.hook.prop((i, t) => (i.prop === "options" && (typeof i.value == "function" ? (e.props.optionsLoader = i.value, i.value = []) : i.value = Xi(i.value)), t(i)));
1257
1257
  }
1258
- function k(e, i, t = !1) {
1258
+ function w(e, i, t = !1) {
1259
1259
  return (...n) => {
1260
1260
  const l = (s) => {
1261
1261
  const r = !i || typeof i == "string" ? { $el: i } : i();
@@ -1267,22 +1267,22 @@ function k(e, i, t = !1) {
1267
1267
  })), {
1268
1268
  if: `$slots.${e}`,
1269
1269
  then: `$slots.${e}`,
1270
- else: e in s ? Se(r, s[e]) : r
1270
+ else: e in s ? Le(r, s[e]) : r
1271
1271
  };
1272
1272
  };
1273
- return l._s = e, t ? Qi(l) : l;
1273
+ return l._s = e, t ? Gi(l) : l;
1274
1274
  };
1275
1275
  }
1276
- function Qi(e) {
1276
+ function Gi(e) {
1277
1277
  return (i) => [e(i)];
1278
1278
  }
1279
1279
  function Ke(e) {
1280
1280
  return typeof e == "object" && ("$el" in e || "$cmp" in e || "$formkit" in e);
1281
1281
  }
1282
- function Se(e, i = {}) {
1282
+ function Le(e, i = {}) {
1283
1283
  return typeof e == "string" ? Ke(i) || typeof i == "string" ? i : e : Array.isArray(e) ? Ke(i) ? i : e : Ye(e, i);
1284
1284
  }
1285
- const fe = k("outer", () => ({
1285
+ const ce = w("outer", () => ({
1286
1286
  $el: "div",
1287
1287
  attrs: {
1288
1288
  key: "$id",
@@ -1300,16 +1300,16 @@ const fe = k("outer", () => ({
1300
1300
  "data-prefix-icon-click": "$onPrefixIconClick !== undefined || undefined",
1301
1301
  "data-suffix-icon-click": "$onSuffixIconClick !== undefined || undefined"
1302
1302
  }
1303
- })), te = k("inner", "div"), we = k("wrapper", "div"), Ee = k("label", () => ({
1303
+ })), ie = w("inner", "div"), Se = w("wrapper", "div"), Ee = w("label", () => ({
1304
1304
  $el: "label",
1305
1305
  if: "$label",
1306
1306
  attrs: {
1307
1307
  for: "$id"
1308
1308
  }
1309
- })), ne = k("messages", () => ({
1309
+ })), le = w("messages", () => ({
1310
1310
  $el: "ul",
1311
1311
  if: "$defaultMessagePlacement && $fns.length($messages)"
1312
- })), ie = k("message", () => ({
1312
+ })), ae = w("message", () => ({
1313
1313
  $el: "li",
1314
1314
  for: ["message", "$messages"],
1315
1315
  attrs: {
@@ -1317,13 +1317,13 @@ const fe = k("outer", () => ({
1317
1317
  id: "$id + '-' + $message.key",
1318
1318
  "data-message-type": "$message.type"
1319
1319
  }
1320
- })), X = k("prefix", null), G = k("suffix", null), ee = k("help", () => ({
1320
+ })), X = w("prefix", null), G = w("suffix", null), ee = w("help", () => ({
1321
1321
  $el: "div",
1322
1322
  if: "$help",
1323
1323
  attrs: {
1324
1324
  id: '$: "help-" + $id'
1325
1325
  }
1326
- })), nn = k("fieldset", () => ({
1326
+ })), an = w("fieldset", () => ({
1327
1327
  $el: "fieldset",
1328
1328
  attrs: {
1329
1329
  id: "$id",
@@ -1333,12 +1333,12 @@ const fe = k("outer", () => ({
1333
1333
  else: void 0
1334
1334
  }
1335
1335
  }
1336
- })), qe = k("decorator", () => ({
1336
+ })), Ne = w("decorator", () => ({
1337
1337
  $el: "span",
1338
1338
  attrs: {
1339
1339
  "aria-hidden": "true"
1340
1340
  }
1341
- })), We = k("input", () => ({
1341
+ })), We = w("input", () => ({
1342
1342
  $el: "input",
1343
1343
  bind: "$attrs",
1344
1344
  attrs: {
@@ -1364,16 +1364,16 @@ const fe = k("outer", () => ({
1364
1364
  }
1365
1365
  }
1366
1366
  }
1367
- })), ln = k("legend", () => ({
1367
+ })), sn = w("legend", () => ({
1368
1368
  $el: "legend",
1369
1369
  if: "$label"
1370
- })), an = k("option", () => ({
1370
+ })), rn = w("option", () => ({
1371
1371
  $el: "li",
1372
1372
  for: ["option", "$options"],
1373
1373
  attrs: {
1374
1374
  "data-disabled": "$option.attrs.disabled || $disabled"
1375
1375
  }
1376
- })), sn = k("options", "ul"), Ne = k("wrapper", () => ({
1376
+ })), on = w("options", "ul"), qe = w("wrapper", () => ({
1377
1377
  $el: "label",
1378
1378
  attrs: {
1379
1379
  "data-disabled": {
@@ -1387,13 +1387,13 @@ const fe = k("outer", () => ({
1387
1387
  else: "$fns.isChecked($option.value) || undefined"
1388
1388
  }
1389
1389
  }
1390
- })), rn = k("optionHelp", () => ({
1390
+ })), un = w("optionHelp", () => ({
1391
1391
  $el: "div",
1392
1392
  if: "$option.help",
1393
1393
  attrs: {
1394
1394
  id: '$: "help-" + $option.attrs.id'
1395
1395
  }
1396
- })), He = k("label", "span"), Xi = k("input", () => ({
1396
+ })), He = w("label", "span"), el = w("input", () => ({
1397
1397
  $el: "button",
1398
1398
  bind: "$attrs",
1399
1399
  attrs: {
@@ -1402,7 +1402,7 @@ const fe = k("outer", () => ({
1402
1402
  name: "$node.name",
1403
1403
  id: "$id"
1404
1404
  }
1405
- })), Gi = k("default", null), el = k("input", () => ({
1405
+ })), tl = w("default", null), nl = w("input", () => ({
1406
1406
  $el: "input",
1407
1407
  bind: "$attrs",
1408
1408
  attrs: {
@@ -1414,10 +1414,10 @@ const fe = k("outer", () => ({
1414
1414
  id: "$id",
1415
1415
  "aria-describedby": "$describedBy"
1416
1416
  }
1417
- })), tl = k("fileItem", () => ({
1417
+ })), il = w("fileItem", () => ({
1418
1418
  $el: "li",
1419
1419
  for: ["file", "$value"]
1420
- })), nl = k("fileList", () => ({
1420
+ })), ll = w("fileList", () => ({
1421
1421
  $el: "ul",
1422
1422
  if: "$value.length",
1423
1423
  attrs: {
@@ -1426,20 +1426,20 @@ const fe = k("outer", () => ({
1426
1426
  then: "true"
1427
1427
  }
1428
1428
  }
1429
- })), il = k("fileName", () => ({
1429
+ })), al = w("fileName", () => ({
1430
1430
  $el: "span",
1431
1431
  attrs: {
1432
1432
  class: "$classes.fileName"
1433
1433
  }
1434
- })), Pt = k("fileRemove", () => ({
1434
+ })), Pt = w("fileRemove", () => ({
1435
1435
  $el: "button",
1436
1436
  attrs: {
1437
1437
  onClick: "$handlers.resetFiles"
1438
1438
  }
1439
- })), ll = k("noFiles", () => ({
1439
+ })), sl = w("noFiles", () => ({
1440
1440
  $el: "span",
1441
1441
  if: "$value.length == 0"
1442
- })), al = k("form", () => ({
1442
+ })), rl = w("form", () => ({
1443
1443
  $el: "form",
1444
1444
  bind: "$attrs",
1445
1445
  attrs: {
@@ -1448,10 +1448,10 @@ const fe = k("outer", () => ({
1448
1448
  onSubmit: "$handlers.submit",
1449
1449
  "data-loading": "$state.loading || undefined"
1450
1450
  }
1451
- })), sl = k("actions", () => ({
1451
+ })), ol = w("actions", () => ({
1452
1452
  $el: "div",
1453
1453
  if: "$actions"
1454
- })), rl = k("submit", () => ({
1454
+ })), ul = w("submit", () => ({
1455
1455
  $cmp: "FormKit",
1456
1456
  bind: "$submitAttrs",
1457
1457
  props: {
@@ -1459,7 +1459,7 @@ const fe = k("outer", () => ({
1459
1459
  disabled: "$disabled",
1460
1460
  label: "$submitLabel"
1461
1461
  }
1462
- })), on = k("input", () => ({
1462
+ })), fn = w("input", () => ({
1463
1463
  $el: "input",
1464
1464
  bind: "$attrs",
1465
1465
  attrs: {
@@ -1472,7 +1472,7 @@ const fe = k("outer", () => ({
1472
1472
  id: "$id",
1473
1473
  "aria-describedby": "$describedBy"
1474
1474
  }
1475
- })), un = k("wrapper", null, !0), ol = k("input", () => ({
1475
+ })), cn = w("wrapper", null, !0), fl = w("input", () => ({
1476
1476
  $el: "select",
1477
1477
  bind: "$attrs",
1478
1478
  attrs: {
@@ -1486,7 +1486,7 @@ const fe = k("outer", () => ({
1486
1486
  onBlur: "$handlers.blur",
1487
1487
  "aria-describedby": "$describedBy"
1488
1488
  }
1489
- })), ul = k("option", () => ({
1489
+ })), cl = w("option", () => ({
1490
1490
  $el: "option",
1491
1491
  for: ["option", "$options"],
1492
1492
  bind: "$option.attrs",
@@ -1495,12 +1495,12 @@ const fe = k("outer", () => ({
1495
1495
  value: "$option.value",
1496
1496
  selected: "$fns.isSelected($option)"
1497
1497
  }
1498
- })), fl = () => ({
1498
+ })), pl = () => ({
1499
1499
  $el: null,
1500
1500
  if: "$options.length",
1501
1501
  for: ["option", "$options"],
1502
1502
  children: "$slots.option"
1503
- }), cl = k("input", () => ({
1503
+ }), dl = w("input", () => ({
1504
1504
  $el: "textarea",
1505
1505
  bind: "$attrs",
1506
1506
  attrs: {
@@ -1513,7 +1513,7 @@ const fe = k("outer", () => ({
1513
1513
  "aria-describedby": "$describedBy"
1514
1514
  },
1515
1515
  children: "$initialValue"
1516
- })), U = (e, i) => k(`${e}Icon`, () => {
1516
+ })), z = (e, i) => w(`${e}Icon`, () => {
1517
1517
  const t = `_raw${e.charAt(0).toUpperCase()}${e.slice(1)}Icon`;
1518
1518
  return {
1519
1519
  if: `$${e}Icon && $${t}`,
@@ -1529,7 +1529,7 @@ const fe = k("outer", () => ({
1529
1529
  }
1530
1530
  };
1531
1531
  })();
1532
- function fn(e) {
1532
+ function pn(e) {
1533
1533
  return function(i, t) {
1534
1534
  return i.prop === "options" && Array.isArray(i.value) && (i.value = i.value.map((n) => {
1535
1535
  var l;
@@ -1543,22 +1543,22 @@ function fn(e) {
1543
1543
  }))), t(i);
1544
1544
  };
1545
1545
  }
1546
- function pl(e, i) {
1546
+ function ml(e, i) {
1547
1547
  const t = i.target;
1548
1548
  if (t instanceof HTMLInputElement) {
1549
- const n = Array.isArray(e.props.options) ? ge(e.props.options, t.value) : t.value;
1550
- Array.isArray(e.props.options) && e.props.options.length ? Array.isArray(e._value) ? e._value.some((l) => $e(n, l)) ? e.input(e._value.filter((l) => !$e(n, l))) : e.input([...e._value, n]) : e.input([n]) : t.checked ? e.input(e.props.onValue) : e.input(e.props.offValue);
1549
+ const n = Array.isArray(e.props.options) ? ke(e.props.options, t.value) : t.value;
1550
+ Array.isArray(e.props.options) && e.props.options.length ? Array.isArray(e._value) ? e._value.some((l) => Ce(n, l)) ? e.input(e._value.filter((l) => !Ce(n, l))) : e.input([...e._value, n]) : e.input([n]) : t.checked ? e.input(e.props.onValue) : e.input(e.props.offValue);
1551
1551
  }
1552
1552
  }
1553
- function dl(e, i) {
1553
+ function bl(e, i) {
1554
1554
  var t, n;
1555
- 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) => $e(ge(e.props.options, i), l)) : !1;
1555
+ 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) => Ce(ke(e.props.options, i), l)) : !1;
1556
1556
  }
1557
- function ml(e) {
1557
+ function yl(e) {
1558
1558
  e.on("created", () => {
1559
1559
  var i, t;
1560
- !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.toggleChecked = pl.bind(null, e)), !((t = e.context) === null || t === void 0) && t.fns && (e.context.fns.isChecked = dl.bind(null, e)), E(e.props, "onValue") || (e.props.onValue = !0), E(e.props, "offValue") || (e.props.offValue = !1);
1561
- }), e.hook.prop(fn(e));
1560
+ !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.toggleChecked = ml.bind(null, e)), !((t = e.context) === null || t === void 0) && t.fns && (e.context.fns.isChecked = bl.bind(null, e)), j(e.props, "onValue") || (e.props.onValue = !0), j(e.props, "offValue") || (e.props.offValue = !1);
1561
+ }), e.hook.prop(pn(e));
1562
1562
  }
1563
1563
  function Xe(e) {
1564
1564
  e.on("created", () => {
@@ -1569,7 +1569,7 @@ function Xe(e) {
1569
1569
  }
1570
1570
  function Be(e, i) {
1571
1571
  return (t) => {
1572
- t.store.set(re({
1572
+ t.store.set(ue({
1573
1573
  key: e,
1574
1574
  type: "ui",
1575
1575
  value: i || e,
@@ -1581,14 +1581,14 @@ function Be(e, i) {
1581
1581
  };
1582
1582
  }
1583
1583
  const et = typeof window < "u";
1584
- function cn(e) {
1584
+ function dn(e) {
1585
1585
  e.target instanceof HTMLElement && e.target.hasAttribute("data-file-hover") && e.target.removeAttribute("data-file-hover");
1586
1586
  }
1587
1587
  function xt(e, i) {
1588
- i.target instanceof HTMLInputElement ? e === "dragover" && i.target.setAttribute("data-file-hover", "true") : i.preventDefault(), e === "drop" && cn(i);
1588
+ i.target instanceof HTMLInputElement ? e === "dragover" && i.target.setAttribute("data-file-hover", "true") : i.preventDefault(), e === "drop" && dn(i);
1589
1589
  }
1590
- function bl(e) {
1591
- Be("noFiles", "Select file")(e), Be("removeAll", "Remove all")(e), Be("remove")(e), et && (window._FormKit_File_Drop || (window.addEventListener("dragover", xt.bind(null, "dragover")), window.addEventListener("drop", xt.bind(null, "drop")), window.addEventListener("dragleave", cn), window._FormKit_File_Drop = !0)), e.hook.input((i, t) => t(Array.isArray(i) ? i : [])), e.on("reset", () => {
1590
+ function vl(e) {
1591
+ Be("noFiles", "Select file")(e), Be("removeAll", "Remove all")(e), Be("remove")(e), et && (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", () => {
1592
1592
  if (e.props.id && et) {
1593
1593
  const i = document.getElementById(e.props.id);
1594
1594
  i && (i.value = "");
@@ -1613,15 +1613,22 @@ function bl(e) {
1613
1613
  });
1614
1614
  });
1615
1615
  }
1616
- async function yl(e, i) {
1617
- i.preventDefault(), await e.settled;
1618
- const t = (n) => n.store.set(re({
1616
+ const Mt = ue({
1617
+ key: "loading",
1618
+ value: !0,
1619
+ visible: !1
1620
+ });
1621
+ async function hl(e, i) {
1622
+ const t = Math.random();
1623
+ 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))
1624
+ return;
1625
+ const n = (l) => l.store.set(ue({
1619
1626
  key: "submitted",
1620
1627
  value: !0,
1621
1628
  visible: !1
1622
1629
  }));
1623
- if (e.walk(t), t(e), typeof e.props.onSubmitRaw == "function" && e.props.onSubmitRaw(i, e), e.ledger.value("blocking"))
1624
- typeof e.props.onSubmitInvalid == "function" && e.props.onSubmitInvalid(e), e.props.incompleteMessage !== !1 && e.store.set(re({
1630
+ if (e.walk(n), n(e), typeof e.props.onSubmitRaw == "function" && e.props.onSubmitRaw(i, e), e.ledger.value("blocking"))
1631
+ typeof e.props.onSubmitInvalid == "function" && e.props.onSubmitInvalid(e), e.props.incompleteMessage !== !1 && e.store.set(ue({
1625
1632
  blocking: !1,
1626
1633
  key: "incomplete",
1627
1634
  meta: {
@@ -1633,65 +1640,61 @@ async function yl(e, i) {
1633
1640
  value: e.props.incompleteMessage || "Form incomplete."
1634
1641
  }));
1635
1642
  else if (typeof e.props.onSubmit == "function") {
1636
- const n = e.props.onSubmit(e.hook.submit.dispatch(Pe(e.value)), e);
1637
- if (n instanceof Promise) {
1638
- const l = e.props.disabled === void 0 && e.props.submitBehavior !== "live";
1639
- l && (e.props.disabled = !0), e.store.set(re({
1640
- key: "loading",
1641
- value: !0,
1642
- visible: !1
1643
- })), await n, l && (e.props.disabled = !1), e.store.remove("loading");
1643
+ const l = e.props.onSubmit(e.hook.submit.dispatch(xe(e.value)), e);
1644
+ if (l instanceof Promise) {
1645
+ const s = e.props.disabled === void 0 && e.props.submitBehavior !== "live";
1646
+ s && (e.props.disabled = !0), e.store.set(Mt), await l, s && (e.props.disabled = !1), e.store.remove("loading");
1644
1647
  }
1645
1648
  } else
1646
1649
  i.target instanceof HTMLFormElement && i.target.submit();
1647
1650
  }
1648
- function vl(e) {
1649
- e.props.isForm = !0, e.on("created", () => {
1651
+ function _l(e) {
1652
+ e.props.isForm = !0, e.ledger.count("validating", (i) => i.key === "validating"), e.on("created", () => {
1650
1653
  var i;
1651
- !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.submit = yl.bind(null, e)), E(e.props, "actions") || (e.props.actions = !0);
1654
+ !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.submit = hl.bind(null, e)), j(e.props, "actions") || (e.props.actions = !0);
1652
1655
  }), e.on("settled:blocking", () => e.store.remove("incomplete"));
1653
1656
  }
1654
- function hl(e) {
1657
+ function gl(e) {
1655
1658
  e.props.ignore === void 0 && (e.props.ignore = !0, e.parent = null);
1656
1659
  }
1657
- function _l(e) {
1660
+ function $l(e) {
1658
1661
  e.on("created", () => {
1659
1662
  e.context && (e.context.initialValue = e.value || "");
1660
1663
  });
1661
1664
  }
1662
- function gl(e, i) {
1663
- i.target instanceof HTMLInputElement && e.input(ge(e.props.options, i.target.value));
1665
+ function wl(e, i) {
1666
+ i.target instanceof HTMLInputElement && e.input(ke(e.props.options, i.target.value));
1664
1667
  }
1665
- function $l(e, i) {
1668
+ function kl(e, i) {
1666
1669
  var t, n;
1667
- return (t = e.context) === null || t === void 0 || t.value, (n = e.context) === null || n === void 0 || n._value, $e(ge(e.props.options, i), e._value);
1670
+ return (t = e.context) === null || t === void 0 || t.value, (n = e.context) === null || n === void 0 || n._value, Ce(ke(e.props.options, i), e._value);
1668
1671
  }
1669
- function wl(e) {
1672
+ function Cl(e) {
1670
1673
  e.on("created", () => {
1671
1674
  var i, t;
1672
1675
  Array.isArray(e.props.options) || je(350, {
1673
1676
  node: e,
1674
1677
  inputType: "radio"
1675
- }), !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.toggleChecked = gl.bind(null, e)), !((t = e.context) === null || t === void 0) && t.fns && (e.context.fns.isChecked = $l.bind(null, e));
1676
- }), e.hook.prop(fn(e));
1678
+ }), !((i = e.context) === null || i === void 0) && i.handlers && (e.context.handlers.toggleChecked = wl.bind(null, e)), !((t = e.context) === null || t === void 0) && t.fns && (e.context.fns.isChecked = kl.bind(null, e));
1679
+ }), e.hook.prop(pn(e));
1677
1680
  }
1678
- function kl(e, i) {
1681
+ function Sl(e, i) {
1679
1682
  e.context && e.context.value;
1680
1683
  const t = "__original" in i ? i.__original : i.value;
1681
1684
  function n() {
1682
1685
  return !e.props.options.some((l) => ("__original" in l ? l.__original : l.value) === null);
1683
1686
  }
1684
- return Array.isArray(e._value) ? e._value.some((l) => $e(l, t)) : (e._value === void 0 || e._value === null && n()) && i.attrs && i.attrs["data-is-placeholder"] ? !0 : $e(t, e._value);
1687
+ return Array.isArray(e._value) ? e._value.some((l) => Ce(l, t)) : (e._value === void 0 || e._value === null && n()) && i.attrs && i.attrs["data-is-placeholder"] ? !0 : Ce(t, e._value);
1685
1688
  }
1686
- async function Cl(e, i) {
1689
+ async function Vl(e, i) {
1687
1690
  var t;
1688
1691
  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));
1689
1692
  }
1690
- function Sl(e, i) {
1691
- const t = i.target, n = t.hasAttribute("multiple") ? Array.from(t.selectedOptions).map((l) => ge(e.props.options, l.value)) : ge(e.props.options, t.value);
1693
+ function Il(e, i) {
1694
+ const t = i.target, n = t.hasAttribute("multiple") ? Array.from(t.selectedOptions).map((l) => ke(e.props.options, l.value)) : ke(e.props.options, t.value);
1692
1695
  e.input(n);
1693
1696
  }
1694
- function Mt(e, i) {
1697
+ function jt(e, i) {
1695
1698
  return e.some((t) => t.attrs && t.attrs["data-is-placeholder"]) ? e : [
1696
1699
  {
1697
1700
  label: i,
@@ -1705,24 +1708,24 @@ function Mt(e, i) {
1705
1708
  ...e
1706
1709
  ];
1707
1710
  }
1708
- function Vl(e) {
1711
+ function Ll(e) {
1709
1712
  e.on("created", () => {
1710
1713
  var i, t, n;
1711
1714
  const l = Y((i = e.props.attrs) === null || i === void 0 ? void 0 : i.multiple);
1712
- !l && e.props.placeholder && Array.isArray(e.props.options) && (e.hook.prop(({ prop: s, value: r }, o) => (s === "options" && (r = Mt(r, e.props.placeholder)), o({ prop: s, value: r }))), e.props.options = Mt(e.props.options, e.props.placeholder)), l ? e.value === void 0 && e.input([], !1) : e.context && !e.context.options && (e.props.attrs = Object.assign({}, e.props.attrs, {
1715
+ !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, {
1713
1716
  value: e._value
1714
1717
  }), e.on("input", ({ payload: s }) => {
1715
1718
  e.props.attrs = Object.assign({}, e.props.attrs, {
1716
1719
  value: s
1717
1720
  });
1718
- })), !((t = e.context) === null || t === void 0) && t.handlers && (e.context.handlers.selectInput = Sl.bind(null, e), e.context.handlers.onChange = Cl.bind(null, e)), !((n = e.context) === null || n === void 0) && n.fns && (e.context.fns.isSelected = kl.bind(null, e), e.context.fns.showPlaceholder = (s, r) => {
1721
+ })), !((t = e.context) === null || t === void 0) && t.handlers && (e.context.handlers.selectInput = Il.bind(null, e), e.context.handlers.onChange = Vl.bind(null, e)), !((n = e.context) === null || n === void 0) && n.fns && (e.context.fns.isSelected = Sl.bind(null, e), e.context.fns.showPlaceholder = (s, r) => {
1719
1722
  if (!Array.isArray(e.props.options))
1720
1723
  return !1;
1721
1724
  const o = e.props.options.some((u) => {
1722
1725
  if (u.attrs && "data-is-placeholder" in u.attrs)
1723
1726
  return !1;
1724
1727
  const p = "__original" in u ? u.__original : u.value;
1725
- return ue(s, p);
1728
+ return fe(s, p);
1726
1729
  });
1727
1730
  return r && !o ? !0 : void 0;
1728
1731
  });
@@ -1731,16 +1734,16 @@ function Vl(e) {
1731
1734
  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);
1732
1735
  });
1733
1736
  }
1734
- function ve(e, i) {
1737
+ function _e(e, i) {
1735
1738
  return (t) => {
1736
1739
  t.props[`${e}Icon`] === void 0 && (t.props[`${e}Icon`] = `default:${i}`);
1737
1740
  };
1738
1741
  }
1739
1742
  function ct(e) {
1740
- return !!(be(e) && e.if && e.if.startsWith("$slots.") && typeof e.then == "string" && e.then.startsWith("$slots.") && "else" in e);
1743
+ return !!(ve(e) && e.if && e.if.startsWith("$slots.") && typeof e.then == "string" && e.then.startsWith("$slots.") && "else" in e);
1741
1744
  }
1742
- function Il(e) {
1743
- return fe(we(Ee("$label"), te(X(), e(), G())), ee("$help"), ne(ie("$message.value")));
1745
+ function Al(e) {
1746
+ return ce(Se(Ee("$label"), ie(X(), e(), G())), ee("$help"), le(ae("$message.value")));
1744
1747
  }
1745
1748
  function Q(e, i, t) {
1746
1749
  const n = (l) => {
@@ -1757,75 +1760,75 @@ function Q(e, i, t) {
1757
1760
  };
1758
1761
  return n._s = Je(), n;
1759
1762
  }
1760
- function Ie(e, i) {
1763
+ function Oe(e, i) {
1761
1764
  const t = (n) => {
1762
1765
  const l = e({});
1763
- return ct(l) ? (Array.isArray(l.else) || (l.else = Se(Se(l.else, i), e._s ? n[e._s] : {})), l) : Se(Se(l, i), e._s ? n[e._s] : {});
1766
+ return ct(l) ? (Array.isArray(l.else) || (l.else = Le(Le(l.else, i), e._s ? n[e._s] : {})), l) : Le(Le(l, i), e._s ? n[e._s] : {});
1764
1767
  };
1765
1768
  return t._s = e._s, t;
1766
1769
  }
1767
- fe(ne(ie("$message.value")), we(Xi(U("prefix"), X(), Gi("$label || $ui.submit.value"), G(), U("suffix"))), ee("$help")), Be("submit");
1768
- fe(
1770
+ ce(le(ae("$message.value")), Se(el(z("prefix"), X(), tl("$label || $ui.submit.value"), G(), z("suffix"))), ee("$help")), Be("submit");
1771
+ ce(
1769
1772
  Q(
1770
1773
  "$options == undefined",
1771
1774
  /**
1772
1775
  * Single checkbox structure.
1773
1776
  */
1774
- Ne(te(X(), We(), qe(U("decorator")), G()), Ie(He("$label"), {
1777
+ qe(ie(X(), We(), Ne(z("decorator")), G()), Oe(He("$label"), {
1775
1778
  if: "$label"
1776
1779
  })),
1777
1780
  /**
1778
1781
  * Multi checkbox structure.
1779
1782
  */
1780
- nn(ln("$label"), ee("$help"), sn(an(Ne(te(X(), Ie(We(), {
1783
+ an(sn("$label"), ee("$help"), on(rn(qe(ie(X(), Oe(We(), {
1781
1784
  bind: "$option.attrs",
1782
1785
  attrs: {
1783
1786
  id: "$option.attrs.id",
1784
1787
  value: "$option.value",
1785
1788
  checked: "$fns.isChecked($option.value)"
1786
1789
  }
1787
- }), qe(U("decorator")), G()), Ie(He("$option.label"), {
1790
+ }), Ne(z("decorator")), G()), Oe(He("$option.label"), {
1788
1791
  if: "$option.label"
1789
- })), rn("$option.help"))))
1792
+ })), un("$option.help"))))
1790
1793
  ),
1791
1794
  // Help text only goes under the input when it is a single.
1792
1795
  Q("$options == undefined && $help", ee("$help")),
1793
- ne(ie("$message.value"))
1794
- ), ve("decorator", "checkboxDecorator");
1795
- fe(we(Ee("$label"), te(U("prefix", "label"), X(), el(), nl(tl(U("fileItem"), il("$file.name"), Q("$value.length === 1", Pt(U("fileRemove"), "$ui.remove.value")))), Q("$value.length > 1", Pt("$ui.removeAll.value")), ll(U("noFiles"), "$ui.noFiles.value"), G(), U("suffix"))), ee("$help"), ne(ie("$message.value"))), ve("fileItem", "fileItem"), ve("fileRemove", "fileRemove"), ve("noFiles", "noFiles");
1796
- al("$slots.default", ne(ie("$message.value")), sl(rl()));
1797
- un("$slots.default");
1798
- on();
1799
- un("$slots.default");
1800
- fe(
1796
+ le(ae("$message.value"))
1797
+ ), _e("decorator", "checkboxDecorator");
1798
+ ce(Se(Ee("$label"), ie(z("prefix", "label"), X(), nl(), ll(il(z("fileItem"), al("$file.name"), Q("$value.length === 1", Pt(z("fileRemove"), "$ui.remove.value")))), Q("$value.length > 1", Pt("$ui.removeAll.value")), sl(z("noFiles"), "$ui.noFiles.value"), G(), z("suffix"))), ee("$help"), le(ae("$message.value"))), _e("fileItem", "fileItem"), _e("fileRemove", "fileRemove"), _e("noFiles", "noFiles");
1799
+ rl("$slots.default", le(ae("$message.value")), ol(ul()));
1800
+ cn("$slots.default");
1801
+ fn();
1802
+ cn("$slots.default");
1803
+ ce(
1801
1804
  Q(
1802
1805
  "$options == undefined",
1803
1806
  /**
1804
1807
  * Single radio structure.
1805
1808
  */
1806
- Ne(te(X(), We(), qe(U("decorator")), G()), Q("$label", He("$label"))),
1809
+ qe(ie(X(), We(), Ne(z("decorator")), G()), Q("$label", He("$label"))),
1807
1810
  /**
1808
1811
  * Multi radio structure.
1809
1812
  */
1810
- nn(ln("$label"), ee("$help"), sn(an(Ne(te(X(), Ie(We(), {
1813
+ an(sn("$label"), ee("$help"), on(rn(qe(ie(X(), Oe(We(), {
1811
1814
  bind: "$option.attrs",
1812
1815
  attrs: {
1813
1816
  id: "$option.attrs.id",
1814
1817
  value: "$option.value",
1815
1818
  checked: "$fns.isChecked($option.value)"
1816
1819
  }
1817
- }), qe(U("decorator")), G()), Ie(He("$option.label"), {
1820
+ }), Ne(z("decorator")), G()), Oe(He("$option.label"), {
1818
1821
  if: "$option.label"
1819
- })), rn("$option.help"))))
1822
+ })), un("$option.help"))))
1820
1823
  ),
1821
1824
  // Help text only goes under the input when it is a single.
1822
1825
  Q("$options == undefined && $help", ee("$help")),
1823
- ne(ie("$message.value"))
1824
- ), ve("decorator", "radioDecorator");
1825
- fe(we(Ee("$label"), te(U("prefix"), X(), ol(Q("$slots.default", () => "$slots.default", Q("$slots.option", fl, ul("$option.label")))), Q("$attrs.multiple !== undefined", () => "", U("select")), G(), U("suffix"))), ee("$help"), ne(ie("$message.value"))), ve("select", "select");
1826
- fe(we(Ee("$label"), te(U("prefix", "label"), X(), cl(), G(), U("suffix"))), ee("$help"), ne(ie("$message.value")));
1827
- fe(we(Ee("$label"), te(U("prefix", "label"), X(), on(), G(), U("suffix"))), ee("$help"), ne(ie("$message.value")));
1828
- re({
1826
+ le(ae("$message.value"))
1827
+ ), _e("decorator", "radioDecorator");
1828
+ ce(Se(Ee("$label"), ie(z("prefix"), X(), fl(Q("$slots.default", () => "$slots.default", Q("$slots.option", pl, cl("$option.label")))), Q("$attrs.multiple !== undefined", () => "", z("select")), G(), z("suffix"))), ee("$help"), le(ae("$message.value"))), _e("select", "select");
1829
+ ce(Se(Ee("$label"), ie(z("prefix", "label"), X(), dl(), G(), z("suffix"))), ee("$help"), le(ae("$message.value")));
1830
+ ce(Se(Ee("$label"), ie(z("prefix", "label"), X(), fn(), G(), z("suffix"))), ee("$help"), le(ae("$message.value")));
1831
+ ue({
1829
1832
  type: "state",
1830
1833
  blocking: !0,
1831
1834
  visible: !1,
@@ -1833,10 +1836,10 @@ re({
1833
1836
  key: "validating"
1834
1837
  });
1835
1838
  let ze;
1836
- const Ll = new Promise((e) => {
1839
+ const Ol = new Promise((e) => {
1837
1840
  }), Ge = typeof window < "u" && typeof fetch < "u";
1838
1841
  ze = Ge ? getComputedStyle(document.documentElement) : void 0;
1839
- const Ve = {}, tt = {};
1842
+ const Ae = {}, tt = {};
1840
1843
  function nt(e, i) {
1841
1844
  return (t) => {
1842
1845
  if (typeof t != "string")
@@ -1845,32 +1848,32 @@ function nt(e, i) {
1845
1848
  return t;
1846
1849
  const n = t.startsWith("default:");
1847
1850
  t = n ? t.split(":")[1] : t;
1848
- const l = t in Ve;
1851
+ const l = t in Ae;
1849
1852
  let s;
1850
1853
  if (l)
1851
- return Ve[t];
1854
+ return Ae[t];
1852
1855
  if (!tt[t]) {
1853
- if (s = Al(t), s = Ge && typeof s > "u" ? Promise.resolve(s) : s, s instanceof Promise)
1854
- tt[t] = s.then((r) => !r && typeof t == "string" && !n ? s = typeof e == "function" ? e(t) : Pl(t, i) : r).then((r) => (typeof t == "string" && (Ve[n ? `default:${t}` : t] = r), r));
1856
+ if (s = Pl(t), s = Ge && typeof s > "u" ? Promise.resolve(s) : s, s instanceof Promise)
1857
+ tt[t] = s.then((r) => !r && typeof t == "string" && !n ? s = typeof e == "function" ? e(t) : Ml(t, i) : r).then((r) => (typeof t == "string" && (Ae[n ? `default:${t}` : t] = r), r));
1855
1858
  else if (typeof s == "string")
1856
- return Ve[n ? `default:${t}` : t] = s, s;
1859
+ return Ae[n ? `default:${t}` : t] = s, s;
1857
1860
  }
1858
1861
  return tt[t];
1859
1862
  };
1860
1863
  }
1861
- function Al(e) {
1864
+ function Pl(e) {
1862
1865
  if (Ge)
1863
- return Ll.then(() => Ol(e));
1866
+ return Ol.then(() => xl(e));
1864
1867
  }
1865
- function Ol(e) {
1868
+ function xl(e) {
1866
1869
  const i = ze == null ? void 0 : ze.getPropertyValue(`--fk-icon-${e}`);
1867
1870
  if (i) {
1868
1871
  const t = atob(i);
1869
1872
  if (t.startsWith("<svg"))
1870
- return Ve[e] = t, t;
1873
+ return Ae[e] = t, t;
1871
1874
  }
1872
1875
  }
1873
- function Pl(e, i) {
1876
+ function Ml(e, i) {
1874
1877
  const t = Ot.startsWith("__") ? "latest" : Ot, n = typeof i == "function" ? i(e) : `https://cdn.jsdelivr.net/npm/@formkit/icons@${t}/dist/icons/${e}.svg`;
1875
1878
  if (Ge)
1876
1879
  return fetch(`${n}`).then(async (l) => {
@@ -1882,7 +1885,7 @@ function Pl(e, i) {
1882
1885
  });
1883
1886
  }
1884
1887
  let $t = !1;
1885
- const jt = {
1888
+ const Et = {
1886
1889
  /**
1887
1890
  * FormKit errors:
1888
1891
  */
@@ -1904,7 +1907,7 @@ const jt = {
1904
1907
  */
1905
1908
  600: ({ data: e }) => `Unknown input type${typeof e.props.type == "string" ? ' "' + e.props.type + '"' : ""} ("${e.name}")`,
1906
1909
  601: ({ data: e }) => `Input definition${typeof e.props.type == "string" ? ' "' + e.props.type + '"' : ""} is missing a schema or component property (${e.name}).`
1907
- }, Et = {
1910
+ }, Rt = {
1908
1911
  /**
1909
1912
  * Core warnings:
1910
1913
  */
@@ -1925,40 +1928,40 @@ const jt = {
1925
1928
  * Deprecation warnings:
1926
1929
  */
1927
1930
  800: ({ data: e }) => `${e} is deprecated.`
1928
- }, xl = (e, i) => {
1929
- if (e.code in jt) {
1930
- const t = jt[e.code];
1931
+ }, jl = (e, i) => {
1932
+ if (e.code in Et) {
1933
+ const t = Et[e.code];
1931
1934
  e.message = typeof t == "function" ? t(e) : t;
1932
1935
  }
1933
1936
  return i(e);
1934
1937
  };
1935
- $t || bt(xl);
1936
- const Ml = (e, i) => {
1937
- if (e.code in Et) {
1938
- const t = Et[e.code];
1938
+ $t || bt(jl);
1939
+ const El = (e, i) => {
1940
+ if (e.code in Rt) {
1941
+ const t = Rt[e.code];
1939
1942
  e.message = typeof t == "function" ? t(e) : t;
1940
1943
  }
1941
1944
  return i(e);
1942
1945
  };
1943
- $t || yt(Ml);
1946
+ $t || yt(El);
1944
1947
  $t = !0;
1945
- const jl = typeof window > "u", it = /* @__PURE__ */ new Map();
1946
- function El(e, i) {
1948
+ const Rl = typeof window > "u", it = /* @__PURE__ */ new Map();
1949
+ function Fl(e, i) {
1947
1950
  var t;
1948
- !jl || !e || (it.has(e) || it.set(e, /* @__PURE__ */ new Set()), (t = it.get(e)) === null || t === void 0 || t.add(i));
1951
+ !Rl || !e || (it.has(e) || it.set(e, /* @__PURE__ */ new Set()), (t = it.get(e)) === null || t === void 0 || t.add(i));
1949
1952
  }
1950
- const pn = typeof window > "u", Le = {}, he = {};
1951
- let q;
1952
- const se = /* @__PURE__ */ new WeakMap(), Rl = "__raw__", Fl = /[a-zA-Z0-9\-][cC]lass$/;
1953
- function Tl(e, i) {
1954
- const t = Me(null);
1953
+ const mn = typeof window > "u", Pe = {}, ge = {};
1954
+ let K;
1955
+ const re = /* @__PURE__ */ new WeakMap(), Tl = "__raw__", Dl = /[a-zA-Z0-9\-][cC]lass$/;
1956
+ function Bl(e, i) {
1957
+ const t = ne(null);
1955
1958
  if (e === "get") {
1956
1959
  const l = {};
1957
- return t.value = Dl.bind(null, l), t;
1960
+ return t.value = zl.bind(null, l), t;
1958
1961
  }
1959
1962
  const n = e.split(".");
1960
- return ae(() => {
1961
- t.value = wt(kn(i) ? i.value : i, n);
1963
+ return te(() => {
1964
+ t.value = wt(Sn(i) ? i.value : i, n);
1962
1965
  }), t;
1963
1966
  }
1964
1967
  function wt(e, i) {
@@ -1986,209 +1989,209 @@ function wt(e, i) {
1986
1989
  }
1987
1990
  return t;
1988
1991
  }
1989
- function Dl(e, i) {
1992
+ function zl(e, i) {
1990
1993
  if (typeof i != "string")
1991
1994
  return je(650);
1992
- if (i in e || (e[i] = Me(void 0)), e[i].value === void 0) {
1995
+ if (i in e || (e[i] = ne(void 0)), e[i].value === void 0) {
1993
1996
  e[i].value = null;
1994
- const t = Ht(i);
1995
- t && (e[i].value = t.context), ei(i, ({ payload: n }) => {
1997
+ const t = Jt(i);
1998
+ t && (e[i].value = t.context), ni(i, ({ payload: n }) => {
1996
1999
  e[i].value = Qe(n) ? n.context : n;
1997
2000
  });
1998
2001
  }
1999
2002
  return e[i].value;
2000
2003
  }
2001
- function Rt(e, i, t) {
2002
- function n($, S) {
2003
- const f = O(J(S.if), { if: !0 }), d = p($, S.then), m = S.else ? p($, S.else) : null;
2004
- return [f, d, m];
2005
- }
2006
- function l($, S) {
2007
- var f, d;
2008
- const m = O(J($.if));
2009
- let v = () => S, g = () => S;
2010
- return typeof $.then == "object" ? g = s($.then, void 0) : typeof $.then == "string" && (!((f = $.then) === null || f === void 0) && f.startsWith("$")) ? g = O(J($.then)) : g = () => $.then, E($, "else") && (typeof $.else == "object" ? v = s($.else) : typeof $.else == "string" && (!((d = $.else) === null || d === void 0) && d.startsWith("$")) ? v = O(J($.else)) : v = () => $.else), () => m() ? g() : v();
2011
- }
2012
- function s($, S, f = {}) {
2013
- const d = new Set(Object.keys($ || {})), m = S ? O(J(S)) : () => ({}), v = [
2014
- (g) => {
2015
- const c = m();
2016
- for (const y in c)
2017
- d.has(y) || (g[y] = c[y]);
2004
+ function Ft(e, i, t) {
2005
+ function n(y, I) {
2006
+ const f = V(Z(I.if), { if: !0 }), m = p(y, I.then), d = I.else ? p(y, I.else) : null;
2007
+ return [f, m, d];
2008
+ }
2009
+ function l(y, I) {
2010
+ var f, m;
2011
+ const d = V(Z(y.if));
2012
+ let h = () => I, $ = () => I;
2013
+ return typeof y.then == "object" ? $ = s(y.then, void 0) : typeof y.then == "string" && (!((f = y.then) === null || f === void 0) && f.startsWith("$")) ? $ = V(Z(y.then)) : $ = () => y.then, j(y, "else") && (typeof y.else == "object" ? h = s(y.else) : typeof y.else == "string" && (!((m = y.else) === null || m === void 0) && m.startsWith("$")) ? h = V(Z(y.else)) : h = () => y.else), () => d() ? $() : h();
2014
+ }
2015
+ function s(y, I, f = {}) {
2016
+ const m = new Set(Object.keys(y || {})), d = I ? V(Z(I)) : () => ({}), h = [
2017
+ ($) => {
2018
+ const v = d();
2019
+ for (const b in v)
2020
+ m.has(b) || ($[b] = v[b]);
2018
2021
  }
2019
2022
  ];
2020
- if ($) {
2021
- if (be($))
2022
- return l($, f);
2023
- for (let g in $) {
2024
- const c = $[g];
2025
- let y;
2026
- const b = typeof c == "string";
2027
- g.startsWith(Rl) ? (g = g.substring(7), y = () => c) : b && c.startsWith("$") && c.length > 1 && !(c.startsWith("$reset") && Fl.test(g)) ? y = O(J(c)) : typeof c == "object" && be(c) ? y = l(c, void 0) : typeof c == "object" && _e(c) ? y = s(c) : y = () => c, v.push((_) => {
2028
- _[g] = y();
2023
+ if (y) {
2024
+ if (ve(y))
2025
+ return l(y, f);
2026
+ for (let $ in y) {
2027
+ const v = y[$];
2028
+ let b;
2029
+ const c = typeof v == "string";
2030
+ $.startsWith(Tl) ? ($ = $.substring(7), b = () => v) : c && v.startsWith("$") && v.length > 1 && !(v.startsWith("$reset") && Dl.test($)) ? b = V(Z(v)) : typeof v == "object" && ve(v) ? b = l(v, void 0) : typeof v == "object" && we(v) ? b = s(v) : b = () => v, h.push((g) => {
2031
+ g[$] = b();
2029
2032
  });
2030
2033
  }
2031
2034
  }
2032
2035
  return () => {
2033
- const g = Array.isArray($) ? [] : {};
2034
- return v.forEach((c) => c(g)), g;
2036
+ const $ = Array.isArray(y) ? [] : {};
2037
+ return h.forEach((v) => v($)), $;
2035
2038
  };
2036
2039
  }
2037
- function r($, S) {
2038
- let f = null, d = () => null, m = !1, v = null, g = null, c = null, y = !1;
2039
- const b = Ji(S);
2040
- if (ut(b) ? (f = b.$el, d = b.$el !== "text" ? s(b.attrs, b.bind) : () => null) : ft(b) ? (typeof b.$cmp == "string" ? E($, b.$cmp) ? f = $[b.$cmp] : (f = b.$cmp, y = !0) : f = b.$cmp, d = s(b.props, b.bind)) : be(b) && ([m, v, g] = n($, b)), !be(b) && "if" in b ? m = O(J(b.if)) : !be(b) && f === null && (m = () => !0), "children" in b && b.children)
2041
- if (typeof b.children == "string")
2042
- if (b.children.startsWith("$slots."))
2043
- f = f === "text" ? "slot" : f, v = O(J(b.children));
2044
- else if (b.children.startsWith("$") && b.children.length > 1) {
2045
- const _ = O(J(b.children));
2046
- v = () => String(_());
2040
+ function r(y, I) {
2041
+ let f = null, m = () => null, d = !1, h = null, $ = null, v = null, b = !1;
2042
+ const c = Qi(I);
2043
+ if (ut(c) ? (f = c.$el, m = c.$el !== "text" ? s(c.attrs, c.bind) : () => null) : ft(c) ? (typeof c.$cmp == "string" ? j(y, c.$cmp) ? f = y[c.$cmp] : (f = c.$cmp, b = !0) : f = c.$cmp, m = s(c.props, c.bind)) : ve(c) && ([d, h, $] = n(y, c)), !ve(c) && "if" in c ? d = V(Z(c.if)) : !ve(c) && f === null && (d = () => !0), "children" in c && c.children)
2044
+ if (typeof c.children == "string")
2045
+ if (c.children.startsWith("$slots."))
2046
+ f = f === "text" ? "slot" : f, h = V(Z(c.children));
2047
+ else if (c.children.startsWith("$") && c.children.length > 1) {
2048
+ const g = V(Z(c.children));
2049
+ h = () => String(g());
2047
2050
  } else
2048
- v = () => String(b.children);
2049
- else if (Array.isArray(b.children))
2050
- v = p($, b.children);
2051
+ h = () => String(c.children);
2052
+ else if (Array.isArray(c.children))
2053
+ h = p(y, c.children);
2051
2054
  else {
2052
- const [_, V, I] = n($, b.children);
2053
- v = (z) => _ && _() ? V && V(z) : I && I(z);
2055
+ const [g, k, L] = n(y, c.children);
2056
+ h = (R) => g && g() ? k && k(R) : L && L(R);
2054
2057
  }
2055
- if (ft(b))
2056
- if (v) {
2057
- const _ = v;
2058
- v = (V) => ({
2059
- default(I, z) {
2060
- var P, F, B, Z;
2061
- const H = q;
2062
- z && (q = z), I && ((P = se.get(q)) === null || P === void 0 || P.unshift(I)), V && ((F = se.get(q)) === null || F === void 0 || F.unshift(V));
2063
- const x = _(V);
2064
- return I && ((B = se.get(q)) === null || B === void 0 || B.shift()), V && ((Z = se.get(q)) === null || Z === void 0 || Z.shift()), q = H, x;
2058
+ if (ft(c))
2059
+ if (h) {
2060
+ const g = h;
2061
+ h = (k) => ({
2062
+ default(L, R) {
2063
+ var C, F, B, H;
2064
+ const q = K;
2065
+ R && (K = R), L && ((C = re.get(K)) === null || C === void 0 || C.unshift(L)), k && ((F = re.get(K)) === null || F === void 0 || F.unshift(k));
2066
+ const P = g(k);
2067
+ return L && ((B = re.get(K)) === null || B === void 0 || B.shift()), k && ((H = re.get(K)) === null || H === void 0 || H.shift()), K = q, P;
2065
2068
  }
2066
- }), v.slot = !0;
2069
+ }), h.slot = !0;
2067
2070
  } else
2068
- v = () => ({});
2069
- if ("for" in b && b.for) {
2070
- const _ = b.for.length === 3 ? b.for[2] : b.for[1];
2071
- c = [
2072
- typeof _ == "string" && _.startsWith("$") ? O(J(_)) : () => _,
2073
- b.for[0],
2074
- b.for.length === 3 ? String(b.for[1]) : null
2071
+ h = () => ({});
2072
+ if ("for" in c && c.for) {
2073
+ const g = c.for.length === 3 ? c.for[2] : c.for[1];
2074
+ v = [
2075
+ typeof g == "string" && g.startsWith("$") ? V(Z(g)) : () => g,
2076
+ c.for[0],
2077
+ c.for.length === 3 ? String(c.for[1]) : null
2075
2078
  ];
2076
2079
  }
2077
- return [m, f, d, v, g, c, y];
2080
+ return [d, f, m, h, $, v, b];
2078
2081
  }
2079
- function o($, S) {
2080
- const f = $(S), d = q;
2081
- return Object.keys(f).reduce((m, v) => {
2082
- const g = f && f[v];
2083
- return m[v] = (c) => g && g(c, d) || null, m;
2082
+ function o(y, I) {
2083
+ const f = y(I), m = K;
2084
+ return Object.keys(f).reduce((d, h) => {
2085
+ const $ = f && f[h];
2086
+ return d[h] = (v) => $ && $(v, m) || null, d;
2084
2087
  }, {});
2085
2088
  }
2086
- function u($, S) {
2087
- const [f, d, m, v, g, c, y] = r($, S);
2088
- let b = (_) => {
2089
- if (f && d === null && v)
2090
- return f() ? v(_) : g && g(_);
2091
- if (d && (!f || f())) {
2092
- if (d === "text" && v)
2093
- return Cn(String(v()));
2094
- if (d === "slot" && v)
2095
- return v(_);
2096
- const V = y ? R(d) : d, I = v != null && v.slot ? o(v, _) : null;
2097
- return Ae(V, m(), I || (v ? v(_) : []));
2089
+ function u(y, I) {
2090
+ const [f, m, d, h, $, v, b] = r(y, I);
2091
+ let c = (g) => {
2092
+ if (f && m === null && h)
2093
+ return f() ? h(g) : $ && $(g);
2094
+ if (m && (!f || f())) {
2095
+ if (m === "text" && h)
2096
+ return Vn(String(h()));
2097
+ if (m === "slot" && h)
2098
+ return h(g);
2099
+ const k = b ? E(m) : m, L = h != null && h.slot ? o(h, g) : null;
2100
+ return $e(k, d(), L || (h ? h(g) : []));
2098
2101
  }
2099
- return typeof g == "function" ? g(_) : g;
2102
+ return typeof $ == "function" ? $(g) : $;
2100
2103
  };
2101
- if (c) {
2102
- const _ = b, [V, I, z] = c;
2103
- b = () => {
2104
- const P = V(), F = Number.isFinite(P) ? Array(Number(P)).fill(0).map((x, W) => W) : P, B = [];
2104
+ if (v) {
2105
+ const g = c, [k, L, R] = v;
2106
+ c = () => {
2107
+ const C = k(), F = Number.isFinite(C) ? Array(Number(C)).fill(0).map((P, N) => N) : C, B = [];
2105
2108
  if (typeof F != "object")
2106
2109
  return null;
2107
- const Z = se.get(q) || [], H = Array.isArray(F);
2108
- for (const x in F) {
2109
- if (H && x in Array.prototype)
2110
+ const H = re.get(K) || [], q = Array.isArray(F);
2111
+ for (const P in F) {
2112
+ if (q && P in Array.prototype)
2110
2113
  continue;
2111
- const W = Object.defineProperty({
2112
- ...Z.reduce((ke, le) => ke.__idata ? { ...ke, ...le } : le, {}),
2113
- [I]: F[x],
2114
- ...z !== null ? { [z]: H ? Number(x) : x } : {}
2114
+ const N = Object.defineProperty({
2115
+ ...H.reduce((Ve, se) => Ve.__idata ? { ...Ve, ...se } : se, {}),
2116
+ [L]: F[P],
2117
+ ...R !== null ? { [R]: q ? Number(P) : P } : {}
2115
2118
  }, "__idata", { enumerable: !1, value: !0 });
2116
- Z.unshift(W), B.push(_.bind(null, W)()), Z.shift();
2119
+ H.unshift(N), B.push(g.bind(null, N)()), H.shift();
2117
2120
  }
2118
2121
  return B;
2119
2122
  };
2120
2123
  }
2121
- return b;
2124
+ return c;
2122
2125
  }
2123
- function p($, S) {
2124
- if (Array.isArray(S)) {
2125
- const d = S.map(u.bind(null, $));
2126
- return (m) => d.map((v) => v(m));
2126
+ function p(y, I) {
2127
+ if (Array.isArray(I)) {
2128
+ const m = I.map(u.bind(null, y));
2129
+ return (d) => m.map((h) => h(d));
2127
2130
  }
2128
- const f = u($, S);
2129
- return (d) => f(d);
2131
+ const f = u(y, I);
2132
+ return (m) => f(m);
2130
2133
  }
2131
- const h = [];
2132
- function O($, S = {}) {
2134
+ const _ = [];
2135
+ function V(y, I = {}) {
2133
2136
  const f = /* @__PURE__ */ new WeakMap();
2134
- return h.push((d, m) => {
2135
- f.set(m, $.provide((v) => d(v, S)));
2136
- }), () => f.get(q)();
2137
+ return _.push((m, d) => {
2138
+ f.set(d, y.provide((h) => m(h, I)));
2139
+ }), () => f.get(K)();
2137
2140
  }
2138
- function w($, S) {
2141
+ function J(y, I) {
2139
2142
  var f;
2140
2143
  t ?? (t = JSON.stringify(i));
2141
- const [d, m] = E(Le, t) ? Le[t] : [p(e, i), h];
2142
- return pn || ((f = he[t]) !== null && f !== void 0 || (he[t] = 0), he[t]++, Le[t] = [d, m]), m.forEach((v) => {
2143
- v($, S);
2144
- }), () => (q = S, d());
2144
+ const [m, d] = j(Pe, t) ? Pe[t] : [p(e, i), _];
2145
+ return mn || ((f = ge[t]) !== null && f !== void 0 || (ge[t] = 0), ge[t]++, Pe[t] = [m, d]), d.forEach((h) => {
2146
+ h(y, I);
2147
+ }), () => (K = I, m());
2145
2148
  }
2146
- return w;
2149
+ return J;
2147
2150
  }
2148
- function dn(e, i) {
2149
- const t = se.get(q) || [];
2151
+ function bn(e, i) {
2152
+ const t = re.get(K) || [];
2150
2153
  let n;
2151
2154
  return t.length && (n = wt(t, e.split("."))), n === void 0 ? i : n;
2152
2155
  }
2153
- function Bl(e, i) {
2156
+ function Ul(e, i) {
2154
2157
  return new Proxy(e, {
2155
2158
  get(...t) {
2156
2159
  let n;
2157
2160
  const l = t[1];
2158
2161
  if (typeof l == "string") {
2159
- const s = q;
2160
- q = i, n = dn(l, void 0), q = s;
2162
+ const s = K;
2163
+ K = i, n = bn(l, void 0), K = s;
2161
2164
  }
2162
2165
  return n !== void 0 ? n : Reflect.get(...t);
2163
2166
  }
2164
2167
  });
2165
2168
  }
2166
- function Ft(e, i, t) {
2169
+ function Tt(e, i, t) {
2167
2170
  return e((n, l = {}) => n.reduce((s, r) => {
2168
2171
  if (r.startsWith("slots.")) {
2169
- const o = r.substring(6), u = () => i.slots && E(i.slots, o) && typeof i.slots[o] == "function";
2172
+ const o = r.substring(6), u = () => i.slots && j(i.slots, o) && typeof i.slots[o] == "function";
2170
2173
  if (l.if)
2171
2174
  s[r] = u;
2172
2175
  else if (i.slots) {
2173
- const p = Bl(i, t);
2176
+ const p = Ul(i, t);
2174
2177
  s[r] = () => u() ? i.slots[o](p) : null;
2175
2178
  }
2176
2179
  } else {
2177
- const o = Tl(r, i);
2178
- s[r] = () => dn(r, o.value);
2180
+ const o = Bl(r, i);
2181
+ s[r] = () => bn(r, o.value);
2179
2182
  }
2180
2183
  return s;
2181
2184
  }, {}), t);
2182
2185
  }
2183
- function Tt(e, i, t) {
2184
- if (i ?? (i = JSON.stringify(e)), he[i]--, he[i] === 0) {
2185
- delete he[i];
2186
- const [, n] = Le[i];
2187
- delete Le[i], n.length = 0;
2186
+ function Dt(e, i, t) {
2187
+ if (i ?? (i = JSON.stringify(e)), ge[i]--, ge[i] === 0) {
2188
+ delete ge[i];
2189
+ const [, n] = Pe[i];
2190
+ delete Pe[i], n.length = 0;
2188
2191
  }
2189
- se.delete(t);
2192
+ re.delete(t);
2190
2193
  }
2191
- const mn = M({
2194
+ const yn = x({
2192
2195
  name: "FormKitSchema",
2193
2196
  props: {
2194
2197
  schema: {
@@ -2212,24 +2215,24 @@ const mn = M({
2212
2215
  var t;
2213
2216
  const n = at();
2214
2217
  let l = {};
2215
- se.set(l, []);
2216
- let s = Rt(e.library, e.schema, e.memoKey), r, o;
2217
- pn || ye(() => e.schema, (p, h) => {
2218
- var O;
2219
- const w = l;
2220
- l = {}, s = Rt(e.library, e.schema, e.memoKey), r = Ft(s, o, l), p === h && ((O = n == null ? void 0 : n.proxy) === null || O === void 0 ? void 0 : O.$forceUpdate)(), Tt(e.schema, e.memoKey, w);
2221
- }, { deep: !0 }), ae(() => {
2218
+ re.set(l, []);
2219
+ let s = Ft(e.library, e.schema, e.memoKey), r, o;
2220
+ mn || pe(() => e.schema, (p, _) => {
2221
+ var V;
2222
+ const J = l;
2223
+ l = {}, s = Ft(e.library, e.schema, e.memoKey), r = Tt(s, o, l), p === _ && ((V = n == null ? void 0 : n.proxy) === null || V === void 0 ? void 0 : V.$forceUpdate)(), Dt(e.schema, e.memoKey, J);
2224
+ }, { deep: !0 }), te(() => {
2222
2225
  var p;
2223
- o = Object.assign(yn((p = e.data) !== null && p !== void 0 ? p : {}), {
2226
+ o = Object.assign(_n((p = e.data) !== null && p !== void 0 ? p : {}), {
2224
2227
  slots: i.slots
2225
- }), i.slots, r = Ft(s, o, l);
2228
+ }), i.slots, r = Tt(s, o, l);
2226
2229
  });
2227
2230
  function u() {
2228
- Tt(e.schema, e.memoKey, l), o.node && o.node.destroy(), o.slots = null, o = null, r = null;
2231
+ Dt(e.schema, e.memoKey, l), o.node && o.node.destroy(), o.slots = null, o = null, r = null;
2229
2232
  }
2230
- return vn(u), El((t = at()) === null || t === void 0 ? void 0 : t.appContext.app, u), () => r ? r() : null;
2233
+ return gn(u), Fl((t = at()) === null || t === void 0 ? void 0 : t.appContext.app, u), () => r ? r() : null;
2231
2234
  }
2232
- }), zl = {
2235
+ }), Kl = {
2233
2236
  config: {
2234
2237
  type: Object,
2235
2238
  default: {}
@@ -2305,9 +2308,9 @@ const mn = M({
2305
2308
  type: [String, Function],
2306
2309
  required: !1
2307
2310
  }
2308
- }, Ul = zl, Kl = typeof window > "u", Ze = Symbol("FormKitParent");
2309
- M({
2310
- props: Ul,
2311
+ }, Nl = Kl, Wl = typeof window > "u", Ze = Symbol("FormKitParent");
2312
+ x({
2313
+ props: Nl,
2311
2314
  emits: {
2312
2315
  /* eslint-disable @typescript-eslint/no-unused-vars */
2313
2316
  input: (e, i) => !0,
@@ -2321,27 +2324,44 @@ M({
2321
2324
  },
2322
2325
  inheritAttrs: !1,
2323
2326
  setup(e, i) {
2324
- const t = Wl(e, i);
2325
- if (t.props.definition || N(600, t), t.props.definition.component)
2327
+ const t = Zl(e, i);
2328
+ if (t.props.definition || W(600, t), t.props.definition.component)
2326
2329
  return () => {
2327
2330
  var o;
2328
- return Ae((o = t.props.definition) === null || o === void 0 ? void 0 : o.component, {
2331
+ return $e((o = t.props.definition) === null || o === void 0 ? void 0 : o.component, {
2329
2332
  context: t.context
2330
2333
  }, { ...i.slots });
2331
2334
  };
2332
- const n = Me([]);
2335
+ const n = ne([]);
2333
2336
  let l = t.props.definition.schemaMemoKey;
2334
2337
  const s = () => {
2335
2338
  var o, u;
2336
2339
  const p = (u = (o = t.props) === null || o === void 0 ? void 0 : o.definition) === null || u === void 0 ? void 0 : u.schema;
2337
- p || N(601, t), typeof p == "function" ? (n.value = p({ ...e.sectionsSchema }), (l && e.sectionsSchema || "memoKey" in p && typeof p.memoKey == "string") && (l = (l ?? (p == null ? void 0 : p.memoKey)) + JSON.stringify(e.sectionsSchema))) : n.value = p;
2340
+ p || W(601, t), typeof p == "function" ? (n.value = p({ ...e.sectionsSchema }), (l && e.sectionsSchema || "memoKey" in p && typeof p.memoKey == "string") && (l = (l ?? (p == null ? void 0 : p.memoKey)) + JSON.stringify(e.sectionsSchema))) : n.value = p;
2338
2341
  };
2339
- s(), Kl || t.on("schema", s), i.emit("node", t);
2342
+ s(), Wl || t.on("schema", s), i.emit("node", t);
2340
2343
  const r = t.props.definition.library;
2341
- return i.expose({ node: t }), () => Ae(mn, { schema: n.value, data: t.context, library: r, memoKey: l }, { ...i.slots });
2344
+ return i.expose({ node: t }), () => $e(yn, { schema: n.value, data: t.context, library: r, memoKey: l }, { ...i.slots });
2342
2345
  }
2343
2346
  });
2344
- const bn = Symbol.for("FormKitOptions"), lt = [
2347
+ const vn = Symbol();
2348
+ x((e, i) => {
2349
+ const t = ne(null), n = ne(!1), l = ne(void 0), s = pe(t, (o) => {
2350
+ let u = o, p = null;
2351
+ for (; u = u == null ? void 0 : u.parentNode; )
2352
+ if (p = u, p instanceof ShadowRoot || p instanceof Document) {
2353
+ r(p);
2354
+ break;
2355
+ }
2356
+ s(), n.value = !0;
2357
+ });
2358
+ zt(vn, l);
2359
+ function r(o) {
2360
+ l.value = o;
2361
+ }
2362
+ return () => n.value && i.slots.default ? i.slots.default() : $e("template", { ref: t });
2363
+ });
2364
+ const hn = Symbol.for("FormKitOptions"), ql = typeof window < "u", lt = [
2345
2365
  "help",
2346
2366
  "label",
2347
2367
  "ignore",
@@ -2354,116 +2374,120 @@ const bn = Symbol.for("FormKitOptions"), lt = [
2354
2374
  "suffixIcon",
2355
2375
  /^[a-zA-Z-]+(?:-icon|Icon)$/
2356
2376
  ];
2357
- function Dt(e, i) {
2377
+ function Bt(e, i) {
2358
2378
  i.classes && Object.keys(i.classes).forEach((t) => {
2359
2379
  typeof t == "string" && (e.props[`_${t}Class`] = i.classes[t], pt(i.classes[t]) && t === "inner" && Object.values(i.classes[t]));
2360
2380
  });
2361
2381
  }
2362
- function ql(e) {
2382
+ function Hl(e) {
2363
2383
  return e ? ["Submit", "SubmitRaw", "SubmitInvalid"].reduce((t, n) => {
2364
2384
  const l = `on${n}`;
2365
2385
  return l in e && typeof e[l] == "function" && (t[l] = e[l]), t;
2366
2386
  }, {}) : {};
2367
2387
  }
2368
- function Wl(e, i, t = {}) {
2369
- const n = Object.assign({}, Oe(bn) || {}, t), l = at(), s = ql(l == null ? void 0 : l.vnode.props), r = ["modelValue", "model-value"].some((c) => {
2370
- var y;
2371
- return c in ((y = l == null ? void 0 : l.vnode.props) !== null && y !== void 0 ? y : {});
2388
+ function Zl(e, i, t = {}) {
2389
+ const n = Object.assign({}, he(hn) || {}, t), l = he(vn, ne(ql ? document : void 0)), s = at(), r = Hl(s == null ? void 0 : s.vnode.props), o = ["modelValue", "model-value"].some((b) => {
2390
+ var c;
2391
+ return b in ((c = s == null ? void 0 : s.vnode.props) !== null && c !== void 0 ? c : {});
2372
2392
  });
2373
- let o = !1;
2374
- hn(() => {
2375
- o = !0;
2393
+ let u = !1;
2394
+ $n(() => {
2395
+ u = !0;
2376
2396
  });
2377
- const u = e.modelValue !== void 0 ? e.modelValue : pe(i.attrs.value);
2378
- function p() {
2379
- const c = {
2380
- ...me(e),
2381
- ...s,
2397
+ const p = e.modelValue !== void 0 ? e.modelValue : me(i.attrs.value);
2398
+ function _() {
2399
+ const b = {
2400
+ ...ye(e),
2401
+ ...r,
2402
+ __root: l.value,
2382
2403
  __slots: i.slots
2383
- }, y = Ct(me(i.attrs), lt);
2384
- y.key || (y.key = Je()), c.attrs = y;
2385
- const b = St(me(i.attrs), lt);
2386
- for (const V in b)
2387
- c[Fe(V)] = b[V];
2388
- const _ = { props: {} };
2389
- return Dt(_, e), Object.assign(c, _.props), typeof c.type != "string" && (c.definition = c.type, delete c.type), c;
2390
- }
2391
- const h = p(), O = h.ignore ? null : e.parent || Oe(Ze, null), w = Hi(Ye(n || {}, {
2404
+ }, c = Ct(ye(i.attrs), lt);
2405
+ c.key || (c.key = Je()), b.attrs = c;
2406
+ const g = St(ye(i.attrs), lt);
2407
+ for (const L in g)
2408
+ b[Fe(L)] = g[L];
2409
+ const k = { props: {} };
2410
+ return Bt(k, e), Object.assign(b, k.props), typeof b.type != "string" && (b.definition = b.type, delete b.type), b;
2411
+ }
2412
+ const V = _(), J = V.ignore ? null : e.parent || he(Ze, null), y = Ji(Ye(n || {}, {
2392
2413
  name: e.name || void 0,
2393
- value: u,
2394
- parent: O,
2414
+ value: p,
2415
+ parent: J,
2395
2416
  plugins: (n.plugins || []).concat(e.plugins),
2396
2417
  config: e.config,
2397
- props: h,
2418
+ props: V,
2398
2419
  index: e.index,
2399
2420
  sync: e.sync || e.dynamic
2400
2421
  }, !1, !0));
2401
- w.props.definition || N(600, w);
2402
- const $ = Me(new Set(w.props.definition.props || []));
2403
- w.on("added-props", ({ payload: c }) => {
2404
- Array.isArray(c) && c.forEach((y) => $.value.add(y));
2422
+ y.props.definition || W(600, y);
2423
+ const I = ne(new Set(y.props.definition.props || []));
2424
+ y.on("added-props", ({ payload: b }) => {
2425
+ Array.isArray(b) && b.forEach((c) => I.value.add(c));
2405
2426
  });
2406
- const S = j(() => lt.concat([...$.value]).reduce((c, y) => (typeof y == "string" ? (c.push(Fe(y)), c.push(Ut(y))) : c.push(y), c), []));
2407
- ae(() => Dt(w, e));
2408
- const f = me(e);
2409
- for (const c in f)
2410
- ye(() => e[c], () => {
2411
- e[c] !== void 0 && (w.props[c] = e[c]);
2427
+ const f = M(() => lt.concat([...I.value]).reduce((b, c) => (typeof c == "string" ? (b.push(Fe(c)), b.push(Nt(c))) : b.push(c), b), []));
2428
+ te(() => Bt(y, e));
2429
+ const m = ye(e);
2430
+ for (const b in m)
2431
+ pe(() => e[b], () => {
2432
+ e[b] !== void 0 && (y.props[b] = e[b]);
2412
2433
  });
2413
- const d = /* @__PURE__ */ new Set(), m = me(i.attrs);
2414
- ae(() => {
2415
- v(St(m, S.value));
2434
+ te(() => {
2435
+ y.props.__root = l.value;
2436
+ });
2437
+ const d = /* @__PURE__ */ new Set(), h = ye(i.attrs);
2438
+ te(() => {
2439
+ $(St(h, f.value));
2416
2440
  });
2417
- function v(c) {
2418
- d.forEach((y) => {
2419
- y(), d.delete(y);
2441
+ function $(b) {
2442
+ d.forEach((c) => {
2443
+ c(), d.delete(c);
2420
2444
  });
2421
- for (const y in c) {
2422
- const b = Fe(y);
2423
- d.add(ye(() => i.attrs[y], () => {
2424
- w.props[b] = i.attrs[y];
2445
+ for (const c in b) {
2446
+ const g = Fe(c);
2447
+ d.add(pe(() => i.attrs[c], () => {
2448
+ y.props[g] = i.attrs[c];
2425
2449
  }));
2426
2450
  }
2427
2451
  }
2428
- if (ae(() => {
2429
- const c = Ct(me(i.attrs), S.value);
2430
- "multiple" in c && (c.multiple = Y(c.multiple)), typeof c.onBlur == "function" && (c.onBlur = jn(c.onBlur)), w.props.attrs = Object.assign({}, w.props.attrs || {}, c);
2431
- }), ae(() => {
2432
- const c = e.errors.map((y) => re({
2433
- key: dt(y),
2452
+ if (te(() => {
2453
+ const b = Ct(ye(i.attrs), f.value);
2454
+ "multiple" in b && (b.multiple = Y(b.multiple)), typeof b.onBlur == "function" && (b.onBlur = Rn(b.onBlur)), y.props.attrs = Object.assign({}, y.props.attrs || {}, b);
2455
+ }), te(() => {
2456
+ const b = e.errors.map((c) => ue({
2457
+ key: dt(c),
2434
2458
  type: "error",
2435
- value: y,
2459
+ value: c,
2436
2460
  meta: { source: "prop" }
2437
2461
  }));
2438
- w.store.apply(c, (y) => y.type === "error" && y.meta.source === "prop");
2439
- }), w.type !== "input") {
2440
- const c = `${w.name}-prop`;
2441
- ae(() => {
2442
- const y = Object.keys(e.inputErrors);
2443
- y.length || w.clearErrors(!0, c);
2444
- const b = y.reduce((_, V) => {
2445
- let I = e.inputErrors[V];
2446
- return typeof I == "string" && (I = [I]), Array.isArray(I) && (_[V] = I.map((z) => re({
2447
- key: z,
2462
+ y.store.apply(b, (c) => c.type === "error" && c.meta.source === "prop");
2463
+ }), y.type !== "input") {
2464
+ const b = `${y.name}-prop`;
2465
+ te(() => {
2466
+ const c = Object.keys(e.inputErrors);
2467
+ c.length || y.clearErrors(!0, b);
2468
+ const g = c.reduce((k, L) => {
2469
+ let R = e.inputErrors[L];
2470
+ return typeof R == "string" && (R = [R]), Array.isArray(R) && (k[L] = R.map((C) => ue({
2471
+ key: C,
2448
2472
  type: "error",
2449
- value: z,
2450
- meta: { source: c }
2451
- }))), _;
2473
+ value: C,
2474
+ meta: { source: b }
2475
+ }))), k;
2452
2476
  }, {});
2453
- w.store.apply(b, (_) => _.type === "error" && _.meta.source === c);
2477
+ y.store.apply(g, (k) => k.type === "error" && k.meta.source === b);
2454
2478
  });
2455
2479
  }
2456
- ae(() => Object.assign(w.config, e.config)), w.type !== "input" && _n(Ze, w);
2457
- let g;
2458
- return w.on("modelUpdated", () => {
2459
- var c, y;
2460
- i.emit("inputRaw", (c = w.context) === null || c === void 0 ? void 0 : c.value, w), o && i.emit("input", (y = w.context) === null || y === void 0 ? void 0 : y.value, w), r && w.context && (g = pe(w.value), i.emit("update:modelValue", Pn(w.value)));
2461
- }), r && (ye(gn(e, "modelValue"), (c) => {
2462
- ue(g, c) || w.input(c, !1);
2463
- }, { deep: !0 }), w.value !== u && w.emit("modelUpdated")), $n(() => w.destroy()), w;
2464
- }
2465
- let Nl = 1;
2466
- function Hl(e) {
2480
+ te(() => Object.assign(y.config, e.config)), y.type !== "input" && zt(Ze, y);
2481
+ let v;
2482
+ return y.on("modelUpdated", () => {
2483
+ var b, c;
2484
+ i.emit("inputRaw", (b = y.context) === null || b === void 0 ? void 0 : b.value, y), u && i.emit("input", (c = y.context) === null || c === void 0 ? void 0 : c.value, y), o && y.context && (v = me(y.value), i.emit("update:modelValue", Mn(y.value)));
2485
+ }), o && (pe(wn(e, "modelValue"), (b) => {
2486
+ fe(v, b) || y.input(b, !1);
2487
+ }, { deep: !0 }), y.value !== p && y.emit("modelUpdated")), kn(() => y.destroy()), y;
2488
+ }
2489
+ let Jl = 1;
2490
+ function Yl(e) {
2467
2491
  return typeof e == "function" && e.length === 2 || typeof e == "object" && !Array.isArray(e) && !("$el" in e) && !("$cmp" in e) && !("if" in e);
2468
2492
  }
2469
2493
  function D(e, i = {}) {
@@ -2472,22 +2496,22 @@ function D(e, i = {}) {
2472
2496
  ...i
2473
2497
  };
2474
2498
  let n;
2475
- if (Hl(e)) {
2476
- const l = `SchemaComponent${Nl++}`;
2477
- n = k("input", () => ({
2499
+ if (Yl(e)) {
2500
+ const l = `SchemaComponent${Jl++}`;
2501
+ n = w("input", () => ({
2478
2502
  $cmp: l,
2479
2503
  props: {
2480
2504
  context: "$node.context"
2481
2505
  }
2482
- })), t.library = { [l]: wn(e) };
2506
+ })), t.library = { [l]: Cn(e) };
2483
2507
  } else
2484
- typeof e == "function" ? n = e : n = k("input", () => pe(e));
2485
- return t.schema = Il(n || "Schema undefined"), t.schemaMemoKey || (t.schemaMemoKey = `${Math.random()}`), t;
2508
+ typeof e == "function" ? n = e : n = w("input", () => me(e));
2509
+ return t.schema = Al(n || "Schema undefined"), t.schemaMemoKey || (t.schemaMemoKey = `${Math.random()}`), t;
2486
2510
  }
2487
- const Zl = k("messages", () => ({
2511
+ const Ql = w("messages", () => ({
2488
2512
  $el: "ul",
2489
2513
  if: "$fns.length($messages)"
2490
- })), Jl = k("message", () => ({
2514
+ })), Xl = w("message", () => ({
2491
2515
  $el: "li",
2492
2516
  for: ["message", "$messages"],
2493
2517
  attrs: {
@@ -2495,8 +2519,8 @@ const Zl = k("messages", () => ({
2495
2519
  id: "$id + '-' + $message.key",
2496
2520
  "data-message-type": "$message.type"
2497
2521
  }
2498
- })), Yl = Zl(Jl("$message.value"));
2499
- M({
2522
+ })), Gl = Ql(Xl("$message.value"));
2523
+ x({
2500
2524
  props: {
2501
2525
  node: {
2502
2526
  type: Object,
@@ -2512,26 +2536,26 @@ M({
2512
2536
  }
2513
2537
  },
2514
2538
  setup(e, i) {
2515
- const t = j(() => e.node || Oe(Ze, void 0));
2516
- ye(t, () => {
2539
+ const t = M(() => e.node || he(Ze, void 0));
2540
+ pe(t, () => {
2517
2541
  var s;
2518
2542
  !((s = t.value) === null || s === void 0) && s.context && !Y(e.defaultPosition) && (t.value.context.defaultMessagePlacement = !1);
2519
2543
  }, { immediate: !0 });
2520
- const n = Yl(e.sectionsSchema || {}), l = j(() => {
2521
- var s, r, o, u, p, h;
2544
+ const n = Gl(e.sectionsSchema || {}), l = M(() => {
2545
+ var s, r, o, u, p, _;
2522
2546
  return {
2523
2547
  messages: ((r = (s = t.value) === null || s === void 0 ? void 0 : s.context) === null || r === void 0 ? void 0 : r.messages) || {},
2524
2548
  fns: ((u = (o = t.value) === null || o === void 0 ? void 0 : o.context) === null || u === void 0 ? void 0 : u.fns) || {},
2525
- classes: ((h = (p = t.value) === null || p === void 0 ? void 0 : p.context) === null || h === void 0 ? void 0 : h.classes) || {}
2549
+ classes: ((_ = (p = t.value) === null || p === void 0 ? void 0 : p.context) === null || _ === void 0 ? void 0 : _.classes) || {}
2526
2550
  };
2527
2551
  });
2528
2552
  return () => {
2529
2553
  var s;
2530
- return !((s = t.value) === null || s === void 0) && s.context ? Ae(mn, { schema: n, data: l.value }, { ...i.slots }) : null;
2554
+ return !((s = t.value) === null || s === void 0) && s.context ? $e(yn, { schema: n, data: l.value }, { ...i.slots }) : null;
2531
2555
  };
2532
2556
  }
2533
2557
  });
2534
- M({
2558
+ x({
2535
2559
  name: "FormKitIcon",
2536
2560
  props: {
2537
2561
  icon: {
@@ -2549,7 +2573,7 @@ M({
2549
2573
  },
2550
2574
  setup(e) {
2551
2575
  var i, t;
2552
- const n = Me(void 0), l = Oe(bn, {}), s = Oe(Ze, null);
2576
+ const n = ne(void 0), l = he(hn, {}), s = he(Ze, null);
2553
2577
  let r;
2554
2578
  function o() {
2555
2579
  if (!r || typeof r != "function")
@@ -2569,15 +2593,15 @@ M({
2569
2593
  const u = (t = l == null ? void 0 : l.plugins) === null || t === void 0 ? void 0 : t.find((p) => typeof p.iconHandler == "function");
2570
2594
  u && (r = u.iconHandler);
2571
2595
  }
2572
- return ye(() => e.icon, () => {
2596
+ return pe(() => e.icon, () => {
2573
2597
  o();
2574
- }, { immediate: !0 }), () => e.icon && n.value ? Ae("span", {
2598
+ }, { immediate: !0 }), () => e.icon && n.value ? $e("span", {
2575
2599
  class: "formkit-icon",
2576
2600
  innerHTML: n.value
2577
2601
  }) : null;
2578
2602
  }
2579
2603
  });
2580
- const Ql = /* @__PURE__ */ M({
2604
+ const ea = /* @__PURE__ */ x({
2581
2605
  __name: "PrimeCalendar",
2582
2606
  props: {
2583
2607
  context: Object
@@ -2590,13 +2614,13 @@ const Ql = /* @__PURE__ */ M({
2590
2614
  function s(o) {
2591
2615
  t == null || t.node.input(o);
2592
2616
  }
2593
- const r = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2617
+ const r = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2594
2618
  return (o, u) => {
2595
- const p = R("Calendar");
2596
- return L(), A("div", null, [
2619
+ const p = E("Calendar");
2620
+ return A(), O("div", null, [
2597
2621
  T(p, {
2598
2622
  modelValue: a(t)._value,
2599
- "onUpdate:modelValue": u[0] || (u[0] = (h) => a(t)._value = h),
2623
+ "onUpdate:modelValue": u[0] || (u[0] = (_) => a(t)._value = _),
2600
2624
  "input-id": i.context.id,
2601
2625
  disabled: a(n)._disabled ?? !1,
2602
2626
  readonly: a(n)._readonly ?? !1,
@@ -2652,13 +2676,13 @@ const Ql = /* @__PURE__ */ M({
2652
2676
  ]);
2653
2677
  };
2654
2678
  }
2655
- }), Xl = {
2679
+ }), ta = {
2656
2680
  key: 0,
2657
2681
  class: "formkit-prime-left"
2658
- }, Gl = {
2682
+ }, na = {
2659
2683
  key: 1,
2660
2684
  class: "formkit-prime-right"
2661
- }, ea = /* @__PURE__ */ M({
2685
+ }, ia = /* @__PURE__ */ x({
2662
2686
  __name: "PrimeCheckbox",
2663
2687
  props: {
2664
2688
  context: Object
@@ -2669,11 +2693,11 @@ const Ql = /* @__PURE__ */ M({
2669
2693
  var o;
2670
2694
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
2671
2695
  }
2672
- const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2696
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2673
2697
  return (r, o) => {
2674
- const u = R("Checkbox");
2675
- return L(), A("div", null, [
2676
- a(t).attrs.labelLeft ? (L(), A("span", Xl, ce(a(t).attrs.labelLeft), 1)) : oe("", !0),
2698
+ const u = E("Checkbox");
2699
+ return A(), O("div", null, [
2700
+ a(t).attrs.labelLeft ? (A(), O("span", ta, de(a(t).attrs.labelLeft), 1)) : oe("", !0),
2677
2701
  T(u, {
2678
2702
  modelValue: a(t)._value,
2679
2703
  "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
@@ -2691,11 +2715,11 @@ const Ql = /* @__PURE__ */ M({
2691
2715
  pt: a(n).pt,
2692
2716
  onInput: l
2693
2717
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "binary", "true-value", "false-value", "pt"]),
2694
- a(t).attrs.labelRight ? (L(), A("span", Gl, ce(a(t).attrs.labelRight), 1)) : oe("", !0)
2718
+ a(t).attrs.labelRight ? (A(), O("span", na, de(a(t).attrs.labelRight), 1)) : oe("", !0)
2695
2719
  ]);
2696
2720
  };
2697
2721
  }
2698
- }), ta = /* @__PURE__ */ M({
2722
+ }), la = /* @__PURE__ */ x({
2699
2723
  __name: "PrimeChips",
2700
2724
  props: {
2701
2725
  context: Object
@@ -2706,10 +2730,10 @@ const Ql = /* @__PURE__ */ M({
2706
2730
  var o;
2707
2731
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
2708
2732
  }
2709
- const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2733
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2710
2734
  return (r, o) => {
2711
- const u = R("Chips");
2712
- return L(), A("div", null, [
2735
+ const u = E("Chips");
2736
+ return A(), O("div", null, [
2713
2737
  T(u, {
2714
2738
  modelValue: a(t)._value,
2715
2739
  "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
@@ -2733,7 +2757,7 @@ const Ql = /* @__PURE__ */ M({
2733
2757
  ]);
2734
2758
  };
2735
2759
  }
2736
- }), na = /* @__PURE__ */ M({
2760
+ }), aa = /* @__PURE__ */ x({
2737
2761
  __name: "PrimeColorPicker",
2738
2762
  props: {
2739
2763
  context: Object
@@ -2745,14 +2769,14 @@ const Ql = /* @__PURE__ */ M({
2745
2769
  t == null || t.node.input((r = i.context) == null ? void 0 : r._value);
2746
2770
  }
2747
2771
  return (s, r) => {
2748
- const o = R("ColorPicker");
2749
- return L(), A("div", null, [
2772
+ const o = E("ColorPicker");
2773
+ return A(), O("div", null, [
2750
2774
  T(o, {
2751
2775
  modelValue: a(t)._value,
2752
2776
  "onUpdate:modelValue": r[0] || (r[0] = (u) => a(t)._value = u),
2753
2777
  disabled: a(n)._disabled ?? !1,
2754
2778
  readonly: a(n)._readonly ?? !1,
2755
- style: de(a(n).style),
2779
+ style: be(a(n).style),
2756
2780
  "panel-class": a(n).class,
2757
2781
  tabindex: a(n).tabindex,
2758
2782
  "aria-label": a(n).ariaLabel,
@@ -2766,7 +2790,7 @@ const Ql = /* @__PURE__ */ M({
2766
2790
  ]);
2767
2791
  };
2768
2792
  }
2769
- }), ia = /* @__PURE__ */ M({
2793
+ }), sa = /* @__PURE__ */ x({
2770
2794
  __name: "PrimeDropdown",
2771
2795
  props: {
2772
2796
  context: Object
@@ -2779,13 +2803,13 @@ const Ql = /* @__PURE__ */ M({
2779
2803
  function s(o) {
2780
2804
  t == null || t.node.input(o.value);
2781
2805
  }
2782
- const r = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2806
+ const r = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2783
2807
  return (o, u) => {
2784
- const p = R("Dropdown");
2785
- return L(), A("div", null, [
2808
+ const p = E("Dropdown");
2809
+ return A(), O("div", null, [
2786
2810
  T(p, {
2787
2811
  modelValue: a(t)._value,
2788
- "onUpdate:modelValue": u[0] || (u[0] = (h) => a(t)._value = h),
2812
+ "onUpdate:modelValue": u[0] || (u[0] = (_) => a(t)._value = _),
2789
2813
  "input-id": a(t).id,
2790
2814
  disabled: a(n)._disabled ?? !1,
2791
2815
  readonly: a(n)._readonly ?? !1,
@@ -2807,7 +2831,7 @@ const Ql = /* @__PURE__ */ M({
2807
2831
  ]);
2808
2832
  };
2809
2833
  }
2810
- }), la = /* @__PURE__ */ M({
2834
+ }), ra = /* @__PURE__ */ x({
2811
2835
  __name: "PrimeEditor",
2812
2836
  props: {
2813
2837
  context: Object
@@ -2820,18 +2844,18 @@ const Ql = /* @__PURE__ */ M({
2820
2844
  function s(o) {
2821
2845
  o.range === null && (t == null || t.handlers.blur(o.htmlValue));
2822
2846
  }
2823
- const r = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2847
+ const r = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2824
2848
  return (o, u) => {
2825
- const p = R("Editor");
2826
- return L(), A("div", null, [
2849
+ const p = E("Editor");
2850
+ return A(), O("div", null, [
2827
2851
  T(p, {
2828
2852
  id: a(t).id,
2829
2853
  modelValue: a(t)._value,
2830
- "onUpdate:modelValue": u[0] || (u[0] = (h) => a(t)._value = h),
2854
+ "onUpdate:modelValue": u[0] || (u[0] = (_) => a(t)._value = _),
2831
2855
  disabled: a(n)._disabled ?? !1,
2832
2856
  readonly: a(n)._readonly ?? !1,
2833
2857
  "editor-style": a(n).style,
2834
- class: K(a(r)),
2858
+ class: U(a(r)),
2835
2859
  tabindex: a(n).tabindex,
2836
2860
  "aria-label": a(n).ariaLabel,
2837
2861
  "aria-labelledby": a(n).ariaLabelledby,
@@ -2845,7 +2869,7 @@ const Ql = /* @__PURE__ */ M({
2845
2869
  ]);
2846
2870
  };
2847
2871
  }
2848
- }), aa = /* @__PURE__ */ M({
2872
+ }), oa = /* @__PURE__ */ x({
2849
2873
  __name: "PrimeInputMask",
2850
2874
  props: {
2851
2875
  context: Object
@@ -2856,10 +2880,10 @@ const Ql = /* @__PURE__ */ M({
2856
2880
  var o, u;
2857
2881
  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);
2858
2882
  }
2859
- const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2883
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2860
2884
  return (r, o) => {
2861
- const u = R("InputMask");
2862
- return L(), A("div", null, [
2885
+ const u = E("InputMask");
2886
+ return A(), O("div", null, [
2863
2887
  T(u, {
2864
2888
  id: a(t).id,
2865
2889
  modelValue: a(t)._value,
@@ -2867,7 +2891,7 @@ const Ql = /* @__PURE__ */ M({
2867
2891
  disabled: a(n)._disabled ?? !1,
2868
2892
  readonly: a(n)._readonly ?? !1,
2869
2893
  "editor-style": a(n).style,
2870
- class: K(a(s)),
2894
+ class: U(a(s)),
2871
2895
  tabindex: a(n).tabindex,
2872
2896
  "aria-label": a(n).ariaLabel,
2873
2897
  "aria-labelledby": a(n).ariaLabelledby,
@@ -2882,7 +2906,7 @@ const Ql = /* @__PURE__ */ M({
2882
2906
  ]);
2883
2907
  };
2884
2908
  }
2885
- }), sa = /* @__PURE__ */ M({
2909
+ }), ua = /* @__PURE__ */ x({
2886
2910
  __name: "PrimeInputNumber",
2887
2911
  props: {
2888
2912
  context: Object
@@ -2895,13 +2919,13 @@ const Ql = /* @__PURE__ */ M({
2895
2919
  function s(o) {
2896
2920
  t == null || t.node.input(o.value);
2897
2921
  }
2898
- const r = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2922
+ const r = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2899
2923
  return (o, u) => {
2900
- const p = R("InputNumber");
2901
- return L(), A("div", null, [
2924
+ const p = E("InputNumber");
2925
+ return A(), O("div", null, [
2902
2926
  T(p, {
2903
2927
  modelValue: a(t)._value,
2904
- "onUpdate:modelValue": u[0] || (u[0] = (h) => a(t)._value = h),
2928
+ "onUpdate:modelValue": u[0] || (u[0] = (_) => a(t)._value = _),
2905
2929
  "input-id": a(t).id,
2906
2930
  disabled: a(n)._disabled ?? !1,
2907
2931
  readonly: a(n)._readonly ?? !1,
@@ -2929,13 +2953,13 @@ const Ql = /* @__PURE__ */ M({
2929
2953
  ]);
2930
2954
  };
2931
2955
  }
2932
- }), ra = {
2956
+ }), fa = {
2933
2957
  key: 0,
2934
2958
  class: "formkit-prime-left"
2935
- }, oa = {
2959
+ }, ca = {
2936
2960
  key: 1,
2937
2961
  class: "formkit-prime-right"
2938
- }, ua = /* @__PURE__ */ M({
2962
+ }, pa = /* @__PURE__ */ x({
2939
2963
  __name: "PrimeInputSwitch",
2940
2964
  props: {
2941
2965
  context: Object
@@ -2946,13 +2970,13 @@ const Ql = /* @__PURE__ */ M({
2946
2970
  var o;
2947
2971
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
2948
2972
  }
2949
- const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2973
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
2950
2974
  return (r, o) => {
2951
- const u = R("InputSwitch");
2952
- return L(), A("div", {
2953
- class: K(a(n).option_class)
2975
+ const u = E("InputSwitch");
2976
+ return A(), O("div", {
2977
+ class: U(a(n).option_class)
2954
2978
  }, [
2955
- a(t).attrs.labelLeft ? (L(), A("span", ra, ce(a(t).attrs.labelLeft), 1)) : oe("", !0),
2979
+ a(t).attrs.labelLeft ? (A(), O("span", fa, de(a(t).attrs.labelLeft), 1)) : oe("", !0),
2956
2980
  T(u, {
2957
2981
  modelValue: a(t)._value,
2958
2982
  "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
@@ -2969,11 +2993,11 @@ const Ql = /* @__PURE__ */ M({
2969
2993
  pt: a(n).pt,
2970
2994
  onInput: l
2971
2995
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "true-value", "false-value", "pt"]),
2972
- a(t).attrs.labelRight ? (L(), A("span", oa, ce(a(t).attrs.labelRight), 1)) : oe("", !0)
2996
+ a(t).attrs.labelRight ? (A(), O("span", ca, de(a(t).attrs.labelRight), 1)) : oe("", !0)
2973
2997
  ], 2);
2974
2998
  };
2975
2999
  }
2976
- }), fa = /* @__PURE__ */ M({
3000
+ }), da = /* @__PURE__ */ x({
2977
3001
  __name: "PrimeInputText",
2978
3002
  props: {
2979
3003
  context: Object
@@ -2987,34 +3011,34 @@ const Ql = /* @__PURE__ */ M({
2987
3011
  return (t == null ? void 0 : t.iconRight) && (t == null ? void 0 : t.iconRight.length) > 0;
2988
3012
  }
2989
3013
  function r() {
2990
- let h = "";
2991
- return l() && (h = `${h}p-input-icon-left `), s() && (h = `${h}p-input-icon-right `), h;
3014
+ let _ = "";
3015
+ return l() && (_ = `${_}p-input-icon-left `), s() && (_ = `${_}p-input-icon-right `), _;
2992
3016
  }
2993
- function o(h) {
2994
- t == null || t.handlers.blur(h.target.value);
3017
+ function o(_) {
3018
+ t == null || t.handlers.blur(_.target.value);
2995
3019
  }
2996
- function u(h) {
2997
- t == null || t.node.input(h.target.value);
3020
+ function u(_) {
3021
+ t == null || t.node.input(_.target.value);
2998
3022
  }
2999
- const p = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3000
- return (h, O) => {
3001
- const w = R("InputText");
3002
- return L(), A("div", null, [
3003
- Bt("span", {
3004
- class: K(r())
3023
+ const p = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3024
+ return (_, V) => {
3025
+ const J = E("InputText");
3026
+ return A(), O("div", null, [
3027
+ Ut("span", {
3028
+ class: U(r())
3005
3029
  }, [
3006
- l() ? (L(), A("i", {
3030
+ l() ? (A(), O("i", {
3007
3031
  key: 0,
3008
- class: K(a(t).iconLeft)
3032
+ class: U(a(t).iconLeft)
3009
3033
  }, null, 2)) : oe("", !0),
3010
- T(w, {
3034
+ T(J, {
3011
3035
  id: a(t).id,
3012
3036
  modelValue: a(t)._value,
3013
- "onUpdate:modelValue": O[0] || (O[0] = ($) => a(t)._value = $),
3037
+ "onUpdate:modelValue": V[0] || (V[0] = (y) => a(t)._value = y),
3014
3038
  disabled: a(n)._disabled ?? !1,
3015
3039
  readonly: a(n)._readonly ?? !1,
3016
- style: de(a(n).style),
3017
- class: K(a(p)),
3040
+ style: be(a(n).style),
3041
+ class: U(a(p)),
3018
3042
  tabindex: a(n).tabindex,
3019
3043
  "aria-label": a(n).ariaLabel,
3020
3044
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3023,15 +3047,15 @@ const Ql = /* @__PURE__ */ M({
3023
3047
  onInput: u,
3024
3048
  onBlur: o
3025
3049
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "pt"]),
3026
- s ? (L(), A("i", {
3050
+ s ? (A(), O("i", {
3027
3051
  key: 1,
3028
- class: K(a(t).iconRight)
3052
+ class: U(a(t).iconRight)
3029
3053
  }, null, 2)) : oe("", !0)
3030
3054
  ], 2)
3031
3055
  ]);
3032
3056
  };
3033
3057
  }
3034
- }), ca = /* @__PURE__ */ M({
3058
+ }), ma = /* @__PURE__ */ x({
3035
3059
  __name: "PrimeTextarea",
3036
3060
  props: {
3037
3061
  context: Object
@@ -3044,18 +3068,18 @@ const Ql = /* @__PURE__ */ M({
3044
3068
  function s(o) {
3045
3069
  t == null || t.node.input(o.target.value);
3046
3070
  }
3047
- const r = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3071
+ const r = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3048
3072
  return (o, u) => {
3049
- const p = R("Textarea");
3050
- return L(), A("div", null, [
3073
+ const p = E("Textarea");
3074
+ return A(), O("div", null, [
3051
3075
  T(p, {
3052
3076
  id: a(t).id,
3053
3077
  modelValue: a(t)._value,
3054
- "onUpdate:modelValue": u[0] || (u[0] = (h) => a(t)._value = h),
3078
+ "onUpdate:modelValue": u[0] || (u[0] = (_) => a(t)._value = _),
3055
3079
  disabled: a(n)._disabled ?? !1,
3056
3080
  readonly: a(n)._readonly ?? !1,
3057
- style: de(a(n).style),
3058
- class: K(a(r)),
3081
+ style: be(a(n).style),
3082
+ class: U(a(r)),
3059
3083
  tabindex: a(n).tabindex,
3060
3084
  "aria-label": a(n).ariaLabel,
3061
3085
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3068,7 +3092,7 @@ const Ql = /* @__PURE__ */ M({
3068
3092
  ]);
3069
3093
  };
3070
3094
  }
3071
- }), pa = /* @__PURE__ */ M({
3095
+ }), ba = /* @__PURE__ */ x({
3072
3096
  __name: "PrimeKnob",
3073
3097
  props: {
3074
3098
  context: Object
@@ -3078,18 +3102,18 @@ const Ql = /* @__PURE__ */ M({
3078
3102
  function l(r) {
3079
3103
  t == null || t.node.input(r), t == null || t.handlers.blur(r);
3080
3104
  }
3081
- const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3105
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3082
3106
  return (r, o) => {
3083
- const u = R("Knob");
3084
- return L(), A("div", null, [
3107
+ const u = E("Knob");
3108
+ return A(), O("div", null, [
3085
3109
  T(u, {
3086
3110
  id: a(t).id,
3087
3111
  modelValue: a(t)._value,
3088
3112
  "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
3089
3113
  disabled: a(n)._disabled ?? !1,
3090
3114
  readonly: a(n)._readonly ?? !1,
3091
- style: de(a(n).style),
3092
- class: K(a(s)),
3115
+ style: be(a(n).style),
3116
+ class: U(a(s)),
3093
3117
  tabindex: a(n).tabindex,
3094
3118
  "aria-label": a(n).ariaLabel,
3095
3119
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3109,7 +3133,7 @@ const Ql = /* @__PURE__ */ M({
3109
3133
  ]);
3110
3134
  };
3111
3135
  }
3112
- }), da = /* @__PURE__ */ M({
3136
+ }), ya = /* @__PURE__ */ x({
3113
3137
  __name: "PrimeMultiSelect",
3114
3138
  props: {
3115
3139
  context: Object
@@ -3120,10 +3144,10 @@ const Ql = /* @__PURE__ */ M({
3120
3144
  var o;
3121
3145
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3122
3146
  }
3123
- const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3147
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3124
3148
  return (r, o) => {
3125
- const u = R("MultiSelect");
3126
- return L(), A("div", null, [
3149
+ const u = E("MultiSelect");
3150
+ return A(), O("div", null, [
3127
3151
  T(u, {
3128
3152
  modelValue: a(t)._value,
3129
3153
  "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
@@ -3131,7 +3155,7 @@ const Ql = /* @__PURE__ */ M({
3131
3155
  disabled: a(n)._disabled ?? !1,
3132
3156
  readonly: a(n)._readonly ?? !1,
3133
3157
  "list-style": a(n).style,
3134
- class: K(a(s)),
3158
+ class: U(a(s)),
3135
3159
  tabindex: a(n).tabindex,
3136
3160
  "aria-label": a(n).ariaLabel,
3137
3161
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3145,7 +3169,7 @@ const Ql = /* @__PURE__ */ M({
3145
3169
  ]);
3146
3170
  };
3147
3171
  }
3148
- }), ma = /* @__PURE__ */ M({
3172
+ }), va = /* @__PURE__ */ x({
3149
3173
  __name: "PrimeListbox",
3150
3174
  props: {
3151
3175
  context: Object
@@ -3156,19 +3180,19 @@ const Ql = /* @__PURE__ */ M({
3156
3180
  var o;
3157
3181
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3158
3182
  }
3159
- const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3183
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3160
3184
  return (r, o) => {
3161
3185
  var p;
3162
- const u = R("Listbox");
3163
- return L(), A("div", null, [
3186
+ const u = E("Listbox");
3187
+ return A(), O("div", null, [
3164
3188
  T(u, {
3165
3189
  id: a(t).id,
3166
3190
  modelValue: a(t)._value,
3167
- "onUpdate:modelValue": o[0] || (o[0] = (h) => a(t)._value = h),
3191
+ "onUpdate:modelValue": o[0] || (o[0] = (_) => a(t)._value = _),
3168
3192
  disabled: a(n)._disabled ?? !1,
3169
3193
  readonly: a(n)._readonly ?? !1,
3170
3194
  "list-style": a(n).style,
3171
- class: K(a(s)),
3195
+ class: U(a(s)),
3172
3196
  tabindex: a(n).tabindex,
3173
3197
  "aria-label": a(n).ariaLabel,
3174
3198
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3189,7 +3213,7 @@ const Ql = /* @__PURE__ */ M({
3189
3213
  ]);
3190
3214
  };
3191
3215
  }
3192
- }), ba = /* @__PURE__ */ M({
3216
+ }), ha = /* @__PURE__ */ x({
3193
3217
  __name: "PrimePassword",
3194
3218
  props: {
3195
3219
  context: Object
@@ -3202,13 +3226,13 @@ const Ql = /* @__PURE__ */ M({
3202
3226
  function s(o) {
3203
3227
  t == null || t.node.input(o.target.value);
3204
3228
  }
3205
- const r = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3229
+ const r = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3206
3230
  return (o, u) => {
3207
- const p = R("Password");
3208
- return L(), A("div", null, [
3231
+ const p = E("Password");
3232
+ return A(), O("div", null, [
3209
3233
  T(p, {
3210
3234
  modelValue: a(t)._value,
3211
- "onUpdate:modelValue": u[0] || (u[0] = (h) => a(t)._value = h),
3235
+ "onUpdate:modelValue": u[0] || (u[0] = (_) => a(t)._value = _),
3212
3236
  "input-id": a(t).id,
3213
3237
  disabled: a(n)._disabled ?? !1,
3214
3238
  readonly: a(n)._readonly ?? !1,
@@ -3235,7 +3259,7 @@ const Ql = /* @__PURE__ */ M({
3235
3259
  ]);
3236
3260
  };
3237
3261
  }
3238
- }), ya = ["for"], va = /* @__PURE__ */ M({
3262
+ }), _a = ["for"], ga = /* @__PURE__ */ x({
3239
3263
  __name: "PrimeRadioButton",
3240
3264
  props: {
3241
3265
  context: Object
@@ -3246,19 +3270,19 @@ const Ql = /* @__PURE__ */ M({
3246
3270
  var o;
3247
3271
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3248
3272
  }
3249
- const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3273
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3250
3274
  return (r, o) => {
3251
- const u = R("RadioButton");
3252
- return L(), A("div", {
3253
- class: K(a(n).options_class)
3275
+ const u = E("RadioButton");
3276
+ return A(), O("div", {
3277
+ class: U(a(n).options_class)
3254
3278
  }, [
3255
- (L(!0), A(Sn, null, Vn(a(n).options, (p) => (L(), A("div", {
3279
+ (A(!0), O(In, null, Ln(a(n).options, (p) => (A(), O("div", {
3256
3280
  key: p.value,
3257
- class: K(a(n).option_class)
3281
+ class: U(a(n).option_class)
3258
3282
  }, [
3259
3283
  T(u, {
3260
3284
  modelValue: a(t)._value,
3261
- "onUpdate:modelValue": o[0] || (o[0] = (h) => a(t)._value = h),
3285
+ "onUpdate:modelValue": o[0] || (o[0] = (_) => a(t)._value = _),
3262
3286
  name: a(n).name,
3263
3287
  value: p.value,
3264
3288
  "input-style": a(n).style,
@@ -3267,14 +3291,14 @@ const Ql = /* @__PURE__ */ M({
3267
3291
  onClick: l,
3268
3292
  onChange: l
3269
3293
  }, null, 8, ["modelValue", "name", "value", "input-style", "input-class", "pt"]),
3270
- Bt("label", {
3294
+ Ut("label", {
3271
3295
  for: p.value
3272
- }, ce(p.label), 9, ya)
3296
+ }, de(p.label), 9, _a)
3273
3297
  ], 2))), 128))
3274
3298
  ], 2);
3275
3299
  };
3276
3300
  }
3277
- }), ha = /* @__PURE__ */ M({
3301
+ }), $a = /* @__PURE__ */ x({
3278
3302
  __name: "PrimeRating",
3279
3303
  props: {
3280
3304
  context: Object
@@ -3285,18 +3309,18 @@ const Ql = /* @__PURE__ */ M({
3285
3309
  var o;
3286
3310
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3287
3311
  }
3288
- const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3312
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3289
3313
  return (r, o) => {
3290
- const u = R("Rating");
3291
- return L(), A("div", null, [
3314
+ const u = E("Rating");
3315
+ return A(), O("div", null, [
3292
3316
  T(u, {
3293
3317
  id: a(t).id,
3294
3318
  modelValue: a(t)._value,
3295
3319
  "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
3296
3320
  disabled: a(n)._disabled ?? !1,
3297
3321
  readonly: a(n)._readonly ?? !1,
3298
- style: de(a(n).style),
3299
- class: K(a(s)),
3322
+ style: be(a(n).style),
3323
+ class: U(a(s)),
3300
3324
  tabindex: a(n).tabindex,
3301
3325
  "aria-label": a(n).ariaLabel,
3302
3326
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3311,7 +3335,7 @@ const Ql = /* @__PURE__ */ M({
3311
3335
  ]);
3312
3336
  };
3313
3337
  }
3314
- }), _a = /* @__PURE__ */ M({
3338
+ }), wa = /* @__PURE__ */ x({
3315
3339
  __name: "PrimeSlider",
3316
3340
  props: {
3317
3341
  context: Object
@@ -3321,18 +3345,18 @@ const Ql = /* @__PURE__ */ M({
3321
3345
  function l(r) {
3322
3346
  t == null || t.node.input(r), t == null || t.handlers.blur(r);
3323
3347
  }
3324
- const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3348
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3325
3349
  return (r, o) => {
3326
- const u = R("Slider");
3327
- return L(), A("div", null, [
3350
+ const u = E("Slider");
3351
+ return A(), O("div", null, [
3328
3352
  T(u, {
3329
3353
  id: a(t).id,
3330
3354
  modelValue: a(t)._value,
3331
3355
  "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
3332
3356
  disabled: a(n)._disabled ?? !1,
3333
3357
  readonly: a(n)._readonly ?? !1,
3334
- style: de(a(n).style),
3335
- class: K(a(s)),
3358
+ style: be(a(n).style),
3359
+ class: U(a(s)),
3336
3360
  tabindex: a(n).tabindex,
3337
3361
  "aria-label": a(n).ariaLabel,
3338
3362
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3347,7 +3371,7 @@ const Ql = /* @__PURE__ */ M({
3347
3371
  ]);
3348
3372
  };
3349
3373
  }
3350
- }), ga = /* @__PURE__ */ M({
3374
+ }), ka = /* @__PURE__ */ x({
3351
3375
  __name: "PrimeToggleButton",
3352
3376
  props: {
3353
3377
  context: Object
@@ -3358,10 +3382,10 @@ const Ql = /* @__PURE__ */ M({
3358
3382
  var o;
3359
3383
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3360
3384
  }
3361
- const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3385
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3362
3386
  return (r, o) => {
3363
- const u = R("ToggleButton");
3364
- return L(), A("div", null, [
3387
+ const u = E("ToggleButton");
3388
+ return A(), O("div", null, [
3365
3389
  T(u, {
3366
3390
  modelValue: a(t)._value,
3367
3391
  "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
@@ -3384,7 +3408,7 @@ const Ql = /* @__PURE__ */ M({
3384
3408
  ]);
3385
3409
  };
3386
3410
  }
3387
- }), $a = /* @__PURE__ */ M({
3411
+ }), Ca = /* @__PURE__ */ x({
3388
3412
  __name: "PrimeSelectButton",
3389
3413
  props: {
3390
3414
  context: Object
@@ -3395,18 +3419,18 @@ const Ql = /* @__PURE__ */ M({
3395
3419
  var o;
3396
3420
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3397
3421
  }
3398
- const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3422
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3399
3423
  return (r, o) => {
3400
- const u = R("SelectButton");
3401
- return L(), A("div", null, [
3424
+ const u = E("SelectButton");
3425
+ return A(), O("div", null, [
3402
3426
  T(u, {
3403
3427
  id: a(t).id,
3404
3428
  modelValue: a(t)._value,
3405
3429
  "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
3406
3430
  disabled: a(n)._disabled ?? !1,
3407
3431
  readonly: a(n)._readonly ?? !1,
3408
- style: de(a(n).style),
3409
- class: K(a(s)),
3432
+ style: be(a(n).style),
3433
+ class: U(a(s)),
3410
3434
  tabindex: a(n).tabindex,
3411
3435
  "aria-label": a(n).ariaLabel,
3412
3436
  "aria-labelledby": a(n).ariaLabelledby,
@@ -3423,13 +3447,13 @@ const Ql = /* @__PURE__ */ M({
3423
3447
  ]);
3424
3448
  };
3425
3449
  }
3426
- }), wa = {
3450
+ }), Sa = {
3427
3451
  key: 0,
3428
3452
  class: "formkit-prime-left"
3429
- }, ka = {
3453
+ }, Va = {
3430
3454
  key: 1,
3431
3455
  class: "formkit-prime-right"
3432
- }, Ca = /* @__PURE__ */ M({
3456
+ }, Ia = /* @__PURE__ */ x({
3433
3457
  __name: "PrimeTriStateCheckbox",
3434
3458
  props: {
3435
3459
  context: Object
@@ -3440,11 +3464,11 @@ const Ql = /* @__PURE__ */ M({
3440
3464
  var o;
3441
3465
  t == null || t.node.input((o = i.context) == null ? void 0 : o._value);
3442
3466
  }
3443
- const s = j(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3467
+ const s = M(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${n == null ? void 0 : n.class} p-invalid` : n == null ? void 0 : n.class);
3444
3468
  return (r, o) => {
3445
- const u = R("TriStateCheckbox");
3446
- return L(), A("div", null, [
3447
- a(t).attrs.labelLeft ? (L(), A("span", wa, ce(a(t).attrs.labelLeft), 1)) : oe("", !0),
3469
+ const u = E("TriStateCheckbox");
3470
+ return A(), O("div", null, [
3471
+ a(t).attrs.labelLeft ? (A(), O("span", Sa, de(a(t).attrs.labelLeft), 1)) : oe("", !0),
3448
3472
  T(u, {
3449
3473
  modelValue: a(t)._value,
3450
3474
  "onUpdate:modelValue": o[0] || (o[0] = (p) => a(t)._value = p),
@@ -3459,96 +3483,96 @@ const Ql = /* @__PURE__ */ M({
3459
3483
  pt: a(n).pt,
3460
3484
  onClick: l
3461
3485
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "pt"]),
3462
- a(t).attrs.labelRight ? (L(), A("span", ka, ce(a(t).attrs.labelRight), 1)) : oe("", !0)
3486
+ a(t).attrs.labelRight ? (A(), O("span", Va, de(a(t).attrs.labelRight), 1)) : oe("", !0)
3463
3487
  ]);
3464
3488
  };
3465
3489
  }
3466
- }), Sa = D(fa, {
3490
+ }), La = D(da, {
3467
3491
  props: ["iconRight", "iconLeft"]
3468
- }), Va = D(sa, {
3492
+ }), Aa = D(ua, {
3469
3493
  props: ["iconRight", "iconLeft"]
3470
- }), Ia = D(aa, {
3494
+ }), Oa = D(oa, {
3471
3495
  props: []
3472
- }), La = D(ba, {
3496
+ }), Pa = D(ha, {
3473
3497
  props: ["feedback", "toggleMask"]
3474
- }), Aa = D(ca, {
3498
+ }), xa = D(ma, {
3475
3499
  props: ["rows"]
3476
- }), Oa = D(ea, {
3500
+ }), Ma = D(ia, {
3477
3501
  props: []
3478
- }), Pa = D(ua, {
3502
+ }), ja = D(pa, {
3479
3503
  props: []
3480
- }), xa = D(la, {
3504
+ }), Ea = D(ra, {
3481
3505
  props: []
3482
- }), Ma = D(ia, {
3506
+ }), Ra = D(sa, {
3483
3507
  props: []
3484
- }), ja = D(da, {
3508
+ }), Fa = D(ya, {
3485
3509
  props: []
3486
- }), Ea = D(ma, {
3510
+ }), Ta = D(va, {
3487
3511
  props: []
3488
- }), Ra = D(Ql, {
3512
+ }), Da = D(ea, {
3489
3513
  props: []
3490
- }), Fa = D(_a, {
3514
+ }), Ba = D(wa, {
3491
3515
  props: []
3492
- }), Ta = D(ha, {
3516
+ }), za = D($a, {
3493
3517
  props: []
3494
- }), Da = D(va, {
3518
+ }), Ua = D(ga, {
3495
3519
  props: []
3496
- }), Ba = D(ta, {
3520
+ }), Ka = D(la, {
3497
3521
  props: []
3498
- }), za = D(pa, {
3522
+ }), Na = D(ba, {
3499
3523
  props: []
3500
- }), Ua = D(na, {
3524
+ }), Wa = D(aa, {
3501
3525
  props: []
3502
- }), Ka = D(ga, {
3526
+ }), qa = D(ka, {
3503
3527
  props: []
3504
- }), qa = D($a, {
3528
+ }), Ha = D(Ca, {
3505
3529
  props: []
3506
- }), Wa = D(Ca, {
3530
+ }), Za = D(Ia, {
3507
3531
  props: []
3508
- }), Ha = {
3509
- primeInputText: Sa,
3510
- primeInputNumber: Va,
3511
- primeInputMask: Ia,
3512
- primePassword: La,
3513
- primeCheckbox: Oa,
3514
- primeInputSwitch: Pa,
3515
- primeTextarea: Aa,
3516
- primeEditor: xa,
3517
- primeDropdown: Ma,
3518
- primeMultiSelect: ja,
3519
- primeCalendar: Ra,
3520
- primeSlider: Fa,
3521
- primeChips: Ba,
3522
- primeKnob: za,
3523
- primeRating: Ta,
3524
- primeRadioButton: Da,
3525
- primeColorPicker: Ua,
3526
- primeToggleButton: Ka,
3527
- primeListbox: Ea,
3528
- primeSelectButton: qa,
3529
- primeTriStateCheckbox: Wa
3532
+ }), Ya = {
3533
+ primeInputText: La,
3534
+ primeInputNumber: Aa,
3535
+ primeInputMask: Oa,
3536
+ primePassword: Pa,
3537
+ primeCheckbox: Ma,
3538
+ primeInputSwitch: ja,
3539
+ primeTextarea: xa,
3540
+ primeEditor: Ea,
3541
+ primeDropdown: Ra,
3542
+ primeMultiSelect: Fa,
3543
+ primeCalendar: Da,
3544
+ primeSlider: Ba,
3545
+ primeChips: Ka,
3546
+ primeKnob: Na,
3547
+ primeRating: za,
3548
+ primeRadioButton: Ua,
3549
+ primeColorPicker: Wa,
3550
+ primeToggleButton: qa,
3551
+ primeListbox: Ta,
3552
+ primeSelectButton: Ha,
3553
+ primeTriStateCheckbox: Za
3530
3554
  };
3531
3555
  export {
3532
- Ra as primeCalendarDefinition,
3533
- Oa as primeCheckboxDefinition,
3534
- Ba as primeChipsDefinition,
3535
- Ua as primeColorPickerDefinition,
3536
- Ma as primeDropdownDefinition,
3537
- xa as primeEditorDefinition,
3538
- Ia as primeInputMaskDefinition,
3539
- Va as primeInputNumberDefinition,
3540
- Pa as primeInputSwitchDefinition,
3541
- Sa as primeInputTextDefinition,
3542
- Ha as primeInputs,
3543
- za as primeKnobDefinition,
3544
- Ea as primeListboxDefinition,
3545
- ja as primeMultiSelectDefinition,
3546
- La as primePasswordDefinition,
3547
- Da as primeRadioButtonDefinition,
3548
- Ta as primeRatingDefinition,
3549
- qa as primeSelectButtonDefinition,
3550
- Fa as primeSliderDefinition,
3551
- Aa as primeTextareaDefinition,
3552
- Ka as primeToggleButtonDefinition,
3553
- Wa as primeTriStateCheckboxDefinition
3556
+ Da as primeCalendarDefinition,
3557
+ Ma as primeCheckboxDefinition,
3558
+ Ka as primeChipsDefinition,
3559
+ Wa as primeColorPickerDefinition,
3560
+ Ra as primeDropdownDefinition,
3561
+ Ea as primeEditorDefinition,
3562
+ Oa as primeInputMaskDefinition,
3563
+ Aa as primeInputNumberDefinition,
3564
+ ja as primeInputSwitchDefinition,
3565
+ La as primeInputTextDefinition,
3566
+ Ya as primeInputs,
3567
+ Na as primeKnobDefinition,
3568
+ Ta as primeListboxDefinition,
3569
+ Fa as primeMultiSelectDefinition,
3570
+ Pa as primePasswordDefinition,
3571
+ Ua as primeRadioButtonDefinition,
3572
+ za as primeRatingDefinition,
3573
+ Ha as primeSelectButtonDefinition,
3574
+ Ba as primeSliderDefinition,
3575
+ xa as primeTextareaDefinition,
3576
+ qa as primeToggleButtonDefinition,
3577
+ Za as primeTriStateCheckboxDefinition
3554
3578
  };