@lanaco/lnc-react-ui 4.0.150 → 4.0.152
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/AdBannerSection.cjs +3 -3
- package/dist/AdBannerSection.js +16 -16
- package/dist/BannerSectionBasic.cjs +4 -4
- package/dist/BannerSectionBasic.js +33 -32
- package/dist/BannerSectionGrid.cjs +3 -3
- package/dist/BannerSectionGrid.js +33 -33
- package/dist/BlogCardsSponsoredSection.cjs +3 -3
- package/dist/BlogCardsSponsoredSection.js +15 -15
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +12 -12
- package/dist/BlogExploreSection.cjs +4 -4
- package/dist/BlogExploreSection.js +30 -30
- package/dist/BlogListSection.cjs +2 -2
- package/dist/BlogListSection.js +28 -28
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +20 -19
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +22 -22
- package/dist/BrandHitsSection.cjs +7 -7
- package/dist/BrandHitsSection.js +24 -24
- package/dist/CustomLoanMapSection.cjs +1 -1
- package/dist/CustomLoanMapSection.js +1 -1
- package/dist/{DailyMotion-CPQ6kDJJ.cjs → DailyMotion-BaFUcQKQ.cjs} +1 -1
- package/dist/{DailyMotion-BrbMSyj1.js → DailyMotion-ByXblnua.js} +1 -1
- package/dist/DetailedProductsInfinitiveSection.cjs +3 -3
- package/dist/DetailedProductsInfinitiveSection.js +53 -84
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +1 -1
- package/dist/{Facebook-Dw3my9_4.js → Facebook-BCqiOWZO.js} +1 -1
- package/dist/{Facebook-DKhRiODC.cjs → Facebook-D9wwecSW.cjs} +1 -1
- package/dist/FaqSection.cjs +2 -2
- package/dist/FaqSection.js +2 -2
- package/dist/FieldOfInterestsMasonrySection.cjs +6 -6
- package/dist/FieldOfInterestsMasonrySection.js +65 -48
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +3 -3
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +27 -25
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +6 -6
- package/dist/FieldOfInterestsWithTagsCardsSection.js +40 -32
- package/dist/{FilePlayer-DlCyGLHB.cjs → FilePlayer-DB6jnpeC.cjs} +1 -1
- package/dist/{FilePlayer-Ckx8dmB0.js → FilePlayer-ktaNhf3p.js} +1 -1
- package/dist/GeneralWithTagsCardsSection.cjs +9 -9
- package/dist/GeneralWithTagsCardsSection.js +15 -15
- package/dist/{Kaltura-31Xm8S1J.cjs → Kaltura-CCdXLzOa.cjs} +1 -1
- package/dist/{Kaltura-qHdDvnjZ.js → Kaltura-CvlN0HDg.js} +1 -1
- package/dist/LoanCalculatorSection.cjs +2 -2
- package/dist/LoanCalculatorSection.js +89 -88
- package/dist/LocationFinderSection.cjs +1 -1
- package/dist/LocationFinderSection.js +1 -1
- package/dist/{Mixcloud-DvH0vfg5.js → Mixcloud-Bb8MTclI.js} +1 -1
- package/dist/{Mixcloud-CP9Zq_TX.cjs → Mixcloud-nG_VyBNt.cjs} +1 -1
- package/dist/{Mux-BlblTeid.cjs → Mux-BgB2a8kM.cjs} +1 -1
- package/dist/{Mux--JeF6dPG.js → Mux-DfYpGTiP.js} +1 -1
- package/dist/OverlayGeneralCardsSection.cjs +5 -5
- package/dist/OverlayGeneralCardsSection.js +11 -11
- package/dist/ProductsWithBannerSection.cjs +1 -1
- package/dist/ProductsWithBannerSection.js +1 -1
- package/dist/QuattroCardsSection.cjs +5 -5
- package/dist/QuattroCardsSection.js +7 -7
- package/dist/QuizSection.cjs +7 -7
- package/dist/QuizSection.js +51 -51
- package/dist/SalesCampaignsSection.cjs +1 -1
- package/dist/SalesCampaignsSection.js +2 -1
- package/dist/SearchSection-BcbHP6QF.cjs +161 -0
- package/dist/{SearchSection-CsfURtvf.js → SearchSection-DDQ_K98T.js} +52 -52
- package/dist/SearchSection.cjs +1 -1
- package/dist/SearchSection.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +1 -1
- package/dist/SimpleCategoriesSection.js +1 -1
- package/dist/SimpleProductsSection.cjs +1 -1
- package/dist/SimpleProductsSection.js +2 -2
- package/dist/{SoundCloud-1hd9TBSO.cjs → SoundCloud-C86xwUG6.cjs} +1 -1
- package/dist/{SoundCloud-CKaavZky.js → SoundCloud-DG91z39R.js} +1 -1
- package/dist/StatsSection.cjs +5 -5
- package/dist/StatsSection.js +22 -22
- package/dist/{Streamable-DLxq1ZNX.cjs → Streamable-4uAnb3WN.cjs} +1 -1
- package/dist/{Streamable-CZEPghiG.js → Streamable-BAIWLgyD.js} +1 -1
- package/dist/ToggleSection.cjs +3 -3
- package/dist/ToggleSection.js +10 -10
- package/dist/{Twitch-Bb8e342z.cjs → Twitch-CVAj24ti.cjs} +1 -1
- package/dist/{Twitch-BJeGquex.js → Twitch-DfXeW5Xs.js} +1 -1
- package/dist/UrgentSaleProductsSection.cjs +1 -1
- package/dist/UrgentSaleProductsSection.js +1 -1
- package/dist/{Vidyard-WNQdOeK1.cjs → Vidyard-DaCcaaH4.cjs} +1 -1
- package/dist/{Vidyard-CuGoX_VE.js → Vidyard-De3pges0.js} +1 -1
- package/dist/{Vimeo-Da2vBv-V.cjs → Vimeo-8wXdCXGs.cjs} +1 -1
- package/dist/{Vimeo-B9eKoxWn.js → Vimeo-N6I2qi_h.js} +1 -1
- package/dist/{Wistia-ZPcGhh1L.cjs → Wistia-BrUzHQoq.cjs} +1 -1
- package/dist/{Wistia-BB50IUif.js → Wistia-dlV6n6tO.js} +1 -1
- package/dist/{YouTube-4RMnpdLL.cjs → YouTube-Cfsj4ZaP.cjs} +1 -1
- package/dist/{YouTube-CG6JL2_w.js → YouTube-DNJxWqRm.js} +1 -1
- package/dist/{index-DzYKmmn2.js → index-BGY3PSA-.js} +18 -18
- package/dist/{index-Djw_s9eq.js → index-C0SKNFzP.js} +15 -15
- package/dist/{index-cd9auaNr.cjs → index-CLoINIGC.cjs} +3 -3
- package/dist/{index-GxCvHDwv.cjs → index-ELUMKl0N.cjs} +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{suspense-categories-card-simple-DuKEj9IU.js → suspense-categories-card-simple-BGj475Ca.js} +11 -10
- package/dist/{suspense-categories-card-simple-DaA0JGJJ.cjs → suspense-categories-card-simple-CjGtzfzp.cjs} +1 -1
- package/dist/suspense-product-card-detailed-BJ-HBkBc.js +577 -0
- package/dist/suspense-product-card-detailed-wPRUytSf.cjs +263 -0
- package/dist/{suspense-product-card-simple-D2m3NcrV.js → suspense-product-card-simple-CLJjab5B.js} +1 -1
- package/dist/{suspense-product-card-simple-BWxWMag0.cjs → suspense-product-card-simple-CrqjSxHI.cjs} +1 -1
- package/dist/{tag-CtleOqEC.js → tag-cRMfP-SZ.js} +9 -9
- package/dist/{tag-Bov1gw34.cjs → tag-yputMSpE.cjs} +4 -4
- package/package.json +1 -1
- package/dist/SearchSection-BGK1Fxaj.cjs +0 -161
- package/dist/suspense-product-card-detailed-C-ZCjG5p.js +0 -538
- package/dist/suspense-product-card-detailed-FuxsUusc.cjs +0 -260
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./CheckBoxInput.cjs"),t=require("./ColorInput.cjs"),e=require("./DateInput.cjs"),n=require("./DecimalInput.cjs"),i=require("./DecimalInputV2.cjs"),c=require("./FileInput.cjs"),a=require("./NumberInput.cjs"),s=require("./PasswordInput.cjs"),u=require("./RadioInput.cjs"),d=require("./RangeSlider.cjs"),q=require("./TextAreaInput.cjs"),l=require("./TextInput.cjs"),S=require("./TimeInput.cjs"),p=require("./Badge.cjs"),g=require("./Chip.cjs"),C=require("./DataView.cjs"),m=require("./DetailsView.cjs"),B=require("./EditableTable.cjs"),I=require("./FormView.cjs"),D=require("./Kanban.cjs"),b=require("./KanbanCard-BDvoqTDS.cjs"),T=require("./KanbanHeader.cjs"),F=require("./KanbanFooter.cjs"),P=require("./KanbanView.cjs"),w=require("./KanbanActionsToolbar.cjs"),h=require("./Table.cjs"),f=require("./TableView.cjs"),M=require("./ActionsToolbar.cjs"),A=require("./Alert.cjs"),v=require("./Notification.cjs"),G=require("./NotificationContainer.cjs"),x=require("./NotificationMessage.cjs"),L=require("./ProgressBar.cjs"),y=require("./Spinner.cjs"),K=require("./Avatar.cjs"),N=require("./Button.cjs"),V=require("./Icon.cjs"),W=require("./IconButton.cjs"),k=require("./Link.cjs"),H=require("./Surface.cjs"),R=require("./UploadedFile.cjs"),O=require("./DoubleRangeSlider.cjs"),E=require("./DragAndDropFile.cjs"),Q=require("./DragDropFiles.cjs"),U=require("./Dropdown.cjs"),z=require("./DropdownLookup.cjs"),j=require("./MultiSelectDropdown.cjs"),J=require("./MultiSelectDropdownLookup.cjs"),X=require("./RadioGroup.cjs"),Y=require("./SearchBar.cjs"),Z=require("./Toggle.cjs"),_=require("./ButtonGroup.cjs"),$=require("./Content.cjs"),ee=require("./FlexBox.cjs"),re=require("./FlexGrid.cjs"),oe=require("./FlexGridItem.cjs"),te=require("./Footer.cjs"),ne=require("./FormField.cjs"),ie=require("./Grid.cjs"),ce=require("./GridItem.cjs"),ae=require("./Header.cjs"),se=require("./PageLayout.cjs"),ue=require("./Sidebar.cjs"),de=require("./Tabs.cjs"),qe=require("./TabItem.cjs"),le=require("./Accordion.cjs"),Se=require("./AccordionSummary.cjs"),pe=require("./AccordionDetails.cjs"),ge=require("./Breadcrumbs.cjs"),Ce=require("./ConfirmationForm.cjs"),me=require("./Drawer.cjs"),Be=require("./DropdownMenu.cjs"),Ie=require("./DropdownItem.cjs"),De=require("./NestedDropdownItem.cjs"),be=require("./Separator.cjs"),Te=require("./Modal.cjs"),Fe=require("./Pagination.cjs"),Pe=require("./Popover.cjs"),we=require("./PopoverClose.cjs"),he=require("./PopoverHeading.cjs"),fe=require("./PopoverContent.cjs"),Me=require("./PopoverTrigger.cjs"),Ae=require("./PopoverDescription.cjs"),ve=require("./SwipeableDrawer.cjs"),Ge=require("./TreeMenu.cjs"),xe=require("./MenuItem.cjs"),Le=require("./NestedMenuItem.cjs"),ye=require("./TreeMenuSeparator.cjs"),Ke=require("./MasonryGeneralCardsSection.cjs"),Ne=require("./DetailedProductsSection.cjs"),Ve=require("./DetailedProductsInfinitiveSection.cjs"),We=require("./ProductsWithBannerSection.cjs"),ke=require("./SimpleProductsSection.cjs"),He=require("./UrgentSaleProductsSection.cjs"),Re=require("./BannerSectionCarousel.cjs"),Oe=require("./BannerSectionGrid.cjs"),Ee=require("./BannerSectionSimple.cjs"),Qe=require("./BannerSectionWithList.cjs"),Ue=require("./BannerSectionWithListImage.cjs"),ze=require("./GiftCardsSection.cjs"),je=require("./BrandHitsSection.cjs"),Je=require("./FieldOfInterestsMasonrySection.cjs"),Xe=require("./FieldOfInterestsWithAvatarsCardsSection.cjs"),Ye=require("./FieldOfInterestsWithTagsCardsSection.cjs"),Ze=require("./BannerSectionBasic.cjs"),_e=require("./GeneralWithTagsCardsSection.cjs"),$e=require("./ShopCardsSection.cjs"),er=require("./QuizSection.cjs"),rr=require("./SalesCampaignsSection.cjs"),or=require("./CalorieCalculatorSection.cjs"),tr=require("./BlogCategoryCardsSection.cjs"),nr=require("./BlogProductCardsSection.cjs"),ir=require("./BlogShopCardsSection.cjs"),cr=require("./BlogCardsSponsoredSection.cjs"),ar=require("./BlogListSection.cjs"),sr=require("./AdBannerSection.cjs"),ur=require("./QuattroCardsSection.cjs"),dr=require("./FeedbackSection.cjs"),qr=require("./HelpBannerSection.cjs"),lr=require("./ContactSection.cjs"),Sr=require("./FaqSection.cjs"),pr=require("./SearchSection-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./CheckBoxInput.cjs"),t=require("./ColorInput.cjs"),e=require("./DateInput.cjs"),n=require("./DecimalInput.cjs"),i=require("./DecimalInputV2.cjs"),c=require("./FileInput.cjs"),a=require("./NumberInput.cjs"),s=require("./PasswordInput.cjs"),u=require("./RadioInput.cjs"),d=require("./RangeSlider.cjs"),q=require("./TextAreaInput.cjs"),l=require("./TextInput.cjs"),S=require("./TimeInput.cjs"),p=require("./Badge.cjs"),g=require("./Chip.cjs"),C=require("./DataView.cjs"),m=require("./DetailsView.cjs"),B=require("./EditableTable.cjs"),I=require("./FormView.cjs"),D=require("./Kanban.cjs"),b=require("./KanbanCard-BDvoqTDS.cjs"),T=require("./KanbanHeader.cjs"),F=require("./KanbanFooter.cjs"),P=require("./KanbanView.cjs"),w=require("./KanbanActionsToolbar.cjs"),h=require("./Table.cjs"),f=require("./TableView.cjs"),M=require("./ActionsToolbar.cjs"),A=require("./Alert.cjs"),v=require("./Notification.cjs"),G=require("./NotificationContainer.cjs"),x=require("./NotificationMessage.cjs"),L=require("./ProgressBar.cjs"),y=require("./Spinner.cjs"),K=require("./Avatar.cjs"),N=require("./Button.cjs"),V=require("./Icon.cjs"),W=require("./IconButton.cjs"),k=require("./Link.cjs"),H=require("./Surface.cjs"),R=require("./UploadedFile.cjs"),O=require("./DoubleRangeSlider.cjs"),E=require("./DragAndDropFile.cjs"),Q=require("./DragDropFiles.cjs"),U=require("./Dropdown.cjs"),z=require("./DropdownLookup.cjs"),j=require("./MultiSelectDropdown.cjs"),J=require("./MultiSelectDropdownLookup.cjs"),X=require("./RadioGroup.cjs"),Y=require("./SearchBar.cjs"),Z=require("./Toggle.cjs"),_=require("./ButtonGroup.cjs"),$=require("./Content.cjs"),ee=require("./FlexBox.cjs"),re=require("./FlexGrid.cjs"),oe=require("./FlexGridItem.cjs"),te=require("./Footer.cjs"),ne=require("./FormField.cjs"),ie=require("./Grid.cjs"),ce=require("./GridItem.cjs"),ae=require("./Header.cjs"),se=require("./PageLayout.cjs"),ue=require("./Sidebar.cjs"),de=require("./Tabs.cjs"),qe=require("./TabItem.cjs"),le=require("./Accordion.cjs"),Se=require("./AccordionSummary.cjs"),pe=require("./AccordionDetails.cjs"),ge=require("./Breadcrumbs.cjs"),Ce=require("./ConfirmationForm.cjs"),me=require("./Drawer.cjs"),Be=require("./DropdownMenu.cjs"),Ie=require("./DropdownItem.cjs"),De=require("./NestedDropdownItem.cjs"),be=require("./Separator.cjs"),Te=require("./Modal.cjs"),Fe=require("./Pagination.cjs"),Pe=require("./Popover.cjs"),we=require("./PopoverClose.cjs"),he=require("./PopoverHeading.cjs"),fe=require("./PopoverContent.cjs"),Me=require("./PopoverTrigger.cjs"),Ae=require("./PopoverDescription.cjs"),ve=require("./SwipeableDrawer.cjs"),Ge=require("./TreeMenu.cjs"),xe=require("./MenuItem.cjs"),Le=require("./NestedMenuItem.cjs"),ye=require("./TreeMenuSeparator.cjs"),Ke=require("./MasonryGeneralCardsSection.cjs"),Ne=require("./DetailedProductsSection.cjs"),Ve=require("./DetailedProductsInfinitiveSection.cjs"),We=require("./ProductsWithBannerSection.cjs"),ke=require("./SimpleProductsSection.cjs"),He=require("./UrgentSaleProductsSection.cjs"),Re=require("./BannerSectionCarousel.cjs"),Oe=require("./BannerSectionGrid.cjs"),Ee=require("./BannerSectionSimple.cjs"),Qe=require("./BannerSectionWithList.cjs"),Ue=require("./BannerSectionWithListImage.cjs"),ze=require("./GiftCardsSection.cjs"),je=require("./BrandHitsSection.cjs"),Je=require("./FieldOfInterestsMasonrySection.cjs"),Xe=require("./FieldOfInterestsWithAvatarsCardsSection.cjs"),Ye=require("./FieldOfInterestsWithTagsCardsSection.cjs"),Ze=require("./BannerSectionBasic.cjs"),_e=require("./GeneralWithTagsCardsSection.cjs"),$e=require("./ShopCardsSection.cjs"),er=require("./QuizSection.cjs"),rr=require("./SalesCampaignsSection.cjs"),or=require("./CalorieCalculatorSection.cjs"),tr=require("./BlogCategoryCardsSection.cjs"),nr=require("./BlogProductCardsSection.cjs"),ir=require("./BlogShopCardsSection.cjs"),cr=require("./BlogCardsSponsoredSection.cjs"),ar=require("./BlogListSection.cjs"),sr=require("./AdBannerSection.cjs"),ur=require("./QuattroCardsSection.cjs"),dr=require("./FeedbackSection.cjs"),qr=require("./HelpBannerSection.cjs"),lr=require("./ContactSection.cjs"),Sr=require("./FaqSection.cjs"),pr=require("./SearchSection-BcbHP6QF.cjs"),gr=require("./StatsSection.cjs"),Cr=require("./ToggleSection.cjs"),mr=require("./BlogExploreSection.cjs"),r=require("./ThemeProvider.cjs"),Br=require("./CustomStyles-Ajyqx0cb.cjs");exports.CheckBoxInput=o;exports.ColorInput=t;exports.DateInput=e.default;exports.registerLocale=e.registerLocale;exports.DecimalInput=n;exports.DecimalInputV2=i;exports.FileInput=c;exports.NumberInput=a;exports.PasswordInput=s;exports.RadioInput=u;exports.RangeSlider=d;exports.TextAreaInput=q;exports.TextInput=l;exports.TimeInput=S;exports.Badge=p;exports.Chip=g;exports.DataView=C;exports.DetailsView=m;exports.EditableTable=B;exports.FormView=I;exports.Kanban=D;exports.KanbanCard=b.KanbanCard;exports.KanbanHeader=T;exports.KanbanFooter=F;exports.KanbanView=P;exports.KanbanActionsToolbar=w;exports.Table=h.default;exports.TableView=f;exports.ActionsToolbar=M;exports.Alert=A;exports.Notification=v;exports.NotificationContainer=G;exports.NotificationMessage=x;exports.ProgressBar=L;exports.Spinner=y;exports.Avatar=K;exports.Button=N;exports.Icon=V;exports.IconButton=W;exports.Link=k;exports.Surface=H;exports.UploadedFile=R;exports.DoubleRangeSlider=O;exports.DragAndDropFile=E;exports.DragDropFiles=Q;exports.Dropdown=U.default;exports.DropdownLookup=z;exports.MultiSelectDropdown=j;exports.MultiSelectDropdownLookup=J;exports.RadioGroup=X;exports.SearchBar=Y;exports.Toggle=Z;exports.ButtonGroup=_;exports.Content=$;exports.FlexBox=ee;exports.FlexGrid=re;exports.FlexGridItem=oe;exports.Footer=te;exports.FormField=ne;exports.Grid=ie;exports.GridItem=ce;exports.Header=ae;exports.PageLayout=se;exports.Sidebar=ue;exports.Tabs=de;exports.TabItem=qe;exports.Accordion=le;exports.AccordionSummary=Se;exports.AccordionDetails=pe.default;exports.Breadcrumbs=ge;exports.ConfirmationForm=Ce;exports.Drawer=me;exports.DropdownMenu=Be;exports.DropdownItem=Ie;exports.NestedDropdownItem=De;exports.Separator=be;exports.Modal=Te;exports.Pagination=Fe;exports.Popover=Pe;exports.PopoverClose=we;exports.PopoverHeading=he;exports.PopoverContent=fe;exports.PopoverTrigger=Me;exports.PopoverDescription=Ae;exports.SwipeableDrawer=ve;exports.TreeMenu=Ge;exports.MenuItem=xe;exports.NestedMenuItem=Le;exports.TreeMenuSeparator=ye;exports.MasonryGeneralCardsSection=Ke;exports.DetailedProductsSection=Ne;exports.DetailedProductsInfinitiveSection=Ve;exports.ProductsWithBannerSection=We;exports.SimpleProductsSection=ke;exports.UrgentSaleProductsSection=He;exports.BannerSectionCarousel=Re;exports.BannerSectionGrid=Oe;exports.BannerSectionSimple=Ee;exports.BannerSectionWithList=Qe;exports.BannerSectionWithListImage=Ue;exports.GiftCardsSection=ze;exports.BrandHitsSection=je;exports.FieldOfInterestsMasonrySection=Je;exports.FieldOfInterestsWithAvatarsCardsSection=Xe;exports.FieldOfInterestsWithTagsCardsSection=Ye;exports.BannerSectionBasic=Ze;exports.GeneralWithTagsCardsSection=_e;exports.ShopCardsSection=$e;exports.QuizSection=er;exports.SalesCampaignsSection=rr;exports.CalorieCalculatorSection=or;exports.BlogCategoryCardsSection=tr;exports.BlogProductCardsSection=nr;exports.BlogShopCardsSection=ir;exports.BlogCardsSponsoredSection=cr;exports.BlogListSection=ar;exports.AdBannerSection=sr;exports.QuattroCardsSection=ur;exports.FeedbackSection=dr;exports.HelpBannerSection=qr;exports.ContactSection=lr;exports.FaqSection=Sr;exports.SearchSection=pr.SearchSection;exports.StatsSection=gr;exports.ToggleSection=Cr;exports.BlogExploreSection=mr;exports.ThemeProvider=r.default;exports.useTheme=r.useTheme;exports.components=Br.components;
|
package/dist/index.js
CHANGED
|
@@ -119,7 +119,7 @@ import { default as br } from "./FeedbackSection.js";
|
|
|
119
119
|
import { default as Fr } from "./HelpBannerSection.js";
|
|
120
120
|
import { default as wr } from "./ContactSection.js";
|
|
121
121
|
import { default as Ar } from "./FaqSection.js";
|
|
122
|
-
import { S as vr } from "./SearchSection-
|
|
122
|
+
import { S as vr } from "./SearchSection-DDQ_K98T.js";
|
|
123
123
|
import { default as Lr } from "./StatsSection.js";
|
|
124
124
|
import { default as Nr } from "./ToggleSection.js";
|
|
125
125
|
import { default as Wr } from "./BlogExploreSection.js";
|
|
@@ -57,41 +57,42 @@ const c = g.div`
|
|
|
57
57
|
max-height: 5.375rem;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
`, k = d((r,
|
|
61
|
-
const { uuid: t, image: o, name:
|
|
60
|
+
`, k = d((r, a) => {
|
|
61
|
+
const { uuid: t, image: o, name: i, onSelectCard: l = () => {
|
|
62
62
|
} } = r;
|
|
63
63
|
return /* @__PURE__ */ m(
|
|
64
64
|
c,
|
|
65
65
|
{
|
|
66
|
+
ref: a,
|
|
66
67
|
className: "simple-category-card",
|
|
67
68
|
onClick: () => l(t),
|
|
68
69
|
children: [
|
|
69
70
|
/* @__PURE__ */ e("img", { src: o }),
|
|
70
|
-
/* @__PURE__ */ e("div", { className: "card-content", children: /* @__PURE__ */ e("div", { className: "card-content-2", children:
|
|
71
|
+
/* @__PURE__ */ e("div", { className: "card-content", children: /* @__PURE__ */ e("div", { className: "card-content-2", children: i }) })
|
|
71
72
|
]
|
|
72
73
|
}
|
|
73
74
|
);
|
|
74
75
|
}), x = d(({}, r) => /* @__PURE__ */ m(c, { className: "simple-category-card", children: [
|
|
75
76
|
/* @__PURE__ */ e("div", { className: "skeleton-img" }),
|
|
76
77
|
/* @__PURE__ */ e("div", { className: "card-content" })
|
|
77
|
-
] })), u = ({ limit: r = 12, isLoading:
|
|
78
|
+
] })), u = ({ limit: r = 12, isLoading: a = !1, keyPrefix: t }) => /* @__PURE__ */ e(s, { children: Array.from({ length: r }, (o, i) => /* @__PURE__ */ e(
|
|
78
79
|
x,
|
|
79
80
|
{
|
|
80
|
-
isLoading:
|
|
81
|
+
isLoading: a
|
|
81
82
|
},
|
|
82
|
-
`${t}-skeleton-category-card-${
|
|
83
|
+
`${t}-skeleton-category-card-${i}`
|
|
83
84
|
)) }), b = ({
|
|
84
85
|
children: r,
|
|
85
|
-
fallbackComponent:
|
|
86
|
+
fallbackComponent: a = /* @__PURE__ */ e(s, {}),
|
|
86
87
|
isLoading: t = !1,
|
|
87
88
|
limit: o,
|
|
88
|
-
keyPrefix:
|
|
89
|
-
}) => /* @__PURE__ */ e(h, { fallbackComponent:
|
|
89
|
+
keyPrefix: i
|
|
90
|
+
}) => /* @__PURE__ */ e(h, { fallbackComponent: a, children: t === !0 ? /* @__PURE__ */ e(
|
|
90
91
|
u,
|
|
91
92
|
{
|
|
92
93
|
isLoading: t,
|
|
93
94
|
limit: o,
|
|
94
|
-
keyPrefix:
|
|
95
|
+
keyPrefix: i
|
|
95
96
|
}
|
|
96
97
|
) : r });
|
|
97
98
|
export {
|
|
@@ -52,4 +52,4 @@
|
|
|
52
52
|
max-height: 5.375rem;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
`,g=o.forwardRef((r,
|
|
55
|
+
`,g=o.forwardRef((r,a)=>{const{uuid:t,image:n,name:i,onSelectCard:m=()=>{}}=r;return e.jsxs(c,{ref:a,className:"simple-category-card",onClick:()=>m(t),children:[e.jsx("img",{src:n}),e.jsx("div",{className:"card-content",children:e.jsx("div",{className:"card-content-2",children:i})})]})}),h=o.forwardRef(({},r)=>e.jsxs(c,{className:"simple-category-card",children:[e.jsx("div",{className:"skeleton-img"}),e.jsx("div",{className:"card-content"})]})),x=({limit:r=12,isLoading:a=!1,keyPrefix:t})=>e.jsx(e.Fragment,{children:Array.from({length:r},(n,i)=>e.jsx(h,{isLoading:a},`${t}-skeleton-category-card-${i}`))}),u=({children:r,fallbackComponent:a=e.jsx(e.Fragment,{}),isLoading:t=!1,limit:n,keyPrefix:i})=>e.jsx(o.Suspense,{fallbackComponent:a,children:t===!0?e.jsx(x,{isLoading:t,limit:n,keyPrefix:i}):r});exports.CategorySimpleCard=g;exports.SuspenseSimpleCategoryCard=u;
|
|
@@ -0,0 +1,577 @@
|
|
|
1
|
+
import { jsxs as t, jsx as e, Fragment as P } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as M, 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, k as ye } from "./utils-BdsZgOUE.js";
|
|
4
|
+
import { s as $ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
+
import { P as _e } from "./index-CF3HhgvN.js";
|
|
6
|
+
import C from "./Badge.js";
|
|
7
|
+
import Ne from "./Popover.js";
|
|
8
|
+
import Ce from "./PopoverTrigger.js";
|
|
9
|
+
import Pe from "./PopoverContent.js";
|
|
10
|
+
import { u as $e } from "./useDetectMobile-Bkvj0VMa.js";
|
|
11
|
+
import { M as J } from "./consts-BuFChS64.js";
|
|
12
|
+
const Q = $.div`
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
gap: 0.5rem;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
width: 100%;
|
|
19
|
+
|
|
20
|
+
& .wrapper-card-1 {
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
gap: 0.38rem;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
& .wrapper-card-2 {
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
gap: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
& .wrapper-card-3 {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-wrap: wrap;
|
|
35
|
+
gap: 0.25rem;
|
|
36
|
+
|
|
37
|
+
& > div {
|
|
38
|
+
& > div {
|
|
39
|
+
width: 100% !important;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
& .tag {
|
|
45
|
+
height: 1.5rem;
|
|
46
|
+
gap: 0.25rem;
|
|
47
|
+
padding: 0.25rem 0.375rem;
|
|
48
|
+
border-radius: 0.375rem;
|
|
49
|
+
background: #f9fafb;
|
|
50
|
+
border: 1px solid var(--gray-95012, #14161a1f);
|
|
51
|
+
font-weight: 400;
|
|
52
|
+
font-size: 0.75rem;
|
|
53
|
+
line-height: 1rem;
|
|
54
|
+
letter-spacing: 0.025rem;
|
|
55
|
+
color: var(--gray-950, #14161a);
|
|
56
|
+
white-space: nowrap;
|
|
57
|
+
flex: 0 0 auto;
|
|
58
|
+
|
|
59
|
+
& i {
|
|
60
|
+
color: var(--yellow-500, #f59e0b);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
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
|
+
& .card-title {
|
|
73
|
+
font-size: 0.875rem;
|
|
74
|
+
font-weight: 600;
|
|
75
|
+
${ke(2)}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
& .price-text {
|
|
79
|
+
font-size: 1rem;
|
|
80
|
+
font-weight: 600;
|
|
81
|
+
${Y()}
|
|
82
|
+
display: flex;
|
|
83
|
+
align-items: end;
|
|
84
|
+
gap: 0.5rem;
|
|
85
|
+
color: var(--gray-950, #14161a);
|
|
86
|
+
|
|
87
|
+
&.new-price {
|
|
88
|
+
color: var(--danger-600, #e11d48);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
& .full-price {
|
|
92
|
+
text-decoration: line-through;
|
|
93
|
+
font-size: 0.75rem;
|
|
94
|
+
font-weight: 400;
|
|
95
|
+
padding-bottom: 0.125rem;
|
|
96
|
+
color: var(--gray-600, #676e79);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
& .location-text {
|
|
101
|
+
font-size: 0.75rem;
|
|
102
|
+
font-weight: 400;
|
|
103
|
+
color: var(--gray-600, #676e79);
|
|
104
|
+
${Y()}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
& .tags-wrapper {
|
|
108
|
+
display: flex;
|
|
109
|
+
gap: 0.5rem;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
& .skeleton-img {
|
|
113
|
+
background-color: ${k("-90deg")};
|
|
114
|
+
border-radius: 0.75rem;
|
|
115
|
+
border: 1px solid white;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
& .skeleton-title {
|
|
119
|
+
background-color: ${k("-90deg")};
|
|
120
|
+
width: 100%;
|
|
121
|
+
height: 2.5rem;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
& .skeleton-tags {
|
|
125
|
+
background-color: ${k("-90deg")};
|
|
126
|
+
width: 80%;
|
|
127
|
+
height: 1.5rem;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
& .skeleton-price {
|
|
131
|
+
background-color: ${k("-90deg")};
|
|
132
|
+
width: 50%;
|
|
133
|
+
height: 2.5rem;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
& .skeleton-sponsored {
|
|
137
|
+
background-color: ${k("-90deg")};
|
|
138
|
+
width: 50%;
|
|
139
|
+
height: 1rem;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
& .tags-popover__trigger {
|
|
143
|
+
display: flex;
|
|
144
|
+
gap: 0.25rem;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
@media (max-width: ${J + "px"}) {
|
|
148
|
+
overflow: visible;
|
|
149
|
+
|
|
150
|
+
& .tags-popover__trigger {
|
|
151
|
+
flex-wrap: wrap;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
& .price-text {
|
|
155
|
+
font-size: 0.875rem;
|
|
156
|
+
font-weight: 600;
|
|
157
|
+
|
|
158
|
+
& .full-price {
|
|
159
|
+
display: none;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
&:hover .product-image-wrapper img {
|
|
165
|
+
transform: scale(1.1);
|
|
166
|
+
}
|
|
167
|
+
`, Te = $.div`
|
|
168
|
+
position: relative;
|
|
169
|
+
overflow: hidden;
|
|
170
|
+
border-radius: 0.75rem;
|
|
171
|
+
width: 100%;
|
|
172
|
+
aspect-ratio: 1 / 1;
|
|
173
|
+
border: 1px solid #0c15201f;
|
|
174
|
+
|
|
175
|
+
& .bookmarking-btn {
|
|
176
|
+
position: absolute;
|
|
177
|
+
right: 0.5rem;
|
|
178
|
+
top: 0.5rem;
|
|
179
|
+
z-index: 1;
|
|
180
|
+
|
|
181
|
+
display: none;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
&:hover {
|
|
185
|
+
& .bookmarking-btn {
|
|
186
|
+
display: flex;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
& img {
|
|
191
|
+
display: block;
|
|
192
|
+
width: 100%;
|
|
193
|
+
height: 100%;
|
|
194
|
+
object-fit: cover;
|
|
195
|
+
border-radius: 0.75rem;
|
|
196
|
+
transition: var(--transition, all 0.3s ease);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
@media (max-width: ${J + "px"}) {
|
|
200
|
+
& img {
|
|
201
|
+
width: 8.875rem;
|
|
202
|
+
height: 8.875rem;
|
|
203
|
+
min-width: 8.875rem;
|
|
204
|
+
min-height: 8.875rem;
|
|
205
|
+
object-fit: cover;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
& .bookmarking-btn {
|
|
209
|
+
display: flex;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
`, Ee = $.div`
|
|
213
|
+
background: var(--white, #fff);
|
|
214
|
+
z-index: 1;
|
|
215
|
+
|
|
216
|
+
border: 1px solid var(--gray-200, #dddfe4);
|
|
217
|
+
border-radius: 0.5rem;
|
|
218
|
+
line-height: 1rem;
|
|
219
|
+
position: absolute;
|
|
220
|
+
padding: 0.5rem 0.75rem;
|
|
221
|
+
top: 0.5rem;
|
|
222
|
+
left: 25%;
|
|
223
|
+
transform: translateX(-50%);
|
|
224
|
+
min-width: 13rem;
|
|
225
|
+
|
|
226
|
+
&::before,
|
|
227
|
+
&::after {
|
|
228
|
+
content: "";
|
|
229
|
+
position: absolute;
|
|
230
|
+
left: 50%;
|
|
231
|
+
transform: translateX(-50%);
|
|
232
|
+
border-style: solid;
|
|
233
|
+
border-width: 0.625rem;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
&::after {
|
|
237
|
+
top: -1.1875rem;
|
|
238
|
+
border-color: transparent transparent var(--white, #fff) transparent;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
&::before {
|
|
242
|
+
top: -1.25rem;
|
|
243
|
+
border-color: transparent transparent var(--gray-200, #dddfe4) transparent;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
& .tags-popover__content {
|
|
247
|
+
display: flex;
|
|
248
|
+
flex-wrap: wrap;
|
|
249
|
+
flex-direction: column;
|
|
250
|
+
gap: 0.375rem;
|
|
251
|
+
font-size: 0.75rem;
|
|
252
|
+
font-weight: 400;
|
|
253
|
+
|
|
254
|
+
& .tags-popover__name {
|
|
255
|
+
color: var(--gray-600, #676e79);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
& .tags-popover__value {
|
|
259
|
+
color: var(--gray-950, #14161a);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
`, Ve = $.div`
|
|
263
|
+
display: flex;
|
|
264
|
+
align-items: center;
|
|
265
|
+
gap: 0.25rem;
|
|
266
|
+
color: var(--gray-500);
|
|
267
|
+
font-size: 0.75rem;
|
|
268
|
+
font-weight: 500;
|
|
269
|
+
|
|
270
|
+
& i {
|
|
271
|
+
font-size: 1rem;
|
|
272
|
+
color: var(--warning-500, #F59E0B);
|
|
273
|
+
}
|
|
274
|
+
`, Oe = M(({ sponsoredText: m = "Sponsored" }, v) => /* @__PURE__ */ t(Ve, { ref: v, className: "sponsored-line", children: [
|
|
275
|
+
/* @__PURE__ */ e("i", { className: "mng-lnc-paw2" }),
|
|
276
|
+
/* @__PURE__ */ e("span", { children: m })
|
|
277
|
+
] })), Se = "Vehicles_Cars", ze = "Vehicles_Motorcycles", Be = "Vehicles_Trucks", Me = "Vehicles_AgriculturalMachines_Tractors", We = "Vehicles_ConstructionMachines", Fe = "Vehicles_Bus", De = "Vehicles_Campers", Ie = "RealEstates_", a = {
|
|
278
|
+
Mileage: {
|
|
279
|
+
icon: "mng-lnc-road",
|
|
280
|
+
measure: "km"
|
|
281
|
+
},
|
|
282
|
+
YearOfProduction: {
|
|
283
|
+
icon: "mng-lnc-calendar",
|
|
284
|
+
measure: ""
|
|
285
|
+
},
|
|
286
|
+
Fuel: {
|
|
287
|
+
icon: "mng-lnc-gas-station",
|
|
288
|
+
measure: ""
|
|
289
|
+
},
|
|
290
|
+
EnginePowerKW: {
|
|
291
|
+
icon: "mng-lnc-engine",
|
|
292
|
+
measure: "kW"
|
|
293
|
+
},
|
|
294
|
+
Transmission: {
|
|
295
|
+
icon: "mng-lnc-transmission",
|
|
296
|
+
measure: ""
|
|
297
|
+
},
|
|
298
|
+
Model: {
|
|
299
|
+
icon: "mng-lnc-application",
|
|
300
|
+
measure: ""
|
|
301
|
+
},
|
|
302
|
+
Brand: {
|
|
303
|
+
icon: "mng-lnc-car--front",
|
|
304
|
+
measure: ""
|
|
305
|
+
},
|
|
306
|
+
SurfaceArea: {
|
|
307
|
+
icon: "mng-lnc-right-angle",
|
|
308
|
+
measure: ""
|
|
309
|
+
},
|
|
310
|
+
Floor: {
|
|
311
|
+
icon: "mng-lnc-elevator",
|
|
312
|
+
measure: ""
|
|
313
|
+
},
|
|
314
|
+
FurnishedCondition: {
|
|
315
|
+
icon: "mng-lnc-sofa-01",
|
|
316
|
+
measure: ""
|
|
317
|
+
},
|
|
318
|
+
AdType: {
|
|
319
|
+
icon: "mng-lnc-notes",
|
|
320
|
+
measure: ""
|
|
321
|
+
},
|
|
322
|
+
NumberOfRooms: {
|
|
323
|
+
icon: "mng-lnc-meeting-room",
|
|
324
|
+
measure: ""
|
|
325
|
+
},
|
|
326
|
+
HeatingType: {
|
|
327
|
+
icon: "mng-lnc-heat",
|
|
328
|
+
measure: ""
|
|
329
|
+
},
|
|
330
|
+
AirConditioning: {
|
|
331
|
+
icon: "mng-lnc-air-conditioner",
|
|
332
|
+
measure: ""
|
|
333
|
+
},
|
|
334
|
+
Type: {
|
|
335
|
+
icon: "mng-lnc-house-building",
|
|
336
|
+
measure: ""
|
|
337
|
+
},
|
|
338
|
+
Parking: {
|
|
339
|
+
icon: "mng-lnc-parking-area-circle",
|
|
340
|
+
measure: ""
|
|
341
|
+
},
|
|
342
|
+
Internet: {
|
|
343
|
+
icon: "mng-lnc-wifi-02",
|
|
344
|
+
measure: ""
|
|
345
|
+
},
|
|
346
|
+
State: {
|
|
347
|
+
icon: "mng-lnc-settings-1",
|
|
348
|
+
measure: ""
|
|
349
|
+
},
|
|
350
|
+
NumberOfPremises: {
|
|
351
|
+
icon: "mng-lnc-meeting-room",
|
|
352
|
+
measure: ""
|
|
353
|
+
},
|
|
354
|
+
Pool: {
|
|
355
|
+
icon: "mng-lnc-pool",
|
|
356
|
+
measure: ""
|
|
357
|
+
},
|
|
358
|
+
Approach: {
|
|
359
|
+
icon: "mng-lnc-driveway",
|
|
360
|
+
measure: ""
|
|
361
|
+
},
|
|
362
|
+
NumberOfBeds: {
|
|
363
|
+
icon: "mng-lnc-bed",
|
|
364
|
+
measure: ""
|
|
365
|
+
},
|
|
366
|
+
Kitchen: {
|
|
367
|
+
icon: "mng-lnc-fridge",
|
|
368
|
+
measure: ""
|
|
369
|
+
},
|
|
370
|
+
BathroomToilet: {
|
|
371
|
+
icon: "mng-lnc-bath",
|
|
372
|
+
measure: ""
|
|
373
|
+
},
|
|
374
|
+
default: {
|
|
375
|
+
icon: " mng-lnc-clock--filled",
|
|
376
|
+
measure: ""
|
|
377
|
+
}
|
|
378
|
+
}, xe = M((m, v) => {
|
|
379
|
+
const {
|
|
380
|
+
uuid: p,
|
|
381
|
+
name: y,
|
|
382
|
+
price: u = 0,
|
|
383
|
+
sellingPrice: _,
|
|
384
|
+
currency: N,
|
|
385
|
+
isNegotiable: T,
|
|
386
|
+
isFree: E,
|
|
387
|
+
imageUrl: x,
|
|
388
|
+
location: ee,
|
|
389
|
+
sponsored: re,
|
|
390
|
+
imageComponent: W,
|
|
391
|
+
onSelectCard: oe = () => {
|
|
392
|
+
},
|
|
393
|
+
freeText: ne = "Free",
|
|
394
|
+
negotiableText: te = "Negotiable",
|
|
395
|
+
tags: n = [],
|
|
396
|
+
categoryCode: V,
|
|
397
|
+
condition: O,
|
|
398
|
+
quantity: S,
|
|
399
|
+
trade: z,
|
|
400
|
+
sponsoredText: ie,
|
|
401
|
+
onBookmark: F = () => {
|
|
402
|
+
},
|
|
403
|
+
bookmarkComponent: w,
|
|
404
|
+
bookmarked: D,
|
|
405
|
+
bookmarkLists: ae
|
|
406
|
+
} = m, B = $e(), se = () => {
|
|
407
|
+
var c;
|
|
408
|
+
if (!K(w)) return /* @__PURE__ */ e(P, {});
|
|
409
|
+
const r = w, o = (c = w == null ? void 0 : w.props) == null ? void 0 : c.children, i = A(o, {
|
|
410
|
+
key: `bookmark_pr__${D}`,
|
|
411
|
+
bookmarked: D,
|
|
412
|
+
productUuid: p,
|
|
413
|
+
onAddToBookmark: () => F(!0, p),
|
|
414
|
+
onRemoveFromBookmark: () => F(!1, p),
|
|
415
|
+
bookmarkedUuidList: ae
|
|
416
|
+
});
|
|
417
|
+
return A(r, void 0, i);
|
|
418
|
+
}, I = [
|
|
419
|
+
Se,
|
|
420
|
+
ze,
|
|
421
|
+
Be,
|
|
422
|
+
Me,
|
|
423
|
+
We,
|
|
424
|
+
Fe,
|
|
425
|
+
De,
|
|
426
|
+
Ie
|
|
427
|
+
].some(
|
|
428
|
+
(r) => V == null ? void 0 : V.includes(r)
|
|
429
|
+
), [ce, j] = L(!1), le = () => {
|
|
430
|
+
j(!0);
|
|
431
|
+
}, de = () => {
|
|
432
|
+
j(!1);
|
|
433
|
+
}, s = q(null), h = q([]), [me, pe] = L(n == null ? void 0 : n.length), ge = () => {
|
|
434
|
+
var c, l, b;
|
|
435
|
+
if (!(s != null && s.current) || ((c = h == null ? void 0 : h.current) == null ? void 0 : c.length) === 0) return;
|
|
436
|
+
const r = (l = s == null ? void 0 : s.current) == null ? void 0 : l.offsetWidth;
|
|
437
|
+
let o = 0, i = 0;
|
|
438
|
+
for (let d = 0; d < (n == null ? void 0 : n.length); d++) {
|
|
439
|
+
const f = ((b = h == null ? void 0 : h.current[d]) == null ? void 0 : b.offsetWidth) || 0, g = o + f + 4;
|
|
440
|
+
if (g <= r)
|
|
441
|
+
o += g, i++;
|
|
442
|
+
else
|
|
443
|
+
break;
|
|
444
|
+
}
|
|
445
|
+
pe(i);
|
|
446
|
+
};
|
|
447
|
+
we(() => {
|
|
448
|
+
const r = s == null ? void 0 : s.current;
|
|
449
|
+
if (!r) return;
|
|
450
|
+
const o = new ResizeObserver(() => {
|
|
451
|
+
ge();
|
|
452
|
+
});
|
|
453
|
+
return o.observe(r), () => {
|
|
454
|
+
o.disconnect();
|
|
455
|
+
};
|
|
456
|
+
}, [n]);
|
|
457
|
+
const ue = () => {
|
|
458
|
+
var r;
|
|
459
|
+
return /* @__PURE__ */ e("div", { className: "tags-popover__trigger", children: (r = n == null ? void 0 : n.slice(0, me)) == null ? void 0 : r.map((o, i) => {
|
|
460
|
+
var f, g, R, U, X;
|
|
461
|
+
const c = ((f = a == null ? void 0 : a[o == null ? void 0 : o.code]) == null ? void 0 : f.icon) ?? ((g = a == null ? void 0 : a.default) == null ? void 0 : g.icon) ?? "", l = ((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) ?? "", d = [(o == null ? void 0 : o.value) ?? ((X = o == null ? void 0 : o.multiOptions) == null ? void 0 : X[0]) ?? "", l].filter(Boolean).join(" ");
|
|
462
|
+
return B ? /* @__PURE__ */ t("div", { className: "tag-mobile", children: [
|
|
463
|
+
d,
|
|
464
|
+
i < (n == null ? void 0 : n.length) - 1 ? " · " : ""
|
|
465
|
+
] }) : /* @__PURE__ */ t(
|
|
466
|
+
C,
|
|
467
|
+
{
|
|
468
|
+
ref: (ve) => h.current[i] = ve,
|
|
469
|
+
className: "tag",
|
|
470
|
+
children: [
|
|
471
|
+
/* @__PURE__ */ e("i", { className: c }),
|
|
472
|
+
d
|
|
473
|
+
]
|
|
474
|
+
},
|
|
475
|
+
`detailed-products-section-tag__${i + 1}`
|
|
476
|
+
);
|
|
477
|
+
}) });
|
|
478
|
+
}, he = () => /* @__PURE__ */ e("div", { className: "tags-popover__content", children: n == null ? void 0 : n.map((r, o) => {
|
|
479
|
+
var d, f, g;
|
|
480
|
+
const i = ((d = r == null ? void 0 : r.measurementUnit) == null ? void 0 : d.symbol) ?? ((f = a == null ? void 0 : a[r == null ? void 0 : r.code]) == null ? void 0 : f.measure) ?? "", l = [(r == null ? void 0 : r.value) ?? ((g = r == null ? void 0 : r.multiOptions) == null ? void 0 : g[0]) ?? "", i].filter(Boolean).join(" "), b = r == null ? void 0 : r.name;
|
|
481
|
+
return /* @__PURE__ */ t("div", { children: [
|
|
482
|
+
/* @__PURE__ */ e("span", { className: "tags-popover__name", children: `${b}: ` }),
|
|
483
|
+
/* @__PURE__ */ e("span", { className: "tags-popover__value", children: l })
|
|
484
|
+
] }, `detailed-products-section-tag-dropdown__${o + 1}`);
|
|
485
|
+
}) }), fe = () => {
|
|
486
|
+
var r;
|
|
487
|
+
if (B) {
|
|
488
|
+
const o = [O, S, z];
|
|
489
|
+
return (r = o == null ? void 0 : o.filter((i) => ye(i))) == null ? void 0 : r.map((i, c, l) => /* @__PURE__ */ t("div", { className: "tag-mobile", children: [
|
|
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 !== _;
|
|
500
|
+
return (
|
|
501
|
+
// <LandingPageProductCardSkeleton />
|
|
502
|
+
/* @__PURE__ */ t(
|
|
503
|
+
Q,
|
|
504
|
+
{
|
|
505
|
+
ref: s,
|
|
506
|
+
className: "product-card",
|
|
507
|
+
onClick: oe,
|
|
508
|
+
children: [
|
|
509
|
+
/* @__PURE__ */ t(Te, { className: "product-image-wrapper", children: [
|
|
510
|
+
/* @__PURE__ */ e(se, {}),
|
|
511
|
+
K(W) ? W : /* @__PURE__ */ e(_e, { src: x })
|
|
512
|
+
] }),
|
|
513
|
+
/* @__PURE__ */ e("div", { className: "wrapper-card-1", children: /* @__PURE__ */ e("div", { className: "card-title", children: y }) }),
|
|
514
|
+
/* @__PURE__ */ t("div", { className: "wrapper-card-3", children: [
|
|
515
|
+
I && /* @__PURE__ */ e(
|
|
516
|
+
"div",
|
|
517
|
+
{
|
|
518
|
+
...B ? {} : {
|
|
519
|
+
onMouseEnter: le,
|
|
520
|
+
onMouseLeave: de
|
|
521
|
+
},
|
|
522
|
+
children: /* @__PURE__ */ t(Ne, { placement: "bottom", open: ce, children: [
|
|
523
|
+
/* @__PURE__ */ e(Ce, { children: ue() }),
|
|
524
|
+
/* @__PURE__ */ e(Pe, { style: { all: "unset" }, children: /* @__PURE__ */ e(Ee, { children: he() }) })
|
|
525
|
+
] })
|
|
526
|
+
}
|
|
527
|
+
),
|
|
528
|
+
!I && fe()
|
|
529
|
+
] }),
|
|
530
|
+
/* @__PURE__ */ t("div", { className: "wrapper-card-2", children: [
|
|
531
|
+
/* @__PURE__ */ t("div", { className: `price-text ${G ? "new-price" : ""}`, children: [
|
|
532
|
+
_ > 0 && N && T !== !0 && E !== !0 && /* @__PURE__ */ e("div", { children: `${H(_)} ${Z(N)}` }),
|
|
533
|
+
G && /* @__PURE__ */ e("div", { className: `${_ > 0 ? "full-price" : ""}`, children: `${H(u)} ${Z(N)}` }),
|
|
534
|
+
T && te,
|
|
535
|
+
E && ne
|
|
536
|
+
] }),
|
|
537
|
+
/* @__PURE__ */ e("div", { className: "location-text", children: ee })
|
|
538
|
+
] }),
|
|
539
|
+
re === !0 && /* @__PURE__ */ e(Oe, { sponsoredText: ie })
|
|
540
|
+
]
|
|
541
|
+
}
|
|
542
|
+
)
|
|
543
|
+
);
|
|
544
|
+
}), je = M(({}, m) => /* @__PURE__ */ t(Q, { className: "product-card", children: [
|
|
545
|
+
/* @__PURE__ */ e("img", { className: "skeleton-img" }),
|
|
546
|
+
/* @__PURE__ */ t("div", { className: "wrapper-card-1", children: [
|
|
547
|
+
/* @__PURE__ */ e("div", { className: "skeleton-title" }),
|
|
548
|
+
/* @__PURE__ */ e("div", { className: "skeleton-tags" })
|
|
549
|
+
] }),
|
|
550
|
+
/* @__PURE__ */ t("div", { className: "wrapper-card-1", children: [
|
|
551
|
+
/* @__PURE__ */ e("div", { className: "skeleton-price" }),
|
|
552
|
+
/* @__PURE__ */ e("div", { className: "skeleton-sponsored" })
|
|
553
|
+
] })
|
|
554
|
+
] })), Ge = ({ limit: m = 5, isLoading: v = !1, keyPrefix: p }) => /* @__PURE__ */ e(P, { children: Array.from({ length: m }, (y, u) => /* @__PURE__ */ e(
|
|
555
|
+
je,
|
|
556
|
+
{
|
|
557
|
+
isLoading: v
|
|
558
|
+
},
|
|
559
|
+
`${p}-skeleton-product-card-${u}`
|
|
560
|
+
)) }), er = ({
|
|
561
|
+
children: m,
|
|
562
|
+
fallbackComponent: v = /* @__PURE__ */ e(P, {}),
|
|
563
|
+
isLoading: p = !1,
|
|
564
|
+
limit: y,
|
|
565
|
+
keyPrefix: u
|
|
566
|
+
}) => /* @__PURE__ */ e(be, { fallbackComponent: v, children: p === !0 ? /* @__PURE__ */ e(
|
|
567
|
+
Ge,
|
|
568
|
+
{
|
|
569
|
+
isLoading: p,
|
|
570
|
+
limit: y,
|
|
571
|
+
keyPrefix: u
|
|
572
|
+
}
|
|
573
|
+
) : m });
|
|
574
|
+
export {
|
|
575
|
+
xe as D,
|
|
576
|
+
er as S
|
|
577
|
+
};
|