efficient-web-builder 57.0.0 → 58.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 (194) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist/editor/components/SectionIcon.js +1 -1
  3. package/dist/editor/components/WebsiteScreenParts.js +1 -1
  4. package/dist/editor/components/storefront-editor.css +30 -0
  5. package/dist/editor/lib/animation/hover-fields.js +1 -1
  6. package/dist/editor/lib/document/blocks/general/Contents/fields.js +1 -1
  7. package/dist/editor/lib/document/blocks/general/Divider/fields.js +1 -1
  8. package/dist/editor/lib/document/blocks/general/FAQ/fields.js +1 -1
  9. package/dist/editor/lib/document/blocks/general/Flex/fields.js +1 -1
  10. package/dist/editor/lib/document/blocks/general/ListSearch/fields.d.ts +2 -0
  11. package/dist/editor/lib/document/blocks/general/ListSearch/fields.js +1 -0
  12. package/dist/editor/lib/document/blocks/general/index.d.ts +2 -2
  13. package/dist/editor/lib/document/blocks/general/index.js +1 -1
  14. package/dist/editor/lib/document/box-fields.d.ts +1 -0
  15. package/dist/editor/lib/document/box-fields.js +1 -1
  16. package/dist/editor/lib/document/card-display-chips.d.ts +7 -5
  17. package/dist/editor/lib/document/card-display-chips.js +1 -1
  18. package/dist/editor/lib/document/controls.d.ts +6 -0
  19. package/dist/editor/lib/document/controls.js +1 -1
  20. package/dist/editor/lib/document/panel-drop-empty-headings.js +1 -1
  21. package/dist/editor/lib/sections/text-layouts.js +1 -1
  22. package/dist/format/lib/animation/hover.js +1 -1
  23. package/dist/format/lib/content/accordion-row-style.d.ts +10 -0
  24. package/dist/format/lib/content/accordion-row-style.js +1 -0
  25. package/dist/format/lib/content/box-angle.d.ts +9 -0
  26. package/dist/format/lib/content/box-angle.js +1 -0
  27. package/dist/format/lib/content/box-background.d.ts +3 -0
  28. package/dist/format/lib/content/box-background.js +1 -1
  29. package/dist/format/lib/content/box-layout.d.ts +3 -0
  30. package/dist/format/lib/content/box-layout.js +1 -1
  31. package/dist/format/lib/content/card-place.d.ts +4 -0
  32. package/dist/format/lib/content/card-place.js +1 -1
  33. package/dist/format/lib/content/card-template.d.ts +3 -0
  34. package/dist/format/lib/content/card-template.js +1 -1
  35. package/dist/format/lib/content/copies-in-box.d.ts +2 -0
  36. package/dist/format/lib/content/copies-in-box.js +1 -0
  37. package/dist/format/lib/content/list-query.d.ts +7 -0
  38. package/dist/format/lib/content/list-query.js +1 -0
  39. package/dist/format/lib/content/part-display.js +1 -1
  40. package/dist/format/lib/content/view-hide-class.d.ts +11 -0
  41. package/dist/format/lib/content/view-hide-class.js +1 -0
  42. package/dist/format/lib/document/blocks/general/FAQ/card-seed.d.ts +7 -0
  43. package/dist/format/lib/document/blocks/general/FAQ/card-seed.js +1 -0
  44. package/dist/format/lib/document/blocks/general/FAQ/meta.d.ts +6 -0
  45. package/dist/format/lib/document/blocks/general/FAQ/meta.js +1 -1
  46. package/dist/format/lib/document/blocks/general/ListSearch/meta.d.ts +6 -0
  47. package/dist/format/lib/document/blocks/general/ListSearch/meta.js +1 -0
  48. package/dist/format/lib/document/blocks/general/PaymentBadges/meta.d.ts +6 -0
  49. package/dist/format/lib/document/blocks/general/PaymentBadges/meta.js +1 -1
  50. package/dist/format/lib/document/blocks/general/metas.d.ts +1 -0
  51. package/dist/format/lib/document/blocks/general/metas.js +1 -1
  52. package/dist/format/lib/document/blocks/general/text-part-shapes.json +18 -0
  53. package/dist/format/lib/document/box-footer.js +1 -1
  54. package/dist/format/lib/document/container-blocks.js +1 -1
  55. package/dist/format/lib/document/general-order.d.ts +1 -1
  56. package/dist/format/lib/document/general-order.js +1 -1
  57. package/dist/format/lib/document/list-search-scopes.d.ts +4 -0
  58. package/dist/format/lib/document/list-search-scopes.js +1 -0
  59. package/dist/format/lib/document/part-inks.d.ts +2 -1
  60. package/dist/format/lib/document/part-inks.js +1 -1
  61. package/dist/format/lib/document/section-catalog.d.ts +1 -1
  62. package/dist/format/lib/document/section-catalog.js +10 -2
  63. package/dist/format/lib/editor-words-catalogue.d.ts +7 -0
  64. package/dist/format/lib/editor-words-catalogue.js +4 -4
  65. package/dist/format/lib/editor-words-kept.js +1 -1
  66. package/dist/format/lib/sections/hero-single-to-hero.js +1 -1
  67. package/dist/render/components/BoxAccordionRow.d.ts +3 -1
  68. package/dist/render/components/BoxAccordionRow.js +1 -1
  69. package/dist/render/components/BoxTabPaneContext.d.ts +5 -0
  70. package/dist/render/components/BoxTabPaneContext.js +1 -1
  71. package/dist/render/components/CardRowContext.d.ts +3 -1
  72. package/dist/render/components/CardRowContext.js +1 -1
  73. package/dist/render/components/Cards.js +1 -1
  74. package/dist/render/components/CategoryBar.d.ts +1 -1
  75. package/dist/render/components/CategoryBar.js +1 -1
  76. package/dist/render/components/ChartSection.js +1 -1
  77. package/dist/render/components/ContactLocations.js +2 -2
  78. package/dist/render/components/ContentsList.d.ts +3 -3
  79. package/dist/render/components/ContentsList.js +1 -1
  80. package/dist/render/components/Countdown.js +1 -1
  81. package/dist/render/components/Divider.d.ts +1 -2
  82. package/dist/render/components/Divider.js +1 -1
  83. package/dist/render/components/DocBody.js +5 -5
  84. package/dist/render/components/DocMasthead.js +1 -1
  85. package/dist/render/components/DocMetaCards.js +1 -1
  86. package/dist/render/components/DocTabs.js +1 -1
  87. package/dist/render/components/Eyebrow.d.ts +2 -1
  88. package/dist/render/components/Eyebrow.js +1 -1
  89. package/dist/render/components/FAQ.d.ts +6 -1
  90. package/dist/render/components/FAQ.js +1 -1
  91. package/dist/render/components/FeaturedCover.js +1 -1
  92. package/dist/render/components/Flex.d.ts +3 -1
  93. package/dist/render/components/Flex.js +1 -1
  94. package/dist/render/components/Footprint.js +1 -1
  95. package/dist/render/components/HeroGroup.d.ts +1 -1
  96. package/dist/render/components/HeroGroup.js +1 -1
  97. package/dist/render/components/HeroPictures.js +1 -1
  98. package/dist/render/components/HeroSection.js +1 -1
  99. package/dist/render/components/HeroSingle.js +1 -1
  100. package/dist/render/components/HeroSlide.d.ts +1 -1
  101. package/dist/render/components/HeroSlide.js +1 -1
  102. package/dist/render/components/InBoxContext.d.ts +1 -1
  103. package/dist/render/components/InBoxContext.js +1 -1
  104. package/dist/render/components/IntegrationsSection.js +1 -1
  105. package/dist/render/components/IntroBleed.js +1 -1
  106. package/dist/render/components/JoinBox.js +1 -1
  107. package/dist/render/components/KeyFeatures.js +1 -1
  108. package/dist/render/components/ListSearchBox.d.ts +7 -0
  109. package/dist/render/components/ListSearchBox.js +1 -0
  110. package/dist/render/components/LocationMap.d.ts +2 -1
  111. package/dist/render/components/LocationMap.js +1 -1
  112. package/dist/render/components/Logo.d.ts +3 -1
  113. package/dist/render/components/Logo.js +1 -1
  114. package/dist/render/components/LogoBlock.js +1 -1
  115. package/dist/render/components/LongRead.js +1 -1
  116. package/dist/render/components/Manifesto.js +1 -1
  117. package/dist/render/components/Masthead.js +1 -1
  118. package/dist/render/components/MockupSection.js +1 -1
  119. package/dist/render/components/ParagraphsA.d.ts +2 -1
  120. package/dist/render/components/ParagraphsA.js +1 -1
  121. package/dist/render/components/PostCard.d.ts +2 -1
  122. package/dist/render/components/PostCard.js +1 -1
  123. package/dist/render/components/ProcessSteps.js +1 -1
  124. package/dist/render/components/Prose.js +1 -1
  125. package/dist/render/components/SectionAnimation.d.ts +3 -2
  126. package/dist/render/components/SectionAnimation.js +1 -1
  127. package/dist/render/components/SectionEyebrow.d.ts +2 -1
  128. package/dist/render/components/SectionEyebrow.js +1 -1
  129. package/dist/render/components/Series.js +1 -1
  130. package/dist/render/components/SiteGutterFrame.d.ts +2 -2
  131. package/dist/render/components/SiteGutterFrame.js +1 -1
  132. package/dist/render/components/Spacer.js +1 -1
  133. package/dist/render/components/SpecStrip.js +1 -1
  134. package/dist/render/components/StatsParagraph.js +1 -1
  135. package/dist/render/components/Testimonials.js +1 -1
  136. package/dist/render/components/TickerSection.js +1 -1
  137. package/dist/render/components/Timeline.js +1 -1
  138. package/dist/render/components/TimelineTrack.js +1 -1
  139. package/dist/render/components/TitleWithButtons.js +1 -1
  140. package/dist/render/components/ViewHideRoot.d.ts +23 -0
  141. package/dist/render/components/ViewHideRoot.js +1 -0
  142. package/dist/render/lib/content/block-size.d.ts +0 -2
  143. package/dist/render/lib/content/block-size.js +1 -1
  144. package/dist/render/lib/content/page-contents.js +1 -1
  145. package/dist/render/lib/document/blocks/general/CardList/render.js +1 -1
  146. package/dist/render/lib/document/blocks/general/Contents/render.js +1 -1
  147. package/dist/render/lib/document/blocks/general/CustomHTML/render.js +1 -1
  148. package/dist/render/lib/document/blocks/general/Divider/render.js +1 -1
  149. package/dist/render/lib/document/blocks/general/Eyebrow/render.js +1 -1
  150. package/dist/render/lib/document/blocks/general/FAQ/render.js +1 -1
  151. package/dist/render/lib/document/blocks/general/Flex/render.js +1 -1
  152. package/dist/render/lib/document/blocks/general/ListSearch/render.d.ts +2 -0
  153. package/dist/render/lib/document/blocks/general/ListSearch/render.js +1 -0
  154. package/dist/render/lib/document/blocks/general/LocationMap/render.js +1 -1
  155. package/dist/render/lib/document/blocks/general/OrderSummary/card-seed.d.ts +2 -0
  156. package/dist/render/lib/document/blocks/general/OrderSummary/card-seed.js +1 -0
  157. package/dist/render/lib/document/blocks/general/ParagraphsA/render.js +1 -1
  158. package/dist/render/lib/document/blocks/general/PaymentBadges/render.js +1 -1
  159. package/dist/render/lib/document/blocks/general/PostCard/render.js +1 -1
  160. package/dist/render/lib/document/blocks/general/SectionHeader/render.js +1 -1
  161. package/dist/render/lib/document/blocks/general/renders.d.ts +1 -0
  162. package/dist/render/lib/document/blocks/general/renders.js +1 -1
  163. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.js +1 -1
  164. package/dist/render/lib/document/blocks/general/section-to-box-rows-checkout.d.ts +2 -0
  165. package/dist/render/lib/document/blocks/general/section-to-box-rows-checkout.js +1 -0
  166. package/dist/render/lib/document/blocks/general/section-to-box-rows-docbody.js +2 -2
  167. package/dist/render/lib/document/blocks/general/section-to-box-rows-head.d.ts +12 -0
  168. package/dist/render/lib/document/blocks/general/section-to-box-rows-head.js +1 -1
  169. package/dist/render/lib/document/blocks/general/section-to-box-rows-locations.js +1 -1
  170. package/dist/render/lib/document/blocks/general/section-to-box-rows-logos.d.ts +1 -0
  171. package/dist/render/lib/document/blocks/general/section-to-box-rows-logos.js +1 -1
  172. package/dist/render/lib/document/blocks/general/section-to-box-rows.js +1 -1
  173. package/dist/render/lib/document/page-render.js +1 -1
  174. package/dist/render/lib/document/passes/block-size.js +1 -1
  175. package/dist/render/lib/document/passes/borders.js +1 -1
  176. package/dist/render/lib/document/passes/box-join.js +1 -1
  177. package/dist/render/lib/document/passes/cell-width.js +1 -1
  178. package/dist/render/lib/document/passes/corners.js +1 -1
  179. package/dist/render/lib/document/passes/head-core.js +1 -1
  180. package/dist/render/lib/document/passes/hidden-nodes.d.ts +2 -0
  181. package/dist/render/lib/document/passes/hidden-nodes.js +1 -0
  182. package/dist/render/lib/document/passes/index.js +1 -1
  183. package/dist/render/lib/document/passes/section-anchor.js +1 -1
  184. package/dist/render/lib/document/passes/section-animation.js +1 -1
  185. package/dist/render/lib/document/passes/section-height.js +1 -1
  186. package/dist/render/lib/document/passes/section-padding.js +1 -1
  187. package/dist/render/lib/document/passes/section-sticky.js +1 -1
  188. package/dist/render/lib/document/passes/section-theme.js +1 -1
  189. package/dist/render/lib/document/passes/section-width.js +1 -1
  190. package/dist/render/lib/document/slot-counts.js +1 -1
  191. package/dist/render/lib/sections/section-to-box.js +1 -1
  192. package/package.json +1 -1
  193. package/dist/format/lib/document/passes/hidden-nodes.d.ts +0 -2
  194. package/dist/format/lib/document/passes/hidden-nodes.js +0 -1
@@ -1 +1 @@
1
- import{blockSourceSpec as w,declaredBlockSource as L}from"./block-sources.js";import{isNodeList as _}from"efficient-easel/data";import{BOX_TYPE as C}from"../document/container-blocks.js";import{globalRegistry as A}from"../global-registry.js";import{nonEmptyString as b}from"../non-empty-string.js";import{accentItalicRuns as O}from"../markup.js";import{withCardsTemplate as h}from"../document/cards-template-on-read.js";import{withCardListTemplate as S}from"../document/blocks/general/CardList/item-seed.js";import{ARTICLE_BODY_BLOCK as E,withArticleBodyTemplate as I}from"../document/article-body-seed.js";import{withLogosTemplate as P}from"../document/blocks/general/Logos/card-seed.js";const D="template",se="Card template",d="CardList",x=["Text","ImageBlock","ButtonBlock","Flex"],u="rowField",F="rowLinkField";function ce(){return{type:"slot",allow:[...x]}}const W=x.filter(e=>e!=="ButtonBlock"),g="items",B="itemFields";function ae(){return{type:"slot",allow:[...W]}}const M=[{block:"OrderSummary",typedRows:"rows",fields:[{key:"label",label:"Item"},{key:"meta",label:"Meta line"},{key:"amount",label:"Amount"}]},{block:"Footprint",typedRows:"offices",fields:[{key:"badge",label:"HQ"},{key:"role",label:"Role"},{key:"city",label:"City"},{key:"country",label:"Region · country"},{key:"address",label:"Address"},{key:"linkLabel",label:"Button"},{key:"href",label:"Link",kind:"link"}]},{block:"Cards",typedRows:"items",fields:[{key:"num",label:"Number"},{key:"since",label:"Corner note"},{key:"label",label:"Label"},{key:"title",label:"Card title"},{key:"value",label:"Value"},{key:"body",label:"Card body",multiline:!0},{key:"href",label:"Link",kind:"link"},{key:"count",label:"Count"},{key:"badge",label:"Highlight badge",everySource:!0}],seed:e=>h("Cards",e)},{block:"ProcessSteps",fields:[{key:"eyebrow",label:"Eyebrow"},{key:"title",label:"Title",mark:"accentItalic"},{key:"copy",label:"Body",multiline:!0},{key:"image",label:"Image",kind:"image",alt:"title"},{key:"tag",label:"Image tag"},{key:"specs",label:"Specs",kind:"list",fields:[{key:"label",label:"Label"},{key:"value",label:"Value"}]}],blocks:[{type:d,label:"Card list"}]},{block:"Logos",fields:[{key:"label",label:"Name"},{key:"kind",label:"Kind"}],seed:e=>P(e)},{block:d,fields:[],typedRows:g,seed:e=>S(e)},{block:E,fields:[{key:"heading",label:"Subhead"},{key:"paragraph",label:"Paragraph",multiline:!0}],seed:e=>I(e)}];function c(){return A("efficient.card-templates",()=>new Map(M.map(e=>[e.block,e])))}function ue(e){for(const t of e){if(typeof t.block!="string"||!t.block)throw new Error("A card template names no block.");const r=[];for(const n of t.blocks??[]){if(typeof n?.type!="string"||!n.type)throw new Error(`The card template of ${t.block} names an empty block.`);r.some(i=>i.type===n.type)||r.push({type:n.type,label:n.label||n.type})}const o=b(t.typedRows);c().set(t.block,{block:t.block,fields:t.fields.map(n=>({...n})),blocks:r,typedRows:o,...t.seed?{seed:t.seed}:{}})}}function N(e,t){const r=e?c().get(e)?.seed:void 0;return r?r(t):t}function fe(e,t){if(!(t.template===void 0||Array.isArray(t.template)&&t.template.length===0))return t;const{template:o,...n}=t,i=N(e,n);return i===n?t:i}function de(){for(const e of c().values())if(e.blocks?.length)return!0;return!1}function pe(e){return c().get(e)?.blocks??[]}function ye(e){for(const t of c().values())if(t.blocks?.some(r=>r.type===e))return!0;return!1}function me(e){return typeof e=="string"&&c().get(e)?.typedRows||""}function v(e){return typeof e=="string"&&c().has(e)}function K(e,t){const r=c().get(e)?.fields??[];return t?r.filter(o=>(o.kind??"text")===t):r}function j(e){return typeof e=="string"?K(e,"list")[0]?.key??"":""}function Y(e,t){return p(e)||j(t)}function T(e,t){const r=typeof e?.type=="string"?e.type:"";if(!r)return[];const o=c().get(r)?.fields??[],n=w(L(e?.props))?.fields,i=n?.length?[...n.map(l=>({...l})),...o.filter(l=>l.everySource&&!n.some(s=>s.key===l.key))]:o;return t?i.filter(l=>(l.kind??"text")===t):i}function H(e,t,r){return e?r?T(r).find(o=>o.key===t)??null:c().get(e)?.fields.find(o=>o.key===t)??null:null}function p(e,t=u){const r=e?.[t];return typeof r=="string"?r.trim():""}function ke(e,t){return e.key||String(t+1)}function be(e){const t={};if(e&&typeof e=="object"&&!Array.isArray(e))for(const[r,o]of Object.entries(e))typeof o=="string"&&(t[r]=o);return t}const U="hideWhenRowEmpty";function xe(e,t){const r=e[U];return!t||!Array.isArray(r)||!r.length?!1:r.every(o=>typeof o!="string"||!t[o]?.trim())}function ge(e,t,r=""){const o=t&&e&&typeof e=="object"?e[t]:void 0;if(!Array.isArray(o))return"";for(const n of o){const i=typeof n=="string"?n:n?.src,l=b(typeof i=="string"?i.trim():void 0);if(l&&l!==r.trim())return l}return""}const y={Text:{text:u},ImageBlock:{src:u},ButtonBlock:{label:u,href:F},LogoBlock:{alt:u},Breadcrumb:{currentCrumb:u}},Be=y,$=new Set(["ButtonBlock.label","LogoBlock.alt"]);function Te(e,t,r){return V(e,t,r)&&!$.has(`${e}.${r}`)}function V(e,t,r){return X(e,t,r)!==""}function X(e,t,r){const o=y[e]?.[r];return o?p(t,o):""}function Q(e,t){return!t||!e?null:e[t]??""}function Re(e,t,r,o){if(!r)return t;let n=null;for(const[i,l]of Object.entries(y[e]??{})){const s=p(t,l),a=Q(r,s);a!==null&&(n??={...t},n[i]=o&&H(o,s)?.mark==="accentItalic"?O(a):a)}return n??t}function m(e,t){const r=e?.data?.content;if(!Array.isArray(r)||typeof t!="string")return;const o=(i,l)=>{for(const s of i){if(s?.props?.id===t)return l;for(const[a,f]of Object.entries(s?.props??{})){if(!_(f))continue;const R=a===D&&v(s.type)?{owner:s,direct:!0,nested:l!==null,underBox:!1}:l&&{owner:l.owner,direct:!1,nested:l.nested,underBox:l.underBox||s.type===C},k=o(f,R);if(k!==void 0)return k}}},n=o(r,null);return n===void 0?null:n}function q(e,t){const r=m(e,t);return r&&r.owner}function we(e,t){const r=m(e,t);return r&&(r.direct?r.owner:null)}function Le(e,t){const r=m(e,t);if(r!==void 0)return r===null?{inCopy:!1,nestedCopy:!1,underBox:!1}:{inCopy:!0,nestedCopy:r.nested,underBox:r.underBox}}function _e(e,t,r){if(t?.type!==d)return[];const o=q(e,t.props?.id);if(!o)return z(t.props,r);const n=Y(t.props,o.type),i=n&&T(o,"list").find(l=>l.key===n)?.fields||[];return r?i.filter(l=>(l.kind??"text")===r):i}function Ce(e,t){return{[u]:"",[g]:e.map(r=>({...r})),[B]:t.map(r=>({...r}))}}function z(e,t){const r=e?.[B];if(!Array.isArray(r))return[];const o=r.flatMap(n=>{if(!n||typeof n!="object")return[];const{key:i,label:l,kind:s,multiline:a}=n;if(typeof i!="string"||!i||typeof l!="string")return[];const f=s==="image"||s==="link"||s==="colour"?s:void 0;return[{key:i,label:l,...f?{kind:f}:{},...a===!0?{multiline:!0}:{}}]});return t?o.filter(n=>(n.kind??"text")===t):o}export{U as BOX_HIDE_WHEN_ROW_EMPTY,B as CARD_LIST_FIELDS,W as CARD_LIST_ITEM_BLOCKS,g as CARD_LIST_ROWS,d as CARD_LIST_TYPE,u as CARD_ROW_FIELD_PROP,F as CARD_ROW_LINK_PROP,x as CARD_TEMPLATE_BLOCKS,se as CARD_TEMPLATE_LABEL,D as CARD_TEMPLATE_SLOT,Be as ROW_BOUND_PROPS,$ as ROW_PART_BY_WORDS,Le as cardCopyPlace,ke as cardKeyOf,_e as cardListFieldsOf,ae as cardListItemSlot,Ce as cardListProps,Y as cardListShows,be as cardRow,pe as cardTemplateBlocks,we as cardTemplateCardOwner,H as cardTemplateField,K as cardTemplateFields,T as cardTemplateFieldsOf,q as cardTemplateOwner,ce as cardTemplateSlot,me as cardTemplateTypedRows,de as cardTemplatesNameBlocks,j as defaultListField,v as hasCardTemplate,ye as isCardTemplateBlock,p as namedRowField,ue as registerCardTemplates,V as rowBound,X as rowFieldOf,Q as rowFieldText,Re as rowFilledProps,ge as rowNextPicture,Te as rowPartByKey,xe as templateBoxIsEmpty,fe as templateOnInsert,N as templateOnRead};
1
+ import{blockSourceSpec as R,declaredBlockSource as L}from"./block-sources.js";import{isNodeList as O}from"efficient-easel/data";import{BOX_TYPE as _}from"../document/container-blocks.js";import{globalRegistry as C}from"../global-registry.js";import{nonEmptyString as b}from"../non-empty-string.js";import{accentItalicRuns as A}from"../markup.js";import{withCardsTemplate as h}from"../document/cards-template-on-read.js";import{withCardListTemplate as I}from"../document/blocks/general/CardList/item-seed.js";import{ARTICLE_BODY_BLOCK as S,withArticleBodyTemplate as E}from"../document/article-body-seed.js";import{withLogosTemplate as P}from"../document/blocks/general/Logos/card-seed.js";import{withFaqTemplate as F}from"../document/blocks/general/FAQ/card-seed.js";const D="template",ce="Card template",f="CardList",x=["Text","ImageBlock","ButtonBlock","Flex"],u="rowField",W="rowLinkField";function ue(){return{type:"slot",allow:[...x]}}const M=x.filter(e=>e!=="ButtonBlock"),g="items",w="itemFields";function de(){return{type:"slot",allow:[...M]}}const N=[{block:"OrderSummary",typedRows:"rows",linesBetween:!0,fields:[{key:"label",label:"Item"},{key:"meta",label:"Meta line"},{key:"amount",label:"Amount"}]},{block:"FAQ",typedRows:"items",fields:[{key:"question",label:"Question"},{key:"answer",label:"Answer",multiline:!0}],seedOnInsert:e=>F(e)},{block:"Footprint",typedRows:"offices",fields:[{key:"badge",label:"HQ"},{key:"role",label:"Role"},{key:"city",label:"City"},{key:"country",label:"Region · country"},{key:"address",label:"Address"},{key:"linkLabel",label:"Button"},{key:"href",label:"Link",kind:"link"}]},{block:"Cards",typedRows:"items",fields:[{key:"num",label:"Number"},{key:"since",label:"Corner note"},{key:"label",label:"Label"},{key:"title",label:"Card title"},{key:"value",label:"Value"},{key:"body",label:"Card body",multiline:!0},{key:"href",label:"Link",kind:"link"},{key:"count",label:"Count"},{key:"badge",label:"Highlight badge",everySource:!0}],seed:e=>h("Cards",e)},{block:"ProcessSteps",fields:[{key:"eyebrow",label:"Eyebrow"},{key:"title",label:"Title",mark:"accentItalic"},{key:"copy",label:"Body",multiline:!0},{key:"image",label:"Image",kind:"image",alt:"title"},{key:"tag",label:"Image tag"},{key:"specs",label:"Specs",kind:"list",fields:[{key:"label",label:"Label"},{key:"value",label:"Value"}]}],blocks:[{type:f,label:"Card list"}]},{block:"Logos",fields:[{key:"label",label:"Name"},{key:"kind",label:"Kind"}],seed:e=>P(e)},{block:f,fields:[],typedRows:g,seed:e=>I(e)},{block:S,fields:[{key:"heading",label:"Subhead"},{key:"paragraph",label:"Paragraph",multiline:!0}],seed:e=>E(e)}];function a(){return C("efficient.card-templates",()=>new Map(N.map(e=>[e.block,e])))}function fe(e){for(const t of e){if(typeof t.block!="string"||!t.block)throw new Error("A card template names no block.");const r=[];for(const o of t.blocks??[]){if(typeof o?.type!="string"||!o.type)throw new Error(`The card template of ${t.block} names an empty block.`);r.some(i=>i.type===o.type)||r.push({type:o.type,label:o.label||o.type})}const n=b(t.typedRows);a().set(t.block,{block:t.block,fields:t.fields.map(o=>({...o})),blocks:r,typedRows:n,...t.seed?{seed:t.seed}:{},...t.seedOnInsert?{seedOnInsert:t.seedOnInsert}:{},...t.linesBetween===!0?{linesBetween:!0}:{}})}}function v(e,t){const r=e?a().get(e)?.seed:void 0;return r?r(t):t}function pe(e,t){if(!(t.template===void 0||Array.isArray(t.template)&&t.template.length===0))return t;const{template:n,...o}=t,i=e?a().get(e)?.seedOnInsert:void 0,l=i?i(o):v(e,o);return l===o?t:l}function ye(){for(const e of a().values())if(e.blocks?.length)return!0;return!1}function me(e){return a().get(e)?.blocks??[]}function ke(e){for(const t of a().values())if(t.blocks?.some(r=>r.type===e))return!0;return!1}function be(e){return typeof e=="string"&&a().get(e)?.typedRows||""}function xe(e){return typeof e=="string"&&a().get(e)?.linesBetween===!0}function K(e){return typeof e=="string"&&a().has(e)}function j(e,t){const r=a().get(e)?.fields??[];return t?r.filter(n=>(n.kind??"text")===t):r}function Y(e){return typeof e=="string"?j(e,"list")[0]?.key??"":""}function H(e,t){return p(e)||Y(t)}function B(e,t){const r=typeof e?.type=="string"?e.type:"";if(!r)return[];const n=a().get(r)?.fields??[],o=R(L(e?.props))?.fields,i=o?.length?[...o.map(l=>({...l})),...n.filter(l=>l.everySource&&!o.some(s=>s.key===l.key))]:n;return t?i.filter(l=>(l.kind??"text")===t):i}function Q(e,t,r){return e?r?B(r).find(n=>n.key===t)??null:a().get(e)?.fields.find(n=>n.key===t)??null:null}function p(e,t=u){const r=e?.[t];return typeof r=="string"?r.trim():""}function ge(e,t){return e.key||String(t+1)}function we(e){const t={};if(e&&typeof e=="object"&&!Array.isArray(e))for(const[r,n]of Object.entries(e))typeof n=="string"&&(t[r]=n);return t}const U="hideWhenRowEmpty";function Be(e,t){const r=e[U];return!t||!Array.isArray(r)||!r.length?!1:r.every(n=>typeof n!="string"||!t[n]?.trim())}function Te(e,t,r=""){const n=t&&e&&typeof e=="object"?e[t]:void 0;if(!Array.isArray(n))return"";for(const o of n){const i=typeof o=="string"?o:o?.src,l=b(typeof i=="string"?i.trim():void 0);if(l&&l!==r.trim())return l}return""}const y={Text:{text:u},ImageBlock:{src:u},ButtonBlock:{label:u,href:W},LogoBlock:{alt:u},Breadcrumb:{currentCrumb:u}},Re=y,$=new Set(["ButtonBlock.label","LogoBlock.alt"]);function Le(e,t,r){return q(e,t,r)&&!$.has(`${e}.${r}`)}function q(e,t,r){return V(e,t,r)!==""}function V(e,t,r){const n=y[e]?.[r];return n?p(t,n):""}function X(e,t){return!t||!e?null:e[t]??""}function Oe(e,t,r,n){if(!r)return t;let o=null;for(const[i,l]of Object.entries(y[e]??{})){const s=p(t,l),c=X(r,s);c!==null&&(o??={...t},o[i]=n&&Q(n,s)?.mark==="accentItalic"?A(c):c)}return o??t}function m(e,t){const r=e?.data?.content;if(!Array.isArray(r)||typeof t!="string")return;const n=(i,l)=>{for(const s of i){if(s?.props?.id===t)return l;for(const[c,d]of Object.entries(s?.props??{})){if(!O(d))continue;const T=c===D&&K(s.type)?{owner:s,direct:!0,nested:l!==null,underBox:!1}:l&&{owner:l.owner,direct:!1,nested:l.nested,underBox:l.underBox||s.type===_},k=n(d,T);if(k!==void 0)return k}}},o=n(r,null);return o===void 0?null:o}function z(e,t){const r=m(e,t);return r&&r.owner}function _e(e,t){const r=m(e,t);return r&&(r.direct?r.owner:null)}function Ce(e,t){const r=m(e,t);if(r!==void 0)return r===null?{inCopy:!1,nestedCopy:!1,underBox:!1}:{inCopy:!0,nestedCopy:r.nested,underBox:r.underBox}}function Ae(e,t,r){if(t?.type!==f)return[];const n=z(e,t.props?.id);if(!n)return G(t.props,r);const o=H(t.props,n.type),i=o&&B(n,"list").find(l=>l.key===o)?.fields||[];return r?i.filter(l=>(l.kind??"text")===r):i}function he(e,t){return{[u]:"",[g]:e.map(r=>({...r})),[w]:t.map(r=>({...r}))}}function G(e,t){const r=e?.[w];if(!Array.isArray(r))return[];const n=r.flatMap(o=>{if(!o||typeof o!="object")return[];const{key:i,label:l,kind:s,multiline:c}=o;if(typeof i!="string"||!i||typeof l!="string")return[];const d=s==="image"||s==="link"||s==="colour"?s:void 0;return[{key:i,label:l,...d?{kind:d}:{},...c===!0?{multiline:!0}:{}}]});return t?n.filter(o=>(o.kind??"text")===t):n}export{U as BOX_HIDE_WHEN_ROW_EMPTY,w as CARD_LIST_FIELDS,M as CARD_LIST_ITEM_BLOCKS,g as CARD_LIST_ROWS,f as CARD_LIST_TYPE,u as CARD_ROW_FIELD_PROP,W as CARD_ROW_LINK_PROP,x as CARD_TEMPLATE_BLOCKS,ce as CARD_TEMPLATE_LABEL,D as CARD_TEMPLATE_SLOT,Re as ROW_BOUND_PROPS,$ as ROW_PART_BY_WORDS,Ce as cardCopyPlace,ge as cardKeyOf,Ae as cardListFieldsOf,de as cardListItemSlot,he as cardListProps,H as cardListShows,we as cardRow,me as cardTemplateBlocks,_e as cardTemplateCardOwner,Q as cardTemplateField,j as cardTemplateFields,B as cardTemplateFieldsOf,xe as cardTemplateLinesBetween,z as cardTemplateOwner,ue as cardTemplateSlot,be as cardTemplateTypedRows,ye as cardTemplatesNameBlocks,Y as defaultListField,K as hasCardTemplate,ke as isCardTemplateBlock,p as namedRowField,fe as registerCardTemplates,q as rowBound,V as rowFieldOf,X as rowFieldText,Oe as rowFilledProps,Te as rowNextPicture,Le as rowPartByKey,Be as templateBoxIsEmpty,pe as templateOnInsert,v as templateOnRead};
@@ -0,0 +1,2 @@
1
+ export declare const COPIES_IN_THE_BOX: ReadonlySet<string>;
2
+ export declare function drawsCopiesInTheBox(type: string, props: Readonly<Record<string, unknown>>): boolean;
@@ -0,0 +1 @@
1
+ import{isNodeList as n}from"efficient-easel/data";const r=new Set(["FAQ"]);function s(e,o){if(!r.has(e))return!1;const t=o.template;return typeof t=="function"?(t.blockCount??0)>0:n(t)}export{r as COPIES_IN_THE_BOX,s as drawsCopiesInTheBox};
@@ -0,0 +1,7 @@
1
+ export declare const LIST_ROW_ATTR = "data-list-row";
2
+ export declare const LIST_ROW_SELECTOR = "details, [data-list-row]";
3
+ export declare function foldText(value: string): string;
4
+ export declare function rowMatchesQuery(text: string, query: string): boolean;
5
+ export declare const LIST_KEY_ATTR = "data-list-key";
6
+ export declare function listRowsFor(searchNode: Element, key: string): HTMLElement[];
7
+ export declare function narrowList(searchNode: Element, key: string, query: string): number | null;
@@ -0,0 +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 +1 @@
1
- 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 p(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 a(e,t,o){return{...r(e),[t]:o}}function h(e,t,o){const n=s(e,o),i=f(e,t,o);return n&&i?"":!n&&!i?"hidden":n?"max-view-tablet:hidden":"view-tablet:hidden"}export{c as desktopDisplayChanged,h as partDisplayClass,s as partShownOnDesktop,f as partShownOnPhone,p as phoneDisplayChanged,r as readPartDisplay,u as withDesktopPart,a as withPhonePart};
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};
@@ -0,0 +1,11 @@
1
+ export type ViewHidden = Readonly<{
2
+ desktop: boolean;
3
+ tablet: boolean;
4
+ mobile: boolean;
5
+ }>;
6
+ export declare function viewHideClass(hidden: ViewHidden): string;
7
+ export declare const VIEW_HIDE_KEYS: readonly string[];
8
+ export declare function nodeViewHidden(props: Readonly<Record<string, unknown>>): ViewHidden;
9
+ export declare function nodeHiddenEverywhere(props: Readonly<Record<string, unknown>>): boolean;
10
+ export declare function nodeViewHideWords(props: Readonly<Record<string, unknown>>): string;
11
+ export declare function nodeViewHideClass(props: Readonly<Record<string, unknown>>): string;
@@ -0,0 +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};
@@ -0,0 +1,7 @@
1
+ import { type BlockSeed } from "../../../seed-parts.js";
2
+ type Props = Record<string, unknown>;
3
+ export declare const FAQ_QUESTION_FIELD = "question";
4
+ export declare const FAQ_ANSWER_FIELD = "answer";
5
+ export declare const faqCardSeed: () => BlockSeed;
6
+ export declare function withFaqTemplate(props: Props): Props;
7
+ export {};
@@ -0,0 +1 @@
1
+ import{BOX_TYPE as o,CONTAINER_BLOCKS_SLOT as l}from"../../../container-blocks.js";import{DIM as m,INNER_BOX as f,TEXT as s,seedNodes as c,token as n}from"../../../seed-parts.js";import{rowFieldTextSeed as i}from"../Cards/card-seed.js";import{nonEmptyString as r}from"../../../../non-empty-string.js";import{parseSectionHeadPlacement as p}from"../../../../sections/section-head-placement.js";const w="question",S="answer",u={textStyle:"body-1",fontRole:"heading",...n("body",18,15),weight:500,case:"upper",letterSpacing:.02,lineHeight:1.5},O={textStyle:"body-1",...n("body",15),lineHeight:1.7},E=()=>({type:o,props:{...f,gap:0,name:"Question"},slots:{rowTitle:[i(w,{...s,tag:"p",widthFit:"fill"},u)],[l]:[i(S,{...m,tag:"p",widthFit:"fill",maxWidth:760},O)]}});function T(e){return p(e.headPlacement)==="own-box"?!1:["num","title","linkText"].some(t=>r(e[t])!==void 0)}function N(e){if(e.template!==void 0||T(e))return e;const t=r(e.id)??"FAQ";let d=0;return{...e,template:c([E()],a=>a===o?`${t}~row`:`${t}~row.${d++}`)}}export{S as FAQ_ANSWER_FIELD,w as FAQ_QUESTION_FIELD,E as faqCardSeed,N as withFaqTemplate};
@@ -4,4 +4,10 @@ export declare const FAQ_PH: {
4
4
  title: string;
5
5
  link: string;
6
6
  };
7
+ export declare const FAQSlots: {
8
+ template: {
9
+ type: "slot";
10
+ allow: string[];
11
+ };
12
+ };
7
13
  export declare const FAQMeta: BlockMeta;
@@ -1 +1 @@
1
- import{PH as e}from"../../placeholders.js";const l={num:e.sectionNumber,title:"Frequently *asked.*",link:"View all questions"},n={label:"Q&A",defaultProps:{num:"",title:"",linkText:"",linkHref:"/faq",defaultOpen:!0,items:[]}};export{n as FAQMeta,l as FAQ_PH};
1
+ import{PH as e}from"../../placeholders.js";import{cardTemplateSlot as t}from"../../../../content/card-template.js";const n={num:e.sectionNumber,title:"Frequently *asked.*",link:"View all questions"},l={template:t()},r={label:"Q&A",inline:!0,fields:l,defaultProps:{num:"",title:"",linkText:"",linkHref:"/faq",defaultOpen:!0,items:[]}};export{r as FAQMeta,l as FAQSlots,n as FAQ_PH};
@@ -0,0 +1,6 @@
1
+ import type { BlockMeta } from "../../block-types.js";
2
+ export declare const LIST_SEARCH_PH: {
3
+ readonly hint: "Search questions";
4
+ readonly noMatchText: "No question matches your search.";
5
+ };
6
+ export declare const ListSearchMeta: BlockMeta;
@@ -0,0 +1 @@
1
+ const t={hint:"Search questions",noMatchText:"No question matches your search."},e={label:"List search",defaultProps:{hint:t.hint,noMatchText:t.noMatchText}};export{t as LIST_SEARCH_PH,e as ListSearchMeta};
@@ -2,4 +2,10 @@ import type { BlockMeta } from "../../block-types.js";
2
2
  export declare const PAYMENT_PH: {
3
3
  heading: string;
4
4
  };
5
+ export declare const paymentScaffoldBadges: () => {
6
+ label: string;
7
+ }[];
8
+ export declare const paymentScaffoldAssurances: () => {
9
+ text: string;
10
+ }[];
5
11
  export declare const PaymentBadgesMeta: BlockMeta;
@@ -1 +1 @@
1
- const e={heading:"Ways to pay"},a={label:"Payment Methods",defaultProps:{heading:"",badges:[],assurances:[],contained:!0}};export{e as PAYMENT_PH,a as PaymentBadgesMeta};
1
+ import{say as e}from"../../../../editor-words.js";const t={heading:"Ways to pay"},s=()=>[{label:"Visa"},{label:"Mastercard"},{label:"Amex"},{label:"PayPal"}],o=()=>[{text:e("Secure encrypted checkout")},{text:e("30-day returns")}],n={label:"Payment Methods",defaultProps:{heading:"",badges:[],assurances:[],contained:!0}};export{t as PAYMENT_PH,n as PaymentBadgesMeta,o as paymentScaffoldAssurances,s as paymentScaffoldBadges};
@@ -11,6 +11,7 @@ export declare const GENERAL_METAS: {
11
11
  CustomHTML: BlockMeta;
12
12
  Divider: BlockMeta;
13
13
  Contents: BlockMeta;
14
+ ListSearch: BlockMeta;
14
15
  DocBody: BlockMeta;
15
16
  DocMasthead: BlockMeta;
16
17
  DocMetaCards: BlockMeta;
@@ -1 +1 @@
1
- import{GENERAL_REGISTRATION_ORDER as e}from"../../general-order.js";import{BannerMeta as a}from"./Banner/meta.js";import{BreadcrumbMeta as m}from"./Breadcrumb/meta.js";import{ButtonBlockMeta as i}from"./ButtonBlock/meta.js";import{CardsMeta as p}from"./Cards/meta.js";import{CategoryBarMeta as M}from"./CategoryBar/meta.js";import{ChartMeta as f}from"./Chart/meta.js";import{ContactLocationsMeta as n}from"./ContactLocations/meta.js";import{CountdownMeta as s}from"./Countdown/meta.js";import{CustomHTMLMeta as c}from"./CustomHTML/meta.js";import{DividerMeta as d}from"./Divider/meta.js";import{ContentsMeta as S}from"./Contents/meta.js";import{DocBodyMeta as l}from"./DocBody/meta.js";import{DocMastheadMeta as u}from"./DocMasthead/meta.js";import{DocMetaCardsMeta as T}from"./DocMetaCards/meta.js";import{DocTabsMeta as g}from"./DocTabs/meta.js";import{EyebrowMeta as B}from"./Eyebrow/meta.js";import{FAQMeta as C}from"./FAQ/meta.js";import{FeaturedCoverMeta as H}from"./FeaturedCover/meta.js";import{FlexMeta as L}from"./Flex/meta.js";import{FootprintMeta as P}from"./Footprint/meta.js";import{GridMeta as y}from"./Grid/meta.js";import{HeadingMeta as h}from"./Heading/meta.js";import{HeroGroupMeta as k}from"./HeroGroup/meta.js";import{HeroMeta as E}from"./Hero/meta.js";import{HeroSingleMeta as A}from"./HeroSingle/meta.js";import{HeroSlideMeta as D}from"./HeroSlide/meta.js";import{ImageBlockMeta as F}from"./ImageBlock/meta.js";import{IntegrationsMeta as R}from"./Integrations/meta.js";import{IntroBleedMeta as I}from"./IntroBleed/meta.js";import{KeyFeaturesMeta as x}from"./KeyFeatures/meta.js";import{LocationMapMeta as G}from"./LocationMap/meta.js";import{LogoBlockMeta as b}from"./LogoBlock/meta.js";import{LogosMeta as _}from"./Logos/meta.js";import{LongReadMeta as v}from"./LongRead/meta.js";import{ManifestoMeta as w}from"./Manifesto/meta.js";import{MastheadMeta as O}from"./Masthead/meta.js";import{MockupMeta as N}from"./Mockup/meta.js";import{OrderSummaryMeta as K}from"./OrderSummary/meta.js";import{CardListMeta as Q}from"./CardList/meta.js";import{ParagraphsAMeta as W}from"./ParagraphsA/meta.js";import{PaymentBadgesMeta as X}from"./PaymentBadges/meta.js";import{PostCardMeta as j}from"./PostCard/meta.js";import{ProcessStepsMeta as q}from"./ProcessSteps/meta.js";import{ProseMeta as z}from"./Prose/meta.js";import{SectionHeaderMeta as J}from"./SectionHeader/meta.js";import{SeriesMeta as U}from"./Series/meta.js";import{SpacerMeta as V}from"./Spacer/meta.js";import{SpecStripMeta as Y}from"./SpecStrip/meta.js";import{SplitMeta as Z}from"./Split/meta.js";import{StatsMeta as $}from"./Stats/meta.js";import{StatsParagraphMeta as oo}from"./StatsParagraph/meta.js";import{TestimonialsMeta as to}from"./Testimonials/meta.js";import{TextMeta as ro}from"./Text/meta.js";import{TickerMeta as eo}from"./Ticker/meta.js";import{TimelineMeta as ao}from"./Timeline/meta.js";import{TimelineTrackMeta as mo}from"./TimelineTrack/meta.js";import{TitleWithButtonsMeta as io}from"./TitleWithButtons/meta.js";import po from"./text-part-shapes.json";const Mo={Banner:a,Breadcrumb:m,ButtonBlock:i,Cards:p,CategoryBar:M,Chart:f,ContactLocations:n,CustomHTML:c,Divider:d,Contents:S,DocBody:l,DocMasthead:u,DocMetaCards:T,DocTabs:g,Eyebrow:B,FAQ:C,FeaturedCover:H,Flex:L,Footprint:P,Grid:y,Heading:h,Hero:E,HeroGroup:k,HeroSingle:A,HeroSlide:D,ImageBlock:F,Integrations:R,IntroBleed:I,Countdown:s,KeyFeatures:x,LocationMap:G,LogoBlock:b,Logos:_,LongRead:v,Manifesto:w,Masthead:O,Mockup:N,OrderSummary:K,CardList:Q,ParagraphsA:W,PaymentBadges:X,PostCard:j,ProcessSteps:q,Prose:z,SectionHeader:J,Series:U,Spacer:V,SpecStrip:Y,Split:Z,Stats:$,StatsParagraph:oo,Testimonials:to,Text:ro,Ticker:eo,Timeline:ao,TimelineTrack:mo,TitleWithButtons:io},fo=po;function ut(){const t={};for(const o of e){const r=fo[o];t[o]={...Mo[o],...r?{textParts:r}:null}}return t}export{Mo as GENERAL_METAS,ut as generalRenderMetas};
1
+ import{GENERAL_REGISTRATION_ORDER as e}from"../../general-order.js";import{BannerMeta as a}from"./Banner/meta.js";import{BreadcrumbMeta as m}from"./Breadcrumb/meta.js";import{ButtonBlockMeta as i}from"./ButtonBlock/meta.js";import{CardsMeta as p}from"./Cards/meta.js";import{CategoryBarMeta as M}from"./CategoryBar/meta.js";import{ChartMeta as f}from"./Chart/meta.js";import{ContactLocationsMeta as s}from"./ContactLocations/meta.js";import{CountdownMeta as n}from"./Countdown/meta.js";import{CustomHTMLMeta as c}from"./CustomHTML/meta.js";import{DividerMeta as d}from"./Divider/meta.js";import{ContentsMeta as S}from"./Contents/meta.js";import{ListSearchMeta as l}from"./ListSearch/meta.js";import{DocBodyMeta as u}from"./DocBody/meta.js";import{DocMastheadMeta as T}from"./DocMasthead/meta.js";import{DocMetaCardsMeta as g}from"./DocMetaCards/meta.js";import{DocTabsMeta as B}from"./DocTabs/meta.js";import{EyebrowMeta as C}from"./Eyebrow/meta.js";import{FAQMeta as L}from"./FAQ/meta.js";import{FeaturedCoverMeta as H}from"./FeaturedCover/meta.js";import{FlexMeta as P}from"./Flex/meta.js";import{FootprintMeta as h}from"./Footprint/meta.js";import{GridMeta as y}from"./Grid/meta.js";import{HeadingMeta as k}from"./Heading/meta.js";import{HeroGroupMeta as E}from"./HeroGroup/meta.js";import{HeroMeta as A}from"./Hero/meta.js";import{HeroSingleMeta as D}from"./HeroSingle/meta.js";import{HeroSlideMeta as F}from"./HeroSlide/meta.js";import{ImageBlockMeta as R}from"./ImageBlock/meta.js";import{IntegrationsMeta as I}from"./Integrations/meta.js";import{IntroBleedMeta as x}from"./IntroBleed/meta.js";import{KeyFeaturesMeta as G}from"./KeyFeatures/meta.js";import{LocationMapMeta as b}from"./LocationMap/meta.js";import{LogoBlockMeta as _}from"./LogoBlock/meta.js";import{LogosMeta as v}from"./Logos/meta.js";import{LongReadMeta as w}from"./LongRead/meta.js";import{ManifestoMeta as O}from"./Manifesto/meta.js";import{MastheadMeta as N}from"./Masthead/meta.js";import{MockupMeta as K}from"./Mockup/meta.js";import{OrderSummaryMeta as Q}from"./OrderSummary/meta.js";import{CardListMeta as W}from"./CardList/meta.js";import{ParagraphsAMeta as X}from"./ParagraphsA/meta.js";import{PaymentBadgesMeta as j}from"./PaymentBadges/meta.js";import{PostCardMeta as q}from"./PostCard/meta.js";import{ProcessStepsMeta as z}from"./ProcessSteps/meta.js";import{ProseMeta as J}from"./Prose/meta.js";import{SectionHeaderMeta as U}from"./SectionHeader/meta.js";import{SeriesMeta as V}from"./Series/meta.js";import{SpacerMeta as Y}from"./Spacer/meta.js";import{SpecStripMeta as Z}from"./SpecStrip/meta.js";import{SplitMeta as $}from"./Split/meta.js";import{StatsMeta as oo}from"./Stats/meta.js";import{StatsParagraphMeta as to}from"./StatsParagraph/meta.js";import{TestimonialsMeta as ro}from"./Testimonials/meta.js";import{TextMeta as eo}from"./Text/meta.js";import{TickerMeta as ao}from"./Ticker/meta.js";import{TimelineMeta as mo}from"./Timeline/meta.js";import{TimelineTrackMeta as io}from"./TimelineTrack/meta.js";import{TitleWithButtonsMeta as po}from"./TitleWithButtons/meta.js";import Mo from"./text-part-shapes.json";const fo={Banner:a,Breadcrumb:m,ButtonBlock:i,Cards:p,CategoryBar:M,Chart:f,ContactLocations:s,CustomHTML:c,Divider:d,Contents:S,ListSearch:l,DocBody:u,DocMasthead:T,DocMetaCards:g,DocTabs:B,Eyebrow:C,FAQ:L,FeaturedCover:H,Flex:P,Footprint:h,Grid:y,Heading:k,Hero:A,HeroGroup:E,HeroSingle:D,HeroSlide:F,ImageBlock:R,Integrations:I,IntroBleed:x,Countdown:n,KeyFeatures:G,LocationMap:b,LogoBlock:_,Logos:v,LongRead:w,Manifesto:O,Masthead:N,Mockup:K,OrderSummary:Q,CardList:W,ParagraphsA:X,PaymentBadges:j,PostCard:q,ProcessSteps:z,Prose:J,SectionHeader:U,Series:V,Spacer:Y,SpecStrip:Z,Split:$,Stats:oo,StatsParagraph:to,Testimonials:ro,Text:eo,Ticker:ao,Timeline:mo,TimelineTrack:io,TitleWithButtons:po},so=Mo;function gt(){const t={};for(const o of e){const r=so[o];t[o]={...fo[o],...r?{textParts:r}:null}}return t}export{fo as GENERAL_METAS,gt as generalRenderMetas};
@@ -246,6 +246,24 @@
246
246
  }
247
247
  }
248
248
  },
249
+ "ListSearch": {
250
+ "hint": {
251
+ "type": "custom",
252
+ "__text": {
253
+ "control": "text",
254
+ "label": "Hint",
255
+ "placeholder": "Search questions"
256
+ }
257
+ },
258
+ "noMatchText": {
259
+ "type": "custom",
260
+ "__text": {
261
+ "control": "text",
262
+ "label": "No match",
263
+ "placeholder": "No question matches your search."
264
+ }
265
+ }
266
+ },
249
267
  "DocBody": {
250
268
  "tocTitle": {
251
269
  "type": "custom",
@@ -1 +1 @@
1
- import{FOOTER_LOGO_PX as O}from"../logo/logo-size.js";import{resolveContainerGap as E}from"../content/container-gap.js";import{NESTED_BOX_PADDING as d}from"../content/box-layout.js";import{finiteNumber as p}from"../finite-number.js";import{isNodeList as _}from"efficient-easel/data";import{templateOnInsert as P}from"../content/card-template.js";import{buildSectionGroup as y,SITE_FOOTER_TYPE as L}from"./section-groups.js";const u="Flex",x={FooterMenu:"MenuBlock",FooterEmailSignup:"EmailFormBlock",FooterSocial:"SocialLogosBlock",FooterPayment:"PaymentLogosBlock"},A=e=>{const{id:o,...t}=e;return t},g=e=>typeof e=="string"?e:"",f={sm:12,md:13,lg:15},b="md",m=1.5,B={size:13,lineHeight:m,width:280},w=14,G=40,I=e=>e==="center"||e==="right"?e:"left";function S(e){const o={},t=[["padTop","sectionPaddingTop"],["padRight","sectionPaddingRight"],["padBottom","sectionPaddingBottom"],["padLeft","sectionPaddingLeft"]];for(const[r,n]of t){const i=p(e[r]);i&&(o[n]=i)}return o}function N(e,o,t){const r=t(e,A(o));if(Array.isArray(o.template))return{...r,props:{...r.props,template:h(o.template,String(r.props.id))}};if(o.template!==void 0)return r;const n=P(e,r.props);return n===r.props?r:{...r,props:n}}function h(e,o,t={at:0}){return e.map(r=>{const n={...r.props,id:`${o}~t${t.at++}`};for(const[i,s]of Object.entries(n))_(s)&&(n[i]=h(s,o,t));return{...r,props:n}})}function F(e,o){const t=e.props??{},r=x[e.type];if(r)return[N(r,t,o)];switch(e.type){case"FooterLogo":{const n=I(t.align),i=o("LogoBlock",{...t.reverse?{reverse:t.reverse}:{},...typeof t.customColor=="string"&&t.customColor?{customColor:t.customColor}:{},heightPx:Math.round(O*((p(t.widthPct)??100)/100)),href:"/",align:n,...S(t)}),s=g(t.tagline).trim();return s?[i,o("Text",{text:s,tone:"dim",align:n,_partStyles:{text:{...B}}})]:[i]}case"FooterText":{const n=typeof t.size=="string"&&t.size in f?t.size:b;return[o("Text",{text:g(t.text),tone:typeof t.tone=="string"?t.tone:"default",_partStyles:{text:{size:f[n],lineHeight:m}}})]}case"FooterDivider":{const n=p(t.thickness),i=p(t.lengthPct);return[o("Divider",{...n!==void 0?{thickness:n}:{},...i!==void 0?{lengthPct:i}:{},...t.hideOnMobile===!0?{hideOnMobile:!0}:{}})]}case"FooterGroup":{const n=Array.isArray(t.blocks)?t.blocks:[];return[o(u,{direction:t.direction==="horizontal"?"row":"column",gap:E("FooterGroup",t.gap),align:t.align==="center"||t.align==="end"||t.align==="stretch"?t.align:"start",...d,content:n.flatMap(i=>F(i,o))})]}default:return[]}}function v(e,o,t){const r=e&&Array.isArray(e.props?.blocks)?e.props.blocks:[],n=c=>o(u,{direction:"row",wrap:!0,share:"equal",gap:G,content:c}),i=[];let s=[];for(const c of r){const l=F(c,o);if(c.type==="FooterDivider"){s.length&&i.push(n(s)),s=[],i.push(...l);continue}l.length<=1?s.push(...l):s.push(o(u,{direction:"column",gap:w,align:"stretch",...d,content:l}))}(s.length||!i.length)&&i.push(n(s));const T=o(u,{direction:"column",content:[o("LegalLineBlock")]}),a=y(L,t,[...i,T]);return{...a,props:{...a.props,...e?.props?.width==="full"?{fullWidth:!0}:{}}}}export{f as FOOTER_TEXT_PX,v as boxFooterFromFooter,F as pageBlocksFromFooterBlock};
1
+ import{FOOTER_LOGO_PX as O}from"../logo/logo-size.js";import{resolveContainerGap as E}from"../content/container-gap.js";import{NESTED_BOX_PADDING as d}from"../content/box-layout.js";import{finiteNumber as p}from"../finite-number.js";import{isNodeList as _}from"efficient-easel/data";import{hiddenKeyOf as y}from"efficient-easel/screen/lib/content/view-hide";import{templateOnInsert as P}from"../content/card-template.js";import{buildSectionGroup as L,SITE_FOOTER_TYPE as x}from"./section-groups.js";const u="Flex",A={FooterMenu:"MenuBlock",FooterEmailSignup:"EmailFormBlock",FooterSocial:"SocialLogosBlock",FooterPayment:"PaymentLogosBlock"},b=e=>{const{id:o,...t}=e;return t},g=e=>typeof e=="string"?e:"",f={sm:12,md:13,lg:15},B="md",m=1.5,w={size:13,lineHeight:m,width:280},G=14,I=40,S=e=>e==="center"||e==="right"?e:"left";function N(e){const o={},t=[["padTop","sectionPaddingTop"],["padRight","sectionPaddingRight"],["padBottom","sectionPaddingBottom"],["padLeft","sectionPaddingLeft"]];for(const[r,n]of t){const i=p(e[r]);i&&(o[n]=i)}return o}function D(e,o,t){const r=t(e,b(o));if(Array.isArray(o.template))return{...r,props:{...r.props,template:h(o.template,String(r.props.id))}};if(o.template!==void 0)return r;const n=P(e,r.props);return n===r.props?r:{...r,props:n}}function h(e,o,t={at:0}){return e.map(r=>{const n={...r.props,id:`${o}~t${t.at++}`};for(const[i,s]of Object.entries(n))_(s)&&(n[i]=h(s,o,t));return{...r,props:n}})}function F(e,o){const t=e.props??{},r=A[e.type];if(r)return[D(r,t,o)];switch(e.type){case"FooterLogo":{const n=S(t.align),i=o("LogoBlock",{...t.reverse?{reverse:t.reverse}:{},...typeof t.customColor=="string"&&t.customColor?{customColor:t.customColor}:{},heightPx:Math.round(O*((p(t.widthPct)??100)/100)),href:"/",align:n,...N(t)}),s=g(t.tagline).trim();return s?[i,o("Text",{text:s,tone:"dim",align:n,_partStyles:{text:{...w}}})]:[i]}case"FooterText":{const n=typeof t.size=="string"&&t.size in f?t.size:B;return[o("Text",{text:g(t.text),tone:typeof t.tone=="string"?t.tone:"default",_partStyles:{text:{size:f[n],lineHeight:m}}})]}case"FooterDivider":{const n=p(t.thickness),i=p(t.lengthPct);return[o("Divider",{...n!==void 0?{thickness:n}:{},...i!==void 0?{lengthPct:i}:{},...t.hideOnMobile===!0?{[y("mobile")]:!0}:{}})]}case"FooterGroup":{const n=Array.isArray(t.blocks)?t.blocks:[];return[o(u,{direction:t.direction==="horizontal"?"row":"column",gap:E("FooterGroup",t.gap),align:t.align==="center"||t.align==="end"||t.align==="stretch"?t.align:"start",...d,content:n.flatMap(i=>F(i,o))})]}default:return[]}}function U(e,o,t){const r=e&&Array.isArray(e.props?.blocks)?e.props.blocks:[],n=c=>o(u,{direction:"row",wrap:!0,share:"equal",gap:I,content:c}),i=[];let s=[];for(const c of r){const l=F(c,o);if(c.type==="FooterDivider"){s.length&&i.push(n(s)),s=[],i.push(...l);continue}l.length<=1?s.push(...l):s.push(o(u,{direction:"column",gap:G,align:"stretch",...d,content:l}))}(s.length||!i.length)&&i.push(n(s));const T=o(u,{direction:"column",content:[o("LegalLineBlock")]}),a=L(x,t,[...i,T]);return{...a,props:{...a.props,...e?.props?.width==="full"?{fullWidth:!0}:{}}}}export{f as FOOTER_TEXT_PX,U as boxFooterFromFooter,F as pageBlocksFromFooterBlock};
@@ -1 +1 @@
1
- import{BOX_LABEL as n,SECTION_CATALOG as p}from"./section-catalog.js";const o="content",T="Flex",s="Text & media",y="Layout & structure",c=[{type:"Eyebrow",label:"Eyebrow",retired:!0},{type:"Heading",label:"Heading",retired:!0},{type:"Text",label:"Text"},{type:"ImageBlock",label:"Image"},{type:"LogoBlock",label:"Logo"},{type:"LocationMap",label:"Map"},{type:"ButtonBlock",label:"Button"},{type:"Contents",label:"Contents"}],i=[...c,{type:"Form",label:"Form"},{type:"PostCard",label:"Post Card"},{type:"Stats",label:"Stats",retired:!0},{type:"MenuBlock",label:"Menu"},{type:"EmailFormBlock",label:"Email Form"},{type:"SocialLogosBlock",label:"Social Logos"},{type:"PaymentLogosBlock",label:"Payment Logos"},{type:"LegalLineBlock",label:"Legal Line"},{type:"SearchBlock",label:"Search"},{type:"CartBlock",label:"Cart"},{type:"CountrySwitchBlock",label:"Country Switch"},{type:"AccountBlock",label:"Account"},{type:"ThemeSwitchBlock",label:"Theme Switch"}].map(e=>({...e,group:s})),E=(p.find(e=>e.key==="structure")?.sections??[]).map(e=>({type:e.type,label:e.label,group:y})),a=[...i,...E],l=[...c,{type:"HeroGroup",label:n}],B=l.map(e=>e.type),O=1,u=l.filter(e=>e.type!=="HeroGroup");function C(e){return e<O?l:u}const b={Flex:{slot:o,choices:()=>a},Grid:{slot:o,choices:()=>a},HeroGroup:{slot:o,choices:C}};function S(e,r=0){const t=b[e];return t?{slot:t.slot,choices:t.choices(r)}:null}export{T as BOX_TYPE,o as CONTAINER_BLOCKS_SLOT,a as CONTAINER_BLOCK_CHOICES,B as HERO_GROUP_BLOCK_TYPES,O as HERO_GROUP_NEST_DEPTH,S as containerBlocksFor};
1
+ import{BOX_LABEL as n,SECTION_CATALOG as p}from"./section-catalog.js";const o="content",L="Flex",s="Text & media",y="Layout & structure",c=[{type:"Eyebrow",label:"Eyebrow",retired:!0},{type:"Heading",label:"Heading",retired:!0},{type:"Text",label:"Text"},{type:"ImageBlock",label:"Image"},{type:"LogoBlock",label:"Logo"},{type:"LocationMap",label:"Map"},{type:"ButtonBlock",label:"Button"},{type:"Contents",label:"Contents"}],i=[...c,{type:"ListSearch",label:"List search"},{type:"Form",label:"Form"},{type:"PostCard",label:"Post Card"},{type:"Stats",label:"Stats",retired:!0},{type:"MenuBlock",label:"Menu"},{type:"EmailFormBlock",label:"Email Form"},{type:"SocialLogosBlock",label:"Social Logos"},{type:"PaymentLogosBlock",label:"Payment Logos"},{type:"LegalLineBlock",label:"Legal Line"},{type:"SearchBlock",label:"Search"},{type:"CartBlock",label:"Cart"},{type:"CountrySwitchBlock",label:"Country Switch"},{type:"AccountBlock",label:"Account"},{type:"ThemeSwitchBlock",label:"Theme Switch"}].map(e=>({...e,group:s})),E=(p.find(e=>e.key==="structure")?.sections??[]).map(e=>({type:e.type,label:e.label,group:y})),a=[...i,...E],l=[...c,{type:"HeroGroup",label:n}],S=l.map(e=>e.type),O=1,b=l.filter(e=>e.type!=="HeroGroup");function u(e){return e<O?l:b}const C={Flex:{slot:o,choices:()=>a},Grid:{slot:o,choices:()=>a},HeroGroup:{slot:o,choices:u}};function T(e,r=0){const t=C[e];return t?{slot:t.slot,choices:t.choices(r)}:null}export{L as BOX_TYPE,o as CONTAINER_BLOCKS_SLOT,a as CONTAINER_BLOCK_CHOICES,S as HERO_GROUP_BLOCK_TYPES,O as HERO_GROUP_NEST_DEPTH,T as containerBlocksFor};
@@ -1,3 +1,3 @@
1
1
  import type { Config } from "efficient-easel/blocks";
2
- export declare const GENERAL_REGISTRATION_ORDER: readonly ["Heading", "Text", "Eyebrow", "ImageBlock", "LogoBlock", "ButtonBlock", "Spacer", "Divider", "Grid", "Flex", "Breadcrumb", "Masthead", "CategoryBar", "FeaturedCover", "LongRead", "Series", "Banner", "ParagraphsA", "StatsParagraph", "Timeline", "Footprint", "TimelineTrack", "TitleWithButtons", "Stats", "Integrations", "Mockup", "Chart", "KeyFeatures", "Testimonials", "Prose", "Cards", "Logos", "Ticker", "Countdown", "ContactLocations", "LocationMap", "HeroSingle", "Hero", "HeroSlide", "HeroGroup", "PostCard", "DocMetaCards", "DocTabs", "DocMasthead", "DocBody", "Contents", "FAQ", "SpecStrip", "Manifesto", "SectionHeader", "IntroBleed", "Split", "ProcessSteps", "OrderSummary", "PaymentBadges", "CustomHTML", "CardList"];
2
+ export declare const GENERAL_REGISTRATION_ORDER: readonly ["Heading", "Text", "Eyebrow", "ImageBlock", "LogoBlock", "ButtonBlock", "Spacer", "Divider", "Grid", "Flex", "Breadcrumb", "Masthead", "CategoryBar", "FeaturedCover", "LongRead", "Series", "Banner", "ParagraphsA", "StatsParagraph", "Timeline", "Footprint", "TimelineTrack", "TitleWithButtons", "Stats", "Integrations", "Mockup", "Chart", "KeyFeatures", "Testimonials", "Prose", "Cards", "Logos", "Ticker", "Countdown", "ContactLocations", "LocationMap", "HeroSingle", "Hero", "HeroSlide", "HeroGroup", "PostCard", "DocMetaCards", "DocTabs", "DocMasthead", "DocBody", "Contents", "ListSearch", "FAQ", "SpecStrip", "Manifesto", "SectionHeader", "IntroBleed", "Split", "ProcessSteps", "OrderSummary", "PaymentBadges", "CustomHTML", "CardList"];
3
3
  export declare function generalCategories(): Config["categories"];
@@ -1 +1 @@
1
- import{blockSetOf as n,buildBlockCategories as s}from"./section-catalog.js";const c=["Heading","Text","Eyebrow","ImageBlock","LogoBlock","ButtonBlock","Spacer","Divider","Grid","Flex","Breadcrumb","Masthead","CategoryBar","FeaturedCover","LongRead","Series","Banner","ParagraphsA","StatsParagraph","Timeline","Footprint","TimelineTrack","TitleWithButtons","Stats","Integrations","Mockup","Chart","KeyFeatures","Testimonials","Prose","Cards","Logos","Ticker","Countdown","ContactLocations","LocationMap","HeroSingle","Hero","HeroSlide","HeroGroup","PostCard","DocMetaCards","DocTabs","DocMasthead","DocBody","Contents","FAQ","SpecStrip","Manifesto","SectionHeader","IntroBleed","Split","ProcessSteps","OrderSummary","PaymentBadges","CustomHTML","CardList"];function d(){const e={};for(const[o,t]of Object.entries(s())){const r=t.components.filter(a=>n(a)==="general");(r.length>0||o==="structure")&&(e[o]={...t,components:r})}return e}export{c as GENERAL_REGISTRATION_ORDER,d as generalCategories};
1
+ import{blockSetOf as n,buildBlockCategories as s}from"./section-catalog.js";const c=["Heading","Text","Eyebrow","ImageBlock","LogoBlock","ButtonBlock","Spacer","Divider","Grid","Flex","Breadcrumb","Masthead","CategoryBar","FeaturedCover","LongRead","Series","Banner","ParagraphsA","StatsParagraph","Timeline","Footprint","TimelineTrack","TitleWithButtons","Stats","Integrations","Mockup","Chart","KeyFeatures","Testimonials","Prose","Cards","Logos","Ticker","Countdown","ContactLocations","LocationMap","HeroSingle","Hero","HeroSlide","HeroGroup","PostCard","DocMetaCards","DocTabs","DocMasthead","DocBody","Contents","ListSearch","FAQ","SpecStrip","Manifesto","SectionHeader","IntroBleed","Split","ProcessSteps","OrderSummary","PaymentBadges","CustomHTML","CardList"];function d(){const e={};for(const[o,t]of Object.entries(s())){const r=t.components.filter(a=>n(a)==="general");(r.length>0||o==="structure")&&(e[o]={...t,components:r})}return e}export{c as GENERAL_REGISTRATION_ORDER,d as generalCategories};
@@ -0,0 +1,4 @@
1
+ export declare const LIST_SEARCH_TYPE = "ListSearch";
2
+ export declare const LIST_TYPES: readonly string[];
3
+ export declare const LIST_KEY_PROP = "listKey";
4
+ export declare function markListSearchScopes<T>(data: T): T;
@@ -0,0 +1 @@
1
+ import{isNodeList as i}from"efficient-easel/data";const l="Flex",p="ListSearch",a=["FAQ"],S="listKey";function u(t){const s={...t.props??{}},o={...t,props:s},e={searches:[],lists:[]};t.type===p&&e.searches.push(o),a.includes(String(t.type))&&e.lists.push(o);for(const[n,r]of Object.entries(s))i(r)&&(s[n]=r.map(h=>{const c=u(h);return e.searches.push(...c.found.searches),e.lists.push(...c.found.lists),c.node}));if(t.type===l&&e.searches.length>0&&e.lists.length>0){const n=String(s.id??"");if(n){for(const r of[...e.searches,...e.lists])r.props[S]=n;return{node:o,found:{searches:[],lists:[]}}}}return{node:o,found:e}}const f=t=>i(t)&&t.some(s=>s.type===p||Object.values(s.props??{}).some(f));function d(t){const s=t;return!s||!Array.isArray(s.content)||!f(s.content)?t:{...s,content:s.content.map(o=>u(o).node)}}export{S as LIST_KEY_PROP,p as LIST_SEARCH_TYPE,a as LIST_TYPES,d as markListSearchScopes};
@@ -1,6 +1,7 @@
1
1
  import type { CopyThemeColor } from "efficient-easel/copy";
2
2
  import { type ColorSlot } from "efficient-shell/markup";
3
+ export declare function inkTokenOf(slot: string): string;
3
4
  export declare function partColourName(value: string): string;
4
5
  export declare function partInkCss(value: string | undefined): string;
5
- export declare function partThemeColors(read?: Partial<Record<ColorSlot, string>> | null): CopyThemeColor[];
6
+ export declare function partThemeColors(read?: Partial<Record<ColorSlot, string>> | null, slots?: readonly string[]): CopyThemeColor[];
6
7
  export declare function readInks(element: HTMLElement): Partial<Record<ColorSlot, string>>;
@@ -1 +1 @@
1
- import{parseHexColor as m}from"efficient-shell/format";import{COLOR_SLOTS as u,colorRole as S}from"efficient-shell/markup";import{say as g}from"../editor-words.js";import{COLOUR_TOKEN as i}from"../word-styles.js";const l={main:i.accent,text:i.text,background:"var(--bg)",muted:i.labels},C={main:"Main",text:"Text",background:"Background",muted:"Muted"},f={accent:"main",labels:"muted"};function N(t){return Object.hasOwn(f,t)?f[t]:t}function h(t){if(!t)return"";if(t.startsWith("#"))return m(t)===t.toLowerCase()?t:"";const o=S(N(t));return o?.kind==="slot"?l[o.slot]:""}const O="#9ca3af";function k(t){return u.map(o=>({name:o,label:g(C[o]),value:t?.[o]||O}))}function y(t){const o={},r=t.ownerDocument,e=r?.defaultView;if(!r||!e)return o;const d=e.getComputedStyle(t),n=r.createElement("canvas").getContext("2d");for(const a of u){const x=l[a].replace(/^var\((--[\w-]+)\)$/,"$1"),s=d.getPropertyValue(x).trim();if(!s)continue;let c=p(s);!c&&n&&(n.fillStyle="#000000",n.fillStyle=s,c=p(String(n.fillStyle))),c&&(o[a]=c)}return o}function p(t){const o=t.trim().toLowerCase();if(o.startsWith("#"))return m(o);const r=o.match(/^rgba?\(\s*(\d+)[\s,]+(\d+)[\s,]+(\d+)/);return r?`#${r.slice(1,4).map(e=>Math.min(255,Number(e)).toString(16).padStart(2,"0")).join("")}`:null}export{N as partColourName,h as partInkCss,k as partThemeColors,y as readInks};
1
+ import{parseHexColor as l}from"efficient-shell/format";import{COLOR_SLOTS as m,colorRole as S}from"efficient-shell/markup";import{say as g}from"../editor-words.js";import{COLOUR_TOKEN as s}from"../word-styles.js";const p={main:s.accent,text:s.text,background:"var(--bg)",muted:s.labels},k={main:"Main",text:"Text",background:"Background",muted:"Muted"};function a(t){return Object.hasOwn(p,t)?p[t]??"":""}const d={accent:"main",labels:"muted"};function C(t){return Object.hasOwn(d,t)?d[t]:t}function T(t){if(!t)return"";if(t.startsWith("#"))return l(t)===t.toLowerCase()?t:"";const o=S(C(t));return o?.kind==="slot"?a(o.slot):""}const N="#9ca3af";function y(t,o=m){return o.flatMap(r=>{const n=k[r];return a(r)&&n?[{name:r,label:g(n),value:t?.[r]||N}]:[]})}function E(t){const o={},r=t.ownerDocument,n=r?.defaultView;if(!r||!n)return o;const O=n.getComputedStyle(t),e=r.createElement("canvas").getContext("2d");for(const u of m){const f=a(u);if(!f)continue;const b=f.replace(/^var\((--[\w-]+)\)$/,"$1"),i=O.getPropertyValue(b).trim();if(!i)continue;let c=x(i);!c&&e&&(e.fillStyle="#000000",e.fillStyle=i,c=x(String(e.fillStyle))),c&&(o[u]=c)}return o}function x(t){const o=t.trim().toLowerCase();if(o.startsWith("#"))return l(o);const r=o.match(/^rgba?\(\s*(\d+)[\s,]+(\d+)[\s,]+(\d+)/);return r?`#${r.slice(1,4).map(n=>Math.min(255,Number(n)).toString(16).padStart(2,"0")).join("")}`:null}export{a as inkTokenOf,C as partColourName,T as partInkCss,y as partThemeColors,E as readInks};
@@ -19,7 +19,7 @@ export declare function buildBlockCategories(): Record<string, {
19
19
  defaultExpanded?: boolean;
20
20
  }>;
21
21
  export declare const RETIRED_SECTIONS: Record<string, string>;
22
- export declare const RETIRED_NESTABLE_SECTIONS: readonly ["Grid", "Spacer"];
22
+ export declare const RETIRED_NESTABLE_SECTIONS: readonly ["Grid", "Spacer", "TyreFitment"];
23
23
  export declare const ALL_SECTION_TYPES: string[];
24
24
  export declare const SECTION_LABELS: Record<string, string>;
25
25
  export declare const UNLISTED_BLOCK_SETS: Readonly<Record<string, BlockSet>>;
@@ -1,4 +1,4 @@
1
- const h=["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:"TyreFitment",label:"Tyre Fitment Form",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:"PaymentBadges",label:"Payment Methods",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 p(){return Object.fromEntries(o.map(e=>[e.key,{title:e.title,components:e.sections.map(t=>t.type),...e.defaultExpanded?{defaultExpanded:!0}:{}}]))}const i={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 h=["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 p(){return Object.fromEntries(o.map(e=>[e.key,{title:e.title,components:e.sections.map(t=>t.type),...e.defaultExpanded?{defaultExpanded:!0}:{}}]))}const i={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).
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
 
@@ -54,4 +54,12 @@ THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A stored Related Products node is
54
54
 
55
55
  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).
56
56
 
57
- 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.`},u=["Grid","Spacer"],m=Array.from(new Set([...o.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(i)])),y=Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.label]))),l={Heading:"general",Text:"general",Eyebrow:"general",ImageBlock:"general",LogoBlock:"general",LocationMap:"general",Contents:"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",EmailFormBlock:"service",SocialLogosBlock:"service",PaymentLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},r={...l,...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 g=a("general"),T=a("commerce"),w=a("service"),d="Flex",s="Box",E=`${s}es`;function c(e){return e==="section"?"Blank section":s}function S(e,t,n){return e===d?c(t):n}export{m as ALL_SECTION_TYPES,h as BLOCK_SETS,s as BOX_LABEL,E as BOX_LABEL_PLURAL,T as COMMERCE_BLOCKS,g as GENERAL_BLOCKS,d as LEVEL_NAMED_TYPE,u as RETIRED_NESTABLE_SECTIONS,i as RETIRED_SECTIONS,o as SECTION_CATALOG,y as SECTION_LABELS,w as SERVICE_BLOCKS,l as UNLISTED_BLOCK_SETS,b as blockSetOf,a as blocksInSet,p as buildBlockCategories,S as labelAtLevel,c as labelForFlex};
57
+ 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.
58
+
59
+ 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.
60
+
61
+ WHAT A MERCHANT LOSES: the tyre-only head copy ("Will it fit your car?"); a press seeds the Fitment Form's own head. The page decides the answer, so there is no mode row.
62
+
63
+ 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).
64
+
65
+ 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."},u=["Grid","Spacer","TyreFitment"],m=Array.from(new Set([...o.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(i)])),y=Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.label]))),l={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={...l,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.set])))};function g(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 b=a("general"),T=a("commerce"),w=a("service"),d="Flex",s="Box",E=`${s}es`;function c(e){return e==="section"?"Blank section":s}function S(e,t,n){return e===d?c(t):n}export{m as ALL_SECTION_TYPES,h as BLOCK_SETS,s as BOX_LABEL,E as BOX_LABEL_PLURAL,T as COMMERCE_BLOCKS,b as GENERAL_BLOCKS,d as LEVEL_NAMED_TYPE,u as RETIRED_NESTABLE_SECTIONS,i as RETIRED_SECTIONS,o as SECTION_CATALOG,y as SECTION_LABELS,w as SERVICE_BLOCKS,l as UNLISTED_BLOCK_SETS,g as blockSetOf,a as blocksInSet,p as buildBlockCategories,S as labelAtLevel,c as labelForFlex};
@@ -690,6 +690,7 @@ export declare const WEB_BUILDER_WORDS: {
690
690
  readonly Links: "Links";
691
691
  readonly "Links to": "Links to";
692
692
  readonly List: "List";
693
+ readonly "List search": "List search";
693
694
  readonly Live: "Live";
694
695
  readonly "Live chat": "Live chat";
695
696
  readonly "Live chat settings belong to a website.": "Live chat settings belong to a website.";
@@ -778,6 +779,7 @@ export declare const WEB_BUILDER_WORDS: {
778
779
  readonly "No pages match your search": "No pages match your search";
779
780
  readonly "No pages yet. Add one with + above.": "No pages yet. Add one with + above.";
780
781
  readonly "No place found. Try another postcode.": "No place found. Try another postcode.";
782
+ readonly "No question matches your search.": "No question matches your search.";
781
783
  readonly "No section anchors yet": "No section anchors yet";
782
784
  readonly "No style": "No style";
783
785
  readonly "No versions yet. Every Publish from now on keeps one.": "No versions yet. Every Publish from now on keeps one.";
@@ -799,6 +801,7 @@ export declare const WEB_BUILDER_WORDS: {
799
801
  readonly Nudge: "Nudge";
800
802
  readonly Number: "Number";
801
803
  readonly "Number style": "Number style";
804
+ readonly Numbered: "Numbered";
802
805
  readonly Numbers: "Numbers";
803
806
  readonly "N\u00B001, N\u00B002": "N°01, N°02";
804
807
  readonly "Odd cards": "Odd cards";
@@ -969,6 +972,7 @@ export declare const WEB_BUILDER_WORDS: {
969
972
  readonly "Rounds the picture. The card's own corner is in Styles.": "Rounds the picture. The card's own corner is in Styles.";
970
973
  readonly Row: "Row";
971
974
  readonly "Row columns": "Row columns";
975
+ readonly "Row style": "Row style";
972
976
  readonly Rows: "Rows";
973
977
  readonly "Rows, first image on the left": "Rows, first image on the left";
974
978
  readonly "Rows, first image on the right": "Rows, first image on the right";
@@ -984,6 +988,7 @@ export declare const WEB_BUILDER_WORDS: {
984
988
  readonly Search: "Search";
985
989
  readonly "Search all pages": "Search all pages";
986
990
  readonly "Search all pages\u2026": "Search all pages…";
991
+ readonly "Search questions": "Search questions";
987
992
  readonly Season: "Season";
988
993
  readonly "Second item": "Second item";
989
994
  readonly "Second section": "Second section";
@@ -1208,6 +1213,7 @@ export declare const WEB_BUILDER_WORDS: {
1208
1213
  readonly "Theme {n}": "Theme {n}";
1209
1214
  readonly "Theme {n} background": "Theme {n} background";
1210
1215
  readonly "Theme {n} main color": "Theme {n} main color";
1216
+ readonly "Theme {n} muted color": "Theme {n} muted color";
1211
1217
  readonly "Theme {n} text color": "Theme {n} text color";
1212
1218
  readonly "These settings apply to every view.": "These settings apply to every view.";
1213
1219
  readonly "They are saved in Version history as \u201CDraft before restore\u201D, so you can get them back.": "They are saved in Version history as “Draft before restore”, so you can get them back.";
@@ -1263,6 +1269,7 @@ export declare const WEB_BUILDER_WORDS: {
1263
1269
  readonly "Triangle \u25BC": "Triangle ▼";
1264
1270
  readonly "Trusted by *teams worldwide*": "Trusted by *teams worldwide*";
1265
1271
  readonly "Try again": "Try again";
1272
+ readonly "Turns the box. 0\u00B0 is straight.": "Turns the box. 0° is straight.";
1266
1273
  readonly "Two across": "Two across";
1267
1274
  readonly "Two image galleries with tabs and filters.": "Two image galleries with tabs and filters.";
1268
1275
  readonly "Two tall": "Two tall";