efficient-web-builder 59.2.0 → 60.0.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.
Files changed (153) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/dist/editor/components/SectionThumbnail.js +1 -1
  3. package/dist/editor/components/storefront-editor.css +21 -7
  4. package/dist/editor/lib/animation/fields.js +1 -1
  5. package/dist/editor/lib/animation/hover-fields.js +1 -1
  6. package/dist/editor/lib/document/blocks/general/Flex/fields.js +1 -1
  7. package/dist/editor/lib/document/blocks/general/Footprint/fields.js +1 -1
  8. package/dist/editor/lib/document/blocks/general/ListSearch/fields.js +1 -1
  9. package/dist/editor/lib/document/canvas-typing.js +1 -1
  10. package/dist/editor/lib/document/card-display-chips.d.ts +4 -2
  11. package/dist/editor/lib/document/card-display-chips.js +1 -1
  12. package/dist/editor/lib/document/card-row-fields.d.ts +3 -1
  13. package/dist/editor/lib/document/card-row-fields.js +1 -1
  14. package/dist/editor/lib/document/controls.js +1 -1
  15. package/dist/editor/lib/document/field-groups.js +1 -1
  16. package/dist/editor/lib/document/mirror-cards-field.js +1 -1
  17. package/dist/format/lib/animation/hover.d.ts +23 -1
  18. package/dist/format/lib/animation/hover.js +1 -1
  19. package/dist/format/lib/content/block-align.d.ts +3 -1
  20. package/dist/format/lib/content/block-align.js +1 -1
  21. package/dist/format/lib/content/box-background.d.ts +7 -0
  22. package/dist/format/lib/content/box-background.js +1 -1
  23. package/dist/format/lib/content/box-card-rule.d.ts +7 -0
  24. package/dist/format/lib/content/box-card-rule.js +1 -0
  25. package/dist/format/lib/content/box-layout.js +1 -1
  26. package/dist/format/lib/content/box-phone-place.d.ts +4 -4
  27. package/dist/format/lib/content/box-phone-place.js +1 -1
  28. package/dist/format/lib/content/box-shape.d.ts +1 -1
  29. package/dist/format/lib/content/box-shape.js +1 -1
  30. package/dist/format/lib/content/box-side-space.d.ts +2 -1
  31. package/dist/format/lib/content/box-side-space.js +1 -1
  32. package/dist/format/lib/content/button-icon.d.ts +3 -1
  33. package/dist/format/lib/content/button-icon.js +1 -1
  34. package/dist/format/lib/content/card-template.d.ts +9 -1
  35. package/dist/format/lib/content/card-template.js +1 -1
  36. package/dist/format/lib/content/cell-picture-sizes.js +1 -1
  37. package/dist/format/lib/content/footprint.d.ts +2 -0
  38. package/dist/format/lib/content/footprint.js +1 -1
  39. package/dist/format/lib/content/gallery-card-layout.d.ts +6 -1
  40. package/dist/format/lib/content/gallery-card-layout.js +1 -1
  41. package/dist/format/lib/content/hover-media.d.ts +30 -0
  42. package/dist/format/lib/content/hover-media.js +1 -0
  43. package/dist/format/lib/content/image-aspect.d.ts +3 -3
  44. package/dist/format/lib/content/image-aspect.js +1 -1
  45. package/dist/format/lib/content/ink.d.ts +3 -0
  46. package/dist/format/lib/content/ink.js +1 -1
  47. package/dist/format/lib/content/list-position.d.ts +3 -0
  48. package/dist/format/lib/content/list-position.js +1 -0
  49. package/dist/format/lib/content/list-query.d.ts +2 -0
  50. package/dist/format/lib/content/list-query.js +1 -1
  51. package/dist/format/lib/content/mirror-cards.d.ts +3 -0
  52. package/dist/format/lib/content/mirror-cards.js +1 -1
  53. package/dist/format/lib/content/part-display.d.ts +2 -1
  54. package/dist/format/lib/content/part-display.js +1 -1
  55. package/dist/format/lib/content/site-gutter.d.ts +2 -0
  56. package/dist/format/lib/content/site-gutter.js +1 -1
  57. package/dist/format/lib/content/view-hide-class.d.ts +5 -2
  58. package/dist/format/lib/content/view-hide-class.js +1 -1
  59. package/dist/format/lib/content/view-lines.d.ts +2 -1
  60. package/dist/format/lib/content/view-lines.js +1 -1
  61. package/dist/format/lib/document/blocks/general/Footprint/card-seed.d.ts +3 -0
  62. package/dist/format/lib/document/blocks/general/Footprint/card-seed.js +1 -1
  63. package/dist/format/lib/document/blocks/general/text-part-shapes.json +7 -0
  64. package/dist/format/lib/document/card-content-switch.js +1 -1
  65. package/dist/format/lib/document/panel-only.d.ts +2 -0
  66. package/dist/format/lib/document/panel-only.js +1 -0
  67. package/dist/format/lib/document/row-hand.js +1 -1
  68. package/dist/format/lib/document/section-catalog.d.ts +2 -1
  69. package/dist/format/lib/document/section-catalog.js +10 -10
  70. package/dist/format/lib/document/section-descriptions.js +1 -1
  71. package/dist/format/lib/document/seed-shape.d.ts +2 -0
  72. package/dist/format/lib/document/seed-shape.js +1 -0
  73. package/dist/format/lib/editor-words-catalogue.d.ts +21 -0
  74. package/dist/format/lib/editor-words-catalogue.js +4 -4
  75. package/dist/format/lib/editor-words-kept.js +1 -1
  76. package/dist/format/lib/fit-words.d.ts +1 -0
  77. package/dist/format/lib/fit-words.js +9 -8
  78. package/dist/format/lib/sized-image.js +1 -1
  79. package/dist/format/lib/source-rules/one-phone-edge.d.ts +13 -0
  80. package/dist/format/lib/source-rules/one-phone-edge.js +8 -0
  81. package/dist/format/lib/source-rules/published-mounts.d.ts +22 -0
  82. package/dist/format/lib/source-rules/published-mounts.js +58 -0
  83. package/dist/format/lib/source-rules/support/panel-select-cascade.js +1 -2
  84. package/dist/format/lib/source-rules/support/ts-program.d.ts +4 -0
  85. package/dist/format/lib/source-rules/support/ts-program.js +2 -0
  86. package/dist/format/lib/theme.d.ts +1 -0
  87. package/dist/format/lib/theme.js +3 -3
  88. package/dist/render/components/ButtonBlock.js +1 -1
  89. package/dist/render/components/CardRowContext.d.ts +5 -2
  90. package/dist/render/components/CardRowContext.js +1 -1
  91. package/dist/render/components/DealerFinder.js +1 -1
  92. package/dist/render/components/Eyebrow.js +1 -1
  93. package/dist/render/components/Flex.d.ts +2 -1
  94. package/dist/render/components/Flex.js +1 -1
  95. package/dist/render/components/Footprint.js +1 -1
  96. package/dist/render/components/HeroArrows.d.ts +6 -3
  97. package/dist/render/components/HeroArrows.js +1 -1
  98. package/dist/render/components/HeroPictures.js +1 -1
  99. package/dist/render/components/HoverMediaLayer.d.ts +9 -0
  100. package/dist/render/components/HoverMediaLayer.js +1 -0
  101. package/dist/render/components/InBoxContext.d.ts +3 -0
  102. package/dist/render/components/InBoxContext.js +1 -1
  103. package/dist/render/components/ListSearchBox.d.ts +2 -1
  104. package/dist/render/components/ListSearchBox.js +1 -1
  105. package/dist/render/components/LogoBlock.js +1 -1
  106. package/dist/render/components/Logos.js +1 -1
  107. package/dist/render/components/PublishedPartStylesContext.d.ts +2 -1
  108. package/dist/render/components/PublishedPartStylesContext.js +1 -1
  109. package/dist/render/components/SectionAnimation.d.ts +4 -2
  110. package/dist/render/components/SectionAnimation.js +1 -1
  111. package/dist/render/components/SideListLayout.d.ts +14 -0
  112. package/dist/render/components/SideListLayout.js +1 -0
  113. package/dist/render/components/Split.js +1 -1
  114. package/dist/render/components/Text.js +1 -1
  115. package/dist/render/components/TitleWithButtons.js +1 -1
  116. package/dist/render/components/ViewHideRoot.d.ts +7 -1
  117. package/dist/render/components/ViewHideRoot.js +1 -1
  118. package/dist/render/lib/content/block-size.d.ts +4 -1
  119. package/dist/render/lib/content/block-size.js +1 -1
  120. package/dist/render/lib/content/box-cell-bound.js +1 -1
  121. package/dist/render/lib/content/box-shared-columns.js +1 -1
  122. package/dist/render/lib/content/box-stack-line.d.ts +1 -0
  123. package/dist/render/lib/content/box-stack-line.js +1 -1
  124. package/dist/render/lib/content/view-values.d.ts +2 -0
  125. package/dist/render/lib/content/view-values.js +1 -1
  126. package/dist/render/lib/dealer-source.d.ts +3 -2
  127. package/dist/render/lib/dealer-source.js +1 -1
  128. package/dist/render/lib/document/blocks/general/CardList/render.js +1 -1
  129. package/dist/render/lib/document/blocks/general/Cards/render.js +1 -1
  130. package/dist/render/lib/document/blocks/general/Flex/render.js +1 -1
  131. package/dist/render/lib/document/blocks/general/ImageBlock/render.js +1 -1
  132. package/dist/render/lib/document/blocks/general/ListSearch/render.js +1 -1
  133. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.d.ts +1 -0
  134. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.js +1 -1
  135. package/dist/render/lib/document/blocks/general/section-to-box-rows-cards.js +1 -1
  136. package/dist/render/lib/document/blocks/general/section-to-box-rows-forms.js +1 -1
  137. package/dist/render/lib/document/blocks/general/section-to-box-rows-head.js +1 -1
  138. package/dist/render/lib/document/blocks/general/section-to-box-rows-proof.js +1 -1
  139. package/dist/render/lib/document/page-render.js +1 -1
  140. package/dist/render/lib/document/part-styles.d.ts +3 -1
  141. package/dist/render/lib/document/part-styles.js +2 -2
  142. package/dist/render/lib/document/passes/block-size.js +1 -1
  143. package/dist/render/lib/document/passes/clickable-parts.js +1 -1
  144. package/dist/render/lib/document/passes/hidden-nodes.js +1 -1
  145. package/dist/render/lib/document/passes/section-animation.js +1 -1
  146. package/dist/render/lib/document/passes/section-width.js +1 -1
  147. package/dist/render/lib/document/published-passes.d.ts +13 -0
  148. package/dist/render/lib/document/published-passes.js +1 -0
  149. package/dist/render/lib/document/text-parts.d.ts +1 -0
  150. package/dist/render/lib/document/text-parts.js +1 -1
  151. package/dist/render/lib/sections/section-to-box.d.ts +4 -0
  152. package/dist/render/lib/sections/section-to-box.js +1 -1
  153. package/package.json +1 -1
@@ -1 +1 @@
1
- const n=[{role:"bg",token:"--bg",ink:!1},{role:"fg",token:"--fg",ink:!0},{role:"surface",token:"--site-surface",ink:!1},{role:"surface-2",token:"--site-surface-2",ink:!1},{role:"line",token:"--site-line",ink:!0},{role:"muted",token:"--fg-dim",ink:!0}],l=n.filter(e=>e.ink);function i(e){const r={color:e.fg};for(const{role:o,token:t}of l)r[t]=e[o];return r}const f={fg:"var(--overlay-fg)",line:"color-mix(in srgb, var(--overlay-fg) 24%, transparent)",muted:"color-mix(in srgb, var(--overlay-fg) 76%, transparent)"},s=Object.freeze(i(f));export{l as INK,f as ON_MEDIA_INK,s as ON_MEDIA_INK_STYLE,n as SECTION_PALETTE,i as inkStyle};
1
+ import{parseHexColor as l}from"efficient-shell/format";import{fillIsDark as i}from"../theme.js";const a=[{role:"bg",token:"--bg",ink:!1},{role:"fg",token:"--fg",ink:!0},{role:"surface",token:"--site-surface",ink:!1},{role:"surface-2",token:"--site-surface-2",ink:!1},{role:"line",token:"--site-line",ink:!0},{role:"muted",token:"--fg-dim",ink:!0}],f=a.filter(e=>e.ink);function o(e){const r={color:e.fg};for(const{role:t,token:n}of f)r[n]=e[t];return r}const s={fg:"var(--overlay-fg)",line:"color-mix(in srgb, var(--overlay-fg) 24%, transparent)",muted:"color-mix(in srgb, var(--overlay-fg) 76%, transparent)"},c=Object.freeze(o(s)),g={fg:"var(--overlay-fg-on-light)",line:"color-mix(in srgb, var(--overlay-fg-on-light) 24%, transparent)",muted:"color-mix(in srgb, var(--overlay-fg-on-light) 76%, transparent)"},k=Object.freeze(o(g));function x(e){const r=e?l(e):null;return r?i(r)?c:k:null}export{f as INK,g as ON_LIGHT_INK,k as ON_LIGHT_INK_STYLE,s as ON_MEDIA_INK,c as ON_MEDIA_INK_STYLE,a as SECTION_PALETTE,o as inkStyle,x as rowFillInkStyle};
@@ -0,0 +1,3 @@
1
+ export type ListPosition = "below" | "left" | "right";
2
+ export declare function parseListPosition(value: unknown): ListPosition;
3
+ export declare function listBesideMap(value: unknown): boolean;
@@ -0,0 +1 @@
1
+ const e=["below","left","right"];function o(t){return e.includes(t)?t:"below"}function i(t){return o(t)!=="below"}export{i as listBesideMap,o as parseListPosition};
@@ -1,5 +1,7 @@
1
1
  export declare const LIST_ROW_ATTR = "data-list-row";
2
2
  export declare const LIST_ROW_SELECTOR = "details, [data-list-row]";
3
+ export declare const LIST_TEXT_ATTR = "data-list-text";
4
+ export declare function listRowText(row: Element): string;
3
5
  export declare function foldText(value: string): string;
4
6
  export declare function rowMatchesQuery(text: string, query: string): boolean;
5
7
  export declare const LIST_KEY_ATTR = "data-list-key";
@@ -1 +1 @@
1
- const c="data-list-row",a=`details, [${c}]`;function i(r){return r.normalize("NFD").replace(/\p{M}/gu,"").toLowerCase()}function f(r,o){const e=i(o).split(/\s+/).filter(Boolean);if(e.length===0)return!0;const n=i(r);return e.every(t=>n.includes(t))}const u="data-list-key";function p(r,o){const e=r.ownerDocument;return Array.from(e.querySelectorAll(`[${u}]`)).filter(t=>t.getAttribute(u)===o).flatMap(t=>Array.from(t.querySelectorAll(a)).filter(s=>{if(s.hasAttribute(c))return!0;const l=s.parentElement?.closest(`[${c}]`);return!l||!t.contains(l)})).filter(t=>!r.contains(t))}function d(r,o,e){const n=p(r,o);if(n.length===0)return null;let t=0;for(const s of n){const l=f(s.textContent??"",e);s.hidden=!l,l&&(t+=1)}return t}export{u as LIST_KEY_ATTR,c as LIST_ROW_ATTR,a as LIST_ROW_SELECTOR,i as foldText,p as listRowsFor,d as narrowList,f as rowMatchesQuery};
1
+ const i="data-list-row",a=`details, [${i}]`,f="data-list-text";function T(t){return t.getAttribute(f)??t.textContent??""}function c(t){return t.normalize("NFD").replace(/\p{M}/gu,"").toLowerCase()}function p(t,o){const r=c(o).split(/\s+/).filter(Boolean);if(r.length===0)return!0;const n=c(t);return r.every(e=>n.includes(e))}const u="data-list-key";function x(t,o){const r=t.ownerDocument;return Array.from(r.querySelectorAll(`[${u}]`)).filter(e=>e.getAttribute(u)===o).flatMap(e=>Array.from(e.querySelectorAll(a)).filter(s=>{if(s.hasAttribute(i))return!0;const l=s.parentElement?.closest(`[${i}]`);return!l||!e.contains(l)})).filter(e=>!t.contains(e))}function d(t,o,r){const n=x(t,o);if(n.length===0)return null;let e=0;for(const s of n){const l=p(T(s),r);s.hidden=!l,l&&(e+=1)}return e}export{u as LIST_KEY_ATTR,i as LIST_ROW_ATTR,a as LIST_ROW_SELECTOR,f as LIST_TEXT_ATTR,c as foldText,T as listRowText,x as listRowsFor,d as narrowList,p as rowMatchesQuery};
@@ -1,3 +1,4 @@
1
+ import { BOX_ROW_IMAGE_PROP } from "./box-card-rule.js";
1
2
  export type MirrorCards = "even" | "odd";
2
3
  export declare const MIRROR_CARDS_LABEL = "Mirror cards";
3
4
  export declare const MIRROR_CARDS_OFF = "off";
@@ -14,6 +15,7 @@ export type MirrorCardsBox = {
14
15
  loop?: unknown;
15
16
  line?: unknown;
16
17
  bgImage?: unknown;
18
+ [BOX_ROW_IMAGE_PROP]?: unknown;
17
19
  columns?: unknown;
18
20
  columnsTablet?: unknown;
19
21
  share?: unknown;
@@ -41,6 +43,7 @@ export type MirrorParentBox = {
41
43
  direction?: unknown;
42
44
  loop?: unknown;
43
45
  bgImage?: unknown;
46
+ [BOX_ROW_IMAGE_PROP]?: unknown;
44
47
  columns?: unknown;
45
48
  };
46
49
  export declare function mirrorChildrenActs(box: MirrorParentBox, inCopy: boolean): boolean;
@@ -1 +1 @@
1
- import{isBackgroundBox as s}from"./box-background.js";import{boxColumnsClass as d,boxJustifyViewAnswers as u,boxShareClasses as l,boxTabletColumnsClass as w,boxWrapClass as c}from"./box-layout.js";import{isStripBox as m}from"./box-separator.js";const O="Mirror cards",p="off",x=[{value:p,label:"Off"},{value:"even",label:"Even cards"},{value:"odd",label:"Odd cards"}],T={even:"Cards 2, 4, 6 draw the other way round",odd:"Cards 1, 3, 5 draw the other way round"};function o(e){return e==="even"||e==="odd"?e:null}function h(e){return o(e)??void 0}function B(e){return e.inCopy&&!e.nestedCopy&&!e.underBox}function j(e,r,t){return!r||e.direction!=="row"||t||m("row",e.separator)||e.loop==="scroll"||e.line===!0||s(typeof e.bgImage=="string"?e.bgImage:void 0)||d(e.columns)!==""||w(e.columnsTablet)!==""?!1:!(l(e.share)===""&&c(e.wrap)!=="")}function L(e,r){const t=o(e);return!t||typeof r!="number"||!Number.isInteger(r)||r<0?!1:t==="even"?r%2===1:r%2===0}const M="view-wide:flex-row-reverse",C={left:"view-wide:ml-auto!",right:"view-wide:ml-0!"},v={left:"view-wide:text-right!",right:"view-wide:text-left!"},R={start:"view-wide:justify-end!",end:"view-wide:justify-start!"},A={start:"view-wide:items-end!",end:"view-wide:items-start!"},S={start:"view-wide:max-view-desktop:justify-end!",end:"view-wide:max-view-desktop:justify-start!",center:"view-wide:max-view-desktop:justify-center!",between:"view-wide:max-view-desktop:justify-between!"},n=(e,r)=>typeof r=="string"&&Object.prototype.hasOwnProperty.call(e,r)?e[r]:"";function P(e,r,t){return e?[n(C,r),n(v,t)].filter(Boolean).join(" "):""}function W(e,r,t,a,f){if(!e)return"";if(r==="row"){const i=u(t,f,void 0).tablet;return[n(R,t),i?S[i]:""].filter(Boolean).join(" ")}return r==="column"?n(A,a):""}function _(e,r){return r||e.direction!==void 0&&e.direction!=="column"||e.loop==="scroll"||s(typeof e.bgImage=="string"?e.bgImage:void 0)?!1:d(e.columns)===""}function E(e,r){const t=o(e.mirrorCards);return t&&_(e,r)?{mirror:t}:null}export{O as MIRROR_CARDS_LABEL,p as MIRROR_CARDS_OFF,x as MIRROR_CARDS_OPTIONS,T as MIRROR_CARDS_TITLES,M as MIRROR_ROW_CLASS,E as boxChildrenHand,L as isMirroredCopy,j as mirrorCardsActs,o as mirrorCardsOf,h as mirrorCardsWrite,_ as mirrorChildrenActs,W as mirroredBoxClass,P as mirroredTextClasses,B as ownsCard};
1
+ import{boxIsCard as s}from"./box-background.js";import"./box-card-rule.js";import{boxColumnsClass as d,boxJustifyViewAnswers as u,boxShareClasses as l,boxTabletColumnsClass as w,boxWrapClass as c}from"./box-layout.js";import{isStripBox as p}from"./box-separator.js";const h="Mirror cards",m="off",P=[{value:m,label:"Off"},{value:"even",label:"Even cards"},{value:"odd",label:"Odd cards"}],M={even:"Cards 2, 4, 6 draw the other way round",odd:"Cards 1, 3, 5 draw the other way round"};function n(e){return e==="even"||e==="odd"?e:null}function W(e){return n(e)??void 0}function j(e){return e.inCopy&&!e.nestedCopy&&!e.underBox}function B(e,r,t){return!r||e.direction!=="row"||t||p("row",e.separator)||e.loop==="scroll"||e.line===!0||s(e)||d(e.columns)!==""||w(e.columnsTablet)!==""?!1:!(l(e.share)===""&&c(e.wrap)!=="")}function E(e,r){const t=n(e);return!t||typeof r!="number"||!Number.isInteger(r)||r<0?!1:t==="even"?r%2===1:r%2===0}const L="view-wide:flex-row-reverse",C={left:"view-wide:ml-auto!",right:"view-wide:ml-0!"},v={left:"view-wide:text-right!",right:"view-wide:text-left!"},R={start:"view-wide:justify-end!",end:"view-wide:justify-start!"},_={start:"view-wide:items-end!",end:"view-wide:items-start!"},A={start:"view-wide:max-view-desktop:justify-end!",end:"view-wide:max-view-desktop:justify-start!",center:"view-wide:max-view-desktop:justify-center!",between:"view-wide:max-view-desktop:justify-between!"},o=(e,r)=>typeof r=="string"&&Object.prototype.hasOwnProperty.call(e,r)?e[r]:"";function b(e,r,t){return e?[o(C,r),o(v,t)].filter(Boolean).join(" "):""}function g(e,r,t,f,a){if(!e)return"";if(r==="row"){const i=u(t,a,void 0).tablet;return[o(R,t),i?A[i]:""].filter(Boolean).join(" ")}return r==="column"?o(_,f):""}function S(e,r){return r||e.direction!==void 0&&e.direction!=="column"||e.loop==="scroll"||s(e)?!1:d(e.columns)===""}function k(e,r){const t=n(e.mirrorCards);return t&&S(e,r)?{mirror:t}:null}export{h as MIRROR_CARDS_LABEL,m as MIRROR_CARDS_OFF,P as MIRROR_CARDS_OPTIONS,M as MIRROR_CARDS_TITLES,L as MIRROR_ROW_CLASS,k as boxChildrenHand,E as isMirroredCopy,B as mirrorCardsActs,n as mirrorCardsOf,W as mirrorCardsWrite,S as mirrorChildrenActs,g as mirroredBoxClass,b as mirroredTextClasses,j as ownsCard};
@@ -1,3 +1,4 @@
1
+ import { type ViewHideLine } from "./view-hide-class.js";
1
2
  export type PartDisplay = Readonly<Record<string, boolean>>;
2
3
  export declare function readPartDisplay(value: unknown): PartDisplay;
3
4
  export declare function partShownOnDesktop(display: unknown, part: string): boolean;
@@ -6,4 +7,4 @@ export declare function desktopDisplayChanged(display: unknown): boolean;
6
7
  export declare function phoneDisplayChanged(displayPhone: unknown): boolean;
7
8
  export declare function withDesktopPart(display: unknown, part: string, shown: boolean): PartDisplay | undefined;
8
9
  export declare function withPhonePart(displayPhone: unknown, part: string, shown: boolean): PartDisplay;
9
- export declare function partDisplayClass(display: unknown, displayPhone: unknown, part: string): string;
10
+ export declare function partDisplayClass(display: unknown, displayPhone: unknown, part: string, { atSectionLine }?: ViewHideLine): string;
@@ -1 +1 @@
1
- import{viewHideClass as i}from"./view-hide-class.js";function r(e){if(!e||typeof e!="object"||Array.isArray(e))return{};const t={};for(const[o,n]of Object.entries(e))typeof n=="boolean"&&(t[o]=n);return t}function s(e,t){return r(e)[t]!==!1}function f(e,t,o){const n=r(t)[o];return typeof n=="boolean"?n:s(e,o)}function c(e){return Object.values(r(e)).some(t=>t===!1)}function a(e){return Object.keys(r(e)).length>0}function u(e,t,o){const n={...r(e)};return o?delete n[t]:n[t]=!1,Object.keys(n).length?n:void 0}function l(e,t,o){return{...r(e),[t]:o}}function h(e,t,o){const n=!s(e,o);return i({desktop:n,tablet:n,mobile:!f(e,t,o)})}export{c as desktopDisplayChanged,h as partDisplayClass,s as partShownOnDesktop,f as partShownOnPhone,a as phoneDisplayChanged,r as readPartDisplay,u as withDesktopPart,l as withPhonePart};
1
+ import{viewHideClass as f}from"./view-hide-class.js";function r(e){if(!e||typeof e!="object"||Array.isArray(e))return{};const t={};for(const[o,n]of Object.entries(e))typeof n=="boolean"&&(t[o]=n);return t}function i(e,t){return r(e)[t]!==!1}function p(e,t,o){const n=r(t)[o];return typeof n=="boolean"?n:i(e,o)}function u(e){return Object.values(r(e)).some(t=>t===!1)}function a(e){return Object.keys(r(e)).length>0}function l(e,t,o){const n={...r(e)};return o?delete n[t]:n[t]=!1,Object.keys(n).length?n:void 0}function h(e,t,o){return{...r(e),[t]:o}}function y(e,t,o,{atSectionLine:n=!0}={}){const s=!i(e,o);return f({desktop:s,tablet:s,mobile:!p(e,t,o)},{atSectionLine:n})}export{u as desktopDisplayChanged,y as partDisplayClass,i as partShownOnDesktop,p as partShownOnPhone,a as phoneDisplayChanged,r as readPartDisplay,l as withDesktopPart,h as withPhonePart};
@@ -1,3 +1,4 @@
1
+ import { BOX_ROW_IMAGE_PROP } from "./box-card-rule.js";
1
2
  import { type OwnSectionWidth } from "./section-width.js";
2
3
  export declare function isFrameContainer(type: unknown): boolean;
3
4
  export declare const BOX_GUTTER_KEY = "contentWidth";
@@ -14,6 +15,7 @@ export declare function boxRunsEdgeToEdge(props: {
14
15
  direction?: unknown;
15
16
  scrollDirection?: unknown;
16
17
  bgImage?: unknown;
18
+ [BOX_ROW_IMAGE_PROP]?: unknown;
17
19
  }): boolean;
18
20
  export declare function ownNodeWidth(type: unknown, props: Readonly<Record<string, unknown>>): OwnSectionWidth;
19
21
  export declare function siteDrawsGutter(siteContent: unknown): boolean;
@@ -1 +1 @@
1
- import{isNodeList as w}from"efficient-easel/data";import{isVerticalLoop as B}from"../animation/loop.js";import{isBackgroundBox as O}from"./box-background.js";import{ownSectionWidth as d}from"./section-width.js";const E=new Set(["Flex","Grid"]);function a(t){return typeof t=="string"&&E.has(t)}const T="contentWidth",_="full",y="content";function R(t){const n=t?.[T];return n===_?!1:n===y?!0:void 0}function v(t,n){return t&&!n}function l(t){return t.loop==="scroll"&&t.direction!=="tabs"&&t.direction!=="accordion"&&!O(typeof t.bgImage=="string"?t.bgImage:null)&&!B(t.scrollDirection)}function h(t,n){return a(t)&&l(n)?d({}):d(n)}function I(t){return t!=="full"}function U(t,n,x){if(!Array.isArray(t)||typeof n!="string")return;const s=(m,e,g,G)=>{for(const r of m){const o=r?.props??{};if(o.id===n)return e;const i=a(r?.type),u=(G?h(r?.type,o).content:null)==="content"?!0:g,b=i&&(e.inBox?R(o)??u:u),p={insideGutter:e.insideGutter||b||i&&l(o),inBox:e.inBox||i};for(const c of Object.values(o)){if(!w(c))continue;const f=s(c,p,u,!1);if(f!==void 0)return f}}};return s(t,{insideGutter:!1,inBox:!1},x,!0)}export{T as BOX_GUTTER_KEY,_ as BOX_GUTTER_OFF,y as BOX_GUTTER_ON,R as boxGutterOf,U as boxPlaceOf,l as boxRunsEdgeToEdge,v as drawsSiteGutter,a as isFrameContainer,h as ownNodeWidth,I as siteDrawsGutter};
1
+ import{isNodeList as w}from"efficient-easel/data";import{isVerticalLoop as R}from"../animation/loop.js";import{boxCardProps as a,boxIsCard as B}from"./box-background.js";import"./box-card-rule.js";import{CARD_TEMPLATE_SLOT as A,hasCardTemplate as C}from"./card-template.js";import{ownSectionWidth as x}from"./section-width.js";const h=new Set(["Flex","Grid"]);function l(t){return typeof t=="string"&&h.has(t)}const y="contentWidth",F="full",N="content";function P(t){const n=t?.[y];return n===F?!1:n===N?!0:void 0}function v(t,n){return t&&!n}function m(t){return t.loop==="scroll"&&t.direction!=="tabs"&&t.direction!=="accordion"&&!B(t)&&!R(t.scrollDirection)}function S(t,n){return l(t)&&m(a(n,!1))?x({}):x(n)}function j(t){return t!=="full"}function k(t,n,p){if(!Array.isArray(t)||typeof n!="string")return;const f=(O,e,T,_,u)=>{for(const r of O){const o=r?.props??{};if(o.id===n)return e;const i=l(r?.type),s=(_?S(r?.type,o).content:null)==="content"?!0:T,E=i&&(e.inBox?P(o)??s:s),G={insideGutter:e.insideGutter||E||i&&m(a(o,u)),inBox:e.inBox||i};for(const[b,c]of Object.entries(o)){if(!w(c))continue;const d=f(c,G,s,!1,u||b===A&&C(r?.type));if(d!==void 0)return d}}};return f(t,{insideGutter:!1,inBox:!1},p,!0,!1)}export{y as BOX_GUTTER_KEY,F as BOX_GUTTER_OFF,N as BOX_GUTTER_ON,P as boxGutterOf,k as boxPlaceOf,m as boxRunsEdgeToEdge,v as drawsSiteGutter,l as isFrameContainer,S as ownNodeWidth,j as siteDrawsGutter};
@@ -3,9 +3,12 @@ export type ViewHidden = Readonly<{
3
3
  tablet: boolean;
4
4
  mobile: boolean;
5
5
  }>;
6
- export declare function viewHideClass(hidden: ViewHidden): string;
6
+ export type ViewHideLine = {
7
+ readonly atSectionLine?: boolean;
8
+ };
9
+ export declare function viewHideClass(hidden: ViewHidden, { atSectionLine }?: ViewHideLine): string;
7
10
  export declare const VIEW_HIDE_KEYS: readonly string[];
8
11
  export declare function nodeViewHidden(props: Readonly<Record<string, unknown>>): ViewHidden;
9
12
  export declare function nodeHiddenEverywhere(props: Readonly<Record<string, unknown>>): boolean;
10
13
  export declare function nodeViewHideWords(props: Readonly<Record<string, unknown>>): string;
11
- export declare function nodeViewHideClass(props: Readonly<Record<string, unknown>>): string;
14
+ export declare function nodeViewHideClass(props: Readonly<Record<string, unknown>>, { atSectionLine }?: ViewHideLine): string;
@@ -1 +1 @@
1
- import{HIDDEN_KEY as l,hiddenInEveryView as s,hiddenInView as d,hiddenKeyOf as n}from"efficient-easel/screen/lib/content/view-hide";const w={"000":"",100:"view-desktop:hidden","010":"view-tablet:max-view-desktop:hidden","001":"max-view-tablet:hidden",110:"view-tablet:hidden","011":"max-view-desktop:hidden",101:"view-desktop:hidden max-view-tablet:hidden",111:"hidden"};function h(e){const t=i=>i?"1":"0";return w[t(e.desktop)+t(e.tablet)+t(e.mobile)]}const v=[l,n("tablet"),n("mobile")];function o(e){return{desktop:d(e,"desktop"),tablet:d(e,"tablet"),mobile:d(e,"mobile")}}function m(e){return s(e)}function p(e){const t=o(e);return["desktop","tablet","mobile"].filter(i=>t[i]).join(" ")}const b={"000":"",100:"view-desktop:hidden!","010":"view-tablet:max-view-desktop:hidden!","001":"max-view-tablet:hidden!",110:"view-tablet:hidden!","011":"max-view-desktop:hidden!",101:"view-desktop:hidden! max-view-tablet:hidden!",111:"hidden!"};function x(e){const t=o(e),i=a=>a?"1":"0";return b[i(t.desktop)+i(t.tablet)+i(t.mobile)]}export{v as VIEW_HIDE_KEYS,m as nodeHiddenEverywhere,o as nodeViewHidden,x as nodeViewHideClass,p as nodeViewHideWords,h as viewHideClass};
1
+ import{HIDDEN_KEY as h,hiddenInEveryView as v,hiddenInView as i,hiddenKeyOf as t}from"efficient-easel/screen/lib/content/view-hide";const a={"000":"",100:"view-desktop:hidden","010":"view-wide:max-view-desktop:hidden","001":"max-view-wide:hidden",110:"view-wide:hidden","011":"max-view-desktop:hidden",101:"view-desktop:hidden max-view-wide:hidden",111:"hidden"},s={"000":"",100:"view-desktop:hidden","010":"view-tablet:max-view-desktop:hidden","001":"max-view-tablet:hidden",110:"view-tablet:hidden","011":"max-view-desktop:hidden",101:"view-desktop:hidden max-view-tablet:hidden",111:"hidden"},n=e=>(e.desktop?"1":"0")+(e.tablet?"1":"0")+(e.mobile?"1":"0");function x(e,{atSectionLine:d=!1}={}){return(d?s:a)[n(e)]}const r=[h,t("tablet"),t("mobile")];function o(e){return{desktop:i(e,"desktop"),tablet:i(e,"tablet"),mobile:i(e,"mobile")}}function k(e){return v(e)}function b(e){const d=o(e);return["desktop","tablet","mobile"].filter(w=>d[w]).join(" ")}const l={"000":"",100:"view-desktop:hidden!","010":"view-wide:max-view-desktop:hidden!","001":"max-view-wide:hidden!",110:"view-wide:hidden!","011":"max-view-desktop:hidden!",101:"view-desktop:hidden! max-view-wide:hidden!",111:"hidden!"},m={"000":"",100:"view-desktop:hidden!","010":"view-tablet:max-view-desktop:hidden!","001":"max-view-tablet:hidden!",110:"view-tablet:hidden!","011":"max-view-desktop:hidden!",101:"view-desktop:hidden! max-view-tablet:hidden!",111:"hidden!"};function E(e,{atSectionLine:d=!1}={}){return(d?m:l)[n(o(e))]}export{r as VIEW_HIDE_KEYS,k as nodeHiddenEverywhere,o as nodeViewHidden,E as nodeViewHideClass,b as nodeViewHideWords,x as viewHideClass};
@@ -1,8 +1,9 @@
1
1
  export declare const RESPONSIVE_RULES: "v1" | "v2";
2
+ export declare const PHONE_EDGE = 800;
2
3
  export declare const VIEW_LINE_PX: {
3
4
  readonly "view-tablet": 720;
4
5
  readonly "view-desktop": 1100;
5
- readonly "view-wide": 720 | 800;
6
+ readonly "view-wide": 800;
6
7
  };
7
8
  export type ViewLine = keyof typeof VIEW_LINE_PX;
8
9
  export declare function breakpointOf(variant: string): {
@@ -1 +1 @@
1
- import{VIEW_DESKTOP_MIN as r,VIEW_TABLET_MIN as i}from"efficient-easel/screen/lib/content/view-tiers";const s="v1",c=e=>e==="v2"?i:800,x={"view-tablet":i,"view-desktop":r,"view-wide":c(s)};function p(e){const n=e.startsWith("max-"),o=n?e.slice(4):e;if(o in x)return{px:x[o],max:n};const t=/^(max|min)-\[(\d+)px\]$/.exec(e);return t?{px:Number(t[2]),max:t[1]==="max"}:void 0}export{s as RESPONSIVE_RULES,x as VIEW_LINE_PX,p as breakpointOf};
1
+ import{VIEW_DESKTOP_MIN as E,VIEW_TABLET_MIN as i}from"efficient-easel/screen/lib/content/view-tiers";const s="v1",p=800,x={"view-tablet":i,"view-desktop":E,"view-wide":p};function c(e){const o=e.startsWith("max-"),n=o?e.slice(4):e;if(n in x)return{px:x[n],max:o};const t=/^(max|min)-\[(\d+)px\]$/.exec(e);return t?{px:Number(t[2]),max:t[1]==="max"}:void 0}export{p as PHONE_EDGE,s as RESPONSIVE_RULES,x as VIEW_LINE_PX,c as breakpointOf};
@@ -1,2 +1,5 @@
1
1
  import { type BlockSeed } from "../../../seed-parts.js";
2
2
  export declare const footprintCardSeed: () => BlockSeed;
3
+ export declare const footprintSideCardSeed: () => BlockSeed;
4
+ export declare function isUntouchedFootprintSideRow(props: Record<string, unknown>): boolean;
5
+ export declare function withFootprintSideTemplate(props: Record<string, unknown>): Record<string, unknown>;
@@ -1 +1 @@
1
- import{BOX_TYPE as l,CONTAINER_BLOCKS_SLOT as r}from"../../../container-blocks.js";import{DIM as e,INNER_BOX as p,TEXT as o,boxPadding as a,labelLook as d,token as f}from"../../../seed-parts.js";import{rowFieldTextSeed as t}from"../Cards/card-seed.js";import{CARD_ROW_FIELD_PROP as n,CARD_ROW_LINK_PROP as O}from"../../../../content/card-template.js";const i=d(11),_={textStyle:"body-1",...f("body",18),weight:500,lineHeight:1.2},s=()=>({type:l,props:{...p,gap:8,gapPhone:8,...a(20,24,20,20),name:"Office"},slots:{[r]:[t("badge",{...o,tag:"p",widthFit:"fill"},i,!0),t("role",{...o,tag:"p",widthFit:"fill"},i,!0),t("city",{...o,tag:"p",widthFit:"fill"},_),t("country",{...e,tag:"p",widthFit:"fill"},i),t("address",{...e,tag:"p",widthFit:"fill"},i),{type:"ButtonBlock",props:{variant:"link",label:"",href:"",[n]:"linkLabel",[O]:"href"}}]}});export{s as footprintCardSeed};
1
+ import{BOX_TYPE as r,CONTAINER_BLOCKS_SLOT as d}from"../../../container-blocks.js";import{DIM as i,INNER_BOX as f,TEXT as o,boxPadding as p,labelLook as y,seedNodes as O,token as l}from"../../../seed-parts.js";import{listBesideMap as _}from"../../../../content/list-position.js";import{nonEmptyString as u}from"../../../../non-empty-string.js";import{shapeKeyOf as m}from"../../../seed-shape.js";import{rowFieldTextSeed as e}from"../Cards/card-seed.js";import{CARD_ROW_FIELD_PROP as w,CARD_ROW_LINK_PROP as S}from"../../../../content/card-template.js";const n=y(11),F={textStyle:"body-1",...l("body",18),weight:500,lineHeight:1.2},K=()=>({type:r,props:{...f,gap:8,gapPhone:8,...p(20,24,20,20),name:"Office"},slots:{[d]:[e("badge",{...o,tag:"p",widthFit:"fill"},n,!0),e("role",{...o,tag:"p",widthFit:"fill"},n,!0),e("city",{...o,tag:"p",widthFit:"fill"},F),e("country",{...i,tag:"p",widthFit:"fill"},n),e("address",{...i,tag:"p",widthFit:"fill"},n),{type:"ButtonBlock",props:{variant:"link",label:"",href:"",[w]:"linkLabel",[S]:"href"}}]}}),L={textStyle:"body-1",fontRole:"heading",...l("body",16),weight:500,lineHeight:1.25},h={textStyle:"body-1",...l("body",14),lineHeight:1.5},b=()=>({type:r,props:{...f,gap:4,gapPhone:4,...p(16,4),sectionBorder:{bottom:1},name:"Office"},slots:{[d]:[e("city",{...o,tag:"p",widthFit:"fill"},L),e("address",{...i,tag:"p",widthFit:"fill"},h),e("phone",{...i,tag:"p",widthFit:"fill"},h)]}});function g(t){const a=u(t.id)??"Footprint";let c=0;return O([b()],s=>s===r?`${a}~office`:`${a}~office.${c++}`)}function R(t){return Array.isArray(t.template)&&t.template.length>0&&m(t.template)===m(g(t))}const E=t=>t===void 0||Array.isArray(t)&&t.length===0;function N(t){return _(t.listPosition)?!E(t.template)||t.source==="dealers"?t:{...t,template:g(t)}:R(t)?{...t,template:[]}:t}export{K as footprintCardSeed,b as footprintSideCardSeed,R as isUntouchedFootprintSideRow,N as withFootprintSideTemplate};
@@ -612,6 +612,13 @@
612
612
  "label": "Address"
613
613
  }
614
614
  },
615
+ "phone": {
616
+ "type": "custom",
617
+ "__text": {
618
+ "control": "plainText",
619
+ "label": "Phone"
620
+ }
621
+ },
615
622
  "group": {
616
623
  "type": "custom",
617
624
  "__text": {
@@ -1 +1 @@
1
- import{DELIVERY_OPTIONS_SOURCE as K,declaredBlockSource as d}from"../content/block-sources.js";import{nonEmptyString as p}from"../non-empty-string.js";import{CARD_LIST_TYPE as _,CARD_TEMPLATE_SLOT as f}from"../content/card-template.js";import{find as R,walk as g}from"efficient-easel/data";import{BOX_TYPE as j,CONTAINER_BLOCKS_SLOT as F}from"./container-blocks.js";import{seedNodes as S}from"./seed-parts.js";import{SERVED_CARD_FIELDS as a,TYPED_CARD_FIELDS as u,cardIdOf as A,cardsCardSeed as m,labelOnlyCardSeed as O}from"./blocks/general/Cards/card-seed.js";import{GRID_LOOK_KEYS as h,cardListCardSeed as w,cardsGridLook as k,deliveryCardSeed as D,deliveryGridLook as L}from"./blocks/general/Cards/card-list-seed.js";import{finiteNumber as Y}from"../finite-number.js";function l(t){return Array.isArray(t)?t.map(l):!t||typeof t!="object"?t:Object.fromEntries(Object.entries(t).filter(([e,r])=>e!=="id"&&r!==void 0&&!(Array.isArray(r)&&r.length===0)).sort(([e],[r])=>e<r?-1:e>r?1:0).map(([e,r])=>[e,l(r)]))}const P=()=>"",G=t=>JSON.stringify(l(S([t],P)));function N(t,e,r){if(!Array.isArray(t)||t.length!==1)return null;const o=r.keys??=Object.fromEntries(Object.entries(e()).map(([n,s])=>[n,new Set(s.map(G))])),i=JSON.stringify(l(t));return Object.keys(o).find(n=>o[n].has(i))??null}const J=()=>({press:[w(u),w(a)],delivery:[D()]}),B={},C=t=>N(t,J,B),M=t=>d(t)===K?"delivery":"press";function et(t,e){if(!e||d(t)===d(e))return t;const r=C(t[f]),o=M(t);if(!r||r===o)return t;const i=p(t.id)??_,n=o==="delivery"?D():w(d(t)?a:u),s=S([n],A(i));return{...t,[f]:s}}const V=()=>({cards:[m(u),m(a)],label:[O(!1),O(!0)]}),v={},z=t=>N(t,V,v);function nt(t,e){if(!e||t.cardStyle==="label-only"==(e.cardStyle==="label-only"))return t;const r=z(t[f]),o=t.cardStyle==="label-only"?"label":"cards";if(!r||r===o)return t;const i=p(t.id)??"Cards",n=Array.isArray(t.items)&&t.items.some(b=>p(b?.href)!==void 0),s=o==="label"?O(n):m(d(t)?a:u),c=S([s],A(i));return{...t,[f]:c}}const I=(t,e)=>h.every(r=>JSON.stringify(t[r])===JSON.stringify(e[r]));function T(t,e){const r={...t};for(const o of h)delete r[o];return{...r,...structuredClone(e)}}function E(t){const e=t?.[F];if(!Array.isArray(e)||e.length!==1)return null;const r=e[0];return r?.type===_&&r.props?r:null}function H(t,e){const r=E(t),o=E(e);if(!r?.props||!o?.props||o.props.id!==r.props.id||d(r.props)===d(o.props))return t;const i=C(r.props[f]);if(!i||i===C(o.props[f]))return t;const n=Y(t.columns);return n===void 0?t:i==="delivery"&&I(t,k(n))?T(t,L(n)):i==="press"&&I(t,L(n))?T(t,k(n)):t}function ot(t){const e=y.get(t);e?e.count+=1:y.set(t,{count:1,stop:U(t)});let r=!1;return()=>{const o=y.get(t);r||!o||(r=!0,o.count-=1,!(o.count>0)&&(o.stop(),y.delete(t)))}}const y=new WeakMap;function U(t){let e=t.getState().appState.data;return t.subscribe(()=>{const r=t.getState().appState.data;if(r===e)return;const o=e;if(e=r,r===t.loaded)return;const i=new Map;g(r,t.config,n=>{if(n.type!==j||!E(n.props))return;const s=R(o,t.config,n.props.id);if(!s||s.node===n)return;const c=H(n.props,s.node.props);c!==n.props&&i.set(n.props.id,c)}),i.size&&t.dispatch({type:"setData",recordHistory:!1,data:n=>g(n,t.config,s=>{const c=i.get(s.props.id);return c?{...s,props:{...c,id:s.props.id}}:void 0})})})}export{et as cardFollowsContentSwitch,nt as cardsFollowCardStyle,H as cardsGridFollowsContent,ot as followCardContentSwitches};
1
+ import{DELIVERY_OPTIONS_SOURCE as R,declaredBlockSource as d}from"../content/block-sources.js";import{nonEmptyString as p}from"../non-empty-string.js";import{CARD_LIST_TYPE as E,CARD_TEMPLATE_SLOT as f}from"../content/card-template.js";import{find as v,walk as _}from"efficient-easel/data";import{BOX_TYPE as b,CONTAINER_BLOCKS_SLOT as F}from"./container-blocks.js";import{seedNodes as y}from"./seed-parts.js";import{SERVED_CARD_FIELDS as a,TYPED_CARD_FIELDS as l,cardIdOf as k,cardsCardSeed as S,labelOnlyCardSeed as m}from"./blocks/general/Cards/card-seed.js";import{GRID_LOOK_KEYS as D,cardListCardSeed as O,cardsGridLook as L,deliveryCardSeed as g,deliveryGridLook as h}from"./blocks/general/Cards/card-list-seed.js";import{finiteNumber as Y}from"../finite-number.js";import{shapeKeyOf as A}from"./seed-shape.js";const P=()=>"",G=t=>A(y([t],P));function I(t,e,r){if(!Array.isArray(t)||t.length!==1)return null;const o=r.keys??=Object.fromEntries(Object.entries(e()).map(([n,s])=>[n,new Set(s.map(G))])),i=A(t);return Object.keys(o).find(n=>o[n].has(i))??null}const j=()=>({press:[O(l),O(a)],delivery:[g()]}),B={},w=t=>I(t,j,B),M=t=>d(t)===R?"delivery":"press";function nt(t,e){if(!e||d(t)===d(e))return t;const r=w(t[f]),o=M(t);if(!r||r===o)return t;const i=p(t.id)??E,n=o==="delivery"?g():O(d(t)?a:l),s=y([n],k(i));return{...t,[f]:s}}const J=()=>({cards:[S(l),S(a)],label:[m(!1),m(!0)]}),V={},z=t=>I(t,J,V);function ot(t,e){if(!e||t.cardStyle==="label-only"==(e.cardStyle==="label-only"))return t;const r=z(t[f]),o=t.cardStyle==="label-only"?"label":"cards";if(!r||r===o)return t;const i=p(t.id)??"Cards",n=Array.isArray(t.items)&&t.items.some(N=>p(N?.href)!==void 0),s=o==="label"?m(n):S(d(t)?a:l),c=y([s],k(i));return{...t,[f]:c}}const T=(t,e)=>D.every(r=>JSON.stringify(t[r])===JSON.stringify(e[r]));function K(t,e){const r={...t};for(const o of D)delete r[o];return{...r,...structuredClone(e)}}function C(t){const e=t?.[F];if(!Array.isArray(e)||e.length!==1)return null;const r=e[0];return r?.type===E&&r.props?r:null}function H(t,e){const r=C(t),o=C(e);if(!r?.props||!o?.props||o.props.id!==r.props.id||d(r.props)===d(o.props))return t;const i=w(r.props[f]);if(!i||i===w(o.props[f]))return t;const n=Y(t.columns);return n===void 0?t:i==="delivery"&&T(t,L(n))?K(t,h(n)):i==="press"&&T(t,h(n))?K(t,L(n)):t}function it(t){const e=u.get(t);e?e.count+=1:u.set(t,{count:1,stop:U(t)});let r=!1;return()=>{const o=u.get(t);r||!o||(r=!0,o.count-=1,!(o.count>0)&&(o.stop(),u.delete(t)))}}const u=new WeakMap;function U(t){let e=t.getState().appState.data;return t.subscribe(()=>{const r=t.getState().appState.data;if(r===e)return;const o=e;if(e=r,r===t.loaded)return;const i=new Map;_(r,t.config,n=>{if(n.type!==b||!C(n.props))return;const s=v(o,t.config,n.props.id);if(!s||s.node===n)return;const c=H(n.props,s.node.props);c!==n.props&&i.set(n.props.id,c)}),i.size&&t.dispatch({type:"setData",recordHistory:!1,data:n=>_(n,t.config,s=>{const c=i.get(s.props.id);return c?{...s,props:{...c,id:s.props.id}}:void 0})})})}export{nt as cardFollowsContentSwitch,ot as cardsFollowCardStyle,H as cardsGridFollowsContent,it as followCardContentSwitches};
@@ -0,0 +1,2 @@
1
+ export declare const PANEL_ONLY_FIELD: "sfPanelOnly";
2
+ export declare function fieldPanelOnly(field: unknown): boolean;
@@ -0,0 +1 @@
1
+ const t="sfPanelOnly";function e(n){return!!n&&typeof n=="object"&&n[t]===!0}export{t as PANEL_ONLY_FIELD,e as fieldPanelOnly};
@@ -1 +1 @@
1
- import{isNodeList as i}from"efficient-easel/data";import{boxChildrenHand as l}from"../content/mirror-cards.js";import{imageTextRowsHand as a}from"../content/image-text-rows.js";import{cardCopyPlace as y,cardTemplateCardOwner as h}from"../content/card-template.js";import{BOX_TYPE as d,CONTAINER_BLOCKS_SLOT as c}from"./container-blocks.js";import{findParentNode as O}from"./passes/document-position.js";const f={ProcessSteps:{slot:"boxes",hand:a}},m=(r,n,o)=>i(r.props?.[n])&&(r.props?.[n]).some(e=>e?.props?.id===o);function R(r,n){const o=O(r,n);if(o===void 0)return;if(o!==null){const p=typeof o.type=="string"?o.type:"";if(p===d&&m(o,c,n)){const u=y(r,o.props?.id);return l(o.props??{},u?.inCopy===!0)}const t=f[p];if(t&&m(o,t.slot,n))return t.hand(o.props??{})}const e=h(r,n),s=e&&typeof e.type=="string"?f[e.type]:void 0;return s&&e?s.hand(e.props??{}):null}function _(r){const n=r?.[c];return i(n)&&n.some(o=>o?.type===d)}export{R as handedRowOf,_ as holdsABox};
1
+ import{isNodeList as d}from"efficient-easel/data";import{boxCardProps as y}from"../content/box-background.js";import{boxChildrenHand as a}from"../content/mirror-cards.js";import{imageTextRowsHand as l}from"../content/image-text-rows.js";import{cardCopyPlace as C,cardTemplateCardOwner as h}from"../content/card-template.js";import{BOX_TYPE as f,CONTAINER_BLOCKS_SLOT as c}from"./container-blocks.js";import{findParentNode as x}from"./passes/document-position.js";const m={ProcessSteps:{slot:"boxes",hand:l}},u=(n,r,o)=>d(n.props?.[r])&&(n.props?.[r]).some(t=>t?.props?.id===o);function b(n,r){const o=x(n,r);if(o===void 0)return;if(o!==null){const s=typeof o.type=="string"?o.type:"";if(s===f&&u(o,c,r)){const i=C(n,o.props?.id)?.inCopy===!0;return a(y(o.props??{},i),i)}const e=m[s];if(e&&u(o,e.slot,r))return e.hand(o.props??{})}const t=h(n,r),p=t&&typeof t.type=="string"?m[t.type]:void 0;return p&&t?p.hand(t.props??{}):null}function g(n){const r=n?.[c];return d(r)&&r.some(o=>o?.type===f)}export{b as handedRowOf,g as holdsABox};
@@ -18,10 +18,11 @@ export declare function buildBlockCategories(): Record<string, {
18
18
  components: string[];
19
19
  defaultExpanded?: boolean;
20
20
  }>;
21
- export declare const KEY_FEATURES_DELETE_BY = "2026-12-04";
21
+ export declare const KEY_FEATURES_DELETE_BY = "2027-02-05";
22
22
  export declare const RETIRED_SECTIONS: Record<string, string>;
23
23
  export declare const RETIRED_NESTABLE_SECTIONS: readonly ["Grid", "Spacer", "TyreFitment"];
24
24
  export declare const ALL_SECTION_TYPES: string[];
25
+ export declare const RETIRED_SECTION_LABELS: Readonly<Record<string, string>>;
25
26
  export declare const SECTION_LABELS: Record<string, string>;
26
27
  export declare const UNLISTED_BLOCK_SETS: Readonly<Record<string, BlockSet>>;
27
28
  export declare function blockSetOf(type: string): BlockSet | undefined;
@@ -1,4 +1,4 @@
1
- const p=["general","commerce","service"],o=[{key:"openers",title:"Hero & intros",defaultExpanded:!0,templateable:!0,sections:[{type:"Hero",label:"Hero",set:"general"},{type:"HeroSingle",label:"Hero Single",set:"general"},{type:"IntroBleed",label:"Scroll-Over Text",set:"general"}]},{key:"shop",title:"Shop & galleries",templateable:!0,sections:[{type:"Collections",label:"Collections",set:"commerce"},{type:"AlloyWheelsListing",label:"List",set:"commerce"},{type:"CatalogFilterBar",label:"Catalog Filter Bar",set:"commerce"},{type:"ProductGrid",label:"Product Grid",set:"commerce"},{type:"FitmentFinder",label:"Fitment Form",set:"commerce"},{type:"Gallery",label:"Tabbed Gallery",set:"commerce"},{type:"GalleryB",label:"Customer Photo Grid",set:"commerce"}]},{key:"product",title:"Product page",templateable:!0,sections:[{type:"ProductHero",label:"Product Hero",set:"commerce"},{type:"SpecTable",label:"Spec Table",set:"commerce"},{type:"ProcessSteps",label:"Image & Text Columns",set:"general"},{type:"DetailRows",label:"Feature Rows",set:"commerce"},{type:"FitmentTable",label:"Fitment Table",set:"commerce"},{type:"TyreSizes",label:"Tyre Sizes",set:"commerce"},{type:"EuTyreLabel",label:"EU Tyre Label",set:"commerce"}]},{key:"checkout",title:"Checkout & ordering",templateable:!0,sections:[{type:"OrderSummary",label:"Order Table",set:"general"},{type:"CheckoutCTA",label:"Ready-to-Order Banner",set:"commerce"}]},{key:"about",title:"About & brand story",templateable:!0,sections:[{type:"Footprint",label:"Locations Map",set:"general"}]},{key:"content",title:"Text & content",templateable:!0,sections:[{type:"Prose",label:"Editorial Text",set:"general"},{type:"ParagraphsA",label:"Lead Text",set:"general"},{type:"Cards",label:"Cards",set:"general"}]},{key:"proof",title:"Stats & social proof",templateable:!0,sections:[{type:"Stats",label:"Stats",set:"general"},{type:"Chart",label:"Chart",set:"general"},{type:"Mockup",label:"Mockup Card",set:"general"},{type:"Reviews",label:"Reviews",set:"service"}]},{key:"promo",title:"Promotions & sign-ups",templateable:!0,sections:[{type:"Banner",label:"Banner",set:"general"},{type:"TitleWithButtons",label:"Call-to-Action Heading",set:"general"},{type:"Countdown",label:"Countdown",set:"general"}]},{key:"blog",title:"Blog & journal",templateable:!0,sections:[{type:"FeaturedCover",label:"Feature Banner",set:"general"},{type:"LongRead",label:"Article Text",set:"general"},{type:"ArticleBody",label:"Article Body",set:"service"},{type:"Events",label:"Latest Posts",set:"service"}]},{key:"navigation",title:"Navigation & wayfinding",templateable:!0,sections:[{type:"Breadcrumb",label:"Breadcrumb",set:"general"},{type:"CategoryBar",label:"Category Bar",set:"general"},{type:"DocTabs",label:"Document Tabs",set:"general"}]},{key:"legal",title:"Legal & documents",templateable:!0,sections:[{type:"DocBody",label:"Document Text",set:"general"}]},{key:"contact",title:"Contact, FAQ & forms",templateable:!0,sections:[{type:"FAQ",label:"Q&A",set:"general"},{type:"ContactRouting",label:"Contact Form",set:"service"},{type:"ContactLocations",label:"Contact / Locations",set:"general"},{type:"SubmitBuild",label:"Photo Submission Form",set:"service"},{type:"ReviewForm",label:"Review Form",set:"service"},{type:"Form",label:"Form",set:"service"},{type:"AppointmentBooking",label:"Booking Form",set:"service"}]},{key:"structure",title:"Layout, structure & embeds",templateable:!1,sections:[{type:"SectionHeader",label:"Section Header",set:"general"},{type:"Flex",label:"Box",set:"general"},{type:"Divider",label:"Divider",set:"general"},{type:"CustomHTML",label:"Custom HTML",set:"general"}]},{key:"layouts",title:"Layouts",templateable:!0,sections:[{type:"Manifesto",label:"Brand Text",set:"general"},{type:"Split",label:"Image & Text Split",set:"general"},{type:"Subscribe",label:"Signup Form",set:"service"},{type:"Ticker",label:"Scrolling Bar",set:"general"},{type:"SpecStrip",label:"Spec Strip",set:"general"},{type:"TimelineTrack",label:"Milestone Timeline",set:"general"},{type:"Timeline",label:"Story Timeline",set:"general"},{type:"Logos",label:"Logos",set:"general"},{type:"DocMasthead",label:"Page Header",set:"general"}]}];function u(){return Object.fromEntries(o.map(e=>[e.key,{title:e.title,components:e.sections.map(t=>t.type),...e.defaultExpanded?{defaultExpanded:!0}:{}}]))}const i="2026-12-04",l={Masthead:`Owner, 2026-10-10 (the page headers become ONE Layouts row): Issue Header and Document Header are one Page Header. Retired from the Add menu with no second preset (reviewer, 2026-11-06).
1
+ const m=["general","commerce","service"],o=[{key:"openers",title:"Hero & intros",defaultExpanded:!0,templateable:!0,sections:[{type:"Hero",label:"Hero",set:"general"},{type:"HeroSingle",label:"Hero Single",set:"general"},{type:"IntroBleed",label:"Scroll-Over Text",set:"general"}]},{key:"shop",title:"Shop & galleries",templateable:!0,sections:[{type:"Collections",label:"Collections",set:"commerce"},{type:"AlloyWheelsListing",label:"List",set:"commerce"},{type:"CatalogFilterBar",label:"Catalog Filter Bar",set:"commerce"},{type:"ProductGrid",label:"Product Grid",set:"commerce"},{type:"FitmentFinder",label:"Fitment Form",set:"commerce"},{type:"GalleryB",label:"Gallery",set:"commerce"}]},{key:"product",title:"Product page",templateable:!0,sections:[{type:"ProductHero",label:"Product Hero",set:"commerce"},{type:"SpecTable",label:"Spec Table",set:"commerce"},{type:"ProcessSteps",label:"Image & Text Columns",set:"general"},{type:"DetailRows",label:"Feature Rows",set:"commerce"},{type:"FitmentTable",label:"Fitment Table",set:"commerce"},{type:"TyreSizes",label:"Tyre Sizes",set:"commerce"},{type:"EuTyreLabel",label:"EU Tyre Label",set:"commerce"}]},{key:"checkout",title:"Checkout & ordering",templateable:!0,sections:[{type:"OrderSummary",label:"Order Table",set:"general"},{type:"CheckoutCTA",label:"Ready-to-Order Banner",set:"commerce"}]},{key:"about",title:"About & brand story",templateable:!0,sections:[{type:"Footprint",label:"Locations Map",set:"general"}]},{key:"content",title:"Text & content",templateable:!0,sections:[{type:"Prose",label:"Editorial Text",set:"general"},{type:"ParagraphsA",label:"Lead Text",set:"general"},{type:"Cards",label:"Cards",set:"general"}]},{key:"proof",title:"Stats & social proof",templateable:!0,sections:[{type:"Stats",label:"Stats",set:"general"},{type:"Chart",label:"Chart",set:"general"},{type:"Mockup",label:"Mockup Card",set:"general"},{type:"Reviews",label:"Reviews",set:"service"}]},{key:"promo",title:"Promotions & sign-ups",templateable:!0,sections:[{type:"Banner",label:"Banner",set:"general"},{type:"TitleWithButtons",label:"Call-to-Action Heading",set:"general"},{type:"Countdown",label:"Countdown",set:"general"}]},{key:"blog",title:"Blog & journal",templateable:!0,sections:[{type:"FeaturedCover",label:"Feature Banner",set:"general"},{type:"LongRead",label:"Article Text",set:"general"},{type:"ArticleBody",label:"Article Body",set:"service"},{type:"Events",label:"Latest Posts",set:"service"}]},{key:"navigation",title:"Navigation & wayfinding",templateable:!0,sections:[{type:"Breadcrumb",label:"Breadcrumb",set:"general"},{type:"CategoryBar",label:"Category Bar",set:"general"},{type:"DocTabs",label:"Document Tabs",set:"general"}]},{key:"legal",title:"Legal & documents",templateable:!0,sections:[{type:"DocBody",label:"Document Text",set:"general"}]},{key:"contact",title:"Contact, FAQ & forms",templateable:!0,sections:[{type:"FAQ",label:"Q&A",set:"general"},{type:"ContactRouting",label:"Contact Form",set:"service"},{type:"ContactLocations",label:"Contact / Locations",set:"general"},{type:"SubmitBuild",label:"Photo Submission Form",set:"service"},{type:"ReviewForm",label:"Review Form",set:"service"},{type:"Form",label:"Form",set:"service"},{type:"AppointmentBooking",label:"Booking Form",set:"service"}]},{key:"structure",title:"Layout, structure & embeds",templateable:!1,sections:[{type:"SectionHeader",label:"Section Header",set:"general"},{type:"Flex",label:"Box",set:"general"},{type:"Divider",label:"Divider",set:"general"},{type:"CustomHTML",label:"Custom HTML",set:"general"}]},{key:"layouts",title:"Layouts",templateable:!0,sections:[{type:"Manifesto",label:"Brand Text",set:"general"},{type:"Split",label:"Image & Text Split",set:"general"},{type:"Subscribe",label:"Signup Form",set:"service"},{type:"Ticker",label:"Scrolling Bar",set:"general"},{type:"SpecStrip",label:"Spec Strip",set:"general"},{type:"TimelineTrack",label:"Milestone Timeline",set:"general"},{type:"Timeline",label:"Story Timeline",set:"general"},{type:"Logos",label:"Logos",set:"general"},{type:"DocMasthead",label:"Page Header",set:"general"}]}];function y(){return Object.fromEntries(o.map(e=>[e.key,{title:e.title,components:e.sections.map(t=>t.type),...e.defaultExpanded?{defaultExpanded:!0}:{}}]))}const l="2027-02-05",s={Masthead:{label:"Issue Header",note:`Owner, 2026-10-10 (the page headers become ONE Layouts row): Issue Header and Document Header are one Page Header. Retired from the Add menu with no second preset (reviewer, 2026-11-06).
2
2
 
3
3
  WHAT REPLACES IT: Page Header, a Box of Text blocks: a Header Box (the eyebrow, the title, a Details Box of one Text per line) over a Deck Box. Every Issue Header field is plain words with no data source, so the merchant makes the issue shape from Text blocks in that Box: the issue lines are Details lines, the lead is the Deck, and the "In this issue" panel is a Box of Texts beside it. Its converter row (\`section-to-box-rows-pageheader\` \`masthead\`, OFF) stays for a stored page that moves later.
4
4
 
@@ -6,7 +6,7 @@ WHAT A MERCHANT LOSES: a press that lays down the two-row issue shape with its "
6
6
 
7
7
  1 Issue Header is stored on the US sites (journal, draft and published; read only, 2026-11-07). Old sites stay as they are (owner, 2026-11-06).
8
8
 
9
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A page holding an Issue Header still renders through it and can still be edited; no document is rewritten.`,Grid:'Lewis, 2026-09-14: Box and Grid duplicate each other and it feels confusing. 2026-09-15 he chose the order: give Box uneven widths FIRST, then merge Grid into Box. Shown three ways to pick the widths (mockup "Uneven Box Widths"), he chose A — shape pictures on the Box\'s `Block widths` row, the same "a row is a shape, pick a picture of it" rule he set for the photo wall on 2026-09-07.\n\nWHAT REPLACES IT: a Box set to One row, with `Block widths` at Equal or Custom, and its own `Columns` in the Phone view. Measured on PRODUCTION 2026-09-16 ~09:28 AEST (database `efficient-system`, all 10 tenant schemas, 128 storefront pages, both `layout` and `published_layout` — 256 documents): 2 Grid nodes, and they are ONE Grid counted twice — the 9DIEM homepage on 9diem.com (`xtreme_mudder` schema), once as draft and once as published. It is top-level, holds three `ImageBlock`s at `columns` 3 — equal thirds — and NO block sets `Positions`. A Box draws that with `Block widths` at Equal.\n\n⚠️ THE COUNT MOVES; THE RULE MUST NOT DEPEND ON IT. This entry has already carried three different readings. A local-clone snapshot said no Grid used `Positions`. A PRODUCTION reading on 2026-09-15 ~13:15 AEST found 6 nodes on two sites, 4 of them spanned — hartesmetal.com.au homepage and about, 4 columns, spans 1 + 3. That one was TRUE when it was taken and stopped being true the same day: those two pages were rebuilt on Box (`Block widths: Bigger right`), and on 2026-09-16 they hold zero Grid nodes and are built from `Flex`. ⛔ So the rule is NOT "there are still N spanned Grids". NEVER delete the Grid component or its `gridSpan` handling, whatever a census says — Grid still renders, still edits, still drags, and a merchant may rebuild a page either way on any day. Re-run the census on production before anyone PROPOSES deleting either, and read any number written here as the reading of its own day, not as the state of the world.\n\nWHAT A MERCHANT LOSES: a new Grid, and with it a fixed "N per row" that wraps by itself past three across, and the per-block `Positions` number. Box wraps with `Wrap`, but by content width, not by a fixed count.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Grid still renders through it and can still be edited, dragged and added to; no document is rewritten and NO MIGRATION RUNS — the owner redoes live sections himself.\n\n⚠️ AND IT STAYS DROPPABLE WHERE IT LIVES. The drop rule in lib/document/config.tsx read the nestable containers off the catalogue\'s `structure` row, so leaving the catalogue would have made every open slot — a Box included — refuse a Grid already stored inside one. `scripts/test-retired-grid-stays-editable.tsx` §3 pins it.',CompatibleTyres:'Lewis, 2026-09-09: "Do not bother counting. Delete Compatible Tyres and use the new one. The new one needs complete settings — it must have every setting our cards have." Shown three ways to finish it, he chose C: retire from the menu now, and take styling the card text as its own card.\n\nWHAT REPLACES IT: `RelatedProducts` with its `Show` dropdown set to "Tyres that fit this product". That block is the GENERIC relationship section from card 1128 — it knows nothing about wheels or tyres, it asks the registry for a relationship by name. The two have rendered through the SAME renderer (`DynamicRelatedProducts`) since that card; this one is the pre-registry one-off that was never removed.\n\n⚠️ THE SWAP WAS NOT SAFE UNTIL #1305, AND SAYING SO IS THE POINT. The first old-versus-new table put in front of the owner was WRONG. `DynamicRelatedProducts` returns EARLY on a tyre answer and draws this component, so the seven card settings, the head split and the Width control all stopped at that call — nine settings, measured NO EFFECT, on precisely the relationship that replaces this block. #1283 gave the new block the card settings, #1299 the head split and its own Width, #1305 carried all of it onto the tyre branch. Only then was the claim true.\n\nWHAT WAS MEASURED BEFORE RETIRING, four ways, because the premise decides the card:\n • settable text kinds (SECTION_TEXT_KINDS): both blocks ABSENT — the map holds only TimelineTrack and Footprint, both AUTHORED lists\n • read-only text regions: neither `components/CompatibleTyres` nor `components/TyreCard` stamps one\n • panel rows through resolveFields: this block 31, `RelatedProducts` 42. This block\'s only style-ish key is `_sStyle`, the bucket HEADER, not a control\n • head text (num/title/description) is authored on both, so `_partStyles` reaches it identically\nSo on the CARD runs the two are zero against zero — neither can style them — and everywhere else the new block is ahead. Styling those runs needs a section-level prop family and a paint path for DERIVED text, which no section has yet: a part is anchored by matching an AUTHORED prop\'s string against the DOM, and `lib/document/source-bound-parts` keeps hydrated copy unreachable on purpose so a merchant cannot type into a copy of a product name and lose it at the next sync. That is its own card, and `lib/sections/text-regions` is the read-only half that already ships.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT, the same contract Subscribe, Split and SubscribeBlogs have. Every page holding a `CompatibleTyres` still renders through it, no published document is rewritten, and NO MIGRATION RUNS — the owner\'s standing ruling of 2026-09-05: he redoes live sections himself and deletes the old ones when he does. He also said explicitly not to count them first.\n\n⚠️ AND THIS COMPONENT IS LOAD-BEARING FOR ITS OWN REPLACEMENT: `DynamicRelatedProducts` draws it for EVERY tyre answer. Deleting it would blank the block that replaces it, not just the pages still holding this one.',Spacer:`Lewis, 2026-10-10 (section-merges.md group 19, approved): one Divider holds space and lines. Style = None (was Spacer) / Line / Stripes; the space above and below as number boxes. Retired by card [MERGE] Spacer Into Divider (2026-10-26).
9
+ THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A page holding an Issue Header still renders through it and can still be edited; no document is rewritten.`},Grid:{label:"Grid",note:'Lewis, 2026-09-14: Box and Grid duplicate each other and it feels confusing. 2026-09-15 he chose the order: give Box uneven widths FIRST, then merge Grid into Box. Shown three ways to pick the widths (mockup "Uneven Box Widths"), he chose A — shape pictures on the Box\'s `Block widths` row, the same "a row is a shape, pick a picture of it" rule he set for the photo wall on 2026-09-07.\n\nWHAT REPLACES IT: a Box set to One row, with `Block widths` at Equal or Custom, and its own `Columns` in the Phone view. Measured on PRODUCTION 2026-09-16 ~09:28 AEST (database `efficient-system`, all 10 tenant schemas, 128 storefront pages, both `layout` and `published_layout` — 256 documents): 2 Grid nodes, and they are ONE Grid counted twice — the 9DIEM homepage on 9diem.com (`xtreme_mudder` schema), once as draft and once as published. It is top-level, holds three `ImageBlock`s at `columns` 3 — equal thirds — and NO block sets `Positions`. A Box draws that with `Block widths` at Equal.\n\n⚠️ THE COUNT MOVES; THE RULE MUST NOT DEPEND ON IT. This entry has already carried three different readings. A local-clone snapshot said no Grid used `Positions`. A PRODUCTION reading on 2026-09-15 ~13:15 AEST found 6 nodes on two sites, 4 of them spanned — hartesmetal.com.au homepage and about, 4 columns, spans 1 + 3. That one was TRUE when it was taken and stopped being true the same day: those two pages were rebuilt on Box (`Block widths: Bigger right`), and on 2026-09-16 they hold zero Grid nodes and are built from `Flex`. ⛔ So the rule is NOT "there are still N spanned Grids". NEVER delete the Grid component or its `gridSpan` handling, whatever a census says — Grid still renders, still edits, still drags, and a merchant may rebuild a page either way on any day. Re-run the census on production before anyone PROPOSES deleting either, and read any number written here as the reading of its own day, not as the state of the world.\n\nWHAT A MERCHANT LOSES: a new Grid, and with it a fixed "N per row" that wraps by itself past three across, and the per-block `Positions` number. Box wraps with `Wrap`, but by content width, not by a fixed count.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Grid still renders through it and can still be edited, dragged and added to; no document is rewritten and NO MIGRATION RUNS — the owner redoes live sections himself.\n\n⚠️ AND IT STAYS DROPPABLE WHERE IT LIVES. The drop rule in lib/document/config.tsx read the nestable containers off the catalogue\'s `structure` row, so leaving the catalogue would have made every open slot — a Box included — refuse a Grid already stored inside one. `scripts/test-retired-grid-stays-editable.tsx` §3 pins it.'},CompatibleTyres:{label:"Compatible Tyres",note:'Lewis, 2026-09-09: "Do not bother counting. Delete Compatible Tyres and use the new one. The new one needs complete settings — it must have every setting our cards have." Shown three ways to finish it, he chose C: retire from the menu now, and take styling the card text as its own card.\n\nWHAT REPLACES IT: `RelatedProducts` with its `Show` dropdown set to "Tyres that fit this product". That block is the GENERIC relationship section from card 1128 — it knows nothing about wheels or tyres, it asks the registry for a relationship by name. The two have rendered through the SAME renderer (`DynamicRelatedProducts`) since that card; this one is the pre-registry one-off that was never removed.\n\n⚠️ THE SWAP WAS NOT SAFE UNTIL #1305, AND SAYING SO IS THE POINT. The first old-versus-new table put in front of the owner was WRONG. `DynamicRelatedProducts` returns EARLY on a tyre answer and draws this component, so the seven card settings, the head split and the Width control all stopped at that call — nine settings, measured NO EFFECT, on precisely the relationship that replaces this block. #1283 gave the new block the card settings, #1299 the head split and its own Width, #1305 carried all of it onto the tyre branch. Only then was the claim true.\n\nWHAT WAS MEASURED BEFORE RETIRING, four ways, because the premise decides the card:\n • settable text kinds (SECTION_TEXT_KINDS): both blocks ABSENT — the map holds only TimelineTrack and Footprint, both AUTHORED lists\n • read-only text regions: neither `components/CompatibleTyres` nor `components/TyreCard` stamps one\n • panel rows through resolveFields: this block 31, `RelatedProducts` 42. This block\'s only style-ish key is `_sStyle`, the bucket HEADER, not a control\n • head text (num/title/description) is authored on both, so `_partStyles` reaches it identically\nSo on the CARD runs the two are zero against zero — neither can style them — and everywhere else the new block is ahead. Styling those runs needs a section-level prop family and a paint path for DERIVED text, which no section has yet: a part is anchored by matching an AUTHORED prop\'s string against the DOM, and `lib/document/source-bound-parts` keeps hydrated copy unreachable on purpose so a merchant cannot type into a copy of a product name and lose it at the next sync. That is its own card, and `lib/sections/text-regions` is the read-only half that already ships.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT, the same contract Subscribe, Split and SubscribeBlogs have. Every page holding a `CompatibleTyres` still renders through it, no published document is rewritten, and NO MIGRATION RUNS — the owner\'s standing ruling of 2026-09-05: he redoes live sections himself and deletes the old ones when he does. He also said explicitly not to count them first.\n\n⚠️ AND THIS COMPONENT IS LOAD-BEARING FOR ITS OWN REPLACEMENT: `DynamicRelatedProducts` draws it for EVERY tyre answer. Deleting it would blank the block that replaces it, not just the pages still holding this one.'},Spacer:{label:"Spacer",note:`Lewis, 2026-10-10 (section-merges.md group 19, approved): one Divider holds space and lines. Style = None (was Spacer) / Line / Stripes; the space above and below as number boxes. Retired by card [MERGE] Spacer Into Divider (2026-10-26).
10
10
 
11
11
  WHAT REPLACES IT: a Divider with Style set to None. It draws no line, only its space, and that space is the Divider's Padding row (top and bottom, each with its phone value): the Spacer's 24 / 48 / 96 / 160 px are None with Padding 12 + 12, 24 + 24, 48 + 48, 80 + 80. \`scripts/test-divider-holds-the-spacer.tsx\` §5 holds it.
12
12
 
@@ -14,39 +14,39 @@ WHAT A MERCHANT LOSES on a NEW space: nothing the Spacer had. Four fixed sizes b
14
14
 
15
15
  NO CONVERTER ROW: 0 Spacer nodes on any page, draft or published, in any schema of the local production clone (read-only count, 2026-10-26), and none in the backend's seed files. This entry is its reason in the guard (\`scripts/test-section-to-box.tsx\` §5: a retired type is accounted for).
16
16
 
17
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A Spacer anywhere still renders through it and can still be edited; no document is rewritten.`,KeyFeatures:`Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds Cards and Key Features; Key Features' diamond cells are the card style "Label only". Retired by card [MERGE] One Text Block And Click Through Parts (2026-10-22).
17
+ THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A Spacer anywhere still renders through it and can still be edited; no document is rewritten.`},KeyFeatures:{label:"Key Features",note:`Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds Cards and Key Features; Key Features' diamond cells are the card style "Label only". Retired by card [MERGE] One Text Block And Click Through Parts (2026-10-22).
18
18
 
19
19
  WHAT REPLACES IT: a Cards section with Card style set to Label only. Every cell is a copy of the Label only card template (Cards/card-seed \`labelOnlyCardSeed\`): a cell Box (its link from the row's \`href\`), a 9px Mark Box in the main colour turned 45 degrees, and the label Text; the eyebrow starts on the pill look when none is stored. A cell's words are the card's \`title\` (row "Feature label"), its link the card's \`href\` (row "Link"). The Key Features conversion lands on the same card (\`scripts/test-key-features-diamond.tsx\`).
20
20
 
21
21
  WHAT A MERCHANT LOSES on a NEW Label only section: nothing this section had. It GAINS the Cards head split (its head can move into a box of its own), which Key Features never had: that head draws the shared \`simple\` head, eyebrow ABOVE the heading, where Key Features drew it beside.
22
22
 
23
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT, until the stored nodes move (delete date ${i}). Every page holding a Key Features still renders through it and can still be edited; no document is rewritten and NO MIGRATION RUNS.`,DeliveryOptions:"Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds the five card grids — Cards, Key Features, Document Detail Cards, Recurring Columns and Delivery Options. Card content = Manual / Delivery options; the card's parts are Display chips; one Highlighted card row with its Highlight badge. Retired by card [MERGE] Delivery Options, Detail Cards And Recurring Columns Into Cards (M3, 2026-11-04).\n\nWHAT REPLACES IT: Cards with Card content set to Delivery options, drawn from its card template: the backend's `delivery-options` rows (name, price, time, note), one card each, in the website's own currency. The one Highlighted card row and the Highlight badge replace the per-option Highlight switch.\n\nWHAT A MERCHANT LOSES: more than one highlighted option (Lewis approved ONE Highlighted card row, 2026-10-10). No stored node held two.\n\nNO CONVERTER ROW: 0 DeliveryOptions nodes on the US sites, draft or published (read only, 2026-11-04). This entry is its reason in the guard (`scripts/test-section-to-box.tsx` §5).\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks). A Delivery Options anywhere still renders through it and can still be edited; no document is rewritten.\n\nDELETE DATE 2026-12-18: the retired component in efficient-storefront-blocks (`components/DeliveryOptions`, `DeliveryOptionsSource`, `blocks/commerce/DeliveryOptions`) goes then, in a storefront-blocks follow-up. 0 stored DeliveryOptions nodes on the 34 US pages, draft or published (read only, 2026-11-08), and no converter row is coming.",Series:`Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds the five card grids — Cards, Key Features, Document Detail Cards, Recurring Columns and Delivery Options. Card content = Manual / Delivery options; the card's parts are Display chips; one Highlighted card row with its Highlight badge. Retired by card [MERGE] Delivery Options, Detail Cards And Recurring Columns Into Cards (M3, 2026-11-04).
23
+ THE TYPE KEY STAYS AND SO DOES THE COMPONENT, until the stored nodes move (delete date ${l}). Every page holding a Key Features still renders through it and can still be edited; no document is rewritten and NO MIGRATION RUNS.`},DeliveryOptions:{label:"Delivery Options",note:"Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds the five card grids — Cards, Key Features, Document Detail Cards, Recurring Columns and Delivery Options. Card content = Manual / Delivery options; the card's parts are Display chips; one Highlighted card row with its Highlight badge. Retired by card [MERGE] Delivery Options, Detail Cards And Recurring Columns Into Cards (M3, 2026-11-04).\n\nWHAT REPLACES IT: Cards with Card content set to Delivery options, drawn from its card template: the backend's `delivery-options` rows (name, price, time, note), one card each, in the website's own currency. The one Highlighted card row and the Highlight badge replace the per-option Highlight switch.\n\nWHAT A MERCHANT LOSES: more than one highlighted option (Lewis approved ONE Highlighted card row, 2026-10-10). No stored node held two.\n\nNO CONVERTER ROW: 0 DeliveryOptions nodes on the US sites, draft or published (read only, 2026-11-04). This entry is its reason in the guard (`scripts/test-section-to-box.tsx` §5).\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks). A Delivery Options anywhere still renders through it and can still be edited; no document is rewritten.\n\nDELETE DATE 2026-12-18: the retired component in efficient-storefront-blocks (`components/DeliveryOptions`, `DeliveryOptionsSource`, `blocks/commerce/DeliveryOptions`) goes then, in a storefront-blocks follow-up. 0 stored DeliveryOptions nodes on the 34 US pages, draft or published (read only, 2026-11-08), and no converter row is coming."},Series:{label:"Recurring Columns",note:`Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds the five card grids — Cards, Key Features, Document Detail Cards, Recurring Columns and Delivery Options. Card content = Manual / Delivery options; the card's parts are Display chips; one Highlighted card row with its Highlight badge. Retired by card [MERGE] Delivery Options, Detail Cards And Recurring Columns Into Cards (M3, 2026-11-04).
24
24
 
25
25
  WHAT REPLACES IT: Cards drawn from its card template. A column's number is Number, its "Right Top Text" Corner note, its title Card title, its words Card body, its count and label one Count, and the one \`viewLabel\` a plain Text typed once in the template, so every card shows it; the background is the Box's. The converter row (\`section-to-box-rows-cards.ts\`, OFF) lays down that Cards inside a Box.
26
26
 
27
27
  WHAT A MERCHANT LOSES (the LOOK GAPS in that file): the grid takes the Cards block's own gaps and breakpoints; a short row no longer keeps 4 columns; the count is one plain Text, its figure no longer in the text ink; a card with no count still draws the footer line.
28
28
 
29
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Recurring Columns still renders through it and can still be edited; no document is rewritten.`,DocMetaCards:`Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds the five card grids — Cards, Key Features, Document Detail Cards, Recurring Columns and Delivery Options. Card content = Manual / Delivery options; the card's parts are Display chips; one Highlighted card row with its Highlight badge. Retired by card [MERGE] Delivery Options, Detail Cards And Recurring Columns Into Cards (M3, 2026-11-04).
29
+ THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Recurring Columns still renders through it and can still be edited; no document is rewritten.`},DocMetaCards:{label:"Document Detail Cards",note:`Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds the five card grids — Cards, Key Features, Document Detail Cards, Recurring Columns and Delivery Options. Card content = Manual / Delivery options; the card's parts are Display chips; one Highlighted card row with its Highlight badge. Retired by card [MERGE] Delivery Options, Detail Cards And Recurring Columns Into Cards (M3, 2026-11-04).
30
30
 
31
31
  WHAT REPLACES IT: Cards drawn from its card template, each card a Label, a Value and a Card body. The converter row (\`section-to-box-rows-cards.ts\`, OFF) lays down that Cards inside a Box.
32
32
 
33
33
  WHAT A MERCHANT LOSES (the LOOK GAPS in that file): the grid takes the Cards block's own gaps and breakpoints, not the old 40 (16 on a phone).
34
34
 
35
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Document Detail Cards still renders through it and can still be edited; no document is rewritten.`,StatsParagraph:`Lewis, 2026-10-10 (approved): one Stats holds Stats and Stats with Text. Its head (eyebrow, heading, body) and each number's Prefix, Unit, Superscript, Label, "Use accent color" and text go into Stats; Card style Table (the old Stats with Text) or List (the old Stats). 2026-10-27: no Number block, the cards are Box + Text. Retired when the two became one Stats (2026-11-06).
35
+ THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Document Detail Cards still renders through it and can still be edited; no document is rewritten.`},StatsParagraph:{label:"Stats with Text",note:`Lewis, 2026-10-10 (approved): one Stats holds Stats and Stats with Text. Its head (eyebrow, heading, body) and each number's Prefix, Unit, Superscript, Label, "Use accent color" and text go into Stats; Card style Table (the old Stats with Text) or List (the old Stats). 2026-10-27: no Number block, the cards are Box + Text. Retired when the two became one Stats (2026-11-06).
36
36
 
37
37
  WHAT REPLACES IT: a Stats press, a Box of real parts: three head Texts, then a Stats Box holding ONE Card list, Card style Table. Each number is a row of the Card list; its card is a figure Text (the prefix and number typed in it, the unit marked \`==_yr_==\`, which draws the section theme's Main colour; a whole number in that colour is \`==_8_==\`), a superscript Text beside it, a label Text and a body Text, each showing its row's field, and a row may link its own live number. The Stats Box's Card style row (Table / List) writes the Box's Gap and the card's own Border, Padding and Height.
38
38
 
39
39
  WHAT A MERCHANT LOSES: the numbers do not count up (the Text block's Count up numbers setting is its own change, held); the figure has no tabular numbers; a unit is not a lighter weight than its number; rows of four stack below 800px, not two columns from 1100px.
40
40
 
41
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Stats with Text still renders through it and can still be edited; no document is rewritten (owner 2026-11-06: old sites stay as they are).`,Testimonials:"Lewis, 2026-10-10 (section-merges.md group 6, approved): Testimonials goes into Reviews, whose Review content is Manual (typed quotes) or Reviews (the store's approved reviews), with a product choice in place of the old Design code. Retired by card [MERGE] Remaining Section Merges (2026-11-06), after Reviews took typed quotes and a card template (efficient-storefront-blocks #242) and the product choice (#359).\n\nWHAT REPLACES IT: Reviews with Review content set to Manual. Every Testimonials key has the same key there: `eyebrow`, `eyebrowLook`, `title`, `items[]` (`quote`, `name`, `role`), `columns` 1-3 and `headPlacement` (both split their head). A typed review also has a `title` and a `rating`, empty for a quote that has none.\n\nWHAT A MERCHANT LOSES on a NEW quote list: nothing this section had. Reviews is in the service set where this section was general; no host narrows the sets (2026-11-06).\n\nNO CONVERTER ROW HERE: its Box row is efficient-storefront-blocks' (`section-to-box-rows-reviews`, OFF). 0 Testimonials nodes on the US sites, draft or published (read only, 2026-11-06). Old sites stay as they are (owner, 2026-11-06).\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. A Testimonials anywhere still renders through it and can still be edited; no document is rewritten.",SubscribeBlogs:"card 66396 — folded into `Subscribe`, which now chooses its rail's content with a `Type` control (the newsletter's own issues, or live blog posts). The two shared 21 of their fields and rendered THE SAME BYTES from equivalent rows, so offering both asked a merchant to choose between two names for one section. The type key stays because it is stored on published pages, and the component stays because those pages still render through it.",RelatedProducts:`Owner, 2026-11-06 (plan productgrid-card-template-2026-11-06, inovit row 19): a Product Grid with "Show the current product's related" on IS the related grid, so offering both asked a merchant to choose between two names for one section.
41
+ THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Stats with Text still renders through it and can still be edited; no document is rewritten (owner 2026-11-06: old sites stay as they are).`},Testimonials:{label:"Testimonials",note:"Lewis, 2026-10-10 (section-merges.md group 6, approved): Testimonials goes into Reviews, whose Review content is Manual (typed quotes) or Reviews (the store's approved reviews), with a product choice in place of the old Design code. Retired by card [MERGE] Remaining Section Merges (2026-11-06), after Reviews took typed quotes and a card template (efficient-storefront-blocks #242) and the product choice (#359).\n\nWHAT REPLACES IT: Reviews with Review content set to Manual. Every Testimonials key has the same key there: `eyebrow`, `eyebrowLook`, `title`, `items[]` (`quote`, `name`, `role`), `columns` 1-3 and `headPlacement` (both split their head). A typed review also has a `title` and a `rating`, empty for a quote that has none.\n\nWHAT A MERCHANT LOSES on a NEW quote list: nothing this section had. Reviews is in the service set where this section was general; no host narrows the sets (2026-11-06).\n\nNO CONVERTER ROW HERE: its Box row is efficient-storefront-blocks' (`section-to-box-rows-reviews`, OFF). 0 Testimonials nodes on the US sites, draft or published (read only, 2026-11-06). Old sites stay as they are (owner, 2026-11-06).\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. A Testimonials anywhere still renders through it and can still be edited; no document is rewritten."},SubscribeBlogs:{label:"Subscribe with Posts",note:"card 66396 — folded into `Subscribe`, which now chooses its rail's content with a `Type` control (the newsletter's own issues, or live blog posts). The two shared 21 of their fields and rendered THE SAME BYTES from equivalent rows, so offering both asked a merchant to choose between two names for one section. The type key stays because it is stored on published pages, and the component stays because those pages still render through it."},RelatedProducts:{label:"Related Products",note:`Owner, 2026-11-06 (plan productgrid-card-template-2026-11-06, inovit row 19): a Product Grid with "Show the current product's related" on IS the related grid, so offering both asked a merchant to choose between two names for one section.
42
42
 
43
43
  WHAT REPLACES IT: Product Grid, bound to the current product. Both draw every card through the grid's ONE card template (efficient-storefront-blocks, lib/content/product-card-seed).
44
44
 
45
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A stored Related Products node is read as that grid by the host (\`relatedToGrid\`) and draws the same cards; no document is rewritten. Its footnote is the one value the grid has no home for.`,BundleOffer:`Plan section-parts bundles grid source (2026-11-07): a Product Grid that shows "Bundles with this product" IS the bundle section, so offering both asked a merchant to choose between two names for one section.
45
+ THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A stored Related Products node is read as that grid by the host (\`relatedToGrid\`) and draws the same cards; no document is rewritten. Its footnote is the one value the grid has no home for.`},BundleOffer:{label:"Bundle Products",note:`Plan section-parts bundles grid source (2026-11-07): a Product Grid that shows "Bundles with this product" IS the bundle section, so offering both asked a merchant to choose between two names for one section.
46
46
 
47
47
  WHAT REPLACES IT: Product Grid, bound to the current product, Show set to its bundles. Both draw every kit through the grid's ONE card template (efficient-storefront-blocks, lib/content/product-card-seed).
48
48
 
49
- THE TYPE KEY STAYS AND SO DOES THE DRAWING. A stored Bundle Products node is read as that grid by the host (\`bundleToGrid\`) and draws its kits; no document is rewritten.`,TyreFitment:`Owner, 2026-10-10 (approved): the Tyre Fitment Form goes into the Fitment Form, whose answer follows the page. One vehicle section, not two.
49
+ THE TYPE KEY STAYS AND SO DOES THE DRAWING. A stored Bundle Products node is read as that grid by the host (\`bundleToGrid\`) and draws its kits; no document is rewritten.`},TyreFitment:{label:"Tyre Fitment Form",note:`Owner, 2026-10-10 (approved): the Tyre Fitment Form goes into the Fitment Form, whose answer follows the page. One vehicle section, not two.
50
50
 
51
51
  WHAT REPLACES IT: the Fitment Form, a Box of a head, the vehicle picker (\`FitmentPicker\`), its answer (\`StockFitment\`) and a Button. On a tyre product page the answer part draws one verdict per size against the picked car, the same \`TyreFitVerdicts\` drawing this section made; on every other page it draws the car's OEM fitment card (efficient-storefront-blocks 0.87.0). The old escape link is the Box's Button.
52
52
 
@@ -54,4 +54,4 @@ WHAT A MERCHANT LOSES: the tyre-only head copy ("Will it fit your car?"); a pres
54
54
 
55
55
  NO CONVERTER ROW: 0 TyreFitment nodes on the US sites, draft or published (read only, 2026-11-07). Old sites stay as they are (owner, 2026-11-06).
56
56
 
57
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks). A stored Tyre Fitment Form still renders through it and can still be edited, its head split, width, heading level, settings groups and cover included; no document is rewritten.`,PaymentBadges:"Owner, 2026-10-10: Logos and Payment Methods are one block, and a payment wall is a Logos block with the payment chip for its look. 2026-11-07: the dot before each line is a Mark Box at full strength (approved).\n\nWHAT REPLACES IT: the Logos row (Layouts group), Logo style Cards. Field by field, as its converter row (`section-to-box-rows-logos`) moves it: `heading` is a Text block; each of `badges` is a Logo block in the wall, its name the Logo's name and its `src` the Logo's picture; `dataSource` is the wall's own Logo content row (\"Ways to pay here\" or \"Ways to pay at checkout\", served by the backend to Logos too), and the wall draws ONE Logo card template per served method, the same chip; `assurances` are a Reassurance Box of lines, each a Mark Box (an empty Box, 4 x 4, Corners 2, Fill main) before a Text; `contained` is the Box's site frame. A press of this type lays down that Box (SECTION_TO_BOX_PRESS).\n\nWHAT A MERCHANT LOSES: the 60% and 70% opacity of the old dot and words (a Box and a Text have no opacity: the dot is the main colour, the words the label ink) and the 4px gap between wrapped lines (a Box has one Gap). No field is lost.\n\n4 Payment Methods nodes are stored on the US sites, all on template pages, draft only, all fed by a source; 0 on pages (read only, 2026-11-07). Old sites stay as they are (owner, 2026-11-06); moving a page is a separate write.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. A stored Payment Methods node still renders through it, its dot included, and can still be edited; no document is rewritten."},m=["Grid","Spacer","TyreFitment"],y=Array.from(new Set([...o.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(l)])),g=Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.label]))),d={Heading:"general",Text:"general",Eyebrow:"general",ImageBlock:"general",LogoBlock:"general",LocationMap:"general",Contents:"general",ListSearch:"general",ButtonBlock:"general",CardList:"general",PostCard:"general",HeroSlide:"general",HeroGroup:"general",Integrations:"general",Grid:"general",KeyFeatures:"general",Spacer:"general",Series:"general",DocMetaCards:"general",StatsParagraph:"general",Testimonials:"general",Masthead:"general",CollectionCard:"commerce",GalleryItem:"commerce",ProductRef:"commerce",CompatibleTyres:"commerce",DeliveryOptions:"commerce",Header:"commerce",SearchBlock:"commerce",CartBlock:"commerce",CountrySwitchBlock:"commerce",AccountBlock:"commerce",ThemeSwitchBlock:"commerce",ProductGallery:"commerce",EuTyreLabelBlock:"commerce",SubmitBox:"service",BookingBox:"service",SubscribeBlogs:"service",RatingBlock:"service",Footer:"service",FooterLogo:"service",FooterMenu:"service",FooterDivider:"service",FooterGroup:"service",FooterText:"service",FooterEmailSignup:"service",FooterSocial:"service",FooterPayment:"service",MenuBlock:"service",MenuLinkBlock:"service",ProductPrice:"commerce",ProductSize:"commerce",ProductColour:"commerce",ProductPicture:"commerce",ProductEyebrow:"commerce",ProductName:"commerce",ProductSpecs:"commerce",ProductBuy:"commerce",FitmentPicker:"commerce",StockFitment:"commerce",RelatedProducts:"commerce",BundleOffer:"commerce",TyreFitment:"commerce",PaymentBadges:"general",EmailFormBlock:"service",SocialLogosBlock:"service",PaymentLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},r={...d,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.set])))};function b(e){return Object.prototype.hasOwnProperty.call(r,e)?r[e]:void 0}function a(e){return Object.keys(r).filter(t=>r[t]===e).sort()}const T=a("general"),E=a("commerce"),w=a("service"),c="Flex",s="Box",S=`${s}es`;function h(e){return e==="section"?"Blank section":s}function O(e,t,n){return e===c?h(t):n}export{y as ALL_SECTION_TYPES,p as BLOCK_SETS,s as BOX_LABEL,S as BOX_LABEL_PLURAL,E as COMMERCE_BLOCKS,T as GENERAL_BLOCKS,i as KEY_FEATURES_DELETE_BY,c as LEVEL_NAMED_TYPE,m as RETIRED_NESTABLE_SECTIONS,l as RETIRED_SECTIONS,o as SECTION_CATALOG,g as SECTION_LABELS,w as SERVICE_BLOCKS,d as UNLISTED_BLOCK_SETS,b as blockSetOf,a as blocksInSet,u as buildBlockCategories,O as labelAtLevel,h as labelForFlex};
57
+ THE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks). A stored Tyre Fitment Form still renders through it and can still be edited, its head split, width, heading level, settings groups and cover included; no document is rewritten.`},PaymentBadges:{label:"Payment Methods",note:"Owner, 2026-10-10: Logos and Payment Methods are one block, and a payment wall is a Logos block with the payment chip for its look. 2026-11-07: the dot before each line is a Mark Box at full strength (approved).\n\nWHAT REPLACES IT: the Logos row (Layouts group), Logo style Cards. Field by field, as its converter row (`section-to-box-rows-logos`) moves it: `heading` is a Text block; each of `badges` is a Logo block in the wall, its name the Logo's name and its `src` the Logo's picture; `dataSource` is the wall's own Logo content row (\"Ways to pay here\" or \"Ways to pay at checkout\", served by the backend to Logos too), and the wall draws ONE Logo card template per served method, the same chip; `assurances` are a Reassurance Box of lines, each a Mark Box (an empty Box, 4 x 4, Corners 2, Fill main) before a Text; `contained` is the Box's site frame. A press of this type lays down that Box (SECTION_TO_BOX_PRESS).\n\nWHAT A MERCHANT LOSES: the 60% and 70% opacity of the old dot and words (a Box and a Text have no opacity: the dot is the main colour, the words the label ink) and the 4px gap between wrapped lines (a Box has one Gap). No field is lost.\n\n4 Payment Methods nodes are stored on the US sites, all on template pages, draft only, all fed by a source; 0 on pages (read only, 2026-11-07). Old sites stay as they are (owner, 2026-11-06); moving a page is a separate write.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. A stored Payment Methods node still renders through it, its dot included, and can still be edited; no document is rewritten."},Gallery:{label:"Tabbed Gallery",note:'Owner, 2026-10-10 (approved): the Tabbed Gallery goes into the Customer Photo Grid, and the one that is left is called Gallery; its vehicle / wheel / others halves become a Tabs list, and its wall becomes one of the photo layouts. Retired from the Add menu with no preset row and no migration.\n\nWHAT REPLACES IT, field by field: the Gallery (`GalleryB`). `mode` both = a Box in Tabs mode with one Gallery per panel; one mode = one Gallery, no Tabs Box. `vehicleTabLabel` / `wheelTabLabel` = the Box\'s panel names, Tab shape "Large tabs" (this strip is the Tabbed Gallery\'s own, class for class); `showTabs` off = the Box Stacked. `source` (one product, or All products and a `category`) = each Gallery\'s `dataSource: "product-pictures"`, with `product`, `designCode`, `mediaZone` (lifestyle = the vehicle half, photos = the wheel half, others) and `category`; it reads live on every view, nothing is baked. `kicker`, the titles, `*Body1` / `*Body2` = Text blocks in the panel\'s Box (Heading N, Body N); `showIntro` off = the Layers eye. `*Stats` = a Stats block; `breadcrumbLabel` = a Breadcrumb block; `showFilters`, `showCount`, `showSort` = a Filter chips block over the Gallery (`showCount`, `showSort`). A card\'s `image`, `photos`, `href`, `name`, `meta`, `process` (the Tag) and `eyebrow` (the caption line over the title) = a Gallery Item\'s, or the served row\'s. The wall (two half, then thirds, 4:3, one across on a phone) = layout "Two, then threes" (`twoThenThreesPhoto`), the default for product pictures. Words at rest, the tile number, the hover zoom and the lightbox\'s "View product" are the Gallery card\'s. `previewTab` = the Box Tabs pane switch; `previewHover` = the Gallery\'s own. `anchor`, `sectionAccent` and `_partStyles` are the same injected keys on the Box and the Gallery.\n\nWHAT A MERCHANT LOSES: the per-tab note under each tab ("N items · Community photos" / "Featured photos", desktop only): Large tabs draws the letter and the name only. Accepted only because nothing stored moves now. ⛔ A "Tab note" Box setting MUST exist before the /gallery move: a moved page with no home for it loses a line the shopper sees. Also lost: the empty line ("No items in this gallery yet." / "No items match this filter."); an empty Gallery draws nothing, and the chips come from the tiles, so "no match" cannot happen.\n\nNO CONVERTER ROW: no stored node is rewritten and SECTION_TO_BOX_ON stays without it (owner, 2026-11-06: old sites stay as they are). 2 Tabbed Gallery nodes are stored on the US sites, both top level, draft equal to published (read only, 2026-11-08): `Gallery-f1eb706a` (inovit.com /gallery: mode both, every show flag on, All products, 10 + 10 cards, 20 of 20 with a caption, 3 + 3 stats) and `Gallery-ce49eb98` (hartesmetal.com /gallery: mode vehicles, count and stats on, All products, 49 cards, 0 with a caption, 2 stats).\n\nTHE MOVE RECIPE, for the day the owner orders the /gallery move (a live write, his word): a Box in Tabs mode (inovit) or one Gallery (hartes); each Gallery `dataSource: "product-pictures"`, `mediaZone` lifestyle / photos, and `displayPhone: {tag:true}` (a new Gallery stores `{tag:false}`, and the Tabbed Gallery drew its Tag at every width). The captions: the stored ones are frozen copies that live only in the page; a product-pictures row serves its media group\'s `vehicle` as `eyebrow`, and that is empty on every group today (the editor\'s product binding clears `eyebrow` and reads only `vehicle`). So carry them as typed Gallery Items with the stored `eyebrow` copies, OR fill each media group\'s `vehicle` first (a data write). It needs efficient-storefront-blocks 0.91.0 (the photo layout default and the stored cards kept on open) and the backend\'s product-pictures source (106.0.0).\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks GalleryShowcase). A stored Tabbed Gallery still renders through it and can still be edited, its source row, cover, width, heading level and settings groups included; in Layers it keeps its block\'s own label, "Tabbed Gallery". Delete the component only when the last stored `Gallery` node is gone.'}},d=Object.fromEntries(Object.entries(s).map(([e,t])=>[e,t.note])),b=["Grid","Spacer","TyreFitment"],g=Array.from(new Set([...o.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(d)])),c=Object.fromEntries(Object.entries(s).map(([e,t])=>[e,t.label])),w={...c,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.label])))},h={Heading:"general",Text:"general",Eyebrow:"general",ImageBlock:"general",LogoBlock:"general",LocationMap:"general",Contents:"general",ListSearch:"general",ButtonBlock:"general",CardList:"general",PostCard:"general",HeroSlide:"general",HeroGroup:"general",Integrations:"general",Grid:"general",KeyFeatures:"general",Spacer:"general",Series:"general",DocMetaCards:"general",StatsParagraph:"general",Testimonials:"general",Masthead:"general",CollectionCard:"commerce",GalleryItem:"commerce",ProductRef:"commerce",CompatibleTyres:"commerce",DeliveryOptions:"commerce",Header:"commerce",SearchBlock:"commerce",CartBlock:"commerce",CountrySwitchBlock:"commerce",AccountBlock:"commerce",ThemeSwitchBlock:"commerce",ProductGallery:"commerce",EuTyreLabelBlock:"commerce",SubmitBox:"service",BookingBox:"service",SubscribeBlogs:"service",RatingBlock:"service",Footer:"service",FooterLogo:"service",FooterMenu:"service",FooterDivider:"service",FooterGroup:"service",FooterText:"service",FooterEmailSignup:"service",FooterSocial:"service",FooterPayment:"service",MenuBlock:"service",MenuLinkBlock:"service",ProductPrice:"commerce",ProductSize:"commerce",ProductColour:"commerce",ProductPicture:"commerce",ProductEyebrow:"commerce",ProductName:"commerce",ProductSpecs:"commerce",ProductBuy:"commerce",FitmentPicker:"commerce",StockFitment:"commerce",RelatedProducts:"commerce",BundleOffer:"commerce",TyreFitment:"commerce",PaymentBadges:"general",Gallery:"commerce",EmailFormBlock:"service",SocialLogosBlock:"service",PaymentLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},a={...h,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.set])))};function T(e){return Object.prototype.hasOwnProperty.call(a,e)?a[e]:void 0}function r(e){return Object.keys(a).filter(t=>a[t]===e).sort()}const E=r("general"),S=r("commerce"),f=r("service"),p="Flex",n="Box",O=`${n}es`;function u(e){return e==="section"?"Blank section":n}function v(e,t,i){return e===p?u(t):i}export{g as ALL_SECTION_TYPES,m as BLOCK_SETS,n as BOX_LABEL,O as BOX_LABEL_PLURAL,S as COMMERCE_BLOCKS,E as GENERAL_BLOCKS,l as KEY_FEATURES_DELETE_BY,p as LEVEL_NAMED_TYPE,b as RETIRED_NESTABLE_SECTIONS,d as RETIRED_SECTIONS,c as RETIRED_SECTION_LABELS,o as SECTION_CATALOG,w as SECTION_LABELS,f as SERVICE_BLOCKS,h as UNLISTED_BLOCK_SETS,T as blockSetOf,r as blocksInSet,y as buildBlockCategories,v as labelAtLevel,u as labelForFlex};
@@ -1 +1 @@
1
- const e={Hero:"Full-screen opener with rotating slides.",HeroSingle:"Full-screen image or video with a headline.",IntroBleed:"Full-bleed intro image the next section scrolls over.",Collections:"Product collections in a tidy grid.",AlloyWheelsListing:"A full product-listing page: filter rail, sortable card grid and pagination, from the live catalog. Choose which product types it shows.",CatalogFilterBar:"Filters the collection grids below it — a sticky row of Pills (the default), or Columns, one per filter you switch on.",ProductGrid:"Hand-picked products in a tidy grid.",FitmentFinder:"A vehicle picker — make, model, year and trim resolve the OEM stock fitment live.",Gallery:"Two image galleries with tabs and filters.",GalleryB:"Customer photos in a card grid with a click-to-open lightbox.",SpecStrip:"A thin one-line spec strip — small-caps items spread across the width, as a dark band or a bare hairline row.",ProductHero:"A product hero — image beside price, bullets and a buy button.",SpecTable:"A spec sheet — labeled rows of product specifications.",ProcessSteps:"A heading over columns, or alternating rows, of image, title, blurb and specs.",DetailRows:"Repeating full-width rows — eyebrow, title and copy beside a numbered close-up image, alternating sides each row.",FitmentTable:"A fitment table — per-size bolt patterns, offsets and load ratings, filterable by diameter.",CompatibleTyres:"The current product's compatible tyres — image, size, key specs and price per tyre, with an inquiry link. Display only.",RelatedProducts:"The current product's related items in a tidy row — the product page's built-in 'Pair with' cross-sell.",OrderSummary:"A display order-summary panel — items, totals and a note.",DeliveryOptions:"Delivery tiers as cards — name, window and price, one highlighted.",PaymentBadges:"A payment-methods trust strip with reassurance lines.",CheckoutCTA:"A centered 'ready to order?' headline with the checkout button.",Manifesto:"A bold brand statement beside a full-height image, with a stat strip.",ParagraphsA:"An editorial text panel with a stat strip and founders' note.",StatsParagraph:"An editorial heading and paragraph over a row of stat cards whose units and small labels take the main color.",Chart:"A titled chart — bars, line or donut — drawn from your own labeled data points.",Mockup:"A headline beside a stylized product-UI mockup card — spec sheet, fitment, portal, kanban and more.",Prose:"A plain editorial text section — eyebrow, heading and body copy.",Timeline:"An editorial aside beside a rail-marked timeline of dated entries.",TimelineTrack:"A horizontal year track of milestones — company history or roadmap.",Footprint:"A world map of your locations with a legend — designed here, sold worldwide.",TitleWithButtons:"A big headline beside a stack of call-to-action buttons.",Split:"Side-by-side image and text in two columns.",Cards:"A heading over a grid of free-text title-and-blurb cards.",FAQ:"A frequently-asked-questions accordion with a header.",Testimonials:"Customer quotes in a grid — the quote, a name and a role.",Masthead:"A journal issue header with a lead statement and contents.",Breadcrumb:"A slim trail showing where the reader is (Home / Journal…).",CategoryBar:"A sticky row of category tabs with counts and links.",FeaturedCover:"A featured article — big cover image beside a headline and dek.",LongRead:"A long-form article spread with a pull-quote and cover image.",Series:"A section heading over a grid of column cards.",Subscribe:"A newsletter signup beside a list of recent issues.",SubscribeBlogs:"A newsletter signup beside your latest blog posts, pulled live.",Events:"Latest journal posts in a three-card row.",DocMasthead:"A page header: eyebrow, title, details and a deck.",DocTabs:"A sticky tab bar to switch between documents.",DocBody:"Long-form document body with an 'On this page' contents list.",DocMetaCards:"A three-up meta strip for the foot of a document.",Banner:"Wide promo strip with background image.",Stats:"Highlight key numbers — years, designs.",Countdown:"Hours, minutes and seconds to a set date and time, then one line.",KeyFeatures:"A theme-color chip and heading over a grid of short feature labels.",Logos:"A row of partner or brand logos.",Ticker:"A scrolling marquee of short phrases, full width.",Reviews:"Approved customer reviews in a star-rated card grid, pulled live.",SubmitBuild:"A 'Show us yours.' headline with a photo-submission form.",ReviewForm:"A write-a-review form — submissions wait for your approval before they show.",ContactRouting:"Pick who to reach, then a form that routes the message.",ContactLocations:"Your locations as a city gallery plus address and map cards.",SectionHeader:"A numbered section title with optional link.",Grid:"Multi-column container for blocks.",Flex:"An empty section. Add whatever you want inside.",Spacer:"Vertical breathing room between sections.",Divider:"A thin horizontal rule between sections.",CustomHTML:"Drop in your own sanitized HTML.",Heading:"A single heading line.",Text:"A paragraph of body copy.",ImageBlock:"A standalone image, at the width you set.",ButtonBlock:"A call-to-action button."};export{e as SECTION_DESCRIPTIONS};
1
+ const e={Hero:"Full-screen opener with rotating slides.",HeroSingle:"Full-screen image or video with a headline.",IntroBleed:"Full-bleed intro image the next section scrolls over.",Collections:"Product collections in a tidy grid.",AlloyWheelsListing:"A full product-listing page: filter rail, sortable card grid and pagination, from the live catalog. Choose which product types it shows.",CatalogFilterBar:"Filters the collection grids below it — a sticky row of Pills (the default), or Columns, one per filter you switch on.",ProductGrid:"Hand-picked products in a tidy grid.",FitmentFinder:"A vehicle picker — make, model, year and trim resolve the OEM stock fitment live.",Gallery:"Two image galleries with tabs and filters.",GalleryB:"A wall of your photos or your products' pictures, with a click-to-open lightbox.",SpecStrip:"A thin one-line spec strip — small-caps items spread across the width, as a dark band or a bare hairline row.",ProductHero:"A product hero — image beside price, bullets and a buy button.",SpecTable:"A spec sheet — labeled rows of product specifications.",ProcessSteps:"A heading over columns, or alternating rows, of image, title, blurb and specs.",DetailRows:"Repeating full-width rows — eyebrow, title and copy beside a numbered close-up image, alternating sides each row.",FitmentTable:"A fitment table — per-size bolt patterns, offsets and load ratings, filterable by diameter.",CompatibleTyres:"The current product's compatible tyres — image, size, key specs and price per tyre, with an inquiry link. Display only.",RelatedProducts:"The current product's related items in a tidy row — the product page's built-in 'Pair with' cross-sell.",OrderSummary:"A display order-summary panel — items, totals and a note.",DeliveryOptions:"Delivery tiers as cards — name, window and price, one highlighted.",PaymentBadges:"A payment-methods trust strip with reassurance lines.",CheckoutCTA:"A centered 'ready to order?' headline with the checkout button.",Manifesto:"A bold brand statement beside a full-height image, with a stat strip.",ParagraphsA:"An editorial text panel with a stat strip and founders' note.",StatsParagraph:"An editorial heading and paragraph over a row of stat cards whose units and small labels take the main color.",Chart:"A titled chart — bars, line or donut — drawn from your own labeled data points.",Mockup:"A headline beside a stylized product-UI mockup card — spec sheet, fitment, portal, kanban and more.",Prose:"A plain editorial text section — eyebrow, heading and body copy.",Timeline:"An editorial aside beside a rail-marked timeline of dated entries.",TimelineTrack:"A horizontal year track of milestones — company history or roadmap.",Footprint:"A world map of your locations with a legend — designed here, sold worldwide.",TitleWithButtons:"A big headline beside a stack of call-to-action buttons.",Split:"Side-by-side image and text in two columns.",Cards:"A heading over a grid of free-text title-and-blurb cards.",FAQ:"A frequently-asked-questions accordion with a header.",Testimonials:"Customer quotes in a grid — the quote, a name and a role.",Masthead:"A journal issue header with a lead statement and contents.",Breadcrumb:"A slim trail showing where the reader is (Home / Journal…).",CategoryBar:"A sticky row of category tabs with counts and links.",FeaturedCover:"A featured article — big cover image beside a headline and dek.",LongRead:"A long-form article spread with a pull-quote and cover image.",Series:"A section heading over a grid of column cards.",Subscribe:"A newsletter signup beside a list of recent issues.",SubscribeBlogs:"A newsletter signup beside your latest blog posts, pulled live.",Events:"Latest journal posts in a three-card row.",DocMasthead:"A page header: eyebrow, title, details and a deck.",DocTabs:"A sticky tab bar to switch between documents.",DocBody:"Long-form document body with an 'On this page' contents list.",DocMetaCards:"A three-up meta strip for the foot of a document.",Banner:"Wide promo strip with background image.",Stats:"Highlight key numbers — years, designs.",Countdown:"Hours, minutes and seconds to a set date and time, then one line.",KeyFeatures:"A theme-color chip and heading over a grid of short feature labels.",Logos:"A row of partner or brand logos.",Ticker:"A scrolling marquee of short phrases, full width.",Reviews:"Approved customer reviews in a star-rated card grid, pulled live.",SubmitBuild:"A 'Show us yours.' headline with a photo-submission form.",ReviewForm:"A write-a-review form — submissions wait for your approval before they show.",ContactRouting:"Pick who to reach, then a form that routes the message.",ContactLocations:"Your locations as a city gallery plus address and map cards.",SectionHeader:"A numbered section title with optional link.",Grid:"Multi-column container for blocks.",Flex:"An empty section. Add whatever you want inside.",Spacer:"Vertical breathing room between sections.",Divider:"A thin horizontal rule between sections.",CustomHTML:"Drop in your own sanitized HTML.",Heading:"A single heading line.",Text:"A paragraph of body copy.",ImageBlock:"A standalone image, at the width you set.",ButtonBlock:"A call-to-action button."};export{e as SECTION_DESCRIPTIONS};
@@ -0,0 +1,2 @@
1
+ export declare function shapeOf(value: unknown): unknown;
2
+ export declare const shapeKeyOf: (value: unknown) => string;
@@ -0,0 +1 @@
1
+ function i(r){return Array.isArray(r)?r.map(i):!r||typeof r!="object"?r:Object.fromEntries(Object.entries(r).filter(([e,t])=>e!=="id"&&t!==void 0&&!(Array.isArray(t)&&t.length===0)).sort(([e],[t])=>e<t?-1:e>t?1:0).map(([e,t])=>[e,i(t)]))}const n=r=>JSON.stringify(i(r));export{n as shapeKeyOf,i as shapeOf};