@plurix/ecom-components 1.18.0 → 1.18.1
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/dist/packages/Regionalization/components/Navigation.js +24 -22
- package/dist/packages/Regionalization/components/PickupPoint.js +36 -29
- package/dist/packages/Regionalization/views/ConfirmScreen.js +61 -39
- package/dist/packages/Regionalization/views/InitialView.js +48 -32
- package/dist/packages/Regionalization/views/PostalCodeInputScreen.js +36 -34
- package/package.json +1 -1
|
@@ -1,55 +1,57 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { SetViewButton as
|
|
1
|
+
import { jsxs as s, jsx as v } from "react/jsx-runtime";
|
|
2
|
+
import { SetViewButton as w } from "./SetViewButton.js";
|
|
3
3
|
import { ArrowIcon as C } from "../../../assets/svgs/ArrowIcon.js";
|
|
4
4
|
import { useRegionalizationContext as N } from "../context/RegionalizationContext.js";
|
|
5
5
|
import { deliverySetData as V } from "../utils/deliverySetData.js";
|
|
6
6
|
import { pickupSetData as j } from "../utils/pickupSetData.js";
|
|
7
7
|
const F = ({
|
|
8
8
|
moreInfosScreen: a,
|
|
9
|
-
pickuConfirmScreem:
|
|
9
|
+
pickuConfirmScreem: B
|
|
10
10
|
}) => {
|
|
11
11
|
const {
|
|
12
|
-
confirmButton:
|
|
13
|
-
textBackButton:
|
|
12
|
+
confirmButton: x,
|
|
13
|
+
textBackButton: h,
|
|
14
14
|
delivery: e,
|
|
15
15
|
pickup: l,
|
|
16
|
-
pickupAddress:
|
|
16
|
+
pickupAddress: t,
|
|
17
17
|
internalMethod: i,
|
|
18
18
|
regionalizeCatalog: n,
|
|
19
|
-
address:
|
|
20
|
-
deliveryRequestInfos:
|
|
21
|
-
postalCode:
|
|
19
|
+
address: o,
|
|
20
|
+
deliveryRequestInfos: I,
|
|
21
|
+
postalCode: d,
|
|
22
22
|
setMethod: r,
|
|
23
23
|
setCity: c,
|
|
24
24
|
setUf: m,
|
|
25
|
-
setPickupName:
|
|
26
|
-
setPickupTimes:
|
|
27
|
-
pickupTimes:
|
|
28
|
-
setInputPostalCode:
|
|
25
|
+
setPickupName: u,
|
|
26
|
+
setPickupTimes: f,
|
|
27
|
+
pickupTimes: b,
|
|
28
|
+
setInputPostalCode: S
|
|
29
29
|
} = N();
|
|
30
|
-
return /* @__PURE__ */
|
|
31
|
-
/* @__PURE__ */
|
|
32
|
-
|
|
30
|
+
return /* @__PURE__ */ s("div", { className: "container-navigation", children: [
|
|
31
|
+
/* @__PURE__ */ s(
|
|
32
|
+
w,
|
|
33
33
|
{
|
|
34
|
-
view: a ? "InitialView" :
|
|
34
|
+
view: a ? "InitialView" : B ? "AllStoresScreen" : "PostalCodeInputScreen",
|
|
35
35
|
className: "back-button",
|
|
36
|
+
"data-testid": "back-button",
|
|
36
37
|
children: [
|
|
37
38
|
/* @__PURE__ */ v("span", { children: /* @__PURE__ */ v(C, { color: "var(--color-main)" }) }),
|
|
38
|
-
|
|
39
|
+
h
|
|
39
40
|
]
|
|
40
41
|
}
|
|
41
42
|
),
|
|
42
43
|
/* @__PURE__ */ v(
|
|
43
|
-
|
|
44
|
+
w,
|
|
44
45
|
{
|
|
45
46
|
view: "InitialView",
|
|
46
47
|
closeModal: !a,
|
|
47
48
|
className: "continue-button",
|
|
49
|
+
"data-testid": "continue-button",
|
|
48
50
|
onClick: () => {
|
|
49
|
-
var
|
|
50
|
-
r == null || r(i), i === "delivery" && (V(
|
|
51
|
+
var p;
|
|
52
|
+
r == null || r(i), i === "delivery" && (V(o, I, d), c == null || c(o == null ? void 0 : o.localidade), m == null || m(o == null ? void 0 : o.uf), n == null || n(d)), i === "pickup-in-point" && (S(((p = t == null ? void 0 : t.address) == null ? void 0 : p.postalCode) || ""), j(t, b), u == null || u(t == null ? void 0 : t.name), f == null || f(b), n == null || n(t == null ? void 0 : t.address.postalCode));
|
|
51
53
|
},
|
|
52
|
-
children: a ?
|
|
54
|
+
children: a ? x : i === "delivery" ? e == null ? void 0 : e.confirmButton : l == null ? void 0 : l.confirmButton
|
|
53
55
|
}
|
|
54
56
|
)
|
|
55
57
|
] });
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { SetViewButton as
|
|
3
|
-
import { useRegionalizationContext as
|
|
4
|
-
const
|
|
5
|
-
const { pickup:
|
|
6
|
-
return m ? /* @__PURE__ */
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
/* @__PURE__ */
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { SetViewButton as a } from "./SetViewButton.js";
|
|
3
|
+
import { useRegionalizationContext as l } from "../context/RegionalizationContext.js";
|
|
4
|
+
const f = ({ pickupPointInfos: c }) => {
|
|
5
|
+
const { pickup: t, setPickupAddress: o, setInternalMethod: n } = l(), { isActive: m, name: p, address: i } = c;
|
|
6
|
+
return m ? /* @__PURE__ */ e(
|
|
7
|
+
"div",
|
|
8
|
+
{
|
|
9
|
+
className: "store-container",
|
|
10
|
+
"data-testid": `pickup-point-container-${p}`,
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ r("h3", { "data-testid": "pickup-point-name", children: p }),
|
|
13
|
+
/* @__PURE__ */ e("div", { children: [
|
|
14
|
+
/* @__PURE__ */ e("p", { "data-testid": "pickup-point-address", children: [
|
|
15
|
+
i == null ? void 0 : i.street,
|
|
16
|
+
", ",
|
|
17
|
+
i == null ? void 0 : i.number,
|
|
18
|
+
/* @__PURE__ */ r("br", {}),
|
|
19
|
+
i == null ? void 0 : i.neighborhood
|
|
20
|
+
] }),
|
|
21
|
+
/* @__PURE__ */ r(
|
|
22
|
+
a,
|
|
23
|
+
{
|
|
24
|
+
view: "ConfirmScreen",
|
|
25
|
+
className: "choose-store",
|
|
26
|
+
onClick: () => {
|
|
27
|
+
n == null || n("pickup-in-point"), o == null || o(c);
|
|
28
|
+
},
|
|
29
|
+
children: t == null ? void 0 : t.chooseStore
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
] })
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
) : null;
|
|
29
36
|
};
|
|
30
37
|
export {
|
|
31
|
-
|
|
38
|
+
f as PickupPoint
|
|
32
39
|
};
|
|
@@ -1,49 +1,71 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Title as
|
|
3
|
-
import { SetViewButton as
|
|
4
|
-
import { InfoPrices as
|
|
5
|
-
import { Navigation as
|
|
6
|
-
import { Delivery as
|
|
7
|
-
import { useRegionalizationContext as
|
|
8
|
-
const
|
|
1
|
+
import { jsxs as d, Fragment as s, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { Title as b } from "../components/Title.js";
|
|
3
|
+
import { SetViewButton as f } from "../components/SetViewButton.js";
|
|
4
|
+
import { InfoPrices as y } from "../components/InfoPrices.js";
|
|
5
|
+
import { Navigation as g } from "../components/Navigation.js";
|
|
6
|
+
import { Delivery as v } from "../components/Delivery.js";
|
|
7
|
+
import { useRegionalizationContext as C } from "../context/RegionalizationContext.js";
|
|
8
|
+
const w = () => {
|
|
9
9
|
const {
|
|
10
|
-
editAddress:
|
|
10
|
+
editAddress: c,
|
|
11
11
|
delivery: i,
|
|
12
12
|
pickup: e,
|
|
13
|
-
address:
|
|
14
|
-
pickupAddress:
|
|
15
|
-
internalMethod:
|
|
16
|
-
pickupTimes:
|
|
17
|
-
pickupConfirmScreenText:
|
|
18
|
-
} =
|
|
19
|
-
return /* @__PURE__ */
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
-
|
|
13
|
+
address: r,
|
|
14
|
+
pickupAddress: t,
|
|
15
|
+
internalMethod: n,
|
|
16
|
+
pickupTimes: l,
|
|
17
|
+
pickupConfirmScreenText: o
|
|
18
|
+
} = C(), m = `Retiradas entre ${(l == null ? void 0 : l.openingTime) || "08"}h e ${(l == null ? void 0 : l.closingTime) || "20"}h, ou agendada`, h = o && o !== "" ? o : m;
|
|
19
|
+
return /* @__PURE__ */ d(s, { children: [
|
|
20
|
+
/* @__PURE__ */ a(
|
|
21
|
+
b,
|
|
22
22
|
{
|
|
23
|
-
title:
|
|
23
|
+
title: n === "delivery" ? i == null ? void 0 : i.titleOk : e == null ? void 0 : e.titleOk
|
|
24
24
|
}
|
|
25
25
|
),
|
|
26
|
-
/* @__PURE__ */
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
|
|
26
|
+
/* @__PURE__ */ d("div", { className: "address-container", children: [
|
|
27
|
+
/* @__PURE__ */ d("p", { className: "address-title", children: [
|
|
28
|
+
/* @__PURE__ */ a("span", { "data-testid": "address-label-type", children: n === "delivery" ? i == null ? void 0 : i.labelAddress : e == null ? void 0 : e.labelAddress }),
|
|
29
|
+
n === "delivery" && /* @__PURE__ */ a(
|
|
30
|
+
f,
|
|
31
|
+
{
|
|
32
|
+
view: "PostalCodeInputScreen",
|
|
33
|
+
className: "edit-button",
|
|
34
|
+
"data-testid": "address-label-type",
|
|
35
|
+
children: c
|
|
36
|
+
}
|
|
37
|
+
)
|
|
30
38
|
] }),
|
|
31
|
-
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
/* @__PURE__ */
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
n === "delivery" ? /* @__PURE__ */ d(s, { children: [
|
|
40
|
+
/* @__PURE__ */ a("span", { "data-testid": "address-label-zip-code", children: r == null ? void 0 : r.cep }),
|
|
41
|
+
/* @__PURE__ */ a(
|
|
42
|
+
"span",
|
|
43
|
+
{
|
|
44
|
+
className: "address-delivery",
|
|
45
|
+
"data-testid": "address-label-city-country",
|
|
46
|
+
children: (r == null ? void 0 : r.logradouro) || (r == null ? void 0 : r.localidade)
|
|
47
|
+
}
|
|
48
|
+
)
|
|
49
|
+
] }) : /* @__PURE__ */ d(s, { children: [
|
|
50
|
+
/* @__PURE__ */ a("span", { "data-testid": "address-label-name", children: t == null ? void 0 : t.name }),
|
|
51
|
+
/* @__PURE__ */ d(
|
|
52
|
+
"p",
|
|
53
|
+
{
|
|
54
|
+
className: "address-pickup",
|
|
55
|
+
"data-testid": "address-label-street-address",
|
|
56
|
+
children: [
|
|
57
|
+
t == null ? void 0 : t.address.street,
|
|
58
|
+
", ",
|
|
59
|
+
t == null ? void 0 : t.address.number,
|
|
60
|
+
/* @__PURE__ */ a("br", {}),
|
|
61
|
+
t == null ? void 0 : t.address.neighborhood
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
)
|
|
43
65
|
] })
|
|
44
66
|
] }),
|
|
45
|
-
|
|
46
|
-
|
|
67
|
+
n === "delivery" ? /* @__PURE__ */ a(v, { delivery: i, containerClassName: "delivery-container" }) : /* @__PURE__ */ a(
|
|
68
|
+
y,
|
|
47
69
|
{
|
|
48
70
|
containerClassName: "pickup-container",
|
|
49
71
|
priceClassName: "pickup-price",
|
|
@@ -52,9 +74,9 @@ const I = () => {
|
|
|
52
74
|
scheduling: h
|
|
53
75
|
}
|
|
54
76
|
),
|
|
55
|
-
/* @__PURE__ */
|
|
77
|
+
/* @__PURE__ */ a(g, { pickuConfirmScreem: n !== "delivery" })
|
|
56
78
|
] });
|
|
57
79
|
};
|
|
58
80
|
export {
|
|
59
|
-
|
|
81
|
+
w as ConfirmScreen
|
|
60
82
|
};
|
|
@@ -1,49 +1,65 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as e, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect as p } from "react";
|
|
3
|
-
import { Title as
|
|
4
|
-
import { SetViewButton as
|
|
5
|
-
import { ArrowIcon as
|
|
3
|
+
import { Title as d } from "../components/Title.js";
|
|
4
|
+
import { SetViewButton as t } from "../components/SetViewButton.js";
|
|
5
|
+
import { ArrowIcon as f } from "../../../assets/svgs/ArrowIcon.js";
|
|
6
6
|
import { ShoppingBagsIcon as h } from "../../../assets/svgs/ShoppingBagsIcon.js";
|
|
7
7
|
import { ShoppingIcon as v } from "../../../assets/svgs/ShoppingIcon.js";
|
|
8
|
-
import { useRegionalizationContext as
|
|
9
|
-
import { formatPrice as
|
|
10
|
-
const
|
|
8
|
+
import { useRegionalizationContext as u } from "../context/RegionalizationContext.js";
|
|
9
|
+
import { formatPrice as I } from "../utils/formatPrice.js";
|
|
10
|
+
const y = () => {
|
|
11
11
|
const {
|
|
12
12
|
titleText: c,
|
|
13
13
|
moreInfosText: a,
|
|
14
|
-
deliveryPrice:
|
|
14
|
+
deliveryPrice: s,
|
|
15
15
|
priceStockInformation: l,
|
|
16
|
-
backToDelivery:
|
|
16
|
+
backToDelivery: n,
|
|
17
17
|
setBackToDelivery: r,
|
|
18
18
|
status: o,
|
|
19
|
-
setStatus:
|
|
20
|
-
} =
|
|
19
|
+
setStatus: m
|
|
20
|
+
} = u();
|
|
21
21
|
return p(() => {
|
|
22
|
-
|
|
23
|
-
}, [
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
/* @__PURE__ */
|
|
26
|
-
/* @__PURE__ */
|
|
22
|
+
n && (r == null || r(!1)), (o == null ? void 0 : o.status) === "failed" && m({});
|
|
23
|
+
}, [n, o]), /* @__PURE__ */ e("div", { className: "inital-view-container", children: [
|
|
24
|
+
/* @__PURE__ */ i(d, { title: c }),
|
|
25
|
+
/* @__PURE__ */ i("p", { className: "price-stock-information", children: l }),
|
|
26
|
+
/* @__PURE__ */ e(t, { view: "MoreInfosScreen", className: "more-infos-button", children: [
|
|
27
27
|
a,
|
|
28
|
-
/* @__PURE__ */
|
|
28
|
+
/* @__PURE__ */ i("span", { children: /* @__PURE__ */ i(f, { color: "var(--color-main)" }) })
|
|
29
29
|
] }),
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
/* @__PURE__ */
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
30
|
+
/* @__PURE__ */ e("div", { className: "delivery-option-container", children: [
|
|
31
|
+
/* @__PURE__ */ e(
|
|
32
|
+
t,
|
|
33
|
+
{
|
|
34
|
+
view: "PostalCodeInputScreen",
|
|
35
|
+
className: "option",
|
|
36
|
+
"data-testid": "delivery-options",
|
|
37
|
+
children: [
|
|
38
|
+
/* @__PURE__ */ i(h, {}),
|
|
39
|
+
/* @__PURE__ */ i("h4", { children: "Receber em casa" }),
|
|
40
|
+
/* @__PURE__ */ e("p", { children: [
|
|
41
|
+
" A partir de ",
|
|
42
|
+
I(s || 0)
|
|
43
|
+
] })
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
),
|
|
47
|
+
/* @__PURE__ */ e(
|
|
48
|
+
t,
|
|
49
|
+
{
|
|
50
|
+
view: "PickupPointInfoScreen",
|
|
51
|
+
className: "option",
|
|
52
|
+
"data-testid": "pickup-options",
|
|
53
|
+
children: [
|
|
54
|
+
/* @__PURE__ */ i(v, {}),
|
|
55
|
+
/* @__PURE__ */ i("h4", { children: "Retirar na Loja" }),
|
|
56
|
+
/* @__PURE__ */ i("p", { children: " Grátis" })
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
)
|
|
44
60
|
] })
|
|
45
61
|
] });
|
|
46
62
|
};
|
|
47
63
|
export {
|
|
48
|
-
|
|
64
|
+
y as InitialView
|
|
49
65
|
};
|
|
@@ -1,74 +1,76 @@
|
|
|
1
|
-
import { jsx as n, Fragment as f, jsxs as
|
|
1
|
+
import { jsx as n, Fragment as f, jsxs as r } from "react/jsx-runtime";
|
|
2
2
|
import { Title as g } from "../components/Title.js";
|
|
3
3
|
import { SetViewButton as s } from "../components/SetViewButton.js";
|
|
4
4
|
import { InfoPrices as k } from "../components/InfoPrices.js";
|
|
5
|
-
import { ShoppingIcon as
|
|
6
|
-
import { WarningIcon as
|
|
7
|
-
import { ArrowIcon as
|
|
8
|
-
import { useRegionalizationContext as
|
|
9
|
-
import { postalCodeMask as
|
|
5
|
+
import { ShoppingIcon as u } from "../../../assets/svgs/ShoppingIcon.js";
|
|
6
|
+
import { WarningIcon as N } from "../../../assets/svgs/WarningIcon.js";
|
|
7
|
+
import { ArrowIcon as b } from "../../../assets/svgs/ArrowIcon.js";
|
|
8
|
+
import { useRegionalizationContext as w } from "../context/RegionalizationContext.js";
|
|
9
|
+
import { postalCodeMask as x } from "../utils/postalCode.js";
|
|
10
10
|
const T = () => {
|
|
11
11
|
const {
|
|
12
12
|
delivery: e,
|
|
13
|
-
status:
|
|
14
|
-
postalCodeValidation:
|
|
13
|
+
status: o,
|
|
14
|
+
postalCodeValidation: c,
|
|
15
15
|
setInputPostalCode: m,
|
|
16
16
|
postalCode: p,
|
|
17
|
-
deliveryPrice:
|
|
18
|
-
textBackButton:
|
|
19
|
-
pickup:
|
|
17
|
+
deliveryPrice: d,
|
|
18
|
+
textBackButton: h,
|
|
19
|
+
pickup: i,
|
|
20
20
|
setBackToDelivery: a
|
|
21
|
-
} =
|
|
22
|
-
return /* @__PURE__ */ n(f, { children: /* @__PURE__ */ n("div", { className: "delivery-pickup-container", children: /* @__PURE__ */
|
|
21
|
+
} = w(), l = (o == null ? void 0 : o.status) === "failed";
|
|
22
|
+
return /* @__PURE__ */ n(f, { children: /* @__PURE__ */ n("div", { className: "delivery-pickup-container", children: /* @__PURE__ */ r("div", { className: "content-container", children: [
|
|
23
23
|
/* @__PURE__ */ n(g, { title: l ? "Tente outro CEP" : e == null ? void 0 : e.title }),
|
|
24
|
-
l ? /* @__PURE__ */
|
|
25
|
-
/* @__PURE__ */ n(
|
|
26
|
-
/* @__PURE__ */ n("span", { className: "warning-text", children:
|
|
24
|
+
l ? /* @__PURE__ */ r("div", { className: "warning-container", children: [
|
|
25
|
+
/* @__PURE__ */ n(N, {}),
|
|
26
|
+
/* @__PURE__ */ n("span", { className: "warning-text", children: o == null ? void 0 : o.message })
|
|
27
27
|
] }) : /* @__PURE__ */ n(
|
|
28
28
|
k,
|
|
29
29
|
{
|
|
30
30
|
containerClassName: "delivery-container",
|
|
31
31
|
priceClassName: "info-price",
|
|
32
32
|
labelPrice: e == null ? void 0 : e.labelPrice,
|
|
33
|
-
price:
|
|
33
|
+
price: d
|
|
34
34
|
}
|
|
35
35
|
),
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
-
/* @__PURE__ */
|
|
36
|
+
/* @__PURE__ */ r("div", { className: "postal-code-container", children: [
|
|
37
|
+
/* @__PURE__ */ r("div", { className: "postal-code-container-action", children: [
|
|
38
38
|
/* @__PURE__ */ n(
|
|
39
39
|
"input",
|
|
40
40
|
{
|
|
41
|
-
|
|
41
|
+
"data-testid": "postal-code-input",
|
|
42
|
+
onKeyDown: (t) => t.key === "Enter" && (c == null ? void 0 : c()),
|
|
42
43
|
type: "text",
|
|
43
|
-
onChange: (
|
|
44
|
+
onChange: (t) => m(t.target.value),
|
|
44
45
|
maxLength: 9,
|
|
45
46
|
placeholder: p || "00000-000",
|
|
46
|
-
onKeyUp:
|
|
47
|
+
onKeyUp: x
|
|
47
48
|
}
|
|
48
49
|
),
|
|
49
50
|
/* @__PURE__ */ n(
|
|
50
51
|
"button",
|
|
51
52
|
{
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
"data-testid": "postal-code-button",
|
|
54
|
+
onKeyDown: (t) => t.key === "Enter" && (c == null ? void 0 : c()),
|
|
55
|
+
onClick: () => c == null ? void 0 : c(),
|
|
56
|
+
disabled: o == null ? void 0 : o.loading,
|
|
57
|
+
children: o != null && o.loading ? o.message : e == null ? void 0 : e.searchButton
|
|
56
58
|
}
|
|
57
59
|
)
|
|
58
60
|
] }),
|
|
59
61
|
/* @__PURE__ */ n("a", { href: e == null ? void 0 : e.linkHref, target: "_blank", className: "", children: e == null ? void 0 : e.linkText }),
|
|
60
|
-
l && /* @__PURE__ */
|
|
62
|
+
l && /* @__PURE__ */ r("div", { className: "postal-code-container-pickup", children: [
|
|
61
63
|
/* @__PURE__ */ n("label", { children: "Você pode escolhes retirar na loja" }),
|
|
62
|
-
/* @__PURE__ */
|
|
64
|
+
/* @__PURE__ */ r(
|
|
63
65
|
s,
|
|
64
66
|
{
|
|
65
67
|
onClick: () => a == null ? void 0 : a(!0),
|
|
66
68
|
view: "PickupPointInfoScreen",
|
|
67
69
|
className: "postal-code-container-pickup-select",
|
|
68
70
|
children: [
|
|
69
|
-
/* @__PURE__ */ n(
|
|
70
|
-
/* @__PURE__ */
|
|
71
|
-
/* @__PURE__ */ n("h4", { children:
|
|
71
|
+
/* @__PURE__ */ n(u, {}),
|
|
72
|
+
/* @__PURE__ */ r("div", { className: "postal-code-container-pickup-select-informative", children: [
|
|
73
|
+
/* @__PURE__ */ n("h4", { children: i == null ? void 0 : i.title }),
|
|
72
74
|
/* @__PURE__ */ n("p", { children: " Grátis" })
|
|
73
75
|
] })
|
|
74
76
|
]
|
|
@@ -76,9 +78,9 @@ const T = () => {
|
|
|
76
78
|
)
|
|
77
79
|
] })
|
|
78
80
|
] }),
|
|
79
|
-
/* @__PURE__ */
|
|
80
|
-
/* @__PURE__ */ n("span", { children: /* @__PURE__ */ n(
|
|
81
|
-
|
|
81
|
+
/* @__PURE__ */ r(s, { view: "InitialView", className: "back-button", children: [
|
|
82
|
+
/* @__PURE__ */ n("span", { children: /* @__PURE__ */ n(b, { color: "var(--color-main)" }) }),
|
|
83
|
+
h
|
|
82
84
|
] })
|
|
83
85
|
] }) }) });
|
|
84
86
|
};
|