@comercti/react-components-hmg 0.8.13 → 0.8.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/comerc-style-guide.cjs.js +1 -1
- package/comerc-style-guide.es.js +415 -416
- package/comerc-style-guide.umd.js +1 -1
- package/package.json +1 -1
package/comerc-style-guide.es.js
CHANGED
|
@@ -8,7 +8,7 @@ function Se(e = "id") {
|
|
|
8
8
|
const Ht = ["id", ".indeterminate", "checked", "disabled"], Pt = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "flex-1 min-w-0"
|
|
11
|
-
}, It = { class: "flex flex-col gap-0.5" }, qt = ["innerHTML"],
|
|
11
|
+
}, It = { class: "flex flex-col gap-0.5" }, qt = ["innerHTML"], Rt = ["innerHTML"], Ut = {
|
|
12
12
|
key: 1,
|
|
13
13
|
class: "text-red-600 text-xs mt-1 break-words"
|
|
14
14
|
}, Zt = ["innerHTML"], Ot = { key: 1 }, Ee = /* @__PURE__ */ P({
|
|
@@ -42,7 +42,7 @@ const Ht = ["id", ".indeterminate", "checked", "disabled"], Pt = {
|
|
|
42
42
|
u.value = c;
|
|
43
43
|
}
|
|
44
44
|
);
|
|
45
|
-
const
|
|
45
|
+
const m = (c) => {
|
|
46
46
|
if (a.disabled) return;
|
|
47
47
|
const k = c.target;
|
|
48
48
|
let h;
|
|
@@ -76,7 +76,7 @@ const Ht = ["id", ".indeterminate", "checked", "disabled"], Pt = {
|
|
|
76
76
|
".indeterminate": c.indeterminate,
|
|
77
77
|
checked: v.value,
|
|
78
78
|
disabled: c.disabled,
|
|
79
|
-
onChange:
|
|
79
|
+
onChange: m
|
|
80
80
|
}, null, 40, Ht),
|
|
81
81
|
s("div", {
|
|
82
82
|
class: b(["flex items-center justify-center w-5 h-5 border-2 rounded-md transition-colors shrink-0 mt-0.5", [
|
|
@@ -126,7 +126,7 @@ const Ht = ["id", ".indeterminate", "checked", "disabled"], Pt = {
|
|
|
126
126
|
key: 0,
|
|
127
127
|
class: "text-sm text-gray-500 break-words",
|
|
128
128
|
innerHTML: c.hint
|
|
129
|
-
}, null, 8,
|
|
129
|
+
}, null, 8, Rt)) : (r(), l("p", Ut, [
|
|
130
130
|
c.invalidFeedback ? (r(), l("span", {
|
|
131
131
|
key: 0,
|
|
132
132
|
innerHTML: c.invalidFeedback
|
|
@@ -216,9 +216,9 @@ const Ht = ["id", ".indeterminate", "checked", "disabled"], Pt = {
|
|
|
216
216
|
`, At = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
217
217
|
<path d="M4 12H20M20 12L14 6M20 12L14 18" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
218
218
|
</svg>
|
|
219
|
-
`,
|
|
219
|
+
`, fo = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="Module-Three--Streamline-Ultimate" height="24" width="24">
|
|
220
220
|
<path stroke="#000000" stroke-linecap="round" stroke-linejoin="round" d="M2.25 13.5H9s1.5 0 1.5 1.5v6.75s0 1.5 -1.5 1.5H2.25s-1.5 0 -1.5 -1.5V15s0 -1.5 1.5 -1.5Z M15 13.5h6.75s1.5 0 1.5 1.5v6.75s0 1.5 -1.5 1.5H15s-1.5 0 -1.5 -1.5V15s0 -1.5 1.5 -1.5Z M8.625 0.75h6.75s1.5 0 1.5 1.5V9s0 1.5 -1.5 1.5h-6.75s-1.5 0 -1.5 -1.5V2.25s0 -1.5 1.5 -1.5Z" stroke-width="1.5"></path>
|
|
221
|
-
</svg>`,
|
|
221
|
+
</svg>`, mo = ["innerHTML"], R = /* @__PURE__ */ P({
|
|
222
222
|
__name: "ce-svg-icon",
|
|
223
223
|
props: {
|
|
224
224
|
name: {},
|
|
@@ -232,7 +232,7 @@ const Ht = ["id", ".indeterminate", "checked", "disabled"], Pt = {
|
|
|
232
232
|
class: "svg-icon",
|
|
233
233
|
innerHTML: o.value,
|
|
234
234
|
style: ee({ width: a.size + "px", height: a.size + "px" })
|
|
235
|
-
}, null, 12,
|
|
235
|
+
}, null, 12, mo));
|
|
236
236
|
}
|
|
237
237
|
});
|
|
238
238
|
function ne(e, t, o) {
|
|
@@ -251,8 +251,8 @@ function ne(e, t, o) {
|
|
|
251
251
|
const p = t.value;
|
|
252
252
|
if (!p)
|
|
253
253
|
return !1;
|
|
254
|
-
const v = e === "default" ? "slot:not([name])" : `slot[name="${e}"]`,
|
|
255
|
-
return
|
|
254
|
+
const v = e === "default" ? "slot:not([name])" : `slot[name="${e}"]`, m = p.querySelector(v);
|
|
255
|
+
return m ? m.assignedNodes().length > 0 : e !== "default" ? p.querySelector(`[slot="${e}"]`) !== null : !1;
|
|
256
256
|
});
|
|
257
257
|
return le(() => {
|
|
258
258
|
const i = t.value;
|
|
@@ -287,7 +287,7 @@ const go = ["id", "innerHTML"], vo = { class: "relative mt-1" }, ho = ["id", "ty
|
|
|
287
287
|
},
|
|
288
288
|
emits: ["update:modelValue", "blur", "input", "change"],
|
|
289
289
|
setup(e, { expose: t, emit: o }) {
|
|
290
|
-
const a = e, d = o, u = ae(), i = A(null), { hasSlot: p } = ne("prepend-inner", i, u), { hasSlot: v } = ne("append-inner", i, u),
|
|
290
|
+
const a = e, d = o, u = ae(), i = A(null), { hasSlot: p } = ne("prepend-inner", i, u), { hasSlot: v } = ne("append-inner", i, u), m = z(() => a.id || Se("input")), c = A(), k = () => {
|
|
291
291
|
var w;
|
|
292
292
|
(w = c.value) == null || w.focus();
|
|
293
293
|
}, h = (w) => {
|
|
@@ -306,7 +306,7 @@ const go = ["id", "innerHTML"], vo = { class: "relative mt-1" }, ho = ["id", "ty
|
|
|
306
306
|
class: "w-full relative"
|
|
307
307
|
}, w.$attrs), [
|
|
308
308
|
s("label", {
|
|
309
|
-
id:
|
|
309
|
+
id: m.value,
|
|
310
310
|
class: "block text-sm font-medium text-gray-700",
|
|
311
311
|
innerHTML: w.label
|
|
312
312
|
}, null, 8, go),
|
|
@@ -324,7 +324,7 @@ const go = ["id", "innerHTML"], vo = { class: "relative mt-1" }, ho = ["id", "ty
|
|
|
324
324
|
}, [
|
|
325
325
|
S(w.$slots, "prepend-inner"),
|
|
326
326
|
n(p) ? x("", !0) : (r(), l(H, { key: 0 }, [
|
|
327
|
-
["email", "date"].includes(w.type) ? (r(), Y(
|
|
327
|
+
["email", "date"].includes(w.type) ? (r(), Y(R, {
|
|
328
328
|
key: 0,
|
|
329
329
|
name: { email: n(Gt), date: n(Wt) }[w.type],
|
|
330
330
|
size: "20",
|
|
@@ -335,7 +335,7 @@ const go = ["id", "innerHTML"], vo = { class: "relative mt-1" }, ho = ["id", "ty
|
|
|
335
335
|
s("input", {
|
|
336
336
|
ref_key: "inputRef",
|
|
337
337
|
ref: c,
|
|
338
|
-
id:
|
|
338
|
+
id: m.value,
|
|
339
339
|
type: w.type,
|
|
340
340
|
class: b([
|
|
341
341
|
!n(p) && w.type === "url" ? "pl-20" : n(p) || ["email", "date"].includes(w.type) ? "pl-12" : "pl-2",
|
|
@@ -359,7 +359,7 @@ const go = ["id", "innerHTML"], vo = { class: "relative mt-1" }, ho = ["id", "ty
|
|
|
359
359
|
}, [
|
|
360
360
|
S(w.$slots, "append-inner"),
|
|
361
361
|
n(v) ? x("", !0) : (r(), l(H, { key: 0 }, [
|
|
362
|
-
w.noAlertIcon ? x("", !0) : (r(), Y(
|
|
362
|
+
w.noAlertIcon ? x("", !0) : (r(), Y(R, {
|
|
363
363
|
key: 0,
|
|
364
364
|
name: w.invalidFeedback || w.invalid ? n(Nt) : n(Kt),
|
|
365
365
|
size: "20",
|
|
@@ -386,7 +386,7 @@ const go = ["id", "innerHTML"], vo = { class: "relative mt-1" }, ho = ["id", "ty
|
|
|
386
386
|
function J(e) {
|
|
387
387
|
return !!customElements.get(e);
|
|
388
388
|
}
|
|
389
|
-
const ve = A({}), Ce = A(null), we = A(!1),
|
|
389
|
+
const ve = A({}), Ce = A(null), we = A(!1), fe = A(!1), ze = A(""), Xe = A({}), re = A({
|
|
390
390
|
items: [],
|
|
391
391
|
orderByServer: !1,
|
|
392
392
|
headers: [],
|
|
@@ -410,7 +410,7 @@ Q(
|
|
|
410
410
|
ve,
|
|
411
411
|
() => {
|
|
412
412
|
const e = Be.value.length, t = Object.values(ve.value).filter((o) => o).length;
|
|
413
|
-
|
|
413
|
+
fe.value = t > 0 && t === e;
|
|
414
414
|
},
|
|
415
415
|
{ deep: !0 }
|
|
416
416
|
);
|
|
@@ -424,11 +424,11 @@ function Bo(e, t) {
|
|
|
424
424
|
ze.value = String(e).toLowerCase(), Bt(t, !0);
|
|
425
425
|
}
|
|
426
426
|
function Vo(e, t) {
|
|
427
|
-
|
|
427
|
+
fe.value = !1, ve.value[e] = !ve.value[e], Ke(t);
|
|
428
428
|
}
|
|
429
429
|
function Bt(e, t = !1) {
|
|
430
|
-
t ?
|
|
431
|
-
ve.value[o.id] =
|
|
430
|
+
t ? fe.value = !1 : fe.value = !fe.value, Be.value.forEach((o) => {
|
|
431
|
+
ve.value[o.id] = fe.value;
|
|
432
432
|
}), Ke(e);
|
|
433
433
|
}
|
|
434
434
|
function Ke(e) {
|
|
@@ -454,7 +454,7 @@ const Do = (e) => (re.value = e, {
|
|
|
454
454
|
selecionado: ve,
|
|
455
455
|
ordenarPor: Ce,
|
|
456
456
|
ordenadoDecrescente: we,
|
|
457
|
-
todosSelecionados:
|
|
457
|
+
todosSelecionados: fe,
|
|
458
458
|
termoDeBusca: ze,
|
|
459
459
|
itensFiltrados: Ye,
|
|
460
460
|
itensOrdenados: Be,
|
|
@@ -475,10 +475,10 @@ const Do = (e) => (re.value = e, {
|
|
|
475
475
|
}, Ho = ["onClick"], Po = { class: "text-ce_gray font-normal" }, Io = {
|
|
476
476
|
key: 0,
|
|
477
477
|
class: "text-ce_gray font-normal"
|
|
478
|
-
}, qo = ["onClick"],
|
|
478
|
+
}, qo = ["onClick"], Ro = {
|
|
479
479
|
key: 0,
|
|
480
480
|
class: "pl-2 text-center"
|
|
481
|
-
},
|
|
481
|
+
}, Uo = { key: 1 }, Zo = ["colspan"], Oo = /* @__PURE__ */ P({
|
|
482
482
|
__name: "ce-data-table",
|
|
483
483
|
props: {
|
|
484
484
|
headers: {},
|
|
@@ -499,12 +499,12 @@ const Do = (e) => (re.value = e, {
|
|
|
499
499
|
todosSelecionados: i,
|
|
500
500
|
itens: p,
|
|
501
501
|
linhasExpandidas: v,
|
|
502
|
-
alternarExpansao:
|
|
502
|
+
alternarExpansao: m,
|
|
503
503
|
ordernacao: c,
|
|
504
504
|
buscar: k,
|
|
505
505
|
alternarSelecao: h,
|
|
506
506
|
alternarSelecionarTudo: g
|
|
507
|
-
} = Do(o), w = t, y = ae(), L = z(() => !o.compact && O.value || !o.compact && o.search ? "py-5" : o.compact && O.value ? "py-2" : o.compact && o.search ? "py-2 " : "py-0"), O = z(() => q.value ||
|
|
507
|
+
} = Do(o), w = t, y = ae(), L = z(() => !o.compact && O.value || !o.compact && o.search ? "py-5" : o.compact && O.value ? "py-2" : o.compact && o.search ? "py-2 " : "py-0"), O = z(() => q.value || U.value || G.value), F = A(null), { hasSlot: q } = ne("groupButton", F, y), { hasSlot: U } = ne("title", F, y), { hasSlot: G } = ne("pagination", F, y);
|
|
508
508
|
return (M, E) => (r(), l("div", {
|
|
509
509
|
class: "overflow-x-auto bg-white shadow-md rounded-lg border-[1px]",
|
|
510
510
|
ref_key: "rootRef",
|
|
@@ -513,7 +513,7 @@ const Do = (e) => (re.value = e, {
|
|
|
513
513
|
s("div", {
|
|
514
514
|
class: b([
|
|
515
515
|
"w-full flex items-center sm:border-b-[1px] sm:flex-col sm:items-start sm:space-y-2 px-3",
|
|
516
|
-
n(
|
|
516
|
+
n(U) ? "justify-between" : "justify-end",
|
|
517
517
|
L.value
|
|
518
518
|
])
|
|
519
519
|
}, [
|
|
@@ -533,7 +533,7 @@ const Do = (e) => (re.value = e, {
|
|
|
533
533
|
onChange: E[1] || (E[1] = (j) => n(k)(j, w))
|
|
534
534
|
}, {
|
|
535
535
|
"prepend-inner": X(() => [
|
|
536
|
-
$(
|
|
536
|
+
$(R, {
|
|
537
537
|
name: n(He),
|
|
538
538
|
size: "20",
|
|
539
539
|
color: "#737373"
|
|
@@ -554,10 +554,9 @@ const Do = (e) => (re.value = e, {
|
|
|
554
554
|
s("div", So, [
|
|
555
555
|
M.selectable ? (r(), Y(Ee, {
|
|
556
556
|
key: 0,
|
|
557
|
-
"onUpdate:modelValue": (T) => n(h)(j.id, w),
|
|
558
557
|
"model-value": n(a)[j.id],
|
|
559
558
|
onChange: (T) => n(h)(j.id, w)
|
|
560
|
-
}, null, 8, ["
|
|
559
|
+
}, null, 8, ["model-value", "onChange"])) : x("", !0),
|
|
561
560
|
s("span", Lo, "ID " + V(j.id), 1)
|
|
562
561
|
]),
|
|
563
562
|
(r(!0), l(H, null, N(M.headers, (T, C) => (r(), l("div", {
|
|
@@ -601,20 +600,20 @@ const Do = (e) => (re.value = e, {
|
|
|
601
600
|
key: j.id
|
|
602
601
|
}, [
|
|
603
602
|
s("tr", {
|
|
604
|
-
onClick: (T) => n(
|
|
603
|
+
onClick: (T) => n(m)(j.id),
|
|
605
604
|
class: b(["border-b", { "bg-ce_white": M.striped && Z % 2 === 0, "hover:bg-ce_white": !M.striped }])
|
|
606
605
|
}, [
|
|
607
|
-
M.selectable ? (r(), l("td",
|
|
606
|
+
M.selectable ? (r(), l("td", Ro, [
|
|
608
607
|
$(Ee, {
|
|
609
|
-
|
|
608
|
+
onChange: (T) => n(h)(j.id, w),
|
|
610
609
|
"model-value": n(a)[j.id]
|
|
611
|
-
}, null, 8, ["
|
|
610
|
+
}, null, 8, ["onChange", "model-value"])
|
|
612
611
|
])) : x("", !0),
|
|
613
612
|
(r(!0), l(H, null, N(M.headers, (T) => (r(), l("td", {
|
|
614
613
|
key: T.value,
|
|
615
614
|
class: b(M.compact ? "text-sm p-2" : "p-5")
|
|
616
615
|
}, [
|
|
617
|
-
n(J)("ce-data-table") ? (r(), l("p",
|
|
616
|
+
n(J)("ce-data-table") ? (r(), l("p", Uo, V(j[T.value]), 1)) : S(M.$slots, T.value, {
|
|
618
617
|
key: 0,
|
|
619
618
|
item: j
|
|
620
619
|
}, () => [
|
|
@@ -670,7 +669,7 @@ const Do = (e) => (re.value = e, {
|
|
|
670
669
|
function v(h) {
|
|
671
670
|
t.value < u.value && (t.value++, J("ce-pagination") ? h("paginate", t.value) : h("update:modelValue", t.value), t.value > a.value + o - 1 && a.value++);
|
|
672
671
|
}
|
|
673
|
-
function
|
|
672
|
+
function m(h) {
|
|
674
673
|
t.value > 1 && (t.value--, J("ce-pagination") ? h("paginate", t.value) : h("update:modelValue", t.value), t.value < a.value && a.value--);
|
|
675
674
|
}
|
|
676
675
|
function c(h) {
|
|
@@ -696,7 +695,7 @@ const Do = (e) => (re.value = e, {
|
|
|
696
695
|
totalPaginas: d,
|
|
697
696
|
contador: p,
|
|
698
697
|
proximo: v,
|
|
699
|
-
anterior:
|
|
698
|
+
anterior: m,
|
|
700
699
|
avancar: c,
|
|
701
700
|
retoceder: k
|
|
702
701
|
};
|
|
@@ -718,7 +717,7 @@ const Do = (e) => (re.value = e, {
|
|
|
718
717
|
maximoPaginas: i,
|
|
719
718
|
inicio: p,
|
|
720
719
|
contador: v,
|
|
721
|
-
proximo:
|
|
720
|
+
proximo: m,
|
|
722
721
|
anterior: c,
|
|
723
722
|
avancar: k,
|
|
724
723
|
retoceder: h
|
|
@@ -731,7 +730,7 @@ const Do = (e) => (re.value = e, {
|
|
|
731
730
|
disabled: n(d) === 1
|
|
732
731
|
}, [
|
|
733
732
|
s("div", Xo, [
|
|
734
|
-
$(
|
|
733
|
+
$(R, {
|
|
735
734
|
name: n(Mt),
|
|
736
735
|
size: "20",
|
|
737
736
|
color: "#000"
|
|
@@ -746,7 +745,7 @@ const Do = (e) => (re.value = e, {
|
|
|
746
745
|
onClick: w[1] || (w[1] = (y) => n(h)(a)),
|
|
747
746
|
disabled: n(d) < 5
|
|
748
747
|
}, [
|
|
749
|
-
$(
|
|
748
|
+
$(R, {
|
|
750
749
|
name: n(Xt),
|
|
751
750
|
size: "15",
|
|
752
751
|
color: "#000"
|
|
@@ -773,7 +772,7 @@ const Do = (e) => (re.value = e, {
|
|
|
773
772
|
onClick: w[2] || (w[2] = (y) => n(k)(a)),
|
|
774
773
|
disabled: n(p) + 5 >= n(i)
|
|
775
774
|
}, [
|
|
776
|
-
$(
|
|
775
|
+
$(R, {
|
|
777
776
|
name: n(Yt),
|
|
778
777
|
size: "15",
|
|
779
778
|
color: "#000"
|
|
@@ -782,12 +781,12 @@ const Do = (e) => (re.value = e, {
|
|
|
782
781
|
s("button", {
|
|
783
782
|
type: "button",
|
|
784
783
|
class: "flex items-center justify-center space-x-3 w-28 sm:border-[1px] sm:rounded-lg sm:w-12 sm:space-x-0",
|
|
785
|
-
onClick: w[3] || (w[3] = (y) => n(
|
|
784
|
+
onClick: w[3] || (w[3] = (y) => n(m)(a)),
|
|
786
785
|
disabled: n(d) >= n(i)
|
|
787
786
|
}, [
|
|
788
787
|
s("div", nn, [
|
|
789
788
|
w[5] || (w[5] = s("p", { class: "sm:hidden" }, "Próximo", -1)),
|
|
790
|
-
$(
|
|
789
|
+
$(R, {
|
|
791
790
|
name: n(At),
|
|
792
791
|
size: "20",
|
|
793
792
|
color: "#000"
|
|
@@ -805,7 +804,7 @@ const Do = (e) => (re.value = e, {
|
|
|
805
804
|
}, ln = { class: "w-full bg-gray-200 rounded-full h-2 overflow-hidden" }, dn = {
|
|
806
805
|
key: 1,
|
|
807
806
|
class: "relative flex justify-center items-center"
|
|
808
|
-
}, un = ["width", "height", "viewBox"], cn = ["stroke-dasharray", "transform"], pn = ["stroke-dasharray", "stroke-dashoffset", "transform"],
|
|
807
|
+
}, un = ["width", "height", "viewBox"], cn = ["stroke-dasharray", "transform"], pn = ["stroke-dasharray", "stroke-dashoffset", "transform"], fn = { class: "absolute text-center" }, mn = {
|
|
809
808
|
key: 2,
|
|
810
809
|
class: "text-sm text-gray-500 text-center"
|
|
811
810
|
}, qe = 40, gn = /* @__PURE__ */ P({
|
|
@@ -867,13 +866,13 @@ const Do = (e) => (re.value = e, {
|
|
|
867
866
|
transform: u.variant === "semicircle" ? "rotate(-180 60 62)" : "rotate(-90 60 60)"
|
|
868
867
|
}, null, 8, pn)) : x("", !0)
|
|
869
868
|
], 8, un)),
|
|
870
|
-
s("div",
|
|
869
|
+
s("div", fn, [
|
|
871
870
|
s("p", {
|
|
872
871
|
class: b(["text-sm font-bold", u.variant === "semicircle" && "mt-8"])
|
|
873
872
|
}, V(o.value) + "% ", 3)
|
|
874
873
|
])
|
|
875
874
|
])) : x("", !0),
|
|
876
|
-
u.label && u.variant !== "line" ? (r(), l("p",
|
|
875
|
+
u.label && u.variant !== "line" ? (r(), l("p", mn, V(u.label), 1)) : x("", !0)
|
|
877
876
|
], 64));
|
|
878
877
|
}
|
|
879
878
|
}), vn = { class: "flex items-center justify-between w-full sm:flex-col sm:p-5" }, hn = { class: "flex items-center justify-between text-center sm:text-start" }, bn = { class: "flex flex-col" }, kn = /* @__PURE__ */ P({
|
|
@@ -909,16 +908,16 @@ const Do = (e) => (re.value = e, {
|
|
|
909
908
|
return i > 0 && ((p = t.items[i - 1]) == null ? void 0 : p.status) === "done" ? "border-ce_dark_green" : "border-ce_light_gray";
|
|
910
909
|
}
|
|
911
910
|
return (i, p) => (r(), l("div", vn, [
|
|
912
|
-
(r(!0), l(H, null, N(i.items, (v,
|
|
911
|
+
(r(!0), l(H, null, N(i.items, (v, m) => (r(), l("div", {
|
|
913
912
|
key: v.title,
|
|
914
913
|
class: "flex flex-col items-center justify-center w-full sm:flex-row sm:w-52 sm:justify-start sm:space-x-3 sm:items-start"
|
|
915
914
|
}, [
|
|
916
915
|
s("div", {
|
|
917
|
-
class: b(["flex items-center rounded-[0.5rem] w-full sm:flex-col sm:w-12",
|
|
916
|
+
class: b(["flex items-center rounded-[0.5rem] w-full sm:flex-col sm:w-12", m == i.items.length - 1 ? "justify-start " : "justify-end "])
|
|
918
917
|
}, [
|
|
919
|
-
|
|
918
|
+
m != 0 ? (r(), l("hr", {
|
|
920
919
|
key: 0,
|
|
921
|
-
class: b(["border-[1.5px] h-[0.12rem] w-1/2 sm:hidden", [{ "!w-[44%] sm:!w-0":
|
|
920
|
+
class: b(["border-[1.5px] h-[0.12rem] w-1/2 sm:hidden", [{ "!w-[44%] sm:!w-0": m == i.items.length - 1 }, u(m)]])
|
|
922
921
|
}, null, 2)) : x("", !0),
|
|
923
922
|
s("div", {
|
|
924
923
|
class: b(["grid place-items-center p-2", v.status == "progress" ? "bg-[#C2DAB3] rounded-full animate-blink mx-1" : ""])
|
|
@@ -926,7 +925,7 @@ const Do = (e) => (re.value = e, {
|
|
|
926
925
|
s("div", {
|
|
927
926
|
class: b(["border-[1.5px] w-[2rem] h-[2rem] rounded-full grid place-items-center", d(v.status)])
|
|
928
927
|
}, [
|
|
929
|
-
v.status === "done" ? (r(), Y(
|
|
928
|
+
v.status === "done" ? (r(), Y(R, {
|
|
930
929
|
key: 0,
|
|
931
930
|
name: n(io),
|
|
932
931
|
size: "15",
|
|
@@ -938,9 +937,9 @@ const Do = (e) => (re.value = e, {
|
|
|
938
937
|
}, null, 2))
|
|
939
938
|
], 2)
|
|
940
939
|
], 2),
|
|
941
|
-
|
|
940
|
+
m != i.items.length - 1 ? (r(), l("hr", {
|
|
942
941
|
key: 1,
|
|
943
|
-
class: b(["border-[1.5px] w-1/2 h-[0.12rem] sm:w-0 sm:h-12", u(
|
|
942
|
+
class: b(["border-[1.5px] w-1/2 h-[0.12rem] sm:w-0 sm:h-12", u(m + 1)])
|
|
944
943
|
}, null, 2)) : x("", !0)
|
|
945
944
|
], 2),
|
|
946
945
|
s("div", hn, [
|
|
@@ -970,50 +969,50 @@ const Do = (e) => (re.value = e, {
|
|
|
970
969
|
const o = A(null), a = e, d = t, u = A(a.modelValue);
|
|
971
970
|
Q(
|
|
972
971
|
() => a.modelValue,
|
|
973
|
-
(
|
|
974
|
-
u.value =
|
|
972
|
+
(m) => {
|
|
973
|
+
u.value = m;
|
|
975
974
|
},
|
|
976
975
|
{ immediate: !0 }
|
|
977
976
|
);
|
|
978
977
|
const i = A(!1);
|
|
979
|
-
function p(
|
|
980
|
-
if (u.value =
|
|
981
|
-
d("updatePerPage",
|
|
978
|
+
function p(m) {
|
|
979
|
+
if (u.value = m, i.value = !1, J("ce-items-per-page")) {
|
|
980
|
+
d("updatePerPage", m);
|
|
982
981
|
return;
|
|
983
982
|
}
|
|
984
|
-
d("update:modelValue",
|
|
983
|
+
d("update:modelValue", m);
|
|
985
984
|
}
|
|
986
|
-
function v(
|
|
987
|
-
o.value && !o.value.contains(
|
|
985
|
+
function v(m) {
|
|
986
|
+
o.value && !o.value.contains(m.target) && (i.value = !1);
|
|
988
987
|
}
|
|
989
988
|
return le(() => {
|
|
990
989
|
document.addEventListener("mousedown", v);
|
|
991
990
|
}), $e(() => {
|
|
992
991
|
document.removeEventListener("mousedown", v);
|
|
993
|
-
}), (
|
|
994
|
-
class: b(["flex items-center gap-2 select-none flex-wrap", { "flex-row-reverse":
|
|
992
|
+
}), (m, c) => (r(), l("div", {
|
|
993
|
+
class: b(["flex items-center gap-2 select-none flex-wrap", { "flex-row-reverse": m.textDirection === "right", "flex-row": m.textDirection === "left" }]),
|
|
995
994
|
ref_key: "menuRef",
|
|
996
995
|
ref: o
|
|
997
996
|
}, [
|
|
998
|
-
s("span", wn, V(
|
|
997
|
+
s("span", wn, V(m.label) + ":", 1),
|
|
999
998
|
s("div", yn, [
|
|
1000
999
|
s("button", {
|
|
1001
1000
|
type: "button",
|
|
1002
|
-
disabled:
|
|
1001
|
+
disabled: m.disabled,
|
|
1003
1002
|
onClick: c[0] || (c[0] = (k) => i.value = !i.value),
|
|
1004
|
-
class: b([
|
|
1003
|
+
class: b([m.disabled ? "bg-ce_light_gray" : "bg-white", "min-w-16 h-10 text-left p-3 border border-[#D6D6D6] rounded shadow-sm flex items-center justify-between"])
|
|
1005
1004
|
}, [
|
|
1006
1005
|
s("p", {
|
|
1007
|
-
class: b({ "opacity-20":
|
|
1006
|
+
class: b({ "opacity-20": m.disabled })
|
|
1008
1007
|
}, V(u.value), 3),
|
|
1009
|
-
$(
|
|
1008
|
+
$(R, {
|
|
1010
1009
|
name: i.value ? n(Ae) : n(Me),
|
|
1011
1010
|
size: "20",
|
|
1012
|
-
color:
|
|
1011
|
+
color: m.disabled ? "#ACACAC" : "#737373"
|
|
1013
1012
|
}, null, 8, ["name", "color"])
|
|
1014
1013
|
], 10, Cn),
|
|
1015
1014
|
ge(s("ul", xn, [
|
|
1016
|
-
(r(!0), l(H, null, N(
|
|
1015
|
+
(r(!0), l(H, null, N(m.options, (k) => (r(), l("li", {
|
|
1017
1016
|
key: k,
|
|
1018
1017
|
onClick: (h) => p(k),
|
|
1019
1018
|
class: "px-3 py-1.5 hover:bg-gray-100 cursor-pointer"
|
|
@@ -1078,7 +1077,7 @@ const Do = (e) => (re.value = e, {
|
|
|
1078
1077
|
exibirSugestoes: i,
|
|
1079
1078
|
mostrarSugestoes: p,
|
|
1080
1079
|
ocultarSugestoes: v,
|
|
1081
|
-
selecionarSugestoes:
|
|
1080
|
+
selecionarSugestoes: m
|
|
1082
1081
|
} = Vn(o.items);
|
|
1083
1082
|
Q(d, (k) => {
|
|
1084
1083
|
if (J("ce-autocomplete")) {
|
|
@@ -1099,7 +1098,7 @@ const Do = (e) => (re.value = e, {
|
|
|
1099
1098
|
}
|
|
1100
1099
|
return (k, h) => (r(), l("div", Dn, [
|
|
1101
1100
|
s("div", jn, [
|
|
1102
|
-
$(
|
|
1101
|
+
$(R, {
|
|
1103
1102
|
name: n(He),
|
|
1104
1103
|
size: "20",
|
|
1105
1104
|
color: "#737373"
|
|
@@ -1122,7 +1121,7 @@ const Do = (e) => (re.value = e, {
|
|
|
1122
1121
|
onClick: c,
|
|
1123
1122
|
class: "absolute right-5 text-[#737373] text-2xl top-1/2 -translate-y-1/2"
|
|
1124
1123
|
}, [
|
|
1125
|
-
$(
|
|
1124
|
+
$(R, {
|
|
1126
1125
|
name: n(Le),
|
|
1127
1126
|
size: "20",
|
|
1128
1127
|
color: "#737373"
|
|
@@ -1132,7 +1131,7 @@ const Do = (e) => (re.value = e, {
|
|
|
1132
1131
|
n(i) && n(u).length > 0 ? (r(), l("ul", Sn, [
|
|
1133
1132
|
(r(!0), l(H, null, N(n(u), (g, w) => (r(), l("li", {
|
|
1134
1133
|
key: w,
|
|
1135
|
-
onMousedown: (y) => n(
|
|
1134
|
+
onMousedown: (y) => n(m)(g),
|
|
1136
1135
|
class: "p-2 hover:bg-gray-100 cursor-pointer"
|
|
1137
1136
|
}, V(g), 41, Ln))), 128))
|
|
1138
1137
|
])) : x("", !0)
|
|
@@ -1157,7 +1156,7 @@ const Do = (e) => (re.value = e, {
|
|
|
1157
1156
|
medium: "text-sm px-[14px] py-[10px] flex justify-center"
|
|
1158
1157
|
};
|
|
1159
1158
|
return y.medium || y.medium;
|
|
1160
|
-
}),
|
|
1159
|
+
}), m = z(() => {
|
|
1161
1160
|
const y = {
|
|
1162
1161
|
small: "rounded-sm",
|
|
1163
1162
|
medium: "rounded-lg",
|
|
@@ -1198,7 +1197,7 @@ const Do = (e) => (re.value = e, {
|
|
|
1198
1197
|
"focus:ring-4",
|
|
1199
1198
|
"font-semibold",
|
|
1200
1199
|
a.block ? "w-full" : "inline-block",
|
|
1201
|
-
|
|
1200
|
+
m.value,
|
|
1202
1201
|
v.value,
|
|
1203
1202
|
c.value
|
|
1204
1203
|
].join(" ")), g = A(null);
|
|
@@ -1280,14 +1279,14 @@ const Do = (e) => (re.value = e, {
|
|
|
1280
1279
|
type: "button",
|
|
1281
1280
|
onClick: p[0] || (p[0] = (v) => u(d.value - 1))
|
|
1282
1281
|
}, [
|
|
1283
|
-
$(
|
|
1282
|
+
$(R, {
|
|
1284
1283
|
name: n(Mt),
|
|
1285
1284
|
size: "18",
|
|
1286
1285
|
color: "#000"
|
|
1287
1286
|
}, null, 8, ["name"])
|
|
1288
1287
|
], 8, zn),
|
|
1289
1288
|
s("div", Tn, [
|
|
1290
|
-
$(
|
|
1289
|
+
$(R, {
|
|
1291
1290
|
name: n(ro),
|
|
1292
1291
|
size: "18",
|
|
1293
1292
|
color: "#000"
|
|
@@ -1299,7 +1298,7 @@ const Do = (e) => (re.value = e, {
|
|
|
1299
1298
|
type: "button",
|
|
1300
1299
|
onClick: p[1] || (p[1] = (v) => u(d.value + 1))
|
|
1301
1300
|
}, [
|
|
1302
|
-
$(
|
|
1301
|
+
$(R, {
|
|
1303
1302
|
name: n(At),
|
|
1304
1303
|
size: "18",
|
|
1305
1304
|
color: "#000"
|
|
@@ -1308,12 +1307,12 @@ const Do = (e) => (re.value = e, {
|
|
|
1308
1307
|
]));
|
|
1309
1308
|
}
|
|
1310
1309
|
}), In = {}, qn = { class: "inline-flex border border-gray-300 rounded-lg overflow-hidden" };
|
|
1311
|
-
function
|
|
1310
|
+
function Rn(e, t) {
|
|
1312
1311
|
return r(), l("div", qn, [
|
|
1313
1312
|
S(e.$slots, "default")
|
|
1314
1313
|
]);
|
|
1315
1314
|
}
|
|
1316
|
-
const
|
|
1315
|
+
const Un = /* @__PURE__ */ Vt(In, [["render", Rn]]), Zn = ["id", "checked", "disabled"], On = { class: "px-4 font-semibold text-base" }, Nn = {
|
|
1317
1316
|
key: 0,
|
|
1318
1317
|
class: "px-4"
|
|
1319
1318
|
}, Qn = { class: "flex-1" }, Wn = { key: 0 }, Xn = {
|
|
@@ -1344,7 +1343,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
1344
1343
|
});
|
|
1345
1344
|
const v = () => {
|
|
1346
1345
|
o.disabled || (i.value = !i.value);
|
|
1347
|
-
},
|
|
1346
|
+
}, m = (c) => {
|
|
1348
1347
|
if (!o.disabled) {
|
|
1349
1348
|
const k = c.target;
|
|
1350
1349
|
i.value = k.checked;
|
|
@@ -1370,7 +1369,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
1370
1369
|
id: c.id,
|
|
1371
1370
|
checked: i.value,
|
|
1372
1371
|
disabled: c.disabled,
|
|
1373
|
-
onChange:
|
|
1372
|
+
onChange: m
|
|
1374
1373
|
}, null, 40, Zn),
|
|
1375
1374
|
s("div", {
|
|
1376
1375
|
class: b([
|
|
@@ -1455,25 +1454,25 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
1455
1454
|
])
|
|
1456
1455
|
], 16));
|
|
1457
1456
|
}
|
|
1458
|
-
}), os = "data:image/svg+xml,%3csvg%20width='18'%20height='20'%20viewBox='0%200%2018%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.5%208.33342H1.5M12.3333%201.66675V5.00008M5.66667%201.66675V5.00008M5.5%2018.3334H12.5C13.9001%2018.3334%2014.6002%2018.3334%2015.135%2018.0609C15.6054%2017.8212%2015.9878%2017.4388%2016.2275%2016.9684C16.5%2016.4336%2016.5%2015.7335%2016.5%2014.3334V7.33342C16.5%205.93328%2016.5%205.23322%2016.2275%204.69844C15.9878%204.22803%2015.6054%203.84558%2015.135%203.6059C14.6002%203.33341%2013.9001%203.33341%2012.5%203.33341H5.5C4.09987%203.33341%203.3998%203.33341%202.86502%203.6059C2.39462%203.84558%202.01217%204.22803%201.77248%204.69844C1.5%205.23322%201.5%205.93328%201.5%207.33341V14.3334C1.5%2015.7335%201.5%2016.4336%201.77248%2016.9684C2.01217%2017.4388%202.39462%2017.8212%202.86502%2018.0609C3.3998%2018.3334%204.09987%2018.3334%205.5%2018.3334Z'%20stroke='%23737373'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", _e = (e, t) => new Date(e.getFullYear(), e.getMonth() + t, 1),
|
|
1457
|
+
}), os = "data:image/svg+xml,%3csvg%20width='18'%20height='20'%20viewBox='0%200%2018%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.5%208.33342H1.5M12.3333%201.66675V5.00008M5.66667%201.66675V5.00008M5.5%2018.3334H12.5C13.9001%2018.3334%2014.6002%2018.3334%2015.135%2018.0609C15.6054%2017.8212%2015.9878%2017.4388%2016.2275%2016.9684C16.5%2016.4336%2016.5%2015.7335%2016.5%2014.3334V7.33342C16.5%205.93328%2016.5%205.23322%2016.2275%204.69844C15.9878%204.22803%2015.6054%203.84558%2015.135%203.6059C14.6002%203.33341%2013.9001%203.33341%2012.5%203.33341H5.5C4.09987%203.33341%203.3998%203.33341%202.86502%203.6059C2.39462%203.84558%202.01217%204.22803%201.77248%204.69844C1.5%205.23322%201.5%205.93328%201.5%207.33341V14.3334C1.5%2015.7335%201.5%2016.4336%201.77248%2016.9684C2.01217%2017.4388%202.39462%2017.8212%202.86502%2018.0609C3.3998%2018.3334%204.09987%2018.3334%205.5%2018.3334Z'%20stroke='%23737373'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", _e = (e, t) => new Date(e.getFullYear(), e.getMonth() + t, 1), Re = (e, t) => e.getDate() === t.getDate() && e.getMonth() === t.getMonth() && e.getFullYear() === t.getFullYear(), ce = (e) => {
|
|
1459
1458
|
const t = e.split("/");
|
|
1460
1459
|
if (t.length !== 3) return null;
|
|
1461
|
-
const o = parseInt(t[0]), a = parseInt(t[1]) - 1, d = parseInt(t[2]), u =
|
|
1460
|
+
const o = parseInt(t[0]), a = parseInt(t[1]) - 1, d = parseInt(t[2]), u = me(new Date(d, a, o));
|
|
1462
1461
|
return u.getDate() !== o || u.getMonth() !== a || u.getFullYear() !== d ? null : u;
|
|
1463
|
-
},
|
|
1464
|
-
var p, v,
|
|
1462
|
+
}, Ue = (e) => {
|
|
1463
|
+
var p, v, m;
|
|
1465
1464
|
if (!e) return "";
|
|
1466
1465
|
const t = { month: "short", day: "2-digit", year: "numeric" }, a = new Intl.DateTimeFormat("pt-BR", t).formatToParts(e);
|
|
1467
1466
|
let d = ((p = a.find((c) => c.type === "month")) == null ? void 0 : p.value) || "";
|
|
1468
|
-
const u = ((v = a.find((c) => c.type === "day")) == null ? void 0 : v.value) || "", i = ((
|
|
1467
|
+
const u = ((v = a.find((c) => c.type === "day")) == null ? void 0 : v.value) || "", i = ((m = a.find((c) => c.type === "year")) == null ? void 0 : m.value) || "";
|
|
1469
1468
|
return d = d.charAt(0).toUpperCase() + d.slice(1).replace(".", ""), `${d} ${u}, ${i}`;
|
|
1470
|
-
},
|
|
1471
|
-
const t =
|
|
1469
|
+
}, me = (e) => new Date(e.getFullYear(), e.getMonth(), e.getDate()), dt = (e) => {
|
|
1470
|
+
const t = me(e);
|
|
1472
1471
|
return new Date(t.getFullYear(), t.getMonth(), t.getDate() - t.getDay());
|
|
1473
1472
|
}, ut = (e) => {
|
|
1474
|
-
const t =
|
|
1473
|
+
const t = me(e);
|
|
1475
1474
|
return new Date(t.getFullYear(), t.getMonth(), t.getDate() + (6 - t.getDay()));
|
|
1476
|
-
}, ct = (e) => new Date(e.getFullYear(), e.getMonth(), 1), pt = (e) => new Date(e.getFullYear(), e.getMonth() + 1, 0),
|
|
1475
|
+
}, ct = (e) => new Date(e.getFullYear(), e.getMonth(), 1), pt = (e) => new Date(e.getFullYear(), e.getMonth() + 1, 0), ft = (e) => new Date(e.getFullYear(), 0, 1), mt = (e) => new Date(e.getFullYear(), 11, 31), Ge = (e, t) => {
|
|
1477
1476
|
const o = new Date(e);
|
|
1478
1477
|
return o.setDate(o.getDate() - t), o;
|
|
1479
1478
|
}, gt = (e, t) => Ge(e, t * 7), vt = (e, t) => new Date(e.getFullYear(), e.getMonth() - t, 1), ht = (e, t) => new Date(e.getFullYear() - t, 0, 1), ns = { class: "flex items-center justify-between mb-2" }, ss = { class: "font-medium" }, as = { class: "grid grid-cols-7 text-center mb-2" }, rs = { class: "grid grid-cols-7 text-center grid-date" }, ls = ["onClick", "onMouseenter"], ke = /* @__PURE__ */ P({
|
|
@@ -1495,9 +1494,9 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
1495
1494
|
const L = { month: "long", year: "numeric" }, O = u.value.toLocaleDateString("pt-BR", L);
|
|
1496
1495
|
return O.charAt(0).toUpperCase() + O.slice(1);
|
|
1497
1496
|
}), p = z(() => {
|
|
1498
|
-
const L = u.value.getFullYear(), O = u.value.getMonth(), q = new Date(L, O, 1).getDay(),
|
|
1497
|
+
const L = u.value.getFullYear(), O = u.value.getMonth(), q = new Date(L, O, 1).getDay(), U = new Date(L, O, 1 - (q + 6) % 7), G = [];
|
|
1499
1498
|
for (let M = 0; M < 42; M++) {
|
|
1500
|
-
const E = new Date(
|
|
1499
|
+
const E = new Date(U.getFullYear(), U.getMonth(), U.getDate() + M);
|
|
1501
1500
|
G.push({
|
|
1502
1501
|
date: E,
|
|
1503
1502
|
currentMonth: E.getMonth() === O
|
|
@@ -1510,13 +1509,13 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
1510
1509
|
d.value.getMonth() - 1,
|
|
1511
1510
|
1
|
|
1512
1511
|
);
|
|
1513
|
-
},
|
|
1512
|
+
}, m = () => {
|
|
1514
1513
|
o.displayDate ? a("nextMonth") : d.value = new Date(
|
|
1515
1514
|
d.value.getFullYear(),
|
|
1516
1515
|
d.value.getMonth() + 1,
|
|
1517
1516
|
1
|
|
1518
1517
|
);
|
|
1519
|
-
}, c = (L) => o.rangeStart || o.rangeEnd ? o.rangeStart &&
|
|
1518
|
+
}, c = (L) => o.rangeStart || o.rangeEnd ? o.rangeStart && Re(L, o.rangeStart) || o.rangeEnd && Re(L, o.rangeEnd) : o.internalDate ? Re(L, o.internalDate) : !1, k = (L) => {
|
|
1520
1519
|
if (o.rangeStart && o.rangeEnd) {
|
|
1521
1520
|
const O = o.rangeStart.getTime(), F = o.rangeEnd.getTime(), q = L.getTime();
|
|
1522
1521
|
return q > Math.min(O, F) && q < Math.max(O, F);
|
|
@@ -1559,7 +1558,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
1559
1558
|
s("div", ss, V(i.value), 1),
|
|
1560
1559
|
s("button", {
|
|
1561
1560
|
type: "button",
|
|
1562
|
-
onClick:
|
|
1561
|
+
onClick: m,
|
|
1563
1562
|
class: "p-2 rounded-md hover:bg-gray-100"
|
|
1564
1563
|
}, O[1] || (O[1] = [
|
|
1565
1564
|
s("svg", {
|
|
@@ -1586,8 +1585,8 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
1586
1585
|
s("div", rs, [
|
|
1587
1586
|
(r(!0), l(H, null, N(p.value, (F, q) => (r(), l("div", {
|
|
1588
1587
|
key: q,
|
|
1589
|
-
onClick: (
|
|
1590
|
-
onMouseenter: (
|
|
1588
|
+
onClick: (U) => g(F),
|
|
1589
|
+
onMouseenter: (U) => w(F),
|
|
1591
1590
|
onMouseleave: y,
|
|
1592
1591
|
class: b(["cursor-pointer", {
|
|
1593
1592
|
"select-date": c(F.date),
|
|
@@ -1615,10 +1614,10 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
1615
1614
|
emits: ["selectRange"],
|
|
1616
1615
|
setup(e, { emit: t }) {
|
|
1617
1616
|
const o = t, a = /* @__PURE__ */ new Date(), d = z(() => [
|
|
1618
|
-
{ label: "Hoje", value: { start:
|
|
1617
|
+
{ label: "Hoje", value: { start: me(a), end: me(a) } },
|
|
1619
1618
|
{
|
|
1620
1619
|
label: "Ontem",
|
|
1621
|
-
value: { start:
|
|
1620
|
+
value: { start: me(Ge(a, 1)), end: me(Ge(a, 1)) }
|
|
1622
1621
|
},
|
|
1623
1622
|
{ label: "Esta semana", value: { start: dt(a), end: ut(a) } },
|
|
1624
1623
|
{
|
|
@@ -1633,10 +1632,10 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
1633
1632
|
label: "Último mês",
|
|
1634
1633
|
value: { start: ct(vt(a, 1)), end: pt(vt(a, 1)) }
|
|
1635
1634
|
},
|
|
1636
|
-
{ label: "Este ano", value: { start:
|
|
1635
|
+
{ label: "Este ano", value: { start: ft(a), end: mt(a) } },
|
|
1637
1636
|
{
|
|
1638
1637
|
label: "Ano passado",
|
|
1639
|
-
value: { start:
|
|
1638
|
+
value: { start: ft(ht(a, 1)), end: mt(ht(a, 1)) }
|
|
1640
1639
|
}
|
|
1641
1640
|
]), u = (i) => {
|
|
1642
1641
|
o("selectRange", i);
|
|
@@ -1649,7 +1648,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
1649
1648
|
}, [
|
|
1650
1649
|
s("button", {
|
|
1651
1650
|
type: "button",
|
|
1652
|
-
onClick: (
|
|
1651
|
+
onClick: (m) => u(v.value),
|
|
1653
1652
|
class: "w-full text-left hover:bg-gray-100 p-2 text-sm font-medium rounded-md"
|
|
1654
1653
|
}, V(v.label), 9, is)
|
|
1655
1654
|
]))), 128))
|
|
@@ -1660,7 +1659,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
1660
1659
|
key: 0,
|
|
1661
1660
|
"data-testid": "datepicker-calendar",
|
|
1662
1661
|
role: "dialog"
|
|
1663
|
-
}, cs = { class: "bg-white border border-gray-200 rounded-lg shadow-lg overflow-x-auto" }, ps = { class: "flex" },
|
|
1662
|
+
}, cs = { class: "bg-white border border-gray-200 rounded-lg shadow-lg overflow-x-auto" }, ps = { class: "flex" }, fs = { class: "flex" }, ms = {
|
|
1664
1663
|
key: 1,
|
|
1665
1664
|
class: "absolute z-10 mt-2 overflow-x-auto"
|
|
1666
1665
|
}, gs = { class: "bg-white border border-gray-200 rounded-lg" }, vs = { class: "flex" }, hs = { class: "flex" }, bs = /* @__PURE__ */ P({
|
|
@@ -1685,33 +1684,33 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
1685
1684
|
},
|
|
1686
1685
|
emits: ["update:modelValue", "update:start", "update:end"],
|
|
1687
1686
|
setup(e, { emit: t }) {
|
|
1688
|
-
const o = e, a = t, d = A(null), u = A(!1), i = A(null), p = A(null), v = A(null),
|
|
1687
|
+
const o = e, a = t, d = A(null), u = A(!1), i = A(null), p = A(null), v = A(null), m = A(null), c = A(/* @__PURE__ */ new Date());
|
|
1689
1688
|
c.value.setDate(1);
|
|
1690
1689
|
const k = A(
|
|
1691
1690
|
new Date(c.value.getFullYear(), c.value.getMonth() + 1, 1)
|
|
1692
1691
|
), h = z(() => !!o.range), g = z(() => {
|
|
1693
1692
|
if (h.value) {
|
|
1694
|
-
const
|
|
1695
|
-
return
|
|
1693
|
+
const f = Ue(p.value), B = Ue(v.value);
|
|
1694
|
+
return f && B ? `${f} - ${B}` : "";
|
|
1696
1695
|
} else
|
|
1697
|
-
return
|
|
1696
|
+
return Ue(i.value);
|
|
1698
1697
|
});
|
|
1699
1698
|
Q(
|
|
1700
1699
|
() => o.modelValue,
|
|
1701
|
-
(
|
|
1702
|
-
h.value || (typeof
|
|
1700
|
+
(f) => {
|
|
1701
|
+
h.value || (typeof f == "string" ? i.value = ce(f) : f instanceof Date ? i.value = new Date(f) : i.value = null);
|
|
1703
1702
|
},
|
|
1704
1703
|
{ immediate: !0 }
|
|
1705
1704
|
), Q(
|
|
1706
1705
|
() => o.start,
|
|
1707
|
-
(
|
|
1708
|
-
h.value && (typeof
|
|
1706
|
+
(f) => {
|
|
1707
|
+
h.value && (typeof f == "string" ? p.value = ce(f) : f instanceof Date ? p.value = new Date(f) : p.value = null);
|
|
1709
1708
|
},
|
|
1710
1709
|
{ immediate: !0 }
|
|
1711
1710
|
), Q(
|
|
1712
1711
|
() => o.end,
|
|
1713
|
-
(
|
|
1714
|
-
h.value && (typeof
|
|
1712
|
+
(f) => {
|
|
1713
|
+
h.value && (typeof f == "string" ? v.value = ce(f) : f instanceof Date ? v.value = new Date(f) : v.value = null);
|
|
1715
1714
|
},
|
|
1716
1715
|
{ immediate: !0 }
|
|
1717
1716
|
);
|
|
@@ -1727,85 +1726,85 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
1727
1726
|
)), await Et()), u.value = !u.value);
|
|
1728
1727
|
}, y = () => {
|
|
1729
1728
|
u.value = !1;
|
|
1730
|
-
}, L = (
|
|
1731
|
-
d.value && !d.value.contains(
|
|
1732
|
-
}, O = (
|
|
1733
|
-
i.value =
|
|
1734
|
-
}, F = (
|
|
1729
|
+
}, L = (f) => {
|
|
1730
|
+
d.value && !d.value.contains(f.target) && y();
|
|
1731
|
+
}, O = (f) => {
|
|
1732
|
+
i.value = f, a("update:modelValue", f), y();
|
|
1733
|
+
}, F = (f) => {
|
|
1735
1734
|
if (!p.value)
|
|
1736
|
-
p.value =
|
|
1735
|
+
p.value = f, a("update:start", f);
|
|
1737
1736
|
else if (v.value)
|
|
1738
|
-
p.value =
|
|
1737
|
+
p.value = f, v.value = null, a("update:start", f), a("update:end", null);
|
|
1739
1738
|
else {
|
|
1740
|
-
if (v.value =
|
|
1739
|
+
if (v.value = f, p.value.getTime() > v.value.getTime()) {
|
|
1741
1740
|
const B = p.value;
|
|
1742
1741
|
p.value = v.value, v.value = B, a("update:start", p.value), a("update:end", v.value);
|
|
1743
1742
|
} else
|
|
1744
|
-
a("update:end",
|
|
1743
|
+
a("update:end", f);
|
|
1745
1744
|
y();
|
|
1746
1745
|
}
|
|
1747
|
-
|
|
1748
|
-
}, q = (
|
|
1749
|
-
if (
|
|
1746
|
+
m.value = null;
|
|
1747
|
+
}, q = (f, B) => {
|
|
1748
|
+
if (f === "left") {
|
|
1750
1749
|
const _ = _e(c.value, B);
|
|
1751
1750
|
c.value = _, k.value = _e(_, 1);
|
|
1752
1751
|
} else {
|
|
1753
1752
|
const _ = _e(k.value, B);
|
|
1754
1753
|
k.value = _, c.value = _e(_, -1);
|
|
1755
1754
|
}
|
|
1756
|
-
},
|
|
1757
|
-
c.value = new Date(
|
|
1755
|
+
}, U = () => q("left", -1), G = () => q("left", 1), M = () => q("right", -1), E = () => q("right", 1), j = (f) => {
|
|
1756
|
+
c.value = new Date(f.getFullYear(), f.getMonth(), 1), k.value = new Date(
|
|
1758
1757
|
c.value.getFullYear(),
|
|
1759
1758
|
c.value.getMonth() + 1,
|
|
1760
1759
|
1
|
|
1761
1760
|
);
|
|
1762
|
-
}, Z = (
|
|
1763
|
-
k.value = new Date(
|
|
1761
|
+
}, Z = (f) => {
|
|
1762
|
+
k.value = new Date(f.getFullYear(), f.getMonth(), 1), c.value = new Date(
|
|
1764
1763
|
k.value.getFullYear(),
|
|
1765
1764
|
k.value.getMonth() - 1,
|
|
1766
1765
|
1
|
|
1767
1766
|
);
|
|
1768
|
-
}, T = (
|
|
1769
|
-
i.value = new Date(
|
|
1770
|
-
}, C = (
|
|
1771
|
-
p.value =
|
|
1772
|
-
}, D = (
|
|
1773
|
-
p.value && !v.value && (
|
|
1767
|
+
}, T = (f) => {
|
|
1768
|
+
i.value = new Date(f.getFullYear(), f.getMonth(), 1);
|
|
1769
|
+
}, C = (f) => {
|
|
1770
|
+
p.value = f.start, v.value = f.end, a("update:start", f.start), a("update:end", f.end), y();
|
|
1771
|
+
}, D = (f) => {
|
|
1772
|
+
p.value && !v.value && (m.value = f);
|
|
1774
1773
|
};
|
|
1775
1774
|
return h.value ? (p.value = o.start ? typeof o.start == "string" ? ce(o.start) : new Date(o.start) : null, v.value = o.end ? typeof o.end == "string" ? ce(o.end) : new Date(o.end) : null) : i.value = o.modelValue ? typeof o.modelValue == "string" ? ce(o.modelValue) : new Date(o.modelValue) : null, le(() => {
|
|
1776
1775
|
document.addEventListener("click", L);
|
|
1777
1776
|
}), $e(() => {
|
|
1778
1777
|
document.removeEventListener("click", L);
|
|
1779
|
-
}), (
|
|
1778
|
+
}), (f, B) => (r(), l("div", K({
|
|
1780
1779
|
ref_key: "rootRef",
|
|
1781
1780
|
ref: d,
|
|
1782
1781
|
class: "relative"
|
|
1783
|
-
},
|
|
1782
|
+
}, f.$attrs), [
|
|
1784
1783
|
s("div", {
|
|
1785
1784
|
"data-testid": "datepicker-input",
|
|
1786
1785
|
role: "button",
|
|
1787
1786
|
"aria-haspopup": "dialog",
|
|
1788
1787
|
"aria-expanded": u.value,
|
|
1789
|
-
class: b({ "cursor-pointer": !
|
|
1788
|
+
class: b({ "cursor-pointer": !f.disabled }),
|
|
1790
1789
|
onClick: w
|
|
1791
1790
|
}, [
|
|
1792
|
-
S(
|
|
1791
|
+
S(f.$slots, "input", { value: g.value }, () => [
|
|
1793
1792
|
$(Pe, {
|
|
1794
1793
|
modelValue: g.value,
|
|
1795
1794
|
"onUpdate:modelValue": B[0] || (B[0] = (_) => g.value = _),
|
|
1796
|
-
id:
|
|
1797
|
-
placeholder:
|
|
1798
|
-
label:
|
|
1799
|
-
hint:
|
|
1800
|
-
invalidFeedback:
|
|
1801
|
-
invalid:
|
|
1802
|
-
disabled:
|
|
1803
|
-
rounded:
|
|
1804
|
-
noAlertIcon:
|
|
1795
|
+
id: f.id,
|
|
1796
|
+
placeholder: f.placeholder,
|
|
1797
|
+
label: f.label,
|
|
1798
|
+
hint: f.hint,
|
|
1799
|
+
invalidFeedback: f.invalidFeedback,
|
|
1800
|
+
invalid: f.invalid,
|
|
1801
|
+
disabled: f.disabled,
|
|
1802
|
+
rounded: f.rounded,
|
|
1803
|
+
noAlertIcon: f.noAlertIcon,
|
|
1805
1804
|
readonly: ""
|
|
1806
1805
|
}, {
|
|
1807
1806
|
"prepend-inner": X(() => [
|
|
1808
|
-
S(
|
|
1807
|
+
S(f.$slots, "prepend-inner", {}, () => [
|
|
1809
1808
|
B[1] || (B[1] = s("img", {
|
|
1810
1809
|
width: "20",
|
|
1811
1810
|
height: "20",
|
|
@@ -1815,14 +1814,14 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
1815
1814
|
])
|
|
1816
1815
|
]),
|
|
1817
1816
|
"append-inner": X(() => [
|
|
1818
|
-
S(
|
|
1817
|
+
S(f.$slots, "append-inner")
|
|
1819
1818
|
]),
|
|
1820
1819
|
_: 3
|
|
1821
1820
|
}, 8, ["modelValue", "id", "placeholder", "label", "hint", "invalidFeedback", "invalid", "disabled", "rounded", "noAlertIcon"])
|
|
1822
1821
|
])
|
|
1823
1822
|
], 10, ds),
|
|
1824
1823
|
u.value ? (r(), l("div", us, [
|
|
1825
|
-
|
|
1824
|
+
f.modal ? (r(), l("div", {
|
|
1826
1825
|
key: 0,
|
|
1827
1826
|
class: "fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50",
|
|
1828
1827
|
onClick: je(y, ["self"])
|
|
@@ -1834,16 +1833,16 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
1834
1833
|
onSelectRange: C,
|
|
1835
1834
|
class: "mr-4 border-r border-gray-200"
|
|
1836
1835
|
})) : x("", !0),
|
|
1837
|
-
s("div",
|
|
1836
|
+
s("div", fs, [
|
|
1838
1837
|
h.value ? (r(), l(H, { key: 0 }, [
|
|
1839
1838
|
$(ke, {
|
|
1840
1839
|
class: "py-4 pr-4",
|
|
1841
1840
|
displayDate: c.value,
|
|
1842
1841
|
rangeStart: p.value,
|
|
1843
1842
|
rangeEnd: v.value,
|
|
1844
|
-
hoveredDate:
|
|
1843
|
+
hoveredDate: m.value,
|
|
1845
1844
|
onSelectDate: F,
|
|
1846
|
-
onPrevMonth:
|
|
1845
|
+
onPrevMonth: U,
|
|
1847
1846
|
onNextMonth: G,
|
|
1848
1847
|
onUpdateMonth: j,
|
|
1849
1848
|
onHoverDate: D
|
|
@@ -1854,7 +1853,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
1854
1853
|
displayDate: k.value,
|
|
1855
1854
|
rangeStart: p.value,
|
|
1856
1855
|
rangeEnd: v.value,
|
|
1857
|
-
hoveredDate:
|
|
1856
|
+
hoveredDate: m.value,
|
|
1858
1857
|
onSelectDate: F,
|
|
1859
1858
|
onPrevMonth: M,
|
|
1860
1859
|
onNextMonth: E,
|
|
@@ -1871,7 +1870,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
1871
1870
|
])
|
|
1872
1871
|
])
|
|
1873
1872
|
])
|
|
1874
|
-
])) : (r(), l("div",
|
|
1873
|
+
])) : (r(), l("div", ms, [
|
|
1875
1874
|
s("div", gs, [
|
|
1876
1875
|
s("div", vs, [
|
|
1877
1876
|
h.value ? (r(), Y(bt, {
|
|
@@ -1886,9 +1885,9 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
1886
1885
|
displayDate: c.value,
|
|
1887
1886
|
rangeStart: p.value,
|
|
1888
1887
|
rangeEnd: v.value,
|
|
1889
|
-
hoveredDate:
|
|
1888
|
+
hoveredDate: m.value,
|
|
1890
1889
|
onSelectDate: F,
|
|
1891
|
-
onPrevMonth:
|
|
1890
|
+
onPrevMonth: U,
|
|
1892
1891
|
onNextMonth: G,
|
|
1893
1892
|
onUpdateMonth: j,
|
|
1894
1893
|
onHoverDate: D
|
|
@@ -1899,7 +1898,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
1899
1898
|
displayDate: k.value,
|
|
1900
1899
|
rangeStart: p.value,
|
|
1901
1900
|
rangeEnd: v.value,
|
|
1902
|
-
hoveredDate:
|
|
1901
|
+
hoveredDate: m.value,
|
|
1903
1902
|
onSelectDate: F,
|
|
1904
1903
|
onPrevMonth: M,
|
|
1905
1904
|
onNextMonth: E,
|
|
@@ -2024,7 +2023,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2024
2023
|
};
|
|
2025
2024
|
}, { solucoesPraVoce: Es } = Dt(), ot = () => {
|
|
2026
2025
|
const e = A(!1), t = A(0), o = A({}), a = A(!1), d = it([]), u = it([]), i = A(!1), p = A([]), v = z(() => e.value);
|
|
2027
|
-
function
|
|
2026
|
+
function m() {
|
|
2028
2027
|
a.value || (e.value = !0);
|
|
2029
2028
|
}
|
|
2030
2029
|
function c() {
|
|
@@ -2033,11 +2032,11 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2033
2032
|
function k() {
|
|
2034
2033
|
e.value = !e.value;
|
|
2035
2034
|
}
|
|
2036
|
-
function h(
|
|
2037
|
-
i.value || g(
|
|
2035
|
+
function h(f) {
|
|
2036
|
+
i.value || g(f), i.value = !0;
|
|
2038
2037
|
}
|
|
2039
|
-
const g = (
|
|
2040
|
-
a.value = !a.value, e.value = a.value, i.value = !i.value, F(u.value),
|
|
2038
|
+
const g = (f) => {
|
|
2039
|
+
a.value = !a.value, e.value = a.value, i.value = !i.value, F(u.value), f("toggleMenu", a.value);
|
|
2041
2040
|
};
|
|
2042
2041
|
function w() {
|
|
2043
2042
|
return "opacity-0 max-w-0 overflow-hidden whitespace-nowrap flex items-center";
|
|
@@ -2045,55 +2044,55 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2045
2044
|
function y() {
|
|
2046
2045
|
return "opacity-100 max-w-[300px] transition-all duration-300";
|
|
2047
2046
|
}
|
|
2048
|
-
function L(
|
|
2049
|
-
return
|
|
2047
|
+
function L(f) {
|
|
2048
|
+
return f.flatMap(
|
|
2050
2049
|
(B) => B.subMenu ? [B.text, ...B.subMenu.map((_) => _.text)] : [B.text]
|
|
2051
2050
|
);
|
|
2052
2051
|
}
|
|
2053
|
-
function O(
|
|
2052
|
+
function O(f, B) {
|
|
2054
2053
|
let _ = [];
|
|
2055
|
-
_ =
|
|
2056
|
-
for (const W of
|
|
2054
|
+
_ = f.filter((W) => W.text.toLowerCase() === B.toLowerCase());
|
|
2055
|
+
for (const W of f) {
|
|
2057
2056
|
let te = [];
|
|
2058
2057
|
W.subMenu && W.subMenu.length > 0 && (te = W.subMenu.filter((se) => se.text.toLowerCase() === B.toLowerCase())), te.length > 0 && (_ = [W]);
|
|
2059
2058
|
}
|
|
2060
2059
|
_.length > 0 && F(_);
|
|
2061
2060
|
}
|
|
2062
|
-
function F(
|
|
2061
|
+
function F(f) {
|
|
2063
2062
|
if (d.value.length == 1) {
|
|
2064
|
-
const B =
|
|
2063
|
+
const B = f.findIndex((_) => _.text === d.value[0].text);
|
|
2065
2064
|
t.value = B;
|
|
2066
2065
|
}
|
|
2067
|
-
d.value =
|
|
2066
|
+
d.value = f.sort((B, _) => {
|
|
2068
2067
|
const W = Array.isArray(B.subMenu) && B.subMenu.length > 0 ? 1 : 0, te = Array.isArray(_.subMenu) && _.subMenu.length > 0 ? 1 : 0;
|
|
2069
2068
|
return W - te;
|
|
2070
2069
|
});
|
|
2071
2070
|
}
|
|
2072
2071
|
const q = z(() => e.value ? d.value : d.value.slice(0, 8));
|
|
2073
|
-
function
|
|
2074
|
-
p.value.includes(
|
|
2072
|
+
function U(f) {
|
|
2073
|
+
p.value.includes(f) ? p.value = p.value.filter((B) => B !== f) : p.value.push(f), t.value = f;
|
|
2075
2074
|
}
|
|
2076
|
-
function G(
|
|
2077
|
-
u.value =
|
|
2075
|
+
function G(f) {
|
|
2076
|
+
u.value = f;
|
|
2078
2077
|
}
|
|
2079
2078
|
function M() {
|
|
2080
2079
|
t.value = 0;
|
|
2081
2080
|
}
|
|
2082
|
-
function E(
|
|
2083
|
-
t.value =
|
|
2081
|
+
function E(f) {
|
|
2082
|
+
t.value = f;
|
|
2084
2083
|
}
|
|
2085
2084
|
function j() {
|
|
2086
2085
|
p.value = [];
|
|
2087
2086
|
}
|
|
2088
|
-
function Z(
|
|
2089
|
-
Object.keys(o.value).length > 0 && (o.value = {}), _ && (o.value[
|
|
2087
|
+
function Z(f, B, _) {
|
|
2088
|
+
Object.keys(o.value).length > 0 && (o.value = {}), _ && (o.value[f] = B);
|
|
2090
2089
|
}
|
|
2091
|
-
const T = (
|
|
2090
|
+
const T = (f, B, _) => {
|
|
2092
2091
|
let W = [];
|
|
2093
2092
|
_ && (W = [
|
|
2094
2093
|
{
|
|
2095
2094
|
text: "Módulos",
|
|
2096
|
-
icon:
|
|
2095
|
+
icon: fo,
|
|
2097
2096
|
subMenu: _ == null ? void 0 : _.map(({ text: de, path: ue }) => ({ text: de, path: ue ?? "" }))
|
|
2098
2097
|
}
|
|
2099
2098
|
]);
|
|
@@ -2101,7 +2100,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2101
2100
|
{
|
|
2102
2101
|
text: "Meus serviços",
|
|
2103
2102
|
icon: ao,
|
|
2104
|
-
subMenu:
|
|
2103
|
+
subMenu: f.map(({ text: de, path: ue }) => ({ text: de, path: ue ?? "" }))
|
|
2105
2104
|
}
|
|
2106
2105
|
], se = [
|
|
2107
2106
|
{
|
|
@@ -2117,12 +2116,12 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2117
2116
|
});
|
|
2118
2117
|
d.value = rt, u.value = [...rt];
|
|
2119
2118
|
};
|
|
2120
|
-
function C(
|
|
2121
|
-
let B = { text:
|
|
2122
|
-
return "options" in
|
|
2119
|
+
function C(f) {
|
|
2120
|
+
let B = { text: f.text, path: f.path };
|
|
2121
|
+
return "options" in f && (B = { ...B, options: f.options }), B;
|
|
2123
2122
|
}
|
|
2124
|
-
function D(
|
|
2125
|
-
return /^(https?|ftp):\/\/([\w-]+(\.[\w-]+)+)(:\d+)?(\/[^\s]*)?$/i.test(
|
|
2123
|
+
function D(f) {
|
|
2124
|
+
return /^(https?|ftp):\/\/([\w-]+(\.[\w-]+)+)(:\d+)?(\/[^\s]*)?$/i.test(f);
|
|
2126
2125
|
}
|
|
2127
2126
|
return {
|
|
2128
2127
|
expandido: e,
|
|
@@ -2146,10 +2145,10 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2146
2145
|
esconderComEfeito: w,
|
|
2147
2146
|
mostrarComEfeito: y,
|
|
2148
2147
|
alternarMenuPorClique: g,
|
|
2149
|
-
expandirMenu:
|
|
2148
|
+
expandirMenu: m,
|
|
2150
2149
|
colapsarMenu: c,
|
|
2151
2150
|
voltarParaInicio: M,
|
|
2152
|
-
alternarDropdown:
|
|
2151
|
+
alternarDropdown: U,
|
|
2153
2152
|
buscarNoMenu: O,
|
|
2154
2153
|
definirOpcoesMenu: F,
|
|
2155
2154
|
travarMenuPorCliqueNoInput: h,
|
|
@@ -2160,19 +2159,19 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2160
2159
|
function u() {
|
|
2161
2160
|
a.value = !a.value;
|
|
2162
2161
|
}
|
|
2163
|
-
function i(v,
|
|
2162
|
+
function i(v, m) {
|
|
2164
2163
|
if (t(v.path))
|
|
2165
2164
|
window.open(v.path, "_blank");
|
|
2166
2165
|
else {
|
|
2167
2166
|
const c = o(v);
|
|
2168
|
-
|
|
2167
|
+
m("redirect", c);
|
|
2169
2168
|
}
|
|
2170
2169
|
a.value = !1;
|
|
2171
2170
|
}
|
|
2172
|
-
function p(v,
|
|
2171
|
+
function p(v, m) {
|
|
2173
2172
|
v.visible = !v.visible;
|
|
2174
2173
|
const c = d.value.filter((k) => k.visible).map(({ text: k, value: h }) => ({ text: k, value: h }));
|
|
2175
|
-
|
|
2174
|
+
m("selected", c);
|
|
2176
2175
|
}
|
|
2177
2176
|
return {
|
|
2178
2177
|
menuAberto: a,
|
|
@@ -2187,10 +2186,10 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2187
2186
|
}, Hs = { class: "py-2 px-3 text-sm text-gray-700 space-y-1" }, Ps = ["onClick"], Is = { class: "flex items-center gap-2" }, qs = {
|
|
2188
2187
|
key: 1,
|
|
2189
2188
|
class: "text-ce_medium_gray"
|
|
2190
|
-
},
|
|
2189
|
+
}, Rs = {
|
|
2191
2190
|
key: 0,
|
|
2192
2191
|
class: "absolute mt-2 bg-white border border-gray-200 rounded-md shadow-md z-10 w-auto min-w-full max-w-max py-2 px-4"
|
|
2193
|
-
},
|
|
2192
|
+
}, Us = ["onClick"], Zs = { class: "flex space-x-2 cursor-pointer items-center" }, Os = {
|
|
2194
2193
|
key: 0,
|
|
2195
2194
|
class: "rounded-md bg-[#f8f8f8] p-1"
|
|
2196
2195
|
}, Ns = { class: "text-[#141414] font-[400] break-words max-w-full" }, Qs = {
|
|
@@ -2211,8 +2210,8 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2211
2210
|
alternarMenu: i,
|
|
2212
2211
|
abrirUrlEmNovaAba: p,
|
|
2213
2212
|
alternarColuna: v
|
|
2214
|
-
} = zs(a),
|
|
2215
|
-
|
|
2213
|
+
} = zs(a), m = A(null), c = () => {
|
|
2214
|
+
m.value && !m.value.contains(event.target) && (d.value = !1);
|
|
2216
2215
|
};
|
|
2217
2216
|
return le(() => {
|
|
2218
2217
|
document.addEventListener("mousedown", c);
|
|
@@ -2222,7 +2221,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2222
2221
|
k.type == "selection" ? (r(), l("div", {
|
|
2223
2222
|
key: 0,
|
|
2224
2223
|
ref_key: "dropdownRef",
|
|
2225
|
-
ref:
|
|
2224
|
+
ref: m,
|
|
2226
2225
|
class: "relative w-full"
|
|
2227
2226
|
}, [
|
|
2228
2227
|
s("button", {
|
|
@@ -2233,7 +2232,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2233
2232
|
}, "w-full border rounded-md px-4 py-2 flex justify-between items-center"])
|
|
2234
2233
|
}, [
|
|
2235
2234
|
S(k.$slots, "default"),
|
|
2236
|
-
$(
|
|
2235
|
+
$(R, {
|
|
2237
2236
|
name: n(d) ? n(Ae) : n(Me),
|
|
2238
2237
|
color: "#737373",
|
|
2239
2238
|
size: "20"
|
|
@@ -2249,7 +2248,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2249
2248
|
onClick: (y) => n(v)(g, o)
|
|
2250
2249
|
}, [
|
|
2251
2250
|
s("div", Is, [
|
|
2252
|
-
g.icon ? (r(), Y(
|
|
2251
|
+
g.icon ? (r(), Y(R, {
|
|
2253
2252
|
key: 0,
|
|
2254
2253
|
name: g.icon,
|
|
2255
2254
|
color: "#525252"
|
|
@@ -2257,7 +2256,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2257
2256
|
s("span", null, V(g.text), 1),
|
|
2258
2257
|
g.subtext ? (r(), l("span", qs, V(g.subtext), 1)) : x("", !0)
|
|
2259
2258
|
]),
|
|
2260
|
-
g.visible ? (r(), Y(
|
|
2259
|
+
g.visible ? (r(), Y(R, {
|
|
2261
2260
|
key: 0,
|
|
2262
2261
|
name: n(Qt)
|
|
2263
2262
|
}, null, 8, ["name"])) : x("", !0)
|
|
@@ -2271,7 +2270,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2271
2270
|
k.type == "menu" ? (r(), l("div", {
|
|
2272
2271
|
key: 1,
|
|
2273
2272
|
ref_key: "dropdownRef",
|
|
2274
|
-
ref:
|
|
2273
|
+
ref: m,
|
|
2275
2274
|
class: "relative"
|
|
2276
2275
|
}, [
|
|
2277
2276
|
s("button", {
|
|
@@ -2281,7 +2280,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2281
2280
|
(...g) => n(i) && n(i)(...g))
|
|
2282
2281
|
}, [
|
|
2283
2282
|
S(k.$slots, "default"),
|
|
2284
|
-
$(
|
|
2283
|
+
$(R, {
|
|
2285
2284
|
name: n(d) ? n(Ae) : n(Me),
|
|
2286
2285
|
color: "#737373",
|
|
2287
2286
|
size: "20"
|
|
@@ -2289,7 +2288,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2289
2288
|
]),
|
|
2290
2289
|
$(xe, { name: "slide-up" }, {
|
|
2291
2290
|
default: X(() => [
|
|
2292
|
-
n(d) ? (r(), l("div",
|
|
2291
|
+
n(d) ? (r(), l("div", Rs, [
|
|
2293
2292
|
(r(!0), l(H, null, N(k.itemsMenu, (g, w) => (r(), l("div", {
|
|
2294
2293
|
key: w,
|
|
2295
2294
|
class: b(["w-full", ["flex flex-col w-full flex-wrap", w !== k.itemsMenu.length - 1 && "mb-5"]]),
|
|
@@ -2297,7 +2296,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2297
2296
|
}, [
|
|
2298
2297
|
s("div", Zs, [
|
|
2299
2298
|
g.icon ? (r(), l("div", Os, [
|
|
2300
|
-
$(
|
|
2299
|
+
$(R, {
|
|
2301
2300
|
name: g.icon || "",
|
|
2302
2301
|
color: "#737373",
|
|
2303
2302
|
size: "20"
|
|
@@ -2306,7 +2305,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2306
2305
|
s("h1", Ns, V(g.text), 1)
|
|
2307
2306
|
]),
|
|
2308
2307
|
g.description ? (r(), l("p", Qs, V(g.description), 1)) : x("", !0)
|
|
2309
|
-
], 10,
|
|
2308
|
+
], 10, Us))), 128))
|
|
2310
2309
|
])) : x("", !0)
|
|
2311
2310
|
]),
|
|
2312
2311
|
_: 1
|
|
@@ -2329,7 +2328,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2329
2328
|
}
|
|
2330
2329
|
M("update:modelValue", t.value);
|
|
2331
2330
|
}
|
|
2332
|
-
const
|
|
2331
|
+
const m = (M, E) => {
|
|
2333
2332
|
if (t.value.splice(M, 1), F(), J("ce-file-upload")) {
|
|
2334
2333
|
E("updateFiles", t.value);
|
|
2335
2334
|
return;
|
|
@@ -2429,7 +2428,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2429
2428
|
setaEstadoAntesDeCarregarArquivos: w,
|
|
2430
2429
|
limparArquivos: v,
|
|
2431
2430
|
removerSelecionados: p,
|
|
2432
|
-
removeArquivos:
|
|
2431
|
+
removeArquivos: m,
|
|
2433
2432
|
manipulaArquivos: (M, E) => {
|
|
2434
2433
|
F();
|
|
2435
2434
|
const j = M.target;
|
|
@@ -2472,7 +2471,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2472
2471
|
() => o.clear,
|
|
2473
2472
|
(F) => {
|
|
2474
2473
|
if (F) {
|
|
2475
|
-
if (d.value = [],
|
|
2474
|
+
if (d.value = [], m.value = [], J("ce-file-upload")) {
|
|
2476
2475
|
a("updateFiles", d.value);
|
|
2477
2476
|
return;
|
|
2478
2477
|
}
|
|
@@ -2486,7 +2485,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2486
2485
|
arrastandoArquivoInvalido: i,
|
|
2487
2486
|
arrastandoArquivoValido: p,
|
|
2488
2487
|
tiposAceitos: v,
|
|
2489
|
-
arquivosSelecionados:
|
|
2488
|
+
arquivosSelecionados: m,
|
|
2490
2489
|
carregando: c,
|
|
2491
2490
|
removerSelecionados: k,
|
|
2492
2491
|
manipulaArquivoViaArrastaSolta: h,
|
|
@@ -2505,26 +2504,26 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2505
2504
|
"border-gray-300": !n(i) && !n(u) && !n(p)
|
|
2506
2505
|
}]),
|
|
2507
2506
|
onDragover: q[2] || (q[2] = //@ts-ignore
|
|
2508
|
-
(...
|
|
2507
|
+
(...U) => n(L) && n(L)(...U)),
|
|
2509
2508
|
onDragleave: q[3] || (q[3] = //@ts-ignore
|
|
2510
|
-
(...
|
|
2511
|
-
onDrop: q[4] || (q[4] = (
|
|
2509
|
+
(...U) => n(y) && n(y)(...U)),
|
|
2510
|
+
onDrop: q[4] || (q[4] = (U) => n(h)(U, a))
|
|
2512
2511
|
}, [
|
|
2513
|
-
o.selectAll && n(
|
|
2512
|
+
o.selectAll && n(m).length > 0 ? (r(), l("button", {
|
|
2514
2513
|
key: 0,
|
|
2515
2514
|
type: "button",
|
|
2516
|
-
onClick: q[0] || (q[0] = (
|
|
2515
|
+
onClick: q[0] || (q[0] = (U) => n(k)(a)),
|
|
2517
2516
|
class: "text-white px-4 py-2 rounded-md flex space-x-2 bg-[#C0002B] absolute top-2 right-2"
|
|
2518
2517
|
}, [
|
|
2519
|
-
$(
|
|
2518
|
+
$(R, {
|
|
2520
2519
|
name: n(co),
|
|
2521
2520
|
size: "20",
|
|
2522
2521
|
color: "#fff"
|
|
2523
2522
|
}, null, 8, ["name"]),
|
|
2524
|
-
s("p", null, V(n(
|
|
2523
|
+
s("p", null, V(n(m).length), 1)
|
|
2525
2524
|
])) : x("", !0),
|
|
2526
2525
|
s("div", Ys, [
|
|
2527
|
-
$(
|
|
2526
|
+
$(R, {
|
|
2528
2527
|
name: n(po),
|
|
2529
2528
|
size: "20",
|
|
2530
2529
|
color: "#737373"
|
|
@@ -2550,11 +2549,11 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2550
2549
|
multiple: o.multiple,
|
|
2551
2550
|
disabled: o.disabled,
|
|
2552
2551
|
class: "hidden",
|
|
2553
|
-
onChange: q[1] || (q[1] = (
|
|
2552
|
+
onChange: q[1] || (q[1] = (U) => n(g)(U, a)),
|
|
2554
2553
|
accept: o.accept.join(",")
|
|
2555
2554
|
}, null, 40, Js)
|
|
2556
2555
|
], 34),
|
|
2557
|
-
(r(!0), l(H, null, N(n(d), (
|
|
2556
|
+
(r(!0), l(H, null, N(n(d), (U, G) => {
|
|
2558
2557
|
var M;
|
|
2559
2558
|
return r(), l("div", {
|
|
2560
2559
|
key: G,
|
|
@@ -2564,19 +2563,19 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2564
2563
|
o.selectAll && n(d).length > 1 ? ge((r(), l("input", {
|
|
2565
2564
|
key: 0,
|
|
2566
2565
|
type: "checkbox",
|
|
2567
|
-
value:
|
|
2566
|
+
value: U,
|
|
2568
2567
|
disabled: n(c),
|
|
2569
|
-
"onUpdate:modelValue": q[5] || (q[5] = (E) => ye(
|
|
2568
|
+
"onUpdate:modelValue": q[5] || (q[5] = (E) => ye(m) ? m.value = E : null),
|
|
2570
2569
|
class: "form-checkbox h-5 w-5 text-green-500"
|
|
2571
2570
|
}, null, 8, ea)), [
|
|
2572
|
-
[zt, n(
|
|
2571
|
+
[zt, n(m)]
|
|
2573
2572
|
]) : (r(), l("button", {
|
|
2574
2573
|
key: 1,
|
|
2575
2574
|
type: "button",
|
|
2576
2575
|
onClick: (E) => n(w)(G, a),
|
|
2577
2576
|
class: "text-gray-500 hover:text-red-500"
|
|
2578
2577
|
}, [
|
|
2579
|
-
$(
|
|
2578
|
+
$(R, {
|
|
2580
2579
|
name: n(uo),
|
|
2581
2580
|
size: "20",
|
|
2582
2581
|
color: "#737373"
|
|
@@ -2585,28 +2584,28 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2585
2584
|
]),
|
|
2586
2585
|
s("div", oa, [
|
|
2587
2586
|
s("div", na, [
|
|
2588
|
-
$(
|
|
2587
|
+
$(R, {
|
|
2589
2588
|
name: n(so),
|
|
2590
2589
|
size: "45",
|
|
2591
2590
|
color: "#737373"
|
|
2592
2591
|
}, null, 8, ["name"]),
|
|
2593
2592
|
s("div", {
|
|
2594
|
-
class: b(["text-white font-bold text-[0.7rem] px-2 content-center rounded absolute top-5 h-5 -left-2", n(O)(
|
|
2593
|
+
class: b(["text-white font-bold text-[0.7rem] px-2 content-center rounded absolute top-5 h-5 -left-2", n(O)(U.file.name)])
|
|
2595
2594
|
}, [
|
|
2596
|
-
s("p", null, V(((M =
|
|
2595
|
+
s("p", null, V(((M = U.file.name.split(".").pop()) == null ? void 0 : M.toUpperCase()) || "ARQ"), 1)
|
|
2597
2596
|
], 2)
|
|
2598
2597
|
]),
|
|
2599
2598
|
s("div", sa, [
|
|
2600
|
-
s("p", aa, V(
|
|
2601
|
-
s("p", ra, V((
|
|
2599
|
+
s("p", aa, V(U.file.name), 1),
|
|
2600
|
+
s("p", ra, V((U.file.size / 1024).toFixed(1)) + " KB", 1),
|
|
2602
2601
|
s("div", la, [
|
|
2603
2602
|
s("div", ia, [
|
|
2604
2603
|
s("div", {
|
|
2605
2604
|
class: "absolute h-full bg-green-500 transition-all",
|
|
2606
|
-
style: ee({ width:
|
|
2605
|
+
style: ee({ width: U.progress + "%" })
|
|
2607
2606
|
}, null, 4)
|
|
2608
2607
|
]),
|
|
2609
|
-
s("span", da, V(
|
|
2608
|
+
s("span", da, V(U.progress) + "%", 1)
|
|
2610
2609
|
])
|
|
2611
2610
|
])
|
|
2612
2611
|
])
|
|
@@ -2614,7 +2613,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2614
2613
|
}), 128))
|
|
2615
2614
|
]));
|
|
2616
2615
|
}
|
|
2617
|
-
}), ca = ["id", "value", "checked", "disabled", "onChange"], pa = { class: "flex-1 min-w-0 mt-0.5" },
|
|
2616
|
+
}), ca = ["id", "value", "checked", "disabled", "onChange"], pa = { class: "flex-1 min-w-0 mt-0.5" }, fa = { class: "flex flex-col gap-0.5" }, ma = ["innerHTML"], ga = ["innerHTML"], va = { class: "mt-1 text-sm text-gray-500" }, ha = ["innerHTML"], ba = { key: 1 }, ka = { class: "text-red-600 text-xs mt-1" }, wa = ["innerHTML"], ya = { key: 1 }, Ca = /* @__PURE__ */ P({
|
|
2618
2617
|
name: "CeGroupRadioField",
|
|
2619
2618
|
inheritAttrs: !1,
|
|
2620
2619
|
__name: "ce-radio-group",
|
|
@@ -2630,7 +2629,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2630
2629
|
},
|
|
2631
2630
|
emits: ["update:modelValue", "change"],
|
|
2632
2631
|
setup(e, { expose: t, emit: o }) {
|
|
2633
|
-
const a = e, d = o, u = A(a.modelValue), i = A([]), p = z(() => a.id || Se("radio")), v = z(() => a.options.map((c, k) => `${p.value}-${k}`)),
|
|
2632
|
+
const a = e, d = o, u = A(a.modelValue), i = A([]), p = z(() => a.id || Se("radio")), v = z(() => a.options.map((c, k) => `${p.value}-${k}`)), m = (c) => {
|
|
2634
2633
|
u.value = c, d("update:modelValue", c), d("change", c);
|
|
2635
2634
|
};
|
|
2636
2635
|
return Q(
|
|
@@ -2672,7 +2671,7 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2672
2671
|
checked: u.value === h.value,
|
|
2673
2672
|
disabled: c.disabled || h.disabled,
|
|
2674
2673
|
class: "absolute opacity-0 h-0 w-0 peer",
|
|
2675
|
-
onChange: (w) =>
|
|
2674
|
+
onChange: (w) => m(h.value)
|
|
2676
2675
|
}, null, 40, ca),
|
|
2677
2676
|
s("div", {
|
|
2678
2677
|
class: b(["m-1.5 flex items-center justify-center w-5 h-5 border-2 rounded-full transition-all duration-100 ease-in-out shrink-0", [
|
|
@@ -2690,11 +2689,11 @@ const Rn = /* @__PURE__ */ Vt(In, [["render", Un]]), Zn = ["id", "checked", "dis
|
|
|
2690
2689
|
}, null, 2)) : x("", !0)
|
|
2691
2690
|
], 2),
|
|
2692
2691
|
s("div", pa, [
|
|
2693
|
-
s("div",
|
|
2692
|
+
s("div", fa, [
|
|
2694
2693
|
s("p", {
|
|
2695
2694
|
class: "text-sm font-medium text-gray-700 leading-tight break-words",
|
|
2696
2695
|
innerHTML: h.label || h.value
|
|
2697
|
-
}, null, 8,
|
|
2696
|
+
}, null, 8, ma),
|
|
2698
2697
|
h.hint ? (r(), l("p", {
|
|
2699
2698
|
key: 0,
|
|
2700
2699
|
class: "text-sm text-gray-500 break-words",
|
|
@@ -2796,10 +2795,10 @@ const Ba = ["for", "innerHTML"], Va = { class: "relative" }, Da = ["id", "value"
|
|
|
2796
2795
|
}, Ta = { key: 0 }, Ha = {
|
|
2797
2796
|
key: 0,
|
|
2798
2797
|
class: "px-3 py-4 text-xs text-black uppercase font-semibold"
|
|
2799
|
-
}, Pa = ["onClick"], Ia = ["innerHTML"], qa = { key: 0 },
|
|
2798
|
+
}, Pa = ["onClick"], Ia = ["innerHTML"], qa = { key: 0 }, Ra = {
|
|
2800
2799
|
key: 1,
|
|
2801
2800
|
class: "mt-1 text-sm text-gray-500 absolute left-0 w-full top-full sm:relative sm:top-auto sm:w-auto"
|
|
2802
|
-
},
|
|
2801
|
+
}, Ua = ["innerHTML"], Za = { key: 1 }, Oa = { class: "text-red-600 text-xs mt-1 absolute left-0 w-full top-full sm:relative sm:top-auto sm:w-auto" }, Na = ["innerHTML"], Qa = { key: 1 }, Wa = /* @__PURE__ */ P({
|
|
2803
2802
|
name: "CeSelectField",
|
|
2804
2803
|
inheritAttrs: !1,
|
|
2805
2804
|
__name: "ce-select",
|
|
@@ -2819,37 +2818,37 @@ const Ba = ["for", "innerHTML"], Va = { class: "relative" }, Da = ["id", "value"
|
|
|
2819
2818
|
},
|
|
2820
2819
|
emits: ["update:modelValue", "change", "openDropdown", "closeDropdown", "inputSearch"],
|
|
2821
2820
|
setup(e, { expose: t, emit: o }) {
|
|
2822
|
-
const a = e, d = o, u = ae(), i = A(null), p = A(null), v = A(null),
|
|
2821
|
+
const a = e, d = o, u = ae(), i = A(null), p = A(null), v = A(null), m = A(null), { hasSlot: c } = ne("selection", i, u), { selectAbertoRef: k, aberturaSelect: h } = xa(i, m), { termoBuscaRef: g, optsFiltradas: w } = Ma(a, d), { valorInternoRef: y, verValueSelecionado: L, valorInterno: O } = Aa(a), F = z(() => a.id || Se("select")), q = z(() => a.multiple && Array.isArray(y.value) ? y.value : []);
|
|
2823
2822
|
Q(k, (C) => {
|
|
2824
2823
|
C ? (g.value = "", d("openDropdown")) : d("closeDropdown");
|
|
2825
2824
|
});
|
|
2826
|
-
const
|
|
2827
|
-
const D = a.options.find((
|
|
2825
|
+
const U = (C) => a.multiple ? Array.isArray(y.value) && y.value.includes(C.value) : y.value === C.value, G = (C) => {
|
|
2826
|
+
const D = a.options.find((f) => f.value === C);
|
|
2828
2827
|
return D ? D.label || D.value : C;
|
|
2829
2828
|
}, M = (C) => {
|
|
2830
2829
|
if (!a.multiple) return;
|
|
2831
|
-
const D = Array.isArray(y.value) ? [...y.value] : [],
|
|
2832
|
-
|
|
2830
|
+
const D = Array.isArray(y.value) ? [...y.value] : [], f = D.findIndex((B) => B === C);
|
|
2831
|
+
f !== -1 && (D.splice(f, 1), y.value = D, d("update:modelValue", D), d("change", D));
|
|
2833
2832
|
}, E = (C) => {
|
|
2834
|
-
if (!
|
|
2833
|
+
if (!U(C)) {
|
|
2835
2834
|
const D = Array.isArray(y.value) ? [...y.value] : [];
|
|
2836
2835
|
D.push(C.value), y.value = D, d("update:modelValue", D), d("change", D);
|
|
2837
2836
|
}
|
|
2838
2837
|
}, j = (C) => {
|
|
2839
|
-
if (
|
|
2840
|
-
const D = Array.isArray(y.value) ? [...y.value] : [],
|
|
2841
|
-
|
|
2838
|
+
if (U(C)) {
|
|
2839
|
+
const D = Array.isArray(y.value) ? [...y.value] : [], f = D.indexOf(C.value);
|
|
2840
|
+
f !== -1 && (D.splice(f, 1), y.value = D, d("update:modelValue", D), d("change", D));
|
|
2842
2841
|
}
|
|
2843
|
-
}, Z = (C, D,
|
|
2842
|
+
}, Z = (C, D, f) => {
|
|
2844
2843
|
if (a.multiple && D.shiftKey && p.value !== null) {
|
|
2845
|
-
const B = Math.min(p.value,
|
|
2844
|
+
const B = Math.min(p.value, f), _ = Math.max(p.value, f), W = w.value[p.value], te = W ? U(W) : !0;
|
|
2846
2845
|
for (let se = B; se <= _; se++) {
|
|
2847
2846
|
const ie = w.value[se];
|
|
2848
2847
|
ie && !ie.disabled && !ie.header && (te ? E(ie) : j(ie));
|
|
2849
2848
|
}
|
|
2850
|
-
p.value =
|
|
2849
|
+
p.value = f;
|
|
2851
2850
|
} else
|
|
2852
|
-
a.multiple ? (
|
|
2851
|
+
a.multiple ? (U(C) ? j(C) : E(C), p.value = f) : T(C);
|
|
2853
2852
|
}, T = (C) => {
|
|
2854
2853
|
if (!C.disabled) {
|
|
2855
2854
|
if (a.multiple && (C.value === "" || C.value === null)) {
|
|
@@ -2857,8 +2856,8 @@ const Ba = ["for", "innerHTML"], Va = { class: "relative" }, Da = ["id", "value"
|
|
|
2857
2856
|
return;
|
|
2858
2857
|
}
|
|
2859
2858
|
if (a.multiple) {
|
|
2860
|
-
const D = Array.isArray(y.value) ? [...y.value] : [],
|
|
2861
|
-
|
|
2859
|
+
const D = Array.isArray(y.value) ? [...y.value] : [], f = D.indexOf(C.value);
|
|
2860
|
+
f === -1 ? D.push(C.value) : D.splice(f, 1), y.value = D, d("update:modelValue", D), d("change", D);
|
|
2862
2861
|
} else
|
|
2863
2862
|
y.value = C.value, d("update:modelValue", C.value), d("change", C.value), k.value = !1;
|
|
2864
2863
|
}
|
|
@@ -2900,22 +2899,22 @@ const Ba = ["for", "innerHTML"], Va = { class: "relative" }, Da = ["id", "value"
|
|
|
2900
2899
|
C.invalid || C.invalidFeedback ? "border-red-500" : "border-gray-300"
|
|
2901
2900
|
]),
|
|
2902
2901
|
tabindex: "0",
|
|
2903
|
-
onClick: D[0] || (D[0] = (
|
|
2902
|
+
onClick: D[0] || (D[0] = (f) => n(h)(C.disabled))
|
|
2904
2903
|
}, [
|
|
2905
2904
|
S(C.$slots, "prepend-inner"),
|
|
2906
2905
|
s("div", ja, [
|
|
2907
2906
|
C.multiple ? (r(), l(H, { key: 0 }, [
|
|
2908
2907
|
S(C.$slots, "selection", { value: n(L) }),
|
|
2909
2908
|
!n(c) && q.value.length ? (r(), l("div", $a, [
|
|
2910
|
-
(r(!0), l(H, null, N(q.value, (
|
|
2909
|
+
(r(!0), l(H, null, N(q.value, (f, B) => (r(), l("div", {
|
|
2911
2910
|
key: B,
|
|
2912
2911
|
class: "bg-white border border-gray-300 text-black rounded-xl px-2 py-1 inline-flex items-center text-xs"
|
|
2913
2912
|
}, [
|
|
2914
|
-
s("span", null, V(G(
|
|
2913
|
+
s("span", null, V(G(f)), 1),
|
|
2915
2914
|
C.closeChip ? (r(), l("button", {
|
|
2916
2915
|
key: 0,
|
|
2917
2916
|
type: "button",
|
|
2918
|
-
onClick: je((_) => M(
|
|
2917
|
+
onClick: je((_) => M(f), ["stop"]),
|
|
2919
2918
|
class: "ml-2 text-gray-600 hover:text-gray-800"
|
|
2920
2919
|
}, " × ", 8, Sa)) : x("", !0)
|
|
2921
2920
|
]))), 128))
|
|
@@ -2949,8 +2948,8 @@ const Ba = ["for", "innerHTML"], Va = { class: "relative" }, Da = ["id", "value"
|
|
|
2949
2948
|
C.search ? (r(), l("div", Ta, [
|
|
2950
2949
|
ge(s("input", {
|
|
2951
2950
|
ref_key: "searchInputRef",
|
|
2952
|
-
ref:
|
|
2953
|
-
"onUpdate:modelValue": D[1] || (D[1] = (
|
|
2951
|
+
ref: m,
|
|
2952
|
+
"onUpdate:modelValue": D[1] || (D[1] = (f) => ye(g) ? g.value = f : null),
|
|
2954
2953
|
type: "text",
|
|
2955
2954
|
placeholder: "Buscar...",
|
|
2956
2955
|
class: "w-full px-3 py-2 border-b border-gray-200 focus:outline-none",
|
|
@@ -2961,23 +2960,23 @@ const Ba = ["for", "innerHTML"], Va = { class: "relative" }, Da = ["id", "value"
|
|
|
2961
2960
|
])
|
|
2962
2961
|
])) : x("", !0),
|
|
2963
2962
|
S(C.$slots, "prepend-item"),
|
|
2964
|
-
(r(!0), l(H, null, N(n(w), (
|
|
2965
|
-
key: (
|
|
2963
|
+
(r(!0), l(H, null, N(n(w), (f, B) => (r(), l("div", {
|
|
2964
|
+
key: (f.header ? "header-" : "") + f.value + B,
|
|
2966
2965
|
class: "px-2"
|
|
2967
2966
|
}, [
|
|
2968
|
-
|
|
2967
|
+
f.header ? (r(), l("div", Ha, V(f.header), 1)) : (r(), l("div", {
|
|
2969
2968
|
key: 1,
|
|
2970
2969
|
class: b([
|
|
2971
2970
|
"select-none mt-0.5 flex items-center justify-between px-3 py-2 cursor-pointer hover:bg-gray-100 rounded-md font-medium text-base",
|
|
2972
|
-
|
|
2973
|
-
|
|
2971
|
+
U(f) ? "bg-gray-100" : "",
|
|
2972
|
+
f.disabled ? "opacity-50 cursor-not-allowed" : ""
|
|
2974
2973
|
]),
|
|
2975
|
-
onClick: (_) => Z(
|
|
2974
|
+
onClick: (_) => Z(f, _, B)
|
|
2976
2975
|
}, [
|
|
2977
2976
|
s("span", {
|
|
2978
|
-
innerHTML:
|
|
2977
|
+
innerHTML: f.label || f.value
|
|
2979
2978
|
}, null, 8, Ia),
|
|
2980
|
-
|
|
2979
|
+
U(f) ? (r(), l("span", qa, D[4] || (D[4] = [
|
|
2981
2980
|
s("svg", {
|
|
2982
2981
|
class: "w-5 h-5 text-green-500",
|
|
2983
2982
|
fill: "none",
|
|
@@ -2997,11 +2996,11 @@ const Ba = ["for", "innerHTML"], Va = { class: "relative" }, Da = ["id", "value"
|
|
|
2997
2996
|
S(C.$slots, "append-item")
|
|
2998
2997
|
])) : x("", !0)
|
|
2999
2998
|
]),
|
|
3000
|
-
C.hint && !C.invalidFeedback ? (r(), l("p",
|
|
2999
|
+
C.hint && !C.invalidFeedback ? (r(), l("p", Ra, [
|
|
3001
3000
|
C.hint ? (r(), l("span", {
|
|
3002
3001
|
key: 0,
|
|
3003
3002
|
innerHTML: C.hint
|
|
3004
|
-
}, null, 8,
|
|
3003
|
+
}, null, 8, Ua)) : (r(), l("span", Za, ""))
|
|
3005
3004
|
])) : x("", !0),
|
|
3006
3005
|
s("p", Oa, [
|
|
3007
3006
|
C.invalidFeedback ? (r(), l("span", {
|
|
@@ -3068,7 +3067,7 @@ const Ba = ["for", "innerHTML"], Va = { class: "relative" }, Da = ["id", "value"
|
|
|
3068
3067
|
tamanhoThumb: i,
|
|
3069
3068
|
tamanhoBorda: p,
|
|
3070
3069
|
erro: v,
|
|
3071
|
-
atualizaValor:
|
|
3070
|
+
atualizaValor: m,
|
|
3072
3071
|
atualizaValorMinimo: c,
|
|
3073
3072
|
atualizaValorMaximo: k
|
|
3074
3073
|
} = Xa(o), h = t;
|
|
@@ -3104,7 +3103,7 @@ const Ba = ["for", "innerHTML"], Va = { class: "relative" }, Da = ["id", "value"
|
|
|
3104
3103
|
min: g.minValue,
|
|
3105
3104
|
max: g.maxValue,
|
|
3106
3105
|
"onUpdate:modelValue": w[0] || (w[0] = (y) => ye(u) ? u.value = y : null),
|
|
3107
|
-
onInput: w[1] || (w[1] = (y) => n(
|
|
3106
|
+
onInput: w[1] || (w[1] = (y) => n(m)(y, h)),
|
|
3108
3107
|
disabled: g.disabled || n(v),
|
|
3109
3108
|
class: "appearance-none bg-transparent cursor-pointer relative z-10 w-full"
|
|
3110
3109
|
}, null, 40, Ga), [
|
|
@@ -3248,10 +3247,10 @@ const Ba = ["for", "innerHTML"], Va = { class: "relative" }, Da = ["id", "value"
|
|
|
3248
3247
|
De
|
|
3249
3248
|
), qi = I(
|
|
3250
3249
|
_n
|
|
3251
|
-
), Ui = I(
|
|
3252
|
-
Pn
|
|
3253
3250
|
), Ri = I(
|
|
3254
|
-
|
|
3251
|
+
Pn
|
|
3252
|
+
), Ui = I(
|
|
3253
|
+
Un
|
|
3255
3254
|
), Zi = I(
|
|
3256
3255
|
Ee
|
|
3257
3256
|
), Oi = I(
|
|
@@ -4387,11 +4386,11 @@ function pr() {
|
|
|
4387
4386
|
let e = cr();
|
|
4388
4387
|
return Qe = (e.__esModule ? e : { default: e }).default, Qe;
|
|
4389
4388
|
}
|
|
4390
|
-
var
|
|
4391
|
-
const
|
|
4389
|
+
var fr = pr();
|
|
4390
|
+
const mr = /* @__PURE__ */ ir(fr);
|
|
4392
4391
|
function Ie() {
|
|
4393
4392
|
const e = A(!1), t = () => {
|
|
4394
|
-
const o = parseInt(
|
|
4393
|
+
const o = parseInt(mr.screens.sm, 10);
|
|
4395
4394
|
e.value = window.innerWidth < o;
|
|
4396
4395
|
};
|
|
4397
4396
|
return le(() => {
|
|
@@ -4540,7 +4539,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
4540
4539
|
}), e2 = I(gr), t2 = I(vr), o2 = I(
|
|
4541
4540
|
hr
|
|
4542
4541
|
), n2 = I(
|
|
4543
|
-
|
|
4542
|
+
R
|
|
4544
4543
|
), br = {
|
|
4545
4544
|
key: 0,
|
|
4546
4545
|
class: "absolute left-[5px] top-auto sm:left-0 sm:top-[5rem] z-20 w-[99%] rounded-lg border-[1px] border-solid border-slate-200 bg-white px-4 py-4 shadow-md"
|
|
@@ -4563,7 +4562,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
4563
4562
|
onBlur: i[1] || (i[1] = (p) => n(a) && n(o)())
|
|
4564
4563
|
}, [
|
|
4565
4564
|
i[2] || (i[2] = s("p", null, "Soluções para você", -1)),
|
|
4566
|
-
$(
|
|
4565
|
+
$(R, {
|
|
4567
4566
|
name: n(a) ? n(Ae) : n(Me),
|
|
4568
4567
|
size: "20",
|
|
4569
4568
|
color: "#737373"
|
|
@@ -4577,7 +4576,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
4577
4576
|
s("div", wr, [
|
|
4578
4577
|
s("h3", yr, V(p.text), 1),
|
|
4579
4578
|
s("div", Cr, [
|
|
4580
|
-
(r(!0), l(H, null, N(p.subMenu, (
|
|
4579
|
+
(r(!0), l(H, null, N(p.subMenu, (m, c) => (r(), l("div", {
|
|
4581
4580
|
key: c,
|
|
4582
4581
|
class: "mt-3 flex items-center space-x-2"
|
|
4583
4582
|
}, [
|
|
@@ -4585,15 +4584,15 @@ const gr = /* @__PURE__ */ P({
|
|
|
4585
4584
|
s("img", {
|
|
4586
4585
|
width: "20",
|
|
4587
4586
|
height: "20",
|
|
4588
|
-
src:
|
|
4587
|
+
src: m.icon,
|
|
4589
4588
|
alt: "icon menu"
|
|
4590
4589
|
}, null, 8, Mr)
|
|
4591
4590
|
]),
|
|
4592
4591
|
s("a", {
|
|
4593
|
-
href:
|
|
4592
|
+
href: m.path,
|
|
4594
4593
|
target: "_blank",
|
|
4595
4594
|
class: "mb-8 font-bold text-black"
|
|
4596
|
-
}, V(
|
|
4595
|
+
}, V(m.text), 9, Ar)
|
|
4597
4596
|
]))), 128))
|
|
4598
4597
|
])
|
|
4599
4598
|
])
|
|
@@ -4608,10 +4607,10 @@ const gr = /* @__PURE__ */ P({
|
|
|
4608
4607
|
}), pe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOgAAABECAYAAACLd3ntAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAB/eSURBVHgB7V3fbxzHff/O7pF2kzSi4QjIm07/QEXGdoAUSHWMHSBF0ZiUREp5CY9B+9AWragWLfJSkExRoE8VWbToQ9PwDBSwLVEmFTRNkMjRES3aoI4t+i8Q9VZYDky3QSvxbnf6/X5nZnd2d2bvjndHUvJ9APLudmdnZ3fnM9+fMyvgCPGD9y6ceSTD6QDEGZCyKgGquHkChJhICkm5LyDYj0Hug4z3AhHutWX0/i8r7d3Fqe19GGGETxAEDBEb92YmPhuPzQQSzksQM0BkTCClEIGQUvJ3bIoofuYhm3jQbhTJ1+a/eHMXRhjhKcdQCHrznUu1igiuIsdqUsanBHINKac+ZHpOs8GNPEnt3/z9gYzl6kHUan7jS9t7MMIITyEGSlAiZijEMn49b0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lvZr/H3l09KqfQU4/woJmEjm7MF6YXJl5c8hDTfR/CHNuuOpWBftESeas4huWwh+oXXuzzlX0nBBzLE8EW5JO6UymVkZoiY5xLp5fWJwFd9qcPzqT+BPE1Dh2NMDCwjRjF5Juo8gZJhOW0RvptllVZd81hHQR6IqjB1rvz17EfJQ1SqWZyb/bFG2fhKYL9cGwC5p1FSZzUOGoMXNlIGh3JaGbSmMN8ElpVsy8guDC0PNsR9LzTAJ1BNCeXEvQpB1iihA23h3nfD0VQwq13Li1h2IViNTyKYJ899veDDgPsEWyPk1RasGOamSVHOsGVuO5IJ8zbmmVOprRssAMVsXiUXtIRjg6HJiiBVd523KDAOzqHFp90+7MM9VtX6siPZRyIqp0IZ8NpK4I7NJObTlaqHgOvnxOvjlTapxt9EfSTBj1HcwXv2jfzZOw6BAL+mKjz2PykcYKAbXRgXBuGU2KEk4URQQ8BJuqYXEbq1DM7cml9nvhkwRZlm9ZMGbOdUBqWSr1Di1iNbM1PDkYE7QNm2UWk43khtJfPhdy0NKdUhNThBNk8XEqDW4PKwfpRZMWMcLIwIuiAwO8QldEMBLy4Mc+J9NmUXYCyVpq0At5IWn6yMSLoEKCWLXl2EgI5KePojIAQw080/0+e4hXLpaZswGvQ7FOICigJRIr34ZePdoeyqNcITyT+Hz0NqZwpQVnnAAAAAElFTkSuQmCC", Vr = { class: "flex items-center justify-between bg-white px-5 h-full rounded-lg border-b-[1px]" }, Dr = { class: "flex items-center space-x-3 sm:space-x-2 sm:w-full" }, jr = ["src"], $r = { class: "flex items-center space-x-5 text-[#292929] font-[600] sm:space-x-3 sm:w-full sm:justify-end" }, Sr = { class: "grid grid-cols-[1fr_50px] h-full" }, Lr = { class: "flex flex-col w-full h-full overflow-y-auto" }, Fr = { class: "p-4" }, _r = ["src"], Er = { class: "flex-1 overflow-y-auto py-5 px-4" }, zr = ["onClick"], Tr = {
|
|
4609
4608
|
key: 1,
|
|
4610
4609
|
class: "min-h-12 flex flex-col cursor-pointer w-full"
|
|
4611
|
-
}, Hr = ["onClick"], Pr = ["onClick"], Ir = { class: "mt-1" }, qr = { class: "border-t px-4 py-2 bg-white" },
|
|
4610
|
+
}, Hr = ["onClick"], Pr = ["onClick"], Ir = { class: "mt-1" }, qr = { class: "border-t px-4 py-2 bg-white" }, Rr = {
|
|
4612
4611
|
key: 0,
|
|
4613
4612
|
class: "flex flex-col"
|
|
4614
|
-
},
|
|
4613
|
+
}, Ur = { class: "text-gray-700 text-sm" }, Zr = { class: "text-gray-500 text-xs" }, Or = { class: "h-screen flex justify-center items-start p-2 bg-[#58595A]" }, Nr = /* @__PURE__ */ P({
|
|
4615
4614
|
__name: "ce-menu-header",
|
|
4616
4615
|
props: {
|
|
4617
4616
|
itemsMenuMyService: { default: () => [] },
|
|
@@ -4630,7 +4629,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
4630
4629
|
backupMenu: i,
|
|
4631
4630
|
arrayIndicesDropdown: p,
|
|
4632
4631
|
esconderComEfeito: v,
|
|
4633
|
-
mostrarComEfeito:
|
|
4632
|
+
mostrarComEfeito: m,
|
|
4634
4633
|
alterarMenu: c,
|
|
4635
4634
|
setarIndiceDropdowns: k,
|
|
4636
4635
|
setarIndiceMenu: h,
|
|
@@ -4641,12 +4640,12 @@ const gr = /* @__PURE__ */ P({
|
|
|
4641
4640
|
buscarNoMenu: O,
|
|
4642
4641
|
definirOpcoesMenu: F,
|
|
4643
4642
|
atualizaOpcoesMenu: q,
|
|
4644
|
-
defineRetorno:
|
|
4643
|
+
defineRetorno: U,
|
|
4645
4644
|
validaUrl: G
|
|
4646
4645
|
} = ot(), M = e, E = t;
|
|
4647
|
-
function j(T, C, D,
|
|
4648
|
-
G(C.path) && window.open(C.path, "_blank"), k(T, C.text, D), h(
|
|
4649
|
-
const B =
|
|
4646
|
+
function j(T, C, D, f) {
|
|
4647
|
+
G(C.path) && window.open(C.path, "_blank"), k(T, C.text, D), h(f);
|
|
4648
|
+
const B = U(C);
|
|
4650
4649
|
if (D) {
|
|
4651
4650
|
E("redirect", B);
|
|
4652
4651
|
return;
|
|
@@ -4704,7 +4703,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
4704
4703
|
(...D) => n(c) && n(c)(...D)),
|
|
4705
4704
|
class: "p-2 hidden sm:block md:block"
|
|
4706
4705
|
}, [
|
|
4707
|
-
$(
|
|
4706
|
+
$(R, {
|
|
4708
4707
|
name: n(no),
|
|
4709
4708
|
size: "24",
|
|
4710
4709
|
color: "#000"
|
|
@@ -4738,29 +4737,29 @@ const gr = /* @__PURE__ */ P({
|
|
|
4738
4737
|
"onUpdate:modelValue": C[2] || (C[2] = (D) => n(O)(n(i), String(D))),
|
|
4739
4738
|
onFilterList: C[3] || (C[3] = (D) => n(O)(n(i), String(D))),
|
|
4740
4739
|
onClearFilter: C[4] || (C[4] = (D) => n(F)(n(i)))
|
|
4741
|
-
}, null, 8, ["items"])) : (r(), Y(
|
|
4740
|
+
}, null, 8, ["items"])) : (r(), Y(R, {
|
|
4742
4741
|
key: 0,
|
|
4743
4742
|
name: n(He),
|
|
4744
4743
|
size: "20",
|
|
4745
4744
|
color: "#737373"
|
|
4746
4745
|
}, null, 8, ["name"]))
|
|
4747
4746
|
], 2),
|
|
4748
|
-
(r(!0), l(H, null, N(n(u), (D,
|
|
4747
|
+
(r(!0), l(H, null, N(n(u), (D, f) => {
|
|
4749
4748
|
var B;
|
|
4750
4749
|
return r(), l("div", {
|
|
4751
4750
|
class: "px-2.5 mb-2 flex items-center",
|
|
4752
|
-
key:
|
|
4751
|
+
key: f
|
|
4753
4752
|
}, [
|
|
4754
4753
|
((B = D.subMenu) == null ? void 0 : B.length) == 0 ? (r(), l("div", {
|
|
4755
4754
|
key: 0,
|
|
4756
4755
|
class: b(["flex items-center cursor-pointer h-12 rounded-lg w-full text-[#292929] font-[600]", {
|
|
4757
|
-
"bg-gray-100":
|
|
4756
|
+
"bg-gray-100": f === n(a),
|
|
4758
4757
|
"justify-center": !n(o),
|
|
4759
4758
|
"pl-[1rem] space-x-2": n(o)
|
|
4760
4759
|
}]),
|
|
4761
|
-
onClick: (_) => j(null, D, !1,
|
|
4760
|
+
onClick: (_) => j(null, D, !1, f)
|
|
4762
4761
|
}, [
|
|
4763
|
-
$(
|
|
4762
|
+
$(R, {
|
|
4764
4763
|
name: D.icon || "",
|
|
4765
4764
|
size: "20",
|
|
4766
4765
|
color: "#737373"
|
|
@@ -4768,15 +4767,15 @@ const gr = /* @__PURE__ */ P({
|
|
|
4768
4767
|
s("span", {
|
|
4769
4768
|
class: b({
|
|
4770
4769
|
[n(v)()]: !n(o),
|
|
4771
|
-
[n(
|
|
4770
|
+
[n(m)()]: n(o)
|
|
4772
4771
|
})
|
|
4773
4772
|
}, V(D.text), 3)
|
|
4774
4773
|
], 10, zr)) : (r(), l("div", Tr, [
|
|
4775
4774
|
s("div", {
|
|
4776
4775
|
"data-testid": "menu-dropdown",
|
|
4777
|
-
onClick: (_) => n(L)(
|
|
4776
|
+
onClick: (_) => n(L)(f),
|
|
4778
4777
|
class: b(["flex items-center cursor-pointer h-12 rounded-lg w-full", {
|
|
4779
|
-
"bg-gray-100": n(p).includes(
|
|
4778
|
+
"bg-gray-100": n(p).includes(f) || f === n(a),
|
|
4780
4779
|
"!justify-center": !n(o),
|
|
4781
4780
|
"px-[1rem]": n(o)
|
|
4782
4781
|
}])
|
|
@@ -4784,7 +4783,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
4784
4783
|
s("div", {
|
|
4785
4784
|
class: b(["flex items-center w-full text-[#292929] font-[600]", { "justify-center": !n(o), "space-x-2": n(o) }])
|
|
4786
4785
|
}, [
|
|
4787
|
-
$(
|
|
4786
|
+
$(R, {
|
|
4788
4787
|
name: D.icon || "",
|
|
4789
4788
|
size: "20",
|
|
4790
4789
|
color: "#737373"
|
|
@@ -4792,31 +4791,31 @@ const gr = /* @__PURE__ */ P({
|
|
|
4792
4791
|
s("div", {
|
|
4793
4792
|
class: b({
|
|
4794
4793
|
[n(v)()]: !n(o),
|
|
4795
|
-
[n(
|
|
4794
|
+
[n(m)()]: n(o)
|
|
4796
4795
|
})
|
|
4797
4796
|
}, [
|
|
4798
4797
|
s("span", null, V(D.text), 1)
|
|
4799
4798
|
], 2)
|
|
4800
4799
|
], 2),
|
|
4801
|
-
$(
|
|
4802
|
-
name: n(p).includes(
|
|
4800
|
+
$(R, {
|
|
4801
|
+
name: n(p).includes(f) ? n(Ae) : n(Me),
|
|
4803
4802
|
size: "24",
|
|
4804
4803
|
color: "#737373",
|
|
4805
4804
|
class: b({
|
|
4806
4805
|
[n(v)()]: !n(o),
|
|
4807
|
-
[n(
|
|
4806
|
+
[n(m)()]: n(o)
|
|
4808
4807
|
})
|
|
4809
4808
|
}, null, 8, ["name", "class"])
|
|
4810
4809
|
], 10, Hr),
|
|
4811
|
-
n(o) && n(p).includes(
|
|
4810
|
+
n(o) && n(p).includes(f) ? (r(), l("div", {
|
|
4812
4811
|
key: 0,
|
|
4813
|
-
class: b(["rounded-lg pt-4 overflow-hidden transition-all duration-300 ease-in-out max-h-max w-full", { "max-h-full": n(p).includes(
|
|
4812
|
+
class: b(["rounded-lg pt-4 overflow-hidden transition-all duration-300 ease-in-out max-h-max w-full", { "max-h-full": n(p).includes(f) }])
|
|
4814
4813
|
}, [
|
|
4815
4814
|
(r(!0), l(H, null, N(D.subMenu, (_, W) => (r(), l("div", {
|
|
4816
4815
|
class: b(["h-12 flex flex-col justify-center w-full rounded-lg pl-12 hover:bg-gray-100 text-[#424242] font-[400]", {
|
|
4817
|
-
"w-[310px] bg-gray-100": n(d)[W] === _.text &&
|
|
4816
|
+
"w-[310px] bg-gray-100": n(d)[W] === _.text && f === n(a)
|
|
4818
4817
|
}]),
|
|
4819
|
-
onClick: (te) => j(W, _, !0,
|
|
4818
|
+
onClick: (te) => j(W, _, !0, f),
|
|
4820
4819
|
key: W
|
|
4821
4820
|
}, [
|
|
4822
4821
|
$(xe, {
|
|
@@ -4838,8 +4837,8 @@ const gr = /* @__PURE__ */ P({
|
|
|
4838
4837
|
s("div", {
|
|
4839
4838
|
class: b(["flex justify-between items-center", { "!justify-end": !T.email && !T.name }])
|
|
4840
4839
|
}, [
|
|
4841
|
-
T.name && T.email ? (r(), l("div",
|
|
4842
|
-
s("p",
|
|
4840
|
+
T.name && T.email ? (r(), l("div", Rr, [
|
|
4841
|
+
s("p", Ur, V(T.name), 1),
|
|
4843
4842
|
s("p", Zr, V(T.email), 1)
|
|
4844
4843
|
])) : x("", !0),
|
|
4845
4844
|
s("button", {
|
|
@@ -4847,7 +4846,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
4847
4846
|
onClick: C[5] || (C[5] = (D) => E("logout", !0)),
|
|
4848
4847
|
class: "p-2 float-right"
|
|
4849
4848
|
}, [
|
|
4850
|
-
$(
|
|
4849
|
+
$(R, {
|
|
4851
4850
|
name: n(oo),
|
|
4852
4851
|
size: "24",
|
|
4853
4852
|
color: "#737373"
|
|
@@ -4863,7 +4862,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
4863
4862
|
(...D) => n(c) && n(c)(...D)),
|
|
4864
4863
|
class: "p-2"
|
|
4865
4864
|
}, [
|
|
4866
|
-
$(
|
|
4865
|
+
$(R, {
|
|
4867
4866
|
name: n(Le),
|
|
4868
4867
|
size: "24",
|
|
4869
4868
|
color: "#737373"
|
|
@@ -4895,7 +4894,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
4895
4894
|
alternarMenuPorClique: i,
|
|
4896
4895
|
expandirMenu: p,
|
|
4897
4896
|
colapsarMenu: v,
|
|
4898
|
-
setarIndiceDropdowns:
|
|
4897
|
+
setarIndiceDropdowns: m,
|
|
4899
4898
|
setarIndiceMenu: c,
|
|
4900
4899
|
limparArrayIndicesDropdown: k,
|
|
4901
4900
|
indiceMenu: h,
|
|
@@ -4906,7 +4905,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
4906
4905
|
clicado: O,
|
|
4907
4906
|
setarBackupMenu: F,
|
|
4908
4907
|
obterTextosMenu: q,
|
|
4909
|
-
alternarDropdown:
|
|
4908
|
+
alternarDropdown: U,
|
|
4910
4909
|
buscarNoMenu: G,
|
|
4911
4910
|
definirOpcoesMenu: M,
|
|
4912
4911
|
travarMenuPorCliqueNoInput: E,
|
|
@@ -4915,9 +4914,9 @@ const gr = /* @__PURE__ */ P({
|
|
|
4915
4914
|
le(() => {
|
|
4916
4915
|
M(Z.items), F(Z.items), O.value = Z.isOpen, o.value = Z.isOpen;
|
|
4917
4916
|
});
|
|
4918
|
-
function C(D,
|
|
4919
|
-
|
|
4920
|
-
const W = j(
|
|
4917
|
+
function C(D, f, B, _) {
|
|
4918
|
+
m(D, f.text, B), c(_);
|
|
4919
|
+
const W = j(f);
|
|
4921
4920
|
if (B) {
|
|
4922
4921
|
T("redirect", W);
|
|
4923
4922
|
return;
|
|
@@ -4926,11 +4925,11 @@ const gr = /* @__PURE__ */ P({
|
|
|
4926
4925
|
}
|
|
4927
4926
|
return Q(Z, () => {
|
|
4928
4927
|
Z.isHome && a();
|
|
4929
|
-
}), (D,
|
|
4928
|
+
}), (D, f) => (r(), l("div", {
|
|
4930
4929
|
class: b(["sm:hidden pt-[25px] relative h-full overflow-auto scrollbar-hide transition-all duration-300 ease-in-out bg-white border-gray-200 rounded-tr-lg rounded-br-lg border-r-[1px]", { "w-[310px]": n(o), "z-0": n(O), "z-10": !n(O) && n(o) }]),
|
|
4931
|
-
onMouseenter:
|
|
4930
|
+
onMouseenter: f[5] || (f[5] = //@ts-ignore
|
|
4932
4931
|
(...B) => n(p) && n(p)(...B)),
|
|
4933
|
-
onMouseleave:
|
|
4932
|
+
onMouseleave: f[6] || (f[6] = //@ts-ignore
|
|
4934
4933
|
(...B) => n(v) && n(v)(...B))
|
|
4935
4934
|
}, [
|
|
4936
4935
|
s("div", {
|
|
@@ -4944,9 +4943,9 @@ const gr = /* @__PURE__ */ P({
|
|
|
4944
4943
|
}, " Menu ", 2),
|
|
4945
4944
|
s("button", {
|
|
4946
4945
|
type: "button",
|
|
4947
|
-
onClick:
|
|
4946
|
+
onClick: f[0] || (f[0] = (B) => n(i)(T))
|
|
4948
4947
|
}, [
|
|
4949
|
-
$(
|
|
4948
|
+
$(R, {
|
|
4950
4949
|
name: n(o) ? n(eo) : n(to),
|
|
4951
4950
|
size: "20",
|
|
4952
4951
|
color: "#737373"
|
|
@@ -4961,11 +4960,11 @@ const gr = /* @__PURE__ */ P({
|
|
|
4961
4960
|
key: 1,
|
|
4962
4961
|
placeholder: "Pesquisar",
|
|
4963
4962
|
items: n(q)(n(y)),
|
|
4964
|
-
"onUpdate:modelValue":
|
|
4965
|
-
onFilterList:
|
|
4966
|
-
onClearFilter:
|
|
4967
|
-
"onInput:focus":
|
|
4968
|
-
}, null, 8, ["items"])) : (r(), Y(
|
|
4963
|
+
"onUpdate:modelValue": f[1] || (f[1] = (B) => n(G)(n(y), String(B))),
|
|
4964
|
+
onFilterList: f[2] || (f[2] = (B) => n(G)(n(y), String(B))),
|
|
4965
|
+
onClearFilter: f[3] || (f[3] = (B) => n(M)(n(y))),
|
|
4966
|
+
"onInput:focus": f[4] || (f[4] = (B) => n(E)(T))
|
|
4967
|
+
}, null, 8, ["items"])) : (r(), Y(R, {
|
|
4969
4968
|
key: 0,
|
|
4970
4969
|
name: n(He),
|
|
4971
4970
|
size: "20",
|
|
@@ -4987,7 +4986,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
4987
4986
|
}]),
|
|
4988
4987
|
onClick: (te) => C(null, B, !1, _)
|
|
4989
4988
|
}, [
|
|
4990
|
-
$(
|
|
4989
|
+
$(R, {
|
|
4991
4990
|
name: B.icon || "",
|
|
4992
4991
|
size: "20",
|
|
4993
4992
|
color: "#737373"
|
|
@@ -5001,7 +5000,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
5001
5000
|
], 10, Qr)) : (r(), l("div", Wr, [
|
|
5002
5001
|
s("div", {
|
|
5003
5002
|
"data-testid": "menu-dropdown",
|
|
5004
|
-
onClick: (te) => n(
|
|
5003
|
+
onClick: (te) => n(U)(_),
|
|
5005
5004
|
class: b(["flex items-center cursor-pointer h-12 rounded-lg w-full", {
|
|
5006
5005
|
"bg-gray-100": n(L).includes(_) || _ === n(h),
|
|
5007
5006
|
"!justify-center": !n(o),
|
|
@@ -5011,7 +5010,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
5011
5010
|
s("div", {
|
|
5012
5011
|
class: b(["flex items-center w-full text-[#292929] font-[600]", { "justify-center": !n(o), "space-x-2": n(o) }])
|
|
5013
5012
|
}, [
|
|
5014
|
-
$(
|
|
5013
|
+
$(R, {
|
|
5015
5014
|
name: B.icon || "",
|
|
5016
5015
|
size: "20",
|
|
5017
5016
|
color: "#737373"
|
|
@@ -5025,7 +5024,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
5025
5024
|
s("span", null, V(B.text), 1)
|
|
5026
5025
|
], 2)
|
|
5027
5026
|
], 2),
|
|
5028
|
-
$(
|
|
5027
|
+
$(R, {
|
|
5029
5028
|
class: b({
|
|
5030
5029
|
[n(d)()]: !n(o),
|
|
5031
5030
|
[n(u)()]: n(o)
|
|
@@ -5089,7 +5088,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
5089
5088
|
s("button", {
|
|
5090
5089
|
class: "active:scale-90 flex items-center",
|
|
5091
5090
|
type: "button",
|
|
5092
|
-
onClick: v[0] || (v[0] = (
|
|
5091
|
+
onClick: v[0] || (v[0] = (m) => a(p.home))
|
|
5093
5092
|
}, [
|
|
5094
5093
|
S(p.$slots, "icon")
|
|
5095
5094
|
]),
|
|
@@ -5099,7 +5098,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
5099
5098
|
s("button", {
|
|
5100
5099
|
type: "button",
|
|
5101
5100
|
class: "flex items-center space-x-2 active:scale-90 text-ce_gray font-medium",
|
|
5102
|
-
onClick: v[1] || (v[1] = (
|
|
5101
|
+
onClick: v[1] || (v[1] = (m) => a(p.items[0].path))
|
|
5103
5102
|
}, [
|
|
5104
5103
|
s("p", null, V(p.items[0].text), 1)
|
|
5105
5104
|
]),
|
|
@@ -5116,19 +5115,19 @@ const gr = /* @__PURE__ */ P({
|
|
|
5116
5115
|
}, [
|
|
5117
5116
|
s("p", null, V(p.items[p.items.length - 1].text), 1)
|
|
5118
5117
|
], 2)
|
|
5119
|
-
], 64)) : (r(!0), l(H, { key: 1 }, N(p.items, (
|
|
5118
|
+
], 64)) : (r(!0), l(H, { key: 1 }, N(p.items, (m, c) => (r(), l("button", {
|
|
5120
5119
|
key: c,
|
|
5121
5120
|
class: "flex items-center space-x-4",
|
|
5122
5121
|
disabled: c === p.items.length - 1,
|
|
5123
5122
|
type: "button",
|
|
5124
|
-
onClick: (k) => a(
|
|
5123
|
+
onClick: (k) => a(m.path)
|
|
5125
5124
|
}, [
|
|
5126
5125
|
s("p", {
|
|
5127
5126
|
class: b([
|
|
5128
5127
|
c === p.items.length - 1 && i(p.variant),
|
|
5129
5128
|
c !== p.items.length - 1 && "active:scale-90 text-ce_gray font-medium"
|
|
5130
5129
|
])
|
|
5131
|
-
}, V(
|
|
5130
|
+
}, V(m.text), 3),
|
|
5132
5131
|
c < p.items.length - 1 ? (r(), l("span", al, V(p.divider), 1)) : x("", !0)
|
|
5133
5132
|
], 8, sl))), 128))
|
|
5134
5133
|
])
|
|
@@ -5143,7 +5142,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
5143
5142
|
}, ul = ["disabled", "onClick"], cl = {
|
|
5144
5143
|
key: 2,
|
|
5145
5144
|
class: "flex rounded-lg border-[1px] border-ce_soft_gray bg-ce_white p-2"
|
|
5146
|
-
}, pl = ["disabled", "onClick"],
|
|
5145
|
+
}, pl = ["disabled", "onClick"], fl = /* @__PURE__ */ P({
|
|
5147
5146
|
__name: "ce-tab",
|
|
5148
5147
|
props: {
|
|
5149
5148
|
tabs: {},
|
|
@@ -5158,56 +5157,56 @@ const gr = /* @__PURE__ */ P({
|
|
|
5158
5157
|
}, i = (p) => o.variant === p;
|
|
5159
5158
|
return (p, v) => (r(), l(H, null, [
|
|
5160
5159
|
i("primary") || i("secondary") ? (r(), l("div", ll, [
|
|
5161
|
-
(r(!0), l(H, null, N(p.tabs, (
|
|
5162
|
-
key:
|
|
5163
|
-
disabled: p.inactivate ||
|
|
5160
|
+
(r(!0), l(H, null, N(p.tabs, (m) => (r(), l("button", {
|
|
5161
|
+
key: m.id,
|
|
5162
|
+
disabled: p.inactivate || m.disabled,
|
|
5164
5163
|
type: "button",
|
|
5165
|
-
onClick: (c) => u(
|
|
5164
|
+
onClick: (c) => u(m.id),
|
|
5166
5165
|
class: b(["px-5 py-2 font-semibold text-ce_stone_gray", {
|
|
5167
|
-
"bg-ce_transparent_green text-ce_green rounded-lg": d.value ==
|
|
5168
|
-
"bg-ce_white text-ce_medium_gray rounded-lg": d.value ==
|
|
5169
|
-
"cursor-not-allowed": p.inactivate ||
|
|
5166
|
+
"bg-ce_transparent_green text-ce_green rounded-lg": d.value == m.id && i("primary"),
|
|
5167
|
+
"bg-ce_white text-ce_medium_gray rounded-lg": d.value == m.id && i("secondary"),
|
|
5168
|
+
"cursor-not-allowed": p.inactivate || m.disabled
|
|
5170
5169
|
}])
|
|
5171
|
-
}, V(
|
|
5170
|
+
}, V(m.label), 11, il))), 128))
|
|
5172
5171
|
])) : x("", !0),
|
|
5173
5172
|
i("line-primary") || i("line-text") ? (r(), l("div", dl, [
|
|
5174
|
-
(r(!0), l(H, null, N(p.tabs, (
|
|
5175
|
-
key:
|
|
5176
|
-
disabled: p.inactivate ||
|
|
5173
|
+
(r(!0), l(H, null, N(p.tabs, (m) => (r(), l("button", {
|
|
5174
|
+
key: m.id,
|
|
5175
|
+
disabled: p.inactivate || m.disabled,
|
|
5177
5176
|
type: "button",
|
|
5178
|
-
onClick: (c) => u(
|
|
5177
|
+
onClick: (c) => u(m.id),
|
|
5179
5178
|
class: b(["px-5 py-2 font-semibold text-ce_stone_gray border-b-[1px] border-ce_soft_gray", {
|
|
5180
|
-
"bg-ce_transparent_green text-ce_green !border-b-2 !border-ce_soft_green": d.value ==
|
|
5181
|
-
" !text-ce_green !border-b-2 !border-ce_soft_green": d.value ==
|
|
5182
|
-
"cursor-not-allowed": p.inactivate ||
|
|
5179
|
+
"bg-ce_transparent_green text-ce_green !border-b-2 !border-ce_soft_green": d.value == m.id && i("line-primary"),
|
|
5180
|
+
" !text-ce_green !border-b-2 !border-ce_soft_green": d.value == m.id && i("line-text"),
|
|
5181
|
+
"cursor-not-allowed": p.inactivate || m.disabled
|
|
5183
5182
|
}])
|
|
5184
|
-
}, V(
|
|
5183
|
+
}, V(m.label), 11, ul))), 128))
|
|
5185
5184
|
])) : x("", !0),
|
|
5186
5185
|
i("soft") ? (r(), l("div", cl, [
|
|
5187
|
-
(r(!0), l(H, null, N(p.tabs, (
|
|
5188
|
-
key:
|
|
5189
|
-
disabled: p.inactivate ||
|
|
5186
|
+
(r(!0), l(H, null, N(p.tabs, (m) => (r(), l("button", {
|
|
5187
|
+
key: m.id,
|
|
5188
|
+
disabled: p.inactivate || m.disabled,
|
|
5190
5189
|
type: "button",
|
|
5191
|
-
onClick: (c) => u(
|
|
5190
|
+
onClick: (c) => u(m.id),
|
|
5192
5191
|
class: b(["px-5 py-2 font-semibold text-ce_stone_gray", {
|
|
5193
|
-
"bg-white text-ce_medium_gray shadow-lg rounded-lg": d.value ==
|
|
5194
|
-
"cursor-not-allowed": p.inactivate ||
|
|
5192
|
+
"bg-white text-ce_medium_gray shadow-lg rounded-lg": d.value == m.id,
|
|
5193
|
+
"cursor-not-allowed": p.inactivate || m.disabled
|
|
5195
5194
|
}])
|
|
5196
|
-
}, V(
|
|
5195
|
+
}, V(m.label), 11, pl))), 128))
|
|
5197
5196
|
])) : x("", !0),
|
|
5198
5197
|
s("div", null, [
|
|
5199
5198
|
S(p.$slots, "default")
|
|
5200
5199
|
])
|
|
5201
5200
|
], 64));
|
|
5202
5201
|
}
|
|
5203
|
-
}),
|
|
5202
|
+
}), ml = { key: 0 }, gl = /* @__PURE__ */ P({
|
|
5204
5203
|
__name: "ce-tab-item",
|
|
5205
5204
|
props: {
|
|
5206
5205
|
modelValue: {},
|
|
5207
5206
|
value: {}
|
|
5208
5207
|
},
|
|
5209
5208
|
setup(e) {
|
|
5210
|
-
return (t, o) => t.value == t.modelValue ? (r(), l("div",
|
|
5209
|
+
return (t, o) => t.value == t.modelValue ? (r(), l("div", ml, [
|
|
5211
5210
|
S(t.$slots, "default")
|
|
5212
5211
|
])) : x("", !0);
|
|
5213
5212
|
}
|
|
@@ -5217,7 +5216,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
5217
5216
|
Jr
|
|
5218
5217
|
), r2 = I(
|
|
5219
5218
|
rl
|
|
5220
|
-
), l2 = I(
|
|
5219
|
+
), l2 = I(fl), i2 = I(
|
|
5221
5220
|
gl
|
|
5222
5221
|
), vl = { class: "w-full h-full" }, hl = ["src", "alt"], bl = {
|
|
5223
5222
|
key: 1,
|
|
@@ -5241,8 +5240,8 @@ const gr = /* @__PURE__ */ P({
|
|
|
5241
5240
|
},
|
|
5242
5241
|
emits: ["click"],
|
|
5243
5242
|
setup(e, { expose: t, emit: o }) {
|
|
5244
|
-
const a = e, d = o, u = ae(), i = A(null), { hasSlot: p } = ne("default", i, u), { hasSlot: v } = ne("status-badge", i, u),
|
|
5245
|
-
() => a.sizeBagde ? a.sizeBagde : Math.round(
|
|
5243
|
+
const a = e, d = o, u = ae(), i = A(null), { hasSlot: p } = ne("default", i, u), { hasSlot: v } = ne("status-badge", i, u), m = z(() => a.size === null || a.size === void 0 ? 48 : typeof a.size == "number" ? a.size : { small: 32, medium: 48, large: 64 }[a.size] || 48), c = z(
|
|
5244
|
+
() => a.sizeBagde ? a.sizeBagde : Math.round(m.value * 0.25)
|
|
5246
5245
|
), k = z(() => {
|
|
5247
5246
|
const g = {
|
|
5248
5247
|
disponivel: "bg-green-500",
|
|
@@ -5268,7 +5267,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
5268
5267
|
"relative inline-block group",
|
|
5269
5268
|
g.disabled ? "opacity-50 select-none pointer-events-none cursor-not-allowed" : "cursor-pointer"
|
|
5270
5269
|
],
|
|
5271
|
-
style: { width:
|
|
5270
|
+
style: { width: m.value + "px", height: m.value + "px" }
|
|
5272
5271
|
}, g.$attrs, { onClick: h }), [
|
|
5273
5272
|
s("div", vl, [
|
|
5274
5273
|
n(p) ? x("", !0) : (r(), l(H, { key: 0 }, [
|
|
@@ -5331,7 +5330,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
5331
5330
|
function v() {
|
|
5332
5331
|
d.value = !1, u("clear");
|
|
5333
5332
|
}
|
|
5334
|
-
function
|
|
5333
|
+
function m() {
|
|
5335
5334
|
o.value = !o.value;
|
|
5336
5335
|
}
|
|
5337
5336
|
function c(k) {
|
|
@@ -5354,11 +5353,11 @@ const gr = /* @__PURE__ */ P({
|
|
|
5354
5353
|
s("div", wl, [
|
|
5355
5354
|
s("button", {
|
|
5356
5355
|
type: "button",
|
|
5357
|
-
onClick:
|
|
5356
|
+
onClick: m,
|
|
5358
5357
|
style: ee({ color: k.color, textDecorationColor: k.color }),
|
|
5359
5358
|
class: "flex items-center justify-between gap-2 underline underline-offset-8 font-medium"
|
|
5360
5359
|
}, [
|
|
5361
|
-
$(
|
|
5360
|
+
$(R, {
|
|
5362
5361
|
name: n(Jt),
|
|
5363
5362
|
color: k.color
|
|
5364
5363
|
}, null, 8, ["name", "color"]),
|
|
@@ -5414,7 +5413,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
5414
5413
|
}, 8, ["disabled"]),
|
|
5415
5414
|
$(De, {
|
|
5416
5415
|
type: "button",
|
|
5417
|
-
onClick:
|
|
5416
|
+
onClick: m,
|
|
5418
5417
|
variant: "secondary-gray"
|
|
5419
5418
|
}, {
|
|
5420
5419
|
default: X(() => h[3] || (h[3] = [
|
|
@@ -5487,7 +5486,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
5487
5486
|
), p = z(
|
|
5488
5487
|
() => ["w-2 h-2 rounded-full flex-shrink-0 mr-2", u[t.color]].join(" ")
|
|
5489
5488
|
);
|
|
5490
|
-
return (v,
|
|
5489
|
+
return (v, m) => (r(), l("span", K(v.$attrs, {
|
|
5491
5490
|
class: [i.value, "border"]
|
|
5492
5491
|
}), [
|
|
5493
5492
|
v.status ? (r(), l("span", {
|
|
@@ -5537,7 +5536,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
5537
5536
|
type: "button",
|
|
5538
5537
|
onClick: o[0] || (o[0] = (a) => t.$emit("close", !1))
|
|
5539
5538
|
}, [
|
|
5540
|
-
$(
|
|
5539
|
+
$(R, {
|
|
5541
5540
|
name: n(Le),
|
|
5542
5541
|
size: "20",
|
|
5543
5542
|
color: t.background == "1" ? "#fff" : "#737373"
|
|
@@ -5574,7 +5573,7 @@ const gr = /* @__PURE__ */ P({
|
|
|
5574
5573
|
onClick: d[0] || (d[0] = (u) => o("close", !1)),
|
|
5575
5574
|
class: "absolute top-2 right-2"
|
|
5576
5575
|
}, [
|
|
5577
|
-
$(
|
|
5576
|
+
$(R, {
|
|
5578
5577
|
name: n(Le),
|
|
5579
5578
|
size: "20",
|
|
5580
5579
|
color: " #737373"
|
|
@@ -5635,7 +5634,7 @@ const Ll = {
|
|
|
5635
5634
|
name: "toast",
|
|
5636
5635
|
tag: "div",
|
|
5637
5636
|
class: "flex flex-col gap-2"
|
|
5638
|
-
}, Fl = ["onMouseenter", "onMouseleave"], _l = { class: "flex items-start justify-center" }, El = ["src"], zl = { class: "flex flex-col justify-start items-start" }, Tl = { class: "text-[#141414] font-semibold text-sm md:text-base" }, Hl = ["innerHTML"], Pl = ["onClick"], Il = { class: "flex justify-center items-start" }, ql = ["onClick"],
|
|
5637
|
+
}, Fl = ["onMouseenter", "onMouseleave"], _l = { class: "flex items-start justify-center" }, El = ["src"], zl = { class: "flex flex-col justify-start items-start" }, Tl = { class: "text-[#141414] font-semibold text-sm md:text-base" }, Hl = ["innerHTML"], Pl = ["onClick"], Il = { class: "flex justify-center items-start" }, ql = ["onClick"], Rl = /* @__PURE__ */ P({
|
|
5639
5638
|
__name: "ce-toast",
|
|
5640
5639
|
props: {
|
|
5641
5640
|
position: { default: "right-top" },
|
|
@@ -5655,7 +5654,7 @@ const Ll = {
|
|
|
5655
5654
|
"right-top": "top-5 right-5 items-end sm:right-0",
|
|
5656
5655
|
"left-bottom": "bottom-5 left-5 items-start sm:left-0",
|
|
5657
5656
|
"right-bottom": "bottom-5 right-5 items-end sm:right-0"
|
|
5658
|
-
})[t.position || "right-top"]),
|
|
5657
|
+
})[t.position || "right-top"]), m = z(() => ({
|
|
5659
5658
|
"left-top": "self-start",
|
|
5660
5659
|
"right-top": "self-end",
|
|
5661
5660
|
"left-bottom": "self-start",
|
|
@@ -5668,7 +5667,7 @@ const Ll = {
|
|
|
5668
5667
|
s("transition-group", Ll, [
|
|
5669
5668
|
(r(!0), l(H, null, N(n(o), (h) => (r(), l("div", {
|
|
5670
5669
|
key: h.id,
|
|
5671
|
-
class: b(["grid grid-cols-[10%_1fr_6%] gap-4 p-4 rounded-lg shadow-lg text-white cursor-pointer sm:w-full w-[25rem] bg-white border",
|
|
5670
|
+
class: b(["grid grid-cols-[10%_1fr_6%] gap-4 p-4 rounded-lg shadow-lg text-white cursor-pointer sm:w-full w-[25rem] bg-white border", m.value]),
|
|
5672
5671
|
onMouseenter: (g) => n(d)(h.id, t.pauseOnHover),
|
|
5673
5672
|
onMouseleave: (g) => n(u)(h.id, h.duration)
|
|
5674
5673
|
}, [
|
|
@@ -5700,7 +5699,7 @@ const Ll = {
|
|
|
5700
5699
|
onClick: (g) => n(a)(h.id),
|
|
5701
5700
|
class: "active:scale-90"
|
|
5702
5701
|
}, [
|
|
5703
|
-
$(
|
|
5702
|
+
$(R, {
|
|
5704
5703
|
name: n(Le),
|
|
5705
5704
|
size: "20",
|
|
5706
5705
|
color: " #737373"
|
|
@@ -5711,7 +5710,7 @@ const Ll = {
|
|
|
5711
5710
|
])
|
|
5712
5711
|
], 2)) : x("", !0);
|
|
5713
5712
|
}
|
|
5714
|
-
}),
|
|
5713
|
+
}), Ul = { class: "relative" }, Zl = /* @__PURE__ */ P({
|
|
5715
5714
|
__name: "ce-tooltip",
|
|
5716
5715
|
props: {
|
|
5717
5716
|
text: {},
|
|
@@ -5732,7 +5731,7 @@ const Ll = {
|
|
|
5732
5731
|
top: "-bottom-3 left-1/2 transform -translate-x-1/2 -translate-y-1/2",
|
|
5733
5732
|
bottom: "top-0 left-1/2 transform -translate-x-1/2 -translate-y-1/2"
|
|
5734
5733
|
})[d];
|
|
5735
|
-
return (d, u) => (r(), l("div",
|
|
5734
|
+
return (d, u) => (r(), l("div", Ul, [
|
|
5736
5735
|
s("button", {
|
|
5737
5736
|
onMouseenter: u[0] || (u[0] = (i) => !d.focus && (t.value = !0)),
|
|
5738
5737
|
onMouseleave: u[1] || (u[1] = (i) => !d.focus && (t.value = !1)),
|
|
@@ -5822,12 +5821,12 @@ const Ql = { class: "absolute left-0 top-0 flex h-full w-full flex-col items-cen
|
|
|
5822
5821
|
])
|
|
5823
5822
|
], 2)) : x("", !0);
|
|
5824
5823
|
}
|
|
5825
|
-
}), { addCeToast: p2, removeCeToast:
|
|
5824
|
+
}), { addCeToast: p2, removeCeToast: f2, toasts: m2 } = St(), { activateCeLoading: g2, disableCeLoading: v2 } = Lt(), h2 = I(
|
|
5826
5825
|
Al
|
|
5827
5826
|
), b2 = I(
|
|
5828
5827
|
Bl
|
|
5829
5828
|
), k2 = I(
|
|
5830
|
-
|
|
5829
|
+
Rl
|
|
5831
5830
|
), w2 = I(
|
|
5832
5831
|
Zl
|
|
5833
5832
|
), y2 = I(
|
|
@@ -5847,7 +5846,7 @@ const Ql = { class: "absolute left-0 top-0 flex h-full w-full flex-col items-cen
|
|
|
5847
5846
|
},
|
|
5848
5847
|
setup(e) {
|
|
5849
5848
|
const t = ae(), o = A(null), { isMobile: a } = Ie(), { hasSlot: d } = ne("media", o, t), { hasSlot: u } = ne("header", o, t), { hasSlot: i } = ne("actions", o, t);
|
|
5850
|
-
function p(
|
|
5849
|
+
function p(m) {
|
|
5851
5850
|
return {
|
|
5852
5851
|
0: "shadow-none",
|
|
5853
5852
|
1: "shadow-sm",
|
|
@@ -5855,9 +5854,9 @@ const Ql = { class: "absolute left-0 top-0 flex h-full w-full flex-col items-cen
|
|
|
5855
5854
|
3: "shadow-md",
|
|
5856
5855
|
4: "shadow-lg",
|
|
5857
5856
|
5: "shadow-xl"
|
|
5858
|
-
}[
|
|
5857
|
+
}[m ?? 1] || "shadow-sm";
|
|
5859
5858
|
}
|
|
5860
|
-
function v(
|
|
5859
|
+
function v(m) {
|
|
5861
5860
|
return {
|
|
5862
5861
|
0: "bg-transparent border-transparent",
|
|
5863
5862
|
1: "bg-white border-neutral-200",
|
|
@@ -5866,18 +5865,18 @@ const Ql = { class: "absolute left-0 top-0 flex h-full w-full flex-col items-cen
|
|
|
5866
5865
|
4: "bg-neutral-200 border-gray-400",
|
|
5867
5866
|
5: "bg-[#60AB56] border-neutral-200",
|
|
5868
5867
|
6: "bg-[#538F4B] border-[#D6D6D6]"
|
|
5869
|
-
}[
|
|
5868
|
+
}[m ?? 1] || "bg-white border-neutral-200";
|
|
5870
5869
|
}
|
|
5871
|
-
return (
|
|
5870
|
+
return (m, c) => (r(), Y(be(m.tag), K({
|
|
5872
5871
|
ref_key: "rootRef",
|
|
5873
5872
|
ref: o
|
|
5874
|
-
},
|
|
5873
|
+
}, m.$attrs, {
|
|
5875
5874
|
class: [
|
|
5876
5875
|
"border",
|
|
5877
|
-
v(
|
|
5878
|
-
|
|
5879
|
-
p(
|
|
5880
|
-
|
|
5876
|
+
v(m.color),
|
|
5877
|
+
m.rounded ? "rounded-xl" : "",
|
|
5878
|
+
p(m.elevation),
|
|
5879
|
+
m.hover ? "hover:shadow-lg transition-shadow" : "",
|
|
5881
5880
|
"overflow-hidden"
|
|
5882
5881
|
]
|
|
5883
5882
|
}), {
|
|
@@ -5885,40 +5884,40 @@ const Ql = { class: "absolute left-0 top-0 flex h-full w-full flex-col items-cen
|
|
|
5885
5884
|
s("div", {
|
|
5886
5885
|
class: b([
|
|
5887
5886
|
"flex",
|
|
5888
|
-
|
|
5889
|
-
|
|
5890
|
-
|
|
5887
|
+
m.responsive && "default-sm:flex-row flex-col",
|
|
5888
|
+
m.mediaOrientation === "horizontal" && "flex-row",
|
|
5889
|
+
m.mediaOrientation === "vertical" && "flex-col"
|
|
5891
5890
|
])
|
|
5892
5891
|
}, [
|
|
5893
5892
|
s("div", {
|
|
5894
5893
|
class: b([
|
|
5895
|
-
n(d) && (
|
|
5896
|
-
n(d) &&
|
|
5897
|
-
n(d) &&
|
|
5894
|
+
n(d) && (m.responsive ? "default-sm:w-1/3 w-full" : "w-1/3"),
|
|
5895
|
+
n(d) && m.mediaOrientation === "horizontal" && "w-1/3",
|
|
5896
|
+
n(d) && m.mediaOrientation === "vertical" && "w-full"
|
|
5898
5897
|
])
|
|
5899
5898
|
}, [
|
|
5900
|
-
S(
|
|
5899
|
+
S(m.$slots, "media", { isMobile: n(a) })
|
|
5901
5900
|
], 2),
|
|
5902
5901
|
s("div", {
|
|
5903
5902
|
class: b([
|
|
5904
5903
|
"flex flex-col",
|
|
5905
|
-
|
|
5906
|
-
|
|
5907
|
-
|
|
5904
|
+
m.responsive ? "default-sm:w-2/3 default-sm:justify-center w-full" : "w-2/3",
|
|
5905
|
+
m.mediaOrientation === "horizontal" && "w-2/3 justify-center",
|
|
5906
|
+
m.mediaOrientation === "vertical" && "w-full"
|
|
5908
5907
|
])
|
|
5909
5908
|
}, [
|
|
5910
5909
|
s("div", {
|
|
5911
5910
|
class: b([n(u) && "px-4 pt-4"])
|
|
5912
5911
|
}, [
|
|
5913
|
-
S(
|
|
5912
|
+
S(m.$slots, "header", { isMobile: n(a) })
|
|
5914
5913
|
], 2),
|
|
5915
5914
|
s("div", Yl, [
|
|
5916
|
-
S(
|
|
5915
|
+
S(m.$slots, "default", { isMobile: n(a) })
|
|
5917
5916
|
]),
|
|
5918
5917
|
s("div", {
|
|
5919
5918
|
class: b([n(i) && "px-4 pb-4 space-x-4"])
|
|
5920
5919
|
}, [
|
|
5921
|
-
S(
|
|
5920
|
+
S(m.$slots, "actions", { isMobile: n(a) })
|
|
5922
5921
|
], 2)
|
|
5923
5922
|
], 2)
|
|
5924
5923
|
], 2)
|
|
@@ -5980,7 +5979,7 @@ const Ql = { class: "absolute left-0 top-0 flex h-full w-full flex-col items-cen
|
|
|
5980
5979
|
t.type != "highlighted" ? (r(), l("hr", ti)) : x("", !0)
|
|
5981
5980
|
], 2));
|
|
5982
5981
|
}
|
|
5983
|
-
}), We = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALOSURBVHgB7VXNblJBFD5nRDTRWHwC6BPYat2ZtHHrohcR7EpuXZsUfYBy2bgtdW0CddXwI+0T1K5t0/oG8ASyaVq43Dl+cy9QIG1pkMTE8CUwM+fOzPfNmXPOEM0wwwz/GDxqKJxYkUedezazXsXnBSKZQ4t5cipEp6Q8J/H0e4OmhCEBlaOEpehOAd0IKEUk+D7YNxDWTuJZJUdTgOp19o9TWZDXDDkZPjAOkpu2N2bhbPUoWaApwD9V9ThpY9P+hgEZc0/EVWhrovM25ddflD7S3wionazFxNMH6MdGXF2HqG1iqZsBpFj4f+cLQ+fMJT7rQISrrU8vK/s0IUJaeytgjBpnXJKrnddLu/bI3L3qz1Qd9Jstj7nl+V6Qi47KZ2rWYT6+16QJoJRQmlmxueQu6leQ+0g8Lzkg/dL2yUVaHeILkWj4fniDJoQiVk+Ggo44f9OC87uuEdHse6HDfNGWjF2wIjSJABA/Hkoxkhtdub6414QHMt0r8H8QE1EPwxmaRACYhwghZn7cog/LpZ3AC4acyIVqhMPGJF4ImQoHx68EGeAnfBp2Z9zClisOTp438aC18SBH6EHYpHL8ujV2+e0WWCx/EGRcXWlRfgoF12BikWPV49TWOAGfX5W325rrHT1gZLLs8pvsleTVFOySQRWLIvKimBtDADRCKtQqkhfOSr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5Gy8Lrf37XlK4xKSNKvNMLoL9U/GPQ9Nc/bmm7LvoowdPk7dN/O/nn9E80BOYe2ojkDCRYION8gp8Bs4/82tMufMfoP31tg8OXN/MDAAAAAElFTkSuQmCC", ni = { class: "content-center" }, si = ["src"], ai = { class: "flex flex-wrap justify-center gap-4 font-semibold sm:justify-start" }, ri = ["onClick"], li = ["src"], ii = ["src"], di = ["src"], ui = { class: "flex flex-wrap gap-4" }, ci = ["href"], pi = ["src"],
|
|
5982
|
+
}), We = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALOSURBVHgB7VXNblJBFD5nRDTRWHwC6BPYat2ZtHHrohcR7EpuXZsUfYBy2bgtdW0CddXwI+0T1K5t0/oG8ASyaVq43Dl+cy9QIG1pkMTE8CUwM+fOzPfNmXPOEM0wwwz/GDxqKJxYkUedezazXsXnBSKZQ4t5cipEp6Q8J/H0e4OmhCEBlaOEpehOAd0IKEUk+D7YNxDWTuJZJUdTgOp19o9TWZDXDDkZPjAOkpu2N2bhbPUoWaApwD9V9ThpY9P+hgEZc0/EVWhrovM25ddflD7S3wionazFxNMH6MdGXF2HqG1iqZsBpFj4f+cLQ+fMJT7rQISrrU8vK/s0IUJaeytgjBpnXJKrnddLu/bI3L3qz1Qd9Jstj7nl+V6Qi47KZ2rWYT6+16QJoJRQmlmxueQu6leQ+0g8Lzkg/dL2yUVaHeILkWj4fniDJoQiVk+Ggo44f9OC87uuEdHse6HDfNGWjF2wIjSJABA/Hkoxkhtdub6414QHMt0r8H8QE1EPwxmaRACYhwghZn7cog/LpZ3AC4acyIVqhMPGJF4ImQoHx68EGeAnfBp2Z9zClisOTp438aC18SBH6EHYpHL8ujV2+e0WWCx/EGRcXWlRfgoF12BikWPV49TWOAGfX5W325rrHT1gZLLs8pvsleTVFOySQRWLIvKimBtDADRCKtQqkhfOS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O5Gy8Lrf37XlK4xKSNKvNMLoL9U/GPQ9Nc/bmm7LvoowdPk7dN/O/nn9E80BOYe2ojkDCRYION8gp8Bs4/82tMufMfoP31tg8OXN/MDAAAAAElFTkSuQmCC", ni = { class: "content-center" }, si = ["src"], ai = { class: "flex flex-wrap justify-center gap-4 font-semibold sm:justify-start" }, ri = ["onClick"], li = ["src"], ii = ["src"], di = ["src"], ui = { class: "flex flex-wrap gap-4" }, ci = ["href"], pi = ["src"], fi = { class: "flex justify-between items-center w-full sm:flex-col sm:gap-8 sm:items-start" }, mi = ["src"], gi = { class: "flex gap-4 sm:flex-col sm:w-full" }, vi = { class: "w-full h-full content-center" }, hi = ["src"], bi = ["src"], ki = /* @__PURE__ */ P({
|
|
5984
5983
|
__name: "ce-footer",
|
|
5985
5984
|
props: {
|
|
5986
5985
|
variant: { default: "1" },
|
|
@@ -6009,7 +6008,7 @@ const Ql = { class: "absolute left-0 top-0 flex h-full w-full flex-col items-cen
|
|
|
6009
6008
|
(r(!0), l(H, null, N(u.items, (p, v) => (r(), l("button", {
|
|
6010
6009
|
key: v,
|
|
6011
6010
|
type: "button",
|
|
6012
|
-
onClick: (
|
|
6011
|
+
onClick: (m) => d(p.path),
|
|
6013
6012
|
class: b(u.background == "green" ? "text-ce_pale_herbal_green" : "text-ce_gray")
|
|
6014
6013
|
}, V(p.text), 11, ri))), 128))
|
|
6015
6014
|
]),
|
|
@@ -6061,7 +6060,7 @@ const Ql = { class: "absolute left-0 top-0 flex h-full w-full flex-col items-cen
|
|
|
6061
6060
|
href: p.link,
|
|
6062
6061
|
target: "_blank"
|
|
6063
6062
|
}, [
|
|
6064
|
-
$(
|
|
6063
|
+
$(R, {
|
|
6065
6064
|
name: p.icon || "",
|
|
6066
6065
|
size: "20",
|
|
6067
6066
|
color: u.background == "green" ? "#fff" : "#737373"
|
|
@@ -6085,12 +6084,12 @@ const Ql = { class: "absolute left-0 top-0 flex h-full w-full flex-col items-cen
|
|
|
6085
6084
|
key: 3,
|
|
6086
6085
|
class: b([u.background == "green" ? "bg-ce_forest_green" : "bg-white", "w-full h-full p-4 flex items-center flex-col sm:gap-8 sm:py-8"])
|
|
6087
6086
|
}, [
|
|
6088
|
-
s("div",
|
|
6087
|
+
s("div", fi, [
|
|
6089
6088
|
s("img", {
|
|
6090
6089
|
src: u.background == "green" ? n(Je) : n(pe),
|
|
6091
6090
|
alt: "Comerc Energia",
|
|
6092
6091
|
class: "h-8"
|
|
6093
|
-
}, null, 8,
|
|
6092
|
+
}, null, 8, mi),
|
|
6094
6093
|
s("div", gi, [
|
|
6095
6094
|
$(Pe, {
|
|
6096
6095
|
placeholder: "Digite seu email",
|
|
@@ -6193,7 +6192,7 @@ const Ql = { class: "absolute left-0 top-0 flex h-full w-full flex-col items-cen
|
|
|
6193
6192
|
href: a.link,
|
|
6194
6193
|
target: "_blank"
|
|
6195
6194
|
}, [
|
|
6196
|
-
$(
|
|
6195
|
+
$(R, {
|
|
6197
6196
|
name: a.icon || "",
|
|
6198
6197
|
size: "20",
|
|
6199
6198
|
color: "#fff",
|
|
@@ -6231,8 +6230,8 @@ export {
|
|
|
6231
6230
|
r2 as CeBreadcrumbs,
|
|
6232
6231
|
Ii as CeButton,
|
|
6233
6232
|
qi as CeButtonGroup,
|
|
6234
|
-
|
|
6235
|
-
|
|
6233
|
+
Ri as CeButtonPagination,
|
|
6234
|
+
Ui as CeButtonWrapper,
|
|
6236
6235
|
x2 as CeCard,
|
|
6237
6236
|
M2 as CeCardHeader,
|
|
6238
6237
|
A2 as CeCardText,
|
|
@@ -6272,6 +6271,6 @@ export {
|
|
|
6272
6271
|
p2 as addCeToast,
|
|
6273
6272
|
v2 as disableCeLoading,
|
|
6274
6273
|
C2 as isMobile,
|
|
6275
|
-
|
|
6276
|
-
|
|
6274
|
+
f2 as removeCeToast,
|
|
6275
|
+
m2 as toasts
|
|
6277
6276
|
};
|