@lanaco/lnc-react-ui 4.0.155 → 4.0.157
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/BlogCardsSponsoredSection.cjs +1 -1
- package/dist/BlogCardsSponsoredSection.js +1 -1
- package/dist/BlogListSection.cjs +1 -1
- package/dist/BlogListSection.js +1 -1
- package/dist/BlogsSectionDetailed.cjs +1 -1
- package/dist/BlogsSectionDetailed.js +1 -1
- package/dist/BlogsSectionSimple.cjs +1 -1
- package/dist/BlogsSectionSimple.js +1 -1
- package/dist/BlogsSectionWithFilters.cjs +1 -1
- package/dist/BlogsSectionWithFilters.js +1 -1
- package/dist/DetailedProductsInfinitiveSection.cjs +7 -2
- package/dist/DetailedProductsInfinitiveSection.js +62 -52
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +2 -2
- package/dist/GiftCardsSection.cjs +1 -1
- package/dist/GiftCardsSection.js +1 -1
- package/dist/ProductsWithBannerSection.cjs +1 -1
- package/dist/ProductsWithBannerSection.js +1 -1
- package/dist/SalesCampaignsSection.cjs +14 -19
- package/dist/SalesCampaignsSection.js +116 -118
- package/dist/SimpleCategoriesSection.cjs +1 -1
- package/dist/SimpleCategoriesSection.js +1 -1
- package/dist/UrgentSaleProductsSection.cjs +1 -1
- package/dist/UrgentSaleProductsSection.js +1 -1
- package/dist/{style-DFPWLJBr.js → style-BLuyU97E.js} +4 -0
- package/dist/{style-CyHewQxg.cjs → style-lSjkOR95.cjs} +6 -2
- package/dist/{suspense-product-card-detailed-BJ-HBkBc.js → suspense-product-card-detailed-BWoxabjZ.js} +164 -136
- package/dist/suspense-product-card-detailed-DYyH_jf5.cjs +300 -0
- package/package.json +1 -1
- package/dist/suspense-product-card-detailed-wPRUytSf.cjs +0 -263
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e, Fragment as P } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { p as ke, t as Y, o as k, l as K, q as H, G as Z
|
|
2
|
+
import { forwardRef as O, useState as L, useRef as q, useEffect as we, cloneElement as A, Suspense as be } from "react";
|
|
3
|
+
import { p as ke, t as Y, o as k, l as K, q as H, G as Z } from "./utils-BdsZgOUE.js";
|
|
4
4
|
import { s as $ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { P as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
5
|
+
import { P as ye } from "./index-CF3HhgvN.js";
|
|
6
|
+
import N from "./Badge.js";
|
|
7
|
+
import _e from "./Popover.js";
|
|
8
8
|
import Ce from "./PopoverTrigger.js";
|
|
9
|
-
import
|
|
10
|
-
import { u as
|
|
9
|
+
import Ne from "./PopoverContent.js";
|
|
10
|
+
import { u as Pe } from "./useDetectMobile-Bkvj0VMa.js";
|
|
11
11
|
import { M as J } from "./consts-BuFChS64.js";
|
|
12
12
|
const Q = $.div`
|
|
13
13
|
display: flex;
|
|
@@ -61,14 +61,6 @@ const Q = $.div`
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
& .tag-mobile {
|
|
65
|
-
font-weight: 400;
|
|
66
|
-
font-size: 0.75rem;
|
|
67
|
-
line-height: 1rem;
|
|
68
|
-
letter-spacing: 0.025rem;
|
|
69
|
-
color: var(--gray-600, #676e79);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
64
|
& .card-title {
|
|
73
65
|
font-size: 0.875rem;
|
|
74
66
|
font-weight: 600;
|
|
@@ -113,6 +105,8 @@ const Q = $.div`
|
|
|
113
105
|
background-color: ${k("-90deg")};
|
|
114
106
|
border-radius: 0.75rem;
|
|
115
107
|
border: 1px solid white;
|
|
108
|
+
width: 100%;
|
|
109
|
+
height: 11rem;
|
|
116
110
|
}
|
|
117
111
|
|
|
118
112
|
& .skeleton-title {
|
|
@@ -147,8 +141,51 @@ const Q = $.div`
|
|
|
147
141
|
@media (max-width: ${J + "px"}) {
|
|
148
142
|
overflow: visible;
|
|
149
143
|
|
|
144
|
+
& .wrapper-card-3 {
|
|
145
|
+
flex-wrap: nowrap;
|
|
146
|
+
justify-content: flex-start;
|
|
147
|
+
overflow-x: scroll;
|
|
148
|
+
width: 8.875rem !important;
|
|
149
|
+
|
|
150
|
+
-webkit-overflow-scrolling: touch;
|
|
151
|
+
::-webkit-scrollbar {
|
|
152
|
+
-webkit-appearance: none;
|
|
153
|
+
}
|
|
154
|
+
-ms-overflow-style: none;
|
|
155
|
+
/* Internet Explorer 10+ */
|
|
156
|
+
scrollbar-width: none;
|
|
157
|
+
/* Firefox */
|
|
158
|
+
|
|
159
|
+
&::-webkit-scrollbar {
|
|
160
|
+
display: none;
|
|
161
|
+
/* Safari and Chrome */
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
& > div {
|
|
165
|
+
& > div {
|
|
166
|
+
width: 8.875rem !important;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
150
171
|
& .tags-popover__trigger {
|
|
151
|
-
|
|
172
|
+
overflow-x: scroll;
|
|
173
|
+
justify-content: flex-start;
|
|
174
|
+
width: 100%;
|
|
175
|
+
|
|
176
|
+
-webkit-overflow-scrolling: touch;
|
|
177
|
+
::-webkit-scrollbar {
|
|
178
|
+
-webkit-appearance: none;
|
|
179
|
+
}
|
|
180
|
+
-ms-overflow-style: none;
|
|
181
|
+
/* Internet Explorer 10+ */
|
|
182
|
+
scrollbar-width: none;
|
|
183
|
+
/* Firefox */
|
|
184
|
+
|
|
185
|
+
&::-webkit-scrollbar {
|
|
186
|
+
display: none;
|
|
187
|
+
/* Safari and Chrome */
|
|
188
|
+
}
|
|
152
189
|
}
|
|
153
190
|
|
|
154
191
|
& .price-text {
|
|
@@ -164,7 +201,7 @@ const Q = $.div`
|
|
|
164
201
|
&:hover .product-image-wrapper img {
|
|
165
202
|
transform: scale(1.1);
|
|
166
203
|
}
|
|
167
|
-
`,
|
|
204
|
+
`, $e = $.div`
|
|
168
205
|
position: relative;
|
|
169
206
|
overflow: hidden;
|
|
170
207
|
border-radius: 0.75rem;
|
|
@@ -209,7 +246,7 @@ const Q = $.div`
|
|
|
209
246
|
display: flex;
|
|
210
247
|
}
|
|
211
248
|
}
|
|
212
|
-
`,
|
|
249
|
+
`, Te = $.div`
|
|
213
250
|
background: var(--white, #fff);
|
|
214
251
|
z-index: 1;
|
|
215
252
|
|
|
@@ -259,7 +296,7 @@ const Q = $.div`
|
|
|
259
296
|
color: var(--gray-950, #14161a);
|
|
260
297
|
}
|
|
261
298
|
}
|
|
262
|
-
`,
|
|
299
|
+
`, Ee = $.div`
|
|
263
300
|
display: flex;
|
|
264
301
|
align-items: center;
|
|
265
302
|
gap: 0.25rem;
|
|
@@ -271,10 +308,10 @@ const Q = $.div`
|
|
|
271
308
|
font-size: 1rem;
|
|
272
309
|
color: var(--warning-500, #F59E0B);
|
|
273
310
|
}
|
|
274
|
-
`,
|
|
311
|
+
`, Se = O(({ sponsoredText: c = "Sponsored" }, f) => /* @__PURE__ */ t(Ee, { ref: f, className: "sponsored-line", children: [
|
|
275
312
|
/* @__PURE__ */ e("i", { className: "mng-lnc-paw2" }),
|
|
276
|
-
/* @__PURE__ */ e("span", { children:
|
|
277
|
-
] })),
|
|
313
|
+
/* @__PURE__ */ e("span", { children: c })
|
|
314
|
+
] })), Ve = "Vehicles_Cars", Oe = "Vehicles_Motorcycles", Be = "Vehicles_Trucks", ze = "Vehicles_AgriculturalMachines_Tractors", Me = "Vehicles_ConstructionMachines", Fe = "Vehicles_Bus", We = "Vehicles_Campers", Ie = "RealEstates_", a = {
|
|
278
315
|
Mileage: {
|
|
279
316
|
icon: "mng-lnc-road",
|
|
280
317
|
measure: "km"
|
|
@@ -375,77 +412,81 @@ const Q = $.div`
|
|
|
375
412
|
icon: " mng-lnc-clock--filled",
|
|
376
413
|
measure: ""
|
|
377
414
|
}
|
|
378
|
-
},
|
|
415
|
+
}, Je = O((c, f) => {
|
|
379
416
|
const {
|
|
380
|
-
uuid:
|
|
417
|
+
uuid: l,
|
|
381
418
|
name: y,
|
|
382
|
-
price:
|
|
419
|
+
price: g = 0,
|
|
383
420
|
sellingPrice: _,
|
|
384
|
-
currency:
|
|
421
|
+
currency: C,
|
|
385
422
|
isNegotiable: T,
|
|
386
423
|
isFree: E,
|
|
387
|
-
imageUrl:
|
|
388
|
-
location:
|
|
389
|
-
sponsored:
|
|
390
|
-
imageComponent:
|
|
391
|
-
onSelectCard:
|
|
424
|
+
imageUrl: ee,
|
|
425
|
+
location: re,
|
|
426
|
+
sponsored: oe,
|
|
427
|
+
imageComponent: B,
|
|
428
|
+
onSelectCard: ne = () => {
|
|
392
429
|
},
|
|
393
|
-
freeText:
|
|
394
|
-
negotiableText:
|
|
430
|
+
freeText: te = "Free",
|
|
431
|
+
negotiableText: ae = "Negotiable",
|
|
395
432
|
tags: n = [],
|
|
396
|
-
categoryCode:
|
|
397
|
-
condition:
|
|
398
|
-
quantity:
|
|
399
|
-
trade:
|
|
433
|
+
categoryCode: S,
|
|
434
|
+
condition: z,
|
|
435
|
+
quantity: M,
|
|
436
|
+
trade: F,
|
|
400
437
|
sponsoredText: ie,
|
|
401
|
-
onBookmark:
|
|
438
|
+
onBookmark: W = () => {
|
|
402
439
|
},
|
|
403
440
|
bookmarkComponent: w,
|
|
404
|
-
bookmarked:
|
|
405
|
-
bookmarkLists:
|
|
406
|
-
} =
|
|
407
|
-
var
|
|
441
|
+
bookmarked: I,
|
|
442
|
+
bookmarkLists: se
|
|
443
|
+
} = c, V = Pe(), ce = () => {
|
|
444
|
+
var d;
|
|
408
445
|
if (!K(w)) return /* @__PURE__ */ e(P, {});
|
|
409
|
-
const r = w, o = (
|
|
410
|
-
key: `bookmark_pr__${
|
|
411
|
-
bookmarked:
|
|
412
|
-
productUuid:
|
|
413
|
-
onAddToBookmark: () =>
|
|
414
|
-
onRemoveFromBookmark: () =>
|
|
415
|
-
bookmarkedUuidList:
|
|
446
|
+
const r = w, o = (d = w == null ? void 0 : w.props) == null ? void 0 : d.children, s = A(o, {
|
|
447
|
+
key: `bookmark_pr__${I}`,
|
|
448
|
+
bookmarked: I,
|
|
449
|
+
productUuid: l,
|
|
450
|
+
onAddToBookmark: () => W(!0, l),
|
|
451
|
+
onRemoveFromBookmark: () => W(!1, l),
|
|
452
|
+
bookmarkedUuidList: se
|
|
416
453
|
});
|
|
417
|
-
return A(r, void 0,
|
|
418
|
-
},
|
|
419
|
-
|
|
420
|
-
|
|
454
|
+
return A(r, void 0, s);
|
|
455
|
+
}, j = [
|
|
456
|
+
Ve,
|
|
457
|
+
Oe,
|
|
421
458
|
Be,
|
|
459
|
+
ze,
|
|
422
460
|
Me,
|
|
423
|
-
We,
|
|
424
461
|
Fe,
|
|
425
|
-
|
|
462
|
+
We,
|
|
426
463
|
Ie
|
|
427
464
|
].some(
|
|
428
|
-
(r) =>
|
|
429
|
-
), [
|
|
430
|
-
|
|
431
|
-
},
|
|
432
|
-
|
|
433
|
-
},
|
|
434
|
-
var
|
|
435
|
-
if (!(
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
465
|
+
(r) => S == null ? void 0 : S.includes(r)
|
|
466
|
+
), [le, D] = L(!1), de = () => {
|
|
467
|
+
D(!0);
|
|
468
|
+
}, me = () => {
|
|
469
|
+
D(!1);
|
|
470
|
+
}, i = q(null), u = q([]), [pe, x] = L(n == null ? void 0 : n.length), ge = () => {
|
|
471
|
+
var d, v, b;
|
|
472
|
+
if (!(i != null && i.current) || ((d = u == null ? void 0 : u.current) == null ? void 0 : d.length) === 0) return;
|
|
473
|
+
if (V) {
|
|
474
|
+
x(n == null ? void 0 : n.length);
|
|
475
|
+
return;
|
|
476
|
+
}
|
|
477
|
+
const r = (v = i == null ? void 0 : i.current) == null ? void 0 : v.offsetWidth;
|
|
478
|
+
let o = 0, s = 0;
|
|
479
|
+
for (let m = 0; m < (n == null ? void 0 : n.length); m++) {
|
|
480
|
+
const h = ((b = u == null ? void 0 : u.current[m]) == null ? void 0 : b.offsetWidth) || 0, p = o + h + 4;
|
|
481
|
+
if (p <= r)
|
|
482
|
+
o += p, s++;
|
|
442
483
|
else
|
|
443
484
|
break;
|
|
444
485
|
}
|
|
445
|
-
|
|
486
|
+
x(s);
|
|
446
487
|
};
|
|
447
488
|
we(() => {
|
|
448
|
-
const r =
|
|
489
|
+
const r = i == null ? void 0 : i.current;
|
|
449
490
|
if (!r) return;
|
|
450
491
|
const o = new ResizeObserver(() => {
|
|
451
492
|
ge();
|
|
@@ -453,95 +494,82 @@ const Q = $.div`
|
|
|
453
494
|
return o.observe(r), () => {
|
|
454
495
|
o.disconnect();
|
|
455
496
|
};
|
|
456
|
-
}, [n]);
|
|
497
|
+
}, [n, V]);
|
|
457
498
|
const ue = () => {
|
|
458
499
|
var r;
|
|
459
|
-
return /* @__PURE__ */ e("div", { className: "tags-popover__trigger", children: (r = n == null ? void 0 : n.slice(0,
|
|
460
|
-
var
|
|
461
|
-
const
|
|
462
|
-
return
|
|
463
|
-
|
|
464
|
-
i < (n == null ? void 0 : n.length) - 1 ? " · " : ""
|
|
465
|
-
] }) : /* @__PURE__ */ t(
|
|
466
|
-
C,
|
|
500
|
+
return /* @__PURE__ */ e("div", { className: "tags-popover__trigger", children: (r = n == null ? void 0 : n.slice(0, pe)) == null ? void 0 : r.map((o, s) => {
|
|
501
|
+
var h, p, R, U, X;
|
|
502
|
+
const d = ((h = a == null ? void 0 : a[o == null ? void 0 : o.code]) == null ? void 0 : h.icon) ?? ((p = a == null ? void 0 : a.default) == null ? void 0 : p.icon) ?? "", v = ((R = o == null ? void 0 : o.measurementUnit) == null ? void 0 : R.symbol) ?? ((U = a == null ? void 0 : a[o == null ? void 0 : o.code]) == null ? void 0 : U.measure) ?? "", m = [(o == null ? void 0 : o.value) ?? ((X = o == null ? void 0 : o.multiOptions) == null ? void 0 : X[0]) ?? "", v].filter(Boolean).join(" ");
|
|
503
|
+
return /* @__PURE__ */ t(
|
|
504
|
+
N,
|
|
467
505
|
{
|
|
468
|
-
ref: (ve) =>
|
|
506
|
+
ref: (ve) => u.current[s] = ve,
|
|
469
507
|
className: "tag",
|
|
470
508
|
children: [
|
|
471
|
-
/* @__PURE__ */ e("i", { className:
|
|
472
|
-
|
|
509
|
+
/* @__PURE__ */ e("i", { className: d }),
|
|
510
|
+
m
|
|
473
511
|
]
|
|
474
512
|
},
|
|
475
|
-
`detailed-products-section-tag__${
|
|
513
|
+
`detailed-products-section-tag__${s + 1}`
|
|
476
514
|
);
|
|
477
515
|
}) });
|
|
478
516
|
}, he = () => /* @__PURE__ */ e("div", { className: "tags-popover__content", children: n == null ? void 0 : n.map((r, o) => {
|
|
479
|
-
var
|
|
480
|
-
const
|
|
517
|
+
var m, h, p;
|
|
518
|
+
const s = ((m = r == null ? void 0 : r.measurementUnit) == null ? void 0 : m.symbol) ?? ((h = a == null ? void 0 : a[r == null ? void 0 : r.code]) == null ? void 0 : h.measure) ?? "", v = [(r == null ? void 0 : r.value) ?? ((p = r == null ? void 0 : r.multiOptions) == null ? void 0 : p[0]) ?? "", s].filter(Boolean).join(" "), b = r == null ? void 0 : r.name;
|
|
481
519
|
return /* @__PURE__ */ t("div", { children: [
|
|
482
520
|
/* @__PURE__ */ e("span", { className: "tags-popover__name", children: `${b}: ` }),
|
|
483
|
-
/* @__PURE__ */ e("span", { className: "tags-popover__value", children:
|
|
521
|
+
/* @__PURE__ */ e("span", { className: "tags-popover__value", children: v })
|
|
484
522
|
] }, `detailed-products-section-tag-dropdown__${o + 1}`);
|
|
485
|
-
}) }), fe = () => {
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
i,
|
|
491
|
-
c < (l == null ? void 0 : l.length) - 1 ? " · " : ""
|
|
492
|
-
] }));
|
|
493
|
-
}
|
|
494
|
-
return /* @__PURE__ */ t(P, { children: [
|
|
495
|
-
O && /* @__PURE__ */ e(C, { className: "tag", children: O }, "detailed-products-section-tag__condition"),
|
|
496
|
-
S && /* @__PURE__ */ e(C, { className: "tag", children: S }, "detailed-products-section-tag__quantity"),
|
|
497
|
-
z && /* @__PURE__ */ e(C, { className: "tag", children: z }, "detailed-products-section-tag__trade")
|
|
498
|
-
] });
|
|
499
|
-
}, G = u > 0 && N && T !== !0 && E !== !0 && u !== _;
|
|
523
|
+
}) }), fe = () => /* @__PURE__ */ t(P, { children: [
|
|
524
|
+
z && /* @__PURE__ */ e(N, { className: "tag", children: z }, "detailed-products-section-tag__condition"),
|
|
525
|
+
M && /* @__PURE__ */ e(N, { className: "tag", children: M }, "detailed-products-section-tag__quantity"),
|
|
526
|
+
F && /* @__PURE__ */ e(N, { className: "tag", children: F }, "detailed-products-section-tag__trade")
|
|
527
|
+
] }), G = g > 0 && C && T !== !0 && E !== !0 && g !== _;
|
|
500
528
|
return (
|
|
501
529
|
// <LandingPageProductCardSkeleton />
|
|
502
530
|
/* @__PURE__ */ t(
|
|
503
531
|
Q,
|
|
504
532
|
{
|
|
505
|
-
ref:
|
|
533
|
+
ref: i,
|
|
506
534
|
className: "product-card",
|
|
507
|
-
onClick:
|
|
535
|
+
onClick: ne,
|
|
508
536
|
children: [
|
|
509
|
-
/* @__PURE__ */ t(
|
|
510
|
-
/* @__PURE__ */ e(
|
|
511
|
-
K(
|
|
537
|
+
/* @__PURE__ */ t($e, { className: "product-image-wrapper", children: [
|
|
538
|
+
/* @__PURE__ */ e(ce, {}),
|
|
539
|
+
K(B) ? B : /* @__PURE__ */ e(ye, { src: ee })
|
|
512
540
|
] }),
|
|
513
541
|
/* @__PURE__ */ e("div", { className: "wrapper-card-1", children: /* @__PURE__ */ e("div", { className: "card-title", children: y }) }),
|
|
514
542
|
/* @__PURE__ */ t("div", { className: "wrapper-card-3", children: [
|
|
515
|
-
|
|
543
|
+
j && /* @__PURE__ */ e(
|
|
516
544
|
"div",
|
|
517
545
|
{
|
|
518
|
-
...
|
|
519
|
-
onMouseEnter:
|
|
520
|
-
onMouseLeave:
|
|
546
|
+
...V ? {} : {
|
|
547
|
+
onMouseEnter: de,
|
|
548
|
+
onMouseLeave: me
|
|
521
549
|
},
|
|
522
|
-
children: /* @__PURE__ */ t(
|
|
550
|
+
children: /* @__PURE__ */ t(_e, { placement: "bottom", open: le, children: [
|
|
523
551
|
/* @__PURE__ */ e(Ce, { children: ue() }),
|
|
524
|
-
/* @__PURE__ */ e(
|
|
552
|
+
/* @__PURE__ */ e(Ne, { style: { all: "unset" }, children: /* @__PURE__ */ e(Te, { children: he() }) })
|
|
525
553
|
] })
|
|
526
554
|
}
|
|
527
555
|
),
|
|
528
|
-
!
|
|
556
|
+
!j && fe()
|
|
529
557
|
] }),
|
|
530
558
|
/* @__PURE__ */ t("div", { className: "wrapper-card-2", children: [
|
|
531
559
|
/* @__PURE__ */ t("div", { className: `price-text ${G ? "new-price" : ""}`, children: [
|
|
532
|
-
_ > 0 &&
|
|
533
|
-
G && /* @__PURE__ */ e("div", { className: `${_ > 0 ? "full-price" : ""}`, children: `${H(
|
|
534
|
-
T &&
|
|
535
|
-
E &&
|
|
560
|
+
_ > 0 && C && T !== !0 && E !== !0 && /* @__PURE__ */ e("div", { children: `${H(_)} ${Z(C)}` }),
|
|
561
|
+
G && /* @__PURE__ */ e("div", { className: `${_ > 0 ? "full-price" : ""}`, children: `${H(g)} ${Z(C)}` }),
|
|
562
|
+
T && ae,
|
|
563
|
+
E && te
|
|
536
564
|
] }),
|
|
537
|
-
/* @__PURE__ */ e("div", { className: "location-text", children:
|
|
565
|
+
/* @__PURE__ */ e("div", { className: "location-text", children: re })
|
|
538
566
|
] }),
|
|
539
|
-
|
|
567
|
+
oe === !0 && /* @__PURE__ */ e(Se, { sponsoredText: ie })
|
|
540
568
|
]
|
|
541
569
|
}
|
|
542
570
|
)
|
|
543
571
|
);
|
|
544
|
-
}), je =
|
|
572
|
+
}), je = O(({}, c) => /* @__PURE__ */ t(Q, { className: "product-card", children: [
|
|
545
573
|
/* @__PURE__ */ e("img", { className: "skeleton-img" }),
|
|
546
574
|
/* @__PURE__ */ t("div", { className: "wrapper-card-1", children: [
|
|
547
575
|
/* @__PURE__ */ e("div", { className: "skeleton-title" }),
|
|
@@ -551,27 +579,27 @@ const Q = $.div`
|
|
|
551
579
|
/* @__PURE__ */ e("div", { className: "skeleton-price" }),
|
|
552
580
|
/* @__PURE__ */ e("div", { className: "skeleton-sponsored" })
|
|
553
581
|
] })
|
|
554
|
-
] })),
|
|
582
|
+
] })), De = ({ limit: c = 5, isLoading: f = !1, keyPrefix: l }) => /* @__PURE__ */ e(P, { children: Array.from({ length: c }, (y, g) => /* @__PURE__ */ e(
|
|
555
583
|
je,
|
|
556
584
|
{
|
|
557
|
-
isLoading:
|
|
585
|
+
isLoading: f
|
|
558
586
|
},
|
|
559
|
-
`${
|
|
560
|
-
)) }),
|
|
561
|
-
children:
|
|
562
|
-
fallbackComponent:
|
|
563
|
-
isLoading:
|
|
587
|
+
`${l}-skeleton-product-card-${g}`
|
|
588
|
+
)) }), Qe = ({
|
|
589
|
+
children: c,
|
|
590
|
+
fallbackComponent: f = /* @__PURE__ */ e(P, {}),
|
|
591
|
+
isLoading: l = !1,
|
|
564
592
|
limit: y,
|
|
565
|
-
keyPrefix:
|
|
566
|
-
}) => /* @__PURE__ */ e(be, { fallbackComponent:
|
|
567
|
-
|
|
593
|
+
keyPrefix: g
|
|
594
|
+
}) => /* @__PURE__ */ e(be, { fallbackComponent: f, children: l === !0 ? /* @__PURE__ */ e(
|
|
595
|
+
De,
|
|
568
596
|
{
|
|
569
|
-
isLoading:
|
|
597
|
+
isLoading: l,
|
|
570
598
|
limit: y,
|
|
571
|
-
keyPrefix:
|
|
599
|
+
keyPrefix: g
|
|
572
600
|
}
|
|
573
|
-
) :
|
|
601
|
+
) : c });
|
|
574
602
|
export {
|
|
575
|
-
|
|
576
|
-
|
|
603
|
+
Je as D,
|
|
604
|
+
Qe as S
|
|
577
605
|
};
|