efficient-storefront-blocks 0.130.9 → 0.130.11

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.
Files changed (85) hide show
  1. package/CHANGELOG.md +126 -0
  2. package/dist/editor/lib/document/blocks/commerce/FitmentTable/fields.js +1 -1
  3. package/dist/editor/lib/document/blocks/commerce/ProductBuyButton/fields.js +1 -1
  4. package/dist/editor/lib/document/blocks/commerce/ProductEyebrow/fields.js +1 -1
  5. package/dist/editor/lib/document/blocks/commerce/ProductGallery/fields.js +1 -1
  6. package/dist/editor/lib/document/blocks/commerce/ProductHero/fields.js +1 -1
  7. package/dist/editor/lib/document/blocks/commerce/ProductPrice/fields.js +1 -1
  8. package/dist/editor/lib/document/blocks/commerce/ProductSku/fields.js +1 -1
  9. package/dist/editor/lib/document/blocks/commerce/SpecTable/fields.js +1 -1
  10. package/dist/editor/lib/document/blocks/commerce/hero-template-row.d.ts +4 -0
  11. package/dist/editor/lib/document/blocks/commerce/hero-template-row.js +1 -0
  12. package/dist/editor/lib/storefront-editor-words.d.ts +25 -0
  13. package/dist/editor/lib/storefront-editor-words.js +1 -1
  14. package/dist/fitment.js +1 -1
  15. package/dist/index.js +27 -27
  16. package/dist/render/components/FitmentTable.d.ts +2 -1
  17. package/dist/render/components/FitmentTable.js +1 -1
  18. package/dist/render/components/LinkedProductHero.d.ts +2 -0
  19. package/dist/render/components/ProductGallery.d.ts +5 -2
  20. package/dist/render/components/ProductGallery.js +1 -1
  21. package/dist/render/components/ProductHeroPanel.d.ts +6 -1
  22. package/dist/render/components/ProductHeroPanel.js +1 -1
  23. package/dist/render/components/SpecTable.d.ts +2 -1
  24. package/dist/render/components/SpecTable.js +1 -1
  25. package/dist/render/components/card-pieces/CardBuyButton.d.ts +5 -2
  26. package/dist/render/components/card-pieces/CardBuyButton.js +1 -1
  27. package/dist/render/components/card-pieces/CardPrice.d.ts +25 -1
  28. package/dist/render/components/card-pieces/CardPrice.js +1 -1
  29. package/dist/render/components/card-pieces/HostPart.d.ts +3 -0
  30. package/dist/render/components/card-pieces/HostPart.js +1 -1
  31. package/dist/render/components/card-pieces/ProductCardState.d.ts +5 -0
  32. package/dist/render/components/pdp-dynamic/DynamicFitmentTable.d.ts +1 -0
  33. package/dist/render/components/pdp-dynamic/DynamicFitmentTable.js +1 -1
  34. package/dist/render/components/pdp-dynamic/DynamicProductGallery.d.ts +6 -1
  35. package/dist/render/components/pdp-dynamic/DynamicProductGallery.js +1 -1
  36. package/dist/render/components/pdp-dynamic/DynamicProductHero.d.ts +2 -0
  37. package/dist/render/components/pdp-dynamic/DynamicSpecTable.d.ts +1 -0
  38. package/dist/render/components/pdp-dynamic/DynamicSpecTable.js +1 -1
  39. package/dist/render/components/product-hero/CarPickerRow.d.ts +14 -0
  40. package/dist/render/components/product-hero/CarPickerRow.js +1 -0
  41. package/dist/render/components/product-hero/OptionLooks.d.ts +25 -0
  42. package/dist/render/components/product-hero/OptionLooks.js +1 -0
  43. package/dist/render/components/product-hero/SpinLayer.d.ts +4 -0
  44. package/dist/render/components/product-hero/SpinLayer.js +1 -1
  45. package/dist/render/components/product-hero/VehicleQuestion.js +1 -1
  46. package/dist/render/lib/content/buy-button-look.d.ts +5 -0
  47. package/dist/render/lib/content/buy-button-look.js +1 -0
  48. package/dist/render/lib/content/hero-option-seed.d.ts +13 -0
  49. package/dist/render/lib/content/hero-option-seed.js +1 -1
  50. package/dist/render/lib/content/title-look.d.ts +11 -0
  51. package/dist/render/lib/content/title-look.js +1 -1
  52. package/dist/render/lib/document/blocks/commerce/FitmentTable/render.js +1 -1
  53. package/dist/render/lib/document/blocks/commerce/ProductBuyButton/meta.js +1 -1
  54. package/dist/render/lib/document/blocks/commerce/ProductBuyButton/render.js +1 -1
  55. package/dist/render/lib/document/blocks/commerce/ProductEyebrow/render.js +1 -1
  56. package/dist/render/lib/document/blocks/commerce/ProductGallery/meta.js +1 -1
  57. package/dist/render/lib/document/blocks/commerce/ProductGallery/render.js +1 -1
  58. package/dist/render/lib/document/blocks/commerce/ProductHero/meta.d.ts +4 -0
  59. package/dist/render/lib/document/blocks/commerce/ProductHero/meta.js +1 -1
  60. package/dist/render/lib/document/blocks/commerce/ProductHero/render.js +1 -1
  61. package/dist/render/lib/document/blocks/commerce/ProductPrice/render.js +1 -1
  62. package/dist/render/lib/document/blocks/commerce/ProductSku/render.d.ts +7 -0
  63. package/dist/render/lib/document/blocks/commerce/ProductSku/render.js +1 -1
  64. package/dist/render/lib/document/blocks/commerce/ProductSpecs/render.js +1 -1
  65. package/dist/render/lib/document/blocks/commerce/SpecTable/render.js +1 -1
  66. package/dist/render/lib/document/card-templates.js +1 -1
  67. package/dist/render/lib/sections/hero-gallery.d.ts +16 -0
  68. package/dist/render/lib/sections/hero-gallery.js +1 -1
  69. package/dist/render/lib/sections/hero-option-looks.d.ts +37 -0
  70. package/dist/render/lib/sections/hero-option-looks.js +1 -0
  71. package/dist/render/lib/sections/hero-stage-edge.d.ts +3 -0
  72. package/dist/render/lib/sections/hero-stage-edge.js +1 -0
  73. package/dist/render/lib/sections/spin-sets.d.ts +11 -0
  74. package/dist/render/lib/sections/spin-sets.js +1 -1
  75. package/dist/render/lib/wheels/fitment-columns.d.ts +2 -0
  76. package/dist/render/lib/wheels/fitment-columns.js +1 -1
  77. package/dist/render/lib/wheels/spec-format.d.ts +1 -0
  78. package/dist/render/lib/wheels/spec-format.js +1 -1
  79. package/dist/render/lib/wheels/spec-sheet.d.ts +6 -0
  80. package/dist/render/lib/wheels/spec-sheet.js +1 -1
  81. package/dist/routine-index.json +1 -1
  82. package/dist/value-index.json +1 -1
  83. package/dist/words.d.ts +25 -0
  84. package/dist/words.js +1 -1
  85. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,131 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.130.11 — 2026-11-26 — The Eyebrow's breadcrumb links through the host's link
4
+
5
+ **For hosts:** no peer change. The storefront re-vendors `src/` with
6
+ `node scripts/sync-storefront-blocks.mjs`, then runs `just check`.
7
+
8
+ - **Eyebrow, "Show: Breadcrumb":** each crumb is now the host's link
9
+ (`SiteLink` from the builder's `site-runtime`), not `next/link`, so the
10
+ block loads no Next.js module and passes the storefront's import guard
11
+ (`test-general-sections-import-boundary`). The crumb looks and behaves as
12
+ before.
13
+
14
+ ## 0.130.10 — 2026-11-26 — The Buy button block has a Solid look · Spec Table and Sizes can hide empty values; Sizes fits a Box on a phone · Product page pictures to the edge, close-ups only, and a breadcrumb over the name · Product Hero option rows can follow a written design · The product page's 360 view can turn by itself and say how to turn it · Product page title and price lines can follow a written design
15
+
16
+ ### The Buy button block has a Solid look
17
+
18
+ **For hosts:** no peer change. The storefront re-vendors `src/` with
19
+ `node scripts/sync-storefront-blocks.mjs`, then runs `just check`.
20
+
21
+ - **The Buy button block has a "Look" row** (#691): "Spaced capitals" (the
22
+ default, today's face) or "Solid": the site's button fill and ink, normal
23
+ case with no letter spacing, 48 px tall, as wide as its block, solid before
24
+ every question is answered too. No stored page moves until a merchant picks
25
+ it.
26
+
27
+ ### Spec Table and Sizes can hide empty values; Sizes fits a Box on a phone
28
+
29
+ **For hosts:** no peer change. The storefront re-vendors `src/` with
30
+ `node scripts/sync-storefront-blocks.mjs`, then runs `just check`.
31
+
32
+ - **Spec Table: an "Empty rows" chip** (#688) in its Display row. Off, a row whose
33
+ value is empty, "—" or a bare 0 is not drawn. Absent = shown, as today.
34
+ - **Sizes: an "Empty columns" chip** (Display). Off, a column with no value in
35
+ any row (a Load of 0 on every row) is not drawn. Absent = shown, as today.
36
+ - **Sizes in a Box fits a phone** (the Product Hero's buy column): below the
37
+ tablet width a cell may wrap, so the table fits its column and no word is
38
+ cut at the screen's edge. A table at the page's root draws as today.
39
+
40
+ ### Product page pictures to the edge, close-ups only, and a breadcrumb over the name
41
+
42
+ **For hosts:** no peer change. The storefront re-vendors `src/` with
43
+ `node scripts/sync-storefront-blocks.mjs`, then runs `just check`.
44
+
45
+ - **Product Hero: Images to the edge** (Arrangement, default off): the
46
+ picture column runs from the page's edge, with no gutter and no top room;
47
+ on one column the picture is the screen's full width.
48
+ - **Product Hero: Breadcrumb** (Behavior, default on): off draws no crumb bar
49
+ over the hero.
50
+ - **Product Gallery: Show** (default Every picture): First picture + close-ups
51
+ draws only the finish's detail renders under the first picture or the 360
52
+ view, on every wheel; a finish with no close-up shows its first picture alone.
53
+ - **Product Gallery: Labels and arrows** (default on): off draws the picture
54
+ alone, with no index, name strip, arrows or caption strip.
55
+ - **Product Gallery: Gap** (Stacked, default 8 px): the space between the
56
+ stacked pictures.
57
+ - **Eyebrow: Show** (inside a Product Hero, default Eyebrow words): Breadcrumb
58
+ draws the product's trail ("Wheels / FusionForge®"), small and grey.
59
+
60
+ ### Product Hero option rows can follow a written design
61
+
62
+ **For hosts:** no breaking change, no peer change. The storefront re-vendors
63
+ `src/` with `node scripts/sync-storefront-blocks.mjs`.
64
+
65
+ Three new rows in the Product Hero's "Options" group set how its options
66
+ part draws the questions. The first choice of each is the look of today, and
67
+ nothing stored names any of them, so no page moves until a merchant picks a
68
+ new choice.
69
+
70
+ - **Finish look:** "Chips" (today: the option template's word chips with a
71
+ dot) or "Tiles": the label "Finish", then "Finish: <name>" once one is
72
+ chosen, over square 40 px colour tiles, the chosen one framed. Each tile is
73
+ a copy of the hero's new "Tile template" (a Layers rung on every hero,
74
+ seeded on read: one Box filled with the finish's colour), so a merchant
75
+ restyles the tile there.
76
+ - **Size look:** "Buttons" (today) or "Dropdown": one 48 px dropdown that
77
+ says the chosen size, or "Select a size", and opens the shop's one list.
78
+ - **Picker look:** "Four cells" (today: Make, Model, Year and Trim under a
79
+ "Vehicle Fitment" heading) or "One row": one "Select your car" dropdown
80
+ whose list walks the same four levels (it stays open from the make to the
81
+ trim, and the trim applies the car as the fourth cell does). "Select by
82
+ specs instead" stays, under the row. Shown while "Vehicle fitment" is on.
83
+
84
+ ### The product page's 360 view can turn by itself and say how to turn it
85
+
86
+ **For hosts:** no peer change. The storefront re-vendors `src/` with
87
+ `node scripts/sync-storefront-blocks.mjs`, then runs `just check`.
88
+
89
+ - **Product Gallery: `Auto turn`** (#687), a switch, off by default (the spin
90
+ stands still, as today). On: once every frame has loaded the wheel turns by
91
+ itself, one full turn in 14 s (an arc turns to one end and back). A drag or a
92
+ key stops it at once; it turns again 2.5 s after the release. It runs no
93
+ frame loop while the view is off screen or the tab is hidden. It turns with
94
+ reduced motion on too.
95
+ - **Product Gallery: `Turn hint`** (#687), a switch, off by default. On: "Drag
96
+ to turn" ("Swipe to turn" on a phone) under the wheel, 1 s after the view is
97
+ drawn, gone on the first drag or 6 s later, once per page view.
98
+
99
+ ### Product page title and price lines can follow a written design
100
+
101
+ **For hosts:** no breaking change, no peer change. The storefront re-vendors
102
+ `src/` with `node scripts/sync-storefront-blocks.mjs`.
103
+
104
+ Each new look is a choice on the part that draws it. The default is the
105
+ look of today, so a page moves only when a merchant picks a new choice, with
106
+ one exception: a Price block that already stores the "Price word" "From" now
107
+ shows "From" in the Product Hero too (before, the hero did not read it).
108
+
109
+ - **Price, "Unit label":** "Own label" (today: "PER WHEEL" in small capitals) or
110
+ "In the line": "From $345 per wheel" on one line, the unit in the amount's
111
+ own size and case. The Price's "Price word" ("from" or "From") now also
112
+ applies in the Product Hero.
113
+ - **Price, "Show":** "Price" (today) or "Set total": the set line a merchant
114
+ adds above Add to cart, as a second Price block in the hero. It shows
115
+ "Set of 4 wheels" and the set's total; before a set is chosen, the cheapest set,
116
+ marked "From". An unpriced product draws no line. "Price word" sets the case of "from".
117
+ "Show", "Unit label" and "Set badge" are drawn only inside a Product Hero's
118
+ template; with "Set total", "Unit label" and "Set badge" hide.
119
+ - **Price, "Set badge":** on (today) or off. Off hides the "Set of 4: $1,380"
120
+ badge beside the price after a set is chosen.
121
+ - **SKU, "Show":** "SKU and part numbers" (today) or "Product code": the
122
+ design's own code (for example "YSM-096") before a set is chosen, the set's
123
+ part numbers after, and no "SKU" word.
124
+ - **Specs in the Product Hero:** the Specs part can be added to the hero. With
125
+ "Sizes only" it draws the wheel's sizes on one line ('20" · 22"'). With
126
+ "All facts" it draws nothing on a live page there (the hero's own rows state
127
+ the facts), and its dimmed name in the editor.
128
+
3
129
  ## 0.130.9 — 2026-11-26 — The header logo is fetched for its light/dark analysis only from the shop's own image origins
4
130
 
5
131
  **For hosts:** no peer change. The storefront re-vendors `src/` with
@@ -1 +1 @@
1
- import{jsx as n}from"react/jsx-runtime";import{getFitments as a}from"../../../../../../render/lib/wheels/fitments.js";import{WHEELS as s}from"../../../../../../render/lib/wheels/wheels.js";import{ProductFieldIcon as f,BlockProductIcon as p,ProductSizeIcon as c,NoteIcon as d}from"efficient-easel/icons";import{toggle as i,text as r,textarea as l,linkField as F}from"efficient-web-builder/editor/lib/document/controls";import{group as t}from"efficient-easel/screen/lib/document/box-fields";import{select as T}from"efficient-web-builder/editor/lib/document/box-fields";import{headFieldsForPlacement as u,SPLITTABLE_SECTIONS as _}from"efficient-web-builder/format/lib/sections/section-head-placement";import{withRowRules as g}from"efficient-web-builder/render/lib/document/show-when";import{OFF_DYNAMIC_PAGE as E,ON_TYRE_TEMPLATE as h,TYRE_TEMPLATE_FACTS as L}from"../page-rules.js";import{FITMENTTABLE_PH as e,FitmentTableSlots as P}from"../../../../../../render/lib/document/blocks/commerce/FitmentTable/meta.js";const I=s.filter(o=>a(o.slug).length>0).map(o=>({value:o.slug,label:o.name})),M={fields:g({_gDynamic:t("Product page"),dynamic:i("Connect to product data",!1,n(f,{})),_gContent:t("Header"),num:r("Number",e.num),title:r("Heading",e.title),description:l("Body",e.description),_gData:t("Wheel"),wheel:T("Product",n(p,{}),I,"vector-iii"),_gOptions:t("Controls"),showFilter:i("Size-filter chips",!0,n(c,{})),tooltipDefaultOn:i("Detail tooltip on by default",!0,n(d,{})),_gFootnote:t("Footnote"),footnote:l("Footnote",e.footnote),footnoteLinkText:r("Footnote button",e.footnoteLinkText),footnoteLinkHref:F("Footnote link"),...P},[[["_gDynamic","dynamic"],{any:[]}],[["_gData","wheel"],E],[["_gOptions","showFilter","tooltipDefaultOn","_gFootnote","footnote","footnoteLinkText","footnoteLinkHref"],{not:h}]]),resolveFields:(o,{fields:m,parent:S})=>u(m,o.props.headPlacement,_.FitmentTable.headRows),showWhenFacts:L};export{M as FitmentTableFields};
1
+ import{jsx as t}from"react/jsx-runtime";import{getFitments as p}from"../../../../../../render/lib/wheels/fitments.js";import{WHEELS as f}from"../../../../../../render/lib/wheels/wheels.js";import{ProductFieldIcon as d,BlockProductIcon as c,ProductSizeIcon as u,NoteIcon as F}from"efficient-easel/icons";import{DisplayRow as T,toggle as r,text as l,textarea as m,linkField as _}from"efficient-web-builder/editor/lib/document/controls";import{group as e}from"efficient-easel/screen/lib/document/box-fields";import{select as E}from"efficient-web-builder/editor/lib/document/box-fields";import{headFieldsForPlacement as g,SPLITTABLE_SECTIONS as h}from"efficient-web-builder/format/lib/sections/section-head-placement";import{withRowRules as P}from"efficient-web-builder/render/lib/document/show-when";import{OFF_DYNAMIC_PAGE as y,ON_TYRE_TEMPLATE as L,TYRE_TEMPLATE_FACTS as w}from"../page-rules.js";import{FITMENTTABLE_PH as n,FitmentTableSlots as S}from"../../../../../../render/lib/document/blocks/commerce/FitmentTable/meta.js";const C=[{id:"emptyColumns",label:"Empty columns"}],D=f.filter(o=>p(o.slug).length>0).map(o=>({value:o.slug,label:o.name})),W={fields:P({_gDynamic:e("Product page"),dynamic:r("Connect to product data",!1,t(d,{})),_gContent:e("Header"),num:l("Number",n.num),title:l("Heading",n.title),description:m("Body",n.description),_gData:e("Wheel"),wheel:E("Product",t(c,{}),D,"vector-iii"),_gOptions:e("Controls"),showFilter:r("Size-filter chips",!0,t(u,{})),tooltipDefaultOn:r("Detail tooltip on by default",!0,t(F,{})),showEmptyColumns:{type:"custom",render:({value:o,onChange:i})=>t(T,{parts:C,changed:o===!1,shown:()=>o!==!1,onPress:(s,a)=>i(a?void 0:!1),onReset:()=>i(void 0)})},_gFootnote:e("Footnote"),footnote:m("Footnote",n.footnote),footnoteLinkText:l("Footnote button",n.footnoteLinkText),footnoteLinkHref:_("Footnote link"),...S},[[["_gDynamic","dynamic"],{any:[]}],[["_gData","wheel"],y],[["_gOptions","showFilter","tooltipDefaultOn","showEmptyColumns","_gFootnote","footnote","footnoteLinkText","footnoteLinkHref"],{not:L}]]),resolveFields:(o,{fields:i,parent:s})=>g(i,o.props.headPlacement,h.FitmentTable.headRows),showWhenFacts:w};export{W as FitmentTableFields};
@@ -1 +1 @@
1
- const t={fields:{}};export{t as ProductBuyButtonFields};
1
+ import{jsx as o}from"react/jsx-runtime";import{ButtonIcon as t}from"efficient-easel/icons";import{select as i}from"efficient-web-builder/editor/lib/document/box-fields";import{say as l}from"efficient-web-builder/format/lib/editor-words";import{withHint as r}from"../controls.js";import{BUY_BUTTON_LOOK_PROP as s,DEFAULT_BUY_BUTTON_LOOK as a}from"../../../../../../render/lib/content/buy-button-look.js";const f={fields:{[s]:r(i("Look",o(t,{}),[{label:"Spaced capitals",value:"capitals"},{label:"Solid",value:"solid"}],a),l("Solid is the site's button in normal case, 48 px tall."))}};export{f as ProductBuyButtonFields};
@@ -1 +1 @@
1
- import{jsx as i}from"react/jsx-runtime";import{BlockBadgeIcon as m}from"efficient-easel/icons";import{toggle as f}from"efficient-web-builder/editor/lib/document/controls";import{say as E}from"efficient-web-builder/format/lib/editor-words";import{enclosingPath as l}from"efficient-web-builder/editor/lib/document/enclosing-section";import{shownForOption as n,withRowRules as p}from"efficient-web-builder/render/lib/document/show-when";import{DEFAULT_TITLE_LOOK as T,EYEBROW_BADGE_PROP as t,TITLE_LOOK_PROP as r,TITLE_LOOKS as _}from"../../../../../../render/lib/content/title-look.js";import{HERO_TEMPLATE_SHAPE as O,HERO_TEMPLATE_SHAPE_PROP as d}from"../../../../../../render/lib/content/hero-seed.js";import{titleLookRow as P}from"../title-look-row.js";function c(e,o){if(typeof o!="string")return!1;const s=e?.data;return l(s,o).some(a=>a[d]===O)}const L={not:{context:"offHeroTemplate",is:!0}},b={fields:p({[r]:P({label:"Card eyebrow",value:"card"}),[t]:f("Badge",!1,i(m,{}),E("Shows the product's badge after the words."))},[[[t],{all:[n(r,_,T,["headline"]),L]}]]),showWhenFacts:{offHeroTemplate:(e,{appState:o})=>!c(o,e.props?.id)}};export{b as ProductEyebrowFields};
1
+ import{jsx as o}from"react/jsx-runtime";import{BlockBadgeIcon as O,BreadcrumbIcon as m}from"efficient-easel/icons";import{select as _}from"efficient-web-builder/editor/lib/document/box-fields";import{toggle as s}from"efficient-web-builder/editor/lib/document/controls";import{say as a}from"efficient-web-builder/format/lib/editor-words";import{shownForOption as i,withRowRules as l}from"efficient-web-builder/render/lib/document/show-when";import{DEFAULT_EYEBROW_SHOW as R,DEFAULT_TITLE_LOOK as T,EYEBROW_BADGE_PROP as r,EYEBROW_SHOW_PROP as e,EYEBROW_SHOWS as d,TITLE_LOOK_PROP as t,TITLE_LOOKS as f}from"../../../../../../render/lib/content/title-look.js";import{HERO_TEMPLATE_FACTS as p,IN_HERO_TEMPLATE_ROW as E}from"../hero-template-row.js";import{titleLookRow as L}from"../title-look-row.js";const F={fields:l({[t]:L({label:"Card eyebrow",value:"card"}),[e]:_("Show",o(m,{}),[...d],R),[r]:s("Badge",!1,o(O,{}),a("Shows the product's badge after the words."))},[[[e],E],[[r],{all:[i(t,f,T,["headline"]),E]}]]),showWhenFacts:p};export{F as ProductEyebrowFields};
@@ -1 +1 @@
1
- import{jsx as e}from"react/jsx-runtime";import{IMAGE_FIT_ROW_LABEL as a}from"efficient-web-builder/format/lib/content/image-fit";import{BackgroundIcon as o,GridIcon as r,ImageIcon as m}from"efficient-easel/icons";import{group as t}from"efficient-easel/screen/lib/document/box-fields";import{segmented as i,select as l}from"efficient-web-builder/editor/lib/document/box-fields";import{DEFAULT_HERO_GALLERY_MODE as _,DEFAULT_HERO_IMAGE_FIT as g,DEFAULT_HERO_PHOTO_GROUND as d,HERO_PHOTO_GROUNDS as n,heroImageFitOptions as O}from"../../../../../../render/lib/sections/hero-gallery.js";const G={fields:{_gImageGallery:t("Image gallery"),galleryMode:l("Gallery",e(r,{}),[{label:"Main only",value:"main"},{label:"Main + thumbs",value:"thumbs"},{label:"Tiled",value:"tiled"},{label:"Stacked",value:"stacked"}],_),imageFit:i(a,e(m,{}),O(),g),ground:l("Image ground",e(o,{}),[...n],d)}};export{G as ProductGalleryFields};
1
+ import{jsx as o}from"react/jsx-runtime";import{IMAGE_FIT_ROW_LABEL as _}from"efficient-web-builder/format/lib/content/image-fit";import{BackgroundIcon as t,CaptionIcon as l,GapIcon as E,GridIcon as m,HandIcon as n,ImageIcon as i,ImagesIcon as L,RotateIcon as R}from"efficient-easel/icons";import{group as A}from"efficient-easel/screen/lib/document/box-fields";import{segmented as O,select as e,slider as I}from"efficient-web-builder/editor/lib/document/box-fields";import{toggle as a}from"efficient-web-builder/editor/lib/document/controls";import{shownForOption as s,withRowRules as G}from"efficient-web-builder/render/lib/document/show-when";import{DEFAULT_SPIN_AUTO_TURN as g,DEFAULT_SPIN_HINT as p}from"../../../../../../render/lib/sections/spin-sets.js";import{DEFAULT_HERO_GALLERY_GAP as d,DEFAULT_HERO_GALLERY_MARKS as u,DEFAULT_HERO_GALLERY_MODE as r,DEFAULT_HERO_GALLERY_SHOW as H,HERO_GALLERY_GAP_MAX as T,HERO_GALLERY_GAP_MIN as c,HERO_GALLERY_MODES as F,HERO_GALLERY_SHOWS as D,DEFAULT_HERO_IMAGE_FIT as U,DEFAULT_HERO_PHOTO_GROUND as M,HERO_PHOTO_GROUNDS as f,heroImageFitOptions as S}from"../../../../../../render/lib/sections/hero-gallery.js";const x={fields:G({_gImageGallery:A("Image gallery"),galleryMode:e("Gallery",o(m,{}),[{label:"Main only",value:"main"},{label:"Main + thumbs",value:"thumbs"},{label:"Tiled",value:"tiled"},{label:"Stacked",value:"stacked"}],r),imageFit:O(_,o(i,{}),S(),U),ground:e("Image ground",o(t,{}),[...f],M),show:e("Show",o(L,{}),[...D],H),marks:a("Labels and arrows",u,o(l,{})),gap:I("Gap",o(E,{}),c,T,1,d,"px"),autoTurn:a("Auto turn",g,o(R,{})),turnHint:a("Turn hint",p,o(n,{}))},[[["gap"],s("galleryMode",F,r,["stacked"])]])};export{x as ProductGalleryFields};
@@ -1 +1 @@
1
- import{jsx as t}from"react/jsx-runtime";import{EDITOR_ONLY_GROUP as u,LAYOUT_FIELD_KEYS as E,SECTION_THEME_FIELD_KEYS as P,SECTION_SHAPE_FIELD_KEYS as O,SECTION_ANIM_FIELD_KEYS as T}from"efficient-web-builder/editor/lib/document/field-groups";import{PREVIEWABLE_KINDS as g}from"../../../../../../render/components/pdp-dynamic/useSampleProduct.js";import A from"../../../../../components/ProductHeroSource.js";import I from"../../../../../components/PreviewProductPicker.js";import{CarIcon as S,LayoutIcon as d,ColumnWidthsIcon as f,SpecTableIcon as h,StickyIcon as w}from"efficient-easel/icons";import{sourceField as R,toggle as m}from"efficient-web-builder/editor/lib/document/controls";import{alignmentField as L,group as i}from"efficient-easel/screen/lib/document/box-fields";import{segmented as F,slider as v}from"efficient-web-builder/editor/lib/document/box-fields";import{isEditorOnDynamicPage as N,editorTemplateProductKind as D}from"efficient-web-builder/format/lib/document/editor-page-context";import{DEFAULT_HERO_LAYOUT as c,HERO_LAYOUTS as n,HERO_RATIO_MIN as k,HERO_RATIO_MAX as y,DEFAULT_HERO_RATIO as C,DEFAULT_HERO_TEXT_ALIGN as H}from"../../../../../../render/lib/sections/hero-arrangement.js";import{shownForOption as Y,withRowRules as s}from"efficient-web-builder/render/lib/document/show-when";import{OFF_DYNAMIC_PAGE as b,ON_DYNAMIC_PAGE_ROW as U,PAGE_FACTS as M}from"../page-rules.js";import{HERO_BUY_SLOT as _}from"../../../../../../render/lib/content/hero-buy-seed.js";import{ProductHeroSlots as l}from"../../../../../../render/lib/document/blocks/commerce/ProductHero/meta.js";import{HERO_OPTION_SLOT as a}from"../../../../../../render/lib/content/hero-option-seed.js";import{heroTemplateFollowsArrangement as K}from"../../../../../../render/lib/content/hero-seed.js";const x=()=>({type:"custom",render:()=>t(I,{})});function G(e){const o=e?.data?.root;return g.includes(D(o?.props))}const B={not:{context:"previewsNoTemplateProduct",is:!0}},V=new Set([...E,...P,...O,...T,"_gPreview","previewPick","_gBehaviour","showVehicleFitment","showSpecTable","_gArrangement","heroLayout","imageRatio","stickyColumns","textAlign","template",a]),ce={fields:s({_gSource:i("Product"),source:R(A),_gPreview:i(u),previewPick:x(),_gBehaviour:i("Behavior"),showVehicleFitment:m("Vehicle fitment",!0,t(S,{})),showSpecTable:m("Spec table",!0,t(h,{})),_gArrangement:i("Arrangement"),heroLayout:F("Layout",t(d,{}),[{label:"Split",value:"split"},{label:"Image right",value:"imageRight"},{label:"Stacked",value:"stacked"}],c),imageRatio:v("Image / buy ratio",t(f,{}),k,y,1,C,"%"),textAlign:L({allow:["left","center"],fallback:H}),stickyColumns:m("Pin columns while scrolling",!1,t(w,{})),template:l.template,[a]:l[a],[_]:l[_]},[[["imageRatio","stickyColumns"],Y("heroLayout",n,c,n.filter(e=>e!=="stacked"))],[["_gPreview","previewPick"],{all:[U,B]}]]),resolveData:(e,{changed:o})=>{const r=K(e.props,o);return r===e.props?e:{...e,props:r}},resolveFields:(e,{fields:o})=>{if(!N())return o;const r=Object.keys(o).filter(p=>!V.has(p));return s(o,[[r,b]])},showWhenFacts:{...M,previewsNoTemplateProduct:(e,{appState:o})=>!G(o)}};export{ce as ProductHeroFields};
1
+ import{jsx as o}from"react/jsx-runtime";import{EDITOR_ONLY_GROUP as R,LAYOUT_FIELD_KEYS as d,SECTION_THEME_FIELD_KEYS as S,SECTION_SHAPE_FIELD_KEYS as L,SECTION_ANIM_FIELD_KEYS as h}from"efficient-web-builder/editor/lib/document/field-groups";import{PREVIEWABLE_KINDS as A}from"../../../../../../render/components/pdp-dynamic/useSampleProduct.js";import F from"../../../../../components/ProductHeroSource.js";import f from"../../../../../components/PreviewProductPicker.js";import{BreadcrumbIcon as w,CarIcon as H,LayoutIcon as E,ColumnWidthsIcon as N,FullWidthIcon as k,SpecTableIcon as v,StickyIcon as K,FinishIcon as D,ProductSizeIcon as C}from"efficient-easel/icons";import{sourceField as b,toggle as r}from"efficient-web-builder/editor/lib/document/controls";import{alignmentField as y,group as i}from"efficient-easel/screen/lib/document/box-fields";import{select as l,segmented as U,slider as Y}from"efficient-web-builder/editor/lib/document/box-fields";import{isEditorOnDynamicPage as B,editorTemplateProductKind as M}from"efficient-web-builder/format/lib/document/editor-page-context";import{DEFAULT_HERO_LAYOUT as a,HERO_LAYOUTS as O,HERO_RATIO_MIN as x,HERO_RATIO_MAX as G,DEFAULT_HERO_RATIO as V,DEFAULT_HERO_TEXT_ALIGN as W}from"../../../../../../render/lib/sections/hero-arrangement.js";import{shownForOption as p,withRowRules as u}from"efficient-web-builder/render/lib/document/show-when";import{OFF_DYNAMIC_PAGE as j,ON_DYNAMIC_PAGE_ROW as Z,PAGE_FACTS as z}from"../page-rules.js";import{HERO_BUY_SLOT as I}from"../../../../../../render/lib/content/hero-buy-seed.js";import{ProductHeroSlots as m}from"../../../../../../render/lib/document/blocks/commerce/ProductHero/meta.js";import{HERO_OPTION_SLOT as c,HERO_TILE_SLOT as s}from"../../../../../../render/lib/content/hero-option-seed.js";import{heroTemplateFollowsArrangement as X}from"../../../../../../render/lib/content/hero-seed.js";import{DEFAULT_HERO_FINISH_LOOK as q,DEFAULT_HERO_PICKER_LOOK as J,DEFAULT_HERO_SIZE_LOOK as Q,HERO_FINISH_LOOK_OPTIONS as $,HERO_FINISH_LOOK_PROP as P,HERO_PICKER_LOOK_OPTIONS as ee,HERO_PICKER_LOOK_PROP as n,HERO_SIZE_LOOK_OPTIONS as oe,HERO_SIZE_LOOK_PROP as T}from"../../../../../../render/lib/sections/hero-option-looks.js";const te=()=>({type:"custom",render:()=>o(f,{})});function re(e){const t=e?.data?.root;return A.includes(M(t?.props))}const ie={not:{context:"previewsNoTemplateProduct",is:!0}},_e=new Set([...d,...S,...L,...h,"_gPreview","previewPick","_gBehaviour","showVehicleFitment","showSpecTable","showBreadcrumb","_gArrangement","heroLayout","imageRatio","stickyColumns","stageToEdge","textAlign","_gOptions",P,T,n,"template",c,s]),he={fields:u({_gSource:i("Product"),source:b(F),_gPreview:i(R),previewPick:te(),_gBehaviour:i("Behavior"),showVehicleFitment:r("Vehicle fitment",!0,o(H,{})),showSpecTable:r("Spec table",!0,o(v,{})),showBreadcrumb:r("Breadcrumb",!0,o(w,{})),_gArrangement:i("Arrangement"),heroLayout:U("Layout",o(E,{}),[{label:"Split",value:"split"},{label:"Image right",value:"imageRight"},{label:"Stacked",value:"stacked"}],a),imageRatio:Y("Image / buy ratio",o(N,{}),x,G,1,V,"%"),textAlign:y({allow:["left","center"],fallback:W}),stickyColumns:r("Pin columns while scrolling",!1,o(K,{})),stageToEdge:r("Images to the edge",!1,o(k,{})),_gOptions:i("Options"),[P]:l("Finish look",o(D,{}),$,q),[T]:l("Size look",o(C,{}),oe,Q),[n]:l("Picker look",o(E,{}),ee,J),template:m.template,[c]:m[c],[s]:m[s],[I]:m[I]},[[["imageRatio","stickyColumns"],p("heroLayout",O,a,O.filter(e=>e!=="stacked"))],[["stageToEdge"],p("heroLayout",O,a,O.filter(e=>e!=="stacked"))],[["_gPreview","previewPick"],{all:[Z,ie]}],[[n],{field:"showVehicleFitment",is:!0,default:!0}]]),resolveData:(e,{changed:t})=>{const _=X(e.props,t);return _===e.props?e:{...e,props:_}},resolveFields:(e,{fields:t})=>{if(!B())return t;const _=Object.keys(t).filter(g=>!_e.has(g));return u(t,[[_,j]])},showWhenFacts:{...z,previewsNoTemplateProduct:(e,{appState:t})=>!re(t)}};export{he as ProductHeroFields};
@@ -1 +1 @@
1
- import{jsx as e}from"react/jsx-runtime";import{CaseCapitalizedIcon as i}from"efficient-easel/icons";import{select as m}from"efficient-web-builder/editor/lib/document/box-fields";import{PRICE_WORDS as o}from"../../../../../../render/components/card-pieces/CardPrice.js";const c={fields:{priceWord:m("Price word",e(i,{}),o.map(r=>({label:r,value:r})),o[0])}};export{c as ProductPriceFields};
1
+ import{jsx as r}from"react/jsx-runtime";import{CaseCapitalizedIcon as l,DollarIcon as m,ListIcon as c,TagIcon as n}from"efficient-easel/icons";import{toggle as p}from"efficient-web-builder/editor/lib/document/controls";import{select as t}from"efficient-web-builder/editor/lib/document/box-fields";import{shownForOption as d,withRowRules as u}from"efficient-web-builder/render/lib/document/show-when";import{PRICE_SHOWS as o,PRICE_WORDS as s,UNIT_WORDS as a}from"../../../../../../render/components/card-pieces/CardPrice.js";import{HERO_TEMPLATE_FACTS as E,IN_HERO_TEMPLATE_ROW as i}from"../hero-template-row.js";const _=o.map(e=>e.value),I=d("show",_,o[0].value,[o[0].value]),P={fields:u({show:t("Show",r(c,{}),[...o],o[0].value),priceWord:t("Price word",r(l,{}),s.map(e=>({label:e,value:e})),s[0]),unitWords:t("Unit label",r(m,{}),[...a],a[0].value),setBadge:p("Set badge",!0,r(n,{}))},[[["show"],i],[["unitWords","setBadge"],{all:[I,i]}]]),showWhenFacts:E};export{P as ProductPriceFields};
@@ -1 +1 @@
1
- const d={fields:{}};export{d as ProductSkuFields};
1
+ import{jsx as r}from"react/jsx-runtime";import{ListIcon as s}from"efficient-easel/icons";import{select as t}from"efficient-web-builder/editor/lib/document/box-fields";import{SKU_SHOWS as o}from"../../../../../../render/lib/document/blocks/commerce/ProductSku/render.js";const p={fields:{show:t("Show",r(s,{}),[...o],o[0].value)}};export{p as ProductSkuFields};
@@ -1 +1 @@
1
- import{jsx as a}from"react/jsx-runtime";import{headerKeysOfPlace as L,LAYOUT_FIELD_KEYS as b,SECTION_THEME_FIELD_KEYS as A,SECTION_SHAPE_FIELD_KEYS as F,SECTION_ANIM_FIELD_KEYS as I}from"efficient-web-builder/editor/lib/document/field-groups";import{getWheelBySlug as N}from"../../../../../../render/lib/wheels/wheels.js";import{SPEC_OWN_ROWS as l}from"../../../../../../render/lib/wheels/spec-sheet.js";import C from"../../../../../components/SpecTableSource.js";import{ProductFieldIcon as H,FinishIcon as S,DiagramIcon as W}from"efficient-easel/icons";import{DisplayRow as g,toggle as T,text as B,textarea as w,sourceField as Y,plainText as D,useSelectedPatch as x,useSelectedProps as M}from"efficient-web-builder/editor/lib/document/controls";import{group as c}from"efficient-easel/screen/lib/document/box-fields";import{select as O}from"efficient-web-builder/editor/lib/document/box-fields";import{isEditorOnDynamicPage as U}from"efficient-web-builder/format/lib/document/editor-page-context";import{HEAD_ROWS_SHOW_WHEN as K,headFieldsForPlacement as v,SPLITTABLE_SECTIONS as j}from"efficient-web-builder/format/lib/sections/section-head-placement";import{truthy as _,withRowRules as R}from"efficient-web-builder/render/lib/document/show-when";import{BOUND_TO_THE_RECORD as z,BOUND_TO_THE_RECORD_ROW as d,OFF_TYRE_TEMPLATE_FACTS as k,ON_DYNAMIC_PAGE_ROW as G,ON_TYRE_TEMPLATE as V,ON_TYRE_TEMPLATE_ROW as Z,PAGE_FACTS as q,TYRE_TEMPLATE_FACTS as J}from"../page-rules.js";import{SPECTABLE_PH as f,SpecTableSlots as Q}from"../../../../../../render/lib/document/blocks/commerce/SpecTable/meta.js";const X="Size (blank = none selected)",$=[{id:"euLabel",label:"EU tyre label"}];function ee(){const o=M(),s=x(),u=l.some(e=>o[e.prop]===!1);return a(g,{parts:l,changed:u,shown:e=>o[l.find(i=>i.id===e)?.prop??""]!==!1,onPress:(e,i)=>{const m=l.find(t=>t.id===e);m&&s({[m.prop]:i?void 0:!1})},onReset:()=>s(Object.fromEntries(l.map(e=>[e.prop,void 0])))})}const oe=new Set([...L("Content"),"_gDynamic","dynamic","_gHeader","num","title","description","_gDiagram","showDiagram","showEuLabel","showSelectionRow","template",...b,...A,...F,...I]),se={not:z},E={any:[{all:[_("source.slug"),_("source.spec")]},{all:[{not:_("source.slug")},_("wheel")]}]},te={any:[{all:[d,{not:V}]},E]},Se={fields:R({...Q,_gDynamic:c("Product page"),dynamic:T("Connect to product data",!1,a(H,{})),_gHeader:c("Header"),num:B("Number",f.num),title:w("Heading",f.title),description:w("Body",f.description),_gData:c("Product"),source:Y(C),finish:O("Finish",a(S,{}),[],""),size:{type:"text",label:X},_gDiagram:c("Diagram"),showDiagram:T("Dimension diagram",!0,a(W,{})),showEuLabel:{type:"custom",render:({value:o,onChange:s})=>a(g,{parts:$,changed:o===!0,shown:()=>o===!0,onPress:(u,e)=>s(e),onReset:()=>s(!1)})},showSelectionRow:{type:"custom",render:()=>a(ee,{})},_gRows:c("Rows"),rows:{type:"array",label:"Rows",arrayFields:{label:D("Label"),value:D("Value")},defaultItemProps:{label:"Label",value:""},getItemSummary:o=>o?.label||o?.value||"Row"}},[[["_gDynamic","dynamic"],G],[["finish","size"],E],[["_gDiagram","showDiagram"],{any:[d,E]}],[["_gRows","rows"],{not:E}],[["showEuLabel"],{all:[d,Z]}],[["showSelectionRow"],te],[["_gDiagram","showDiagram","showEuLabel"],K]]),resolveFields:(o,{fields:s,parent:u})=>{const e=o.props,i=U(),m=n=>v(n,o.props.headPlacement,j.SpecTable.headRows),t=e.source,h=!t?.slug&&typeof e.wheel=="string"?e.wheel:"";let p=s;if(!(i&&e.dynamic)&&(t?.slug&&t.spec||h)){const n=t?.slug?t.finishes.map(r=>r.name):(N(h)?.finishes??[]).map(r=>r.name),y=[{value:"",label:"Default (first finish)"},...n.map(r=>({value:r,label:r}))];p={...p,finish:O("Finish",a(S,{}),y,"")}}const P=Object.keys(p).filter(n=>!oe.has(n));return m(R(p,[[P,se]]))},showWhenFacts:{...q,...k,...J}};export{Se as SpecTableFields};
1
+ import{jsx as a}from"react/jsx-runtime";import{headerKeysOfPlace as L,LAYOUT_FIELD_KEYS as b,SECTION_THEME_FIELD_KEYS as A,SECTION_SHAPE_FIELD_KEYS as F,SECTION_ANIM_FIELD_KEYS as I}from"efficient-web-builder/editor/lib/document/field-groups";import{getWheelBySlug as C}from"../../../../../../render/lib/wheels/wheels.js";import{SPEC_EMPTY_ROWS as N,SPEC_OWN_ROWS as H}from"../../../../../../render/lib/wheels/spec-sheet.js";import W from"../../../../../components/SpecTableSource.js";import{ProductFieldIcon as Y,FinishIcon as h,DiagramIcon as B}from"efficient-easel/icons";import{DisplayRow as g,toggle as T,text as M,textarea as w,sourceField as x,plainText as D,useSelectedPatch as U,useSelectedProps as K}from"efficient-web-builder/editor/lib/document/controls";import{group as l}from"efficient-easel/screen/lib/document/box-fields";import{select as P}from"efficient-web-builder/editor/lib/document/box-fields";import{isEditorOnDynamicPage as v}from"efficient-web-builder/format/lib/document/editor-page-context";import{HEAD_ROWS_SHOW_WHEN as j,headFieldsForPlacement as z,SPLITTABLE_SECTIONS as k}from"efficient-web-builder/format/lib/sections/section-head-placement";import{truthy as p,withRowRules as O}from"efficient-web-builder/render/lib/document/show-when";import{BOUND_TO_THE_RECORD as G,BOUND_TO_THE_RECORD_ROW as d,OFF_TYRE_TEMPLATE_FACTS as V,ON_DYNAMIC_PAGE_ROW as Z,ON_TYRE_TEMPLATE as q,ON_TYRE_TEMPLATE_ROW as J,PAGE_FACTS as Q,TYRE_TEMPLATE_FACTS as X}from"../page-rules.js";import{SPECTABLE_PH as S,SpecTableSlots as $}from"../../../../../../render/lib/document/blocks/commerce/SpecTable/meta.js";const ee="Size (blank = none selected)",oe=[{id:"euLabel",label:"EU tyre label"}],c=[...H,N];function se(){const o=K(),s=U(),u=c.some(e=>o[e.prop]===!1);return a(g,{parts:c,changed:u,shown:e=>o[c.find(i=>i.id===e)?.prop??""]!==!1,onPress:(e,i)=>{const m=c.find(t=>t.id===e);m&&s({[m.prop]:i?void 0:!1})},onReset:()=>s(Object.fromEntries(c.map(e=>[e.prop,void 0])))})}const te=new Set([...L("Content"),"_gDynamic","dynamic","_gHeader","num","title","description","_gDiagram","showDiagram","showEuLabel","showSelectionRow","template",...b,...A,...F,...I]),ae={not:G},E={any:[{all:[p("source.slug"),p("source.spec")]},{all:[{not:p("source.slug")},p("wheel")]}]},re={any:[{all:[d,{not:q}]},E]},Te={fields:O({...$,_gDynamic:l("Product page"),dynamic:T("Connect to product data",!1,a(Y,{})),_gHeader:l("Header"),num:M("Number",S.num),title:w("Heading",S.title),description:w("Body",S.description),_gData:l("Product"),source:x(W),finish:P("Finish",a(h,{}),[],""),size:{type:"text",label:ee},_gDiagram:l("Diagram"),showDiagram:T("Dimension diagram",!0,a(B,{})),showEuLabel:{type:"custom",render:({value:o,onChange:s})=>a(g,{parts:oe,changed:o===!0,shown:()=>o===!0,onPress:(u,e)=>s(e),onReset:()=>s(!1)})},showSelectionRow:{type:"custom",render:()=>a(se,{})},_gRows:l("Rows"),rows:{type:"array",label:"Rows",arrayFields:{label:D("Label"),value:D("Value")},defaultItemProps:{label:"Label",value:""},getItemSummary:o=>o?.label||o?.value||"Row"}},[[["_gDynamic","dynamic"],Z],[["finish","size"],E],[["_gDiagram","showDiagram"],{any:[d,E]}],[["_gRows","rows"],{not:E}],[["showEuLabel"],{all:[d,J]}],[["showSelectionRow"],re],[["_gDiagram","showDiagram","showEuLabel"],j]]),resolveFields:(o,{fields:s,parent:u})=>{const e=o.props,i=v(),m=n=>z(n,o.props.headPlacement,k.SpecTable.headRows),t=e.source,f=!t?.slug&&typeof e.wheel=="string"?e.wheel:"";let _=s;if(!(i&&e.dynamic)&&(t?.slug&&t.spec||f)){const n=t?.slug?t.finishes.map(r=>r.name):(C(f)?.finishes??[]).map(r=>r.name),y=[{value:"",label:"Default (first finish)"},...n.map(r=>({value:r,label:r}))];_={..._,finish:P("Finish",a(h,{}),y,"")}}const R=Object.keys(_).filter(n=>!te.has(n));return m(O(_,[[R,ae]]))},showWhenFacts:{...Q,...V,...X}};export{Te as SpecTableFields};
@@ -0,0 +1,4 @@
1
+ import type { BlockFields } from "efficient-web-builder/format/lib/document/blocks/block-types";
2
+ import type { ShowWhenRule } from "efficient-web-builder/render/lib/document/show-when";
3
+ export declare const IN_HERO_TEMPLATE_ROW: ShowWhenRule;
4
+ export declare const HERO_TEMPLATE_FACTS: NonNullable<BlockFields["showWhenFacts"]>;
@@ -0,0 +1 @@
1
+ import{enclosingPath as E}from"efficient-web-builder/editor/lib/document/enclosing-section";import{HERO_TEMPLATE_SHAPE as n,HERO_TEMPLATE_SHAPE_PROP as T}from"../../../../../render/lib/content/hero-seed.js";function f(o,t){if(typeof t!="string")return!1;const e=o?.data;return E(e,t).some(r=>r[T]===n)}const _={not:{context:"offHeroTemplate",is:!0}},a={offHeroTemplate:(o,{appState:t})=>!f(t,o.props?.id)};export{a as HERO_TEMPLATE_FACTS,_ as IN_HERO_TEMPLATE_ROW};
@@ -65,6 +65,7 @@ export declare const STOREFRONT_BLOCKS_WORDS: {
65
65
  readonly "Auto open": "Auto open";
66
66
  readonly "Auto reads what the first section on each page says it is \u2014 dark, light or accent \u2014 and picks the text that can be read on it. Set Light or Dark to decide it yourself when Auto reads a page wrong.": "Auto reads what the first section on each page says it is — dark, light or accent — and picks the text that can be read on it. Set Light or Dark to decide it yourself when Auto reads a page wrong.";
67
67
  readonly "Auto shows the shadow only on pictures with a clear background. Always shows it on every wheel picture.": "Auto shows the shadow only on pictures with a clear background. Always shows it on every wheel picture.";
68
+ readonly "Auto turn": "Auto turn";
68
69
  readonly "Auto-refreshes from the most-recent visible posts each time you open the editor. Set how many appear with \u201CPosts to display\u201D.": "Auto-refreshes from the most-recent visible posts each time you open the editor. Set how many appear with “Posts to display”.";
69
70
  readonly "Auto-synced from {place} \u00B7 {n} post": "Auto-synced from {place} · {n} post";
70
71
  readonly "Auto-synced from {place} \u00B7 {n} posts": "Auto-synced from {place} · {n} posts";
@@ -192,6 +193,7 @@ export declare const STOREFRONT_BLOCKS_WORDS: {
192
193
  readonly "Dismiss button": "Dismiss button";
193
194
  readonly "Display mode": "Display mode";
194
195
  readonly "Dividers between links": "Dividers between links";
196
+ readonly Dropdown: "Dropdown";
195
197
  readonly "ET -10": "ET -10";
196
198
  readonly "ET range": "ET range";
197
199
  readonly "EU tyre label": "EU tyre label";
@@ -207,6 +209,7 @@ export declare const STOREFRONT_BLOCKS_WORDS: {
207
209
  readonly "Email \u2014 never shown publicly": "Email — never shown publicly";
208
210
  readonly "Emails a copy to {email}": "Emails a copy to {email}";
209
211
  readonly "Empty basket": "Empty basket";
212
+ readonly "Empty rows": "Empty rows";
210
213
  readonly "Encrypted in transit": "Encrypted in transit";
211
214
  readonly End: "End";
212
215
  readonly "Enquire about tyres": "Enquire about tyres";
@@ -214,6 +217,7 @@ export declare const STOREFRONT_BLOCKS_WORDS: {
214
217
  readonly "Even grid": "Even grid";
215
218
  readonly "Every fitment column is hidden in Product Types \u2014 show one to draw this table.": "Every fitment column is hidden in Product Types — show one to draw this table.";
216
219
  readonly "Every photo": "Every photo";
220
+ readonly "Every picture": "Every picture";
217
221
  readonly "Every size this tyre is made in, with its own price and stock.": "Every size this tyre is made in, with its own price and stock.";
218
222
  readonly "Every spec row (lug count, bolt pattern, offset, center bore, load rating, bump profile\u2026) comes from the product record \u2014 edit its part numbers in the Products database and this table updates to match. You still choose which finish to picture and an optional size.": "Every spec row (lug count, bolt pattern, offset, center bore, load rating, bump profile…) comes from the product record — edit its part numbers in the Products database and this table updates to match. You still choose which finish to picture and an optional size.";
219
223
  readonly "Example form \u2014 add an active service in {place}.": "Example form — add an active service in {place}.";
@@ -222,6 +226,7 @@ export declare const STOREFRONT_BLOCKS_WORDS: {
222
226
  readonly Express: "Express";
223
227
  readonly "Eyebrow badge": "Eyebrow badge";
224
228
  readonly "Eyebrow text": "Eyebrow text";
229
+ readonly "Eyebrow words": "Eyebrow words";
225
230
  readonly "Feature *one.*": "Feature *one.*";
226
231
  readonly "Feature *three.*": "Feature *three.*";
227
232
  readonly "Feature *two.*": "Feature *two.*";
@@ -248,11 +253,13 @@ export declare const STOREFRONT_BLOCKS_WORDS: {
248
253
  readonly "Find my workspace": "Find my workspace";
249
254
  readonly "Find your *match.*": "Find your *match.*";
250
255
  readonly Finish: "Finish";
256
+ readonly "Finish look": "Finish look";
251
257
  readonly "First card": "First card";
252
258
  readonly "First category": "First category";
253
259
  readonly "First detail": "First detail";
254
260
  readonly "First image on the left": "First image on the left";
255
261
  readonly "First name": "First name";
262
+ readonly "First picture + close-ups": "First picture + close-ups";
256
263
  readonly "First place": "First place";
257
264
  readonly "First rate": "First rate";
258
265
  readonly "First room": "First room";
@@ -274,6 +281,7 @@ export declare const STOREFRONT_BLOCKS_WORDS: {
274
281
  readonly "Form side": "Form side";
275
282
  readonly "Forms aren\u2019t available in this editor, so there is nothing to choose here.": "Forms aren’t available in this editor, so there is nothing to choose here.";
276
283
  readonly "Forms couldn\u2019t be loaded": "Forms couldn’t be loaded";
284
+ readonly "Four cells": "Four cells";
277
285
  readonly "Fourth card": "Fourth card";
278
286
  readonly Free: "Free";
279
287
  readonly "Free plan line": "Free plan line";
@@ -325,8 +333,10 @@ export declare const STOREFRONT_BLOCKS_WORDS: {
325
333
  readonly Images: "Images";
326
334
  readonly "Images from": "Images from";
327
335
  readonly "Images to show": "Images to show";
336
+ readonly "Images to the edge": "Images to the edge";
328
337
  readonly "Images typed here": "Images typed here";
329
338
  readonly "In stock": "In stock";
339
+ readonly "In the line": "In the line";
330
340
  readonly "In-house": "In-house";
331
341
  readonly Inset: "Inset";
332
342
  readonly "Inset keeps the picture inside the card with space around it. Fill to edges runs it to the card's edges.": "Inset keeps the picture inside the card with space around it. Fill to edges runs it to the card's edges.";
@@ -353,6 +363,7 @@ export declare const STOREFRONT_BLOCKS_WORDS: {
353
363
  readonly "Keeps the logo readable on any header \u2014 flips just its black & white parts to contrast the bar behind it (in both light and dark themes). Any other colors are kept as-is.": "Keeps the logo readable on any header — flips just its black & white parts to contrast the bar behind it (in both light and dark themes). Any other colors are kept as-is.";
354
364
  readonly "Know your size? Pick it below": "Know your size? Pick it below";
355
365
  readonly L: "L";
366
+ readonly "Labels and arrows": "Labels and arrows";
356
367
  readonly "Landscape (4:3)": "Landscape (4:3)";
357
368
  readonly "Last name": "Last name";
358
369
  readonly "Lead time": "Lead time";
@@ -479,6 +490,7 @@ export declare const STOREFRONT_BLOCKS_WORDS: {
479
490
  readonly Outside: "Outside";
480
491
  readonly "Outside click": "Outside click";
481
492
  readonly "Over the picture": "Over the picture";
493
+ readonly "Own label": "Own label";
482
494
  readonly "Own row": "Own row";
483
495
  readonly PCD: "PCD";
484
496
  readonly "PCD \u00B7 fitment": "PCD · fitment";
@@ -502,6 +514,7 @@ export declare const STOREFRONT_BLOCKS_WORDS: {
502
514
  readonly "Pick a product \u2014 or All products \u2014 to build the galleries from media groups, or keep \u201CNone\u201D to author the cards yourself.": "Pick a product — or All products — to build the galleries from media groups, or keep “None” to author the cards yourself.";
503
515
  readonly "Pick a product\u2026": "Pick a product…";
504
516
  readonly "Pick the products yourself below, or choose \u201CAll products\u201D or a category from {place}.": "Pick the products yourself below, or choose “All products” or a category from {place}.";
517
+ readonly "Picker look": "Picker look";
505
518
  readonly Pickup: "Pickup";
506
519
  readonly "Picture fit": "Picture fit";
507
520
  readonly Pills: "Pills";
@@ -524,6 +537,7 @@ export declare const STOREFRONT_BLOCKS_WORDS: {
524
537
  readonly "Privacy policy": "Privacy policy";
525
538
  readonly Process: "Process";
526
539
  readonly "Product Gallery": "Product Gallery";
540
+ readonly "Product code": "Product code";
527
541
  readonly "Product content": "Product content";
528
542
  readonly "Product key": "Product key";
529
543
  readonly "Product link": "Product link";
@@ -576,6 +590,7 @@ export declare const STOREFRONT_BLOCKS_WORDS: {
576
590
  readonly "Rows from": "Rows from";
577
591
  readonly S: "S";
578
592
  readonly SKU: "SKU";
593
+ readonly "SKU and part numbers": "SKU and part numbers";
579
594
  readonly "STP \u00B7 STEP \u00B7 DXF \u00B7 PDF": "STP · STEP · DXF · PDF";
580
595
  readonly "Same day": "Same day";
581
596
  readonly "Same row": "Same row";
@@ -606,8 +621,10 @@ export declare const STOREFRONT_BLOCKS_WORDS: {
606
621
  readonly "Session \u00B7 60 min \u00B7 Night": "Session · 60 min · Night";
607
622
  readonly "Set a design code": "Set a design code";
608
623
  readonly "Set a product design code on this section to show one product's reviews; leave it blank for the whole store.": "Set a product design code on this section to show one product's reviews; leave it blank for the whole store.";
624
+ readonly "Set badge": "Set badge";
609
625
  readonly "Set flags": "Set flags";
610
626
  readonly "Set the default Light / Dark / Auto mode and show or hide the light\u2194dark switch in Appearance.": "Set the default Light / Dark / Auto mode and show or hide the light↔dark switch in Appearance.";
627
+ readonly "Set total": "Set total";
611
628
  readonly "Set up display mode \u2192": "Set up display mode →";
612
629
  readonly "Sets how tall the header bar is; the content below it shifts down to match.": "Sets how tall the header bar is; the content below it shifts down to match.";
613
630
  readonly "Sets the logo\u2019s height; the width follows the logo\u2019s own proportions.": "Sets the logo’s height; the width follows the logo’s own proportions.";
@@ -652,16 +669,19 @@ export declare const STOREFRONT_BLOCKS_WORDS: {
652
669
  readonly "Site Footer": "Site Footer";
653
670
  readonly "Site Header": "Site Header";
654
671
  readonly "Size (blank = none selected)": "Size (blank = none selected)";
672
+ readonly "Size look": "Size look";
655
673
  readonly "Size \u00B7 diameter": "Size · diameter";
656
674
  readonly "Size-filter chips": "Size-filter chips";
657
675
  readonly "Sizes only": "Sizes only";
658
676
  readonly "Soft grey": "Soft grey";
677
+ readonly "Solid is the site's button in normal case, 48 px tall.": "Solid is the site's button in normal case, 48 px tall.";
659
678
  readonly Sort: "Sort";
660
679
  readonly "Sort + Clear all": "Sort + Clear all";
661
680
  readonly "Sort control": "Sort control";
662
681
  readonly "Sort \u00B7 Featured": "Sort · Featured";
663
682
  readonly "Source product": "Source product";
664
683
  readonly "Space from the logo": "Space from the logo";
684
+ readonly "Spaced capitals": "Spaced capitals";
665
685
  readonly "Spec table": "Spec table";
666
686
  readonly "Specifications *table.*": "Specifications *table.*";
667
687
  readonly "Speed rating": "Speed rating";
@@ -747,7 +767,9 @@ export declare const STOREFRONT_BLOCKS_WORDS: {
747
767
  readonly "This website's own": "This website's own";
748
768
  readonly "This website\u2019s forms couldn\u2019t be loaded, so there is nothing to choose from yet.": "This website’s forms couldn’t be loaded, so there is nothing to choose from yet.";
749
769
  readonly "Tick label": "Tick label";
770
+ readonly "Tile template": "Tile template";
750
771
  readonly Tiled: "Tiled";
772
+ readonly Tiles: "Tiles";
751
773
  readonly Time: "Time";
752
774
  readonly "Time template": "Time template";
753
775
  readonly "Title / product": "Title / product";
@@ -759,11 +781,13 @@ export declare const STOREFRONT_BLOCKS_WORDS: {
759
781
  readonly Trigger: "Trigger";
760
782
  readonly Trim: "Trim";
761
783
  readonly "Trust markers": "Trust markers";
784
+ readonly "Turn hint": "Turn hint";
762
785
  readonly "Typed reviews": "Typed reviews";
763
786
  readonly "Tyre type": "Tyre type";
764
787
  readonly Tyres: "Tyres";
765
788
  readonly "Tyres shown are fitment-matched companions.": "Tyres shown are fitment-matched companions.";
766
789
  readonly "Under the picture": "Under the picture";
790
+ readonly "Unit label": "Unit label";
767
791
  readonly Unknown: "Unknown";
768
792
  readonly "Update links": "Update links";
769
793
  readonly "Updating\u2026": "Updating…";
@@ -814,6 +838,7 @@ export declare const STOREFRONT_BLOCKS_WORDS: {
814
838
  readonly "items per row": "items per row";
815
839
  readonly lastName: "lastName";
816
840
  readonly paypal: "paypal";
841
+ readonly showEmptyRows: "showEmptyRows";
817
842
  readonly showSelectionRow: "showSelectionRow";
818
843
  readonly showSizeRow: "showSizeRow";
819
844
  readonly showWheelSpecRow: "showWheelSpecRow";