efficient-easel 16.1.0 → 17.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 (128) hide show
  1. package/README.md +23 -64
  2. package/dist/autosave/index.d.ts +4 -4
  3. package/dist/blocks/index.d.ts +2 -2
  4. package/dist/chrome/index.d.ts +3 -3
  5. package/dist/chrome/index.js +1 -1
  6. package/dist/{chunk-UVQR7W6I.js → chunk-3ERZNZ5S.js} +1 -1
  7. package/dist/{chunk-2H3W5OLQ.js → chunk-4UBYPRAS.js} +1 -1
  8. package/dist/{chunk-ATOXCKEE.js → chunk-7TOQCTHV.js} +3 -3
  9. package/dist/chunk-BU2YSTLJ.js +14 -0
  10. package/dist/{chunk-VVPZMWJE.js → chunk-EL4F3IN7.js} +1 -1
  11. package/dist/chunk-EXCIHRAE.js +4 -0
  12. package/dist/{chunk-HV56SLR2.js → chunk-FJL3MYPA.js} +1 -1
  13. package/dist/{chunk-IE55HNMA.js → chunk-GWIVPLOX.js} +11 -11
  14. package/dist/chunk-INIPQLPR.js +1 -0
  15. package/dist/{chunk-RFSLDGDA.js → chunk-JSH3XKEF.js} +1 -1
  16. package/dist/chunk-M2Z775ZC.js +1 -0
  17. package/dist/chunk-MI54XTWD.js +5 -0
  18. package/dist/chunk-MTNBJPXX.js +2 -0
  19. package/dist/{chunk-K6EM4F5N.js → chunk-N3LYD2LK.js} +11 -11
  20. package/dist/{chunk-V6VKM2QX.js → chunk-NFLO4I2N.js} +1 -1
  21. package/dist/chunk-OLRLHE5K.js +7 -0
  22. package/dist/chunk-SHS6WCLL.js +1 -0
  23. package/dist/chunk-SPQOPWCL.js +5 -0
  24. package/dist/{chunk-TZIIRGVY.js → chunk-U277UX5I.js} +1 -1
  25. package/dist/{chunk-GPLMNRHR.js → chunk-V63ERBLW.js} +1 -1
  26. package/dist/chunk-WR3EVON3.js +57 -0
  27. package/dist/{chunk-62VPYC7F.js → chunk-XDZHKYQX.js} +1 -1
  28. package/dist/chunk-XLUVTPKK.js +1 -0
  29. package/dist/{chunk-2L2L7G5L.js → chunk-Z72CYM3L.js} +1 -1
  30. package/dist/copy/index.js +23 -11
  31. package/dist/draw/client.js +1 -1
  32. package/dist/draw/index.js +1 -1
  33. package/dist/easel/index.d.ts +35 -6
  34. package/dist/easel/index.js +1 -1
  35. package/dist/fields/index.js +1 -1
  36. package/dist/gold/gold.css +1 -1
  37. package/dist/{host-DGmdCaNL.d.ts → host-Cxbhp0zg.d.ts} +0 -4
  38. package/dist/icons/index.d.ts +0 -2
  39. package/dist/node-ops/index.d.ts +2 -2
  40. package/dist/node-ops/index.js +1 -1
  41. package/dist/panel/index.js +1 -1
  42. package/dist/{plan-CGREINRO.d.ts → plan-2BLk7pWs.d.ts} +19 -1
  43. package/dist/rail/index.d.ts +2 -2
  44. package/dist/screen/components/AddBlockRow.js +1 -1
  45. package/dist/screen/components/AddSidePanel.js +1 -1
  46. package/dist/screen/components/MediaSidePanel.d.ts +3 -3
  47. package/dist/screen/components/MediaSidePanel.js +1 -1
  48. package/dist/screen/components/NodeContextMenu.d.ts +6 -6
  49. package/dist/screen/components/NodeContextMenu.js +1 -1
  50. package/dist/screen/components/PageEditGuardNotices.js +1 -1
  51. package/dist/screen/components/SaveControls.d.ts +5 -5
  52. package/dist/screen/components/SaveControls.js +1 -1
  53. package/dist/screen/components/ScreenChrome.js +1 -1
  54. package/dist/screen/components/ScreenDocumentContext.d.ts +3 -3
  55. package/dist/screen/components/ScreenDocumentContext.js +1 -1
  56. package/dist/screen/components/ScreenMount.d.ts +5 -5
  57. package/dist/screen/components/ScreenMount.js +1 -1
  58. package/dist/screen/components/ScreenStoreProvider.d.ts +5 -5
  59. package/dist/screen/components/ScreenStoreProvider.js +1 -1
  60. package/dist/screen/components/SectionScreenShell.js +16 -16
  61. package/dist/screen/components/SidePanelHead.js +1 -1
  62. package/dist/screen/components/panel-widths.js +1 -1
  63. package/dist/screen/components/usePartBridge.d.ts +5 -5
  64. package/dist/screen/components/usePartBridge.js +1 -1
  65. package/dist/screen/index.d.ts +5 -5
  66. package/dist/screen/index.js +1 -1
  67. package/dist/screen/lib/admin-bridge.d.ts +2 -2
  68. package/dist/screen/lib/document-addressing.d.ts +3 -3
  69. package/dist/screen/lib/document-hooks.d.ts +2 -2
  70. package/dist/screen/lib/host-chrome.d.ts +0 -10
  71. package/dist/screen/lib/host.d.ts +3 -3
  72. package/dist/screen/lib/key-scope.js +1 -1
  73. package/dist/screen/lib/media-panel.d.ts +3 -3
  74. package/dist/screen/lib/media-picker.d.ts +3 -3
  75. package/dist/screen/lib/page-lock.d.ts +2 -2
  76. package/dist/screen/lib/puck/block-choice.d.ts +13 -1
  77. package/dist/screen/lib/puck/block-choice.js +1 -1
  78. package/dist/screen/lib/puck/device-fields.js +1 -1
  79. package/dist/screen/lib/puck/palette-sections.d.ts +2 -2
  80. package/dist/screen/lib/puck/section-doc.d.ts +2 -2
  81. package/dist/screen/lib/puck/style-clipboard.d.ts +5 -5
  82. package/dist/screen/lib/puck/style-clipboard.js +1 -1
  83. package/dist/screen/lib/puck/use-section-ops.d.ts +2 -2
  84. package/dist/screen/lib/puck/use-section-ops.js +1 -1
  85. package/dist/screen/lib/save-status.d.ts +2 -2
  86. package/dist/screen/lib/screen-parts.d.ts +5 -27
  87. package/dist/screen/lib/screen-parts.js +1 -1
  88. package/dist/screen/lib/section-templates.d.ts +2 -2
  89. package/dist/screen/lib/session-context.d.ts +2 -2
  90. package/dist/screen/lib/session.d.ts +2 -2
  91. package/dist/screen/words.d.ts +0 -2
  92. package/dist/screen/words.js +1 -1
  93. package/dist/shell/shell.css +6 -1
  94. package/dist/strings/index.d.ts +134 -20
  95. package/dist/strings/index.js +2 -2
  96. package/dist/text-styles/index.js +26 -26
  97. package/dist/{types-CsgMwHHa.d.ts → types-Cy7rdmXt.d.ts} +1 -1
  98. package/dist/{types-DGyDHiJV.d.ts → types-DT8ywrFQ.d.ts} +1 -1
  99. package/dist/{types-NQozKWEz.d.ts → types-kR_4wYBw.d.ts} +1 -1
  100. package/dist/{useNodeOps-BHRkUFfG.d.ts → useNodeOps-B0XZ8Bl8.d.ts} +1 -1
  101. package/dist/{words-pgIK0I6g.d.ts → words-DkWcK1rh.d.ts} +2 -2
  102. package/package.json +2 -41
  103. package/dist/chunk-44COUKXO.js +0 -5
  104. package/dist/chunk-4BGYVIDQ.js +0 -57
  105. package/dist/chunk-ECM5F6JJ.js +0 -1
  106. package/dist/chunk-H4UMY7QF.js +0 -13
  107. package/dist/chunk-HMXIAMCU.js +0 -1
  108. package/dist/chunk-HQ4VVRIC.js +0 -1
  109. package/dist/chunk-IN22IYOM.js +0 -1
  110. package/dist/chunk-JQOYUH4A.js +0 -7
  111. package/dist/chunk-L2VGRQ4R.js +0 -4
  112. package/dist/chunk-L3GSW4XI.js +0 -1
  113. package/dist/chunk-QX7GVECM.js +0 -13
  114. package/dist/chunk-U25CP5VX.js +0 -5
  115. package/dist/chunk-XQGV2XAK.js +0 -1
  116. package/dist/chunk-ZZ64CEC2.js +0 -2
  117. package/dist/gold/index.d.ts +0 -283
  118. package/dist/gold/index.js +0 -1
  119. package/dist/icons/meanings.d.ts +0 -1
  120. package/dist/icons/meanings.js +0 -1
  121. package/dist/index.d.ts +0 -6
  122. package/dist/index.js +0 -1
  123. package/dist/markup/index.d.ts +0 -1
  124. package/dist/markup/index.js +0 -1
  125. package/dist/shell/index.d.ts +0 -195
  126. package/dist/shell/index.js +0 -1
  127. package/dist/strings/catalogue.d.ts +0 -139
  128. package/dist/strings/catalogue.js +0 -1
@@ -1,16 +1,16 @@
1
- import{AddBlockRow as e}from"../../chunk-L2VGRQ4R.js";import{scrollPreviewToSection as n,gotoPreviewSlide as o}from"../../chunk-4ES5JGGX.js";import{useEaselUndoKeys as r}from"../../chunk-RFSLDGDA.js";import{SlotChildActionsProvider as t}from"../../chunk-KCBEE2MC.js";import{DEFAULT_PANEL_W as s}from"../../chunk-TZIIRGVY.js";import{usePartBridge as i}from"../../chunk-XQGV2XAK.js";import{useSectionOps as c}from"../../chunk-V6VKM2QX.js";import"../../chunk-HQ4VVRIC.js";import{MediaSidePanel as p}from"../../chunk-GPLMNRHR.js";import{SELECTION_MODE as l,useScreenPinned as m,useScreenCanvasFrame as d,useScreenInspectorPanel as a,useScreenPickFollowsSelection as u,sameInspectorMode as h,useStandaloneScreenBridges as k,useScreenBlockLook as f,useScreenBlockRules as j}from"../../chunk-U25CP5VX.js";import{useScreenDocument as y}from"../../chunk-ZZ64CEC2.js";import"../../chunk-ERR437B5.js";import"../../chunk-GMCZXMOV.js";import"../../chunk-RLBXE4EU.js";import"../../chunk-HNKB2ZYR.js";import"../../chunk-CLOS6SSX.js";import"../../chunk-S4AWJX4Q.js";import"../../chunk-KG7RJWOK.js";import"../../chunk-VPFNZ7TB.js";import"../../chunk-LOMEH6DG.js";import"../../chunk-KCOBHPN6.js";import{useMediaPanel as N,usePanelPick as S,useCancelPanelPick as R}from"../../chunk-R6WTQWAC.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import{useHostEscape as C}from"../../chunk-U3JP4VGF.js";import{DEFAULT_SCREEN_WORDS as P}from"../../chunk-VVPZMWJE.js";import"../../chunk-IQ5TA7AM.js";import{slotChildRowName as M}from"../../chunk-TBF5CVPA.js";import"../../chunk-DUVRZ456.js";import"../../chunk-6W7WLPZH.js";import"../../chunk-IYT6NN2J.js";import{slotFieldsOf as x,nestsInTree as A}from"../../chunk-PLVEGYK6.js";import"../../chunk-POSLNRTO.js";import"../../chunk-KAML3KQH.js";import{useEasel as V}from"../../chunk-QX7GVECM.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-ECM5F6JJ.js";import"../../chunk-K6EM4F5N.js";import"../../chunk-BPXEFVSQ.js";import"../../chunk-XWFH2NHZ.js";import{LayersTree as v,Subtree as E,TreeRow as g,TreeRowAction as w,TreeSeam as z}from"../../chunk-4JSBIW5H.js";import{DEFAULT_TREE_WORDS as B}from"../../chunk-K56YDHYQ.js";import"../../chunk-BALFHI3G.js";import"../../chunk-RC25EGHD.js";import"../../chunk-KFV7N2DJ.js";import{useTreeDrag as G}from"../../chunk-67GNT6PF.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-NDRZP6YR.js";import{DEFAULT_SAVE_WORDS as H,saveIndicator as L}from"../../chunk-H6DDIBQ4.js";import"../../chunk-X4T6JT3M.js";import{SaveState as X,panelWidthVars as b}from"../../chunk-IE55HNMA.js";import"../../chunk-Z6PVRXVY.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import{zoneKey as D,parseZoneKey as F}from"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";import"../../chunk-23VM4PMV.js";import"../../chunk-B4JN227A.js";import"../../chunk-2XMHLXMA.js";import"../../chunk-G3GWAP5R.js";import"../../chunk-WRFD4EXD.js";import"../../chunk-36LVP5WD.js";import{useWords as O}from"../../chunk-MFIRYGHW.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";import{useState as K,useRef as W,useEffect as J,useCallback as T,Fragment as Z}from"react";import{Tooltip as I}from"efficient-shell/ui";import{TrashIcon as Y}from"efficient-shell/icons/efficient";import{jsxs as Q,jsx as $,Fragment as U}from"react/jsx-runtime";var q=e=>n=>{n.target.closest("button, input")||e()},_={rowClick:q};function ee(){const{saveState:ee,readOnly:ne,readOnlyReason:oe=null}=y(),re=c(),{appState:te,selectedItem:se,config:ie}=V(e=>e),[ce,pe]=K(l),le=O("screen",P),me=O("tree",B),de=O("save",H),{first:ae,last:ue,panelOf:he}=m(),ke=he(ae),fe=d(),je=a(),ye=te.data.content?.[0]??null,Ne=ye?.props.id??null,Se=ye?.type===ae,Re=ye?.type===ue,Ce=W(null),Pe=W(null);r(Pe);const Me=N(),xe=S(),Ae=R();u(se?.props.id),J(()=>{const e=Pe.current;if(!xe||!e)return;const n=e=>{"Escape"===e.key&&Ae()};return e.addEventListener("keydown",n),()=>e.removeEventListener("keydown",n)},[xe]),C(null!==xe,()=>Ae()),J(()=>{Ne&&Ce.current!==Ne&&(Ce.current=Ne,Se?pe(ke??l):se||re.select({index:0}))},[Ne,se,re,Se]);const Ve=T(e=>pe(n=>h(n,e)?n:e),[]),ve=k({kind:ce.kind,mode:ce,open:Ve,show:e=>pe(e),reveal:()=>{},select:(e,n)=>{pe(e=>h(e,n)?e:n),re.select(e)}}),{selectNode:Ee}=i({mode:ce,setMode:pe,onOpenPart:n}),ge=f(),{labelAtLevel:we,Icon:ze}=ge,{canAddTo:Be}=j(),Ge=e=>we(e,"block",ie.components[e]?.label??e),He=e=>we(e,"section",Ge(e)),Le=!Se&&"puck"===ce.kind&&se?.props.id===Ne,Xe=ye?Be(ye.type)?.spec??null:null,be=ye&&Xe?`${ye.props.id}:${Xe.slot}`:null,De=ye&&Xe&&Array.isArray(ye.props[Xe.slot])?ye.props[Xe.slot]:[],Fe=e=>M(e,Ge,ge.plainText),Oe=(e,r)=>{ye&&Xe&&be&&(pe(l),Xe.slider?(o(String(ye.props.id),e),re.select({index:e,zone:be}),n(String(ye.props.id))):(re.select({index:e,zone:be}),n(r)))},Ke=()=>{if(!ye||!Xe||!be)return;const e=De.length;re.insertComponent(be,Xe.childType,e),pe(l),Xe.slider?requestAnimationFrame(()=>{o(String(ye.props.id),e),re.select({index:e,zone:be})}):re.select({index:e,zone:be})},We=e=>x(ie,e),Je=e=>{const{parentId:n,slot:o}=F(e),r=e=>{if(!e)return null;if(String(e.props.id)===n)return e;for(const n of We(e.type)){const o=Array.isArray(e.props[n])?e.props[n]:[];for(const e of o){const n=r(e);if(n)return n}}return null},t=r(ye)?.props[o];return Array.isArray(t)?t.length:0},Te=(e,n,o)=>{const r=Math.min(Math.max(o,0),Je(e)),t=n<r?r-1:r;t!==n&&(re.reorderComponent(e,n,t),pe(l),re.select({index:t,zone:e}))},Ze=G({keyOf:e=>e.id,readOnly:Boolean(ne),canDrop:(e,n)=>D(n)===e.zone&&n.index>=0&&n.index<=Je(e.zone),onDrop:(e,n)=>Te(e.zone,e.index,n.index),onStep:(e,n)=>Te(e.zone,e.index,n<0?e.index-1:e.index+2)}),Ie=(e,n)=>/* @__PURE__ */$(z,{...ne?{}:Ze.seam({place:{...F(e),index:n}})},`seam:${e}:${n}`),Ye=e=>ge.blockRowName(e,Ge),Qe=(e,o,r)=>{pe(l),re.select({index:o,zone:e}),n(r)},$e=(e,n,o)=>{re.insertComponent(e,n,o),pe(l),re.select({index:o,zone:e})},Ue=(n,o,r)=>/* @__PURE__ */$(e,{choices:r,onPick:e=>$e(n,e,o)}),qe=(e,n)=>{const o=We((r=e).type).flatMap(e=>(Array.isArray(r.props[e])?r.props[e]:[]).map((n,o)=>({child:n,zone:`${r.props.id}:${e}`,index:o})));var r;const t=Be(e.type),s=t?.choices??null,i="footer"===t?.source?Ye:Fe;/* @__PURE__ */
2
- return Q(U,{children:[o.map(({child:e,zone:o,index:r})=>{const t=se?.props.id===e.props.id,s=A(ie,e.type,n),c=i(e),p=String(e.props.id),m=()=>Qe(o,r,p),{rowProps:d,...a}=Ze.row({item:{id:p,zone:o,index:r},place:{...F(o),index:r}},{onClick:q(m)});/* @__PURE__ */
3
- return Q(Z,{children:[0===r&&Ie(o,0),
4
- /* @__PURE__ */$(g,{words:me,icon:/* @__PURE__ */$(ze,{type:e.type,size:13}),name:c,selected:t,onSelect:m,...a,actions:/* @__PURE__ */$(w,{kind:"delete",label:le.deleteNamed({name:c}),onClick:()=>{return e=o,n=r,re.removeComponent(e,n),pe(l),void re.select(null);var e,n},children:/* @__PURE__ */$(Y,{size:13})}),rowProps:d}),s&&/* @__PURE__ */$(E,{children:qe(e,n+1)}),Ie(o,r+1)]},String(e.props.id??`${o}-${r}`))}),t&&s?Ue(`${e.props.id}:${t.slot}`,o.length,s):null]})},_e="HeroSingle"===ye?.type,en=Boolean(ye)&&(Boolean(Be(ye.type))||We(ye.type).length>0),nn=Boolean(ye)&&(Boolean(Xe)||Re||Se||_e||en);/* @__PURE__ */
5
- return Q("div",{ref:Pe,className:"sf-editor es-editor",style:b(s),children:[
6
- /* @__PURE__ */$("div",{className:"sf-section-bar",children:/* @__PURE__ */$(X,null!==oe?{tone:"off",label:oe,role:"status"}:{...L(ee,de),role:"status"})}),
7
- /* @__PURE__ */Q("div",{className:"sf-body",children:[xe&&Me?/* @__PURE__ */$("aside",{className:"es-sidepanel es-sidepanel--left sf-panel sf-panel--left",children:/* @__PURE__ */$(p,{panel:Me,pick:xe})}):nn&&ye&&/* @__PURE__ */Q("aside",{className:"es-sidepanel es-sidepanel--left sf-panel sf-panel--left",children:[
8
- /* @__PURE__ */$("div",{className:"sf-panel-head",children:/* @__PURE__ */$(I,{content:Se?le.headerSettings:le.sectionSettings({name:He(ye.type)}),side:"bottom",children:/* @__PURE__ */$("button",{type:"button",className:"sf-panel-title sf-panel-title--btn "+(Le?"is-selected":""),"aria-pressed":Le,onClick:()=>{Se?pe(ke??l):(pe(l),re.select({index:0}))},children:He(ye.type)})})}),
9
- /* @__PURE__ */$(v,{className:"sf-tree sf-scroll",rootProps:Ze.rootProps(),words:me,children:/* @__PURE__ */$(E,{children:Se?
10
- /* @__PURE__ */$(g,{words:me,icon:/* @__PURE__ */$(ze,{type:"header",size:13}),name:le.headerSettings,selected:ce.kind===ke?.kind,onSelect:()=>pe(ke??l),rowProps:{onClick:q(()=>pe(ke??l))}}):Xe?/* @__PURE__ */Q(U,{children:[De.map((e,n)=>{const o=se?.props.id===e.props.id,r=Fe(e),t=String(e.props.id),s=()=>Oe(n,t),{rowProps:i,...c}=Ze.row({item:{id:t,zone:be,index:n},place:{...F(be),index:n}},{onClick:q(s)});/* @__PURE__ */
11
- return Q(Z,{children:[0===n&&Ie(be,0),
12
- /* @__PURE__ */$(g,{words:me,icon:/* @__PURE__ */$(ze,{type:e.type,size:13}),name:r,selected:o,onSelect:s,...c,actions:/* @__PURE__ */$(w,{kind:"delete",label:le.deleteNamed({name:r}),onClick:()=>{return e=n,void(be&&(re.removeComponent(be,e),pe(l),re.select(null)));var e},children:/* @__PURE__ */$(Y,{size:13})}),rowProps:i}),Ie(be,n+1)]},String(e.props.id??n))}),
13
- /* @__PURE__ */Q("button",{type:"button",className:"sf-add-card",onClick:Ke,children:[
14
- /* @__PURE__ */$("span",{className:"sf-plus sf-plus--sm",children:"+"}),Xe.addLabel]}),Ne?ve.partRows?.(ye,_):null]}):qe(ye,1)})})]}),
15
- /* @__PURE__ */$("div",{className:"sf-center",children:/* @__PURE__ */$("div",{className:"sf-preview-host",children:/* @__PURE__ */$(fe,{})})}),
16
- /* @__PURE__ */$(t,{value:{selectChild:(e,n,o,r)=>"section"===Be(r)?.source?Oe(n,o):Qe(e,n,o),addChild:(e,n,o,r,t)=>"section"===Be(t)?.source?Ke():$e(`${e}:${n}`,o,r),childRowName:Fe,blockRowName:Ye},children:/* @__PURE__ */$(je,{mode:ce,onOpenWebsiteSettings:ve.openSettings??(()=>{}),onSelectNode:Ee,hideNodeActions:!0})})]})]})}export{ee as default};
1
+ import{AddBlockRow as e}from"../../chunk-EXCIHRAE.js";import{scrollPreviewToSection as n,gotoPreviewSlide as o}from"../../chunk-4ES5JGGX.js";import{useEaselUndoKeys as r}from"../../chunk-JSH3XKEF.js";import{SlotChildActionsProvider as t}from"../../chunk-KCBEE2MC.js";import{DEFAULT_PANEL_W as s}from"../../chunk-U277UX5I.js";import{usePartBridge as i}from"../../chunk-INIPQLPR.js";import{useSectionOps as c}from"../../chunk-NFLO4I2N.js";import"../../chunk-M2Z775ZC.js";import{MediaSidePanel as p}from"../../chunk-V63ERBLW.js";import{SELECTION_MODE as l,useScreenPinned as m,useScreenCanvasFrame as d,useScreenInspectorPanel as a,useScreenPickFollowsSelection as u,sameInspectorMode as h,useStandaloneScreenBridges as k,useScreenBlockLook as f,useScreenBlockRules as j}from"../../chunk-SPQOPWCL.js";import{useScreenDocument as N}from"../../chunk-MTNBJPXX.js";import"../../chunk-S4AWJX4Q.js";import"../../chunk-ERR437B5.js";import"../../chunk-KG7RJWOK.js";import"../../chunk-GMCZXMOV.js";import"../../chunk-RLBXE4EU.js";import"../../chunk-HNKB2ZYR.js";import"../../chunk-CLOS6SSX.js";import"../../chunk-VPFNZ7TB.js";import"../../chunk-LOMEH6DG.js";import"../../chunk-KCOBHPN6.js";import{useMediaPanel as S,usePanelPick as y,useCancelPanelPick as P}from"../../chunk-R6WTQWAC.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import{useHostEscape as C}from"../../chunk-U3JP4VGF.js";import{DEFAULT_SCREEN_WORDS as L}from"../../chunk-EL4F3IN7.js";import{slotChildRowName as R}from"../../chunk-TBF5CVPA.js";import"../../chunk-IQ5TA7AM.js";import"../../chunk-DUVRZ456.js";import"../../chunk-6W7WLPZH.js";import"../../chunk-IYT6NN2J.js";import{slotFieldsOf as x,nestsInTree as A}from"../../chunk-PLVEGYK6.js";import{useEasel as v}from"../../chunk-BU2YSTLJ.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-N3LYD2LK.js";import"../../chunk-BPXEFVSQ.js";import{LayersTree as B,Subtree as M,TreeRow as E,TreeRowAction as O,TreeSeam as g}from"../../chunk-4JSBIW5H.js";import{DEFAULT_TREE_WORDS as W}from"../../chunk-K56YDHYQ.js";import"../../chunk-XWFH2NHZ.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-BALFHI3G.js";import"../../chunk-SHS6WCLL.js";import"../../chunk-RC25EGHD.js";import"../../chunk-KFV7N2DJ.js";import"../../chunk-NDRZP6YR.js";import{DEFAULT_SAVE_WORDS as X,saveIndicator as w}from"../../chunk-H6DDIBQ4.js";import{SaveState as z,panelWidthVars as H}from"../../chunk-GWIVPLOX.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-Z6PVRXVY.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-23VM4PMV.js";import"../../chunk-B4JN227A.js";import"../../chunk-2XMHLXMA.js";import"../../chunk-G3GWAP5R.js";import"../../chunk-WRFD4EXD.js";import"../../chunk-36LVP5WD.js";import{useWords as b}from"../../chunk-MFIRYGHW.js";import"../../chunk-POSLNRTO.js";import"../../chunk-KAML3KQH.js";import{useTreeDrag as F}from"../../chunk-67GNT6PF.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-X4T6JT3M.js";import{zoneKey as D,parseZoneKey as I}from"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";import{useState as T,useRef as V,useEffect as J,useCallback as K,Fragment as Y}from"react";import{Tooltip as G}from"efficient-shell/ui";import{TrashIcon as Z}from"efficient-shell/icons/efficient";import{jsxs as $,jsx as Q,Fragment as U}from"react/jsx-runtime";var q=e=>n=>{n.target.closest("button, input")||e()},_={rowClick:q};function ee(){const{saveState:ee,readOnly:ne,readOnlyReason:oe=null}=N(),re=c(),{appState:te,selectedItem:se,config:ie}=v(e=>e),[ce,pe]=T(l),le=b("screen",L),me=b("tree",W),de=b("save",X),{first:ae,last:ue,panelOf:he}=m(),ke=he(ae),fe=d(),je=a(),Ne=te.data.content?.[0]??null,Se=Ne?.props.id??null,ye=Ne?.type===ae,Pe=Ne?.type===ue,Ce=V(null),Le=V(null);r(Le);const Re=S(),xe=y(),Ae=P();u(se?.props.id),J(()=>{const e=Le.current;if(!xe||!e)return;const n=e=>{"Escape"===e.key&&Ae()};return e.addEventListener("keydown",n),()=>e.removeEventListener("keydown",n)},[xe]),C(null!==xe,()=>Ae()),J(()=>{Se&&Ce.current!==Se&&(Ce.current=Se,ye?pe(ke??l):se||re.select({index:0}))},[Se,se,re,ye]);const ve=K(e=>pe(n=>h(n,e)?n:e),[]),Be=k({kind:ce.kind,mode:ce,open:ve,show:e=>pe(e),reveal:()=>{},select:(e,n)=>{pe(e=>h(e,n)?e:n),re.select(e)}}),{selectNode:Me}=i({mode:ce,setMode:pe,onOpenPart:n}),Ee=f(),{labelAtLevel:Oe,Icon:ge}=Ee,{canAddTo:We}=j(),Xe=e=>Oe(e,"block",ie.components[e]?.label??e),we=e=>Oe(e,"section",Xe(e)),ze=!ye&&"puck"===ce.kind&&se?.props.id===Se,He=Ne?We(Ne.type)?.spec??null:null,be=Ne&&He?`${Ne.props.id}:${He.slot}`:null,Fe=Ne&&He&&Array.isArray(Ne.props[He.slot])?Ne.props[He.slot]:[],De=e=>R(e,Xe,Ee.plainText),Ie=(e,r)=>{Ne&&He&&be&&(pe(l),He.slider?(o(String(Ne.props.id),e),re.select({index:e,zone:be}),n(String(Ne.props.id))):(re.select({index:e,zone:be}),n(r)))},Te=()=>{if(!Ne||!He||!be)return;const e=Fe.length;re.insertComponent(be,He.childType,e),pe(l),He.slider?requestAnimationFrame(()=>{o(String(Ne.props.id),e),re.select({index:e,zone:be})}):re.select({index:e,zone:be})},Ve=e=>x(ie,e),Je=e=>{const{parentId:n,slot:o}=I(e),r=e=>{if(!e)return null;if(String(e.props.id)===n)return e;for(const n of Ve(e.type)){const o=Array.isArray(e.props[n])?e.props[n]:[];for(const e of o){const n=r(e);if(n)return n}}return null},t=r(Ne)?.props[o];return Array.isArray(t)?t.length:0},Ke=(e,n,o)=>{const r=Math.min(Math.max(o,0),Je(e)),t=n<r?r-1:r;t!==n&&(re.reorderComponent(e,n,t),pe(l),re.select({index:t,zone:e}))},Ye=F({keyOf:e=>e.id,readOnly:Boolean(ne),canDrop:(e,n)=>D(n)===e.zone&&n.index>=0&&n.index<=Je(e.zone),onDrop:(e,n)=>Ke(e.zone,e.index,n.index),onStep:(e,n)=>Ke(e.zone,e.index,n<0?e.index-1:e.index+2)}),Ge=(e,n)=>/* @__PURE__ */Q(g,{...ne?{}:Ye.seam({place:{...I(e),index:n}})},`seam:${e}:${n}`),Ze=e=>Ee.blockRowName(e,Xe),$e=(e,o,r)=>{pe(l),re.select({index:o,zone:e}),n(r)},Qe=(e,n,o)=>{re.insertComponent(e,n,o),pe(l),re.select({index:o,zone:e})},Ue=(n,o,r)=>/* @__PURE__ */Q(e,{choices:r,onPick:e=>Qe(n,e,o)}),qe=(e,n)=>{const o=Ve((r=e).type).flatMap(e=>(Array.isArray(r.props[e])?r.props[e]:[]).map((n,o)=>({child:n,zone:`${r.props.id}:${e}`,index:o})));var r;const t=We(e.type),s=t?.choices??null,i="footer"===t?.source?Ze:De;/* @__PURE__ */
2
+ return $(U,{children:[o.map(({child:e,zone:o,index:r})=>{const t=se?.props.id===e.props.id,s=A(ie,e.type,n),c=i(e),p=String(e.props.id),m=()=>$e(o,r,p),{rowProps:d,...a}=Ye.row({item:{id:p,zone:o,index:r},place:{...I(o),index:r}},{onClick:q(m)});/* @__PURE__ */
3
+ return $(Y,{children:[0===r&&Ge(o,0),
4
+ /* @__PURE__ */Q(E,{words:me,icon:/* @__PURE__ */Q(ge,{type:e.type,size:13}),name:c,selected:t,onSelect:m,...a,actions:/* @__PURE__ */Q(O,{kind:"delete",label:le.deleteNamed({name:c}),onClick:()=>{return e=o,n=r,re.removeComponent(e,n),pe(l),void re.select(null);var e,n},children:/* @__PURE__ */Q(Z,{size:13})}),rowProps:d}),s&&/* @__PURE__ */Q(M,{children:qe(e,n+1)}),Ge(o,r+1)]},String(e.props.id??`${o}-${r}`))}),t&&s?Ue(`${e.props.id}:${t.slot}`,o.length,s):null]})},_e="HeroSingle"===Ne?.type,en=Boolean(Ne)&&(Boolean(We(Ne.type))||Ve(Ne.type).length>0),nn=Boolean(Ne)&&(Boolean(He)||Pe||ye||_e||en);/* @__PURE__ */
5
+ return $("div",{ref:Le,className:"sf-editor es-editor",style:H(s),children:[
6
+ /* @__PURE__ */Q("div",{className:"sf-section-bar",children:/* @__PURE__ */Q(z,null!==oe?{tone:"off",label:oe,role:"status"}:{...w(ee,de),role:"status"})}),
7
+ /* @__PURE__ */$("div",{className:"sf-body",children:[xe&&Re?/* @__PURE__ */Q("aside",{className:"es-sidepanel es-sidepanel--left sf-panel sf-panel--left",children:/* @__PURE__ */Q(p,{panel:Re,pick:xe})}):nn&&Ne&&/* @__PURE__ */$("aside",{className:"es-sidepanel es-sidepanel--left sf-panel sf-panel--left",children:[
8
+ /* @__PURE__ */Q("div",{className:"sf-panel-head",children:/* @__PURE__ */Q(G,{content:ye?le.headerSettings:le.sectionSettings({name:we(Ne.type)}),side:"bottom",children:/* @__PURE__ */Q("button",{type:"button",className:"sf-panel-title sf-panel-title--btn "+(ze?"is-selected":""),"aria-pressed":ze,onClick:()=>{ye?pe(ke??l):(pe(l),re.select({index:0}))},children:we(Ne.type)})})}),
9
+ /* @__PURE__ */Q(B,{className:"sf-tree sf-scroll",rootProps:Ye.rootProps(),words:me,children:/* @__PURE__ */Q(M,{children:ye?
10
+ /* @__PURE__ */Q(E,{words:me,icon:/* @__PURE__ */Q(ge,{type:"header",size:13}),name:le.headerSettings,selected:ce.kind===ke?.kind,onSelect:()=>pe(ke??l),rowProps:{onClick:q(()=>pe(ke??l))}}):He?/* @__PURE__ */$(U,{children:[Fe.map((e,n)=>{const o=se?.props.id===e.props.id,r=De(e),t=String(e.props.id),s=()=>Ie(n,t),{rowProps:i,...c}=Ye.row({item:{id:t,zone:be,index:n},place:{...I(be),index:n}},{onClick:q(s)});/* @__PURE__ */
11
+ return $(Y,{children:[0===n&&Ge(be,0),
12
+ /* @__PURE__ */Q(E,{words:me,icon:/* @__PURE__ */Q(ge,{type:e.type,size:13}),name:r,selected:o,onSelect:s,...c,actions:/* @__PURE__ */Q(O,{kind:"delete",label:le.deleteNamed({name:r}),onClick:()=>{return e=n,void(be&&(re.removeComponent(be,e),pe(l),re.select(null)));var e},children:/* @__PURE__ */Q(Z,{size:13})}),rowProps:i}),Ge(be,n+1)]},String(e.props.id??n))}),
13
+ /* @__PURE__ */$("button",{type:"button",className:"sf-add-card",onClick:Te,children:[
14
+ /* @__PURE__ */Q("span",{className:"sf-plus sf-plus--sm",children:"+"}),He.addLabel]}),Se?Be.partRows?.(Ne,_):null]}):qe(Ne,1)})})]}),
15
+ /* @__PURE__ */Q("div",{className:"sf-center",children:/* @__PURE__ */Q("div",{className:"sf-preview-host",children:/* @__PURE__ */Q(fe,{})})}),
16
+ /* @__PURE__ */Q(t,{value:{selectChild:(e,n,o,r)=>"section"===We(r)?.source?Ie(n,o):$e(e,n,o),addChild:(e,n,o,r,t)=>"section"===We(t)?.source?Te():Qe(`${e}:${n}`,o,r),childRowName:De,blockRowName:Ze},children:/* @__PURE__ */Q(je,{mode:ce,onOpenWebsiteSettings:Be.openSettings??(()=>{}),onSelectNode:Me,hideNodeActions:!0})})]})]})}export{ee as default};
@@ -1 +1 @@
1
- export{PanelHideButton,PanelModeExit,PanelShowStrip,SidePanelHead as default}from"../../chunk-62VPYC7F.js";import"../../chunk-UMDQ6CLQ.js";import"../../chunk-IE55HNMA.js";import"../../chunk-Z6PVRXVY.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-MFIRYGHW.js";
1
+ export{PanelHideButton,PanelModeExit,PanelShowStrip,SidePanelHead as default}from"../../chunk-XDZHKYQX.js";import"../../chunk-UMDQ6CLQ.js";import"../../chunk-GWIVPLOX.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-Z6PVRXVY.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MFIRYGHW.js";
@@ -1 +1 @@
1
- export{COLLAPSED_SECTIONS_KEY,DEFAULT_PANEL_W,PANEL_WIDTHS_KEY,clampPanelWidth,screenStorageKeys}from"../../chunk-TZIIRGVY.js";export{MAX_PANEL_W,MIN_PANEL_W,panelWidthVars}from"../../chunk-IE55HNMA.js";import"../../chunk-Z6PVRXVY.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-MFIRYGHW.js";
1
+ export{COLLAPSED_SECTIONS_KEY,DEFAULT_PANEL_W,PANEL_WIDTHS_KEY,clampPanelWidth,screenStorageKeys}from"../../chunk-U277UX5I.js";export{MAX_PANEL_W,MIN_PANEL_W,panelWidthVars}from"../../chunk-GWIVPLOX.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-Z6PVRXVY.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MFIRYGHW.js";
@@ -1,14 +1,14 @@
1
1
  import { ScreenInspectorMode } from '../lib/screen-parts.js';
2
2
  import 'react';
3
3
  import '../../blocks/index.js';
4
- import '../../types-NQozKWEz.js';
4
+ import '../../types-kR_4wYBw.js';
5
5
  import '../../data/index.js';
6
6
  import '../../types-41704JE4.js';
7
7
  import '../../resolve-D68pb3Bx.js';
8
- import '../../plan-CGREINRO.js';
8
+ import '../../plan-2BLk7pWs.js';
9
9
  import '../../watch-BTYOJpQU.js';
10
- import '../../types-DGyDHiJV.js';
11
- import '../../types-CsgMwHHa.js';
10
+ import '../../types-DT8ywrFQ.js';
11
+ import '../../types-Cy7rdmXt.js';
12
12
  import '../../wordFit-7XpmhcaW.js';
13
13
  import '../../edit-lock/index.js';
14
14
  import '../../panelWidths-D9hTLR25.js';
@@ -25,7 +25,7 @@ import './AddSidePanel.js';
25
25
  import '../lib/section-template-types.js';
26
26
  import '../lib/puck/content-tree.js';
27
27
  import '../lib/puck/block-choice.js';
28
- import '../../host-DGmdCaNL.js';
28
+ import '../../host-Cxbhp0zg.js';
29
29
  import '../lib/document-contract.js';
30
30
  import '../lib/session.js';
31
31
  import '../lib/backend-error.js';
@@ -1 +1 @@
1
- export{usePartBridge}from"../../chunk-XQGV2XAK.js";import"../../chunk-V6VKM2QX.js";import"../../chunk-U25CP5VX.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-IYT6NN2J.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-QX7GVECM.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-ECM5F6JJ.js";import"../../chunk-K6EM4F5N.js";import"../../chunk-BPXEFVSQ.js";import"../../chunk-XWFH2NHZ.js";import"../../chunk-4JSBIW5H.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-BALFHI3G.js";import"../../chunk-RC25EGHD.js";import"../../chunk-KFV7N2DJ.js";import"../../chunk-67GNT6PF.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-X4T6JT3M.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";import"../../chunk-23VM4PMV.js";import"../../chunk-B4JN227A.js";import"../../chunk-2XMHLXMA.js";import"../../chunk-G3GWAP5R.js";import"../../chunk-WRFD4EXD.js";import"../../chunk-36LVP5WD.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";
1
+ export{usePartBridge}from"../../chunk-INIPQLPR.js";import"../../chunk-NFLO4I2N.js";import"../../chunk-SPQOPWCL.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-IYT6NN2J.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-BU2YSTLJ.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-N3LYD2LK.js";import"../../chunk-BPXEFVSQ.js";import"../../chunk-4JSBIW5H.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-XWFH2NHZ.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-BALFHI3G.js";import"../../chunk-SHS6WCLL.js";import"../../chunk-RC25EGHD.js";import"../../chunk-KFV7N2DJ.js";import"../../chunk-23VM4PMV.js";import"../../chunk-B4JN227A.js";import"../../chunk-2XMHLXMA.js";import"../../chunk-G3GWAP5R.js";import"../../chunk-WRFD4EXD.js";import"../../chunk-36LVP5WD.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-67GNT6PF.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-X4T6JT3M.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";
@@ -3,18 +3,18 @@ export { default as ScreenStoreProvider } from './components/ScreenStoreProvider
3
3
  export { NodeDefaults, SELECTION_MODE, ScreenBlockLook, ScreenBlockRules, ScreenBridges, ScreenCanvas, ScreenCanvasDrag, ScreenCanvasDragContext, ScreenCanvasHeadProps, ScreenCanvasTargetProvider, ScreenDevices, ScreenDocumentOps, ScreenDragItem, ScreenInspector, ScreenInspectorMode, ScreenInspectorPanelProps, ScreenLeftPanel, ScreenLeftView, ScreenLeftViewFrame, ScreenLeftViewRules, ScreenMainAction, ScreenMenuItem, ScreenMenuRows, ScreenNewNode, ScreenNode, ScreenNodeActions, ScreenNodeLevel, ScreenNodeMaker, ScreenPartMode, ScreenParts, ScreenPartsProvider, ScreenPinnedBand, ScreenPinnedNodes, ScreenRailItem, ScreenSelector, ScreenSlot, ScreenSlotAction, ScreenSlotMode, ScreenStyleClipboard, ScreenStyleDocument, ScreenStylePastePlan, ScreenToastExtra, ScreenTree, ScreenTreeFolds, ScreenTreeRows, isPinnedFirst, isPinnedLast, isSlotMode, sameInspectorMode, screenSlotsOf, useScreenBlockLook, useScreenBlockRules, useScreenBridges, useScreenCanvasDrag, useScreenCanvasFrame, useScreenCanvasHead, useScreenCanvasTarget, useScreenDevices, useScreenDocumentLabel, useScreenDocumentPass, useScreenInspectorPanel, useScreenLeftView, useScreenNodeKeys, useScreenNotify, useScreenOwnerName, useScreenParts, useScreenPickFollowsSelection, useScreenPinned, useScreenSaveSwitch, useScreenStorageNamespace, useScreenStyleClipboard, useStandaloneScreenBridges } from './lib/screen-parts.js';
4
4
  export { DefaultBackend, EFFICIENT_BACKEND, EaselSession, SessionBackend, SessionBlocks, activateEaselSession, backendOf, createEaselSession, currentEaselSession, deactivateEaselSession, efficientClientOpen, isEfficientBackend, provideDefaultBackend, resetAmbientEaselSession, sessionRegistry, setSessionBridgedSite, setSessionDocumentSite } from './lib/session.js';
5
5
  export { EaselSessionProvider, useEaselSession } from './lib/session-context.js';
6
- export { A as AnyDocumentAddressing, D as DETACHED_EASEL_HOST, a as DocumentAddressing, E as EaselHost, b as EaselHostAddress, c as EaselHostContext, d as EaselHostProvider, e as EaselMessageType, f as EaselToHostMessage, H as HostPickedMedia, g as HostToEaselMessage, I as InboundHostMessage, N as NO_DOCUMENT_ADDRESSING, S as SectionScreenTarget, h as SendToHost, i as createEaselHost, u as useEaselHost, j as useHostEscape } from '../host-DGmdCaNL.js';
6
+ export { A as AnyDocumentAddressing, D as DETACHED_EASEL_HOST, a as DocumentAddressing, E as EaselHost, b as EaselHostAddress, c as EaselHostContext, d as EaselHostProvider, e as EaselMessageType, f as EaselToHostMessage, H as HostPickedMedia, g as HostToEaselMessage, I as InboundHostMessage, N as NO_DOCUMENT_ADDRESSING, S as SectionScreenTarget, h as SendToHost, i as createEaselHost, u as useEaselHost, j as useHostEscape } from '../host-Cxbhp0zg.js';
7
7
  export { EaselCapabilities, EaselDocument, EaselDocumentAdapter, EaselPageRow, SiteRecord, SiteRecordPatch, WebsiteEditLock } from './lib/document-contract.js';
8
8
  import 'react';
9
9
  import '../blocks/index.js';
10
- import '../types-NQozKWEz.js';
10
+ import '../types-kR_4wYBw.js';
11
11
  import '../data/index.js';
12
12
  import '../types-41704JE4.js';
13
13
  import '../resolve-D68pb3Bx.js';
14
- import '../plan-CGREINRO.js';
14
+ import '../plan-2BLk7pWs.js';
15
15
  import '../watch-BTYOJpQU.js';
16
- import '../types-DGyDHiJV.js';
17
- import '../types-CsgMwHHa.js';
16
+ import '../types-DT8ywrFQ.js';
17
+ import '../types-Cy7rdmXt.js';
18
18
  import '../wordFit-7XpmhcaW.js';
19
19
  import '../edit-lock/index.js';
20
20
  import '../panelWidths-D9hTLR25.js';
@@ -1 +1 @@
1
- import"../chunk-GZO72N3Q.js";export{DocumentScreen,ScreenMount}from"../chunk-JQOYUH4A.js";import"../chunk-GXQCZJOP.js";import"../chunk-4BGYVIDQ.js";import"../chunk-L3GSW4XI.js";import"../chunk-FGNR22NY.js";import"../chunk-2GVCAIPX.js";import"../chunk-26OOWIJJ.js";import"../chunk-HV56SLR2.js";import"../chunk-MQNBD6AB.js";import"../chunk-LER7RKTO.js";import"../chunk-7F52SZOI.js";import"../chunk-ATOXCKEE.js";import"../chunk-RKTF5XLP.js";export{ScreenStoreProvider}from"../chunk-2L2L7G5L.js";import"../chunk-4ES5JGGX.js";import"../chunk-RFSLDGDA.js";import"../chunk-KCBEE2MC.js";import"../chunk-TZIIRGVY.js";import"../chunk-XQGV2XAK.js";import"../chunk-V6VKM2QX.js";import"../chunk-5545A3PC.js";import"../chunk-44COUKXO.js";import"../chunk-PA3PNTVV.js";import"../chunk-BVN33R76.js";import"../chunk-5ZBY24K7.js";import"../chunk-62VPYC7F.js";import"../chunk-HQ4VVRIC.js";import"../chunk-GPLMNRHR.js";export{SELECTION_MODE,ScreenCanvasTargetProvider,ScreenPartsProvider,isPinnedFirst,isPinnedLast,isSlotMode,sameInspectorMode,screenSlotsOf,useScreenBlockLook,useScreenBlockRules,useScreenBridges,useScreenCanvasDrag,useScreenCanvasFrame,useScreenCanvasHead,useScreenCanvasTarget,useScreenDevices,useScreenDocumentLabel,useScreenDocumentPass,useScreenInspectorPanel,useScreenLeftView,useScreenNodeKeys,useScreenNotify,useScreenOwnerName,useScreenParts,useScreenPickFollowsSelection,useScreenPinned,useScreenSaveSwitch,useScreenStorageNamespace,useScreenStyleClipboard,useStandaloneScreenBridges}from"../chunk-U25CP5VX.js";import"../chunk-UVQR7W6I.js";import"../chunk-2H3W5OLQ.js";import"../chunk-ZZ64CEC2.js";import"../chunk-ERR437B5.js";import"../chunk-GMCZXMOV.js";export{NO_DOCUMENT_ADDRESSING}from"../chunk-RLBXE4EU.js";import"../chunk-HNKB2ZYR.js";import"../chunk-CLOS6SSX.js";import"../chunk-S4AWJX4Q.js";import"../chunk-KG7RJWOK.js";import"../chunk-VPFNZ7TB.js";import"../chunk-LOMEH6DG.js";import"../chunk-KCOBHPN6.js";import"../chunk-R6WTQWAC.js";export{EaselSessionProvider,useEaselSession}from"../chunk-O7Q4DDJT.js";export{EFFICIENT_BACKEND,activateEaselSession,backendOf,createEaselSession,currentEaselSession,deactivateEaselSession,efficientClientOpen,isEfficientBackend,provideDefaultBackend,resetAmbientEaselSession,sessionRegistry,setSessionBridgedSite,setSessionDocumentSite}from"../chunk-RSCMJIWS.js";export{DETACHED_EASEL_HOST,EaselHostContext,EaselHostProvider,createEaselHost,useEaselHost,useHostEscape}from"../chunk-U3JP4VGF.js";import"../chunk-UMDQ6CLQ.js";import"../chunk-VVPZMWJE.js";import"../chunk-V7U33NF2.js";import"../chunk-6WY6ZXJG.js";import"../chunk-WXFZD7WC.js";import"../chunk-OSPUG6S6.js";import"../chunk-WK3AFPXY.js";import"../chunk-IQ5TA7AM.js";import"../chunk-TBF5CVPA.js";import"../chunk-DUVRZ456.js";import"../chunk-6W7WLPZH.js";import"../chunk-IYT6NN2J.js";import"../chunk-PLVEGYK6.js";import"../chunk-POSLNRTO.js";import"../chunk-KAML3KQH.js";import"../chunk-QX7GVECM.js";import"../chunk-TBY3DFKS.js";import"../chunk-ECM5F6JJ.js";import"../chunk-K6EM4F5N.js";import"../chunk-BPXEFVSQ.js";import"../chunk-XWFH2NHZ.js";import"../chunk-4JSBIW5H.js";import"../chunk-K56YDHYQ.js";import"../chunk-BALFHI3G.js";import"../chunk-RC25EGHD.js";import"../chunk-KFV7N2DJ.js";import"../chunk-67GNT6PF.js";import"../chunk-P2VEMZH5.js";import"../chunk-YRLPFZW3.js";import"../chunk-4VJATVVR.js";import"../chunk-NDRZP6YR.js";import"../chunk-H6DDIBQ4.js";import"../chunk-X4T6JT3M.js";import"../chunk-IE55HNMA.js";import"../chunk-Z6PVRXVY.js";import"../chunk-THWO5YVZ.js";import"../chunk-RE4LP46F.js";import"../chunk-MJM6SFD3.js";import"../chunk-2OAZYSWJ.js";import"../chunk-KRXQM65X.js";import"../chunk-NKB3KVAB.js";import"../chunk-23VM4PMV.js";import"../chunk-B4JN227A.js";import"../chunk-2XMHLXMA.js";import"../chunk-G3GWAP5R.js";import"../chunk-WRFD4EXD.js";import"../chunk-36LVP5WD.js";import"../chunk-MFIRYGHW.js";import"../chunk-I54UCYOU.js";import"../chunk-GOTN2KY4.js";import"../chunk-R5L2E7JX.js";import"../chunk-BSPCSC45.js";
1
+ import"../chunk-GZO72N3Q.js";export{DocumentScreen,ScreenMount}from"../chunk-OLRLHE5K.js";import"../chunk-GXQCZJOP.js";import"../chunk-WR3EVON3.js";import"../chunk-26OOWIJJ.js";import"../chunk-XLUVTPKK.js";import"../chunk-FGNR22NY.js";import"../chunk-LER7RKTO.js";import"../chunk-2GVCAIPX.js";import"../chunk-FJL3MYPA.js";import"../chunk-7F52SZOI.js";import"../chunk-MQNBD6AB.js";import"../chunk-4ES5JGGX.js";import"../chunk-JSH3XKEF.js";import"../chunk-KCBEE2MC.js";import"../chunk-U277UX5I.js";import"../chunk-INIPQLPR.js";import"../chunk-NFLO4I2N.js";import"../chunk-7TOQCTHV.js";import"../chunk-RKTF5XLP.js";export{ScreenStoreProvider}from"../chunk-Z72CYM3L.js";import"../chunk-5545A3PC.js";import"../chunk-MI54XTWD.js";import"../chunk-5ZBY24K7.js";import"../chunk-PA3PNTVV.js";import"../chunk-BVN33R76.js";import"../chunk-XDZHKYQX.js";import"../chunk-UMDQ6CLQ.js";import"../chunk-M2Z775ZC.js";import"../chunk-V63ERBLW.js";export{SELECTION_MODE,ScreenCanvasTargetProvider,ScreenPartsProvider,isPinnedFirst,isPinnedLast,isSlotMode,sameInspectorMode,screenSlotsOf,useScreenBlockLook,useScreenBlockRules,useScreenBridges,useScreenCanvasDrag,useScreenCanvasFrame,useScreenCanvasHead,useScreenCanvasTarget,useScreenDevices,useScreenDocumentLabel,useScreenDocumentPass,useScreenInspectorPanel,useScreenLeftView,useScreenNodeKeys,useScreenNotify,useScreenOwnerName,useScreenParts,useScreenPickFollowsSelection,useScreenPinned,useScreenSaveSwitch,useScreenStorageNamespace,useScreenStyleClipboard,useStandaloneScreenBridges}from"../chunk-SPQOPWCL.js";import"../chunk-3ERZNZ5S.js";import"../chunk-4UBYPRAS.js";import"../chunk-MTNBJPXX.js";import"../chunk-S4AWJX4Q.js";import"../chunk-ERR437B5.js";import"../chunk-KG7RJWOK.js";import"../chunk-GMCZXMOV.js";export{NO_DOCUMENT_ADDRESSING}from"../chunk-RLBXE4EU.js";import"../chunk-HNKB2ZYR.js";import"../chunk-CLOS6SSX.js";import"../chunk-VPFNZ7TB.js";import"../chunk-LOMEH6DG.js";import"../chunk-KCOBHPN6.js";import"../chunk-R6WTQWAC.js";export{EaselSessionProvider,useEaselSession}from"../chunk-O7Q4DDJT.js";export{EFFICIENT_BACKEND,activateEaselSession,backendOf,createEaselSession,currentEaselSession,deactivateEaselSession,efficientClientOpen,isEfficientBackend,provideDefaultBackend,resetAmbientEaselSession,sessionRegistry,setSessionBridgedSite,setSessionDocumentSite}from"../chunk-RSCMJIWS.js";export{DETACHED_EASEL_HOST,EaselHostContext,EaselHostProvider,createEaselHost,useEaselHost,useHostEscape}from"../chunk-U3JP4VGF.js";import"../chunk-4VJATVVR.js";import"../chunk-EL4F3IN7.js";import"../chunk-V7U33NF2.js";import"../chunk-6WY6ZXJG.js";import"../chunk-TBF5CVPA.js";import"../chunk-IQ5TA7AM.js";import"../chunk-DUVRZ456.js";import"../chunk-6W7WLPZH.js";import"../chunk-IYT6NN2J.js";import"../chunk-PLVEGYK6.js";import"../chunk-BU2YSTLJ.js";import"../chunk-TBY3DFKS.js";import"../chunk-N3LYD2LK.js";import"../chunk-BPXEFVSQ.js";import"../chunk-4JSBIW5H.js";import"../chunk-K56YDHYQ.js";import"../chunk-XWFH2NHZ.js";import"../chunk-YRLPFZW3.js";import"../chunk-WXFZD7WC.js";import"../chunk-BALFHI3G.js";import"../chunk-OSPUG6S6.js";import"../chunk-WK3AFPXY.js";import"../chunk-SHS6WCLL.js";import"../chunk-RC25EGHD.js";import"../chunk-KFV7N2DJ.js";import"../chunk-NDRZP6YR.js";import"../chunk-H6DDIBQ4.js";import"../chunk-GWIVPLOX.js";import"../chunk-MJM6SFD3.js";import"../chunk-Z6PVRXVY.js";import"../chunk-2OAZYSWJ.js";import"../chunk-THWO5YVZ.js";import"../chunk-RE4LP46F.js";import"../chunk-23VM4PMV.js";import"../chunk-B4JN227A.js";import"../chunk-2XMHLXMA.js";import"../chunk-G3GWAP5R.js";import"../chunk-WRFD4EXD.js";import"../chunk-36LVP5WD.js";import"../chunk-MFIRYGHW.js";import"../chunk-POSLNRTO.js";import"../chunk-KAML3KQH.js";import"../chunk-67GNT6PF.js";import"../chunk-P2VEMZH5.js";import"../chunk-X4T6JT3M.js";import"../chunk-KRXQM65X.js";import"../chunk-NKB3KVAB.js";import"../chunk-BSPCSC45.js";import"../chunk-I54UCYOU.js";import"../chunk-GOTN2KY4.js";import"../chunk-R5L2E7JX.js";
@@ -1,11 +1,11 @@
1
1
  import { RefObject } from 'react';
2
2
  import { EaselSession } from './session.js';
3
3
  import '../../blocks/index.js';
4
- import '../../types-NQozKWEz.js';
4
+ import '../../types-kR_4wYBw.js';
5
5
  import '../../data/index.js';
6
6
  import '../../types-41704JE4.js';
7
7
  import '../../resolve-D68pb3Bx.js';
8
- import '../../plan-CGREINRO.js';
8
+ import '../../plan-2BLk7pWs.js';
9
9
  import './backend-error.js';
10
10
  import '../../edit-lock/index.js';
11
11
  import './host-chrome.js';
@@ -1,13 +1,13 @@
1
- export { A as AnyDocumentAddressing, a as DocumentAddressing, N as NO_DOCUMENT_ADDRESSING } from '../../host-DGmdCaNL.js';
1
+ export { A as AnyDocumentAddressing, a as DocumentAddressing, N as NO_DOCUMENT_ADDRESSING } from '../../host-Cxbhp0zg.js';
2
2
  import './document-contract.js';
3
3
  import './session.js';
4
4
  import 'react';
5
5
  import '../../blocks/index.js';
6
- import '../../types-NQozKWEz.js';
6
+ import '../../types-kR_4wYBw.js';
7
7
  import '../../data/index.js';
8
8
  import '../../types-41704JE4.js';
9
9
  import '../../resolve-D68pb3Bx.js';
10
- import '../../plan-CGREINRO.js';
10
+ import '../../plan-2BLk7pWs.js';
11
11
  import './document-switch.js';
12
12
  import '../../engine-CvXpFE86.js';
13
13
  import '../../edit-lock/index.js';
@@ -1,11 +1,11 @@
1
1
  import { Data } from '../../blocks/index.js';
2
2
  import { EaselCapabilities } from './document-contract.js';
3
3
  import 'react';
4
- import '../../types-NQozKWEz.js';
4
+ import '../../types-kR_4wYBw.js';
5
5
  import '../../data/index.js';
6
6
  import '../../types-41704JE4.js';
7
7
  import '../../resolve-D68pb3Bx.js';
8
- import '../../plan-CGREINRO.js';
8
+ import '../../plan-2BLk7pWs.js';
9
9
 
10
10
  /**
11
11
  * WHAT A HOST DOES TO A DOCUMENT AS IT OPENS AND AS IT IS STORED.
@@ -109,19 +109,9 @@ interface EaselChrome {
109
109
  * header the settings of the host's pinned header, opened by selecting
110
110
  * the header in the canvas or its row in the tree. Without it the
111
111
  * inspector has no such panel.
112
- *
113
- * …and one the host adds to a panel of the editor's:
114
- *
115
- * chromePage drawn under the page settings of the page that STORES the
116
- * site's chrome (its footer page), on a document with a website
117
- * behind it. The storefront's is "Switch to Box header", which
118
- * builds the header group there from the shop's header row. It
119
- * takes no props: it reads the open document like any other part
120
- * of the editor (`useScreenDocument`, `useEasel`).
121
112
  */
122
113
  panels?: {
123
114
  header?: ComponentType<HostPanelProps>;
124
- chromePage?: ComponentType;
125
115
  };
126
116
  /**
127
117
  * A group of the host's own rows in the Pages panel, under the host's own
@@ -1,11 +1,11 @@
1
1
  import 'react';
2
- export { D as DETACHED_EASEL_HOST, E as EaselHost, b as EaselHostAddress, c as EaselHostContext, d as EaselHostProvider, e as EaselMessageType, f as EaselToHostMessage, H as HostPickedMedia, g as HostToEaselMessage, I as InboundHostMessage, S as SectionScreenTarget, h as SendToHost, i as createEaselHost, u as useEaselHost, j as useHostEscape } from '../../host-DGmdCaNL.js';
2
+ export { D as DETACHED_EASEL_HOST, E as EaselHost, b as EaselHostAddress, c as EaselHostContext, d as EaselHostProvider, e as EaselMessageType, f as EaselToHostMessage, H as HostPickedMedia, g as HostToEaselMessage, I as InboundHostMessage, S as SectionScreenTarget, h as SendToHost, i as createEaselHost, u as useEaselHost, j as useHostEscape } from '../../host-Cxbhp0zg.js';
3
3
  import '../../blocks/index.js';
4
- import '../../types-NQozKWEz.js';
4
+ import '../../types-kR_4wYBw.js';
5
5
  import '../../data/index.js';
6
6
  import '../../types-41704JE4.js';
7
7
  import '../../resolve-D68pb3Bx.js';
8
- import '../../plan-CGREINRO.js';
8
+ import '../../plan-2BLk7pWs.js';
9
9
  import './document-contract.js';
10
10
  import './session.js';
11
11
  import './backend-error.js';
@@ -1 +1 @@
1
- export{editorRootFocus,isSaveShortcut,useEaselKeyTarget,useEaselSaveKey,useEaselUndoKeys}from"../../chunk-RFSLDGDA.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-QX7GVECM.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-ECM5F6JJ.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-X4T6JT3M.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";import"../../chunk-23VM4PMV.js";import"../../chunk-B4JN227A.js";import"../../chunk-MFIRYGHW.js";
1
+ export{editorRootFocus,isSaveShortcut,useEaselKeyTarget,useEaselSaveKey,useEaselUndoKeys}from"../../chunk-JSH3XKEF.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-BU2YSTLJ.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-SHS6WCLL.js";import"../../chunk-23VM4PMV.js";import"../../chunk-B4JN227A.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-X4T6JT3M.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
@@ -1,12 +1,12 @@
1
1
  import * as react from 'react';
2
2
  import { ComponentType, ReactNode } from 'react';
3
- import { H as HostPickedMedia, E as EaselHost } from '../../host-DGmdCaNL.js';
3
+ import { H as HostPickedMedia, E as EaselHost } from '../../host-Cxbhp0zg.js';
4
4
  import '../../blocks/index.js';
5
- import '../../types-NQozKWEz.js';
5
+ import '../../types-kR_4wYBw.js';
6
6
  import '../../data/index.js';
7
7
  import '../../types-41704JE4.js';
8
8
  import '../../resolve-D68pb3Bx.js';
9
- import '../../plan-CGREINRO.js';
9
+ import '../../plan-2BLk7pWs.js';
10
10
  import './document-contract.js';
11
11
  import './session.js';
12
12
  import './backend-error.js';
@@ -1,11 +1,11 @@
1
- import { E as EaselHost } from '../../host-DGmdCaNL.js';
1
+ import { E as EaselHost } from '../../host-Cxbhp0zg.js';
2
2
  import 'react';
3
3
  import '../../blocks/index.js';
4
- import '../../types-NQozKWEz.js';
4
+ import '../../types-kR_4wYBw.js';
5
5
  import '../../data/index.js';
6
6
  import '../../types-41704JE4.js';
7
7
  import '../../resolve-D68pb3Bx.js';
8
- import '../../plan-CGREINRO.js';
8
+ import '../../plan-2BLk7pWs.js';
9
9
  import './document-contract.js';
10
10
  import './session.js';
11
11
  import './backend-error.js';
@@ -2,11 +2,11 @@ import { EditLock } from '../../edit-lock/index.js';
2
2
  import { EaselSession } from './session.js';
3
3
  import '../../blocks/index.js';
4
4
  import 'react';
5
- import '../../types-NQozKWEz.js';
5
+ import '../../types-kR_4wYBw.js';
6
6
  import '../../data/index.js';
7
7
  import '../../types-41704JE4.js';
8
8
  import '../../resolve-D68pb3Bx.js';
9
- import '../../plan-CGREINRO.js';
9
+ import '../../plan-2BLk7pWs.js';
10
10
  import './backend-error.js';
11
11
  import './host-chrome.js';
12
12
  import './links/link-filters.js';
@@ -15,7 +15,19 @@ type BlockChoice = {
15
15
  type: string;
16
16
  label: string;
17
17
  group?: string;
18
+ /**
19
+ * RETIRED: Add does not offer it, and a node of it already in a slot still
20
+ * belongs there (card [MERGE] One Text Block And Click Through Parts). The
21
+ * website's Heading and Eyebrow blocks: the Text block took their job, so
22
+ * nobody starts a new one, and every stored one still draws, edits, moves
23
+ * and pastes. Read through {@link offeredChoices} wherever a list is shown
24
+ * to ADD from; the whole list is still the slot's answer to "does this slot
25
+ * take it?", so a move or a paste reads it unfiltered.
26
+ */
27
+ retired?: boolean;
18
28
  };
29
+ /** The choices Add offers: every one that is not {@link BlockChoice.retired}, in order. */
30
+ declare function offeredChoices<C extends BlockChoice>(choices: readonly C[]): C[];
19
31
  /**
20
32
  * One run of consecutive choices sharing a `group` — what a menu draws under one
21
33
  * heading.
@@ -49,4 +61,4 @@ type BlockChoiceRun = {
49
61
  };
50
62
  declare function blockRuns(choices: BlockChoice[]): BlockChoiceRun[];
51
63
 
52
- export { type BlockChoice, type BlockChoiceRun, blockRuns };
64
+ export { type BlockChoice, type BlockChoiceRun, blockRuns, offeredChoices };
@@ -1 +1 @@
1
- export{blockRuns}from"../../../chunk-HQ4VVRIC.js";
1
+ export{blockRuns,offeredChoices}from"../../../chunk-M2Z775ZC.js";
@@ -1 +1 @@
1
- export{DEVICE_FIELD_MARKER,DEVICE_HIDDEN_ATTR,DEVICE_NOTE,deviceField,deviceMetaOf,deviceNote,shownTier,withoutDeviceGate}from"../../../chunk-HV56SLR2.js";import"../../../chunk-7F52SZOI.js";import"../../../chunk-VVPZMWJE.js";import"../../../chunk-MFIRYGHW.js";import"../../../chunk-BSPCSC45.js";
1
+ export{DEVICE_FIELD_MARKER,DEVICE_HIDDEN_ATTR,DEVICE_NOTE,deviceField,deviceMetaOf,deviceNote,shownTier,withoutDeviceGate}from"../../../chunk-FJL3MYPA.js";import"../../../chunk-7F52SZOI.js";import"../../../chunk-EL4F3IN7.js";import"../../../chunk-MFIRYGHW.js";import"../../../chunk-BSPCSC45.js";
@@ -1,10 +1,10 @@
1
1
  import { Config } from '../../../blocks/index.js';
2
2
  import 'react';
3
- import '../../../types-NQozKWEz.js';
3
+ import '../../../types-kR_4wYBw.js';
4
4
  import '../../../data/index.js';
5
5
  import '../../../types-41704JE4.js';
6
6
  import '../../../resolve-D68pb3Bx.js';
7
- import '../../../plan-CGREINRO.js';
7
+ import '../../../plan-2BLk7pWs.js';
8
8
 
9
9
  /** One offerable section, with the category it is grouped under. */
10
10
  type PaletteSection = {
@@ -1,11 +1,11 @@
1
1
  import { Data } from '../../../blocks/index.js';
2
2
  import { TreeItem } from './content-tree.js';
3
3
  import 'react';
4
- import '../../../types-NQozKWEz.js';
4
+ import '../../../types-kR_4wYBw.js';
5
5
  import '../../../data/index.js';
6
6
  import '../../../types-41704JE4.js';
7
7
  import '../../../resolve-D68pb3Bx.js';
8
- import '../../../plan-CGREINRO.js';
8
+ import '../../../plan-2BLk7pWs.js';
9
9
 
10
10
  declare function nodeToDoc(node: TreeItem): Data;
11
11
  declare function docToNode(data: Data): TreeItem | null;
@@ -5,14 +5,14 @@ import { panelFieldsOf } from './panel-fields.js';
5
5
  import '../../../types-BsyPh6EW.js';
6
6
  import 'react';
7
7
  import '../../../blocks/index.js';
8
- import '../../../types-NQozKWEz.js';
8
+ import '../../../types-kR_4wYBw.js';
9
9
  import '../../../data/index.js';
10
10
  import '../../../types-41704JE4.js';
11
11
  import '../../../resolve-D68pb3Bx.js';
12
- import '../../../plan-CGREINRO.js';
12
+ import '../../../plan-2BLk7pWs.js';
13
13
  import '../../../watch-BTYOJpQU.js';
14
- import '../../../types-DGyDHiJV.js';
15
- import '../../../types-CsgMwHHa.js';
14
+ import '../../../types-DT8ywrFQ.js';
15
+ import '../../../types-Cy7rdmXt.js';
16
16
  import '../../../wordFit-7XpmhcaW.js';
17
17
  import '../../../edit-lock/index.js';
18
18
  import '../../../panelWidths-D9hTLR25.js';
@@ -26,7 +26,7 @@ import '../../components/AddSidePanel.js';
26
26
  import '../section-template-types.js';
27
27
  import './content-tree.js';
28
28
  import './block-choice.js';
29
- import '../../../host-DGmdCaNL.js';
29
+ import '../../../host-Cxbhp0zg.js';
30
30
  import '../document-contract.js';
31
31
  import '../session.js';
32
32
  import '../backend-error.js';
@@ -1 +1 @@
1
- export{copyNodeStyle,nodeStyleRows,planNodePaste,shopFieldKind,siteStyleScope,styleClipboardOf}from"../../../chunk-L3GSW4XI.js";import"../../../chunk-HV56SLR2.js";import"../../../chunk-MQNBD6AB.js";import"../../../chunk-LER7RKTO.js";import"../../../chunk-7F52SZOI.js";import"../../../chunk-VVPZMWJE.js";import"../../../chunk-V7U33NF2.js";import"../../../chunk-6WY6ZXJG.js";import"../../../chunk-DUVRZ456.js";import"../../../chunk-BPXEFVSQ.js";import"../../../chunk-MFIRYGHW.js";import"../../../chunk-BSPCSC45.js";
1
+ export{copyNodeStyle,nodeStyleRows,planNodePaste,shopFieldKind,siteStyleScope,styleClipboardOf}from"../../../chunk-XLUVTPKK.js";import"../../../chunk-LER7RKTO.js";import"../../../chunk-FJL3MYPA.js";import"../../../chunk-7F52SZOI.js";import"../../../chunk-MQNBD6AB.js";import"../../../chunk-EL4F3IN7.js";import"../../../chunk-V7U33NF2.js";import"../../../chunk-6WY6ZXJG.js";import"../../../chunk-DUVRZ456.js";import"../../../chunk-BPXEFVSQ.js";import"../../../chunk-MFIRYGHW.js";import"../../../chunk-BSPCSC45.js";
@@ -1,9 +1,9 @@
1
- import { N as NodeSelection } from '../../../plan-CGREINRO.js';
1
+ import { N as NodeSelection } from '../../../plan-2BLk7pWs.js';
2
2
  import { Data } from '../../../blocks/index.js';
3
3
  import { TreeItem } from './content-tree.js';
4
4
  import '../../../types-41704JE4.js';
5
5
  import 'react';
6
- import '../../../types-NQozKWEz.js';
6
+ import '../../../types-kR_4wYBw.js';
7
7
  import '../../../data/index.js';
8
8
  import '../../../resolve-D68pb3Bx.js';
9
9
 
@@ -1 +1 @@
1
- export{useSectionOps}from"../../../chunk-V6VKM2QX.js";import"../../../chunk-U25CP5VX.js";import"../../../chunk-R6WTQWAC.js";import"../../../chunk-U3JP4VGF.js";import"../../../chunk-PLVEGYK6.js";import"../../../chunk-QX7GVECM.js";import"../../../chunk-TBY3DFKS.js";import"../../../chunk-ECM5F6JJ.js";import"../../../chunk-K6EM4F5N.js";import"../../../chunk-BPXEFVSQ.js";import"../../../chunk-XWFH2NHZ.js";import"../../../chunk-4JSBIW5H.js";import"../../../chunk-K56YDHYQ.js";import"../../../chunk-BALFHI3G.js";import"../../../chunk-RC25EGHD.js";import"../../../chunk-KFV7N2DJ.js";import"../../../chunk-67GNT6PF.js";import"../../../chunk-P2VEMZH5.js";import"../../../chunk-YRLPFZW3.js";import"../../../chunk-X4T6JT3M.js";import"../../../chunk-KRXQM65X.js";import"../../../chunk-NKB3KVAB.js";import"../../../chunk-23VM4PMV.js";import"../../../chunk-B4JN227A.js";import"../../../chunk-2XMHLXMA.js";import"../../../chunk-G3GWAP5R.js";import"../../../chunk-WRFD4EXD.js";import"../../../chunk-36LVP5WD.js";import"../../../chunk-MFIRYGHW.js";
1
+ export{useSectionOps}from"../../../chunk-NFLO4I2N.js";import"../../../chunk-SPQOPWCL.js";import"../../../chunk-R6WTQWAC.js";import"../../../chunk-U3JP4VGF.js";import"../../../chunk-PLVEGYK6.js";import"../../../chunk-BU2YSTLJ.js";import"../../../chunk-TBY3DFKS.js";import"../../../chunk-N3LYD2LK.js";import"../../../chunk-BPXEFVSQ.js";import"../../../chunk-4JSBIW5H.js";import"../../../chunk-K56YDHYQ.js";import"../../../chunk-XWFH2NHZ.js";import"../../../chunk-YRLPFZW3.js";import"../../../chunk-BALFHI3G.js";import"../../../chunk-SHS6WCLL.js";import"../../../chunk-RC25EGHD.js";import"../../../chunk-KFV7N2DJ.js";import"../../../chunk-23VM4PMV.js";import"../../../chunk-B4JN227A.js";import"../../../chunk-2XMHLXMA.js";import"../../../chunk-G3GWAP5R.js";import"../../../chunk-WRFD4EXD.js";import"../../../chunk-36LVP5WD.js";import"../../../chunk-MFIRYGHW.js";import"../../../chunk-67GNT6PF.js";import"../../../chunk-P2VEMZH5.js";import"../../../chunk-X4T6JT3M.js";import"../../../chunk-KRXQM65X.js";import"../../../chunk-NKB3KVAB.js";
@@ -1,7 +1,7 @@
1
1
  import { A as AutosaveSnapshot } from '../../engine-CvXpFE86.js';
2
- import { a as SaveIconState } from '../../types-DGyDHiJV.js';
2
+ import { a as SaveIconState } from '../../types-DT8ywrFQ.js';
3
3
  import { ScreenSaveStatusWords } from '../words.js';
4
- import '../../types-CsgMwHHa.js';
4
+ import '../../types-Cy7rdmXt.js';
5
5
  import '../../wordFit-7XpmhcaW.js';
6
6
  import 'react';
7
7
  import '../../edit-lock/index.js';
@@ -2,23 +2,23 @@ import * as react from 'react';
2
2
  import { ReactNode, MouseEvent, ComponentType } from 'react';
3
3
  import { Data } from '../../blocks/index.js';
4
4
  import { C as CanvasTarget } from '../../watch-BTYOJpQU.js';
5
- import { D as DeviceOption } from '../../types-DGyDHiJV.js';
5
+ import { D as DeviceOption } from '../../types-DT8ywrFQ.js';
6
6
  import { P as Place } from '../../types-41704JE4.js';
7
7
  import { M as MeasuredCanvas, C as CanvasDragModel } from '../../CanvasDragLayer-dZCPbQCP.js';
8
8
  import { E as EaselContextMenuItem } from '../../types-BsyPh6EW.js';
9
- import { a as EaselRailItem } from '../../types-CsgMwHHa.js';
9
+ import { E as EaselRailItem } from '../../types-Cy7rdmXt.js';
10
10
  import { StyleRow } from '../../style-clipboard/index.js';
11
11
  import { T as TreeRowMark } from '../../types-D8P9q-BG.js';
12
12
  import { AddKey } from '../components/AddSidePanel.js';
13
- import { k as AnyScreenTarget } from '../../host-DGmdCaNL.js';
13
+ import { k as AnyScreenTarget } from '../../host-Cxbhp0zg.js';
14
14
  import { HostProduct } from './host-chrome.js';
15
15
  import { EaselSession } from './session.js';
16
16
  import { AddTarget } from './puck/add-target-types.js';
17
17
  import { SlotConfigView } from './puck/content-tree.js';
18
- import '../../types-NQozKWEz.js';
18
+ import '../../types-kR_4wYBw.js';
19
19
  import '../../data/index.js';
20
20
  import '../../resolve-D68pb3Bx.js';
21
- import '../../plan-CGREINRO.js';
21
+ import '../../plan-2BLk7pWs.js';
22
22
  import '../../edit-lock/index.js';
23
23
  import '../../panelWidths-D9hTLR25.js';
24
24
  import '../../session-DSQFmIvx.js';
@@ -518,28 +518,6 @@ interface ScreenBridges {
518
518
  * from that part's own panel. A layer with nowhere to keep them hands none,
519
519
  * and the panel draws no door. */
520
520
  openStyles?: () => void;
521
- /**
522
- * The open document is the one that STORES what the layer pins: the node
523
- * every other document shows pinned and does not hold (the website's: the
524
- * page that keeps the site's one footer). It is edited there in place, so
525
- * the screen draws that document's tree without the rows an ordinary one has
526
- * round its own sections, and without the row that leads to it. Absent, the
527
- * document is an ordinary one.
528
- */
529
- pinnedSource?: boolean;
530
- /** …and the way to edit what is pinned from a document that only shows it:
531
- * what a press on its row in the tree does. Where it leads is the layer's
532
- * (the website opens its footer's editor over the page). */
533
- editPinnedSource?: () => void;
534
- /**
535
- * The layer's own way to bring the canvas to a node the screen has selected,
536
- * for a document where the screen's plain scroll does not hold: one the
537
- * layer draws something above, which reflows and takes the scroll back (the
538
- * website's footer, edited under the page it was opened from). Handed back
539
- * only for such a document, and the screen then calls it in place of its
540
- * scroll; absent, the screen scrolls.
541
- */
542
- holdCanvasOn?: (id: string) => void;
543
521
  /**
544
522
  * THE LAYER'S OWN ROWS IN A NODE'S RIGHT-CLICK MENU (0.105.0), by the group
545
523
  * each joins (`ScreenMenuRows`): the campaign designer's "Check this image
@@ -1 +1 @@
1
- export{SELECTION_MODE,ScreenCanvasTargetProvider,ScreenPartsProvider,isPinnedFirst,isPinnedLast,isSlotMode,sameInspectorMode,screenSlotsOf,useScreenBlockLook,useScreenBlockRules,useScreenBridges,useScreenCanvasDrag,useScreenCanvasFrame,useScreenCanvasHead,useScreenCanvasTarget,useScreenDevices,useScreenDocumentLabel,useScreenDocumentPass,useScreenInspectorPanel,useScreenLeftView,useScreenNodeKeys,useScreenNotify,useScreenOwnerName,useScreenParts,useScreenPickFollowsSelection,useScreenPinned,useScreenSaveSwitch,useScreenStorageNamespace,useScreenStyleClipboard,useStandaloneScreenBridges}from"../../chunk-U25CP5VX.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-QX7GVECM.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-ECM5F6JJ.js";import"../../chunk-K6EM4F5N.js";import"../../chunk-BPXEFVSQ.js";import"../../chunk-XWFH2NHZ.js";import"../../chunk-4JSBIW5H.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-BALFHI3G.js";import"../../chunk-RC25EGHD.js";import"../../chunk-KFV7N2DJ.js";import"../../chunk-67GNT6PF.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-X4T6JT3M.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";import"../../chunk-23VM4PMV.js";import"../../chunk-B4JN227A.js";import"../../chunk-2XMHLXMA.js";import"../../chunk-G3GWAP5R.js";import"../../chunk-WRFD4EXD.js";import"../../chunk-36LVP5WD.js";import"../../chunk-MFIRYGHW.js";
1
+ export{SELECTION_MODE,ScreenCanvasTargetProvider,ScreenPartsProvider,isPinnedFirst,isPinnedLast,isSlotMode,sameInspectorMode,screenSlotsOf,useScreenBlockLook,useScreenBlockRules,useScreenBridges,useScreenCanvasDrag,useScreenCanvasFrame,useScreenCanvasHead,useScreenCanvasTarget,useScreenDevices,useScreenDocumentLabel,useScreenDocumentPass,useScreenInspectorPanel,useScreenLeftView,useScreenNodeKeys,useScreenNotify,useScreenOwnerName,useScreenParts,useScreenPickFollowsSelection,useScreenPinned,useScreenSaveSwitch,useScreenStorageNamespace,useScreenStyleClipboard,useStandaloneScreenBridges}from"../../chunk-SPQOPWCL.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-BU2YSTLJ.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-N3LYD2LK.js";import"../../chunk-BPXEFVSQ.js";import"../../chunk-4JSBIW5H.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-XWFH2NHZ.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-BALFHI3G.js";import"../../chunk-SHS6WCLL.js";import"../../chunk-RC25EGHD.js";import"../../chunk-KFV7N2DJ.js";import"../../chunk-23VM4PMV.js";import"../../chunk-B4JN227A.js";import"../../chunk-2XMHLXMA.js";import"../../chunk-G3GWAP5R.js";import"../../chunk-WRFD4EXD.js";import"../../chunk-36LVP5WD.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-67GNT6PF.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-X4T6JT3M.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
@@ -3,11 +3,11 @@ import { EaselSession } from './session.js';
3
3
  import './puck/content-tree.js';
4
4
  import '../../blocks/index.js';
5
5
  import 'react';
6
- import '../../types-NQozKWEz.js';
6
+ import '../../types-kR_4wYBw.js';
7
7
  import '../../data/index.js';
8
8
  import '../../types-41704JE4.js';
9
9
  import '../../resolve-D68pb3Bx.js';
10
- import '../../plan-CGREINRO.js';
10
+ import '../../plan-2BLk7pWs.js';
11
11
  import './backend-error.js';
12
12
  import '../../edit-lock/index.js';
13
13
  import './host-chrome.js';
@@ -2,11 +2,11 @@ import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
  import { EaselSession } from './session.js';
4
4
  import '../../blocks/index.js';
5
- import '../../types-NQozKWEz.js';
5
+ import '../../types-kR_4wYBw.js';
6
6
  import '../../data/index.js';
7
7
  import '../../types-41704JE4.js';
8
8
  import '../../resolve-D68pb3Bx.js';
9
- import '../../plan-CGREINRO.js';
9
+ import '../../plan-2BLk7pWs.js';
10
10
  import './backend-error.js';
11
11
  import '../../edit-lock/index.js';
12
12
  import './host-chrome.js';