@lanaco/lnc-react-ui 4.0.183 → 4.0.185
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BlogCardsSponsoredSection.cjs +5 -3
- package/dist/BlogCardsSponsoredSection.js +68 -64
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +1 -1
- package/dist/BlogListSection.cjs +8 -6
- package/dist/BlogListSection.js +122 -114
- 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 +1 -1
- package/dist/BlogSingleSection.js +1 -1
- package/dist/BlogsSectionDetailed.cjs +5 -3
- package/dist/BlogsSectionDetailed.js +53 -49
- package/dist/BlogsSectionLarge.cjs +2 -2
- package/dist/BlogsSectionLarge.js +2 -2
- package/dist/BlogsSectionSimple.cjs +9 -7
- package/dist/BlogsSectionSimple.js +53 -47
- package/dist/BlogsSectionSimpleCentered.cjs +7 -5
- package/dist/BlogsSectionSimpleCentered.js +31 -26
- package/dist/BlogsSectionWithFilters.cjs +9 -7
- package/dist/BlogsSectionWithFilters.js +47 -42
- package/dist/BrandHitsSection.cjs +9 -7
- package/dist/BrandHitsSection.js +40 -35
- package/dist/{CategorySimpleCard-BNYjZQTH.cjs → CategorySimpleCard-D5N8cx0Z.cjs} +4 -3
- package/dist/{CategorySimpleCard-BA0S7TaN.js → CategorySimpleCard-DRQuoxXu.js} +17 -15
- package/dist/CheckBoxInput.cjs +27 -27
- package/dist/CheckBoxInput.js +61 -98
- package/dist/ColorInput.cjs +26 -26
- package/dist/ColorInput.js +127 -162
- package/dist/DetailedProductsInfinitiveSection.cjs +2 -2
- package/dist/DetailedProductsInfinitiveSection.js +6 -5
- package/dist/DetailedProductsSection.cjs +2 -2
- package/dist/DetailedProductsSection.js +12 -10
- package/dist/FieldOfInterestsMasonrySection.cjs +5 -3
- package/dist/FieldOfInterestsMasonrySection.js +90 -85
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +4 -4
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +49 -46
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +8 -6
- package/dist/FieldOfInterestsWithTagsCardsSection.js +44 -40
- package/dist/GeneralWithTagsCardsSection.cjs +12 -8
- package/dist/GeneralWithTagsCardsSection.js +50 -44
- package/dist/GiftCardsSection.cjs +7 -5
- package/dist/GiftCardsSection.js +46 -40
- package/dist/MasonryGeneralCardsSection.cjs +6 -5
- package/dist/MasonryGeneralCardsSection.js +26 -23
- package/dist/Modal.cjs +14 -13
- package/dist/Modal.js +88 -86
- package/dist/OverlayGeneralCardsSection.cjs +7 -5
- package/dist/OverlayGeneralCardsSection.js +30 -35
- package/dist/ProductsWithBannerSection.cjs +8 -6
- package/dist/ProductsWithBannerSection.js +71 -77
- package/dist/QuattroCardsSection.cjs +8 -6
- package/dist/QuattroCardsSection.js +31 -28
- package/dist/ReviewsSection.cjs +11 -9
- package/dist/ReviewsSection.js +38 -36
- package/dist/SalesCampaignsSection.cjs +22 -19
- package/dist/SalesCampaignsSection.js +299 -300
- package/dist/ShopCardsSection.cjs +1 -1
- package/dist/ShopCardsSection.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +2 -2
- package/dist/SimpleCategoriesSection.js +7 -3
- package/dist/SimpleProductsSection.cjs +5 -5
- package/dist/SimpleProductsSection.js +62 -72
- package/dist/UrgentSaleProductsSection.cjs +6 -6
- package/dist/UrgentSaleProductsSection.js +9 -7
- package/dist/{index-DoKMLSVY.cjs → index-0p_3g3pT.cjs} +4 -2
- package/dist/{index-Bhfq_YpE.js → index-BipuzfLW.js} +28 -25
- package/dist/{index-CaAhRJ2-.cjs → index-Bmr3IeZ_.cjs} +12 -11
- package/dist/{index-DWLKvVyZ.js → index-C8QkdNHi.js} +27 -23
- package/dist/{index-B8I1mHMA.js → index-CA59z2ge.js} +29 -26
- package/dist/{index-BnYqZk-h.cjs → index-DHV9awrE.cjs} +4 -2
- package/dist/{index-DxZ71UZ1.js → index-DZ8515cZ.js} +144 -137
- package/dist/{index-D55MR8tU.cjs → index-MiN854X_.cjs} +6 -4
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),h=require("react"),u=require("./Button.cjs"),k=require("./index-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),h=require("react"),u=require("./Button.cjs"),k=require("./index-0p_3g3pT.cjs"),$=require("./utils-RnrgDDZP.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),x=require("./consts-goSZX3xP.cjs"),s=require("./style-BAcV7F53.cjs"),R=g.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: flex-start;
|
package/dist/ShopCardsSection.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as l, jsx as r, Fragment as $ } from "react/jsx-runtime";
|
|
2
2
|
import { Suspense as N, forwardRef as R } from "react";
|
|
3
3
|
import h from "./Button.js";
|
|
4
|
-
import { S as M } from "./index-
|
|
4
|
+
import { S as M } from "./index-CA59z2ge.js";
|
|
5
5
|
import { k as j } from "./utils-Dc5zIpaz.js";
|
|
6
6
|
import { s as u } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
7
7
|
import { M as g } from "./consts-BuFChS64.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),a=require("react"),q=require("./emotion-styled.browser.esm-BtEseadx.cjs"),b=require("./consts-goSZX3xP.cjs"),C=require("./useDetectMobile-zkbzoOGV.cjs"),u=require("./utils-RnrgDDZP.cjs"),_=require("./style-CkcozOY6.cjs"),y=require("./Button.cjs"),N=require("./CategorySimpleCard-D5N8cx0Z.cjs"),o=require("./style-BAcV7F53.cjs"),v=q.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${t=>"repeat(6, minmax(0, 1fr))"};
|
|
4
4
|
gap: 2rem;
|
|
@@ -28,4 +28,4 @@
|
|
|
28
28
|
overflow-x: hidden;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
`,R=({keyPrefix:t})=>
|
|
31
|
+
`,R=({keyPrefix:t})=>r.jsxs(E,{children:[r.jsxs(o.SkeletonRowWrapper,{className:"skeleton__cards",children:[r.jsx(o.SkeletonSquarePlaceholder,{height:"8.25rem"},`${t}-1`),r.jsx(o.SkeletonSquarePlaceholder,{height:"8.25rem"},`${t}-2`),r.jsx(o.SkeletonSquarePlaceholder,{height:"8.25rem"},`${t}-3`),r.jsx(o.SkeletonSquarePlaceholder,{height:"8.25rem"},`${t}-4`),r.jsx(o.SkeletonSquarePlaceholder,{height:"8.25rem"},`${t}-5`),r.jsx(o.SkeletonSquarePlaceholder,{height:"8.25rem"},`${t}-6`)]}),r.jsx(o.SkeletonRowWrapper,{children:r.jsxs(o.SkeletonRowWrapper,{className:"skeleton__cards",children:[r.jsx(o.SkeletonSquarePlaceholder,{height:"8.25rem"},`${t}-7`),r.jsx(o.SkeletonSquarePlaceholder,{height:"8.25rem"},`${t}-8`),r.jsx(o.SkeletonSquarePlaceholder,{height:"8.25rem"},`${t}-9`),r.jsx(o.SkeletonSquarePlaceholder,{height:"8.25rem"},`${t}-10`),r.jsx(o.SkeletonSquarePlaceholder,{height:"8.25rem"},`${t}-11`),r.jsx(o.SkeletonSquarePlaceholder,{height:"8.25rem"},`${t}-12`)]})})]}),M=({keyPrefix:t,isLoading:c=!1,fallbackComponent:i=r.jsx(r.Fragment,{}),children:d})=>r.jsx(a.Suspense,{fallbackComponent:i,children:c===!0?r.jsx(R,{keyPrefix:t}):d}),j=a.memo(N.CategorySimpleCard),I=a.forwardRef((t,c)=>{const{icon:i,title:d="Shop by category",items:l,buttonText:m="Shop now",buttonLink:h,limit:S=12,onButtonAction:k=()=>{},onSelectCard:s=()=>{},isLoading:p=!1,getImage:g=()=>{}}=t,w=C.useDetectMobile(),$=a.useMemo(()=>r.jsx(r.Fragment,{children:w===!0?l==null?void 0:l.map((e,n)=>r.jsx(j,{uuid:e==null?void 0:e.uuid,image:g(e==null?void 0:e.image)||null,name:e==null?void 0:e.name,code:e==null?void 0:e.code,onSelectCard:()=>s==null?void 0:s(e==null?void 0:e.uuid),...e},n)):l==null?void 0:l.slice(0,S).map((e,n)=>r.jsx(j,{uuid:e==null?void 0:e.uuid,image:g(e==null?void 0:e.image)||null,name:e==null?void 0:e.name,code:e==null?void 0:e.code,onSelectCard:()=>s==null?void 0:s(e==null?void 0:e.uuid),...e},n))}),[l]);return r.jsxs(_.RegulatTitleSectionWrapper,{ref:c,children:[r.jsxs("div",{className:"regular-title",children:[r.jsxs("div",{className:"regular-title-text",children:[u.isDefinedNotEmptyString(i)&&r.jsx("i",{className:i}),r.jsx("span",{children:d})]}),u.isDefinedNotEmptyString(m)&&u.isDefinedNotEmptyString(h)&&!p&&r.jsx(y,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var n;(n=e==null?void 0:e.target)==null||n.blur(),k(h)},borderRadius:"curved",className:"button-link",children:m})]}),r.jsx(M,{isLoading:p,keyPrefix:"simple-categories-skeleton",children:r.jsx(v,{limit:S,children:$})})]})});module.exports=I;
|
|
@@ -6,7 +6,7 @@ import { u as I } from "./useDetectMobile-Bkvj0VMa.js";
|
|
|
6
6
|
import { k as c } from "./utils-Dc5zIpaz.js";
|
|
7
7
|
import { R as W } from "./style-C7FUSHmS.js";
|
|
8
8
|
import B from "./Button.js";
|
|
9
|
-
import { C as L } from "./CategorySimpleCard-
|
|
9
|
+
import { C as L } from "./CategorySimpleCard-DRQuoxXu.js";
|
|
10
10
|
import { S as T, a as p, c as o } from "./style-CXMUA6cI.js";
|
|
11
11
|
const j = w.div`
|
|
12
12
|
display: grid;
|
|
@@ -81,7 +81,9 @@ const j = w.div`
|
|
|
81
81
|
uuid: e == null ? void 0 : e.uuid,
|
|
82
82
|
image: b(e == null ? void 0 : e.image) || null,
|
|
83
83
|
name: e == null ? void 0 : e.name,
|
|
84
|
-
|
|
84
|
+
code: e == null ? void 0 : e.code,
|
|
85
|
+
onSelectCard: () => a == null ? void 0 : a(e == null ? void 0 : e.uuid),
|
|
86
|
+
...e
|
|
85
87
|
},
|
|
86
88
|
n
|
|
87
89
|
)) : i == null ? void 0 : i.slice(0, g).map((e, n) => /* @__PURE__ */ t(
|
|
@@ -90,7 +92,9 @@ const j = w.div`
|
|
|
90
92
|
uuid: e == null ? void 0 : e.uuid,
|
|
91
93
|
image: b(e == null ? void 0 : e.image) || null,
|
|
92
94
|
name: e == null ? void 0 : e.name,
|
|
93
|
-
|
|
95
|
+
code: e == null ? void 0 : e.code,
|
|
96
|
+
onSelectCard: () => a == null ? void 0 : a(e == null ? void 0 : e.uuid),
|
|
97
|
+
...e
|
|
94
98
|
},
|
|
95
99
|
n
|
|
96
100
|
)) }), [i]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),l=require("react"),
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),l=require("react"),q=require("./emotion-styled.browser.esm-BtEseadx.cjs"),b=require("./consts-goSZX3xP.cjs"),v=require("./useDetectMobile-zkbzoOGV.cjs"),F=require("./index-DHV9awrE.cjs"),U=require("./index-CSgGox95.cjs"),s=require("./style-BAcV7F53.cjs"),I=q.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: repeat(6, 1fr);
|
|
4
4
|
gap: 1.25rem;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
margin: auto;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
@media (max-width: ${
|
|
12
|
+
@media (max-width: ${b.MOBILE_SIZE_PX+"px"}) {
|
|
13
13
|
grid-template-columns: repeat(2, 1fr);
|
|
14
14
|
|
|
15
15
|
& .text-block-v1 {
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
`,
|
|
32
|
-
@media (max-width: ${
|
|
31
|
+
`,L=q.styled(s.SkeletonColumnWrapper)`
|
|
32
|
+
@media (max-width: ${b.MOBILE_SIZE_PX+"px"}) {
|
|
33
33
|
& .skeleton__cards {
|
|
34
34
|
& > div {
|
|
35
35
|
width: 100%;
|
|
@@ -41,4 +41,4 @@
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
`,
|
|
44
|
+
`,R=({keyPrefix:r})=>t.jsxs(L,{children:[t.jsxs(s.SkeletonRowWrapper,{className:"skeleton__cards",children:[t.jsx(s.SkeletonLinePlaceholder,{width:"100%",height:"11.125rem"},`${r}-1`),t.jsx(s.SkeletonSquarePlaceholder,{height:"11.125rem",width:"11.125rem"},`${r}-2`),t.jsx(s.SkeletonSquarePlaceholder,{height:"11.125rem",width:"11.125rem"},`${r}-3`),t.jsx(s.SkeletonSquarePlaceholder,{height:"11.125rem",width:"11.125rem"},`${r}-4`)]}),t.jsxs(s.SkeletonRowWrapper,{className:"skeleton__cards",children:[t.jsx(s.SkeletonSquarePlaceholder,{height:"11.125rem",width:"11.125rem"},`${r}-5`),t.jsx(s.SkeletonSquarePlaceholder,{height:"11.125rem",width:"11.125rem"},`${r}-6`),t.jsx(s.SkeletonSquarePlaceholder,{height:"11.125rem",width:"11.125rem"},`${r}-7`),t.jsx(s.SkeletonSquarePlaceholder,{height:"11.125rem",width:"11.125rem"},`${r}-8`),t.jsx(s.SkeletonSquarePlaceholder,{height:"11.125rem",width:"11.125rem"},`${r}-9`),t.jsx(s.SkeletonSquarePlaceholder,{height:"11.125rem",width:"11.125rem"},`${r}-10`)]})]}),B=({keyPrefix:r,isLoading:n=!1,fallbackComponent:o=t.jsx(t.Fragment,{}),children:a})=>t.jsx(l.Suspense,{fallbackComponent:o,children:n===!0?t.jsx(R,{keyPrefix:r}):a}),w=l.memo(F.SimpleProductCard),C=l.forwardRef((r,n)=>{const{title:o,subtitle:a,description:k,buttonText:$,buttonLink:_,items:i,onButtonAction:P=()=>{},isLoading:N=!1,limit:d=6,getImage:u=()=>{},negotiableText:m,freeText:h,componentName:p}=r,g=v.useDetectMobile(),M=l.useMemo(()=>{var S,j;return t.jsx(t.Fragment,{children:g===!0?(S=i==null?void 0:i.slice(0,4))==null?void 0:S.map((e,c)=>t.jsx(w,{title:e==null?void 0:e.name,price:e==null?void 0:e.price,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,image:u(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,negotiableText:m,freeText:h,metadata:{name:p,accessor:e==null?void 0:e.accessor}},c)):(j=i==null?void 0:i.slice(0,9))==null?void 0:j.map((e,c)=>t.jsx(w,{title:e==null?void 0:e.name,price:e==null?void 0:e.price,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,image:u(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,negotiableText:m,freeText:h,metadata:{name:p,accessor:e==null?void 0:e.accessor}},c))})},[i,g,d]);return t.jsx(B,{isLoading:N,keyPrefix:"simple-products-skeleton",children:t.jsxs(I,{ref:n,limit:d,children:[t.jsx(U.TextBlockV1,{subtitle:a,title:o,description:k,buttonText:$,buttonLink:_,onButtonAction:P,className:"text-block-v1"}),M]})})});module.exports=C;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Suspense as
|
|
3
|
-
import { s as
|
|
4
|
-
import { M as
|
|
5
|
-
import { u as
|
|
6
|
-
import { S as
|
|
7
|
-
import { T as
|
|
8
|
-
import { S as
|
|
9
|
-
const
|
|
1
|
+
import { jsxs as s, jsx as t, Fragment as f } from "react/jsx-runtime";
|
|
2
|
+
import { Suspense as C, memo as L, forwardRef as B, useMemo as I } from "react";
|
|
3
|
+
import { s as N } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { M as _ } from "./consts-BuFChS64.js";
|
|
5
|
+
import { u as W } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
+
import { S as j } from "./index-C8QkdNHi.js";
|
|
7
|
+
import { T as z } from "./index-DK8dqEUQ.js";
|
|
8
|
+
import { S as E, a as b, b as R, c as i } from "./style-CXMUA6cI.js";
|
|
9
|
+
const q = N.div`
|
|
10
10
|
display: grid;
|
|
11
11
|
grid-template-columns: repeat(6, 1fr);
|
|
12
12
|
gap: 1.25rem;
|
|
@@ -17,7 +17,7 @@ const G = C.div`
|
|
|
17
17
|
margin: auto;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
@media (max-width: ${
|
|
20
|
+
@media (max-width: ${_ + "px"}) {
|
|
21
21
|
grid-template-columns: repeat(2, 1fr);
|
|
22
22
|
|
|
23
23
|
& .text-block-v1 {
|
|
@@ -36,8 +36,8 @@ const G = C.div`
|
|
|
36
36
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
`,
|
|
40
|
-
@media (max-width: ${
|
|
39
|
+
`, A = N(E)`
|
|
40
|
+
@media (max-width: ${_ + "px"}) {
|
|
41
41
|
& .skeleton__cards {
|
|
42
42
|
& > div {
|
|
43
43
|
width: 100%;
|
|
@@ -49,10 +49,10 @@ const G = C.div`
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
`,
|
|
53
|
-
/* @__PURE__ */
|
|
52
|
+
`, D = ({ keyPrefix: r }) => /* @__PURE__ */ s(A, { children: [
|
|
53
|
+
/* @__PURE__ */ s(b, { className: "skeleton__cards", children: [
|
|
54
54
|
/* @__PURE__ */ t(
|
|
55
|
-
|
|
55
|
+
R,
|
|
56
56
|
{
|
|
57
57
|
width: "100%",
|
|
58
58
|
height: "11.125rem"
|
|
@@ -84,7 +84,7 @@ const G = C.div`
|
|
|
84
84
|
`${r}-4`
|
|
85
85
|
)
|
|
86
86
|
] }),
|
|
87
|
-
/* @__PURE__ */
|
|
87
|
+
/* @__PURE__ */ s(b, { className: "skeleton__cards", children: [
|
|
88
88
|
/* @__PURE__ */ t(
|
|
89
89
|
i,
|
|
90
90
|
{
|
|
@@ -134,34 +134,32 @@ const G = C.div`
|
|
|
134
134
|
`${r}-10`
|
|
135
135
|
)
|
|
136
136
|
] })
|
|
137
|
-
] }),
|
|
137
|
+
] }), G = ({
|
|
138
138
|
keyPrefix: r,
|
|
139
|
-
isLoading:
|
|
140
|
-
fallbackComponent:
|
|
139
|
+
isLoading: a = !1,
|
|
140
|
+
fallbackComponent: o = /* @__PURE__ */ t(f, {}),
|
|
141
141
|
children: l
|
|
142
|
-
}) => /* @__PURE__ */ t(
|
|
142
|
+
}) => /* @__PURE__ */ t(C, { fallbackComponent: o, children: a === !0 ? /* @__PURE__ */ t(D, { keyPrefix: r }) : l }), $ = L(j), K = B((r, a) => {
|
|
143
143
|
const {
|
|
144
|
-
title:
|
|
144
|
+
title: o,
|
|
145
145
|
subtitle: l,
|
|
146
|
-
description:
|
|
147
|
-
buttonText:
|
|
148
|
-
buttonLink:
|
|
149
|
-
items:
|
|
150
|
-
onButtonAction:
|
|
146
|
+
description: k,
|
|
147
|
+
buttonText: v,
|
|
148
|
+
buttonLink: M,
|
|
149
|
+
items: m,
|
|
150
|
+
onButtonAction: U = () => {
|
|
151
151
|
},
|
|
152
|
-
|
|
152
|
+
isLoading: F = !1,
|
|
153
|
+
limit: d = 6,
|
|
154
|
+
getImage: c = () => {
|
|
153
155
|
},
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
} = r, w = E(), L = z(() => {
|
|
162
|
-
var b, $;
|
|
163
|
-
return /* @__PURE__ */ t(_, { children: w === !0 ? (b = a == null ? void 0 : a.slice(0, 4)) == null ? void 0 : b.map((e, d) => /* @__PURE__ */ t(
|
|
164
|
-
N,
|
|
156
|
+
negotiableText: u,
|
|
157
|
+
freeText: h,
|
|
158
|
+
componentName: p
|
|
159
|
+
} = r, g = W(), T = I(() => {
|
|
160
|
+
var w, S;
|
|
161
|
+
return /* @__PURE__ */ t(f, { children: g === !0 ? (w = m == null ? void 0 : m.slice(0, 4)) == null ? void 0 : w.map((e, n) => /* @__PURE__ */ t(
|
|
162
|
+
$,
|
|
165
163
|
{
|
|
166
164
|
title: e == null ? void 0 : e.name,
|
|
167
165
|
price: e == null ? void 0 : e.price,
|
|
@@ -170,19 +168,15 @@ const G = C.div`
|
|
|
170
168
|
currency: e == null ? void 0 : e.currency,
|
|
171
169
|
sellerUuid: e == null ? void 0 : e.sellerUuid,
|
|
172
170
|
uuid: e == null ? void 0 : e.uuid,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
}
|
|
178
|
-
image: h(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
|
|
179
|
-
negotiableText: p,
|
|
180
|
-
freeText: g,
|
|
181
|
-
metadata: { name: S, accessor: e == null ? void 0 : e.accessor }
|
|
171
|
+
nameSlug: e == null ? void 0 : e.nameSlug,
|
|
172
|
+
image: c(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
|
|
173
|
+
negotiableText: u,
|
|
174
|
+
freeText: h,
|
|
175
|
+
metadata: { name: p, accessor: e == null ? void 0 : e.accessor }
|
|
182
176
|
},
|
|
183
|
-
|
|
184
|
-
)) : (
|
|
185
|
-
|
|
177
|
+
n
|
|
178
|
+
)) : (S = m == null ? void 0 : m.slice(0, 9)) == null ? void 0 : S.map((e, n) => /* @__PURE__ */ t(
|
|
179
|
+
$,
|
|
186
180
|
{
|
|
187
181
|
title: e == null ? void 0 : e.name,
|
|
188
182
|
price: e == null ? void 0 : e.price,
|
|
@@ -191,42 +185,38 @@ const G = C.div`
|
|
|
191
185
|
currency: e == null ? void 0 : e.currency,
|
|
192
186
|
sellerUuid: e == null ? void 0 : e.sellerUuid,
|
|
193
187
|
uuid: e == null ? void 0 : e.uuid,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
}
|
|
199
|
-
image: h(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
|
|
200
|
-
negotiableText: p,
|
|
201
|
-
freeText: g,
|
|
202
|
-
metadata: { name: S, accessor: e == null ? void 0 : e.accessor }
|
|
188
|
+
nameSlug: e == null ? void 0 : e.nameSlug,
|
|
189
|
+
image: c(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
|
|
190
|
+
negotiableText: u,
|
|
191
|
+
freeText: h,
|
|
192
|
+
metadata: { name: p, accessor: e == null ? void 0 : e.accessor }
|
|
203
193
|
},
|
|
204
|
-
|
|
194
|
+
n
|
|
205
195
|
)) });
|
|
206
|
-
}, [
|
|
196
|
+
}, [m, g, d]);
|
|
207
197
|
return /* @__PURE__ */ t(
|
|
208
|
-
|
|
198
|
+
G,
|
|
209
199
|
{
|
|
210
|
-
isLoading:
|
|
200
|
+
isLoading: F,
|
|
211
201
|
keyPrefix: "simple-products-skeleton",
|
|
212
|
-
children: /* @__PURE__ */
|
|
202
|
+
children: /* @__PURE__ */ s(q, { ref: a, limit: d, children: [
|
|
213
203
|
/* @__PURE__ */ t(
|
|
214
|
-
|
|
204
|
+
z,
|
|
215
205
|
{
|
|
216
206
|
subtitle: l,
|
|
217
|
-
title:
|
|
218
|
-
description:
|
|
219
|
-
buttonText:
|
|
220
|
-
buttonLink:
|
|
221
|
-
onButtonAction:
|
|
207
|
+
title: o,
|
|
208
|
+
description: k,
|
|
209
|
+
buttonText: v,
|
|
210
|
+
buttonLink: M,
|
|
211
|
+
onButtonAction: U,
|
|
222
212
|
className: "text-block-v1"
|
|
223
213
|
}
|
|
224
214
|
),
|
|
225
|
-
|
|
215
|
+
T
|
|
226
216
|
] })
|
|
227
217
|
}
|
|
228
218
|
);
|
|
229
219
|
});
|
|
230
220
|
export {
|
|
231
|
-
|
|
221
|
+
K as default
|
|
232
222
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const a=require("react/jsx-runtime"),s=require("react"),_=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-goSZX3xP.cjs"),$=require("./useDetectMobile-zkbzoOGV.cjs"),T=require("./Button.cjs"),N=require("./index-Bmr3IeZ_.cjs"),F=_.styled.div`
|
|
2
2
|
padding: 1.75rem 3rem;
|
|
3
3
|
display: grid;
|
|
4
|
-
grid-template-columns: ${
|
|
4
|
+
grid-template-columns: ${t=>`repeat(${t.limit||5}, minmax(0, 1fr))`};
|
|
5
5
|
|
|
6
6
|
gap: 2.97rem;
|
|
7
7
|
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
& .product-card {
|
|
37
|
-
max-width: ${
|
|
37
|
+
max-width: ${t=>`calc(${100/t.desktopCols}% - ${(t.desktopCols-1)*t.columnGapRem/t.desktopCols}rem)`};
|
|
38
38
|
|
|
39
39
|
animation-duration: 0.2s;
|
|
40
40
|
animation-name: animate-fade;
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
@media (max-width: ${
|
|
57
|
+
@media (max-width: ${S.MOBILE_SIZE_PX+"px"}) {
|
|
58
58
|
grid-template-columns: repeat(2, 1fr);
|
|
59
59
|
padding: 2rem 1.25rem;
|
|
60
60
|
gap: 1.19rem;
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
@media (max-width: ${
|
|
70
|
+
@media (max-width: ${S.SMALL_MOBILE_SIZE_PX+"px"}) {
|
|
71
71
|
display: flex;
|
|
72
72
|
flex-direction: column;
|
|
73
73
|
}
|
|
74
|
-
`,
|
|
74
|
+
`,w=s.memo(N.DetailedProductCard),I=s.forwardRef((t,P)=>{const{items:r,limit:n=5,limitMobile:l=4,onSelectCard:u=()=>{},title:j="Urgent sale",showLessText:q="Show less",showMoreText:L="Show more",isLoading:g=!1,getImage:p=()=>{},negotiableText:f,freeText:b,onBookmark:h=()=>{},actionComponent:k,componentName:y,sponsoredText:C}=t,d=$.useDetectMobile(),[i,M]=s.useState(!1),U=s.useMemo(()=>{var o;return a.jsx(a.Fragment,{children:d===!0?(o=r==null?void 0:r.slice(0,i===!0?r==null?void 0:r.length:l))==null?void 0:o.map((e,m)=>a.jsx(w,{sellerName:e==null?void 0:e.sellerName,name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,categoryCode:e==null?void 0:e.categoryCode,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,sponsored:e==null?void 0:e.sponsored,onSelectCard:(v,c)=>u({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:c}),nameSlug:e==null?void 0:e.nameSlug,image:e==null?void 0:e.image,imageUrl:p(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,imageComponent:e==null?void 0:e.imageComponent,negotiableText:f,freeText:b,onBookmark:h,actionComponent:k,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{name:y,accessor:e==null?void 0:e.accessor},tags:e==null?void 0:e.tags,condition:e==null?void 0:e.condition,quantity:e==null?void 0:e.quantity,hasQuantities:e==null?void 0:e.hasQuantities,status:e==null?void 0:e.status,trade:e==null?void 0:e.trade,forCart:e==null?void 0:e.forCart,sponsoredText:C},m)):r==null?void 0:r.slice(0,n).map((e,m)=>a.jsx(w,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,categoryCode:e==null?void 0:e.categoryCode,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,location:e==null?void 0:e.location,sponsored:e==null?void 0:e.sponsored,onSelectCard:(v,c)=>u({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:c}),nameSlug:e==null?void 0:e.nameSlug,image:e==null?void 0:e.image,imageUrl:p(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,imageComponent:e==null?void 0:e.imageComponent,negotiableText:f,freeText:b,onBookmark:h,actionComponent:k,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{name:y,accessor:e==null?void 0:e.accessor},tags:e==null?void 0:e.tags,condition:e==null?void 0:e.condition,quantity:e==null?void 0:e.quantity,hasQuantities:e==null?void 0:e.hasQuantities,status:e==null?void 0:e.status,trade:e==null?void 0:e.trade,forCart:e==null?void 0:e.forCart,sponsoredText:C,sellerName:e==null?void 0:e.sellerName},m))})},[r,d,n,l,i]);return a.jsx(N.SuspenseDetailedProductCard,{isLoading:g,keyPrefix:"urgent-sale-products-skeleton",children:a.jsxs(F,{ref:P,limit:n,children:[a.jsxs("div",{className:"urgent-tag",children:[a.jsx("i",{className:"mng mng-lnc-bolt-filled"}),a.jsx("span",{children:j})]})," ",U," ",d===!0&&l<(r==null?void 0:r.length)&&!g&&a.jsx(T,{className:"show-more",btnType:"basic",type:"button",color:"neutral",onClick:o=>{var e;(e=o==null?void 0:o.target)==null||e.blur(),M(!i)},children:i===!0?q:L})]})})});module.exports=I;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as o, Fragment as $, jsxs as
|
|
1
|
+
import { jsx as o, Fragment as $, jsxs as S } from "react/jsx-runtime";
|
|
2
2
|
import { memo as T, forwardRef as F, useState as I, useMemo as _ } from "react";
|
|
3
3
|
import { s as q } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as B, S as D } from "./consts-BuFChS64.js";
|
|
5
5
|
import { u as E } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
6
|
import Q from "./Button.js";
|
|
7
|
-
import { D as j, S as z } from "./index-
|
|
7
|
+
import { D as j, S as z } from "./index-DZ8515cZ.js";
|
|
8
8
|
const A = q.div`
|
|
9
9
|
padding: 1.75rem 3rem;
|
|
10
10
|
display: grid;
|
|
@@ -78,7 +78,7 @@ const A = q.div`
|
|
|
78
78
|
display: flex;
|
|
79
79
|
flex-direction: column;
|
|
80
80
|
}
|
|
81
|
-
`,
|
|
81
|
+
`, y = T(j), J = F((r, w) => {
|
|
82
82
|
const {
|
|
83
83
|
items: a,
|
|
84
84
|
limit: s = 5,
|
|
@@ -101,7 +101,7 @@ const A = q.div`
|
|
|
101
101
|
} = r, l = E(), [i, M] = I(!1), U = _(() => {
|
|
102
102
|
var t;
|
|
103
103
|
return /* @__PURE__ */ o($, { children: l === !0 ? (t = a == null ? void 0 : a.slice(0, i === !0 ? a == null ? void 0 : a.length : n)) == null ? void 0 : t.map((e, m) => /* @__PURE__ */ o(
|
|
104
|
-
|
|
104
|
+
y,
|
|
105
105
|
{
|
|
106
106
|
sellerName: e == null ? void 0 : e.sellerName,
|
|
107
107
|
name: e == null ? void 0 : e.name,
|
|
@@ -119,6 +119,7 @@ const A = q.div`
|
|
|
119
119
|
nameSlug: e == null ? void 0 : e.nameSlug,
|
|
120
120
|
cardRef: d
|
|
121
121
|
}),
|
|
122
|
+
nameSlug: e == null ? void 0 : e.nameSlug,
|
|
122
123
|
image: e == null ? void 0 : e.image,
|
|
123
124
|
imageUrl: g(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
|
|
124
125
|
imageComponent: e == null ? void 0 : e.imageComponent,
|
|
@@ -140,7 +141,7 @@ const A = q.div`
|
|
|
140
141
|
},
|
|
141
142
|
m
|
|
142
143
|
)) : a == null ? void 0 : a.slice(0, s).map((e, m) => /* @__PURE__ */ o(
|
|
143
|
-
|
|
144
|
+
y,
|
|
144
145
|
{
|
|
145
146
|
name: e == null ? void 0 : e.name,
|
|
146
147
|
price: e == null ? void 0 : e.price,
|
|
@@ -158,6 +159,7 @@ const A = q.div`
|
|
|
158
159
|
nameSlug: e == null ? void 0 : e.nameSlug,
|
|
159
160
|
cardRef: d
|
|
160
161
|
}),
|
|
162
|
+
nameSlug: e == null ? void 0 : e.nameSlug,
|
|
161
163
|
image: e == null ? void 0 : e.image,
|
|
162
164
|
imageUrl: g(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
|
|
163
165
|
imageComponent: e == null ? void 0 : e.imageComponent,
|
|
@@ -186,8 +188,8 @@ const A = q.div`
|
|
|
186
188
|
{
|
|
187
189
|
isLoading: u,
|
|
188
190
|
keyPrefix: "urgent-sale-products-skeleton",
|
|
189
|
-
children: /* @__PURE__ */
|
|
190
|
-
/* @__PURE__ */
|
|
191
|
+
children: /* @__PURE__ */ S(A, { ref: w, limit: s, children: [
|
|
192
|
+
/* @__PURE__ */ S("div", { className: "urgent-tag", children: [
|
|
191
193
|
/* @__PURE__ */ o("i", { className: "mng mng-lnc-bolt-filled" }),
|
|
192
194
|
/* @__PURE__ */ o("span", { children: N })
|
|
193
195
|
] }),
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),t=require("react"),h=require("./Icon.cjs"),c=require("./utils-RnrgDDZP.cjs"),S=require("./emotion-styled.browser.esm-BtEseadx.cjs"),q=require("./consts-goSZX3xP.cjs"),x=require("./ShopAvatar-CV3lj34D.cjs"),E=require("./index-uwl7BjRF.cjs"),I=S.styled.a`
|
|
2
|
+
text-decoration: none;
|
|
3
|
+
color: var(--gray-950);
|
|
2
4
|
display: flex;
|
|
3
5
|
flex-direction: column;
|
|
4
6
|
align-items: center;
|
|
@@ -137,4 +139,4 @@
|
|
|
137
139
|
}
|
|
138
140
|
}
|
|
139
141
|
}
|
|
140
|
-
|
|
142
|
+
`,$=t.forwardRef(({uuid:m,image:p,imageComponent:_,title:f,subtitle:w,badges:d,rating:v,reviewCount:o,products:l,onSelectCard:y=()=>{},getProductImage:j=()=>{},canAcceptPayments:b,hideProducts:N=!1,showRating:u=!0,metadata:i={}},L)=>{const s=t.useRef(),g=t.useRef();return t.useEffect(()=>{var n;const e=a=>{a.target.src=x.DefaultShopImage,a.onerror=null};return(n=s==null?void 0:s.current)==null||n.addEventListener("error",e),()=>{var a;(a=s==null?void 0:s.current)==null||a.removeEventListener("error",e)}},[]),r.jsxs(I,{ref:g,name:i==null?void 0:i.name,"data-accessor":i==null?void 0:i.accessor,onClick:e=>y(e,g),href:`/shop/${m}`,children:[r.jsxs("div",{className:"wrapper__content",children:[c.isDefined(_)?_:p?r.jsx("img",{ref:s,src:p,className:"wrapper__image"}):r.jsx("img",{src:x.DefaultShopImage,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__info",children:[r.jsxs("div",{className:"wrapper__title",children:[f," ",b&&r.jsx(h,{color:"secondary",icon:"credit-card",className:"card"})]}),r.jsx("div",{className:"wrapper__subtitle",children:w}),d&&r.jsx("div",{className:"wrapper__badges"}),u&&r.jsxs("div",{className:"wrapper__rating",children:[r.jsx("div",{className:"wrapper_stars",children:[...Array(5).keys()].map((e,n)=>r.jsx(h,{icon:" mng-lnc-star--filled",className:`wrapper__star ${e>=v?"gold-star":""}`},`shop-card-rating-star__${n+1}`))}),r.jsxs("div",{className:"wrapper__review-count",children:["(",o==null?void 0:o.toLocaleString(),")"]})]})]})]}),N!==!0&&r.jsx("div",{className:"wrapper__products",children:l&&(l==null?void 0:l.map((e,n)=>r.jsx(t.Fragment,{children:r.jsx("div",{className:"wrapper__product",onClick:()=>{var a;return(a=e==null?void 0:e.onSelectProduct)==null?void 0:a.call(e,e==null?void 0:e.uuid)},children:c.isDefined(e==null?void 0:e.imageComponent)?e==null?void 0:e.imageComponent:r.jsx(E.ProductImageWrapper,{src:j(e==null?void 0:e.image,e==null?void 0:e.uuid,m),className:"product__image"})})},n)))})]})});exports.ShopCard=$;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as u, useRef as f } from "react";
|
|
3
3
|
import { s as d } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { M as
|
|
5
|
-
import { o as
|
|
6
|
-
import { u as
|
|
4
|
+
import { M as c } from "./consts-BuFChS64.js";
|
|
5
|
+
import { o as w } from "./utils-Dc5zIpaz.js";
|
|
6
|
+
import { u as b } from "./useDetectMobile-Bkvj0VMa.js";
|
|
7
7
|
import n from "./Button.js";
|
|
8
|
-
import { P as
|
|
9
|
-
const
|
|
8
|
+
import { P as y } from "./index-C_NnINik.js";
|
|
9
|
+
const v = d.a`
|
|
10
|
+
text-decoration: none;
|
|
11
|
+
color: var(--gray-950);
|
|
10
12
|
display: flex;
|
|
11
13
|
width: 100%;
|
|
12
14
|
gap: 1.25rem;
|
|
@@ -33,7 +35,7 @@ const y = d.div`
|
|
|
33
35
|
border-radius: 0.75rem 0 0 0.75rem;
|
|
34
36
|
}
|
|
35
37
|
|
|
36
|
-
@media (max-width: ${
|
|
38
|
+
@media (max-width: ${c + "px"}) {
|
|
37
39
|
padding: 1rem;
|
|
38
40
|
column-gap: 1.5rem;
|
|
39
41
|
row-gap: 1rem;
|
|
@@ -58,7 +60,7 @@ const y = d.div`
|
|
|
58
60
|
margin-top: auto;
|
|
59
61
|
}
|
|
60
62
|
}
|
|
61
|
-
`,
|
|
63
|
+
`, C = d.div`
|
|
62
64
|
padding: 1rem;
|
|
63
65
|
display: flex;
|
|
64
66
|
flex-direction: column;
|
|
@@ -74,7 +76,7 @@ const y = d.div`
|
|
|
74
76
|
font-weight: 400;
|
|
75
77
|
font-size: 0.875rem;
|
|
76
78
|
color: var(--gray-700, #4e555f);
|
|
77
|
-
${
|
|
79
|
+
${w(3)}
|
|
78
80
|
}
|
|
79
81
|
|
|
80
82
|
& button {
|
|
@@ -82,25 +84,26 @@ const y = d.div`
|
|
|
82
84
|
margin-top: auto;
|
|
83
85
|
}
|
|
84
86
|
|
|
85
|
-
@media (max-width: ${
|
|
87
|
+
@media (max-width: ${c + "px"}) {
|
|
86
88
|
padding: 0;
|
|
87
89
|
}
|
|
88
|
-
`, j =
|
|
89
|
-
const { title:
|
|
90
|
-
return /* @__PURE__ */
|
|
91
|
-
|
|
90
|
+
`, j = u((s, k) => {
|
|
91
|
+
const { title: l, imageUrl: p, text: g, onCardClick: t, buttonText: o, metadata: r, titleSlug: h } = s, i = b(), a = f();
|
|
92
|
+
return /* @__PURE__ */ m(
|
|
93
|
+
v,
|
|
92
94
|
{
|
|
93
|
-
ref:
|
|
95
|
+
ref: a,
|
|
94
96
|
className: "blog-card",
|
|
95
97
|
"data-accessor": r == null ? void 0 : r.accessor,
|
|
96
98
|
name: r == null ? void 0 : r.name,
|
|
97
|
-
onClick: (
|
|
99
|
+
onClick: (x) => t(x, a),
|
|
100
|
+
href: `/blog/${h}`,
|
|
98
101
|
children: [
|
|
99
|
-
/* @__PURE__ */ e(
|
|
100
|
-
/* @__PURE__ */
|
|
101
|
-
/* @__PURE__ */ e("div", { className: "text-wr-title", children:
|
|
102
|
-
/* @__PURE__ */ e("div", { className: "text-wr", children:
|
|
103
|
-
|
|
102
|
+
/* @__PURE__ */ e(y, { src: p }),
|
|
103
|
+
/* @__PURE__ */ m(C, { children: [
|
|
104
|
+
/* @__PURE__ */ e("div", { className: "text-wr-title", children: l }),
|
|
105
|
+
/* @__PURE__ */ e("div", { className: "text-wr", children: g }),
|
|
106
|
+
i !== !0 && /* @__PURE__ */ e(
|
|
104
107
|
n,
|
|
105
108
|
{
|
|
106
109
|
type: "button",
|
|
@@ -108,11 +111,11 @@ const y = d.div`
|
|
|
108
111
|
size: "medium",
|
|
109
112
|
color: "gray",
|
|
110
113
|
onClick: t,
|
|
111
|
-
children:
|
|
114
|
+
children: o
|
|
112
115
|
}
|
|
113
116
|
)
|
|
114
117
|
] }),
|
|
115
|
-
|
|
118
|
+
i === !0 && /* @__PURE__ */ e(
|
|
116
119
|
n,
|
|
117
120
|
{
|
|
118
121
|
className: "action",
|
|
@@ -121,7 +124,7 @@ const y = d.div`
|
|
|
121
124
|
size: "medium",
|
|
122
125
|
color: "gray",
|
|
123
126
|
onClick: t,
|
|
124
|
-
children:
|
|
127
|
+
children: o
|
|
125
128
|
}
|
|
126
129
|
)
|
|
127
130
|
]
|