@gem-sdk/components 2.0.0-dev.867 → 2.0.0-dev.869
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/cjs/article/components/ArticleAuthor.js +1 -0
- package/dist/cjs/article/components/ArticleAuthor.liquid.js +3 -0
- package/dist/cjs/article/components/ArticleCategory.js +1 -0
- package/dist/cjs/article/components/ArticleCategory.liquid.js +3 -0
- package/dist/cjs/article/components/ArticleContent.js +1 -0
- package/dist/cjs/article/components/ArticleContent.liquid.js +3 -0
- package/dist/cjs/article/components/ArticleDate.js +1 -0
- package/dist/cjs/article/components/ArticleDate.liquid.js +3 -0
- package/dist/cjs/article/components/ArticleExcerpt.js +1 -0
- package/dist/cjs/article/components/ArticleExcerpt.liquid.js +3 -0
- package/dist/cjs/article/components/ArticleImage.js +1 -0
- package/dist/cjs/article/components/ArticleImage.liquid.js +5 -0
- package/dist/cjs/article/components/ArticleList.js +1 -0
- package/dist/cjs/article/components/ArticleList.liquid.js +7 -0
- package/dist/cjs/article/components/ArticlePagination.js +1 -0
- package/dist/cjs/article/components/ArticlePagination.liquid.js +1 -0
- package/dist/cjs/article/components/ArticleReadMore.js +1 -0
- package/dist/cjs/article/components/ArticleReadMore.liquid.js +6 -0
- package/dist/cjs/article/components/ArticleTag.js +1 -0
- package/dist/cjs/article/components/ArticleTag.liquid.js +3 -0
- package/dist/cjs/article/components/ArticleTitle.js +1 -0
- package/dist/cjs/article/components/ArticleTitle.liquid.js +9 -0
- package/dist/cjs/article/next.js +1 -0
- package/dist/cjs/article/setting/ArticleAuthor.js +9 -0
- package/dist/cjs/article/setting/ArticleCategory.js +9 -0
- package/dist/cjs/article/setting/ArticleContent.js +8 -0
- package/dist/cjs/article/setting/ArticleDate.js +9 -0
- package/dist/cjs/article/setting/ArticleExcerpt.js +8 -0
- package/dist/cjs/article/setting/ArticleImage.js +13 -0
- package/dist/cjs/article/setting/ArticleList.js +26 -0
- package/dist/cjs/article/setting/ArticlePagination.js +12 -0
- package/dist/cjs/article/setting/ArticleReadMore.js +10 -0
- package/dist/cjs/article/setting/ArticleTag.js +10 -0
- package/dist/cjs/article/setting/ArticleTitle.js +8 -0
- package/dist/cjs/article/setting/index.js +1 -0
- package/dist/cjs/builder.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.liquid.js +1 -1
- package/dist/cjs/next.js +1 -1
- package/dist/cjs/product/components/ProductBundleDiscount.js +1 -0
- package/dist/cjs/product/components/ProductBundleDiscount.liquid.js +34 -0
- package/dist/cjs/product/components/ProductBundleDiscountItem.js +1 -0
- package/dist/cjs/product/components/ProductBundleDiscountItem.liquid.js +29 -0
- package/dist/cjs/product/components/ProductPrice.js +1 -1
- package/dist/cjs/product/components/ProductPrice.liquid.js +15 -13
- package/dist/cjs/product/components/ProductTag.js +1 -1
- package/dist/cjs/product/components/constants/product-bundle.js +1 -0
- package/dist/cjs/product/next.js +1 -1
- package/dist/cjs/product/setting/ProductBundleDiscount.js +39 -0
- package/dist/cjs/product/setting/ProductBundleDiscountItem.js +1 -0
- package/dist/cjs/product/setting/ProductPrice.js +1 -1
- package/dist/cjs/product/setting/ProductTag.js +1 -1
- package/dist/cjs/product/setting/index.js +1 -1
- package/dist/cjs/product/setting/template.js +1 -0
- package/dist/esm/article/components/ArticleAuthor.js +1 -0
- package/dist/esm/article/components/ArticleAuthor.liquid.js +3 -0
- package/dist/esm/article/components/ArticleCategory.js +1 -0
- package/dist/esm/article/components/ArticleCategory.liquid.js +3 -0
- package/dist/esm/article/components/ArticleContent.js +1 -0
- package/dist/esm/article/components/ArticleContent.liquid.js +3 -0
- package/dist/esm/article/components/ArticleDate.js +1 -0
- package/dist/esm/article/components/ArticleDate.liquid.js +3 -0
- package/dist/esm/article/components/ArticleExcerpt.js +1 -0
- package/dist/esm/article/components/ArticleExcerpt.liquid.js +3 -0
- package/dist/esm/article/components/ArticleImage.js +1 -0
- package/dist/esm/article/components/ArticleImage.liquid.js +5 -0
- package/dist/esm/article/components/ArticleList.js +1 -0
- package/dist/esm/article/components/ArticleList.liquid.js +7 -0
- package/dist/esm/article/components/ArticlePagination.js +1 -0
- package/dist/esm/article/components/ArticlePagination.liquid.js +1 -0
- package/dist/esm/article/components/ArticleReadMore.js +1 -0
- package/dist/esm/article/components/ArticleReadMore.liquid.js +6 -0
- package/dist/esm/article/components/ArticleTag.js +1 -0
- package/dist/esm/article/components/ArticleTag.liquid.js +3 -0
- package/dist/esm/article/components/ArticleTitle.js +1 -0
- package/dist/esm/article/components/ArticleTitle.liquid.js +9 -0
- package/dist/esm/article/next.js +1 -0
- package/dist/esm/article/setting/ArticleAuthor.js +9 -0
- package/dist/esm/article/setting/ArticleCategory.js +9 -0
- package/dist/esm/article/setting/ArticleContent.js +8 -0
- package/dist/esm/article/setting/ArticleDate.js +9 -0
- package/dist/esm/article/setting/ArticleExcerpt.js +8 -0
- package/dist/esm/article/setting/ArticleImage.js +13 -0
- package/dist/esm/article/setting/ArticleList.js +26 -0
- package/dist/esm/article/setting/ArticlePagination.js +12 -0
- package/dist/esm/article/setting/ArticleReadMore.js +10 -0
- package/dist/esm/article/setting/ArticleTag.js +10 -0
- package/dist/esm/article/setting/ArticleTitle.js +8 -0
- package/dist/esm/article/setting/index.js +1 -0
- package/dist/esm/builder.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.liquid.js +1 -1
- package/dist/esm/next.js +1 -1
- package/dist/esm/product/components/ProductBundleDiscount.js +1 -0
- package/dist/esm/product/components/ProductBundleDiscount.liquid.js +34 -0
- package/dist/esm/product/components/ProductBundleDiscountItem.js +1 -0
- package/dist/esm/product/components/ProductBundleDiscountItem.liquid.js +29 -0
- package/dist/esm/product/components/ProductPrice.js +1 -1
- package/dist/esm/product/components/ProductPrice.liquid.js +17 -15
- package/dist/esm/product/components/ProductTag.js +1 -1
- package/dist/esm/product/components/constants/product-bundle.js +1 -0
- package/dist/esm/product/next.js +1 -1
- package/dist/esm/product/setting/ProductBundleDiscount.js +39 -0
- package/dist/esm/product/setting/ProductBundleDiscountItem.js +1 -0
- package/dist/esm/product/setting/ProductPrice.js +1 -1
- package/dist/esm/product/setting/ProductTag.js +1 -1
- package/dist/esm/product/setting/index.js +1 -1
- package/dist/esm/product/setting/template.js +1 -0
- package/dist/types/index.d.ts +285 -49
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),react=require("react"),Text=require("../../text/components/Text.js");const ProductPrice=({setting:e,styles:r,style:t,builderAttrs:c,builderProps:o,children:
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),react=require("react"),Text=require("../../text/components/Text.js");const ProductPrice=({setting:e,styles:r,style:t,builderAttrs:c,builderProps:o,children:u})=>{let i=core.useEditorMode(),{quantity:s,hasUpdatePrice:a}=core.useQuantity(),n=core.useCurrentVariant(),p=core.useProduct(),l=n?.price??0,d=n?.salePrice??0,[m,y]=react.useState(!0),x=e?.deal,T=react.useMemo(()=>x?.quantity?x.quantity:a&&s||1,[s,a,x?.quantity]),g=react.useMemo(()=>{let e=parseInt(x?.discountValue);return x?.discountType==="percentage"?l*T*e/100:e},[x?.discountType,x?.discountValue,l,T]),h=react.useMemo(()=>x?.discountValue?l*T:d*T,[x?.discountValue,l,T,d]),f=react.useMemo(()=>r?.priceType==="compare"?h:g?l*T-g:l*T,[r?.priceType,l,T,g,h]);react.useEffect(()=>{core.isSafari()&&(y(!1),setTimeout(()=>{y(!0)},50))},[r?.thickness]);let j=core.useFormatMoney(f??0,e?.moneyWithCurrentFormat||!1);if("edit"!==i&&r?.priceType==="compare"&&!f)return null;let P=core.getGlobalColorClass("decoration",r?.lineColor),q=p?.baseID?.replace("gid://shopify/Product/","");return jsxRuntime.jsxs("div",{...c,className:core.cls(o?.uid),style:{...t},id:`shopify-text-element-${o?.uid}`,"data-product-id":q,children:[jsxRuntime.jsx(Text.default,{styles:r,setting:{text:j,excludeFlex:!0},className:core.cls({"gp-money":r?.priceType==="regular","gp-product-compare-price":r?.priceType==="compare","gp-hidden":r?.priceType==="compare"&&d===l,"gp-line-through":r?.priceType==="compare"&&r?.lineThrough&&m},P)}),u]})};exports.default=ProductPrice;
|
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),Text_liquid=require("../../text/components/Text.liquid.js");const ProductPrice=({setting:e,styles:r,builderProps:t,builderAttrs:c,style:i,advanced:
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),Text_liquid=require("../../text/components/Text.liquid.js");const ProductPrice=({setting:e,styles:r,builderProps:t,builderAttrs:c,style:i,advanced:a})=>{let o=core.getGlobalColorClass("decoration",r?.lineColor),p=r?.priceType==="compare",s=()=>`
|
|
2
|
+
{% if variant.compare_at_price %}
|
|
3
|
+
{{ variant.compare_at_price | ${e?.moneyWithCurrentFormat?"money_with_currency":"money"}}}
|
|
4
|
+
{% else %}
|
|
5
|
+
0
|
|
6
|
+
{% endif %}
|
|
7
|
+
`,n=()=>`
|
|
8
|
+
{% if variant.price %}
|
|
9
|
+
{{ variant.price | ${e?.moneyWithCurrentFormat?"money_with_currency":"money"}}}
|
|
10
|
+
{% endif %}
|
|
11
|
+
`,d=()=>{if(p){if(!e?.deal)return"{% if variant.compare_at_price > variant.price and variant.compare_at_price >= 0 %}false{% else %}true{% endif %}";parseInt(e?.deal?.discountValue)}return!1};return core.template`
|
|
2
12
|
<gp-product-price
|
|
3
|
-
gp-data='${core.dataStringify({priceType:r?.priceType,uid:t?.uid,locale:"{{shop.locale}}",currency:"{{shop.currency}}",moneyFormat:`{{ ${e?.moneyWithCurrentFormat?"shop.money_with_currency_format":"shop.money_format"} | replace: '"', '\\"' | escape }}`})}'
|
|
13
|
+
gp-data='${core.dataStringify({deal:e?.deal,priceType:r?.priceType,uid:t?.uid,locale:"{{shop.locale}}",currency:"{{shop.currency}}",moneyFormat:`{{ ${e?.moneyWithCurrentFormat?"shop.money_with_currency_format":"shop.money_format"} | replace: '"', '\\"' | escape }}`})}'
|
|
4
14
|
${{...c}}
|
|
5
|
-
class="${core.cls(t?.uid),
|
|
15
|
+
class="${core.cls(t?.uid),a?.cssClass} data-[hidden=true]:gp-hidden"
|
|
6
16
|
style="${{...i}}"
|
|
7
|
-
data-hidden="${
|
|
17
|
+
data-hidden="${d()}"
|
|
8
18
|
>
|
|
9
|
-
${Text_liquid.default({id:`p-price-${t?.uid}`,styles:{...r},setting:{text:`${p
|
|
10
|
-
{% if variant.compare_at_price %}
|
|
11
|
-
{{ variant.compare_at_price | ${e?.moneyWithCurrentFormat?"money_with_currency":"money"}}}
|
|
12
|
-
{% endif %}
|
|
13
|
-
`:`
|
|
14
|
-
{% if variant.price %}
|
|
15
|
-
{{ variant.price | ${e?.moneyWithCurrentFormat?"money_with_currency":"money"}}}
|
|
16
|
-
{% endif %}
|
|
17
|
-
`}`,excludeFlex:!0},className:core.cls("gp-price",{"gp-money":!p,"gp-product-compare-price":p,"gp-line-through":p&&r?.lineThrough},a)})}
|
|
19
|
+
${Text_liquid.default({id:`p-price-${t?.uid}`,styles:{...r},setting:{text:`${p?s():n()}`,excludeFlex:!0},className:core.cls("gp-price",{"gp-money":!p,"gp-product-compare-price":p,"gp-line-through":p&&r?.lineThrough},o)})}
|
|
18
20
|
</gp-product-price>
|
|
19
21
|
${core.RenderIf(core.isLocalEnv,'<script src="{{ \'gp-product-price.js\' | asset_url }}" defer="defer"></script>',`<script src="${core.baseAssetURL}/assets-v2/gp-product-price.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
|
|
20
22
|
`};exports.default=ProductPrice;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),react=require("react"),Text=require("../../text/components/Text.js");const ProductTag=({setting:e,styles:t,builderProps:r})=>{let{customContent:s}=e??{},{textAlign:
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),react=require("react"),Text=require("../../text/components/Text.js"),productBundle=require("./constants/product-bundle.js");const ProductTag=({setting:e,styles:t,builderProps:r})=>{let{customContent:s,deal:u}=e??{},{textAlign:o,backgroundColor:i,roundedTag:n,borderTag:c,textColor:a}=t??{},l=core.useEditorMode(),d=core.useProduct(),p=core.useCurrentVariant(),{quantity:x}=core.useQuantity(),g=react.useMemo(()=>u?.quantity?u.quantity:x,[x,u?.quantity]),m=p?.price??0,y=p?.salePrice??0,f=y-m,j=core.useFormatMoney(f<0?0:f,e?.moneyWithCurrentFormat||!1),b=react.useMemo(()=>{if(!y||!m)return`${s?.unit==="percentage"?"0%":j}`;if(s?.unit==="percentage"){let e=Math.round(f/(y/100));return`${e<0?0:e}%`}return`${j}`},[s?.unit,j,m,f,y]),T=react.useMemo(()=>{let e=parseInt(u?.discountValue);return u?.discountType===productBundle.DiscountType.Percentage?m*g*e/100:u?.discountType===productBundle.DiscountType.FixedAmount?e:0},[u?.discountType,u?.discountValue,m,g]),h=react.useMemo(()=>{if(!u)return b;if(u?.discountType===productBundle.DiscountType.NoDiscount)return 0;if(s?.unit==="percentage"){let e=Math.round(T/(g*m)*100);return`${e<0?0:e}%`}return Math.round(100*T)/100},[u,s?.unit,T,b,g,m]),M=core.getGlobalColorClass("border",c?.color),C=core.getGlobalColorClass("text",a),R=core.getGlobalColorClass("bg",i);function S(e){return"none"===e?"gp-g-s-none":`gp-g-s-tag-${e}`}let q=d?.baseID?.replace("gid://shopify/Product/","");return jsxRuntime.jsx("div",{className:core.cls({"gp-opacity-0 ":"edit"!==l&&(y<=0||0>=Math.ceil(f/(y/100))),"gp-opacity-20 ":"edit"===l&&(y<=0||0>=Math.ceil(f/(y/100)))}),style:{...core.makeStyleResponsive("ta",o)},id:`shopify-text-element-${r?.uid}`,"data-product-id":q,children:d?jsxRuntime.jsx("div",{className:core.cls("gp-inline-flex gp-flex-wrap gp-items-end gp-gap-3"),style:{},children:jsxRuntime.jsx("div",{className:core.cls("gp-inline-block",M,C,R,t?.tagSpacing?.type?S(t?.tagSpacing?.type):""),style:{...core.makeStyle({bs:c?.border,bw:c?.width,bc:""===M?c?.color:void 0,c:""===C?a:void 0,bg:""===R?i:void 0}),...n?.radiusType!=="custom"?core.getRadiusCSSFromGlobal("normal",n?.radiusType):{},...core.getCustomRadius("normal",n),...t?.tagSpacing?.type?{}:core.composeSize(t?.tagSpacing?.custom)},children:jsxRuntime.jsxs("div",{className:"gp-flex gp-break-all",children:[jsxRuntime.jsx(Text.default,{styles:t,setting:{...e,text:s?.prefix?.replaceAll(" "," "),options:{useState:!0,uniqueId:`${r?.uid}-prefix`},excludeFlex:!0}}),jsxRuntime.jsx(Text.default,{styles:t,setting:{...e,text:h,options:{isCannotEditing:!0},excludeFlex:!0}}),jsxRuntime.jsx(Text.default,{styles:t,setting:{...e,text:s?.suffix?.replaceAll(" "," "),excludeFlex:!0,options:{useState:!0,uniqueId:`${r?.uid}-suffix`}}})]})})}):null})};exports.default=ProductTag;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.DiscountType=void 0,function(e){e.Percentage="percentage",e.FixedAmount="fixed_amount",e.NoDiscount="no_discount"}(exports.DiscountType||(exports.DiscountType={}));
|
package/dist/cjs/product/next.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var dynamic=require("next/dynamic"),Loading=require("../common/components/Loading.js");require("react/jsx-runtime");const Product=dynamic(()=>Promise.resolve().then(function(){return require("./components/Product.js")}),{loading:Loading.default}),ProductTitle=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductTitle.js")}),{loading:Loading.default}),ProductQuantity=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductQuantity.js")}),{loading:Loading.default}),ProductDescription=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductDescription.js")}),{ssr:!1,loading:Loading.default}),ProductPrice=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductPrice.js")}),{loading:Loading.default}),ProductButton=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductButton.js")}),{ssr:!1,loading:Loading.default}),ProductVariants=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductVariants/index.js")}),{loading:Loading.default}),ProductImages=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductImages.js")}),{loading:Loading.default}),ProductImagesV2=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductImagesV2/jsx/ProductImages.js")}),{loading:Loading.default}),ProductProperties=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductProperties.js")}),{loading:Loading.default}),ProductQuickView=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductQuickView/index.js")}),{ssr:!1}),ProductTag=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductTag.js")}),{loading:Loading.default}),ProductList=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductList.js")}),{loading:Loading.default}),DynamicCheckout=dynamic(()=>Promise.resolve().then(function(){return require("./components/DynamicCheckout.js")}),{loading:Loading.default}),Vendor=dynamic(()=>Promise.resolve().then(function(){return require("./components/Vendor.js")}),{loading:Loading.default}),ProductViewMore=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductViewMore.js")}),{loading:Loading.default});var product={Product,ProductTitle,ProductQuantity,ProductPrice,ProductButton,ProductDescription,ProductVariants,ProductImages,ProductImagesV2,ProductProperties,ProductQuickView,ProductTag,ProductList,DynamicCheckout,Vendor,ProductViewMore};exports.default=product;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var dynamic=require("next/dynamic"),Loading=require("../common/components/Loading.js");require("react/jsx-runtime");const Product=dynamic(()=>Promise.resolve().then(function(){return require("./components/Product.js")}),{loading:Loading.default}),ProductTitle=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductTitle.js")}),{loading:Loading.default}),ProductQuantity=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductQuantity.js")}),{loading:Loading.default}),ProductDescription=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductDescription.js")}),{ssr:!1,loading:Loading.default}),ProductPrice=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductPrice.js")}),{loading:Loading.default}),ProductButton=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductButton.js")}),{ssr:!1,loading:Loading.default}),ProductVariants=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductVariants/index.js")}),{loading:Loading.default}),ProductImages=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductImages.js")}),{loading:Loading.default}),ProductImagesV2=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductImagesV2/jsx/ProductImages.js")}),{loading:Loading.default}),ProductProperties=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductProperties.js")}),{loading:Loading.default}),ProductQuickView=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductQuickView/index.js")}),{ssr:!1}),ProductTag=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductTag.js")}),{loading:Loading.default}),ProductList=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductList.js")}),{loading:Loading.default}),DynamicCheckout=dynamic(()=>Promise.resolve().then(function(){return require("./components/DynamicCheckout.js")}),{loading:Loading.default}),Vendor=dynamic(()=>Promise.resolve().then(function(){return require("./components/Vendor.js")}),{loading:Loading.default}),ProductViewMore=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductViewMore.js")}),{loading:Loading.default}),ProductBundleDiscount=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductBundleDiscount.js")}),{loading:Loading.default}),ProductBundleDiscountItem=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductBundleDiscountItem.js")}),{loading:Loading.default});var product={Product,ProductTitle,ProductQuantity,ProductPrice,ProductButton,ProductDescription,ProductVariants,ProductImages,ProductImagesV2,ProductProperties,ProductQuickView,ProductTag,ProductList,DynamicCheckout,ProductBundleDiscount,ProductBundleDiscountItem,Vendor,ProductViewMore};exports.default=product;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var template=require("./template.js");const config={tag:"ProductBundleDiscount",label:"Product Bundle Discount",icon:`
|
|
2
|
+
<svg width="94" height="48" viewBox="0 0 94 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M0 3C0 1.34315 1.34315 0 3 0H91C92.6569 0 94 1.34315 94 3V19C94 20.6569 92.6569 22 91 22H3C1.34315 22 0 20.6569 0 19V3Z" fill="#424242"/>
|
|
4
|
+
<rect x="8" y="9" width="12" height="4" rx="2" fill="#757575"/>
|
|
5
|
+
<rect x="24" y="9" width="48" height="4" rx="2" fill="#757575"/>
|
|
6
|
+
<path d="M86.8907 6.92383H80.3014C79.7501 6.92383 79.3872 7.4987 79.6243 7.99641L80.861 10.5921C80.9854 10.8532 81.2488 11.0195 81.538 11.0195H85.4624C85.7359 11.0195 85.9877 10.8707 86.1195 10.6311L87.5478 8.03539C87.8228 7.53555 87.4612 6.92383 86.8907 6.92383Z" stroke="#F9F9F9" stroke-width="0.75"/>
|
|
7
|
+
<path d="M78.2291 6.06836C78.022 6.06836 77.8541 6.23625 77.8541 6.44336C77.8541 6.65047 78.022 6.81836 78.2291 6.81836V6.06836ZM79.0759 6.8674L78.7382 7.03038L79.0759 6.8674ZM78.2291 6.81836H78.4005V6.06836H78.2291V6.81836ZM78.7382 7.03038L79.4647 8.53579L80.1401 8.20983L79.4137 6.70442L78.7382 7.03038ZM78.4005 6.81836C78.5444 6.81836 78.6756 6.90075 78.7382 7.03038L79.4137 6.70442C79.226 6.31552 78.8323 6.06836 78.4005 6.06836V6.81836Z" fill="#F9F9F9"/>
|
|
8
|
+
<path d="M80.9773 10.8857L80.0912 12.2642C79.9307 12.5138 80.1099 12.842 80.4066 12.842H86.6284" stroke="#F9F9F9" stroke-width="0.75" stroke-linecap="round"/>
|
|
9
|
+
<ellipse cx="80.8485" cy="15.1268" rx="1.12878" ry="1.12878" fill="#F9F9F9"/>
|
|
10
|
+
<ellipse cx="86.0165" cy="15.1268" rx="1.12878" ry="1.12878" fill="#F9F9F9"/>
|
|
11
|
+
<path d="M0 29C0 27.3431 1.34315 26 3 26H91C92.6569 26 94 27.3431 94 29V45C94 46.6569 92.6569 48 91 48H3C1.34315 48 0 46.6569 0 45V29Z" fill="#424242"/>
|
|
12
|
+
<rect x="8" y="35" width="12" height="4" rx="2" fill="#757575"/>
|
|
13
|
+
<rect x="24" y="35" width="48" height="4" rx="2" fill="#757575"/>
|
|
14
|
+
<path d="M86.8907 32.9238H80.3014C79.7501 32.9238 79.3872 33.4987 79.6243 33.9964L80.861 36.5921C80.9854 36.8532 81.2488 37.0195 81.538 37.0195H85.4624C85.7359 37.0195 85.9877 36.8707 86.1195 36.6311L87.5478 34.0354C87.8228 33.5355 87.4612 32.9238 86.8907 32.9238Z" stroke="#F9F9F9" stroke-width="0.75"/>
|
|
15
|
+
<path d="M78.2291 32.0684C78.022 32.0684 77.8541 32.2363 77.8541 32.4434C77.8541 32.6505 78.022 32.8184 78.2291 32.8184V32.0684ZM79.0759 32.8674L78.7382 33.0304L79.0759 32.8674ZM78.2291 32.8184H78.4005V32.0684H78.2291V32.8184ZM78.7382 33.0304L79.4647 34.5358L80.1401 34.2098L79.4137 32.7044L78.7382 33.0304ZM78.4005 32.8184C78.5444 32.8184 78.6756 32.9007 78.7382 33.0304L79.4137 32.7044C79.226 32.3155 78.8323 32.0684 78.4005 32.0684V32.8184Z" fill="#F9F9F9"/>
|
|
16
|
+
<path d="M80.9773 36.8857L80.0912 38.2642C79.9307 38.5138 80.1099 38.842 80.4066 38.842H86.6284" stroke="#F9F9F9" stroke-width="0.75" stroke-linecap="round"/>
|
|
17
|
+
<ellipse cx="80.8485" cy="41.1268" rx="1.12878" ry="1.12878" fill="#F9F9F9"/>
|
|
18
|
+
<ellipse cx="86.0165" cy="41.1268" rx="1.12878" ry="1.12878" fill="#F9F9F9"/>
|
|
19
|
+
</svg>
|
|
20
|
+
`,settings:[{id:"setting",controls:[{id:"childItem",label:"Item management",type:"product-bundle-child-item",default:[],childTemplate:template.itemControlTemplate},{id:"hideNoDiscountItem",type:"toggle",default:!1},{id:"hasPreSelectItem",type:"toggle",default:!0},{id:"selectItemDefault",type:"select-product-bundle",hide:!0,default:0},{id:"layout",label:"Layout",type:"layout-segment",iconViewBox:"0 0 78 52",enableItemBackground:!0,enableTooltip:!0,default:"vertical-layout",options:[{label:"Vertical layout",value:"vertical-layout",type:"product-bundle"},{label:"Horizontal layout",value:"horizontal-layout",type:"product-bundle"}]},{id:"enableIcon",type:"toggle",default:!0},{id:"iconPosition",type:"layout-segment",iconViewBox:"0 0 66 48",enableItemBackground:!0,enableTooltip:!0,label:"Position",default:"center",options:[{label:"Align center",value:"center",type:"align-pos"},{label:"Align top",value:"baseline",type:"align-pos"}]},{id:"iconSize",type:"input:number",devices:{desktop:{default:24},tablet:{default:24},mobile:{default:24}},min:0},{id:"iconSpacing",type:"dropdown:input",hideUnit:!1,inputType:"number",default:"12px",displayOptions:[{label:"Small",value:"8px",showValue:!0},{label:"Medium",value:"16px",showValue:!0},{label:"Large",value:"24px",showValue:!0}]}]},{id:"style",controls:[{id:"size",type:"size-setting",devices:{desktop:{default:{padding:{type:"medium",top:"8px",left:"24px",bottom:"8px",right:"24px"},gap:"12px",width:"100%"}}},settingConfig:{width:{name:"Width",displayOptions:["full","default"]},gap:{name:"Item gap",displayOptions:["small","medium","large"],sizeConfig:{small:"8px",medium:"16px",large:"24px"}},padding:{name:"Padding",paddingConfig:{small:{vertical:"4px",horizontal:"16px"},medium:{vertical:"8px",horizontal:"24px"},large:{vertical:"12px",horizontal:"32px"}}}},hiddenSettings:["shape","height"],hiddenShowMore:!0},{id:"behavior-state",type:"behavior-state",controls:[{id:"borderBundle",type:"border",label:"Border",default:{normal:{borderBundle:"solid",borderWidth:"1px",width:"1px 1px 1px 1px",color:"#7D7D7D",isCustom:!1},hover:{borderBundle:"solid",borderWidth:"1px",width:"1px 1px 1px 1px",color:"#7D7D7D",isCustom:!1},active:{borderBundle:"solid",borderWidth:"2px",width:"1px 1px 1px 1px",color:"#000000",isCustom:!1}},state:{hover:!0,normal:!0}},{id:"iconColor",type:"colorpicker",label:"Icon",default:{normal:"#000000",hover:"highlight"},state:{hover:!0,normal:!0,active:!0}},{id:"backgroundColor",type:"background-color-picker",label:"Background",default:{normal:"#FFFFFF"},state:{hover:!0,normal:!0,active:!0}},{id:"hasBoxShadowBundle",type:"toggle",label:"Enable Button Shadow",default:{normal:!1,hover:!1,active:!1},state:{normal:!0,hover:!0,active:!0}},{id:"boxShadowBundle",type:"boxShadow",hideOnState:{normal:!0,hover:!0,active:!0},default:{normal:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"rgba(0, 0, 0, 0.20)",angle:90}},state:{normal:!0,hover:!0,active:!0}},{id:"roundedBundle",type:"radius-preset",label:"Border Radius",default:{normal:{radiusType:"none"}},state:{hover:!0,normal:!0,active:!0}}]},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],default:"left"}]}],ui:[{type:"group",label:{en:"Item management"},controls:[{type:"control",layout:"vertical",setting:{id:"childItem"}}]},{type:"control",label:{en:"Hide no-discount items"},setting:{id:"hideNoDiscountItem"}},{type:"group",label:{en:""},controls:[{type:"control",label:{en:"Pre-selected item"},setting:{id:"hasPreSelectItem"},options:{label:"large",styleControl:{width:"auto"}}},{type:"control",condition:"hasPreSelectItem == true",layout:"vertical",setting:{id:"selectItemDefault"},options:{styleControl:{"max-width":"100%"}}}]},{type:"group",label:{en:"Layout"},controls:[{type:"control",setting:{id:"layout"}}]},{type:"group",controls:[{type:"control",label:{en:"Icon"},options:{label:"large"},setting:{id:"enableIcon"}},{type:"control",condition:"enableIcon == true",label:{en:"Icon position"},setting:{id:"iconPosition"}},{type:"control",condition:"enableIcon == true",label:{en:"Icon size"},setting:{id:"iconSize"}},{type:"control",condition:"enableIcon == true",label:{en:"Icon spacing"},setting:{id:"iconSpacing"}}]},{label:{en:"Size"},type:"group",controls:[{type:"control",setting:{id:"size"},options:{noGap:!0}}]},{type:"group",label:{en:"Item states"},options:{labelSpacing:"small"},controls:[{type:"tab",controls:[{type:"group",label:{en:"Default"},controls:[{type:"control",label:{en:"Icon"},setting:{id:"iconColor",state:"normal"}},{type:"control",label:{en:"Background"},setting:{id:"backgroundColor",state:"normal"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"borderBundle",state:"normal"}},{type:"control",label:{en:"Corner"},setting:{id:"roundedBundle",state:"normal"}},{type:"control",label:{en:"Shadow"},setting:{id:"hasBoxShadowBundle",state:"normal"}},{type:"group",condition:"hasBoxShadowBundle.normal == true",controls:[{type:"control",layout:"vertical",setting:{id:"boxShadowBundle",state:"normal"}}]}]},{type:"group",label:{en:"Hover"},controls:[{type:"control",label:{en:"Icon"},setting:{id:"iconColor",state:"hover"}},{type:"control",label:{en:"Background"},setting:{id:"backgroundColor",state:"hover"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"borderBundle",state:"hover"}},{type:"control",label:{en:"Corner"},setting:{id:"roundedBundle",state:"hover"}},{type:"control",label:{en:"Shadow"},setting:{id:"hasBoxShadowBundle",state:"hover"}},{type:"group",condition:"hasBoxShadowBundle.hover == true",controls:[{type:"control",setting:{id:"boxShadowBundle",state:"hover"},layout:"vertical"}]}]},{type:"group",label:{en:"Active"},controls:[{type:"control",label:{en:"Icon"},setting:{id:"iconColor",state:"active"}},{type:"control",label:{en:"Background"},setting:{id:"backgroundColor",state:"active"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"borderBundle",state:"active"}},{type:"control",label:{en:"Corner"},setting:{id:"roundedBundle",state:"active"}},{type:"control",label:{en:"Shadow"},setting:{id:"hasBoxShadowBundle",state:"active"}},{type:"group",condition:"hasBoxShadowBundle.active == true",controls:[{type:"control",setting:{id:"boxShadowBundle",state:"active"},layout:"vertical"}]}]}]}]},{type:"control",label:{en:"Align"},options:{label:"large"},setting:{id:"align"}}],editorConfigs:{placeholder:{flowTag:["Product"]}},presets:[{id:"product-bundle-discount",name:{en:"Product Bundle Discount"},icon:{desktop:`
|
|
21
|
+
<svg width="94" height="48" viewBox="0 0 94 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
22
|
+
<path d="M0 3C0 1.34315 1.34315 0 3 0H91C92.6569 0 94 1.34315 94 3V19C94 20.6569 92.6569 22 91 22H3C1.34315 22 0 20.6569 0 19V3Z" fill="#424242"/>
|
|
23
|
+
<rect x="8" y="9" width="12" height="4" rx="2" fill="#757575"/>
|
|
24
|
+
<rect x="24" y="9" width="48" height="4" rx="2" fill="#757575"/>
|
|
25
|
+
<path d="M86.8907 6.92383H80.3014C79.7501 6.92383 79.3872 7.4987 79.6243 7.99641L80.861 10.5921C80.9854 10.8532 81.2488 11.0195 81.538 11.0195H85.4624C85.7359 11.0195 85.9877 10.8707 86.1195 10.6311L87.5478 8.03539C87.8228 7.53555 87.4612 6.92383 86.8907 6.92383Z" stroke="#F9F9F9" stroke-width="0.75"/>
|
|
26
|
+
<path d="M78.2291 6.06836C78.022 6.06836 77.8541 6.23625 77.8541 6.44336C77.8541 6.65047 78.022 6.81836 78.2291 6.81836V6.06836ZM79.0759 6.8674L78.7382 7.03038L79.0759 6.8674ZM78.2291 6.81836H78.4005V6.06836H78.2291V6.81836ZM78.7382 7.03038L79.4647 8.53579L80.1401 8.20983L79.4137 6.70442L78.7382 7.03038ZM78.4005 6.81836C78.5444 6.81836 78.6756 6.90075 78.7382 7.03038L79.4137 6.70442C79.226 6.31552 78.8323 6.06836 78.4005 6.06836V6.81836Z" fill="#F9F9F9"/>
|
|
27
|
+
<path d="M80.9773 10.8857L80.0912 12.2642C79.9307 12.5138 80.1099 12.842 80.4066 12.842H86.6284" stroke="#F9F9F9" stroke-width="0.75" stroke-linecap="round"/>
|
|
28
|
+
<ellipse cx="80.8485" cy="15.1268" rx="1.12878" ry="1.12878" fill="#F9F9F9"/>
|
|
29
|
+
<ellipse cx="86.0165" cy="15.1268" rx="1.12878" ry="1.12878" fill="#F9F9F9"/>
|
|
30
|
+
<path d="M0 29C0 27.3431 1.34315 26 3 26H91C92.6569 26 94 27.3431 94 29V45C94 46.6569 92.6569 48 91 48H3C1.34315 48 0 46.6569 0 45V29Z" fill="#424242"/>
|
|
31
|
+
<rect x="8" y="35" width="12" height="4" rx="2" fill="#757575"/>
|
|
32
|
+
<rect x="24" y="35" width="48" height="4" rx="2" fill="#757575"/>
|
|
33
|
+
<path d="M86.8907 32.9238H80.3014C79.7501 32.9238 79.3872 33.4987 79.6243 33.9964L80.861 36.5921C80.9854 36.8532 81.2488 37.0195 81.538 37.0195H85.4624C85.7359 37.0195 85.9877 36.8707 86.1195 36.6311L87.5478 34.0354C87.8228 33.5355 87.4612 32.9238 86.8907 32.9238Z" stroke="#F9F9F9" stroke-width="0.75"/>
|
|
34
|
+
<path d="M78.2291 32.0684C78.022 32.0684 77.8541 32.2363 77.8541 32.4434C77.8541 32.6505 78.022 32.8184 78.2291 32.8184V32.0684ZM79.0759 32.8674L78.7382 33.0304L79.0759 32.8674ZM78.2291 32.8184H78.4005V32.0684H78.2291V32.8184ZM78.7382 33.0304L79.4647 34.5358L80.1401 34.2098L79.4137 32.7044L78.7382 33.0304ZM78.4005 32.8184C78.5444 32.8184 78.6756 32.9007 78.7382 33.0304L79.4137 32.7044C79.226 32.3155 78.8323 32.0684 78.4005 32.0684V32.8184Z" fill="#F9F9F9"/>
|
|
35
|
+
<path d="M80.9773 36.8857L80.0912 38.2642C79.9307 38.5138 80.1099 38.842 80.4066 38.842H86.6284" stroke="#F9F9F9" stroke-width="0.75" stroke-linecap="round"/>
|
|
36
|
+
<ellipse cx="80.8485" cy="41.1268" rx="1.12878" ry="1.12878" fill="#F9F9F9"/>
|
|
37
|
+
<ellipse cx="86.0165" cy="41.1268" rx="1.12878" ry="1.12878" fill="#F9F9F9"/>
|
|
38
|
+
</svg>
|
|
39
|
+
`},components:[{tag:"ProductBundleDiscount",settings:{childItem:[]},childrens:[]}]}]};exports.default=config;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const config={tag:"ProductBundleDiscountItem",label:"Product Quantity Break Item",settings:[],editorConfigs:{component:{noSetting:!0,noDelete:!0,noDuplicate:!0,noDragDrop:!0},slots:{children:!0},sideBar:{hide:!0},toolbar:{hide:!0},placeholder:{flowTag:["ProductBundleDiscount"],notAppendBeforeAfter:!0,notAppendLeftRight:!0}}};exports.default=config;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path d="M36.1267 28.2963H24.6981V25.926C25.9679 25.6889 27.7457 24.6223 27.7457 22.2519C27.7457 21.0667 27.3648 20.2371 26.7298 19.6445C25.8409 18.8149 24.8251 18.8149 24.6981 18.8149H22.1584C22.1584 18.8149 21.9044 18.8149 21.7775 18.6963C21.5235 18.4593 21.5235 18.1037 21.5235 17.7482C21.5235 16.8 22.0314 16.563 22.4124 16.4445H26.8648C27.1409 16.4445 27.3648 16.2206 27.3648 15.9445V14.5741C27.3648 14.298 27.1409 14.0741 26.8648 14.0741H24.8251V11.7037H36.2536V28.2963H36.1267ZM13.7775 28.2963L4.88856 20L13.7775 11.7037H22.1584V14.0741C20.8886 14.1926 18.8568 15.2593 18.8568 17.7482C18.8568 19.0519 19.3648 19.8815 19.8727 20.3556C20.7616 21.1852 22.0314 21.1852 22.1584 21.1852H24.6981C25.206 21.1852 25.206 21.8963 25.206 22.2519C25.206 23.2 24.6981 23.4371 24.3171 23.5556H20.1187C19.8426 23.5556 19.6187 23.7795 19.6187 24.0556V25.426C19.6187 25.7021 19.8426 25.926 20.1187 25.926H22.1584V28.2963H13.7775ZM12.9587 9.33337C12.832 9.33337 12.7101 9.38143 12.6175 9.46785L1.72465 19.6345C1.51286 19.8322 1.51286 20.1679 1.72464 20.3656L12.6175 30.5322C12.7101 30.6186 12.832 30.6667 12.9587 30.6667H38.1663C38.4425 30.6667 38.6663 30.4428 38.6663 30.1667V9.83337C38.6663 9.55723 38.4425 9.33337 38.1663 9.33337H12.9587Z" fill="currentColor"/>
|
|
4
4
|
</svg>
|
|
5
|
-
`,settings:[{id:"setting",controls:[{id:"moneyWithCurrentFormat",type:"toggle"}]},{id:"style",controls:[{id:"priceType",type:"segment",options:[{label:"Original",value:"regular"},{label:"Compare",value:"compare"}],default:"regular"},{id:"lineThrough",type:"toggle",default:!0},{id:"thickness",type:"range",min:1,max:10,default:1,step:1,units:["px"]},{id:"lineColor",type:"colorpicker",default:"text-1"},{id:"color",type:"colorpicker",default:{normal:"text-2"},state:{normal:!0,hover:!0}},{id:"hasTextShadow",type:"toggle",default:{normal:!1},state:{normal:!0,hover:!0}},{id:"textShadow",type:"textShadow",hideOnState:{normal:!0,hover:!0},default:{normal:{type:"shadow-1"}},state:{normal:!0,hover:!0}},{id:"textAlign",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left"},{label:"Center",value:"center",type:"align",tooltip:"Align center"},{label:"Right",value:"right",type:"align",tooltip:"Align right"}],devices:{desktop:{default:"left"}}},{id:"typo",type:"typography-v2",default:{type:"subheading-2"},ignoreReRender:!0,hiddenSetting:{color:!0}}]}],ui:[{type:"control",label:{en:"Type"},setting:{id:"priceType"}},{type:"control",label:{en:"Text"},setting:{id:"typo"},options:{label:"large"},layout:"vertical"},{type:"group",label:{en:"States"},options:{labelSpacing:"small"},controls:[{type:"tab",controls:[{type:"group",label:{en:"Normal"},controls:[{type:"control",label:{en:"Text color"},setting:{id:"color",state:"normal"}}]},{type:"group",label:{en:"Hover"},controls:[{type:"control",label:{en:"Text color"},setting:{id:"color",state:"hover"}}]}]}]},{type:"group",label:{en:""},condition:"priceType == 'compare'",controls:[{type:"control",label:{en:"Line through"},options:{label:"large"},setting:{id:"lineThrough"}},{type:"control",label:{en:"Thickness"},condition:"lineThrough == true",setting:{id:"thickness"}},{type:"control",condition:"lineThrough == true",label:{en:"Line color"},setting:{id:"lineColor"}}]},{type:"control",label:{en:"Align"},setting:{id:"textAlign"}}],editorConfigs:{placeholder:{flowTag:["Product"]}},presets:[{id:"product-price",name:{en:"Product Price"},icon:{desktop:`
|
|
5
|
+
`,settings:[{id:"setting",controls:[{id:"moneyWithCurrentFormat",type:"toggle"},{id:"deal",type:"deal"}]},{id:"style",controls:[{id:"priceType",type:"segment",options:[{label:"Original",value:"regular"},{label:"Compare",value:"compare"}],default:"regular"},{id:"lineThrough",type:"toggle",default:!0},{id:"thickness",type:"range",min:1,max:10,default:1,step:1,units:["px"]},{id:"lineColor",type:"colorpicker",default:"text-1"},{id:"color",type:"colorpicker",default:{normal:"text-2"},state:{normal:!0,hover:!0}},{id:"hasTextShadow",type:"toggle",default:{normal:!1},state:{normal:!0,hover:!0}},{id:"textShadow",type:"textShadow",hideOnState:{normal:!0,hover:!0},default:{normal:{type:"shadow-1"}},state:{normal:!0,hover:!0}},{id:"textAlign",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left"},{label:"Center",value:"center",type:"align",tooltip:"Align center"},{label:"Right",value:"right",type:"align",tooltip:"Align right"}],devices:{desktop:{default:"left"}}},{id:"typo",type:"typography-v2",default:{type:"subheading-2"},ignoreReRender:!0,hiddenSetting:{color:!0}}]}],ui:[{type:"control",label:{en:"Type"},setting:{id:"priceType"}},{type:"control",label:{en:"Text"},setting:{id:"typo"},options:{label:"large"},layout:"vertical"},{type:"group",label:{en:"States"},options:{labelSpacing:"small"},controls:[{type:"tab",controls:[{type:"group",label:{en:"Normal"},controls:[{type:"control",label:{en:"Text color"},setting:{id:"color",state:"normal"}}]},{type:"group",label:{en:"Hover"},controls:[{type:"control",label:{en:"Text color"},setting:{id:"color",state:"hover"}}]}]}]},{type:"group",label:{en:""},condition:"priceType == 'compare'",controls:[{type:"control",label:{en:"Line through"},options:{label:"large"},setting:{id:"lineThrough"}},{type:"control",label:{en:"Thickness"},condition:"lineThrough == true",setting:{id:"thickness"}},{type:"control",condition:"lineThrough == true",label:{en:"Line color"},setting:{id:"lineColor"}}]},{type:"control",label:{en:"Align"},setting:{id:"textAlign"}}],editorConfigs:{placeholder:{flowTag:["Product"]}},presets:[{id:"product-price",name:{en:"Product Price"},icon:{desktop:`
|
|
6
6
|
<svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
7
7
|
<path d="M29.2211 30.2727V17.5455H30.0364V30.2727H29.2211ZM31.7715 21.4929C31.7185 21.0223 31.4997 20.6577 31.1152 20.3991C30.7308 20.1373 30.2469 20.0064 29.6635 20.0064C29.2459 20.0064 28.8846 20.0727 28.5797 20.2053C28.2748 20.3345 28.0378 20.5135 27.8688 20.7422C27.7031 20.9676 27.6202 21.2244 27.6202 21.5128C27.6202 21.7547 27.6766 21.9635 27.7892 22.1392C27.9052 22.3149 28.056 22.4624 28.2417 22.5817C28.4306 22.6977 28.6328 22.7955 28.8482 22.875C29.0636 22.9512 29.2708 23.0142 29.4696 23.0639L30.464 23.3224C30.7888 23.402 31.1219 23.5097 31.4632 23.6456C31.8046 23.7815 32.1212 23.9605 32.4128 24.1825C32.7045 24.4046 32.9398 24.6797 33.1188 25.0078C33.3011 25.3359 33.3922 25.7287 33.3922 26.1861C33.3922 26.7628 33.2431 27.2749 32.9448 27.7223C32.6498 28.1697 32.2206 28.5227 31.6571 28.7812C31.097 29.0398 30.4192 29.169 29.6238 29.169C28.8614 29.169 28.2019 29.0481 27.6451 28.8061C27.0882 28.5642 26.6524 28.2211 26.3375 27.777C26.0227 27.3295 25.8487 26.7992 25.8155 26.1861H27.3567C27.3865 26.554 27.5059 26.8606 27.7147 27.1058C27.9268 27.3478 28.1969 27.5284 28.525 27.6477C28.8565 27.7637 29.2194 27.8217 29.6138 27.8217C30.048 27.8217 30.4341 27.7538 30.7722 27.6179C31.1136 27.4787 31.382 27.2865 31.5776 27.0412C31.7731 26.7926 31.8709 26.5026 31.8709 26.1712C31.8709 25.8696 31.7847 25.6226 31.6124 25.4304C31.4434 25.2382 31.213 25.0791 30.9213 24.9531C30.633 24.8272 30.3065 24.7161 29.9419 24.62L28.7388 24.2919C27.9235 24.0698 27.2772 23.7434 26.7999 23.3125C26.3259 22.8816 26.089 22.3116 26.089 21.6023C26.089 21.0156 26.248 20.5036 26.5662 20.0661C26.8844 19.6286 27.3153 19.2888 27.8588 19.0469C28.4024 18.8016 29.0156 18.679 29.6983 18.679C30.3877 18.679 30.9959 18.8 31.5229 19.0419C32.0532 19.2839 32.4708 19.617 32.7757 20.0412C33.0807 20.4621 33.2398 20.946 33.253 21.4929H31.7715ZM38.9517 18.8182V29H37.4105V20.3594H37.3509L34.9148 21.9503V20.4787L37.4553 18.8182H38.9517ZM45.0916 18.679C45.5457 18.6823 45.9931 18.7652 46.4339 18.9276C46.8748 19.09 47.2725 19.3551 47.6271 19.723C47.9851 20.0909 48.2701 20.5881 48.4822 21.2145C48.6977 21.8376 48.8071 22.6132 48.8104 23.5412C48.8104 24.4328 48.7209 25.2266 48.5419 25.9226C48.3629 26.6153 48.1061 27.2003 47.7713 27.6776C47.4399 28.1548 47.0372 28.5178 46.5632 28.7663C46.0893 29.0149 45.5556 29.1392 44.9624 29.1392C44.3558 29.1392 43.8172 29.0199 43.3466 28.7812C42.8759 28.5426 42.4931 28.2128 42.1982 27.7919C41.9032 27.3677 41.7192 26.8804 41.6463 26.3303H43.1626C43.2621 26.7678 43.4643 27.1224 43.7692 27.3942C44.0774 27.6626 44.4751 27.7969 44.9624 27.7969C45.7081 27.7969 46.2898 27.4721 46.7074 26.8224C47.125 26.1695 47.3355 25.258 47.3388 24.0881H47.2592C47.0869 24.3731 46.8714 24.6184 46.6129 24.8239C46.3577 25.0294 46.071 25.1884 45.7528 25.3011C45.4347 25.4138 45.0949 25.4702 44.7337 25.4702C44.147 25.4702 43.6134 25.326 43.1328 25.0376C42.6522 24.7493 42.2694 24.3532 41.9844 23.8494C41.6993 23.3456 41.5568 22.7706 41.5568 22.1243C41.5568 21.4813 41.7027 20.898 41.9943 20.3743C42.2893 19.8506 42.7003 19.4363 43.2273 19.1314C43.7576 18.8232 44.379 18.6723 45.0916 18.679ZM45.0966 19.9716C44.7088 19.9716 44.3591 20.0677 44.0476 20.2599C43.7393 20.4489 43.4957 20.7057 43.3168 21.0305C43.1378 21.352 43.0483 21.71 43.0483 22.1044C43.0483 22.4988 43.1345 22.8568 43.3068 23.1783C43.4825 23.4964 43.7211 23.75 44.0227 23.9389C44.3277 24.1245 44.6757 24.2173 45.0668 24.2173C45.3584 24.2173 45.6302 24.161 45.8821 24.0483C46.134 23.9356 46.3544 23.7798 46.5433 23.581C46.7322 23.3788 46.8797 23.1501 46.9858 22.8949C47.0919 22.6397 47.1449 22.3712 47.1449 22.0895C47.1449 21.715 47.0554 21.367 46.8764 21.0455C46.7008 20.724 46.4588 20.4654 46.1506 20.2699C45.8423 20.071 45.491 19.9716 45.0966 19.9716ZM51.2365 29.0945C50.9647 29.0945 50.7311 28.9983 50.5355 28.8061C50.34 28.6106 50.2422 28.3752 50.2422 28.1001C50.2422 27.8284 50.34 27.5964 50.5355 27.4041C50.7311 27.2086 50.9647 27.1108 51.2365 27.1108C51.5083 27.1108 51.742 27.2086 51.9375 27.4041C52.133 27.5964 52.2308 27.8284 52.2308 28.1001C52.2308 28.2824 52.1844 28.4498 52.0916 28.6023C52.0021 28.7514 51.8828 28.8707 51.7337 28.9602C51.5845 29.0497 51.4188 29.0945 51.2365 29.0945ZM57.4647 18.679C57.9187 18.6823 58.3662 18.7652 58.807 18.9276C59.2478 19.09 59.6455 19.3551 60.0002 19.723C60.3581 20.0909 60.6432 20.5881 60.8553 21.2145C61.0707 21.8376 61.1801 22.6132 61.1834 23.5412C61.1834 24.4328 61.0939 25.2266 60.915 25.9226C60.736 26.6153 60.4791 27.2003 60.1444 27.6776C59.8129 28.1548 59.4102 28.5178 58.9363 28.7663C58.4623 29.0149 57.9287 29.1392 57.3354 29.1392C56.7289 29.1392 56.1903 29.0199 55.7196 28.7812C55.249 28.5426 54.8662 28.2128 54.5712 27.7919C54.2762 27.3677 54.0923 26.8804 54.0194 26.3303H55.5357C55.6351 26.7678 55.8373 27.1224 56.1422 27.3942C56.4505 27.6626 56.8482 27.7969 57.3354 27.7969C58.0811 27.7969 58.6628 27.4721 59.0804 26.8224C59.498 26.1695 59.7085 25.258 59.7118 24.0881H59.6323C59.4599 24.3731 59.2445 24.6184 58.986 24.8239C58.7308 25.0294 58.4441 25.1884 58.1259 25.3011C57.8077 25.4138 57.468 25.4702 57.1067 25.4702C56.5201 25.4702 55.9864 25.326 55.5059 25.0376C55.0253 24.7493 54.6425 24.3532 54.3574 23.8494C54.0724 23.3456 53.9299 22.7706 53.9299 22.1243C53.9299 21.4813 54.0757 20.898 54.3674 20.3743C54.6623 19.8506 55.0733 19.4363 55.6003 19.1314C56.1306 18.8232 56.7521 18.6723 57.4647 18.679ZM57.4696 19.9716C57.0819 19.9716 56.7322 20.0677 56.4206 20.2599C56.1124 20.4489 55.8688 20.7057 55.6898 21.0305C55.5108 21.352 55.4213 21.71 55.4213 22.1044C55.4213 22.4988 55.5075 22.8568 55.6799 23.1783C55.8555 23.4964 56.0942 23.75 56.3958 23.9389C56.7007 24.1245 57.0487 24.2173 57.4398 24.2173C57.7315 24.2173 58.0033 24.161 58.2551 24.0483C58.507 23.9356 58.7275 23.7798 58.9164 23.581C59.1053 23.3788 59.2528 23.1501 59.3588 22.8949C59.4649 22.6397 59.5179 22.3712 59.5179 22.0895C59.5179 21.715 59.4284 21.367 59.2495 21.0455C59.0738 20.724 58.8319 20.4654 58.5236 20.2699C58.2154 20.071 57.8641 19.9716 57.4696 19.9716ZM66.3651 18.679C66.8191 18.6823 67.2666 18.7652 67.7074 18.9276C68.1482 19.09 68.5459 19.3551 68.9006 19.723C69.2585 20.0909 69.5436 20.5881 69.7557 21.2145C69.9711 21.8376 70.0805 22.6132 70.0838 23.5412C70.0838 24.4328 69.9943 25.2266 69.8153 25.9226C69.6364 26.6153 69.3795 27.2003 69.0447 27.6776C68.7133 28.1548 68.3106 28.5178 67.8366 28.7663C67.3627 29.0149 66.8291 29.1392 66.2358 29.1392C65.6293 29.1392 65.0907 29.0199 64.62 28.7812C64.1494 28.5426 63.7666 28.2128 63.4716 27.7919C63.1766 27.3677 62.9927 26.8804 62.9197 26.3303H64.4361C64.5355 26.7678 64.7377 27.1224 65.0426 27.3942C65.3509 27.6626 65.7486 27.7969 66.2358 27.7969C66.9815 27.7969 67.5632 27.4721 67.9808 26.8224C68.3984 26.1695 68.6089 25.258 68.6122 24.0881H68.5327C68.3603 24.3731 68.1449 24.6184 67.8864 24.8239C67.6312 25.0294 67.3445 25.1884 67.0263 25.3011C66.7081 25.4138 66.3684 25.4702 66.0071 25.4702C65.4205 25.4702 64.8868 25.326 64.4062 25.0376C63.9257 24.7493 63.5429 24.3532 63.2578 23.8494C62.9728 23.3456 62.8303 22.7706 62.8303 22.1243C62.8303 21.4813 62.9761 20.898 63.2678 20.3743C63.5627 19.8506 63.9737 19.4363 64.5007 19.1314C65.031 18.8232 65.6525 18.6723 66.3651 18.679ZM66.37 19.9716C65.9822 19.9716 65.6326 20.0677 65.321 20.2599C65.0128 20.4489 64.7692 20.7057 64.5902 21.0305C64.4112 21.352 64.3217 21.71 64.3217 22.1044C64.3217 22.4988 64.4079 22.8568 64.5803 23.1783C64.7559 23.4964 64.9946 23.75 65.2962 23.9389C65.6011 24.1245 65.9491 24.2173 66.3402 24.2173C66.6319 24.2173 66.9036 24.161 67.1555 24.0483C67.4074 23.9356 67.6278 23.7798 67.8168 23.581C68.0057 23.3788 68.1532 23.1501 68.2592 22.8949C68.3653 22.6397 68.4183 22.3712 68.4183 22.0895C68.4183 21.715 68.3288 21.367 68.1499 21.0455C67.9742 20.724 67.7322 20.4654 67.424 20.2699C67.1158 20.071 66.7644 19.9716 66.37 19.9716Z" fill="#AAAAAA"/>
|
|
8
8
|
</svg>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const config={tag:"ProductTag",label:"Discount Tag",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.75 2A2.25 2.25 0 0 1 22 4.25v5.462a3.25 3.25 0 0 1-.952 2.298l-8.5 8.503a3.255 3.255 0 0 1-4.597.001L3.489 16.06a3.25 3.25 0 0 1-.003-4.596l8.5-8.51A3.25 3.25 0 0 1 14.284 2h5.465Zm0 1.5h-5.465c-.465 0-.91.185-1.239.513l-8.512 8.523a1.75 1.75 0 0 0 .015 2.462l4.461 4.454a1.755 1.755 0 0 0 2.477 0l8.5-8.503a1.75 1.75 0 0 0 .513-1.237V4.25a.75.75 0 0 0-.75-.75ZM17 5.502a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z"/></svg>',settings:[{id:"setting",controls:[{id:"customContent",label:"Custom Content",type:"custom-content",default:{prefix:"SALE",suffix:"OFF",unit:"percentage"}},{id:"translate",type:"input",default:"customContent"}]},{id:"style",controls:[{id:"backgroundColor",type:"colorpicker",label:"Background Color",default:"#3C67FF"},{id:"borderTag",type:"border",label:"Border",default:{borderType:"none",border:"none",borderWidth:"1px",width:"1px 1px 1px 1px",color:"#000000",isCustom:!1}},{id:"roundedTag",type:"radius-preset",label:"Border Radius",default:{radiusType:"large"}},{id:"textAlign",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left"},{label:"Center",value:"center",type:"align",tooltip:"Align center"},{label:"Right",value:"right",type:"align",tooltip:"Align right"}],devices:{desktop:{default:"left"}}},{id:"typo",type:"typography-v2",default:{type:"subheading-2",attrs:{color:"#FFFFFF"}},ignoreReRender:!0},{id:"tagSpacing",label:"Tag Spacing",type:"size",component:"tag",default:{type:"medium"},ignoreReRender:!0}]}],ui:[{type:"group",controls:[{type:"control",label:{en:"Tag"},options:{label:"large"},setting:{id:"customContent"},layout:"vertical"}]},{type:"control",label:{en:"Size"},options:{label:"large"},setting:{id:"tagSpacing"}},{type:"control",label:{en:"Background color"},options:{label:"large"},setting:{id:"backgroundColor"}},{type:"group",options:{labelPosition:"start"},label:{en:"Border"},controls:[{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"borderTag"}},{type:"control",label:{en:"Corner"},setting:{id:"roundedTag"}}]},{type:"group",label:{en:"Text"},controls:[{type:"control",setting:{id:"typo"},layout:"vertical"}]},{type:"control",label:{en:"Align"},options:{label:"large"},setting:{id:"textAlign"}}],presets:[{id:"product-tag",name:{en:"Discount Tag"},icon:{desktop:`
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const config={tag:"ProductTag",label:"Discount Tag",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.75 2A2.25 2.25 0 0 1 22 4.25v5.462a3.25 3.25 0 0 1-.952 2.298l-8.5 8.503a3.255 3.255 0 0 1-4.597.001L3.489 16.06a3.25 3.25 0 0 1-.003-4.596l8.5-8.51A3.25 3.25 0 0 1 14.284 2h5.465Zm0 1.5h-5.465c-.465 0-.91.185-1.239.513l-8.512 8.523a1.75 1.75 0 0 0 .015 2.462l4.461 4.454a1.755 1.755 0 0 0 2.477 0l8.5-8.503a1.75 1.75 0 0 0 .513-1.237V4.25a.75.75 0 0 0-.75-.75ZM17 5.502a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z"/></svg>',settings:[{id:"setting",controls:[{id:"customContent",label:"Custom Content",type:"custom-content",default:{prefix:"SALE",suffix:"OFF",unit:"percentage"}},{id:"translate",type:"input",default:"customContent"},{id:"deal",type:"deal"}]},{id:"style",controls:[{id:"backgroundColor",type:"colorpicker",label:"Background Color",default:"#3C67FF"},{id:"borderTag",type:"border",label:"Border",default:{borderType:"none",border:"none",borderWidth:"1px",width:"1px 1px 1px 1px",color:"#000000",isCustom:!1}},{id:"roundedTag",type:"radius-preset",label:"Border Radius",default:{radiusType:"large"}},{id:"textAlign",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left"},{label:"Center",value:"center",type:"align",tooltip:"Align center"},{label:"Right",value:"right",type:"align",tooltip:"Align right"}],devices:{desktop:{default:"left"}}},{id:"typo",type:"typography-v2",default:{type:"subheading-2",attrs:{color:"#FFFFFF"}},ignoreReRender:!0},{id:"tagSpacing",label:"Tag Spacing",type:"size",component:"tag",default:{type:"medium"},ignoreReRender:!0}]}],ui:[{type:"group",controls:[{type:"control",label:{en:"Tag"},options:{label:"large"},setting:{id:"customContent"},layout:"vertical"}]},{type:"control",label:{en:"Size"},options:{label:"large"},setting:{id:"tagSpacing"}},{type:"control",label:{en:"Background color"},options:{label:"large"},setting:{id:"backgroundColor"}},{type:"group",options:{labelPosition:"start"},label:{en:"Border"},controls:[{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"borderTag"}},{type:"control",label:{en:"Corner"},setting:{id:"roundedTag"}}]},{type:"group",label:{en:"Text"},controls:[{type:"control",setting:{id:"typo"},layout:"vertical"}]},{type:"control",label:{en:"Align"},options:{label:"large"},setting:{id:"textAlign"}}],presets:[{id:"product-tag",name:{en:"Discount Tag"},icon:{desktop:`
|
|
2
2
|
<svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path d="M13 15C13 13.3431 14.3431 12 16 12H80C81.6569 12 83 13.3431 83 15V33C83 34.6569 81.6569 36 80 36H16C14.3431 36 13 34.6569 13 33V15Z" fill="#424242"/>
|
|
4
4
|
<path d="M27.2188 21.5653C27.1733 21.1619 26.9858 20.8494 26.6562 20.6278C26.3267 20.4034 25.9119 20.2912 25.4119 20.2912C25.054 20.2912 24.7443 20.348 24.483 20.4616C24.2216 20.5724 24.0185 20.7259 23.8736 20.9219C23.7315 21.1151 23.6605 21.3352 23.6605 21.5824C23.6605 21.7898 23.7088 21.9687 23.8054 22.1193C23.9048 22.2699 24.0341 22.3963 24.1932 22.4986C24.3551 22.598 24.5284 22.6818 24.7131 22.75C24.8977 22.8153 25.0753 22.8693 25.2457 22.9119L26.098 23.1335C26.3764 23.2017 26.6619 23.294 26.9545 23.4105C27.2472 23.527 27.5185 23.6804 27.7685 23.8707C28.0185 24.0611 28.2202 24.2969 28.3736 24.5781C28.5298 24.8594 28.608 25.196 28.608 25.5881C28.608 26.0824 28.4801 26.5213 28.2244 26.9048C27.9716 27.2884 27.6037 27.5909 27.1207 27.8125C26.6406 28.0341 26.0597 28.1449 25.3778 28.1449C24.7244 28.1449 24.1591 28.0412 23.6818 27.8338C23.2045 27.6264 22.831 27.3324 22.5611 26.9517C22.2912 26.5682 22.142 26.1136 22.1136 25.5881H23.4347C23.4602 25.9034 23.5625 26.1662 23.7415 26.3764C23.9233 26.5838 24.1548 26.7386 24.4361 26.8409C24.7202 26.9403 25.0312 26.9901 25.3693 26.9901C25.7415 26.9901 26.0724 26.9318 26.3622 26.8153C26.6548 26.696 26.8849 26.5312 27.0526 26.321C27.2202 26.108 27.304 25.8594 27.304 25.5753C27.304 25.3168 27.2301 25.1051 27.0824 24.9403C26.9375 24.7756 26.7401 24.6392 26.4901 24.5312C26.2429 24.4233 25.9631 24.3281 25.6506 24.2457L24.6193 23.9645C23.9205 23.7741 23.3665 23.4943 22.9574 23.125C22.5511 22.7557 22.348 22.267 22.348 21.6591C22.348 21.1562 22.4844 20.7173 22.7571 20.3423C23.0298 19.9673 23.3991 19.6761 23.8651 19.4688C24.331 19.2585 24.8565 19.1534 25.4418 19.1534C26.0327 19.1534 26.554 19.2571 27.0057 19.4645C27.4602 19.6719 27.8182 19.9574 28.0795 20.321C28.3409 20.6818 28.4773 21.0966 28.4886 21.5653H27.2188ZM31.984 28.1449C31.5692 28.1449 31.1942 28.0682 30.859 27.9148C30.5238 27.7585 30.2582 27.5327 30.0621 27.2372C29.869 26.9418 29.7724 26.5795 29.7724 26.1506C29.7724 25.7812 29.8434 25.4773 29.9854 25.2386C30.1275 25 30.3192 24.8111 30.5607 24.6719C30.8022 24.5327 31.0721 24.4276 31.3704 24.3565C31.6687 24.2855 31.9727 24.2315 32.2823 24.1946C32.6744 24.1491 32.9925 24.1122 33.2369 24.0838C33.4812 24.0526 33.6587 24.0028 33.7695 23.9347C33.8803 23.8665 33.9357 23.7557 33.9357 23.6023V23.5724C33.9357 23.2003 33.8306 22.9119 33.6204 22.7074C33.413 22.5028 33.1033 22.4006 32.6914 22.4006C32.2624 22.4006 31.9244 22.4957 31.6772 22.6861C31.4329 22.8736 31.2638 23.0824 31.1701 23.3125L29.9727 23.0398C30.1147 22.642 30.3221 22.321 30.5948 22.0767C30.8704 21.8295 31.1871 21.6506 31.5451 21.5398C31.9031 21.4261 32.2795 21.3693 32.6744 21.3693C32.9357 21.3693 33.2127 21.4006 33.5053 21.4631C33.8008 21.5227 34.0763 21.6335 34.332 21.7955C34.5906 21.9574 34.8022 22.1889 34.967 22.4901C35.1317 22.7884 35.2141 23.1761 35.2141 23.6534V28H33.9698V27.1051H33.9187C33.8363 27.2699 33.7127 27.4318 33.5479 27.5909C33.3832 27.75 33.1715 27.8821 32.913 27.9872C32.6545 28.0923 32.3448 28.1449 31.984 28.1449ZM32.261 27.1222C32.6133 27.1222 32.9144 27.0526 33.1644 26.9134C33.4173 26.7741 33.609 26.5923 33.7397 26.3679C33.8732 26.1406 33.94 25.8977 33.94 25.6392V24.7955C33.8945 24.8409 33.8065 24.8835 33.6758 24.9233C33.5479 24.9602 33.4016 24.9929 33.2369 25.0213C33.0721 25.0469 32.9116 25.071 32.7553 25.0938C32.5991 25.1136 32.4684 25.1307 32.3633 25.1449C32.1161 25.1761 31.8903 25.2287 31.6857 25.3026C31.484 25.3764 31.3221 25.483 31.1999 25.6222C31.0806 25.7585 31.021 25.9403 31.021 26.1676C31.021 26.483 31.1374 26.7216 31.3704 26.8835C31.6033 27.0426 31.9002 27.1222 32.261 27.1222ZM38.1854 19.2727V28H36.9112V19.2727H38.1854ZM42.7205 28.1321C42.0756 28.1321 41.5202 27.9943 41.0543 27.7188C40.5913 27.4403 40.2333 27.0497 39.9805 26.5469C39.7305 26.0412 39.6055 25.4489 39.6055 24.7699C39.6055 24.0994 39.7305 23.5085 39.9805 22.9972C40.2333 22.4858 40.5856 22.0866 41.0373 21.7997C41.4918 21.5128 42.0231 21.3693 42.631 21.3693C43.0004 21.3693 43.3583 21.4304 43.7049 21.5526C44.0515 21.6747 44.3626 21.8665 44.6381 22.1278C44.9137 22.3892 45.131 22.7287 45.2901 23.1463C45.4492 23.5611 45.5288 24.0653 45.5288 24.6591V25.1108H40.3256V24.1562H44.2802C44.2802 23.821 44.212 23.5241 44.0756 23.2656C43.9393 23.0043 43.7475 22.7983 43.5004 22.6477C43.256 22.4972 42.9691 22.4219 42.6396 22.4219C42.2816 22.4219 41.9691 22.5099 41.7021 22.6861C41.4379 22.8594 41.2333 23.0866 41.0884 23.3679C40.9464 23.6463 40.8754 23.9489 40.8754 24.2756V25.0213C40.8754 25.4588 40.9521 25.831 41.1055 26.1378C41.2617 26.4446 41.479 26.679 41.7575 26.8409C42.0359 27 42.3612 27.0795 42.7333 27.0795C42.9748 27.0795 43.195 27.0455 43.3938 26.9773C43.5927 26.9062 43.7646 26.8011 43.9094 26.6619C44.0543 26.5227 44.1651 26.3509 44.2418 26.1463L45.4478 26.3636C45.3512 26.7187 45.1779 27.0298 44.9279 27.2969C44.6808 27.5611 44.3697 27.767 43.9947 27.9148C43.6225 28.0597 43.1978 28.1321 42.7205 28.1321ZM52.9819 28.1193C52.4478 28.1193 51.9677 28.017 51.5415 27.8125C51.1183 27.6051 50.7802 27.321 50.5273 26.9602C50.2745 26.5994 50.1396 26.1875 50.1225 25.7244H51.4009C51.4322 26.0994 51.5984 26.4077 51.8995 26.6491C52.2006 26.8906 52.5614 27.0114 52.9819 27.0114C53.3171 27.0114 53.614 26.9347 53.8725 26.7812C54.1339 26.625 54.3384 26.4105 54.4862 26.1378C54.6367 25.8651 54.712 25.554 54.712 25.2045C54.712 24.8494 54.6353 24.5327 54.4819 24.2543C54.3285 23.9759 54.1168 23.7571 53.8469 23.598C53.5799 23.4389 53.2731 23.358 52.9265 23.3551C52.6623 23.3551 52.3967 23.4006 52.1296 23.4915C51.8626 23.5824 51.6467 23.7017 51.4819 23.8494L50.2759 23.6705L50.766 19.2727H55.5643V20.402H51.8612L51.5842 22.8438H51.6353C51.8058 22.679 52.0316 22.5412 52.3129 22.4304C52.5969 22.3196 52.9009 22.2642 53.2248 22.2642C53.756 22.2642 54.229 22.3906 54.6438 22.6435C55.0614 22.8963 55.3896 23.2415 55.6282 23.679C55.8697 24.1136 55.989 24.6136 55.9862 25.179C55.989 25.7443 55.8612 26.2486 55.6026 26.6918C55.3469 27.1349 54.9918 27.4844 54.5373 27.7401C54.0856 27.9929 53.5671 28.1193 52.9819 28.1193ZM60.581 28.1449C59.9077 28.142 59.3324 27.9645 58.8551 27.6122C58.3778 27.2599 58.0128 26.7472 57.7599 26.0739C57.5071 25.4006 57.3807 24.5895 57.3807 23.6406C57.3807 22.6946 57.5071 21.8864 57.7599 21.2159C58.0156 20.5455 58.3821 20.0341 58.8594 19.6818C59.3395 19.3295 59.9134 19.1534 60.581 19.1534C61.2486 19.1534 61.821 19.331 62.2983 19.6861C62.7756 20.0384 63.1406 20.5497 63.3935 21.2202C63.6491 21.8878 63.777 22.6946 63.777 23.6406C63.777 24.5923 63.6506 25.4048 63.3977 26.0781C63.1449 26.7486 62.7798 27.2614 62.3026 27.6165C61.8253 27.9688 61.2514 28.1449 60.581 28.1449ZM60.581 27.0071C61.1719 27.0071 61.6335 26.7188 61.9659 26.142C62.3011 25.5653 62.4688 24.7315 62.4688 23.6406C62.4688 22.9162 62.392 22.304 62.2386 21.804C62.0881 21.3011 61.8707 20.9205 61.5866 20.6619C61.3054 20.4006 60.9702 20.2699 60.581 20.2699C59.9929 20.2699 59.5313 20.5597 59.196 21.1392C58.8608 21.7187 58.6918 22.5526 58.6889 23.6406C58.6889 24.3679 58.7642 24.983 58.9148 25.4858C59.0682 25.9858 59.2855 26.3651 59.5668 26.6236C59.848 26.8793 60.1861 27.0071 60.581 27.0071ZM69.8441 26.3636V25.9034C69.8441 25.5739 69.9123 25.2727 70.0487 25C70.1879 24.7244 70.3896 24.5043 70.6538 24.3395C70.9208 24.1719 71.2433 24.0881 71.6211 24.0881C72.0075 24.0881 72.3313 24.1705 72.5927 24.3352C72.854 24.5 73.0515 24.7202 73.185 24.9957C73.3214 25.2713 73.3896 25.5739 73.3896 25.9034V26.3636C73.3896 26.6932 73.3214 26.9957 73.185 27.2713C73.0487 27.544 72.8484 27.7642 72.5842 27.9318C72.3228 28.0966 72.0018 28.179 71.6211 28.179C71.2376 28.179 70.9137 28.0966 70.6495 27.9318C70.3853 27.7642 70.185 27.544 70.0487 27.2713C69.9123 26.9957 69.8441 26.6932 69.8441 26.3636ZM70.837 25.9034V26.3636C70.837 26.608 70.8952 26.8295 71.0117 27.0284C71.1282 27.2273 71.3313 27.3267 71.6211 27.3267C71.908 27.3267 72.1083 27.2273 72.2219 27.0284C72.3356 26.8295 72.3924 26.608 72.3924 26.3636V25.9034C72.3924 25.6591 72.337 25.4375 72.2262 25.2386C72.1183 25.0398 71.9165 24.9403 71.6211 24.9403C71.337 24.9403 71.1353 25.0398 71.016 25.2386C70.8967 25.4375 70.837 25.6591 70.837 25.9034ZM65.4549 21.3693V20.9091C65.4549 20.5795 65.5231 20.277 65.6594 20.0014C65.7987 19.7259 66.0004 19.5057 66.2646 19.3409C66.5316 19.1761 66.854 19.0938 67.2319 19.0938C67.6183 19.0938 67.9421 19.1761 68.2035 19.3409C68.4648 19.5057 68.6623 19.7259 68.7958 20.0014C68.9293 20.277 68.9961 20.5795 68.9961 20.9091V21.3693C68.9961 21.6989 68.9279 22.0014 68.7915 22.277C68.658 22.5497 68.4592 22.7699 68.195 22.9375C67.9336 23.1023 67.6126 23.1847 67.2319 23.1847C66.8455 23.1847 66.5202 23.1023 66.256 22.9375C65.9947 22.7699 65.7958 22.5497 65.6594 22.277C65.5231 22.0014 65.4549 21.6989 65.4549 21.3693ZM66.4521 20.9091V21.3693C66.4521 21.6136 66.5089 21.8352 66.6225 22.0341C66.739 22.233 66.9421 22.3324 67.2319 22.3324C67.516 22.3324 67.7148 22.233 67.8285 22.0341C67.945 21.8352 68.0032 21.6136 68.0032 21.3693V20.9091C68.0032 20.6648 67.9478 20.4432 67.837 20.2443C67.7262 20.0455 67.5245 19.946 67.2319 19.946C66.9478 19.946 66.7461 20.0455 66.6268 20.2443C66.5103 20.4432 66.4521 20.6648 66.4521 20.9091ZM65.8597 28L71.8597 19.2727H72.8782L66.8782 28H65.8597Z" fill="#AAAAAA"/>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var ProductButton=require("./ProductButton.js"),ProductPrice=require("./ProductPrice.js"),ProductQuantity=require("./ProductQuantity.js"),ProductTitle=require("./ProductTitle.js"),Product=require("./Product.js"),ProductVariants=require("./ProductVariants.js"),ProductImages=require("./ProductImages.js"),ProductImages$1=require("./product-image-v2/ProductImages.js"),ProductDescription=require("./ProductDescription.js"),ProductProperties=require("./ProductProperties.js"),ProductTag=require("./ProductTag.js"),ProductList=require("./ProductList.js"),DynamicCheckout=require("./DynamicCheckout.js"),Vendor=require("./Vendor.js"),ProductViewMore=require("./ProductViewMore.js"),index={Product:Product.default,ProductQuantity:ProductQuantity.default,ProductTitle:ProductTitle.default,ProductButton:ProductButton.default,ProductPrice:ProductPrice.default,ProductVariants:ProductVariants.default,ProductImages:ProductImages.default,ProductImagesV2:ProductImages$1.default,ProductDescription:ProductDescription.default,ProductProperties:ProductProperties.default,ProductTag:ProductTag.default,ProductList:ProductList.default,DynamicCheckout:DynamicCheckout.default,Vendor:Vendor.default,ProductViewMore:ProductViewMore.default};exports.default=index;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var ProductButton=require("./ProductButton.js"),ProductPrice=require("./ProductPrice.js"),ProductQuantity=require("./ProductQuantity.js"),ProductTitle=require("./ProductTitle.js"),Product=require("./Product.js"),ProductVariants=require("./ProductVariants.js"),ProductImages=require("./ProductImages.js"),ProductImages$1=require("./product-image-v2/ProductImages.js"),ProductDescription=require("./ProductDescription.js"),ProductProperties=require("./ProductProperties.js"),ProductTag=require("./ProductTag.js"),ProductList=require("./ProductList.js"),DynamicCheckout=require("./DynamicCheckout.js"),ProductBundleDiscountItem=require("./ProductBundleDiscountItem.js"),ProductBundleDiscount=require("./ProductBundleDiscount.js"),Vendor=require("./Vendor.js"),ProductViewMore=require("./ProductViewMore.js"),index={Product:Product.default,ProductQuantity:ProductQuantity.default,ProductTitle:ProductTitle.default,ProductButton:ProductButton.default,ProductPrice:ProductPrice.default,ProductVariants:ProductVariants.default,ProductImages:ProductImages.default,ProductImagesV2:ProductImages$1.default,ProductDescription:ProductDescription.default,ProductProperties:ProductProperties.default,ProductTag:ProductTag.default,ProductList:ProductList.default,DynamicCheckout:DynamicCheckout.default,ProductBundleDiscount:ProductBundleDiscount.default,ProductBundleDiscountItem:ProductBundleDiscountItem.default,Vendor:Vendor.default,ProductViewMore:ProductViewMore.default};exports.default=index;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const templateChildrens=[{tag:"Col",settings:{},advanced:{w:{desktop:"100%"}},childrens:[{advanced:{border:{border:"none",borderType:"none",borderWidth:"1px",color:"#121212",isCustom:!0,width:"1px 1px 1px 1px"},boxShadow:{angle:90,blur:"12px",color:"rgba(0, 0, 0, 0.20)",distance:"4px",spread:"0px",type:"shadow-1"},d:{desktop:!0,mobile:!0,tablet:!0},hasBoxShadow:!1,op:{desktop:"100%"},rounded:{bblr:"0px",bbrr:"0px",btlr:"0px",btrr:"0px",radiusType:"none"},"spacing-setting":{desktop:{link:!1,margin:{bottom:"0px"}}}},childrens:[{advanced:{border:{border:"none",borderType:"none",borderWidth:"1px",color:"#121212",isCustom:!0,width:"1px 1px 1px 1px"},boxShadow:{angle:90,blur:"12px",color:"rgba(0, 0, 0, 0.20)",distance:"4px",spread:"0px",type:"shadow-1"},d:{desktop:!0,mobile:!0,tablet:!0},hasBoxShadow:!1,op:{desktop:"100%"},rounded:{bblr:"0px",bbrr:"0px",btlr:"0px",btrr:"0px",radiusType:"none"}},childrens:[{advanced:{border:{border:"solid",borderType:"none",borderWidth:"0px",color:"#121212",isCustom:!0,width:"0px"},boxShadow:{angle:90,blur:"12px",color:"rgba(0, 0, 0, 0.20)",distance:"4px",spread:"0px",type:"shadow-1"},d:{desktop:!0,mobile:!0,tablet:!0},hasBoxShadow:!1,op:{desktop:"100%"},rounded:{bblr:"0px",bbrr:"0px",btlr:"0px",btrr:"0px",radiusType:"none"},"spacing-setting":{desktop:{link:!1,margin:{bottom:0}}}},label:"Text block",settings:{background:{desktop:{attachment:"scroll",color:"transparent",image:{height:0,src:"",width:0},position:{x:50,y:50},repeat:"no-repeat",size:"cover",type:"color"}},globalSize:{desktop:{padding:{type:"custom"},width:"100%"}},htmlTag:"div",text:"",translate:"text"},styles:{align:{desktop:"left"},hasLineClamp:{desktop:!1},lineClamp:{desktop:1,mobile:1,tablet:1},textAlign:{desktop:"left"},typo:{attrs:{bold:!0,color:"text-1",transform:"none"},custom:{fontFamily:"Assistant",fontSize:{desktop:"20px",mobile:"14px",tablet:"16px"},fontVariants:["200","300","regular","500","600","700","800"],fontWeight:"400",lineHeight:"180%"},type:"paragraph-1"}},tag:"Text"}],label:"Block",settings:{},styles:{order:{desktop:0}},tag:"Col"},{advanced:{border:{border:"none",borderType:"none",borderWidth:"1px",color:"#121212",isCustom:!0,width:"1px 1px 1px 1px"},boxShadow:{angle:90,blur:"12px",color:"rgba(0, 0, 0, 0.20)",distance:"4px",spread:"0px",type:"shadow-1"},d:{desktop:!0,mobile:!0,tablet:!0},hasBoxShadow:!1,op:{desktop:"100%"},rounded:{bblr:"0px",bbrr:"0px",btlr:"0px",btrr:"0px",radiusType:"none"}},childrens:[{advanced:{border:{border:"none",borderType:"none",borderWidth:"1px",color:"#121212",isCustom:!0,width:"1px 1px 1px 1px"},boxShadow:{angle:90,blur:"12px",color:"rgba(0, 0, 0, 0.20)",distance:"4px",spread:"0px",type:"shadow-1"},d:{desktop:!0,mobile:!0,tablet:!0},hasBoxShadow:!1,op:{desktop:"100%"},rounded:{bblr:"0px",bbrr:"0px",btlr:"0px",btrr:"0px",radiusType:"none"},"spacing-setting":{desktop:{link:!1,margin:{bottom:"8px"}}}},label:"Product Price",settings:{},styles:{color:{normal:"text-2"},hasTextShadow:{normal:!1},lineColor:"text-1",lineThrough:!0,priceType:"regular",textAlign:{desktop:"right"},textShadow:{normal:{type:"shadow-1"}},thickness:1,typo:{default:{type:"subheading-2"},type:"subheading-2"}},tag:"ProductPrice"},{advanced:{border:{border:"none",borderType:"none",borderWidth:"1px",color:"#121212",isCustom:!0,width:"1px 1px 1px 1px"},boxShadow:{angle:90,blur:"12px",color:"rgba(0, 0, 0, 0.20)",distance:"4px",spread:"0px",type:"shadow-1"},d:{desktop:!0,mobile:!0,tablet:!0},hasBoxShadow:!1,op:{desktop:"100%"},rounded:{bblr:"0px",bbrr:"0px",btlr:"0px",btrr:"0px",radiusType:"none"},"spacing-setting":{desktop:{margin:{bottom:0}}}},label:"Product Price",settings:{},styles:{color:{normal:"text-2"},hasTextShadow:{normal:!1},lineColor:"text-1",lineThrough:!0,priceType:"compare",textAlign:{desktop:"right"},textShadow:{normal:{type:"shadow-1"}},thickness:1,typo:{default:{type:"subheading-2"},type:"subheading-2"}},tag:"ProductPrice"}],label:"Block",settings:{},styles:{order:{desktop:2}},tag:"Col"},{childrens:[{advanced:{border:{border:"solid",borderType:"none",borderWidth:"0px",color:"#121212",isCustom:!0,width:"0px"},boxShadow:{angle:90,blur:"12px",color:"rgba(0, 0, 0, 0.20)",distance:"4px",spread:"0px",type:"shadow-1"},d:{desktop:!0,mobile:!0,tablet:!0},hasBoxShadow:!1,op:{desktop:"100%"},rounded:{bblr:"0px",bbrr:"0px",btlr:"0px",btrr:"0px",radiusType:"none"},"spacing-setting":{desktop:{link:!1,margin:{bottom:0}}}},label:"Discount Tag",settings:{customContent:{prefix:"",suffix:"OFF",unit:"percentage"},translate:"customContent"},styles:{backgroundColor:"rgba(60, 103, 255, 0.1)",borderTag:{border:"solid",borderType:"none",borderWidth:"0",color:"#655EB4",isCustom:!0,width:"0px 0px 0px 0px"},roundedTag:{bblr:"4px",bbrr:"4px",btlr:"4px",btrr:"4px",radiusType:"custom"},tagSpacing:{custom:{desktop:{horizontal:"8px",vertical:"2px"}}},textAlign:{desktop:"left"},typo:{attrs:{bold:!0,color:"#3C67FF",italic:!1},custom:{fontFamily:"Assistant",fontSize:{desktop:"12px",mobile:"14px",tablet:"16px"},fontWeight:"400",lineHeight:"180%"},type:"paragraph-1"}},tag:"ProductTag"}],label:"Block",settings:{},styles:{order:{desktop:1}},tag:"Col"}],label:"Row",settings:{horizontalAlign:{desktop:"start"},layout:{desktop:{cols:[4,4,4],display:"fill"},mobile:{cols:[4,4,4],display:"fill"}},verticalAlign:{desktop:"center"}},styles:{background:{desktop:{attachment:"scroll",color:"transparent",image:{height:0,src:"",width:0},position:{x:50,y:50},repeat:"no-repeat",size:"cover",type:"color"}},fullWidth:{desktop:!1,mobile:!0,tablet:!1},preloadBgImage:!1,verticalGutter:{desktop:"8px"}},tag:"Row"}]}],itemControlTemplate={tag:"ProductBundleDiscountItem",label:"ProductBundleDiscountItem",childrens:templateChildrens};exports.itemControlTemplate=itemControlTemplate;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import e from"../../text/components/Text.js";import{useArticleStore as r}from"@gem-sdk/core";import{useMemo as o}from"react";let ArticleAuthor=({setting:i,builderProps:l,styles:m})=>{let{prefix:a}=i,c=r(t=>t.article),d=o(()=>`${a} ${c?.author||"Unknown"}`,[c?.author,a]);return t("div",{id:`shopify-text-element-${l?.uid}`,"data-article-id":l?.uid,children:t(e,{styles:m,setting:{...i,text:d,excludeFlex:!0}})})};export{ArticleAuthor as default};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{template as t}from"@gem-sdk/core";import e from"../../text/components/Text.liquid.js";let ArticleAuthor=({setting:r,styles:o,advanced:l})=>{let{prefix:i}=r??{},a={linkArticle:"#",author:`${i??"By"} Rachael Thompson`};return t`
|
|
2
|
+
${e({styles:o,setting:{...r,text:a.author,excludeFlex:!0},advanced:l})}
|
|
3
|
+
`};export{ArticleAuthor as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import t from"../../text/components/Text.js";import{useArticleListStore as r,useArticleStore as i}from"@gem-sdk/core";import{useMemo as o}from"react";let ArticleCategory=({setting:l,builderProps:d,styles:a})=>{let n=r(e=>e.blogs),c=i(e=>e.article),m=o(()=>{let e=n?.find(e=>(c?.blog_id.toString()===e?.baseID?.replace("gid://shopify/OnlineStoreBlog/",""))??"");return e?.title||"No category found"},[c?.blog_id,n]);return e("div",{id:`shopify-text-element-${d?.uid}`,"data-article-id":d?.uid,children:e(t,{styles:a,setting:{...l,text:m,excludeFlex:!0}})})};export{ArticleCategory as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import e from"../../text/components/Text.js";import{useArticleStore as r}from"@gem-sdk/core";let ArticleContent=({setting:i,builderProps:o,styles:l})=>{let d=r(t=>t.article);return t("div",{id:`shopify-text-element-${o?.uid}`,"data-article-id":o?.uid,children:t(e,{styles:l,setting:{...i,text:d.body_html,excludeFlex:!0}})})};export{ArticleContent as default};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{template as o}from"@gem-sdk/core";import e from"../../text/components/Text.liquid.js";let ArticleContent=({setting:t,styles:a,advanced:r})=>o`
|
|
2
|
+
${e({styles:a,setting:{...t,text:"Add a summary of the post to appear on your home page or blog. Add a summary of the post to appear on your home page or blog. Add a summary of the post to appear on your home page or blog. Add a summary of the post to appear on your home page or blog.",excludeFlex:!0},advanced:r})}
|
|
3
|
+
`;export{ArticleContent as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import e from"../../text/components/Text.js";import{useMemo as r}from"react";import{useArticleStore as i}from"@gem-sdk/core";let ArticleDate=({setting:o,builderProps:a,styles:l})=>{let{dateFormat:d}=o??{},m=i(t=>t.article),n=r(()=>{let t=new Date(m.updated_at),{locales:e,options:r}=JSON.parse(d??'{"locales":"en-US","options":{"month":"short","day":"2-digit","year":"numeric"}}');return t.toLocaleDateString(e,r)},[d,m]);return t("div",{id:`shopify-text-element-${a?.uid}`,"data-article-id":a?.uid,children:t(e,{styles:l,setting:{...o,text:n,excludeFlex:!0}})})};export{ArticleDate as default};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{template as e}from"@gem-sdk/core";import t from"../../text/components/Text.liquid.js";let ArticleDate=({setting:r,styles:o,advanced:a})=>{let{dateFormat:l}=r??{},i=()=>{let e=new Date("08/03/2024"),{locales:t,options:r}=JSON.parse(l??'{"locales":"en-US","options":{"month":"short","day":"2-digit","year":"numeric"}}');return e.toLocaleDateString(t,r)};return e`
|
|
2
|
+
${t({styles:o,setting:{...r,text:i(),excludeFlex:!0},advanced:a})}
|
|
3
|
+
`};export{ArticleDate as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import e from"next/link";import r from"../../text/components/Text.js";import{useArticleStore as i}from"@gem-sdk/core";import{useMemo as l}from"react";let ArticleExcerpt=({setting:m,builderProps:o,styles:c})=>{let n=i(t=>t.article),s=l(()=>n?.summary_html||"No summary found",[n]);return t("div",{id:`shopify-text-element-${o?.uid}`,"data-article-id":o?.uid,children:n?m?.linkArticle?t(e,{href:"#",title:n?.title,children:t(r,{styles:c,setting:{...m,text:s,excludeFlex:!0}})}):t(r,{styles:c,setting:{...m,text:s,excludeFlex:!0}}):null})};export{ArticleExcerpt as default};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{template as e}from"@gem-sdk/core";import t from"../../text/components/Text.liquid.js";let ArticleExcerpt=({setting:r,styles:c,advanced:l})=>e`
|
|
2
|
+
${t({styles:c,setting:{...r,text:"Article excerpt here",excludeFlex:!0},advanced:l})}
|
|
3
|
+
`;export{ArticleExcerpt as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{useArticleStore as t,cls as r}from"@gem-sdk/core";import o from"../../image/components/Image.js";import"next/image";import{useMemo as a}from"react";let ArticleImage=({className:m,setting:i={},styles:c={},advanced:l})=>{let s=t(e=>e.article),g=a(()=>{let{src:e,width:t,height:r,alt:o}=s.image;return{src:e,width:t,height:r,alt:o}},[s]);return e("div",{className:r("gp-text-center",m),children:e(o,{setting:{...i,alt:g.alt,image:g},styles:c,advanced:l,className:r("gp-transition-transform",{"hover:gp-scale-110":i?.hoverEffect==="zoom","hover:gp-rotate-6":i?.hoverEffect==="rotate","hover:gp-blur-sm":i?.hoverEffect==="blur"})})})};export{ArticleImage as default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{template as e,cls as t}from"@gem-sdk/core";import a from"../../image/components/Image.liquid.js";let ArticleImage=s=>{let i={image:{src:"https://cdn.shopify.com/s/files/1/0772/6802/5644/articles/Screenshot_3_520x500.jpg?v=1713925891",altText:"nani"}};return e`
|
|
2
|
+
<div class="${t("gp-text-center",s?.className)}">
|
|
3
|
+
${a({...s,styles:s.styles,setting:{...s.setting,alt:i.image.altText,image:i.image},advanced:s.advanced})}
|
|
4
|
+
</div>
|
|
5
|
+
`};export{ArticleImage as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{useArticlesQuery as t,useBlogsQuery as r,ArticleListProvider as i,makeStyleResponsive as l,makeWidth as a,getResponsiveValueByScreen as o,cls as n,ArticleProvider as c,isEmptyChildren as m}from"@gem-sdk/core";import d from"../../grid/components/ChildrenDroppable.js";import{useMemo as s}from"react";let ArticleList=({styles:p,setting:g,className:h,children:b})=>{let{articleSetting:f}=g??{},u=t(),A=r(),O=s(()=>u.filter((e,t)=>t<(f?.articleIds?.length||4)),[u,f]),v=s(()=>A?.blogs?.edges?.map(e=>e.node)??[],[A]);return e(i,{styles:{horizontalGutter:p?.horizontalGutter,verticalGutter:p?.verticalGutter,fullWidth:p?.fullWidth,spacing:p?.spacing,width:p?.width,height:p?.height},settings:{slidesToShow:g?.numberOfArticle??{desktop:4,tablet:3,mobile:1}},articles:O,blogs:v,children:e("div",{className:"gp-relative",children:e("div",{style:{...l("w",a(p?.width,p?.fullWidth)),...l("rg",p?.horizontalGutter),...l("cg",p?.verticalGutter),...l("gtc",{desktop:`repeat(${o(g?.numberOfArticle,"desktop")}, minmax(0, 1fr))`,tablet:g?.numberOfArticle?.tablet&&`repeat(${o(g?.numberOfArticle,"tablet")}, minmax(0, 1fr))`,mobile:g?.numberOfArticle?.mobile&&`repeat(${o(g?.numberOfArticle,"mobile")}, minmax(0, 1fr))`})},className:n(h,"gp-m-auto gp-grid gp-w-full"),children:O.map(t=>e(c,{article:t,readOnly:!0,children:e("div",{"data-component-type":"component","data-component-tag":"Article","data-component-label":"Article","data-component-no-setting":!0,"data-article-id":t.baseID.replace("gid://shopify/OnlineStoreBlog/",""),children:m(b)?e(d,{}):b})},t.baseID))})})})};export{ArticleList as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{template as t,makeStyleResponsive as e,makeWidth as r,getResponsiveValueByScreen as i,cls as l}from"@gem-sdk/core";let ArticleList=({setting:a,styles:m,className:c,children:s,advanced:d})=>{let f=a?.articleSetting,n=f?.articleIds?.filter((t,e)=>e<(f?.articleIds?.length||4));return t`
|
|
2
|
+
<div style="${{...e("w",r(m?.width,m?.fullWidth)),...e("rg",m?.horizontalGutter),...e("cg",m?.verticalGutter),...e("gtc",{desktop:`repeat(${i(a?.numberOfArticle,"desktop")}, minmax(0, 1fr))`,tablet:a?.numberOfArticle?.tablet&&`repeat(${i(a?.numberOfArticle,"tablet")}, minmax(0, 1fr))`,mobile:a?.numberOfArticle?.mobile&&`repeat(${i(a?.numberOfArticle,"mobile")}, minmax(0, 1fr))`})}}"
|
|
3
|
+
class="${l(c,"gp-grid !gp-m-auto gp-w-full",d?.cssClass)}"
|
|
4
|
+
>
|
|
5
|
+
${n?.map(()=>`<div>${s??""}</div>`).join("")}
|
|
6
|
+
</div>
|
|
7
|
+
`};export{ArticleList as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import"@gem-sdk/core";import"react";import"next/head";import"next/link";import o from"../../collection/components/CollectionPaginator.js";let ArticlePagination=i=>t(o,{...i});export{ArticlePagination as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"@gem-sdk/core";import o from"../../collection/components/CollectionPaginator.liquid.js";let ArticlePagination=i=>o(i);export{ArticlePagination as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import e from"../../text/components/Text.js";import r from"../../button/components/Button.js";let ArticleReadMore=({setting:i,builderAttrs:o,builderProps:l,styles:s,style:d,advanced:n})=>{let{readMoreType:a,content:m}=i??{},{globalSize:u}=s;return t("div",{id:`shopify-text-element-${l?.uid}`,"data-article-id":l?.uid,children:"text"===a?t(e,{styles:s,setting:{...i,text:m,globalSize:u}}):t(r,{builderAttrs:o,builderProps:l,setting:{...i,label:m,htmlType:"button"},styles:s,style:d,advanced:n})})};export{ArticleReadMore as default};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{template as t,RenderIf as e}from"@gem-sdk/core";import o from"../../text/components/Text.liquid.js";import s from"../../button/components/Button.liquid.js";let ArticleReadMore=({setting:r,styles:l,builderAttrs:n,builderProps:i,advanced:m,style:a})=>{let{readMoreType:u,content:p}=r??{},{globalSize:d}=l??{};return t`
|
|
2
|
+
<a href="${"https://minhtran-01.myshopify.com/blogs/news/blog-about-your-latest-products-or-deals"}">
|
|
3
|
+
${e("text"===u,o({builderAttrs:n,builderProps:i,advanced:m,styles:l??{},style:a??{},setting:{...r,text:p,globalSize:d}}))}
|
|
4
|
+
${e("button"===u,s({builderAttrs:n,builderProps:i,advanced:m,styles:l??{},style:a??{},setting:{...r,label:p,htmlType:"button"}}))}
|
|
5
|
+
</a>
|
|
6
|
+
`};export{ArticleReadMore as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import e from"../../text/components/Text.js";import{useArticleStore as r}from"@gem-sdk/core";import{useMemo as i}from"react";let ArticleTag=({setting:o,builderProps:a,styles:l})=>{let m=r(t=>t.article),d=i(()=>m.tags||"No tags found",[m]);return t("div",{id:`shopify-text-element-${a?.uid}`,"data-article-id":a?.uid,children:t(e,{styles:l,setting:{...o,text:d,excludeFlex:!0}})})};export{ArticleTag as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import e from"next/link";import i from"../../text/components/Text.js";import{useArticleStore as l}from"@gem-sdk/core";let ArticleTitle=({setting:r,builderProps:n,styles:o})=>{let c=l(t=>t.article);return t("div",{id:`shopify-text-element-${n?.uid}`,"data-article-id":n?.uid,children:c?r?.linkArticle?t(e,{href:"#",title:c?.title,children:t(i,{styles:o,setting:{...r,text:c.title,excludeFlex:!0}})}):t(i,{styles:o,setting:{...r,text:c.title,excludeFlex:!0}}):null})};export{ArticleTitle as default};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{template as t}from"@gem-sdk/core";import e from"../../text/components/Text.liquid.js";let ArticleTitle=({setting:l,styles:i,advanced:o})=>{let r={linkArticle:"https://minhtran-01.myshopify.com/blogs/news/blog-about-your-latest-products-or-deals",title:"This is how often you should clean everything in your bedroom"};return t`
|
|
2
|
+
${l?.linkArticle?`
|
|
3
|
+
<a href="${r.linkArticle}" title="${r.title}">
|
|
4
|
+
${e({styles:i,setting:{...l,text:r.title,excludeFlex:!0},advanced:o})}
|
|
5
|
+
</a>
|
|
6
|
+
`:`
|
|
7
|
+
${e({styles:i,setting:{...l,text:r.title,excludeFlex:!0},advanced:o})}
|
|
8
|
+
`}
|
|
9
|
+
`};export{ArticleTitle as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import t from"next/dynamic";import e from"../common/components/Loading.js";import"react/jsx-runtime";let ArticleList=t(()=>import("./components/ArticleList.js"),{loading:e}),ArticleTitle=t(()=>import("./components/ArticleTitle.js"),{loading:e}),ArticleExcerpt=t(()=>import("./components/ArticleExcerpt.js"),{loading:e}),ArticleContent=t(()=>import("./components/ArticleContent.js"),{loading:e}),ArticleImage=t(()=>import("./components/ArticleImage.js"),{loading:e}),ArticlePagination=t(()=>import("./components/ArticlePagination.js"),{loading:e}),ArticleAuthor=t(()=>import("./components/ArticleAuthor.js"),{loading:e}),ArticleTag=t(()=>import("./components/ArticleTag.js"),{loading:e}),ArticleCategory=t(()=>import("./components/ArticleCategory.js"),{loading:e}),ArticleDate=t(()=>import("./components/ArticleDate.js"),{loading:e}),ArticleReadMore=t(()=>import("./components/ArticleReadMore.js"),{loading:e});var article={ArticleList,ArticleTitle,ArticleExcerpt,ArticleContent,ArticleImage,ArticlePagination,ArticleAuthor,ArticleTag,ArticleCategory,ArticleDate,ArticleReadMore};export{article as default};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
let config={tag:"ArticleAuthor",label:"Article Author",icon:`
|
|
2
|
+
<svg width="94" height="48" viewBox="0 0 94 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M21.4396 28V19.2727H22.4453V22.4943H22.5305C22.6044 22.3807 22.7067 22.2358 22.8374 22.0597C22.9709 21.8807 23.1612 21.7216 23.4084 21.5824C23.6584 21.4403 23.9964 21.3693 24.4226 21.3693C24.9737 21.3693 25.4595 21.5071 25.88 21.7827C26.3004 22.0582 26.6286 22.4489 26.8643 22.9545C27.1001 23.4602 27.218 24.0568 27.218 24.7443C27.218 25.4375 27.1001 26.0384 26.8643 26.5469C26.6286 27.0526 26.3018 27.4446 25.8842 27.723C25.4666 27.9986 24.9851 28.1364 24.4396 28.1364C24.0192 28.1364 23.6825 28.0668 23.4297 27.9276C23.1768 27.7855 22.9822 27.625 22.8459 27.446C22.7095 27.2642 22.6044 27.1136 22.5305 26.9943H22.4112V28H21.4396ZM22.4283 24.7273C22.4283 25.2216 22.5007 25.6577 22.6456 26.0355C22.7905 26.4105 23.0021 26.7045 23.2805 26.9176C23.5589 27.1278 23.8999 27.233 24.3033 27.233C24.7237 27.233 25.0746 27.1222 25.3558 26.9006C25.6399 26.6761 25.853 26.375 25.995 25.9972C26.1399 25.6165 26.2124 25.1932 26.2124 24.7273C26.2124 24.267 26.1413 23.8523 25.9993 23.483C25.8601 23.1108 25.6484 22.8168 25.3643 22.6009C25.0831 22.3821 24.7294 22.2727 24.3033 22.2727C23.8942 22.2727 23.5504 22.3764 23.272 22.5838C22.9936 22.7884 22.7834 23.0753 22.6413 23.4446C22.4993 23.8111 22.4283 24.2386 22.4283 24.7273ZM29.1697 30.4545C28.9993 30.4545 28.8473 30.4403 28.7138 30.4119C28.5803 30.3864 28.4879 30.3608 28.4368 30.3352L28.6925 29.4489C28.9368 29.5114 29.1527 29.5341 29.3402 29.517C29.5277 29.5 29.6939 29.4162 29.8388 29.2656C29.9865 29.1179 30.1214 28.8778 30.2436 28.5455L30.4311 28.0341L28.0107 21.4545H29.1016L30.9084 26.6705H30.9766L32.7834 21.4545H33.8743L31.0959 28.9545C30.9709 29.2926 30.8161 29.5724 30.6314 29.794C30.4467 30.0185 30.2322 30.1847 29.9879 30.2926C29.7464 30.4006 29.4737 30.4545 29.1697 30.4545ZM42.054 19.2727H43.1108V25.5114C43.1108 26.0682 43.0085 26.5412 42.804 26.9304C42.5994 27.3196 42.3111 27.6151 41.9389 27.8168C41.5668 28.0185 41.1278 28.1193 40.6222 28.1193C40.1449 28.1193 39.7202 28.0327 39.348 27.8594C38.9759 27.6832 38.6832 27.4332 38.4702 27.1094C38.2571 26.7855 38.1506 26.4006 38.1506 25.9545H39.1903C39.1903 26.2017 39.2514 26.4176 39.3736 26.6023C39.4986 26.7841 39.669 26.9261 39.8849 27.0284C40.1009 27.1307 40.3466 27.1818 40.6222 27.1818C40.9261 27.1818 41.1847 27.1179 41.3977 26.9901C41.6108 26.8622 41.7727 26.6747 41.8835 26.4276C41.9972 26.1776 42.054 25.8722 42.054 25.5114V19.2727ZM47.0185 28.1534C46.6037 28.1534 46.2273 28.0753 45.8892 27.919C45.5511 27.7599 45.2827 27.5312 45.0838 27.233C44.8849 26.9318 44.7855 26.5682 44.7855 26.142C44.7855 25.767 44.8594 25.4631 45.0071 25.2301C45.1548 24.9943 45.3523 24.8097 45.5994 24.6761C45.8466 24.5426 46.1193 24.4432 46.4176 24.3778C46.7188 24.3097 47.0213 24.2557 47.3253 24.2159C47.723 24.1648 48.0455 24.1264 48.2926 24.1009C48.5426 24.0724 48.7244 24.0256 48.8381 23.9602C48.9545 23.8949 49.0128 23.7812 49.0128 23.6193V23.5852C49.0128 23.1648 48.8977 22.8381 48.6676 22.6051C48.4403 22.3722 48.0952 22.2557 47.6321 22.2557C47.152 22.2557 46.7756 22.3608 46.5028 22.571C46.2301 22.7812 46.0384 23.0057 45.9276 23.2443L44.973 22.9034C45.1435 22.5057 45.3707 22.196 45.6548 21.9744C45.9418 21.75 46.2543 21.5937 46.5923 21.5057C46.9332 21.4148 47.2685 21.3693 47.598 21.3693C47.8082 21.3693 48.0497 21.3949 48.3224 21.446C48.598 21.4943 48.8636 21.5952 49.1193 21.7486C49.3778 21.902 49.5923 22.1335 49.7628 22.4432C49.9332 22.7528 50.0185 23.1676 50.0185 23.6875V28H49.0128V27.1136H48.9616C48.8935 27.2557 48.7798 27.4077 48.6207 27.5696C48.4616 27.7315 48.25 27.8693 47.9858 27.983C47.7216 28.0966 47.3991 28.1534 47.0185 28.1534ZM47.1719 27.25C47.5696 27.25 47.9048 27.1719 48.1776 27.0156C48.4531 26.8594 48.6605 26.6577 48.7997 26.4105C48.9418 26.1634 49.0128 25.9034 49.0128 25.6307V24.7102C48.9702 24.7614 48.8764 24.8082 48.7315 24.8509C48.5895 24.8906 48.4247 24.9261 48.2372 24.9574C48.0526 24.9858 47.8722 25.0114 47.696 25.0341C47.5227 25.054 47.3821 25.071 47.2741 25.0852C47.0128 25.1193 46.7685 25.1747 46.5412 25.2514C46.3168 25.3253 46.1349 25.4375 45.9957 25.5881C45.8594 25.7358 45.7912 25.9375 45.7912 26.1932C45.7912 26.5426 45.9205 26.8068 46.179 26.9858C46.4403 27.1619 46.7713 27.25 47.1719 27.25ZM51.854 28V21.4545H52.8256V22.4773H52.9109C53.0472 22.1278 53.2674 21.8565 53.5714 21.6634C53.8754 21.4673 54.2404 21.3693 54.6665 21.3693C55.0984 21.3693 55.4577 21.4673 55.7447 21.6634C56.0344 21.8565 56.2603 22.1278 56.4222 22.4773H56.4904C56.658 22.1392 56.9094 21.8707 57.2447 21.6719C57.5799 21.4702 57.9819 21.3693 58.4506 21.3693C59.0359 21.3693 59.5146 21.5526 59.8867 21.919C60.2589 22.2827 60.445 22.8494 60.445 23.6193V28H59.4393V23.6193C59.4393 23.1364 59.3072 22.7912 59.043 22.5838C58.7788 22.3764 58.4677 22.2727 58.1097 22.2727C57.6495 22.2727 57.293 22.4119 57.0401 22.6903C56.7873 22.9659 56.6609 23.3153 56.6609 23.7386V28H55.6381V23.517C55.6381 23.1449 55.5174 22.8452 55.2759 22.6179C55.0344 22.3878 54.7234 22.2727 54.3427 22.2727C54.0813 22.2727 53.837 22.3423 53.6097 22.4815C53.3853 22.6207 53.2035 22.8139 53.0643 23.0611C52.9279 23.3054 52.8597 23.5881 52.8597 23.9091V28H51.854ZM65.0281 28.1364C64.3974 28.1364 63.8533 27.9972 63.396 27.7188C62.9414 27.4375 62.5906 27.0455 62.3434 26.5426C62.0991 26.0369 61.9769 25.4489 61.9769 24.7784C61.9769 24.108 62.0991 23.517 62.3434 23.0057C62.5906 22.4915 62.9343 22.0909 63.3746 21.804C63.8178 21.5142 64.3349 21.3693 64.9258 21.3693C65.2667 21.3693 65.6033 21.4261 65.9357 21.5398C66.2681 21.6534 66.5707 21.8381 66.8434 22.0938C67.1161 22.3466 67.3335 22.6818 67.4954 23.0994C67.6573 23.517 67.7383 24.0312 67.7383 24.642V25.0682H62.6928V24.1989H66.7156C66.7156 23.8295 66.6417 23.5 66.494 23.2102C66.3491 22.9205 66.1417 22.6918 65.8718 22.5241C65.6048 22.3565 65.2894 22.2727 64.9258 22.2727C64.5252 22.2727 64.1786 22.3722 63.886 22.571C63.5962 22.767 63.3732 23.0227 63.217 23.3381C63.0607 23.6534 62.9826 23.9915 62.9826 24.3523V24.9318C62.9826 25.4261 63.0678 25.8452 63.2383 26.1889C63.4116 26.5298 63.6516 26.7898 63.9585 26.9688C64.2653 27.1449 64.6218 27.233 65.0281 27.233C65.2923 27.233 65.5309 27.196 65.744 27.1222C65.9599 27.0455 66.146 26.9318 66.3022 26.7812C66.4585 26.6278 66.5792 26.4375 66.6644 26.2102L67.636 26.483C67.5337 26.8125 67.3619 27.1023 67.1204 27.3523C66.8789 27.5994 66.5806 27.7926 66.2255 27.9318C65.8704 28.0682 65.4712 28.1364 65.0281 28.1364ZM73.9045 22.9205L73.0011 23.1761C72.9442 23.0256 72.8604 22.8793 72.7496 22.7372C72.6417 22.5923 72.494 22.473 72.3065 22.3793C72.119 22.2855 71.8789 22.2386 71.5863 22.2386C71.1857 22.2386 70.8519 22.331 70.5849 22.5156C70.3207 22.6974 70.1886 22.929 70.1886 23.2102C70.1886 23.4602 70.2795 23.6577 70.4613 23.8026C70.6431 23.9474 70.9272 24.0682 71.3136 24.1648L72.2852 24.4034C72.8704 24.5455 73.3065 24.7628 73.5934 25.0554C73.8803 25.3452 74.0238 25.7187 74.0238 26.1761C74.0238 26.5511 73.9158 26.8864 73.6999 27.1818C73.4869 27.4773 73.1886 27.7102 72.805 27.8807C72.4215 28.0511 71.9755 28.1364 71.467 28.1364C70.7994 28.1364 70.2468 27.9915 69.8093 27.7017C69.3718 27.4119 69.0948 26.9886 68.9783 26.4318L69.9329 26.1932C70.0238 26.5455 70.1957 26.8097 70.4485 26.9858C70.7042 27.1619 71.038 27.25 71.4499 27.25C71.9187 27.25 72.2908 27.1506 72.5664 26.9517C72.8448 26.75 72.984 26.5085 72.984 26.2273C72.984 26 72.9045 25.8097 72.7454 25.6562C72.5863 25.5 72.342 25.3835 72.0124 25.3068L70.9215 25.0511C70.3221 24.9091 69.8817 24.6889 69.6005 24.3906C69.3221 24.0895 69.1829 23.7131 69.1829 23.2614C69.1829 22.892 69.2866 22.5653 69.494 22.2812C69.7042 21.9972 69.9897 21.7741 70.3505 21.6122C70.7141 21.4503 71.1261 21.3693 71.5863 21.3693C72.234 21.3693 72.7425 21.5114 73.1119 21.7955C73.484 22.0795 73.7482 22.4545 73.9045 22.9205Z" fill="#AAAAAA"/>
|
|
4
|
+
</svg>
|
|
5
|
+
`,settings:[{id:"setting",controls:[{id:"htmlTag",label:"HTML Tag",type:"select",options:[{value:"h1",label:"H1"},{value:"h2",label:"H2"},{value:"h3",label:"H3"},{value:"h4",label:"H4"},{value:"h5",label:"H5"},{value:"h6",label:"H6"}],default:"h1"},{id:"prefix",label:"Prefix",type:"input",default:"By",suffix:"#author"}]},{id:"style",controls:[{id:"typo",type:"typography-v2",default:{type:"subheading-3"},ignoreReRender:!0,hiddenSetting:{color:!0}},{id:"textAlign",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"text"},{label:"Center",value:"center",type:"text"},{label:"Right",value:"right",type:"text"},{label:"Justify",value:"justify",type:"text"}],devices:{desktop:{default:"left"}}},{id:"color",label:"Text Color",type:"colorpicker",default:{normal:"text-2"},state:{normal:!0,hover:!0}},{id:"hasTextShadow",type:"toggle",label:"Enable Text Shadow",default:{normal:!1,hover:!1},state:{normal:!0,hover:!0}},{id:"textShadow",type:"textShadow",label:"Text Shadow",hideOnState:{normal:!0,hover:!0},default:{normal:{type:"shadow-1"}},state:{normal:!0,hover:!0}}]}],ui:[{type:"control",label:{en:"Prefix"},setting:{id:"prefix"},options:{label:"large"}},{type:"control",label:{en:"Text"},setting:{id:"typo"},layout:"vertical"},{type:"group",label:{en:"States"},options:{labelSpacing:"small"},controls:[{type:"tab",controls:[{type:"group",label:{en:"Normal"},controls:[{type:"control",label:{en:"Text color"},setting:{id:"color",state:"normal"}}]},{type:"group",label:{en:"Hover"},controls:[{type:"control",label:{en:"Text color"},setting:{id:"color",state:"hover"}}]}]}]},{type:"control",label:{en:"Align"},setting:{id:"textAlign"}},{type:"group",label:{en:"SEO"},controls:[{type:"control",label:{en:"HTML tag"},setting:{id:"htmlTag"}}]}],editorConfigs:{placeholder:{flowTag:["ArticleList"]}},presets:[{id:"article-author",name:{en:"Article Author"},icon:{desktop:`
|
|
6
|
+
<svg width="94" height="48" viewBox="0 0 94 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
7
|
+
<path d="M21.4396 28V19.2727H22.4453V22.4943H22.5305C22.6044 22.3807 22.7067 22.2358 22.8374 22.0597C22.9709 21.8807 23.1612 21.7216 23.4084 21.5824C23.6584 21.4403 23.9964 21.3693 24.4226 21.3693C24.9737 21.3693 25.4595 21.5071 25.88 21.7827C26.3004 22.0582 26.6286 22.4489 26.8643 22.9545C27.1001 23.4602 27.218 24.0568 27.218 24.7443C27.218 25.4375 27.1001 26.0384 26.8643 26.5469C26.6286 27.0526 26.3018 27.4446 25.8842 27.723C25.4666 27.9986 24.9851 28.1364 24.4396 28.1364C24.0192 28.1364 23.6825 28.0668 23.4297 27.9276C23.1768 27.7855 22.9822 27.625 22.8459 27.446C22.7095 27.2642 22.6044 27.1136 22.5305 26.9943H22.4112V28H21.4396ZM22.4283 24.7273C22.4283 25.2216 22.5007 25.6577 22.6456 26.0355C22.7905 26.4105 23.0021 26.7045 23.2805 26.9176C23.5589 27.1278 23.8999 27.233 24.3033 27.233C24.7237 27.233 25.0746 27.1222 25.3558 26.9006C25.6399 26.6761 25.853 26.375 25.995 25.9972C26.1399 25.6165 26.2124 25.1932 26.2124 24.7273C26.2124 24.267 26.1413 23.8523 25.9993 23.483C25.8601 23.1108 25.6484 22.8168 25.3643 22.6009C25.0831 22.3821 24.7294 22.2727 24.3033 22.2727C23.8942 22.2727 23.5504 22.3764 23.272 22.5838C22.9936 22.7884 22.7834 23.0753 22.6413 23.4446C22.4993 23.8111 22.4283 24.2386 22.4283 24.7273ZM29.1697 30.4545C28.9993 30.4545 28.8473 30.4403 28.7138 30.4119C28.5803 30.3864 28.4879 30.3608 28.4368 30.3352L28.6925 29.4489C28.9368 29.5114 29.1527 29.5341 29.3402 29.517C29.5277 29.5 29.6939 29.4162 29.8388 29.2656C29.9865 29.1179 30.1214 28.8778 30.2436 28.5455L30.4311 28.0341L28.0107 21.4545H29.1016L30.9084 26.6705H30.9766L32.7834 21.4545H33.8743L31.0959 28.9545C30.9709 29.2926 30.8161 29.5724 30.6314 29.794C30.4467 30.0185 30.2322 30.1847 29.9879 30.2926C29.7464 30.4006 29.4737 30.4545 29.1697 30.4545ZM42.054 19.2727H43.1108V25.5114C43.1108 26.0682 43.0085 26.5412 42.804 26.9304C42.5994 27.3196 42.3111 27.6151 41.9389 27.8168C41.5668 28.0185 41.1278 28.1193 40.6222 28.1193C40.1449 28.1193 39.7202 28.0327 39.348 27.8594C38.9759 27.6832 38.6832 27.4332 38.4702 27.1094C38.2571 26.7855 38.1506 26.4006 38.1506 25.9545H39.1903C39.1903 26.2017 39.2514 26.4176 39.3736 26.6023C39.4986 26.7841 39.669 26.9261 39.8849 27.0284C40.1009 27.1307 40.3466 27.1818 40.6222 27.1818C40.9261 27.1818 41.1847 27.1179 41.3977 26.9901C41.6108 26.8622 41.7727 26.6747 41.8835 26.4276C41.9972 26.1776 42.054 25.8722 42.054 25.5114V19.2727ZM47.0185 28.1534C46.6037 28.1534 46.2273 28.0753 45.8892 27.919C45.5511 27.7599 45.2827 27.5312 45.0838 27.233C44.8849 26.9318 44.7855 26.5682 44.7855 26.142C44.7855 25.767 44.8594 25.4631 45.0071 25.2301C45.1548 24.9943 45.3523 24.8097 45.5994 24.6761C45.8466 24.5426 46.1193 24.4432 46.4176 24.3778C46.7188 24.3097 47.0213 24.2557 47.3253 24.2159C47.723 24.1648 48.0455 24.1264 48.2926 24.1009C48.5426 24.0724 48.7244 24.0256 48.8381 23.9602C48.9545 23.8949 49.0128 23.7812 49.0128 23.6193V23.5852C49.0128 23.1648 48.8977 22.8381 48.6676 22.6051C48.4403 22.3722 48.0952 22.2557 47.6321 22.2557C47.152 22.2557 46.7756 22.3608 46.5028 22.571C46.2301 22.7812 46.0384 23.0057 45.9276 23.2443L44.973 22.9034C45.1435 22.5057 45.3707 22.196 45.6548 21.9744C45.9418 21.75 46.2543 21.5937 46.5923 21.5057C46.9332 21.4148 47.2685 21.3693 47.598 21.3693C47.8082 21.3693 48.0497 21.3949 48.3224 21.446C48.598 21.4943 48.8636 21.5952 49.1193 21.7486C49.3778 21.902 49.5923 22.1335 49.7628 22.4432C49.9332 22.7528 50.0185 23.1676 50.0185 23.6875V28H49.0128V27.1136H48.9616C48.8935 27.2557 48.7798 27.4077 48.6207 27.5696C48.4616 27.7315 48.25 27.8693 47.9858 27.983C47.7216 28.0966 47.3991 28.1534 47.0185 28.1534ZM47.1719 27.25C47.5696 27.25 47.9048 27.1719 48.1776 27.0156C48.4531 26.8594 48.6605 26.6577 48.7997 26.4105C48.9418 26.1634 49.0128 25.9034 49.0128 25.6307V24.7102C48.9702 24.7614 48.8764 24.8082 48.7315 24.8509C48.5895 24.8906 48.4247 24.9261 48.2372 24.9574C48.0526 24.9858 47.8722 25.0114 47.696 25.0341C47.5227 25.054 47.3821 25.071 47.2741 25.0852C47.0128 25.1193 46.7685 25.1747 46.5412 25.2514C46.3168 25.3253 46.1349 25.4375 45.9957 25.5881C45.8594 25.7358 45.7912 25.9375 45.7912 26.1932C45.7912 26.5426 45.9205 26.8068 46.179 26.9858C46.4403 27.1619 46.7713 27.25 47.1719 27.25ZM51.854 28V21.4545H52.8256V22.4773H52.9109C53.0472 22.1278 53.2674 21.8565 53.5714 21.6634C53.8754 21.4673 54.2404 21.3693 54.6665 21.3693C55.0984 21.3693 55.4577 21.4673 55.7447 21.6634C56.0344 21.8565 56.2603 22.1278 56.4222 22.4773H56.4904C56.658 22.1392 56.9094 21.8707 57.2447 21.6719C57.5799 21.4702 57.9819 21.3693 58.4506 21.3693C59.0359 21.3693 59.5146 21.5526 59.8867 21.919C60.2589 22.2827 60.445 22.8494 60.445 23.6193V28H59.4393V23.6193C59.4393 23.1364 59.3072 22.7912 59.043 22.5838C58.7788 22.3764 58.4677 22.2727 58.1097 22.2727C57.6495 22.2727 57.293 22.4119 57.0401 22.6903C56.7873 22.9659 56.6609 23.3153 56.6609 23.7386V28H55.6381V23.517C55.6381 23.1449 55.5174 22.8452 55.2759 22.6179C55.0344 22.3878 54.7234 22.2727 54.3427 22.2727C54.0813 22.2727 53.837 22.3423 53.6097 22.4815C53.3853 22.6207 53.2035 22.8139 53.0643 23.0611C52.9279 23.3054 52.8597 23.5881 52.8597 23.9091V28H51.854ZM65.0281 28.1364C64.3974 28.1364 63.8533 27.9972 63.396 27.7188C62.9414 27.4375 62.5906 27.0455 62.3434 26.5426C62.0991 26.0369 61.9769 25.4489 61.9769 24.7784C61.9769 24.108 62.0991 23.517 62.3434 23.0057C62.5906 22.4915 62.9343 22.0909 63.3746 21.804C63.8178 21.5142 64.3349 21.3693 64.9258 21.3693C65.2667 21.3693 65.6033 21.4261 65.9357 21.5398C66.2681 21.6534 66.5707 21.8381 66.8434 22.0938C67.1161 22.3466 67.3335 22.6818 67.4954 23.0994C67.6573 23.517 67.7383 24.0312 67.7383 24.642V25.0682H62.6928V24.1989H66.7156C66.7156 23.8295 66.6417 23.5 66.494 23.2102C66.3491 22.9205 66.1417 22.6918 65.8718 22.5241C65.6048 22.3565 65.2894 22.2727 64.9258 22.2727C64.5252 22.2727 64.1786 22.3722 63.886 22.571C63.5962 22.767 63.3732 23.0227 63.217 23.3381C63.0607 23.6534 62.9826 23.9915 62.9826 24.3523V24.9318C62.9826 25.4261 63.0678 25.8452 63.2383 26.1889C63.4116 26.5298 63.6516 26.7898 63.9585 26.9688C64.2653 27.1449 64.6218 27.233 65.0281 27.233C65.2923 27.233 65.5309 27.196 65.744 27.1222C65.9599 27.0455 66.146 26.9318 66.3022 26.7812C66.4585 26.6278 66.5792 26.4375 66.6644 26.2102L67.636 26.483C67.5337 26.8125 67.3619 27.1023 67.1204 27.3523C66.8789 27.5994 66.5806 27.7926 66.2255 27.9318C65.8704 28.0682 65.4712 28.1364 65.0281 28.1364ZM73.9045 22.9205L73.0011 23.1761C72.9442 23.0256 72.8604 22.8793 72.7496 22.7372C72.6417 22.5923 72.494 22.473 72.3065 22.3793C72.119 22.2855 71.8789 22.2386 71.5863 22.2386C71.1857 22.2386 70.8519 22.331 70.5849 22.5156C70.3207 22.6974 70.1886 22.929 70.1886 23.2102C70.1886 23.4602 70.2795 23.6577 70.4613 23.8026C70.6431 23.9474 70.9272 24.0682 71.3136 24.1648L72.2852 24.4034C72.8704 24.5455 73.3065 24.7628 73.5934 25.0554C73.8803 25.3452 74.0238 25.7187 74.0238 26.1761C74.0238 26.5511 73.9158 26.8864 73.6999 27.1818C73.4869 27.4773 73.1886 27.7102 72.805 27.8807C72.4215 28.0511 71.9755 28.1364 71.467 28.1364C70.7994 28.1364 70.2468 27.9915 69.8093 27.7017C69.3718 27.4119 69.0948 26.9886 68.9783 26.4318L69.9329 26.1932C70.0238 26.5455 70.1957 26.8097 70.4485 26.9858C70.7042 27.1619 71.038 27.25 71.4499 27.25C71.9187 27.25 72.2908 27.1506 72.5664 26.9517C72.8448 26.75 72.984 26.5085 72.984 26.2273C72.984 26 72.9045 25.8097 72.7454 25.6562C72.5863 25.5 72.342 25.3835 72.0124 25.3068L70.9215 25.0511C70.3221 24.9091 69.8817 24.6889 69.6005 24.3906C69.3221 24.0895 69.1829 23.7131 69.1829 23.2614C69.1829 22.892 69.2866 22.5653 69.494 22.2812C69.7042 21.9972 69.9897 21.7741 70.3505 21.6122C70.7141 21.4503 71.1261 21.3693 71.5863 21.3693C72.234 21.3693 72.7425 21.5114 73.1119 21.7955C73.484 22.0795 73.7482 22.4545 73.9045 22.9205Z" fill="#AAAAAA"/>
|
|
8
|
+
</svg>
|
|
9
|
+
`},components:[{tag:"ArticleAuthor",settings:{htmlTag:"h3"},styles:{typo:{type:"paragraph-2",custom:{fontSize:{desktop:"12px",tablet:"14px",mobile:"12px"},fontWeight:"400",lineHeight:{desktop:"180%",tablet:"180%",mobile:"180%"},fontFamily:"Assistant"}},color:{normal:"#777777"}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}}]}],locales:{editor:{en:{article_not_found:"Article Not Found"}}}};export{config as default};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
let config={tag:"ArticleCategory",label:"Article Category",icon:`
|
|
2
|
+
<svg width="94" height="48" viewBox="0 0 94 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M26.4611 28V19.2727H31.6941V20.2102H27.5179V23.1591H31.302V24.0966H27.5179V28H26.4611ZM35.2939 28.1534C34.8791 28.1534 34.5027 28.0753 34.1646 27.919C33.8265 27.7599 33.5581 27.5312 33.3592 27.233C33.1603 26.9318 33.0609 26.5682 33.0609 26.142C33.0609 25.767 33.1348 25.4631 33.2825 25.2301C33.4302 24.9943 33.6277 24.8097 33.8748 24.6761C34.122 24.5426 34.3947 24.4432 34.693 24.3778C34.9941 24.3097 35.2967 24.2557 35.6007 24.2159C35.9984 24.1648 36.3208 24.1264 36.568 24.1009C36.818 24.0724 36.9998 24.0256 37.1135 23.9602C37.2299 23.8949 37.2882 23.7812 37.2882 23.6193V23.5852C37.2882 23.1648 37.1731 22.8381 36.943 22.6051C36.7157 22.3722 36.3706 22.2557 35.9075 22.2557C35.4274 22.2557 35.051 22.3608 34.7782 22.571C34.5055 22.7812 34.3137 23.0057 34.2029 23.2443L33.2484 22.9034C33.4189 22.5057 33.6461 22.196 33.9302 21.9744C34.2172 21.75 34.5297 21.5937 34.8677 21.5057C35.2086 21.4148 35.5439 21.3693 35.8734 21.3693C36.0836 21.3693 36.3251 21.3949 36.5978 21.446C36.8734 21.4943 37.139 21.5952 37.3947 21.7486C37.6532 21.902 37.8677 22.1335 38.0382 22.4432C38.2086 22.7528 38.2939 23.1676 38.2939 23.6875V28H37.2882V27.1136H37.237C37.1689 27.2557 37.0552 27.4077 36.8961 27.5696C36.737 27.7315 36.5254 27.8693 36.2612 27.983C35.997 28.0966 35.6745 28.1534 35.2939 28.1534ZM35.4473 27.25C35.845 27.25 36.1802 27.1719 36.4529 27.0156C36.7285 26.8594 36.9359 26.6577 37.0751 26.4105C37.2172 26.1634 37.2882 25.9034 37.2882 25.6307V24.7102C37.2456 24.7614 37.1518 24.8082 37.0069 24.8509C36.8649 24.8906 36.7001 24.9261 36.5126 24.9574C36.3279 24.9858 36.1475 25.0114 35.9714 25.0341C35.7981 25.054 35.6575 25.071 35.5495 25.0852C35.2882 25.1193 35.0439 25.1747 34.8166 25.2514C34.5922 25.3253 34.4103 25.4375 34.2711 25.5881C34.1348 25.7358 34.0666 25.9375 34.0666 26.1932C34.0666 26.5426 34.1958 26.8068 34.4544 26.9858C34.7157 27.1619 35.0467 27.25 35.4473 27.25ZM44.7658 22.9205L43.8624 23.1761C43.8056 23.0256 43.7218 22.8793 43.611 22.7372C43.503 22.5923 43.3553 22.473 43.1678 22.3793C42.9803 22.2855 42.7402 22.2386 42.4476 22.2386C42.0471 22.2386 41.7132 22.331 41.4462 22.5156C41.182 22.6974 41.0499 22.929 41.0499 23.2102C41.0499 23.4602 41.1408 23.6577 41.3226 23.8026C41.5044 23.9474 41.7885 24.0682 42.1749 24.1648L43.1465 24.4034C43.7317 24.5455 44.1678 24.7628 44.4547 25.0554C44.7417 25.3452 44.8851 25.7187 44.8851 26.1761C44.8851 26.5511 44.7772 26.8864 44.5613 27.1818C44.3482 27.4773 44.0499 27.7102 43.6664 27.8807C43.2828 28.0511 42.8368 28.1364 42.3283 28.1364C41.6607 28.1364 41.1081 27.9915 40.6706 27.7017C40.2331 27.4119 39.9561 26.9886 39.8397 26.4318L40.7942 26.1932C40.8851 26.5455 41.057 26.8097 41.3098 26.9858C41.5655 27.1619 41.8993 27.25 42.3113 27.25C42.78 27.25 43.1522 27.1506 43.4277 26.9517C43.7061 26.75 43.8453 26.5085 43.8453 26.2273C43.8453 26 43.7658 25.8097 43.6067 25.6562C43.4476 25.5 43.2033 25.3835 42.8738 25.3068L41.7828 25.0511C41.1834 24.9091 40.7431 24.6889 40.4618 24.3906C40.1834 24.0895 40.0442 23.7131 40.0442 23.2614C40.0442 22.892 40.1479 22.5653 40.3553 22.2812C40.5655 21.9972 40.851 21.7741 41.2118 21.6122C41.5755 21.4503 41.9874 21.3693 42.4476 21.3693C43.0953 21.3693 43.6039 21.5114 43.9732 21.7955C44.3453 22.0795 44.6096 22.4545 44.7658 22.9205ZM47.4047 24.0625V28H46.399V19.2727H47.4047V22.4773H47.4899C47.6433 22.1392 47.8734 21.8707 48.1802 21.6719C48.4899 21.4702 48.9018 21.3693 49.416 21.3693C49.862 21.3693 50.2527 21.4588 50.5879 21.6378C50.9231 21.8139 51.1831 22.0852 51.3677 22.4517C51.5552 22.8153 51.649 23.2784 51.649 23.8409V28H50.6433V23.9091C50.6433 23.3892 50.5083 22.9872 50.2385 22.7031C49.9714 22.4162 49.6007 22.2727 49.1262 22.2727C48.7967 22.2727 48.5012 22.3423 48.2399 22.4815C47.9814 22.6207 47.7768 22.8239 47.6262 23.0909C47.4785 23.358 47.4047 23.6818 47.4047 24.0625ZM53.4888 28V21.4545H54.4945V28H53.4888ZM54.0002 20.3636C53.8042 20.3636 53.6351 20.2969 53.4931 20.1634C53.3539 20.0298 53.2843 19.8693 53.2843 19.6818C53.2843 19.4943 53.3539 19.3338 53.4931 19.2003C53.6351 19.0668 53.8042 19 54.0002 19C54.1962 19 54.3638 19.0668 54.503 19.2003C54.6451 19.3338 54.7161 19.4943 54.7161 19.6818C54.7161 19.8693 54.6451 20.0298 54.503 20.1634C54.3638 20.2969 54.1962 20.3636 54.0002 20.3636ZM58.9956 28.1364C58.4047 28.1364 57.8862 27.9957 57.4402 27.7145C56.997 27.4332 56.6504 27.0398 56.4004 26.5341C56.1532 26.0284 56.0297 25.4375 56.0297 24.7614C56.0297 24.0795 56.1532 23.4844 56.4004 22.9759C56.6504 22.4673 56.997 22.0724 57.4402 21.7912C57.8862 21.5099 58.4047 21.3693 58.9956 21.3693C59.5865 21.3693 60.1035 21.5099 60.5467 21.7912C60.9927 22.0724 61.3393 22.4673 61.5865 22.9759C61.8365 23.4844 61.9615 24.0795 61.9615 24.7614C61.9615 25.4375 61.8365 26.0284 61.5865 26.5341C61.3393 27.0398 60.9927 27.4332 60.5467 27.7145C60.1035 27.9957 59.5865 28.1364 58.9956 28.1364ZM58.9956 27.233C59.4444 27.233 59.8137 27.1179 60.1035 26.8878C60.3933 26.6577 60.6078 26.3551 60.747 25.9801C60.8862 25.6051 60.9558 25.1989 60.9558 24.7614C60.9558 24.3239 60.8862 23.9162 60.747 23.5384C60.6078 23.1605 60.3933 22.8551 60.1035 22.6222C59.8137 22.3892 59.4444 22.2727 58.9956 22.2727C58.5467 22.2727 58.1774 22.3892 57.8876 22.6222C57.5978 22.8551 57.3833 23.1605 57.2441 23.5384C57.1049 23.9162 57.0353 24.3239 57.0353 24.7614C57.0353 25.1989 57.1049 25.6051 57.2441 25.9801C57.3833 26.3551 57.5978 26.6577 57.8876 26.8878C58.1774 27.1179 58.5467 27.233 58.9956 27.233ZM64.5023 24.0625V28H63.4966V21.4545H64.4682V22.4773H64.5534C64.7069 22.1449 64.9398 21.8778 65.2523 21.6761C65.5648 21.4716 65.9682 21.3693 66.4625 21.3693C66.9057 21.3693 67.2935 21.4602 67.6259 21.642C67.9583 21.821 68.2168 22.0938 68.4015 22.4602C68.5861 22.8239 68.6784 23.2841 68.6784 23.8409V28H67.6728V23.9091C67.6728 23.3949 67.5392 22.9943 67.2722 22.7074C67.0051 22.4176 66.6387 22.2727 66.1728 22.2727C65.8517 22.2727 65.5648 22.3423 65.312 22.4815C65.062 22.6207 64.8645 22.8239 64.7196 23.0909C64.5748 23.358 64.5023 23.6818 64.5023 24.0625Z" fill="#AAAAAA"/>
|
|
4
|
+
</svg>
|
|
5
|
+
`,settings:[{id:"setting",controls:[{id:"htmlTag",label:"HTML Tag",type:"select",options:[{value:"h1",label:"H1"},{value:"h2",label:"H2"},{value:"h3",label:"H3"},{value:"h4",label:"H4"},{value:"h5",label:"H5"},{value:"h6",label:"H6"}],default:"h1"}]},{id:"style",controls:[{id:"typo",type:"typography-v2",default:{type:"subheading-3"},ignoreReRender:!0,hiddenSetting:{color:!0}},{id:"textAlign",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"text"},{label:"Center",value:"center",type:"text"},{label:"Right",value:"right",type:"text"},{label:"Justify",value:"justify",type:"text"}],devices:{desktop:{default:"left"}}},{id:"color",label:"Text Color",type:"colorpicker",default:{normal:"text-2"},state:{normal:!0,hover:!0}},{id:"hasTextShadow",type:"toggle",label:"Enable Text Shadow",default:{normal:!1,hover:!1},state:{normal:!0,hover:!0}},{id:"textShadow",type:"textShadow",label:"Text Shadow",hideOnState:{normal:!0,hover:!0},default:{normal:{type:"shadow-1"}},state:{normal:!0,hover:!0}}]}],ui:[{type:"control",label:{en:"Text"},setting:{id:"typo"},layout:"vertical"},{type:"group",label:{en:"States"},options:{labelSpacing:"small"},controls:[{type:"tab",controls:[{type:"group",label:{en:"Normal"},controls:[{type:"control",label:{en:"Text color"},setting:{id:"color",state:"normal"}}]},{type:"group",label:{en:"Hover"},controls:[{type:"control",label:{en:"Text color"},setting:{id:"color",state:"hover"}}]}]}]},{type:"control",label:{en:"Align"},setting:{id:"textAlign"}},{type:"group",label:{en:"SEO"},controls:[{type:"control",label:{en:"HTML tag"},setting:{id:"htmlTag"}}]}],editorConfigs:{placeholder:{flowTag:["ArticleList"]}},presets:[{id:"article-category",name:{en:"Article Category"},icon:{desktop:`
|
|
6
|
+
<svg width="94" height="48" viewBox="0 0 94 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
7
|
+
<path d="M26.4611 28V19.2727H31.6941V20.2102H27.5179V23.1591H31.302V24.0966H27.5179V28H26.4611ZM35.2939 28.1534C34.8791 28.1534 34.5027 28.0753 34.1646 27.919C33.8265 27.7599 33.5581 27.5312 33.3592 27.233C33.1603 26.9318 33.0609 26.5682 33.0609 26.142C33.0609 25.767 33.1348 25.4631 33.2825 25.2301C33.4302 24.9943 33.6277 24.8097 33.8748 24.6761C34.122 24.5426 34.3947 24.4432 34.693 24.3778C34.9941 24.3097 35.2967 24.2557 35.6007 24.2159C35.9984 24.1648 36.3208 24.1264 36.568 24.1009C36.818 24.0724 36.9998 24.0256 37.1135 23.9602C37.2299 23.8949 37.2882 23.7812 37.2882 23.6193V23.5852C37.2882 23.1648 37.1731 22.8381 36.943 22.6051C36.7157 22.3722 36.3706 22.2557 35.9075 22.2557C35.4274 22.2557 35.051 22.3608 34.7782 22.571C34.5055 22.7812 34.3137 23.0057 34.2029 23.2443L33.2484 22.9034C33.4189 22.5057 33.6461 22.196 33.9302 21.9744C34.2172 21.75 34.5297 21.5937 34.8677 21.5057C35.2086 21.4148 35.5439 21.3693 35.8734 21.3693C36.0836 21.3693 36.3251 21.3949 36.5978 21.446C36.8734 21.4943 37.139 21.5952 37.3947 21.7486C37.6532 21.902 37.8677 22.1335 38.0382 22.4432C38.2086 22.7528 38.2939 23.1676 38.2939 23.6875V28H37.2882V27.1136H37.237C37.1689 27.2557 37.0552 27.4077 36.8961 27.5696C36.737 27.7315 36.5254 27.8693 36.2612 27.983C35.997 28.0966 35.6745 28.1534 35.2939 28.1534ZM35.4473 27.25C35.845 27.25 36.1802 27.1719 36.4529 27.0156C36.7285 26.8594 36.9359 26.6577 37.0751 26.4105C37.2172 26.1634 37.2882 25.9034 37.2882 25.6307V24.7102C37.2456 24.7614 37.1518 24.8082 37.0069 24.8509C36.8649 24.8906 36.7001 24.9261 36.5126 24.9574C36.3279 24.9858 36.1475 25.0114 35.9714 25.0341C35.7981 25.054 35.6575 25.071 35.5495 25.0852C35.2882 25.1193 35.0439 25.1747 34.8166 25.2514C34.5922 25.3253 34.4103 25.4375 34.2711 25.5881C34.1348 25.7358 34.0666 25.9375 34.0666 26.1932C34.0666 26.5426 34.1958 26.8068 34.4544 26.9858C34.7157 27.1619 35.0467 27.25 35.4473 27.25ZM44.7658 22.9205L43.8624 23.1761C43.8056 23.0256 43.7218 22.8793 43.611 22.7372C43.503 22.5923 43.3553 22.473 43.1678 22.3793C42.9803 22.2855 42.7402 22.2386 42.4476 22.2386C42.0471 22.2386 41.7132 22.331 41.4462 22.5156C41.182 22.6974 41.0499 22.929 41.0499 23.2102C41.0499 23.4602 41.1408 23.6577 41.3226 23.8026C41.5044 23.9474 41.7885 24.0682 42.1749 24.1648L43.1465 24.4034C43.7317 24.5455 44.1678 24.7628 44.4547 25.0554C44.7417 25.3452 44.8851 25.7187 44.8851 26.1761C44.8851 26.5511 44.7772 26.8864 44.5613 27.1818C44.3482 27.4773 44.0499 27.7102 43.6664 27.8807C43.2828 28.0511 42.8368 28.1364 42.3283 28.1364C41.6607 28.1364 41.1081 27.9915 40.6706 27.7017C40.2331 27.4119 39.9561 26.9886 39.8397 26.4318L40.7942 26.1932C40.8851 26.5455 41.057 26.8097 41.3098 26.9858C41.5655 27.1619 41.8993 27.25 42.3113 27.25C42.78 27.25 43.1522 27.1506 43.4277 26.9517C43.7061 26.75 43.8453 26.5085 43.8453 26.2273C43.8453 26 43.7658 25.8097 43.6067 25.6562C43.4476 25.5 43.2033 25.3835 42.8738 25.3068L41.7828 25.0511C41.1834 24.9091 40.7431 24.6889 40.4618 24.3906C40.1834 24.0895 40.0442 23.7131 40.0442 23.2614C40.0442 22.892 40.1479 22.5653 40.3553 22.2812C40.5655 21.9972 40.851 21.7741 41.2118 21.6122C41.5755 21.4503 41.9874 21.3693 42.4476 21.3693C43.0953 21.3693 43.6039 21.5114 43.9732 21.7955C44.3453 22.0795 44.6096 22.4545 44.7658 22.9205ZM47.4047 24.0625V28H46.399V19.2727H47.4047V22.4773H47.4899C47.6433 22.1392 47.8734 21.8707 48.1802 21.6719C48.4899 21.4702 48.9018 21.3693 49.416 21.3693C49.862 21.3693 50.2527 21.4588 50.5879 21.6378C50.9231 21.8139 51.1831 22.0852 51.3677 22.4517C51.5552 22.8153 51.649 23.2784 51.649 23.8409V28H50.6433V23.9091C50.6433 23.3892 50.5083 22.9872 50.2385 22.7031C49.9714 22.4162 49.6007 22.2727 49.1262 22.2727C48.7967 22.2727 48.5012 22.3423 48.2399 22.4815C47.9814 22.6207 47.7768 22.8239 47.6262 23.0909C47.4785 23.358 47.4047 23.6818 47.4047 24.0625ZM53.4888 28V21.4545H54.4945V28H53.4888ZM54.0002 20.3636C53.8042 20.3636 53.6351 20.2969 53.4931 20.1634C53.3539 20.0298 53.2843 19.8693 53.2843 19.6818C53.2843 19.4943 53.3539 19.3338 53.4931 19.2003C53.6351 19.0668 53.8042 19 54.0002 19C54.1962 19 54.3638 19.0668 54.503 19.2003C54.6451 19.3338 54.7161 19.4943 54.7161 19.6818C54.7161 19.8693 54.6451 20.0298 54.503 20.1634C54.3638 20.2969 54.1962 20.3636 54.0002 20.3636ZM58.9956 28.1364C58.4047 28.1364 57.8862 27.9957 57.4402 27.7145C56.997 27.4332 56.6504 27.0398 56.4004 26.5341C56.1532 26.0284 56.0297 25.4375 56.0297 24.7614C56.0297 24.0795 56.1532 23.4844 56.4004 22.9759C56.6504 22.4673 56.997 22.0724 57.4402 21.7912C57.8862 21.5099 58.4047 21.3693 58.9956 21.3693C59.5865 21.3693 60.1035 21.5099 60.5467 21.7912C60.9927 22.0724 61.3393 22.4673 61.5865 22.9759C61.8365 23.4844 61.9615 24.0795 61.9615 24.7614C61.9615 25.4375 61.8365 26.0284 61.5865 26.5341C61.3393 27.0398 60.9927 27.4332 60.5467 27.7145C60.1035 27.9957 59.5865 28.1364 58.9956 28.1364ZM58.9956 27.233C59.4444 27.233 59.8137 27.1179 60.1035 26.8878C60.3933 26.6577 60.6078 26.3551 60.747 25.9801C60.8862 25.6051 60.9558 25.1989 60.9558 24.7614C60.9558 24.3239 60.8862 23.9162 60.747 23.5384C60.6078 23.1605 60.3933 22.8551 60.1035 22.6222C59.8137 22.3892 59.4444 22.2727 58.9956 22.2727C58.5467 22.2727 58.1774 22.3892 57.8876 22.6222C57.5978 22.8551 57.3833 23.1605 57.2441 23.5384C57.1049 23.9162 57.0353 24.3239 57.0353 24.7614C57.0353 25.1989 57.1049 25.6051 57.2441 25.9801C57.3833 26.3551 57.5978 26.6577 57.8876 26.8878C58.1774 27.1179 58.5467 27.233 58.9956 27.233ZM64.5023 24.0625V28H63.4966V21.4545H64.4682V22.4773H64.5534C64.7069 22.1449 64.9398 21.8778 65.2523 21.6761C65.5648 21.4716 65.9682 21.3693 66.4625 21.3693C66.9057 21.3693 67.2935 21.4602 67.6259 21.642C67.9583 21.821 68.2168 22.0938 68.4015 22.4602C68.5861 22.8239 68.6784 23.2841 68.6784 23.8409V28H67.6728V23.9091C67.6728 23.3949 67.5392 22.9943 67.2722 22.7074C67.0051 22.4176 66.6387 22.2727 66.1728 22.2727C65.8517 22.2727 65.5648 22.3423 65.312 22.4815C65.062 22.6207 64.8645 22.8239 64.7196 23.0909C64.5748 23.358 64.5023 23.6818 64.5023 24.0625Z" fill="#AAAAAA"/>
|
|
8
|
+
</svg>
|
|
9
|
+
`},components:[{tag:"ArticleCategory",settings:{htmlTag:"h3"},styles:{typo:{type:"paragraph-2",custom:{fontSize:{desktop:"12px",tablet:"14px",mobile:"12px"},fontWeight:"400",lineHeight:{desktop:"180%",tablet:"180%",mobile:"180%"},fontFamily:"Assistant"}},color:{normal:"#777777"}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}}]}],locales:{editor:{en:{article_not_found:"Article Not Found"}}}};export{config as default};
|