@lanaco/lnc-react-ui 4.0.193 → 4.0.195
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/DetailedProductsInfinitiveSection.cjs +13 -4
- package/dist/DetailedProductsInfinitiveSection.js +138 -64
- package/dist/DetailedProductsSection.cjs +2 -2
- package/dist/DetailedProductsSection.js +42 -40
- package/dist/UrgentSaleProductsSection.cjs +2 -2
- package/dist/UrgentSaleProductsSection.js +17 -15
- package/dist/{index-Lmz3An4A.cjs → index-CS4w87SW.cjs} +14 -14
- package/dist/{index-DqBXIFsQ.js → index-Csxc_5p0.js} +214 -211
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as o, Fragment as
|
|
2
|
-
import { memo as
|
|
1
|
+
import { jsx as o, Fragment as $, jsxs as y } from "react/jsx-runtime";
|
|
2
|
+
import { memo as T, forwardRef as I, useState as _, useMemo as q } from "react";
|
|
3
3
|
import { s as B } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as D, S as E } from "./consts-BuFChS64.js";
|
|
5
5
|
import { u as Q } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
6
|
import j from "./Button.js";
|
|
7
|
-
import { D as z, S as A } from "./index-
|
|
7
|
+
import { D as z, S as A } from "./index-Csxc_5p0.js";
|
|
8
8
|
const G = B.div`
|
|
9
9
|
padding: 1.75rem 3rem;
|
|
10
10
|
display: grid;
|
|
@@ -78,7 +78,7 @@ const G = B.div`
|
|
|
78
78
|
display: flex;
|
|
79
79
|
flex-direction: column;
|
|
80
80
|
}
|
|
81
|
-
`, w =
|
|
81
|
+
`, w = T(z), K = I((r, N) => {
|
|
82
82
|
const {
|
|
83
83
|
items: a,
|
|
84
84
|
limit: s = 5,
|
|
@@ -97,11 +97,11 @@ const G = B.div`
|
|
|
97
97
|
},
|
|
98
98
|
actionComponent: k,
|
|
99
99
|
componentName: b,
|
|
100
|
-
sponsoredText:
|
|
101
|
-
LinkComponent:
|
|
102
|
-
} = r, l = Q(), [i, U] = _(!1),
|
|
100
|
+
sponsoredText: S,
|
|
101
|
+
LinkComponent: C
|
|
102
|
+
} = r, l = Q(), [i, U] = _(!1), F = q(() => {
|
|
103
103
|
var t;
|
|
104
|
-
return /* @__PURE__ */ o(
|
|
104
|
+
return /* @__PURE__ */ o($, { children: l === !0 ? (t = a == null ? void 0 : a.slice(0, i === !0 ? a == null ? void 0 : a.length : n)) == null ? void 0 : t.map((e, m) => /* @__PURE__ */ o(
|
|
105
105
|
w,
|
|
106
106
|
{
|
|
107
107
|
sellerName: e == null ? void 0 : e.sellerName,
|
|
@@ -115,7 +115,7 @@ const G = B.div`
|
|
|
115
115
|
sellerUuid: e == null ? void 0 : e.sellerUuid,
|
|
116
116
|
uuid: e == null ? void 0 : e.uuid,
|
|
117
117
|
sponsored: e == null ? void 0 : e.sponsored,
|
|
118
|
-
onSelectCard: (
|
|
118
|
+
onSelectCard: (v, d) => c({
|
|
119
119
|
uuid: e == null ? void 0 : e.uuid,
|
|
120
120
|
nameSlug: e == null ? void 0 : e.nameSlug,
|
|
121
121
|
cardRef: d
|
|
@@ -138,8 +138,9 @@ const G = B.div`
|
|
|
138
138
|
status: e == null ? void 0 : e.status,
|
|
139
139
|
trade: e == null ? void 0 : e.trade,
|
|
140
140
|
forCart: e == null ? void 0 : e.forCart,
|
|
141
|
-
sponsoredText:
|
|
142
|
-
LinkComponent:
|
|
141
|
+
sponsoredText: S,
|
|
142
|
+
LinkComponent: C,
|
|
143
|
+
hasFreeShipping: e == null ? void 0 : e.hasFreeShipping
|
|
143
144
|
},
|
|
144
145
|
m
|
|
145
146
|
)) : a == null ? void 0 : a.slice(0, s).map((e, m) => /* @__PURE__ */ o(
|
|
@@ -156,7 +157,7 @@ const G = B.div`
|
|
|
156
157
|
uuid: e == null ? void 0 : e.uuid,
|
|
157
158
|
location: e == null ? void 0 : e.location,
|
|
158
159
|
sponsored: e == null ? void 0 : e.sponsored,
|
|
159
|
-
onSelectCard: (
|
|
160
|
+
onSelectCard: (v, d) => c({
|
|
160
161
|
uuid: e == null ? void 0 : e.uuid,
|
|
161
162
|
nameSlug: e == null ? void 0 : e.nameSlug,
|
|
162
163
|
cardRef: d
|
|
@@ -179,9 +180,10 @@ const G = B.div`
|
|
|
179
180
|
status: e == null ? void 0 : e.status,
|
|
180
181
|
trade: e == null ? void 0 : e.trade,
|
|
181
182
|
forCart: e == null ? void 0 : e.forCart,
|
|
182
|
-
sponsoredText:
|
|
183
|
+
sponsoredText: S,
|
|
183
184
|
sellerName: e == null ? void 0 : e.sellerName,
|
|
184
|
-
LinkComponent:
|
|
185
|
+
LinkComponent: C,
|
|
186
|
+
hasFreeShipping: e == null ? void 0 : e.hasFreeShipping
|
|
185
187
|
},
|
|
186
188
|
m
|
|
187
189
|
)) });
|
|
@@ -197,7 +199,7 @@ const G = B.div`
|
|
|
197
199
|
/* @__PURE__ */ o("span", { children: P })
|
|
198
200
|
] }),
|
|
199
201
|
" ",
|
|
200
|
-
|
|
202
|
+
F,
|
|
201
203
|
" ",
|
|
202
204
|
l === !0 && n < (a == null ? void 0 : a.length) && !u && /* @__PURE__ */ o(
|
|
203
205
|
j,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),m=require("react"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),m=require("react"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),O=require("./consts-goSZX3xP.cjs"),s=require("./utils-RnrgDDZP.cjs"),Ne=require("./index-uwl7BjRF.cjs"),$=require("./Badge.cjs"),Le=require("./Popover.cjs"),Ee=require("./PopoverTrigger.cjs"),$e=require("./PopoverContent.cjs"),We=require("./useDetectMobile-zkbzoOGV.cjs"),Q=require("./Icon.cjs"),n=require("./style-BAcV7F53.cjs"),Fe=P.styled.a`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 0.5rem;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
}
|
|
16
16
|
& .seller {
|
|
17
17
|
text-transform: uppercase;
|
|
18
|
-
${
|
|
18
|
+
${s.truncateText()}
|
|
19
19
|
color: var(--gray-500);
|
|
20
20
|
font-size: 0.625rem;
|
|
21
21
|
font-weight: 400;
|
|
@@ -68,13 +68,13 @@
|
|
|
68
68
|
& .card-title {
|
|
69
69
|
font-size: 0.875rem;
|
|
70
70
|
font-weight: 600;
|
|
71
|
-
${
|
|
71
|
+
${s.truncateTextInRows(2)}
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
& .price-text {
|
|
75
75
|
font-size: 1rem;
|
|
76
76
|
font-weight: 600;
|
|
77
|
-
${
|
|
77
|
+
${s.truncateText()}
|
|
78
78
|
display: flex;
|
|
79
79
|
align-items: end;
|
|
80
80
|
gap: 0.5rem;
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
font-size: 0.75rem;
|
|
98
98
|
font-weight: 400;
|
|
99
99
|
color: var(--gray-600, #676e79);
|
|
100
|
-
${
|
|
100
|
+
${s.truncateText()}
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
& .tags-wrapper {
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
padding-inline: 0.5rem;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
@media (max-width: ${
|
|
166
|
+
@media (max-width: ${O.MOBILE_SIZE_PX+"px"}) {
|
|
167
167
|
overflow: visible;
|
|
168
168
|
|
|
169
169
|
& .wrapper-card-3 {
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
&:hover .product-image-wrapper img {
|
|
227
227
|
transform: scale(1.1);
|
|
228
228
|
}
|
|
229
|
-
`,
|
|
229
|
+
`,Ie=P.styled.div`
|
|
230
230
|
position: relative;
|
|
231
231
|
overflow: hidden;
|
|
232
232
|
border-radius: 0.75rem;
|
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
|
|
248
248
|
width: 2.25rem;
|
|
249
249
|
height: 2.25rem;
|
|
250
|
-
border-radius: ${i=>
|
|
250
|
+
border-radius: ${i=>s.getBorderRadiusValueWithUnits(i.theme,"curved")};
|
|
251
251
|
border: 1px solid var(--gray-95008);
|
|
252
252
|
background-color: white;
|
|
253
253
|
color: var(--gray-950);
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
transition: var(--transition, all 0.3s ease);
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
@media (max-width: ${
|
|
282
|
+
@media (max-width: ${O.MOBILE_SIZE_PX+"px"}) {
|
|
283
283
|
& img {
|
|
284
284
|
width: 8.875rem;
|
|
285
285
|
height: 8.875rem;
|
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
top: unset;
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
|
-
`,
|
|
297
|
+
`,qe=P.styled.div`
|
|
298
298
|
background: var(--white, #fff);
|
|
299
299
|
z-index: 1;
|
|
300
300
|
|
|
@@ -344,7 +344,7 @@
|
|
|
344
344
|
color: var(--gray-950, #14161a);
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
|
-
`,
|
|
347
|
+
`,Oe=P.styled.div`
|
|
348
348
|
display: flex;
|
|
349
349
|
align-items: center;
|
|
350
350
|
gap: 0.25rem;
|
|
@@ -356,12 +356,12 @@
|
|
|
356
356
|
font-size: 1rem;
|
|
357
357
|
color: var(--warning-500, #F59E0B);
|
|
358
358
|
}
|
|
359
|
-
`,
|
|
360
|
-
@media (max-width: ${
|
|
359
|
+
`,ze=m.forwardRef(({sponsoredText:i="Sponsored"},y)=>e.jsxs(Oe,{ref:y,className:"sponsored-line",children:[e.jsx("i",{className:"mng-lnc-paw2"}),e.jsx("span",{children:i})]})),De="Vehicles_Cars",Ve="Vehicles_Motorcycles",Be="Vehicles_Trucks",Ge="Vehicles_AgriculturalMachines_Tractors",Ue="Vehicles_ConstructionMachines",Me="Vehicles_Bus",Te="Vehicles_Campers",Xe="RealEstates_",l={Mileage:{icon:"mng-lnc-road",measure:"km"},YearOfProduction:{icon:"mng-lnc-calendar",measure:""},Fuel:{icon:"mng-lnc-gas-station",measure:""},EnginePowerKW:{icon:"mng-lnc-engine",measure:"kW"},Transmission:{icon:"mng-lnc-transmission",measure:""},Model:{icon:"mng-lnc-application",measure:""},Brand:{icon:"mng-lnc-car--front",measure:""},SurfaceArea:{icon:"mng-lnc-right-angle",measure:""},Floor:{icon:"mng-lnc-elevator",measure:""},FurnishedCondition:{icon:"mng-lnc-sofa-01",measure:""},AdType:{icon:"mng-lnc-notes",measure:""},NumberOfRooms:{icon:"mng-lnc-meeting-room",measure:""},HeatingType:{icon:"mng-lnc-heat",measure:""},AirConditioning:{icon:"mng-lnc-air-conditioner",measure:""},Type:{icon:"mng-lnc-house-building",measure:""},Parking:{icon:"mng-lnc-parking-area-circle",measure:""},Internet:{icon:"mng-lnc-wifi-02",measure:""},State:{icon:"mng-lnc-settings-1",measure:""},NumberOfPremises:{icon:"mng-lnc-meeting-room",measure:""},Pool:{icon:"mng-lnc-pool",measure:""},Approach:{icon:"mng-lnc-driveway",measure:""},NumberOfBeds:{icon:"mng-lnc-bed",measure:""},Kitchen:{icon:"mng-lnc-fridge",measure:""},BathroomToilet:{icon:"mng-lnc-bath",measure:""},default:{icon:" mng-lnc-clock--filled",measure:""}},j={ADDDISCOUNT:" mng-lnc-percentage",URGENT:" mng-lnc-flash",FREEQUANTITY:" mng-lnc-3d-software",INCLUDEGIFTS:" mng-lnc-gift",FREESHIPPING:" mng-lnc-delivery--parcel"},Ae=m.forwardRef((i,y)=>{const{uuid:h,sellerUuid:W,name:J,price:R=0,sellingPrice:S,currency:k,isNegotiable:_,isFree:N,imageUrl:ee,location:re,sponsored:ne,imageComponent:z,freeText:oe="Free",negotiableText:te="Negotiable",tags:t=[],categoryCode:L,categoryName:ie,condition:D,quantity:F,trade:V,sponsoredText:se,forCart:ae,forOrder:le,contactSeller:ce,hasVariants:de,hasQuantities:me,status:he,onBookmark:I=()=>{},actionComponent:w,bookmarked:B,bookmarkLists:ue,metadata:x,sellerName:G,nameSlug:E,onSelectCard:pe=()=>{},activeSalesPackages:u,urgentText:ge="Urgent",LinkComponent:U,hasFreeShipping:fe}=i,be=U||"a",q=We.useDetectMobile(),we=()=>{var d;if(!s.isDefined(w))return e.jsx(e.Fragment,{});const r=w,o=(d=w==null?void 0:w.props)==null?void 0:d.children,a=m.cloneElement(o,{key:`bookmark_pr__${B}`,bookmarked:B,productUuid:h,onAddToBookmark:()=>I(!0,h),onRemoveFromBookmark:()=>I(!1,h),bookmarkedUuidList:ue,sellerUuid:W,handleBookmarking:I,forCart:ae,forOrder:le,contactSeller:ce,hasVariants:de,status:he,quantity:F,hasQuantities:me,productBasicInfo:{uuid:h,price:R,sellingPrice:S,categoryCode:L,categoryName:ie,currency:k,isNegotiable:_,isFree:N}});return m.cloneElement(r,void 0,a)},M=[De,Ve,Be,Ge,Ue,Me,Te,Xe].some(r=>L==null?void 0:L.includes(r)),[xe,T]=m.useState(!1),ve=()=>{T(!0)},je=()=>{T(!1)},c=m.useRef(null),f=m.useRef([]),[Se,X]=m.useState(t==null?void 0:t.length),ke=()=>{var d,v,C;if(!(c!=null&&c.current)||((d=f==null?void 0:f.current)==null?void 0:d.length)===0)return;if(q){X(t==null?void 0:t.length);return}const r=(v=c==null?void 0:c.current)==null?void 0:v.offsetWidth;let o=0,a=0;for(let p=0;p<(t==null?void 0:t.length);p++){const b=((C=f==null?void 0:f.current[p])==null?void 0:C.offsetWidth)||0,g=o+b+4;if(g<=r)o+=g,a++;else break}X(a)};m.useEffect(()=>{const r=c==null?void 0:c.current;if(!r)return;const o=new ResizeObserver(()=>{ke()});return o.observe(r),()=>{o.disconnect()}},[t,q]);const Ce=()=>{var r;return e.jsx("div",{className:"tags-popover__trigger",children:(r=t==null?void 0:t.slice(0,Se))==null?void 0:r.map((o,a)=>{var b,g,H,Z,K;const d=((b=l==null?void 0:l[o==null?void 0:o.code])==null?void 0:b.icon)??((g=l==null?void 0:l.default)==null?void 0:g.icon)??"",v=((H=o==null?void 0:o.measurementUnit)==null?void 0:H.symbol)??((Z=l==null?void 0:l[o==null?void 0:o.code])==null?void 0:Z.measure)??"",p=[(o==null?void 0:o.value)??((K=o==null?void 0:o.multiOptions)==null?void 0:K[0])??"",v].filter(Boolean).join(" ");return e.jsxs($,{ref:_e=>f.current[a]=_e,className:"tag",children:[e.jsx("i",{className:d}),p]},`detailed-products-section-tag__${a+1}`)})})},Pe=()=>e.jsx("div",{className:"tags-popover__content",children:t==null?void 0:t.map((r,o)=>{var p,b,g;const a=((p=r==null?void 0:r.measurementUnit)==null?void 0:p.symbol)??((b=l==null?void 0:l[r==null?void 0:r.code])==null?void 0:b.measure)??"",v=[(r==null?void 0:r.value)??((g=r==null?void 0:r.multiOptions)==null?void 0:g[0])??"",a].filter(Boolean).join(" "),C=r==null?void 0:r.name;return e.jsxs("div",{children:[e.jsx("span",{className:"tags-popover__name",children:`${C}: `}),e.jsx("span",{className:"tags-popover__value",children:v})]},`detailed-products-section-tag-dropdown__${o+1}`)})}),ye=()=>e.jsxs(e.Fragment,{children:[D&&e.jsx($,{className:"tag",children:D},"detailed-products-section-tag__condition"),F&&e.jsx($,{className:"tag",children:F},"detailed-products-section-tag__quantity"),V&&e.jsx($,{className:"tag",children:V},"detailed-products-section-tag__trade")]}),A=R>0&&k&&_!==!0&&N!==!0&&R!==S,Re=u==null?void 0:u.some(r=>(r==null?void 0:r.salesPackageCode)==="FreeShipping"),Y=fe===!0&&!Re;return e.jsxs(Fe,{ref:c,className:"product-card","data-accessor":x==null?void 0:x.accessor,name:x==null?void 0:x.name,onClick:r=>pe(r,c),as:be,...U?{to:`/product/${s.isDefinedNotEmptyString(E)?`${E}-`:""}${h}`}:{href:`/product/${s.isDefinedNotEmptyString(E)?`${E}-`:""}${h}`},children:[e.jsxs(Ie,{className:"product-image-wrapper",children:[s.isDefined(w)&&e.jsx("div",{className:"prevent-el",onClick:r=>{r==null||r.preventDefault(),r==null||r.stopPropagation()},children:e.jsx(we,{})}),s.isDefined(z)?z:e.jsx(Ne.ProductImageWrapper,{src:ee})]}),(Y||u&&u.length>0)&&e.jsxs("div",{className:"campaign-badges",children:[Y&&e.jsx("div",{className:"campaign-badge campaign-badge-freeshipping",children:e.jsx(Q,{icon:j==null?void 0:j.FREESHIPPING,sizeInUnits:"1rem"})}),u==null?void 0:u.map((r,o)=>{var a,d;return e.jsxs("div",{className:`campaign-badge campaign-badge-${(a=r==null?void 0:r.salesPackageCode)==null?void 0:a.toLowerCase()}`,children:[(r==null?void 0:r.salesPackageCode)!=="Urgent"&&e.jsx(Q,{icon:j==null?void 0:j[(d=r==null?void 0:r.salesPackageCode)==null?void 0:d.toUpperCase()],sizeInUnits:"1rem"}),(r==null?void 0:r.salesPackageCode)==="Urgent"&&e.jsx(e.Fragment,{children:ge})]},o)})]}),e.jsxs("div",{className:"wrapper-card-1",children:[e.jsx("div",{className:"seller",title:G,children:G}),e.jsx("div",{className:"card-title",children:J})]}),e.jsxs("div",{className:"wrapper-card-3",onClick:r=>{r==null||r.preventDefault(),r==null||r.stopPropagation()},children:[M&&e.jsx("div",{...q?{}:{onMouseEnter:ve,onMouseLeave:je},children:e.jsxs(Le,{placement:"bottom",open:xe,children:[e.jsx(Ee,{children:Ce()}),e.jsx($e,{style:{all:"unset"},children:e.jsx(qe,{children:Pe()})})]})}),!M&&ye()]}),e.jsxs("div",{className:"wrapper-card-2",children:[e.jsxs("div",{className:`price-text ${A?"new-price":""}`,children:[S>0&&k&&_!==!0&&N!==!0&&e.jsx("div",{children:`${s.formatPrice(S)} ${s.GetCurrencySymbol(k)}`}),A&&e.jsx("div",{className:`${S>0?"full-price":""}`,children:`${s.formatPrice(R)} ${s.GetCurrencySymbol(k)}`}),_&&te,N&&oe]}),e.jsx("div",{className:"location-text",children:re})]}),ne===!0&&e.jsx(ze,{sponsoredText:se})]})}),Ye=P.styled(n.SkeletonRowWrapper)`
|
|
360
|
+
@media (max-width: ${O.MOBILE_SIZE_PX+"px"}) {
|
|
361
361
|
& > div {
|
|
362
362
|
&:nth-of-type(even) {
|
|
363
363
|
display: none;
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
`,
|
|
367
|
+
`,He=({keyPrefix:i})=>e.jsxs(Ye,{children:[e.jsxs(n.SkeletonColumnWrapper,{gap:"0.5rem",children:[e.jsx(n.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(n.SkeletonColumnWrapper,{height:"1rem",children:e.jsx(n.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"})}),e.jsxs(n.SkeletonRowWrapper,{gap:"0.5rem",children:[e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(n.SkeletonColumnWrapper,{height:"2rem",children:e.jsx(n.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})})]},`${i}-1`),e.jsxs(n.SkeletonColumnWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsxs(n.SkeletonRowWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(n.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})]},`${i}-2`),e.jsxs(n.SkeletonColumnWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsxs(n.SkeletonRowWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(n.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})]},`${i}-3`),e.jsxs(n.SkeletonColumnWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsxs(n.SkeletonRowWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(n.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})]},`${i}-4`),e.jsxs(n.SkeletonColumnWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsxs(n.SkeletonRowWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(n.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})]},`${i}-5`),e.jsxs(n.SkeletonColumnWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsxs(n.SkeletonRowWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(n.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})]},`${i}-6`)]}),Ze=({keyPrefix:i,isLoading:y=!1,fallbackComponent:h=e.jsx(e.Fragment,{}),children:W})=>e.jsx(m.Suspense,{fallbackComponent:h,children:y===!0?e.jsx(He,{keyPrefix:i}):W});exports.DetailedProductCard=Ae;exports.SuspenseDetailedProductCard=Ze;
|