@sfxcode/formkit-primevue 1.3.5 → 1.4.0

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 { markRaw as pe, defineComponent as b, ref as de, computed as h, resolveComponent as y, openBlock as f, createElementBlock as c, createVNode as _, unref as n, toDisplayString as k, createCommentVNode as w, normalizeStyle as C, normalizeClass as g, createElementVNode as X, Fragment as fe, renderList as ce } from "vue";
2
- const me = [
1
+ import { markRaw as oe, defineComponent as b, ref as ue, computed as h, resolveComponent as y, openBlock as f, createElementBlock as c, createVNode as _, unref as l, toDisplayString as w, createCommentVNode as k, normalizeStyle as C, normalizeClass as g, createElementVNode as W, Fragment as pe, renderList as de } from "vue";
2
+ const fe = [
3
3
  "__key",
4
4
  "__init",
5
5
  "__shim",
@@ -7,113 +7,113 @@ const me = [
7
7
  "__index",
8
8
  "__prevKey"
9
9
  ];
10
- function G() {
10
+ function Y() {
11
11
  return Math.random().toString(36).substring(2, 15);
12
12
  }
13
- function P(a, l) {
14
- return Object.prototype.hasOwnProperty.call(a, l);
13
+ function P(a, n) {
14
+ return Object.prototype.hasOwnProperty.call(a, n);
15
15
  }
16
- function M(a, l, e = !0, t = ["__key"]) {
17
- if (a === l)
16
+ function M(a, n, t = !0, e = ["__key"]) {
17
+ if (a === n)
18
18
  return !0;
19
- if (typeof l == "object" && typeof a == "object") {
19
+ if (typeof n == "object" && typeof a == "object") {
20
20
  if (a instanceof Map || a instanceof Set)
21
21
  return !1;
22
- if (a instanceof Date && l instanceof Date)
23
- return a.getTime() === l.getTime();
24
- if (a instanceof RegExp && l instanceof RegExp)
25
- return be(a, l);
26
- if (a === null || l === null || Object.keys(a).length !== Object.keys(l).length)
22
+ if (a instanceof Date && n instanceof Date)
23
+ return a.getTime() === n.getTime();
24
+ if (a instanceof RegExp && n instanceof RegExp)
25
+ return ce(a, n);
26
+ if (a === null || n === null || Object.keys(a).length !== Object.keys(n).length)
27
27
  return !1;
28
- for (const i of t)
29
- if ((i in a || i in l) && a[i] !== l[i])
28
+ for (const i of e)
29
+ if ((i in a || i in n) && a[i] !== n[i])
30
30
  return !1;
31
31
  for (const i in a)
32
- if (!(i in l) || a[i] !== l[i] && !e || e && !M(a[i], l[i], e, t))
32
+ if (!(i in n) || a[i] !== n[i] && !t || t && !M(a[i], n[i], t, e))
33
33
  return !1;
34
34
  return !0;
35
35
  }
36
36
  return !1;
37
37
  }
38
- function be(a, l) {
39
- return a.source === l.source && a.flags.split("").sort().join("") === l.flags.split("").sort().join("");
38
+ function ce(a, n) {
39
+ return a.source === n.source && a.flags.split("").sort().join("") === n.flags.split("").sort().join("");
40
40
  }
41
- function j(a) {
42
- const l = typeof a;
43
- if (l === "number")
41
+ function A(a) {
42
+ const n = typeof a;
43
+ if (n === "number")
44
44
  return !1;
45
45
  if (a === void 0)
46
46
  return !0;
47
- if (l === "string")
47
+ if (n === "string")
48
48
  return a === "";
49
- if (l === "object") {
49
+ if (n === "object") {
50
50
  if (a === null)
51
51
  return !0;
52
- for (const e in a)
52
+ for (const t in a)
53
53
  return !1;
54
54
  return !(a instanceof RegExp || a instanceof Date);
55
55
  }
56
56
  return !1;
57
57
  }
58
- function T(a) {
58
+ function j(a) {
59
59
  return Object.prototype.toString.call(a) === "[object Object]";
60
60
  }
61
- function S(a) {
62
- return T(a) || Array.isArray(a);
61
+ function O(a) {
62
+ return j(a) || Array.isArray(a);
63
63
  }
64
- function Z(a) {
65
- if (T(a) === !1 || a.__FKNode__ || a.__POJO__ === !1)
64
+ function N(a) {
65
+ if (j(a) === !1 || a.__FKNode__ || a.__POJO__ === !1)
66
66
  return !1;
67
- const l = a.constructor;
68
- if (l === void 0)
67
+ const n = a.constructor;
68
+ if (n === void 0)
69
69
  return !0;
70
- const e = l.prototype;
71
- return !(T(e) === !1 || e.hasOwnProperty("isPrototypeOf") === !1);
70
+ const t = n.prototype;
71
+ return !(j(t) === !1 || t.hasOwnProperty("isPrototypeOf") === !1);
72
72
  }
73
73
  // @__NO_SIDE_EFFECTS__
74
- function ee(a, l, e = !1, t = !1) {
75
- if (l === null)
74
+ function J(a, n, t = !1, e = !1) {
75
+ if (n === null)
76
76
  return null;
77
77
  const i = {};
78
- if (typeof l == "string")
79
- return l;
78
+ if (typeof n == "string")
79
+ return n;
80
80
  for (const s in a)
81
- if (P(l, s) && (l[s] !== void 0 || !t)) {
82
- if (e && Array.isArray(a[s]) && Array.isArray(l[s])) {
83
- i[s] = a[s].concat(l[s]);
81
+ if (P(n, s) && (n[s] !== void 0 || !e)) {
82
+ if (t && Array.isArray(a[s]) && Array.isArray(n[s])) {
83
+ i[s] = a[s].concat(n[s]);
84
84
  continue;
85
85
  }
86
- if (l[s] === void 0)
86
+ if (n[s] === void 0)
87
87
  continue;
88
- Z(a[s]) && Z(l[s]) ? i[s] = /* @__PURE__ */ ee(a[s], l[s], e, t) : i[s] = l[s];
88
+ N(a[s]) && N(n[s]) ? i[s] = /* @__PURE__ */ J(a[s], n[s], t, e) : i[s] = n[s];
89
89
  } else
90
90
  i[s] = a[s];
91
- for (const s in l)
92
- !P(i, s) && l[s] !== void 0 && (i[s] = l[s]);
91
+ for (const s in n)
92
+ !P(i, s) && n[s] !== void 0 && (i[s] = n[s]);
93
93
  return i;
94
94
  }
95
- function ye(a) {
96
- return a.replace(/-([a-z0-9])/gi, (l, e) => e.toUpperCase());
95
+ function me(a) {
96
+ return a.replace(/-([a-z0-9])/gi, (n, t) => t.toUpperCase());
97
97
  }
98
- function _e(a) {
99
- return a.replace(/([a-z0-9])([A-Z])/g, (l, e, t) => e + "-" + t.toLowerCase()).replace(" ", "-").toLowerCase();
98
+ function be(a) {
99
+ return a.replace(/([a-z0-9])([A-Z])/g, (n, t, e) => t + "-" + e.toLowerCase()).replace(" ", "-").toLowerCase();
100
100
  }
101
- function D(a, l = me) {
101
+ function D(a, n = fe) {
102
102
  if (a === null || a instanceof RegExp || a instanceof Date || a instanceof Map || a instanceof Set || typeof File == "function" && a instanceof File)
103
103
  return a;
104
- let e;
105
- Array.isArray(a) ? e = a.map((t) => typeof t == "object" ? D(t, l) : t) : e = Object.keys(a).reduce((t, i) => (t[i] = typeof a[i] == "object" ? D(a[i], l) : a[i], t), {});
106
- for (const t of l)
107
- t in a && Object.defineProperty(e, t, {
104
+ let t;
105
+ Array.isArray(a) ? t = a.map((e) => typeof e == "object" ? D(e, n) : e) : t = Object.keys(a).reduce((e, i) => (e[i] = typeof a[i] == "object" ? D(a[i], n) : a[i], e), {});
106
+ for (const e of n)
107
+ e in a && Object.defineProperty(t, e, {
108
108
  enumerable: !1,
109
- value: a[t]
109
+ value: a[e]
110
110
  });
111
- return e;
111
+ return t;
112
112
  }
113
- function E(a) {
113
+ function R(a) {
114
114
  return typeof a == "object" ? D(a) : a;
115
115
  }
116
- function H(a) {
116
+ function K(a) {
117
117
  return a !== void 0 && a !== "false" && a !== !1 ? !0 : void 0;
118
118
  }
119
119
  function V(a) {
@@ -122,255 +122,255 @@ function V(a) {
122
122
  value: !0
123
123
  });
124
124
  }
125
- function ve(a) {
125
+ function ye(a) {
126
126
  return a.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]/g, " ").trim().replace(/\s+/g, "-");
127
127
  }
128
- function te() {
128
+ function Q() {
129
129
  const a = [];
130
- let l = 0;
131
- const e = (i) => a.push(i), t = (i) => {
132
- const s = a[l];
133
- return typeof s == "function" ? s(i, (o) => (l++, t(o))) : (l = 0, i);
130
+ let n = 0;
131
+ const t = (i) => a.push(i), e = (i) => {
132
+ const s = a[n];
133
+ return typeof s == "function" ? s(i, (o) => (n++, e(o))) : (n = 0, i);
134
134
  };
135
- return e.dispatch = t, e.unshift = (i) => a.unshift(i), e.remove = (i) => {
135
+ return t.dispatch = e, t.unshift = (i) => a.unshift(i), t.remove = (i) => {
136
136
  const s = a.indexOf(i);
137
137
  s > -1 && a.splice(s, 1);
138
- }, e;
138
+ }, t;
139
139
  }
140
- function he() {
141
- const a = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map();
142
- let e;
143
- const t = (i, s) => {
144
- if (e) {
145
- e.set(s.name, [i, s]);
140
+ function _e() {
141
+ const a = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
142
+ let t;
143
+ const e = (i, s) => {
144
+ if (t) {
145
+ t.set(s.name, [i, s]);
146
146
  return;
147
147
  }
148
148
  a.has(s.name) && a.get(s.name).forEach((o) => {
149
149
  (s.origin === i || o.modifiers.includes("deep")) && o.listener(s);
150
150
  }), s.bubble && i.bubble(s);
151
151
  };
152
- return t.flush = () => {
153
- a.clear(), l.clear(), e == null || e.clear();
154
- }, t.on = (i, s) => {
155
- const [o, ...r] = i.split("."), u = s.receipt || G(), p = {
152
+ return e.flush = () => {
153
+ a.clear(), n.clear(), t == null || t.clear();
154
+ }, e.on = (i, s) => {
155
+ const [o, ...r] = i.split("."), u = s.receipt || Y(), p = {
156
156
  modifiers: r,
157
157
  event: o,
158
158
  listener: s,
159
159
  receipt: u
160
160
  };
161
- return a.has(o) ? a.get(o).push(p) : a.set(o, [p]), l.has(u) ? l.get(u).push(o) : l.set(u, [o]), u;
162
- }, t.off = (i) => {
161
+ return a.has(o) ? a.get(o).push(p) : a.set(o, [p]), n.has(u) ? n.get(u).push(o) : n.set(u, [o]), u;
162
+ }, e.off = (i) => {
163
163
  var s;
164
- l.has(i) && ((s = l.get(i)) === null || s === void 0 || s.forEach((o) => {
164
+ n.has(i) && ((s = n.get(i)) === null || s === void 0 || s.forEach((o) => {
165
165
  const r = a.get(o);
166
166
  Array.isArray(r) && a.set(o, r.filter((u) => u.receipt !== i));
167
- }), l.delete(i));
168
- }, t.pause = (i) => {
169
- e || (e = /* @__PURE__ */ new Map()), i && i.walk((s) => s._e.pause());
170
- }, t.play = (i) => {
171
- if (!e)
167
+ }), n.delete(i));
168
+ }, e.pause = (i) => {
169
+ t || (t = /* @__PURE__ */ new Map()), i && i.walk((s) => s._e.pause());
170
+ }, e.play = (i) => {
171
+ if (!t)
172
172
  return;
173
- const s = e;
174
- e = void 0, s.forEach(([o, r]) => t(o, r)), i && i.walk((o) => o._e.play());
175
- }, t;
173
+ const s = t;
174
+ t = void 0, s.forEach(([o, r]) => e(o, r)), i && i.walk((o) => o._e.play());
175
+ }, e;
176
176
  }
177
- function ge(a, l, e, t, i = !0, s) {
178
- return l._e(a, {
179
- payload: t,
180
- name: e,
177
+ function ve(a, n, t, e, i = !0, s) {
178
+ return n._e(a, {
179
+ payload: e,
180
+ name: t,
181
181
  bubble: i,
182
182
  origin: a,
183
183
  meta: s
184
184
  }), a;
185
185
  }
186
- function $e(a, l, e) {
187
- return K(a.parent) && a.parent._e(a.parent, e), a;
186
+ function he(a, n, t) {
187
+ return B(a.parent) && a.parent._e(a.parent, t), a;
188
188
  }
189
- function we(a, l, e, t) {
190
- return l._e.on(e, t);
189
+ function ge(a, n, t, e) {
190
+ return n._e.on(t, e);
191
191
  }
192
- function ke(a, l, e) {
193
- return l._e.off(e), a;
192
+ function $e(a, n, t) {
193
+ return n._e.off(t), a;
194
194
  }
195
- const U = te();
196
- U((a, l) => (a.message || (a.message = `E${a.code}`), l(a)));
197
- const N = te();
198
- N((a, l) => {
195
+ const X = Q();
196
+ X((a, n) => (a.message || (a.message = `E${a.code}`), n(a)));
197
+ const G = Q();
198
+ G((a, n) => {
199
199
  a.message || (a.message = `W${a.code}`);
200
- const e = l(a);
201
- return console && typeof console.warn == "function" && console.warn(e.message), e;
200
+ const t = n(a);
201
+ return console && typeof console.warn == "function" && console.warn(t.message), t;
202
202
  });
203
- function ae(a, l = {}) {
204
- N.dispatch({ code: a, data: l });
203
+ function ee(a, n = {}) {
204
+ G.dispatch({ code: a, data: n });
205
205
  }
206
- function L(a, l = {}) {
207
- throw Error(U.dispatch({ code: a, data: l }).message);
206
+ function L(a, n = {}) {
207
+ throw Error(X.dispatch({ code: a, data: n }).message);
208
208
  }
209
- function B(a, l) {
210
- const e = {
209
+ function U(a, n) {
210
+ const t = {
211
211
  blocking: !1,
212
- key: G(),
212
+ key: Y(),
213
213
  meta: {},
214
214
  type: "state",
215
215
  visible: !0,
216
216
  ...a
217
217
  };
218
- return l && e.value && e.meta.localize !== !1 && (e.value = l.t(e), e.meta.locale = l.config.locale), e;
218
+ return n && t.value && t.meta.localize !== !1 && (t.value = n.t(t), t.meta.locale = n.config.locale), t;
219
219
  }
220
- function Ce(a, ...l) {
221
- const e = `${a.name}-set`, t = (i) => B({
222
- key: ve(i),
220
+ function ke(a, ...n) {
221
+ const t = `${a.name}-set`, e = (i) => U({
222
+ key: ye(i),
223
223
  type: "error",
224
224
  value: i,
225
- meta: { source: e, autoClear: !0 }
225
+ meta: { source: t, autoClear: !0 }
226
226
  });
227
- return l.filter((i) => !!i).map((i) => {
227
+ return n.filter((i) => !!i).map((i) => {
228
228
  if (typeof i == "string" && (i = [i]), Array.isArray(i))
229
- return i.map((s) => t(s));
229
+ return i.map((s) => e(s));
230
230
  {
231
231
  const s = {};
232
232
  for (const o in i)
233
- Array.isArray(i[o]) ? s[o] = i[o].map((r) => t(r)) : s[o] = [t(i[o])];
233
+ Array.isArray(i[o]) ? s[o] = i[o].map((r) => e(r)) : s[o] = [e(i[o])];
234
234
  return s;
235
235
  }
236
236
  });
237
237
  }
238
- const ne = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), Ve = he();
239
- function Le(a) {
240
- if (A.has(a)) {
241
- const l = A.get(a);
242
- A.delete(a), ne.delete(l), Ve(a, {
238
+ const te = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Map(), we = _e();
239
+ function Ce(a) {
240
+ if (T.has(a)) {
241
+ const n = T.get(a);
242
+ T.delete(a), te.delete(n), we(a, {
243
243
  payload: null,
244
- name: l,
244
+ name: n,
245
245
  bubble: !1,
246
246
  origin: a
247
247
  });
248
248
  }
249
249
  }
250
- function Ie(a) {
251
- return ne.get(a);
250
+ function Ve(a) {
251
+ return te.get(a);
252
252
  }
253
- function W(a, l, e) {
254
- let t = !0;
255
- return l in a.config._t ? t = !1 : a.emit(`config:${l}`, e, !1), l in a.props || (a.emit("prop", { prop: l, value: e }), a.emit(`prop:${l}`, e)), t;
253
+ function x(a, n, t) {
254
+ let e = !0;
255
+ return n in a.config._t ? e = !1 : a.emit(`config:${n}`, t, !1), n in a.props || (a.emit("prop", { prop: n, value: t }), a.emit(`prop:${n}`, t)), e;
256
256
  }
257
- function Se(a) {
258
- const l = document.getElementById(a);
259
- if (l instanceof HTMLFormElement) {
260
- const e = new Event("submit", { cancelable: !0, bubbles: !0 });
261
- l.dispatchEvent(e);
257
+ function Le(a) {
258
+ const n = document.getElementById(a);
259
+ if (n instanceof HTMLFormElement) {
260
+ const t = new Event("submit", { cancelable: !0, bubbles: !0 });
261
+ n.dispatchEvent(t);
262
262
  return;
263
263
  }
264
- ae(151, a);
264
+ ee(151, a);
265
265
  }
266
- function Oe(a) {
267
- const l = (e) => {
268
- for (const t in e.store) {
269
- const i = e.store[t];
270
- i.type === "error" || i.type === "ui" && t === "incomplete" ? e.store.remove(t) : i.type === "state" && e.store.set({ ...i, value: !1 });
266
+ function Ie(a) {
267
+ const n = (t) => {
268
+ for (const e in t.store) {
269
+ const i = t.store[e];
270
+ i.type === "error" || i.type === "ui" && e === "incomplete" ? t.store.remove(e) : i.type === "state" && t.store.set({ ...i, value: !1 });
271
271
  }
272
272
  };
273
- l(a), a.walk(l);
274
- }
275
- function Pe(a, l) {
276
- const e = typeof a == "string" ? Ie(a) : a;
277
- if (e) {
278
- const t = (o) => E(o.props.initial) || (o.type === "group" ? {} : o.type === "list" ? [] : void 0);
279
- e._e.pause(e);
280
- const i = E(l);
281
- return l && !j(l) && (e.props.initial = S(i) ? V(i) : i, e.props._init = e.props.initial), e.input(t(e), !1), e.walk((o) => {
282
- o.type === "list" && o.sync || o.input(t(o), !1);
283
- }), e.input(j(i) && i ? i : t(e), !1), e.type !== "input" && l && !j(l) && S(l) && e.walk((o) => {
284
- o.props.initial = S(o.value) ? V(o.value) : o.value, o.props._init = e.props.initial;
285
- }), e._e.play(e), Oe(e), e.emit("reset", e), e;
273
+ n(a), a.walk(n);
274
+ }
275
+ function Oe(a, n) {
276
+ const t = typeof a == "string" ? Ve(a) : a;
277
+ if (t) {
278
+ const e = (o) => R(o.props.initial) || (o.type === "group" ? {} : o.type === "list" ? [] : void 0);
279
+ t._e.pause(t);
280
+ const i = R(n);
281
+ return n && !A(n) && (t.props.initial = O(i) ? V(i) : i, t.props._init = t.props.initial), t.input(e(t), !1), t.walk((o) => {
282
+ o.type === "list" && o.sync || o.input(e(o), !1);
283
+ }), t.input(A(i) && i ? i : e(t), !1), t.type !== "input" && n && !A(n) && O(n) && t.walk((o) => {
284
+ o.props.initial = O(o.value) ? V(o.value) : o.value, o.props._init = t.props.initial;
285
+ }), t._e.play(t), Ie(t), t.emit("reset", t), t;
286
286
  }
287
- ae(152, a);
287
+ ee(152, a);
288
288
  }
289
- const De = {
289
+ const Se = {
290
290
  delimiter: ".",
291
291
  delay: 0,
292
292
  locale: "en",
293
- rootClasses: (a) => ({ [`formkit-${_e(a)}`]: !0 })
294
- }, Ee = Symbol("index"), F = Symbol("removed"), z = Symbol("moved"), le = Symbol("inserted");
295
- function Re(a) {
293
+ rootClasses: (a) => ({ [`formkit-${be(a)}`]: !0 })
294
+ }, Pe = Symbol("index"), F = Symbol("removed"), z = Symbol("moved"), ae = Symbol("inserted");
295
+ function De(a) {
296
296
  return a.type === "list" && Array.isArray(a._value);
297
297
  }
298
- function K(a) {
298
+ function B(a) {
299
299
  return a && typeof a == "object" && a.__FKNode__ === !0;
300
300
  }
301
- const O = (a, l, e) => {
302
- L(102, [a, e]);
301
+ const S = (a, n, t) => {
302
+ L(102, [a, t]);
303
303
  };
304
- d(Ge, O, !1), d(Ze), d(xe), d(tt, O, !1), d(at), d($e), d(dt), d(Ne), d(!1), d(Ke), d(Ue), d(Be), d(ft), d(Fe), d(Xe, Qe, !1), d(Ae), d(Ye), d(ge), d(lt), d(we), d(ke), d(!1, He), d(!1), d(We), d(st, O, !1), d(pt), d(Je), d(re), d(ut), d(ot), d(se), d(et, !1, !1), d(qe);
305
- function d(a, l, e = !0) {
304
+ d(Qe, S, !1), d(Ke), d(Ne), d(Ge, S, !1), d(et), d(he), d(ut), d(ze), d(!1), d(Be), d(Fe), d(Ue), d(pt), d(Te), d(Je, Ye, !1), d(Me), d(He), d(ve), d(at), d(ge), d($e), d(!1, xe), d(!1), d(Ze), d(nt, S, !1), d(ot), d(We), d(ie), d(rt), d(st), d(ne), d(Xe, !1, !1), d(qe);
305
+ function d(a, n, t = !0) {
306
306
  return {
307
- get: a ? (t, i) => e ? (...s) => a(t, i, ...s) : a(t, i) : !1,
308
- set: l !== void 0 ? l : O.bind(null)
307
+ get: a ? (e, i) => t ? (...s) => a(e, i, ...s) : a(e, i) : !1,
308
+ set: n !== void 0 ? n : S.bind(null)
309
309
  };
310
310
  }
311
- let Me = 0;
312
- function je(a) {
311
+ let Re = 0;
312
+ function Ee(a) {
313
313
  return a.type === "group" ? V(a.value && typeof a.value == "object" && !Array.isArray(a.value) ? a.value : {}) : a.type === "list" ? V(Array.isArray(a.value) ? a.value : []) : a.value;
314
314
  }
315
- function Ae(a, l, e, t = !0) {
316
- return l._value = Te(a, a.hook.input.dispatch(e)), a.emit("input", l._value), a.isCreated && a.type === "input" && M(l._value, l.value) ? (a.emit("commitRaw", l.value), l.settled) : (l.isSettled && a.disturb(), t ? (l._tmo && clearTimeout(l._tmo), l._tmo = setTimeout(R, a.props.delay, a, l)) : R(a, l), l.settled);
315
+ function Me(a, n, t, e = !0) {
316
+ return n._value = Ae(a, a.hook.input.dispatch(t)), a.emit("input", n._value), a.isCreated && a.type === "input" && M(n._value, n.value) ? (a.emit("commitRaw", n.value), n.settled) : (n.isSettled && a.disturb(), e ? (n._tmo && clearTimeout(n._tmo), n._tmo = setTimeout(E, a.props.delay, a, n)) : E(a, n), n.settled);
317
317
  }
318
- function Te(a, l) {
318
+ function Ae(a, n) {
319
319
  switch (a.type) {
320
320
  case "input":
321
321
  break;
322
322
  case "group":
323
- (!l || typeof l != "object") && L(107, [a, l]);
323
+ (!n || typeof n != "object") && L(107, [a, n]);
324
324
  break;
325
325
  case "list":
326
- Array.isArray(l) || L(108, [a, l]);
326
+ Array.isArray(n) || L(108, [a, n]);
327
327
  break;
328
328
  }
329
- return l;
329
+ return n;
330
330
  }
331
- function R(a, l, e = !0, t = !0) {
332
- l._value = l.value = a.hook.commit.dispatch(l._value), a.type !== "input" && t && a.hydrate(), a.emit("commitRaw", l.value), a.emit("commit", l.value), e && a.calm();
331
+ function E(a, n, t = !0, e = !0) {
332
+ n._value = n.value = a.hook.commit.dispatch(n._value), a.type !== "input" && e && a.hydrate(), a.emit("commitRaw", n.value), a.emit("commit", n.value), t && a.calm();
333
333
  }
334
- function ie(a, { name: l, value: e, from: t }) {
334
+ function le(a, { name: n, value: t, from: e }) {
335
335
  if (!Object.isFrozen(a._value)) {
336
- if (Re(a)) {
337
- const i = e === F ? [] : e === z && typeof t == "number" ? a._value.splice(t, 1) : [e];
338
- a._value.splice(l, e === z || t === le ? 0 : 1, ...i);
336
+ if (De(a)) {
337
+ const i = t === F ? [] : t === z && typeof e == "number" ? a._value.splice(e, 1) : [t];
338
+ a._value.splice(n, t === z || e === ae ? 0 : 1, ...i);
339
339
  return;
340
340
  }
341
- e !== F ? a._value[l] = e : delete a._value[l];
341
+ t !== F ? a._value[n] = t : delete a._value[n];
342
342
  }
343
343
  }
344
- function Fe(a, l) {
345
- const e = l._value;
346
- return a.type === "list" && a.sync && ze(a, l), l.children.forEach((t) => {
347
- if (typeof e == "object")
348
- if (t.name in e) {
349
- const i = t.type !== "input" || e[t.name] && typeof e[t.name] == "object" ? V(e[t.name]) : e[t.name];
350
- if (!t.isSettled || !S(i) && M(i, t._value))
344
+ function Te(a, n) {
345
+ const t = n._value;
346
+ return a.type === "list" && a.sync && je(a, n), n.children.forEach((e) => {
347
+ if (typeof t == "object")
348
+ if (e.name in t) {
349
+ const i = e.type !== "input" || t[e.name] && typeof t[e.name] == "object" ? V(t[e.name]) : t[e.name];
350
+ if (!e.isSettled || !O(i) && M(i, e._value))
351
351
  return;
352
- t.input(i, !1);
352
+ e.input(i, !1);
353
353
  } else
354
- (a.type !== "list" || typeof t.name == "number") && ie(l, { name: t.name, value: t.value }), e.__init || (t.type === "group" ? t.input({}, !1) : t.type === "list" ? t.input([], !1) : t.input(void 0, !1));
354
+ (a.type !== "list" || typeof e.name == "number") && le(n, { name: e.name, value: e.value }), t.__init || (e.type === "group" ? e.input({}, !1) : e.type === "list" ? e.input([], !1) : e.input(void 0, !1));
355
355
  }), a;
356
356
  }
357
- function ze(a, l) {
358
- const e = a._value;
359
- if (!Array.isArray(e))
357
+ function je(a, n) {
358
+ const t = a._value;
359
+ if (!Array.isArray(t))
360
360
  return;
361
- const t = [], i = new Set(l.children), s = /* @__PURE__ */ new Map();
362
- e.forEach((r, u) => {
363
- if (l.children[u] && l.children[u]._value === r)
364
- t.push(l.children[u]), i.delete(l.children[u]);
361
+ const e = [], i = new Set(n.children), s = /* @__PURE__ */ new Map();
362
+ t.forEach((r, u) => {
363
+ if (n.children[u] && n.children[u]._value === r)
364
+ e.push(n.children[u]), i.delete(n.children[u]);
365
365
  else {
366
- t.push(null);
366
+ e.push(null);
367
367
  const p = s.get(r) || [];
368
368
  p.push(u), s.set(r, p);
369
369
  }
370
370
  }), i.size && s.size && i.forEach((r) => {
371
371
  if (s.has(r._value)) {
372
372
  const u = s.get(r._value), p = u.shift();
373
- t[p] = r, i.delete(r), u.length || s.delete(r._value);
373
+ e[p] = r, i.delete(r), u.length || s.delete(r._value);
374
374
  }
375
375
  });
376
376
  const o = [];
@@ -380,147 +380,147 @@ function ze(a, l) {
380
380
  const r = i.values().next().value, u = o.shift();
381
381
  if (u === void 0)
382
382
  break;
383
- t[u] = r, i.delete(r);
383
+ e[u] = r, i.delete(r);
384
384
  }
385
385
  o.forEach((r, u) => {
386
- t[r] = ct({ value: u });
386
+ e[r] = dt({ value: u });
387
387
  }), i.size && i.forEach((r) => {
388
388
  if (!("__FKP" in r)) {
389
389
  const u = r._c.parent;
390
- if (!u || mt(u))
390
+ if (!u || ft(u))
391
391
  return;
392
392
  u.ledger.unmerge(r), r._c.parent = null, r.destroy();
393
393
  }
394
- }), l.children = t;
394
+ }), n.children = e;
395
395
  }
396
- function Ue(a, l) {
397
- var e;
398
- return l._d <= 0 && (l.isSettled = !1, a.emit("settled", !1, !1), l.settled = new Promise((t) => {
399
- l._resolve = t;
400
- }), a.parent && ((e = a.parent) === null || e === void 0 || e.disturb())), l._d++, a;
401
- }
402
- function Ne(a, l, e) {
396
+ function Fe(a, n) {
403
397
  var t;
404
- if (e !== void 0 && a.type !== "input")
405
- return ie(l, e), R(a, l, !0, !1);
406
- l._d > 0 && l._d--, l._d === 0 && (l.isSettled = !0, a.emit("settled", !0, !1), a.parent && ((t = a.parent) === null || t === void 0 || t.calm({ name: a.name, value: l.value })), l._resolve && l._resolve(l.value));
407
- }
408
- function Be(a, l) {
409
- a.emit("destroying", a), a.store.filter(() => !1), a.parent && (a.parent.emit("childRemoved", a), a.parent.remove(a)), Le(a), a.emit("destroyed", a), l._e.flush(), l._value = l.value = void 0;
410
- for (const e in l.context)
411
- delete l.context[e];
412
- l.plugins.clear(), l.context = null;
413
- }
414
- function Ke(a, l, e) {
415
- l.type = e.type, l.props.definition = D(e), l.value = l._value = je({
398
+ return n._d <= 0 && (n.isSettled = !1, a.emit("settled", !1, !1), n.settled = new Promise((e) => {
399
+ n._resolve = e;
400
+ }), a.parent && ((t = a.parent) === null || t === void 0 || t.disturb())), n._d++, a;
401
+ }
402
+ function ze(a, n, t) {
403
+ var e;
404
+ if (t !== void 0 && a.type !== "input")
405
+ return le(n, t), E(a, n, !0, !1);
406
+ n._d > 0 && n._d--, n._d === 0 && (n.isSettled = !0, a.emit("settled", !0, !1), a.parent && ((e = a.parent) === null || e === void 0 || e.calm({ name: a.name, value: n.value })), n._resolve && n._resolve(n.value));
407
+ }
408
+ function Ue(a, n) {
409
+ a.emit("destroying", a), a.store.filter(() => !1), a.parent && (a.parent.emit("childRemoved", a), a.parent.remove(a)), Ce(a), a.emit("destroyed", a), n._e.flush(), n._value = n.value = void 0;
410
+ for (const t in n.context)
411
+ delete n.context[t];
412
+ n.plugins.clear(), n.context = null;
413
+ }
414
+ function Be(a, n, t) {
415
+ n.type = t.type, n.props.definition = D(t), n.value = n._value = Ee({
416
416
  type: a.type,
417
- value: l.value
418
- }), e.forceTypeProp && (a.props.type && (a.props.originalType = a.props.type), l.props.type = e.forceTypeProp), e.family && (l.props.family = e.family), e.features && e.features.forEach((t) => t(a)), e.props && a.addProps(e.props), a.emit("defined", e);
417
+ value: n.value
418
+ }), t.forceTypeProp && (a.props.type && (a.props.originalType = a.props.type), n.props.type = t.forceTypeProp), t.family && (n.props.family = t.family), t.features && t.features.forEach((e) => e(a)), t.props && a.addProps(t.props), a.emit("defined", t);
419
419
  }
420
- function xe(a, l, e) {
421
- var t;
420
+ function Ne(a, n, t) {
421
+ var e;
422
422
  if (a.props.attrs) {
423
423
  const i = { ...a.props.attrs };
424
424
  a.props._emit = !1;
425
425
  for (const o in i) {
426
- const r = ye(o);
427
- e.includes(r) && (a.props[r] = i[o], delete i[o]);
426
+ const r = me(o);
427
+ t.includes(r) && (a.props[r] = i[o], delete i[o]);
428
428
  }
429
- const s = E(l._value);
429
+ const s = R(n._value);
430
430
  a.props.initial = a.type !== "input" ? V(s) : s, a.props._emit = !0, a.props.attrs = i, a.props.definition && (a.props.definition.props = [
431
- ...((t = a.props.definition) === null || t === void 0 ? void 0 : t.props) || [],
432
- ...e
431
+ ...((e = a.props.definition) === null || e === void 0 ? void 0 : e.props) || [],
432
+ ...t
433
433
  ]);
434
434
  }
435
- return a.emit("added-props", e), a;
436
- }
437
- function Ze(a, l, e, t) {
438
- if (a.type === "input" && L(100, a), e.parent && e.parent !== a && e.parent.remove(e), !l.children.includes(e)) {
439
- if (t !== void 0 && a.type === "list") {
440
- const i = l.children[t];
441
- i && "__FKP" in i ? (e._c.uid = i.uid, l.children.splice(t, 1, e)) : l.children.splice(t, 0, e), Array.isArray(a.value) && a.value.length < l.children.length && a.disturb().calm({
442
- name: t,
443
- value: e.value,
444
- from: le
435
+ return a.emit("added-props", t), a;
436
+ }
437
+ function Ke(a, n, t, e) {
438
+ if (a.type === "input" && L(100, a), t.parent && t.parent !== a && t.parent.remove(t), !n.children.includes(t)) {
439
+ if (e !== void 0 && a.type === "list") {
440
+ const i = n.children[e];
441
+ i && "__FKP" in i ? (t._c.uid = i.uid, n.children.splice(e, 1, t)) : n.children.splice(e, 0, t), Array.isArray(a.value) && a.value.length < n.children.length && a.disturb().calm({
442
+ name: e,
443
+ value: t.value,
444
+ from: ae
445
445
  });
446
446
  } else
447
- l.children.push(e);
448
- e.isSettled || a.disturb();
447
+ n.children.push(t);
448
+ t.isSettled || a.disturb();
449
449
  }
450
- if (e.parent !== a) {
451
- if (e.parent = a, e.parent !== a)
452
- return a.remove(e), e.parent.add(e), a;
450
+ if (t.parent !== a) {
451
+ if (t.parent = a, t.parent !== a)
452
+ return a.remove(t), t.parent.add(t), a;
453
453
  } else
454
- e.use(a.plugins);
455
- return R(a, l, !1), a.ledger.merge(e), a.emit("child", e), a;
454
+ t.use(a.plugins);
455
+ return E(a, n, !1), a.ledger.merge(t), a.emit("child", t), a;
456
456
  }
457
- function He(a, l, e, t) {
458
- return K(t) ? (a.parent && a.parent !== t && a.parent.remove(a), l.parent = t, a.resetConfig(), t.children.includes(a) ? a.use(t.plugins) : t.add(a), !0) : t === null ? (l.parent = null, !0) : !1;
457
+ function xe(a, n, t, e) {
458
+ return B(e) ? (a.parent && a.parent !== e && a.parent.remove(a), n.parent = e, a.resetConfig(), e.children.includes(a) ? a.use(e.plugins) : e.add(a), !0) : e === null ? (n.parent = null, !0) : !1;
459
459
  }
460
- function We(a, l, e) {
461
- const t = l.children.indexOf(e);
462
- if (t !== -1) {
463
- e.isSettled && a.disturb(), l.children.splice(t, 1);
464
- let i = H(e.props.preserve), s = e.parent;
460
+ function Ze(a, n, t) {
461
+ const e = n.children.indexOf(t);
462
+ if (e !== -1) {
463
+ t.isSettled && a.disturb(), n.children.splice(e, 1);
464
+ let i = K(t.props.preserve), s = t.parent;
465
465
  for (; i === void 0 && s; )
466
- i = H(s.props.preserve), s = s.parent;
466
+ i = K(s.props.preserve), s = s.parent;
467
467
  i ? a.calm() : a.calm({
468
- name: a.type === "list" ? t : e.name,
468
+ name: a.type === "list" ? e : t.name,
469
469
  value: F
470
- }), e.parent = null, e.config._rmn = e;
470
+ }), t.parent = null, t.config._rmn = t;
471
471
  }
472
- return a.ledger.unmerge(e), a;
472
+ return a.ledger.unmerge(t), a;
473
473
  }
474
- function Ye(a, l, e) {
475
- l.children.forEach((t) => !("__FKP" in t) && e(t));
474
+ function He(a, n, t) {
475
+ n.children.forEach((e) => !("__FKP" in e) && t(e));
476
476
  }
477
- function qe(a, l, e, t = !1, i = !1) {
478
- l.children.some((s) => {
477
+ function qe(a, n, t, e = !1, i = !1) {
478
+ n.children.some((s) => {
479
479
  if ("__FKP" in s)
480
480
  return !1;
481
- const o = e(s);
482
- return t && o === !1 ? !0 : i && o === !1 ? !1 : s.walk(e, t, i);
481
+ const o = t(s);
482
+ return e && o === !1 ? !0 : i && o === !1 ? !1 : s.walk(t, e, i);
483
483
  });
484
484
  }
485
- function Je(a, l) {
486
- const e = a.parent || void 0;
487
- l.config = rt(a.config._t, e), a.walk((t) => t.resetConfig());
485
+ function We(a, n) {
486
+ const t = a.parent || void 0;
487
+ n.config = it(a.config._t, t), a.walk((e) => e.resetConfig());
488
488
  }
489
- function se(a, l, e, t = !0, i = !0) {
490
- return Array.isArray(e) || e instanceof Set ? (e.forEach((s) => se(a, l, s)), a) : (l.plugins.has(e) || (i && typeof e.library == "function" && e.library(a), t && e(a) !== !1 && (l.plugins.add(e), a.children.forEach((s) => s.use(e)))), a);
489
+ function ne(a, n, t, e = !0, i = !0) {
490
+ return Array.isArray(t) || t instanceof Set ? (t.forEach((s) => ne(a, n, s)), a) : (n.plugins.has(t) || (i && typeof t.library == "function" && t.library(a), e && t(a) !== !1 && (n.plugins.add(t), a.children.forEach((s) => s.use(t)))), a);
491
491
  }
492
- function Qe(a, l, e, t) {
493
- if (K(a.parent)) {
494
- const i = a.parent.children, s = t >= i.length ? i.length - 1 : t < 0 ? 0 : t, o = i.indexOf(a);
492
+ function Ye(a, n, t, e) {
493
+ if (B(a.parent)) {
494
+ const i = a.parent.children, s = e >= i.length ? i.length - 1 : e < 0 ? 0 : e, o = i.indexOf(a);
495
495
  return o === -1 ? !1 : (i.splice(o, 1), i.splice(s, 0, a), a.parent.children = i, a.parent.type === "list" && a.parent.disturb().calm({ name: s, value: z, from: o }), !0);
496
496
  }
497
497
  return !1;
498
498
  }
499
- function Xe(a) {
499
+ function Je(a) {
500
500
  if (a.parent) {
501
- const l = [...a.parent.children].indexOf(a);
502
- return l === -1 ? a.parent.children.length : l;
501
+ const n = [...a.parent.children].indexOf(a);
502
+ return n === -1 ? a.parent.children.length : n;
503
503
  }
504
504
  return -1;
505
505
  }
506
- function Ge(a, l) {
507
- return l;
506
+ function Qe(a, n) {
507
+ return n;
508
508
  }
509
- function et(a, l) {
510
- var e;
511
- return ((e = a.parent) === null || e === void 0 ? void 0 : e.type) === "list" ? a.index : l.name !== Ee ? l.name : a.index;
509
+ function Xe(a, n) {
510
+ var t;
511
+ return ((t = a.parent) === null || t === void 0 ? void 0 : t.type) === "list" ? a.index : n.name !== Pe ? n.name : a.index;
512
512
  }
513
- function tt(a, l) {
514
- return l.parent ? l.parent.address.concat([a.name]) : [a.name];
513
+ function Ge(a, n) {
514
+ return n.parent ? n.parent.address.concat([a.name]) : [a.name];
515
515
  }
516
- function at(a, l, e) {
517
- const t = typeof e == "string" ? e.split(a.config.delimiter) : e;
518
- if (!t.length)
516
+ function et(a, n, t) {
517
+ const e = typeof t == "string" ? t.split(a.config.delimiter) : t;
518
+ if (!e.length)
519
519
  return;
520
- const i = t[0];
520
+ const i = e[0];
521
521
  let s = a.parent;
522
- for (s || (String(t[0]) === String(a.name) && t.shift(), s = a), i === "$parent" && t.shift(); s && t.length; ) {
523
- const o = t.shift();
522
+ for (s || (String(e[0]) === String(a.name) && e.shift(), s = a), i === "$parent" && e.shift(); s && e.length; ) {
523
+ const o = e.shift();
524
524
  switch (o) {
525
525
  case "$root":
526
526
  s = a.root;
@@ -532,16 +532,16 @@ function at(a, l, e) {
532
532
  s = a;
533
533
  break;
534
534
  default:
535
- s = s.children.find((r) => !("__FKP" in r) && String(r.name) === String(o)) || nt(s, o);
535
+ s = s.children.find((r) => !("__FKP" in r) && String(r.name) === String(o)) || tt(s, o);
536
536
  }
537
537
  }
538
538
  return s || void 0;
539
539
  }
540
- function nt(a, l) {
541
- const e = String(l).match(/^(find)\((.*)\)$/);
542
- if (e) {
543
- const [, t, i] = e, s = i.split(",").map((o) => o.trim());
544
- switch (t) {
540
+ function tt(a, n) {
541
+ const t = String(n).match(/^(find)\((.*)\)$/);
542
+ if (t) {
543
+ const [, e, i] = t, s = i.split(",").map((o) => o.trim());
544
+ switch (e) {
545
545
  case "find":
546
546
  return a.find(s[0], s[1]);
547
547
  default:
@@ -549,38 +549,38 @@ function nt(a, l) {
549
549
  }
550
550
  }
551
551
  }
552
- function lt(a, l, e, t) {
553
- return it(a, e, t);
552
+ function at(a, n, t, e) {
553
+ return lt(a, t, e);
554
554
  }
555
- function it(a, l, e = "name") {
556
- const t = typeof e == "string" ? (s) => s[e] == l : e, i = [a];
555
+ function lt(a, n, t = "name") {
556
+ const e = typeof t == "string" ? (s) => s[t] == n : t, i = [a];
557
557
  for (; i.length; ) {
558
558
  const s = i.shift();
559
559
  if (!("__FKP" in s)) {
560
- if (t(s, l))
560
+ if (e(s, n))
561
561
  return s;
562
562
  i.push(...s.children);
563
563
  }
564
564
  }
565
565
  }
566
- function st(a) {
567
- let l = a;
568
- for (; l.parent; )
569
- l = l.parent;
570
- return l;
566
+ function nt(a) {
567
+ let n = a;
568
+ for (; n.parent; )
569
+ n = n.parent;
570
+ return n;
571
571
  }
572
- function rt(a = {}, l) {
573
- let e;
572
+ function it(a = {}, n) {
573
+ let t;
574
574
  return new Proxy(a, {
575
- get(...t) {
576
- const i = t[1];
575
+ get(...e) {
576
+ const i = e[1];
577
577
  if (i === "_t")
578
578
  return a;
579
- const s = Reflect.get(...t);
579
+ const s = Reflect.get(...e);
580
580
  if (s !== void 0)
581
581
  return s;
582
- if (l) {
583
- const o = l.config[i];
582
+ if (n) {
583
+ const o = n.config[i];
584
584
  if (o !== void 0)
585
585
  return o;
586
586
  }
@@ -589,60 +589,60 @@ function rt(a = {}, l) {
589
589
  if (o !== void 0)
590
590
  return o;
591
591
  }
592
- return i === "delay" && (e == null ? void 0 : e.type) === "input" ? 20 : De[i];
592
+ return i === "delay" && (t == null ? void 0 : t.type) === "input" ? 20 : Se[i];
593
593
  },
594
- set(...t) {
595
- const i = t[1], s = t[2];
594
+ set(...e) {
595
+ const i = e[1], s = e[2];
596
596
  if (i === "_n")
597
- return e = s, a.rootConfig && a.rootConfig._add(e), !0;
597
+ return t = s, a.rootConfig && a.rootConfig._add(t), !0;
598
598
  if (i === "_rmn")
599
- return a.rootConfig && a.rootConfig._rm(e), e = void 0, !0;
599
+ return a.rootConfig && a.rootConfig._rm(t), t = void 0, !0;
600
600
  if (!M(a[i], s, !1)) {
601
- const o = Reflect.set(...t);
602
- return e && (e.emit(`config:${i}`, s, !1), W(e, i, s), e.walk((r) => W(r, i, s), !1, !0)), o;
601
+ const o = Reflect.set(...e);
602
+ return t && (t.emit(`config:${i}`, s, !1), x(t, i, s), t.walk((r) => x(r, i, s), !1, !0)), o;
603
603
  }
604
604
  return !0;
605
605
  }
606
606
  });
607
607
  }
608
- function ot(a, l, e, t = "ui") {
609
- const i = typeof e == "string" ? { key: e, value: e, type: t } : e, s = a.hook.text.dispatch(i);
608
+ function st(a, n, t, e = "ui") {
609
+ const i = typeof t == "string" ? { key: t, value: t, type: e } : t, s = a.hook.text.dispatch(i);
610
610
  return a.emit("text", s, !1), s.value;
611
611
  }
612
- function ut(a) {
613
- const l = a.name;
612
+ function rt(a) {
613
+ const n = a.name;
614
614
  do {
615
615
  if (a.props.isForm === !0)
616
616
  break;
617
- a.parent || L(106, l), a = a.parent;
617
+ a.parent || L(106, n), a = a.parent;
618
618
  } while (a);
619
- a.props.id && Se(a.props.id);
619
+ a.props.id && Le(a.props.id);
620
620
  }
621
- function pt(a, l, e) {
622
- return Pe(a, e);
621
+ function ot(a, n, t) {
622
+ return Oe(a, t);
623
623
  }
624
- function re(a, l, e, t) {
625
- const i = `${a.name}-set`, s = a.hook.setErrors.dispatch({ localErrors: e, childErrors: t });
626
- return Ce(a, s.localErrors, s.childErrors).forEach((o) => {
624
+ function ie(a, n, t, e) {
625
+ const i = `${a.name}-set`, s = a.hook.setErrors.dispatch({ localErrors: t, childErrors: e });
626
+ return ke(a, s.localErrors, s.childErrors).forEach((o) => {
627
627
  a.store.apply(o, (r) => r.meta.source === i);
628
628
  }), a;
629
629
  }
630
- function dt(a, l, e = !0, t) {
631
- return re(a, l, []), e && (t = t || `${a.name}-set`, a.walk((i) => {
632
- i.store.filter((s) => !(s.type === "error" && s.meta && s.meta.source === t));
630
+ function ut(a, n, t = !0, e) {
631
+ return ie(a, n, []), t && (e = e || `${a.name}-set`, a.walk((i) => {
632
+ i.store.filter((s) => !(s.type === "error" && s.meta && s.meta.source === e));
633
633
  })), a;
634
634
  }
635
- function ft(a, l, e, t) {
636
- return l.traps.set(e, t), a;
635
+ function pt(a, n, t, e) {
636
+ return n.traps.set(t, e), a;
637
637
  }
638
- function ct(a) {
639
- var l, e, t, i;
638
+ function dt(a) {
639
+ var n, t, e, i;
640
640
  return {
641
641
  __FKP: !0,
642
642
  uid: Symbol(),
643
- name: (l = a == null ? void 0 : a.name) !== null && l !== void 0 ? l : `p_${Me++}`,
644
- value: (e = a == null ? void 0 : a.value) !== null && e !== void 0 ? e : null,
645
- _value: (t = a == null ? void 0 : a.value) !== null && t !== void 0 ? t : null,
643
+ name: (n = a == null ? void 0 : a.name) !== null && n !== void 0 ? n : `p_${Re++}`,
644
+ value: (t = a == null ? void 0 : a.value) !== null && t !== void 0 ? t : null,
645
+ _value: (e = a == null ? void 0 : a.value) !== null && e !== void 0 ? e : null,
646
646
  type: (i = a == null ? void 0 : a.type) !== null && i !== void 0 ? i : "input",
647
647
  use: () => {
648
648
  },
@@ -652,58 +652,73 @@ function ct(a) {
652
652
  isSettled: !0
653
653
  };
654
654
  }
655
- function mt(a) {
655
+ function ft(a) {
656
656
  return "__FKP" in a;
657
657
  }
658
- function Y(a) {
658
+ function Z(a) {
659
659
  return typeof a != "string" && P(a, "$el");
660
660
  }
661
- function bt(a) {
661
+ function ct(a) {
662
662
  return typeof a != "string" && P(a, "$cmp");
663
663
  }
664
664
  // @__NO_SIDE_EFFECTS__
665
- function $(a, l, e = !1) {
666
- return /* @__NO_SIDE_EFFECTS__ */ (...i) => {
667
- const s = (o) => {
668
- const r = !l || typeof l == "string" ? { $el: l } : l();
669
- return (Y(r) || bt(r)) && (r.meta || (r.meta = { section: a }), i.length && !r.children && (r.children = [
670
- ...i.map((u) => typeof u == "string" ? u : u(o))
671
- ]), Y(r) && (r.attrs = {
665
+ function $(a, n, t = !1) {
666
+ return (...e) => {
667
+ const i = (s) => {
668
+ const o = !n || typeof n == "string" ? { $el: n } : n();
669
+ return (Z(o) || ct(o)) && (o.meta || (o.meta = { section: a }), e.length && !o.children && (o.children = [
670
+ ...e.map((r) => typeof r == "function" ? r(s) : r)
671
+ ]), Z(o) && (o.attrs = {
672
672
  class: `$classes.${a}`,
673
- ...r.attrs || {}
673
+ ...o.attrs || {}
674
674
  })), {
675
675
  if: `$slots.${a}`,
676
676
  then: `$slots.${a}`,
677
- else: a in o ? /* @__PURE__ */ _t(r, o[a]) : r
677
+ else: a in s ? /* @__PURE__ */ bt(o, s[a]) : o
678
678
  };
679
679
  };
680
- return s._s = a, e ? /* @__PURE__ */ yt(s) : s;
680
+ return i._s = a, t ? /* @__PURE__ */ mt(i) : i;
681
681
  };
682
682
  }
683
683
  // @__NO_SIDE_EFFECTS__
684
- function yt(a) {
685
- return (l) => [a(l)];
684
+ function mt(a) {
685
+ return (n) => [a(n)];
686
686
  }
687
- function q(a) {
687
+ function H(a) {
688
688
  return typeof a == "object" && ("$el" in a || "$cmp" in a || "$formkit" in a);
689
689
  }
690
690
  // @__NO_SIDE_EFFECTS__
691
- function _t(a, l = {}) {
692
- return typeof a == "string" ? q(l) || typeof l == "string" ? l : a : Array.isArray(a) ? q(l) ? l : a : /* @__PURE__ */ ee(a, l);
691
+ function bt(a, n = {}) {
692
+ return typeof a == "string" ? H(n) || typeof n == "string" ? n : a : Array.isArray(a) ? H(n) ? n : a : /* @__PURE__ */ J(a, n);
693
693
  }
694
- const vt = /* @__PURE__ */ $("help", () => ({
694
+ const yt = /* @__PURE__ */ $("help", () => ({
695
695
  $el: "div",
696
696
  if: "$help",
697
697
  attrs: {
698
698
  id: '$: "help-" + $id'
699
699
  }
700
- })), ht = /* @__PURE__ */ $("inner", "div"), gt = /* @__PURE__ */ $("label", () => ({
700
+ })), q = (a, n) => (/* @__PURE__ */ $(`${a}Icon`, () => {
701
+ const t = `_raw${a.charAt(0).toUpperCase()}${a.slice(1)}Icon`;
702
+ return {
703
+ if: `$${a}Icon && $${t}`,
704
+ $el: `${n || "span"}`,
705
+ attrs: {
706
+ class: `$classes.${a}Icon + " " + $classes.icon`,
707
+ innerHTML: `$${t}`,
708
+ onClick: `$handlers.iconClick(${a})`,
709
+ for: {
710
+ if: `${n === "label"}`,
711
+ then: "$id"
712
+ }
713
+ }
714
+ };
715
+ }))(), _t = /* @__PURE__ */ $("inner", "div"), vt = /* @__PURE__ */ $("label", () => ({
701
716
  $el: "label",
702
717
  if: "$label",
703
718
  attrs: {
704
719
  for: "$id"
705
720
  }
706
- })), $t = /* @__PURE__ */ $("message", () => ({
721
+ })), ht = /* @__PURE__ */ $("message", () => ({
707
722
  $el: "li",
708
723
  for: ["message", "$messages"],
709
724
  attrs: {
@@ -711,10 +726,10 @@ const vt = /* @__PURE__ */ $("help", () => ({
711
726
  id: "$id + '-' + $message.key",
712
727
  "data-message-type": "$message.type"
713
728
  }
714
- })), wt = /* @__PURE__ */ $("messages", () => ({
729
+ })), gt = /* @__PURE__ */ $("messages", () => ({
715
730
  $el: "ul",
716
731
  if: "$defaultMessagePlacement && $fns.length($messages)"
717
- })), kt = /* @__PURE__ */ $("outer", () => ({
732
+ })), $t = /* @__PURE__ */ $("outer", () => ({
718
733
  $el: "div",
719
734
  attrs: {
720
735
  key: "$id",
@@ -732,1172 +747,1107 @@ const vt = /* @__PURE__ */ $("help", () => ({
732
747
  "data-prefix-icon-click": "$onPrefixIconClick !== undefined || undefined",
733
748
  "data-suffix-icon-click": "$onSuffixIconClick !== undefined || undefined"
734
749
  }
735
- })), Ct = /* @__PURE__ */ $("prefix", null), Vt = /* @__PURE__ */ $("suffix", null), Lt = /* @__PURE__ */ $("wrapper", "div");
736
- B({
750
+ })), kt = /* @__PURE__ */ $("prefix", null), wt = /* @__PURE__ */ $("suffix", null), Ct = /* @__PURE__ */ $("wrapper", "div");
751
+ U({
737
752
  key: "loading",
738
753
  value: !0,
739
754
  visible: !1
740
755
  });
741
756
  // @__NO_SIDE_EFFECTS__
742
- function It(a) {
743
- return /* @__PURE__ */ kt(/* @__PURE__ */ Lt(/* @__PURE__ */ gt("$label"), /* @__PURE__ */ ht(/* @__PURE__ */ Ct(), a(), /* @__PURE__ */ Vt())), /* @__PURE__ */ vt("$help"), /* @__PURE__ */ wt(/* @__PURE__ */ $t("$message.value")));
757
+ function Vt(a) {
758
+ return /* @__PURE__ */ $t(/* @__PURE__ */ Ct(/* @__PURE__ */ vt("$label"), /* @__PURE__ */ _t(/* @__PURE__ */ q("prefix"), /* @__PURE__ */ kt(), a(), /* @__PURE__ */ wt(), /* @__PURE__ */ q("suffix"))), /* @__PURE__ */ yt("$help"), /* @__PURE__ */ gt(/* @__PURE__ */ ht("$message.value")));
744
759
  }
745
- B({
760
+ U({
746
761
  type: "state",
747
762
  blocking: !0,
748
763
  visible: !1,
749
764
  value: !0,
750
765
  key: "validating"
751
766
  });
752
- new Promise((a) => {
753
- });
754
- const St = typeof window < "u" && typeof fetch < "u";
755
- St && getComputedStyle(document.documentElement);
756
- let x = !1;
757
- const J = {
758
- /**
759
- * FormKit errors:
760
- */
761
- 100: ({ data: a }) => `Only groups, lists, and forms can have children (${a.name}).`,
762
- 101: ({ data: a }) => `You cannot directly modify the store (${a.name}). See: https://formkit.com/advanced/core#message-store`,
763
- 102: ({ data: [a, l] }) => `You cannot directly assign node.${l} (${a.name})`,
764
- 103: ({ data: [a] }) => `Schema expressions cannot start with an operator (${a})`,
765
- 104: ({ data: [a, l] }) => `Schema expressions cannot end with an operator (${a} in "${l}")`,
766
- 105: ({ data: a }) => `Invalid schema expression: ${a}`,
767
- 106: ({ data: a }) => `Cannot submit because (${a}) is not in a form.`,
768
- 107: ({ data: [a, l] }) => `Cannot set ${a.name} to non object value: ${l}`,
769
- 108: ({ data: [a, l] }) => `Cannot set ${a.name} to non array value: ${l}`,
770
- /**
771
- * Input specific errors:
772
- */
773
- 300: ({ data: [a] }) => `Cannot set behavior prop to overscroll (on ${a.name} input) when options prop is a function.`,
774
- /**
775
- * FormKit vue errors:
776
- */
777
- 600: ({ data: a }) => `Unknown input type${typeof a.props.type == "string" ? ' "' + a.props.type + '"' : ""} ("${a.name}")`,
778
- 601: ({ data: a }) => `Input definition${typeof a.props.type == "string" ? ' "' + a.props.type + '"' : ""} is missing a schema or component property (${a.name}).`
779
- }, Q = {
780
- /**
781
- * Core warnings:
782
- */
783
- 150: ({ data: a }) => `Schema function "${a}()" is not a valid function.`,
784
- 151: ({ data: a }) => `No form element with id: ${a}`,
785
- 152: ({ data: a }) => `No input element with id: ${a}`,
786
- /**
787
- * Input specific warnings:
788
- */
789
- 350: ({ data: { node: a, inputType: l } }) => `Invalid options prop for ${a.name} input (${l}). See https://formkit.com/inputs/${l}`,
790
- /**
791
- * Vue warnings:
792
- */
793
- 650: 'Schema "$get()" must use the id of an input to access.',
794
- 651: ({ data: a }) => `Cannot setErrors() on "${a}" because no such id exists.`,
795
- 652: ({ data: a }) => `Cannot clearErrors() on "${a}" because no such id exists.`,
796
- /**
797
- * Deprecation warnings:
798
- */
799
- 800: ({ data: a }) => `${a} is deprecated.`
800
- }, Ot = (a, l) => {
801
- if (a.code in J) {
802
- const e = J[a.code];
803
- a.message = typeof e == "function" ? e(a) : e;
804
- }
805
- return l(a);
806
- };
807
- x || U(Ot);
808
- const Pt = (a, l) => {
809
- if (a.code in Q) {
810
- const e = Q[a.code];
811
- a.message = typeof e == "function" ? e(a) : e;
812
- }
813
- return l(a);
814
- };
815
- x || N(Pt);
816
- x = !0;
817
- let Dt = 1;
818
- function Et(a) {
767
+ let Lt = 1;
768
+ function It(a) {
819
769
  return typeof a == "function" && a.length === 2 || typeof a == "object" && !Array.isArray(a) && !("$el" in a) && !("$cmp" in a) && !("if" in a);
820
770
  }
821
- function v(a, l = {}) {
822
- const e = {
771
+ function v(a, n = {}) {
772
+ const t = {
823
773
  type: "input",
824
- ...l
774
+ ...n
825
775
  };
826
- let t;
827
- if (Et(a)) {
828
- const i = `SchemaComponent${Dt++}`;
829
- t = /* @__PURE__ */ $("input", () => ({
776
+ let e;
777
+ if (It(a)) {
778
+ const i = `SchemaComponent${Lt++}`;
779
+ e = /* @__PURE__ */ $("input", () => ({
830
780
  $cmp: i,
831
781
  props: {
832
782
  context: "$node.context"
833
783
  }
834
- })), e.library = { [i]: pe(a) };
784
+ })), t.library = { [i]: oe(a) };
835
785
  } else
836
- typeof a == "function" ? t = a : t = /* @__PURE__ */ $("input", () => E(a));
837
- return e.schema = /* @__PURE__ */ It(t || "Schema undefined"), e.schemaMemoKey || (e.schemaMemoKey = `${Math.random()}`), e;
786
+ typeof a == "function" ? e = a : e = /* @__PURE__ */ $("input", () => R(a));
787
+ return t.schema = /* @__PURE__ */ Vt(e || "Schema undefined"), t.schemaMemoKey || (t.schemaMemoKey = `${Math.random()}`), t;
838
788
  }
839
- const Rt = /* @__PURE__ */ b({
789
+ const Ot = { class: "p-formkit" }, St = /* @__PURE__ */ b({
840
790
  __name: "PrimeAutoComplete",
841
791
  props: {
842
792
  context: Object
843
793
  },
844
794
  setup(a) {
845
- const l = a, e = l.context, t = e == null ? void 0 : e.attrs, i = de([]);
795
+ const n = a, t = n.context, e = t == null ? void 0 : t.attrs, i = ue([]);
846
796
  function s(r) {
847
- i.value = t.complete(r.query);
797
+ i.value = e.complete(r.query);
848
798
  }
849
799
  function o(r) {
850
800
  var u;
851
- e == null || e.node.input((u = l.context) == null ? void 0 : u._value);
801
+ t == null || t.node.input((u = n.context) == null ? void 0 : u._value);
852
802
  }
853
- return h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class), (r, u) => {
803
+ return h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class), (r, u) => {
854
804
  var m;
855
805
  const p = y("AutoComplete");
856
- return f(), c("div", null, [
806
+ return f(), c("div", Ot, [
857
807
  _(p, {
858
- id: n(e).id,
859
- modelValue: n(e)._value,
860
- "onUpdate:modelValue": u[0] || (u[0] = (I) => n(e)._value = I),
861
- disabled: n(t)._disabled ?? !1,
862
- tabindex: n(t).tabindex,
863
- "aria-label": n(t).ariaLabel,
864
- "aria-labelledby": n(t).ariaLabelledby,
865
- suggestions: n(i),
866
- dropdown: ((m = n(t)) == null ? void 0 : m.dropdown) ?? !1,
867
- multiple: n(t).multiple ?? !1,
868
- pt: n(t).pt,
869
- "pt-options": n(t).ptOptions,
870
- unstyled: n(t).unstyled ?? !1,
808
+ id: l(t).id,
809
+ modelValue: l(t)._value,
810
+ "onUpdate:modelValue": u[0] || (u[0] = (I) => l(t)._value = I),
811
+ disabled: l(e)._disabled ?? !1,
812
+ tabindex: l(e).tabindex,
813
+ "aria-label": l(e).ariaLabel,
814
+ "aria-labelledby": l(e).ariaLabelledby,
815
+ suggestions: l(i),
816
+ dropdown: ((m = l(e)) == null ? void 0 : m.dropdown) ?? !1,
817
+ multiple: l(e).multiple ?? !1,
818
+ pt: l(e).pt,
819
+ "pt-options": l(e).ptOptions,
820
+ unstyled: l(e).unstyled ?? !1,
871
821
  onComplete: s,
872
822
  onChange: o
873
823
  }, null, 8, ["id", "modelValue", "disabled", "tabindex", "aria-label", "aria-labelledby", "suggestions", "dropdown", "multiple", "pt", "pt-options", "unstyled"])
874
824
  ]);
875
825
  };
876
826
  }
877
- }), Mt = /* @__PURE__ */ b({
827
+ }), Pt = { class: "p-formkit" }, Dt = /* @__PURE__ */ b({
878
828
  __name: "PrimeCalendar",
879
829
  props: {
880
830
  context: Object
881
831
  },
882
832
  setup(a) {
883
- const l = a, e = l.context, t = e == null ? void 0 : e.attrs;
833
+ const n = a, t = n.context, e = t == null ? void 0 : t.attrs;
884
834
  function i(r) {
885
- e == null || e.node.input(e == null ? void 0 : e._value);
835
+ t == null || t.node.input(t == null ? void 0 : t._value);
886
836
  }
887
837
  function s(r) {
888
- e == null || e.node.input(r);
838
+ t == null || t.node.input(r);
889
839
  }
890
- const o = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
840
+ const o = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
891
841
  return (r, u) => {
892
842
  const p = y("Calendar");
893
- return f(), c("div", null, [
843
+ return f(), c("div", Pt, [
894
844
  _(p, {
895
- modelValue: n(e)._value,
896
- "onUpdate:modelValue": u[0] || (u[0] = (m) => n(e)._value = m),
897
- "input-id": l.context.id,
898
- disabled: n(t)._disabled ?? !1,
899
- readonly: n(t)._readonly ?? !1,
900
- "input-style": n(t).style,
901
- "input-class": n(o),
902
- tabindex: n(t).tabindex,
903
- "aria-label": n(t).ariaLabel,
904
- "aria-labelledby": n(t).ariaLabelledby,
905
- "date-format": n(t).dateFormat,
906
- "selection-mode": n(t).selectionMode ?? "single",
907
- inline: n(t).inline ?? !1,
908
- "show-other-months": n(t).showOtherMonths ?? !0,
909
- "select-other-months": n(t).selectOtherMonths ?? !1,
910
- icon: n(t).icon,
911
- "show-icon": n(e).showIcon,
912
- "previous-icon": n(t).previousIcon ?? "pi pi-chevron-left",
913
- "next-icon": n(t).nextIcon ?? "pi pi-chevron-right",
914
- "increment-icon": n(t).incrementIcon ?? "pi pi-chevron-up",
915
- "decrement-icon": n(t).decrementIcon ?? "pi pi-chevron-down",
916
- "number-of-months": n(t).numberOfMonths ?? 1,
917
- "responsive-options": n(t).responsiveOptions,
918
- view: n(t).view ?? "date",
919
- "touch-u-i": n(t).touchUI ?? !1,
920
- "min-date": n(t).minDate,
921
- "max-date": n(t).maxDate,
922
- "disabled-dates": n(t).disabledDates,
923
- "disabled-days": n(t).disabledDays,
924
- "max-date-count": n(t).maxDateCount,
925
- "show-on-focus": n(t).showOnFocus ?? !0,
926
- "auto-z-index": n(t).autoZIndex ?? !0,
927
- "base-z-index": n(t).baseZIndex ?? 0,
928
- "show-button-bar": n(t).showButtonBar ?? !1,
929
- "show-time": n(t).showTime ?? !1,
930
- "time-only": n(t).timeOnly ?? !1,
931
- "short-year-cutoff": n(t).shortYearCutoff ?? "+10",
932
- "hour-format": n(t).hourFormat ?? "24",
933
- "step-hour": n(t).stepHour ?? 1,
934
- "step-minute": n(t).stepMinute ?? 1,
935
- "step-second": n(t).stepSecond ?? 1,
936
- "show-seconds": n(t).showSeconds ?? !1,
937
- "hide-on-date-time-select": n(t).hideOnDateTimeSelect ?? !1,
938
- "hide-on-range-selection": n(t).hideOnRangeSelection ?? !1,
939
- "time-separator": n(t).timeSeparator ?? ":",
940
- "show-week": n(t).showWeek ?? !1,
941
- "manual-input": n(t).manualInput ?? !0,
942
- "append-to": n(t).appendTo ?? "body",
943
- "panel-style": n(t).panelStyle,
944
- "panel-class": n(t).panelClass,
945
- pt: n(t).pt,
946
- "pt-options": n(t).ptOptions,
947
- unstyled: n(t).unstyled ?? !1,
845
+ modelValue: l(t)._value,
846
+ "onUpdate:modelValue": u[0] || (u[0] = (m) => l(t)._value = m),
847
+ "input-id": n.context.id,
848
+ disabled: l(e)._disabled ?? !1,
849
+ readonly: l(e)._readonly ?? !1,
850
+ "input-style": l(e).style,
851
+ "input-class": l(o),
852
+ tabindex: l(e).tabindex,
853
+ "aria-label": l(e).ariaLabel,
854
+ "aria-labelledby": l(e).ariaLabelledby,
855
+ "date-format": l(e).dateFormat,
856
+ "selection-mode": l(e).selectionMode ?? "single",
857
+ inline: l(e).inline ?? !1,
858
+ "show-other-months": l(e).showOtherMonths ?? !0,
859
+ "select-other-months": l(e).selectOtherMonths ?? !1,
860
+ icon: l(e).icon,
861
+ "show-icon": l(t).showIcon,
862
+ "previous-icon": l(e).previousIcon ?? "pi pi-chevron-left",
863
+ "next-icon": l(e).nextIcon ?? "pi pi-chevron-right",
864
+ "increment-icon": l(e).incrementIcon ?? "pi pi-chevron-up",
865
+ "decrement-icon": l(e).decrementIcon ?? "pi pi-chevron-down",
866
+ "number-of-months": l(e).numberOfMonths ?? 1,
867
+ "responsive-options": l(e).responsiveOptions,
868
+ view: l(e).view ?? "date",
869
+ "touch-u-i": l(e).touchUI ?? !1,
870
+ "min-date": l(e).minDate,
871
+ "max-date": l(e).maxDate,
872
+ "disabled-dates": l(e).disabledDates,
873
+ "disabled-days": l(e).disabledDays,
874
+ "max-date-count": l(e).maxDateCount,
875
+ "show-on-focus": l(e).showOnFocus ?? !0,
876
+ "auto-z-index": l(e).autoZIndex ?? !0,
877
+ "base-z-index": l(e).baseZIndex ?? 0,
878
+ "show-button-bar": l(e).showButtonBar ?? !1,
879
+ "show-time": l(e).showTime ?? !1,
880
+ "time-only": l(e).timeOnly ?? !1,
881
+ "short-year-cutoff": l(e).shortYearCutoff ?? "+10",
882
+ "hour-format": l(e).hourFormat ?? "24",
883
+ "step-hour": l(e).stepHour ?? 1,
884
+ "step-minute": l(e).stepMinute ?? 1,
885
+ "step-second": l(e).stepSecond ?? 1,
886
+ "show-seconds": l(e).showSeconds ?? !1,
887
+ "hide-on-date-time-select": l(e).hideOnDateTimeSelect ?? !1,
888
+ "hide-on-range-selection": l(e).hideOnRangeSelection ?? !1,
889
+ "time-separator": l(e).timeSeparator ?? ":",
890
+ "show-week": l(e).showWeek ?? !1,
891
+ "manual-input": l(e).manualInput ?? !0,
892
+ "append-to": l(e).appendTo ?? "body",
893
+ "panel-style": l(e).panelStyle,
894
+ "panel-class": l(e).panelClass,
895
+ pt: l(e).pt,
896
+ "pt-options": l(e).ptOptions,
897
+ unstyled: l(e).unstyled ?? !1,
948
898
  onDateSelect: s,
949
899
  onInput: i
950
900
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "date-format", "selection-mode", "inline", "show-other-months", "select-other-months", "icon", "show-icon", "previous-icon", "next-icon", "increment-icon", "decrement-icon", "number-of-months", "responsive-options", "view", "touch-u-i", "min-date", "max-date", "disabled-dates", "disabled-days", "max-date-count", "show-on-focus", "auto-z-index", "base-z-index", "show-button-bar", "show-time", "time-only", "short-year-cutoff", "hour-format", "step-hour", "step-minute", "step-second", "show-seconds", "hide-on-date-time-select", "hide-on-range-selection", "time-separator", "show-week", "manual-input", "append-to", "panel-style", "panel-class", "pt", "pt-options", "unstyled"])
951
901
  ]);
952
902
  };
953
903
  }
954
- }), jt = {
904
+ }), Rt = { class: "p-formkit" }, Et = {
955
905
  key: 0,
956
906
  class: "formkit-prime-left"
957
- }, At = {
907
+ }, Mt = {
958
908
  key: 1,
959
909
  class: "formkit-prime-right"
960
- }, Tt = /* @__PURE__ */ b({
910
+ }, At = /* @__PURE__ */ b({
961
911
  __name: "PrimeCheckbox",
962
912
  props: {
963
913
  context: Object
964
914
  },
965
915
  setup(a) {
966
- const l = a, e = l.context, t = e == null ? void 0 : e.attrs;
916
+ const n = a, t = n.context, e = t == null ? void 0 : t.attrs;
967
917
  function i(o) {
968
918
  var r;
969
- e == null || e.node.input((r = l.context) == null ? void 0 : r._value);
919
+ t == null || t.node.input((r = n.context) == null ? void 0 : r._value);
970
920
  }
971
- const s = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
921
+ const s = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
972
922
  return (o, r) => {
973
923
  const u = y("Checkbox");
974
- return f(), c("div", null, [
975
- n(e).attrs.labelLeft ? (f(), c("span", jt, k(n(e).attrs.labelLeft), 1)) : w("", !0),
924
+ return f(), c("div", Rt, [
925
+ l(t).attrs.labelLeft ? (f(), c("span", Et, w(l(t).attrs.labelLeft), 1)) : k("", !0),
976
926
  _(u, {
977
- modelValue: n(e)._value,
978
- "onUpdate:modelValue": r[0] || (r[0] = (p) => n(e)._value = p),
979
- "input-id": n(e).id,
980
- disabled: n(t)._disabled ?? !1,
981
- readonly: n(t)._readonly ?? !1,
982
- "input-style": n(t).style,
983
- "input-class": n(s),
984
- tabindex: n(t).tabindex,
985
- "aria-label": n(t).ariaLabel,
986
- "aria-labelledby": n(t).ariaLabelledby,
987
- binary: n(t).binary ?? !0,
988
- "true-value": n(t).trueValue ?? void 0,
989
- "false-value": n(t).falseValue ?? void 0,
990
- pt: n(t).pt,
991
- "pt-options": n(t).ptOptions,
992
- unstyled: n(t).unstyled ?? !1,
927
+ modelValue: l(t)._value,
928
+ "onUpdate:modelValue": r[0] || (r[0] = (p) => l(t)._value = p),
929
+ "input-id": l(t).id,
930
+ disabled: l(e)._disabled ?? !1,
931
+ readonly: l(e)._readonly ?? !1,
932
+ "input-style": l(e).style,
933
+ "input-class": l(s),
934
+ tabindex: l(e).tabindex,
935
+ "aria-label": l(e).ariaLabel,
936
+ "aria-labelledby": l(e).ariaLabelledby,
937
+ binary: l(e).binary ?? !0,
938
+ "true-value": l(e).trueValue ?? void 0,
939
+ "false-value": l(e).falseValue ?? void 0,
940
+ pt: l(e).pt,
941
+ "pt-options": l(e).ptOptions,
942
+ unstyled: l(e).unstyled ?? !1,
993
943
  onInput: i
994
944
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "binary", "true-value", "false-value", "pt", "pt-options", "unstyled"]),
995
- n(e).attrs.labelRight ? (f(), c("span", At, k(n(e).attrs.labelRight), 1)) : w("", !0)
945
+ l(t).attrs.labelRight ? (f(), c("span", Mt, w(l(t).attrs.labelRight), 1)) : k("", !0)
996
946
  ]);
997
947
  };
998
948
  }
999
- }), Ft = /* @__PURE__ */ b({
949
+ }), Tt = { class: "p-formkit" }, jt = /* @__PURE__ */ b({
1000
950
  __name: "PrimeChips",
1001
951
  props: {
1002
952
  context: Object
1003
953
  },
1004
954
  setup(a) {
1005
- const l = a, e = l.context, t = e == null ? void 0 : e.attrs;
955
+ const n = a, t = n.context, e = t == null ? void 0 : t.attrs;
1006
956
  function i(o) {
1007
957
  var r;
1008
- e == null || e.node.input((r = l.context) == null ? void 0 : r._value);
958
+ t == null || t.node.input((r = n.context) == null ? void 0 : r._value);
1009
959
  }
1010
- const s = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
960
+ const s = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
1011
961
  return (o, r) => {
1012
962
  const u = y("Chips");
1013
- return f(), c("div", null, [
963
+ return f(), c("div", Tt, [
1014
964
  _(u, {
1015
- modelValue: n(e)._value,
1016
- "onUpdate:modelValue": r[0] || (r[0] = (p) => n(e)._value = p),
1017
- "input-id": n(e).id,
1018
- disabled: n(t)._disabled ?? !1,
1019
- readonly: n(t)._readonly ?? !1,
1020
- "input-style": n(t).style,
1021
- "input-class": n(s),
1022
- tabindex: n(t).tabindex,
1023
- "aria-label": n(t).ariaLabel,
1024
- "aria-labelledby": n(t).ariaLabelledby,
1025
- "allow-duplicate": n(t).allowDuplicate ?? !0,
1026
- "add-on-blur": n(t).addOnBlur ?? !1,
1027
- max: n(t).max ?? void 0,
1028
- placeholder: n(t).placeholder,
1029
- separator: n(t).separator,
1030
- pt: n(t).pt,
1031
- "pt-options": n(t).ptOptions,
1032
- unstyled: n(t).unstyled ?? !1,
965
+ modelValue: l(t)._value,
966
+ "onUpdate:modelValue": r[0] || (r[0] = (p) => l(t)._value = p),
967
+ "input-id": l(t).id,
968
+ disabled: l(e)._disabled ?? !1,
969
+ readonly: l(e)._readonly ?? !1,
970
+ "input-style": l(e).style,
971
+ "input-class": l(s),
972
+ tabindex: l(e).tabindex,
973
+ "aria-label": l(e).ariaLabel,
974
+ "aria-labelledby": l(e).ariaLabelledby,
975
+ "allow-duplicate": l(e).allowDuplicate ?? !0,
976
+ "add-on-blur": l(e).addOnBlur ?? !1,
977
+ max: l(e).max ?? void 0,
978
+ placeholder: l(e).placeholder,
979
+ separator: l(e).separator,
980
+ pt: l(e).pt,
981
+ "pt-options": l(e).ptOptions,
982
+ unstyled: l(e).unstyled ?? !1,
1033
983
  onAdd: i,
1034
984
  onRemove: i
1035
985
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "allow-duplicate", "add-on-blur", "max", "placeholder", "separator", "pt", "pt-options", "unstyled"])
1036
986
  ]);
1037
987
  };
1038
988
  }
1039
- }), zt = /* @__PURE__ */ b({
989
+ }), Ft = { class: "p-formkit" }, zt = /* @__PURE__ */ b({
1040
990
  __name: "PrimeColorPicker",
1041
991
  props: {
1042
992
  context: Object
1043
993
  },
1044
994
  setup(a) {
1045
- const l = a, e = l.context, t = e == null ? void 0 : e.attrs;
995
+ const n = a, t = n.context, e = t == null ? void 0 : t.attrs;
1046
996
  function i(s) {
1047
997
  var o;
1048
- e == null || e.node.input((o = l.context) == null ? void 0 : o._value);
998
+ t == null || t.node.input((o = n.context) == null ? void 0 : o._value);
1049
999
  }
1050
1000
  return (s, o) => {
1051
1001
  const r = y("ColorPicker");
1052
- return f(), c("div", null, [
1002
+ return f(), c("div", Ft, [
1053
1003
  _(r, {
1054
- modelValue: n(e)._value,
1055
- "onUpdate:modelValue": o[0] || (o[0] = (u) => n(e)._value = u),
1056
- disabled: n(t)._disabled ?? !1,
1057
- readonly: n(t)._readonly ?? !1,
1058
- style: C(n(t).style),
1059
- "panel-class": n(t).class,
1060
- tabindex: n(t).tabindex,
1061
- "aria-label": n(t).ariaLabel,
1062
- "aria-labelledby": n(t).ariaLabelledby,
1063
- "default-color": n(t).defaultColor ?? "ff0000",
1064
- inline: n(t).inline ?? !1,
1065
- format: n(t).format,
1066
- pt: n(t).pt,
1067
- "pt-options": n(t).ptOptions,
1068
- unstyled: n(t).unstyled ?? !1,
1004
+ modelValue: l(t)._value,
1005
+ "onUpdate:modelValue": o[0] || (o[0] = (u) => l(t)._value = u),
1006
+ disabled: l(e)._disabled ?? !1,
1007
+ readonly: l(e)._readonly ?? !1,
1008
+ style: C(l(e).style),
1009
+ "panel-class": l(e).class,
1010
+ tabindex: l(e).tabindex,
1011
+ "aria-label": l(e).ariaLabel,
1012
+ "aria-labelledby": l(e).ariaLabelledby,
1013
+ "default-color": l(e).defaultColor ?? "ff0000",
1014
+ inline: l(e).inline ?? !1,
1015
+ format: l(e).format,
1016
+ pt: l(e).pt,
1017
+ "pt-options": l(e).ptOptions,
1018
+ unstyled: l(e).unstyled ?? !1,
1069
1019
  onChange: i
1070
1020
  }, null, 8, ["modelValue", "disabled", "readonly", "style", "panel-class", "tabindex", "aria-label", "aria-labelledby", "default-color", "inline", "format", "pt", "pt-options", "unstyled"])
1071
1021
  ]);
1072
1022
  };
1073
1023
  }
1074
- }), Ut = /* @__PURE__ */ b({
1024
+ }), Ut = { class: "p-formkit" }, Bt = /* @__PURE__ */ b({
1075
1025
  __name: "PrimeDropdown",
1076
1026
  props: {
1077
1027
  context: Object
1078
1028
  },
1079
1029
  setup(a) {
1080
- const e = a.context, t = e == null ? void 0 : e.attrs;
1030
+ const t = a.context, e = t == null ? void 0 : t.attrs;
1081
1031
  function i(r) {
1082
- e == null || e.handlers.blur(r.value);
1032
+ t == null || t.handlers.blur(r.value);
1083
1033
  }
1084
1034
  function s(r) {
1085
- e == null || e.node.input(r.value);
1035
+ t == null || t.node.input(r.value);
1086
1036
  }
1087
- const o = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
1037
+ const o = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
1088
1038
  return (r, u) => {
1089
1039
  const p = y("Dropdown");
1090
- return f(), c("div", null, [
1040
+ return f(), c("div", Ut, [
1091
1041
  _(p, {
1092
- modelValue: n(e)._value,
1093
- "onUpdate:modelValue": u[0] || (u[0] = (m) => n(e)._value = m),
1094
- "input-id": n(e).id,
1095
- disabled: n(t)._disabled ?? !1,
1096
- readonly: n(t)._readonly ?? !1,
1097
- "input-style": n(o),
1098
- "input-class": n(t).class,
1099
- tabindex: n(t).tabindex,
1100
- "aria-label": n(t).ariaLabel,
1101
- "aria-labelledby": n(t).ariaLabelledby,
1102
- options: n(t).options,
1103
- "option-label": n(t).optionLabel ?? "label",
1104
- "option-value": n(t).optionValue ?? "value",
1105
- placeholder: n(t).placeholder,
1106
- filter: n(t).filter ?? !1,
1107
- "show-clear": n(t).showClear ?? !1,
1108
- pt: n(t).pt,
1109
- "pt-options": n(t).ptOptions,
1110
- unstyled: n(t).unstyled ?? !1,
1042
+ modelValue: l(t)._value,
1043
+ "onUpdate:modelValue": u[0] || (u[0] = (m) => l(t)._value = m),
1044
+ "input-id": l(t).id,
1045
+ disabled: l(e)._disabled ?? !1,
1046
+ readonly: l(e)._readonly ?? !1,
1047
+ "input-style": l(o),
1048
+ "input-class": l(e).class,
1049
+ tabindex: l(e).tabindex,
1050
+ "aria-label": l(e).ariaLabel,
1051
+ "aria-labelledby": l(e).ariaLabelledby,
1052
+ options: l(e).options,
1053
+ "option-label": l(e).optionLabel ?? "label",
1054
+ "option-value": l(e).optionValue ?? "value",
1055
+ placeholder: l(e).placeholder,
1056
+ filter: l(e).filter ?? !1,
1057
+ "show-clear": l(e).showClear ?? !1,
1058
+ pt: l(e).pt,
1059
+ "pt-options": l(e).ptOptions,
1060
+ unstyled: l(e).unstyled ?? !1,
1111
1061
  onChange: s,
1112
1062
  onBlur: i
1113
1063
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "options", "option-label", "option-value", "placeholder", "filter", "show-clear", "pt", "pt-options", "unstyled"])
1114
1064
  ]);
1115
1065
  };
1116
1066
  }
1117
- }), Nt = /* @__PURE__ */ b({
1067
+ }), Nt = { class: "p-formkit" }, Kt = /* @__PURE__ */ b({
1118
1068
  __name: "PrimeEditor",
1119
1069
  props: {
1120
1070
  context: Object
1121
1071
  },
1122
1072
  setup(a) {
1123
- const e = a.context, t = e == null ? void 0 : e.attrs;
1073
+ const t = a.context, e = t == null ? void 0 : t.attrs;
1124
1074
  function i(r) {
1125
- e == null || e.node.input(r.htmlValue);
1075
+ t == null || t.node.input(r.htmlValue);
1126
1076
  }
1127
1077
  function s(r) {
1128
- r.range === null && (e == null || e.handlers.blur(r.htmlValue));
1078
+ r.range === null && (t == null || t.handlers.blur(r.htmlValue));
1129
1079
  }
1130
- const o = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
1080
+ const o = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
1131
1081
  return (r, u) => {
1132
1082
  const p = y("Editor");
1133
- return f(), c("div", null, [
1083
+ return f(), c("div", Nt, [
1134
1084
  _(p, {
1135
- id: n(e).id,
1136
- modelValue: n(e)._value,
1137
- "onUpdate:modelValue": u[0] || (u[0] = (m) => n(e)._value = m),
1138
- disabled: n(t)._disabled ?? !1,
1139
- readonly: n(t)._readonly ?? !1,
1140
- "editor-style": n(t).style,
1141
- class: g(n(o)),
1142
- tabindex: n(t).tabindex,
1143
- "aria-label": n(t).ariaLabel,
1144
- "aria-labelledby": n(t).ariaLabelledby,
1145
- placeholder: n(t).placeholder,
1146
- formats: n(t).formats,
1147
- modules: n(t).modules,
1148
- pt: n(t).pt,
1149
- "pt-options": n(t).ptOptions,
1150
- unstyled: n(t).unstyled ?? !1,
1085
+ id: l(t).id,
1086
+ modelValue: l(t)._value,
1087
+ "onUpdate:modelValue": u[0] || (u[0] = (m) => l(t)._value = m),
1088
+ disabled: l(e)._disabled ?? !1,
1089
+ readonly: l(e)._readonly ?? !1,
1090
+ "editor-style": l(e).style,
1091
+ class: g(l(o)),
1092
+ tabindex: l(e).tabindex,
1093
+ "aria-label": l(e).ariaLabel,
1094
+ "aria-labelledby": l(e).ariaLabelledby,
1095
+ placeholder: l(e).placeholder,
1096
+ formats: l(e).formats,
1097
+ modules: l(e).modules,
1098
+ pt: l(e).pt,
1099
+ "pt-options": l(e).ptOptions,
1100
+ unstyled: l(e).unstyled ?? !1,
1151
1101
  onTextChange: i,
1152
1102
  onSelectionChange: s
1153
1103
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "editor-style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "formats", "modules", "pt", "pt-options", "unstyled"])
1154
1104
  ]);
1155
1105
  };
1156
1106
  }
1157
- }), Bt = /* @__PURE__ */ b({
1107
+ }), xt = { class: "p-formkit" }, Zt = /* @__PURE__ */ b({
1158
1108
  __name: "PrimeInputMask",
1159
1109
  props: {
1160
1110
  context: Object
1161
1111
  },
1162
1112
  setup(a) {
1163
- const l = a, e = l.context, t = e == null ? void 0 : e.attrs;
1113
+ const n = a, t = n.context, e = t == null ? void 0 : t.attrs;
1164
1114
  function i(o) {
1165
1115
  var r, u;
1166
- e == null || e.node.input((r = l.context) == null ? void 0 : r._value), e == null || e.handlers.blur((u = l.context) == null ? void 0 : u._value);
1116
+ t == null || t.node.input((r = n.context) == null ? void 0 : r._value), t == null || t.handlers.blur((u = n.context) == null ? void 0 : u._value);
1167
1117
  }
1168
- const s = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
1118
+ const s = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
1169
1119
  return (o, r) => {
1170
1120
  const u = y("InputMask");
1171
- return f(), c("div", null, [
1121
+ return f(), c("div", xt, [
1172
1122
  _(u, {
1173
- id: n(e).id,
1174
- modelValue: n(e)._value,
1175
- "onUpdate:modelValue": r[0] || (r[0] = (p) => n(e)._value = p),
1176
- disabled: n(t)._disabled ?? !1,
1177
- readonly: n(t)._readonly ?? !1,
1178
- "editor-style": n(t).style,
1179
- class: g(n(s)),
1180
- tabindex: n(t).tabindex,
1181
- "aria-label": n(t).ariaLabel,
1182
- "aria-labelledby": n(t).ariaLabelledby,
1183
- placeholder: n(t).placeholder,
1184
- mask: n(t).mask ?? void 0,
1185
- "slot-char": n(t).slotChar ?? "_",
1186
- "auto-clear": n(t).autoClear ?? !0,
1187
- unmask: n(t).unmask ?? !1,
1188
- pt: n(t).pt,
1189
- "pt-options": n(t).ptOptions,
1190
- unstyled: n(t).unstyled ?? !1,
1123
+ id: l(t).id,
1124
+ modelValue: l(t)._value,
1125
+ "onUpdate:modelValue": r[0] || (r[0] = (p) => l(t)._value = p),
1126
+ disabled: l(e)._disabled ?? !1,
1127
+ readonly: l(e)._readonly ?? !1,
1128
+ "editor-style": l(e).style,
1129
+ class: g(l(s)),
1130
+ tabindex: l(e).tabindex,
1131
+ "aria-label": l(e).ariaLabel,
1132
+ "aria-labelledby": l(e).ariaLabelledby,
1133
+ placeholder: l(e).placeholder,
1134
+ mask: l(e).mask ?? void 0,
1135
+ "slot-char": l(e).slotChar ?? "_",
1136
+ "auto-clear": l(e).autoClear ?? !0,
1137
+ unmask: l(e).unmask ?? !1,
1138
+ pt: l(e).pt,
1139
+ "pt-options": l(e).ptOptions,
1140
+ unstyled: l(e).unstyled ?? !1,
1191
1141
  onBlur: i
1192
1142
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "editor-style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "mask", "slot-char", "auto-clear", "unmask", "pt", "pt-options", "unstyled"])
1193
1143
  ]);
1194
1144
  };
1195
1145
  }
1196
- }), Kt = /* @__PURE__ */ b({
1146
+ }), Ht = { class: "p-formkit" }, qt = /* @__PURE__ */ b({
1197
1147
  __name: "PrimeInputNumber",
1198
1148
  props: {
1199
1149
  context: Object
1200
1150
  },
1201
1151
  setup(a) {
1202
- const e = a.context, t = e == null ? void 0 : e.attrs;
1152
+ const t = a.context, e = t == null ? void 0 : t.attrs;
1203
1153
  function i(r) {
1204
- e == null || e.handlers.blur(r.value);
1154
+ t == null || t.handlers.blur(r.value);
1205
1155
  }
1206
1156
  function s(r) {
1207
- e == null || e.node.input(r.value);
1157
+ t == null || t.node.input(r.value);
1208
1158
  }
1209
- const o = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
1159
+ const o = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
1210
1160
  return (r, u) => {
1211
1161
  const p = y("InputNumber");
1212
- return f(), c("div", null, [
1162
+ return f(), c("div", Ht, [
1213
1163
  _(p, {
1214
- modelValue: n(e)._value,
1215
- "onUpdate:modelValue": u[0] || (u[0] = (m) => n(e)._value = m),
1216
- "input-id": n(e).id,
1217
- disabled: n(t)._disabled ?? !1,
1218
- readonly: n(t)._readonly ?? !1,
1219
- "input-style": n(t).style,
1220
- "input-class": n(o),
1221
- tabindex: n(t).tabindex,
1222
- "aria-label": n(t).ariaLabel,
1223
- "aria-labelledby": n(t).ariaLabelledby,
1224
- placeholder: n(t).placeholder,
1225
- "use-grouping": n(t).useGrouping ?? !0,
1226
- "min-fraction-digits": n(t).minFractionDigits ?? void 0,
1227
- "max-fraction-digits": n(t).maxFractionDigits ?? void 0,
1228
- locale: n(t).locale ?? void 0,
1229
- mode: n(t).mode ?? void 0,
1230
- currency: n(t).currency ?? void 0,
1231
- prefix: n(t).prefix ?? void 0,
1232
- suffix: n(t).suffix ?? void 0,
1233
- "show-buttons": n(t).showButtons ?? void 0,
1234
- "button-layout": n(t).buttonLayout ?? "stacked",
1235
- step: n(t).step ?? void 0,
1236
- pt: n(t).pt,
1237
- "pt-options": n(t).ptOptions,
1238
- unstyled: n(t).unstyled ?? !1,
1164
+ modelValue: l(t)._value,
1165
+ "onUpdate:modelValue": u[0] || (u[0] = (m) => l(t)._value = m),
1166
+ "input-id": l(t).id,
1167
+ disabled: l(e)._disabled ?? !1,
1168
+ readonly: l(e)._readonly ?? !1,
1169
+ "input-style": l(e).style,
1170
+ "input-class": l(o),
1171
+ tabindex: l(e).tabindex,
1172
+ "aria-label": l(e).ariaLabel,
1173
+ "aria-labelledby": l(e).ariaLabelledby,
1174
+ placeholder: l(e).placeholder,
1175
+ "use-grouping": l(e).useGrouping ?? !0,
1176
+ "min-fraction-digits": l(e).minFractionDigits ?? void 0,
1177
+ "max-fraction-digits": l(e).maxFractionDigits ?? void 0,
1178
+ locale: l(e).locale ?? void 0,
1179
+ mode: l(e).mode ?? void 0,
1180
+ currency: l(e).currency ?? void 0,
1181
+ prefix: l(e).prefix ?? void 0,
1182
+ suffix: l(e).suffix ?? void 0,
1183
+ "show-buttons": l(e).showButtons ?? void 0,
1184
+ "button-layout": l(e).buttonLayout ?? "stacked",
1185
+ step: l(e).step ?? void 0,
1186
+ pt: l(e).pt,
1187
+ "pt-options": l(e).ptOptions,
1188
+ unstyled: l(e).unstyled ?? !1,
1239
1189
  onInput: s,
1240
1190
  onBlur: i
1241
1191
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "use-grouping", "min-fraction-digits", "max-fraction-digits", "locale", "mode", "currency", "prefix", "suffix", "show-buttons", "button-layout", "step", "pt", "pt-options", "unstyled"])
1242
1192
  ]);
1243
1193
  };
1244
1194
  }
1245
- }), xt = {
1195
+ }), Wt = {
1246
1196
  key: 0,
1247
1197
  class: "formkit-prime-left"
1248
- }, Zt = {
1198
+ }, Yt = {
1249
1199
  key: 1,
1250
1200
  class: "formkit-prime-right"
1251
- }, Ht = /* @__PURE__ */ b({
1201
+ }, Jt = /* @__PURE__ */ b({
1252
1202
  __name: "PrimeInputSwitch",
1253
1203
  props: {
1254
1204
  context: Object
1255
1205
  },
1256
1206
  setup(a) {
1257
- const l = a, e = l.context, t = e == null ? void 0 : e.attrs;
1207
+ const n = a, t = n.context, e = t == null ? void 0 : t.attrs;
1258
1208
  function i(o) {
1259
1209
  var r;
1260
- e == null || e.node.input((r = l.context) == null ? void 0 : r._value);
1210
+ t == null || t.node.input((r = n.context) == null ? void 0 : r._value);
1261
1211
  }
1262
- const s = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
1212
+ const s = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
1263
1213
  return (o, r) => {
1264
1214
  const u = y("InputSwitch");
1265
1215
  return f(), c("div", {
1266
- class: g(n(t).option_class)
1216
+ class: g([l(e).option_class, "p-formkit"])
1267
1217
  }, [
1268
- n(e).attrs.labelLeft ? (f(), c("span", xt, k(n(e).attrs.labelLeft), 1)) : w("", !0),
1218
+ l(t).attrs.labelLeft ? (f(), c("span", Wt, w(l(t).attrs.labelLeft), 1)) : k("", !0),
1269
1219
  _(u, {
1270
- modelValue: n(e)._value,
1271
- "onUpdate:modelValue": r[0] || (r[0] = (p) => n(e)._value = p),
1272
- "input-id": n(e).id,
1273
- disabled: n(t)._disabled ?? !1,
1274
- readonly: n(t)._readonly ?? !1,
1275
- "input-style": n(t).style,
1276
- "input-class": n(s),
1277
- tabindex: n(t).tabindex,
1278
- "aria-label": n(t).ariaLabel,
1279
- "aria-labelledby": n(t).ariaLabelledby,
1280
- "true-value": n(t).trueValue ?? void 0,
1281
- "false-value": n(t).falseValue ?? void 0,
1282
- pt: n(t).pt,
1283
- "pt-options": n(t).ptOptions,
1284
- unstyled: n(t).unstyled ?? !1,
1220
+ modelValue: l(t)._value,
1221
+ "onUpdate:modelValue": r[0] || (r[0] = (p) => l(t)._value = p),
1222
+ "input-id": l(t).id,
1223
+ disabled: l(e)._disabled ?? !1,
1224
+ readonly: l(e)._readonly ?? !1,
1225
+ "input-style": l(e).style,
1226
+ "input-class": l(s),
1227
+ tabindex: l(e).tabindex,
1228
+ "aria-label": l(e).ariaLabel,
1229
+ "aria-labelledby": l(e).ariaLabelledby,
1230
+ "true-value": l(e).trueValue ?? void 0,
1231
+ "false-value": l(e).falseValue ?? void 0,
1232
+ pt: l(e).pt,
1233
+ "pt-options": l(e).ptOptions,
1234
+ unstyled: l(e).unstyled ?? !1,
1285
1235
  onInput: i
1286
1236
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "true-value", "false-value", "pt", "pt-options", "unstyled"]),
1287
- n(e).attrs.labelRight ? (f(), c("span", Zt, k(n(e).attrs.labelRight), 1)) : w("", !0)
1237
+ l(t).attrs.labelRight ? (f(), c("span", Yt, w(l(t).attrs.labelRight), 1)) : k("", !0)
1288
1238
  ], 2);
1289
1239
  };
1290
1240
  }
1291
- }), Wt = /* @__PURE__ */ b({
1241
+ }), Qt = { class: "p-formkit" }, Xt = /* @__PURE__ */ b({
1292
1242
  __name: "PrimeInputText",
1293
1243
  props: {
1294
1244
  context: Object
1295
1245
  },
1296
1246
  setup(a) {
1297
- const e = a.context, t = e == null ? void 0 : e.attrs;
1247
+ const t = a.context, e = t == null ? void 0 : t.attrs;
1298
1248
  function i() {
1299
- return (e == null ? void 0 : e.iconLeft) && (e == null ? void 0 : e.iconLeft.length) > 0;
1249
+ return (t == null ? void 0 : t.iconLeft) && (t == null ? void 0 : t.iconLeft.length) > 0;
1300
1250
  }
1301
1251
  function s() {
1302
- return (e == null ? void 0 : e.iconRight) && (e == null ? void 0 : e.iconRight.length) > 0;
1252
+ return (t == null ? void 0 : t.iconRight) && (t == null ? void 0 : t.iconRight.length) > 0;
1303
1253
  }
1304
1254
  function o() {
1305
1255
  let m = "";
1306
1256
  return i() && (m = `${m}p-input-icon-left `), s() && (m = `${m}p-input-icon-right `), m;
1307
1257
  }
1308
1258
  function r(m) {
1309
- e == null || e.handlers.blur(m.target.value);
1259
+ t == null || t.handlers.blur(m.target.value);
1310
1260
  }
1311
1261
  function u(m) {
1312
- e == null || e.node.input(m.target.value);
1262
+ t == null || t.node.input(m.target.value);
1313
1263
  }
1314
- const p = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
1264
+ const p = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
1315
1265
  return (m, I) => {
1316
- const oe = y("InputText");
1317
- return f(), c("div", null, [
1318
- X("span", {
1266
+ const se = y("InputText");
1267
+ return f(), c("div", Qt, [
1268
+ W("span", {
1319
1269
  class: g(o())
1320
1270
  }, [
1321
1271
  i() ? (f(), c("i", {
1322
1272
  key: 0,
1323
- class: g(n(e).iconLeft)
1324
- }, null, 2)) : w("", !0),
1325
- _(oe, {
1326
- id: n(e).id,
1327
- modelValue: n(e)._value,
1328
- "onUpdate:modelValue": I[0] || (I[0] = (ue) => n(e)._value = ue),
1329
- disabled: n(t)._disabled ?? !1,
1330
- readonly: n(t)._readonly ?? !1,
1331
- style: C(n(t).style),
1332
- class: g(n(p)),
1333
- tabindex: n(t).tabindex,
1334
- "aria-label": n(t).ariaLabel,
1335
- "aria-labelledby": n(t).ariaLabelledby,
1336
- placeholder: n(t).placeholder,
1337
- pt: n(t).pt,
1338
- "pt-options": n(t).ptOptions,
1339
- unstyled: n(t).unstyled ?? !1,
1273
+ class: g(l(t).iconLeft)
1274
+ }, null, 2)) : k("", !0),
1275
+ _(se, {
1276
+ id: l(t).id,
1277
+ modelValue: l(t)._value,
1278
+ "onUpdate:modelValue": I[0] || (I[0] = (re) => l(t)._value = re),
1279
+ disabled: l(e)._disabled ?? !1,
1280
+ readonly: l(e)._readonly ?? !1,
1281
+ style: C(l(e).style),
1282
+ class: g(l(p)),
1283
+ tabindex: l(e).tabindex,
1284
+ "aria-label": l(e).ariaLabel,
1285
+ "aria-labelledby": l(e).ariaLabelledby,
1286
+ placeholder: l(e).placeholder,
1287
+ pt: l(e).pt,
1288
+ "pt-options": l(e).ptOptions,
1289
+ unstyled: l(e).unstyled ?? !1,
1340
1290
  onInput: u,
1341
1291
  onBlur: r
1342
1292
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "pt", "pt-options", "unstyled"]),
1343
1293
  s ? (f(), c("i", {
1344
1294
  key: 1,
1345
- class: g(n(e).iconRight)
1346
- }, null, 2)) : w("", !0)
1295
+ class: g(l(t).iconRight)
1296
+ }, null, 2)) : k("", !0)
1347
1297
  ], 2)
1348
1298
  ]);
1349
1299
  };
1350
1300
  }
1351
- }), Yt = /* @__PURE__ */ b({
1301
+ }), Gt = { class: "p-formkit" }, ea = /* @__PURE__ */ b({
1352
1302
  __name: "PrimeTextarea",
1353
1303
  props: {
1354
1304
  context: Object
1355
1305
  },
1356
1306
  setup(a) {
1357
- const e = a.context, t = e == null ? void 0 : e.attrs;
1307
+ const t = a.context, e = t == null ? void 0 : t.attrs;
1358
1308
  function i(r) {
1359
- e == null || e.handlers.blur(r.target.value);
1309
+ t == null || t.handlers.blur(r.target.value);
1360
1310
  }
1361
1311
  function s(r) {
1362
- e == null || e.node.input(r.target.value);
1312
+ t == null || t.node.input(r.target.value);
1363
1313
  }
1364
- const o = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
1314
+ const o = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
1365
1315
  return (r, u) => {
1366
1316
  const p = y("Textarea");
1367
- return f(), c("div", null, [
1317
+ return f(), c("div", Gt, [
1368
1318
  _(p, {
1369
- id: n(e).id,
1370
- modelValue: n(e)._value,
1371
- "onUpdate:modelValue": u[0] || (u[0] = (m) => n(e)._value = m),
1372
- disabled: n(t)._disabled ?? !1,
1373
- readonly: n(t)._readonly ?? !1,
1374
- style: C(n(t).style),
1375
- class: g(n(o)),
1376
- tabindex: n(t).tabindex,
1377
- "aria-label": n(t).ariaLabel,
1378
- "aria-labelledby": n(t).ariaLabelledby,
1379
- placeholder: n(t).placeholder,
1380
- rows: n(e).rows ?? 3,
1381
- pt: n(t).pt,
1382
- "pt-options": n(t).ptOptions,
1383
- unstyled: n(t).unstyled ?? !1,
1319
+ id: l(t).id,
1320
+ modelValue: l(t)._value,
1321
+ "onUpdate:modelValue": u[0] || (u[0] = (m) => l(t)._value = m),
1322
+ disabled: l(e)._disabled ?? !1,
1323
+ readonly: l(e)._readonly ?? !1,
1324
+ style: C(l(e).style),
1325
+ class: g(l(o)),
1326
+ tabindex: l(e).tabindex,
1327
+ "aria-label": l(e).ariaLabel,
1328
+ "aria-labelledby": l(e).ariaLabelledby,
1329
+ placeholder: l(e).placeholder,
1330
+ rows: l(t).rows ?? 3,
1331
+ pt: l(e).pt,
1332
+ "pt-options": l(e).ptOptions,
1333
+ unstyled: l(e).unstyled ?? !1,
1384
1334
  onInput: s,
1385
1335
  onBlur: i
1386
1336
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "rows", "pt", "pt-options", "unstyled"])
1387
1337
  ]);
1388
1338
  };
1389
1339
  }
1390
- }), qt = /* @__PURE__ */ b({
1340
+ }), ta = { class: "p-formkit" }, aa = /* @__PURE__ */ b({
1391
1341
  __name: "PrimeKnob",
1392
1342
  props: {
1393
1343
  context: Object
1394
1344
  },
1395
1345
  setup(a) {
1396
- const e = a.context, t = e == null ? void 0 : e.attrs;
1346
+ const t = a.context, e = t == null ? void 0 : t.attrs;
1397
1347
  function i(r) {
1398
- e == null || e.node.input(r), e == null || e.handlers.blur(r);
1348
+ t == null || t.node.input(r), t == null || t.handlers.blur(r);
1399
1349
  }
1400
1350
  function s(r) {
1401
- e == null || e.node.input(r);
1351
+ t == null || t.node.input(r);
1402
1352
  }
1403
- const o = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
1353
+ const o = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
1404
1354
  return (r, u) => {
1405
1355
  const p = y("Knob");
1406
- return f(), c("div", null, [
1356
+ return f(), c("div", ta, [
1407
1357
  _(p, {
1408
- id: n(e).id,
1409
- modelValue: n(e)._value,
1358
+ id: l(t).id,
1359
+ modelValue: l(t)._value,
1410
1360
  "onUpdate:modelValue": [
1411
- u[0] || (u[0] = (m) => n(e)._value = m),
1361
+ u[0] || (u[0] = (m) => l(t)._value = m),
1412
1362
  s
1413
1363
  ],
1414
- disabled: n(t)._disabled ?? !1,
1415
- readonly: n(t)._readonly ?? !1,
1416
- style: C(n(t).style),
1417
- class: g(n(o)),
1418
- tabindex: n(t).tabindex,
1419
- "aria-label": n(t).ariaLabel,
1420
- "aria-labelledby": n(t).ariaLabelledby,
1421
- min: n(t).min ?? 0,
1422
- max: n(t).max ?? 100,
1423
- step: n(t).step ?? void 0,
1424
- size: n(t).size ?? 100,
1425
- "stroke-width": n(t).strokeWidth ?? 14,
1426
- "show-value": n(t).showValue ?? !0,
1427
- "value-color": n(t).valueColor ?? void 0,
1428
- "range-color": n(t).rangeColor ?? void 0,
1429
- "text-color": n(t).textColor ?? void 0,
1430
- "value-template": n(t).valueTemplate ?? void 0,
1431
- pt: n(t).pt,
1432
- "pt-options": n(t).ptOptions,
1433
- unstyled: n(t).unstyled ?? !1,
1364
+ disabled: l(e)._disabled ?? !1,
1365
+ readonly: l(e)._readonly ?? !1,
1366
+ style: C(l(e).style),
1367
+ class: g(l(o)),
1368
+ tabindex: l(e).tabindex,
1369
+ "aria-label": l(e).ariaLabel,
1370
+ "aria-labelledby": l(e).ariaLabelledby,
1371
+ min: l(e).min ?? 0,
1372
+ max: l(e).max ?? 100,
1373
+ step: l(e).step ?? void 0,
1374
+ size: l(e).size ?? 100,
1375
+ "stroke-width": l(e).strokeWidth ?? 14,
1376
+ "show-value": l(e).showValue ?? !0,
1377
+ "value-color": l(e).valueColor ?? void 0,
1378
+ "range-color": l(e).rangeColor ?? void 0,
1379
+ "text-color": l(e).textColor ?? void 0,
1380
+ "value-template": l(e).valueTemplate ?? void 0,
1381
+ pt: l(e).pt,
1382
+ "pt-options": l(e).ptOptions,
1383
+ unstyled: l(e).unstyled ?? !1,
1434
1384
  onChange: i
1435
1385
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "min", "max", "step", "size", "stroke-width", "show-value", "value-color", "range-color", "text-color", "value-template", "pt", "pt-options", "unstyled"])
1436
1386
  ]);
1437
1387
  };
1438
1388
  }
1439
- }), Jt = /* @__PURE__ */ b({
1389
+ }), la = { class: "p-formkit" }, na = /* @__PURE__ */ b({
1440
1390
  __name: "PrimeMultiSelect",
1441
1391
  props: {
1442
1392
  context: Object
1443
1393
  },
1444
1394
  setup(a) {
1445
- const l = a, e = l.context, t = e == null ? void 0 : e.attrs;
1395
+ const n = a, t = n.context, e = t == null ? void 0 : t.attrs;
1446
1396
  function i(o) {
1447
1397
  var r;
1448
- e == null || e.node.input((r = l.context) == null ? void 0 : r._value);
1398
+ t == null || t.node.input((r = n.context) == null ? void 0 : r._value);
1449
1399
  }
1450
- const s = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
1400
+ const s = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
1451
1401
  return (o, r) => {
1452
1402
  const u = y("MultiSelect");
1453
- return f(), c("div", null, [
1403
+ return f(), c("div", la, [
1454
1404
  _(u, {
1455
- modelValue: n(e)._value,
1456
- "onUpdate:modelValue": r[0] || (r[0] = (p) => n(e)._value = p),
1457
- "input-id": n(e).id,
1458
- disabled: n(t)._disabled ?? !1,
1459
- readonly: n(t)._readonly ?? !1,
1460
- "list-style": n(t).style,
1461
- class: g(n(s)),
1462
- tabindex: n(t).tabindex,
1463
- "aria-label": n(t).ariaLabel,
1464
- "aria-labelledby": n(t).ariaLabelledby,
1465
- options: n(t).options,
1466
- "option-label": n(t).optionLabel ?? "label",
1467
- "option-value": n(t).optionValue ?? "value",
1468
- filter: n(t).filter ?? !1,
1469
- pt: n(t).pt,
1470
- "pt-options": n(t).ptOptions,
1471
- unstyled: n(t).unstyled ?? !1,
1405
+ modelValue: l(t)._value,
1406
+ "onUpdate:modelValue": r[0] || (r[0] = (p) => l(t)._value = p),
1407
+ "input-id": l(t).id,
1408
+ disabled: l(e)._disabled ?? !1,
1409
+ readonly: l(e)._readonly ?? !1,
1410
+ "list-style": l(e).style,
1411
+ class: g(l(s)),
1412
+ tabindex: l(e).tabindex,
1413
+ "aria-label": l(e).ariaLabel,
1414
+ "aria-labelledby": l(e).ariaLabelledby,
1415
+ options: l(e).options,
1416
+ "option-label": l(e).optionLabel ?? "label",
1417
+ "option-value": l(e).optionValue ?? "value",
1418
+ filter: l(e).filter ?? !1,
1419
+ pt: l(e).pt,
1420
+ "pt-options": l(e).ptOptions,
1421
+ unstyled: l(e).unstyled ?? !1,
1472
1422
  onChange: i
1473
1423
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "list-style", "class", "tabindex", "aria-label", "aria-labelledby", "options", "option-label", "option-value", "filter", "pt", "pt-options", "unstyled"])
1474
1424
  ]);
1475
1425
  };
1476
1426
  }
1477
- }), Qt = /* @__PURE__ */ b({
1427
+ }), ia = { class: "p-formkit" }, sa = /* @__PURE__ */ b({
1478
1428
  __name: "PrimeListbox",
1479
1429
  props: {
1480
1430
  context: Object
1481
1431
  },
1482
1432
  setup(a) {
1483
- const l = a, e = l.context, t = e == null ? void 0 : e.attrs;
1433
+ const n = a, t = n.context, e = t == null ? void 0 : t.attrs;
1484
1434
  function i(o) {
1485
1435
  var r;
1486
- e == null || e.node.input((r = l.context) == null ? void 0 : r._value);
1436
+ t == null || t.node.input((r = n.context) == null ? void 0 : r._value);
1487
1437
  }
1488
- const s = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
1438
+ const s = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
1489
1439
  return (o, r) => {
1490
1440
  var p;
1491
1441
  const u = y("Listbox");
1492
- return f(), c("div", null, [
1442
+ return f(), c("div", ia, [
1493
1443
  _(u, {
1494
- id: n(e).id,
1495
- modelValue: n(e)._value,
1496
- "onUpdate:modelValue": r[0] || (r[0] = (m) => n(e)._value = m),
1497
- disabled: n(t)._disabled ?? !1,
1498
- readonly: n(t)._readonly ?? !1,
1499
- "list-style": n(t).style,
1500
- class: g(n(s)),
1501
- tabindex: n(t).tabindex,
1502
- "aria-label": n(t).ariaLabel,
1503
- "aria-labelledby": n(t).ariaLabelledby,
1504
- options: (p = n(t)) == null ? void 0 : p.options,
1505
- "option-label": n(t).optionLabel ?? "label",
1506
- "option-value": n(t).optionValue ?? "value",
1507
- multiple: n(t).multiple ?? !1,
1508
- filter: n(t).filter ?? !1,
1509
- "filter-icon": n(t).filterIcon,
1510
- "filter-placeholder": n(t).filterPlaceholder,
1511
- "filter-locale": n(t).filterLocale,
1512
- "filter-match-mode": n(t).filterMatchMode,
1513
- "auto-option-focus": n(t).autoOptionFocus ?? !0,
1514
- "select-on-focus": n(t).selectOnFocus ?? !1,
1515
- pt: n(t).pt,
1516
- "pt-options": n(t).ptOptions,
1517
- unstyled: n(t).unstyled ?? !1,
1444
+ id: l(t).id,
1445
+ modelValue: l(t)._value,
1446
+ "onUpdate:modelValue": r[0] || (r[0] = (m) => l(t)._value = m),
1447
+ disabled: l(e)._disabled ?? !1,
1448
+ readonly: l(e)._readonly ?? !1,
1449
+ "list-style": l(e).style,
1450
+ class: g(l(s)),
1451
+ tabindex: l(e).tabindex,
1452
+ "aria-label": l(e).ariaLabel,
1453
+ "aria-labelledby": l(e).ariaLabelledby,
1454
+ options: (p = l(e)) == null ? void 0 : p.options,
1455
+ "option-label": l(e).optionLabel ?? "label",
1456
+ "option-value": l(e).optionValue ?? "value",
1457
+ multiple: l(e).multiple ?? !1,
1458
+ filter: l(e).filter ?? !1,
1459
+ "filter-icon": l(e).filterIcon,
1460
+ "filter-placeholder": l(e).filterPlaceholder,
1461
+ "filter-locale": l(e).filterLocale,
1462
+ "filter-match-mode": l(e).filterMatchMode,
1463
+ "auto-option-focus": l(e).autoOptionFocus ?? !0,
1464
+ "select-on-focus": l(e).selectOnFocus ?? !1,
1465
+ pt: l(e).pt,
1466
+ "pt-options": l(e).ptOptions,
1467
+ unstyled: l(e).unstyled ?? !1,
1518
1468
  onChange: i
1519
1469
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "list-style", "class", "tabindex", "aria-label", "aria-labelledby", "options", "option-label", "option-value", "multiple", "filter", "filter-icon", "filter-placeholder", "filter-locale", "filter-match-mode", "auto-option-focus", "select-on-focus", "pt", "pt-options", "unstyled"])
1520
1470
  ]);
1521
1471
  };
1522
1472
  }
1523
- }), Xt = /* @__PURE__ */ b({
1473
+ }), ra = { class: "p-formkit" }, oa = /* @__PURE__ */ b({
1524
1474
  __name: "PrimePassword",
1525
1475
  props: {
1526
1476
  context: Object
1527
1477
  },
1528
1478
  setup(a) {
1529
- const e = a.context, t = e == null ? void 0 : e.attrs;
1479
+ const t = a.context, e = t == null ? void 0 : t.attrs;
1530
1480
  function i(r) {
1531
- e == null || e.handlers.blur(r.target.value);
1481
+ t == null || t.handlers.blur(r.target.value);
1532
1482
  }
1533
1483
  function s(r) {
1534
- e == null || e.node.input(r.target.value);
1484
+ t == null || t.node.input(r.target.value);
1535
1485
  }
1536
- const o = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
1486
+ const o = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
1537
1487
  return (r, u) => {
1538
1488
  const p = y("Password");
1539
- return f(), c("div", null, [
1489
+ return f(), c("div", ra, [
1540
1490
  _(p, {
1541
- modelValue: n(e)._value,
1542
- "onUpdate:modelValue": u[0] || (u[0] = (m) => n(e)._value = m),
1543
- "input-id": n(e).id,
1544
- disabled: n(t)._disabled ?? !1,
1545
- readonly: n(t)._readonly ?? !1,
1546
- "input-style": n(t).style,
1547
- "input-class": n(o),
1548
- tabindex: n(t).tabindex,
1549
- "aria-label": n(t).ariaLabel,
1550
- "aria-labelledby": n(t).ariaLabelledby,
1551
- placeholder: n(t).placeholder,
1552
- "medium-regex": n(t).mediumRegex ?? "^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})",
1553
- "strong-regex": n(t).strongRegex ?? "^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})",
1554
- "prompt-label": n(t).promptLabel,
1555
- "weak-label": n(t).weakLabel,
1556
- "medium-label": n(t).mediumLabel,
1557
- "strong-label": n(t).strongLabel,
1558
- "hide-icon": n(t).hideIcon ?? "pi pi-eye-slash",
1559
- "show-icon": n(t).showIcon ?? "pi pi-eye",
1560
- feedback: n(e).feedback ?? !1,
1561
- "toggle-mask": n(e).toggleMask ?? !1,
1562
- pt: n(t).pt,
1563
- "pt-options": n(t).ptOptions,
1564
- unstyled: n(t).unstyled ?? !1,
1491
+ modelValue: l(t)._value,
1492
+ "onUpdate:modelValue": u[0] || (u[0] = (m) => l(t)._value = m),
1493
+ "input-id": l(t).id,
1494
+ disabled: l(e)._disabled ?? !1,
1495
+ readonly: l(e)._readonly ?? !1,
1496
+ "input-style": l(e).style,
1497
+ "input-class": l(o),
1498
+ tabindex: l(e).tabindex,
1499
+ "aria-label": l(e).ariaLabel,
1500
+ "aria-labelledby": l(e).ariaLabelledby,
1501
+ placeholder: l(e).placeholder,
1502
+ "medium-regex": l(e).mediumRegex ?? "^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})",
1503
+ "strong-regex": l(e).strongRegex ?? "^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})",
1504
+ "prompt-label": l(e).promptLabel,
1505
+ "weak-label": l(e).weakLabel,
1506
+ "medium-label": l(e).mediumLabel,
1507
+ "strong-label": l(e).strongLabel,
1508
+ "hide-icon": l(e).hideIcon ?? "pi pi-eye-slash",
1509
+ "show-icon": l(e).showIcon ?? "pi pi-eye",
1510
+ feedback: l(t).feedback ?? !1,
1511
+ "toggle-mask": l(t).toggleMask ?? !1,
1512
+ pt: l(e).pt,
1513
+ "pt-options": l(e).ptOptions,
1514
+ unstyled: l(e).unstyled ?? !1,
1565
1515
  onInput: s,
1566
1516
  onBlur: i
1567
1517
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "placeholder", "medium-regex", "strong-regex", "prompt-label", "weak-label", "medium-label", "strong-label", "hide-icon", "show-icon", "feedback", "toggle-mask", "pt", "pt-options", "unstyled"])
1568
1518
  ]);
1569
1519
  };
1570
1520
  }
1571
- }), Gt = ["for"], ea = /* @__PURE__ */ b({
1521
+ }), ua = ["for"], pa = /* @__PURE__ */ b({
1572
1522
  __name: "PrimeRadioButton",
1573
1523
  props: {
1574
1524
  context: Object
1575
1525
  },
1576
1526
  setup(a) {
1577
- const l = a, e = l.context, t = e == null ? void 0 : e.attrs;
1527
+ const n = a, t = n.context, e = t == null ? void 0 : t.attrs;
1578
1528
  function i(o) {
1579
1529
  var r;
1580
- e == null || e.node.input((r = l.context) == null ? void 0 : r._value);
1530
+ t == null || t.node.input((r = n.context) == null ? void 0 : r._value);
1581
1531
  }
1582
- const s = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
1532
+ const s = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
1583
1533
  return (o, r) => {
1584
1534
  const u = y("RadioButton");
1585
1535
  return f(), c("div", {
1586
- class: g(n(t).options_class)
1536
+ class: g([l(e).options_class, "p-formkit"])
1587
1537
  }, [
1588
- (f(!0), c(fe, null, ce(n(t).options, (p) => (f(), c("div", {
1538
+ (f(!0), c(pe, null, de(l(e).options, (p) => (f(), c("div", {
1589
1539
  key: p.value,
1590
- class: g(n(t).option_class)
1540
+ class: g(l(e).option_class)
1591
1541
  }, [
1592
1542
  _(u, {
1593
- modelValue: n(e)._value,
1594
- "onUpdate:modelValue": r[0] || (r[0] = (m) => n(e)._value = m),
1595
- name: n(t).name,
1543
+ modelValue: l(t)._value,
1544
+ "onUpdate:modelValue": r[0] || (r[0] = (m) => l(t)._value = m),
1545
+ name: l(e).name,
1596
1546
  value: p.value,
1597
- "input-style": n(t).style,
1598
- "input-class": n(s),
1599
- pt: n(t).pt,
1600
- "pt-options": n(t).ptOptions,
1601
- unstyled: n(t).unstyled ?? !1,
1547
+ "input-style": l(e).style,
1548
+ "input-class": l(s),
1549
+ pt: l(e).pt,
1550
+ "pt-options": l(e).ptOptions,
1551
+ unstyled: l(e).unstyled ?? !1,
1602
1552
  onClick: i,
1603
1553
  onChange: i
1604
1554
  }, null, 8, ["modelValue", "name", "value", "input-style", "input-class", "pt", "pt-options", "unstyled"]),
1605
- X("label", {
1555
+ W("label", {
1606
1556
  for: p.value
1607
- }, k(p.label), 9, Gt)
1557
+ }, w(p.label), 9, ua)
1608
1558
  ], 2))), 128))
1609
1559
  ], 2);
1610
1560
  };
1611
1561
  }
1612
- }), ta = /* @__PURE__ */ b({
1562
+ }), da = { class: "p-formkit" }, fa = /* @__PURE__ */ b({
1613
1563
  __name: "PrimeRating",
1614
1564
  props: {
1615
1565
  context: Object
1616
1566
  },
1617
1567
  setup(a) {
1618
- const l = a, e = l.context, t = e == null ? void 0 : e.attrs;
1568
+ const n = a, t = n.context, e = t == null ? void 0 : t.attrs;
1619
1569
  function i(o) {
1620
1570
  var r;
1621
- e == null || e.node.input((r = l.context) == null ? void 0 : r._value);
1571
+ t == null || t.node.input((r = n.context) == null ? void 0 : r._value);
1622
1572
  }
1623
- const s = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
1573
+ const s = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
1624
1574
  return (o, r) => {
1625
1575
  const u = y("Rating");
1626
- return f(), c("div", null, [
1576
+ return f(), c("div", da, [
1627
1577
  _(u, {
1628
- id: n(e).id,
1629
- modelValue: n(e)._value,
1630
- "onUpdate:modelValue": r[0] || (r[0] = (p) => n(e)._value = p),
1631
- disabled: n(t)._disabled ?? !1,
1632
- readonly: n(t)._readonly ?? !1,
1633
- style: C(n(t).style),
1634
- class: g(n(s)),
1635
- tabindex: n(t).tabindex,
1636
- "aria-label": n(t).ariaLabel,
1637
- "aria-labelledby": n(t).ariaLabelledby,
1638
- stars: n(t).stars ?? 5,
1639
- cancel: n(t).cancel ?? !1,
1640
- "on-icon": n(t).onIcon ?? "pi pi-star-fill",
1641
- "off-icon": n(t).offIcon ?? "pi pi-star",
1642
- "cancel-icon": n(t).cancelIcon ?? "pi pi-ban",
1643
- pt: n(t).pt,
1644
- "pt-options": n(t).ptOptions,
1645
- unstyled: n(t).unstyled ?? !1,
1578
+ id: l(t).id,
1579
+ modelValue: l(t)._value,
1580
+ "onUpdate:modelValue": r[0] || (r[0] = (p) => l(t)._value = p),
1581
+ disabled: l(e)._disabled ?? !1,
1582
+ readonly: l(e)._readonly ?? !1,
1583
+ style: C(l(e).style),
1584
+ class: g(l(s)),
1585
+ tabindex: l(e).tabindex,
1586
+ "aria-label": l(e).ariaLabel,
1587
+ "aria-labelledby": l(e).ariaLabelledby,
1588
+ stars: l(e).stars ?? 5,
1589
+ cancel: l(e).cancel ?? !1,
1590
+ "on-icon": l(e).onIcon ?? "pi pi-star-fill",
1591
+ "off-icon": l(e).offIcon ?? "pi pi-star",
1592
+ "cancel-icon": l(e).cancelIcon ?? "pi pi-ban",
1593
+ pt: l(e).pt,
1594
+ "pt-options": l(e).ptOptions,
1595
+ unstyled: l(e).unstyled ?? !1,
1646
1596
  onChange: i
1647
1597
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "stars", "cancel", "on-icon", "off-icon", "cancel-icon", "pt", "pt-options", "unstyled"])
1648
1598
  ]);
1649
1599
  };
1650
1600
  }
1651
- }), aa = /* @__PURE__ */ b({
1601
+ }), ca = { class: "p-formkit" }, ma = /* @__PURE__ */ b({
1652
1602
  __name: "PrimeSlider",
1653
1603
  props: {
1654
1604
  context: Object
1655
1605
  },
1656
1606
  setup(a) {
1657
- const e = a.context, t = e == null ? void 0 : e.attrs;
1607
+ const t = a.context, e = t == null ? void 0 : t.attrs;
1658
1608
  function i(o) {
1659
- e == null || e.node.input(o), e == null || e.handlers.blur(o);
1609
+ t == null || t.node.input(o), t == null || t.handlers.blur(o);
1660
1610
  }
1661
- const s = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
1611
+ const s = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
1662
1612
  return (o, r) => {
1663
1613
  const u = y("Slider");
1664
- return f(), c("div", null, [
1614
+ return f(), c("div", ca, [
1665
1615
  _(u, {
1666
- id: n(e).id,
1667
- modelValue: n(e)._value,
1668
- "onUpdate:modelValue": r[0] || (r[0] = (p) => n(e)._value = p),
1669
- disabled: n(t)._disabled ?? !1,
1670
- readonly: n(t)._readonly ?? !1,
1671
- style: C(n(t).style),
1672
- class: g(n(s)),
1673
- tabindex: n(t).tabindex,
1674
- "aria-label": n(t).ariaLabel,
1675
- "aria-labelledby": n(t).ariaLabelledby,
1676
- min: n(t).min ?? 0,
1677
- max: n(t).max ?? 100,
1678
- step: n(t).step ?? void 0,
1679
- range: n(t).range ?? !1,
1680
- orientation: n(t).orientation ?? "horizontal",
1681
- pt: n(t).pt,
1682
- "pt-options": n(t).ptOptions,
1683
- unstyled: n(t).unstyled ?? !1,
1616
+ id: l(t).id,
1617
+ modelValue: l(t)._value,
1618
+ "onUpdate:modelValue": r[0] || (r[0] = (p) => l(t)._value = p),
1619
+ disabled: l(e)._disabled ?? !1,
1620
+ readonly: l(e)._readonly ?? !1,
1621
+ style: C(l(e).style),
1622
+ class: g(l(s)),
1623
+ tabindex: l(e).tabindex,
1624
+ "aria-label": l(e).ariaLabel,
1625
+ "aria-labelledby": l(e).ariaLabelledby,
1626
+ min: l(e).min ?? 0,
1627
+ max: l(e).max ?? 100,
1628
+ step: l(e).step ?? void 0,
1629
+ range: l(e).range ?? !1,
1630
+ orientation: l(e).orientation ?? "horizontal",
1631
+ pt: l(e).pt,
1632
+ "pt-options": l(e).ptOptions,
1633
+ unstyled: l(e).unstyled ?? !1,
1684
1634
  onChange: i
1685
1635
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "min", "max", "step", "range", "orientation", "pt", "pt-options", "unstyled"])
1686
1636
  ]);
1687
1637
  };
1688
1638
  }
1689
- }), na = /* @__PURE__ */ b({
1639
+ }), ba = { class: "p-formkit" }, ya = /* @__PURE__ */ b({
1690
1640
  __name: "PrimeToggleButton",
1691
1641
  props: {
1692
1642
  context: Object
1693
1643
  },
1694
1644
  setup(a) {
1695
- const l = a, e = l.context, t = e == null ? void 0 : e.attrs;
1645
+ const n = a, t = n.context, e = t == null ? void 0 : t.attrs;
1696
1646
  function i(o) {
1697
1647
  var r;
1698
- e == null || e.node.input((r = l.context) == null ? void 0 : r._value);
1648
+ t == null || t.node.input((r = n.context) == null ? void 0 : r._value);
1699
1649
  }
1700
- const s = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
1650
+ const s = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
1701
1651
  return (o, r) => {
1702
1652
  const u = y("ToggleButton");
1703
- return f(), c("div", null, [
1653
+ return f(), c("div", ba, [
1704
1654
  _(u, {
1705
- modelValue: n(e)._value,
1706
- "onUpdate:modelValue": r[0] || (r[0] = (p) => n(e)._value = p),
1707
- "input-id": n(e).id,
1708
- disabled: n(t)._disabled ?? !1,
1709
- readonly: n(t)._readonly ?? !1,
1710
- "input-style": n(t).style,
1711
- "input-class": n(s),
1712
- tabindex: n(t).tabindex,
1713
- "aria-label": n(t).ariaLabel,
1714
- "aria-labelledby": n(t).ariaLabelledby,
1715
- "on-label": n(t).onLabel ?? "Yes",
1716
- "off-label": n(t).offLabel ?? "No",
1717
- "on-icon": n(t).onIcon ?? "pi pi-check",
1718
- "off-icon": n(t).offIcon ?? "pi pi-times",
1719
- "icon-pos": n(t).iconPos ?? "left",
1720
- pt: n(t).pt,
1721
- "pt-options": n(t).ptOptions,
1722
- unstyled: n(t).unstyled ?? !1,
1655
+ modelValue: l(t)._value,
1656
+ "onUpdate:modelValue": r[0] || (r[0] = (p) => l(t)._value = p),
1657
+ "input-id": l(t).id,
1658
+ disabled: l(e)._disabled ?? !1,
1659
+ readonly: l(e)._readonly ?? !1,
1660
+ "input-style": l(e).style,
1661
+ "input-class": l(s),
1662
+ tabindex: l(e).tabindex,
1663
+ "aria-label": l(e).ariaLabel,
1664
+ "aria-labelledby": l(e).ariaLabelledby,
1665
+ "on-label": l(e).onLabel ?? "Yes",
1666
+ "off-label": l(e).offLabel ?? "No",
1667
+ "on-icon": l(e).onIcon ?? "pi pi-check",
1668
+ "off-icon": l(e).offIcon ?? "pi pi-times",
1669
+ "icon-pos": l(e).iconPos ?? "left",
1670
+ pt: l(e).pt,
1671
+ "pt-options": l(e).ptOptions,
1672
+ unstyled: l(e).unstyled ?? !1,
1723
1673
  onChange: i
1724
1674
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "on-label", "off-label", "on-icon", "off-icon", "icon-pos", "pt", "pt-options", "unstyled"])
1725
1675
  ]);
1726
1676
  };
1727
1677
  }
1728
- }), la = /* @__PURE__ */ b({
1678
+ }), _a = { class: "p-formkit" }, va = /* @__PURE__ */ b({
1729
1679
  __name: "PrimeSelectButton",
1730
1680
  props: {
1731
1681
  context: Object
1732
1682
  },
1733
1683
  setup(a) {
1734
- const l = a, e = l.context, t = e == null ? void 0 : e.attrs;
1684
+ const n = a, t = n.context, e = t == null ? void 0 : t.attrs;
1735
1685
  function i(o) {
1736
1686
  var r;
1737
- e == null || e.node.input((r = l.context) == null ? void 0 : r._value);
1687
+ t == null || t.node.input((r = n.context) == null ? void 0 : r._value);
1738
1688
  }
1739
- const s = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
1689
+ const s = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
1740
1690
  return (o, r) => {
1741
1691
  const u = y("SelectButton");
1742
- return f(), c("div", null, [
1692
+ return f(), c("div", _a, [
1743
1693
  _(u, {
1744
- id: n(e).id,
1745
- modelValue: n(e)._value,
1746
- "onUpdate:modelValue": r[0] || (r[0] = (p) => n(e)._value = p),
1747
- disabled: n(t)._disabled ?? !1,
1748
- readonly: n(t)._readonly ?? !1,
1749
- style: C(n(t).style),
1750
- class: g(n(s)),
1751
- tabindex: n(t).tabindex,
1752
- "aria-label": n(t).ariaLabel,
1753
- "aria-labelledby": n(t).ariaLabelledby,
1754
- options: n(t).options,
1755
- "option-label": n(t).optionLabel ?? "label",
1756
- "option-value": n(t).optionValue ?? "value",
1757
- "option-disabled": n(t).optionDisabled,
1758
- multiple: n(t).multiple ?? !1,
1759
- unselectable: n(t).unselectable ?? !0,
1760
- "data-key": n(t).dataKey,
1761
- pt: n(t).pt,
1762
- "pt-options": n(t).ptOptions,
1763
- unstyled: n(t).unstyled ?? !1,
1694
+ id: l(t).id,
1695
+ modelValue: l(t)._value,
1696
+ "onUpdate:modelValue": r[0] || (r[0] = (p) => l(t)._value = p),
1697
+ disabled: l(e)._disabled ?? !1,
1698
+ readonly: l(e)._readonly ?? !1,
1699
+ style: C(l(e).style),
1700
+ class: g(l(s)),
1701
+ tabindex: l(e).tabindex,
1702
+ "aria-label": l(e).ariaLabel,
1703
+ "aria-labelledby": l(e).ariaLabelledby,
1704
+ options: l(e).options,
1705
+ "option-label": l(e).optionLabel ?? "label",
1706
+ "option-value": l(e).optionValue ?? "value",
1707
+ "option-disabled": l(e).optionDisabled,
1708
+ multiple: l(e).multiple ?? !1,
1709
+ unselectable: l(e).unselectable ?? !0,
1710
+ "data-key": l(e).dataKey,
1711
+ pt: l(e).pt,
1712
+ "pt-options": l(e).ptOptions,
1713
+ unstyled: l(e).unstyled ?? !1,
1764
1714
  onChange: i
1765
1715
  }, null, 8, ["id", "modelValue", "disabled", "readonly", "style", "class", "tabindex", "aria-label", "aria-labelledby", "options", "option-label", "option-value", "option-disabled", "multiple", "unselectable", "data-key", "pt", "pt-options", "unstyled"])
1766
1716
  ]);
1767
1717
  };
1768
1718
  }
1769
- }), ia = {
1719
+ }), ha = { class: "p-formkit" }, ga = {
1770
1720
  key: 0,
1771
1721
  class: "formkit-prime-left"
1772
- }, sa = {
1722
+ }, $a = {
1773
1723
  key: 1,
1774
1724
  class: "formkit-prime-right"
1775
- }, ra = /* @__PURE__ */ b({
1725
+ }, ka = /* @__PURE__ */ b({
1776
1726
  __name: "PrimeTriStateCheckbox",
1777
1727
  props: {
1778
1728
  context: Object
1779
1729
  },
1780
1730
  setup(a) {
1781
- const l = a, e = l.context, t = e == null ? void 0 : e.attrs;
1731
+ const n = a, t = n.context, e = t == null ? void 0 : t.attrs;
1782
1732
  function i(o) {
1783
1733
  var r;
1784
- e == null || e.node.input((r = l.context) == null ? void 0 : r._value);
1734
+ t == null || t.node.input((r = n.context) == null ? void 0 : r._value);
1785
1735
  }
1786
- const s = h(() => e != null && e.state.validationVisible && !(e != null && e.state.valid) ? `${t == null ? void 0 : t.class} p-invalid` : t == null ? void 0 : t.class);
1736
+ const s = h(() => t != null && t.state.validationVisible && !(t != null && t.state.valid) ? `${e == null ? void 0 : e.class} p-invalid` : e == null ? void 0 : e.class);
1787
1737
  return (o, r) => {
1788
1738
  const u = y("TriStateCheckbox");
1789
- return f(), c("div", null, [
1790
- n(e).attrs.labelLeft ? (f(), c("span", ia, k(n(e).attrs.labelLeft), 1)) : w("", !0),
1739
+ return f(), c("div", ha, [
1740
+ l(t).attrs.labelLeft ? (f(), c("span", ga, w(l(t).attrs.labelLeft), 1)) : k("", !0),
1791
1741
  _(u, {
1792
- modelValue: n(e)._value,
1793
- "onUpdate:modelValue": r[0] || (r[0] = (p) => n(e)._value = p),
1794
- "input-id": n(e).id,
1795
- disabled: n(t)._disabled ?? !1,
1796
- readonly: n(t)._readonly ?? !1,
1797
- "input-style": n(t).style,
1798
- "input-class": n(s),
1799
- tabindex: n(t).tabindex,
1800
- "aria-label": n(t).ariaLabel,
1801
- "aria-labelledby": n(t).ariaLabelledby,
1802
- pt: n(t).pt,
1803
- "pt-options": n(t).ptOptions,
1804
- unstyled: n(t).unstyled ?? !1,
1742
+ modelValue: l(t)._value,
1743
+ "onUpdate:modelValue": r[0] || (r[0] = (p) => l(t)._value = p),
1744
+ "input-id": l(t).id,
1745
+ disabled: l(e)._disabled ?? !1,
1746
+ readonly: l(e)._readonly ?? !1,
1747
+ "input-style": l(e).style,
1748
+ "input-class": l(s),
1749
+ tabindex: l(e).tabindex,
1750
+ "aria-label": l(e).ariaLabel,
1751
+ "aria-labelledby": l(e).ariaLabelledby,
1752
+ pt: l(e).pt,
1753
+ "pt-options": l(e).ptOptions,
1754
+ unstyled: l(e).unstyled ?? !1,
1805
1755
  onClick: i
1806
1756
  }, null, 8, ["modelValue", "input-id", "disabled", "readonly", "input-style", "input-class", "tabindex", "aria-label", "aria-labelledby", "pt", "pt-options", "unstyled"]),
1807
- n(e).attrs.labelRight ? (f(), c("span", sa, k(n(e).attrs.labelRight), 1)) : w("", !0)
1757
+ l(t).attrs.labelRight ? (f(), c("span", $a, w(l(t).attrs.labelRight), 1)) : k("", !0)
1808
1758
  ]);
1809
1759
  };
1810
1760
  }
1811
- }), oa = v(Rt, {
1761
+ }), wa = v(St, {
1812
1762
  props: []
1813
- }), ua = v(Wt, {
1763
+ }), Ca = v(Xt, {
1814
1764
  props: ["iconRight", "iconLeft"]
1815
- }), pa = v(Kt, {
1765
+ }), Va = v(qt, {
1816
1766
  props: ["iconRight", "iconLeft"]
1817
- }), da = v(Bt, {
1767
+ }), La = v(Zt, {
1818
1768
  props: []
1819
- }), fa = v(Xt, {
1769
+ }), Ia = v(oa, {
1820
1770
  props: ["feedback", "toggleMask"]
1821
- }), ca = v(Yt, {
1771
+ }), Oa = v(ea, {
1822
1772
  props: ["rows"]
1823
- }), ma = v(Tt, {
1773
+ }), Sa = v(At, {
1824
1774
  props: []
1825
- }), ba = v(Ht, {
1775
+ }), Pa = v(Jt, {
1826
1776
  props: []
1827
- }), ya = v(Nt, {
1777
+ }), Da = v(Kt, {
1828
1778
  props: []
1829
- }), _a = v(Ut, {
1779
+ }), Ra = v(Bt, {
1830
1780
  props: []
1831
- }), va = v(Jt, {
1781
+ }), Ea = v(na, {
1832
1782
  props: []
1833
- }), ha = v(Qt, {
1783
+ }), Ma = v(sa, {
1834
1784
  props: []
1835
- }), ga = v(Mt, {
1785
+ }), Aa = v(Dt, {
1836
1786
  props: []
1837
- }), $a = v(aa, {
1787
+ }), Ta = v(ma, {
1838
1788
  props: []
1839
- }), wa = v(ta, {
1789
+ }), ja = v(fa, {
1840
1790
  props: []
1841
- }), ka = v(ea, {
1791
+ }), Fa = v(pa, {
1842
1792
  props: []
1843
- }), Ca = v(Ft, {
1793
+ }), za = v(jt, {
1844
1794
  props: []
1845
- }), Va = v(qt, {
1795
+ }), Ua = v(aa, {
1846
1796
  props: []
1847
- }), La = v(zt, {
1797
+ }), Ba = v(zt, {
1848
1798
  props: []
1849
- }), Ia = v(na, {
1799
+ }), Na = v(ya, {
1850
1800
  props: []
1851
- }), Sa = v(la, {
1801
+ }), Ka = v(va, {
1852
1802
  props: []
1853
- }), Oa = v(ra, {
1803
+ }), xa = v(ka, {
1854
1804
  props: []
1855
- }), Da = {
1856
- primeAutoComplete: oa,
1857
- primeInputText: ua,
1858
- primeInputNumber: pa,
1859
- primeInputMask: da,
1860
- primePassword: fa,
1861
- primeCheckbox: ma,
1862
- primeInputSwitch: ba,
1863
- primeTextarea: ca,
1864
- primeEditor: ya,
1865
- primeDropdown: _a,
1866
- primeMultiSelect: va,
1867
- primeCalendar: ga,
1868
- primeSlider: $a,
1869
- primeChips: Ca,
1870
- primeKnob: Va,
1871
- primeRating: wa,
1872
- primeRadioButton: ka,
1873
- primeColorPicker: La,
1874
- primeToggleButton: Ia,
1875
- primeListbox: ha,
1876
- primeSelectButton: Sa,
1877
- primeTriStateCheckbox: Oa
1805
+ }), Ha = {
1806
+ primeAutoComplete: wa,
1807
+ primeInputText: Ca,
1808
+ primeInputNumber: Va,
1809
+ primeInputMask: La,
1810
+ primePassword: Ia,
1811
+ primeCheckbox: Sa,
1812
+ primeInputSwitch: Pa,
1813
+ primeTextarea: Oa,
1814
+ primeEditor: Da,
1815
+ primeDropdown: Ra,
1816
+ primeMultiSelect: Ea,
1817
+ primeCalendar: Aa,
1818
+ primeSlider: Ta,
1819
+ primeChips: za,
1820
+ primeKnob: Ua,
1821
+ primeRating: ja,
1822
+ primeRadioButton: Fa,
1823
+ primeColorPicker: Ba,
1824
+ primeToggleButton: Na,
1825
+ primeListbox: Ma,
1826
+ primeSelectButton: Ka,
1827
+ primeTriStateCheckbox: xa
1878
1828
  };
1879
1829
  export {
1880
- oa as primeAutoCompleteDefinition,
1881
- ga as primeCalendarDefinition,
1882
- ma as primeCheckboxDefinition,
1883
- Ca as primeChipsDefinition,
1884
- La as primeColorPickerDefinition,
1885
- _a as primeDropdownDefinition,
1886
- ya as primeEditorDefinition,
1887
- da as primeInputMaskDefinition,
1888
- pa as primeInputNumberDefinition,
1889
- ba as primeInputSwitchDefinition,
1890
- ua as primeInputTextDefinition,
1891
- Da as primeInputs,
1892
- Va as primeKnobDefinition,
1893
- ha as primeListboxDefinition,
1894
- va as primeMultiSelectDefinition,
1895
- fa as primePasswordDefinition,
1896
- ka as primeRadioButtonDefinition,
1897
- wa as primeRatingDefinition,
1898
- Sa as primeSelectButtonDefinition,
1899
- $a as primeSliderDefinition,
1900
- ca as primeTextareaDefinition,
1901
- Ia as primeToggleButtonDefinition,
1902
- Oa as primeTriStateCheckboxDefinition
1830
+ wa as primeAutoCompleteDefinition,
1831
+ Aa as primeCalendarDefinition,
1832
+ Sa as primeCheckboxDefinition,
1833
+ za as primeChipsDefinition,
1834
+ Ba as primeColorPickerDefinition,
1835
+ Ra as primeDropdownDefinition,
1836
+ Da as primeEditorDefinition,
1837
+ La as primeInputMaskDefinition,
1838
+ Va as primeInputNumberDefinition,
1839
+ Pa as primeInputSwitchDefinition,
1840
+ Ca as primeInputTextDefinition,
1841
+ Ha as primeInputs,
1842
+ Ua as primeKnobDefinition,
1843
+ Ma as primeListboxDefinition,
1844
+ Ea as primeMultiSelectDefinition,
1845
+ Ia as primePasswordDefinition,
1846
+ Fa as primeRadioButtonDefinition,
1847
+ ja as primeRatingDefinition,
1848
+ Ka as primeSelectButtonDefinition,
1849
+ Ta as primeSliderDefinition,
1850
+ Oa as primeTextareaDefinition,
1851
+ Na as primeToggleButtonDefinition,
1852
+ xa as primeTriStateCheckboxDefinition
1903
1853
  };