@lanaco/lnc-react-ui 4.0.86 → 4.0.87
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/BannerSectionBasic.cjs +1 -1
- package/dist/BannerSectionBasic.js +1 -1
- package/dist/BannerSectionCarousel.cjs +1 -1
- package/dist/BannerSectionCarousel.js +2 -2
- package/dist/BannerSectionGrid.cjs +1 -1
- package/dist/BannerSectionGrid.js +3 -3
- package/dist/BannerSectionSimple.cjs +1 -1
- package/dist/BannerSectionSimple.js +2 -2
- package/dist/BannerSectionWithList.cjs +1 -1
- package/dist/BannerSectionWithList.js +1 -1
- package/dist/BannerSectionWithListImage.cjs +1 -1
- package/dist/BannerSectionWithListImage.js +1 -1
- package/dist/BlogCardsSponsoredSection.cjs +1 -1
- package/dist/BlogCardsSponsoredSection.js +2 -2
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +2 -2
- package/dist/BlogListSection.cjs +1 -1
- package/dist/BlogListSection.js +1 -1
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +2 -2
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +2 -2
- package/dist/BlogSingleSection.cjs +1 -1
- package/dist/BlogSingleSection.js +2 -2
- package/dist/BlogsSectionDetailed.cjs +1 -1
- package/dist/BlogsSectionDetailed.js +3 -3
- package/dist/BlogsSectionLarge.cjs +1 -1
- package/dist/BlogsSectionLarge.js +4 -4
- package/dist/BlogsSectionSimple.cjs +1 -1
- package/dist/BlogsSectionSimple.js +3 -3
- package/dist/BlogsSectionSimpleCentered.cjs +1 -1
- package/dist/BlogsSectionSimpleCentered.js +2 -2
- package/dist/BlogsSectionWithFilters.cjs +2 -2
- package/dist/BlogsSectionWithFilters.js +33 -31
- package/dist/BrandHitsSection.cjs +1 -1
- package/dist/BrandHitsSection.js +1 -1
- package/dist/CalorieCalculatorSection.cjs +1 -1
- package/dist/CalorieCalculatorSection.js +1 -1
- package/dist/CustomLoanMapSection.cjs +3 -3
- package/dist/CustomLoanMapSection.js +96 -36
- package/dist/DetailedProductsSection.cjs +3 -3
- package/dist/DetailedProductsSection.js +25 -23
- package/dist/FieldOfInterestsMasonrySection.cjs +1 -1
- package/dist/FieldOfInterestsMasonrySection.js +1 -1
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +1 -1
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +11 -11
- package/dist/FieldOfInterestsWithTagsCardsSection.js +55 -53
- package/dist/GeneralWithTagsCardsSection.cjs +3 -5
- package/dist/GeneralWithTagsCardsSection.js +7 -9
- package/dist/GiftCardsSection.cjs +1 -1
- package/dist/GiftCardsSection.js +3 -3
- package/dist/LoanCalculatorSection.cjs +106 -4
- package/dist/LoanCalculatorSection.js +505 -350
- package/dist/LocationFinderSection.cjs +1 -1
- package/dist/LocationFinderSection.js +1 -1
- package/dist/LocationSearchSection.cjs +4 -4
- package/dist/LocationSearchSection.js +18 -16
- package/dist/MasonryGeneralCardsSection.cjs +1 -1
- package/dist/MasonryGeneralCardsSection.js +1 -1
- package/dist/OverlayGeneralCardsSection.cjs +1 -1
- package/dist/OverlayGeneralCardsSection.js +2 -2
- package/dist/ProductsWithBannerSection.cjs +1 -1
- package/dist/ProductsWithBannerSection.js +3 -3
- package/dist/QuizSection.cjs +1 -1
- package/dist/QuizSection.js +1 -1
- package/dist/ReviewsSection.cjs +1 -1
- package/dist/ReviewsSection.js +2 -2
- package/dist/SalesCampaignsSection.cjs +1 -1
- package/dist/SalesCampaignsSection.js +2 -2
- package/dist/SeparatorSection.cjs +1 -1
- package/dist/SeparatorSection.js +1 -1
- package/dist/ShopCardsSection.cjs +1 -1
- package/dist/ShopCardsSection.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +1 -1
- package/dist/SimpleCategoriesSection.js +4 -4
- package/dist/SimpleProductsSection.cjs +1 -1
- package/dist/SimpleProductsSection.js +3 -3
- package/dist/UrgentSaleProductsSection.cjs +12 -6
- package/dist/UrgentSaleProductsSection.js +32 -26
- package/dist/consts-BuFChS64.js +7 -0
- package/dist/consts-goSZX3xP.cjs +1 -0
- package/dist/{index-BxlCwYfi.cjs → index-BaLBHyTh.cjs} +1 -1
- package/dist/{index-C7iutNsj.cjs → index-Ccw8sLnK.cjs} +1 -1
- package/dist/{index-CpuLfTNK.js → index-CsrdUl1x.js} +1 -1
- package/dist/{index-CWAifrDS.cjs → index-Cx4KvZ9L.cjs} +1 -1
- package/dist/{index-rYeYJwuL.cjs → index-DG7qQq8L.cjs} +1 -1
- package/dist/{index-DmuZIVnC.js → index-Db8wvLXS.js} +2 -2
- package/dist/{index-BpS5mEUu.js → index-Yh18uk_f.js} +2 -2
- package/dist/{index-B5bRol0l.js → index-iSD5jNBk.js} +2 -2
- package/dist/{skeleton-BRWiMY6b.cjs → skeleton-BBSBZ4JV.cjs} +1 -1
- package/dist/{skeleton-DhXNRCfI.js → skeleton-DALCB1S7.js} +1 -1
- package/dist/{style-OPSfrtFm.cjs → style-BTTXJFJN.cjs} +1 -1
- package/dist/{style-CsMpu4iC.js → style-sLF37aOA.js} +1 -1
- package/dist/{style-DOKM5cZi.js → style-tw6KjI2J.js} +1 -1
- package/dist/{style-C571ywKV.cjs → style-xvwWn3Zv.cjs} +1 -1
- package/dist/{suspense-categories-card-simple-D-tE8xV6.cjs → suspense-categories-card-simple-5JZtz7wj.cjs} +1 -1
- package/dist/{suspense-categories-card-simple-BmmCOsc0.js → suspense-categories-card-simple-BTFqzXyn.js} +1 -1
- package/dist/{suspense-large-Buu1428e.cjs → suspense-large-BtfvnzWh.cjs} +1 -1
- package/dist/{suspense-large-iKRJJlJv.js → suspense-large-DFlSJhGG.js} +1 -1
- package/dist/{suspense-product-card-detailed-J2a9wi6Z.js → suspense-product-card-detailed-CwdbxJrY.js} +1 -1
- package/dist/{suspense-product-card-detailed-CwUN6A-L.cjs → suspense-product-card-detailed-DBNlkFiP.cjs} +1 -1
- package/dist/{useDetectMobile-BC6EGaBc.js → useDetectMobile-Bkvj0VMa.js} +1 -1
- package/dist/{useDetectMobile-D6d5LpdL.cjs → useDetectMobile-zkbzoOGV.cjs} +1 -1
- package/package.json +1 -1
- package/dist/consts-C1uHV4xc.js +0 -6
- package/dist/consts-CtNoHdBj.cjs +0 -1
- package/dist/index-B69VVFyo.js +0 -164
- package/dist/index-ZR5ws_qw.cjs +0 -103
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs as n, jsx as t, Fragment as h } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as u, Suspense as
|
|
2
|
+
import { forwardRef as u, Suspense as P, memo as z, useMemo as A } from "react";
|
|
3
3
|
import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { M as S } from "./consts-
|
|
5
|
-
import { u as I } from "./useDetectMobile-
|
|
6
|
-
import { m as g, t as
|
|
7
|
-
import { T as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { P as
|
|
11
|
-
import { S as
|
|
12
|
-
const
|
|
4
|
+
import { M as S } from "./consts-BuFChS64.js";
|
|
5
|
+
import { u as I } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
+
import { m as g, t as O, k as w } from "./utils-BE-UlkKf.js";
|
|
7
|
+
import { T as R } from "./style-sLF37aOA.js";
|
|
8
|
+
import j from "./Button.js";
|
|
9
|
+
import E from "./Link.js";
|
|
10
|
+
import { P as F } from "./index-Ca38iPjf.js";
|
|
11
|
+
import { S as L } from "./index-Db8wvLXS.js";
|
|
12
|
+
const U = f.div`
|
|
13
13
|
display: grid;
|
|
14
14
|
grid-template-columns: ${(i) => `repeat(${i.limit}, minmax(0, 1fr))`};
|
|
15
15
|
gap: 1.25rem;
|
|
@@ -86,45 +86,45 @@ const L = f.div`
|
|
|
86
86
|
font-weight: 400;
|
|
87
87
|
font-size: 0.875rem;
|
|
88
88
|
color: var(--gray-700, #4e555f);
|
|
89
|
-
${
|
|
89
|
+
${O(3)}
|
|
90
90
|
}
|
|
91
|
-
`,
|
|
91
|
+
`, _ = u((i, l) => {
|
|
92
92
|
const { title: o, imageUrl: m, text: r, buttonText: c, onCardClick: a } = i;
|
|
93
93
|
return /* @__PURE__ */ n(C, { ref: l, className: "blog-card", onClick: a, children: [
|
|
94
94
|
/* @__PURE__ */ n(N, { children: [
|
|
95
95
|
/* @__PURE__ */ t("div", { className: "text-wr-title", children: o }),
|
|
96
96
|
/* @__PURE__ */ t("div", { className: "text-wr", children: r }),
|
|
97
|
-
/* @__PURE__ */ t(
|
|
97
|
+
/* @__PURE__ */ t(E, { color: "gray", onClick: a, children: c })
|
|
98
98
|
] }),
|
|
99
|
-
/* @__PURE__ */ t(
|
|
99
|
+
/* @__PURE__ */ t(F, { src: m })
|
|
100
100
|
] });
|
|
101
|
-
}),
|
|
101
|
+
}), D = u(({}, i) => /* @__PURE__ */ n(C, { className: "blog-card", children: [
|
|
102
102
|
/* @__PURE__ */ n(N, { children: [
|
|
103
103
|
/* @__PURE__ */ t("div", { className: "skeleton-title" }),
|
|
104
104
|
/* @__PURE__ */ t("div", { className: "text-wr" }),
|
|
105
105
|
/* @__PURE__ */ t("div", { className: "skeleton-action" })
|
|
106
106
|
] }),
|
|
107
107
|
/* @__PURE__ */ t("div", { className: "skeleton-img" })
|
|
108
|
-
] })),
|
|
109
|
-
|
|
108
|
+
] })), G = ({ limit: i = 3, isLoading: l = !1, keyPrefix: o }) => /* @__PURE__ */ t(h, { children: Array.from({ length: i }, (m, r) => /* @__PURE__ */ t(
|
|
109
|
+
D,
|
|
110
110
|
{
|
|
111
111
|
isLoading: l
|
|
112
112
|
},
|
|
113
113
|
`${o}-skeleton-product-card-${r}`
|
|
114
|
-
)) }),
|
|
114
|
+
)) }), H = ({
|
|
115
115
|
children: i,
|
|
116
116
|
fallbackComponent: l = /* @__PURE__ */ t(h, {}),
|
|
117
117
|
isLoading: o = !1,
|
|
118
118
|
limit: m,
|
|
119
119
|
keyPrefix: r
|
|
120
|
-
}) => /* @__PURE__ */ t(
|
|
121
|
-
|
|
120
|
+
}) => /* @__PURE__ */ t(P, { fallbackComponent: l, children: o === !0 ? /* @__PURE__ */ t(
|
|
121
|
+
G,
|
|
122
122
|
{
|
|
123
123
|
isLoading: o,
|
|
124
124
|
limit: m,
|
|
125
125
|
keyPrefix: r
|
|
126
126
|
}
|
|
127
|
-
) : i }), y =
|
|
127
|
+
) : i }), y = z(_), ie = u((i, l) => {
|
|
128
128
|
const {
|
|
129
129
|
icon: o,
|
|
130
130
|
title: m,
|
|
@@ -142,8 +142,9 @@ const L = f.div`
|
|
|
142
142
|
},
|
|
143
143
|
isLoading: W = !1,
|
|
144
144
|
onSelectCard: s = () => {
|
|
145
|
-
}
|
|
146
|
-
|
|
145
|
+
},
|
|
146
|
+
productsToolbarName: x = "All"
|
|
147
|
+
} = i, v = I(), M = A(() => /* @__PURE__ */ t(h, { children: v === !0 ? r == null ? void 0 : r.map((e, p) => /* @__PURE__ */ t(
|
|
147
148
|
y,
|
|
148
149
|
{
|
|
149
150
|
title: e == null ? void 0 : e.title,
|
|
@@ -164,14 +165,14 @@ const L = f.div`
|
|
|
164
165
|
},
|
|
165
166
|
p
|
|
166
167
|
)) }), [r, v, a, s]);
|
|
167
|
-
return /* @__PURE__ */ n(
|
|
168
|
+
return /* @__PURE__ */ n(R, { ref: l, children: [
|
|
168
169
|
/* @__PURE__ */ n("div", { className: "regular-title", children: [
|
|
169
170
|
/* @__PURE__ */ n("div", { className: "regular-title-text", children: [
|
|
170
171
|
w(o) && /* @__PURE__ */ t("i", { className: o }),
|
|
171
172
|
/* @__PURE__ */ t("span", { children: m })
|
|
172
173
|
] }),
|
|
173
174
|
w(b) && /* @__PURE__ */ t(
|
|
174
|
-
|
|
175
|
+
j,
|
|
175
176
|
{
|
|
176
177
|
type: "button",
|
|
177
178
|
btnType: "tinted",
|
|
@@ -183,7 +184,7 @@ const L = f.div`
|
|
|
183
184
|
)
|
|
184
185
|
] }),
|
|
185
186
|
(d == null ? void 0 : d.length) > 0 && /* @__PURE__ */ t(
|
|
186
|
-
|
|
187
|
+
L,
|
|
187
188
|
{
|
|
188
189
|
items: d,
|
|
189
190
|
selectedIds: T,
|
|
@@ -196,20 +197,21 @@ const L = f.div`
|
|
|
196
197
|
onSelectAll: B,
|
|
197
198
|
labelKey: "name",
|
|
198
199
|
valueKey: "code",
|
|
199
|
-
noMargin: !0
|
|
200
|
+
noMargin: !0,
|
|
201
|
+
productsToolbarName: x
|
|
200
202
|
}
|
|
201
203
|
),
|
|
202
|
-
/* @__PURE__ */ t(
|
|
203
|
-
|
|
204
|
+
/* @__PURE__ */ t(U, { limit: a, children: /* @__PURE__ */ t(
|
|
205
|
+
H,
|
|
204
206
|
{
|
|
205
207
|
isLoading: W,
|
|
206
208
|
limit: a,
|
|
207
209
|
keyPrefix: "explore-landing",
|
|
208
|
-
children:
|
|
210
|
+
children: M
|
|
209
211
|
}
|
|
210
212
|
) })
|
|
211
213
|
] });
|
|
212
214
|
});
|
|
213
215
|
export {
|
|
214
|
-
|
|
216
|
+
ie as default
|
|
215
217
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),p=require("react"),c=require("./utils-DhRHf5Ed.cjs"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./consts-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),p=require("react"),c=require("./utils-DhRHf5Ed.cjs"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./consts-goSZX3xP.cjs"),h=o.styled.div`
|
|
2
2
|
width: 7.5rem;
|
|
3
3
|
height: auto;
|
|
4
4
|
max-height: 7.5rem;
|
package/dist/BrandHitsSection.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as h } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as o } from "react";
|
|
3
3
|
import { m as c, l as s } from "./utils-BE-UlkKf.js";
|
|
4
4
|
import { s as d } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { M as m } from "./consts-
|
|
5
|
+
import { M as m } from "./consts-BuFChS64.js";
|
|
6
6
|
const g = d.div`
|
|
7
7
|
width: 7.5rem;
|
|
8
8
|
height: auto;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),d=require("react"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),y=require("./consts-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),d=require("react"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),y=require("./consts-goSZX3xP.cjs"),z=require("./Button.cjs"),I=require("./index-BPVoEhTF.cjs"),L=require("./RangeSlider.cjs"),F=require("./DropdownItem.cjs"),X=require("./DropdownMenu.cjs"),Z=require("./IconButton.cjs"),V=require("./BannerSectionWithList.cjs"),H=require("./utils-DhRHf5Ed.cjs"),D=b.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as i, jsx as a, Fragment as z } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as w, useState as N, useRef as Y } from "react";
|
|
3
3
|
import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { M as C } from "./consts-
|
|
4
|
+
import { M as C } from "./consts-BuFChS64.js";
|
|
5
5
|
import S from "./Button.js";
|
|
6
6
|
import { P as G } from "./index-S5Cd7WrG.js";
|
|
7
7
|
import A from "./RangeSlider.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),k=require("react"),z=require("./emotion-styled.browser.esm-BtEseadx.cjs"),D=require("./consts-goSZX3xP.cjs"),G=require("./index-Cx4KvZ9L.cjs"),J=require("./LoanCalculatorSection.cjs"),K=z.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: 2rem;
|
|
4
4
|
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
.location-finder {
|
|
7
7
|
flex: 1;
|
|
8
8
|
}
|
|
9
|
-
@media (max-width: ${
|
|
9
|
+
@media (max-width: ${D.MOBILE_SIZE_PX+"px"}) {
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
gap: 1.25rem;
|
|
12
12
|
}
|
|
13
|
-
`,
|
|
13
|
+
`,N=k.forwardRef((t,n)=>{const{hasLoanCalculator:a,hasLocationFinder:o,locationFinderTitle:r,locationFinderPlaceholder:l,openMapText:i,onOpenMap:m=()=>{},mapFilters:s,inputComponent:u,loanCalculatorTitle:c,loanCalculatorText:d,loanCalculatorPlaceholder:x,openCalculatorText:p,onOpenCalculator:y=Q=>{},defaultLoanAmount:L,defaultInterestRate:P,defaultLoanPeriod:T,monthlyPayment:h,totalInterestPaid:f,currency:C,loanPeriodUnit:R,minLoanAmount:b,maxLoanAmount:q,minInterestRate:I,maxInterestRate:M,minLoanPeriod:A,maxLoanPeriod:F,headerTitleText:H,footerTitleText:S,loanAmountLabel:j,loanAmountHint:_,interestRateLabel:w,interestRateHint:O,loanPeriodLabel:g,loanPeriodHint:E,submitText:v,summaryMonthlyPaymentText:B,summaryMonthlyPaymentHint:U,summaryTotalPaymentText:W,summaryTotalPaymentHint:X,handleSubmit:Z,handleCancel:$}=t;return e.jsxs(K,{ref:n,children:[o===!0&&e.jsx(G.LocationFinder,{title:r,placeholderText:l,onOpenMap:m,openMapText:i,mapFilters:s,inputComponent:u}),a===!0&&e.jsx(J,{loanCalculatorTitle:c,loanCalculatorText:d,loanCalculatorPlaceholder:x,openCalculatorText:p,onOpenCalculator:y,defaultLoanAmount:L,defaultInterestRate:P,defaultLoanPeriod:T,monthlyPayment:h,totalInterestPaid:f,currency:C,loanPeriodUnit:R,minLoanAmount:b,maxLoanAmount:q,minInterestRate:I,maxInterestRate:M,minLoanPeriod:A,maxLoanPeriod:F,headerTitleText:H,footerTitleText:S,loanAmountLabel:j,loanAmountHint:_,interestRateLabel:w,interestRateHint:O,loanPeriodLabel:g,loanPeriodHint:E,submitText:v,summaryMonthlyPaymentText:B,summaryMonthlyPaymentHint:U,summaryTotalPaymentText:W,summaryTotalPaymentHint:X,handleSubmit:Z,handleCancel:$})]})});module.exports=N;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { s as
|
|
4
|
-
import { M as
|
|
5
|
-
import { L as
|
|
6
|
-
import
|
|
7
|
-
const
|
|
1
|
+
import { jsxs as q, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as z } from "react";
|
|
3
|
+
import { s as D } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { M as G } from "./consts-BuFChS64.js";
|
|
5
|
+
import { L as J } from "./index-iSD5jNBk.js";
|
|
6
|
+
import K from "./LoanCalculatorSection.js";
|
|
7
|
+
const N = D.div`
|
|
8
8
|
display: flex;
|
|
9
9
|
gap: 2rem;
|
|
10
10
|
|
|
@@ -12,50 +12,110 @@ const M = C.div`
|
|
|
12
12
|
.location-finder {
|
|
13
13
|
flex: 1;
|
|
14
14
|
}
|
|
15
|
-
@media (max-width: ${
|
|
15
|
+
@media (max-width: ${G + "px"}) {
|
|
16
16
|
flex-direction: column;
|
|
17
17
|
gap: 1.25rem;
|
|
18
18
|
}
|
|
19
|
-
`,
|
|
19
|
+
`, nt = z((a, e) => {
|
|
20
20
|
const {
|
|
21
|
-
hasLoanCalculator:
|
|
22
|
-
hasLocationFinder:
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
hasLoanCalculator: o,
|
|
22
|
+
hasLocationFinder: n,
|
|
23
|
+
// Location finder section
|
|
24
|
+
locationFinderTitle: l,
|
|
25
|
+
locationFinderPlaceholder: r,
|
|
25
26
|
openMapText: i,
|
|
26
|
-
onOpenMap:
|
|
27
|
+
onOpenMap: m = () => {
|
|
27
28
|
},
|
|
28
|
-
mapFilters:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
mapFilters: u,
|
|
30
|
+
inputComponent: d,
|
|
31
|
+
// Loan calculator section
|
|
32
|
+
loanCalculatorTitle: c,
|
|
33
|
+
loanCalculatorText: s,
|
|
34
|
+
loanCalculatorPlaceholder: p,
|
|
35
|
+
openCalculatorText: x,
|
|
36
|
+
onOpenCalculator: f = (Q) => {
|
|
37
|
+
},
|
|
38
|
+
defaultLoanAmount: L,
|
|
39
|
+
defaultInterestRate: y,
|
|
40
|
+
defaultLoanPeriod: P,
|
|
41
|
+
monthlyPayment: T,
|
|
42
|
+
totalInterestPaid: h,
|
|
43
|
+
currency: C,
|
|
44
|
+
loanPeriodUnit: M,
|
|
45
|
+
minLoanAmount: I,
|
|
46
|
+
maxLoanAmount: R,
|
|
47
|
+
minInterestRate: b,
|
|
48
|
+
maxInterestRate: A,
|
|
49
|
+
minLoanPeriod: F,
|
|
50
|
+
maxLoanPeriod: H,
|
|
51
|
+
headerTitleText: S,
|
|
52
|
+
footerTitleText: O,
|
|
53
|
+
loanAmountLabel: g,
|
|
54
|
+
loanAmountHint: j,
|
|
55
|
+
interestRateLabel: w,
|
|
56
|
+
interestRateHint: E,
|
|
57
|
+
loanPeriodLabel: _,
|
|
58
|
+
loanPeriodHint: v,
|
|
59
|
+
submitText: B,
|
|
60
|
+
summaryMonthlyPaymentText: U,
|
|
61
|
+
summaryMonthlyPaymentHint: W,
|
|
62
|
+
summaryTotalPaymentText: X,
|
|
63
|
+
summaryTotalPaymentHint: Z,
|
|
64
|
+
handleSubmit: $,
|
|
65
|
+
handleCancel: k
|
|
35
66
|
} = a;
|
|
36
|
-
return /* @__PURE__ */
|
|
37
|
-
|
|
38
|
-
|
|
67
|
+
return /* @__PURE__ */ q(N, { ref: e, children: [
|
|
68
|
+
n === !0 && /* @__PURE__ */ t(
|
|
69
|
+
J,
|
|
39
70
|
{
|
|
40
|
-
title:
|
|
41
|
-
placeholderText:
|
|
42
|
-
onOpenMap:
|
|
71
|
+
title: l,
|
|
72
|
+
placeholderText: r,
|
|
73
|
+
onOpenMap: m,
|
|
43
74
|
openMapText: i,
|
|
44
|
-
mapFilters:
|
|
75
|
+
mapFilters: u,
|
|
76
|
+
inputComponent: d
|
|
45
77
|
}
|
|
46
78
|
),
|
|
47
|
-
|
|
48
|
-
|
|
79
|
+
o === !0 && /* @__PURE__ */ t(
|
|
80
|
+
K,
|
|
49
81
|
{
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
82
|
+
loanCalculatorTitle: c,
|
|
83
|
+
loanCalculatorText: s,
|
|
84
|
+
loanCalculatorPlaceholder: p,
|
|
85
|
+
openCalculatorText: x,
|
|
86
|
+
onOpenCalculator: f,
|
|
87
|
+
defaultLoanAmount: L,
|
|
88
|
+
defaultInterestRate: y,
|
|
89
|
+
defaultLoanPeriod: P,
|
|
90
|
+
monthlyPayment: T,
|
|
91
|
+
totalInterestPaid: h,
|
|
92
|
+
currency: C,
|
|
93
|
+
loanPeriodUnit: M,
|
|
94
|
+
minLoanAmount: I,
|
|
95
|
+
maxLoanAmount: R,
|
|
96
|
+
minInterestRate: b,
|
|
97
|
+
maxInterestRate: A,
|
|
98
|
+
minLoanPeriod: F,
|
|
99
|
+
maxLoanPeriod: H,
|
|
100
|
+
headerTitleText: S,
|
|
101
|
+
footerTitleText: O,
|
|
102
|
+
loanAmountLabel: g,
|
|
103
|
+
loanAmountHint: j,
|
|
104
|
+
interestRateLabel: w,
|
|
105
|
+
interestRateHint: E,
|
|
106
|
+
loanPeriodLabel: _,
|
|
107
|
+
loanPeriodHint: v,
|
|
108
|
+
submitText: B,
|
|
109
|
+
summaryMonthlyPaymentText: U,
|
|
110
|
+
summaryMonthlyPaymentHint: W,
|
|
111
|
+
summaryTotalPaymentText: X,
|
|
112
|
+
summaryTotalPaymentHint: Z,
|
|
113
|
+
handleSubmit: $,
|
|
114
|
+
handleCancel: k
|
|
55
115
|
}
|
|
56
116
|
)
|
|
57
117
|
] });
|
|
58
118
|
});
|
|
59
119
|
export {
|
|
60
|
-
|
|
120
|
+
nt as default
|
|
61
121
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),l=require("react"),
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),l=require("react"),v=require("./emotion-styled.browser.esm-BtEseadx.cjs"),D=require("./consts-goSZX3xP.cjs"),P=require("./Button.cjs"),y=require("./utils-DhRHf5Ed.cjs"),U=require("./useDetectMobile-zkbzoOGV.cjs"),M=require("./style-xvwWn3Zv.cjs"),h=require("./suspense-product-card-detailed-DBNlkFiP.cjs"),F=require("./index-DG7qQq8L.cjs"),T=v.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${n=>`repeat(${n.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
white-space: pre;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
@media (max-width: ${
|
|
10
|
+
@media (max-width: ${D.MOBILE_SIZE_PX+"px"}) {
|
|
11
11
|
display: flex;
|
|
12
12
|
gap: 1rem;
|
|
13
13
|
overflow-x: auto;
|
|
@@ -26,4 +26,4 @@
|
|
|
26
26
|
/* Safari and Chrome */
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
`,S=l.memo(h.DetailedProductCard),E=l.forwardRef((n,f)=>{const{icon:a,title:C,buttonLink:c,items:r,buttonText:j,limit:t=4,onSelectCard:u=()=>{},onButtonAction:w=()=>{},isLoading:
|
|
29
|
+
`,S=l.memo(h.DetailedProductCard),E=l.forwardRef((n,f)=>{const{icon:a,title:C,buttonLink:c,items:r,buttonText:j,limit:t=4,onSelectCard:u=()=>{},onButtonAction:w=()=>{},isLoading:N=!1,getImage:d=()=>{},negotiableText:m,freeText:p,options:o,onSelectOption:g=()=>{},productsToolbarName:q="All"}=n,b=U.useDetectMobile(),k=l.useMemo(()=>i.jsx(i.Fragment,{children:b===!0?r==null?void 0:r.map((e,s)=>i.jsx(S,{title:e==null?void 0:e.name,price:e==null?void 0:e.price,currency:e==null?void 0:e.currency,image:e==null?void 0:e.image,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,isSponsored:e==null?void 0:e.isSponsored,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:()=>u(e==null?void 0:e.uuid),imageUrl:d(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,negotiableText:m,freeText:p},s)):r==null?void 0:r.slice(0,t).map((e,s)=>i.jsx(S,{title:e==null?void 0:e.name,price:e==null?void 0:e.price,currency:e==null?void 0:e.currency,image:e==null?void 0:e.image,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,location:e==null?void 0:e.location,isSponsored:e==null?void 0:e.isSponsored,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:()=>u(e==null?void 0:e.uuid),imageUrl:d(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,negotiableText:m,freeText:p},s))}),[r,b,t]);return i.jsxs(M.TitleWithOptionsSectionWrapper,{ref:f,children:[i.jsxs("div",{className:"regular-title",children:[i.jsxs("div",{className:"regular-title-text",children:[y.isDefinedNotEmptyString(a)&&i.jsx("i",{className:a}),i.jsx("span",{children:C})]}),y.isDefinedNotEmptyString(c)&&i.jsx(P,{type:"button",btnType:"tinted",color:"gray",onClick:()=>w(c),borderRadius:"curved",className:"button-link",children:j})]}),(o==null?void 0:o.length)>0&&i.jsx(F.SelectBar,{items:o,onRemove:e=>{g(e)},onSelect:e=>{g(e)},labelKey:"name",valueKey:"code",noMargin:!0,productsToolbarName:q}),i.jsx(T,{limit:t,children:i.jsx(h.SuspenseDetailedProductCard,{isLoading:N,itemsCount:t,keyPrefix:"explore-landing",children:k})})]})});module.exports=E;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsx as i, Fragment as
|
|
2
|
-
import { memo as
|
|
1
|
+
import { jsx as i, Fragment as U, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { memo as M, forwardRef as P, useMemo as T } from "react";
|
|
3
3
|
import { s as D } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { M as F } from "./consts-
|
|
5
|
-
import
|
|
4
|
+
import { M as F } from "./consts-BuFChS64.js";
|
|
5
|
+
import B from "./Button.js";
|
|
6
6
|
import { k as b } from "./utils-BE-UlkKf.js";
|
|
7
|
-
import { u as
|
|
8
|
-
import { T as
|
|
9
|
-
import { D as
|
|
10
|
-
import { S as
|
|
11
|
-
const
|
|
7
|
+
import { u as E } from "./useDetectMobile-Bkvj0VMa.js";
|
|
8
|
+
import { T as I } from "./style-sLF37aOA.js";
|
|
9
|
+
import { D as L, S as O } from "./suspense-product-card-detailed-CwdbxJrY.js";
|
|
10
|
+
import { S as R } from "./index-Db8wvLXS.js";
|
|
11
|
+
const W = D.div`
|
|
12
12
|
display: grid;
|
|
13
|
-
grid-template-columns: ${(
|
|
13
|
+
grid-template-columns: ${(l) => `repeat(${l.limit}, minmax(0, 1fr))`};
|
|
14
14
|
gap: 1.25rem;
|
|
15
15
|
|
|
16
16
|
& .button-link {
|
|
@@ -36,7 +36,7 @@ const R = D.div`
|
|
|
36
36
|
/* Safari and Chrome */
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
`, S =
|
|
39
|
+
`, S = M(L), H = P((l, y) => {
|
|
40
40
|
const {
|
|
41
41
|
icon: s,
|
|
42
42
|
title: h,
|
|
@@ -55,8 +55,9 @@ const R = D.div`
|
|
|
55
55
|
freeText: p,
|
|
56
56
|
options: t,
|
|
57
57
|
onSelectOption: g = () => {
|
|
58
|
-
}
|
|
59
|
-
|
|
58
|
+
},
|
|
59
|
+
productsToolbarName: N = "All"
|
|
60
|
+
} = l, f = E(), v = T(() => /* @__PURE__ */ i(U, { children: f === !0 ? r == null ? void 0 : r.map((e, n) => /* @__PURE__ */ i(
|
|
60
61
|
S,
|
|
61
62
|
{
|
|
62
63
|
title: e == null ? void 0 : e.name,
|
|
@@ -74,8 +75,8 @@ const R = D.div`
|
|
|
74
75
|
negotiableText: u,
|
|
75
76
|
freeText: p
|
|
76
77
|
},
|
|
77
|
-
|
|
78
|
-
)) : r == null ? void 0 : r.slice(0, o).map((e,
|
|
78
|
+
n
|
|
79
|
+
)) : r == null ? void 0 : r.slice(0, o).map((e, n) => /* @__PURE__ */ i(
|
|
79
80
|
S,
|
|
80
81
|
{
|
|
81
82
|
title: e == null ? void 0 : e.name,
|
|
@@ -94,16 +95,16 @@ const R = D.div`
|
|
|
94
95
|
negotiableText: u,
|
|
95
96
|
freeText: p
|
|
96
97
|
},
|
|
97
|
-
|
|
98
|
+
n
|
|
98
99
|
)) }), [r, f, o]);
|
|
99
|
-
return /* @__PURE__ */ a(
|
|
100
|
+
return /* @__PURE__ */ a(I, { ref: y, children: [
|
|
100
101
|
/* @__PURE__ */ a("div", { className: "regular-title", children: [
|
|
101
102
|
/* @__PURE__ */ a("div", { className: "regular-title-text", children: [
|
|
102
103
|
b(s) && /* @__PURE__ */ i("i", { className: s }),
|
|
103
104
|
/* @__PURE__ */ i("span", { children: h })
|
|
104
105
|
] }),
|
|
105
106
|
b(d) && /* @__PURE__ */ i(
|
|
106
|
-
|
|
107
|
+
B,
|
|
107
108
|
{
|
|
108
109
|
type: "button",
|
|
109
110
|
btnType: "tinted",
|
|
@@ -116,7 +117,7 @@ const R = D.div`
|
|
|
116
117
|
)
|
|
117
118
|
] }),
|
|
118
119
|
(t == null ? void 0 : t.length) > 0 && /* @__PURE__ */ i(
|
|
119
|
-
|
|
120
|
+
R,
|
|
120
121
|
{
|
|
121
122
|
items: t,
|
|
122
123
|
onRemove: (e) => {
|
|
@@ -127,11 +128,12 @@ const R = D.div`
|
|
|
127
128
|
},
|
|
128
129
|
labelKey: "name",
|
|
129
130
|
valueKey: "code",
|
|
130
|
-
noMargin: !0
|
|
131
|
+
noMargin: !0,
|
|
132
|
+
productsToolbarName: N
|
|
131
133
|
}
|
|
132
134
|
),
|
|
133
|
-
/* @__PURE__ */ i(
|
|
134
|
-
|
|
135
|
+
/* @__PURE__ */ i(W, { limit: o, children: /* @__PURE__ */ i(
|
|
136
|
+
O,
|
|
135
137
|
{
|
|
136
138
|
isLoading: k,
|
|
137
139
|
itemsCount: o,
|
|
@@ -142,5 +144,5 @@ const R = D.div`
|
|
|
142
144
|
] });
|
|
143
145
|
});
|
|
144
146
|
export {
|
|
145
|
-
|
|
147
|
+
H as default
|
|
146
148
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),l=require("react"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./consts-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),l=require("react"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./consts-goSZX3xP.cjs"),o=require("./utils-DhRHf5Ed.cjs"),k=require("./Icon.cjs"),I=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),E=require("./useEffectOnce-DFrzfNzT.cjs"),M=d.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: fit-content;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as l } from "react";
|
|
3
3
|
import { s as p } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { M as u } from "./consts-
|
|
4
|
+
import { M as u } from "./consts-BuFChS64.js";
|
|
5
5
|
import { t as $, m as N, l as I } from "./utils-BE-UlkKf.js";
|
|
6
6
|
import C from "./Icon.js";
|
|
7
7
|
import { u as E } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),g=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./consts-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),g=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./consts-goSZX3xP.cjs"),y=require("./utils-DhRHf5Ed.cjs"),$=require("./index-B9HSHvhH.cjs"),c=h.styled.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 11.625rem;
|
|
4
4
|
border-radius: 0.75rem;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, jsxs as y } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as g } from "react";
|
|
3
3
|
import { s as _ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { M as x } from "./consts-
|
|
4
|
+
import { M as x } from "./consts-BuFChS64.js";
|
|
5
5
|
import { m as v, l as C } from "./utils-BE-UlkKf.js";
|
|
6
6
|
import { S as F } from "./index-BBPnKoi6.js";
|
|
7
7
|
const N = _.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),l=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-DhRHf5Ed.cjs"),k=require("./Icon.cjs"),$=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),N=require("./consts-goSZX3xP.cjs"),I=p.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
font-style: normal;
|
|
36
36
|
font-weight: 500;
|
|
37
37
|
line-height: 1.5rem;
|
|
38
|
-
${
|
|
38
|
+
${o.truncateTextInRows(2)}
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
& .wrapper__description {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
font-weight: 400;
|
|
46
46
|
line-height: 1rem;
|
|
47
47
|
letter-spacing: 0.025rem;
|
|
48
|
-
${
|
|
48
|
+
${o.truncateTextInRows(2)}
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
`,
|
|
61
|
+
`,C=p.styled.div`
|
|
62
62
|
width: 100%;
|
|
63
63
|
height: 11.625rem;
|
|
64
64
|
border-radius: 0.75rem;
|
|
65
|
-
background: ${
|
|
66
|
-
`,
|
|
65
|
+
background: ${o.linearGradientAnimation("-90deg")};
|
|
66
|
+
`,W=p.styled.div`
|
|
67
67
|
display: flex;
|
|
68
68
|
padding: 0 0.75rem 0 0.75rem;
|
|
69
69
|
align-items: center;
|
|
@@ -112,12 +112,12 @@
|
|
|
112
112
|
color: var(--white, #fff);
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
`,
|
|
115
|
+
`,F=p.styled.div`
|
|
116
116
|
width: 7rem;
|
|
117
117
|
height: 3rem;
|
|
118
118
|
border-radius: 999px;
|
|
119
|
-
background: ${
|
|
120
|
-
`,
|
|
119
|
+
background: ${o.linearGradientAnimation("-90deg")};
|
|
120
|
+
`,R=l.forwardRef(({},i)=>r.jsx(F,{})),q=l.forwardRef(({name:i,isActive:s,icon:t,onSelectCard:a=()=>{}},m)=>r.jsxs(W,{className:s?"active":"",onClick:a,children:[o.isDefinedNotEmptyString(t)&&r.jsx(k,{icon:t,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:i})]})),z=l.forwardRef(({image:i,imageComponent:s,name:t,description:a,onSelectCard:m=()=>{}},g)=>{const{theme:f}=$.useTheme();return r.jsxs(I,{theme:f,onClick:m,children:[o.isDefined(s)?s:r.jsx("img",{src:i,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[t&&r.jsx("div",{className:"wrapper__title",children:t}),a&&r.jsx("div",{className:"wrapper__description",children:a})]})]})}),O=l.forwardRef(({},i)=>r.jsx(C,{})),A=p.styled.div`
|
|
121
121
|
display: flex;
|
|
122
122
|
flex-direction: column;
|
|
123
123
|
align-items: center;
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
width: 100%;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
@media (max-width: ${
|
|
168
|
+
@media (max-width: ${N.MOBILE_SIZE_PX+"px"}) {
|
|
169
169
|
& .wrapper__tags {
|
|
170
170
|
overflow-x: scroll;
|
|
171
171
|
justify-content: flex-start;
|
|
@@ -191,4 +191,4 @@
|
|
|
191
191
|
gap: 1rem;
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
`,
|
|
194
|
+
`,E=l.forwardRef(({title:i,subtitle:s,tags:t=[],limitTags:a=7,limitTagsForMobile:m=7,limit:g=3,limitForMobile:f=2,items:d=[],selectedTag:c,isLoadingTags:y=!1,isLoadingItems:b=!1,onSelectTag:_=()=>{},onSelectCard:h=()=>{},getImage:j=()=>{}},D)=>{var u,v;const w=e=>{_==null||_(e)},x=e=>{h==null||h(e)};return r.jsxs(A,{limitTags:a,limitTagsForMobile:m,limitCards:g,limitCardsForMobile:f,children:[r.jsxs("div",{className:"wrapper__heading",children:[i&&r.jsx("div",{className:"wrapper__title",children:i}),s&&r.jsx("div",{className:"wrapper__subtitle",children:s})]}),r.jsx("div",{className:"wrapper__tags",children:y?(u=Array.from("123"))==null?void 0:u.map((e,n)=>r.jsx(R,{},`field-of-interests-with-tags-card-tag-skeleton__${n+1}`)):t==null?void 0:t.map((e,n)=>r.jsx(q,{icon:e==null?void 0:e.icon,name:e==null?void 0:e.name,isActive:(e==null?void 0:e.uuid)===(c==null?void 0:c.uuid),onSelectCard:()=>w==null?void 0:w(e)},`field-of-interests-with-tags-card-tag__${n+1}`))}),r.jsx("div",{className:"wrapper__cards",children:b?(v=Array.from("123"))==null?void 0:v.map((e,n)=>r.jsx(O,{},`field-of-interests-with-tags-card-skeleton__${n+1}`)):d==null?void 0:d.map((e,n)=>r.jsx(z,{image:j(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid),imageComponent:e==null?void 0:e.imageComponent,name:e==null?void 0:e.name,description:(e==null?void 0:e.shortDescription)||(e==null?void 0:e.description),onSelectCard:()=>x==null?void 0:x(e)},`field-of-interests-with-tags-card__${n+1}`))})]})});module.exports=E;
|