@webilio-xyz/webilio-vue 1.1.15 → 1.1.16

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.
Files changed (2) hide show
  1. package/dist/Input.js +216 -202
  2. package/package.json +1 -1
package/dist/Input.js CHANGED
@@ -1,12 +1,12 @@
1
- import { computed as v, withDirectives as z, openBlock as h, createElementBlock as $, vModelCheckbox as H, ref as A, onMounted as M, normalizeClass as R, renderSlot as y, createCommentVNode as L, createElementVNode as U, mergeProps as x, unref as j, Fragment as ue, createBlock as w, createVNode as O, normalizeStyle as ie, createSlots as q, withCtx as b, createTextVNode as E, toDisplayString as N, normalizeProps as oe, guardReactiveProps as de, useAttrs as me } from "vue";
2
- import { trans as ce, isLoaded as pe, getActiveLanguage as fe } from "laravel-vue-i18n";
3
- import ge from "@vuepic/vue-datepicker";
4
- import { s as be, u as K, _ as Q, E as X } from "./LabelComponent-BhFRck2o.js";
1
+ import { computed as y, withDirectives as z, openBlock as v, createElementBlock as $, vModelCheckbox as H, ref as C, watch as ue, onMounted as N, normalizeClass as R, renderSlot as k, createCommentVNode as F, createElementVNode as U, mergeProps as V, unref as j, Fragment as ie, createBlock as w, createVNode as L, normalizeStyle as oe, createSlots as q, withCtx as b, createTextVNode as T, toDisplayString as E, normalizeProps as de, guardReactiveProps as me, useAttrs as ce } from "vue";
2
+ import { trans as pe, isLoaded as fe, getActiveLanguage as ge } from "laravel-vue-i18n";
3
+ import be from "@vuepic/vue-datepicker";
4
+ import { s as he, u as K, _ as Q, E as X } from "./LabelComponent-BhFRck2o.js";
5
5
  import { _ as Y } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import { a as he } from "./toString-BzuWRW2B.js";
7
- import { b as ve } from "./_baseIteratee-B9n7IWT3.js";
8
- import { i as ye, b as ke } from "./_baseEach-BeZ5ghU7.js";
9
- import { i as Se } from "./isObject-BD_iszZg.js";
6
+ import { a as ve } from "./toString-BzuWRW2B.js";
7
+ import { b as ye } from "./_baseIteratee-B9n7IWT3.js";
8
+ import { i as ke, b as Se } from "./_baseEach-BeZ5ghU7.js";
9
+ import { i as Ve } from "./isObject-BD_iszZg.js";
10
10
  const xe = ["disabled"], _ = {
11
11
  __name: "CheckboxComponent",
12
12
  props: {
@@ -21,7 +21,7 @@ const xe = ["disabled"], _ = {
21
21
  },
22
22
  emits: ["update:checked", "update:modelValue"],
23
23
  setup(e, { emit: a }) {
24
- const l = a, t = e, n = v({
24
+ const l = a, t = e, n = y({
25
25
  get() {
26
26
  return t.checked;
27
27
  },
@@ -29,8 +29,8 @@ const xe = ["disabled"], _ = {
29
29
  l("update:checked", r), l("update:modelValue", r);
30
30
  }
31
31
  });
32
- return (r, u) => z((h(), $("input", {
33
- "onUpdate:modelValue": u[0] || (u[0] = (i) => n.value = i),
32
+ return (r, i) => z((v(), $("input", {
33
+ "onUpdate:modelValue": i[0] || (i[0] = (o) => n.value = o),
34
34
  disabled: e.disabled,
35
35
  class: "wv-input wv-checkbox-input rounded border-gray-300 text-indigo-600 shadow-sm focus:ring-indigo-500 disabled:bg-gray-400 disabled:text-gray-400",
36
36
  type: "checkbox"
@@ -39,7 +39,7 @@ const xe = ["disabled"], _ = {
39
39
  ]);
40
40
  }
41
41
  };
42
- var Ve = Object.defineProperty, $e = (e, a, l) => a in e ? Ve(e, a, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[a] = l, B = (e, a, l) => $e(e, typeof a != "symbol" ? a + "" : a, l);
42
+ var $e = Object.defineProperty, we = (e, a, l) => a in e ? $e(e, a, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[a] = l, B = (e, a, l) => we(e, typeof a != "symbol" ? a + "" : a, l);
43
43
  const Z = {
44
44
  "#": { pattern: /[0-9]/ },
45
45
  "@": { pattern: /[a-zA-Z]/ },
@@ -51,25 +51,25 @@ const Z = {
51
51
  maximumFractionDigits: a,
52
52
  roundingMode: "trunc"
53
53
  });
54
- }, we = (e, a = !0, l) => {
55
- var t, n, r, u;
56
- const i = ((t = l.number) == null ? void 0 : t.unsigned) !== !0 && e.startsWith("-") ? "-" : "", s = ((n = l.number) == null ? void 0 : n.fraction) ?? 0;
57
- let o = J(0, s, l);
58
- const c = o.formatToParts(1000.12), g = ((r = c.find((d) => d.type === "group")) == null ? void 0 : r.value) ?? " ", m = ((u = c.find((d) => d.type === "decimal")) == null ? void 0 : u.value) ?? ".", f = G(e, g, m);
59
- if (Number.isNaN(parseFloat(f))) return i;
60
- const S = f.split(".");
61
- if (S[1] != null && S[1].length >= 1) {
62
- const d = S[1].length <= s ? S[1].length : s;
63
- o = J(d, s, l);
54
+ }, Ce = (e, a = !0, l) => {
55
+ var t, n, r, i;
56
+ const o = ((t = l.number) == null ? void 0 : t.unsigned) !== !0 && e.startsWith("-") ? "-" : "", s = ((n = l.number) == null ? void 0 : n.fraction) ?? 0;
57
+ let d = J(0, s, l);
58
+ const c = d.formatToParts(1000.12), S = ((r = c.find((m) => m.type === "group")) == null ? void 0 : r.value) ?? " ", f = ((i = c.find((m) => m.type === "decimal")) == null ? void 0 : i.value) ?? ".", g = G(e, S, f);
59
+ if (Number.isNaN(parseFloat(g))) return o;
60
+ const p = g.split(".");
61
+ if (p[1] != null && p[1].length >= 1) {
62
+ const m = p[1].length <= s ? p[1].length : s;
63
+ d = J(m, s, l);
64
64
  }
65
- let p = o.format(parseFloat(f));
66
- return a ? s > 0 && f.endsWith(".") && !f.slice(0, -1).includes(".") && (p += m) : p = G(p, g, m), i + p;
67
- }, ee = (e) => JSON.parse(e.replaceAll("'", '"')), Ce = (e, a = {}) => {
65
+ let u = d.format(parseFloat(g));
66
+ return a ? s > 0 && g.endsWith(".") && !g.slice(0, -1).includes(".") && (u += f) : u = G(u, S, f), o + u;
67
+ }, ee = (e) => JSON.parse(e.replaceAll("'", '"')), Ae = (e, a = {}) => {
68
68
  const l = { ...a };
69
- e.dataset.maska != null && e.dataset.maska !== "" && (l.mask = Ae(e.dataset.maska)), e.dataset.maskaEager != null && (l.eager = T(e.dataset.maskaEager)), e.dataset.maskaReversed != null && (l.reversed = T(e.dataset.maskaReversed)), e.dataset.maskaTokensReplace != null && (l.tokensReplace = T(e.dataset.maskaTokensReplace)), e.dataset.maskaTokens != null && (l.tokens = Be(e.dataset.maskaTokens));
69
+ e.dataset.maska != null && e.dataset.maska !== "" && (l.mask = Be(e.dataset.maska)), e.dataset.maskaEager != null && (l.eager = I(e.dataset.maskaEager)), e.dataset.maskaReversed != null && (l.reversed = I(e.dataset.maskaReversed)), e.dataset.maskaTokensReplace != null && (l.tokensReplace = I(e.dataset.maskaTokensReplace)), e.dataset.maskaTokens != null && (l.tokens = Ne(e.dataset.maskaTokens));
70
70
  const t = {};
71
- return e.dataset.maskaNumberLocale != null && (t.locale = e.dataset.maskaNumberLocale), e.dataset.maskaNumberFraction != null && (t.fraction = parseInt(e.dataset.maskaNumberFraction)), e.dataset.maskaNumberUnsigned != null && (t.unsigned = T(e.dataset.maskaNumberUnsigned)), (e.dataset.maskaNumber != null || Object.values(t).length > 0) && (l.number = t), l;
72
- }, T = (e) => e !== "" ? !!JSON.parse(e) : !0, Ae = (e) => e.startsWith("[") && e.endsWith("]") ? ee(e) : e, Be = (e) => {
71
+ return e.dataset.maskaNumberLocale != null && (t.locale = e.dataset.maskaNumberLocale), e.dataset.maskaNumberFraction != null && (t.fraction = parseInt(e.dataset.maskaNumberFraction)), e.dataset.maskaNumberUnsigned != null && (t.unsigned = I(e.dataset.maskaNumberUnsigned)), (e.dataset.maskaNumber != null || Object.values(t).length > 0) && (l.number = t), l;
72
+ }, I = (e) => e !== "" ? !!JSON.parse(e) : !0, Be = (e) => e.startsWith("[") && e.endsWith("]") ? ee(e) : e, Ne = (e) => {
73
73
  if (e.startsWith("{") && e.endsWith("}"))
74
74
  return ee(e);
75
75
  const a = {};
@@ -137,26 +137,26 @@ class Me {
137
137
  }), { mask: l.join(""), escaped: t };
138
138
  }
139
139
  process(a, l, t = !0) {
140
- if (this.opts.number != null) return we(a, t, this.opts);
140
+ if (this.opts.number != null) return Ce(a, t, this.opts);
141
141
  if (l == null) return a;
142
142
  const n = `v=${a},mr=${l},m=${t ? 1 : 0}`;
143
143
  if (this.memo.has(n)) return this.memo.get(n);
144
- const { mask: r, escaped: u } = this.escapeMask(l), i = [], s = this.opts.tokens != null ? this.opts.tokens : {}, o = this.isReversed() ? -1 : 1, c = this.isReversed() ? "unshift" : "push", g = this.isReversed() ? 0 : r.length - 1, m = this.isReversed() ? () => d > -1 && k > -1 : () => d < r.length && k < a.length, f = (C) => !this.isReversed() && C <= g || this.isReversed() && C >= g;
145
- let S, p = -1, d = this.isReversed() ? r.length - 1 : 0, k = this.isReversed() ? a.length - 1 : 0, P = !1;
146
- for (; m(); ) {
147
- const C = r.charAt(d), V = s[C], I = (V == null ? void 0 : V.transform) != null ? V.transform(a.charAt(k)) : a.charAt(k);
148
- if (!u.includes(d) && V != null ? (I.match(V.pattern) != null ? (i[c](I), V.repeated ? (p === -1 ? p = d : d === g && d !== p && (d = p - o), g === p && (d -= o)) : V.multiple && (P = !0, d -= o), d += o) : V.multiple ? P && (d += o, k -= o, P = !1) : I === S ? S = void 0 : V.optional && (d += o, k -= o), k += o) : (t && !this.isEager() && i[c](C), I === C && !this.isEager() ? k += o : S = C, this.isEager() || (d += o)), this.isEager())
149
- for (; f(d) && (s[r.charAt(d)] == null || u.includes(d)); ) {
144
+ const { mask: r, escaped: i } = this.escapeMask(l), o = [], s = this.opts.tokens != null ? this.opts.tokens : {}, d = this.isReversed() ? -1 : 1, c = this.isReversed() ? "unshift" : "push", S = this.isReversed() ? 0 : r.length - 1, f = this.isReversed() ? () => m > -1 && h > -1 : () => m < r.length && h < a.length, g = (A) => !this.isReversed() && A <= S || this.isReversed() && A >= S;
145
+ let p, u = -1, m = this.isReversed() ? r.length - 1 : 0, h = this.isReversed() ? a.length - 1 : 0, O = !1;
146
+ for (; f(); ) {
147
+ const A = r.charAt(m), x = s[A], M = (x == null ? void 0 : x.transform) != null ? x.transform(a.charAt(h)) : a.charAt(h);
148
+ if (!i.includes(m) && x != null ? (M.match(x.pattern) != null ? (o[c](M), x.repeated ? (u === -1 ? u = m : m === S && m !== u && (m = u - d), S === u && (m -= d)) : x.multiple && (O = !0, m -= d), m += d) : x.multiple ? O && (m += d, h -= d, O = !1) : M === p ? p = void 0 : x.optional && (m += d, h -= d), h += d) : (t && !this.isEager() && o[c](A), M === A && !this.isEager() ? h += d : p = A, this.isEager() || (m += d)), this.isEager())
149
+ for (; g(m) && (s[r.charAt(m)] == null || i.includes(m)); ) {
150
150
  if (t) {
151
- if (i[c](r.charAt(d)), a.charAt(k) === r.charAt(d)) {
152
- d += o, k += o;
151
+ if (o[c](r.charAt(m)), a.charAt(h) === r.charAt(m)) {
152
+ m += d, h += d;
153
153
  continue;
154
154
  }
155
- } else r.charAt(d) === a.charAt(k) && (k += o);
156
- d += o;
155
+ } else r.charAt(m) === a.charAt(h) && (h += d);
156
+ m += d;
157
157
  }
158
158
  }
159
- return this.memo.set(n, i.join("")), this.memo.get(n);
159
+ return this.memo.set(n, o.join("")), this.memo.get(n);
160
160
  }
161
161
  }
162
162
  class Ie {
@@ -166,8 +166,8 @@ class Ie {
166
166
  return;
167
167
  const n = t.target, r = this.items.get(n);
168
168
  if (r === void 0) return;
169
- const u = "inputType" in t && t.inputType.startsWith("delete"), i = r.isEager(), s = u && i && r.unmasked(n.value) === "" ? "" : n.value;
170
- this.fixCursor(n, u, () => this.setValue(n, s));
169
+ const i = "inputType" in t && t.inputType.startsWith("delete"), o = r.isEager(), s = i && o && r.unmasked(n.value) === "" ? "" : n.value;
170
+ this.fixCursor(n, i, () => this.setValue(n, s));
171
171
  }), this.options = l, this.eventAbortController = new AbortController(), this.init(this.getInputs(a));
172
172
  }
173
173
  update(a = {}) {
@@ -187,7 +187,7 @@ class Ie {
187
187
  const { signal: r } = this.eventAbortController;
188
188
  t.addEventListener("input", this.onInput, { capture: !0, signal: r });
189
189
  }
190
- const n = new Me(Ce(t, l));
190
+ const n = new Me(Ae(t, l));
191
191
  this.items.set(t, n), queueMicrotask(() => this.updateValue(t)), t.selectionStart === null && n.isEager() && console.warn("Maska: input of `%s` type is not supported", t.type);
192
192
  }
193
193
  }
@@ -200,12 +200,12 @@ class Ie {
200
200
  }
201
201
  fixCursor(a, l, t) {
202
202
  var n, r;
203
- const u = a.selectionStart, i = a.value;
204
- if (t(), u === null || u === i.length && !l) return;
205
- const s = a.value, o = i.slice(0, u), c = s.slice(0, u), g = (n = this.processInput(a, o)) == null ? void 0 : n.unmasked, m = (r = this.processInput(a, c)) == null ? void 0 : r.unmasked;
206
- if (g === void 0 || m === void 0) return;
207
- let f = u;
208
- o !== c && (f += l ? s.length - i.length : g.length - m.length), a.setSelectionRange(f, f);
203
+ const i = a.selectionStart, o = a.value;
204
+ if (t(), i === null || i === o.length && !l) return;
205
+ const s = a.value, d = o.slice(0, i), c = s.slice(0, i), S = (n = this.processInput(a, d)) == null ? void 0 : n.unmasked, f = (r = this.processInput(a, c)) == null ? void 0 : r.unmasked;
206
+ if (S === void 0 || f === void 0) return;
207
+ let g = i;
208
+ d !== c && (g += l ? s.length - o.length : S.length - f.length), a.setSelectionRange(g, g);
209
209
  }
210
210
  setValue(a, l) {
211
211
  const t = this.processInput(a, l);
@@ -224,7 +224,7 @@ class Ie {
224
224
  };
225
225
  }
226
226
  }
227
- const F = /* @__PURE__ */ new WeakMap(), Te = (e, a) => {
227
+ const P = /* @__PURE__ */ new WeakMap(), Te = (e, a) => {
228
228
  if (e.arg == null || e.instance == null) return;
229
229
  const l = "setup" in e.instance.$.type;
230
230
  e.arg in e.instance ? e.instance[e.arg] = a : l && console.warn("Maska: please expose `%s` using defineExpose", e.arg);
@@ -234,17 +234,17 @@ const F = /* @__PURE__ */ new WeakMap(), Te = (e, a) => {
234
234
  if (t == null || (t == null ? void 0 : t.type) === "file") return;
235
235
  let n = {};
236
236
  if (a.value != null && (n = typeof a.value == "string" ? { mask: a.value } : { ...a.value }), a.arg != null) {
237
- const r = (u) => {
238
- const i = a.modifiers.unmasked ? u.unmasked : a.modifiers.completed ? u.completed : u.masked;
239
- Te(a, i);
237
+ const r = (i) => {
238
+ const o = a.modifiers.unmasked ? i.unmasked : a.modifiers.completed ? i.completed : i.masked;
239
+ Te(a, o);
240
240
  };
241
241
  n.onMaska = n.onMaska == null ? r : Array.isArray(n.onMaska) ? [...n.onMaska, r] : [n.onMaska, r];
242
242
  }
243
- F.has(t) ? (l = F.get(t)) == null || l.update(n) : F.set(t, new Ie(t, n));
244
- }, Ne = {
243
+ P.has(t) ? (l = P.get(t)) == null || l.update(n) : P.set(t, new Ie(t, n));
244
+ }, Re = {
245
245
  key: 0,
246
246
  class: "wv-text-input-prefix flex items-center pl-2"
247
- }, Re = ["disabled", "inputmode", "max", "min", "step", "type", "value"], Le = {
247
+ }, Fe = ["disabled", "inputmode", "max", "min", "step", "type", "value"], Le = {
248
248
  key: 1,
249
249
  class: "wv-text-input-suffix flex items-center pr-2"
250
250
  }, W = /* @__PURE__ */ Object.assign({
@@ -282,48 +282,62 @@ const F = /* @__PURE__ */ new WeakMap(), Te = (e, a) => {
282
282
  },
283
283
  emits: ["update:modelValue"],
284
284
  setup(e, { expose: a, emit: l }) {
285
- const t = e, n = l, r = v(() => t.type === "number"), u = v(() => r.value && t.precision !== null ? "text" : t.type), i = v(() => r.value && t.precision !== null ? "decimal" : null), s = v(() => t.step ? t.step : t.precision !== null ? Math.pow(10, -t.precision).toFixed(t.precision) : null), o = (m) => {
286
- if (!r.value || m === "" || m === "-" || m === "." || m === "-.") return m;
287
- const f = parseFloat(m);
288
- return isNaN(f) ? m : t.min !== null && f < parseFloat(t.min) ? t.min : t.max !== null && f > parseFloat(t.max) ? t.max : m;
289
- }, c = (m) => {
290
- let f = m.target.value;
285
+ const t = e, n = l, r = y(() => t.type === "number"), i = y(() => r.value && t.precision !== null ? "text" : t.type), o = y(() => r.value && t.precision !== null ? "decimal" : null), s = y(() => t.step ? t.step : t.precision !== null ? Math.pow(10, -t.precision).toFixed(t.precision) : null), d = (p) => {
286
+ if (!r.value || p === "" || p === "-" || p === "." || p === "-.") return p;
287
+ const u = parseFloat(p);
288
+ return isNaN(u) ? p : t.min !== null && u < parseFloat(t.min) ? t.min : t.max !== null && u > parseFloat(t.max) ? t.max : p;
289
+ }, c = C(t.modelValue ?? "");
290
+ ue(() => t.modelValue, (p) => {
291
+ const u = p ?? "";
292
+ if (r.value) {
293
+ const m = parseFloat(u), h = parseFloat(c.value);
294
+ if (!isNaN(m) && !isNaN(h) && m === h) return;
295
+ }
296
+ c.value = u;
297
+ });
298
+ const S = (p) => {
299
+ let u = p.target.value;
291
300
  if (r.value && t.precision !== null) {
292
- const S = new RegExp(`^-?\\d*\\.?\\d{0,${t.precision}}$`);
293
- if (f !== "" && f !== "-" && f !== "." && f !== "-." && !S.test(f)) {
294
- m.target.value = t.modelValue || "";
301
+ const m = new RegExp(`^-?\\d*\\.?\\d{0,${t.precision}}$`);
302
+ if (u !== "" && u !== "-" && u !== "." && u !== "-." && !m.test(u)) {
303
+ p.target.value = c.value;
295
304
  return;
296
305
  }
297
306
  }
298
- f = o(f), m.target.value = f, n("update:modelValue", f);
299
- }, g = A(null);
300
- return M(() => {
307
+ u = d(u), p.target.value !== u && (p.target.value = u), c.value = u, n("update:modelValue", u);
308
+ }, f = (p) => {
309
+ if (!r.value) return;
310
+ let u = p.target.value;
311
+ u.endsWith(".") && (u = u.slice(0, -1)), (u === "" || u === "-" || isNaN(parseFloat(u))) && (u = ""), u !== p.target.value && (c.value = u, p.target.value = u, n("update:modelValue", u));
312
+ }, g = C(null);
313
+ return N(() => {
301
314
  g.value.hasAttribute("autofocus") && g.value.focus();
302
- }), a({ focus: () => g.value.focus() }), (m, f) => (h(), $("div", {
315
+ }), a({ focus: () => g.value.focus() }), (p, u) => (v(), $("div", {
303
316
  class: R(["wv-input wv-text-input-wrapper flex items-center border border-gray-300 focus-within:border-indigo-500 focus-within:ring-1 focus-within:ring-indigo-500 rounded-md shadow-sm", { "disabled-input": e.disabled }])
304
317
  }, [
305
- m.$slots.prefix ? (h(), $("div", Ne, [
306
- y(m.$slots, "prefix")
307
- ])) : L("", !0),
308
- z(U("input", x({
318
+ p.$slots.prefix ? (v(), $("div", Re, [
319
+ k(p.$slots, "prefix")
320
+ ])) : F("", !0),
321
+ z(U("input", V({
309
322
  ref_key: "input",
310
323
  ref: g
311
- }, m.$attrs, {
324
+ }, p.$attrs, {
312
325
  class: ["wv-text-input flex-1 border-0 focus:ring-0 disabled:bg-gray-200 px-1", e.inputClass],
313
326
  disabled: e.disabled,
314
- inputmode: i.value,
327
+ inputmode: o.value,
315
328
  max: e.max,
316
329
  min: e.min,
317
330
  step: s.value,
318
- type: u.value,
319
- value: e.modelValue,
320
- onInput: c
321
- }), null, 16, Re), [
331
+ type: i.value,
332
+ value: c.value,
333
+ onBlur: f,
334
+ onInput: S
335
+ }), null, 16, Fe), [
322
336
  [j(Ee), e.mask]
323
337
  ]),
324
- m.$slots.suffix ? (h(), $("div", Le, [
325
- y(m.$slots, "suffix")
326
- ])) : L("", !0)
338
+ p.$slots.suffix ? (v(), $("div", Le, [
339
+ k(p.$slots, "suffix")
340
+ ])) : F("", !0)
327
341
  ], 2));
328
342
  }
329
343
  }), Oe = {
@@ -359,62 +373,62 @@ const F = /* @__PURE__ */ new WeakMap(), Te = (e, a) => {
359
373
  },
360
374
  emits: ["update:modelValue"],
361
375
  setup(e, { emit: a }) {
362
- const l = A(null), t = A(null), n = async () => {
376
+ const l = C(null), t = C(null), n = async () => {
363
377
  if (!l.value) {
364
- const [p, d] = await Promise.all([
378
+ const [u, m] = await Promise.all([
365
379
  import("date-fns"),
366
380
  import("date-fns-tz")
367
381
  ]);
368
- l.value = p, t.value = d;
382
+ l.value = u, t.value = m;
369
383
  }
370
- }, r = v(() => {
371
- let p = "yyyy/MM/dd";
372
- if (u.value && l.value)
384
+ }, r = y(() => {
385
+ let u = "yyyy/MM/dd";
386
+ if (i.value && l.value)
373
387
  try {
374
- const d = ce("date.format").toString(), k = l.value.parse("29/10/1989", "P", /* @__PURE__ */ new Date());
375
- l.value.format(k, d), p = d;
388
+ const m = pe("date.format").toString(), h = l.value.parse("29/10/1989", "P", /* @__PURE__ */ new Date());
389
+ l.value.format(h, m), u = m;
376
390
  } catch {
377
391
  }
378
- return p;
379
- }), u = A(!1);
380
- M(async () => {
392
+ return u;
393
+ }), i = C(!1);
394
+ N(async () => {
381
395
  await n();
382
- const p = setInterval(() => {
383
- pe() && (u.value = !0, clearInterval(p));
396
+ const u = setInterval(() => {
397
+ fe() && (i.value = !0, clearInterval(u));
384
398
  }, 50);
385
399
  });
386
- const i = v(() => fe()), s = e, o = a, c = (p) => !p || !t.value ? null : Array.isArray(p) ? p.map((d) => t.value.fromZonedTime(d, Intl.DateTimeFormat().resolvedOptions().timeZone)) : t.value.fromZonedTime(p, Intl.DateTimeFormat().resolvedOptions().timeZone), g = v(() => c(s.modelValue)), m = v(() => c(s.min)), f = v(() => c(s.max)), S = (p) => {
387
- o("update:modelValue", p);
400
+ const o = y(() => ge()), s = e, d = a, c = (u) => !u || !t.value ? null : Array.isArray(u) ? u.map((m) => t.value.fromZonedTime(m, Intl.DateTimeFormat().resolvedOptions().timeZone)) : t.value.fromZonedTime(u, Intl.DateTimeFormat().resolvedOptions().timeZone), S = y(() => c(s.modelValue)), f = y(() => c(s.min)), g = y(() => c(s.max)), p = (u) => {
401
+ d("update:modelValue", u);
388
402
  };
389
- return (p, d) => (h(), $(ue, null, [
390
- r.value ? (h(), w(j(ge), x({ key: 0 }, p.$attrs, {
403
+ return (u, m) => (v(), $(ie, null, [
404
+ r.value ? (v(), w(j(be), V({ key: 0 }, u.$attrs, {
391
405
  class: "print:hidden wv-input wv-date-input",
392
- "model-value": g.value,
393
- "min-date": m.value,
394
- "max-date": f.value,
406
+ "model-value": S.value,
407
+ "min-date": f.value,
408
+ "max-date": g.value,
395
409
  "enable-time-picker": e.enableTimePicker,
396
410
  format: r.value,
397
- locale: i.value,
411
+ locale: o.value,
398
412
  range: e.range,
399
- "select-text": p.$t("Select"),
400
- "cancel-text-text": p.$t("Cancel"),
401
- "now-button-label": p.$t("Now"),
413
+ "select-text": u.$t("Select"),
414
+ "cancel-text-text": u.$t("Cancel"),
415
+ "now-button-label": u.$t("Now"),
402
416
  "time-picker": !1,
403
417
  "auto-apply": !0,
404
418
  "partial-flow": !0,
405
419
  placeholder: e.placeholder,
406
420
  teleport: e.teleport,
407
421
  disabled: e.disabled,
408
- "onUpdate:modelValue": S
409
- }), null, 16, ["model-value", "min-date", "max-date", "enable-time-picker", "format", "locale", "range", "select-text", "cancel-text-text", "now-button-label", "placeholder", "teleport", "disabled"])) : L("", !0),
410
- O(W, x(p.$attrs, {
422
+ "onUpdate:modelValue": p
423
+ }), null, 16, ["model-value", "min-date", "max-date", "enable-time-picker", "format", "locale", "range", "select-text", "cancel-text-text", "now-button-label", "placeholder", "teleport", "disabled"])) : F("", !0),
424
+ L(W, V(u.$attrs, {
411
425
  class: "hidden print:block w-full wv-input wv-date-input",
412
426
  "model-value": e.modelValue,
413
427
  disabled: e.disabled
414
428
  }), null, 16, ["model-value", "disabled"])
415
429
  ], 64));
416
430
  }
417
- }, ae = /* @__PURE__ */ Y(Oe, [["__scopeId", "data-v-d80b8eb3"]]), Pe = ["disabled"], Fe = /* @__PURE__ */ Object.assign({
431
+ }, ae = /* @__PURE__ */ Y(Oe, [["__scopeId", "data-v-d80b8eb3"]]), Pe = ["disabled"], De = /* @__PURE__ */ Object.assign({
418
432
  inheritAttrs: !1
419
433
  }, {
420
434
  __name: "ToggleComponent",
@@ -434,21 +448,21 @@ const F = /* @__PURE__ */ new WeakMap(), Te = (e, a) => {
434
448
  },
435
449
  emits: ["update:checked", "update:modelValue"],
436
450
  setup(e, { emit: a }) {
437
- const l = a, t = e, n = v(() => ({
451
+ const l = a, t = e, n = y(() => ({
438
452
  "--size": `${t.size}rem`
439
- })), r = v({
453
+ })), r = y({
440
454
  get() {
441
455
  return !!t.modelValue;
442
456
  },
443
- set(u) {
444
- t.disabled || (l("update:modelValue", u), l("update:checked", u));
457
+ set(i) {
458
+ t.disabled || (l("update:modelValue", i), l("update:checked", i));
445
459
  }
446
460
  });
447
- return (u, i) => (h(), $("label", {
461
+ return (i, o) => (v(), $("label", {
448
462
  class: R(["inline-flex items-center", { "cursor-pointer": !e.disabled }])
449
463
  }, [
450
- z(U("input", x(u.$attrs, {
451
- "onUpdate:modelValue": i[0] || (i[0] = (s) => r.value = s),
464
+ z(U("input", V(i.$attrs, {
465
+ "onUpdate:modelValue": o[0] || (o[0] = (s) => r.value = s),
452
466
  type: "checkbox",
453
467
  value: "",
454
468
  disabled: e.disabled,
@@ -457,7 +471,7 @@ const F = /* @__PURE__ */ new WeakMap(), Te = (e, a) => {
457
471
  [H, r.value]
458
472
  ]),
459
473
  U("div", {
460
- style: ie(n.value),
474
+ style: oe(n.value),
461
475
  class: R(["wv-input wv-toggle-input relative bg-gray-700 rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:transition-all dark:border-gray-600 peer-checked:bg-blue-600", {
462
476
  "after:bg-gray-100": e.disabled,
463
477
  "peer-checked:bg-blue-300": e.disabled,
@@ -466,16 +480,16 @@ const F = /* @__PURE__ */ new WeakMap(), Te = (e, a) => {
466
480
  }, null, 6)
467
481
  ], 2));
468
482
  }
469
- }), le = /* @__PURE__ */ Y(Fe, [["__scopeId", "data-v-b1502fcd"]]);
470
- function De(e, a) {
471
- var l = -1, t = ye(e) ? Array(e.length) : [];
472
- return ke(e, function(n, r, u) {
473
- t[++l] = a(n, r, u);
483
+ }), le = /* @__PURE__ */ Y(De, [["__scopeId", "data-v-b1502fcd"]]);
484
+ function Ue(e, a) {
485
+ var l = -1, t = ke(e) ? Array(e.length) : [];
486
+ return Se(e, function(n, r, i) {
487
+ t[++l] = a(n, r, i);
474
488
  }), t;
475
489
  }
476
490
  function D(e, a) {
477
- var l = Se(e) ? he : De;
478
- return l(e, ve(a));
491
+ var l = Ve(e) ? ve : Ue;
492
+ return l(e, ye(a));
479
493
  }
480
494
  const se = {
481
495
  __name: "SelectComponent",
@@ -536,7 +550,7 @@ const se = {
536
550
  },
537
551
  emits: ["update:modelValue", "tag"],
538
552
  setup(e, { emit: a }) {
539
- const l = a, t = e, n = v({
553
+ const l = a, t = e, n = y({
540
554
  get() {
541
555
  return Array.isArray(t.modelValue) ? r.value.filter((s) => t.modelValue.includes(s == null ? void 0 : s.value)) : r.value.find((s) => (s == null ? void 0 : s.value) === t.modelValue);
542
556
  },
@@ -545,29 +559,29 @@ const se = {
545
559
  if (!t.multiple)
546
560
  l("update:modelValue", s == null ? void 0 : s.value);
547
561
  else {
548
- const o = D(s, (c) => c == null ? void 0 : c.value);
549
- l("update:modelValue", o);
562
+ const d = D(s, (c) => c == null ? void 0 : c.value);
563
+ l("update:modelValue", d);
550
564
  }
551
565
  }
552
- }), r = v(() => D(t == null ? void 0 : t.options, (s) => typeof s == "string" ? {
566
+ }), r = y(() => D(t == null ? void 0 : t.options, (s) => typeof s == "string" ? {
553
567
  label: s,
554
568
  value: s
555
- } : s) ?? []), u = (s) => {
569
+ } : s) ?? []), i = (s) => {
556
570
  if (t.deselectable) {
557
- let o;
571
+ let d;
558
572
  if (t.multiple) {
559
573
  const c = s == null ? void 0 : s.value;
560
- o = D(n.value ?? [], (m) => m == null ? void 0 : m.value).filter((m) => m !== c);
574
+ d = D(n.value ?? [], (f) => f == null ? void 0 : f.value).filter((f) => f !== c);
561
575
  }
562
- l("update:modelValue", o);
576
+ l("update:modelValue", d);
563
577
  }
564
- }, i = (s) => {
578
+ }, o = (s) => {
565
579
  l("tag", s);
566
580
  };
567
- return (s, o) => (h(), w(j(be), {
581
+ return (s, d) => (v(), w(j(he), {
568
582
  id: "value",
569
583
  modelValue: n.value,
570
- "onUpdate:modelValue": o[0] || (o[0] = (c) => n.value = c),
584
+ "onUpdate:modelValue": d[0] || (d[0] = (c) => n.value = c),
571
585
  class: "wv-input wv-select-input border-gray-300 focus:border-indigo-500 focus:ring-indigo-500 rounded-md shadow-sm",
572
586
  options: r.value,
573
587
  placeholder: e.placeholder ?? s.$t("select.placeholder"),
@@ -583,93 +597,93 @@ const se = {
583
597
  "group-label": e.groupLabel,
584
598
  taggable: e.taggable,
585
599
  preserveSearch: e.preserveSearch,
586
- onTag: i,
587
- onRemove: u
600
+ onTag: o,
601
+ onRemove: i
588
602
  }, q({
589
603
  maxElements: b(() => [
590
- E(N(s.$tChoice("select.maxElements", e.max)), 1)
604
+ T(E(s.$tChoice("select.maxElements", e.max)), 1)
591
605
  ]),
592
606
  noResult: b(() => [
593
- E(N(s.$t("select.noResult")), 1)
607
+ T(E(s.$t("select.noResult")), 1)
594
608
  ]),
595
609
  noOptions: b(() => [
596
- E(N(s.$t("select.noOptions")), 1)
610
+ T(E(s.$t("select.noOptions")), 1)
597
611
  ]),
598
612
  _: 2
599
613
  }, [
600
614
  s.$slots.tag ? {
601
615
  name: "tag",
602
616
  fn: b((c) => [
603
- y(s.$slots, "tag", oe(de(c)))
617
+ k(s.$slots, "tag", de(me(c)))
604
618
  ]),
605
619
  key: "0"
606
620
  } : void 0,
607
621
  s.$slots.beforeList ? {
608
622
  name: "beforeList",
609
623
  fn: b(() => [
610
- y(s.$slots, "beforeList")
624
+ k(s.$slots, "beforeList")
611
625
  ]),
612
626
  key: "1"
613
627
  } : void 0,
614
628
  s.$slots.afterList ? {
615
629
  name: "afterList",
616
630
  fn: b(() => [
617
- y(s.$slots, "afterList")
631
+ k(s.$slots, "afterList")
618
632
  ]),
619
633
  key: "2"
620
634
  } : void 0,
621
635
  s.$slots.caret ? {
622
636
  name: "caret",
623
637
  fn: b(() => [
624
- y(s.$slots, "caret")
638
+ k(s.$slots, "caret")
625
639
  ]),
626
640
  key: "3"
627
641
  } : void 0,
628
642
  s.$slots.singleLabel ? {
629
643
  name: "singleLabel",
630
644
  fn: b(() => [
631
- y(s.$slots, "singleLabel")
645
+ k(s.$slots, "singleLabel")
632
646
  ]),
633
647
  key: "4"
634
648
  } : void 0,
635
649
  s.$slots.placeholder ? {
636
650
  name: "placeholder",
637
651
  fn: b(() => [
638
- y(s.$slots, "placeholder")
652
+ k(s.$slots, "placeholder")
639
653
  ]),
640
654
  key: "5"
641
655
  } : void 0,
642
656
  s.$slots.limit ? {
643
657
  name: "limit",
644
658
  fn: b(() => [
645
- y(s.$slots, "limit")
659
+ k(s.$slots, "limit")
646
660
  ]),
647
661
  key: "6"
648
662
  } : void 0,
649
663
  s.$slots.clear ? {
650
664
  name: "clear",
651
665
  fn: b(() => [
652
- y(s.$slots, "clear")
666
+ k(s.$slots, "clear")
653
667
  ]),
654
668
  key: "7"
655
669
  } : void 0,
656
670
  s.$slots.tag ? {
657
671
  name: "tag",
658
672
  fn: b(() => [
659
- y(s.$slots, "tag")
673
+ k(s.$slots, "tag")
660
674
  ]),
661
675
  key: "8"
662
676
  } : void 0,
663
677
  s.$slots.selection ? {
664
678
  name: "selection",
665
679
  fn: b(() => [
666
- y(s.$slots, "selection")
680
+ k(s.$slots, "selection")
667
681
  ]),
668
682
  key: "9"
669
683
  } : void 0
670
684
  ]), 1032, ["modelValue", "options", "placeholder", "multiple", "max", "open-direction", "close-on-select", "searchable", "group-select", "group-values", "group-label", "taggable", "preserveSearch"]));
671
685
  }
672
- }, Ue = ["value", "placeholder"], ne = {
686
+ }, ze = ["value", "placeholder"], ne = {
673
687
  __name: "TextareaComponent",
674
688
  props: {
675
689
  modelValue: String,
@@ -677,19 +691,19 @@ const se = {
677
691
  },
678
692
  emits: ["update:modelValue"],
679
693
  setup(e, { expose: a }) {
680
- const l = A(null);
681
- return M(() => {
694
+ const l = C(null);
695
+ return N(() => {
682
696
  l.value.hasAttribute("autofocus") && l.value.focus();
683
- }), a({ focus: () => l.value.focus() }), (t, n) => (h(), $("textarea", {
697
+ }), a({ focus: () => l.value.focus() }), (t, n) => (v(), $("textarea", {
684
698
  ref_key: "input",
685
699
  ref: l,
686
700
  class: "wv-input wv-textarea-input border-gray-300 focus:border-indigo-500 focus:ring-indigo-500 rounded-md shadow-sm disabled:bg-gray-200",
687
701
  value: e.modelValue,
688
702
  placeholder: e.placeholder,
689
703
  onInput: n[0] || (n[0] = (r) => t.$emit("update:modelValue", r.target.value))
690
- }, null, 40, Ue));
704
+ }, null, 40, ze));
691
705
  }
692
- }, ze = {
706
+ }, je = {
693
707
  key: 1,
694
708
  class: "h-10 flex items-center"
695
709
  }, re = /* @__PURE__ */ Object.assign({
@@ -768,29 +782,29 @@ const se = {
768
782
  },
769
783
  emits: ["update:modelValue", "tag"],
770
784
  setup(e, { emit: a }) {
771
- const l = e, t = a, n = A(null);
772
- M(() => {
785
+ const l = e, t = a, n = C(null);
786
+ N(() => {
773
787
  n.value = K("input_group_");
774
788
  });
775
- const r = v(() => l.type === "tel" ? "(###) ###-####" : null);
776
- return (u, i) => e.type === "checkbox" ? (h(), w(_, x({ key: 0 }, u.$attrs, {
789
+ const r = y(() => l.type === "tel" ? "(###) ###-####" : null);
790
+ return (i, o) => e.type === "checkbox" ? (v(), w(_, V({ key: 0 }, i.$attrs, {
777
791
  id: n.value,
778
792
  name: e.name,
779
793
  "model-value": e.modelValue,
780
794
  class: "size-10 " + e.customClass,
781
795
  disabled: e.disabled,
782
- "onUpdate:modelValue": i[0] || (i[0] = (s) => t("update:modelValue", s))
783
- }), null, 16, ["id", "name", "model-value", "class", "disabled"])) : e.type === "toggle" ? (h(), $("div", ze, [
784
- O(le, x(u.$attrs, {
796
+ "onUpdate:modelValue": o[0] || (o[0] = (s) => t("update:modelValue", s))
797
+ }), null, 16, ["id", "name", "model-value", "class", "disabled"])) : e.type === "toggle" ? (v(), $("div", je, [
798
+ L(le, V(i.$attrs, {
785
799
  id: n.value,
786
800
  name: e.name,
787
801
  "model-value": !!e.modelValue,
788
802
  size: "15",
789
803
  class: e.customClass,
790
804
  disabled: e.disabled,
791
- "onUpdate:modelValue": i[1] || (i[1] = (s) => t("update:modelValue", s))
805
+ "onUpdate:modelValue": o[1] || (o[1] = (s) => t("update:modelValue", s))
792
806
  }), null, 16, ["id", "name", "model-value", "class", "disabled"])
793
- ])) : e.type === "select" ? (h(), w(se, x({ key: 2 }, u.$attrs, {
807
+ ])) : e.type === "select" ? (v(), w(se, V({ key: 2 }, i.$attrs, {
794
808
  id: n.value,
795
809
  name: e.name,
796
810
  "model-value": e.modelValue,
@@ -802,17 +816,17 @@ const se = {
802
816
  taggable: e.taggable,
803
817
  deselectable: e.deselectable,
804
818
  preserveSearch: e.preserveSearch,
805
- "onUpdate:modelValue": i[2] || (i[2] = (s) => t("update:modelValue", s)),
806
- onTag: i[3] || (i[3] = (s) => t("tag", s))
807
- }), null, 16, ["id", "name", "model-value", "class", "options", "disabled", "multiple", "searchable", "taggable", "deselectable", "preserveSearch"])) : e.type === "textarea" ? (h(), w(ne, x({ key: 3 }, u.$attrs, {
819
+ "onUpdate:modelValue": o[2] || (o[2] = (s) => t("update:modelValue", s)),
820
+ onTag: o[3] || (o[3] = (s) => t("tag", s))
821
+ }), null, 16, ["id", "name", "model-value", "class", "options", "disabled", "multiple", "searchable", "taggable", "deselectable", "preserveSearch"])) : e.type === "textarea" ? (v(), w(ne, V({ key: 3 }, i.$attrs, {
808
822
  id: n.value,
809
823
  name: e.name,
810
824
  "model-value": e.modelValue,
811
825
  class: "w-full " + e.customClass,
812
826
  placeholder: e.placeholder,
813
827
  disabled: e.disabled,
814
- "onUpdate:modelValue": i[4] || (i[4] = (s) => t("update:modelValue", s))
815
- }), null, 16, ["id", "name", "model-value", "class", "placeholder", "disabled"])) : e.type === "date" ? (h(), w(ae, x({ key: 4 }, u.$attrs, {
828
+ "onUpdate:modelValue": o[4] || (o[4] = (s) => t("update:modelValue", s))
829
+ }), null, 16, ["id", "name", "model-value", "class", "placeholder", "disabled"])) : e.type === "date" ? (v(), w(ae, V({ key: 4 }, i.$attrs, {
816
830
  id: n.value,
817
831
  name: e.name,
818
832
  "model-value": e.modelValue,
@@ -822,8 +836,8 @@ const se = {
822
836
  range: e.range,
823
837
  "enable-time-picker": e.enableTimePicker,
824
838
  disabled: e.disabled,
825
- "onUpdate:modelValue": i[5] || (i[5] = (s) => t("update:modelValue", s))
826
- }), null, 16, ["id", "name", "model-value", "class", "max", "min", "range", "enable-time-picker", "disabled"])) : (h(), w(W, x({ key: 5 }, u.$attrs, {
839
+ "onUpdate:modelValue": o[5] || (o[5] = (s) => t("update:modelValue", s))
840
+ }), null, 16, ["id", "name", "model-value", "class", "max", "min", "range", "enable-time-picker", "disabled"])) : (v(), w(W, V({ key: 5 }, i.$attrs, {
827
841
  id: n.value,
828
842
  type: e.type,
829
843
  name: e.name,
@@ -837,25 +851,25 @@ const se = {
837
851
  step: e.step,
838
852
  class: "w-full " + e.customClass,
839
853
  "input-class": e.inputClass,
840
- "onUpdate:modelValue": i[6] || (i[6] = (s) => t("update:modelValue", s))
854
+ "onUpdate:modelValue": o[6] || (o[6] = (s) => t("update:modelValue", s))
841
855
  }), q({ _: 2 }, [
842
- u.$slots.prefix ? {
856
+ i.$slots.prefix ? {
843
857
  name: "prefix",
844
858
  fn: b(() => [
845
- y(u.$slots, "prefix")
859
+ k(i.$slots, "prefix")
846
860
  ]),
847
861
  key: "0"
848
862
  } : void 0,
849
- u.$slots.suffix ? {
863
+ i.$slots.suffix ? {
850
864
  name: "suffix",
851
865
  fn: b(() => [
852
- y(u.$slots, "suffix")
866
+ k(i.$slots, "suffix")
853
867
  ]),
854
868
  key: "1"
855
869
  } : void 0
856
870
  ]), 1040, ["id", "type", "name", "placeholder", "model-value", "disabled", "min", "max", "mask", "precision", "step", "class", "input-class"]));
857
871
  }
858
- }), je = /* @__PURE__ */ Object.assign({
872
+ }), qe = /* @__PURE__ */ Object.assign({
859
873
  inheritAttrs: !1
860
874
  }, {
861
875
  __name: "InputGroupComponent",
@@ -940,37 +954,37 @@ const se = {
940
954
  },
941
955
  emits: ["update:modelValue", "tag"],
942
956
  setup(e, { emit: a }) {
943
- const l = e, t = a, n = me(), r = v(() => {
957
+ const l = e, t = a, n = ce(), r = y(() => {
944
958
  const s = {};
945
- for (const [o, c] of Object.entries(n))
946
- o.startsWith("input-") && (s[o.slice(6)] = c);
959
+ for (const [d, c] of Object.entries(n))
960
+ d.startsWith("input-") && (s[d.slice(6)] = c);
947
961
  return s;
948
- }), u = A(null);
949
- M(() => {
950
- u.value = K("input_group_");
962
+ }), i = C(null);
963
+ N(() => {
964
+ i.value = K("input_group_");
951
965
  });
952
- const i = v(() => l.type === "tel" ? "(###) ###-####" : null);
953
- return (s, o) => (h(), $("div", {
966
+ const o = y(() => l.type === "tel" ? "(###) ###-####" : null);
967
+ return (s, d) => (v(), $("div", {
954
968
  class: R([{ error: e.errors !== null && e.errors !== "" }, "w-full"])
955
969
  }, [
956
- O(Q, {
957
- for: u.value,
970
+ L(Q, {
971
+ for: i.value,
958
972
  required: e.required,
959
973
  value: e.label,
960
974
  class: "w-full mb-2"
961
975
  }, {
962
976
  default: b(() => [
963
- E(N(e.label), 1)
977
+ T(E(e.label), 1)
964
978
  ]),
965
979
  _: 1
966
980
  }, 8, ["for", "required", "value"]),
967
- O(re, x({ id: u.value }, r.value, {
981
+ L(re, V({ id: i.value }, r.value, {
968
982
  "custom-class": e.customClass,
969
983
  deselectable: e.deselectable,
970
984
  disabled: e.disabled,
971
985
  "enable-time-picker": e.enableTimePicker,
972
986
  "input-class": e.inputClass,
973
- mask: i.value,
987
+ mask: o.value,
974
988
  max: e.max,
975
989
  min: e.min,
976
990
  "model-value": e.modelValue ?? null,
@@ -985,37 +999,37 @@ const se = {
985
999
  taggable: e.taggable,
986
1000
  type: e.type,
987
1001
  preserveSearch: e.preserveSearch,
988
- onTag: o[0] || (o[0] = (c) => t("tag", c)),
989
- "onUpdate:modelValue": o[1] || (o[1] = (c) => t("update:modelValue", c))
1002
+ onTag: d[0] || (d[0] = (c) => t("tag", c)),
1003
+ "onUpdate:modelValue": d[1] || (d[1] = (c) => t("update:modelValue", c))
990
1004
  }), q({ _: 2 }, [
991
1005
  s.$slots.prefix ? {
992
1006
  name: "prefix",
993
1007
  fn: b(() => [
994
- y(s.$slots, "prefix")
1008
+ k(s.$slots, "prefix")
995
1009
  ]),
996
1010
  key: "0"
997
1011
  } : void 0,
998
1012
  s.$slots.suffix ? {
999
1013
  name: "suffix",
1000
1014
  fn: b(() => [
1001
- y(s.$slots, "suffix")
1015
+ k(s.$slots, "suffix")
1002
1016
  ]),
1003
1017
  key: "1"
1004
1018
  } : void 0
1005
1019
  ]), 1040, ["id", "custom-class", "deselectable", "disabled", "enable-time-picker", "input-class", "mask", "max", "min", "model-value", "multiple", "name", "options", "placeholder", "precision", "range", "searchable", "step", "taggable", "type", "preserveSearch"]),
1006
- e.errors ? (h(), w(X, {
1020
+ e.errors ? (v(), w(X, {
1007
1021
  key: 0,
1008
1022
  message: e.errors,
1009
1023
  class: "mt-2"
1010
- }, null, 8, ["message"])) : L("", !0)
1024
+ }, null, 8, ["message"])) : F("", !0)
1011
1025
  ], 2));
1012
1026
  }
1013
- }), Ye = {
1027
+ }), _e = {
1014
1028
  CheckboxComponent: _,
1015
1029
  DateComponent: ae,
1016
1030
  ErrorComponent: X,
1017
1031
  InputComponent: re,
1018
- InputGroupComponent: je,
1032
+ InputGroupComponent: qe,
1019
1033
  LabelComponent: Q,
1020
1034
  SelectComponent: se,
1021
1035
  TextareaComponent: ne,
@@ -1027,11 +1041,11 @@ export {
1027
1041
  ae as DateComponent,
1028
1042
  X as ErrorComponent,
1029
1043
  re as InputComponent,
1030
- je as InputGroupComponent,
1044
+ qe as InputGroupComponent,
1031
1045
  Q as LabelComponent,
1032
1046
  se as SelectComponent,
1033
1047
  W as TextInputComponent,
1034
1048
  ne as TextareaComponent,
1035
1049
  le as ToggleComponent,
1036
- Ye as default
1050
+ _e as default
1037
1051
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webilio-xyz/webilio-vue",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite --host 0.0.0.0",