@comercti/vue-components-hmg 0.23.37 → 0.24.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ function le(e) {
5
5
  return !!customElements.get(e);
6
6
  }
7
7
  const mn = (e) => {
8
- const t = L(e.currentPage), a = 6, n = L(1), o = U(() => l.value.length), l = U(() => {
8
+ const t = L(e.currentPage), a = L(e.paginationPages || 6), n = L(1), o = U(() => l.value.length), l = U(() => {
9
9
  if (e.totalItems && e.itemsPerPage) {
10
10
  const h = Math.ceil(e.totalItems / e.itemsPerPage);
11
11
  return Array.from({ length: h }, (b, v) => v + 1);
@@ -13,9 +13,15 @@ const mn = (e) => {
13
13
  return Array.from({ length: e.totalPages }, (h, b) => b + 1);
14
14
  });
15
15
  J(
16
+ () => e.paginationPages,
17
+ (h) => {
18
+ a.value = h <= 0 ? 1 : h;
19
+ },
20
+ { immediate: !0 }
21
+ ), J(
16
22
  () => e.currentPage,
17
23
  (h) => {
18
- h > 0 && h <= o.value ? t.value = h : t.value = 1, t.value <= a ? n.value = 1 : t.value > o.value - a ? n.value = o.value - a + 1 : n.value = t.value - Math.floor(a / 2);
24
+ h > 0 && h <= o.value ? t.value = h : t.value = 1, t.value <= a.value ? n.value = 1 : t.value > o.value - a.value ? n.value = o.value - a.value + 1 : n.value = t.value - Math.floor(a.value / 2);
19
25
  },
20
26
  { immediate: !0 }
21
27
  ), J(
@@ -34,17 +40,17 @@ const mn = (e) => {
34
40
  }
35
41
  }
36
42
  function s(h) {
37
- t.value < o.value && (t.value++, le("ce-pagination") ? h("paginate", t.value) : h("update:modelValue", t.value), t.value > n.value + a - 1 && n.value++);
43
+ t.value < o.value && (t.value++, le("ce-pagination") ? h("paginate", t.value) : h("update:modelValue", t.value), t.value > n.value + a.value - 1 && n.value++);
38
44
  }
39
45
  function c(h) {
40
46
  t.value > 1 && (t.value--, le("ce-pagination") ? h("paginate", t.value) : h("update:modelValue", t.value), t.value < n.value && n.value--);
41
47
  }
42
48
  function g() {
43
- const h = n.value + 4;
49
+ const h = n.value + a.value;
44
50
  n.value = Math.min(h, o.value), t.value = n.value;
45
51
  }
46
52
  function m() {
47
- const h = n.value - 4;
53
+ const h = n.value - a.value;
48
54
  n.value = Math.max(h, 1), t.value = n.value;
49
55
  }
50
56
  return {
@@ -171,7 +177,7 @@ const mn = (e) => {
171
177
  if (e.value = o, l) {
172
178
  const d = JSON.parse(l);
173
179
  e.value = d.current === "dark";
174
- const s = document.getElementsByClassName("docs-story css-kdwx3d"), c = document.getElementsByClassName("sbdocs sbdocs-wrapper css-k7lbue"), g = document.getElementsByClassName("css-p1dfi6"), m = document.getElementsByClassName("css-11knh3z"), h = document.getElementsByClassName("css-18rvurk"), b = document.getElementsByTagName("span"), v = document.getElementsByTagName("td"), k = document.getElementsByTagName("p"), C = document.getElementsByClassName("css-o1d7ko"), M = document.getElementsByClassName("css-r7fl1p"), V = document.getElementsByClassName("css-177r6r9"), O = document.getElementsByClassName("css-1gcb13n"), F = document.getElementsByClassName("css-10lkeuu"), T = document.getElementsByClassName("css-1vgq5xr"), N = document.getElementsByClassName("css-bi6jn4"), R = document.getElementsByClassName("css-1gcb13n"), W = document.getElementsByClassName("css-14o1cbe"), $ = document.getElementsByClassName("css-7mc623"), B = document.getElementsByClassName("css-15ubt3n"), P = document.getElementsByClassName("css-1fdphfk"), j = document.getElementsByTagName("html"), E = document.getElementsByClassName("css-wzniqs"), S = document.getElementsByClassName("css-r7fl1p"), A = (p) => {
180
+ const s = document.getElementsByClassName("docs-story css-kdwx3d"), c = document.getElementsByClassName("sbdocs sbdocs-wrapper css-k7lbue"), g = document.getElementsByClassName("css-p1dfi6"), m = document.getElementsByClassName("css-11knh3z"), h = document.getElementsByClassName("css-18rvurk"), b = document.getElementsByTagName("span"), v = document.getElementsByTagName("td"), k = document.getElementsByTagName("p"), M = document.getElementsByClassName("css-o1d7ko"), C = document.getElementsByClassName("css-r7fl1p"), V = document.getElementsByClassName("css-177r6r9"), O = document.getElementsByClassName("css-1gcb13n"), F = document.getElementsByClassName("css-10lkeuu"), T = document.getElementsByClassName("css-1vgq5xr"), N = document.getElementsByClassName("css-bi6jn4"), R = document.getElementsByClassName("css-1gcb13n"), W = document.getElementsByClassName("css-14o1cbe"), $ = document.getElementsByClassName("css-7mc623"), B = document.getElementsByClassName("css-15ubt3n"), P = document.getElementsByClassName("css-1fdphfk"), j = document.getElementsByTagName("html"), E = document.getElementsByClassName("css-wzniqs"), S = document.getElementsByClassName("css-r7fl1p"), A = (p) => {
175
181
  const z = p;
176
182
  z.tagName === "SPAN" && Array.from(z.classList).some((Z) => Z.startsWith("hljs")) || (e.value ? z.ariaHidden === "true" ? z.style.setProperty("color", "#467541", "important") : z.style.setProperty("color", "#d6d6d6") : z.style.setProperty("color", "#000"));
177
183
  }, w = (p) => {
@@ -205,11 +211,11 @@ const mn = (e) => {
205
211
  w(p), y(p), A(p);
206
212
  }), Array.from(k).forEach((p) => {
207
213
  A(p);
208
- }), Array.from(M).forEach((p) => {
214
+ }), Array.from(C).forEach((p) => {
209
215
  w(p), y(p);
210
216
  }), Array.from(V).forEach((p) => {
211
217
  w(p);
212
- }), Array.from(C).forEach((p) => {
218
+ }), Array.from(M).forEach((p) => {
213
219
  w(p);
214
220
  }), Array.from(v).forEach((p) => {
215
221
  w(p);
@@ -254,7 +260,8 @@ const mn = (e) => {
254
260
  currentPage: { default: 1 },
255
261
  itemsPerPage: { default: 10 },
256
262
  totalItems: {},
257
- modelValue: {}
263
+ modelValue: {},
264
+ paginationPages: { default: 6 }
258
265
  },
259
266
  emits: ["paginate", "update:modelValue"],
260
267
  setup(e, { emit: t }) {
@@ -262,18 +269,19 @@ const mn = (e) => {
262
269
  paginaAtual: l,
263
270
  totalPaginas: d,
264
271
  maximoPaginas: s,
265
- inicio: c,
266
- contador: g,
267
- proximo: m,
268
- anterior: h,
269
- avancar: b,
270
- retoceder: v
272
+ itensExibidos: c,
273
+ inicio: g,
274
+ contador: m,
275
+ proximo: h,
276
+ anterior: b,
277
+ avancar: v,
278
+ retoceder: k
271
279
  } = mn(n);
272
- return (k, C) => (u(), f("div", Pn, [
280
+ return (M, C) => (u(), f("div", Pn, [
273
281
  i("button", {
274
282
  type: "button",
275
283
  class: "flex items-center justify-center w-28 sm:border rounded-l-lg sm:w-12 hover:bg-ce_white transition-transform duration-500 ease-in-out active:scale-90 dark:hover:bg-ce_dark_gray",
276
- onClick: C[0] || (C[0] = (M) => r(h)(o)),
284
+ onClick: C[0] || (C[0] = (V) => r(b)(o)),
277
285
  disabled: r(l) === 1
278
286
  }, [
279
287
  i("div", Rn, [
@@ -289,8 +297,8 @@ const mn = (e) => {
289
297
  key: 0,
290
298
  type: "button",
291
299
  class: "border-l h-full flex items-center justify-center w-10 sm:hidden hover:bg-ce_white transition-transform duration-500 ease-in-out active:scale-90 dark:hover:bg-ce_dark_gray",
292
- onClick: C[1] || (C[1] = (M) => r(v)()),
293
- disabled: r(l) < 5
300
+ onClick: C[1] || (C[1] = (V) => r(k)()),
301
+ disabled: r(l) <= 1
294
302
  }, [
295
303
  q(Y, {
296
304
  name: r(bn),
@@ -299,25 +307,25 @@ const mn = (e) => {
299
307
  }, null, 8, ["name", "color"])
300
308
  ], 8, In)) : D("", !0),
301
309
  i("div", Nn, [
302
- (u(!0), f(X, null, G(r(d).slice(r(c) - 1, r(c) - 1 + 6), (M, V) => (u(), f("button", {
303
- key: V,
310
+ (u(!0), f(X, null, G(r(d).slice(r(g) - 1, r(g) - 1 + r(c)), (V, O) => (u(), f("button", {
311
+ key: O,
304
312
  class: x([[
305
- r(l) === M ? "bg-ce_white dark:bg-ce_dark_gray" : "",
306
- r(s) > 6 ? "border-r-0" : "border-r"
313
+ r(l) === V ? "bg-ce_white dark:bg-ce_dark_gray" : "",
314
+ r(s) > r(c) ? "border-r-0" : "border-r"
307
315
  ], "px-3 py-[0.45rem] border-l w-10 text-ce_dark_gray sm:hidden hover:bg-ce_white transition-transform duration-500 ease-in-out active:scale-90 dark:text-ce_light_gray dark:hover:bg-ce_dark_gray"]),
308
316
  type: "button",
309
- onClick: (O) => r(g)(M, o)
317
+ onClick: (F) => r(m)(V, o)
310
318
  }, [
311
- i("p", null, H(M), 1)
319
+ i("p", null, H(V), 1)
312
320
  ], 10, qn))), 128)),
313
321
  i("p", Un, " Página " + H(r(l)) + " de " + H(r(d).length), 1)
314
322
  ]),
315
- r(s) > 6 ? (u(), f("button", {
323
+ r(s) > r(c) ? (u(), f("button", {
316
324
  key: 1,
317
325
  class: "border-r border-l h-full flex items-center justify-center w-10 sm:hidden hover:bg-ce_white dark:hover:bg-ce_dark_gray transition-transform duration-500 ease-in-out active:scale-90",
318
326
  type: "button",
319
- onClick: C[2] || (C[2] = (M) => r(b)()),
320
- disabled: r(c) + 5 >= r(s)
327
+ onClick: C[2] || (C[2] = (V) => r(v)()),
328
+ disabled: r(g) + r(c) - 1 >= r(s)
321
329
  }, [
322
330
  q(Y, {
323
331
  name: r(kn),
@@ -328,7 +336,7 @@ const mn = (e) => {
328
336
  i("button", {
329
337
  type: "button",
330
338
  class: "flex items-center justify-center w-28 sm:border rounded-r-lg sm:w-12 hover:bg-ce_white dark:hover:bg-ce_dark_gray transition-transform duration-500 ease-in-out active:scale-90",
331
- onClick: C[3] || (C[3] = (M) => r(m)(o)),
339
+ onClick: C[3] || (C[3] = (V) => r(h)(o)),
332
340
  disabled: r(l) >= r(s)
333
341
  }, [
334
342
  i("div", Xn, [
@@ -717,15 +725,15 @@ const oa = {
717
725
  var n, o, l, d;
718
726
  const s = ((n = a.number) == null ? void 0 : n.unsigned) !== !0 && e.startsWith("-") ? "-" : "", c = ((o = a.number) == null ? void 0 : o.fraction) ?? 0;
719
727
  let g = sa(0, c, a);
720
- const m = g.formatToParts(1000.12), h = ((l = m.find((M) => M.type === "group")) == null ? void 0 : l.value) ?? " ", b = ((d = m.find((M) => M.type === "decimal")) == null ? void 0 : d.value) ?? ".", v = la(e, h, b);
728
+ const m = g.formatToParts(1000.12), h = ((l = m.find((C) => C.type === "group")) == null ? void 0 : l.value) ?? " ", b = ((d = m.find((C) => C.type === "decimal")) == null ? void 0 : d.value) ?? ".", v = la(e, h, b);
721
729
  if (Number.isNaN(parseFloat(v))) return s;
722
730
  const k = v.split(".");
723
731
  if (k[1] != null && k[1].length >= 1) {
724
- const M = k[1].length <= c ? k[1].length : c;
725
- g = sa(M, c, a);
732
+ const C = k[1].length <= c ? k[1].length : c;
733
+ g = sa(C, c, a);
726
734
  }
727
- let C = g.format(parseFloat(v));
728
- return t ? c > 0 && v.endsWith(".") && !v.slice(0, -1).includes(".") && (C += b) : C = la(C, h, b), s + C;
735
+ let M = g.format(parseFloat(v));
736
+ return t ? c > 0 && v.endsWith(".") && !v.slice(0, -1).includes(".") && (M += b) : M = la(M, h, b), s + M;
729
737
  }, Ha = (e) => JSON.parse(e.replaceAll("'", '"')), br = (e, t = {}) => {
730
738
  const a = { ...t };
731
739
  e.dataset.maska != null && e.dataset.maska !== "" && (a.mask = kr(e.dataset.maska)), e.dataset.maskaEager != null && (a.eager = st(e.dataset.maskaEager)), e.dataset.maskaReversed != null && (a.reversed = st(e.dataset.maskaReversed)), e.dataset.maskaTokensReplace != null && (a.tokensReplace = st(e.dataset.maskaTokensReplace)), e.dataset.maskaTokens != null && (a.tokens = yr(e.dataset.maskaTokens));
@@ -803,19 +811,19 @@ class xr {
803
811
  if (a == null) return t;
804
812
  const o = `v=${t},mr=${a},m=${n ? 1 : 0}`;
805
813
  if (this.memo.has(o)) return this.memo.get(o);
806
- const { mask: l, escaped: d } = this.escapeMask(a), s = [], c = this.opts.tokens != null ? this.opts.tokens : {}, g = this.isReversed() ? -1 : 1, m = this.isReversed() ? "unshift" : "push", h = this.isReversed() ? 0 : l.length - 1, b = this.isReversed() ? () => M > -1 && V > -1 : () => M < l.length && V < t.length, v = (F) => !this.isReversed() && F <= h || this.isReversed() && F >= h;
807
- let k, C = -1, M = this.isReversed() ? l.length - 1 : 0, V = this.isReversed() ? t.length - 1 : 0, O = !1;
814
+ const { mask: l, escaped: d } = this.escapeMask(a), s = [], c = this.opts.tokens != null ? this.opts.tokens : {}, g = this.isReversed() ? -1 : 1, m = this.isReversed() ? "unshift" : "push", h = this.isReversed() ? 0 : l.length - 1, b = this.isReversed() ? () => C > -1 && V > -1 : () => C < l.length && V < t.length, v = (F) => !this.isReversed() && F <= h || this.isReversed() && F >= h;
815
+ let k, M = -1, C = this.isReversed() ? l.length - 1 : 0, V = this.isReversed() ? t.length - 1 : 0, O = !1;
808
816
  for (; b(); ) {
809
- const F = l.charAt(M), T = c[F], N = (T == null ? void 0 : T.transform) != null ? T.transform(t.charAt(V)) : t.charAt(V);
810
- if (!d.includes(M) && T != null ? (N.match(T.pattern) != null ? (s[m](N), T.repeated ? (C === -1 ? C = M : M === h && M !== C && (M = C - g), h === C && (M -= g)) : T.multiple && (O = !0, M -= g), M += g) : T.multiple ? O && (M += g, V -= g, O = !1) : N === k ? k = void 0 : T.optional && (M += g, V -= g), V += g) : (n && !this.isEager() && s[m](F), N === F && !this.isEager() ? V += g : k = F, this.isEager() || (M += g)), this.isEager())
811
- for (; v(M) && (c[l.charAt(M)] == null || d.includes(M)); ) {
817
+ const F = l.charAt(C), T = c[F], N = (T == null ? void 0 : T.transform) != null ? T.transform(t.charAt(V)) : t.charAt(V);
818
+ if (!d.includes(C) && T != null ? (N.match(T.pattern) != null ? (s[m](N), T.repeated ? (M === -1 ? M = C : C === h && C !== M && (C = M - g), h === M && (C -= g)) : T.multiple && (O = !0, C -= g), C += g) : T.multiple ? O && (C += g, V -= g, O = !1) : N === k ? k = void 0 : T.optional && (C += g, V -= g), V += g) : (n && !this.isEager() && s[m](F), N === F && !this.isEager() ? V += g : k = F, this.isEager() || (C += g)), this.isEager())
819
+ for (; v(C) && (c[l.charAt(C)] == null || d.includes(C)); ) {
812
820
  if (n) {
813
- if (s[m](l.charAt(M)), t.charAt(V) === l.charAt(M)) {
814
- M += g, V += g;
821
+ if (s[m](l.charAt(C)), t.charAt(V) === l.charAt(C)) {
822
+ C += g, V += g;
815
823
  continue;
816
824
  }
817
- } else l.charAt(M) === t.charAt(V) && (V += g);
818
- M += g;
825
+ } else l.charAt(C) === t.charAt(V) && (V += g);
826
+ C += g;
819
827
  }
820
828
  }
821
829
  return this.memo.set(o, s.join("")), this.memo.get(o);
@@ -935,7 +943,7 @@ const Ct = /* @__PURE__ */ new WeakMap(), Cr = (e, t) => {
935
943
  },
936
944
  emits: ["update:modelValue", "blur", "input", "change"],
937
945
  setup(e, { expose: t, emit: a }) {
938
- const { modoDarkAplicado: n } = xe(), o = e, l = a, d = pe(), s = L(null), { hasSlot: c } = ce("prepend-inner", s, d), { hasSlot: g } = ce("append-inner", s, d), m = U(() => o.id || Te("input")), h = L(), { valorComMascara: b, maskOptions: v, valorSemMascara: k, emitValor: C, emitBlur: M } = gr(o, l), V = () => {
946
+ const { modoDarkAplicado: n } = xe(), o = e, l = a, d = pe(), s = L(null), { hasSlot: c } = ce("prepend-inner", s, d), { hasSlot: g } = ce("append-inner", s, d), m = U(() => o.id || Te("input")), h = L(), { valorComMascara: b, maskOptions: v, valorSemMascara: k, emitValor: M, emitBlur: C } = gr(o, l), V = () => {
939
947
  var O;
940
948
  (O = h.value) == null || O.focus();
941
949
  };
@@ -985,11 +993,11 @@ const Ct = /* @__PURE__ */ new WeakMap(), Cr = (e, t) => {
985
993
  maxlength: e.maxlength,
986
994
  disabled: e.disabled,
987
995
  onBlur: F[3] || (F[3] = //@ts-ignore
988
- (...T) => r(M) && r(M)(...T)),
989
- onInput: F[4] || (F[4] = //@ts-ignore
990
996
  (...T) => r(C) && r(C)(...T)),
997
+ onInput: F[4] || (F[4] = //@ts-ignore
998
+ (...T) => r(M) && r(M)(...T)),
991
999
  onKeyup: F[5] || (F[5] = //@ts-ignore
992
- (...T) => r(C) && r(C)(...T)),
1000
+ (...T) => r(M) && r(M)(...T)),
993
1001
  step: e.type === "time" || e.type === "datetime-local" ? "1" : null,
994
1002
  class: x([
995
1003
  { "dark-icon": r(n) },
@@ -1064,10 +1072,10 @@ const Ct = /* @__PURE__ */ new WeakMap(), Cr = (e, t) => {
1064
1072
  function k(w) {
1065
1073
  e.expandLine && (g.value[w] = !g.value[w]);
1066
1074
  }
1067
- function C(w, y) {
1075
+ function M(w, y) {
1068
1076
  n.value === w ? o.value = !o.value : (n.value = w, o.value = !1), e.orderByServer && y("orderBy", { key: w, order: o.value ? "desc" : "asc" });
1069
1077
  }
1070
- function M(w, y) {
1078
+ function C(w, y) {
1071
1079
  c.value = String(w).toLowerCase(), O(y, !0);
1072
1080
  }
1073
1081
  function V(w, y) {
@@ -1131,8 +1139,8 @@ const Ct = /* @__PURE__ */ new WeakMap(), Cr = (e, t) => {
1131
1139
  },
1132
1140
  truncarTexto: R,
1133
1141
  alternarExpansao: k,
1134
- ordernacao: C,
1135
- buscar: M,
1142
+ ordernacao: M,
1143
+ buscar: C,
1136
1144
  alternarSelecao: V,
1137
1145
  alternarSelecionarTudo: O,
1138
1146
  atualizarSelecionado: F,
@@ -1391,7 +1399,7 @@ var ao = function(t, a) {
1391
1399
  function no(e) {
1392
1400
  var t, a = e.state, n = e.name, o = e.options, l = a.elements.arrow, d = a.modifiersData.popperOffsets, s = be(a.placement), c = Rt(s), g = [ie, ge].indexOf(s) >= 0, m = g ? "height" : "width";
1393
1401
  if (!(!l || !d)) {
1394
- var h = ao(o.padding, a), b = Ot(l), v = c === "y" ? se : ie, k = c === "y" ? me : ge, C = a.rects.reference[m] + a.rects.reference[c] - d[c] - a.rects.popper[m], M = d[c] - a.rects.reference[c], V = rt(l), O = V ? c === "y" ? V.clientHeight || 0 : V.clientWidth || 0 : 0, F = C / 2 - M / 2, T = h[v], N = O - b[m] - h[k], R = O / 2 - b[m] / 2 + F, W = Ge(T, R, N), $ = c;
1402
+ var h = ao(o.padding, a), b = Ot(l), v = c === "y" ? se : ie, k = c === "y" ? me : ge, M = a.rects.reference[m] + a.rects.reference[c] - d[c] - a.rects.popper[m], C = d[c] - a.rects.reference[c], V = rt(l), O = V ? c === "y" ? V.clientHeight || 0 : V.clientWidth || 0 : 0, F = M / 2 - C / 2, T = h[v], N = O - b[m] - h[k], R = O / 2 - b[m] / 2 + F, W = Ge(T, R, N), $ = c;
1395
1403
  a.modifiersData[n] = (t = {}, t[$] = W, t.centerOffset = W - R, t);
1396
1404
  }
1397
1405
  }
@@ -1425,14 +1433,14 @@ function so(e, t) {
1425
1433
  };
1426
1434
  }
1427
1435
  function ua(e) {
1428
- var t, a = e.popper, n = e.popperRect, o = e.placement, l = e.variation, d = e.offsets, s = e.position, c = e.gpuAcceleration, g = e.adaptive, m = e.roundOffsets, h = e.isFixed, b = d.x, v = b === void 0 ? 0 : b, k = d.y, C = k === void 0 ? 0 : k, M = typeof m == "function" ? m({
1436
+ var t, a = e.popper, n = e.popperRect, o = e.placement, l = e.variation, d = e.offsets, s = e.position, c = e.gpuAcceleration, g = e.adaptive, m = e.roundOffsets, h = e.isFixed, b = d.x, v = b === void 0 ? 0 : b, k = d.y, M = k === void 0 ? 0 : k, C = typeof m == "function" ? m({
1429
1437
  x: v,
1430
- y: C
1438
+ y: M
1431
1439
  }) : {
1432
1440
  x: v,
1433
- y: C
1441
+ y: M
1434
1442
  };
1435
- v = M.x, C = M.y;
1443
+ v = C.x, M = C.y;
1436
1444
  var V = d.hasOwnProperty("x"), O = d.hasOwnProperty("y"), F = ie, T = se, N = window;
1437
1445
  if (g) {
1438
1446
  var R = rt(a), W = "clientHeight", $ = "clientWidth";
@@ -1442,7 +1450,7 @@ function ua(e) {
1442
1450
  // $FlowFixMe[prop-missing]
1443
1451
  R[W]
1444
1452
  );
1445
- C -= B - n.height, C *= c ? 1 : -1;
1453
+ M -= B - n.height, M *= c ? 1 : -1;
1446
1454
  }
1447
1455
  if (o === ie || (o === se || o === me) && l === Ke) {
1448
1456
  F = ge;
@@ -1457,16 +1465,16 @@ function ua(e) {
1457
1465
  position: s
1458
1466
  }, g && lo), E = m === !0 ? so({
1459
1467
  x: v,
1460
- y: C
1468
+ y: M
1461
1469
  }, de(a)) : {
1462
1470
  x: v,
1463
- y: C
1471
+ y: M
1464
1472
  };
1465
- if (v = E.x, C = E.y, c) {
1473
+ if (v = E.x, M = E.y, c) {
1466
1474
  var S;
1467
- return Object.assign({}, j, (S = {}, S[T] = O ? "0" : "", S[F] = V ? "0" : "", S.transform = (N.devicePixelRatio || 1) <= 1 ? "translate(" + v + "px, " + C + "px)" : "translate3d(" + v + "px, " + C + "px, 0)", S));
1475
+ return Object.assign({}, j, (S = {}, S[T] = O ? "0" : "", S[F] = V ? "0" : "", S.transform = (N.devicePixelRatio || 1) <= 1 ? "translate(" + v + "px, " + M + "px)" : "translate3d(" + v + "px, " + M + "px, 0)", S));
1468
1476
  }
1469
- return Object.assign({}, j, (t = {}, t[T] = O ? C + "px" : "", t[F] = V ? v + "px" : "", t.transform = "", t));
1477
+ return Object.assign({}, j, (t = {}, t[T] = O ? M + "px" : "", t[F] = V ? v + "px" : "", t.transform = "", t));
1470
1478
  }
1471
1479
  function io(e) {
1472
1480
  var t = e.state, a = e.options, n = a.gpuAcceleration, o = n === void 0 ? !0 : n, l = a.adaptive, d = l === void 0 ? !0 : l, s = a.roundOffsets, c = s === void 0 ? !0 : s, g = {
@@ -1666,7 +1674,7 @@ function Qa(e) {
1666
1674
  }
1667
1675
  function _e(e, t) {
1668
1676
  t === void 0 && (t = {});
1669
- var a = t, n = a.placement, o = n === void 0 ? e.placement : n, l = a.strategy, d = l === void 0 ? e.strategy : l, s = a.boundary, c = s === void 0 ? Pr : s, g = a.rootBoundary, m = g === void 0 ? Ra : g, h = a.elementContext, b = h === void 0 ? Xe : h, v = a.altBoundary, k = v === void 0 ? !1 : v, C = a.padding, M = C === void 0 ? 0 : C, V = Za(typeof M != "number" ? M : Wa(M, nt)), O = b === Xe ? Or : Xe, F = e.rects.popper, T = e.elements[k ? O : b], N = ko(je(T) ? T : T.contextElement || Me(e.elements.popper), c, m, d), R = qe(e.elements.reference), W = Qa({
1677
+ var a = t, n = a.placement, o = n === void 0 ? e.placement : n, l = a.strategy, d = l === void 0 ? e.strategy : l, s = a.boundary, c = s === void 0 ? Pr : s, g = a.rootBoundary, m = g === void 0 ? Ra : g, h = a.elementContext, b = h === void 0 ? Xe : h, v = a.altBoundary, k = v === void 0 ? !1 : v, M = a.padding, C = M === void 0 ? 0 : M, V = Za(typeof C != "number" ? C : Wa(C, nt)), O = b === Xe ? Or : Xe, F = e.rects.popper, T = e.elements[k ? O : b], N = ko(je(T) ? T : T.contextElement || Me(e.elements.popper), c, m, d), R = qe(e.elements.reference), W = Qa({
1670
1678
  reference: R,
1671
1679
  element: F,
1672
1680
  placement: o
@@ -1693,16 +1701,16 @@ function yo(e, t) {
1693
1701
  return g.indexOf(k) >= 0;
1694
1702
  });
1695
1703
  b.length === 0 && (b = h);
1696
- var v = b.reduce(function(k, C) {
1697
- return k[C] = _e(e, {
1698
- placement: C,
1704
+ var v = b.reduce(function(k, M) {
1705
+ return k[M] = _e(e, {
1706
+ placement: M,
1699
1707
  boundary: o,
1700
1708
  rootBoundary: l,
1701
1709
  padding: d
1702
- })[be(C)], k;
1710
+ })[be(M)], k;
1703
1711
  }, {});
1704
- return Object.keys(v).sort(function(k, C) {
1705
- return v[k] - v[C];
1712
+ return Object.keys(v).sort(function(k, M) {
1713
+ return v[k] - v[M];
1706
1714
  });
1707
1715
  }
1708
1716
  function xo(e) {
@@ -1714,14 +1722,14 @@ function xo(e) {
1714
1722
  function wo(e) {
1715
1723
  var t = e.state, a = e.options, n = e.name;
1716
1724
  if (!t.modifiersData[n]._skip) {
1717
- for (var o = a.mainAxis, l = o === void 0 ? !0 : o, d = a.altAxis, s = d === void 0 ? !0 : d, c = a.fallbackPlacements, g = a.padding, m = a.boundary, h = a.rootBoundary, b = a.altBoundary, v = a.flipVariations, k = v === void 0 ? !0 : v, C = a.allowedAutoPlacements, M = t.options.placement, V = be(M), O = V === M, F = c || (O || !k ? [ct(M)] : xo(M)), T = [M].concat(F).reduce(function(ve, he) {
1725
+ for (var o = a.mainAxis, l = o === void 0 ? !0 : o, d = a.altAxis, s = d === void 0 ? !0 : d, c = a.fallbackPlacements, g = a.padding, m = a.boundary, h = a.rootBoundary, b = a.altBoundary, v = a.flipVariations, k = v === void 0 ? !0 : v, M = a.allowedAutoPlacements, C = t.options.placement, V = be(C), O = V === C, F = c || (O || !k ? [ct(C)] : xo(C)), T = [C].concat(F).reduce(function(ve, he) {
1718
1726
  return ve.concat(be(he) === Ht ? yo(t, {
1719
1727
  placement: he,
1720
1728
  boundary: m,
1721
1729
  rootBoundary: h,
1722
1730
  padding: g,
1723
1731
  flipVariations: k,
1724
- allowedAutoPlacements: C
1732
+ allowedAutoPlacements: M
1725
1733
  }) : he);
1726
1734
  }, []), N = t.rects.reference, R = t.rects.popper, W = /* @__PURE__ */ new Map(), $ = !0, B = T[0], P = 0; P < T.length; P++) {
1727
1735
  var j = T[P], E = be(j), S = Ue(j) === Ie, A = [se, me].indexOf(E) >= 0, w = A ? "width" : "height", y = _e(t, {
@@ -1852,14 +1860,14 @@ function Eo(e) {
1852
1860
  return e === "x" ? "y" : "x";
1853
1861
  }
1854
1862
  function jo(e) {
1855
- var t = e.state, a = e.options, n = e.name, o = a.mainAxis, l = o === void 0 ? !0 : o, d = a.altAxis, s = d === void 0 ? !1 : d, c = a.boundary, g = a.rootBoundary, m = a.altBoundary, h = a.padding, b = a.tether, v = b === void 0 ? !0 : b, k = a.tetherOffset, C = k === void 0 ? 0 : k, M = _e(t, {
1863
+ var t = e.state, a = e.options, n = e.name, o = a.mainAxis, l = o === void 0 ? !0 : o, d = a.altAxis, s = d === void 0 ? !1 : d, c = a.boundary, g = a.rootBoundary, m = a.altBoundary, h = a.padding, b = a.tether, v = b === void 0 ? !0 : b, k = a.tetherOffset, M = k === void 0 ? 0 : k, C = _e(t, {
1856
1864
  boundary: c,
1857
1865
  rootBoundary: g,
1858
1866
  padding: h,
1859
1867
  altBoundary: m
1860
- }), V = be(t.placement), O = Ue(t.placement), F = !O, T = Rt(V), N = Eo(T), R = t.modifiersData.popperOffsets, W = t.rects.reference, $ = t.rects.popper, B = typeof C == "function" ? C(Object.assign({}, t.rects, {
1868
+ }), V = be(t.placement), O = Ue(t.placement), F = !O, T = Rt(V), N = Eo(T), R = t.modifiersData.popperOffsets, W = t.rects.reference, $ = t.rects.popper, B = typeof M == "function" ? M(Object.assign({}, t.rects, {
1861
1869
  placement: t.placement
1862
- })) : C, P = typeof B == "number" ? {
1870
+ })) : M, P = typeof B == "number" ? {
1863
1871
  mainAxis: B,
1864
1872
  altAxis: B
1865
1873
  } : Object.assign({
@@ -1871,14 +1879,14 @@ function jo(e) {
1871
1879
  };
1872
1880
  if (R) {
1873
1881
  if (l) {
1874
- var S, A = T === "y" ? se : ie, w = T === "y" ? me : ge, y = T === "y" ? "height" : "width", p = R[T], z = p + M[A], Z = p - M[w], ee = v ? -$[y] / 2 : 0, oe = O === Ie ? W[y] : $[y], te = O === Ie ? -$[y] : -W[y], ae = t.elements.arrow, ve = v && ae ? Ot(ae) : {
1882
+ var S, A = T === "y" ? se : ie, w = T === "y" ? me : ge, y = T === "y" ? "height" : "width", p = R[T], z = p + C[A], Z = p - C[w], ee = v ? -$[y] / 2 : 0, oe = O === Ie ? W[y] : $[y], te = O === Ie ? -$[y] : -W[y], ae = t.elements.arrow, ve = v && ae ? Ot(ae) : {
1875
1883
  width: 0,
1876
1884
  height: 0
1877
1885
  }, he = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ua(), We = he[A], ot = he[w], Ae = Ge(0, W[y], ve[y]), kt = F ? W[y] / 2 - ee - Ae - We - P.mainAxis : oe - Ae - We - P.mainAxis, tn = F ? -W[y] / 2 + ee + Ae + ot + P.mainAxis : te + Ae + ot + P.mainAxis, yt = t.elements.arrow && rt(t.elements.arrow), an = yt ? T === "y" ? yt.clientTop || 0 : yt.clientLeft || 0 : 0, Qt = (S = j == null ? void 0 : j[T]) != null ? S : 0, nn = p + kt - Qt - an, rn = p + tn - Qt, Yt = Ge(v ? mt(z, nn) : z, p, v ? $e(Z, rn) : Z);
1878
1886
  R[T] = Yt, E[T] = Yt - p;
1879
1887
  }
1880
1888
  if (s) {
1881
- var Gt, on = T === "x" ? se : ie, ln = T === "x" ? me : ge, Be = R[N], lt = N === "y" ? "height" : "width", Jt = Be + M[on], Kt = Be - M[ln], xt = [se, ie].indexOf(V) !== -1, _t = (Gt = j == null ? void 0 : j[N]) != null ? Gt : 0, ea = xt ? Jt : Be - W[lt] - $[lt] - _t + P.altAxis, ta = xt ? Be + W[lt] + $[lt] - _t - P.altAxis : Kt, aa = v && xt ? to(ea, Be, ta) : Ge(v ? ea : Jt, Be, v ? ta : Kt);
1889
+ var Gt, on = T === "x" ? se : ie, ln = T === "x" ? me : ge, Be = R[N], lt = N === "y" ? "height" : "width", Jt = Be + C[on], Kt = Be - C[ln], xt = [se, ie].indexOf(V) !== -1, _t = (Gt = j == null ? void 0 : j[N]) != null ? Gt : 0, ea = xt ? Jt : Be - W[lt] - $[lt] - _t + P.altAxis, ta = xt ? Be + W[lt] + $[lt] - _t - P.altAxis : Kt, aa = v && xt ? to(ea, Be, ta) : Ge(v ? ea : Jt, Be, v ? ta : Kt);
1882
1890
  R[N] = aa, E[N] = aa - Be;
1883
1891
  }
1884
1892
  t.modifiersData[n] = E;
@@ -2002,7 +2010,7 @@ function No(e) {
2002
2010
  state: m,
2003
2011
  setOptions: function(V) {
2004
2012
  var O = typeof V == "function" ? V(m.options) : V;
2005
- C(), m.options = Object.assign({}, l, m.options, O), m.scrollParents = {
2013
+ M(), m.options = Object.assign({}, l, m.options, O), m.scrollParents = {
2006
2014
  reference: je(s) ? Je(s) : s.contextElement ? Je(s.contextElement) : [],
2007
2015
  popper: Je(c)
2008
2016
  };
@@ -2045,22 +2053,22 @@ function No(e) {
2045
2053
  // Async and optimistically optimized update – it will not be executed if
2046
2054
  // not necessary (debounced to run at most once-per-tick)
2047
2055
  update: Ro(function() {
2048
- return new Promise(function(M) {
2049
- v.forceUpdate(), M(m);
2056
+ return new Promise(function(C) {
2057
+ v.forceUpdate(), C(m);
2050
2058
  });
2051
2059
  }),
2052
2060
  destroy: function() {
2053
- C(), b = !0;
2061
+ M(), b = !0;
2054
2062
  }
2055
2063
  };
2056
2064
  if (!ha(s, c))
2057
2065
  return v;
2058
- v.setOptions(g).then(function(M) {
2059
- !b && g.onFirstUpdate && g.onFirstUpdate(M);
2066
+ v.setOptions(g).then(function(C) {
2067
+ !b && g.onFirstUpdate && g.onFirstUpdate(C);
2060
2068
  });
2061
2069
  function k() {
2062
- m.orderedModifiers.forEach(function(M) {
2063
- var V = M.name, O = M.options, F = O === void 0 ? {} : O, T = M.effect;
2070
+ m.orderedModifiers.forEach(function(C) {
2071
+ var V = C.name, O = C.options, F = O === void 0 ? {} : O, T = C.effect;
2064
2072
  if (typeof T == "function") {
2065
2073
  var N = T({
2066
2074
  state: m,
@@ -2073,9 +2081,9 @@ function No(e) {
2073
2081
  }
2074
2082
  });
2075
2083
  }
2076
- function C() {
2077
- h.forEach(function(M) {
2078
- return M();
2084
+ function M() {
2085
+ h.forEach(function(C) {
2086
+ return C();
2079
2087
  }), h = [];
2080
2088
  }
2081
2089
  return v;
@@ -2201,8 +2209,8 @@ const Uo = /* @__PURE__ */ Q({
2201
2209
  temSlotTitle: b,
2202
2210
  editarEspacamento: v,
2203
2211
  copiadoId: k,
2204
- hoverId: C,
2205
- temSlots: M,
2212
+ hoverId: M,
2213
+ temSlots: C,
2206
2214
  temSlotPagination: V,
2207
2215
  obterSlotName: O,
2208
2216
  ativarIconeDeCopiarCelula: F,
@@ -2290,7 +2298,7 @@ const Uo = /* @__PURE__ */ Q({
2290
2298
  ])])),
2291
2299
  i("div", _o, [
2292
2300
  i("table", {
2293
- class: x([r(M) || e.search ? "border-t rounded-lg" : "border-none", "w-full min-w-max border-collapse text-ce_gray dark:text-ce_light_gray font-normal sm:hidden"])
2301
+ class: x([r(C) || e.search ? "border-t rounded-lg" : "border-none", "w-full min-w-max border-collapse text-ce_gray dark:text-ce_light_gray font-normal sm:hidden"])
2294
2302
  }, [
2295
2303
  i("thead", {
2296
2304
  class: x({ "bg-ce_white dark:bg-transparent": !e.striped })
@@ -2381,7 +2389,7 @@ const Uo = /* @__PURE__ */ Q({
2381
2389
  _: 2
2382
2390
  }, 1032, ["text"])) : (u(), f("p", fl, H(typeof p.value == "function" ? p.value(w) : r(E)(w, p.value)), 1)),
2383
2391
  e.copyable ? (u(), f("span", ml, [
2384
- r(C) === `${y}-${z}` ? (u(), K(Y, {
2392
+ r(M) === `${y}-${z}` ? (u(), K(Y, {
2385
2393
  key: 0,
2386
2394
  name: r(hn),
2387
2395
  size: "15",
@@ -2444,8 +2452,8 @@ const Uo = /* @__PURE__ */ Q({
2444
2452
  t("update:modelValue", k);
2445
2453
  }, v = (k) => {
2446
2454
  var O, F;
2447
- const C = k.target, M = (O = o.value) == null ? void 0 : O.contains(C), V = (F = l.value) == null ? void 0 : F.contains(C);
2448
- !M && !V && (s.value = !1);
2455
+ const M = k.target, C = (O = o.value) == null ? void 0 : O.contains(M), V = (F = l.value) == null ? void 0 : F.contains(M);
2456
+ !C && !V && (s.value = !1);
2449
2457
  };
2450
2458
  return J(
2451
2459
  () => s.value,
@@ -2501,7 +2509,7 @@ const Uo = /* @__PURE__ */ Q({
2501
2509
  fechar: b,
2502
2510
  selecionarOpcoes: v
2503
2511
  } = hl(a, n);
2504
- return (k, C) => (u(), f(X, null, [
2512
+ return (k, M) => (u(), f(X, null, [
2505
2513
  i("div", {
2506
2514
  class: x(["flex items-center gap-2 select-none flex-wrap", { "flex-row-reverse": e.textDirection === "right", "flex-row": e.textDirection === "left" }]),
2507
2515
  ref_key: "menuRef",
@@ -2514,7 +2522,7 @@ const Uo = /* @__PURE__ */ Q({
2514
2522
  ref: s,
2515
2523
  type: "button",
2516
2524
  disabled: e.disabled,
2517
- onClick: C[0] || (C[0] = (M) => r(h)()),
2525
+ onClick: M[0] || (M[0] = (C) => r(h)()),
2518
2526
  class: x([e.disabled ? "bg-ce_light_gray" : "bg-white dark:bg-ce_black", "min-w-16 h-10 text-left p-3 border border-[#D6D6D6] rounded shadow-sm flex items-center justify-between dark:text-ce_light_gray"])
2519
2527
  }, [
2520
2528
  i("p", {
@@ -2539,15 +2547,15 @@ const Uo = /* @__PURE__ */ Q({
2539
2547
  "absolute z-50 bg-white dark:bg-ce_black border border-gray-300 rounded-md shadow-md",
2540
2548
  r(g)
2541
2549
  ]),
2542
- onKeydown: C[1] || (C[1] = La(Ve((M) => r(b)(), ["prevent"]), ["esc"]))
2550
+ onKeydown: M[1] || (M[1] = La(Ve((C) => r(b)(), ["prevent"]), ["esc"]))
2543
2551
  }, [
2544
- (u(!0), f(X, null, G(e.options, (M) => (u(), f("li", {
2545
- key: M,
2546
- onClick: (V) => r(v)(M),
2552
+ (u(!0), f(X, null, G(e.options, (C) => (u(), f("li", {
2553
+ key: C,
2554
+ onClick: (V) => r(v)(C),
2547
2555
  tabindex: "0",
2548
2556
  role: "option",
2549
2557
  class: "px-3 py-1.5 hover:bg-gray-100 dark:hover:bg-ce_medium_gray cursor-pointer dark:text-ce_light_gray"
2550
- }, H(M), 9, xl))), 128))
2558
+ }, H(C), 9, xl))), 128))
2551
2559
  ], 42, yl)) : D("", !0)
2552
2560
  ]))
2553
2561
  ], 64));
@@ -2662,9 +2670,9 @@ const Uo = /* @__PURE__ */ Q({
2662
2670
  key: 0,
2663
2671
  class: x(["absolute w-full border mt-1 rounded-md shadow-lg z-10", e.background == "white" ? "bg-white dark:bg-ce_black" : "bg-ce_black"])
2664
2672
  }, [
2665
- (u(!0), f(X, null, G(r(l), (k, C) => (u(), f("li", {
2666
- key: C,
2667
- onMousedown: (M) => r(m)(k),
2673
+ (u(!0), f(X, null, G(r(l), (k, M) => (u(), f("li", {
2674
+ key: M,
2675
+ onMousedown: (C) => r(m)(k),
2668
2676
  class: x([
2669
2677
  "p-2 cursor-pointer",
2670
2678
  e.background == "white" ? "dark:text-white hover:text-ce_light_gray hover:bg-gray-100 dark:hover:bg-ce_dark_gray" : "hover:bg-ce_dark_gray text-white hover:text-ce_light_gray"
@@ -2976,7 +2984,7 @@ const Uo = /* @__PURE__ */ Q({
2976
2984
  const v = { month: "long", year: "numeric" }, k = a.value.toLocaleDateString("pt-BR", v);
2977
2985
  return k.charAt(0).toUpperCase() + k.slice(1);
2978
2986
  }), o = U(() => {
2979
- const v = a.value.getFullYear(), k = a.value.getMonth(), M = new Date(v, k, 1).getDay(), V = new Date(v, k, 1 - (M + 6) % 7), O = [];
2987
+ const v = a.value.getFullYear(), k = a.value.getMonth(), C = new Date(v, k, 1).getDay(), V = new Date(v, k, 1 - (C + 6) % 7), O = [];
2980
2988
  for (let F = 0; F < 42; F++) {
2981
2989
  const T = new Date(
2982
2990
  V.getFullYear(),
@@ -3011,15 +3019,15 @@ const Uo = /* @__PURE__ */ Q({
3011
3019
  checkDataSelecionada: (v) => e.rangeStart || e.rangeEnd ? e.rangeStart && Mt(v, e.rangeStart) || e.rangeEnd && Mt(v, e.rangeEnd) : e.internalDate ? Mt(v, e.internalDate) : !1,
3012
3020
  checkFinalRange: (v) => {
3013
3021
  if (e.rangeStart && e.rangeEnd) {
3014
- const k = e.rangeStart.getTime(), C = e.rangeEnd.getTime(), M = v.getTime();
3015
- return M > Math.min(k, C) && M < Math.max(k, C);
3022
+ const k = e.rangeStart.getTime(), M = e.rangeEnd.getTime(), C = v.getTime();
3023
+ return C > Math.min(k, M) && C < Math.max(k, M);
3016
3024
  }
3017
3025
  return !1;
3018
3026
  },
3019
3027
  aplicaHoverRange: (v) => {
3020
3028
  if (e.rangeStart && !e.rangeEnd && e.hoveredDate) {
3021
- const k = e.rangeStart.getTime(), C = e.hoveredDate.getTime(), M = v.getTime();
3022
- return M > Math.min(k, C) && M < Math.max(k, C);
3029
+ const k = e.rangeStart.getTime(), M = e.hoveredDate.getTime(), C = v.getTime();
3030
+ return C > Math.min(k, M) && C < Math.max(k, M);
3023
3031
  }
3024
3032
  return !1;
3025
3033
  },
@@ -3058,11 +3066,11 @@ const Uo = /* @__PURE__ */ Q({
3058
3066
  handleMouseEnter: v,
3059
3067
  handleMouseLeave: k
3060
3068
  } = Rl(n);
3061
- return (C, M) => (u(), f("div", ne({ class: "min-w-[300px] text-sm" }, C.$attrs), [
3069
+ return (M, C) => (u(), f("div", ne({ class: "min-w-[300px] text-sm" }, M.$attrs), [
3062
3070
  i("div", Il, [
3063
3071
  i("button", {
3064
3072
  type: "button",
3065
- onClick: M[0] || (M[0] = (V) => r(s)(o)),
3073
+ onClick: C[0] || (C[0] = (V) => r(s)(o)),
3066
3074
  class: "p-2 rounded-md hover:bg-gray-100 dark:hover:bg-ce_medium_gray"
3067
3075
  }, [
3068
3076
  (u(), f("svg", {
@@ -3071,7 +3079,7 @@ const Uo = /* @__PURE__ */ Q({
3071
3079
  stroke: r(a) ? "#d6d6d6" : "currentColor",
3072
3080
  "stroke-width": "2",
3073
3081
  viewBox: "0 0 24 24"
3074
- }, [...M[3] || (M[3] = [
3082
+ }, [...C[3] || (C[3] = [
3075
3083
  i("path", {
3076
3084
  "stroke-linecap": "round",
3077
3085
  "stroke-linejoin": "round",
@@ -3082,7 +3090,7 @@ const Uo = /* @__PURE__ */ Q({
3082
3090
  i("div", ql, H(r(d)), 1),
3083
3091
  i("button", {
3084
3092
  type: "button",
3085
- onClick: M[1] || (M[1] = (V) => r(c)(o)),
3093
+ onClick: C[1] || (C[1] = (V) => r(c)(o)),
3086
3094
  class: "p-2 rounded-md hover:bg-gray-100 dark:hover:bg-ce_medium_gray"
3087
3095
  }, [
3088
3096
  (u(), f("svg", {
@@ -3091,7 +3099,7 @@ const Uo = /* @__PURE__ */ Q({
3091
3099
  stroke: r(a) ? "#d6d6d6" : "currentColor",
3092
3100
  "stroke-width": "2",
3093
3101
  viewBox: "0 0 24 24"
3094
- }, [...M[4] || (M[4] = [
3102
+ }, [...C[4] || (C[4] = [
3095
3103
  i("path", {
3096
3104
  "stroke-linecap": "round",
3097
3105
  "stroke-linejoin": "round",
@@ -3111,7 +3119,7 @@ const Uo = /* @__PURE__ */ Q({
3111
3119
  key: O,
3112
3120
  onClick: () => r(b)(V, o),
3113
3121
  onMouseenter: () => r(v)(V, o),
3114
- onMouseleave: M[2] || (M[2] = () => r(k)(o)),
3122
+ onMouseleave: C[2] || (C[2] = () => r(k)(o)),
3115
3123
  class: x(["cursor-pointer", {
3116
3124
  "select-date": r(g)(V.date),
3117
3125
  "text-gray-400 dark:text-gray-500": !V.currentMonth,
@@ -3226,7 +3234,7 @@ const Uo = /* @__PURE__ */ Q({
3226
3234
  const P = dt(s.value, B);
3227
3235
  s.value = P, d.value = dt(P, -1);
3228
3236
  }
3229
- }, C = () => k("left", -1), M = () => k("left", 1), V = () => k("right", -1), O = () => k("right", 1), F = ($) => {
3237
+ }, M = () => k("left", -1), C = () => k("left", 1), V = () => k("right", -1), O = () => k("right", 1), F = ($) => {
3230
3238
  d.value = new Date($.getFullYear(), $.getMonth(), 1), s.value = new Date(
3231
3239
  d.value.getFullYear(),
3232
3240
  d.value.getMonth() + 1,
@@ -3265,8 +3273,8 @@ const Uo = /* @__PURE__ */ Q({
3265
3273
  closeCalendario: h,
3266
3274
  selectSingleData: b,
3267
3275
  handleRangeSelect: v,
3268
- handleLeftPrevMes: C,
3269
- handleLeftNextMes: M,
3276
+ handleLeftPrevMes: M,
3277
+ handleLeftNextMes: C,
3270
3278
  handleRightPrevMes: V,
3271
3279
  handleRightNextMes: O,
3272
3280
  handleLeftUpdateMes: F,
@@ -3318,8 +3326,8 @@ const Uo = /* @__PURE__ */ Q({
3318
3326
  hoveredDate: b,
3319
3327
  selectSingleData: v,
3320
3328
  updateSingleMes: k,
3321
- handleRangeSelect: C,
3322
- handleLeftPrevMes: M,
3329
+ handleRangeSelect: M,
3330
+ handleLeftPrevMes: C,
3323
3331
  handleLeftNextMes: V,
3324
3332
  handleLeftUpdateMes: O,
3325
3333
  handleRightPrevMes: F,
@@ -3407,8 +3415,8 @@ const Uo = /* @__PURE__ */ Q({
3407
3415
  rangeStart: r(c),
3408
3416
  rangeEnd: r(g),
3409
3417
  hoveredDate: r(b),
3410
- onSelectDate: S[3] || (S[3] = (A) => r(C)(A, n, e.format)),
3411
- onPrevMonth: r(M),
3418
+ onSelectDate: S[3] || (S[3] = (A) => r(M)(A, n, e.format)),
3419
+ onPrevMonth: r(C),
3412
3420
  onNextMonth: r(V),
3413
3421
  onUpdateMonth: r(O),
3414
3422
  onHoverDate: r(R)
@@ -3420,7 +3428,7 @@ const Uo = /* @__PURE__ */ Q({
3420
3428
  rangeStart: r(c),
3421
3429
  rangeEnd: r(g),
3422
3430
  hoveredDate: r(b),
3423
- onSelectDate: S[4] || (S[4] = (A) => r(C)(A, n, e.format)),
3431
+ onSelectDate: S[4] || (S[4] = (A) => r(M)(A, n, e.format)),
3424
3432
  onPrevMonth: r(F),
3425
3433
  onNextMonth: r(T),
3426
3434
  onUpdateMonth: r(N),
@@ -3452,8 +3460,8 @@ const Uo = /* @__PURE__ */ Q({
3452
3460
  rangeStart: r(c),
3453
3461
  rangeEnd: r(g),
3454
3462
  hoveredDate: r(b),
3455
- onSelectDate: S[8] || (S[8] = (A) => r(C)(A, n, e.format)),
3456
- onPrevMonth: r(M),
3463
+ onSelectDate: S[8] || (S[8] = (A) => r(M)(A, n, e.format)),
3464
+ onPrevMonth: r(C),
3457
3465
  onNextMonth: r(V),
3458
3466
  onUpdateMonth: r(O),
3459
3467
  onHoverDate: r(R)
@@ -3465,7 +3473,7 @@ const Uo = /* @__PURE__ */ Q({
3465
3473
  rangeStart: r(c),
3466
3474
  rangeEnd: r(g),
3467
3475
  hoveredDate: r(b),
3468
- onSelectDate: S[9] || (S[9] = (A) => r(C)(A, n, e.format)),
3476
+ onSelectDate: S[9] || (S[9] = (A) => r(M)(A, n, e.format)),
3469
3477
  onPrevMonth: r(F),
3470
3478
  onNextMonth: r(T),
3471
3479
  onUpdateMonth: r(N),
@@ -3693,10 +3701,10 @@ const Hu = /* @__PURE__ */ ht(us, [["render", fs]]), ms = "data:image/svg+xml,%3
3693
3701
  function k(A) {
3694
3702
  n.value = !n.value, e.value = n.value, d.value = !d.value, F(l.value), A("toggleMenu", n.value);
3695
3703
  }
3696
- function C() {
3704
+ function M() {
3697
3705
  return "opacity-0 max-w-0 overflow-hidden whitespace-nowrap flex items-center";
3698
3706
  }
3699
- function M() {
3707
+ function C() {
3700
3708
  return "opacity-100 max-w-[300px] transition-all duration-300";
3701
3709
  }
3702
3710
  function V(A) {
@@ -3806,8 +3814,8 @@ const Hu = /* @__PURE__ */ ht(us, [["render", fs]]), ms = "data:image/svg+xml,%3
3806
3814
  setarIndiceDropdowns: P,
3807
3815
  setarBackupMenu: R,
3808
3816
  obterTextosMenu: V,
3809
- esconderComEfeito: C,
3810
- mostrarComEfeito: M,
3817
+ esconderComEfeito: M,
3818
+ mostrarComEfeito: C,
3811
3819
  alternarMenuPorClique: k,
3812
3820
  expandirMenu: g,
3813
3821
  colapsarMenu: m,
@@ -3898,13 +3906,13 @@ const Hu = /* @__PURE__ */ ht(us, [["render", fs]]), ms = "data:image/svg+xml,%3
3898
3906
  "py-2 px-3 text-sm space-y-1"
3899
3907
  ])
3900
3908
  }, [
3901
- (u(!0), f(X, null, G(r(d), (k, C) => (u(), f("li", {
3902
- key: C,
3909
+ (u(!0), f(X, null, G(r(d), (k, M) => (u(), f("li", {
3910
+ key: M,
3903
3911
  class: x([
3904
3912
  e.background == "white" ? "hover:bg-gray-100 dark:hover:bg-ce_dark_gray" : "hover:bg-ce_dark_gray",
3905
3913
  "flex items-center justify-between px-2 py-1 rounded cursor-pointer"
3906
3914
  ]),
3907
- onClick: (M) => r(g)(k, n)
3915
+ onClick: (C) => r(g)(k, n)
3908
3916
  }, [
3909
3917
  i("div", js, [
3910
3918
  k.icon ? (u(), K(Y, {
@@ -3954,13 +3962,13 @@ const Hu = /* @__PURE__ */ ht(us, [["render", fs]]), ms = "data:image/svg+xml,%3
3954
3962
  ref: m,
3955
3963
  class: x([e.background == "white" ? "bg-white dark:bg-ce_black " : "bg-ce_black", "absolute border border-gray-200 rounded-md shadow-md z-10 max-w-max py-2 px-4"])
3956
3964
  }, [
3957
- (u(!0), f(X, null, G(e.itemsMenu, (k, C) => (u(), f("div", {
3958
- key: C,
3965
+ (u(!0), f(X, null, G(e.itemsMenu, (k, M) => (u(), f("div", {
3966
+ key: M,
3959
3967
  ref_for: !0,
3960
3968
  ref_key: "dropdownRef",
3961
3969
  ref: m,
3962
- class: x(["w-full", ["flex flex-col w-full flex-wrap", C !== e.itemsMenu.length - 1 && "mb-5"]]),
3963
- onClick: (M) => r(c)(k, n)
3970
+ class: x(["w-full", ["flex flex-col w-full flex-wrap", M !== e.itemsMenu.length - 1 && "mb-5"]]),
3971
+ onClick: (C) => r(c)(k, n)
3964
3972
  }, [
3965
3973
  i("div", Fs, [
3966
3974
  k.icon ? (u(), f("div", {
@@ -4028,7 +4036,7 @@ const Hu = /* @__PURE__ */ ht(us, [["render", fs]]), ms = "data:image/svg+xml,%3
4028
4036
  function k(y) {
4029
4037
  s.value = [], m(y);
4030
4038
  }
4031
- const C = (y) => e.accept.includes(y.type), M = (y) => {
4039
+ const M = (y) => e.accept.includes(y.type), C = (y) => {
4032
4040
  var Z;
4033
4041
  const p = (Z = y.split(".").pop()) == null ? void 0 : Z.toLowerCase();
4034
4042
  return {
@@ -4090,7 +4098,7 @@ const Hu = /* @__PURE__ */ ht(us, [["render", fs]]), ms = "data:image/svg+xml,%3
4090
4098
  if (y.preventDefault(), $(), (z = y.dataTransfer) != null && z.files) {
4091
4099
  const Z = Array.from(y.dataTransfer.files);
4092
4100
  if (j(y.dataTransfer.files)) return;
4093
- if (Z.some((oe) => !C(oe))) {
4101
+ if (Z.some((oe) => !M(oe))) {
4094
4102
  n.value = "Arquivo inválido! Formatos permitidos: " + R.value;
4095
4103
  return;
4096
4104
  }
@@ -4204,12 +4212,12 @@ const Hu = /* @__PURE__ */ ht(us, [["render", fs]]), ms = "data:image/svg+xml,%3
4204
4212
  removerSelecionados: b,
4205
4213
  removeArquivos: v,
4206
4214
  manipulaArquivos: E,
4207
- validaArquivo: C,
4215
+ validaArquivo: M,
4208
4216
  recebeArquivo: N,
4209
4217
  manipulaArquivoViaArrastaSolta: W,
4210
4218
  simularProgresso: T,
4211
4219
  manipulaArrastar: P,
4212
- obterCorPorExtensao: M,
4220
+ obterCorPorExtensao: C,
4213
4221
  validarArquivosRepetidos: j,
4214
4222
  abrirSeletorDeArquivo: () => {
4215
4223
  var y;
@@ -4296,8 +4304,11 @@ const Hu = /* @__PURE__ */ ht(us, [["render", fs]]), ms = "data:image/svg+xml,%3
4296
4304
  }, Xs = ["innerHTML"], Qs = {
4297
4305
  key: 1,
4298
4306
  class: "text-red-600 text-sm"
4299
- }, Ys = ["innerHTML"], Gs = { key: 3 }, Js = { class: "grid grid-cols-[auto_1fr] sm:grid-cols-1 sm:grid-rows-[auto_auto_auto] sm:gap-4 w-full gap-3" }, Ks = { class: "relative" }, _s = { class: "grid grid-rows-[1fr_auto] w-full" }, ei = { class: "flex items-start justify-between w-full sm:flex-col sm:gap-4" }, ti = { class: "text-gray-500" }, ai = {
4307
+ }, Ys = ["innerHTML"], Gs = { key: 3 }, Js = { class: "grid grid-cols-[auto_1fr] sm:grid-cols-1 sm:grid-rows-[auto_auto_auto] sm:gap-4 w-full gap-3" }, Ks = { class: "relative" }, _s = { class: "grid grid-rows-[1fr_auto] w-full" }, ei = { class: "flex items-start justify-between w-full sm:flex-col sm:gap-4" }, ti = {
4300
4308
  key: 0,
4309
+ class: "text-gray-500"
4310
+ }, ai = {
4311
+ key: 1,
4301
4312
  class: "font-semibold text-gray-500 mt-2"
4302
4313
  }, ni = { class: "w-full flex items-center justify-end sm:mb-5 relative sm:justify-start gap-3" }, ri = { class: "flex flex-row items-center gap-1" }, oi = { key: 1 }, li = { key: 2 }, si = { key: 3 }, ii = ["onClick", "disabled"], di = {
4303
4314
  key: 0,
@@ -4345,8 +4356,8 @@ const Hu = /* @__PURE__ */ ht(us, [["render", fs]]), ms = "data:image/svg+xml,%3
4345
4356
  carregando: b,
4346
4357
  idComputado: v,
4347
4358
  removerSelecionados: k,
4348
- selecionaArquivo: C,
4349
- manipulaArquivoViaArrastaSolta: M,
4359
+ selecionaArquivo: M,
4360
+ manipulaArquivoViaArrastaSolta: C,
4350
4361
  manipulaArquivos: V,
4351
4362
  removeArquivos: O,
4352
4363
  restauraEstado: F,
@@ -4374,7 +4385,7 @@ const Hu = /* @__PURE__ */ ht(us, [["render", fs]]), ms = "data:image/svg+xml,%3
4374
4385
  (...B) => r(T) && r(T)(...B)),
4375
4386
  onDragleave: $[4] || ($[4] = //@ts-ignore
4376
4387
  (...B) => r(F) && r(F)(...B)),
4377
- onDrop: $[5] || ($[5] = (B) => r(M)(B, n))
4388
+ onDrop: $[5] || ($[5] = (B) => r(C)(B, n))
4378
4389
  }, [
4379
4390
  a.selectAll && r(h).length > 0 ? (u(), f("button", {
4380
4391
  key: 0,
@@ -4437,7 +4448,7 @@ const Hu = /* @__PURE__ */ ht(us, [["render", fs]]), ms = "data:image/svg+xml,%3
4437
4448
  (...B) => r(T) && r(T)(...B)),
4438
4449
  onDragleave: $[9] || ($[9] = //@ts-ignore
4439
4450
  (...B) => r(F) && r(F)(...B)),
4440
- onDrop: $[10] || ($[10] = (B) => r(M)(B, n))
4451
+ onDrop: $[10] || ($[10] = (B) => r(C)(B, n))
4441
4452
  }, [
4442
4453
  i("p", {
4443
4454
  class: x(["cursor-pointer flex items-center gap-2", {
@@ -4511,7 +4522,7 @@ const Hu = /* @__PURE__ */ ht(us, [["render", fs]]), ms = "data:image/svg+xml,%3
4511
4522
  { "!text-ce_black": B.status == "success" || B.status == "error" }
4512
4523
  ]])
4513
4524
  }, H(B.file.name), 3),
4514
- i("p", ti, H((B.file.size / 1024).toFixed(1)) + " KB", 1),
4525
+ B.file.size ? (u(), f("p", ti, H((B.file.size / 1024).toFixed(1)) + " KB ", 1)) : D("", !0),
4515
4526
  I(W.$slots, "content"),
4516
4527
  B.message ? (u(), f("p", ai, H(B.message), 1)) : D("", !0)
4517
4528
  ], 2),
@@ -4537,7 +4548,7 @@ const Hu = /* @__PURE__ */ ht(us, [["render", fs]]), ms = "data:image/svg+xml,%3
4537
4548
  key: B.file.name + B.file.lastModified,
4538
4549
  value: B,
4539
4550
  disabled: r(b),
4540
- onChange: (E) => r(C)(B, E)
4551
+ onChange: (E) => r(M)(B, E)
4541
4552
  }, null, 8, ["value", "disabled", "onChange"])) : D("", !0),
4542
4553
  e.showRemoveButton ? (u(), f("button", {
4543
4554
  key: 1,
@@ -4779,26 +4790,26 @@ const Bi = { class: "flex flex-row items-center gap-2 mb-1" }, Di = ["for", "inn
4779
4790
  },
4780
4791
  emits: ["update:modelValue", "change", "openDropdown", "closeDropdown", "inputSearch"],
4781
4792
  setup(e, { expose: t, emit: a }) {
4782
- const n = e, o = a, l = pe(), d = L(null), s = L(null), c = L(null), g = L(null), { hasSlot: m } = ce("selection", d, l), { selectAbertoRef: h, aberturaSelect: b } = Ci(d, g), { termoBuscaRef: v, optsFiltradas: k } = Mi(n, o), { valorInternoRef: C, verValueSelecionado: M, valorInterno: V } = Ai(n), O = U(() => n.id || Te("select")), F = U(() => n.multiple && Array.isArray(C.value) ? C.value : []);
4793
+ const n = e, o = a, l = pe(), d = L(null), s = L(null), c = L(null), g = L(null), { hasSlot: m } = ce("selection", d, l), { selectAbertoRef: h, aberturaSelect: b } = Ci(d, g), { termoBuscaRef: v, optsFiltradas: k } = Mi(n, o), { valorInternoRef: M, verValueSelecionado: C, valorInterno: V } = Ai(n), O = U(() => n.id || Te("select")), F = U(() => n.multiple && Array.isArray(M.value) ? M.value : []);
4783
4794
  J(h, (j) => {
4784
4795
  j ? (v.value = "", o("openDropdown")) : o("closeDropdown");
4785
4796
  });
4786
- const T = (j) => n.multiple ? Array.isArray(C.value) && C.value.includes(j.value) : C.value === j.value, N = (j) => {
4797
+ const T = (j) => n.multiple ? Array.isArray(M.value) && M.value.includes(j.value) : M.value === j.value, N = (j) => {
4787
4798
  const E = n.options.find((S) => S.value === j);
4788
4799
  return E ? E.label || E.value : j;
4789
4800
  }, R = (j) => {
4790
4801
  if (!n.multiple) return;
4791
- const E = Array.isArray(C.value) ? [...C.value] : [], S = E.findIndex((A) => A === j);
4792
- S !== -1 && (E.splice(S, 1), C.value = E, o("update:modelValue", E), o("change", E));
4802
+ const E = Array.isArray(M.value) ? [...M.value] : [], S = E.findIndex((A) => A === j);
4803
+ S !== -1 && (E.splice(S, 1), M.value = E, o("update:modelValue", E), o("change", E));
4793
4804
  }, W = (j) => {
4794
4805
  if (!T(j)) {
4795
- const E = Array.isArray(C.value) ? [...C.value] : [];
4796
- E.push(j.value), C.value = E, o("update:modelValue", E), o("change", E);
4806
+ const E = Array.isArray(M.value) ? [...M.value] : [];
4807
+ E.push(j.value), M.value = E, o("update:modelValue", E), o("change", E);
4797
4808
  }
4798
4809
  }, $ = (j) => {
4799
4810
  if (T(j)) {
4800
- const E = Array.isArray(C.value) ? [...C.value] : [], S = E.indexOf(j.value);
4801
- S !== -1 && (E.splice(S, 1), C.value = E, o("update:modelValue", E), o("change", E));
4811
+ const E = Array.isArray(M.value) ? [...M.value] : [], S = E.indexOf(j.value);
4812
+ S !== -1 && (E.splice(S, 1), M.value = E, o("update:modelValue", E), o("change", E));
4802
4813
  }
4803
4814
  }, B = (j, E, S) => {
4804
4815
  if (n.multiple && E.shiftKey && s.value !== null) {
@@ -4813,14 +4824,14 @@ const Bi = { class: "flex flex-row items-center gap-2 mb-1" }, Di = ["for", "inn
4813
4824
  }, P = (j) => {
4814
4825
  if (!j.disabled) {
4815
4826
  if (n.multiple && (j.value === "" || j.value === null)) {
4816
- C.value = [], o("update:modelValue", []), o("change", []);
4827
+ M.value = [], o("update:modelValue", []), o("change", []);
4817
4828
  return;
4818
4829
  }
4819
4830
  if (n.multiple) {
4820
- const E = Array.isArray(C.value) ? [...C.value] : [], S = E.indexOf(j.value);
4821
- S === -1 ? E.push(j.value) : E.splice(S, 1), C.value = E, o("update:modelValue", E), o("change", E);
4831
+ const E = Array.isArray(M.value) ? [...M.value] : [], S = E.indexOf(j.value);
4832
+ S === -1 ? E.push(j.value) : E.splice(S, 1), M.value = E, o("update:modelValue", E), o("change", E);
4822
4833
  } else
4823
- C.value = j.value, o("update:modelValue", j.value), o("change", j.value), h.value = !1;
4834
+ M.value = j.value, o("update:modelValue", j.value), o("change", j.value), h.value = !1;
4824
4835
  }
4825
4836
  };
4826
4837
  return t({
@@ -4868,7 +4879,7 @@ const Bi = { class: "flex flex-row items-center gap-2 mb-1" }, Di = ["for", "inn
4868
4879
  I(j.$slots, "prepend-inner"),
4869
4880
  i("div", Vi, [
4870
4881
  e.multiple ? (u(), f(X, { key: 0 }, [
4871
- I(j.$slots, "selection", { value: r(M) }),
4882
+ I(j.$slots, "selection", { value: r(C) }),
4872
4883
  !r(m) && F.value.length ? (u(), f("div", Ei, [
4873
4884
  (u(!0), f(X, null, G(F.value, (S, A) => (u(), f("div", {
4874
4885
  key: A,
@@ -4891,15 +4902,15 @@ const Bi = { class: "flex flex-row items-center gap-2 mb-1" }, Di = ["for", "inn
4891
4902
  }, "font-normal text-sm"])
4892
4903
  }, H(e.placeholder), 3))
4893
4904
  ], 64)) : (u(), f(X, { key: 1 }, [
4894
- I(j.$slots, "selection", { value: r(M) }),
4895
- !r(m) && r(M) ? (u(), f("span", {
4905
+ I(j.$slots, "selection", { value: r(C) }),
4906
+ !r(m) && r(C) ? (u(), f("span", {
4896
4907
  key: 0,
4897
4908
  class: x(["text-sm", {
4898
4909
  "dark:text-ce_light_gray text-gray-900": !e.disabled,
4899
4910
  "dark:text-ce_medium_gray": e.disabled
4900
4911
  }])
4901
- }, H(r(M)), 3)) : D("", !0),
4902
- r(M) ? D("", !0) : (u(), f("span", {
4912
+ }, H(r(C)), 3)) : D("", !0),
4913
+ r(C) ? D("", !0) : (u(), f("span", {
4903
4914
  key: 1,
4904
4915
  class: x(["font-normal text-sm", {
4905
4916
  "dark:text-ce_light_gray text-gray-400": !e.disabled,
@@ -5080,8 +5091,8 @@ const Bi = { class: "flex flex-row items-center gap-2 mb-1" }, Di = ["for", "inn
5080
5091
  type: "range",
5081
5092
  min: e.minValue,
5082
5093
  max: e.maxValue,
5083
- "onUpdate:modelValue": k[0] || (k[0] = (C) => Se(l) ? l.value = C : null),
5084
- onInput: k[1] || (k[1] = (C) => r(g)(C, b)),
5094
+ "onUpdate:modelValue": k[0] || (k[0] = (M) => Se(l) ? l.value = M : null),
5095
+ onInput: k[1] || (k[1] = (M) => r(g)(M, b)),
5085
5096
  disabled: e.disabled || r(c),
5086
5097
  class: "appearance-none bg-transparent cursor-pointer relative z-10 w-full"
5087
5098
  }, null, 40, Qi), [
@@ -5136,8 +5147,8 @@ const Bi = { class: "flex flex-row items-center gap-2 mb-1" }, Di = ["for", "inn
5136
5147
  type: "range",
5137
5148
  min: e.minValue,
5138
5149
  max: e.maxValue,
5139
- "onUpdate:modelValue": k[2] || (k[2] = (C) => Se(n) ? n.value = C : null),
5140
- onInput: k[3] || (k[3] = (C) => r(m)(C, b)),
5150
+ "onUpdate:modelValue": k[2] || (k[2] = (M) => Se(n) ? n.value = M : null),
5151
+ onInput: k[3] || (k[3] = (M) => r(m)(M, b)),
5141
5152
  disabled: e.disabled || r(c),
5142
5153
  class: x([e.size == "small" ? "top-0" : "top-[0.15rem]", "absolute cursor-pointer w-full pointer-events-none appearance-none"])
5143
5154
  }, null, 42, Ji), [
@@ -5147,8 +5158,8 @@ const Bi = { class: "flex flex-row items-center gap-2 mb-1" }, Di = ["for", "inn
5147
5158
  type: "range",
5148
5159
  min: e.minValue,
5149
5160
  max: e.maxValue,
5150
- "onUpdate:modelValue": k[4] || (k[4] = (C) => Se(o) ? o.value = C : null),
5151
- onInput: k[5] || (k[5] = (C) => r(h)(C, b)),
5161
+ "onUpdate:modelValue": k[4] || (k[4] = (M) => Se(o) ? o.value = M : null),
5162
+ onInput: k[5] || (k[5] = (M) => r(h)(M, b)),
5152
5163
  disabled: e.disabled || r(c),
5153
5164
  class: x([e.size == "small" ? "top-0" : "top-[0.15rem]", "absolute cursor-pointer w-full pointer-events-none appearance-none"])
5154
5165
  }, null, 42, Ki), [
@@ -5305,7 +5316,7 @@ const Bi = { class: "flex flex-row items-center gap-2 mb-1" }, Di = ["for", "inn
5305
5316
  J(
5306
5317
  () => e.modelValue,
5307
5318
  (v) => {
5308
- o.value = Array.from({ length: e.length }, (k, C) => v[C] || "");
5319
+ o.value = Array.from({ length: e.length }, (k, M) => v[M] || "");
5309
5320
  }
5310
5321
  ), J(
5311
5322
  () => e.length,
@@ -5316,12 +5327,12 @@ const Bi = { class: "flex flex-row items-center gap-2 mb-1" }, Di = ["for", "inn
5316
5327
  const s = () => {
5317
5328
  t("change", o.value.join(""));
5318
5329
  }, c = async (v) => {
5319
- var M;
5330
+ var C;
5320
5331
  await Tt();
5321
5332
  const k = n.value;
5322
5333
  if (!k) return;
5323
- const C = k.querySelectorAll(".code-input");
5324
- (M = C == null ? void 0 : C[v]) == null || M.focus();
5334
+ const M = k.querySelectorAll(".code-input");
5335
+ (C = M == null ? void 0 : M[v]) == null || C.focus();
5325
5336
  }, g = (v) => {
5326
5337
  const k = o.value[v];
5327
5338
  if (e.type === "number" && k && !/^[0-9]$/.test(k)) {
@@ -5339,8 +5350,8 @@ const Bi = { class: "flex flex-row items-center gap-2 mb-1" }, Di = ["for", "inn
5339
5350
  k.slice(0, e.length).split("").forEach((O, F) => {
5340
5351
  e.type === "number" && !/^[0-9]$/.test(O) || o.value[F] !== void 0 && (o.value[F] = O);
5341
5352
  }), t("update:modelValue", h());
5342
- const M = o.value.findIndex((O) => O === "");
5343
- M >= 0 && c(M);
5353
+ const C = o.value.findIndex((O) => O === "");
5354
+ C >= 0 && c(C);
5344
5355
  };
5345
5356
  return Ft(() => {
5346
5357
  e.shouldAutoFocus && c(0);
@@ -5414,13 +5425,13 @@ const Bi = { class: "flex flex-row items-center gap-2 mb-1" }, Di = ["for", "inn
5414
5425
  ref: d,
5415
5426
  class: x(["flex gap-2", e.centralized ? "justify-center" : "justify-start"])
5416
5427
  }, [
5417
- (u(!0), f(X, null, G(r(l), (C, M) => Ce((u(), f("input", {
5418
- key: M,
5419
- "onUpdate:modelValue": (V) => r(l)[M] = V,
5420
- id: M === 0 ? "primeiro" : String(M),
5428
+ (u(!0), f(X, null, G(r(l), (M, C) => Ce((u(), f("input", {
5429
+ key: C,
5430
+ "onUpdate:modelValue": (V) => r(l)[C] = V,
5431
+ id: C === 0 ? "primeiro" : String(C),
5421
5432
  type: e.type === "password" ? "password" : "text",
5422
5433
  maxlength: "1",
5423
- placeholder: e.placeholder[M] || "",
5434
+ placeholder: e.placeholder[C] || "",
5424
5435
  disabled: e.disabled,
5425
5436
  class: x([[
5426
5437
  { "h-14 w-14 text-3xl": e.size === "small" },
@@ -5428,12 +5439,12 @@ const Bi = { class: "flex flex-row items-center gap-2 mb-1" }, Di = ["for", "inn
5428
5439
  { "h-24 w-24 text-6xl": e.size === "large" },
5429
5440
  e.invalid || e.invalidFeedback ? "focus:ring-[#fecaca] focus:border-[#ee5578] border-[#ee5578]" : "focus:ring-green-200 focus:border-green-500 border-ce_light_gray"
5430
5441
  ], "code-input focus:text-black dark:text-ce_light_gray dark:bg-ce_black focus:border-2 text-center border rounded-lg focus:outline-none focus:ring-4 transition-all"]),
5431
- onInput: (V) => r(h)(M),
5432
- onKeydown: La(Ve((V) => r(b)(M), ["prevent"]), ["backspace"]),
5442
+ onInput: (V) => r(h)(C),
5443
+ onKeydown: La(Ve((V) => r(b)(C), ["prevent"]), ["backspace"]),
5433
5444
  onChange: k[0] || (k[0] = //@ts-ignore
5434
5445
  (...V) => r(c) && r(c)(...V))
5435
5446
  }, null, 42, pd)), [
5436
- [Ea, r(l)[M]]
5447
+ [Ea, r(l)[C]]
5437
5448
  ])), 128))
5438
5449
  ], 2),
5439
5450
  e.hint || e.invalidFeedback ? (u(), f("div", bd, [
@@ -6740,8 +6751,8 @@ const Zu = /* @__PURE__ */ Q({
6740
6751
  backupMenu: b,
6741
6752
  arrayIndicesDropdown: v,
6742
6753
  clicado: k,
6743
- setarBackupMenu: C,
6744
- obterTextosMenu: M,
6754
+ setarBackupMenu: M,
6755
+ obterTextosMenu: C,
6745
6756
  alternarDropdown: V,
6746
6757
  buscarNoMenu: O,
6747
6758
  definirOpcoesMenu: F,
@@ -6753,7 +6764,7 @@ const Zu = /* @__PURE__ */ Q({
6753
6764
  }), J(
6754
6765
  () => R.items,
6755
6766
  ($) => {
6756
- F($), C([...$]);
6767
+ F($), M([...$]);
6757
6768
  },
6758
6769
  { immediate: !0, deep: !0 }
6759
6770
  ), J(R, () => {
@@ -6792,7 +6803,7 @@ const Zu = /* @__PURE__ */ Q({
6792
6803
  r(a) ? (u(), K(Ga, {
6793
6804
  key: 1,
6794
6805
  placeholder: "Pesquisar",
6795
- items: r(M)(e.itemsSearch.length > 0 ? e.itemsSearch : r(b)),
6806
+ items: r(C)(e.itemsSearch.length > 0 ? e.itemsSearch : r(b)),
6796
6807
  "onUpdate:modelValue": B[1] || (B[1] = (P) => r(O)(e.itemsSearch.length > 0 ? e.itemsSearch : r(b), String(P))),
6797
6808
  onFilterList: B[2] || (B[2] = (P) => r(O)(r(b), String(P))),
6798
6809
  onClearFilter: B[3] || (B[3] = (P) => r(F)(r(b))),
@@ -7001,8 +7012,8 @@ const Zu = /* @__PURE__ */ Q({
7001
7012
  setarIndiceDropdowns: b,
7002
7013
  setarIndiceMenu: v,
7003
7014
  limparArrayIndicesDropdown: k,
7004
- setarBackupMenu: C,
7005
- obterTextosMenu: M,
7015
+ setarBackupMenu: M,
7016
+ obterTextosMenu: C,
7006
7017
  alternarDropdown: V,
7007
7018
  buscarNoMenu: O,
7008
7019
  definirOpcoesMenu: F,
@@ -7026,7 +7037,7 @@ const Zu = /* @__PURE__ */ Q({
7026
7037
  return J(
7027
7038
  () => W.itemsMenu,
7028
7039
  (j) => {
7029
- F(j), C(j), T(W.itemsMenuMyService, W.itemsMenu, W.itemsModules);
7040
+ F(j), M(j), T(W.itemsMenuMyService, W.itemsMenu, W.itemsModules);
7030
7041
  },
7031
7042
  { deep: !0, immediate: !0 }
7032
7043
  ), (j, E) => (u(), f(X, null, [
@@ -7124,7 +7135,7 @@ const Zu = /* @__PURE__ */ Q({
7124
7135
  key: 1,
7125
7136
  background: e.background,
7126
7137
  placeholder: "Pesquisar",
7127
- items: r(M)(e.itemsSearch.length > 0 ? e.itemsSearch : r(s)),
7138
+ items: r(C)(e.itemsSearch.length > 0 ? e.itemsSearch : r(s)),
7128
7139
  "onUpdate:modelValue": E[2] || (E[2] = (S) => r(O)(e.itemsSearch.length > 0 ? e.itemsSearch : r(s), String(S))),
7129
7140
  onFilterList: E[3] || (E[3] = (S) => r(O)(r(s), String(S))),
7130
7141
  onClearFilter: E[4] || (E[4] = (S) => r(F)(r(s)))
@@ -7838,7 +7849,9 @@ const Zu = /* @__PURE__ */ Q({
7838
7849
  }), _0 = (e, t) => {
7839
7850
  const a = L([]);
7840
7851
  Ft(() => {
7841
- e.allOpen ? a.value = e.items.map(() => !0) : e.openTheFirst ? a.value = e.items.map((c, g) => g === 0) : a.value = e.items.map(() => !1), e.closeCollapse && (a.value[e.closeCollapse] = !1);
7852
+ e.allOpen ? a.value = e.items.map(() => !0) : e.openTheFirst ? a.value = e.items.map((c, g) => g === 0) : a.value = e.items.map(() => !1), e.closeCollapse >= 0 && (a.value[e.closeCollapse] = !1), e.openCollapse && e.openCollapse.length > 0 && e.openCollapse.forEach((c) => {
7853
+ a.value[c] = !0;
7854
+ });
7842
7855
  });
7843
7856
  const n = (c) => {
7844
7857
  a.value[c] = !a.value[c];
@@ -7895,7 +7908,8 @@ const Zu = /* @__PURE__ */ Q({
7895
7908
  direction: { default: "row" },
7896
7909
  closeCollapse: { default: null },
7897
7910
  disabled: { default: () => ({ field: "", value: "" }) },
7898
- invalid: { default: () => [] }
7911
+ invalid: { default: () => [] },
7912
+ openCollapse: { default: null }
7899
7913
  },
7900
7914
  emits: ["toggle-collapse"],
7901
7915
  setup(e, { emit: t }) {