@comercti/react-components-hmg 0.25.4 → 0.25.5
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 +221 -222
- package/comerc-style-guide.umd.js +1 -1
- package/package.json +1 -1
package/comerc-style-guide.es.js
CHANGED
|
@@ -2636,13 +2636,13 @@ const _a = /* @__PURE__ */ Y({
|
|
|
2636
2636
|
]))
|
|
2637
2637
|
], 64));
|
|
2638
2638
|
}
|
|
2639
|
-
}),
|
|
2639
|
+
}), Vu = G(Ko), Eu = G(
|
|
2640
2640
|
ul
|
|
2641
|
-
),
|
|
2641
|
+
), ju = G(
|
|
2642
2642
|
yl
|
|
2643
|
-
),
|
|
2643
|
+
), Lu = G(
|
|
2644
2644
|
Ll
|
|
2645
|
-
),
|
|
2645
|
+
), Fu = G(
|
|
2646
2646
|
Rl
|
|
2647
2647
|
), Il = (e) => {
|
|
2648
2648
|
const t = L(""), a = L(!1), n = L(""), o = L([]), l = L([]);
|
|
@@ -5568,39 +5568,39 @@ const Gi = { class: "flex flex-row items-center gap-2 mb-1" }, Ji = ["for", "inn
|
|
|
5568
5568
|
])) : e.reserveSpaceFeedback ? (d(), f("span", Jd, "")) : A("", !0)
|
|
5569
5569
|
], 2));
|
|
5570
5570
|
}
|
|
5571
|
-
}), _d = /* @__PURE__ */ pt(Kd, [["__scopeId", "data-v-fc49e507"]]),
|
|
5571
|
+
}), _d = /* @__PURE__ */ pt(Kd, [["__scopeId", "data-v-fc49e507"]]), zu = G(
|
|
5572
5572
|
Nd
|
|
5573
|
-
),
|
|
5573
|
+
), Tu = G(
|
|
5574
5574
|
_d
|
|
5575
|
-
),
|
|
5575
|
+
), Hu = G(
|
|
5576
5576
|
Zt
|
|
5577
|
-
),
|
|
5577
|
+
), Pu = G(
|
|
5578
5578
|
et
|
|
5579
|
-
),
|
|
5579
|
+
), Ou = G(
|
|
5580
5580
|
Xl
|
|
5581
|
-
),
|
|
5581
|
+
), Ru = G(
|
|
5582
5582
|
Kl
|
|
5583
|
-
),
|
|
5583
|
+
), Iu = G(
|
|
5584
5584
|
as
|
|
5585
|
-
),
|
|
5585
|
+
), Nu = G(
|
|
5586
5586
|
Ge
|
|
5587
|
-
),
|
|
5587
|
+
), qu = G(
|
|
5588
5588
|
gs
|
|
5589
|
-
),
|
|
5589
|
+
), Uu = G(
|
|
5590
5590
|
Ts
|
|
5591
|
-
),
|
|
5591
|
+
), Zu = G(
|
|
5592
5592
|
tn
|
|
5593
|
-
),
|
|
5593
|
+
), Wu = G(
|
|
5594
5594
|
Fi
|
|
5595
|
-
),
|
|
5595
|
+
), Xu = G(
|
|
5596
5596
|
bt
|
|
5597
|
-
),
|
|
5597
|
+
), Qu = G(
|
|
5598
5598
|
Wi
|
|
5599
|
-
),
|
|
5599
|
+
), Yu = G(
|
|
5600
5600
|
hd
|
|
5601
|
-
),
|
|
5601
|
+
), Gu = G(
|
|
5602
5602
|
Ad
|
|
5603
|
-
),
|
|
5603
|
+
), Ju = G(
|
|
5604
5604
|
$d
|
|
5605
5605
|
);
|
|
5606
5606
|
function e0(e) {
|
|
@@ -6867,9 +6867,9 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
6867
6867
|
_: 3
|
|
6868
6868
|
}, 16, ["class"]));
|
|
6869
6869
|
}
|
|
6870
|
-
}),
|
|
6870
|
+
}), Ku = G(s0), _u = G(i0), ec = G(
|
|
6871
6871
|
d0
|
|
6872
|
-
),
|
|
6872
|
+
), tc = G(
|
|
6873
6873
|
Q
|
|
6874
6874
|
), u0 = { class: "flex w-full flex-wrap justify-between md:justify-normal" }, c0 = { class: "flex flex-col p-2" }, f0 = { class: "text-sm font-semibold text-[#45D32D]" }, m0 = { class: "ml-4 flex flex-col space-y-2" }, g0 = ["src"], v0 = ["href"], h0 = /* @__PURE__ */ Y({
|
|
6875
6875
|
__name: "SolucoesParaVoce",
|
|
@@ -7448,16 +7448,16 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7448
7448
|
}), 128))
|
|
7449
7449
|
], 34));
|
|
7450
7450
|
}
|
|
7451
|
-
}), I0 = { class: "flex w-full max-w-[30rem] items-center gap-4" }, N0 = { class: "text-ce_light_gray text-lg" }, q0 = { class: "flex flex-wrap items-center gap-4" }, U0 = { class: "text-ce_light_gray text-lg" },
|
|
7451
|
+
}), I0 = { class: "flex w-full max-w-[30rem] items-center gap-4" }, N0 = { class: "text-ce_light_gray text-lg" }, q0 = { class: "flex flex-wrap items-center gap-4" }, U0 = { class: "text-sm" }, Z0 = { class: "text-ce_light_gray text-lg" }, W0 = { class: "text-ce_light_gray text-lg" }, X0 = { class: "text-sm" }, Q0 = {
|
|
7452
7452
|
key: 1,
|
|
7453
7453
|
class: "flex items-center gap-2"
|
|
7454
|
-
},
|
|
7454
|
+
}, Y0 = ["onClick"], G0 = {
|
|
7455
7455
|
key: 0,
|
|
7456
7456
|
class: "text-ce_light_gray text-lg"
|
|
7457
|
-
},
|
|
7457
|
+
}, J0 = {
|
|
7458
7458
|
key: 0,
|
|
7459
7459
|
class: "border border-ce_gray rounded-full"
|
|
7460
|
-
},
|
|
7460
|
+
}, K0 = /* @__PURE__ */ Y({
|
|
7461
7461
|
__name: "ce-breadcrumbs",
|
|
7462
7462
|
props: {
|
|
7463
7463
|
home: { default: "/home" },
|
|
@@ -7481,8 +7481,8 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7481
7481
|
function c(s) {
|
|
7482
7482
|
return {
|
|
7483
7483
|
text: "text-ce_green font-semibold px-2 py-1 rounded-xl",
|
|
7484
|
-
primary: "flex items-center space-x-2
|
|
7485
|
-
secondary: "flex items-center space-x-2
|
|
7484
|
+
primary: "flex items-center space-x-2 text-ce_green font-semibold bg-[#C2DAB3] px-2 py-1 rounded",
|
|
7485
|
+
secondary: "flex items-center space-x-2 text-ce_medium_gray font-semibold bg-ce_white px-2 py-1 rounded"
|
|
7486
7486
|
}[s];
|
|
7487
7487
|
}
|
|
7488
7488
|
return (s, u) => (d(), f("div", I0, [
|
|
@@ -7507,42 +7507,41 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7507
7507
|
type: "button",
|
|
7508
7508
|
onClick: u[1] || (u[1] = (m) => n(e.items[0].path))
|
|
7509
7509
|
}, [
|
|
7510
|
-
i("p",
|
|
7510
|
+
i("p", U0, P(e.items[0].text), 1)
|
|
7511
7511
|
], 2),
|
|
7512
|
-
i("span",
|
|
7512
|
+
i("span", Z0, P(e.divider), 1),
|
|
7513
7513
|
i("button", {
|
|
7514
7514
|
type: "button",
|
|
7515
7515
|
onClick: l,
|
|
7516
7516
|
class: "text-ce_gray font-medium text-sm"
|
|
7517
7517
|
}, " ... "),
|
|
7518
|
-
i("span",
|
|
7518
|
+
i("span", W0, P(e.divider), 1),
|
|
7519
7519
|
i("button", {
|
|
7520
7520
|
type: "button",
|
|
7521
7521
|
class: x(c(e.variant))
|
|
7522
7522
|
}, [
|
|
7523
|
-
i("p",
|
|
7523
|
+
i("p", X0, P(e.items[e.items.length - 1].text), 1)
|
|
7524
7524
|
], 2)
|
|
7525
|
-
], 64)) : (d(), f("div",
|
|
7525
|
+
], 64)) : (d(), f("div", Q0, [
|
|
7526
7526
|
(d(!0), f(X, null, J(e.items, (m, g) => (d(), f("button", {
|
|
7527
7527
|
key: g,
|
|
7528
7528
|
class: "flex items-center space-x-4",
|
|
7529
|
-
disabled: g === e.items.length - 1,
|
|
7530
7529
|
type: "button",
|
|
7531
7530
|
onClick: (h) => n(m.path)
|
|
7532
7531
|
}, [
|
|
7533
7532
|
i("p", {
|
|
7534
|
-
class: x([
|
|
7533
|
+
class: x(["text-sm active:scale-90", [
|
|
7535
7534
|
{
|
|
7536
7535
|
"hover:bg-[#C2DAB3] hover:text-ce_green": e.variant == "primary",
|
|
7537
7536
|
"hover:bg-ce_white hover:text-ce_medium_gray": e.variant == "secondary"
|
|
7538
7537
|
},
|
|
7539
7538
|
g === e.items.length - 1 && c(e.variant),
|
|
7540
|
-
g !== e.items.length - 1 && "
|
|
7541
|
-
])
|
|
7539
|
+
g !== e.items.length - 1 && " text-ce_stone_gray font-medium p-1 rounded-md"
|
|
7540
|
+
]])
|
|
7542
7541
|
}, P(m.text), 3),
|
|
7543
|
-
g < e.items.length - 1 ? (d(), f("span",
|
|
7544
|
-
], 8,
|
|
7545
|
-
!o.value && e.items.length > 2 ? (d(), f("button",
|
|
7542
|
+
g < e.items.length - 1 ? (d(), f("span", G0, P(e.divider), 1)) : A("", !0)
|
|
7543
|
+
], 8, Y0))), 128)),
|
|
7544
|
+
!o.value && e.items.length > 2 ? (d(), f("button", J0, [
|
|
7546
7545
|
o.value ? A("", !0) : (d(), _(Q, {
|
|
7547
7546
|
key: 0,
|
|
7548
7547
|
name: r(Wn),
|
|
@@ -7555,16 +7554,16 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7555
7554
|
])
|
|
7556
7555
|
]));
|
|
7557
7556
|
}
|
|
7558
|
-
}),
|
|
7557
|
+
}), _0 = {
|
|
7559
7558
|
key: 0,
|
|
7560
7559
|
class: "flex justify-start items-center p-3"
|
|
7561
|
-
},
|
|
7560
|
+
}, e2 = ["disabled", "onClick"], t2 = {
|
|
7562
7561
|
key: 1,
|
|
7563
7562
|
class: "flex justify-start items-center p-3"
|
|
7564
|
-
},
|
|
7563
|
+
}, a2 = ["disabled", "onClick"], n2 = {
|
|
7565
7564
|
key: 2,
|
|
7566
7565
|
class: "flex rounded-lg border-[1px] border-ce_soft_gray bg-ce_white p-2"
|
|
7567
|
-
},
|
|
7566
|
+
}, r2 = ["disabled", "onClick"], o2 = /* @__PURE__ */ Y({
|
|
7568
7567
|
__name: "ce-tab",
|
|
7569
7568
|
props: {
|
|
7570
7569
|
tabs: {},
|
|
@@ -7578,7 +7577,7 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7578
7577
|
o.value = s, n("updateValue", s);
|
|
7579
7578
|
}, c = (s) => a.variant === s;
|
|
7580
7579
|
return (s, u) => (d(), f(X, null, [
|
|
7581
|
-
c("primary") || c("secondary") ? (d(), f("div",
|
|
7580
|
+
c("primary") || c("secondary") ? (d(), f("div", _0, [
|
|
7582
7581
|
(d(!0), f(X, null, J(e.tabs, (m) => (d(), f("button", {
|
|
7583
7582
|
key: m.id,
|
|
7584
7583
|
disabled: e.inactivate || m.disabled,
|
|
@@ -7589,9 +7588,9 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7589
7588
|
"bg-ce_white text-ce_medium_gray rounded-lg": o.value == m.id && c("secondary"),
|
|
7590
7589
|
"cursor-not-allowed": e.inactivate || m.disabled
|
|
7591
7590
|
}])
|
|
7592
|
-
}, P(m.label), 11,
|
|
7591
|
+
}, P(m.label), 11, e2))), 128))
|
|
7593
7592
|
])) : A("", !0),
|
|
7594
|
-
c("line-primary") || c("line-text") ? (d(), f("div",
|
|
7593
|
+
c("line-primary") || c("line-text") ? (d(), f("div", t2, [
|
|
7595
7594
|
(d(!0), f(X, null, J(e.tabs, (m) => (d(), f("button", {
|
|
7596
7595
|
key: m.id,
|
|
7597
7596
|
disabled: e.inactivate || m.disabled,
|
|
@@ -7602,9 +7601,9 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7602
7601
|
" !text-ce_green !border-b-2 !border-ce_soft_green": o.value == m.id && c("line-text"),
|
|
7603
7602
|
"cursor-not-allowed": e.inactivate || m.disabled
|
|
7604
7603
|
}])
|
|
7605
|
-
}, P(m.label), 11,
|
|
7604
|
+
}, P(m.label), 11, a2))), 128))
|
|
7606
7605
|
])) : A("", !0),
|
|
7607
|
-
c("soft") ? (d(), f("div",
|
|
7606
|
+
c("soft") ? (d(), f("div", n2, [
|
|
7608
7607
|
(d(!0), f(X, null, J(e.tabs, (m) => (d(), f("button", {
|
|
7609
7608
|
key: m.id,
|
|
7610
7609
|
disabled: e.inactivate || m.disabled,
|
|
@@ -7614,39 +7613,39 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7614
7613
|
"bg-white text-ce_medium_gray shadow-lg rounded-lg": o.value == m.id,
|
|
7615
7614
|
"cursor-not-allowed": e.inactivate || m.disabled
|
|
7616
7615
|
}])
|
|
7617
|
-
}, P(m.label), 11,
|
|
7616
|
+
}, P(m.label), 11, r2))), 128))
|
|
7618
7617
|
])) : A("", !0),
|
|
7619
7618
|
i("div", null, [
|
|
7620
7619
|
I(s.$slots, "default")
|
|
7621
7620
|
])
|
|
7622
7621
|
], 64));
|
|
7623
7622
|
}
|
|
7624
|
-
}),
|
|
7623
|
+
}), l2 = { key: 0 }, s2 = /* @__PURE__ */ Y({
|
|
7625
7624
|
__name: "ce-tab-item",
|
|
7626
7625
|
props: {
|
|
7627
7626
|
modelValue: {},
|
|
7628
7627
|
value: {}
|
|
7629
7628
|
},
|
|
7630
7629
|
setup(e) {
|
|
7631
|
-
return (t, a) => e.value == e.modelValue ? (d(), f("div",
|
|
7630
|
+
return (t, a) => e.value == e.modelValue ? (d(), f("div", l2, [
|
|
7632
7631
|
I(t.$slots, "default")
|
|
7633
7632
|
])) : A("", !0);
|
|
7634
7633
|
}
|
|
7635
|
-
}),
|
|
7634
|
+
}), ac = G(
|
|
7636
7635
|
F0
|
|
7637
|
-
),
|
|
7636
|
+
), nc = G(
|
|
7638
7637
|
R0
|
|
7639
|
-
),
|
|
7640
|
-
|
|
7641
|
-
),
|
|
7642
|
-
|
|
7643
|
-
),
|
|
7638
|
+
), rc = G(
|
|
7639
|
+
K0
|
|
7640
|
+
), oc = G(o2), lc = G(
|
|
7641
|
+
s2
|
|
7642
|
+
), i2 = { class: "w-full" }, d2 = ["src", "alt"], u2 = {
|
|
7644
7643
|
key: 1,
|
|
7645
7644
|
class: "rounded-full border border-gray-500 border-opacity-25 shadow-sm group-active:ring-4 group-active:ring-gray-400 group-active:ring-opacity-25 transition bg-neutral-100 p-2",
|
|
7646
7645
|
viewBox: "0 0 32 32",
|
|
7647
7646
|
fill: "none",
|
|
7648
7647
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7649
|
-
},
|
|
7648
|
+
}, c2 = /* @__PURE__ */ Y({
|
|
7650
7649
|
name: "CeAvatar",
|
|
7651
7650
|
inheritAttrs: !1,
|
|
7652
7651
|
__name: "ce-avatar",
|
|
@@ -7691,14 +7690,14 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7691
7690
|
],
|
|
7692
7691
|
style: { width: m.value + "px", height: m.value + "px" }
|
|
7693
7692
|
}, v.$attrs, { onClick: b }), [
|
|
7694
|
-
i("div",
|
|
7693
|
+
i("div", i2, [
|
|
7695
7694
|
r(s) ? A("", !0) : (d(), f(X, { key: 0 }, [
|
|
7696
7695
|
e.src ? (d(), f("img", {
|
|
7697
7696
|
key: 0,
|
|
7698
7697
|
src: e.src,
|
|
7699
7698
|
alt: e.alt,
|
|
7700
7699
|
class: "rounded-full border border-gray-500 border-opacity-25 shadow-sm group-active:ring-4 group-active:ring-gray-400 group-active:ring-opacity-25 transition object-cover"
|
|
7701
|
-
}, null, 8,
|
|
7700
|
+
}, null, 8, d2)) : (d(), f("svg", u2, [...k[0] || (k[0] = [
|
|
7702
7701
|
i("path", {
|
|
7703
7702
|
d: "M26.6666 28C26.6666 26.1392 26.6666 25.2089 26.4369 24.4518C25.9199 22.7473 24.586 21.4134 22.8814 20.8963C22.1244 20.6667 21.194 20.6667 19.3332 20.6667H12.6666C10.8058 20.6667 9.87546 20.6667 9.1184 20.8963C7.41386 21.4134 6.07997 22.7473 5.5629 24.4518C5.33325 25.2089 5.33325 26.1392 5.33325 28M21.9999 10C21.9999 13.3137 19.3136 16 15.9999 16C12.6862 16 9.99992 13.3137 9.99992 10C9.99992 6.68629 12.6862 4 15.9999 4C19.3136 4 21.9999 6.68629 21.9999 10Z",
|
|
7704
7703
|
stroke: "#737373",
|
|
@@ -7729,7 +7728,7 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7729
7728
|
], 4)
|
|
7730
7729
|
], 16));
|
|
7731
7730
|
}
|
|
7732
|
-
}),
|
|
7731
|
+
}), f2 = { class: "flex items-center gap-5" }, m2 = { class: "font-semibold mb-2 dark:text-ce_light_gray" }, g2 = /* @__PURE__ */ Y({
|
|
7733
7732
|
__name: "ce-filter-group",
|
|
7734
7733
|
props: {
|
|
7735
7734
|
variant: { default: "dropdown" },
|
|
@@ -7769,7 +7768,7 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7769
7768
|
ref_key: "menuRef",
|
|
7770
7769
|
ref: o
|
|
7771
7770
|
}, [
|
|
7772
|
-
i("div",
|
|
7771
|
+
i("div", f2, [
|
|
7773
7772
|
i("button", {
|
|
7774
7773
|
type: "button",
|
|
7775
7774
|
onClick: g,
|
|
@@ -7800,7 +7799,7 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7800
7799
|
"w-full": e.variant === "collapse"
|
|
7801
7800
|
}, "mt-2 rounded-lg border-[1px] border-solid border-slate-200 bg-white dark:bg-ce_black px-4 py-4 shadow-md flex flex-col gap-2"])
|
|
7802
7801
|
}, [
|
|
7803
|
-
i("p",
|
|
7802
|
+
i("p", m2, P(e.title), 1),
|
|
7804
7803
|
I(b.$slots, "content"),
|
|
7805
7804
|
i("div", {
|
|
7806
7805
|
class: x(["flex w-full gap-2 mt-5", e.variant === "collapse" ? "flex-row-reverse sm:flex-col" : "flex-col"])
|
|
@@ -7842,13 +7841,13 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7842
7841
|
})
|
|
7843
7842
|
], 512));
|
|
7844
7843
|
}
|
|
7845
|
-
}),
|
|
7846
|
-
|
|
7847
|
-
),
|
|
7848
|
-
|
|
7849
|
-
),
|
|
7844
|
+
}), sc = G(
|
|
7845
|
+
c2
|
|
7846
|
+
), ic = G(
|
|
7847
|
+
g2
|
|
7848
|
+
), dc = G(
|
|
7850
7849
|
an
|
|
7851
|
-
),
|
|
7850
|
+
), v2 = { class: "flex justify-center items-center sm:absolute sm:top-2 sm:right-2" }, h2 = /* @__PURE__ */ Y({
|
|
7852
7851
|
__name: "ce-banners",
|
|
7853
7852
|
props: {
|
|
7854
7853
|
position: { default: "top" },
|
|
@@ -7877,7 +7876,7 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7877
7876
|
I(t.$slots, "icon")
|
|
7878
7877
|
], 2)) : A("", !0),
|
|
7879
7878
|
I(t.$slots, "content"),
|
|
7880
|
-
i("div",
|
|
7879
|
+
i("div", v2, [
|
|
7881
7880
|
i("button", {
|
|
7882
7881
|
type: "button",
|
|
7883
7882
|
onClick: a[0] || (a[0] = (n) => t.$emit("close", !1))
|
|
@@ -7892,7 +7891,7 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7892
7891
|
], 2)
|
|
7893
7892
|
], 2)) : A("", !0);
|
|
7894
7893
|
}
|
|
7895
|
-
}),
|
|
7894
|
+
}), p2 = /* @__PURE__ */ Y({
|
|
7896
7895
|
__name: "ce-modal",
|
|
7897
7896
|
props: {
|
|
7898
7897
|
isOpen: { type: Boolean, default: !1 },
|
|
@@ -7935,10 +7934,10 @@ const ze = /* @__PURE__ */ new Map();
|
|
|
7935
7934
|
function Qt(e) {
|
|
7936
7935
|
vt.value = vt.value.filter((t) => t.id !== e), ze.delete(e);
|
|
7937
7936
|
}
|
|
7938
|
-
function
|
|
7937
|
+
function b2(e) {
|
|
7939
7938
|
Xt.value = e;
|
|
7940
7939
|
}
|
|
7941
|
-
function
|
|
7940
|
+
function k2(e) {
|
|
7942
7941
|
return {
|
|
7943
7942
|
success: Js,
|
|
7944
7943
|
error: Ys,
|
|
@@ -7946,17 +7945,17 @@ function p2(e) {
|
|
|
7946
7945
|
info: Ks
|
|
7947
7946
|
}[e];
|
|
7948
7947
|
}
|
|
7949
|
-
function
|
|
7948
|
+
function y2(e, t, a, n = 3e3, o = null) {
|
|
7950
7949
|
const l = nn++;
|
|
7951
7950
|
if (vt.value.push({ title: e, message: t, type: a, duration: n, id: l, data: o }), !Xt.value) {
|
|
7952
7951
|
const c = setTimeout(() => Qt(l), n);
|
|
7953
7952
|
ze.set(l, c);
|
|
7954
7953
|
}
|
|
7955
7954
|
}
|
|
7956
|
-
function
|
|
7955
|
+
function x2(e, t) {
|
|
7957
7956
|
ze.has(e) && t && clearTimeout(ze.get(e));
|
|
7958
7957
|
}
|
|
7959
|
-
function
|
|
7958
|
+
function w2(e, t) {
|
|
7960
7959
|
if (ze.has(e)) {
|
|
7961
7960
|
const a = setTimeout(() => Qt(e), t);
|
|
7962
7961
|
ze.set(e, a);
|
|
@@ -7969,18 +7968,18 @@ function rn() {
|
|
|
7969
7968
|
pausarToast: Xt,
|
|
7970
7969
|
timeouts: ze,
|
|
7971
7970
|
removeCeToast: Qt,
|
|
7972
|
-
defineIcones:
|
|
7973
|
-
pausarTimeout:
|
|
7974
|
-
restaurarTimout:
|
|
7975
|
-
addCeToast:
|
|
7976
|
-
setarPausaToast:
|
|
7971
|
+
defineIcones: k2,
|
|
7972
|
+
pausarTimeout: x2,
|
|
7973
|
+
restaurarTimout: w2,
|
|
7974
|
+
addCeToast: y2,
|
|
7975
|
+
setarPausaToast: b2
|
|
7977
7976
|
};
|
|
7978
7977
|
}
|
|
7979
|
-
const
|
|
7978
|
+
const C2 = {
|
|
7980
7979
|
name: "toast",
|
|
7981
7980
|
tag: "div",
|
|
7982
7981
|
class: "flex flex-col gap-2"
|
|
7983
|
-
},
|
|
7982
|
+
}, M2 = ["onMouseenter", "onMouseleave"], A2 = { class: "flex items-start justify-center" }, B2 = ["src"], D2 = { class: "flex flex-col justify-start items-start" }, S2 = { class: "text-ce_black dark:text-ce_light_gray font-semibold text-sm md:text-base" }, $2 = ["innerHTML"], V2 = ["onClick"], E2 = { class: "flex justify-center items-start" }, j2 = ["onClick"], L2 = /* @__PURE__ */ Y({
|
|
7984
7983
|
__name: "ce-toast",
|
|
7985
7984
|
props: {
|
|
7986
7985
|
position: { default: "right-top" },
|
|
@@ -8010,36 +8009,36 @@ const x2 = {
|
|
|
8010
8009
|
key: 0,
|
|
8011
8010
|
class: x(["fixed z-50 flex flex-col px-4 w-full max-w-[30rem] h-auto", u.value])
|
|
8012
8011
|
}, [
|
|
8013
|
-
i("transition-group",
|
|
8012
|
+
i("transition-group", C2, [
|
|
8014
8013
|
(d(!0), f(X, null, J(r(a), (b) => (d(), f("div", {
|
|
8015
8014
|
key: b.id,
|
|
8016
8015
|
class: x(["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 dark:bg-ce_black border", m.value]),
|
|
8017
8016
|
onMouseenter: (v) => r(o)(b.id, t.pauseOnHover),
|
|
8018
8017
|
onMouseleave: (v) => r(l)(b.id, b.duration)
|
|
8019
8018
|
}, [
|
|
8020
|
-
i("div",
|
|
8019
|
+
i("div", A2, [
|
|
8021
8020
|
i("img", {
|
|
8022
8021
|
src: r(c)(b.type),
|
|
8023
8022
|
alt: "icone",
|
|
8024
8023
|
width: "36",
|
|
8025
8024
|
height: "36",
|
|
8026
8025
|
class: "w-9 h-9"
|
|
8027
|
-
}, null, 8,
|
|
8026
|
+
}, null, 8, B2)
|
|
8028
8027
|
]),
|
|
8029
|
-
i("div",
|
|
8030
|
-
i("h1",
|
|
8028
|
+
i("div", D2, [
|
|
8029
|
+
i("h1", S2, P(b.title), 1),
|
|
8031
8030
|
i("div", {
|
|
8032
8031
|
class: "text-ce_medium_gray dark:text-ce_light_gray font-normal mt-1 text-xs md:text-sm",
|
|
8033
8032
|
innerHTML: b.message
|
|
8034
|
-
}, null, 8,
|
|
8033
|
+
}, null, 8, $2),
|
|
8035
8034
|
e.showActionButton ? (d(), f("button", {
|
|
8036
8035
|
key: 0,
|
|
8037
8036
|
class: "mt-4 text-[#538F4B] font-semibold text-xs md:text-sm",
|
|
8038
8037
|
type: "button",
|
|
8039
8038
|
onClick: (v) => g.$emit("sendData", b.data)
|
|
8040
|
-
}, P(e.textButton), 9,
|
|
8039
|
+
}, P(e.textButton), 9, V2)) : A("", !0)
|
|
8041
8040
|
]),
|
|
8042
|
-
i("div",
|
|
8041
|
+
i("div", E2, [
|
|
8043
8042
|
i("button", {
|
|
8044
8043
|
type: "button",
|
|
8045
8044
|
onClick: (v) => r(n)(b.id),
|
|
@@ -8050,27 +8049,27 @@ const x2 = {
|
|
|
8050
8049
|
size: "20",
|
|
8051
8050
|
color: " #737373"
|
|
8052
8051
|
}, null, 8, ["name"])
|
|
8053
|
-
], 8,
|
|
8052
|
+
], 8, j2)
|
|
8054
8053
|
])
|
|
8055
|
-
], 42,
|
|
8054
|
+
], 42, M2))), 128))
|
|
8056
8055
|
])
|
|
8057
8056
|
], 2)) : A("", !0);
|
|
8058
8057
|
}
|
|
8059
8058
|
}), Yt = L(!1);
|
|
8060
|
-
function
|
|
8059
|
+
function F2() {
|
|
8061
8060
|
Yt.value = !0;
|
|
8062
8061
|
}
|
|
8063
|
-
function
|
|
8062
|
+
function z2() {
|
|
8064
8063
|
Yt.value = !1;
|
|
8065
8064
|
}
|
|
8066
8065
|
function on() {
|
|
8067
8066
|
return {
|
|
8068
8067
|
exibirLoading: Yt,
|
|
8069
|
-
activateCeLoading:
|
|
8070
|
-
disableCeLoading:
|
|
8068
|
+
activateCeLoading: F2,
|
|
8069
|
+
disableCeLoading: z2
|
|
8071
8070
|
};
|
|
8072
8071
|
}
|
|
8073
|
-
const
|
|
8072
|
+
const T2 = /* @__PURE__ */ Y({
|
|
8074
8073
|
__name: "ce-loading",
|
|
8075
8074
|
props: {
|
|
8076
8075
|
type: { default: "spinner" },
|
|
@@ -8087,17 +8086,17 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8087
8086
|
blur: e.blur
|
|
8088
8087
|
}, null, 8, ["type", "show-loading", "background", "blur"]));
|
|
8089
8088
|
}
|
|
8090
|
-
}), { addCeToast:
|
|
8091
|
-
|
|
8092
|
-
), gc = G(
|
|
8093
|
-
v2
|
|
8094
|
-
), vc = G(
|
|
8095
|
-
E2
|
|
8089
|
+
}), { addCeToast: uc, removeCeToast: cc, toasts: fc } = rn(), { activateCeLoading: mc, disableCeLoading: gc } = on(), vc = G(
|
|
8090
|
+
h2
|
|
8096
8091
|
), hc = G(
|
|
8097
|
-
|
|
8092
|
+
p2
|
|
8098
8093
|
), pc = G(
|
|
8099
|
-
|
|
8100
|
-
),
|
|
8094
|
+
L2
|
|
8095
|
+
), bc = G(
|
|
8096
|
+
_a
|
|
8097
|
+
), kc = G(
|
|
8098
|
+
T2
|
|
8099
|
+
), H2 = { class: "p-4 flex-1" }, P2 = /* @__PURE__ */ Y({
|
|
8101
8100
|
name: "CeCard",
|
|
8102
8101
|
inheritAttrs: !1,
|
|
8103
8102
|
__name: "ce-card",
|
|
@@ -8177,7 +8176,7 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8177
8176
|
}, [
|
|
8178
8177
|
I(m.$slots, "header", { isMobile: r(n) })
|
|
8179
8178
|
], 2),
|
|
8180
|
-
i("div",
|
|
8179
|
+
i("div", H2, [
|
|
8181
8180
|
I(m.$slots, "default", { isMobile: r(n) })
|
|
8182
8181
|
]),
|
|
8183
8182
|
i("div", {
|
|
@@ -8191,7 +8190,7 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8191
8190
|
_: 3
|
|
8192
8191
|
}, 16, ["class"]));
|
|
8193
8192
|
}
|
|
8194
|
-
}),
|
|
8193
|
+
}), O2 = /* @__PURE__ */ Y({
|
|
8195
8194
|
name: "CeCardHeader",
|
|
8196
8195
|
inheritAttrs: !1,
|
|
8197
8196
|
__name: "ce-card-header",
|
|
@@ -8206,7 +8205,7 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8206
8205
|
_: 3
|
|
8207
8206
|
}, 16));
|
|
8208
8207
|
}
|
|
8209
|
-
}),
|
|
8208
|
+
}), R2 = /* @__PURE__ */ Y({
|
|
8210
8209
|
name: "CeCardText",
|
|
8211
8210
|
inheritAttrs: !1,
|
|
8212
8211
|
__name: "ce-card-text",
|
|
@@ -8221,13 +8220,13 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8221
8220
|
_: 3
|
|
8222
8221
|
}, 16));
|
|
8223
8222
|
}
|
|
8224
|
-
}),
|
|
8223
|
+
}), I2 = {
|
|
8225
8224
|
key: 0,
|
|
8226
8225
|
class: "h-[1px] w-full bg-ce_soft_gray"
|
|
8227
|
-
},
|
|
8226
|
+
}, N2 = {
|
|
8228
8227
|
key: 1,
|
|
8229
8228
|
class: "h-[1px] w-full bg-ce_soft_gray"
|
|
8230
|
-
},
|
|
8229
|
+
}, q2 = /* @__PURE__ */ Y({
|
|
8231
8230
|
__name: "ce-content-divider",
|
|
8232
8231
|
props: {
|
|
8233
8232
|
type: { default: "inline" }
|
|
@@ -8240,12 +8239,12 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8240
8239
|
"bg-ce_white gap-8 h-14": e.type === "highlighted"
|
|
8241
8240
|
}])
|
|
8242
8241
|
}, [
|
|
8243
|
-
e.type != "highlighted" ? (d(), f("hr",
|
|
8242
|
+
e.type != "highlighted" ? (d(), f("hr", I2)) : A("", !0),
|
|
8244
8243
|
I(t.$slots, "default"),
|
|
8245
|
-
e.type != "highlighted" ? (d(), f("hr",
|
|
8244
|
+
e.type != "highlighted" ? (d(), f("hr", N2)) : A("", !0)
|
|
8246
8245
|
], 2));
|
|
8247
8246
|
}
|
|
8248
|
-
}), jt = "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/EGRcXWlRfgoF12BikWPV49TWOAGfX5W325rrHT1gZLLs8pvsleTVFOySQRWLIvKimBtDADRCKtQqkhfOSrf8mihABVqgW8B1vXUhdTAgAOtVNl1OrjKpbyz6BIZ52NOiZdmck6lXUzE9dCen4ggqLTrX80LXE8XbCPiarPxAc/kmiC8BDLyIwZYoPkCKF2BZNmnuk/ehcsX4br1vQJFxlKJNbNCIL5XGBuIg7PKag0jI+vTmEBTk9DDhINROMRnUmv5jZIoMhu/lFgE4CmzmQIB5Exo94mvIf5t5PfJg7hRh19Zi5HorKG5p+GEBYT6HK2jCK79wJYcUaueLE5bsGWaY4f/FHz7QUcuUyTQmAAAAAElFTkSuQmCC",
|
|
8247
|
+
}), jt = "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/EGRcXWlRfgoF12BikWPV49TWOAGfX5W325rrHT1gZLLs8pvsleTVFOySQRWLIvKimBtDADRCKtQqkhfOSrf8mihABVqgW8B1vXUhdTAgAOtVNl1OrjKpbyz6BIZ52NOiZdmck6lXUzE9dCen4ggqLTrX80LXE8XbCPiarPxAc/kmiC8BDLyIwZYoPkCKF2BZNmnuk/ehcsX4br1vQJFxlKJNbNCIL5XGBuIg7PKag0jI+vTmEBTk9DDhINROMRnUmv5jZIoMhu/lFgE4CmzmQIB5Exo94mvIf5t5PfJg7hRh19Zi5HorKG5p+GEBYT6HK2jCK79wJYcUaueLE5bsGWaY4f/FHz7QUcuUyTQmAAAAAElFTkSuQmCC", U2 = { class: "content-center" }, Z2 = ["src"], W2 = { class: "flex flex-wrap justify-center gap-4 font-semibold sm:justify-start" }, X2 = ["onClick"], Q2 = ["src"], Y2 = ["src"], G2 = ["src"], J2 = { class: "flex flex-wrap gap-4" }, K2 = ["href"], _2 = ["src"], eu = { class: "flex justify-between items-center w-full sm:flex-col sm:gap-8 sm:items-start" }, tu = ["src"], au = { class: "flex gap-4 sm:flex-col sm:w-full" }, nu = { class: "w-full h-full content-center" }, ru = ["src"], ou = ["src"], lu = /* @__PURE__ */ Y({
|
|
8249
8248
|
__name: "ce-footer",
|
|
8250
8249
|
props: {
|
|
8251
8250
|
variant: { default: "1" },
|
|
@@ -8263,20 +8262,20 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8263
8262
|
key: 0,
|
|
8264
8263
|
class: x(["w-full h-full px-4 flex justify-between items-center sm:flex-col sm:items-start sm:py-8 sm:gap-4", l.value])
|
|
8265
8264
|
}, [
|
|
8266
|
-
i("div",
|
|
8265
|
+
i("div", U2, [
|
|
8267
8266
|
i("img", {
|
|
8268
8267
|
src: e.background == "green" || r(a) || e.background == "black" ? r(nt) : r($e),
|
|
8269
8268
|
alt: "Comerc Energia",
|
|
8270
8269
|
class: "h-6"
|
|
8271
|
-
}, null, 8,
|
|
8270
|
+
}, null, 8, Z2)
|
|
8272
8271
|
]),
|
|
8273
|
-
i("nav",
|
|
8272
|
+
i("nav", W2, [
|
|
8274
8273
|
(d(!0), f(X, null, J(e.items, (b, v) => (d(), f("button", {
|
|
8275
8274
|
key: v,
|
|
8276
8275
|
type: "button",
|
|
8277
8276
|
onClick: (k) => m(b.path),
|
|
8278
8277
|
class: x(c.value)
|
|
8279
|
-
}, P(b.text), 11,
|
|
8278
|
+
}, P(b.text), 11, X2))), 128))
|
|
8280
8279
|
]),
|
|
8281
8280
|
i("div", {
|
|
8282
8281
|
class: x(["flex flex-col sm:flex-row sm:space-x-2", s.value])
|
|
@@ -8295,7 +8294,7 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8295
8294
|
src: r($e),
|
|
8296
8295
|
alt: "Comerc Energia",
|
|
8297
8296
|
class: "h-8 hidden sm:block"
|
|
8298
|
-
}, null, 8,
|
|
8297
|
+
}, null, 8, Q2),
|
|
8299
8298
|
i("p", {
|
|
8300
8299
|
class: x(s.value)
|
|
8301
8300
|
}, [
|
|
@@ -8306,7 +8305,7 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8306
8305
|
src: r(jt),
|
|
8307
8306
|
alt: "Comerc Energia",
|
|
8308
8307
|
class: "h-8 sm:hidden"
|
|
8309
|
-
}, null, 8,
|
|
8308
|
+
}, null, 8, Y2)
|
|
8310
8309
|
], 2)) : e.variant == "3" ? (d(), f("footer", {
|
|
8311
8310
|
key: 2,
|
|
8312
8311
|
class: x(["w-full h-full px-4 flex justify-between items-center sm:flex-col sm:items-center sm:py-8 sm:gap-10", l.value])
|
|
@@ -8315,8 +8314,8 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8315
8314
|
src: r($e),
|
|
8316
8315
|
alt: "Comerc Energia",
|
|
8317
8316
|
class: "h-8 hidden sm:block"
|
|
8318
|
-
}, null, 8,
|
|
8319
|
-
i("div",
|
|
8317
|
+
}, null, 8, G2),
|
|
8318
|
+
i("div", J2, [
|
|
8320
8319
|
(d(!0), f(X, null, J(e.socialMedia, (b, v) => (d(), f("a", {
|
|
8321
8320
|
key: v,
|
|
8322
8321
|
href: b.link,
|
|
@@ -8327,13 +8326,13 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8327
8326
|
size: "20",
|
|
8328
8327
|
color: e.background == "green" ? "#fff" : "#737373"
|
|
8329
8328
|
}, null, 8, ["name", "color"])
|
|
8330
|
-
], 8,
|
|
8329
|
+
], 8, K2))), 128))
|
|
8331
8330
|
]),
|
|
8332
8331
|
i("img", {
|
|
8333
8332
|
src: r(jt),
|
|
8334
8333
|
alt: "Comerc Energia",
|
|
8335
8334
|
class: "h-8 sm:hidden"
|
|
8336
|
-
}, null, 8,
|
|
8335
|
+
}, null, 8, _2),
|
|
8337
8336
|
i("p", {
|
|
8338
8337
|
class: x(s.value)
|
|
8339
8338
|
}, [
|
|
@@ -8344,13 +8343,13 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8344
8343
|
key: 3,
|
|
8345
8344
|
class: x([l.value, "w-full h-full p-4 flex items-center flex-col sm:gap-8 sm:py-8"])
|
|
8346
8345
|
}, [
|
|
8347
|
-
i("div",
|
|
8346
|
+
i("div", eu, [
|
|
8348
8347
|
i("img", {
|
|
8349
8348
|
src: e.background == "green" ? r(nt) : r($e),
|
|
8350
8349
|
alt: "Comerc Energia",
|
|
8351
8350
|
class: "h-8"
|
|
8352
|
-
}, null, 8,
|
|
8353
|
-
i("div",
|
|
8351
|
+
}, null, 8, tu),
|
|
8352
|
+
i("div", au, [
|
|
8354
8353
|
N(bt, {
|
|
8355
8354
|
placeholder: "Digite seu email",
|
|
8356
8355
|
modelValue: n.value,
|
|
@@ -8368,7 +8367,7 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8368
8367
|
})
|
|
8369
8368
|
])
|
|
8370
8369
|
]),
|
|
8371
|
-
i("div",
|
|
8370
|
+
i("div", nu, [
|
|
8372
8371
|
i("p", {
|
|
8373
8372
|
class: x(["float-right sm:float-start", s.value])
|
|
8374
8373
|
}, [
|
|
@@ -8384,12 +8383,12 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8384
8383
|
src: r($e),
|
|
8385
8384
|
alt: "Comerc Energia",
|
|
8386
8385
|
class: "h-8 hidden sm:block"
|
|
8387
|
-
}, null, 8,
|
|
8386
|
+
}, null, 8, ru),
|
|
8388
8387
|
i("img", {
|
|
8389
8388
|
src: r(jt),
|
|
8390
8389
|
alt: "Comerc Energia",
|
|
8391
8390
|
class: "h-8 sm:hidden"
|
|
8392
|
-
}, null, 8,
|
|
8391
|
+
}, null, 8, ou),
|
|
8393
8392
|
i("p", {
|
|
8394
8393
|
class: x(["float-right sm:float-start", s.value])
|
|
8395
8394
|
}, [
|
|
@@ -8398,13 +8397,13 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8398
8397
|
], 2)
|
|
8399
8398
|
], 2)) : A("", !0);
|
|
8400
8399
|
}
|
|
8401
|
-
}),
|
|
8400
|
+
}), su = { class: "row-span-1 col-span-2 rounded-lg" }, iu = { class: "row-span-1 sm:hidden" }, du = { class: "row-span-1 sm:col-span-2 min-w-0" }, uu = { class: "row-span-1 col-span-2" }, cu = {
|
|
8402
8401
|
key: 1,
|
|
8403
8402
|
class: "grid grid-rows-[auto_1fr] transition-all duration-300"
|
|
8404
|
-
},
|
|
8403
|
+
}, fu = { class: "h-[93px]" }, mu = {
|
|
8405
8404
|
key: 2,
|
|
8406
8405
|
class: "flex flex-col"
|
|
8407
|
-
},
|
|
8406
|
+
}, gu = { class: "px-4" }, vu = { class: "px-4 mb-3" }, hu = /* @__PURE__ */ Y({
|
|
8408
8407
|
__name: "ce-layout",
|
|
8409
8408
|
props: {
|
|
8410
8409
|
openMenu: { type: Boolean, default: !1 },
|
|
@@ -8417,46 +8416,46 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8417
8416
|
class: x(["relative grid grid-rows-[4rem,1fr,auto] bg-[#fff] dark:bg-ce_black h-screen", e.openMenu ? "grid-cols-[auto_1fr]" : "grid-cols-[6%_1fr]"]),
|
|
8418
8417
|
style: { transition: "grid-template-columns 0.4s ease-out" }
|
|
8419
8418
|
}, [
|
|
8420
|
-
i("div",
|
|
8419
|
+
i("div", su, [
|
|
8421
8420
|
I(t.$slots, "header")
|
|
8422
8421
|
]),
|
|
8423
|
-
i("div",
|
|
8422
|
+
i("div", iu, [
|
|
8424
8423
|
I(t.$slots, "sidebar")
|
|
8425
8424
|
]),
|
|
8426
|
-
i("div",
|
|
8425
|
+
i("div", du, [
|
|
8427
8426
|
I(t.$slots, "content")
|
|
8428
8427
|
]),
|
|
8429
|
-
i("div",
|
|
8428
|
+
i("div", uu, [
|
|
8430
8429
|
I(t.$slots, "footer")
|
|
8431
8430
|
])
|
|
8432
8431
|
], 2)) : A("", !0),
|
|
8433
|
-
e.layout == "minimal" ? (d(), f("div",
|
|
8434
|
-
i("div",
|
|
8432
|
+
e.layout == "minimal" ? (d(), f("div", cu, [
|
|
8433
|
+
i("div", fu, [
|
|
8435
8434
|
I(t.$slots, "header")
|
|
8436
8435
|
]),
|
|
8437
8436
|
I(t.$slots, "content")
|
|
8438
8437
|
])) : A("", !0),
|
|
8439
|
-
e.layout == "base" ? (d(), f("div",
|
|
8438
|
+
e.layout == "base" ? (d(), f("div", mu, [
|
|
8440
8439
|
i("div", null, [
|
|
8441
8440
|
I(t.$slots, "nav")
|
|
8442
8441
|
]),
|
|
8443
|
-
i("div",
|
|
8442
|
+
i("div", gu, [
|
|
8444
8443
|
I(t.$slots, "dividers")
|
|
8445
8444
|
]),
|
|
8446
|
-
i("div",
|
|
8445
|
+
i("div", vu, [
|
|
8447
8446
|
I(t.$slots, "table")
|
|
8448
8447
|
])
|
|
8449
8448
|
])) : A("", !0)
|
|
8450
8449
|
], 64));
|
|
8451
8450
|
}
|
|
8452
|
-
}),
|
|
8451
|
+
}), pu = { class: "section-footer-container w-full h-[6rem] sm:h-[8rem] rounded-xl flex items-center justify-between px-8 sm:gap-8 sm:items-center sm:justify-center sm:flex-col-reverse" }, bu = { class: "flex flex-wrap gap-4" }, ku = ["href"], yu = ["src"], xu = /* @__PURE__ */ Y({
|
|
8453
8452
|
__name: "ce-section-footer",
|
|
8454
8453
|
props: {
|
|
8455
8454
|
socialMedia: {}
|
|
8456
8455
|
},
|
|
8457
8456
|
setup(e) {
|
|
8458
|
-
return (t, a) => (d(), f("div",
|
|
8459
|
-
i("div",
|
|
8457
|
+
return (t, a) => (d(), f("div", pu, [
|
|
8458
|
+
i("div", bu, [
|
|
8460
8459
|
(d(!0), f(X, null, J(e.socialMedia, (n, o) => (d(), f("a", {
|
|
8461
8460
|
key: o,
|
|
8462
8461
|
href: n.link,
|
|
@@ -8468,16 +8467,16 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8468
8467
|
color: "#fff",
|
|
8469
8468
|
fill: "#fff"
|
|
8470
8469
|
}, null, 8, ["name"])
|
|
8471
|
-
], 8,
|
|
8470
|
+
], 8, ku))), 128))
|
|
8472
8471
|
]),
|
|
8473
8472
|
i("img", {
|
|
8474
8473
|
src: r(nt),
|
|
8475
8474
|
alt: "Comerc Energia",
|
|
8476
8475
|
class: "h-8"
|
|
8477
|
-
}, null, 8,
|
|
8476
|
+
}, null, 8, yu)
|
|
8478
8477
|
]));
|
|
8479
8478
|
}
|
|
8480
|
-
}),
|
|
8479
|
+
}), wu = (e, t) => {
|
|
8481
8480
|
const a = L([]);
|
|
8482
8481
|
Tt(() => {
|
|
8483
8482
|
e.allOpen ? a.value = e.items.map(() => !0) : e.openTheFirst ? a.value = e.items.map((u, m) => m === 0) : a.value = e.items.map(() => !1), e.closeCollapse >= 0 && (a.value[e.closeCollapse] = !1), e.openCollapse && e.openCollapse.length > 0 && e.openCollapse.forEach((u) => {
|
|
@@ -8526,10 +8525,10 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8526
8525
|
},
|
|
8527
8526
|
containerClasses: l
|
|
8528
8527
|
};
|
|
8529
|
-
},
|
|
8528
|
+
}, Cu = { class: "flex gap-2 items-center p-4 text-left focus:outline-none justify-between" }, Mu = ["onClick", "disabled"], Au = {
|
|
8530
8529
|
key: 0,
|
|
8531
8530
|
class: "py-1"
|
|
8532
|
-
},
|
|
8531
|
+
}, Bu = /* @__PURE__ */ Y({
|
|
8533
8532
|
__name: "ce-collapse",
|
|
8534
8533
|
props: {
|
|
8535
8534
|
items: { default: () => [] },
|
|
@@ -8546,7 +8545,7 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8546
8545
|
setup(e, { emit: t }) {
|
|
8547
8546
|
const { modoDarkAplicado: a } = ke(), n = e;
|
|
8548
8547
|
be();
|
|
8549
|
-
const o = t, { abrirCollapse: l, estaAberto: c, variacoes: s, aplicarWidthPelaDirecao: u, containerClasses: m } =
|
|
8548
|
+
const o = t, { abrirCollapse: l, estaAberto: c, variacoes: s, aplicarWidthPelaDirecao: u, containerClasses: m } = wu(n, o);
|
|
8550
8549
|
return (g, h) => (d(), f("div", {
|
|
8551
8550
|
class: x(r(m))
|
|
8552
8551
|
}, [
|
|
@@ -8559,7 +8558,7 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8559
8558
|
r(u)()
|
|
8560
8559
|
])
|
|
8561
8560
|
}, [
|
|
8562
|
-
i("div",
|
|
8561
|
+
i("div", Cu, [
|
|
8563
8562
|
I(g.$slots, "header", {
|
|
8564
8563
|
item: b,
|
|
8565
8564
|
index: v
|
|
@@ -8575,14 +8574,14 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8575
8574
|
class: x(["w-5 h-5 transition-transform duration-300", { "rotate-180": r(c)(v) }]),
|
|
8576
8575
|
color: r(a) ? "#d6d6d6" : "#141414"
|
|
8577
8576
|
}, null, 8, ["name", "class", "color"])
|
|
8578
|
-
], 8,
|
|
8577
|
+
], 8, Mu)
|
|
8579
8578
|
]),
|
|
8580
8579
|
N(Ie, {
|
|
8581
8580
|
"enter-active-class": "transition-all duration-300 ease-out",
|
|
8582
8581
|
"leave-active-class": "transition-all duration-200 ease-in"
|
|
8583
8582
|
}, {
|
|
8584
8583
|
default: ee(() => [
|
|
8585
|
-
r(c)(v) ? (d(), f("div",
|
|
8584
|
+
r(c)(v) ? (d(), f("div", Au, [
|
|
8586
8585
|
I(g.$slots, "content", {
|
|
8587
8586
|
item: b,
|
|
8588
8587
|
index: v
|
|
@@ -8594,75 +8593,75 @@ const F2 = /* @__PURE__ */ Y({
|
|
|
8594
8593
|
], 2))), 128))
|
|
8595
8594
|
], 2));
|
|
8596
8595
|
}
|
|
8597
|
-
}), { isMobile:
|
|
8598
|
-
|
|
8599
|
-
), yc = G(
|
|
8600
|
-
T2
|
|
8601
|
-
), xc = G(
|
|
8602
|
-
H2
|
|
8596
|
+
}), { isMobile: yc } = yt(), xc = G(
|
|
8597
|
+
Bu
|
|
8603
8598
|
), wc = G(
|
|
8604
8599
|
P2
|
|
8605
8600
|
), Cc = G(
|
|
8606
|
-
|
|
8601
|
+
O2
|
|
8607
8602
|
), Mc = G(
|
|
8608
|
-
|
|
8603
|
+
R2
|
|
8609
8604
|
), Ac = G(
|
|
8610
|
-
|
|
8605
|
+
q2
|
|
8611
8606
|
), Bc = G(
|
|
8612
|
-
|
|
8607
|
+
lu
|
|
8608
|
+
), Dc = G(
|
|
8609
|
+
hu
|
|
8610
|
+
), Sc = G(
|
|
8611
|
+
xu
|
|
8613
8612
|
);
|
|
8614
8613
|
export {
|
|
8615
|
-
|
|
8616
|
-
|
|
8617
|
-
|
|
8618
|
-
|
|
8619
|
-
|
|
8620
|
-
|
|
8621
|
-
|
|
8622
|
-
|
|
8623
|
-
|
|
8624
|
-
|
|
8625
|
-
|
|
8626
|
-
|
|
8627
|
-
|
|
8628
|
-
|
|
8629
|
-
|
|
8630
|
-
|
|
8631
|
-
|
|
8632
|
-
|
|
8633
|
-
|
|
8634
|
-
|
|
8635
|
-
|
|
8636
|
-
|
|
8637
|
-
|
|
8638
|
-
|
|
8639
|
-
|
|
8640
|
-
|
|
8641
|
-
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
|
|
8649
|
-
|
|
8650
|
-
|
|
8651
|
-
|
|
8652
|
-
|
|
8653
|
-
|
|
8654
|
-
|
|
8655
|
-
|
|
8656
|
-
|
|
8657
|
-
|
|
8658
|
-
|
|
8659
|
-
|
|
8660
|
-
|
|
8661
|
-
|
|
8662
|
-
|
|
8663
|
-
|
|
8664
|
-
|
|
8665
|
-
|
|
8666
|
-
|
|
8667
|
-
|
|
8614
|
+
Hu as CeAutocomplete,
|
|
8615
|
+
sc as CeAvatar,
|
|
8616
|
+
dc as CeBadge,
|
|
8617
|
+
vc as CeBanners,
|
|
8618
|
+
rc as CeBreadcrumbs,
|
|
8619
|
+
Pu as CeButton,
|
|
8620
|
+
Ou as CeButtonGroup,
|
|
8621
|
+
Ru as CeButtonPagination,
|
|
8622
|
+
Iu as CeButtonWrapper,
|
|
8623
|
+
wc as CeCard,
|
|
8624
|
+
Cc as CeCardHeader,
|
|
8625
|
+
Mc as CeCardText,
|
|
8626
|
+
Nu as CeCheckbox,
|
|
8627
|
+
qu as CeCheckboxGroup,
|
|
8628
|
+
Tu as CeCodeInput,
|
|
8629
|
+
Ku as CeCol,
|
|
8630
|
+
xc as CeCollapse,
|
|
8631
|
+
ec as CeContainer,
|
|
8632
|
+
Ac as CeContentDivider,
|
|
8633
|
+
Vu as CeDataTable,
|
|
8634
|
+
Uu as CeDatePicker,
|
|
8635
|
+
Zu as CeDropdown,
|
|
8636
|
+
Wu as CeFileUpload,
|
|
8637
|
+
ic as CeFilterGroup,
|
|
8638
|
+
Bc as CeFooter,
|
|
8639
|
+
Xu as CeInput,
|
|
8640
|
+
Fu as CeItemsPerPage,
|
|
8641
|
+
Dc as CeLayout,
|
|
8642
|
+
kc as CeLoading,
|
|
8643
|
+
ac as CeMenuHeader,
|
|
8644
|
+
nc as CeMenuSidebar,
|
|
8645
|
+
hc as CeModal,
|
|
8646
|
+
Eu as CePagination,
|
|
8647
|
+
ju as CeProgressIndicator,
|
|
8648
|
+
Lu as CeProgressSteps,
|
|
8649
|
+
Qu as CeRadioGroup,
|
|
8650
|
+
_u as CeRow,
|
|
8651
|
+
Sc as CeSectionFooter,
|
|
8652
|
+
Yu as CeSelect,
|
|
8653
|
+
Gu as CeSlider,
|
|
8654
|
+
tc as CeSvgIcon,
|
|
8655
|
+
oc as CeTab,
|
|
8656
|
+
lc as CeTabItem,
|
|
8657
|
+
zu as CeTextarea,
|
|
8658
|
+
pc as CeToast,
|
|
8659
|
+
Ju as CeToggle,
|
|
8660
|
+
bc as CeTooltip,
|
|
8661
|
+
mc as activateCeLoading,
|
|
8662
|
+
uc as addCeToast,
|
|
8663
|
+
gc as disableCeLoading,
|
|
8664
|
+
yc as isMobile,
|
|
8665
|
+
cc as removeCeToast,
|
|
8666
|
+
fc as toasts
|
|
8668
8667
|
};
|