efficient-storefront-blocks 0.90.0 → 0.92.0
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 +36 -0
- package/dist/chunks/{EditorPreviewCheckout-M4LID5YF.js → EditorPreviewCheckout-VHPWPS3N.js} +1 -1
- package/dist/chunks/{SiteEditorProvider-2JWQZN2Q.js → SiteEditorProvider-C4HT4BT4.js} +1 -1
- package/dist/chunks/chunk-7L5DVQZ4.js +1 -0
- package/dist/chunks/chunk-PW7BA4ZJ.js +1 -0
- package/dist/chunks/{chunk-3XIZADE6.js → chunk-RAOSZKA3.js} +1 -1
- package/dist/chunks/chunk-S2WLJ6H2.js +388 -0
- package/dist/chunks/{fitment-data-3VLLTJW6.js → fitment-data-URJZ24LU.js} +1 -1
- package/dist/contract.js +11 -19
- package/dist/editor/components/GalleryShowcaseSource.js +1 -1
- package/dist/editor/lib/document/block-align-row.js +1 -1
- package/dist/editor/lib/document/blocks/commerce/AlloyWheelsListing/fields.js +1 -1
- package/dist/editor/lib/document/blocks/commerce/GalleryItem/fields.js +1 -1
- package/dist/editor/lib/document/blocks/commerce/index.d.ts +1 -1
- package/dist/editor/lib/document/blocks/service/AppointmentBooking/fields.js +1 -1
- package/dist/editor/lib/document/blocks/service/ContactRouting/fields.js +1 -1
- package/dist/editor/lib/document/blocks/service/Events/fields.js +1 -1
- package/dist/editor/lib/document/blocks/service/index.d.ts +1 -1
- package/dist/editor/lib/document/config.d.ts +2 -0
- package/dist/editor/lib/document/config.js +1 -1
- package/dist/editor/lib/efficient-block-sources.js +1 -1
- package/dist/editor/lib/storefront-editor-words-kept.js +1 -1
- package/dist/editor/lib/storefront-editor-words.d.ts +8 -7
- package/dist/editor/lib/storefront-editor-words.js +1 -1
- package/dist/editor.css +1 -1
- package/dist/index.js +53 -39
- package/dist/links.js +1 -1
- package/dist/render/app/globals.css +10 -1
- package/dist/render/built-with.json +1 -1
- package/dist/render/components/AppointmentBooking.d.ts +2 -1
- package/dist/render/components/AppointmentBooking.js +1 -1
- package/dist/render/components/ContactRouting.d.ts +2 -1
- package/dist/render/components/ContactRouting.js +1 -1
- package/dist/render/components/Events.d.ts +3 -1
- package/dist/render/components/Events.js +1 -1
- package/dist/render/components/FooterMenu.d.ts +3 -1
- package/dist/render/components/FooterMenu.js +1 -1
- package/dist/render/components/FooterPayment.js +1 -1
- package/dist/render/components/FooterSocial.js +1 -1
- package/dist/render/components/GridCardTemplate.d.ts +30 -1
- package/dist/render/components/GridCardTemplate.js +1 -1
- package/dist/render/components/ProductGridSection.d.ts +2 -1
- package/dist/render/components/ProductGridSection.js +1 -1
- package/dist/render/components/PublishedFooter.js +1 -1
- package/dist/render/components/PublishedHeader.js +1 -1
- package/dist/render/components/RatingBlockView.d.ts +5 -0
- package/dist/render/components/RatingBlockView.js +1 -0
- package/dist/render/components/ReviewForm.js +1 -1
- package/dist/render/components/TyrePlpCard.d.ts +2 -1
- package/dist/render/components/TyrePlpCard.js +1 -1
- package/dist/render/components/TyreSummaryCard.d.ts +2 -1
- package/dist/render/components/TyreSummaryCard.js +1 -1
- package/dist/render/components/WheelCardFrame.d.ts +1 -2
- package/dist/render/components/WheelCardFrame.js +1 -1
- package/dist/render/components/card-pieces/CardPicture.d.ts +1 -1
- package/dist/render/components/card-pieces/CardProductPicture.js +1 -1
- package/dist/render/components/pdp-dynamic/DynamicGalleryGrid.js +1 -1
- package/dist/render/components/pdp-dynamic/RecordPhotoGallery.d.ts +2 -1
- package/dist/render/components/pdp-dynamic/RecordPhotoGallery.js +1 -1
- package/dist/render/components/wheels-plp/AlloyWheelsListing.d.ts +5 -14
- package/dist/render/components/wheels-plp/AlloyWheelsListing.js +1 -1
- package/dist/render/lib/api/index.d.ts +3 -1
- package/dist/render/lib/api/index.js +1 -1
- package/dist/render/lib/chrome-cache.d.ts +1 -0
- package/dist/render/lib/chrome-cache.js +1 -1
- package/dist/render/lib/content/events-featured-look.d.ts +3 -0
- package/dist/render/lib/content/events-featured-look.js +1 -0
- package/dist/render/lib/content/menu-card-seed.d.ts +4 -0
- package/dist/render/lib/content/menu-card-seed.js +1 -1
- package/dist/render/lib/content/menu-entry-type.d.ts +2 -0
- package/dist/render/lib/content/menu-entry-type.js +1 -0
- package/dist/render/lib/content/product-card-seed.d.ts +7 -0
- package/dist/render/lib/content/product-card-seed.js +1 -1
- package/dist/render/lib/content/rating.d.ts +1 -0
- package/dist/render/lib/content/rating.js +1 -0
- package/dist/render/lib/document/blocks/commerce/AlloyWheelsListing/meta.d.ts +6 -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/ProductColour/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/ProductEyebrow/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/ProductGrid/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/ProductPrice/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/ProductSpecs/render.js +1 -1
- package/dist/render/lib/document/blocks/service/AppointmentBooking/render.js +1 -1
- package/dist/render/lib/document/blocks/service/ContactRouting/render.js +1 -1
- package/dist/render/lib/document/blocks/service/Events/meta.d.ts +6 -0
- package/dist/render/lib/document/blocks/service/Events/meta.js +1 -1
- package/dist/render/lib/document/blocks/service/Events/render.js +1 -1
- package/dist/render/lib/document/blocks/service/RatingBlock/meta.d.ts +2 -1
- package/dist/render/lib/document/blocks/service/RatingBlock/meta.js +1 -1
- package/dist/render/lib/document/blocks/service/RatingBlock/render.js +1 -1
- package/dist/render/lib/document/card-templates.d.ts +3 -1
- package/dist/render/lib/document/card-templates.js +1 -1
- package/dist/render/lib/document/footer-page-blocks.js +1 -1
- package/dist/render/lib/document/published-chrome-data.d.ts +2 -0
- package/dist/render/lib/document/published-chrome-data.js +1 -0
- package/dist/render/lib/document/render-config.d.ts +2 -0
- package/dist/render/lib/document/render-config.js +1 -1
- package/dist/render/lib/document/section-to-box-rows-detail.js +1 -1
- package/dist/render/lib/document/section-to-box-rows-events.d.ts +1 -0
- package/dist/render/lib/document/section-to-box-rows-events.js +1 -0
- package/dist/render/lib/document/section-to-box-rows-reviews.d.ts +2 -1
- package/dist/render/lib/document/section-to-box-rows-reviews.js +1 -1
- package/dist/render/lib/document/section-to-box-rows-service.d.ts +1 -0
- package/dist/render/lib/document/section-to-box-rows-service.js +1 -0
- package/dist/render/lib/document/section-to-box-rows-spec.js +1 -1
- package/dist/render/lib/sections/grid-no-hole.d.ts +1 -1
- package/dist/render/lib/sections/product-pictures.d.ts +2 -1
- package/dist/render/lib/sections/product-pictures.js +1 -1
- package/dist/render/lib/wheels/plp-hydrate.d.ts +3 -0
- package/dist/render/lib/wheels/plp-hydrate.js +1 -1
- package/dist/words.d.ts +19 -7
- package/dist/words.js +5 -5
- package/package.json +4 -2
- package/dist/chunks/chunk-6TDIG6W3.js +0 -395
- package/dist/chunks/chunk-JMUP4FBL.js +0 -1
- package/dist/chunks/chunk-U6UPMVSX.js +0 -1
- package/dist/render/components/wheels-plp/PlpCard.d.ts +0 -29
- package/dist/render/components/wheels-plp/PlpCard.js +0 -1
- package/dist/render/lib/content/legacy-block-align.d.ts +0 -2
- package/dist/render/lib/content/legacy-block-align.js +0 -1
- /package/dist/chunks/{chunk-N445XY3W.js → chunk-JB6ISWYA.js} +0 -0
- /package/dist/chunks/{chunk-6TDIG6W3.js.LEGAL.txt → chunk-S2WLJ6H2.js.LEGAL.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{SECTION_BOX_SLOT as f,SECTION_BOX_TYPE as O,convertTheme as C,headParts as _,registerSectionToBox as H}from"efficient-web-builder/render/lib/sections/section-to-box";import{BUTTON as I,DIM as a,DROP_COMMON as s,DROP_SIDE_PADDING as c,FOLLOW_THE_BOX as W,INNER_BOX as p,SAME_KEYS as E,SECTION_BOX as g,SH_LINK as D,TEXT as r,bandPage as R,smallText as m,wrapperPad as y,wrapperPadKeys as S}from"efficient-web-builder/render/lib/document/blocks/general/section-to-box-row-parts";import{boxPadding as F,token as o}from"efficient-web-builder/format/lib/document/seed-parts";import{surfacePresetIndex as K}from"efficient-web-builder/format/lib/theme";import{CARD_ROW_FIELD_PROP as L}from"efficient-web-builder/format/lib/content/card-template";import{phoneKey as b}from"efficient-easel/draw";import{REVIEWS_BAND_OWN as M}from"./section-to-box-rows-reviews.js";import{rowFieldTextSeed as d}from"efficient-web-builder/format/lib/document/blocks/general/Cards/card-seed";const w=(e,t)=>{const n=C(t)?.themes,i=n?K(n,R(e,t)):-1;return i>=0?i:e},l=e=>[...E.filter(t=>t!=="sectionAccent"),["sectionAccent","sectionAccent",(t,n,i)=>w(t,i)],...S(e)],x=(e,t,n)=>(i,N)=>({...g,sectionAccent:w(i.sectionAccent??0,N),direction:"column",gap:t,gapPhone:n,sectionBorder:{top:1},...y(i,e)}),P=(e,t,n)=>({kind:"text",key:e,role:"heading",props:r,style:{textStyle:"heading-2",...o("headingMedium",44,32),weight:500,case:"upper",lineHeight:t,letterSpacing:n}}),u=(e,t,n={})=>({kind:"group",name:"Heading",props:{...p,gap:e,gapPhone:e,...n},parts:t}),k=(e={})=>({kind:"core",keep:"rest",props:W,...e}),h=M,[X]=_("ReviewForm"),G=()=>({name:"Review Form",boxProps:x(h,48,32),box:l(h),parts:[u(16,[{...X,props:r},P("title",1,-.02)]),k()],pressKeepsEmpty:["eyebrow","title"],drop:{...s,...c,headPlacement:"the head is the Text blocks above the form, which is always own-box here"}}),[V]=_("Reviews"),T=e=>({textStyle:"body-5",...o("label",12),case:"upper",letterSpacing:e}),j={type:O,props:{...p,name:"Card",gap:16,...F(40,40,32,32),sectionAccent:0},slots:{[f]:[{type:"RatingBlock",props:{[L]:"rating"}},d("title",r,{textStyle:"heading-1",...o("body",19),weight:500,case:"upper",lineHeight:1.2,letterSpacing:-.01}),d("quote",a,{textStyle:"body-1",...o("body",15),lineHeight:1.65}),{type:O,props:{...p,name:"Byline",direction:"row",justify:"between",align:"start",share:"content",phoneRow:2,[b("share")]:"content",gap:16,sectionPaddingTop:20,sectionPaddingTopPhone:20,sectionBorder:{top:1}},slots:{[f]:[d("name",r,T(.22)),d("dateLabel",{...a,align:"right"},{...T(.18),align:"right"}),d("role",{...a,align:"right"},{...T(.18),align:"right"})]}}]}},Y=()=>({name:"Reviews",boxProps:x(h,48,32),box:l(h),parts:[u(16,[{...V,props:r},P("title",1,-.02)]),k({slots:{template:[j]}})],pressKeepsEmpty:["eyebrow","title"],drop:{...s,...c,eyebrowLook:"the eyebrow Text wears the plain eyebrow's start look (Reviews' default); a stored `filled` look needs a filled Text look",headPlacement:"the head is the Text blocks above the reviews, which are always own-box here"}}),B={top:88,bottom:88,topTablet:88,bottomTablet:88,topPhone:64,bottomPhone:64},q=()=>({name:"Booking Form",boxProps:x(B,40,40),box:l(B),parts:[u(16,[m("eyebrow",{...o("label",12),weight:600,letterSpacing:.24,color:"accent"}),P("heading",.98,-.025),{kind:"text",key:"intro",props:{...a,maxWidth:660},style:{textStyle:"heading-1",...o("body",17),weight:400,case:"none",lineHeight:1.65,color:"muted"}}],{maxWidth:760}),k()],pressKeepsEmpty:["eyebrow","heading","intro"],drop:{...s,...c}}),A={top:88,bottom:88,topPhone:64,bottomPhone:64},U=()=>({name:"Ready-to-Order Banner",boxProps:e=>({...g,direction:"column",align:"center",gap:20,gapPhone:20,...y(e,A)}),box:[...E,...S(A)],parts:[{...m("eyebrow"),props:{...r,align:"center"}},{kind:"text",key:"title",role:"heading",props:{...r,align:"center",maxWidth:720},style:{textStyle:"heading-1",...o("headingMedium",44,30),weight:500,case:"none",lineHeight:1.05,letterSpacing:-.03,align:"center"}},{kind:"text",key:"body",props:{...r,align:"center",maxWidth:560},style:{textStyle:"body-1",...o("body",16),lineHeight:1.6,align:"center"}},{kind:"group",name:"Buttons",props:{...p,direction:"row",align:"center",justify:"center",share:"content",phoneRow:2,[b("share")]:"content",gap:24,gapPhone:24,sectionPaddingTop:8,sectionPaddingTopPhone:8},parts:[{kind:"button",key:"ctaText",href:"ctaHref",variant:"primary",props:e=>({...I,align:"center",href:typeof e.ctaHref=="string"&&e.ctaHref?e.ctaHref:"/checkout"})},{kind:"button",key:"secondaryText",href:"secondaryHref",variant:"ghost",props:{...D,align:"center",icon:"none"},style:{...o("label",13),case:"upper",letterSpacing:.2,color:"muted"}}]}],pressKeepsEmpty:["eyebrow","title","body"],drop:{...s,...c}}),v={top:60,bottom:0,topPhone:60,bottomPhone:0},z=()=>({name:"Contact Form",boxProps:(e,t)=>({...g,sectionAccent:w(e.sectionAccent??0,t),direction:"column",gap:0,gapPhone:0,...y(e,v)}),box:l(v),parts:[{kind:"group",name:"Header",props:{...p,direction:"row",align:"center",share:"content",phoneRow:2,[b("share")]:"content",gap:24,gapPhone:24,sectionPaddingBottom:24,sectionPaddingBottomPhone:24,sectionBorder:{bottom:1}},parts:[m("routingNumber"),{kind:"text",key:"routingTagline",props:a,style:{textStyle:"heading-1",...o("body",14),weight:400,case:"upper",letterSpacing:.04,color:"muted"}}]},{kind:"core",keep:"rest",derive:{reads:["sectionAccent"],props:(e,t)=>({sectionAccent:R(e.sectionAccent??0,t)})}}],drop:{...s,...c}});H({ContactRouting:z(),ReviewForm:G(),AppointmentBooking:q(),Reviews:Y(),CheckoutCTA:U()});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SECTION_BOX_SLOT as
|
|
1
|
+
import{SECTION_BOX_SLOT as p,SECTION_BOX_TYPE as a,registerSectionToBox as m}from"efficient-web-builder/render/lib/sections/section-to-box";import{headOnlyRow as l}from"efficient-web-builder/render/lib/document/blocks/general/section-to-box-rows-head";import{DIM as c,INNER_BOX as d,TEXT as P,lineSides as g}from"efficient-web-builder/render/lib/document/blocks/general/section-to-box-row-parts";import{bandRoomBelow as B}from"../sections/section-band.js";import{SPEC_TABLE_BAND as b}from"../sections/spec-table-band.js";import{token as E}from"efficient-web-builder/render/lib/document/blocks/general/section-head-looks";import{rowFieldTextSeed as e}from"efficient-web-builder/format/lib/document/blocks/general/Cards/card-seed";import{phoneKey as n}from"efficient-easel/draw";const i={textStyle:"body-5",...E("label",14),letterSpacing:.05,lineHeight:1.5},S={type:a,props:{...d,name:"Row",direction:"row",justify:"between",align:"start",share:"content",phoneRow:2,[n("share")]:"content",[n("wrap")]:!1,gap:24,sectionPaddingTop:16,sectionPaddingBottom:16,sectionPaddingTopPhone:16,sectionPaddingBottomPhone:16},slots:{[p]:[e("label",c,{...i,case:"upper"}),e("value",{...P,align:"right"},{...i,align:"right"})]}},o=l("SpecTable",{slots:{template:[S]}}),t=B(b.ownBox),T={...o,boxProps:(r,s)=>({...typeof o.boxProps=="function"?o.boxProps(r,s):o.boxProps,sectionPaddingBottom:t.bottom,sectionPaddingBottomPhone:t.bottomPhone,...t.line?{sectionBorder:g({bottom:1})}:{}})};m({SpecTable:T});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type GridBand } from "./fill-row.js";
|
|
2
|
-
export declare const SET_CARD_SINGLE_BELOW: 800
|
|
2
|
+
export declare const SET_CARD_SINGLE_BELOW: 800;
|
|
3
3
|
export declare function packsFull(spans: readonly number[], columns: number): boolean;
|
|
4
4
|
export declare function cardsWithoutHole(spans: readonly number[], columns: number, limit: number | undefined, topUp?: boolean): number;
|
|
5
5
|
export interface NoHoleBand {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { type GalleryLayoutKey } from "efficient-web-builder/format/lib/content/gallery-layout";
|
|
1
2
|
import type { ProductSourceOptions } from "./product-source.js";
|
|
2
3
|
export declare const PRODUCT_PICTURES_SOURCE = "product-pictures";
|
|
3
4
|
export declare const EVERY_IMAGE_ZONE = "all";
|
|
4
5
|
export interface ProductPicturesOptions extends ProductSourceOptions {
|
|
5
6
|
mediaZone?: string;
|
|
6
7
|
}
|
|
7
|
-
export declare const PRODUCT_PICTURES_LAYOUT
|
|
8
|
+
export declare const PRODUCT_PICTURES_LAYOUT: GalleryLayoutKey;
|
|
8
9
|
export declare function productPicturesLayout(props: Record<string, unknown>): string | undefined;
|
|
9
10
|
export interface ProductPictureTile {
|
|
10
11
|
image: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{sourcedRows as E}from"efficient-web-builder/format/lib/content/block-sources";import{say as r}from"efficient-web-builder/format/lib/editor-words";import{resolveGalleryLayout as
|
|
1
|
+
import{sourcedRows as E}from"efficient-web-builder/format/lib/content/block-sources";import{say as r}from"efficient-web-builder/format/lib/editor-words";import{resolveGalleryLayout as P}from"efficient-web-builder/format/lib/content/gallery-layout";import{servedListOf as T,servedRowLists as R,servedWords as _}from"../content/served-lists.js";const A="product-pictures",b="all",O="twoThenThreesPhoto";function I(t){const o=typeof t.layout=="string"&&t.layout?t.layout:void 0;return o&&P(o)||t.columns!=null&&t.columns!==""?o:O}const L=12,S=4,v=t=>Array.from({length:t},(o,n)=>({key:`sample-${n+1}`,process:r("Category"),eyebrow:r("Vehicle"),name:r("Product name"),meta:r("Finish")}));function M(t,o,n){const c=typeof n=="number"&&n>0?Math.floor(n):void 0,{rows:p,sample:f}=E(t,o,v(c??S)),y=f?null:R(t,e=>_(e.photos,L)),l=new Set,u=[];return p.forEach((e,m)=>{const s=e.cover??"";if(!f&&!s)return;const a=e.key||`row-${m+1}`;if(l.has(a))return;l.add(a);const i=T(y,e,m)??[],h=i[0]===s?i.slice(1):i.filter(d=>d!==s);u.push({image:s,photos:h.map(d=>({src:d})),href:e.href||void 0,process:e.process||void 0,eyebrow:e.eyebrow||void 0,name:e.name||void 0,meta:e.meta||void 0,tile:{id:a,tag:e.process??"",name:e.name??""}})}),c?u.slice(0,c):u}export{b as EVERY_IMAGE_ZONE,O as PRODUCT_PICTURES_LAYOUT,A as PRODUCT_PICTURES_SOURCE,M as productPictureTiles,I as productPicturesLayout};
|
|
@@ -5,6 +5,8 @@ import { FILTER_BLOCK_TYPE, PRODUCT_GRID_TYPE } from "../document/document-nodes
|
|
|
5
5
|
export declare const ALLOY_WHEELS_LISTING_TYPE = "AlloyWheelsListing";
|
|
6
6
|
export { PRODUCT_GRID_TYPE };
|
|
7
7
|
export declare const GRID_CATALOG_PROP = "catalog";
|
|
8
|
+
export declare const GRID_CATALOG_TOTAL_PROP = "catalogTotal";
|
|
9
|
+
export declare const GRID_TOP_UP_SPARE = 12;
|
|
8
10
|
export declare const CATALOG_FILTER_BAR_TYPE = "CatalogFilterBar";
|
|
9
11
|
export declare const FIELD_USAGE_PROP = "fieldUsage";
|
|
10
12
|
export declare const LISTING_QUERY_PROP = "requestQuery";
|
|
@@ -18,6 +20,7 @@ export declare function pageHasHydratedValues(data: Data | null | undefined): bo
|
|
|
18
20
|
export declare function pageReadsFieldUsage(data: Data | null | undefined): boolean;
|
|
19
21
|
export declare function hydrateFieldUsage(data: Data, answers: readonly FieldUsageAnswer[]): Data;
|
|
20
22
|
export declare function listingCatalogKinds(data: Data | null | undefined): ProductKind[];
|
|
23
|
+
export declare function listingCatalogBound(data: Data | null | undefined): number | undefined;
|
|
21
24
|
export declare function listingWantsWheelsOnly(kinds: readonly ProductKind[]): boolean;
|
|
22
25
|
export declare function hydrateWheelsListing(data: Data, products: ProductSummary[] | WheelSummary[]): Data;
|
|
23
26
|
export declare function stampListingQuery(data: Data, query: string): Data;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{resolvePlpKinds as
|
|
1
|
+
import{resolvePlpKinds as E}from"../catalog/plp-item.js";import{gridPagingOf as I}from"../sections/product-grid-pages.js";import{gridKindsOf as L,gridRowsOf as W,isAllProductsSource as C,isLinkedSource as N}from"./grid-source.js";import{FILTER_BLOCK_TYPE as O,PRODUCT_GRID_TYPE as R,documentNodes as U,mapDocumentNodes as k}from"../document/document-nodes.js";import{selectedRangesOf as D,stripSelectedRanges as h}from"./selected-ranges.js";import{withShopperFirstPaint as Y,withoutShopperFirstPaint as B,withoutShopperFirstPaintNode as T}from"./shopper-first-paint.js";const p="AlloyWheelsListing",_="catalog",w="catalogTotal",K=12,H="CatalogFilterBar",c="fieldUsage",S="requestQuery";function f(t){return t.props?.source}function o(t){return t?.type===R&&N(f(t))}function l(t){return t?.type===H||t?.type===O}function A(t,e){if(e)return;const{limit:r,cap:n}=I(t.props??{});return n?Math.ceil(r)+K:void 0}function m(t){return t?.type===p||o(t)||l(t)}const u=t=>U(t);function Q(t){return t?u(t).some(e=>e?.type===p||o(e)):!1}function Z(t){return t?Q(t)||u(t).some(e=>T(e)!==e)||h(t)!==t:!1}function $(t){return t?u(t).some(m):!1}function tt(t,e){return e.length===0?t:g(t,m,r=>({...r,props:{...r.props??{},[c]:e}}))}function q(t){if(!t)return[];const e=new Set;for(const r of u(t)){if(r?.type!==p&&!o(r))continue;const n=r.props?.kinds;for(const s of o(r)?L(f(r),n):E(n))e.add(s)}return[...e]}function et(t){if(!t)return;const e=u(t);if(e.some(l))return;const r=q(t).length;let n;for(const s of e){if(s?.type===p)return;if(!o(s))continue;const i=A(s,!1),a=s.props??{},d=new Set(L(f(s),a.kinds)),G=["num","title","description","linkText"].some(x=>typeof a[x]=="string"&&a[x]!=="");if(i===void 0||!C(f(s))||d.size!==r||G)return;n=Math.max(n??0,i)}return n}function rt(t){return t.length===1&&t[0]==="alloy-wheel"}function nt(t,e){const r=D(t.root?.props),n=u(t).some(l);return Y(M(t,s=>o(s)?v(s,e,A(s,n)):{...s,props:{...y(s).props,products:e}}),r)}function v(t,e,r){const n=W(f(t),t.props?.kinds,e),s={...P(t).props};return r!==void 0&&n.length>r?(s[_]=n.slice(0,r),s[w]=n.length):s[_]=n,{...t,props:s}}function st(t,e){const r=e.replace(/^\?/,"");return r?g(t,n=>n?.type===p,n=>({...n,props:{...n.props??{},[S]:r}})):t}function ot(t){return B(g(h(t),m,e=>l(e)?F(e):o(e)?P(e):y(e)))}function F(t){if(!t.props||!(c in t.props))return t;const{[c]:e,...r}=t.props;return{...t,props:r}}function P(t){const{[_]:e,[w]:r,[c]:n,...s}=t.props??{},i=s.source;if(i&&"wheels"in i){const{wheels:a,...d}=i;s.source=d}return{...t,props:s}}function it(t){const e=h({content:[t]}).content[0],r=T(e);return o(r)?P(r):l(r)?F(r):r?.type===p?y(r):r}function y(t){const{wheels:e,products:r,[c]:n,[S]:s,...i}=t.props??{};return{...t,props:i}}function M(t,e){return g(t,r=>r?.type===p||o(r),e)}function g(t,e,r){return k(t,n=>e(n)?r(n):n)}export{p as ALLOY_WHEELS_LISTING_TYPE,H as CATALOG_FILTER_BAR_TYPE,c as FIELD_USAGE_PROP,O as FILTER_BLOCK_TYPE,_ as GRID_CATALOG_PROP,w as GRID_CATALOG_TOTAL_PROP,K as GRID_TOP_UP_SPARE,S as LISTING_QUERY_PROP,R as PRODUCT_GRID_TYPE,ot as dehydrateWheelsListing,it as dehydrateWheelsListingNode,tt as hydrateFieldUsage,nt as hydrateWheelsListing,et as listingCatalogBound,q as listingCatalogKinds,rt as listingWantsWheelsOnly,Z as pageHasHydratedValues,Q as pageHasWheelsListing,$ as pageReadsFieldUsage,st as stampListingQuery};
|
package/dist/words.d.ts
CHANGED
|
@@ -101,6 +101,7 @@ export type WebBuilderPhrase =
|
|
|
101
101
|
| "A titled chart — bars, line or donut — drawn from your own labeled data points."
|
|
102
102
|
| "A vehicle picker — make, model, year and trim resolve the OEM stock fitment live."
|
|
103
103
|
| "A wall of city photos, grouped by region. Each photo links to its city's card."
|
|
104
|
+
| "A wall of your photos or your products' pictures, with a click-to-open lightbox."
|
|
104
105
|
| "A world map of your locations with a legend — designed here, sold worldwide."
|
|
105
106
|
| "A write-a-review form — submissions wait for your approval before they show."
|
|
106
107
|
| "About & brand story"
|
|
@@ -231,6 +232,7 @@ export type WebBuilderPhrase =
|
|
|
231
232
|
| "Box"
|
|
232
233
|
| "Box name"
|
|
233
234
|
| "Box shape"
|
|
235
|
+
| "Box: on small screens the Box keeps its own side space, up to 24 px. Site: it uses the site's Side space, as the site's own sections do. It has no effect when Content is Full width."
|
|
234
236
|
| "Brand Text"
|
|
235
237
|
| "Brand name"
|
|
236
238
|
| "Breadcrumb"
|
|
@@ -326,6 +328,7 @@ export type WebBuilderPhrase =
|
|
|
326
328
|
| "Column 4 title"
|
|
327
329
|
| "Column {n}"
|
|
328
330
|
| "Columns"
|
|
331
|
+
| "Compatible Tyres"
|
|
329
332
|
| "Connect to a live number"
|
|
330
333
|
| "Contact / Locations"
|
|
331
334
|
| "Contact Form"
|
|
@@ -393,6 +396,7 @@ export type WebBuilderPhrase =
|
|
|
393
396
|
| "Delete “{name}”"
|
|
394
397
|
| "Deleted “{name}”"
|
|
395
398
|
| "Delivery"
|
|
399
|
+
| "Delivery Options"
|
|
396
400
|
| "Delivery tiers as cards — name, window and price, one highlighted."
|
|
397
401
|
| "Describe this section in a sentence or two."
|
|
398
402
|
| "Describe this step in a sentence or two."
|
|
@@ -544,6 +548,7 @@ export type WebBuilderPhrase =
|
|
|
544
548
|
| "Full-bleed intro image the next section scrolls over."
|
|
545
549
|
| "Full-screen image or video with a headline."
|
|
546
550
|
| "Full-screen opener with rotating slides."
|
|
551
|
+
| "Gallery"
|
|
547
552
|
| "Gap"
|
|
548
553
|
| "Gap only"
|
|
549
554
|
| "Give the new template page a name. It starts blank — add sections once it opens."
|
|
@@ -618,6 +623,7 @@ export type WebBuilderPhrase =
|
|
|
618
623
|
| "Image background"
|
|
619
624
|
| "Image caption"
|
|
620
625
|
| "Image column"
|
|
626
|
+
| "Image content"
|
|
621
627
|
| "Image date"
|
|
622
628
|
| "Image fit"
|
|
623
629
|
| "Image focus"
|
|
@@ -753,6 +759,7 @@ export type WebBuilderPhrase =
|
|
|
753
759
|
| "Map"
|
|
754
760
|
| "Map & Theme"
|
|
755
761
|
| "Map theme"
|
|
762
|
+
| "Marks"
|
|
756
763
|
| "Marquee"
|
|
757
764
|
| "Match / done (green)"
|
|
758
765
|
| "Media"
|
|
@@ -1004,6 +1011,7 @@ export type WebBuilderPhrase =
|
|
|
1004
1011
|
| "Save your page changes first"
|
|
1005
1012
|
| "Scale"
|
|
1006
1013
|
| "Screen"
|
|
1014
|
+
| "Screen 16:10"
|
|
1007
1015
|
| "Scroll-Over Text"
|
|
1008
1016
|
| "Scrolling Bar"
|
|
1009
1017
|
| "Search"
|
|
@@ -1077,6 +1085,7 @@ export type WebBuilderPhrase =
|
|
|
1077
1085
|
| "Sideways"
|
|
1078
1086
|
| "Signup Form"
|
|
1079
1087
|
| "Simple"
|
|
1088
|
+
| "Site"
|
|
1080
1089
|
| "Site button color"
|
|
1081
1090
|
| "Site settings"
|
|
1082
1091
|
| "Six across"
|
|
@@ -1154,6 +1163,7 @@ export type WebBuilderPhrase =
|
|
|
1154
1163
|
| "Sub-total lines"
|
|
1155
1164
|
| "Subhead"
|
|
1156
1165
|
| "Subscribe"
|
|
1166
|
+
| "Subscribe with Posts"
|
|
1157
1167
|
| "Subtitle"
|
|
1158
1168
|
| "Subtitle font size"
|
|
1159
1169
|
| "Subtotal"
|
|
@@ -1347,6 +1357,7 @@ export type WebBuilderPhrase =
|
|
|
1347
1357
|
| "WeChat"
|
|
1348
1358
|
| "What each card does when a shopper points at it, or taps it on a phone. Rotate turns the wheel picture."
|
|
1349
1359
|
| "What people *say.*"
|
|
1360
|
+
| "What this card does when a shopper points at it, or taps it on a phone. Highlight fills it with the surface color and turns its text the main color."
|
|
1350
1361
|
| "What this does when a shopper points at it, or taps it on a phone."
|
|
1351
1362
|
| "What this picture does when a shopper points at it. Black and white shows it in grey until then. A phone shows its colour."
|
|
1352
1363
|
| "What this picture does when a shopper points at the card. Show next image fades to the card's next photo. Black and white shows it in grey until then. A phone shows the first photo in colour."
|
|
@@ -1476,7 +1487,6 @@ export type StorefrontBlocksPhrase =
|
|
|
1476
1487
|
| "5–7 business days"
|
|
1477
1488
|
| "A Booking Form is these three boxes. They cannot be added to or removed."
|
|
1478
1489
|
| "A Submit-a-build section is these two boxes. They cannot be added to or removed."
|
|
1479
|
-
| "A card's opening picture — picking another color opens that color's first picture."
|
|
1480
1490
|
| "A detail of this record"
|
|
1481
1491
|
| "A few quick picks and we show the right option for you."
|
|
1482
1492
|
| "A line about it appears here."
|
|
@@ -1595,7 +1605,6 @@ export type StorefrontBlocksPhrase =
|
|
|
1595
1605
|
| "Column heading"
|
|
1596
1606
|
| "Columns per line"
|
|
1597
1607
|
| "Compatible *tyres.*"
|
|
1598
|
-
| "Compatible Tyres"
|
|
1599
1608
|
| "Compatible tyres"
|
|
1600
1609
|
| "Compatible wheels"
|
|
1601
1610
|
| "Confirmation message"
|
|
@@ -1629,7 +1638,6 @@ export type StorefrontBlocksPhrase =
|
|
|
1629
1638
|
| "Default (the product's default finish)"
|
|
1630
1639
|
| "Default (the product’s default finish)"
|
|
1631
1640
|
| "Default links"
|
|
1632
|
-
| "Delivery Options"
|
|
1633
1641
|
| "Delivery options"
|
|
1634
1642
|
| "Delivery, your way"
|
|
1635
1643
|
| "Describe this feature in a sentence or two."
|
|
@@ -1694,6 +1702,7 @@ export type StorefrontBlocksPhrase =
|
|
|
1694
1702
|
| "Find your *match.*"
|
|
1695
1703
|
| "Finish"
|
|
1696
1704
|
| "First card"
|
|
1705
|
+
| "First category"
|
|
1697
1706
|
| "First detail"
|
|
1698
1707
|
| "First image on the left"
|
|
1699
1708
|
| "First name"
|
|
@@ -1723,9 +1732,9 @@ export type StorefrontBlocksPhrase =
|
|
|
1723
1732
|
| "Frequency label"
|
|
1724
1733
|
| "Frequency options"
|
|
1725
1734
|
| "From our *customers.*"
|
|
1726
|
-
| "Gallery"
|
|
1727
1735
|
| "Gallery A"
|
|
1728
1736
|
| "Gallery A comes from the product’s Relative / lifestyle photos, Gallery B from its Product photos and the Others gallery from its Others — edit those in the product’s Media tab and refresh. Each media group is a card: its name is the eyebrow, its finish the meta line; the card’s title is the product name and its tag the category. Headings, intro copy and stats stay yours."
|
|
1737
|
+
| "Gallery A comes from the product’s Relative / lifestyle photos, Gallery B from its Product photos and the Others gallery from its Others — edit those in the product’s Media tab and refresh. Each media group is a card: the car set on the group is the eyebrow (a card keeps its caption when the group has no car), its finish the meta line; the card’s title is the product name and its tag the category. Headings, intro copy and stats stay yours."
|
|
1729
1738
|
| "Gallery B"
|
|
1730
1739
|
| "Gallery Item"
|
|
1731
1740
|
| "Gallery link"
|
|
@@ -1756,7 +1765,6 @@ export type StorefrontBlocksPhrase =
|
|
|
1756
1765
|
| "Icon size"
|
|
1757
1766
|
| "Icon style"
|
|
1758
1767
|
| "Image / buy ratio"
|
|
1759
|
-
| "Image content"
|
|
1760
1768
|
| "Image gallery"
|
|
1761
1769
|
| "Image shape"
|
|
1762
1770
|
| "Image source"
|
|
@@ -1833,6 +1841,7 @@ export type StorefrontBlocksPhrase =
|
|
|
1833
1841
|
| "Max"
|
|
1834
1842
|
| "Media group"
|
|
1835
1843
|
| "Menu Item"
|
|
1844
|
+
| "Menu content"
|
|
1836
1845
|
| "Menu link"
|
|
1837
1846
|
| "Menu row"
|
|
1838
1847
|
| "Menu style"
|
|
@@ -1891,6 +1900,7 @@ export type StorefrontBlocksPhrase =
|
|
|
1891
1900
|
| "None — this section will be empty"
|
|
1892
1901
|
| "Not authorized yet — reopen once the editor has loaded."
|
|
1893
1902
|
| "Not your size"
|
|
1903
|
+
| "Nothing to show yet: this menu's entries come from its Menu content."
|
|
1894
1904
|
| "Number or ID"
|
|
1895
1905
|
| "OEM front"
|
|
1896
1906
|
| "OEM front tyres"
|
|
@@ -1972,6 +1982,7 @@ export type StorefrontBlocksPhrase =
|
|
|
1972
1982
|
| "Rates from"
|
|
1973
1983
|
| "Reach by"
|
|
1974
1984
|
| "Read all posts →"
|
|
1985
|
+
| "Read more"
|
|
1975
1986
|
| "Ready when *you are.*"
|
|
1976
1987
|
| "Recent issues"
|
|
1977
1988
|
| "Recent posts"
|
|
@@ -2010,6 +2021,7 @@ export type StorefrontBlocksPhrase =
|
|
|
2010
2021
|
| "Search forms…"
|
|
2011
2022
|
| "Search your catalog…"
|
|
2012
2023
|
| "Second card"
|
|
2024
|
+
| "Second category"
|
|
2013
2025
|
| "Second detail"
|
|
2014
2026
|
| "Second place"
|
|
2015
2027
|
| "Second rate"
|
|
@@ -2063,7 +2075,6 @@ export type StorefrontBlocksPhrase =
|
|
|
2063
2075
|
| "Side rail"
|
|
2064
2076
|
| "Signup form"
|
|
2065
2077
|
| "Similar products"
|
|
2066
|
-
| "Site"
|
|
2067
2078
|
| "Site Footer"
|
|
2068
2079
|
| "Site Header"
|
|
2069
2080
|
| "Size (blank = none selected)"
|
|
@@ -2097,7 +2108,6 @@ export type StorefrontBlocksPhrase =
|
|
|
2097
2108
|
| "Submit button"
|
|
2098
2109
|
| "Submit-failed error"
|
|
2099
2110
|
| "Subscribe Form"
|
|
2100
|
-
| "Subscribe with Posts"
|
|
2101
2111
|
| "Subscribe →"
|
|
2102
2112
|
| "Subscribed button"
|
|
2103
2113
|
| "Subscribed ✓"
|
|
@@ -2109,6 +2119,7 @@ export type StorefrontBlocksPhrase =
|
|
|
2109
2119
|
| "Tab switcher"
|
|
2110
2120
|
| "Tag"
|
|
2111
2121
|
| "Tag filters"
|
|
2122
|
+
| "Tags"
|
|
2112
2123
|
| "Tall"
|
|
2113
2124
|
| "Tell readers what they get and how often. One email, straight to the inbox. We will never sell your address."
|
|
2114
2125
|
| "Template pages"
|
|
@@ -2132,6 +2143,7 @@ export type StorefrontBlocksPhrase =
|
|
|
2132
2143
|
| "The week"
|
|
2133
2144
|
| "The whole hero comes from the product record — title, price, pictures, options and Add to Cart. Edit the product in the Products database and this hero updates to match."
|
|
2134
2145
|
| "Third card"
|
|
2146
|
+
| "Third category"
|
|
2135
2147
|
| "Third detail"
|
|
2136
2148
|
| "Third room"
|
|
2137
2149
|
| "This column isn't linked to a menu, so the preview shows placeholder links. Pick a menu above."
|