@lanaco/lnc-react-ui 4.0.38 → 4.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BannerSectionBasic.cjs +9 -9
- package/dist/BannerSectionBasic.js +20 -20
- package/dist/BannerSectionCarousel.cjs +13 -5
- package/dist/BannerSectionCarousel.js +29 -21
- package/dist/BannerSectionGrid.cjs +1 -1
- package/dist/BannerSectionGrid.js +6 -6
- package/dist/BannerSectionSimple.cjs +4 -4
- package/dist/BannerSectionSimple.js +41 -38
- package/dist/BannerSectionWithList.cjs +4 -4
- package/dist/BannerSectionWithList.js +17 -17
- package/dist/BannerSectionWithListImage.cjs +5 -5
- package/dist/BannerSectionWithListImage.js +41 -38
- package/dist/BlogsSectionDetailed.cjs +15 -15
- package/dist/BlogsSectionDetailed.js +128 -92
- package/dist/BlogsSectionLarge.cjs +10 -10
- package/dist/BlogsSectionLarge.js +87 -60
- package/dist/BlogsSectionSimple.cjs +8 -8
- package/dist/BlogsSectionSimple.js +98 -72
- package/dist/BlogsSectionSimpleCentered.cjs +10 -10
- package/dist/BlogsSectionSimpleCentered.js +76 -46
- package/dist/BlogsSectionWithFilters.cjs +11 -11
- package/dist/BlogsSectionWithFilters.js +102 -73
- package/dist/BrandHitsSection.cjs +12 -7
- package/dist/BrandHitsSection.js +10 -5
- package/dist/CalorieCalculatorSection.cjs +7 -8
- package/dist/CalorieCalculatorSection.js +31 -32
- package/dist/CustomLoanMapSection.cjs +2 -2
- package/dist/CustomLoanMapSection.js +13 -13
- package/dist/DetailedProductsSection.cjs +4 -4
- package/dist/DetailedProductsSection.js +66 -57
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +8 -8
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +9 -8
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +14 -6
- package/dist/FieldOfInterestsWithTagsCardsSection.js +12 -4
- package/dist/GeneralWithTagsCardsSection.cjs +18 -6
- package/dist/GeneralWithTagsCardsSection.js +44 -31
- package/dist/GiftCardsSection.cjs +9 -5
- package/dist/GiftCardsSection.js +21 -17
- package/dist/LocationSearchSection.cjs +1 -1
- package/dist/LocationSearchSection.js +1 -1
- package/dist/MasonryGeneralCardsSection.cjs +21 -1
- package/dist/MasonryGeneralCardsSection.js +20 -0
- package/dist/OverlayGeneralCardsSection.cjs +60 -104
- package/dist/OverlayGeneralCardsSection.js +138 -147
- package/dist/ProductsWithBannerSection.cjs +10 -10
- package/dist/ProductsWithBannerSection.js +85 -54
- package/dist/SalesCampaignsSection.cjs +17 -17
- package/dist/SalesCampaignsSection.js +81 -81
- package/dist/ShopCardsSection.cjs +19 -9
- package/dist/ShopCardsSection.js +54 -40
- package/dist/SimpleCategoriesSection.cjs +9 -9
- package/dist/SimpleCategoriesSection.js +89 -58
- package/dist/SimpleProductsSection.cjs +3 -3
- package/dist/SimpleProductsSection.js +86 -55
- package/dist/UrgentSaleProductsSection.cjs +5 -5
- package/dist/UrgentSaleProductsSection.js +41 -30
- package/dist/{index-CT6_7UFb.js → index-5cttM4t7.js} +119 -124
- package/dist/{index-CHkb_Sj6.js → index-BT55M3t6.js} +16 -15
- package/dist/{index-Dj5wZCVs.cjs → index-DHJmdMN8.cjs} +6 -5
- package/dist/index-Dn5tPLgP.cjs +95 -0
- package/dist/{style-6tSw9aqK.js → style-CiePxaJ_.js} +6 -6
- package/dist/{style-BR3tIhP1.cjs → style-DN1qT8BE.cjs} +6 -6
- package/dist/suspense-product-card-detailed-BETmfKMT.js +189 -0
- package/dist/{index-vXmvgZ2Y.cjs → suspense-product-card-detailed-DtzOxHaH.cjs} +4 -4
- package/package.json +1 -1
- package/dist/index-D6g5ZqyJ.js +0 -159
- package/dist/index-Q_i-aqsF.cjs +0 -95
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),s=require("react"),u=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),s=require("react"),u=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),S=require("./utils-NZLCh-J5.cjs"),I=require("./consts-CtNoHdBj.cjs"),K=require("./motion-B_VPZaJq.cjs"),i=require("./index-BPVoEhTF.cjs"),Q=require("./Icon.cjs"),ee=require("./Badge.cjs"),M=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),G=require("./useDetectMobile-D6d5LpdL.cjs"),re=require("./FlexBox.cjs"),q=require("./index-Cb_AeN9A.cjs"),z=require("./IconButton.cjs"),te=u.newStyled.div`
|
|
2
2
|
cursor: pointer;
|
|
3
3
|
display: flex;
|
|
4
4
|
gap: 1rem;
|
|
5
5
|
padding: 1.25rem;
|
|
6
|
-
border-radius:
|
|
7
|
-
border: 1px solid var(--gray-
|
|
6
|
+
border-radius: 20px;
|
|
7
|
+
border: 1px solid var(--gray-95008, #14161a14);
|
|
8
8
|
|
|
9
9
|
@media (max-width: ${I.MOBILE_SIZE_PX+"px"}) {
|
|
10
10
|
flex-direction: column;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
border-radius: 0;
|
|
15
15
|
}
|
|
16
16
|
`,oe=u.newStyled.div`
|
|
17
|
-
border-radius: ${e=>
|
|
17
|
+
border-radius: ${e=>S.getBorderRadiusValueWithUnits(e.theme,"edged")};
|
|
18
18
|
height: 15rem;
|
|
19
19
|
width: 15rem;
|
|
20
20
|
min-width: 15rem;
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
font-weight: 500;
|
|
136
136
|
font-size: 0.875rem;
|
|
137
137
|
line-height: 1.25rem;
|
|
138
|
-
border-radius: ${e=>
|
|
138
|
+
border-radius: ${e=>S.getBorderRadiusValueWithUnits(e.theme,"slight")};
|
|
139
139
|
transition: all 0.25s ease;
|
|
140
140
|
|
|
141
141
|
& .logo-wrapper {
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
display: flex;
|
|
193
193
|
gap: 0.25rem;
|
|
194
194
|
`,le=e=>`var(--${e}-700)`,ce=u.newStyled.div`
|
|
195
|
-
border-radius: ${e=>
|
|
195
|
+
border-radius: ${e=>S.getBorderRadiusValueWithUnits(e.theme,e.borderRadius||"slight")};
|
|
196
196
|
background-color: ${e=>le(e==null?void 0:e.color)};
|
|
197
197
|
color: white;
|
|
198
198
|
height: 1.5rem;
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
& i {
|
|
208
208
|
font-size: 0.813rem;
|
|
209
209
|
}
|
|
210
|
-
`,X=e=>{const{uuid:o,hasPermission:c=!0,isUser:n,image:m,name:a,notifications:d=0,color:x="primary",size:w="large",style:
|
|
210
|
+
`,X=e=>{const{uuid:o,hasPermission:c=!0,isUser:n,image:m,name:a,notifications:d=0,color:x="primary",size:w="large",style:j,disabled:l,onSelect:g=()=>{},isActive:y,className:b,themeData:f}=e,T={theme:M.useTheme(),color:x,size:w,style:j,disabled:l};return s.createElement(se,{onClick:t=>{t.stopPropagation(),c===!0&&(g==null||g())},...T,key:a,animate:{y:0,opacity:1},className:`profile-item ${b}`,exit:{opacity:0},hasPermission:c,initial:{y:-10,opacity:0},isActive:y,themeColor:(f==null?void 0:f.code)||"transparent"},r.jsx("div",{className:"logo-wrapper",children:m}),r.jsx("div",{className:"name",children:a}),d>0&&r.jsx("div",{className:"notifications-number",children:r.jsx(ee,{className:"badge",color:"danger",size:"small",children:d>99?"99+":d})}))};X.propTypes={id:i.PropTypes.any,isUserProfile:i.PropTypes.bool,themeColor:i.PropTypes.string,image:i.PropTypes.any,name:i.PropTypes.string,notifications:i.PropTypes.number,style:i.PropTypes.object,className:i.PropTypes.string,color:i.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral"]),size:i.PropTypes.oneOf(["large"]),onSelect:i.PropTypes.func,hasPermission:i.PropTypes.bool};const H=(e,o)=>{if(!e||!o)return null;let c=Math.floor((e==null?void 0:e.getTime())-(o==null?void 0:o.getTime())),n=1e3*60*60*24;return Math.ceil(c/n)},Y=e=>{const o=M.useTheme(),{uuid:c,shopUuid:n,title:m="",description:a,badges:d,coverPhoto:x,onSelect:w,status:j,startDate:l,endDate:g,salesPackages:y,shopName:b,shopImage:f,onSelectCard:h=()=>{},onSelectShop:T=()=>{},campaignSingleText:t,salesCampaignTypes:$=[],startsInPrefixTextPlural:P,startsinSuffixTextPlural:F,startsInPrefixTextSingular:k,startsinSuffixTextSingular:A,themeData:O,...R}=e,p=l?new Date(l)<=new Date:!1;H(g?new Date(g):null,l?new Date(l):null);const v=H(l?new Date(l):null,new Date);return r.jsxs(te,{theme:o,onClick:h,...R,children:[r.jsxs(oe,{theme:o,onClick:()=>w==null?void 0:w(),children:[r.jsx("img",{src:x}),r.jsx(ae,{children:y==null?void 0:y.map((C,E)=>{var N,W;return r.jsx(ce,{color:(N=$==null?void 0:$.find(B=>B.value===C))==null?void 0:N.color,theme:o,children:r.jsx(Q,{icon:(W=$==null?void 0:$.find(B=>B.value===C))==null?void 0:W.icon})},`package__${E}`)})})]}),r.jsxs(ie,{theme:o,children:[r.jsxs("div",{className:"text-block-wrapper",children:[r.jsxs("div",{className:"title-block-wrapper",children:[r.jsx("div",{className:"campaign-title",children:t}),r.jsx("div",{className:"campaign-title-text",children:m}),r.jsx("div",{className:"timestamp-text",children:p?"":v===1?`${k} ${v} ${A}`:`${P} ${v} ${F}`})]}),r.jsx("div",{children:a})]}),r.jsx(X,{hasPermission:!0,image:r.jsx("img",{src:f,className:`${f?"":"no-image"}`}),themeData:O,isActive:!0,isUser:!1,name:b,onClick:()=>T(n)})]})]})};Y.propTypes={title:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.element]),numberOfListings:i.PropTypes.number,dropdown:i.PropTypes.any,color:i.PropTypes.string};const de=u.newStyled.div`
|
|
211
211
|
display: flex;
|
|
212
212
|
flex-direction: column;
|
|
213
213
|
gap: 1.5rem;
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
position: absolute;
|
|
219
219
|
top: 50%;
|
|
220
220
|
left: 1.5rem;
|
|
221
|
-
z-index: ${e=>
|
|
221
|
+
z-index: ${e=>S.isDefined(e.arrowsZIndex)?e.arrowsZIndex:20};
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
& .hover-right-arrow {
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
position: absolute;
|
|
227
227
|
top: 50%;
|
|
228
228
|
right: 1.5rem;
|
|
229
|
-
z-index: ${e=>
|
|
229
|
+
z-index: ${e=>S.isDefined(e.arrowsZIndex)?e.arrowsZIndex:20};
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
& .clip-loader-wrapper {
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
display: flex;
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
|
-
`,
|
|
244
|
+
`,ge=u.newStyled.div`
|
|
245
245
|
display: flex;
|
|
246
246
|
align-items: center;
|
|
247
247
|
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
display: none;
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
|
-
`,
|
|
265
|
+
`,he=u.newStyled.div`
|
|
266
266
|
position: relative;
|
|
267
267
|
padding: ${e=>e.padding};
|
|
268
268
|
|
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
right: 0;
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
`,pe=(e,o)=>{const[c,n]=s.useState({trigger:null,direction:null}),m=a=>a.touches||a.originalEvent.touches;return s.useEffect(()=>{const a=typeof e=="string"||e instanceof String?document.getElementById(e):e.current;let d=null,x=null;if(a){const w=l=>{const
|
|
343
|
+
`,pe=(e,o)=>{const[c,n]=s.useState({trigger:null,direction:null}),m=a=>a.touches||a.originalEvent.touches;return s.useEffect(()=>{const a=typeof e=="string"||e instanceof String?document.getElementById(e):e.current;let d=null,x=null;if(a){const w=l=>{const g=m(l)[0];d=g.clientX,x=g.clientY},j=l=>{if(!d||!x)return;const g=l.touches[0].clientX,y=l.touches[0].clientY,b=d-g,f=x-y;Math.abs(b)>Math.abs(f)?b>0?n(h=>({trigger:!h.trigger,direction:_.LEFT})):n(h=>({trigger:!h.trigger,direction:_.RIGHT})):f>0?n(h=>({trigger:!h.trigger,direction:_.UP})):n(h=>({trigger:!h.trigger,direction:_.DOWN})),d=null,x=null};return a.addEventListener("touchstart",w),a.addEventListener("touchmove",j),()=>{a.removeEventListener("touchstart",w),a.addEventListener("touchmove",j)}}},[]),c},_={UP:"up",DOWN:"down",RIGHT:"right",LEFT:"left"},J=s.forwardRef(({title:e,columnGap:o="2rem",rowGap:c="1.25rem",scrollBySize:n=300,wrapForMobile:m=!1,wrap:a=!1,children:d,methodsRef:x,arrowsVisibleOnHover:w=!0,rightAlignArrows:j=!1,padding:l="0",showTimesBtn:g,noArrows:y,onShowEnd:b,arrowsZIndex:f,...h},T)=>{const t=G.useDetectMobile(),$=M.useTheme(),[P,F]=s.useState(!1),[k,A]=s.useState(!1),[O,R]=s.useState(!0),p=s.useRef(),v=pe(p);s.useEffect(()=>{(v==null?void 0:v.direction)===_.RIGHT&&k!==!0?E():(v==null?void 0:v.direction)===_.LEFT&&P!==!0&&C()},[v]);const C=()=>{var D;(D=p.current)==null||D.scrollBy(n,0)},E=()=>{var D;(D=p.current)==null||D.scrollBy(-n,0)},[N,W]=s.useState(!1);s.useEffect(()=>{var D,U;W(((D=p==null?void 0:p.current)==null?void 0:D.scrollWidth)>((U=p==null?void 0:p.current)==null?void 0:U.clientWidth))},[d]),s.useImperativeHandle(x,()=>({scrollToEnd(){B()},scrollLeft(){E()},scrollRight(){C()}}));const B=()=>{p.current.scrollLeft=p.current.scrollWidth};return r.jsxs(de,{arrowsZIndex:f,children:[r.jsxs(ge,{children:[r.jsx("div",{children:e}),r.jsxs("div",{className:"btns-group",children:[r.jsx(z,{borderRadius:"curved",btnType:"tinted",className:"scroll-arrow-left",color:"neutral",disabled:k,icon:"angle-left",onClick:E}),r.jsx(z,{borderRadius:"curved",btnType:"tinted",className:"scroll-arrow-right",color:"neutral",disabled:P,icon:"angle-right",onClick:C})]})]}),r.jsx(z,{borderRadius:"curved",btnType:"tinted",className:"hover-left-arrow scroll-arrow-left",color:"neutral",disabled:k,icon:"angle-left",onClick:E}),r.jsx(z,{borderRadius:"curved",btnType:"tinted",className:"hover-right-arrow scroll-arrow-right",color:"neutral",disabled:P,icon:"angle-right",onClick:C}),r.jsx(he,{ref:T,arrowsVisibleOnHover:w,hasOverflow:N,noArrows:y,padding:l,rightAlignArrows:j,showTimesBtn:g,theme:$,...h,children:r.jsxs(re,{ref:p,className:"scrollable-container",columnGap:o,rowGap:c,wrap:a||m&&t?"Wrap":"NoWrap",children:[r.jsx(q.InfiniteScrollEndElement,{isHorizontal:!0,onIsNotVisible:()=>{k===!0&&A(!1)},onIsVisible:()=>{k===!1&&A(!0)}}),d,r.jsx(q.InfiniteScrollEndElement,{isHorizontal:!0,onIsNotVisible:()=>{P===!0&&F(!1),R(!0)},onIsVisible:()=>{P===!1&&F(!0),R(!1),b==null||b()}}),O&&N&&r.jsx("div",{className:"gradient"})]})})]})});J.propTypes={title:i.PropTypes.string,rowGap:i.PropTypes.string,columnGap:i.PropTypes.string,scrollBySize:i.PropTypes.number,wrapForMobile:i.PropTypes.bool,wrap:i.PropTypes.bool,methodsRef:i.PropTypes.any,arrowsVisibleOnHover:i.PropTypes.bool,rightAlignArrows:i.PropTypes.bool,padding:i.PropTypes.string};const ue=u.newStyled.div`
|
|
344
344
|
display: flex;
|
|
345
345
|
flex-direction: column;
|
|
346
346
|
gap: 1.5rem;
|
|
@@ -375,14 +375,14 @@
|
|
|
375
375
|
height: ${e=>(e.heightCoeff||1)*1.125}rem;
|
|
376
376
|
background-color: var(--gray-200, #dddfe4);
|
|
377
377
|
|
|
378
|
-
${
|
|
378
|
+
${S.linearGradientAnimation("-90deg")}
|
|
379
379
|
`,fe=u.newStyled.div`
|
|
380
380
|
display: flex;
|
|
381
381
|
flex-direction: ${e=>e!=null&&e.row?"row":"column"};
|
|
382
382
|
gap: ${e=>(e==null?void 0:e.gap)??"0.5rem"};
|
|
383
383
|
width: ${e=>(e==null?void 0:e.width)??"100%"};
|
|
384
384
|
`,Z=u.newStyled.div`
|
|
385
|
-
border-radius: ${e=>
|
|
385
|
+
border-radius: ${e=>S.getBorderRadiusValueWithUnits(e.theme,(e==null?void 0:e.borderRadius)??"regular")};
|
|
386
386
|
background: var(--gray-200, #dddfe4);
|
|
387
387
|
position: relative;
|
|
388
388
|
max-height: ${e=>(e==null?void 0:e.height)??"5rem"};
|
|
@@ -391,10 +391,10 @@
|
|
|
391
391
|
width: ${e=>(e==null?void 0:e.width)??"5rem"};
|
|
392
392
|
flex-shrink: 0;
|
|
393
393
|
|
|
394
|
-
${
|
|
394
|
+
${S.linearGradientAnimation()}
|
|
395
395
|
`,me=u.newStyled.div`
|
|
396
396
|
background: var(--white, #fff);
|
|
397
|
-
border-radius:
|
|
397
|
+
border-radius: ${e=>S.getBorderRadiusValueWithUnits(e.theme,"edged")};
|
|
398
398
|
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.06);
|
|
399
399
|
border: 1px solid var(--gray-95012, #14161a1f);
|
|
400
400
|
|
|
@@ -420,4 +420,4 @@
|
|
|
420
420
|
align-items: center;
|
|
421
421
|
gap: 0.5rem;
|
|
422
422
|
}
|
|
423
|
-
`,xe=s.forwardRef(({},e)=>{const o=M.useTheme();return r.jsxs(me,{ref:e,theme:o,children:[r.jsx("div",{className:"campaign__left-section",children:r.jsx(Z,{theme:o,width:"15rem",height:"15rem",borderRadius:"edged"})}),r.jsxs("div",{className:"campaign__right-section",children:[r.jsxs(fe,{theme:o,children:[r.jsx(L,{heightCoeff:.75,theme:o,width:"35%"}),r.jsx(L,{heightCoeff:1.25,theme:o}),r.jsx(L,{heightCoeff:3,theme:o})]}),r.jsxs("div",{className:"campaign__user",children:[r.jsx(Z,{theme:o,width:"2.5rem",height:"2.5rem",borderRadius:"curved"}),r.jsx(L,{theme:o,width:"75%"})]})]})]})}),we=({itemsCount:e=5,keyPrefix:o})=>r.jsx(r.Fragment,{children:Array.from({length:e},(c,n)=>r.jsx(xe,{},`${o}-skeleton-campaign-card-${n}`))}),be=({children:e,fallbackComponent:o=r.jsx(r.Fragment,{}),isLoading:c=!1,itemsCount:n=5,keyPrefix:m})=>r.jsx(s.Suspense,{fallback:o,children:c===!0?r.jsx(we,{itemsCount:n,keyPrefix:m}):e}),ye=s.memo(Y),ve=s.forwardRef(({sellerType:e="Shop",items:o=[],title:c,isLoading:n,onSelectCard:m=()=>{},onSelectShop:a=()=>{},customScrollSize:d,campaignSingleText:x,salesCampaignTypes:w=[],startsInPrefixTextPlural:
|
|
423
|
+
`,xe=s.forwardRef(({},e)=>{const o=M.useTheme();return r.jsxs(me,{ref:e,theme:o,children:[r.jsx("div",{className:"campaign__left-section",children:r.jsx(Z,{theme:o,width:"15rem",height:"15rem",borderRadius:"edged"})}),r.jsxs("div",{className:"campaign__right-section",children:[r.jsxs(fe,{theme:o,children:[r.jsx(L,{heightCoeff:.75,theme:o,width:"35%"}),r.jsx(L,{heightCoeff:1.25,theme:o}),r.jsx(L,{heightCoeff:3,theme:o})]}),r.jsxs("div",{className:"campaign__user",children:[r.jsx(Z,{theme:o,width:"2.5rem",height:"2.5rem",borderRadius:"curved"}),r.jsx(L,{theme:o,width:"75%"})]})]})]})}),we=({itemsCount:e=5,keyPrefix:o})=>r.jsx(r.Fragment,{children:Array.from({length:e},(c,n)=>r.jsx(xe,{},`${o}-skeleton-campaign-card-${n}`))}),be=({children:e,fallbackComponent:o=r.jsx(r.Fragment,{}),isLoading:c=!1,itemsCount:n=5,keyPrefix:m})=>r.jsx(s.Suspense,{fallback:o,children:c===!0?r.jsx(we,{itemsCount:n,keyPrefix:m}):e}),ye=s.memo(Y),ve=s.forwardRef(({sellerType:e="Shop",items:o=[],title:c,isLoading:n,onSelectCard:m=()=>{},onSelectShop:a=()=>{},customScrollSize:d,campaignSingleText:x,salesCampaignTypes:w=[],startsInPrefixTextPlural:j,startsinSuffixTextPlural:l,startsInPrefixTextSingular:g,startsinSuffixTextSingular:y},b)=>{const f=s.useRef(),h=G.useDetectMobile(),T=s.useMemo(()=>o==null?void 0:o.map((t,$)=>r.jsx(ye,{className:"campaign-item",coverPhoto:t==null?void 0:t.coverPhoto,description:t==null?void 0:t.description,endDate:t==null?void 0:t.endDate,salesPackages:t==null?void 0:t.salesPackages,sellerType:e,shopImage:t==null?void 0:t.profileImage,shopName:t==null?void 0:t.shopName,shopUuid:t==null?void 0:t.shopUuid,startDate:t==null?void 0:t.startDate,title:t==null?void 0:t.name,uuid:t==null?void 0:t.campaignUuid,onSelectCard:()=>m(t==null?void 0:t.campaignUuid,t==null?void 0:t.shopUuid),onSelectShop:()=>a(t==null?void 0:t.shopUuid),campaignSingleText:x,salesCampaignTypes:w,startsInPrefixTextPlural:j,startsinSuffixTextPlural:l,startsInPrefixTextSingular:g,startsinSuffixTextSingular:y,themeData:t==null?void 0:t.themeData},`campaign__item__${$}__${t==null?void 0:t.startDate}___${t==null?void 0:t.endDate}`)),[o]);return r.jsx(r.Fragment,{children:(o==null?void 0:o.length)>0&&r.jsx(ue,{ref:b,className:"row-section-scroll",children:r.jsx(J,{arrowsVisibleOnHover:!1,columnGap:"0",methodsRef:f,mobileHoverScrollButtons:!0,noArrows:!0,padding:"0.25rem 0",rightAlignArrows:!0,scrollBySize:h?window.innerWidth:d>0?d:window.innerWidth,showTimesBtn:!1,title:c,onShowEnd:()=>{},arrowsZIndex:11,children:r.jsx(be,{isLoading:n,itemsCount:2,keyPrefix:"sales-camp",children:T})})})})});module.exports=ve;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, jsxs as p, Fragment as G } from "react/jsx-runtime";
|
|
2
|
-
import { createElement as ae, useState as
|
|
3
|
-
import { n as
|
|
4
|
-
import { a as
|
|
2
|
+
import { createElement as ae, useState as P, useEffect as j, forwardRef as V, useRef as Q, useImperativeHandle as ne, Suspense as se, memo as le, useMemo as ce } from "react";
|
|
3
|
+
import { n as f } from "./emotion-styled.browser.esm-CjCaF13H.js";
|
|
4
|
+
import { a as z, l as X, m as ee } from "./utils-DtRLzzTZ.js";
|
|
5
5
|
import { M as T } from "./consts-C1uHV4xc.js";
|
|
6
6
|
import { m as de } from "./motion-Ckekul_K.js";
|
|
7
7
|
import { P as i } from "./index-S5Cd7WrG.js";
|
|
@@ -9,16 +9,16 @@ import ge from "./Icon.js";
|
|
|
9
9
|
import he from "./Badge.js";
|
|
10
10
|
import { u as M } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
11
11
|
import { u as re } from "./useDetectMobile-BC6EGaBc.js";
|
|
12
|
-
import
|
|
12
|
+
import fe from "./FlexBox.js";
|
|
13
13
|
import { I as Y } from "./index-wy-PXQR9.js";
|
|
14
14
|
import U from "./IconButton.js";
|
|
15
|
-
const
|
|
15
|
+
const me = f.div`
|
|
16
16
|
cursor: pointer;
|
|
17
17
|
display: flex;
|
|
18
18
|
gap: 1rem;
|
|
19
19
|
padding: 1.25rem;
|
|
20
|
-
border-radius:
|
|
21
|
-
border: 1px solid var(--gray-
|
|
20
|
+
border-radius: 20px;
|
|
21
|
+
border: 1px solid var(--gray-95008, #14161a14);
|
|
22
22
|
|
|
23
23
|
@media (max-width: ${T + "px"}) {
|
|
24
24
|
flex-direction: column;
|
|
@@ -27,8 +27,8 @@ const fe = m.div`
|
|
|
27
27
|
border: none;
|
|
28
28
|
border-radius: 0;
|
|
29
29
|
}
|
|
30
|
-
`, pe =
|
|
31
|
-
border-radius: ${(e) =>
|
|
30
|
+
`, pe = f.div`
|
|
31
|
+
border-radius: ${(e) => z(e.theme, "edged")};
|
|
32
32
|
height: 15rem;
|
|
33
33
|
width: 15rem;
|
|
34
34
|
min-width: 15rem;
|
|
@@ -56,7 +56,7 @@ const fe = m.div`
|
|
|
56
56
|
max-width: 100dvh;
|
|
57
57
|
height: 23.438rem;
|
|
58
58
|
}
|
|
59
|
-
`, ue =
|
|
59
|
+
`, ue = f.div`
|
|
60
60
|
flex: 1;
|
|
61
61
|
display: flex;
|
|
62
62
|
flex-direction: column;
|
|
@@ -137,7 +137,7 @@ const fe = m.div`
|
|
|
137
137
|
${o ? "" : "flex-wrap: nowrap;"}
|
|
138
138
|
${e ? "align-items: center;" : ""}
|
|
139
139
|
${l ? "justify-content: center;" : ""}
|
|
140
|
-
`, be =
|
|
140
|
+
`, be = f(de.div)`
|
|
141
141
|
text-decoration: none;
|
|
142
142
|
${(e) => e.hasPermission === !0 && "cursor: pointer"};
|
|
143
143
|
|
|
@@ -161,7 +161,7 @@ const fe = m.div`
|
|
|
161
161
|
font-weight: 500;
|
|
162
162
|
font-size: 0.875rem;
|
|
163
163
|
line-height: 1.25rem;
|
|
164
|
-
border-radius: ${(e) =>
|
|
164
|
+
border-radius: ${(e) => z(e.theme, "slight")};
|
|
165
165
|
transition: all 0.25s ease;
|
|
166
166
|
|
|
167
167
|
& .logo-wrapper {
|
|
@@ -211,15 +211,15 @@ const fe = m.div`
|
|
|
211
211
|
background-color: var(--gray-95080, #14161acc);
|
|
212
212
|
color: var(--gray-600, #676e79);
|
|
213
213
|
}
|
|
214
|
-
`,
|
|
214
|
+
`, xe = f.div`
|
|
215
215
|
position: absolute;
|
|
216
216
|
top: 0.5rem;
|
|
217
217
|
${(e) => e.alignToLeft === !0 ? "left: 0.5rem;" : "right: 0.5rem;"}
|
|
218
218
|
display: flex;
|
|
219
219
|
gap: 0.25rem;
|
|
220
|
-
`,
|
|
221
|
-
border-radius: ${(e) =>
|
|
222
|
-
background-color: ${(e) =>
|
|
220
|
+
`, ve = (e) => `var(--${e}-700)`, ye = f.div`
|
|
221
|
+
border-radius: ${(e) => z(e.theme, e.borderRadius || "slight")};
|
|
222
|
+
background-color: ${(e) => ve(e == null ? void 0 : e.color)};
|
|
223
223
|
color: white;
|
|
224
224
|
height: 1.5rem;
|
|
225
225
|
min-width: 1.5rem;
|
|
@@ -247,11 +247,11 @@ const fe = m.div`
|
|
|
247
247
|
disabled: s,
|
|
248
248
|
onSelect: d = () => {
|
|
249
249
|
},
|
|
250
|
-
isActive:
|
|
251
|
-
className:
|
|
250
|
+
isActive: v,
|
|
251
|
+
className: x,
|
|
252
252
|
// new
|
|
253
|
-
themeData:
|
|
254
|
-
} = e,
|
|
253
|
+
themeData: m
|
|
254
|
+
} = e, C = {
|
|
255
255
|
theme: M(),
|
|
256
256
|
color: w,
|
|
257
257
|
size: b,
|
|
@@ -264,13 +264,13 @@ const fe = m.div`
|
|
|
264
264
|
onClick: (r) => {
|
|
265
265
|
r.stopPropagation(), l === !0 && (d == null || d());
|
|
266
266
|
},
|
|
267
|
-
...
|
|
267
|
+
...C,
|
|
268
268
|
key: n,
|
|
269
269
|
animate: {
|
|
270
270
|
y: 0,
|
|
271
271
|
opacity: 1
|
|
272
272
|
},
|
|
273
|
-
className: `profile-item ${
|
|
273
|
+
className: `profile-item ${x}`,
|
|
274
274
|
exit: {
|
|
275
275
|
opacity: 0
|
|
276
276
|
},
|
|
@@ -279,8 +279,8 @@ const fe = m.div`
|
|
|
279
279
|
y: -10,
|
|
280
280
|
opacity: 0
|
|
281
281
|
},
|
|
282
|
-
isActive:
|
|
283
|
-
themeColor: (
|
|
282
|
+
isActive: v,
|
|
283
|
+
themeColor: (m == null ? void 0 : m.code) || "transparent"
|
|
284
284
|
},
|
|
285
285
|
/* @__PURE__ */ t("div", { className: "logo-wrapper", children: u }),
|
|
286
286
|
/* @__PURE__ */ t("div", { className: "name", children: n }),
|
|
@@ -325,12 +325,12 @@ const J = (e, o) => {
|
|
|
325
325
|
status: D,
|
|
326
326
|
startDate: s,
|
|
327
327
|
endDate: d,
|
|
328
|
-
salesPackages:
|
|
329
|
-
shopName:
|
|
330
|
-
shopImage:
|
|
328
|
+
salesPackages: v,
|
|
329
|
+
shopName: x,
|
|
330
|
+
shopImage: m,
|
|
331
331
|
onSelectCard: g = () => {
|
|
332
332
|
},
|
|
333
|
-
onSelectShop:
|
|
333
|
+
onSelectShop: C = () => {
|
|
334
334
|
},
|
|
335
335
|
campaignSingleText: r,
|
|
336
336
|
salesCampaignTypes: $ = [],
|
|
@@ -350,7 +350,7 @@ const J = (e, o) => {
|
|
|
350
350
|
/* @__PURE__ */ new Date()
|
|
351
351
|
);
|
|
352
352
|
return /* @__PURE__ */ p(
|
|
353
|
-
|
|
353
|
+
me,
|
|
354
354
|
{
|
|
355
355
|
theme: o,
|
|
356
356
|
onClick: g,
|
|
@@ -358,17 +358,17 @@ const J = (e, o) => {
|
|
|
358
358
|
children: [
|
|
359
359
|
/* @__PURE__ */ p(pe, { theme: o, onClick: () => b == null ? void 0 : b(), children: [
|
|
360
360
|
/* @__PURE__ */ t("img", { src: w }),
|
|
361
|
-
/* @__PURE__ */ t(
|
|
362
|
-
var
|
|
361
|
+
/* @__PURE__ */ t(xe, { children: v == null ? void 0 : v.map((I, A) => {
|
|
362
|
+
var E, L;
|
|
363
363
|
return /* @__PURE__ */ t(
|
|
364
364
|
ye,
|
|
365
365
|
{
|
|
366
|
-
color: (
|
|
366
|
+
color: (E = $ == null ? void 0 : $.find((_) => _.value === I)) == null ? void 0 : E.color,
|
|
367
367
|
theme: o,
|
|
368
368
|
children: /* @__PURE__ */ t(
|
|
369
369
|
ge,
|
|
370
370
|
{
|
|
371
|
-
icon: (L = $ == null ? void 0 : $.find((
|
|
371
|
+
icon: (L = $ == null ? void 0 : $.find((_) => _.value === I)) == null ? void 0 : L.icon
|
|
372
372
|
}
|
|
373
373
|
)
|
|
374
374
|
},
|
|
@@ -399,16 +399,16 @@ const J = (e, o) => {
|
|
|
399
399
|
/* @__PURE__ */ t(
|
|
400
400
|
"img",
|
|
401
401
|
{
|
|
402
|
-
src:
|
|
403
|
-
className: `${
|
|
402
|
+
src: m,
|
|
403
|
+
className: `${m ? "" : "no-image"}`
|
|
404
404
|
}
|
|
405
405
|
)
|
|
406
406
|
),
|
|
407
407
|
themeData: H,
|
|
408
408
|
isActive: !0,
|
|
409
409
|
isUser: !1,
|
|
410
|
-
name:
|
|
411
|
-
onClick: () =>
|
|
410
|
+
name: x,
|
|
411
|
+
onClick: () => C(a)
|
|
412
412
|
}
|
|
413
413
|
)
|
|
414
414
|
] })
|
|
@@ -422,7 +422,7 @@ oe.propTypes = {
|
|
|
422
422
|
dropdown: i.any,
|
|
423
423
|
color: i.string
|
|
424
424
|
};
|
|
425
|
-
const $e =
|
|
425
|
+
const $e = f.div`
|
|
426
426
|
display: flex;
|
|
427
427
|
flex-direction: column;
|
|
428
428
|
gap: 1.5rem;
|
|
@@ -456,7 +456,7 @@ const $e = m.div`
|
|
|
456
456
|
display: flex;
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
|
-
`, De =
|
|
459
|
+
`, De = f.div`
|
|
460
460
|
display: flex;
|
|
461
461
|
align-items: center;
|
|
462
462
|
|
|
@@ -477,7 +477,7 @@ const $e = m.div`
|
|
|
477
477
|
display: none;
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
`,
|
|
480
|
+
`, ke = f.div`
|
|
481
481
|
position: relative;
|
|
482
482
|
padding: ${(e) => e.padding};
|
|
483
483
|
|
|
@@ -555,8 +555,8 @@ const $e = m.div`
|
|
|
555
555
|
right: 0;
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
`,
|
|
559
|
-
const [l, a] =
|
|
558
|
+
`, Ce = (e, o) => {
|
|
559
|
+
const [l, a] = P({
|
|
560
560
|
trigger: null,
|
|
561
561
|
direction: null
|
|
562
562
|
}), u = (n) => n.touches || n.originalEvent.touches;
|
|
@@ -570,14 +570,14 @@ const $e = m.div`
|
|
|
570
570
|
}, D = (s) => {
|
|
571
571
|
if (!c || !w)
|
|
572
572
|
return;
|
|
573
|
-
const d = s.touches[0].clientX,
|
|
574
|
-
Math.abs(
|
|
573
|
+
const d = s.touches[0].clientX, v = s.touches[0].clientY, x = c - d, m = w - v;
|
|
574
|
+
Math.abs(x) > Math.abs(m) ? x > 0 ? a((g) => ({
|
|
575
575
|
trigger: !g.trigger,
|
|
576
576
|
direction: F.LEFT
|
|
577
577
|
})) : a((g) => ({
|
|
578
578
|
trigger: !g.trigger,
|
|
579
579
|
direction: F.RIGHT
|
|
580
|
-
})) :
|
|
580
|
+
})) : m > 0 ? a((g) => ({
|
|
581
581
|
trigger: !g.trigger,
|
|
582
582
|
direction: F.UP
|
|
583
583
|
})) : a((g) => ({
|
|
@@ -609,30 +609,30 @@ const $e = m.div`
|
|
|
609
609
|
rightAlignArrows: D = !1,
|
|
610
610
|
padding: s = "0",
|
|
611
611
|
showTimesBtn: d,
|
|
612
|
-
noArrows:
|
|
613
|
-
onShowEnd:
|
|
614
|
-
arrowsZIndex:
|
|
612
|
+
noArrows: v,
|
|
613
|
+
onShowEnd: x,
|
|
614
|
+
arrowsZIndex: m,
|
|
615
615
|
...g
|
|
616
|
-
},
|
|
617
|
-
const r = re(), $ = M(), [S, B] =
|
|
616
|
+
}, C) => {
|
|
617
|
+
const r = re(), $ = M(), [S, B] = P(!1), [N, R] = P(!1), [H, W] = P(!0), h = Q(), y = Ce(h);
|
|
618
618
|
j(() => {
|
|
619
619
|
(y == null ? void 0 : y.direction) === F.RIGHT && N !== !0 ? A() : (y == null ? void 0 : y.direction) === F.LEFT && S !== !0 && I();
|
|
620
620
|
}, [y]);
|
|
621
621
|
const I = () => {
|
|
622
|
-
var
|
|
623
|
-
(
|
|
622
|
+
var k;
|
|
623
|
+
(k = h.current) == null || k.scrollBy(a, 0);
|
|
624
624
|
}, A = () => {
|
|
625
|
-
var
|
|
626
|
-
(
|
|
627
|
-
}, [
|
|
625
|
+
var k;
|
|
626
|
+
(k = h.current) == null || k.scrollBy(-a, 0);
|
|
627
|
+
}, [E, L] = P(!1);
|
|
628
628
|
j(() => {
|
|
629
|
-
var
|
|
629
|
+
var k, Z;
|
|
630
630
|
L(
|
|
631
|
-
((
|
|
631
|
+
((k = h == null ? void 0 : h.current) == null ? void 0 : k.scrollWidth) > ((Z = h == null ? void 0 : h.current) == null ? void 0 : Z.clientWidth)
|
|
632
632
|
);
|
|
633
633
|
}, [c]), ne(w, () => ({
|
|
634
634
|
scrollToEnd() {
|
|
635
|
-
|
|
635
|
+
_();
|
|
636
636
|
},
|
|
637
637
|
scrollLeft() {
|
|
638
638
|
A();
|
|
@@ -641,10 +641,10 @@ const $e = m.div`
|
|
|
641
641
|
I();
|
|
642
642
|
}
|
|
643
643
|
}));
|
|
644
|
-
const
|
|
644
|
+
const _ = () => {
|
|
645
645
|
h.current.scrollLeft = h.current.scrollWidth;
|
|
646
646
|
};
|
|
647
|
-
return /* @__PURE__ */ p($e, { arrowsZIndex:
|
|
647
|
+
return /* @__PURE__ */ p($e, { arrowsZIndex: m, children: [
|
|
648
648
|
/* @__PURE__ */ p(De, { children: [
|
|
649
649
|
/* @__PURE__ */ t("div", { children: e }),
|
|
650
650
|
/* @__PURE__ */ p("div", { className: "btns-group", children: [
|
|
@@ -699,19 +699,19 @@ const $e = m.div`
|
|
|
699
699
|
}
|
|
700
700
|
),
|
|
701
701
|
/* @__PURE__ */ t(
|
|
702
|
-
|
|
702
|
+
ke,
|
|
703
703
|
{
|
|
704
|
-
ref:
|
|
704
|
+
ref: C,
|
|
705
705
|
arrowsVisibleOnHover: b,
|
|
706
|
-
hasOverflow:
|
|
707
|
-
noArrows:
|
|
706
|
+
hasOverflow: E,
|
|
707
|
+
noArrows: v,
|
|
708
708
|
padding: s,
|
|
709
709
|
rightAlignArrows: D,
|
|
710
710
|
showTimesBtn: d,
|
|
711
711
|
theme: $,
|
|
712
712
|
...g,
|
|
713
713
|
children: /* @__PURE__ */ p(
|
|
714
|
-
|
|
714
|
+
fe,
|
|
715
715
|
{
|
|
716
716
|
ref: h,
|
|
717
717
|
className: "scrollable-container",
|
|
@@ -740,11 +740,11 @@ const $e = m.div`
|
|
|
740
740
|
S === !0 && B(!1), W(!0);
|
|
741
741
|
},
|
|
742
742
|
onIsVisible: () => {
|
|
743
|
-
S === !1 && B(!0), W(!1),
|
|
743
|
+
S === !1 && B(!0), W(!1), x == null || x();
|
|
744
744
|
}
|
|
745
745
|
}
|
|
746
746
|
),
|
|
747
|
-
H &&
|
|
747
|
+
H && E && /* @__PURE__ */ t("div", { className: "gradient" })
|
|
748
748
|
]
|
|
749
749
|
}
|
|
750
750
|
)
|
|
@@ -765,7 +765,7 @@ ie.propTypes = {
|
|
|
765
765
|
rightAlignArrows: i.bool,
|
|
766
766
|
padding: i.string
|
|
767
767
|
};
|
|
768
|
-
const Se =
|
|
768
|
+
const Se = f.div`
|
|
769
769
|
display: flex;
|
|
770
770
|
flex-direction: column;
|
|
771
771
|
gap: 1.5rem;
|
|
@@ -795,19 +795,19 @@ const Se = m.div`
|
|
|
795
795
|
margin-right: 0;
|
|
796
796
|
}
|
|
797
797
|
}
|
|
798
|
-
`, O =
|
|
798
|
+
`, O = f.div`
|
|
799
799
|
width: ${(e) => e.width || "100%"};
|
|
800
800
|
height: ${(e) => (e.heightCoeff || 1) * 1.125}rem;
|
|
801
801
|
background-color: var(--gray-200, #dddfe4);
|
|
802
802
|
|
|
803
803
|
${ee("-90deg")}
|
|
804
|
-
`, Ne =
|
|
804
|
+
`, Ne = f.div`
|
|
805
805
|
display: flex;
|
|
806
806
|
flex-direction: ${(e) => e != null && e.row ? "row" : "column"};
|
|
807
807
|
gap: ${(e) => (e == null ? void 0 : e.gap) ?? "0.5rem"};
|
|
808
808
|
width: ${(e) => (e == null ? void 0 : e.width) ?? "100%"};
|
|
809
|
-
`, K =
|
|
810
|
-
border-radius: ${(e) =>
|
|
809
|
+
`, K = f.div`
|
|
810
|
+
border-radius: ${(e) => z(e.theme, (e == null ? void 0 : e.borderRadius) ?? "regular")};
|
|
811
811
|
background: var(--gray-200, #dddfe4);
|
|
812
812
|
position: relative;
|
|
813
813
|
max-height: ${(e) => (e == null ? void 0 : e.height) ?? "5rem"};
|
|
@@ -817,9 +817,9 @@ const Se = m.div`
|
|
|
817
817
|
flex-shrink: 0;
|
|
818
818
|
|
|
819
819
|
${ee()}
|
|
820
|
-
`, Ie =
|
|
820
|
+
`, Ie = f.div`
|
|
821
821
|
background: var(--white, #fff);
|
|
822
|
-
border-radius:
|
|
822
|
+
border-radius: ${(e) => z(e.theme, "edged")};
|
|
823
823
|
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.06);
|
|
824
824
|
border: 1px solid var(--gray-95012, #14161a1f);
|
|
825
825
|
|
|
@@ -904,9 +904,9 @@ const Se = m.div`
|
|
|
904
904
|
startsInPrefixTextPlural: D,
|
|
905
905
|
startsinSuffixTextPlural: s,
|
|
906
906
|
startsInPrefixTextSingular: d,
|
|
907
|
-
startsinSuffixTextSingular:
|
|
908
|
-
},
|
|
909
|
-
const
|
|
907
|
+
startsinSuffixTextSingular: v
|
|
908
|
+
}, x) => {
|
|
909
|
+
const m = Q(), g = re(), C = ce(() => o == null ? void 0 : o.map((r, $) => /* @__PURE__ */ t(
|
|
910
910
|
Ee,
|
|
911
911
|
{
|
|
912
912
|
className: "campaign-item",
|
|
@@ -928,17 +928,17 @@ const Se = m.div`
|
|
|
928
928
|
startsInPrefixTextPlural: D,
|
|
929
929
|
startsinSuffixTextPlural: s,
|
|
930
930
|
startsInPrefixTextSingular: d,
|
|
931
|
-
startsinSuffixTextSingular:
|
|
931
|
+
startsinSuffixTextSingular: v,
|
|
932
932
|
themeData: r == null ? void 0 : r.themeData
|
|
933
933
|
},
|
|
934
934
|
`campaign__item__${$}__${r == null ? void 0 : r.startDate}___${r == null ? void 0 : r.endDate}`
|
|
935
935
|
)), [o]);
|
|
936
|
-
return /* @__PURE__ */ t(G, { children: (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ t(Se, { ref:
|
|
936
|
+
return /* @__PURE__ */ t(G, { children: (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ t(Se, { ref: x, className: "row-section-scroll", children: /* @__PURE__ */ t(
|
|
937
937
|
ie,
|
|
938
938
|
{
|
|
939
939
|
arrowsVisibleOnHover: !1,
|
|
940
940
|
columnGap: "0",
|
|
941
|
-
methodsRef:
|
|
941
|
+
methodsRef: m,
|
|
942
942
|
mobileHoverScrollButtons: !0,
|
|
943
943
|
noArrows: !0,
|
|
944
944
|
padding: "0.25rem 0",
|
|
@@ -955,7 +955,7 @@ const Se = m.div`
|
|
|
955
955
|
isLoading: a,
|
|
956
956
|
itemsCount: 2,
|
|
957
957
|
keyPrefix: "sales-camp",
|
|
958
|
-
children:
|
|
958
|
+
children: C
|
|
959
959
|
}
|
|
960
960
|
)
|
|
961
961
|
}
|