@uniquedj95/vform 3.0.6 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,9 +1,9 @@
1
- import { ref as x, computed as w, defineComponent as q, watch as H, createBlock as h, openBlock as i, unref as r, withCtx as p, createVNode as E, createCommentVNode as B, createElementBlock as U, Fragment as A, renderList as W, resolveDynamicComponent as ve, normalizeStyle as me, createTextVNode as T, toDisplayString as z, toRef as Ve, mergeModels as L, useModel as Y, resolveDirective as ke, withDirectives as _e, onMounted as fe, normalizeClass as xe, createElementVNode as de } from "vue";
2
- import { IonGrid as Ie, IonRow as ue, IonCol as re, IonButton as K, IonLabel as P, IonText as Me, IonInput as te, IonInputPasswordToggle as we, IonSelect as Ce, IonSelectOption as De, IonIcon as Z, IonChip as Ee, IonList as Se, IonItem as Fe, IonCheckbox as pe, actionSheetController as Re, alertController as Be, IonTextarea as Oe } from "@ionic/vue";
3
- import Te from "@vuepic/vue-datepicker";
4
- import { calendar as $e, chevronDown as Ue, close as ze, add as qe, remove as Ae } from "ionicons/icons";
5
- import { maskito as je } from "@maskito/vue";
6
- function Le(t) {
1
+ import { ref as _, computed as M, defineComponent as z, watch as Y, createBlock as h, openBlock as c, unref as r, withCtx as p, createVNode as R, createCommentVNode as B, createElementBlock as $, Fragment as A, renderList as G, resolveDynamicComponent as me, normalizeStyle as fe, createTextVNode as O, toDisplayString as T, toRef as _e, mergeModels as j, useModel as L, resolveDirective as ke, withDirectives as xe, onMounted as de, normalizeClass as Ie, createElementVNode as ve } from "vue";
2
+ import { IonGrid as Me, IonRow as ue, IonCol as re, IonButton as K, IonLabel as H, IonText as we, IonInput as te, IonInputPasswordToggle as Ce, IonSelect as De, IonSelectOption as Ee, IonIcon as Q, IonChip as Fe, IonList as Re, IonItem as Se, IonCheckbox as pe, actionSheetController as Be, alertController as Oe, IonTextarea as Ue, IonRadioGroup as $e, IonRadio as Te } from "@ionic/vue";
3
+ import qe from "@vuepic/vue-datepicker";
4
+ import { calendar as ze, chevronDown as Ae, close as je, add as Le, remove as Pe } from "ionicons/icons";
5
+ import { maskito as Ye } from "@maskito/vue";
6
+ function Ne(t) {
7
7
  return new Promise((o) => {
8
8
  requestAnimationFrame(async () => {
9
9
  const n = await t.getInputElement();
@@ -11,21 +11,21 @@ function Le(t) {
11
11
  });
12
12
  });
13
13
  }
14
- const Ye = {
14
+ const He = {
15
15
  d: /\d/,
16
16
  a: /[A-Za-z]/,
17
17
  "*": /[A-Za-z0-9]/
18
18
  // Default: alphanum, can customize if needed
19
- }, Ne = {
19
+ }, Ge = {
20
20
  d: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"],
21
21
  a: ["A", "B", "C", "x", "y", "z", "D", "f"],
22
22
  "*": ["A", "3", "b", "8", "z", "4", "D", "0"]
23
23
  };
24
- function Pe(t, o) {
25
- const n = Ne[t];
24
+ function Je(t, o) {
25
+ const n = Ge[t];
26
26
  return n[o % n.length];
27
27
  }
28
- function He(t) {
28
+ function We(t) {
29
29
  const o = [];
30
30
  let n = "", e = 0, a = 0;
31
31
  for (; e < t.length; ) {
@@ -37,8 +37,8 @@ function He(t) {
37
37
  if (u !== -1) {
38
38
  const d = t.slice(e + 2, u);
39
39
  if (d.includes(",")) {
40
- const [, g] = d.split(",").map((b) => parseInt(b.trim()));
41
- s = g || parseInt(d.split(",")[0]);
40
+ const [, b] = d.split(",").map((y) => parseInt(y.trim()));
41
+ s = b || parseInt(d.split(",")[0]);
42
42
  } else
43
43
  s = parseInt(d);
44
44
  e = u;
@@ -50,7 +50,7 @@ function He(t) {
50
50
  e = u - 1;
51
51
  }
52
52
  for (let u = 0; u < s; u++)
53
- o.push(Ye[l]), n += Pe(l, a++);
53
+ o.push(He[l]), n += Je(l, a++);
54
54
  } else
55
55
  o.push(l), n += l;
56
56
  e++;
@@ -58,10 +58,10 @@ function He(t) {
58
58
  return {
59
59
  mask: o,
60
60
  placeholder: n,
61
- elementPredicate: Le
61
+ elementPredicate: Ne
62
62
  };
63
63
  }
64
- const Q = [
64
+ const X = [
65
65
  "January",
66
66
  "February",
67
67
  "March",
@@ -78,16 +78,16 @@ const Q = [
78
78
  function se(t) {
79
79
  return t == null || Array.isArray(t) && !t.length || typeof t == "object" && !Object.keys(t).length || !t;
80
80
  }
81
- function Ge(t, o = "DD/MMM/YYYY") {
81
+ function Ke(t, o = "DD/MMM/YYYY") {
82
82
  const n = new Date(t);
83
83
  if (isNaN(n.getTime()))
84
84
  throw new Error("Invalid date string");
85
- const e = J(n.getDate()), a = n.getMonth() + 1, l = n.getFullYear(), s = J(n.getHours()), u = J(n.getMinutes()), d = J(n.getSeconds()), g = n.getMilliseconds(), b = {
85
+ const e = W(n.getDate()), a = n.getMonth() + 1, l = n.getFullYear(), s = W(n.getHours()), u = W(n.getMinutes()), d = W(n.getSeconds()), b = n.getMilliseconds(), y = {
86
86
  DD: e,
87
87
  D: n.getDate().toString(),
88
- MMM: Q[n.getMonth()].slice(0, 3),
89
- MMMM: Q[n.getMonth()],
90
- MM: J(a),
88
+ MMM: X[n.getMonth()].slice(0, 3),
89
+ MMMM: X[n.getMonth()],
90
+ MM: W(a),
91
91
  M: a.toString(),
92
92
  YYYY: l.toString(),
93
93
  YY: l.toString().slice(-2),
@@ -97,23 +97,23 @@ function Ge(t, o = "DD/MMM/YYYY") {
97
97
  m: n.getMinutes().toString(),
98
98
  ss: d,
99
99
  s: n.getSeconds().toString(),
100
- SSS: J(g),
101
- S: g.toString().slice(0, 1)
100
+ SSS: W(b),
101
+ S: b.toString().slice(0, 1)
102
102
  // Add more replacements as needed
103
103
  };
104
104
  return o.replace(
105
105
  /DD|D|MMMM|MMM|MM|M|YYYY|YY|HH|H|mm|m|ss|s|SSS|S/g,
106
- (M) => b[M] || M
106
+ (I) => y[I] || I
107
107
  );
108
108
  }
109
- function J(t) {
109
+ function W(t) {
110
110
  return t < 10 ? `0${t}` : `${t}`;
111
111
  }
112
112
  function ne(t, o) {
113
113
  if (Number.isInteger(parseInt(t)) && Number(t) > 0) {
114
- if (o === "MMMM") return Q[Number(t) - 1];
115
- if (o === "MMM") return Q[Number(t) - 1].slice(0, 3);
116
- if (o === "MM") return J(Number(t));
114
+ if (o === "MMMM") return X[Number(t) - 1];
115
+ if (o === "MMM") return X[Number(t) - 1].slice(0, 3);
116
+ if (o === "MM") return W(Number(t));
117
117
  }
118
118
  return t;
119
119
  }
@@ -133,7 +133,7 @@ function ce(t) {
133
133
  function he(t, o) {
134
134
  return o.findIndex((n) => n.value === t.value || n.label === t.label || n.value === t.label || n.label === t.value);
135
135
  }
136
- function G(t, o) {
136
+ function J(t, o) {
137
137
  const n = he(t, o);
138
138
  n >= 0 ? o[n].isChecked = !0 : o.push({ ...t, isChecked: !0 });
139
139
  }
@@ -141,13 +141,17 @@ function oe(t, o) {
141
141
  const n = he(t, o);
142
142
  n >= 0 && (o[n].isChecked = !1);
143
143
  }
144
- function Je(t, o) {
144
+ function Ze(t, o) {
145
145
  return o ? t.filter(
146
146
  (n) => JSON.stringify(n).toLowerCase().includes(o.toLowerCase())
147
147
  ) : t;
148
148
  }
149
- function ye() {
150
- const t = x([]);
149
+ function ye(t) {
150
+ const o = t.label || "", n = t.required ? " *" : "";
151
+ return o + n;
152
+ }
153
+ function ge() {
154
+ const t = _([]);
151
155
  async function o() {
152
156
  console.debug("Validating form inputs");
153
157
  const l = [];
@@ -192,19 +196,19 @@ function ye() {
192
196
  updateFormValues: a
193
197
  };
194
198
  }
195
- function We(t) {
196
- const o = w(
199
+ function Qe(t) {
200
+ const o = M(
197
201
  () => Object.entries(t.value).reduce((e, [a, l]) => (l.value !== void 0 && (typeof l.onChange == "function" ? e[a] = l.onChange(l.value) : e[a] = l.value), e), {})
198
- ), n = w(() => Object.entries(o.value).reduce((e, [a, l]) => (l !== void 0 && (t.value[a].children !== void 0 && (e[a] = l.map(({ other: s }) => Object.entries(s).reduce((u, [d, g]) => (typeof t.value[a].children[d].computedValue == "function" ? u[d] = t.value[a].children[d].computedValue(
199
- g,
202
+ ), n = M(() => Object.entries(o.value).reduce((e, [a, l]) => (l !== void 0 && (t.value[a].children !== void 0 && (e[a] = l.map(({ other: s }) => Object.entries(s).reduce((u, [d, b]) => (typeof t.value[a].children[d].computedValue == "function" ? u[d] = t.value[a].children[d].computedValue(
203
+ b,
200
204
  t.value
201
- ) : u[d] = g, u), {}))), typeof t.value[a].computedValue == "function" && l !== void 0 && (e[a] = t.value[a].computedValue(l, t.value))), e), {}));
205
+ ) : u[d] = b, u), {}))), typeof t.value[a].computedValue == "function" && l !== void 0 && (e[a] = t.value[a].computedValue(l, t.value))), e), {}));
202
206
  return {
203
207
  formData: o,
204
208
  computedData: n
205
209
  };
206
210
  }
207
- const Ke = /* @__PURE__ */ q({
211
+ const Xe = /* @__PURE__ */ z({
208
212
  __name: "vForm",
209
213
  props: {
210
214
  schema: {},
@@ -220,31 +224,31 @@ const Ke = /* @__PURE__ */ q({
220
224
  },
221
225
  emits: ["submit", "clear", "cancel"],
222
226
  setup(t, { expose: o, emit: n }) {
223
- const e = t, a = n, l = x(e.schema), { dynamicRefs: s, isFormValid: u, resetForm: d } = ye(), { formData: g, computedData: b } = We(l);
224
- async function M() {
225
- await u() && a("submit", g.value, b.value);
227
+ const e = t, a = n, l = _(e.schema), { dynamicRefs: s, isFormValid: u, resetForm: d } = ge(), { formData: b, computedData: y } = Qe(l);
228
+ async function I() {
229
+ await u() && a("submit", b.value, y.value);
226
230
  }
227
- function m() {
231
+ function v() {
228
232
  d(), a("clear");
229
233
  }
230
- function S() {
234
+ function E() {
231
235
  d(), a("cancel");
232
236
  }
233
- return H(
234
- g,
237
+ return Y(
238
+ b,
235
239
  async () => {
236
- for (const [f, C] of Object.entries(l.value))
237
- ie(C, g.value, b.value) || (C.value = e.schema[f].value);
240
+ for (const [f, D] of Object.entries(l.value))
241
+ ie(D, b.value, y.value) || (D.value = e.schema[f].value);
238
242
  },
239
243
  {
240
244
  deep: !0,
241
245
  immediate: !0
242
246
  }
243
- ), H(
247
+ ), Y(
244
248
  () => e.schema,
245
249
  (f) => {
246
- for (const [C, c] of Object.entries(f))
247
- c.value !== void 0 && (l.value[C].value = c.value);
250
+ for (const [D, i] of Object.entries(f))
251
+ i.value !== void 0 && (l.value[D].value = i.value);
248
252
  },
249
253
  {
250
254
  deep: !0,
@@ -254,34 +258,34 @@ const Ke = /* @__PURE__ */ q({
254
258
  resetForm: d,
255
259
  isFormValid: u,
256
260
  resolveData: () => ({
257
- formData: g.value,
258
- computedData: b.value
261
+ formData: b.value,
262
+ computedData: y.value
259
263
  })
260
- }), (f, C) => (i(), h(r(Ie), null, {
264
+ }), (f, D) => (c(), h(r(Me), null, {
261
265
  default: p(() => [
262
- E(r(ue), null, {
266
+ R(r(ue), null, {
263
267
  default: p(() => [
264
- (i(!0), U(A, null, W(Object.keys(l.value), (c) => {
265
- var F, k, O, j, _;
266
- return i(), U(A, null, [
267
- r(ie)(l.value[c], r(g), r(b)) ? (i(), h(r(re), {
268
- key: c,
269
- size: ((F = l.value[c].grid) == null ? void 0 : F.xs) ?? "12",
270
- "size-sm": (k = l.value[c].grid) == null ? void 0 : k.sm,
271
- "size-md": (O = l.value[c].grid) == null ? void 0 : O.md,
272
- "size-lg": (j = l.value[c].grid) == null ? void 0 : j.lg,
273
- "size-xl": (_ = l.value[c].grid) == null ? void 0 : _.xl,
268
+ (c(!0), $(A, null, G(Object.keys(l.value), (i) => {
269
+ var C, g, U, P, x;
270
+ return c(), $(A, null, [
271
+ r(ie)(l.value[i], r(b), r(y)) ? (c(), h(r(re), {
272
+ key: i,
273
+ size: ((C = l.value[i].grid) == null ? void 0 : C.xs) ?? "12",
274
+ "size-sm": (g = l.value[i].grid) == null ? void 0 : g.sm,
275
+ "size-md": (U = l.value[i].grid) == null ? void 0 : U.md,
276
+ "size-lg": (P = l.value[i].grid) == null ? void 0 : P.lg,
277
+ "size-xl": (x = l.value[i].grid) == null ? void 0 : x.xl,
274
278
  class: "ion-margin-vertical"
275
279
  }, {
276
280
  default: p(() => [
277
- (i(), h(ve(l.value[c].type), {
278
- modelValue: l.value[c],
279
- "onUpdate:modelValue": (R) => l.value[c] = R,
281
+ (c(), h(me(l.value[i].type), {
282
+ modelValue: l.value[i],
283
+ "onUpdate:modelValue": (S) => l.value[i] = S,
280
284
  schema: l.value,
281
285
  ref_for: !0,
282
286
  ref_key: "dynamicRefs",
283
287
  ref: s,
284
- "ref-key": c
288
+ "ref-key": i
285
289
  }, null, 8, ["modelValue", "onUpdate:modelValue", "schema", "ref-key"]))
286
290
  ]),
287
291
  _: 2
@@ -291,44 +295,44 @@ const Ke = /* @__PURE__ */ q({
291
295
  ]),
292
296
  _: 1
293
297
  }),
294
- f.hideButtons ? B("", !0) : (i(), h(r(ue), { key: 0 }, {
298
+ f.hideButtons ? B("", !0) : (c(), h(r(ue), { key: 0 }, {
295
299
  default: p(() => [
296
- E(r(re), {
300
+ R(r(re), {
297
301
  size: "12",
298
- style: me([{ display: "flex" }, { justifyContent: f.buttonPlacement }])
302
+ style: fe([{ display: "flex" }, { justifyContent: f.buttonPlacement }])
299
303
  }, {
300
304
  default: p(() => [
301
- f.showCancelButton ? (i(), h(r(K), {
305
+ f.showCancelButton ? (c(), h(r(K), {
302
306
  key: 0,
303
- onClick: S
307
+ onClick: E
304
308
  }, {
305
309
  default: p(() => [
306
- T(z(f.cancelButtonText ?? "Cancel"), 1)
310
+ O(T(f.cancelButtonText ?? "Cancel"), 1)
307
311
  ]),
308
312
  _: 1
309
313
  })) : B("", !0),
310
- f.showClearButton ? (i(), h(r(K), {
314
+ f.showClearButton ? (c(), h(r(K), {
311
315
  key: 1,
312
- onClick: m
316
+ onClick: v
313
317
  }, {
314
318
  default: p(() => [
315
- T(z(f.clearButtonText ?? "Reset"), 1)
319
+ O(T(f.clearButtonText ?? "Reset"), 1)
316
320
  ]),
317
321
  _: 1
318
322
  })) : B("", !0),
319
- (i(!0), U(A, null, W(f.customButtons, (c) => (i(), h(r(K), {
320
- key: c.label,
321
- onClick: c.action,
322
- color: c.color ?? "primary"
323
+ (c(!0), $(A, null, G(f.customButtons, (i) => (c(), h(r(K), {
324
+ key: i.label,
325
+ onClick: i.action,
326
+ color: i.color ?? "primary"
323
327
  }, {
324
328
  default: p(() => [
325
- T(z(c.label), 1)
329
+ O(T(i.label), 1)
326
330
  ]),
327
331
  _: 2
328
332
  }, 1032, ["onClick", "color"]))), 128)),
329
- E(r(K), { onClick: M }, {
333
+ R(r(K), { onClick: I }, {
330
334
  default: p(() => [
331
- T(z(f.submitButtonText ?? "Submit"), 1)
335
+ O(T(f.submitButtonText ?? "Submit"), 1)
332
336
  ]),
333
337
  _: 1
334
338
  })
@@ -343,7 +347,7 @@ const Ke = /* @__PURE__ */ q({
343
347
  }));
344
348
  }
345
349
  });
346
- function Ze(t) {
350
+ function et(t) {
347
351
  return {
348
352
  applyValidationState: async (e) => {
349
353
  var a, l, s, u, d;
@@ -355,76 +359,76 @@ function Ze(t) {
355
359
  }
356
360
  };
357
361
  }
358
- function X(t, o, n, e, a) {
359
- const { applyValidationState: l, resetValidationState: s } = Ze(t);
362
+ function Z(t, o, n, e, a) {
363
+ const { applyValidationState: l, resetValidationState: s } = et(t);
360
364
  async function u() {
361
365
  if (o.value.required && !n.value)
362
366
  return o.value.error = "This field is required", !1;
363
367
  if (a) {
364
- const m = await a(n.value);
365
- if (typeof m == "string")
366
- return o.value.error = m, !1;
367
- if (m === !1)
368
+ const v = await a(n.value);
369
+ if (typeof v == "string")
370
+ return o.value.error = v, !1;
371
+ if (v === !1)
368
372
  return !1;
369
373
  }
370
374
  if (o.value.validation) {
371
- const m = await o.value.validation(n.value, e == null ? void 0 : e.value);
372
- if (m && m.length)
373
- return o.value.error = m.join(), !1;
375
+ const v = await o.value.validation(n.value, e == null ? void 0 : e.value);
376
+ if (v && v.length)
377
+ return o.value.error = v.join(), !1;
374
378
  }
375
379
  return !0;
376
380
  }
377
381
  async function d() {
378
- const m = await u();
379
- m && (o.value.error = "", o.value.value = n.value), await l(m);
382
+ const v = await u();
383
+ v && (o.value.error = "", o.value.value = n.value), await l(v);
380
384
  }
381
- function g() {
385
+ function b() {
382
386
  s(), o.value.error = "";
383
387
  }
384
- function b(m = "") {
385
- n.value = m, o.value.error = "", o.value.value = m;
388
+ function y(v = "") {
389
+ n.value = v, o.value.error = "", o.value.value = v;
386
390
  }
387
- function M() {
391
+ function I() {
388
392
  return o.value.error ? [o.value.error] : [];
389
393
  }
390
394
  return {
391
395
  isValid: u,
392
396
  onValueUpdate: d,
393
- onFocus: g,
394
- onReset: b,
395
- getErrors: M,
397
+ onFocus: b,
398
+ onReset: y,
399
+ getErrors: I,
396
400
  applyValidationState: l,
397
401
  resetValidationState: s
398
402
  };
399
403
  }
400
- function Qe(t) {
401
- const o = w(() => !!t.value.label), n = w(() => !!t.value.required), e = w(() => t.value.label || "");
404
+ function tt(t) {
405
+ const o = M(() => !!t.value.label), n = M(() => !!t.value.required), e = M(() => t.value.label || "");
402
406
  return {
403
407
  showLabel: o,
404
408
  showRequired: n,
405
409
  labelText: e
406
410
  };
407
411
  }
408
- const le = /* @__PURE__ */ q({
412
+ const le = /* @__PURE__ */ z({
409
413
  __name: "InputLabel",
410
414
  props: {
411
415
  model: {}
412
416
  },
413
417
  setup(t) {
414
- const o = t, { showLabel: n, showRequired: e, labelText: a } = Qe(Ve(o, "model"));
415
- return (l, s) => r(n) ? (i(), h(r(P), {
418
+ const o = t, { showLabel: n, showRequired: e, labelText: a } = tt(_e(o, "model"));
419
+ return (l, s) => r(n) ? (c(), h(r(H), {
416
420
  key: 0,
417
421
  slot: "label",
418
422
  class: "input-label"
419
423
  }, {
420
424
  default: p(() => [
421
- T(z(r(a)) + " ", 1),
422
- r(e) ? (i(), h(r(Me), {
425
+ O(T(r(a)) + " ", 1),
426
+ r(e) ? (c(), h(r(we), {
423
427
  key: 0,
424
428
  color: "danger"
425
429
  }, {
426
430
  default: p(() => s[0] || (s[0] = [
427
- T("*")
431
+ O("*")
428
432
  ])),
429
433
  _: 1,
430
434
  __: [0]
@@ -433,9 +437,9 @@ const le = /* @__PURE__ */ q({
433
437
  _: 1
434
438
  })) : B("", !0);
435
439
  }
436
- }), ae = /* @__PURE__ */ q({
440
+ }), ae = /* @__PURE__ */ z({
437
441
  __name: "BaseInput",
438
- props: /* @__PURE__ */ L({
442
+ props: /* @__PURE__ */ j({
439
443
  schema: {},
440
444
  type: {}
441
445
  }, {
@@ -444,38 +448,38 @@ const le = /* @__PURE__ */ q({
444
448
  }),
445
449
  emits: ["update:modelValue"],
446
450
  setup(t, { expose: o }) {
447
- const n = t, e = Y(t, "modelValue"), a = x(null), l = x(e.value.value), s = w(() => n.schema), { isValid: u, onValueUpdate: d, onFocus: g, onReset: b, getErrors: M } = X(
451
+ const n = t, e = L(t, "modelValue"), a = _(null), l = _(e.value.value), s = M(() => n.schema), { isValid: u, onValueUpdate: d, onFocus: b, onReset: y, getErrors: I } = Z(
448
452
  a,
449
453
  e,
450
454
  l,
451
455
  s
452
- ), m = w(() => {
453
- if (e.value.pattern) return He(e.value.pattern);
456
+ ), v = M(() => {
457
+ if (e.value.pattern) return We(e.value.pattern);
454
458
  });
455
- return H(
459
+ return Y(
456
460
  () => e.value.value,
457
- (S) => l.value = S
461
+ (E) => l.value = E
458
462
  ), o({
459
463
  onValueUpdate: d,
460
- onReset: b,
461
- getErrors: M,
464
+ onReset: y,
465
+ getErrors: I,
462
466
  isValid: u
463
- }), (S, f) => {
464
- var c;
465
- const C = ke("maskito");
466
- return _e((i(), h(r(te), {
467
+ }), (E, f) => {
468
+ var i;
469
+ const D = ke("maskito");
470
+ return xe((c(), h(r(te), {
467
471
  ref_key: "inputRef",
468
472
  ref: a,
469
473
  modelValue: l.value,
470
- "onUpdate:modelValue": f[0] || (f[0] = (F) => l.value = F),
474
+ "onUpdate:modelValue": f[0] || (f[0] = (C) => l.value = C),
471
475
  "clear-input": !0,
472
476
  fill: e.value.fill ?? "outline",
473
477
  "label-placement": e.value.labelPlacement ?? "stacked",
474
- type: S.type ?? "text",
478
+ type: E.type ?? "text",
475
479
  required: e.value.required,
476
480
  "error-text": e.value.error,
477
481
  autofocus: e.value.autoFocus,
478
- placeholder: ((c = m.value) == null ? void 0 : c.placeholder) ?? e.value.placeholder,
482
+ placeholder: ((i = v.value) == null ? void 0 : i.placeholder) ?? e.value.placeholder,
479
483
  disabled: e.value.disabled,
480
484
  counter: e.value.counter,
481
485
  min: e.value.min,
@@ -483,44 +487,44 @@ const le = /* @__PURE__ */ q({
483
487
  "max-length": e.value.maxLength,
484
488
  "min-length": e.value.minLength,
485
489
  pattern: e.value.pattern,
486
- onIonFocus: r(g),
490
+ onIonFocus: r(b),
487
491
  onIonChange: r(d),
488
492
  onIonBlur: r(d)
489
493
  }, {
490
494
  default: p(() => [
491
- E(le, { model: e.value }, null, 8, ["model"]),
492
- e.value.prefix ? (i(), h(r(P), {
495
+ R(le, { model: e.value }, null, 8, ["model"]),
496
+ e.value.prefix ? (c(), h(r(H), {
493
497
  key: 0,
494
498
  slot: "start"
495
499
  }, {
496
500
  default: p(() => [
497
- T(z(e.value.prefix), 1)
501
+ O(T(e.value.prefix), 1)
498
502
  ]),
499
503
  _: 1
500
504
  })) : B("", !0),
501
- e.value.suffix ? (i(), h(r(P), {
505
+ e.value.suffix ? (c(), h(r(H), {
502
506
  key: 1,
503
507
  slot: "end"
504
508
  }, {
505
509
  default: p(() => [
506
- T(z(e.value.suffix), 1)
510
+ O(T(e.value.suffix), 1)
507
511
  ]),
508
512
  _: 1
509
513
  })) : B("", !0),
510
- S.type === "password" ? (i(), h(r(we), {
514
+ E.type === "password" ? (c(), h(r(Ce), {
511
515
  key: 2,
512
516
  slot: "end"
513
517
  })) : B("", !0)
514
518
  ]),
515
519
  _: 1
516
520
  }, 8, ["modelValue", "fill", "label-placement", "type", "required", "error-text", "autofocus", "placeholder", "disabled", "counter", "min", "max", "max-length", "min-length", "pattern", "onIonFocus", "onIonChange", "onIonBlur"])), [
517
- [C, m.value]
521
+ [D, v.value]
518
522
  ]);
519
523
  };
520
524
  }
521
- }), Xe = /* @__PURE__ */ q({
525
+ }), lt = /* @__PURE__ */ z({
522
526
  __name: "TextInput",
523
- props: /* @__PURE__ */ L({
527
+ props: /* @__PURE__ */ j({
524
528
  schema: {}
525
529
  }, {
526
530
  modelValue: { type: Object, default: {} },
@@ -528,7 +532,7 @@ const le = /* @__PURE__ */ q({
528
532
  }),
529
533
  emits: ["update:modelValue"],
530
534
  setup(t, { expose: o }) {
531
- const n = Y(t, "modelValue"), e = x(null);
535
+ const n = L(t, "modelValue"), e = _(null);
532
536
  return o({
533
537
  onReset: () => {
534
538
  var a;
@@ -542,7 +546,7 @@ const le = /* @__PURE__ */ q({
542
546
  var a, l;
543
547
  return ((l = (a = e.value) == null ? void 0 : a.getErrors) == null ? void 0 : l.call(a)) ?? [];
544
548
  }
545
- }), (a, l) => (i(), h(ae, {
549
+ }), (a, l) => (c(), h(ae, {
546
550
  modelValue: n.value,
547
551
  "onUpdate:modelValue": l[0] || (l[0] = (s) => n.value = s),
548
552
  type: "text",
@@ -551,9 +555,9 @@ const le = /* @__PURE__ */ q({
551
555
  ref: e
552
556
  }, null, 8, ["modelValue", "schema"]));
553
557
  }
554
- }), et = /* @__PURE__ */ q({
558
+ }), at = /* @__PURE__ */ z({
555
559
  __name: "DateInput",
556
- props: /* @__PURE__ */ L({
560
+ props: /* @__PURE__ */ j({
557
561
  schema: {}
558
562
  }, {
559
563
  modelValue: { type: Object, default: {} },
@@ -561,54 +565,54 @@ const le = /* @__PURE__ */ q({
561
565
  }),
562
566
  emits: ["update:modelValue"],
563
567
  setup(t, { expose: o }) {
564
- const n = t, e = Y(t, "modelValue"), a = x(null), l = x(e.value.max), s = x(e.value.max), u = x(e.value.value), d = w(() => n.schema);
565
- async function g(_) {
566
- if (_ === void 0)
568
+ const n = t, e = L(t, "modelValue"), a = _(null), l = _(e.value.max), s = _(e.value.max), u = _(e.value.value), d = M(() => n.schema);
569
+ async function b(x) {
570
+ if (x === void 0)
567
571
  return e.value.required ? "This field is required" : !0;
568
- const R = new Date(_);
569
- return isNaN(R.getTime()) ? "Invalid date string" : s.value && R < new Date(s.value) ? `Date must be greater than ${s.value}` : l.value && R > new Date(l.value) ? `Date must be less than ${l.value}` : !0;
572
+ const S = new Date(x);
573
+ return isNaN(S.getTime()) ? "Invalid date string" : s.value && S < new Date(s.value) ? `Date must be greater than ${s.value}` : l.value && S > new Date(l.value) ? `Date must be less than ${l.value}` : !0;
570
574
  }
571
- const { onValueUpdate: b, onFocus: M, getErrors: m } = X(
575
+ const { onValueUpdate: y, onFocus: I, getErrors: v } = Z(
572
576
  a,
573
577
  e,
574
578
  u,
575
579
  d,
576
- g
580
+ b
577
581
  );
578
- function S() {
582
+ function E() {
579
583
  u.value = "", e.value.error = "", e.value.value = "";
580
584
  }
581
- const f = w(() => {
585
+ const f = M(() => {
582
586
  if (e.value.pattern) return e.value.pattern;
583
- let _ = e.value.pattern ?? "DD/MMM/YYYY";
584
- return e.value.enableTime && (_ += " HH:mm:ss"), _;
585
- }), C = /[-/.,:\s]+/, c = w(() => f.value.split(C)), F = w(() => f.value.match(/[-/.,:\s]+/g) || []), k = x({});
586
- H(
587
+ let x = e.value.pattern ?? "DD/MMM/YYYY";
588
+ return e.value.enableTime && (x += " HH:mm:ss"), x;
589
+ }), D = /[-/.,:\s]+/, i = M(() => f.value.split(D)), C = M(() => f.value.match(/[-/.,:\s]+/g) || []), g = _({});
590
+ Y(
587
591
  () => e.value.value,
588
- (_) => {
589
- u.value = _, j(_);
592
+ (x) => {
593
+ u.value = x, P(x);
590
594
  }
591
595
  );
592
- async function O(_, R, y) {
593
- let D = R ?? (y == null ? void 0 : y.target).value;
594
- /MM|MMM|MMMM/.test(_) && (D = ne(D, _)), Number.isInteger(parseInt(D)) && (D = J(parseInt(D))), k.value[_] = D;
595
- const $ = c.value.reduce((v, I, V) => (v += k.value[I] + (V < c.value.length - 1 ? F.value[V] : ""), v), "");
596
- u.value = $, await b();
596
+ async function U(x, S, V) {
597
+ let F = S ?? (V == null ? void 0 : V.target).value;
598
+ /MM|MMM|MMMM/.test(x) && (F = ne(F, x)), Number.isInteger(parseInt(F)) && (F = W(parseInt(F))), g.value[x] = F;
599
+ const q = i.value.reduce((m, w, k) => (m += g.value[w] + (k < i.value.length - 1 ? C.value[k] : ""), m), "");
600
+ u.value = q, await y();
597
601
  }
598
- async function j(_) {
599
- const R = Ge(_, f.value).split(C);
600
- c.value.forEach((y, D) => O(y, R[D])), await b();
602
+ async function P(x) {
603
+ const S = Ke(x, f.value).split(D);
604
+ i.value.forEach((V, F) => U(V, S[F])), await y();
601
605
  }
602
606
  return o({
603
- onValueUpdate: b,
604
- onReset: S,
605
- getErrors: m
606
- }), fe(() => {
607
- c.value.forEach((_, R) => {
608
- var y;
609
- k.value[_] = ((y = u.value) == null ? void 0 : y.split(C)[R]) ?? "";
607
+ onValueUpdate: y,
608
+ onReset: E,
609
+ getErrors: v
610
+ }), de(() => {
611
+ i.value.forEach((x, S) => {
612
+ var V;
613
+ g.value[x] = ((V = u.value) == null ? void 0 : V.split(D)[S]) ?? "";
610
614
  });
611
- }), (_, R) => (i(), h(r(te), {
615
+ }), (x, S) => (c(), h(r(te), {
612
616
  type: "text",
613
617
  ref_key: "inputRef",
614
618
  ref: a,
@@ -619,58 +623,58 @@ const le = /* @__PURE__ */ q({
619
623
  "error-text": e.value.error,
620
624
  autofocus: e.value.autoFocus,
621
625
  disabled: e.value.disabled,
622
- onIonFocus: r(M),
623
- onIonBlur: r(b)
626
+ onIonFocus: r(I),
627
+ onIonBlur: r(y)
624
628
  }, {
625
629
  default: p(() => [
626
- E(le, { model: e.value }, null, 8, ["model"]),
627
- (i(!0), U(A, null, W(c.value, (y, D) => (i(), U(A, null, [
628
- /MM|MMM|MMMM/.test(y) ? (i(), h(r(Ce), {
630
+ R(le, { model: e.value }, null, 8, ["model"]),
631
+ (c(!0), $(A, null, G(i.value, (V, F) => (c(), $(A, null, [
632
+ /MM|MMM|MMMM/.test(V) ? (c(), h(r(De), {
629
633
  slot: "start",
630
- key: `select-${y}`,
634
+ key: `select-${V}`,
631
635
  interface: "popover",
632
- style: me({ minWidth: e.value.enableTime ? "10%" : "30%" }),
633
- placeholder: y,
634
- value: k.value[y],
635
- onIonFocus: r(M),
636
- onIonInput: ($) => O(y, void 0, $),
637
- onIonBlur: ($) => O(y, void 0, $)
636
+ style: fe({ minWidth: e.value.enableTime ? "10%" : "30%" }),
637
+ placeholder: V,
638
+ value: g.value[V],
639
+ onIonFocus: r(I),
640
+ onIonInput: (q) => U(V, void 0, q),
641
+ onIonBlur: (q) => U(V, void 0, q)
638
642
  }, {
639
643
  default: p(() => [
640
- (i(!0), U(A, null, W(r(Q), ($, v) => (i(), h(r(De), {
641
- key: $,
642
- value: r(ne)(v + 1, y)
644
+ (c(!0), $(A, null, G(r(X), (q, m) => (c(), h(r(Ee), {
645
+ key: q,
646
+ value: r(ne)(m + 1, V)
643
647
  }, {
644
648
  default: p(() => [
645
- T(z(r(ne)(v + 1, y)), 1)
649
+ O(T(r(ne)(m + 1, V)), 1)
646
650
  ]),
647
651
  _: 2
648
652
  }, 1032, ["value"]))), 128))
649
653
  ]),
650
654
  _: 2
651
- }, 1032, ["style", "placeholder", "value", "onIonFocus", "onIonInput", "onIonBlur"])) : (i(), h(r(te), {
655
+ }, 1032, ["style", "placeholder", "value", "onIonFocus", "onIonInput", "onIonBlur"])) : (c(), h(r(te), {
652
656
  slot: "start",
653
- key: `input-${y}`,
654
- placeholder: y,
657
+ key: `input-${V}`,
658
+ placeholder: V,
655
659
  autofocus: e.value.autoFocus,
656
- value: k.value[y],
657
- onIonFocus: r(M),
658
- onIonInput: ($) => O(y, void 0, $),
659
- onIonBlur: ($) => O(y, void 0, $)
660
+ value: g.value[V],
661
+ onIonFocus: r(I),
662
+ onIonInput: (q) => U(V, void 0, q),
663
+ onIonBlur: (q) => U(V, void 0, q)
660
664
  }, null, 8, ["placeholder", "autofocus", "value", "onIonFocus", "onIonInput", "onIonBlur"])),
661
- D < c.value.length - 1 ? (i(), h(r(P), {
665
+ F < i.value.length - 1 ? (c(), h(r(H), {
662
666
  slot: "start",
663
- key: `separator-${D}`
667
+ key: `separator-${F}`
664
668
  }, {
665
669
  default: p(() => [
666
- T("  " + z(F.value[D]) + "       ", 1)
670
+ O("  " + T(C.value[F]) + "       ", 1)
667
671
  ]),
668
672
  _: 2
669
673
  }, 1024)) : B("", !0)
670
674
  ], 64))), 256)),
671
- E(r(P), { slot: "end" }, {
675
+ R(r(H), { slot: "end" }, {
672
676
  default: p(() => [
673
- E(r(Te), {
677
+ R(r(qe), {
674
678
  "enable-seconds": "",
675
679
  "time-picker-inline": "",
676
680
  teleport: "",
@@ -679,16 +683,16 @@ const le = /* @__PURE__ */ q({
679
683
  "enable-time-picker": e.value.enableTime ?? !1,
680
684
  maxDate: l.value,
681
685
  minDate: s.value,
682
- onDateUpdate: j
686
+ onDateUpdate: P
683
687
  }, {
684
688
  trigger: p(() => [
685
- E(r(K), { fill: "clear" }, {
689
+ R(r(K), { fill: "clear" }, {
686
690
  default: p(() => [
687
- E(r(Z), {
691
+ R(r(Q), {
688
692
  slot: "icon-only",
689
- icon: r($e),
693
+ icon: r(ze),
690
694
  "aria-hidden": "true",
691
- onClick: r(M)
695
+ onClick: r(I)
692
696
  }, null, 8, ["icon", "onClick"])
693
697
  ]),
694
698
  _: 1
@@ -703,9 +707,9 @@ const le = /* @__PURE__ */ q({
703
707
  _: 1
704
708
  }, 8, ["fill", "label-placement", "required", "error-text", "autofocus", "disabled", "onIonFocus", "onIonBlur"]));
705
709
  }
706
- }), tt = /* @__PURE__ */ q({
710
+ }), nt = /* @__PURE__ */ z({
707
711
  __name: "NumberInput",
708
- props: /* @__PURE__ */ L({
712
+ props: /* @__PURE__ */ j({
709
713
  schema: {}
710
714
  }, {
711
715
  modelValue: { type: Object, default: {} },
@@ -713,7 +717,7 @@ const le = /* @__PURE__ */ q({
713
717
  }),
714
718
  emits: ["update:modelValue"],
715
719
  setup(t, { expose: o }) {
716
- const n = Y(t, "modelValue"), e = x(null);
720
+ const n = L(t, "modelValue"), e = _(null);
717
721
  return o({
718
722
  onReset: () => {
719
723
  var a;
@@ -727,7 +731,7 @@ const le = /* @__PURE__ */ q({
727
731
  var a, l;
728
732
  return ((l = (a = e.value) == null ? void 0 : a.getErrors) == null ? void 0 : l.call(a)) ?? [];
729
733
  }
730
- }), (a, l) => (i(), h(ae, {
734
+ }), (a, l) => (c(), h(ae, {
731
735
  modelValue: n.value,
732
736
  "onUpdate:modelValue": l[0] || (l[0] = (s) => n.value = s),
733
737
  type: "number",
@@ -736,9 +740,9 @@ const le = /* @__PURE__ */ q({
736
740
  ref: e
737
741
  }, null, 8, ["modelValue", "schema"]));
738
742
  }
739
- }), lt = /* @__PURE__ */ q({
743
+ }), ot = /* @__PURE__ */ z({
740
744
  __name: "EmailInput",
741
- props: /* @__PURE__ */ L({
745
+ props: /* @__PURE__ */ j({
742
746
  schema: {}
743
747
  }, {
744
748
  modelValue: { type: Object, default: {} },
@@ -746,7 +750,7 @@ const le = /* @__PURE__ */ q({
746
750
  }),
747
751
  emits: ["update:modelValue"],
748
752
  setup(t, { expose: o }) {
749
- const n = Y(t, "modelValue"), e = x(null);
753
+ const n = L(t, "modelValue"), e = _(null);
750
754
  return o({
751
755
  onReset: () => {
752
756
  var a;
@@ -760,7 +764,7 @@ const le = /* @__PURE__ */ q({
760
764
  var a, l;
761
765
  return ((l = (a = e.value) == null ? void 0 : a.getErrors) == null ? void 0 : l.call(a)) ?? [];
762
766
  }
763
- }), (a, l) => (i(), h(ae, {
767
+ }), (a, l) => (c(), h(ae, {
764
768
  modelValue: n.value,
765
769
  "onUpdate:modelValue": l[0] || (l[0] = (s) => n.value = s),
766
770
  type: "email",
@@ -769,9 +773,9 @@ const le = /* @__PURE__ */ q({
769
773
  ref: e
770
774
  }, null, 8, ["modelValue", "schema"]));
771
775
  }
772
- }), at = /* @__PURE__ */ q({
776
+ }), ut = /* @__PURE__ */ z({
773
777
  __name: "PasswordInput",
774
- props: /* @__PURE__ */ L({
778
+ props: /* @__PURE__ */ j({
775
779
  schema: {}
776
780
  }, {
777
781
  modelValue: { type: Object, default: {} },
@@ -779,7 +783,7 @@ const le = /* @__PURE__ */ q({
779
783
  }),
780
784
  emits: ["update:modelValue"],
781
785
  setup(t, { expose: o }) {
782
- const n = Y(t, "modelValue"), e = x(null);
786
+ const n = L(t, "modelValue"), e = _(null);
783
787
  return o({
784
788
  onReset: () => {
785
789
  var a;
@@ -793,7 +797,7 @@ const le = /* @__PURE__ */ q({
793
797
  var a, l;
794
798
  return ((l = (a = e.value) == null ? void 0 : a.getErrors) == null ? void 0 : l.call(a)) ?? [];
795
799
  }
796
- }), (a, l) => (i(), h(ae, {
800
+ }), (a, l) => (c(), h(ae, {
797
801
  modelValue: n.value,
798
802
  "onUpdate:modelValue": l[0] || (l[0] = (s) => n.value = s),
799
803
  type: "password",
@@ -802,9 +806,9 @@ const le = /* @__PURE__ */ q({
802
806
  ref: e
803
807
  }, null, 8, ["modelValue", "schema"]));
804
808
  }
805
- }), nt = /* @__PURE__ */ q({
809
+ }), rt = /* @__PURE__ */ z({
806
810
  __name: "SelectInput",
807
- props: /* @__PURE__ */ L({
811
+ props: /* @__PURE__ */ j({
808
812
  schema: {},
809
813
  type: {}
810
814
  }, {
@@ -813,25 +817,25 @@ const le = /* @__PURE__ */ q({
813
817
  }),
814
818
  emits: ["update:modelValue"],
815
819
  setup(t, { expose: o }) {
816
- const n = t, e = Y(t, "modelValue"), a = x(null), l = x(null), s = x(!1), u = x([]), d = x(""), g = x(1), b = w(() => e.value.interface ?? "popover"), M = w(() => e.value.optionsPlacement === "top" ? "top" : "bottom"), m = w(() => u.value.filter((v) => !!v.isChecked)), S = w(() => !d.value && se(m.value) && !s.value ? e.value.placeholder ?? "Select an option" : "");
817
- H([d, () => e.value.options], D, {
820
+ const n = t, e = L(t, "modelValue"), a = _(null), l = _(null), s = _(!1), u = _([]), d = _(""), b = _(1), y = M(() => e.value.interface ?? "popover"), I = M(() => e.value.optionsPlacement === "top" ? "top" : "bottom"), v = M(() => u.value.filter((m) => !!m.isChecked)), E = M(() => !d.value && se(v.value) && !s.value ? e.value.placeholder ?? "Select an option" : "");
821
+ Y([d, () => e.value.options], F, {
818
822
  immediate: !0,
819
823
  deep: !0
820
- }), H(() => e.value.value, $, { immediate: !0, deep: !0 });
824
+ }), Y(() => e.value.value, q, { immediate: !0, deep: !0 });
821
825
  function f() {
822
- u.value.forEach((v) => oe(v, u.value)), e.value.error = "", d.value = "", g.value = 1, e.value.value = e.value.multiple ? [] : "";
826
+ u.value.forEach((m) => oe(m, u.value)), e.value.error = "", d.value = "", b.value = 1, e.value.value = e.value.multiple ? [] : "";
823
827
  }
824
- function C(v) {
825
- if (v.isChecked) return oe(v, u.value);
826
- e.value.multiple ? G(v, u.value) : (f(), G(v, u.value), y()), d.value = "";
828
+ function D(m) {
829
+ if (m.isChecked) return oe(m, u.value);
830
+ e.value.multiple ? J(m, u.value) : (f(), J(m, u.value), V()), d.value = "";
827
831
  }
828
- function c() {
829
- switch (b.value) {
832
+ function i() {
833
+ switch (y.value) {
830
834
  case "action-sheet":
831
- F();
835
+ C();
832
836
  break;
833
837
  case "alert":
834
- k();
838
+ g();
835
839
  break;
836
840
  case "popover":
837
841
  default:
@@ -839,18 +843,18 @@ const le = /* @__PURE__ */ q({
839
843
  break;
840
844
  }
841
845
  }
842
- async function F() {
843
- if (await D(), e.value.multiple) {
846
+ async function C() {
847
+ if (await F(), e.value.multiple) {
844
848
  s.value = !0;
845
849
  return;
846
850
  }
847
- await (await Re.create({
851
+ await (await Be.create({
848
852
  header: e.value.label || "Select an option",
849
853
  buttons: [
850
- ...u.value.map((I) => ({
851
- text: I.label,
852
- cssClass: I.isChecked ? "selected-option" : "",
853
- handler: () => (C(I), !1)
854
+ ...u.value.map((w) => ({
855
+ text: w.label,
856
+ cssClass: w.isChecked ? "selected-option" : "",
857
+ handler: () => (D(w), !1)
854
858
  })),
855
859
  {
856
860
  text: "Cancel",
@@ -859,17 +863,17 @@ const le = /* @__PURE__ */ q({
859
863
  ]
860
864
  })).present();
861
865
  }
862
- async function k() {
863
- await D();
864
- const v = u.value.map((V) => ({
865
- label: V.label,
866
+ async function g() {
867
+ await F();
868
+ const m = u.value.map((k) => ({
869
+ label: k.label,
866
870
  type: e.value.multiple ? "checkbox" : "radio",
867
- value: V,
868
- checked: V.isChecked
871
+ value: k,
872
+ checked: k.isChecked
869
873
  }));
870
- await (await Be.create({
874
+ await (await Oe.create({
871
875
  header: e.value.label || "Select an option",
872
- inputs: v,
876
+ inputs: m,
873
877
  buttons: [
874
878
  {
875
879
  text: "Cancel",
@@ -877,108 +881,108 @@ const le = /* @__PURE__ */ q({
877
881
  },
878
882
  {
879
883
  text: "OK",
880
- handler: (V) => {
884
+ handler: (k) => {
881
885
  if (e.value.multiple)
882
- u.value.forEach((N) => oe(N, u.value)), V.forEach((N) => {
883
- const ee = u.value.find((be) => be.value === N.value);
884
- ee && G(ee, u.value);
886
+ u.value.forEach((N) => oe(N, u.value)), k.forEach((N) => {
887
+ const ee = u.value.find((Ve) => Ve.value === N.value);
888
+ ee && J(ee, u.value);
885
889
  });
886
890
  else {
887
891
  f();
888
- const N = u.value.find((ee) => ee.value === V.value);
889
- N && G(N, u.value);
892
+ const N = u.value.find((ee) => ee.value === k.value);
893
+ N && J(N, u.value);
890
894
  }
891
- y();
895
+ V();
892
896
  }
893
897
  }
894
898
  ]
895
899
  })).present();
896
900
  }
897
- async function O() {
898
- if (e.value.required && se(m.value))
901
+ async function U() {
902
+ if (e.value.required && se(v.value))
899
903
  return "This field is required";
900
904
  if (e.value.validation) {
901
- const v = await e.value.validation(m.value, n == null ? void 0 : n.schema);
902
- if (v && v.length)
903
- return v.join();
905
+ const m = await e.value.validation(v.value, n == null ? void 0 : n.schema);
906
+ if (m && m.length)
907
+ return m.join();
904
908
  }
905
909
  return !0;
906
910
  }
907
- const { onFocus: j, applyValidationState: _ } = X(
911
+ const { onFocus: P, applyValidationState: x } = Z(
908
912
  a,
909
913
  e,
910
- w(() => e.value.multiple ? m.value : m.value[0]),
911
- w(() => n == null ? void 0 : n.schema),
912
- O
914
+ M(() => e.value.multiple ? v.value : v.value[0]),
915
+ M(() => n == null ? void 0 : n.schema),
916
+ U
913
917
  );
914
- function R(v) {
915
- var I;
916
- v.target === ((I = a.value) == null ? void 0 : I.$el) && (j(), b.value === "popover" && (s.value = !0));
918
+ function S(m) {
919
+ var w;
920
+ m.target === ((w = a.value) == null ? void 0 : w.$el) && (P(), y.value === "popover" && (s.value = !0));
917
921
  }
918
- async function y(v) {
919
- var V;
920
- if ((V = v == null ? void 0 : v.relatedTarget) != null && V.closest(".suggestions-list")) return;
922
+ async function V(m) {
923
+ var k;
924
+ if ((k = m == null ? void 0 : m.relatedTarget) != null && k.closest(".suggestions-list")) return;
921
925
  s.value = !1;
922
- const I = await O();
923
- I === !0 ? (e.value.error = "", e.value.value = e.value.multiple ? m.value : m.value[0]) : e.value.error = typeof I == "string" ? I : "Validation failed", await _(I === !0);
926
+ const w = await U();
927
+ w === !0 ? (e.value.error = "", e.value.value = e.value.multiple ? v.value : v.value[0]) : e.value.error = typeof w == "string" ? w : "Validation failed", await x(w === !0);
924
928
  }
925
- async function D() {
926
- const v = [];
929
+ async function F() {
930
+ const m = [];
927
931
  if (typeof e.value.options == "function") {
928
- const I = await e.value.options(d.value);
929
- v.push(...I.filter((V) => !!V.label));
932
+ const w = await e.value.options(d.value);
933
+ m.push(...w.filter((k) => !!k.label));
930
934
  } else
931
- v.push(...Je(e.value.options ?? [], d.value));
932
- m.value.forEach((I) => G(I, v)), u.value = v;
935
+ m.push(...Ze(e.value.options ?? [], d.value));
936
+ v.value.forEach((w) => J(w, m)), u.value = m;
933
937
  }
934
- function $() {
935
- const v = e.value.value;
936
- v && (Array.isArray(v) ? v.forEach((I) => G(I, u.value)) : G(typeof v == "object" ? v : {
937
- value: v,
938
- label: v
938
+ function q() {
939
+ const m = e.value.value;
940
+ m && (Array.isArray(m) ? m.forEach((w) => J(w, u.value)) : J(typeof m == "object" ? m : {
941
+ value: m,
942
+ label: m
939
943
  }, u.value));
940
944
  }
941
945
  return o({
942
- onValueUpdate: y,
946
+ onValueUpdate: V,
943
947
  onReset: f,
944
948
  getErrors: () => e.value.error ? [e.value.error] : []
945
- }), (v, I) => (i(), U("div", {
949
+ }), (m, w) => (c(), $("div", {
946
950
  class: "autocomplete-container",
947
- onFocusout: y,
951
+ onFocusout: V,
948
952
  ref_key: "containerRef",
949
953
  ref: l
950
954
  }, [
951
- E(r(te), {
955
+ R(r(te), {
952
956
  ref_key: "inputRef",
953
957
  ref: a,
954
958
  modelValue: d.value,
955
- "onUpdate:modelValue": I[0] || (I[0] = (V) => d.value = V),
959
+ "onUpdate:modelValue": w[0] || (w[0] = (k) => d.value = k),
956
960
  fill: e.value.fill ?? "outline",
957
961
  "label-placement": e.value.labelPlacement ?? "stacked",
958
- type: v.type ?? "text",
962
+ type: m.type ?? "text",
959
963
  required: e.value.required,
960
964
  "error-text": e.value.error,
961
965
  autofocus: e.value.autoFocus,
962
- placeholder: S.value,
966
+ placeholder: E.value,
963
967
  disabled: e.value.disabled,
964
968
  counter: e.value.counter,
965
- onIonFocus: R,
969
+ onIonFocus: S,
966
970
  debounce: 300,
967
- onClick: c
971
+ onClick: i
968
972
  }, {
969
973
  default: p(() => [
970
- E(le, { model: e.value }, null, 8, ["model"]),
971
- e.value.multiple ? (i(), h(r(P), {
974
+ R(le, { model: e.value }, null, 8, ["model"]),
975
+ e.value.multiple ? (c(), h(r(H), {
972
976
  key: 0,
973
977
  style: { width: "fit-content" },
974
978
  slot: "start"
975
979
  }, {
976
980
  default: p(() => [
977
- (i(!0), U(A, null, W(m.value, (V, N) => (i(), h(r(Ee), { key: N }, {
981
+ (c(!0), $(A, null, G(v.value, (k, N) => (c(), h(r(Fe), { key: N }, {
978
982
  default: p(() => [
979
- E(r(P), null, {
983
+ R(r(H), null, {
980
984
  default: p(() => [
981
- T(z(V.label), 1)
985
+ O(T(k.label), 1)
982
986
  ]),
983
987
  _: 2
984
988
  }, 1024)
@@ -987,52 +991,52 @@ const le = /* @__PURE__ */ q({
987
991
  }, 1024))), 128))
988
992
  ]),
989
993
  _: 1
990
- })) : (i(), h(r(P), {
994
+ })) : (c(), h(r(H), {
991
995
  key: 1,
992
996
  slot: "start",
993
997
  class: "ion-no-wrap"
994
998
  }, {
995
999
  default: p(() => {
996
- var V;
1000
+ var k;
997
1001
  return [
998
- T(z(((V = m.value[0]) == null ? void 0 : V.label) ?? ""), 1)
1002
+ O(T(((k = v.value[0]) == null ? void 0 : k.label) ?? ""), 1)
999
1003
  ];
1000
1004
  }),
1001
1005
  _: 1
1002
1006
  })),
1003
- E(r(Z), {
1007
+ R(r(Q), {
1004
1008
  slot: "end",
1005
- icon: r(Ue)
1009
+ icon: r(Ae)
1006
1010
  }, null, 8, ["icon"]),
1007
- m.value.length > 0 || d.value ? (i(), h(r(Z), {
1011
+ v.value.length > 0 || d.value ? (c(), h(r(Q), {
1008
1012
  key: 2,
1009
1013
  slot: "end",
1010
- icon: r(ze),
1014
+ icon: r(je),
1011
1015
  onClick: f,
1012
1016
  style: { "z-index": "999999" }
1013
1017
  }, null, 8, ["icon"])) : B("", !0)
1014
1018
  ]),
1015
1019
  _: 1
1016
1020
  }, 8, ["modelValue", "fill", "label-placement", "type", "required", "error-text", "autofocus", "placeholder", "disabled", "counter"]),
1017
- s.value && u.value.length > 0 && b.value === "popover" ? (i(), h(r(Se), {
1021
+ s.value && u.value.length > 0 && y.value === "popover" ? (c(), h(r(Re), {
1018
1022
  key: 0,
1019
- class: xe(["suggestions-list", M.value])
1023
+ class: Ie(["suggestions-list", I.value])
1020
1024
  }, {
1021
1025
  default: p(() => [
1022
- (i(!0), U(A, null, W(u.value, (V) => (i(), h(r(Fe), {
1026
+ (c(!0), $(A, null, G(u.value, (k) => (c(), h(r(Se), {
1023
1027
  button: "",
1024
- key: V.label,
1025
- onClick: (N) => C(V)
1028
+ key: k.label,
1029
+ onClick: (N) => D(k)
1026
1030
  }, {
1027
1031
  default: p(() => [
1028
- e.value.multiple ? (i(), h(r(pe), {
1032
+ e.value.multiple ? (c(), h(r(pe), {
1029
1033
  key: 0,
1030
1034
  slot: "start",
1031
- checked: V.isChecked
1035
+ checked: k.isChecked
1032
1036
  }, null, 8, ["checked"])) : B("", !0),
1033
- E(r(P), null, {
1037
+ R(r(H), null, {
1034
1038
  default: p(() => [
1035
- T(z(V.label), 1)
1039
+ O(T(k.label), 1)
1036
1040
  ]),
1037
1041
  _: 2
1038
1042
  }, 1024)
@@ -1044,14 +1048,14 @@ const le = /* @__PURE__ */ q({
1044
1048
  }, 8, ["class"])) : B("", !0)
1045
1049
  ], 544));
1046
1050
  }
1047
- }), ge = (t, o) => {
1051
+ }), be = (t, o) => {
1048
1052
  const n = t.__vccOpts || t;
1049
1053
  for (const [e, a] of o)
1050
1054
  n[e] = a;
1051
1055
  return n;
1052
- }, ot = /* @__PURE__ */ ge(nt, [["__scopeId", "data-v-80c14c96"]]), ut = /* @__PURE__ */ q({
1056
+ }, st = /* @__PURE__ */ be(rt, [["__scopeId", "data-v-80c14c96"]]), it = /* @__PURE__ */ z({
1053
1057
  __name: "TextAreaInput",
1054
- props: /* @__PURE__ */ L({
1058
+ props: /* @__PURE__ */ j({
1055
1059
  schema: {}
1056
1060
  }, {
1057
1061
  modelValue: { type: Object, default: {} },
@@ -1059,24 +1063,24 @@ const le = /* @__PURE__ */ q({
1059
1063
  }),
1060
1064
  emits: ["update:modelValue"],
1061
1065
  setup(t, { expose: o }) {
1062
- const n = t, e = Y(t, "modelValue"), a = x(null), l = x(e.value.value), s = w(() => n.schema), { onValueUpdate: u, onFocus: d, onReset: g, getErrors: b } = X(
1066
+ const n = t, e = L(t, "modelValue"), a = _(null), l = _(e.value.value), s = M(() => n.schema), { onValueUpdate: u, onFocus: d, onReset: b, getErrors: y } = Z(
1063
1067
  a,
1064
1068
  e,
1065
1069
  l,
1066
1070
  s
1067
1071
  );
1068
- return H(
1072
+ return Y(
1069
1073
  () => e.value.value,
1070
- (M) => l.value = M
1074
+ (I) => l.value = I
1071
1075
  ), o({
1072
- onReset: g,
1076
+ onReset: b,
1073
1077
  onValueUpdate: u,
1074
- getErrors: b
1075
- }), (M, m) => (i(), h(r(Oe), {
1078
+ getErrors: y
1079
+ }), (I, v) => (c(), h(r(Ue), {
1076
1080
  ref_key: "inputRef",
1077
1081
  ref: a,
1078
1082
  modelValue: l.value,
1079
- "onUpdate:modelValue": m[0] || (m[0] = (S) => l.value = S),
1083
+ "onUpdate:modelValue": v[0] || (v[0] = (E) => l.value = E),
1080
1084
  "clear-input": !0,
1081
1085
  fill: e.value.fill ?? "outline",
1082
1086
  "label-placement": e.value.labelPlacement ?? "stacked",
@@ -1099,17 +1103,17 @@ const le = /* @__PURE__ */ q({
1099
1103
  onIonBlur: r(u)
1100
1104
  }, {
1101
1105
  default: p(() => [
1102
- E(le, { model: e.value }, null, 8, ["model"])
1106
+ R(le, { model: e.value }, null, 8, ["model"])
1103
1107
  ]),
1104
1108
  _: 1
1105
1109
  }, 8, ["modelValue", "fill", "label-placement", "required", "error-text", "autofocus", "placeholder", "disabled", "counter", "min", "max", "rows", "cols", "auto-grow", "max-length", "min-length", "pattern", "onIonFocus", "onIonChange", "onIonBlur"]));
1106
1110
  }
1107
- }), rt = {
1111
+ }), ct = {
1108
1112
  class: "ion-margin-end",
1109
1113
  style: { "flex-grow": "1" }
1110
- }, st = { style: { display: "flex", "justify-content": "flex-end" } }, it = /* @__PURE__ */ q({
1114
+ }, dt = { style: { display: "flex", "justify-content": "flex-end" } }, vt = /* @__PURE__ */ z({
1111
1115
  __name: "RepeatInput",
1112
- props: /* @__PURE__ */ L({
1116
+ props: /* @__PURE__ */ j({
1113
1117
  schema: {},
1114
1118
  data: {},
1115
1119
  computedData: {}
@@ -1119,65 +1123,65 @@ const le = /* @__PURE__ */ q({
1119
1123
  }),
1120
1124
  emits: ["update:modelValue"],
1121
1125
  setup(t, { expose: o }) {
1122
- const n = Y(t, "modelValue"), e = x([]), { dynamicRefs: a, resetForm: l, getFormErrors: s, updateFormValues: u } = ye(), d = w(() => e.value.map((f, C) => ({
1123
- label: `Set ${C + 1}`,
1124
- value: C,
1126
+ const n = L(t, "modelValue"), e = _([]), { dynamicRefs: a, resetForm: l, getFormErrors: s, updateFormValues: u } = ge(), d = M(() => e.value.map((f, D) => ({
1127
+ label: `Set ${D + 1}`,
1128
+ value: D,
1125
1129
  other: Object.entries(f).reduce(
1126
- (c, [F, k]) => (c[F] = k.value, c),
1130
+ (i, [C, g]) => (i[C] = g.value, i),
1127
1131
  {}
1128
1132
  )
1129
1133
  })));
1130
- H(
1134
+ Y(
1131
1135
  d,
1132
1136
  (f) => {
1133
1137
  n.value.value = f;
1134
1138
  },
1135
1139
  { deep: !0, immediate: !0 }
1136
- ), fe(g);
1137
- function g() {
1140
+ ), de(b);
1141
+ function b() {
1138
1142
  n.value.children && e.value.push(ce(n.value.children));
1139
1143
  }
1140
- function b(f) {
1144
+ function y(f) {
1141
1145
  e.value.splice(f, 1);
1142
1146
  }
1143
- function M() {
1147
+ function I() {
1144
1148
  l();
1145
1149
  }
1146
- function m() {
1150
+ function v() {
1147
1151
  return s();
1148
1152
  }
1149
- async function S() {
1153
+ async function E() {
1150
1154
  await u();
1151
1155
  }
1152
1156
  return o({
1153
- onValueUpdate: S,
1154
- onReset: M,
1155
- getErrors: m
1156
- }), (f, C) => (i(!0), U(A, null, W(e.value, (c, F) => (i(), U("div", {
1157
+ onValueUpdate: E,
1158
+ onReset: I,
1159
+ getErrors: v
1160
+ }), (f, D) => (c(!0), $(A, null, G(e.value, (i, C) => (c(), $("div", {
1157
1161
  class: "repeat-input-wrapper",
1158
- key: F
1162
+ key: C
1159
1163
  }, [
1160
- de("div", rt, [
1161
- E(r(ue), null, {
1164
+ ve("div", ct, [
1165
+ R(r(ue), null, {
1162
1166
  default: p(() => [
1163
- (i(!0), U(A, null, W(Object.keys(c), (k) => {
1164
- var O, j, _, R, y;
1165
- return i(), U(A, null, [
1166
- r(ie)(c[k], f.data, f.computedData) ? (i(), h(r(re), {
1167
- key: `${F}-${k}`,
1168
- size: ((O = c[k].grid) == null ? void 0 : O.xs) ?? "12",
1169
- "size-sm": (j = c[k].grid) == null ? void 0 : j.sm,
1170
- "size-md": (_ = c[k].grid) == null ? void 0 : _.md,
1171
- "size-lg": (R = c[k].grid) == null ? void 0 : R.lg,
1172
- "size-xl": (y = c[k].grid) == null ? void 0 : y.xl,
1167
+ (c(!0), $(A, null, G(Object.keys(i), (g) => {
1168
+ var U, P, x, S, V;
1169
+ return c(), $(A, null, [
1170
+ r(ie)(i[g], f.data, f.computedData) ? (c(), h(r(re), {
1171
+ key: `${C}-${g}`,
1172
+ size: ((U = i[g].grid) == null ? void 0 : U.xs) ?? "12",
1173
+ "size-sm": (P = i[g].grid) == null ? void 0 : P.sm,
1174
+ "size-md": (x = i[g].grid) == null ? void 0 : x.md,
1175
+ "size-lg": (S = i[g].grid) == null ? void 0 : S.lg,
1176
+ "size-xl": (V = i[g].grid) == null ? void 0 : V.xl,
1173
1177
  class: "ion-margin-bottom"
1174
1178
  }, {
1175
1179
  default: p(() => [
1176
- (i(), h(ve(c[k].type), {
1177
- modelValue: c[k],
1178
- "onUpdate:modelValue": (D) => c[k] = D,
1179
- schema: c,
1180
- "ref-key": `${F}-${k}`,
1180
+ (c(), h(me(i[g].type), {
1181
+ modelValue: i[g],
1182
+ "onUpdate:modelValue": (F) => i[g] = F,
1183
+ schema: i,
1184
+ "ref-key": `${C}-${g}`,
1181
1185
  ref_for: !0,
1182
1186
  ref_key: "dynamicRefs",
1183
1187
  ref: a
@@ -1191,29 +1195,29 @@ const le = /* @__PURE__ */ q({
1191
1195
  _: 2
1192
1196
  }, 1024)
1193
1197
  ]),
1194
- de("div", st, [
1195
- F === e.value.length - 1 ? (i(), h(r(K), {
1198
+ ve("div", dt, [
1199
+ C === e.value.length - 1 ? (c(), h(r(K), {
1196
1200
  key: 0,
1197
- onClick: g,
1201
+ onClick: b,
1198
1202
  color: "primary"
1199
1203
  }, {
1200
1204
  default: p(() => [
1201
- E(r(Z), {
1205
+ R(r(Q), {
1202
1206
  slot: "icon-only",
1203
- icon: r(qe)
1207
+ icon: r(Le)
1204
1208
  }, null, 8, ["icon"])
1205
1209
  ]),
1206
1210
  _: 1
1207
1211
  })) : B("", !0),
1208
- e.value.length > 1 ? (i(), h(r(K), {
1212
+ e.value.length > 1 ? (c(), h(r(K), {
1209
1213
  key: 1,
1210
- onClick: (k) => b(F),
1214
+ onClick: (g) => y(C),
1211
1215
  color: "warning"
1212
1216
  }, {
1213
1217
  default: p(() => [
1214
- E(r(Z), {
1218
+ R(r(Q), {
1215
1219
  slot: "icon-only",
1216
- icon: r(Ae)
1220
+ icon: r(Pe)
1217
1221
  }, null, 8, ["icon"])
1218
1222
  ]),
1219
1223
  _: 2
@@ -1221,18 +1225,9 @@ const le = /* @__PURE__ */ q({
1221
1225
  ])
1222
1226
  ]))), 128));
1223
1227
  }
1224
- }), ct = /* @__PURE__ */ ge(it, [["__scopeId", "data-v-402695fe"]]);
1225
- function dt(t) {
1226
- return {
1227
- labelTextWithAsterisk: w(() => {
1228
- const n = t.value.label || "", e = t.value.required ? " *" : "";
1229
- return n + e;
1230
- })
1231
- };
1232
- }
1233
- const vt = /* @__PURE__ */ q({
1228
+ }), mt = /* @__PURE__ */ be(vt, [["__scopeId", "data-v-402695fe"]]), ft = /* @__PURE__ */ z({
1234
1229
  __name: "CheckboxInput",
1235
- props: /* @__PURE__ */ L({
1230
+ props: /* @__PURE__ */ j({
1236
1231
  schema: {}
1237
1232
  }, {
1238
1233
  modelValue: { type: Object, default: {} },
@@ -1240,42 +1235,99 @@ const vt = /* @__PURE__ */ q({
1240
1235
  }),
1241
1236
  emits: ["update:modelValue"],
1242
1237
  setup(t, { expose: o }) {
1243
- const n = t, e = Y(t, "modelValue"), a = x(null), l = x(e.value.value), s = w(() => n.schema), { labelTextWithAsterisk: u } = dt(e), { onValueUpdate: d, onFocus: g, getErrors: b } = X(a, e, l, s);
1244
- function M() {
1238
+ const n = t, e = L(t, "modelValue"), a = _(null), l = _(e.value.value), s = M(() => n.schema), u = M(() => ye(e.value)), { onValueUpdate: d, onFocus: b, getErrors: y } = Z(a, e, l, s);
1239
+ function I() {
1245
1240
  l.value = !1, e.value.error = "", e.value.value = !1;
1246
1241
  }
1247
- return H(
1242
+ return Y(
1248
1243
  () => e.value.value,
1249
- (m) => l.value = m
1244
+ (v) => l.value = v
1250
1245
  ), o({
1251
1246
  onValueUpdate: d,
1252
- onReset: M,
1253
- getErrors: b
1254
- }), (m, S) => (i(), h(r(pe), {
1247
+ onReset: I,
1248
+ getErrors: y
1249
+ }), (v, E) => (c(), h(r(pe), {
1255
1250
  modelValue: l.value,
1256
- "onUpdate:modelValue": S[0] || (S[0] = (f) => l.value = f),
1251
+ "onUpdate:modelValue": E[0] || (E[0] = (f) => l.value = f),
1257
1252
  ref_key: "inputRef",
1258
1253
  ref: a,
1259
1254
  required: e.value.required,
1260
1255
  "error-text": e.value.error,
1261
1256
  disabled: e.value.disabled,
1262
- onIonFocus: r(g),
1257
+ onIonFocus: r(b),
1263
1258
  onIonChange: r(d),
1264
1259
  onIonBlur: r(d)
1265
1260
  }, {
1266
1261
  default: p(() => [
1267
- T(z(r(u)), 1)
1262
+ O(T(u.value), 1)
1268
1263
  ]),
1269
1264
  _: 1
1270
1265
  }, 8, ["modelValue", "required", "error-text", "disabled", "onIonFocus", "onIonChange", "onIonBlur"]));
1271
1266
  }
1272
- }), gt = {
1267
+ }), pt = /* @__PURE__ */ z({
1268
+ __name: "RadioInput",
1269
+ props: /* @__PURE__ */ j({
1270
+ schema: {}
1271
+ }, {
1272
+ modelValue: { type: Object, default: {} },
1273
+ modelModifiers: {}
1274
+ }),
1275
+ emits: ["update:modelValue"],
1276
+ setup(t, { expose: o }) {
1277
+ const n = t, e = L(t, "modelValue"), a = _(null), l = _(e.value.value), s = M(() => n.schema), u = _([]), d = M(() => ye(e.value)), b = M(() => e.value.labelPlacement ? e.value.labelPlacement : "end"), { onValueUpdate: y, onFocus: I, getErrors: v } = Z(a, e, l, s);
1278
+ function E() {
1279
+ e.value.error = "", l.value = void 0, e.value.value = void 0;
1280
+ }
1281
+ function f(i, C) {
1282
+ return i.value === C.value;
1283
+ }
1284
+ async function D() {
1285
+ typeof e.value.options == "function" ? u.value = await e.value.options() : u.value = e.value.options;
1286
+ }
1287
+ return Y(
1288
+ () => e.value.value,
1289
+ (i) => l.value = i
1290
+ ), o({
1291
+ onValueUpdate: y,
1292
+ onReset: E,
1293
+ getErrors: v
1294
+ }), de(D), (i, C) => (c(), h(r($e), {
1295
+ modelValue: l.value,
1296
+ "onUpdate:modelValue": C[0] || (C[0] = (g) => l.value = g),
1297
+ ref_key: "inputRef",
1298
+ ref: a,
1299
+ required: e.value.required,
1300
+ "help-text": d.value,
1301
+ "error-text": e.value.error,
1302
+ disabled: e.value.disabled,
1303
+ compareWith: f,
1304
+ onIonFocus: r(I),
1305
+ onIonChange: r(y),
1306
+ onIonBlur: r(y)
1307
+ }, {
1308
+ default: p(() => [
1309
+ (c(!0), $(A, null, G(u.value, (g) => (c(), h(r(Te), {
1310
+ key: g.value,
1311
+ value: g,
1312
+ disabled: e.value.disabled,
1313
+ "label-placement": b.value
1314
+ }, {
1315
+ default: p(() => [
1316
+ O(T(g.label), 1)
1317
+ ]),
1318
+ _: 2
1319
+ }, 1032, ["value", "disabled", "label-placement"]))), 128))
1320
+ ]),
1321
+ _: 1
1322
+ }, 8, ["modelValue", "required", "help-text", "error-text", "disabled", "onIonFocus", "onIonChange", "onIonBlur"]));
1323
+ }
1324
+ }), _t = {
1273
1325
  install(t) {
1274
- t.component("VForm", Ke), t.component("TextInput", Xe), t.component("DateInput", et), t.component("NumberInput", tt), t.component("EmailInput", lt), t.component("PasswordInput", at), t.component("SelectInput", ot), t.component("TextAreaInput", ut), t.component("RepeatInput", ct), t.component("CheckboxInput", vt), t.directive("maskito", je);
1326
+ t.component("VForm", Xe), t.component("TextInput", lt), t.component("DateInput", at), t.component("NumberInput", nt), t.component("EmailInput", ot), t.component("PasswordInput", ut), t.component("SelectInput", st), t.component("TextAreaInput", it), t.component("RepeatInput", mt), t.component("CheckboxInput", ft), t.component("RadioInput", pt), t.directive("maskito", Ye);
1275
1327
  }
1276
1328
  };
1277
1329
  export {
1278
- gt as VForm,
1279
- gt as default
1330
+ _t as VForm,
1331
+ _t as default
1280
1332
  };
1281
1333
  //# sourceMappingURL=index.es.js.map