@comercti/react-components-hmg 0.25.3 → 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 +225 -223
- 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,13 +7448,16 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7448
7448
|
}), 128))
|
|
7449
7449
|
], 34));
|
|
7450
7450
|
}
|
|
7451
|
-
}), I0 = { class: "
|
|
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
|
+
key: 1,
|
|
7453
|
+
class: "flex items-center gap-2"
|
|
7454
|
+
}, Y0 = ["onClick"], G0 = {
|
|
7452
7455
|
key: 0,
|
|
7453
7456
|
class: "text-ce_light_gray text-lg"
|
|
7454
|
-
},
|
|
7457
|
+
}, J0 = {
|
|
7455
7458
|
key: 0,
|
|
7456
7459
|
class: "border border-ce_gray rounded-full"
|
|
7457
|
-
},
|
|
7460
|
+
}, K0 = /* @__PURE__ */ Y({
|
|
7458
7461
|
__name: "ce-breadcrumbs",
|
|
7459
7462
|
props: {
|
|
7460
7463
|
home: { default: "/home" },
|
|
@@ -7478,8 +7481,8 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7478
7481
|
function c(s) {
|
|
7479
7482
|
return {
|
|
7480
7483
|
text: "text-ce_green font-semibold px-2 py-1 rounded-xl",
|
|
7481
|
-
primary: "flex items-center space-x-2
|
|
7482
|
-
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"
|
|
7483
7486
|
}[s];
|
|
7484
7487
|
}
|
|
7485
7488
|
return (s, u) => (d(), f("div", I0, [
|
|
@@ -7504,42 +7507,41 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7504
7507
|
type: "button",
|
|
7505
7508
|
onClick: u[1] || (u[1] = (m) => n(e.items[0].path))
|
|
7506
7509
|
}, [
|
|
7507
|
-
i("p",
|
|
7510
|
+
i("p", U0, P(e.items[0].text), 1)
|
|
7508
7511
|
], 2),
|
|
7509
|
-
i("span",
|
|
7512
|
+
i("span", Z0, P(e.divider), 1),
|
|
7510
7513
|
i("button", {
|
|
7511
7514
|
type: "button",
|
|
7512
7515
|
onClick: l,
|
|
7513
7516
|
class: "text-ce_gray font-medium text-sm"
|
|
7514
7517
|
}, " ... "),
|
|
7515
|
-
i("span",
|
|
7518
|
+
i("span", W0, P(e.divider), 1),
|
|
7516
7519
|
i("button", {
|
|
7517
7520
|
type: "button",
|
|
7518
7521
|
class: x(c(e.variant))
|
|
7519
7522
|
}, [
|
|
7520
|
-
i("p",
|
|
7523
|
+
i("p", X0, P(e.items[e.items.length - 1].text), 1)
|
|
7521
7524
|
], 2)
|
|
7522
|
-
], 64)) : (d(), f(
|
|
7525
|
+
], 64)) : (d(), f("div", Q0, [
|
|
7523
7526
|
(d(!0), f(X, null, J(e.items, (m, g) => (d(), f("button", {
|
|
7524
7527
|
key: g,
|
|
7525
7528
|
class: "flex items-center space-x-4",
|
|
7526
|
-
disabled: g === e.items.length - 1,
|
|
7527
7529
|
type: "button",
|
|
7528
7530
|
onClick: (h) => n(m.path)
|
|
7529
7531
|
}, [
|
|
7530
7532
|
i("p", {
|
|
7531
|
-
class: x([
|
|
7533
|
+
class: x(["text-sm active:scale-90", [
|
|
7532
7534
|
{
|
|
7533
7535
|
"hover:bg-[#C2DAB3] hover:text-ce_green": e.variant == "primary",
|
|
7534
7536
|
"hover:bg-ce_white hover:text-ce_medium_gray": e.variant == "secondary"
|
|
7535
7537
|
},
|
|
7536
7538
|
g === e.items.length - 1 && c(e.variant),
|
|
7537
|
-
g !== e.items.length - 1 && "
|
|
7538
|
-
])
|
|
7539
|
+
g !== e.items.length - 1 && " text-ce_stone_gray font-medium p-1 rounded-md"
|
|
7540
|
+
]])
|
|
7539
7541
|
}, P(m.text), 3),
|
|
7540
|
-
g < e.items.length - 1 ? (d(), f("span",
|
|
7541
|
-
], 8,
|
|
7542
|
-
!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, [
|
|
7543
7545
|
o.value ? A("", !0) : (d(), _(Q, {
|
|
7544
7546
|
key: 0,
|
|
7545
7547
|
name: r(Wn),
|
|
@@ -7548,20 +7550,20 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7548
7550
|
onClick: l
|
|
7549
7551
|
}, null, 8, ["name"]))
|
|
7550
7552
|
])) : A("", !0)
|
|
7551
|
-
]
|
|
7553
|
+
]))
|
|
7552
7554
|
])
|
|
7553
7555
|
]));
|
|
7554
7556
|
}
|
|
7555
|
-
}),
|
|
7557
|
+
}), _0 = {
|
|
7556
7558
|
key: 0,
|
|
7557
7559
|
class: "flex justify-start items-center p-3"
|
|
7558
|
-
},
|
|
7560
|
+
}, e2 = ["disabled", "onClick"], t2 = {
|
|
7559
7561
|
key: 1,
|
|
7560
7562
|
class: "flex justify-start items-center p-3"
|
|
7561
|
-
},
|
|
7563
|
+
}, a2 = ["disabled", "onClick"], n2 = {
|
|
7562
7564
|
key: 2,
|
|
7563
7565
|
class: "flex rounded-lg border-[1px] border-ce_soft_gray bg-ce_white p-2"
|
|
7564
|
-
},
|
|
7566
|
+
}, r2 = ["disabled", "onClick"], o2 = /* @__PURE__ */ Y({
|
|
7565
7567
|
__name: "ce-tab",
|
|
7566
7568
|
props: {
|
|
7567
7569
|
tabs: {},
|
|
@@ -7575,7 +7577,7 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7575
7577
|
o.value = s, n("updateValue", s);
|
|
7576
7578
|
}, c = (s) => a.variant === s;
|
|
7577
7579
|
return (s, u) => (d(), f(X, null, [
|
|
7578
|
-
c("primary") || c("secondary") ? (d(), f("div",
|
|
7580
|
+
c("primary") || c("secondary") ? (d(), f("div", _0, [
|
|
7579
7581
|
(d(!0), f(X, null, J(e.tabs, (m) => (d(), f("button", {
|
|
7580
7582
|
key: m.id,
|
|
7581
7583
|
disabled: e.inactivate || m.disabled,
|
|
@@ -7586,9 +7588,9 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7586
7588
|
"bg-ce_white text-ce_medium_gray rounded-lg": o.value == m.id && c("secondary"),
|
|
7587
7589
|
"cursor-not-allowed": e.inactivate || m.disabled
|
|
7588
7590
|
}])
|
|
7589
|
-
}, P(m.label), 11,
|
|
7591
|
+
}, P(m.label), 11, e2))), 128))
|
|
7590
7592
|
])) : A("", !0),
|
|
7591
|
-
c("line-primary") || c("line-text") ? (d(), f("div",
|
|
7593
|
+
c("line-primary") || c("line-text") ? (d(), f("div", t2, [
|
|
7592
7594
|
(d(!0), f(X, null, J(e.tabs, (m) => (d(), f("button", {
|
|
7593
7595
|
key: m.id,
|
|
7594
7596
|
disabled: e.inactivate || m.disabled,
|
|
@@ -7599,9 +7601,9 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7599
7601
|
" !text-ce_green !border-b-2 !border-ce_soft_green": o.value == m.id && c("line-text"),
|
|
7600
7602
|
"cursor-not-allowed": e.inactivate || m.disabled
|
|
7601
7603
|
}])
|
|
7602
|
-
}, P(m.label), 11,
|
|
7604
|
+
}, P(m.label), 11, a2))), 128))
|
|
7603
7605
|
])) : A("", !0),
|
|
7604
|
-
c("soft") ? (d(), f("div",
|
|
7606
|
+
c("soft") ? (d(), f("div", n2, [
|
|
7605
7607
|
(d(!0), f(X, null, J(e.tabs, (m) => (d(), f("button", {
|
|
7606
7608
|
key: m.id,
|
|
7607
7609
|
disabled: e.inactivate || m.disabled,
|
|
@@ -7611,39 +7613,39 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7611
7613
|
"bg-white text-ce_medium_gray shadow-lg rounded-lg": o.value == m.id,
|
|
7612
7614
|
"cursor-not-allowed": e.inactivate || m.disabled
|
|
7613
7615
|
}])
|
|
7614
|
-
}, P(m.label), 11,
|
|
7616
|
+
}, P(m.label), 11, r2))), 128))
|
|
7615
7617
|
])) : A("", !0),
|
|
7616
7618
|
i("div", null, [
|
|
7617
7619
|
I(s.$slots, "default")
|
|
7618
7620
|
])
|
|
7619
7621
|
], 64));
|
|
7620
7622
|
}
|
|
7621
|
-
}),
|
|
7623
|
+
}), l2 = { key: 0 }, s2 = /* @__PURE__ */ Y({
|
|
7622
7624
|
__name: "ce-tab-item",
|
|
7623
7625
|
props: {
|
|
7624
7626
|
modelValue: {},
|
|
7625
7627
|
value: {}
|
|
7626
7628
|
},
|
|
7627
7629
|
setup(e) {
|
|
7628
|
-
return (t, a) => e.value == e.modelValue ? (d(), f("div",
|
|
7630
|
+
return (t, a) => e.value == e.modelValue ? (d(), f("div", l2, [
|
|
7629
7631
|
I(t.$slots, "default")
|
|
7630
7632
|
])) : A("", !0);
|
|
7631
7633
|
}
|
|
7632
|
-
}),
|
|
7634
|
+
}), ac = G(
|
|
7633
7635
|
F0
|
|
7634
|
-
),
|
|
7636
|
+
), nc = G(
|
|
7635
7637
|
R0
|
|
7636
|
-
),
|
|
7637
|
-
|
|
7638
|
-
),
|
|
7639
|
-
|
|
7640
|
-
),
|
|
7638
|
+
), rc = G(
|
|
7639
|
+
K0
|
|
7640
|
+
), oc = G(o2), lc = G(
|
|
7641
|
+
s2
|
|
7642
|
+
), i2 = { class: "w-full" }, d2 = ["src", "alt"], u2 = {
|
|
7641
7643
|
key: 1,
|
|
7642
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",
|
|
7643
7645
|
viewBox: "0 0 32 32",
|
|
7644
7646
|
fill: "none",
|
|
7645
7647
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7646
|
-
},
|
|
7648
|
+
}, c2 = /* @__PURE__ */ Y({
|
|
7647
7649
|
name: "CeAvatar",
|
|
7648
7650
|
inheritAttrs: !1,
|
|
7649
7651
|
__name: "ce-avatar",
|
|
@@ -7688,14 +7690,14 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7688
7690
|
],
|
|
7689
7691
|
style: { width: m.value + "px", height: m.value + "px" }
|
|
7690
7692
|
}, v.$attrs, { onClick: b }), [
|
|
7691
|
-
i("div",
|
|
7693
|
+
i("div", i2, [
|
|
7692
7694
|
r(s) ? A("", !0) : (d(), f(X, { key: 0 }, [
|
|
7693
7695
|
e.src ? (d(), f("img", {
|
|
7694
7696
|
key: 0,
|
|
7695
7697
|
src: e.src,
|
|
7696
7698
|
alt: e.alt,
|
|
7697
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"
|
|
7698
|
-
}, null, 8,
|
|
7700
|
+
}, null, 8, d2)) : (d(), f("svg", u2, [...k[0] || (k[0] = [
|
|
7699
7701
|
i("path", {
|
|
7700
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",
|
|
7701
7703
|
stroke: "#737373",
|
|
@@ -7726,7 +7728,7 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7726
7728
|
], 4)
|
|
7727
7729
|
], 16));
|
|
7728
7730
|
}
|
|
7729
|
-
}),
|
|
7731
|
+
}), f2 = { class: "flex items-center gap-5" }, m2 = { class: "font-semibold mb-2 dark:text-ce_light_gray" }, g2 = /* @__PURE__ */ Y({
|
|
7730
7732
|
__name: "ce-filter-group",
|
|
7731
7733
|
props: {
|
|
7732
7734
|
variant: { default: "dropdown" },
|
|
@@ -7766,7 +7768,7 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7766
7768
|
ref_key: "menuRef",
|
|
7767
7769
|
ref: o
|
|
7768
7770
|
}, [
|
|
7769
|
-
i("div",
|
|
7771
|
+
i("div", f2, [
|
|
7770
7772
|
i("button", {
|
|
7771
7773
|
type: "button",
|
|
7772
7774
|
onClick: g,
|
|
@@ -7797,7 +7799,7 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7797
7799
|
"w-full": e.variant === "collapse"
|
|
7798
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"])
|
|
7799
7801
|
}, [
|
|
7800
|
-
i("p",
|
|
7802
|
+
i("p", m2, P(e.title), 1),
|
|
7801
7803
|
I(b.$slots, "content"),
|
|
7802
7804
|
i("div", {
|
|
7803
7805
|
class: x(["flex w-full gap-2 mt-5", e.variant === "collapse" ? "flex-row-reverse sm:flex-col" : "flex-col"])
|
|
@@ -7839,13 +7841,13 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7839
7841
|
})
|
|
7840
7842
|
], 512));
|
|
7841
7843
|
}
|
|
7842
|
-
}),
|
|
7843
|
-
i2
|
|
7844
|
-
), oc = G(
|
|
7844
|
+
}), sc = G(
|
|
7845
7845
|
c2
|
|
7846
|
-
),
|
|
7846
|
+
), ic = G(
|
|
7847
|
+
g2
|
|
7848
|
+
), dc = G(
|
|
7847
7849
|
an
|
|
7848
|
-
),
|
|
7850
|
+
), v2 = { class: "flex justify-center items-center sm:absolute sm:top-2 sm:right-2" }, h2 = /* @__PURE__ */ Y({
|
|
7849
7851
|
__name: "ce-banners",
|
|
7850
7852
|
props: {
|
|
7851
7853
|
position: { default: "top" },
|
|
@@ -7874,7 +7876,7 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7874
7876
|
I(t.$slots, "icon")
|
|
7875
7877
|
], 2)) : A("", !0),
|
|
7876
7878
|
I(t.$slots, "content"),
|
|
7877
|
-
i("div",
|
|
7879
|
+
i("div", v2, [
|
|
7878
7880
|
i("button", {
|
|
7879
7881
|
type: "button",
|
|
7880
7882
|
onClick: a[0] || (a[0] = (n) => t.$emit("close", !1))
|
|
@@ -7889,7 +7891,7 @@ const s0 = /* @__PURE__ */ Y({
|
|
|
7889
7891
|
], 2)
|
|
7890
7892
|
], 2)) : A("", !0);
|
|
7891
7893
|
}
|
|
7892
|
-
}),
|
|
7894
|
+
}), p2 = /* @__PURE__ */ Y({
|
|
7893
7895
|
__name: "ce-modal",
|
|
7894
7896
|
props: {
|
|
7895
7897
|
isOpen: { type: Boolean, default: !1 },
|
|
@@ -7932,10 +7934,10 @@ const ze = /* @__PURE__ */ new Map();
|
|
|
7932
7934
|
function Qt(e) {
|
|
7933
7935
|
vt.value = vt.value.filter((t) => t.id !== e), ze.delete(e);
|
|
7934
7936
|
}
|
|
7935
|
-
function
|
|
7937
|
+
function b2(e) {
|
|
7936
7938
|
Xt.value = e;
|
|
7937
7939
|
}
|
|
7938
|
-
function
|
|
7940
|
+
function k2(e) {
|
|
7939
7941
|
return {
|
|
7940
7942
|
success: Js,
|
|
7941
7943
|
error: Ys,
|
|
@@ -7943,17 +7945,17 @@ function h2(e) {
|
|
|
7943
7945
|
info: Ks
|
|
7944
7946
|
}[e];
|
|
7945
7947
|
}
|
|
7946
|
-
function
|
|
7948
|
+
function y2(e, t, a, n = 3e3, o = null) {
|
|
7947
7949
|
const l = nn++;
|
|
7948
7950
|
if (vt.value.push({ title: e, message: t, type: a, duration: n, id: l, data: o }), !Xt.value) {
|
|
7949
7951
|
const c = setTimeout(() => Qt(l), n);
|
|
7950
7952
|
ze.set(l, c);
|
|
7951
7953
|
}
|
|
7952
7954
|
}
|
|
7953
|
-
function
|
|
7955
|
+
function x2(e, t) {
|
|
7954
7956
|
ze.has(e) && t && clearTimeout(ze.get(e));
|
|
7955
7957
|
}
|
|
7956
|
-
function
|
|
7958
|
+
function w2(e, t) {
|
|
7957
7959
|
if (ze.has(e)) {
|
|
7958
7960
|
const a = setTimeout(() => Qt(e), t);
|
|
7959
7961
|
ze.set(e, a);
|
|
@@ -7966,18 +7968,18 @@ function rn() {
|
|
|
7966
7968
|
pausarToast: Xt,
|
|
7967
7969
|
timeouts: ze,
|
|
7968
7970
|
removeCeToast: Qt,
|
|
7969
|
-
defineIcones:
|
|
7970
|
-
pausarTimeout:
|
|
7971
|
-
restaurarTimout:
|
|
7972
|
-
addCeToast:
|
|
7973
|
-
setarPausaToast:
|
|
7971
|
+
defineIcones: k2,
|
|
7972
|
+
pausarTimeout: x2,
|
|
7973
|
+
restaurarTimout: w2,
|
|
7974
|
+
addCeToast: y2,
|
|
7975
|
+
setarPausaToast: b2
|
|
7974
7976
|
};
|
|
7975
7977
|
}
|
|
7976
|
-
const
|
|
7978
|
+
const C2 = {
|
|
7977
7979
|
name: "toast",
|
|
7978
7980
|
tag: "div",
|
|
7979
7981
|
class: "flex flex-col gap-2"
|
|
7980
|
-
},
|
|
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({
|
|
7981
7983
|
__name: "ce-toast",
|
|
7982
7984
|
props: {
|
|
7983
7985
|
position: { default: "right-top" },
|
|
@@ -8007,36 +8009,36 @@ const y2 = {
|
|
|
8007
8009
|
key: 0,
|
|
8008
8010
|
class: x(["fixed z-50 flex flex-col px-4 w-full max-w-[30rem] h-auto", u.value])
|
|
8009
8011
|
}, [
|
|
8010
|
-
i("transition-group",
|
|
8012
|
+
i("transition-group", C2, [
|
|
8011
8013
|
(d(!0), f(X, null, J(r(a), (b) => (d(), f("div", {
|
|
8012
8014
|
key: b.id,
|
|
8013
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]),
|
|
8014
8016
|
onMouseenter: (v) => r(o)(b.id, t.pauseOnHover),
|
|
8015
8017
|
onMouseleave: (v) => r(l)(b.id, b.duration)
|
|
8016
8018
|
}, [
|
|
8017
|
-
i("div",
|
|
8019
|
+
i("div", A2, [
|
|
8018
8020
|
i("img", {
|
|
8019
8021
|
src: r(c)(b.type),
|
|
8020
8022
|
alt: "icone",
|
|
8021
8023
|
width: "36",
|
|
8022
8024
|
height: "36",
|
|
8023
8025
|
class: "w-9 h-9"
|
|
8024
|
-
}, null, 8,
|
|
8026
|
+
}, null, 8, B2)
|
|
8025
8027
|
]),
|
|
8026
|
-
i("div",
|
|
8027
|
-
i("h1",
|
|
8028
|
+
i("div", D2, [
|
|
8029
|
+
i("h1", S2, P(b.title), 1),
|
|
8028
8030
|
i("div", {
|
|
8029
8031
|
class: "text-ce_medium_gray dark:text-ce_light_gray font-normal mt-1 text-xs md:text-sm",
|
|
8030
8032
|
innerHTML: b.message
|
|
8031
|
-
}, null, 8,
|
|
8033
|
+
}, null, 8, $2),
|
|
8032
8034
|
e.showActionButton ? (d(), f("button", {
|
|
8033
8035
|
key: 0,
|
|
8034
8036
|
class: "mt-4 text-[#538F4B] font-semibold text-xs md:text-sm",
|
|
8035
8037
|
type: "button",
|
|
8036
8038
|
onClick: (v) => g.$emit("sendData", b.data)
|
|
8037
|
-
}, P(e.textButton), 9,
|
|
8039
|
+
}, P(e.textButton), 9, V2)) : A("", !0)
|
|
8038
8040
|
]),
|
|
8039
|
-
i("div",
|
|
8041
|
+
i("div", E2, [
|
|
8040
8042
|
i("button", {
|
|
8041
8043
|
type: "button",
|
|
8042
8044
|
onClick: (v) => r(n)(b.id),
|
|
@@ -8047,27 +8049,27 @@ const y2 = {
|
|
|
8047
8049
|
size: "20",
|
|
8048
8050
|
color: " #737373"
|
|
8049
8051
|
}, null, 8, ["name"])
|
|
8050
|
-
], 8,
|
|
8052
|
+
], 8, j2)
|
|
8051
8053
|
])
|
|
8052
|
-
], 42,
|
|
8054
|
+
], 42, M2))), 128))
|
|
8053
8055
|
])
|
|
8054
8056
|
], 2)) : A("", !0);
|
|
8055
8057
|
}
|
|
8056
8058
|
}), Yt = L(!1);
|
|
8057
|
-
function
|
|
8059
|
+
function F2() {
|
|
8058
8060
|
Yt.value = !0;
|
|
8059
8061
|
}
|
|
8060
|
-
function
|
|
8062
|
+
function z2() {
|
|
8061
8063
|
Yt.value = !1;
|
|
8062
8064
|
}
|
|
8063
8065
|
function on() {
|
|
8064
8066
|
return {
|
|
8065
8067
|
exibirLoading: Yt,
|
|
8066
|
-
activateCeLoading:
|
|
8067
|
-
disableCeLoading:
|
|
8068
|
+
activateCeLoading: F2,
|
|
8069
|
+
disableCeLoading: z2
|
|
8068
8070
|
};
|
|
8069
8071
|
}
|
|
8070
|
-
const
|
|
8072
|
+
const T2 = /* @__PURE__ */ Y({
|
|
8071
8073
|
__name: "ce-loading",
|
|
8072
8074
|
props: {
|
|
8073
8075
|
type: { default: "spinner" },
|
|
@@ -8084,17 +8086,17 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8084
8086
|
blur: e.blur
|
|
8085
8087
|
}, null, 8, ["type", "show-loading", "background", "blur"]));
|
|
8086
8088
|
}
|
|
8087
|
-
}), { addCeToast:
|
|
8088
|
-
|
|
8089
|
-
), mc = G(
|
|
8090
|
-
g2
|
|
8091
|
-
), gc = G(
|
|
8092
|
-
V2
|
|
8093
|
-
), vc = G(
|
|
8094
|
-
_a
|
|
8089
|
+
}), { addCeToast: uc, removeCeToast: cc, toasts: fc } = rn(), { activateCeLoading: mc, disableCeLoading: gc } = on(), vc = G(
|
|
8090
|
+
h2
|
|
8095
8091
|
), hc = G(
|
|
8092
|
+
p2
|
|
8093
|
+
), pc = G(
|
|
8096
8094
|
L2
|
|
8097
|
-
),
|
|
8095
|
+
), bc = G(
|
|
8096
|
+
_a
|
|
8097
|
+
), kc = G(
|
|
8098
|
+
T2
|
|
8099
|
+
), H2 = { class: "p-4 flex-1" }, P2 = /* @__PURE__ */ Y({
|
|
8098
8100
|
name: "CeCard",
|
|
8099
8101
|
inheritAttrs: !1,
|
|
8100
8102
|
__name: "ce-card",
|
|
@@ -8174,7 +8176,7 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8174
8176
|
}, [
|
|
8175
8177
|
I(m.$slots, "header", { isMobile: r(n) })
|
|
8176
8178
|
], 2),
|
|
8177
|
-
i("div",
|
|
8179
|
+
i("div", H2, [
|
|
8178
8180
|
I(m.$slots, "default", { isMobile: r(n) })
|
|
8179
8181
|
]),
|
|
8180
8182
|
i("div", {
|
|
@@ -8188,7 +8190,7 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8188
8190
|
_: 3
|
|
8189
8191
|
}, 16, ["class"]));
|
|
8190
8192
|
}
|
|
8191
|
-
}),
|
|
8193
|
+
}), O2 = /* @__PURE__ */ Y({
|
|
8192
8194
|
name: "CeCardHeader",
|
|
8193
8195
|
inheritAttrs: !1,
|
|
8194
8196
|
__name: "ce-card-header",
|
|
@@ -8203,7 +8205,7 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8203
8205
|
_: 3
|
|
8204
8206
|
}, 16));
|
|
8205
8207
|
}
|
|
8206
|
-
}),
|
|
8208
|
+
}), R2 = /* @__PURE__ */ Y({
|
|
8207
8209
|
name: "CeCardText",
|
|
8208
8210
|
inheritAttrs: !1,
|
|
8209
8211
|
__name: "ce-card-text",
|
|
@@ -8218,13 +8220,13 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8218
8220
|
_: 3
|
|
8219
8221
|
}, 16));
|
|
8220
8222
|
}
|
|
8221
|
-
}),
|
|
8223
|
+
}), I2 = {
|
|
8222
8224
|
key: 0,
|
|
8223
8225
|
class: "h-[1px] w-full bg-ce_soft_gray"
|
|
8224
|
-
},
|
|
8226
|
+
}, N2 = {
|
|
8225
8227
|
key: 1,
|
|
8226
8228
|
class: "h-[1px] w-full bg-ce_soft_gray"
|
|
8227
|
-
},
|
|
8229
|
+
}, q2 = /* @__PURE__ */ Y({
|
|
8228
8230
|
__name: "ce-content-divider",
|
|
8229
8231
|
props: {
|
|
8230
8232
|
type: { default: "inline" }
|
|
@@ -8237,12 +8239,12 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8237
8239
|
"bg-ce_white gap-8 h-14": e.type === "highlighted"
|
|
8238
8240
|
}])
|
|
8239
8241
|
}, [
|
|
8240
|
-
e.type != "highlighted" ? (d(), f("hr",
|
|
8242
|
+
e.type != "highlighted" ? (d(), f("hr", I2)) : A("", !0),
|
|
8241
8243
|
I(t.$slots, "default"),
|
|
8242
|
-
e.type != "highlighted" ? (d(), f("hr",
|
|
8244
|
+
e.type != "highlighted" ? (d(), f("hr", N2)) : A("", !0)
|
|
8243
8245
|
], 2));
|
|
8244
8246
|
}
|
|
8245
|
-
}), 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({
|
|
8246
8248
|
__name: "ce-footer",
|
|
8247
8249
|
props: {
|
|
8248
8250
|
variant: { default: "1" },
|
|
@@ -8260,20 +8262,20 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8260
8262
|
key: 0,
|
|
8261
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])
|
|
8262
8264
|
}, [
|
|
8263
|
-
i("div",
|
|
8265
|
+
i("div", U2, [
|
|
8264
8266
|
i("img", {
|
|
8265
8267
|
src: e.background == "green" || r(a) || e.background == "black" ? r(nt) : r($e),
|
|
8266
8268
|
alt: "Comerc Energia",
|
|
8267
8269
|
class: "h-6"
|
|
8268
|
-
}, null, 8,
|
|
8270
|
+
}, null, 8, Z2)
|
|
8269
8271
|
]),
|
|
8270
|
-
i("nav",
|
|
8272
|
+
i("nav", W2, [
|
|
8271
8273
|
(d(!0), f(X, null, J(e.items, (b, v) => (d(), f("button", {
|
|
8272
8274
|
key: v,
|
|
8273
8275
|
type: "button",
|
|
8274
8276
|
onClick: (k) => m(b.path),
|
|
8275
8277
|
class: x(c.value)
|
|
8276
|
-
}, P(b.text), 11,
|
|
8278
|
+
}, P(b.text), 11, X2))), 128))
|
|
8277
8279
|
]),
|
|
8278
8280
|
i("div", {
|
|
8279
8281
|
class: x(["flex flex-col sm:flex-row sm:space-x-2", s.value])
|
|
@@ -8292,7 +8294,7 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8292
8294
|
src: r($e),
|
|
8293
8295
|
alt: "Comerc Energia",
|
|
8294
8296
|
class: "h-8 hidden sm:block"
|
|
8295
|
-
}, null, 8,
|
|
8297
|
+
}, null, 8, Q2),
|
|
8296
8298
|
i("p", {
|
|
8297
8299
|
class: x(s.value)
|
|
8298
8300
|
}, [
|
|
@@ -8303,7 +8305,7 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8303
8305
|
src: r(jt),
|
|
8304
8306
|
alt: "Comerc Energia",
|
|
8305
8307
|
class: "h-8 sm:hidden"
|
|
8306
|
-
}, null, 8,
|
|
8308
|
+
}, null, 8, Y2)
|
|
8307
8309
|
], 2)) : e.variant == "3" ? (d(), f("footer", {
|
|
8308
8310
|
key: 2,
|
|
8309
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])
|
|
@@ -8312,8 +8314,8 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8312
8314
|
src: r($e),
|
|
8313
8315
|
alt: "Comerc Energia",
|
|
8314
8316
|
class: "h-8 hidden sm:block"
|
|
8315
|
-
}, null, 8,
|
|
8316
|
-
i("div",
|
|
8317
|
+
}, null, 8, G2),
|
|
8318
|
+
i("div", J2, [
|
|
8317
8319
|
(d(!0), f(X, null, J(e.socialMedia, (b, v) => (d(), f("a", {
|
|
8318
8320
|
key: v,
|
|
8319
8321
|
href: b.link,
|
|
@@ -8324,13 +8326,13 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8324
8326
|
size: "20",
|
|
8325
8327
|
color: e.background == "green" ? "#fff" : "#737373"
|
|
8326
8328
|
}, null, 8, ["name", "color"])
|
|
8327
|
-
], 8,
|
|
8329
|
+
], 8, K2))), 128))
|
|
8328
8330
|
]),
|
|
8329
8331
|
i("img", {
|
|
8330
8332
|
src: r(jt),
|
|
8331
8333
|
alt: "Comerc Energia",
|
|
8332
8334
|
class: "h-8 sm:hidden"
|
|
8333
|
-
}, null, 8,
|
|
8335
|
+
}, null, 8, _2),
|
|
8334
8336
|
i("p", {
|
|
8335
8337
|
class: x(s.value)
|
|
8336
8338
|
}, [
|
|
@@ -8341,13 +8343,13 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8341
8343
|
key: 3,
|
|
8342
8344
|
class: x([l.value, "w-full h-full p-4 flex items-center flex-col sm:gap-8 sm:py-8"])
|
|
8343
8345
|
}, [
|
|
8344
|
-
i("div",
|
|
8346
|
+
i("div", eu, [
|
|
8345
8347
|
i("img", {
|
|
8346
8348
|
src: e.background == "green" ? r(nt) : r($e),
|
|
8347
8349
|
alt: "Comerc Energia",
|
|
8348
8350
|
class: "h-8"
|
|
8349
|
-
}, null, 8,
|
|
8350
|
-
i("div",
|
|
8351
|
+
}, null, 8, tu),
|
|
8352
|
+
i("div", au, [
|
|
8351
8353
|
N(bt, {
|
|
8352
8354
|
placeholder: "Digite seu email",
|
|
8353
8355
|
modelValue: n.value,
|
|
@@ -8365,7 +8367,7 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8365
8367
|
})
|
|
8366
8368
|
])
|
|
8367
8369
|
]),
|
|
8368
|
-
i("div",
|
|
8370
|
+
i("div", nu, [
|
|
8369
8371
|
i("p", {
|
|
8370
8372
|
class: x(["float-right sm:float-start", s.value])
|
|
8371
8373
|
}, [
|
|
@@ -8381,12 +8383,12 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8381
8383
|
src: r($e),
|
|
8382
8384
|
alt: "Comerc Energia",
|
|
8383
8385
|
class: "h-8 hidden sm:block"
|
|
8384
|
-
}, null, 8,
|
|
8386
|
+
}, null, 8, ru),
|
|
8385
8387
|
i("img", {
|
|
8386
8388
|
src: r(jt),
|
|
8387
8389
|
alt: "Comerc Energia",
|
|
8388
8390
|
class: "h-8 sm:hidden"
|
|
8389
|
-
}, null, 8,
|
|
8391
|
+
}, null, 8, ou),
|
|
8390
8392
|
i("p", {
|
|
8391
8393
|
class: x(["float-right sm:float-start", s.value])
|
|
8392
8394
|
}, [
|
|
@@ -8395,13 +8397,13 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8395
8397
|
], 2)
|
|
8396
8398
|
], 2)) : A("", !0);
|
|
8397
8399
|
}
|
|
8398
|
-
}),
|
|
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 = {
|
|
8399
8401
|
key: 1,
|
|
8400
8402
|
class: "grid grid-rows-[auto_1fr] transition-all duration-300"
|
|
8401
|
-
},
|
|
8403
|
+
}, fu = { class: "h-[93px]" }, mu = {
|
|
8402
8404
|
key: 2,
|
|
8403
8405
|
class: "flex flex-col"
|
|
8404
|
-
},
|
|
8406
|
+
}, gu = { class: "px-4" }, vu = { class: "px-4 mb-3" }, hu = /* @__PURE__ */ Y({
|
|
8405
8407
|
__name: "ce-layout",
|
|
8406
8408
|
props: {
|
|
8407
8409
|
openMenu: { type: Boolean, default: !1 },
|
|
@@ -8414,46 +8416,46 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8414
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]"]),
|
|
8415
8417
|
style: { transition: "grid-template-columns 0.4s ease-out" }
|
|
8416
8418
|
}, [
|
|
8417
|
-
i("div",
|
|
8419
|
+
i("div", su, [
|
|
8418
8420
|
I(t.$slots, "header")
|
|
8419
8421
|
]),
|
|
8420
|
-
i("div",
|
|
8422
|
+
i("div", iu, [
|
|
8421
8423
|
I(t.$slots, "sidebar")
|
|
8422
8424
|
]),
|
|
8423
|
-
i("div",
|
|
8425
|
+
i("div", du, [
|
|
8424
8426
|
I(t.$slots, "content")
|
|
8425
8427
|
]),
|
|
8426
|
-
i("div",
|
|
8428
|
+
i("div", uu, [
|
|
8427
8429
|
I(t.$slots, "footer")
|
|
8428
8430
|
])
|
|
8429
8431
|
], 2)) : A("", !0),
|
|
8430
|
-
e.layout == "minimal" ? (d(), f("div",
|
|
8431
|
-
i("div",
|
|
8432
|
+
e.layout == "minimal" ? (d(), f("div", cu, [
|
|
8433
|
+
i("div", fu, [
|
|
8432
8434
|
I(t.$slots, "header")
|
|
8433
8435
|
]),
|
|
8434
8436
|
I(t.$slots, "content")
|
|
8435
8437
|
])) : A("", !0),
|
|
8436
|
-
e.layout == "base" ? (d(), f("div",
|
|
8438
|
+
e.layout == "base" ? (d(), f("div", mu, [
|
|
8437
8439
|
i("div", null, [
|
|
8438
8440
|
I(t.$slots, "nav")
|
|
8439
8441
|
]),
|
|
8440
|
-
i("div",
|
|
8442
|
+
i("div", gu, [
|
|
8441
8443
|
I(t.$slots, "dividers")
|
|
8442
8444
|
]),
|
|
8443
|
-
i("div",
|
|
8445
|
+
i("div", vu, [
|
|
8444
8446
|
I(t.$slots, "table")
|
|
8445
8447
|
])
|
|
8446
8448
|
])) : A("", !0)
|
|
8447
8449
|
], 64));
|
|
8448
8450
|
}
|
|
8449
|
-
}),
|
|
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({
|
|
8450
8452
|
__name: "ce-section-footer",
|
|
8451
8453
|
props: {
|
|
8452
8454
|
socialMedia: {}
|
|
8453
8455
|
},
|
|
8454
8456
|
setup(e) {
|
|
8455
|
-
return (t, a) => (d(), f("div",
|
|
8456
|
-
i("div",
|
|
8457
|
+
return (t, a) => (d(), f("div", pu, [
|
|
8458
|
+
i("div", bu, [
|
|
8457
8459
|
(d(!0), f(X, null, J(e.socialMedia, (n, o) => (d(), f("a", {
|
|
8458
8460
|
key: o,
|
|
8459
8461
|
href: n.link,
|
|
@@ -8465,16 +8467,16 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8465
8467
|
color: "#fff",
|
|
8466
8468
|
fill: "#fff"
|
|
8467
8469
|
}, null, 8, ["name"])
|
|
8468
|
-
], 8,
|
|
8470
|
+
], 8, ku))), 128))
|
|
8469
8471
|
]),
|
|
8470
8472
|
i("img", {
|
|
8471
8473
|
src: r(nt),
|
|
8472
8474
|
alt: "Comerc Energia",
|
|
8473
8475
|
class: "h-8"
|
|
8474
|
-
}, null, 8,
|
|
8476
|
+
}, null, 8, yu)
|
|
8475
8477
|
]));
|
|
8476
8478
|
}
|
|
8477
|
-
}),
|
|
8479
|
+
}), wu = (e, t) => {
|
|
8478
8480
|
const a = L([]);
|
|
8479
8481
|
Tt(() => {
|
|
8480
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) => {
|
|
@@ -8523,10 +8525,10 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8523
8525
|
},
|
|
8524
8526
|
containerClasses: l
|
|
8525
8527
|
};
|
|
8526
|
-
},
|
|
8528
|
+
}, Cu = { class: "flex gap-2 items-center p-4 text-left focus:outline-none justify-between" }, Mu = ["onClick", "disabled"], Au = {
|
|
8527
8529
|
key: 0,
|
|
8528
8530
|
class: "py-1"
|
|
8529
|
-
},
|
|
8531
|
+
}, Bu = /* @__PURE__ */ Y({
|
|
8530
8532
|
__name: "ce-collapse",
|
|
8531
8533
|
props: {
|
|
8532
8534
|
items: { default: () => [] },
|
|
@@ -8543,7 +8545,7 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8543
8545
|
setup(e, { emit: t }) {
|
|
8544
8546
|
const { modoDarkAplicado: a } = ke(), n = e;
|
|
8545
8547
|
be();
|
|
8546
|
-
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);
|
|
8547
8549
|
return (g, h) => (d(), f("div", {
|
|
8548
8550
|
class: x(r(m))
|
|
8549
8551
|
}, [
|
|
@@ -8556,7 +8558,7 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8556
8558
|
r(u)()
|
|
8557
8559
|
])
|
|
8558
8560
|
}, [
|
|
8559
|
-
i("div",
|
|
8561
|
+
i("div", Cu, [
|
|
8560
8562
|
I(g.$slots, "header", {
|
|
8561
8563
|
item: b,
|
|
8562
8564
|
index: v
|
|
@@ -8572,14 +8574,14 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8572
8574
|
class: x(["w-5 h-5 transition-transform duration-300", { "rotate-180": r(c)(v) }]),
|
|
8573
8575
|
color: r(a) ? "#d6d6d6" : "#141414"
|
|
8574
8576
|
}, null, 8, ["name", "class", "color"])
|
|
8575
|
-
], 8,
|
|
8577
|
+
], 8, Mu)
|
|
8576
8578
|
]),
|
|
8577
8579
|
N(Ie, {
|
|
8578
8580
|
"enter-active-class": "transition-all duration-300 ease-out",
|
|
8579
8581
|
"leave-active-class": "transition-all duration-200 ease-in"
|
|
8580
8582
|
}, {
|
|
8581
8583
|
default: ee(() => [
|
|
8582
|
-
r(c)(v) ? (d(), f("div",
|
|
8584
|
+
r(c)(v) ? (d(), f("div", Au, [
|
|
8583
8585
|
I(g.$slots, "content", {
|
|
8584
8586
|
item: b,
|
|
8585
8587
|
index: v
|
|
@@ -8591,75 +8593,75 @@ const L2 = /* @__PURE__ */ Y({
|
|
|
8591
8593
|
], 2))), 128))
|
|
8592
8594
|
], 2));
|
|
8593
8595
|
}
|
|
8594
|
-
}), { isMobile:
|
|
8595
|
-
|
|
8596
|
-
), kc = G(
|
|
8597
|
-
z2
|
|
8598
|
-
), yc = G(
|
|
8599
|
-
T2
|
|
8600
|
-
), xc = G(
|
|
8601
|
-
H2
|
|
8596
|
+
}), { isMobile: yc } = yt(), xc = G(
|
|
8597
|
+
Bu
|
|
8602
8598
|
), wc = G(
|
|
8603
|
-
|
|
8599
|
+
P2
|
|
8604
8600
|
), Cc = G(
|
|
8605
|
-
|
|
8601
|
+
O2
|
|
8606
8602
|
), Mc = G(
|
|
8607
|
-
|
|
8603
|
+
R2
|
|
8608
8604
|
), Ac = G(
|
|
8609
|
-
|
|
8605
|
+
q2
|
|
8606
|
+
), Bc = G(
|
|
8607
|
+
lu
|
|
8608
|
+
), Dc = G(
|
|
8609
|
+
hu
|
|
8610
|
+
), Sc = G(
|
|
8611
|
+
xu
|
|
8610
8612
|
);
|
|
8611
8613
|
export {
|
|
8612
|
-
|
|
8613
|
-
|
|
8614
|
-
|
|
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
|
-
|
|
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
|
|
8665
8667
|
};
|