efficient-storefront-blocks 0.125.5 → 0.125.6
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/CHANGELOG.md +12 -0
- package/dist/chunks/CustomHtmlCodeWindow-KAHNIUZO.js +26 -0
- package/dist/chunks/{EditorPreviewCheckout-3ZX2DIIL.js → EditorPreviewCheckout-M5LLO3H2.js} +1 -1
- package/dist/chunks/SiteEditorProvider-6P7LYLL2.js +1 -0
- package/dist/chunks/{chunk-5SWY36EZ.js → chunk-4SIPG47B.js} +1 -1
- package/dist/chunks/chunk-7ARO3R4C.js +9 -0
- package/dist/chunks/chunk-7SLHEYYR.js +337 -0
- package/dist/chunks/chunk-COR5IL6E.js +2 -0
- package/dist/chunks/{chunk-4WRJWM6K.js → chunk-FD3ICZTF.js} +1 -1
- package/dist/chunks/{chunk-RGLTNGJH.js → chunk-L6MXM22Q.js} +1 -1
- package/dist/chunks/chunk-SB3V6PTJ.js +1 -0
- package/dist/chunks/chunk-SQ6D33WV.js +96 -0
- package/dist/chunks/{chunk-ACYEMD5J.js → chunk-UREPZPIT.js} +1 -1
- package/dist/chunks/{fitment-data-CFDAFXJB.js → fitment-data-BQFU5HN3.js} +1 -1
- package/dist/chunks/section-css-style-VF2FOE3B.js +1 -0
- package/dist/editor/lib/document/blocks/service/index.d.ts +1 -1
- package/dist/editor.css +1 -1
- package/dist/index.d.ts +29 -2
- package/dist/index.js +32 -32
- package/dist/render/built-with.json +1 -1
- package/dist/render/components/AppointmentBooking.js +1 -1
- package/dist/render/components/CheckoutCTA.js +1 -1
- package/dist/render/components/Collections.js +1 -1
- package/dist/render/components/ContactRouting.d.ts +3 -1
- package/dist/render/components/ContactRouting.js +1 -1
- package/dist/render/components/DeliveryOptions.js +1 -1
- package/dist/render/components/FormBlock.js +1 -1
- package/dist/render/components/GalleryShowcase.js +1 -1
- package/dist/render/components/ProductHeroPanel.js +1 -1
- package/dist/render/components/ReviewForm.js +1 -1
- package/dist/render/components/Reviews.js +1 -1
- package/dist/render/components/SectionBand.d.ts +2 -1
- package/dist/render/components/SectionBand.js +1 -1
- package/dist/render/components/SectionNotice.js +1 -1
- package/dist/render/components/SectionPadScope.d.ts +23 -0
- package/dist/render/components/SectionPadScope.js +1 -0
- package/dist/render/components/catalog/CatalogFilterBar.js +1 -1
- package/dist/render/components/wheels-plp/AlloyWheelsListing.js +1 -1
- package/dist/render/lib/content/block-own-pads.d.ts +27 -0
- package/dist/render/lib/content/block-own-pads.js +1 -0
- package/dist/render/lib/document/blocks/commerce/AlloyWheelsListing/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/AlloyWheelsListing/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/BundleOffer/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/BundleOffer/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/CatalogFilterBar/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/CatalogFilterBar/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/CheckoutCTA/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/CheckoutCTA/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/Collections/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/Collections/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/CompatibleTyres/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/CompatibleTyres/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/DeliveryOptions/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/DeliveryOptions/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/EuTyreLabel/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/EuTyreLabel/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/FitmentFinder/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/FitmentFinder/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/FitmentTable/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/FitmentTable/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/Gallery/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/Gallery/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/ProductHero/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/ProductHero/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/RelatedProducts/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/RelatedProducts/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/SpecTable/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/SpecTable/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/TyreFitment/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/TyreFitment/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/TyreSizes/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/TyreSizes/render.js +1 -1
- package/dist/render/lib/document/blocks/service/AppointmentBooking/meta.js +1 -1
- package/dist/render/lib/document/blocks/service/AppointmentBooking/render.js +1 -1
- package/dist/render/lib/document/blocks/service/ContactRouting/meta.js +1 -1
- package/dist/render/lib/document/blocks/service/ContactRouting/render.js +1 -1
- package/dist/render/lib/document/blocks/service/Form/meta.js +1 -1
- package/dist/render/lib/document/blocks/service/Form/render.js +1 -1
- package/dist/render/lib/document/blocks/service/ReviewForm/meta.js +1 -1
- package/dist/render/lib/document/blocks/service/ReviewForm/render.js +1 -1
- package/dist/render/lib/document/blocks/service/Reviews/meta.js +1 -1
- package/dist/render/lib/document/blocks/service/Reviews/render.js +1 -1
- package/dist/render/lib/document/blocks/service/SubmitBuild/meta.js +1 -1
- package/dist/render/lib/document/blocks/service/SubmitBuild/render.js +1 -1
- package/dist/render/lib/document/blocks/service/Subscribe/meta.js +1 -1
- package/dist/render/lib/document/blocks/service/Subscribe/render.js +1 -1
- package/dist/render/lib/document/blocks/service/SubscribeBlogs/meta.js +1 -1
- package/dist/render/lib/document/blocks/service/SubscribeBlogs/render.js +1 -1
- package/dist/render/lib/document/pads-itself.d.ts +16 -0
- package/dist/render/lib/document/pads-itself.js +1 -0
- package/dist/routine-index.json +1 -1
- package/dist/value-index.json +1 -1
- package/package.json +2 -2
- package/dist/chunks/CustomHtmlCodeWindow-HSZVKXL4.js +0 -26
- package/dist/chunks/SiteEditorProvider-6X2YHTVA.js +0 -1
- package/dist/chunks/chunk-AEBQM5LZ.js +0 -2
- package/dist/chunks/chunk-B3U6XXDZ.js +0 -337
- package/dist/chunks/chunk-GATK7RJE.js +0 -7
- package/dist/chunks/chunk-HKL2EKLO.js +0 -96
- package/dist/chunks/section-css-style-TKWJ7WU2.js +0 -1
- /package/dist/chunks/{chunk-B3U6XXDZ.js.LEGAL.txt → chunk-7SLHEYYR.js.LEGAL.txt} +0 -0
- /package/dist/chunks/{chunk-3DCSW3PN.js → chunk-ECMYL3O7.js} +0 -0
- /package/dist/chunks/{chunk-ACYEMD5J.js.LEGAL.txt → chunk-UREPZPIT.js.LEGAL.txt} +0 -0
- /package/dist/chunks/{chunk-5NGS7VFJ.js → chunk-VYXOE5FY.js} +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { SectionOwnPad } from "efficient-web-builder/render/lib/content/section-own-pads";
|
|
2
|
+
export declare const LISTING_OWN: SectionOwnPad;
|
|
3
|
+
export declare const APPOINTMENT_BOOKING_OWN: SectionOwnPad;
|
|
4
|
+
export declare const CATALOG_FILTER_BAR_OWN: SectionOwnPad;
|
|
5
|
+
export declare const CHECKOUT_CTA_OWN: SectionOwnPad;
|
|
6
|
+
export declare const COLLECTIONS_OWN: SectionOwnPad;
|
|
7
|
+
export declare const DELIVERY_OPTIONS_OWN: SectionOwnPad;
|
|
8
|
+
export declare const BAND_120_80_OWN: SectionOwnPad;
|
|
9
|
+
export declare const FITMENT_FINDER_OWN: SectionOwnPad;
|
|
10
|
+
export declare const BAND_120_OWN: SectionOwnPad;
|
|
11
|
+
export declare const FORM_OWN: SectionOwnPad;
|
|
12
|
+
export declare const GALLERY_OWN: SectionOwnPad;
|
|
13
|
+
export declare const REVIEWS_OWN: SectionOwnPad;
|
|
14
|
+
export declare const SUBMIT_BUILD_OWN: SectionOwnPad;
|
|
15
|
+
export declare const SUBSCRIBE_OWN: SectionOwnPad;
|
|
16
|
+
export declare const CONTACT_ROUTING_OWN: SectionOwnPad;
|
|
17
|
+
export declare const CONTACT_ROUTING_INNER: {
|
|
18
|
+
firstBottom: Readonly<Record<import("efficient-easel/draw").ViewTier, number>>;
|
|
19
|
+
lastTop: Readonly<Record<import("efficient-easel/draw").ViewTier, number>>;
|
|
20
|
+
};
|
|
21
|
+
export declare const CONTACT_ROUTING_ONLY_OWN: SectionOwnPad;
|
|
22
|
+
export declare const CONTACT_MESSAGE_ONLY_OWN: SectionOwnPad;
|
|
23
|
+
export declare const PRODUCT_HERO_OWN: SectionOwnPad;
|
|
24
|
+
export declare const PRODUCT_HERO_INNER: {
|
|
25
|
+
firstBottom: Readonly<Record<import("efficient-easel/draw").ViewTier, number>>;
|
|
26
|
+
lastTop: Readonly<Record<import("efficient-easel/draw").ViewTier, number>>;
|
|
27
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{headInOwnBox as N}from"efficient-web-builder/render/lib/sections/section-to-box";const t=(o,_,x)=>({desktop:o,tablet:_,mobile:x}),n=o=>_=>N(_)?{top:0,bottom:o}:o,r=t(24,24,24),T=t(84,84,84),p=t(120,80,80),e=t(120,70,70),O=(o,_)=>_?{frame:o,edge:_}:{frame:o},C=O(o=>N(o)?0:t(40,40,40)),W=O(()=>t(88,64,64)),M=O(()=>t(16,16,12)),A=O(()=>r),B=O(o=>N(o)?Number(o.template?.blockCount??0)>0?0:{top:0,bottom:e}:e,!0),L=O(n(r)),S=O(()=>p),m=O(o=>n(o.layout==="bar"?t(32,20,20):t(80,60,60))(o)),U=O(n(p)),b=O(()=>T),G=O(o=>({top:o.showBreadcrumb===!1?t(100,60,60):t(24,24,16),bottom:t(80,80,80)})),i=O(n(T)),u=O(()=>t(120,60,60)),D=O(n(t(140,80,80))),s=t(60,60,60),c=t(80,60,60),a=O(o=>({top:N(o)?0:s,bottom:c})),l={firstBottom:s,lastTop:c},P=O(o=>({top:N(o)?0:s,bottom:s})),w=O(()=>c),R=t(16,16,16),I=t(56,56,32),F=O(()=>({top:R,bottom:I})),H={firstBottom:R,lastTop:I};export{W as APPOINTMENT_BOOKING_OWN,S as BAND_120_80_OWN,U as BAND_120_OWN,M as CATALOG_FILTER_BAR_OWN,A as CHECKOUT_CTA_OWN,B as COLLECTIONS_OWN,w as CONTACT_MESSAGE_ONLY_OWN,l as CONTACT_ROUTING_INNER,P as CONTACT_ROUTING_ONLY_OWN,a as CONTACT_ROUTING_OWN,L as DELIVERY_OPTIONS_OWN,m as FITMENT_FINDER_OWN,b as FORM_OWN,G as GALLERY_OWN,C as LISTING_OWN,H as PRODUCT_HERO_INNER,F as PRODUCT_HERO_OWN,i as REVIEWS_OWN,u as SUBMIT_BUILD_OWN,D as SUBSCRIBE_OWN};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{PLP_DEFAULT_KINDS as
|
|
1
|
+
import{PLP_DEFAULT_KINDS as t}from"../../../../catalog/plp-item.js";import{PLP_COLUMNS_DEFAULT as e}from"../../../../wheels/plp-grid.js";import{ProductGridSlots as r}from"../ProductGrid/meta.js";import{FACET_TEMPLATE_ALLOW as l,FACET_TEMPLATE_SLOT as L}from"../../../../content/facet-row-seed.js";import{RAIL_HEAD_TEMPLATE_SLOT as i,RAIL_TEMPLATE_ALLOW as o,RAIL_TEMPLATE_SLOT as s}from"../../../../content/rail-row-seed.js";import{LISTING_OWN as n}from"../../../../content/block-own-pads.js";const a={template:r.template,[L]:{type:"slot",allow:[...l]},[s]:{type:"slot",allow:[...o]},[i]:{type:"slot",allow:[...o]}},d={heading:"Alloy wheels",intro:"Filter by brand, colour, size and fitment to find your set."},P={ownPad:n,label:"List",fields:a,defaultProps:{heading:"",intro:"",askForCar:!0,gateHeading:"",gateIntro:"",kinds:[...t],perPage:24,columns:e,defaultSort:"recommended",showInStock:!0,showCollection:!0,showPrice:!0}};export{d as ALLOYWHEELSLISTING_PH,P as AlloyWheelsListingMeta,a as AlloyWheelsListingSlots};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as l}from"react/jsx-runtime";import{FITMENT_CELL_LOOK_PROP as L}from"../../../../sections/fitment-cell-look.js";import{LISTING_FILTER_LOOK_PROP as o,parseListingFilterLook as f,parseListingFilterLookPhone as T}from"../../../../sections/shopper-filters.js";import{phoneKey as g}from"efficient-easel/draw";import{PAGE_TITLE_LEVEL_PROP as h}from"efficient-web-builder/format/lib/document/one-h1";import E from"../../../../../components/wheels-plp/AlloyWheelsListing.js";import{hidableText as r}from"efficient-easel/screen/lib/document/hidable";import{asPlpSortKey as _,listingHiddenFacets as P}from"../../../../wheels/plp-filters.js";import{addressQueryOf as c}from"../../../../wheels/selected-ranges.js";import{cardHoverOf as I}from"efficient-web-builder/format/lib/animation/hover";import{phHide as a}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{headInOwnBox as s}from"efficient-web-builder/render/lib/sections/section-to-box";import{FACET_TEMPLATE_SLOT as O}from"../../../../content/facet-row-seed.js";import{RAIL_HEAD_TEMPLATE_SLOT as u,RAIL_TEMPLATE_SLOT as A}from"../../../../content/rail-row-seed.js";import{AlloyWheelsListingMeta as S,ALLOYWHEELSLISTING_PH as n}from"./meta.js";import{ALLOY_WHEELS_LISTING_TYPE as d}from"../../../document-nodes.js";import{padsItself as k}from"../../../pads-itself.js";const U=k(d,{...S,render:e=>{const t=s(e),i=m=>t?void 0:m;return l(E,{titleLevel:e[h],heading:i(a(e.heading,n.heading,e.editor)),intro:i(a(e.intro,n.intro,e.editor)),omitHead:t,askForCar:e.askForCar!==!1,addressQuery:c(e)||void 0,gateHeading:r(e.gateHeading),gateIntro:r(e.gateIntro),perPage:e.perPage,columns:e.columns,defaultSort:_(e.defaultSort),ownerId:typeof e.id=="string"?e.id:"",template:e.template,facetTemplate:e[O],railTemplate:e[A],railHeadTemplate:e[u],hover:I(e,d),cellLook:e[L],filterLook:f(e[o]),filterLookPhone:T(e[g(o)]),hiddenFacets:P(e),showPrice:e.showPrice,showInStock:e.showInStock!==!1,kinds:e.kinds,source:e.source,products:e.products,wheels:e.wheels,fieldUsage:e.fieldUsage,editing:e.editor?.isEditing})}});export{U as AlloyWheelsListingRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ProductGridSlots as t}from"../ProductGrid/meta.js";const
|
|
1
|
+
import{ProductGridSlots as t}from"../ProductGrid/meta.js";import{BAND_120_80_OWN as e}from"../../../../content/block-own-pads.js";const r={ownPad:e,label:"Bundle Products",fields:{template:t.template},defaultProps:{num:"",title:"",description:"",columns:3}};export{r as BundleOfferMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bundleToGrid as e}from"../../../../sections/bundle-to-grid.js";import{ProductGridRender as o}from"../ProductGrid/render.js";import{BundleOfferMeta as d}from"./meta.js";const
|
|
1
|
+
import{bundleToGrid as e}from"../../../../sections/bundle-to-grid.js";import{ProductGridRender as o}from"../ProductGrid/render.js";import{BundleOfferMeta as d}from"./meta.js";import{padsItself as f}from"../../../pads-itself.js";const i=f("BundleOffer",{...d,render:r=>o.render(e(r).props)});export{i as BundleOfferRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{DEFAULT_FILTER_BAR_LAYOUT as
|
|
1
|
+
import{DEFAULT_FILTER_BAR_LAYOUT as r}from"../../../../sections/catalog-filter-layout.js";import{CATALOG_FILTER_BAR_OWN as t}from"../../../../content/block-own-pads.js";const s={ownPad:t,label:"Catalog Filter Bar",defaultProps:{showProcess:!0,showLugs:!0,showPrice:!0,showVehicle:!0,showCount:!0,showSort:!0,layout:r,resultsHref:"",resultsLabel:""}};export{s as CatalogFilterBarMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import i from"../../../../../components/CatalogFilterBarSection.js";import{hidableText as t}from"efficient-easel/screen/lib/document/hidable";import{parseFilterBarLayout as o}from"../../../../sections/catalog-filter-layout.js";import{CatalogFilterBarMeta as s}from"./meta.js";import{padsItself as a}from"../../../pads-itself.js";const c=a("CatalogFilterBar",{...s,render:e=>r(i,{show:{process:e.showProcess,size:!0,lugs:e.showLugs,finish:!0,price:e.showPrice,vehicle:e.showVehicle,count:e.showCount,sort:e.showSort},layout:o(e.layout),processOptions:e.processOptions,fieldUsage:e.fieldUsage,resultsHref:t(e.resultsHref)||void 0,resultsLabel:t(e.resultsLabel)||void 0,editing:e.editor?.isEditing})});export{c as CatalogFilterBarRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
import{CHECKOUT_CTA_OWN as e}from"../../../../content/block-own-pads.js";const o={title:"Ready when *you are.*",secondary:"Questions? Talk to us"},r={ownPad:e,label:"Ready-to-Order Banner",defaultProps:{eyebrow:"",title:"",body:"",ctaText:"",ctaHref:"",secondaryText:"",secondaryHref:""}};export{o as CHECKOUT_CTA_PH,r as CheckoutCTAMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as T}from"react/jsx-runtime";import d from"../../../../../components/CheckoutCTA.js";import{hidableText as h}from"efficient-easel/screen/lib/document/hidable";import{PH as r}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{ctaHide as x,phHide as t}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{CheckoutCTAMeta as y,CHECKOUT_CTA_PH as c}from"./meta.js";const
|
|
1
|
+
import{jsx as T}from"react/jsx-runtime";import d from"../../../../../components/CheckoutCTA.js";import{hidableText as h}from"efficient-easel/screen/lib/document/hidable";import{PH as r}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{ctaHide as x,phHide as t}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{CheckoutCTAMeta as y,CHECKOUT_CTA_PH as c}from"./meta.js";import{padsItself as H}from"../../../pads-itself.js";const w=H("CheckoutCTA",{...y,render:({eyebrow:m,title:a,body:f,ctaText:C,ctaHref:n,secondaryText:p,secondaryHref:s,contained:i,editor:e})=>{const o=x(C,n,e);return T(d,{eyebrow:t(m,r.eyebrow,e),title:t(a,c.title,e),body:t(f,r.body,e),ctaText:o.text,ctaHref:o.href||"/checkout",secondaryText:t(p,c.secondary,e),secondaryHref:h(s)||"#",contained:i})}});export{w as CheckoutCTARender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{cardTemplateSlot as
|
|
1
|
+
import{cardTemplateSlot as o}from"efficient-web-builder/format/lib/content/card-template";import{COLLECTIONS_OWN as t}from"../../../../content/block-own-pads.js";const l={cards:{type:"slot"},template:o()},r={ownPad:t,label:"Collections",fields:l,defaultProps:{columns:3,limit:6}};export{r as CollectionsMeta,l as CollectionsSlots};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as m}from"react/jsx-runtime";import r from"../../../../../components/Collections.js";import{readPartStyles as a}from"efficient-web-builder/render/lib/document/part-styles";import{parseSectionHeadPlacement as l}from"efficient-web-builder/format/lib/sections/section-head-placement";import{PH as
|
|
1
|
+
import{jsx as m}from"react/jsx-runtime";import r from"../../../../../components/Collections.js";import{readPartStyles as a}from"efficient-web-builder/render/lib/document/part-styles";import{parseSectionHeadPlacement as l}from"efficient-web-builder/format/lib/sections/section-head-placement";import{PH as o}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{phHideDefault as n}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{CollectionsMeta as c}from"./meta.js";import{padsItself as f}from"../../../pads-itself.js";const w=f("Collections",{...c,render:e=>{const t=l(e.headPlacement)==="own-box",i=d=>t?void 0:d;return m(r,{eyebrow:i(n(e.eyebrow,o.sectionNumber,e.editor)),heading:i(n(e.heading,o.sectionHeading,e.editor)),omitHead:t,nodeId:typeof e.id=="string"?e.id:void 0,partStyles:a(e),editing:e.editor?.isEditing,columns:e.columns,limit:e.limit,cards:e.cards,template:e.template})}});export{w as CollectionsRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{PH as
|
|
1
|
+
import{PH as o}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{BAND_120_80_OWN as t}from"../../../../content/block-own-pads.js";const i={num:o.sectionNumber,title:"Compatible *tyres.*",description:o.body,footnote:"Tyres shown are fitment-matched companions.",footnoteLinkText:"Enquire about tyres"},r={ownPad:t,label:"Compatible Tyres",defaultProps:{num:"",title:"",description:"",footnote:"",footnoteLinkText:"",footnoteLinkHref:""}};export{i as COMPATIBLETYRES_PH,r as CompatibleTyresMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as d}from"react/jsx-runtime";import m from"../../../../../components/pdp-dynamic/DynamicRelatedProducts.js";import{hidableText as a}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as f}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as e}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{CompatibleTyresMeta as c,COMPATIBLETYRES_PH as o}from"./meta.js";import{padsItself as l}from"../../../pads-itself.js";const b=l("CompatibleTyres",{...c,render:t=>{const n=f(t.headPlacement)==="own-box",i=r=>n?void 0:r;return d(m,{num:i(e(t.num,o.num,t.editor)),title:i(e(t.title,o.title,t.editor)),description:i(e(t.description,o.description,t.editor)),omitHead:n,footnote:e(t.footnote,o.footnote,t.editor),footnoteLinkText:e(t.footnoteLinkText,o.footnoteLinkText,t.editor),footnoteLinkHref:a(t.footnoteLinkHref),relationship:"tyres-that-fit",cardImage:t.cardImage,editing:t.editor?.isEditing})}});export{b as CompatibleTyresRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
import{DELIVERY_OPTIONS_OWN as e}from"../../../../content/block-own-pads.js";const t={title:"Delivery, your way",badge:"Recommended"},i={ownPad:e,label:"Delivery Options",defaultProps:{eyebrow:"",title:"",body:"",options:[],live:!0,highlightBadge:""}};export{t as DELIVERY_PH,i as DeliveryOptionsMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as b}from"react/jsx-runtime";import g from"../../../../../components/DeliveryOptions.js";import u from"../../../../../components/DeliveryOptionsSource.js";import{parseSectionHeadPlacement as w}from"efficient-web-builder/format/lib/sections/section-head-placement";import{PH as r}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{phHide as t,phRows as v}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{say as e}from"efficient-web-builder/format/lib/editor-words";import{DeliveryOptionsMeta as x,DELIVERY_PH as n}from"./meta.js";import{padsItself as D}from"../../../pads-itself.js";const H=()=>[{name:e("Standard"),eta:e("5–7 business days"),price:e("Free"),blurb:e("Tracked to your door.")},{name:e("Express"),eta:e("2–3 business days"),price:"$00",blurb:e("Priority handling."),highlighted:!0},{name:e("Pickup"),eta:e("Same day"),price:e("Free"),blurb:e("Collect from the warehouse.")}],I=D("DeliveryOptions",{...x,render:d=>{const a=w(d.headPlacement)==="own-box",i=f=>a?void 0:f,{eyebrow:s,title:m,body:l,options:c,live:h,highlightBadge:p,contained:y,editor:o}=d;return h?b(u,{eyebrow:i(t(s,r.eyebrow,o)),title:i(t(m,n.title,o)),body:i(t(l,r.body,o)),omitHead:a,highlightBadge:t(p,n.badge,o),contained:y}):b(g,{eyebrow:i(t(s,r.eyebrow,o)),title:i(t(m,n.title,o)),body:i(t(l,r.body,o)),omitHead:a,options:v(c,H(),o),highlightBadge:t(p,n.badge,o),contained:y})}});export{I as DeliveryOptionsRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
import{BAND_120_80_OWN as e}from"../../../../content/block-own-pads.js";const o={ownPad:e,label:"EU Tyre Label",defaultProps:{num:""}};export{o as EuTyreLabelMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import m from"../../../../../components/pdp-dynamic/DynamicEuTyreLabel.js";import{phHide as i}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{PRODUCTGRID_PH as o}from"../placeholders.js";import{EuTyreLabelMeta as t}from"./meta.js";import{padsItself as n}from"../../../pads-itself.js";const s=n("EuTyreLabel",{...t,render:r=>e(m,{num:i(r.num,o.num,r.editor),editing:r.editor?.isEditing})});export{s as EuTyreLabelRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{PH as t}from"efficient-web-builder/format/lib/document/blocks/placeholders";const
|
|
1
|
+
import{PH as t}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{FITMENT_FINDER_OWN as o}from"../../../../content/block-own-pads.js";const i={num:t.sectionNumber,title:"Find your *match.*",description:"A few quick picks and we show the right option for you.",ctaText:"Browse all products"},n={ownPad:o,label:"Fitment Form",defaultProps:{num:"",title:"",description:"",ctaText:"",ctaHref:"",layout:"full"}};export{i as FITMENTFINDER_PH,n as FitmentFinderMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as d}from"react/jsx-runtime";import r from"../../../../../components/fitment/FitmentFinder.js";import{hidableText as a}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as c}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as e}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{FITMENT_CELL_LOOK_PROP as f}from"../../../../sections/fitment-cell-look.js";import{FitmentFinderMeta as l,FITMENTFINDER_PH as i}from"./meta.js";import{padsItself as F}from"../../../pads-itself.js";const I=F("FitmentFinder",{...l,render:t=>{const m=c(t.headPlacement)==="own-box",n=o=>m?void 0:o;return d(r,{num:n(e(t.num,i.num,t.editor)),title:n(e(t.title,i.title,t.editor)),description:n(e(t.description,i.description,t.editor)),omitHead:m,ctaText:e(t.ctaText,i.ctaText,t.editor),ctaHref:a(t.ctaHref)||"#",layout:t.layout,cellLook:t[f],editing:t.editor?.isEditing})}});export{I as FitmentFinderRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{cardTemplateSlot as t}from"efficient-web-builder/format/lib/content/card-template";import{PH as o}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{FITMENT_HEAD_TEMPLATE_SLOT as e}from"../../../../content/fitment-row-seed.js";const
|
|
1
|
+
import{cardTemplateSlot as t}from"efficient-web-builder/format/lib/content/card-template";import{PH as o}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{FITMENT_HEAD_TEMPLATE_SLOT as e}from"../../../../content/fitment-row-seed.js";import{BAND_120_OWN as i}from"../../../../content/block-own-pads.js";const m={num:o.sectionNumber,title:"Specifications *table.*",description:o.body,footnote:"Add a short footnote here.",footnoteLinkText:"Contact us"},n={[e]:t(),template:t()},s={ownPad:i,label:"Sizes",fields:n,defaultProps:{dynamic:!1,num:"",title:"",description:"",wheel:"",showFilter:!0,tooltipDefaultOn:!0,footnote:"",footnoteLinkText:"",footnoteLinkHref:""}};export{m as FITMENTTABLE_PH,s as FitmentTableMeta,n as FitmentTableSlots};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as a}from"react/jsx-runtime";import f from"../../../../../components/pdp-dynamic/FitmentTableBlock.js";import{TYRE_SIZES_HEAD as d}from"../../../../../components/TyreSizeGrid.js";import{hidableText as r}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as c}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as t,phHideDefault as m}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{FitmentTableMeta as T,FITMENTTABLE_PH as i}from"./meta.js";const
|
|
1
|
+
import{jsx as a}from"react/jsx-runtime";import f from"../../../../../components/pdp-dynamic/FitmentTableBlock.js";import{TYRE_SIZES_HEAD as d}from"../../../../../components/TyreSizeGrid.js";import{hidableText as r}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as c}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as t,phHideDefault as m}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{FitmentTableMeta as T,FITMENTTABLE_PH as i}from"./meta.js";import{padsItself as h}from"../../../pads-itself.js";const L=h("FitmentTable",{...T,render:e=>{const n=c(e.headPlacement)==="own-box",o=l=>n?void 0:l;return a(f,{dynamic:e.dynamic,wheel:e.wheel,num:o(t(e.num,i.num,e.editor)),title:o(t(e.title,i.title,e.editor)),description:o(t(e.description,i.description,e.editor)),tyreHead:n?void 0:{title:m(e.title,d.title,e.editor),description:m(e.description,d.description,e.editor)},omitHead:n,showFilter:e.showFilter,tooltipDefaultOn:e.tooltipDefaultOn,footnote:t(e.footnote,i.footnote,e.editor),footnoteLinkText:t(e.footnoteLinkText,i.footnoteLinkText,e.editor),footnoteLinkHref:r(e.footnoteLinkHref),editing:e.editor?.isEditing,template:e.template,headTemplate:e.headTemplate,nodeId:typeof e.id=="string"?e.id:void 0})}});export{L as FitmentTableRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{PH as e}from"efficient-web-builder/format/lib/document/blocks/placeholders";const
|
|
1
|
+
import{PH as e}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{GALLERY_OWN as o}from"../../../../content/block-own-pads.js";const t={kicker:e.eyebrow,vehicleTitle:e.headingAccent,wheelTitle:e.headingAccent,vehicleBody1:e.body,vehicleBody2:"Add a second, shorter line if you need one.",wheelBody1:e.body,wheelBody2:"Add a second, shorter line if you need one.",othersTitle:e.headingAccent,othersBody1:e.body,othersBody2:"Add a second, shorter line if you need one."},h={ownPad:o,label:"Tabbed Gallery",defaultProps:{mode:"both",source:null,kicker:"",breadcrumbLabel:"Gallery",vehicleTabLabel:"Gallery A",vehicleTitle:"",vehicleBody1:"",vehicleBody2:"",vehicleStats:[],vehicleCards:[],wheelTabLabel:"Gallery B",wheelTitle:"",wheelBody1:"",wheelBody2:"",wheelStats:[],wheelCards:[],othersTitle:"",othersBody1:"",othersBody2:"",othersStats:[],othersCards:[],showBreadcrumb:!0,showStats:!0,showIntro:!0,showTabs:!0,showFilters:!0,showCount:!0,showSort:!0,previewTab:"vehicles",previewHover:!1}};export{t as GALLERY_PH,h as GalleryMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as y}from"react/jsx-runtime";import b from"../../../../../components/GalleryShowcase.js";import{hidableText as r}from"efficient-easel/screen/lib/document/hidable";import{PH as h}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{phHide as t,phRows as i}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{say as a}from"efficient-web-builder/format/lib/editor-words";import{GalleryMeta as m,GALLERY_PH as l}from"./meta.js";const w=()=>[{value:"00",label:a(h.label)},{value:"00",label:a(h.label)},{value:"00",label:a(h.label)}],d=()=>({image:"",href:"#",process:a(h.category),eyebrow:a("Subtitle"),name:a("Item name"),meta:a("Detail")}),c=()=>[d(),d(),d(),d()],
|
|
1
|
+
import{jsx as y}from"react/jsx-runtime";import b from"../../../../../components/GalleryShowcase.js";import{hidableText as r}from"efficient-easel/screen/lib/document/hidable";import{PH as h}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{phHide as t,phRows as i}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{say as a}from"efficient-web-builder/format/lib/editor-words";import{GalleryMeta as m,GALLERY_PH as l}from"./meta.js";import{padsItself as v}from"../../../pads-itself.js";const w=()=>[{value:"00",label:a(h.label)},{value:"00",label:a(h.label)},{value:"00",label:a(h.label)}],d=()=>({image:"",href:"#",process:a(h.category),eyebrow:a("Subtitle"),name:a("Item name"),meta:a("Detail")}),c=()=>[d(),d(),d(),d()],g=v("Gallery",{...m,render:e=>{const o=e.source;return y(b,{mode:e.mode,kicker:t(e.kicker,l.kicker,e.editor),breadcrumbLabel:r(e.breadcrumbLabel)||"Gallery",vehicleTabLabel:r(e.vehicleTabLabel)||"Gallery A",vehicleTitle:t(e.vehicleTitle,l.vehicleTitle,e.editor),vehicleBody1:t(e.vehicleBody1,l.vehicleBody1,e.editor),vehicleBody2:t(e.vehicleBody2,l.vehicleBody2,e.editor),vehicleStats:i(e.vehicleStats,w(),e.editor),vehicleCards:i(o?.vehicleCards??e.vehicleCards,c(),e.editor),wheelTabLabel:r(e.wheelTabLabel)||"Gallery B",wheelTitle:t(e.wheelTitle,l.wheelTitle,e.editor),wheelBody1:t(e.wheelBody1,l.wheelBody1,e.editor),wheelBody2:t(e.wheelBody2,l.wheelBody2,e.editor),wheelStats:i(e.wheelStats,w(),e.editor),wheelCards:i(o?.wheelCards??e.wheelCards,c(),e.editor),othersTitle:t(e.othersTitle,l.othersTitle,e.editor),othersBody1:t(e.othersBody1,l.othersBody1,e.editor),othersBody2:t(e.othersBody2,l.othersBody2,e.editor),othersStats:i(e.othersStats,w(),e.editor),othersCards:i(o?.othersCards??e.othersCards,c(),e.editor),showBreadcrumb:e.showBreadcrumb,showStats:e.showStats,showIntro:e.showIntro,showTabs:e.showTabs,showFilters:e.showFilters,showCount:e.showCount,showSort:e.showSort,previewTab:e.previewTab,previewHover:e.previewHover,editing:e.editor?.isEditing})}});export{g as GalleryRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{DEFAULT_HERO_PRICE_PLACEMENT as t}from"../../../../sections/hero-price-placement.js";import{DEFAULT_HERO_LAYOUT as e,DEFAULT_HERO_RATIO as r,DEFAULT_HERO_TEXT_ALIGN as
|
|
1
|
+
import{DEFAULT_HERO_PRICE_PLACEMENT as t}from"../../../../sections/hero-price-placement.js";import{DEFAULT_HERO_LAYOUT as e,DEFAULT_HERO_RATIO as r,DEFAULT_HERO_TEXT_ALIGN as _}from"../../../../sections/hero-arrangement.js";import{DEFAULT_HERO_GALLERY_MODE as l,DEFAULT_HERO_IMAGE_FIT as E}from"../../../../sections/hero-gallery.js";import{cardTemplateSlot as O}from"efficient-web-builder/format/lib/content/card-template";import{HERO_TEMPLATE_BLOCKS as m}from"../../../../content/hero-seed.js";import{HERO_OPTION_ALLOW as T,HERO_OPTION_SLOT as L}from"../../../../content/hero-option-seed.js";import{HERO_BUY_ALLOW as a,HERO_BUY_SLOT as i}from"../../../../content/hero-buy-seed.js";import{PRODUCT_HERO_OWN as p}from"../../../../content/block-own-pads.js";const o=O(),R={template:{...o,allow:[...o.allow,...m]},[L]:{type:"slot",allow:[...T]},[i]:{type:"slot",allow:[...a]}},F={ownPad:p,label:"Product Hero",fields:R,defaultProps:{source:null,pricePlacement:t,showVehicleFitment:!0,heroLayout:e,imageRatio:r,textAlign:_,showSpecTable:!0,showPriceQuote:!0,galleryMode:l,imageFit:E}};export{F as ProductHeroMeta,R as ProductHeroSlots};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as i}from"react/jsx-runtime";import{SITE_WIDTH_CAP as
|
|
1
|
+
import{jsx as i}from"react/jsx-runtime";import{SITE_WIDTH_CAP as P}from"efficient-web-builder/format/lib/content/page-width";import{resolveWidth as H}from"efficient-web-builder/format/lib/content/section-width";import g from"../../../../../components/LinkedProductHero.js";import d from"../../../../../components/pdp-dynamic/DynamicProductHero.js";import y from"../../../../../components/SectionNotice.js";import{HERO_OPTION_SLOT as n}from"../../../../content/hero-option-seed.js";import{HERO_BUY_SLOT as f}from"../../../../content/hero-buy-seed.js";import{cardPressTitlesOf as L}from"efficient-web-builder/render/lib/document/card-press-titles";import{useCurrentProduct as k}from"../../../current-product.js";import{LINKED_HERO_RECORD_PROP as D,matchingLinkedRecord as A}from"../../../linked-hero-hydrate.js";import{isEditorOnDynamicPage as C}from"efficient-web-builder/format/lib/document/editor-page-context";import{DEFAULT_HERO_LAYOUT as p,DEFAULT_HERO_RATIO as I,DEFAULT_HERO_TEXT_ALIGN as S,parseHeroLayout as U,parseHeroRatio as w,parseHeroTextAlign as N}from"../../../../sections/hero-arrangement.js";import{say as x}from"efficient-web-builder/format/lib/editor-words";import{ProductHeroMeta as F}from"./meta.js";import{HideTaker as b}from"efficient-web-builder/render/components/ViewHideRoot";import{SplitPadScope as V}from"../../../../../components/SectionPadScope.js";import{PRODUCT_HERO_TYPE as W}from"../../../document-nodes.js";import{splitPads as Y}from"../../../pads-itself.js";import{PRODUCT_HERO_INNER as j,PRODUCT_HERO_OWN as v}from"../../../../content/block-own-pads.js";function B({source:e,editing:t=!1,showVehicleFitment:o=!0,heroLayout:a=p,imageRatio:c=I,textAlign:l=S,showSpecTable:u=!0,stickyColumns:s=!1,nodeId:R,template:T,optionTemplate:O,optionPressTitles:_,buyTemplate:h,linkedRecord:E}){const r={heroLayout:a,imageRatio:c,textAlign:l,showSpecTable:u,stickyColumns:s,nodeId:R,template:T,optionTemplate:O,optionPressTitles:_,buyTemplate:h};if(k()||t&&C())return i(d,{editing:t,showVehicleFitment:o,...r});if(e?.slug){const m=e.kind??"wheel";return i(g,{slug:e.slug,kind:m,initialRecord:A(E,m,e.slug),editing:t,showVehicleFitment:o,...r})}return t?i(y,{size:"tall",children:x("Pick a product in the panel to fill this hero.")}):i(d,{showVehicleFitment:o,...r})}function z(e,t){return H(e,"full").mode!=="page"?t:i(b,{as:"div",style:{"--sf-content-cap":P},children:t})}const ue={...F,render:e=>z(e,i(V,{pads:Y(W,e,{both:v},j),children:i(B,{source:e.source,editing:e.editor?.isEditing,showVehicleFitment:e.showVehicleFitment??!0,heroLayout:U(e.heroLayout),imageRatio:w(e.imageRatio),textAlign:N(e.textAlign),showSpecTable:e.showSpecTable??!0,stickyColumns:e.stickyColumns===!0,nodeId:typeof e.id=="string"?e.id:void 0,template:typeof e.template=="function"?e.template:void 0,optionTemplate:typeof e[n]=="function"?e[n]:void 0,optionPressTitles:L(e,n),buyTemplate:typeof e[f]=="function"?e[f]:void 0,linkedRecord:e[D]})}))};export{ue as ProductHeroRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{RELATED_CARDS_DEFAULT as t}from"../../../../catalog/related-cards.js";import{DEFAULT_RELATIONSHIP as o}from"../../../../catalog/relationships.js";import{ProductGridSlots as
|
|
1
|
+
import{RELATED_CARDS_DEFAULT as t}from"../../../../catalog/related-cards.js";import{DEFAULT_RELATIONSHIP as o}from"../../../../catalog/relationships.js";import{ProductGridSlots as r}from"../ProductGrid/meta.js";import{BAND_120_80_OWN as e}from"../../../../content/block-own-pads.js";const a={ownPad:e,label:"Related Products",fields:{template:r.template},defaultProps:{num:"",title:"",description:"",cardCount:t,columns:3,relationship:o}};export{a as RelatedProductsMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{relatedToGrid as e}from"../../../../sections/related-to-grid.js";import{ProductGridRender as o}from"../ProductGrid/render.js";import{RelatedProductsMeta as
|
|
1
|
+
import{relatedToGrid as e}from"../../../../sections/related-to-grid.js";import{ProductGridRender as o}from"../ProductGrid/render.js";import{RelatedProductsMeta as t}from"./meta.js";import{padsItself as d}from"../../../pads-itself.js";const i=d("RelatedProducts",{...t,render:r=>o.render(e(r).props)});export{i as RelatedProductsRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{cardTemplateSlot as t}from"efficient-web-builder/format/lib/content/card-template";import{PH as e}from"efficient-web-builder/format/lib/document/blocks/placeholders";const
|
|
1
|
+
import{cardTemplateSlot as t}from"efficient-web-builder/format/lib/content/card-template";import{PH as e}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{BAND_120_OWN as o}from"../../../../content/block-own-pads.js";const s={num:e.sectionNumber,title:"Specifications *table.*",description:e.body},i={template:t()},p={ownPad:o,label:"Spec Table",fields:i,defaultProps:{dynamic:!1,num:"",title:"",description:"",source:null,finish:"",size:"",showDiagram:!0,rows:[]}};export{s as SPECTABLE_PH,p as SpecTableMeta,i as SpecTableSlots};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as h}from"react/jsx-runtime";import b from"../../../../../components/pdp-dynamic/DynamicSpecTable.js";import S from"../../../../../components/SpecTable.js";import{buildSpecSheet as y,buildLegacySpecSheet as E,dropSpecRows as w,hiddenSpecRows as o}from"../../../../wheels/spec-sheet.js";import{parseSectionHeadPlacement as L}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as n}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{SpecTableMeta as
|
|
1
|
+
import{jsx as h}from"react/jsx-runtime";import b from"../../../../../components/pdp-dynamic/DynamicSpecTable.js";import S from"../../../../../components/SpecTable.js";import{buildSpecSheet as y,buildLegacySpecSheet as E,dropSpecRows as w,hiddenSpecRows as o}from"../../../../wheels/spec-sheet.js";import{parseSectionHeadPlacement as L}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as n}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{SpecTableMeta as T,SPECTABLE_PH as d}from"./meta.js";import{padsItself as x}from"../../../pads-itself.js";const W=x("SpecTable",{...T,render:e=>{const m=L(e.headPlacement)==="own-box",t=i=>m?void 0:i;if(e.dynamic)return h(b,{nodeId:typeof e.id=="string"?e.id:void 0,num:t(n(e.num,d.num,e.editor)),title:t(n(e.title,d.title,e.editor)),description:t(n(e.description,d.description,e.editor)),showDiagram:e.showDiagram!==!1,omitHead:m,editing:e.editor?.isEditing,template:e.template,showEuLabel:e.showEuLabel===!0,hideRows:o(e)});const a=e.source??null,s=e.wheel,f=!a?.slug&&typeof s=="string"?s:"",r=typeof e.finish=="string"?e.finish:"",u=typeof e.size=="string"?e.size:"";let l,g=!0,c=null;if(a?.slug&&a.spec){const i=y(a,r,u);l=w(i.rows,o(e)),c=e.showDiagram===!1?null:i.diagram}else if(f){const i=E(f,r,u);l=w(i.rows,o(e)),c=e.showDiagram===!1?null:i.diagram}else l=e.rows??[],g=!1;return h(S,{capped:!1,nodeId:typeof e.id=="string"?e.id:void 0,num:t(n(e.num,d.num,e.editor)),title:t(n(e.title,d.title,e.editor)),description:t(n(e.description,d.description,e.editor)),rows:l,builtInLabels:g,diagram:c,omitHead:m,editing:e.editor?.isEditing,template:e.template})}});export{W as SpecTableRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
import{BAND_120_OWN as e}from"../../../../content/block-own-pads.js";const r={ownPad:e,label:"Tyre Fitment Form",defaultProps:{num:"",title:"",description:"",escapeText:"",escapeHref:""}};export{r as TyreFitmentMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as c}from"react/jsx-runtime";import f from"../../../../../components/pdp-dynamic/DynamicTyreFitment.js";import{hidableText as m}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as s}from"efficient-web-builder/format/lib/sections/section-head-placement";import{PH as r}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{phHide as i}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{PRODUCTGRID_PH as T}from"../placeholders.js";import{FITMENT_CELL_LOOK_PROP as x}from"../../../../sections/fitment-cell-look.js";import{TyreFitmentMeta as H}from"./meta.js";import{padsItself as l}from"../../../pads-itself.js";const g=l("TyreFitment",{...H,render:e=>{const o=s(e.headPlacement)==="own-box",t=a=>o?void 0:a,n=m(e.escapeText),d=m(e.escapeHref);return c(f,{num:t(i(e.num,T.num,e.editor)),title:t(i(e.title,r.sectionHeading,e.editor)),description:t(i(e.description,r.body,e.editor)),escapeText:n,escapeHref:d,omitHead:o,cellLook:e[x],editing:e.editor?.isEditing})}});export{g as TyreFitmentRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
import{BAND_120_OWN as e}from"../../../../content/block-own-pads.js";const o={ownPad:e,label:"Tyre Sizes",defaultProps:{num:"",title:"",description:""}};export{o as TyreSizesMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as n}from"react/jsx-runtime";import d from"../../../../../components/pdp-dynamic/DynamicTyreSizes.js";import{parseSectionHeadPlacement as a}from"efficient-web-builder/format/lib/sections/section-head-placement";import{PH as r}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{phHide as t}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{PRODUCTGRID_PH as c}from"../placeholders.js";import{TyreSizesMeta as f}from"./meta.js";import{padsItself as s}from"../../../pads-itself.js";const z=s("TyreSizes",{...f,render:e=>{const o=a(e.headPlacement)==="own-box",i=m=>o?void 0:m;return n(d,{num:i(t(e.num,c.num,e.editor)),title:i(t(e.title,r.sectionHeading,e.editor)),description:i(t(e.description,r.body,e.editor)),omitHead:o,editing:e.editor?.isEditing})}});export{z as TyreSizesRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{BOOKING_TEMPLATE_SLOT_FIELDS as o}from"../../../../content/booking-card-seed.js";const e={boxes:{type:"slot",allow:["BookingBox"]},...o},
|
|
1
|
+
import{BOOKING_TEMPLATE_SLOT_FIELDS as o}from"../../../../content/booking-card-seed.js";import{APPOINTMENT_BOOKING_OWN as t}from"../../../../content/block-own-pads.js";const e={boxes:{type:"slot",allow:["BookingBox"]},...o},i={ownPad:t,label:"Booking Form",fields:e,defaultProps:{eyebrow:"",heading:"",intro:"",buttonLabel:"",successMessage:""}};export{i as AppointmentBookingMeta,e as AppointmentBookingSlots};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as m}from"react/jsx-runtime";import a from"../../../../../components/AppointmentBooking.js";import{PH as t}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{parseSectionHeadPlacement as r}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as i}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{AppointmentBookingMeta as b}from"./meta.js";const
|
|
1
|
+
import{jsx as m}from"react/jsx-runtime";import a from"../../../../../components/AppointmentBooking.js";import{PH as t}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{parseSectionHeadPlacement as r}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as i}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{AppointmentBookingMeta as b}from"./meta.js";import{padsItself as g}from"../../../pads-itself.js";const y=g("AppointmentBooking",{...b,render:e=>{const n=r(e.headPlacement)==="own-box",o=d=>n?void 0:d;return m(a,{eyebrow:o(i(e.eyebrow,t.eyebrow,e.editor)),heading:o(i(e.heading,t.heading,e.editor)),intro:o(i(e.intro,t.body,e.editor)),omitHead:n,buttonLabel:i(e.buttonLabel,t.button,e.editor),successMessage:i(e.successMessage,t.bookingConfirmation,e.editor),boxes:e.boxes,serviceTemplate:e.serviceTemplate,timeTemplate:e.timeTemplate,inBoxes:e.layout==="boxes",nodeId:typeof e.id=="string"?e.id:void 0,editing:e.editor?.isEditing})}});export{y as AppointmentBookingRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CONTACT_ROUTING_DEFAULTS as
|
|
1
|
+
import{CONTACT_ROUTING_DEFAULTS as o}from"efficient-web-builder/format/lib/content/contact";import{CONTACT_CHANNEL_SLOT as r,CONTACT_REASON_SLOT as T,CONTACT_TEMPLATE_ALLOW as t,CONTACT_TOPIC_SLOT as n}from"../../../../content/contact-card-seed.js";import{THANKS_ALLOW as l,THANKS_SLOT as a}from"../../../../content/thanks-slot.js";import{CONTACT_ROUTING_OWN as m}from"../../../../content/block-own-pads.js";const N={[n]:{type:"slot",allow:[...t]},[T]:{type:"slot",allow:[...t]},[r]:{type:"slot",allow:[...t]},[a]:{type:"slot",allow:[...l]}},u={ownPad:m,label:"Contact Form",fields:N,defaultProps:{routingNumber:o.routingNumber,routingTagline:o.routingTagline,groups:o.groups,formSlug:"",formNumber:o.formNumber,formHeading:o.formHeading,metaItems:o.metaLines.map(e=>({text:e})),showOther:o.showOther,otherLabel:o.otherLabel,otherNoteTitle:o.otherNoteTitle,otherNoteBody:o.otherNoteBody,buttonText:o.buttonText,consent:o.consent,channels:o.channels}};export{u as ContactRoutingMeta,N as ContactRoutingSlots};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as O}from"react/jsx-runtime";import f from"../../../../../components/ContactRouting.js";import{CONTACT_ROUTING_DEFAULTS as e}from"efficient-web-builder/format/lib/content/contact";import{hidableText as i}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as l}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as o}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{cardPressTitlesOf as r}from"efficient-web-builder/render/lib/document/card-press-titles";import{CONTACT_CHANNEL_SLOT as a,CONTACT_REASON_SLOT as N,CONTACT_TOPIC_SLOT as d}from"../../../../content/contact-card-seed.js";import{SHOW_SENT_KEY as u,THANKS_SLOT as h}from"../../../../content/thanks-slot.js";import{ContactRoutingMeta as g}from"./meta.js";import{splitPads as C}from"../../../pads-itself.js";import{CONTACT_MESSAGE_ONLY_OWN as _,CONTACT_ROUTING_INNER as c,CONTACT_ROUTING_ONLY_OWN as S,CONTACT_ROUTING_OWN as b}from"../../../../content/block-own-pads.js";const U={...g,render:t=>{const m=l(t.headPlacement)==="own-box",T=n=>m?void 0:n;return O(f,{routingNumber:T(o(t.routingNumber,e.routingNumber,t.editor)),routingTagline:T(o(t.routingTagline,e.routingTagline,t.editor)),omitHead:m,templates:{ownerId:String(t.id??""),topic:t[d],reason:t[N],channel:t[a],thanks:t[h],pressTitles:{topic:r(t,d),reason:r(t,N),channel:r(t,a)}},groups:t.groups??[],formNumber:o(t.formNumber,e.formNumber,t.editor),formHeading:o(t.formHeading,e.formHeading,t.editor),metaLines:(t.metaItems??[]).map(n=>n?.text??"").filter(Boolean),showOther:t.showOther,otherLabel:i(t.otherLabel)||e.otherLabel,otherNoteTitle:o(t.otherNoteTitle,e.otherNoteTitle,t.editor),otherNoteBody:o(t.otherNoteBody,e.otherNoteBody,t.editor),buttonText:i(t.buttonText)||e.buttonText,consent:o(t.consent,e.consent,t.editor),channels:t.channels??[],formSlug:i(t.formSlug)||void 0,form:t.form,editing:t.editor?.isEditing,showSent:t[u],pads:C("ContactRouting",t,{both:b,firstOnly:S,secondOnly:_},c)})}};export{U as ContactRoutingRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{THANKS_ALLOW as o,THANKS_SLOT as t}from"../../../../content/thanks-slot.js";const
|
|
1
|
+
import{THANKS_ALLOW as o,THANKS_SLOT as t}from"../../../../content/thanks-slot.js";import{FORM_OWN as r}from"../../../../content/block-own-pads.js";const e={[t]:{type:"slot",allow:[...o]}},i={ownPad:r,label:"Form",fields:e,defaultProps:{formSlug:"",heading:"",intro:"",submitText:"",finePrint:""}};export{i as FormMeta,e as FormSlots};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as t}from"react/jsx-runtime";import r from"../../../../../components/FormBlock.js";import{hidableText as
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import r from"../../../../../components/FormBlock.js";import{hidableText as i}from"efficient-easel/screen/lib/document/hidable";import{BUTTON_STYLE_KEYS as n}from"efficient-easel/screen/lib/content/style-keys";import{BUTTON_CORNERS_UNIT_KEY as o}from"efficient-easel/screen/lib/content/length-units";import{SHOW_SENT_KEY as m,THANKS_SLOT as d}from"../../../../content/thanks-slot.js";import{FormMeta as f}from"./meta.js";import{padsItself as u}from"../../../pads-itself.js";const N=u("Form",{...f,render:e=>t(r,{formSlug:i(e.formSlug)||void 0,heading:i(e.heading)||void 0,intro:i(e.intro)||void 0,submitText:i(e.submitText)||void 0,finePrint:i(e.finePrint)||void 0,form:e.form,editing:e.editor?.isEditing,nodeId:typeof e.id=="string"?e.id:"",thanks:e[d],showSent:e[m],buttonCorners:e[n.corners],buttonCornerSides:e[n.cornerSides],buttonCornersUnit:e[o]})});export{N as FormRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
import{REVIEWS_OWN as e}from"../../../../content/block-own-pads.js";const r={eyebrow:"Your turn",title:"Leave a *review.*"},t={ownPad:e,label:"Review Form",defaultProps:{eyebrow:"",title:"",designCode:""}};export{r as REVIEW_FORM_PH,t as ReviewFormMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as m}from"react/jsx-runtime";import n from"../../../../../components/ReviewForm.js";import{hidableText as a}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as f}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as t}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{ReviewFormMeta as w,REVIEW_FORM_PH as r}from"./meta.js";import{padsItself as l}from"../../../pads-itself.js";const h=l("ReviewForm",{...w,render:e=>{const i=f(e.headPlacement)==="own-box",o=d=>i?void 0:d;return m(n,{eyebrow:o(t(e.eyebrow,r.eyebrow,e.editor)),title:o(t(e.title,r.title,e.editor)),omitHead:i,designCode:a(e.designCode)||void 0,editing:e.editor?.isEditing})}});export{h as ReviewFormRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{cardTemplateSlot as e}from"efficient-web-builder/format/lib/content/card-template";import{PRODUCT_REVIEWS_SOURCE as t}from"../../../../sections/reviews.js";const
|
|
1
|
+
import{cardTemplateSlot as e}from"efficient-web-builder/format/lib/content/card-template";import{PRODUCT_REVIEWS_SOURCE as t}from"../../../../sections/reviews.js";import{REVIEWS_OWN as o}from"../../../../content/block-own-pads.js";const l={eyebrow:"Reviews",title:"From our *customers.*"},r={template:e()},a={ownPad:o,label:"Reviews",fields:r,defaultProps:{eyebrow:"",title:"",columns:3,limit:6,dataSource:t,items:[]}};export{l as REVIEWS_PH,a as ReviewsMeta,r as ReviewsSlots};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as n}from"react/jsx-runtime";import u from"../../../../../components/Reviews.js";import{CardTemplateRows as y}from"efficient-web-builder/render/components/CardRowContext";import{cardRow as p}from"efficient-web-builder/format/lib/content/card-template";import{declaredBlockSource as h,sourcedRows as R}from"efficient-web-builder/format/lib/content/block-sources";import{parseSectionHeadPlacement as b}from"efficient-web-builder/format/lib/sections/section-head-placement";import{parseSectionEyebrowLook as g}from"efficient-web-builder/format/lib/sections/section-eyebrow-look";import{phHide as c}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{say as i}from"efficient-web-builder/format/lib/editor-words";import{ReviewsMeta as k,REVIEWS_PH as d}from"./meta.js";import{padsItself as S}from"../../../pads-itself.js";const w=()=>[{key:"sample-review-1",name:i("Sample reviewer"),rating:"5",title:i("Sample review title"),quote:i("Approved customer reviews appear here automatically — this card is only a preview of the section's shape.")},{key:"sample-review-2",name:i("Sample reviewer"),rating:"4",title:"",quote:i("Reviews are collected by the Review Form section and wait for your approval before they show.")},{key:"sample-review-3",name:i("Sample reviewer"),rating:"5",title:i("Another sample"),quote:i("Set a product design code on this section to show one product's reviews; leave it blank for the whole store.")}],q=(e,o)=>{const a=Number.parseFloat(e.rating??"");return{key:e.key||`review-${o}`,quote:e.quote??"",title:e.title??"",name:e.name??"",meta:e.dateLabel||e.role||"",...Number.isFinite(a)?{rating:a}:{}}},x=e=>(Array.isArray(e)?e:[]).map(p).filter(o=>(o.quote??"").trim()),_=S("Reviews",{...k,render:e=>{const o=b(e.headPlacement)==="own-box",a=t=>o?void 0:t,m=!!e.editor?.isEditing;let r,l=!1;if(h(e)!==""){const t=R(e,m,w()),f=typeof e.limit=="number"&&e.limit>0?e.limit:6;r=t.sample?t.rows:t.rows.slice(0,f),l=t.sample}else r=x(e.items),!r.length&&m&&(r=w(),l=!0);const v=r.map(q),s=t=>n(u,{look:g(e.eyebrowLook,"Reviews"),eyebrow:a(c(e.eyebrow,d.eyebrow,e.editor)),title:a(c(e.title,d.title,e.editor)),omitHead:o,columns:e.columns,rows:v,sample:l,editing:m,cards:t});return n(y,{ownerId:String(e.id??""),ownerType:"Reviews",Template:e.template,rows:r,fallback:s(),children:t=>s(t)})}});export{_ as ReviewsRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SUBMIT_DEFAULTS as
|
|
1
|
+
import{SUBMIT_DEFAULTS as o}from"../../../../sections/submit-build-copy.js";import{SUBMIT_BUILD_OWN as t}from"../../../../content/block-own-pads.js";const e={boxes:{type:"slot",allow:["SubmitBox"]}},i={ownPad:t,label:"Photo Submission Form",fields:e,defaultProps:{eyebrow:o.eyebrow,title:o.title,body:o.body,formSlug:"",buttonText:o.buttonText,consent:o.consent}};export{i as SubmitBuildMeta,e as SubmitBuildSlots};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as o}from"react/jsx-runtime";import d from"../../../../../components/SubmitBuild.js";import{SUBMIT_DEFAULTS as e}from"../../../../sections/submit-build-copy.js";import{hidableText as m}from"efficient-easel/screen/lib/document/hidable";import{phHideDefault as i}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{SubmitBuildMeta as
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import d from"../../../../../components/SubmitBuild.js";import{SUBMIT_DEFAULTS as e}from"../../../../sections/submit-build-copy.js";import{hidableText as m}from"efficient-easel/screen/lib/document/hidable";import{phHideDefault as i}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{SubmitBuildMeta as b}from"./meta.js";import{padsItself as n}from"../../../pads-itself.js";const a=n("SubmitBuild",{...b,render:t=>o(d,{boxes:t.boxes,inBoxes:t.layout==="boxes",eyebrow:i(t.eyebrow,e.eyebrow,t.editor),title:i(t.title,e.title,t.editor),body:i(t.body,e.body,t.editor),buttonText:i(t.buttonText,e.buttonText,t.editor),consent:i(t.consent,e.consent,t.editor),formSlug:m(t.formSlug)||void 0,form:t.form,editing:t.editor?.isEditing})});export{a as SubmitBuildRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
import{SUBSCRIBE_OWN as e}from"../../../../content/block-own-pads.js";const r={ownPad:e,label:"Subscribe Form",defaultProps:{headNum:"",headTitle:"",headDesc:"",kicker:"",leadTitle:"",intro:"",emailPlaceholder:"",submitText:"",subscribedText:"",finePrint:"",issuesHeading:"",issues:[],archiveText:"",archiveHref:""}};export{r as SubscribeMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as D}from"react/jsx-runtime";import{subscribeContentTypeOf as _}from"../../../subscribe-content-type.js";import j from"../../../../../components/Subscribe.js";import{hidableText as r}from"efficient-easel/screen/lib/document/hidable";import{NEWSLETTER_SOURCE as y}from"../../../../newsletter-signup.js";import{phHide as t}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{SUBSCRIBE_PH as e,subscribeRailRows as
|
|
1
|
+
import{jsx as D}from"react/jsx-runtime";import{subscribeContentTypeOf as _}from"../../../subscribe-content-type.js";import j from"../../../../../components/Subscribe.js";import{hidableText as r}from"efficient-easel/screen/lib/document/hidable";import{NEWSLETTER_SOURCE as y}from"../../../../newsletter-signup.js";import{phHide as t}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{SUBSCRIBE_PH as e,subscribeRailRows as I}from"../subscribe.js";import{parseSectionHeadPlacement as O}from"efficient-web-builder/format/lib/sections/section-head-placement";import{SubscribeMeta as U}from"./meta.js";import{padsItself as L}from"../../../pads-itself.js";const X=L("Subscribe",{...U,render:s=>{const{headNum:o,headTitle:l,headDesc:c,kicker:d,leadTitle:m,intro:b,emailPlaceholder:h,submitText:u,subscribedText:T,finePrint:x,issuesHeading:f,issues:g,contentType:p,posts:P,limit:H,archiveText:S,archiveHref:k,align:v,alignTablet:A,alignPhone:E,textAlign:R,textAlignTablet:N,textAlignPhone:w,panel:B,editor:i}=s,n=O(s.headPlacement)==="own-box",a=C=>n?void 0:C;return D(j,{headNum:a(t(o,e.headNum,i)),headTitle:a(t(l,e.headTitle,i)),headDesc:a(t(c,e.headDesc,i)),omitHead:n,kicker:t(d,e.kicker,i),leadTitle:t(m,e.leadTitle,i),intro:t(b,e.intro,i),emailPlaceholder:r(h)||e.emailPlaceholder,submitText:r(u)||e.submitText,subscribedText:r(T)||e.subscribedText,finePrint:t(x,e.finePrint,i),issuesHeading:t(f,e.issuesHeading,i),issues:I(_(p),{issues:g,posts:P,limit:H,editor:i}),source:y.subscribeSection,editing:i?.isEditing,archiveText:t(S,e.archiveText,i),archiveHref:r(k)||e.archiveHref,align:v,alignTablet:A,alignPhone:E,textAlign:R,textAlignTablet:N,textAlignPhone:w,panel:B!==!1})}});export{X as SubscribeRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SUBSCRIBE_PH as e}from"../subscribe.js";const
|
|
1
|
+
import{SUBSCRIBE_PH as e}from"../subscribe.js";import{SUBSCRIBE_OWN as i}from"../../../../content/block-own-pads.js";const r={...e,issuesHeading:"Recent posts",archiveText:"Read all posts →"},a={ownPad:i,label:"Subscribe with Posts",defaultProps:{headNum:"",headTitle:"",headDesc:"",kicker:"",leadTitle:"",intro:"",emailPlaceholder:"",submitText:"",subscribedText:"",finePrint:"",issuesHeading:"",limit:4,archiveText:"",archiveHref:""}};export{r as SUBSCRIBE_BLOGS_PH,a as SubscribeBlogsMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as a}from"react/jsx-runtime";import c from"../../../../../components/Subscribe.js";import{hidableText as
|
|
1
|
+
import{jsx as a}from"react/jsx-runtime";import c from"../../../../../components/Subscribe.js";import{hidableText as r}from"efficient-easel/screen/lib/document/hidable";import{NEWSLETTER_SOURCE as s}from"../../../../newsletter-signup.js";import{phHide as t}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{subscribeRailRows as l}from"../subscribe.js";import{SubscribeBlogsMeta as m,SUBSCRIBE_BLOGS_PH as i}from"./meta.js";import{padsItself as b}from"../../../pads-itself.js";const g=b("SubscribeBlogs",{...m,render:e=>{const d=l("posts",e);return a(c,{headNum:t(e.headNum,i.headNum,e.editor),headTitle:t(e.headTitle,i.headTitle,e.editor),headDesc:t(e.headDesc,i.headDesc,e.editor),kicker:t(e.kicker,i.kicker,e.editor),leadTitle:t(e.leadTitle,i.leadTitle,e.editor),intro:t(e.intro,i.intro,e.editor),emailPlaceholder:r(e.emailPlaceholder)||i.emailPlaceholder,submitText:r(e.submitText)||i.submitText,subscribedText:r(e.subscribedText)||i.subscribedText,finePrint:t(e.finePrint,i.finePrint,e.editor),issuesHeading:t(e.issuesHeading,i.issuesHeading,e.editor),issues:d,source:s.subscribeBlogsSection,editing:e.editor?.isEditing,archiveText:t(e.archiveText,i.archiveText,e.editor),archiveHref:r(e.archiveHref)||i.archiveHref})}});export{g as SubscribeBlogsRender};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { BlockRender } from "efficient-web-builder/format/lib/document/blocks/block-types";
|
|
2
|
+
import { type SectionOwnPad } from "efficient-web-builder/render/lib/content/section-own-pads";
|
|
3
|
+
import type { TierFrames } from "efficient-web-builder/render/lib/content/section-padding";
|
|
4
|
+
import { type SplitPads } from "../../components/SectionPadScope.js";
|
|
5
|
+
type Render = NonNullable<BlockRender["render"]>;
|
|
6
|
+
type RenderProps = Render extends (props: infer P) => unknown ? P : never;
|
|
7
|
+
export declare function padsItself<B extends BlockRender>(type: string, block: B): B;
|
|
8
|
+
export declare function splitPads(type: string, props: RenderProps, own: {
|
|
9
|
+
both: SectionOwnPad;
|
|
10
|
+
firstOnly?: SectionOwnPad;
|
|
11
|
+
secondOnly?: SectionOwnPad;
|
|
12
|
+
}, inner: {
|
|
13
|
+
firstBottom: TierFrames;
|
|
14
|
+
lastTop: TierFrames;
|
|
15
|
+
}): SplitPads | undefined;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as f}from"react/jsx-runtime";import{sectionRootPad as e,sectionSplitPads as c}from"efficient-web-builder/render/lib/content/section-own-pads";import{SectionPadScope as u}from"../../components/SectionPadScope.js";const i={frame:()=>0};function P(n,t){const{render:o,ownPad:r}=t;return!o||!r?t:{...t,render:s=>{const d={atTop:e(n,s,r),inBox:e(n,s,i)};return!d.atTop&&!d.inBox?o(s):f(u,{pad:d,children:o(s)})}}}const a=(n,t)=>n||t?{atTop:n,inBox:t}:null;function h(n,t,o,r){const l=c(n,t,o.both,r),s=c(n,t,i,{firstBottom:0,lastTop:0}),d={first:a(l.first,s.first),second:a(l.last,s.last),firstOnly:o.firstOnly?a(e(n,t,o.firstOnly),e(n,t,i)):null,secondOnly:o.secondOnly?a(e(n,t,o.secondOnly),e(n,t,i)):null};return Object.values(d).some(Boolean)?d:void 0}export{P as padsItself,h as splitPads};
|