@sfxcode/formkit-primevue 1.5.7 → 1.5.9

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