@lanaco/lnc-react-ui 4.0.226 → 4.0.228
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/Accordion.cjs +1 -1
- package/dist/Accordion.js +1 -1
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +1 -1
- package/dist/ActionsToolbar.cjs +1 -1
- package/dist/ActionsToolbar.js +1 -1
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +1 -1
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.js +1 -1
- package/dist/BannerNextSection.cjs +1 -1
- package/dist/BannerNextSection.js +1 -1
- package/dist/BannerSectionCarousel.cjs +3 -3
- package/dist/BannerSectionCarousel.js +19 -12
- package/dist/BannerSectionSimple.cjs +1 -1
- package/dist/BannerSectionSimple.js +1 -1
- package/dist/BannerSectionWithList.cjs +1 -1
- package/dist/BannerSectionWithList.js +1 -1
- package/dist/BlogCardsSponsoredSection.cjs +1 -1
- package/dist/BlogCardsSponsoredSection.js +4 -4
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +1 -1
- package/dist/BlogExploreSection.cjs +1 -1
- package/dist/BlogExploreSection.js +2 -2
- package/dist/BlogListSection.cjs +7 -7
- package/dist/BlogListSection.js +157 -207
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +1 -1
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +1 -1
- package/dist/BlogSingleSection.cjs +2 -11
- package/dist/BlogSingleSection.js +20 -36
- package/dist/BlogsSectionDetailed.cjs +1 -1
- package/dist/BlogsSectionDetailed.js +4 -4
- package/dist/BlogsSectionLarge.cjs +8 -16
- package/dist/BlogsSectionLarge.js +41 -59
- package/dist/BlogsSectionSimple.cjs +1 -1
- package/dist/BlogsSectionSimple.js +4 -4
- package/dist/BlogsSectionSimpleCentered.cjs +12 -25
- package/dist/BlogsSectionSimpleCentered.js +64 -98
- package/dist/BlogsSectionWithFilters.cjs +10 -21
- package/dist/BlogsSectionWithFilters.js +106 -154
- package/dist/BrandHitsSection.cjs +7 -7
- package/dist/BrandHitsSection.js +41 -87
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +1 -1
- package/dist/Button.cjs +1 -1
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/CalorieCalculatorSection.cjs +1 -1
- package/dist/CalorieCalculatorSection.js +1 -1
- package/dist/{CategorySimpleCard-TJRJ_2Sb.js → CategorySimpleCard-BE6F0PFT.js} +1 -1
- package/dist/{CategorySimpleCard-lIdzBNDa.cjs → CategorySimpleCard-Dr1FxIY9.cjs} +1 -1
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +1 -1
- package/dist/Chip.cjs +1 -1
- package/dist/Chip.js +1 -1
- package/dist/ColorInput.cjs +1 -1
- package/dist/ColorInput.js +1 -1
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +1 -1
- package/dist/CustomLoanMapSection.cjs +1 -1
- package/dist/CustomLoanMapSection.js +1 -1
- package/dist/{CustomStyles-B6uutenq.js → CustomStyles-YyM49BGx.js} +1 -1
- package/dist/{CustomStyles-dJQPJ4s4.cjs → CustomStyles-lzAjVMnI.cjs} +1 -1
- package/dist/DateInput.cjs +1 -1
- package/dist/DateInput.js +1 -1
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +1 -1
- package/dist/DecimalInputV2.cjs +1 -1
- package/dist/DecimalInputV2.js +1 -1
- package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
- package/dist/DetailedProductsInfinitiveSection.js +4 -4
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +5 -5
- package/dist/DetailsView.cjs +1 -1
- package/dist/DetailsView.js +1 -1
- package/dist/DoubleRangeSlider.cjs +1 -1
- package/dist/DoubleRangeSlider.js +1 -1
- package/dist/DragAndDropFile.cjs +1 -1
- package/dist/DragAndDropFile.js +1 -1
- package/dist/DragDropFiles.cjs +1 -1
- package/dist/DragDropFiles.js +1 -1
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.js +1 -1
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +1 -1
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +1 -1
- package/dist/DropdownMenu.cjs +1 -1
- package/dist/DropdownMenu.js +1 -1
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +1 -1
- package/dist/FeedbackSection.cjs +1 -1
- package/dist/FeedbackSection.js +1 -1
- package/dist/FieldOfInterestsMasonrySection.cjs +13 -13
- package/dist/FieldOfInterestsMasonrySection.js +105 -159
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +8 -8
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +93 -124
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithTagsCardsSection.js +2 -2
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.js +1 -1
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.js +1 -1
- package/dist/FormField.cjs +1 -1
- package/dist/FormField.js +1 -1
- package/dist/FormView.cjs +1 -1
- package/dist/FormView.js +1 -1
- package/dist/GeneralWithTagsCardsSection.cjs +1 -1
- package/dist/GeneralWithTagsCardsSection.js +2 -2
- package/dist/GiftCardsSection.cjs +10 -14
- package/dist/GiftCardsSection.js +77 -147
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.js +1 -1
- package/dist/IconButton.cjs +1 -1
- package/dist/IconButton.js +1 -1
- package/dist/Kanban.cjs +1 -1
- package/dist/Kanban.js +1 -1
- package/dist/KanbanActionsToolbar.cjs +1 -1
- package/dist/KanbanActionsToolbar.js +1 -1
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +1 -1
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +1 -1
- package/dist/LoanCalculatorSection.cjs +1 -1
- package/dist/LoanCalculatorSection.js +1 -1
- package/dist/LocationFinderSection.cjs +1 -1
- package/dist/LocationFinderSection.js +1 -1
- package/dist/LocationSearchSection.cjs +1 -1
- package/dist/LocationSearchSection.js +1 -1
- package/dist/MasonryGeneralCardsSection.cjs +10 -10
- package/dist/MasonryGeneralCardsSection.js +45 -44
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.js +1 -1
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +1 -1
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +1 -1
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +1 -1
- package/dist/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +1 -1
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +1 -1
- package/dist/NotificationContainer.cjs +1 -1
- package/dist/NotificationContainer.js +1 -1
- package/dist/NotificationMessage.cjs +1 -1
- package/dist/NotificationMessage.js +1 -1
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +1 -1
- package/dist/OverlayGeneralCardsSection.cjs +1 -1
- package/dist/OverlayGeneralCardsSection.js +1 -1
- package/dist/PartnerBrandsSection.cjs +1 -1
- package/dist/PartnerBrandsSection.js +1 -1
- package/dist/PartnerCardsSection.cjs +1 -1
- package/dist/PartnerCardsSection.js +1 -1
- package/dist/PartnerStatsSection.cjs +1 -1
- package/dist/PartnerStatsSection.js +1 -1
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +1 -1
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.js +1 -1
- package/dist/ProductsWithBannerSection.cjs +13 -13
- package/dist/ProductsWithBannerSection.js +87 -168
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +1 -1
- package/dist/QuattroCardsSection.cjs +1 -1
- package/dist/QuattroCardsSection.js +2 -2
- package/dist/QuizSection.cjs +1 -1
- package/dist/QuizSection.js +1 -1
- package/dist/RadioInput.cjs +1 -1
- package/dist/RadioInput.js +1 -1
- package/dist/RangeSlider.cjs +1 -1
- package/dist/RangeSlider.js +1 -1
- package/dist/ReviewsSection.cjs +18 -22
- package/dist/ReviewsSection.js +101 -163
- package/dist/SalesCampaignsSection.cjs +25 -25
- package/dist/SalesCampaignsSection.js +267 -306
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +1 -1
- package/dist/ShopCardsSection.cjs +6 -19
- package/dist/ShopCardsSection.js +56 -102
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +3 -3
- package/dist/SimpleCategoriesSection.js +65 -68
- package/dist/SimpleProductsSection.cjs +7 -7
- package/dist/SimpleProductsSection.js +65 -138
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +1 -1
- package/dist/StatsSection.cjs +1 -1
- package/dist/StatsSection.js +1 -1
- package/dist/Surface.cjs +1 -1
- package/dist/Surface.js +1 -1
- package/dist/SwipeableDrawer.cjs +1 -1
- package/dist/SwipeableDrawer.js +1 -1
- package/dist/TabItem.cjs +1 -1
- package/dist/TabItem.js +1 -1
- package/dist/Table.cjs +1 -1
- package/dist/Table.js +1 -1
- package/dist/TableView.cjs +1 -1
- package/dist/TableView.js +1 -1
- package/dist/TextAreaInput.cjs +1 -1
- package/dist/TextAreaInput.js +1 -1
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +1 -1
- package/dist/ThemeProvider.cjs +1 -1
- package/dist/ThemeProvider.js +1 -1
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +1 -1
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +1 -1
- package/dist/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +1 -1
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +1 -1
- package/dist/UrgentSaleProductsSection.cjs +1 -1
- package/dist/UrgentSaleProductsSection.js +1 -1
- package/dist/index-B7fBsitY.js +45 -0
- package/dist/{index-BkztbBWe.cjs → index-B96icAp4.cjs} +1 -1
- package/dist/index-BMAvJQBG.cjs +9 -0
- package/dist/index-BUdvfHpp.cjs +5 -0
- package/dist/{index-tdg_Vmed.cjs → index-BXkL0HmX.cjs} +1 -1
- package/dist/index-C6amCwRZ.js +25 -0
- package/dist/index-C8R9lsWG.cjs +1 -0
- package/dist/{index-Djo0ZcRE.js → index-CCwfh-7A.js} +1 -1
- package/dist/{index-jGcy-5M_.js → index-CNUuIL97.js} +2 -2
- package/dist/index-CeQvy566.cjs +11 -0
- package/dist/{index-DsINTjQk.cjs → index-ChHUGfjn.cjs} +1 -1
- package/dist/index-Cyt4EUZ6.js +20 -0
- package/dist/{index-DEypPQRI.js → index-D6_3Q8lN.js} +1 -1
- package/dist/{index-D4-_TrSn.cjs → index-DnbzopIv.cjs} +1 -1
- package/dist/{index-rhYVjszT.js → index-DtVJCOWc.js} +2 -2
- package/dist/index-DueyY06i.cjs +368 -0
- package/dist/{index-D4OKsSqi.cjs → index-HzW6OHFF.cjs} +1 -1
- package/dist/{index-3GKF_7BJ.cjs → index-RrqW9QBJ.cjs} +1 -1
- package/dist/index-VTkAaA-n.js +18 -0
- package/dist/{index-CM6vzQBx.js → index-eOeAkUSU.js} +1 -1
- package/dist/{index-Dx2hfxCG.js → index-gHaK62BZ.js} +2 -2
- package/dist/index-zIt6TVeg.js +753 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/style-BFPpppS9.js +73 -0
- package/dist/{style-D54KOzZj.js → style-CP_urKvc.js} +1 -1
- package/dist/style-CQdEALKR.cjs +59 -0
- package/dist/{style-Boz6dk5s.cjs → style-cJUZrJoG.cjs} +1 -1
- package/dist/{utils-CITgSxXe.cjs → utils-BK6B_Y9X.cjs} +2 -2
- package/dist/{utils-MoGhNMmj.js → utils-BUdHa0nB.js} +16 -23
- package/package.json +1 -1
- package/dist/index-BGNavrtB.cjs +0 -368
- package/dist/index-BHcrzV2G.js +0 -54
- package/dist/index-Bj1KWOV4.cjs +0 -11
- package/dist/index-BsAddfgC.cjs +0 -1
- package/dist/index-Cn4bq6ZX.js +0 -84
- package/dist/index-CuRcxKQH.js +0 -42
- package/dist/index-DB1J-G6Z.js +0 -38
- package/dist/index-DkPva6Gr.cjs +0 -20
- package/dist/index-fzBXDy05.cjs +0 -16
- package/dist/index-gFZSZLba.js +0 -882
- package/dist/style-DvkivBNg.js +0 -74
- package/dist/style-Ito6YFqi.cjs +0 -64
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),u=require("react"),S=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),w=require("./breakpoints-CcVm-gVm.cjs"),$=require("./useDetectMobile-DYV6V1yw.cjs"),a=require("./utils-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),u=require("react"),S=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),w=require("./breakpoints-CcVm-gVm.cjs"),$=require("./useDetectMobile-DYV6V1yw.cjs"),a=require("./utils-BK6B_Y9X.cjs"),R=require("./style-cJUZrJoG.cjs"),q=require("./Button.cjs"),L=require("./index-ChHUGfjn.cjs"),O=require("./index-BUdvfHpp.cjs"),D=S.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${o=>`repeat(${o.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
|
@@ -3,11 +3,11 @@ import { forwardRef as L, useRef as B, memo as A, useMemo as z } from "react";
|
|
|
3
3
|
import { s as S } from "./emotion-styled.browser.esm-DfbrHHed.js";
|
|
4
4
|
import { d as w } from "./breakpoints-BubDitvo.js";
|
|
5
5
|
import { u as D } from "./useDetectMobile-B0Jog4jQ.js";
|
|
6
|
-
import { n as j, q as M, s as U, v as R, l as C } from "./utils-
|
|
7
|
-
import { B as W, R as P } from "./style-
|
|
6
|
+
import { n as j, q as M, s as U, v as R, l as C } from "./utils-BUdHa0nB.js";
|
|
7
|
+
import { B as W, R as P } from "./style-CP_urKvc.js";
|
|
8
8
|
import I from "./Button.js";
|
|
9
|
-
import { P as q } from "./index-
|
|
10
|
-
import { S as E } from "./index-
|
|
9
|
+
import { P as q } from "./index-D6_3Q8lN.js";
|
|
10
|
+
import { S as E } from "./index-VTkAaA-n.js";
|
|
11
11
|
const F = S.div`
|
|
12
12
|
display: grid;
|
|
13
13
|
grid-template-columns: ${(l) => `repeat(${l.limit}, minmax(0, 1fr))`};
|
|
@@ -1,32 +1,24 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),s=require("react"),j=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),l=require("./breakpoints-CcVm-gVm.cjs"),h=require("./useDetectMobile-DYV6V1yw.cjs"),$=require("./index-HzW6OHFF.cjs"),b=require("./style-CQdEALKR.cjs"),q=j.styled.div`
|
|
2
2
|
display: grid;
|
|
3
|
-
grid-template-columns: ${
|
|
3
|
+
grid-template-columns: ${i=>`repeat(${i.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
|
5
5
|
|
|
6
|
-
@media ${
|
|
6
|
+
@media ${l.down("M")} {
|
|
7
7
|
grid-template-columns: repeat(2, 1fr);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
@media ${
|
|
10
|
+
@media ${l.down("S")} {
|
|
11
11
|
grid-template-columns: repeat(2, 1fr);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
@media ${
|
|
14
|
+
@media ${l.down("XS")} {
|
|
15
15
|
grid-template-columns: repeat(1, 1fr);
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
@media ${
|
|
17
|
+
`,w=j.styled(b.SkeletonAnimationContainer)`
|
|
18
|
+
@media ${l.down("S")} {
|
|
19
19
|
flex-direction: column;
|
|
20
20
|
|
|
21
21
|
& > div {
|
|
22
|
-
background: linear-gradient(
|
|
23
|
-
to right,
|
|
24
|
-
transparent 0%,
|
|
25
|
-
#f4f6fb 40%,
|
|
26
|
-
#f4f6fb 100%
|
|
27
|
-
);
|
|
28
|
-
|
|
29
|
-
box-shadow: none;
|
|
30
22
|
}
|
|
31
23
|
}
|
|
32
|
-
`,
|
|
24
|
+
`,y=({keyPrefix:i})=>t.jsx(w,{children:[1,2].map(n=>t.jsx(b.SkeletonRect,{width:"100%",height:"11.25rem"},`${i}-${n}`))}),L=({keyPrefix:i,isLoading:n=!1,fallbackComponent:r=t.jsx(t.Fragment,{}),children:o})=>t.jsx(s.Suspense,{fallbackComponent:r,children:n===!0?t.jsx(y,{keyPrefix:i}):o}),S=s.memo($.BlogCardLarge),M=s.forwardRef((i,n)=>{const{items:r,onSelectCard:o=()=>{},limit:a=2,isLoading:f=!1,getImage:m=()=>{},componentName:u,LinkComponent:g}=i,p=h.useDetectMobile(),C=s.useMemo(()=>t.jsx(t.Fragment,{children:p===!0?r==null?void 0:r.map((e,c)=>t.jsx(S,{title:e==null?void 0:e.title,imageUrl:m(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,buttonText:e==null?void 0:e.buttonText,onCardClick:(k,d)=>o(e==null?void 0:e.titleSlug,d),metadata:{name:u,accessor:e==null?void 0:e.accessor},LinkComponent:g},c)):r==null?void 0:r.slice(0,a).map((e,c)=>t.jsx(S,{title:e==null?void 0:e.title,imageUrl:m(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,buttonText:e==null?void 0:e.buttonText,onCardClick:(k,d)=>o(e==null?void 0:e.titleSlug,d),metadata:{name:u,accessor:e==null?void 0:e.accessor},LinkComponent:g},c))}),[r,p,a]);return t.jsx(L,{isLoading:f,keyPrefix:"blogs-large-skeleton",children:t.jsx(q,{ref:n,limit:a,children:C})})});module.exports=M;
|
|
@@ -1,110 +1,92 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Suspense as
|
|
3
|
-
import { s as
|
|
4
|
-
import { d as
|
|
5
|
-
import { u as
|
|
6
|
-
import { B as T } from "./index-
|
|
7
|
-
import { S as U, a as
|
|
8
|
-
const
|
|
1
|
+
import { jsx as t, Fragment as S } from "react/jsx-runtime";
|
|
2
|
+
import { Suspense as $, memo as b, forwardRef as B, useMemo as L } from "react";
|
|
3
|
+
import { s as f } from "./emotion-styled.browser.esm-DfbrHHed.js";
|
|
4
|
+
import { d as l } from "./breakpoints-BubDitvo.js";
|
|
5
|
+
import { u as M } from "./useDetectMobile-B0Jog4jQ.js";
|
|
6
|
+
import { B as T } from "./index-DtVJCOWc.js";
|
|
7
|
+
import { S as U, a as w } from "./style-BFPpppS9.js";
|
|
8
|
+
const y = f.div`
|
|
9
9
|
display: grid;
|
|
10
10
|
grid-template-columns: ${(o) => `repeat(${o.limit}, minmax(0, 1fr))`};
|
|
11
11
|
gap: 1.25rem;
|
|
12
12
|
|
|
13
|
-
@media ${
|
|
13
|
+
@media ${l("M")} {
|
|
14
14
|
grid-template-columns: repeat(2, 1fr);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
@media ${
|
|
17
|
+
@media ${l("S")} {
|
|
18
18
|
grid-template-columns: repeat(2, 1fr);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
@media ${
|
|
21
|
+
@media ${l("XS")} {
|
|
22
22
|
grid-template-columns: repeat(1, 1fr);
|
|
23
23
|
}
|
|
24
|
-
`, v =
|
|
25
|
-
@media ${
|
|
24
|
+
`, v = f(U)`
|
|
25
|
+
@media ${l("S")} {
|
|
26
26
|
flex-direction: column;
|
|
27
27
|
|
|
28
28
|
& > div {
|
|
29
|
-
background: linear-gradient(
|
|
30
|
-
to right,
|
|
31
|
-
transparent 0%,
|
|
32
|
-
#f4f6fb 40%,
|
|
33
|
-
#f4f6fb 100%
|
|
34
|
-
);
|
|
35
|
-
|
|
36
|
-
box-shadow: none;
|
|
37
29
|
}
|
|
38
30
|
}
|
|
39
|
-
`,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
),
|
|
48
|
-
/* @__PURE__ */ t(
|
|
49
|
-
p,
|
|
50
|
-
{
|
|
51
|
-
height: "11.25rem",
|
|
52
|
-
borderRadius: "0.75rem"
|
|
53
|
-
},
|
|
54
|
-
`${o}-2`
|
|
55
|
-
)
|
|
56
|
-
] }), z = ({
|
|
31
|
+
`, z = ({ keyPrefix: o }) => /* @__PURE__ */ t(v, { children: [1, 2].map((i) => /* @__PURE__ */ t(
|
|
32
|
+
w,
|
|
33
|
+
{
|
|
34
|
+
width: "100%",
|
|
35
|
+
height: "11.25rem"
|
|
36
|
+
},
|
|
37
|
+
`${o}-${i}`
|
|
38
|
+
)) }), P = ({
|
|
57
39
|
keyPrefix: o,
|
|
58
|
-
isLoading:
|
|
40
|
+
isLoading: i = !1,
|
|
59
41
|
fallbackComponent: r = /* @__PURE__ */ t(S, {}),
|
|
60
|
-
children:
|
|
61
|
-
}) => /* @__PURE__ */ t(
|
|
42
|
+
children: a
|
|
43
|
+
}) => /* @__PURE__ */ t($, { fallbackComponent: r, children: i === !0 ? /* @__PURE__ */ t(z, { keyPrefix: o }) : a }), p = b(T), N = B((o, i) => {
|
|
62
44
|
const {
|
|
63
45
|
items: r,
|
|
64
|
-
onSelectCard:
|
|
46
|
+
onSelectCard: a = () => {
|
|
65
47
|
},
|
|
66
48
|
limit: n = 2,
|
|
67
|
-
isLoading:
|
|
68
|
-
getImage:
|
|
49
|
+
isLoading: C = !1,
|
|
50
|
+
getImage: c = () => {
|
|
69
51
|
},
|
|
70
|
-
componentName:
|
|
52
|
+
componentName: d,
|
|
71
53
|
LinkComponent: u
|
|
72
|
-
} = o, g =
|
|
73
|
-
|
|
54
|
+
} = o, g = M(), h = L(() => /* @__PURE__ */ t(S, { children: g === !0 ? r == null ? void 0 : r.map((e, m) => /* @__PURE__ */ t(
|
|
55
|
+
p,
|
|
74
56
|
{
|
|
75
57
|
title: e == null ? void 0 : e.title,
|
|
76
|
-
imageUrl:
|
|
58
|
+
imageUrl: c(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
|
|
77
59
|
text: e == null ? void 0 : e.description,
|
|
78
60
|
titleSlug: e == null ? void 0 : e.titleSlug,
|
|
79
61
|
buttonText: e == null ? void 0 : e.buttonText,
|
|
80
|
-
onCardClick: (k, s) =>
|
|
81
|
-
metadata: { name:
|
|
62
|
+
onCardClick: (k, s) => a(e == null ? void 0 : e.titleSlug, s),
|
|
63
|
+
metadata: { name: d, accessor: e == null ? void 0 : e.accessor },
|
|
82
64
|
LinkComponent: u
|
|
83
65
|
},
|
|
84
66
|
m
|
|
85
67
|
)) : r == null ? void 0 : r.slice(0, n).map((e, m) => /* @__PURE__ */ t(
|
|
86
|
-
|
|
68
|
+
p,
|
|
87
69
|
{
|
|
88
70
|
title: e == null ? void 0 : e.title,
|
|
89
|
-
imageUrl:
|
|
71
|
+
imageUrl: c(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
|
|
90
72
|
text: e == null ? void 0 : e.description,
|
|
91
73
|
titleSlug: e == null ? void 0 : e.titleSlug,
|
|
92
74
|
buttonText: e == null ? void 0 : e.buttonText,
|
|
93
|
-
onCardClick: (k, s) =>
|
|
94
|
-
metadata: { name:
|
|
75
|
+
onCardClick: (k, s) => a(e == null ? void 0 : e.titleSlug, s),
|
|
76
|
+
metadata: { name: d, accessor: e == null ? void 0 : e.accessor },
|
|
95
77
|
LinkComponent: u
|
|
96
78
|
},
|
|
97
79
|
m
|
|
98
80
|
)) }), [r, g, n]);
|
|
99
81
|
return /* @__PURE__ */ t(
|
|
100
|
-
|
|
82
|
+
P,
|
|
101
83
|
{
|
|
102
|
-
isLoading:
|
|
84
|
+
isLoading: C,
|
|
103
85
|
keyPrefix: "blogs-large-skeleton",
|
|
104
|
-
children: /* @__PURE__ */ t(
|
|
86
|
+
children: /* @__PURE__ */ t(y, { ref: i, limit: n, children: h })
|
|
105
87
|
}
|
|
106
88
|
);
|
|
107
89
|
});
|
|
108
90
|
export {
|
|
109
|
-
|
|
91
|
+
N as default
|
|
110
92
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),p=require("react"),S=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),j=require("./breakpoints-CcVm-gVm.cjs"),$=require("./useDetectMobile-DYV6V1yw.cjs"),g=require("./utils-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),p=require("react"),S=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),j=require("./breakpoints-CcVm-gVm.cjs"),$=require("./useDetectMobile-DYV6V1yw.cjs"),g=require("./utils-BK6B_Y9X.cjs"),C=require("./style-cJUZrJoG.cjs"),B=require("./Button.cjs"),M=require("./Link.cjs"),T=require("./index-ChHUGfjn.cjs"),D=require("./index-BUdvfHpp.cjs"),L=S.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${a=>`repeat(${a.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
|
@@ -3,12 +3,12 @@ import { forwardRef as N, useRef as M, memo as L, useMemo as U } from "react";
|
|
|
3
3
|
import { s as S } from "./emotion-styled.browser.esm-DfbrHHed.js";
|
|
4
4
|
import { d as v } from "./breakpoints-BubDitvo.js";
|
|
5
5
|
import { u as W } from "./useDetectMobile-B0Jog4jQ.js";
|
|
6
|
-
import { w as z, n as P, l as y } from "./utils-
|
|
7
|
-
import { B as j, R as D } from "./style-
|
|
6
|
+
import { w as z, n as P, l as y } from "./utils-BUdHa0nB.js";
|
|
7
|
+
import { B as j, R as D } from "./style-CP_urKvc.js";
|
|
8
8
|
import I from "./Button.js";
|
|
9
9
|
import A from "./Link.js";
|
|
10
|
-
import { P as G } from "./index-
|
|
11
|
-
import { S as E } from "./index-
|
|
10
|
+
import { P as G } from "./index-D6_3Q8lN.js";
|
|
11
|
+
import { S as E } from "./index-VTkAaA-n.js";
|
|
12
12
|
const F = S.div`
|
|
13
13
|
display: grid;
|
|
14
14
|
grid-template-columns: ${(n) => `repeat(${n.limit}, minmax(0, 1fr))`};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),g=require("react"),h=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),c=require("./breakpoints-CcVm-gVm.cjs"),y=require("./useDetectMobile-DYV6V1yw.cjs"),j=require("./utils-BK6B_Y9X.cjs"),k=require("./Button.cjs"),S=require("./index-ChHUGfjn.cjs"),b=require("./style-CQdEALKR.cjs"),$=h.styled.div`
|
|
2
2
|
display: grid;
|
|
3
|
-
grid-template-columns: ${
|
|
3
|
+
grid-template-columns: ${n=>`repeat(${n.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
|
5
5
|
margin: auto;
|
|
6
6
|
width: fit-content;
|
|
7
7
|
|
|
8
|
-
@media ${
|
|
8
|
+
@media ${c.down("M")} {
|
|
9
9
|
grid-template-columns: repeat(2, 1fr);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
@media ${
|
|
12
|
+
@media ${c.down("S")} {
|
|
13
13
|
grid-template-columns: repeat(2, 1fr);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
@media ${
|
|
16
|
+
@media ${c.down("XS")} {
|
|
17
17
|
grid-template-columns: repeat(1, 1fr);
|
|
18
18
|
}
|
|
19
|
-
`,v=
|
|
19
|
+
`,v=h.styled.a`
|
|
20
20
|
text-decoration: none;
|
|
21
21
|
color: var(--gray-950);
|
|
22
22
|
display: flex;
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
object-fit: cover;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
@media ${
|
|
57
|
+
@media ${c.down("S")} {
|
|
58
58
|
max-width: unset;
|
|
59
59
|
}
|
|
60
|
-
`,
|
|
60
|
+
`,q=h.styled.div`
|
|
61
61
|
text-align: center;
|
|
62
62
|
display: flex;
|
|
63
63
|
flex-direction: column;
|
|
@@ -78,23 +78,10 @@
|
|
|
78
78
|
font-weight: 400;
|
|
79
79
|
line-height: 1.25rem;
|
|
80
80
|
letter-spacing: 0.0156rem;
|
|
81
|
-
${
|
|
81
|
+
${j.truncateTextInRows(3)}
|
|
82
82
|
}
|
|
83
|
-
`,
|
|
84
|
-
@media ${
|
|
83
|
+
`,w=g.forwardRef((n,o)=>{const{title:r,image:s,text:m,buttonText:f,onCardClick:d,metadata:i,link:p,LinkComponent:e}=n,l=e||"a",u=g.useRef(),a=C=>{d(C,u)};return t.jsxs(v,{ref:u,name:i==null?void 0:i.name,"data-accessor":i==null?void 0:i.accessor,className:"blog-card",onClick:a,as:l,...e?{to:`/${p}`}:{href:`/${p}`},children:[t.jsx(S.ProductImageWrapper,{src:s}),t.jsxs(q,{children:[t.jsx("div",{className:"text-wr-title",children:r}),t.jsx("div",{className:"text-wr",children:m})]}),t.jsx(k,{borderRadius:"curved",color:"gray",type:"button",btnType:"outline",onClick:a,size:"medium",children:f})]})}),R=h.styled(b.SkeletonAnimationContainer)`
|
|
84
|
+
@media ${c.down("S")} {
|
|
85
85
|
flex-direction: column;
|
|
86
|
-
|
|
87
|
-
& > div {
|
|
88
|
-
width: 100%;
|
|
89
|
-
|
|
90
|
-
background: linear-gradient(
|
|
91
|
-
to right,
|
|
92
|
-
transparent 0%,
|
|
93
|
-
#f4f6fb 40%,
|
|
94
|
-
#f4f6fb 100%
|
|
95
|
-
);
|
|
96
|
-
|
|
97
|
-
box-shadow: none;
|
|
98
|
-
}
|
|
99
86
|
}
|
|
100
|
-
`,T=({keyPrefix:
|
|
87
|
+
`,T=({keyPrefix:n})=>t.jsx(R,{justifyContent:"center",alignItems:"center",children:[1,2,3].map(o=>t.jsx(b.SkeletonRect,{height:"24.75rem",width:"18.5rem"},`${n}-${o}`))}),B=({keyPrefix:n,isLoading:o=!1,fallbackComponent:r=t.jsx(t.Fragment,{}),children:s})=>t.jsx(g.Suspense,{fallbackComponent:r,children:o===!0?t.jsx(T,{keyPrefix:n}):s}),z=g.forwardRef((n,o)=>{const{items:r,limit:s=3,onSelectCard:m=()=>{},isLoading:f=!1,componentName:d,LinkComponent:i}=n,p=y.useDetectMobile();return t.jsx(B,{isLoading:f,keyPrefix:"blogs-simple-centered-skeleton",children:t.jsx($,{ref:o,limit:s,children:t.jsx(t.Fragment,{children:p===!0?r==null?void 0:r.map((e,l)=>t.jsx(w,{title:e==null?void 0:e.title,image:(e==null?void 0:e.image)||null,text:e==null?void 0:e.text,buttonText:e==null?void 0:e.buttonText,onCardClick:(u,a)=>m(e,a),metadata:{name:d,accessor:e==null?void 0:e.accessor},link:e==null?void 0:e.link,LinkComponent:i},l)):r==null?void 0:r.slice(0,s).map((e,l)=>t.jsx(w,{title:e==null?void 0:e.title,image:(e==null?void 0:e.image)||null,text:e==null?void 0:e.text,buttonText:e==null?void 0:e.buttonText,onCardClick:(u,a)=>m(e,a),metadata:{name:d,accessor:e==null?void 0:e.accessor},link:e==null?void 0:e.link,LinkComponent:i},l))})})})});module.exports=z;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { s as
|
|
4
|
-
import { d as
|
|
5
|
-
import { u as
|
|
6
|
-
import { n as
|
|
1
|
+
import { jsxs as h, jsx as t, Fragment as b } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as w, useRef as S, Suspense as y } from "react";
|
|
3
|
+
import { s as f } from "./emotion-styled.browser.esm-DfbrHHed.js";
|
|
4
|
+
import { d as s } from "./breakpoints-BubDitvo.js";
|
|
5
|
+
import { u as $ } from "./useDetectMobile-B0Jog4jQ.js";
|
|
6
|
+
import { n as v } from "./utils-BUdHa0nB.js";
|
|
7
7
|
import T from "./Button.js";
|
|
8
|
-
import { P as
|
|
9
|
-
import { S as
|
|
10
|
-
const
|
|
8
|
+
import { P as R } from "./index-D6_3Q8lN.js";
|
|
9
|
+
import { S as B, a as j } from "./style-BFPpppS9.js";
|
|
10
|
+
const z = f.div`
|
|
11
11
|
display: grid;
|
|
12
|
-
grid-template-columns: ${(
|
|
12
|
+
grid-template-columns: ${(n) => `repeat(${n.limit}, minmax(0, 1fr))`};
|
|
13
13
|
gap: 1.25rem;
|
|
14
14
|
margin: auto;
|
|
15
15
|
width: fit-content;
|
|
16
16
|
|
|
17
|
-
@media ${
|
|
17
|
+
@media ${s("M")} {
|
|
18
18
|
grid-template-columns: repeat(2, 1fr);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
@media ${
|
|
21
|
+
@media ${s("S")} {
|
|
22
22
|
grid-template-columns: repeat(2, 1fr);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
@media ${
|
|
25
|
+
@media ${s("XS")} {
|
|
26
26
|
grid-template-columns: repeat(1, 1fr);
|
|
27
27
|
}
|
|
28
|
-
`,
|
|
28
|
+
`, N = f.a`
|
|
29
29
|
text-decoration: none;
|
|
30
30
|
color: var(--gray-950);
|
|
31
31
|
display: flex;
|
|
@@ -63,10 +63,10 @@ const j = h.div`
|
|
|
63
63
|
object-fit: cover;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
@media ${
|
|
66
|
+
@media ${s("S")} {
|
|
67
67
|
max-width: unset;
|
|
68
68
|
}
|
|
69
|
-
`,
|
|
69
|
+
`, W = f.div`
|
|
70
70
|
text-align: center;
|
|
71
71
|
display: flex;
|
|
72
72
|
flex-direction: column;
|
|
@@ -87,36 +87,36 @@ const j = h.div`
|
|
|
87
87
|
font-weight: 400;
|
|
88
88
|
line-height: 1.25rem;
|
|
89
89
|
letter-spacing: 0.0156rem;
|
|
90
|
-
${
|
|
90
|
+
${v(3)}
|
|
91
91
|
}
|
|
92
|
-
`,
|
|
92
|
+
`, C = w((n, o) => {
|
|
93
93
|
const {
|
|
94
|
-
title:
|
|
95
|
-
image:
|
|
96
|
-
text:
|
|
97
|
-
buttonText:
|
|
98
|
-
onCardClick:
|
|
94
|
+
title: r,
|
|
95
|
+
image: a,
|
|
96
|
+
text: c,
|
|
97
|
+
buttonText: u,
|
|
98
|
+
onCardClick: d,
|
|
99
99
|
metadata: i,
|
|
100
100
|
link: p,
|
|
101
101
|
LinkComponent: e
|
|
102
|
-
} =
|
|
103
|
-
|
|
102
|
+
} = n, m = e || "a", g = S(), l = (k) => {
|
|
103
|
+
d(k, g);
|
|
104
104
|
};
|
|
105
|
-
return /* @__PURE__ */
|
|
106
|
-
|
|
105
|
+
return /* @__PURE__ */ h(
|
|
106
|
+
N,
|
|
107
107
|
{
|
|
108
108
|
ref: g,
|
|
109
109
|
name: i == null ? void 0 : i.name,
|
|
110
110
|
"data-accessor": i == null ? void 0 : i.accessor,
|
|
111
111
|
className: "blog-card",
|
|
112
|
-
onClick:
|
|
112
|
+
onClick: l,
|
|
113
113
|
as: m,
|
|
114
114
|
...e ? { to: `/${p}` } : { href: `/${p}` },
|
|
115
115
|
children: [
|
|
116
|
-
/* @__PURE__ */ t(
|
|
117
|
-
/* @__PURE__ */
|
|
118
|
-
/* @__PURE__ */ t("div", { className: "text-wr-title", children:
|
|
119
|
-
/* @__PURE__ */ t("div", { className: "text-wr", children:
|
|
116
|
+
/* @__PURE__ */ t(R, { src: a }),
|
|
117
|
+
/* @__PURE__ */ h(W, { children: [
|
|
118
|
+
/* @__PURE__ */ t("div", { className: "text-wr-title", children: r }),
|
|
119
|
+
/* @__PURE__ */ t("div", { className: "text-wr", children: c })
|
|
120
120
|
] }),
|
|
121
121
|
/* @__PURE__ */ t(
|
|
122
122
|
T,
|
|
@@ -125,101 +125,67 @@ const j = h.div`
|
|
|
125
125
|
color: "gray",
|
|
126
126
|
type: "button",
|
|
127
127
|
btnType: "outline",
|
|
128
|
-
onClick:
|
|
128
|
+
onClick: l,
|
|
129
129
|
size: "medium",
|
|
130
|
-
children:
|
|
130
|
+
children: u
|
|
131
131
|
}
|
|
132
132
|
)
|
|
133
133
|
]
|
|
134
134
|
}
|
|
135
135
|
);
|
|
136
|
-
}),
|
|
137
|
-
@media ${
|
|
136
|
+
}), I = f(B)`
|
|
137
|
+
@media ${s("S")} {
|
|
138
138
|
flex-direction: column;
|
|
139
|
-
|
|
140
|
-
& > div {
|
|
141
|
-
width: 100%;
|
|
142
|
-
|
|
143
|
-
background: linear-gradient(
|
|
144
|
-
to right,
|
|
145
|
-
transparent 0%,
|
|
146
|
-
#f4f6fb 40%,
|
|
147
|
-
#f4f6fb 100%
|
|
148
|
-
);
|
|
149
|
-
|
|
150
|
-
box-shadow: none;
|
|
151
|
-
}
|
|
152
139
|
}
|
|
153
|
-
`,
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
/* @__PURE__ */ t(
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
height: "24.75rem",
|
|
167
|
-
width: "18.5rem",
|
|
168
|
-
borderRadius: "0.75rem"
|
|
169
|
-
},
|
|
170
|
-
`${r}-2`
|
|
171
|
-
),
|
|
172
|
-
/* @__PURE__ */ t(
|
|
173
|
-
u,
|
|
174
|
-
{
|
|
175
|
-
height: "24.75rem",
|
|
176
|
-
width: "18.5rem",
|
|
177
|
-
borderRadius: "0.75rem"
|
|
178
|
-
},
|
|
179
|
-
`${r}-3`
|
|
180
|
-
)
|
|
181
|
-
] }), M = ({
|
|
182
|
-
keyPrefix: r,
|
|
183
|
-
isLoading: s = !1,
|
|
184
|
-
fallbackComponent: n = /* @__PURE__ */ t(C, {}),
|
|
185
|
-
children: o
|
|
186
|
-
}) => /* @__PURE__ */ t($, { fallbackComponent: n, children: s === !0 ? /* @__PURE__ */ t(I, { keyPrefix: r }) : o }), J = S((r, s) => {
|
|
140
|
+
`, L = ({ keyPrefix: n }) => /* @__PURE__ */ t(I, { justifyContent: "center", alignItems: "center", children: [1, 2, 3].map((o) => /* @__PURE__ */ t(
|
|
141
|
+
j,
|
|
142
|
+
{
|
|
143
|
+
height: "24.75rem",
|
|
144
|
+
width: "18.5rem"
|
|
145
|
+
},
|
|
146
|
+
`${n}-${o}`
|
|
147
|
+
)) }), M = ({
|
|
148
|
+
keyPrefix: n,
|
|
149
|
+
isLoading: o = !1,
|
|
150
|
+
fallbackComponent: r = /* @__PURE__ */ t(b, {}),
|
|
151
|
+
children: a
|
|
152
|
+
}) => /* @__PURE__ */ t(y, { fallbackComponent: r, children: o === !0 ? /* @__PURE__ */ t(L, { keyPrefix: n }) : a }), J = w((n, o) => {
|
|
187
153
|
const {
|
|
188
|
-
items:
|
|
189
|
-
limit:
|
|
190
|
-
onSelectCard:
|
|
154
|
+
items: r,
|
|
155
|
+
limit: a = 3,
|
|
156
|
+
onSelectCard: c = () => {
|
|
191
157
|
},
|
|
192
|
-
isLoading:
|
|
193
|
-
componentName:
|
|
158
|
+
isLoading: u = !1,
|
|
159
|
+
componentName: d,
|
|
194
160
|
LinkComponent: i
|
|
195
|
-
} =
|
|
161
|
+
} = n, p = $();
|
|
196
162
|
return /* @__PURE__ */ t(
|
|
197
163
|
M,
|
|
198
164
|
{
|
|
199
|
-
isLoading:
|
|
165
|
+
isLoading: u,
|
|
200
166
|
keyPrefix: "blogs-simple-centered-skeleton",
|
|
201
|
-
children: /* @__PURE__ */ t(
|
|
202
|
-
|
|
167
|
+
children: /* @__PURE__ */ t(z, { ref: o, limit: a, children: /* @__PURE__ */ t(b, { children: p === !0 ? r == null ? void 0 : r.map((e, m) => /* @__PURE__ */ t(
|
|
168
|
+
C,
|
|
203
169
|
{
|
|
204
170
|
title: e == null ? void 0 : e.title,
|
|
205
171
|
image: (e == null ? void 0 : e.image) || null,
|
|
206
172
|
text: e == null ? void 0 : e.text,
|
|
207
173
|
buttonText: e == null ? void 0 : e.buttonText,
|
|
208
|
-
onCardClick: (g,
|
|
209
|
-
metadata: { name:
|
|
174
|
+
onCardClick: (g, l) => c(e, l),
|
|
175
|
+
metadata: { name: d, accessor: e == null ? void 0 : e.accessor },
|
|
210
176
|
link: e == null ? void 0 : e.link,
|
|
211
177
|
LinkComponent: i
|
|
212
178
|
},
|
|
213
179
|
m
|
|
214
|
-
)) :
|
|
215
|
-
|
|
180
|
+
)) : r == null ? void 0 : r.slice(0, a).map((e, m) => /* @__PURE__ */ t(
|
|
181
|
+
C,
|
|
216
182
|
{
|
|
217
183
|
title: e == null ? void 0 : e.title,
|
|
218
184
|
image: (e == null ? void 0 : e.image) || null,
|
|
219
185
|
text: e == null ? void 0 : e.text,
|
|
220
186
|
buttonText: e == null ? void 0 : e.buttonText,
|
|
221
|
-
onCardClick: (g,
|
|
222
|
-
metadata: { name:
|
|
187
|
+
onCardClick: (g, l) => c(e, l),
|
|
188
|
+
metadata: { name: d, accessor: e == null ? void 0 : e.accessor },
|
|
223
189
|
link: e == null ? void 0 : e.link,
|
|
224
190
|
LinkComponent: i
|
|
225
191
|
},
|