@comercti/web-components-hmg 0.0.31 → 0.0.33
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.es.js
CHANGED
|
@@ -27,7 +27,7 @@ const Ft = (e) => {
|
|
|
27
27
|
function X(e) {
|
|
28
28
|
return !!customElements.get(e);
|
|
29
29
|
}
|
|
30
|
-
const Ht = ["innerHTML"],
|
|
30
|
+
const Ht = ["innerHTML"], V = /* @__PURE__ */ U({
|
|
31
31
|
__name: "ce-svg-icon",
|
|
32
32
|
props: {
|
|
33
33
|
name: {},
|
|
@@ -155,7 +155,7 @@ const Ht = ["innerHTML"], Q = /* @__PURE__ */ U({
|
|
|
155
155
|
}
|
|
156
156
|
return (f, v) => (i(), d("div", $t, [
|
|
157
157
|
a("div", eo, [
|
|
158
|
-
N(
|
|
158
|
+
N(V, {
|
|
159
159
|
name: r(He),
|
|
160
160
|
size: "20",
|
|
161
161
|
color: "#737373"
|
|
@@ -177,7 +177,7 @@ const Ht = ["innerHTML"], Q = /* @__PURE__ */ U({
|
|
|
177
177
|
onClick: p,
|
|
178
178
|
class: "absolute right-5 text-[#737373] text-2xl top-1/2 -translate-y-1/2"
|
|
179
179
|
}, [
|
|
180
|
-
N(
|
|
180
|
+
N(V, {
|
|
181
181
|
name: r(ke),
|
|
182
182
|
size: "20",
|
|
183
183
|
color: "#737373"
|
|
@@ -605,15 +605,15 @@ const xt = /* @__PURE__ */ U({
|
|
|
605
605
|
const o = e, n = t, s = E(/* @__PURE__ */ new Date());
|
|
606
606
|
o.displayDate || s.value.setDate(1);
|
|
607
607
|
const c = S(() => o.displayDate ? new Date(o.displayDate) : new Date(s.value)), u = S(() => {
|
|
608
|
-
const H = { month: "long", year: "numeric" },
|
|
609
|
-
return
|
|
608
|
+
const H = { month: "long", year: "numeric" }, Q = c.value.toLocaleDateString("pt-BR", H);
|
|
609
|
+
return Q.charAt(0).toUpperCase() + Q.slice(1);
|
|
610
610
|
}), l = S(() => {
|
|
611
|
-
const H = c.value.getFullYear(),
|
|
611
|
+
const H = c.value.getFullYear(), Q = c.value.getMonth(), Y = new Date(H, Q, 1).getDay(), I = new Date(H, Q, 1 - (Y + 6) % 7), O = [];
|
|
612
612
|
for (let B = 0; B < 42; B++) {
|
|
613
613
|
const F = new Date(I.getFullYear(), I.getMonth(), I.getDate() + B);
|
|
614
614
|
O.push({
|
|
615
615
|
date: F,
|
|
616
|
-
currentMonth: F.getMonth() ===
|
|
616
|
+
currentMonth: F.getMonth() === Q
|
|
617
617
|
});
|
|
618
618
|
}
|
|
619
619
|
return O;
|
|
@@ -631,14 +631,14 @@ const xt = /* @__PURE__ */ U({
|
|
|
631
631
|
);
|
|
632
632
|
}, p = (H) => o.rangeStart || o.rangeEnd ? o.rangeStart && Ie(H, o.rangeStart) || o.rangeEnd && Ie(H, o.rangeEnd) : o.internalDate ? Ie(H, o.internalDate) : !1, f = (H) => {
|
|
633
633
|
if (o.rangeStart && o.rangeEnd) {
|
|
634
|
-
const
|
|
635
|
-
return Y > Math.min(
|
|
634
|
+
const Q = o.rangeStart.getTime(), P = o.rangeEnd.getTime(), Y = H.getTime();
|
|
635
|
+
return Y > Math.min(Q, P) && Y < Math.max(Q, P);
|
|
636
636
|
}
|
|
637
637
|
return !1;
|
|
638
638
|
}, v = (H) => {
|
|
639
639
|
if (o.rangeStart && !o.rangeEnd && o.hoveredDate) {
|
|
640
|
-
const
|
|
641
|
-
return Y > Math.min(
|
|
640
|
+
const Q = o.rangeStart.getTime(), P = o.hoveredDate.getTime(), Y = H.getTime();
|
|
641
|
+
return Y > Math.min(Q, P) && Y < Math.max(Q, P);
|
|
642
642
|
}
|
|
643
643
|
return !1;
|
|
644
644
|
}, g = (H) => {
|
|
@@ -648,12 +648,12 @@ const xt = /* @__PURE__ */ U({
|
|
|
648
648
|
}, C = () => {
|
|
649
649
|
n("hoverDate", null);
|
|
650
650
|
};
|
|
651
|
-
return (H,
|
|
651
|
+
return (H, Q) => (i(), d("div", oe({ class: "min-w-[300px] text-sm" }, H.$attrs), [
|
|
652
652
|
a("div", yo, [
|
|
653
653
|
a("button", {
|
|
654
654
|
onClick: m,
|
|
655
655
|
class: "p-2 rounded-md hover:bg-gray-100"
|
|
656
|
-
},
|
|
656
|
+
}, Q[0] || (Q[0] = [
|
|
657
657
|
a("svg", {
|
|
658
658
|
class: "w-4 h-4",
|
|
659
659
|
fill: "none",
|
|
@@ -672,7 +672,7 @@ const xt = /* @__PURE__ */ U({
|
|
|
672
672
|
a("button", {
|
|
673
673
|
onClick: b,
|
|
674
674
|
class: "p-2 rounded-md hover:bg-gray-100"
|
|
675
|
-
},
|
|
675
|
+
}, Q[1] || (Q[1] = [
|
|
676
676
|
a("svg", {
|
|
677
677
|
class: "w-4 h-4",
|
|
678
678
|
fill: "none",
|
|
@@ -819,12 +819,12 @@ const xt = /* @__PURE__ */ U({
|
|
|
819
819
|
class: "select-none absolute left-3 top-1/2 -translate-y-1/2",
|
|
820
820
|
onClick: f[1] || (f[1] = (v) => m())
|
|
821
821
|
}, [
|
|
822
|
-
c["prepend-inner"] ? G(p.$slots, "prepend-inner", { key: 0 }) : p.type === "email" ? (i(), _(
|
|
822
|
+
c["prepend-inner"] ? G(p.$slots, "prepend-inner", { key: 0 }) : p.type === "email" ? (i(), _(V, {
|
|
823
823
|
key: 1,
|
|
824
824
|
name: r(Ot),
|
|
825
825
|
size: "20",
|
|
826
826
|
color: "#737373"
|
|
827
|
-
}, null, 8, ["name"])) : p.type === "date" ? (i(), _(
|
|
827
|
+
}, null, 8, ["name"])) : p.type === "date" ? (i(), _(V, {
|
|
828
828
|
key: 2,
|
|
829
829
|
name: r(Lt),
|
|
830
830
|
size: "20",
|
|
@@ -855,7 +855,7 @@ const xt = /* @__PURE__ */ U({
|
|
|
855
855
|
class: "select-none absolute right-3 top-1/2 -translate-y-1/2",
|
|
856
856
|
onClick: f[2] || (f[2] = (v) => m())
|
|
857
857
|
}, [
|
|
858
|
-
c["append-inner"] ? G(p.$slots, "append-inner", { key: 0 }) : p.noAlertIcon ? y("", !0) : (i(), _(
|
|
858
|
+
c["append-inner"] ? G(p.$slots, "append-inner", { key: 0 }) : p.noAlertIcon ? y("", !0) : (i(), _(V, {
|
|
859
859
|
key: 1,
|
|
860
860
|
name: p.invalidFeedback || p.invalid ? r(Pt) : r(St),
|
|
861
861
|
size: "20",
|
|
@@ -947,7 +947,7 @@ const xt = /* @__PURE__ */ U({
|
|
|
947
947
|
)), await Et()), c.value = !c.value);
|
|
948
948
|
}, H = () => {
|
|
949
949
|
c.value = !1;
|
|
950
|
-
},
|
|
950
|
+
}, Q = (h) => {
|
|
951
951
|
v.value && !v.value.contains(h.target) && H();
|
|
952
952
|
}, P = (h) => {
|
|
953
953
|
u.value = h, n("update:modelValue", h), H();
|
|
@@ -993,9 +993,9 @@ const xt = /* @__PURE__ */ U({
|
|
|
993
993
|
l.value && !m.value && (b.value = h);
|
|
994
994
|
};
|
|
995
995
|
return g.value ? (l.value = o.start ? typeof o.start == "string" ? le(o.start) : new Date(o.start) : null, m.value = o.end ? typeof o.end == "string" ? le(o.end) : new Date(o.end) : null) : u.value = o.modelValue ? typeof o.modelValue == "string" ? le(o.modelValue) : new Date(o.modelValue) : null, se(() => {
|
|
996
|
-
document.addEventListener("click",
|
|
996
|
+
document.addEventListener("click", Q);
|
|
997
997
|
}), ht(() => {
|
|
998
|
-
document.removeEventListener("click",
|
|
998
|
+
document.removeEventListener("click", Q);
|
|
999
999
|
}), (h, L) => (i(), d("div", oe({
|
|
1000
1000
|
ref_key: "rootRef",
|
|
1001
1001
|
ref: v,
|
|
@@ -1346,7 +1346,7 @@ const xt = /* @__PURE__ */ U({
|
|
|
1346
1346
|
(z) => z.subMenu ? [z.text, ...z.subMenu.map((h) => h.text)] : [z.text]
|
|
1347
1347
|
);
|
|
1348
1348
|
}
|
|
1349
|
-
function
|
|
1349
|
+
function Q(D, z) {
|
|
1350
1350
|
let h = [];
|
|
1351
1351
|
h = D.filter((L) => L.text.toLowerCase() === z.toLowerCase());
|
|
1352
1352
|
for (const L of D) {
|
|
@@ -1438,7 +1438,7 @@ const xt = /* @__PURE__ */ U({
|
|
|
1438
1438
|
colapsarMenu: p,
|
|
1439
1439
|
voltarParaInicio: O,
|
|
1440
1440
|
alternarDropdown: Y,
|
|
1441
|
-
buscarNoMenu:
|
|
1441
|
+
buscarNoMenu: Q,
|
|
1442
1442
|
definirOpcoesMenu: P,
|
|
1443
1443
|
travarMenuPorCliqueNoInput: v,
|
|
1444
1444
|
validaUrl: A
|
|
@@ -1487,7 +1487,7 @@ const xt = /* @__PURE__ */ U({
|
|
|
1487
1487
|
a("p", {
|
|
1488
1488
|
style: ee(r(u)(f.variant, f.color))
|
|
1489
1489
|
}, j(f.text), 5),
|
|
1490
|
-
N(
|
|
1490
|
+
N(V, {
|
|
1491
1491
|
name: r(o) ? r(Fe) : r(Ge),
|
|
1492
1492
|
color: "#737373",
|
|
1493
1493
|
size: "20"
|
|
@@ -1503,7 +1503,7 @@ const xt = /* @__PURE__ */ U({
|
|
|
1503
1503
|
}, [
|
|
1504
1504
|
a("div", cr, [
|
|
1505
1505
|
g.icon ? (i(), d("div", ur, [
|
|
1506
|
-
N(
|
|
1506
|
+
N(V, {
|
|
1507
1507
|
name: g.icon || "",
|
|
1508
1508
|
color: "#737373",
|
|
1509
1509
|
size: "20"
|
|
@@ -1601,7 +1601,7 @@ const xt = /* @__PURE__ */ U({
|
|
|
1601
1601
|
}
|
|
1602
1602
|
}, H = S(
|
|
1603
1603
|
() => e.accept.map((B) => B.split("/")[1].toUpperCase()).join(", ")
|
|
1604
|
-
),
|
|
1604
|
+
), Q = (B, F) => {
|
|
1605
1605
|
var J;
|
|
1606
1606
|
if (B.preventDefault(), P(), (J = B.dataTransfer) != null && J.files) {
|
|
1607
1607
|
const x = Array.from(B.dataTransfer.files);
|
|
@@ -1644,7 +1644,7 @@ const xt = /* @__PURE__ */ U({
|
|
|
1644
1644
|
},
|
|
1645
1645
|
validaArquivo: p,
|
|
1646
1646
|
recebeArquivo: C,
|
|
1647
|
-
manipulaArquivoViaArrastaSolta:
|
|
1647
|
+
manipulaArquivoViaArrastaSolta: Q,
|
|
1648
1648
|
manipulaArrastar: (B) => {
|
|
1649
1649
|
var J;
|
|
1650
1650
|
B.preventDefault(), P();
|
|
@@ -1699,7 +1699,7 @@ const xt = /* @__PURE__ */ U({
|
|
|
1699
1699
|
removeArquivos: k,
|
|
1700
1700
|
restauraEstado: C,
|
|
1701
1701
|
manipulaArrastar: H,
|
|
1702
|
-
obterCorPorExtensao:
|
|
1702
|
+
obterCorPorExtensao: Q
|
|
1703
1703
|
} = mr(o);
|
|
1704
1704
|
return (P, Y) => (i(), d("div", fr, [
|
|
1705
1705
|
a("div", {
|
|
@@ -1720,7 +1720,7 @@ const xt = /* @__PURE__ */ U({
|
|
|
1720
1720
|
onClick: Y[0] || (Y[0] = (I) => r(f)(n)),
|
|
1721
1721
|
class: "text-white px-4 py-2 rounded-md flex space-x-2 bg-[#C0002B] absolute top-2 right-2"
|
|
1722
1722
|
}, [
|
|
1723
|
-
N(
|
|
1723
|
+
N(V, {
|
|
1724
1724
|
name: r(Kt),
|
|
1725
1725
|
size: "20",
|
|
1726
1726
|
color: "#fff"
|
|
@@ -1728,7 +1728,7 @@ const xt = /* @__PURE__ */ U({
|
|
|
1728
1728
|
a("p", null, j(r(b).length), 1)
|
|
1729
1729
|
])) : y("", !0),
|
|
1730
1730
|
a("div", hr, [
|
|
1731
|
-
N(
|
|
1731
|
+
N(V, {
|
|
1732
1732
|
name: r(_t),
|
|
1733
1733
|
size: "20",
|
|
1734
1734
|
color: "#737373"
|
|
@@ -1779,7 +1779,7 @@ const xt = /* @__PURE__ */ U({
|
|
|
1779
1779
|
onClick: (F) => r(k)(O, n),
|
|
1780
1780
|
class: "text-gray-500 hover:text-red-500"
|
|
1781
1781
|
}, [
|
|
1782
|
-
N(
|
|
1782
|
+
N(V, {
|
|
1783
1783
|
name: r(qt),
|
|
1784
1784
|
size: "20",
|
|
1785
1785
|
color: "#737373"
|
|
@@ -1788,13 +1788,13 @@ const xt = /* @__PURE__ */ U({
|
|
|
1788
1788
|
]),
|
|
1789
1789
|
a("div", kr, [
|
|
1790
1790
|
a("div", Cr, [
|
|
1791
|
-
N(
|
|
1791
|
+
N(V, {
|
|
1792
1792
|
name: r(Qt),
|
|
1793
1793
|
size: "45",
|
|
1794
1794
|
color: "#737373"
|
|
1795
1795
|
}, null, 8, ["name"]),
|
|
1796
1796
|
a("div", {
|
|
1797
|
-
class: w(["text-white font-bold text-[0.7rem] px-2 content-center rounded absolute top-5 h-5 -left-2", r(
|
|
1797
|
+
class: w(["text-white font-bold text-[0.7rem] px-2 content-center rounded absolute top-5 h-5 -left-2", r(Q)(I.file.name)])
|
|
1798
1798
|
}, [
|
|
1799
1799
|
a("p", null, j(((B = I.file.name.split(".").pop()) == null ? void 0 : B.toUpperCase()) || "ARQ"), 1)
|
|
1800
1800
|
], 2)
|
|
@@ -2017,7 +2017,7 @@ const Ur = ["for", "innerHTML"], Tr = { class: "relative" }, Zr = ["id", "value"
|
|
|
2017
2017
|
},
|
|
2018
2018
|
emits: ["update:modelValue", "openDropdown", "closeDropdown", "inputSearch", "change"],
|
|
2019
2019
|
setup(e, { expose: t, emit: o }) {
|
|
2020
|
-
const n = e, s = o, c = E(null), u = E(null), l = E(null), m = E(null), { selectAbertoRef: b, aberturaSelect: p } = Or(l, m), { termoBuscaRef: f, optsFiltradas: v } = Sr(n, s), { valorInternoRef: g, verValueSelecionado: k, valorInterno: C } = Rr(n), H = S(() => n.id || Ce("select")),
|
|
2020
|
+
const n = e, s = o, c = E(null), u = E(null), l = E(null), m = E(null), { selectAbertoRef: b, aberturaSelect: p } = Or(l, m), { termoBuscaRef: f, optsFiltradas: v } = Sr(n, s), { valorInternoRef: g, verValueSelecionado: k, valorInterno: C } = Rr(n), H = S(() => n.id || Ce("select")), Q = S(() => n.multiple && Array.isArray(g.value) ? g.value : []);
|
|
2021
2021
|
K(
|
|
2022
2022
|
() => n.modelValue,
|
|
2023
2023
|
(x) => {
|
|
@@ -2137,12 +2137,12 @@ const Ur = ["for", "innerHTML"], Tr = { class: "relative" }, Zr = ["id", "value"
|
|
|
2137
2137
|
}, [
|
|
2138
2138
|
G(x.$slots, "prepend-inner"),
|
|
2139
2139
|
a("div", Qr, [
|
|
2140
|
-
x.multiple &&
|
|
2140
|
+
x.multiple && Q.value.length ? (i(), d(R, { key: 0 }, [
|
|
2141
2141
|
x.$slots.selection ? G(x.$slots, "selection", {
|
|
2142
2142
|
key: 0,
|
|
2143
2143
|
value: r(k)
|
|
2144
2144
|
}) : (i(), d("div", Vr, [
|
|
2145
|
-
(i(!0), d(R, null, W(
|
|
2145
|
+
(i(!0), d(R, null, W(Q.value, (A, D) => (i(), d("div", {
|
|
2146
2146
|
key: A + D,
|
|
2147
2147
|
class: "bg-white border border-gray-300 text-black rounded-xl px-2 py-1 inline-flex items-center text-xs"
|
|
2148
2148
|
}, [
|
|
@@ -2515,14 +2515,14 @@ const Ca = /* @__PURE__ */ va(xa, [["render", ka]]), Ma = { class: "flex" }, Aa
|
|
|
2515
2515
|
disabled: s.value <= 1,
|
|
2516
2516
|
onClick: l[0] || (l[0] = (m) => c(s.value - 1))
|
|
2517
2517
|
}, [
|
|
2518
|
-
N(
|
|
2518
|
+
N(V, {
|
|
2519
2519
|
name: r(bt),
|
|
2520
2520
|
size: "18",
|
|
2521
2521
|
color: "#000"
|
|
2522
2522
|
}, null, 8, ["name"])
|
|
2523
2523
|
], 8, Aa),
|
|
2524
2524
|
a("div", ja, [
|
|
2525
|
-
N(
|
|
2525
|
+
N(V, {
|
|
2526
2526
|
name: r(Jt),
|
|
2527
2527
|
size: "18",
|
|
2528
2528
|
color: "#000"
|
|
@@ -2533,7 +2533,7 @@ const Ca = /* @__PURE__ */ va(xa, [["render", ka]]), Ma = { class: "flex" }, Aa
|
|
|
2533
2533
|
disabled: s.value >= u.totalPage,
|
|
2534
2534
|
onClick: l[1] || (l[1] = (m) => c(s.value + 1))
|
|
2535
2535
|
}, [
|
|
2536
|
-
N(
|
|
2536
|
+
N(V, {
|
|
2537
2537
|
name: r(vt),
|
|
2538
2538
|
size: "18",
|
|
2539
2539
|
color: "#000"
|
|
@@ -3873,7 +3873,7 @@ const nn = ["onClick"], sn = {
|
|
|
3873
3873
|
opcoesMenu: k,
|
|
3874
3874
|
backupMenu: C,
|
|
3875
3875
|
arrayIndicesDropdown: H,
|
|
3876
|
-
clicado:
|
|
3876
|
+
clicado: Q,
|
|
3877
3877
|
setarBackupMenu: P,
|
|
3878
3878
|
obterTextosMenu: Y,
|
|
3879
3879
|
alternarDropdown: I,
|
|
@@ -3896,7 +3896,7 @@ const nn = ["onClick"], sn = {
|
|
|
3896
3896
|
}), se(() => {
|
|
3897
3897
|
B(x.items), P(x.items);
|
|
3898
3898
|
}), (D, z) => (i(), d("div", {
|
|
3899
|
-
class: w(["sm:hidden pt-[25px] relative h-full overflow-auto transition-all duration-300 ease-in-out bg-white border border-gray-200 rounded-lg",
|
|
3899
|
+
class: w(["sm:hidden pt-[25px] relative h-full overflow-auto transition-all duration-300 ease-in-out bg-white border border-gray-200 rounded-lg", { "w-[310px] mr-2.5": r(o), "z-0": r(Q), "z-10": !r(Q) && r(o) }]),
|
|
3900
3900
|
onMouseenter: z[5] || (z[5] = //@ts-ignore
|
|
3901
3901
|
(...h) => r(l) && r(l)(...h)),
|
|
3902
3902
|
onMouseleave: z[6] || (z[6] = //@ts-ignore
|
|
@@ -3914,7 +3914,7 @@ const nn = ["onClick"], sn = {
|
|
|
3914
3914
|
a("button", {
|
|
3915
3915
|
onClick: z[0] || (z[0] = (h) => r(u)(M))
|
|
3916
3916
|
}, [
|
|
3917
|
-
N(
|
|
3917
|
+
N(V, {
|
|
3918
3918
|
name: r(o) ? r(Rt) : r(Ut),
|
|
3919
3919
|
size: "20",
|
|
3920
3920
|
color: "#737373"
|
|
@@ -3933,7 +3933,7 @@ const nn = ["onClick"], sn = {
|
|
|
3933
3933
|
onFilterList: z[2] || (z[2] = (h) => r(O)(r(C), String(h))),
|
|
3934
3934
|
onClearFilter: z[3] || (z[3] = (h) => r(B)(r(C))),
|
|
3935
3935
|
"onInput:focus": z[4] || (z[4] = (h) => r(F)(M))
|
|
3936
|
-
}, null, 8, ["items"])) : (i(), _(
|
|
3936
|
+
}, null, 8, ["items"])) : (i(), _(V, {
|
|
3937
3937
|
key: 0,
|
|
3938
3938
|
name: r(He),
|
|
3939
3939
|
size: "20",
|
|
@@ -3955,7 +3955,7 @@ const nn = ["onClick"], sn = {
|
|
|
3955
3955
|
}]),
|
|
3956
3956
|
onClick: ($) => A(null, h, !1, L)
|
|
3957
3957
|
}, [
|
|
3958
|
-
N(
|
|
3958
|
+
N(V, {
|
|
3959
3959
|
name: h.icon || "",
|
|
3960
3960
|
size: "20",
|
|
3961
3961
|
color: "#737373"
|
|
@@ -3979,7 +3979,7 @@ const nn = ["onClick"], sn = {
|
|
|
3979
3979
|
a("div", {
|
|
3980
3980
|
class: w(["flex items-center w-full text-[#292929] font-[600]", { "justify-center": !r(o), "space-x-2": r(o) }])
|
|
3981
3981
|
}, [
|
|
3982
|
-
N(
|
|
3982
|
+
N(V, {
|
|
3983
3983
|
name: h.icon || "",
|
|
3984
3984
|
size: "20",
|
|
3985
3985
|
color: "#737373"
|
|
@@ -3993,7 +3993,7 @@ const nn = ["onClick"], sn = {
|
|
|
3993
3993
|
a("span", null, j(h.text), 1)
|
|
3994
3994
|
], 2)
|
|
3995
3995
|
], 2),
|
|
3996
|
-
N(
|
|
3996
|
+
N(V, {
|
|
3997
3997
|
class: w({
|
|
3998
3998
|
[r(s)()]: !r(o),
|
|
3999
3999
|
[r(c)()]: r(o)
|
|
@@ -4043,7 +4043,7 @@ const nn = ["onClick"], sn = {
|
|
|
4043
4043
|
onBlur: u[1] || (u[1] = (l) => r(n) && r(o)())
|
|
4044
4044
|
}, [
|
|
4045
4045
|
u[2] || (u[2] = a("p", null, "Soluções para você", -1)),
|
|
4046
|
-
N(
|
|
4046
|
+
N(V, {
|
|
4047
4047
|
name: r(n) ? r(Fe) : r(Ge),
|
|
4048
4048
|
size: "20",
|
|
4049
4049
|
color: "#737373"
|
|
@@ -4117,7 +4117,7 @@ const nn = ["onClick"], sn = {
|
|
|
4117
4117
|
setarBackupMenu: k,
|
|
4118
4118
|
obterTextosMenu: C,
|
|
4119
4119
|
alternarDropdown: H,
|
|
4120
|
-
buscarNoMenu:
|
|
4120
|
+
buscarNoMenu: Q,
|
|
4121
4121
|
definirOpcoesMenu: P,
|
|
4122
4122
|
atualizaOpcoesMenu: Y,
|
|
4123
4123
|
defineRetorno: I,
|
|
@@ -4167,7 +4167,7 @@ const nn = ["onClick"], sn = {
|
|
|
4167
4167
|
(...D) => r(p) && r(p)(...D)),
|
|
4168
4168
|
class: "p-2 hidden sm:block"
|
|
4169
4169
|
}, [
|
|
4170
|
-
N(
|
|
4170
|
+
N(V, {
|
|
4171
4171
|
name: r(Zt),
|
|
4172
4172
|
size: "24",
|
|
4173
4173
|
color: "#000"
|
|
@@ -4198,10 +4198,10 @@ const nn = ["onClick"], sn = {
|
|
|
4198
4198
|
key: 1,
|
|
4199
4199
|
placeholder: "Pesquisar",
|
|
4200
4200
|
items: r(C)(r(u)),
|
|
4201
|
-
"onUpdate:modelValue": A[2] || (A[2] = (D) => r(
|
|
4202
|
-
onFilterList: A[3] || (A[3] = (D) => r(
|
|
4201
|
+
"onUpdate:modelValue": A[2] || (A[2] = (D) => r(Q)(r(u), String(D))),
|
|
4202
|
+
onFilterList: A[3] || (A[3] = (D) => r(Q)(r(u), String(D))),
|
|
4203
4203
|
onClearFilter: A[4] || (A[4] = (D) => r(P)(r(u)))
|
|
4204
|
-
}, null, 8, ["items"])) : (i(), _(
|
|
4204
|
+
}, null, 8, ["items"])) : (i(), _(V, {
|
|
4205
4205
|
key: 0,
|
|
4206
4206
|
name: r(He),
|
|
4207
4207
|
size: "20",
|
|
@@ -4223,7 +4223,7 @@ const nn = ["onClick"], sn = {
|
|
|
4223
4223
|
}]),
|
|
4224
4224
|
onClick: (L) => J(null, D, !1, z)
|
|
4225
4225
|
}, [
|
|
4226
|
-
N(
|
|
4226
|
+
N(V, {
|
|
4227
4227
|
name: D.icon || "",
|
|
4228
4228
|
size: "20",
|
|
4229
4229
|
color: "#737373"
|
|
@@ -4247,7 +4247,7 @@ const nn = ["onClick"], sn = {
|
|
|
4247
4247
|
a("div", {
|
|
4248
4248
|
class: w(["flex items-center w-full text-[#292929] font-[600]", { "justify-center": !r(o), "space-x-2": r(o) }])
|
|
4249
4249
|
}, [
|
|
4250
|
-
N(
|
|
4250
|
+
N(V, {
|
|
4251
4251
|
name: D.icon || "",
|
|
4252
4252
|
size: "20",
|
|
4253
4253
|
color: "#737373"
|
|
@@ -4261,7 +4261,7 @@ const nn = ["onClick"], sn = {
|
|
|
4261
4261
|
a("span", null, j(D.text), 1)
|
|
4262
4262
|
], 2)
|
|
4263
4263
|
], 2),
|
|
4264
|
-
N(
|
|
4264
|
+
N(V, {
|
|
4265
4265
|
name: r(l).includes(z) ? r(Fe) : r(Ge),
|
|
4266
4266
|
size: "24",
|
|
4267
4267
|
color: "#737373",
|
|
@@ -4309,7 +4309,7 @@ const nn = ["onClick"], sn = {
|
|
|
4309
4309
|
onClick: A[5] || (A[5] = (D) => F("logout", !0)),
|
|
4310
4310
|
class: "p-2 float-right"
|
|
4311
4311
|
}, [
|
|
4312
|
-
N(
|
|
4312
|
+
N(V, {
|
|
4313
4313
|
name: r(Tt),
|
|
4314
4314
|
size: "24",
|
|
4315
4315
|
color: "#737373"
|
|
@@ -4324,7 +4324,7 @@ const nn = ["onClick"], sn = {
|
|
|
4324
4324
|
(...D) => r(p) && r(p)(...D)),
|
|
4325
4325
|
class: "p-2"
|
|
4326
4326
|
}, [
|
|
4327
|
-
N(
|
|
4327
|
+
N(V, {
|
|
4328
4328
|
name: r(ke),
|
|
4329
4329
|
size: "24",
|
|
4330
4330
|
color: "#737373"
|
|
@@ -4737,7 +4737,7 @@ const ds = {
|
|
|
4737
4737
|
href: l.link,
|
|
4738
4738
|
target: "_blank"
|
|
4739
4739
|
}, [
|
|
4740
|
-
N(
|
|
4740
|
+
N(V, {
|
|
4741
4741
|
name: l.icon || "",
|
|
4742
4742
|
size: "20",
|
|
4743
4743
|
color: c.background == "green" ? "#fff" : "#737373"
|
|
@@ -4866,7 +4866,7 @@ const ds = {
|
|
|
4866
4866
|
href: n.link,
|
|
4867
4867
|
target: "_blank"
|
|
4868
4868
|
}, [
|
|
4869
|
-
N(
|
|
4869
|
+
N(V, {
|
|
4870
4870
|
name: n.icon || "",
|
|
4871
4871
|
size: "20",
|
|
4872
4872
|
color: "#fff",
|
|
@@ -4929,7 +4929,7 @@ const ul = { class: "flex justify-center items-center sm:absolute sm:top-2 sm:ri
|
|
|
4929
4929
|
a("button", {
|
|
4930
4930
|
onClick: o[0] || (o[0] = (n) => t.$emit("close", !1))
|
|
4931
4931
|
}, [
|
|
4932
|
-
N(
|
|
4932
|
+
N(V, {
|
|
4933
4933
|
name: r(ke),
|
|
4934
4934
|
size: "20",
|
|
4935
4935
|
color: t.background == "1" ? "#fff" : "#737373"
|
|
@@ -4965,7 +4965,7 @@ const ul = { class: "flex justify-center items-center sm:absolute sm:top-2 sm:ri
|
|
|
4965
4965
|
onClick: s[0] || (s[0] = (c) => o("close", !1)),
|
|
4966
4966
|
class: "absolute top-2 right-2"
|
|
4967
4967
|
}, [
|
|
4968
|
-
N(
|
|
4968
|
+
N(V, {
|
|
4969
4969
|
name: r(ke),
|
|
4970
4970
|
size: "20",
|
|
4971
4971
|
color: " #737373"
|
|
@@ -5086,7 +5086,7 @@ const vl = {
|
|
|
5086
5086
|
onClick: (g) => r(n)(v.id),
|
|
5087
5087
|
class: "active:scale-90"
|
|
5088
5088
|
}, [
|
|
5089
|
-
N(
|
|
5089
|
+
N(V, {
|
|
5090
5090
|
name: r(ke),
|
|
5091
5091
|
size: "20",
|
|
5092
5092
|
color: " #737373"
|
|
@@ -5279,7 +5279,7 @@ const Tl = (e) => {
|
|
|
5279
5279
|
disabled: r(s) === 1
|
|
5280
5280
|
}, [
|
|
5281
5281
|
a("div", Vl, [
|
|
5282
|
-
N(
|
|
5282
|
+
N(V, {
|
|
5283
5283
|
name: r(bt),
|
|
5284
5284
|
size: "20",
|
|
5285
5285
|
color: "#000"
|
|
@@ -5293,7 +5293,7 @@ const Tl = (e) => {
|
|
|
5293
5293
|
onClick: k[1] || (k[1] = (C) => r(v)(n)),
|
|
5294
5294
|
disabled: r(s) < 5
|
|
5295
5295
|
}, [
|
|
5296
|
-
N(
|
|
5296
|
+
N(V, {
|
|
5297
5297
|
name: r(Nt),
|
|
5298
5298
|
size: "15",
|
|
5299
5299
|
color: "#000"
|
|
@@ -5306,7 +5306,7 @@ const Tl = (e) => {
|
|
|
5306
5306
|
r(s) === C ? "bg-ce_white" : "",
|
|
5307
5307
|
r(u) > 6 ? "border-r-0" : "border-r-[1px]"
|
|
5308
5308
|
], "px-3 py-[0.45rem] border-l-[1px] w-10 text-ce_dark_gray sm:hidden"]),
|
|
5309
|
-
onClick: (
|
|
5309
|
+
onClick: (Q) => r(m)(C, n)
|
|
5310
5310
|
}, [
|
|
5311
5311
|
a("p", ql, j(C), 1)
|
|
5312
5312
|
], 10, Wl))), 128)),
|
|
@@ -5318,7 +5318,7 @@ const Tl = (e) => {
|
|
|
5318
5318
|
onClick: k[2] || (k[2] = (C) => r(f)(n)),
|
|
5319
5319
|
disabled: r(l) + 5 >= r(u)
|
|
5320
5320
|
}, [
|
|
5321
|
-
N(
|
|
5321
|
+
N(V, {
|
|
5322
5322
|
name: r(It),
|
|
5323
5323
|
size: "15",
|
|
5324
5324
|
color: "#000"
|
|
@@ -5331,7 +5331,7 @@ const Tl = (e) => {
|
|
|
5331
5331
|
}, [
|
|
5332
5332
|
a("div", ei, [
|
|
5333
5333
|
k[5] || (k[5] = a("p", { class: "sm:hidden" }, "Próximo", -1)),
|
|
5334
|
-
N(
|
|
5334
|
+
N(V, {
|
|
5335
5335
|
name: r(vt),
|
|
5336
5336
|
size: "20",
|
|
5337
5337
|
color: "#000"
|
|
@@ -5481,7 +5481,7 @@ const Tl = (e) => {
|
|
|
5481
5481
|
a("div", {
|
|
5482
5482
|
class: w(["border-[1.5px] w-[2rem] h-[2rem] rounded-full grid place-items-center", s(m.status)])
|
|
5483
5483
|
}, [
|
|
5484
|
-
m.status === "done" ? (i(), _(
|
|
5484
|
+
m.status === "done" ? (i(), _(V, {
|
|
5485
5485
|
key: 0,
|
|
5486
5486
|
name: r(Wt),
|
|
5487
5487
|
size: "15",
|
|
@@ -5637,7 +5637,7 @@ const xi = {
|
|
|
5637
5637
|
},
|
|
5638
5638
|
{ immediate: !0 }
|
|
5639
5639
|
);
|
|
5640
|
-
const g = t, k = ae(), C = E(null), { hasSlot: H } = ye("groupButton", C, k), { hasSlot:
|
|
5640
|
+
const g = t, k = ae(), C = E(null), { hasSlot: H } = ye("groupButton", C, k), { hasSlot: Q } = ye("title", C, k), { hasSlot: P } = ye("pagination", C, k);
|
|
5641
5641
|
return (Y, I) => (i(), d("div", {
|
|
5642
5642
|
class: "overflow-x-auto bg-white shadow-md rounded-lg border-[1px]",
|
|
5643
5643
|
ref_key: "rootRef",
|
|
@@ -5646,8 +5646,8 @@ const xi = {
|
|
|
5646
5646
|
a("div", {
|
|
5647
5647
|
class: w([
|
|
5648
5648
|
"w-full flex items-center sm:border-b-[1px] sm:flex-col sm:items-start sm:space-y-2",
|
|
5649
|
-
r(
|
|
5650
|
-
r(H) || r(
|
|
5649
|
+
r(Q) ? "justify-between" : "justify-end",
|
|
5650
|
+
r(H) || r(Q) || Y.search ? "p-5" : "p-0"
|
|
5651
5651
|
])
|
|
5652
5652
|
}, [
|
|
5653
5653
|
G(Y.$slots, "title"),
|
|
@@ -5666,7 +5666,7 @@ const xi = {
|
|
|
5666
5666
|
onChange: I[1] || (I[1] = (O) => r(b)(O, g))
|
|
5667
5667
|
}, {
|
|
5668
5668
|
"prepend-inner": te(() => [
|
|
5669
|
-
N(
|
|
5669
|
+
N(V, {
|
|
5670
5670
|
name: r(He),
|
|
5671
5671
|
size: "20",
|
|
5672
5672
|
color: "#737373"
|
|
@@ -5775,7 +5775,7 @@ customElements.define("ce-pagination", Li);
|
|
|
5775
5775
|
customElements.define("ce-progress-indicator", Ni);
|
|
5776
5776
|
customElements.define("ce-progress-steps", Ii);
|
|
5777
5777
|
customElements.define("ce-data-table", Oi);
|
|
5778
|
-
const Si = Z(T(
|
|
5778
|
+
const Si = Z(T(V));
|
|
5779
5779
|
customElements.define("ce-svg-icon", Si);
|
|
5780
5780
|
const Ri = { class: "w-full h-full" }, Ui = ["src", "alt"], Ti = {
|
|
5781
5781
|
key: 1,
|