efficient-easel 21.1.0 → 23.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 (205) hide show
  1. package/README.md +45 -37
  2. package/dist/{CanvasDragLayer-CFUcBbgc.d.ts → CanvasDragLayer-NZpaX6aq.d.ts} +15 -4
  3. package/dist/{ScreenDocumentContext-1RgtGKWR.d.ts → ScreenDocumentContext-BDLUYzlM.d.ts} +4 -4
  4. package/dist/blocks/index.d.ts +16 -18
  5. package/dist/{buckets-Sw94ll9I.d.ts → buckets-_MGDYJlb.d.ts} +1 -1
  6. package/dist/canvas/index.d.ts +22 -12
  7. package/dist/canvas/index.js +1 -1
  8. package/dist/{canvas-typing-Be4FO4q7.d.ts → canvas-typing-DOBx8dD3.d.ts} +12 -2
  9. package/dist/{chunk-I67UW5UG.js → chunk-3P735WOM.js} +4 -4
  10. package/dist/{chunk-KWLHKKZO.js → chunk-4YUC7B7E.js} +1 -1
  11. package/dist/chunk-6F5GO337.js +1 -0
  12. package/dist/{chunk-3S5N4HLJ.js → chunk-6NJHYXJM.js} +1 -1
  13. package/dist/{chunk-BTDI7JAA.js → chunk-A6ZP5II4.js} +2 -2
  14. package/dist/{chunk-IWCKVZHS.js → chunk-AGWKB77Q.js} +1 -1
  15. package/dist/chunk-AT4DDMJS.js +1 -0
  16. package/dist/chunk-FF54HWSE.js +8 -0
  17. package/dist/{chunk-MLQKNED6.js → chunk-FOOK54T2.js} +1 -1
  18. package/dist/{chunk-SWBADIQT.js → chunk-G3HAKQUF.js} +1 -1
  19. package/dist/{chunk-ZOSEBPAI.js → chunk-GKG3M5QK.js} +1 -1
  20. package/dist/chunk-GXRS52JD.js +5 -0
  21. package/dist/{chunk-U7TFWHST.js → chunk-HLMQ34GP.js} +1 -1
  22. package/dist/chunk-HZSZT3BE.js +7 -0
  23. package/dist/{chunk-EB6NI2VK.js → chunk-IYHO4XQX.js} +1 -1
  24. package/dist/chunk-IZGFJWH4.js +1 -0
  25. package/dist/chunk-KXM6YRG2.js +1 -0
  26. package/dist/chunk-KXTXYINN.js +16 -0
  27. package/dist/chunk-LN43DP2A.js +18 -0
  28. package/dist/{chunk-PFFH7ASD.js → chunk-MXECWHRJ.js} +17 -17
  29. package/dist/chunk-OXZDSOZV.js +1 -0
  30. package/dist/{chunk-BSHIQIZC.js → chunk-RPMSET77.js} +1 -1
  31. package/dist/{chunk-K7BTCBWD.js → chunk-TGZCD6IP.js} +1 -1
  32. package/dist/{chunk-U5DNBT63.js → chunk-UMBNBCL4.js} +1 -1
  33. package/dist/chunk-VZUXOZGP.js +64 -0
  34. package/dist/{chunk-GWYNMSIP.js → chunk-XJ23ULBP.js} +1 -1
  35. package/dist/{chunk-DNQ7AF6K.js → chunk-YHEYJKQL.js} +1 -1
  36. package/dist/chunk-YU3WHLGI.js +1 -0
  37. package/dist/copy/index.d.ts +21 -7
  38. package/dist/copy/index.js +29 -29
  39. package/dist/data/index.d.ts +30 -22
  40. package/dist/data/index.js +1 -1
  41. package/dist/drag/drag.css +10 -1
  42. package/dist/drag/index.d.ts +5 -5
  43. package/dist/drag/index.js +1 -1
  44. package/dist/draw/index.d.ts +2 -2
  45. package/dist/easel/easel.css +15 -10
  46. package/dist/easel/index.d.ts +97 -60
  47. package/dist/easel/index.js +1 -1
  48. package/dist/edit-lock/index.d.ts +5 -5
  49. package/dist/fields/fields.css +1 -1
  50. package/dist/fields/index.d.ts +17 -17
  51. package/dist/fields/index.js +1 -1
  52. package/dist/node-ops/index.d.ts +3 -3
  53. package/dist/node-ops/index.js +1 -1
  54. package/dist/panel/index.d.ts +4 -4
  55. package/dist/panel/panel.css +6 -1
  56. package/dist/pick/index.d.ts +5 -5
  57. package/dist/{plan-CZS902DV.d.ts → plan-D0DgSLnY.d.ts} +5 -5
  58. package/dist/render/index.d.ts +19 -19
  59. package/dist/render/index.js +5 -5
  60. package/dist/{repeat-BNgSq2Nw.d.ts → repeat-D65bJS8d.d.ts} +1 -1
  61. package/dist/{resolve-D68pb3Bx.d.ts → resolve-Bz4mszpL.d.ts} +5 -5
  62. package/dist/screen/components/AddBlockRow.js +1 -1
  63. package/dist/screen/components/AddSidePanel.d.ts +2 -2
  64. package/dist/screen/components/AddSidePanel.js +1 -1
  65. package/dist/screen/components/NodeContextMenu.d.ts +17 -20
  66. package/dist/screen/components/NodeContextMenu.js +1 -1
  67. package/dist/screen/components/PageEditGuardNotices.js +1 -1
  68. package/dist/screen/components/PreviewDeviceContext.d.ts +1 -1
  69. package/dist/screen/components/PreviewPartsContext.d.ts +2 -2
  70. package/dist/screen/components/SaveControls.d.ts +8 -8
  71. package/dist/screen/components/ScreenChrome.js +1 -1
  72. package/dist/screen/components/ScreenDocumentContext.d.ts +5 -5
  73. package/dist/screen/components/ScreenDocumentContext.js +1 -1
  74. package/dist/screen/components/ScreenMount.d.ts +8 -8
  75. package/dist/screen/components/ScreenMount.js +1 -1
  76. package/dist/screen/components/ScreenStoreProvider.d.ts +12 -12
  77. package/dist/screen/components/ScreenStoreProvider.js +1 -1
  78. package/dist/screen/components/SectionScreenShell.js +17 -17
  79. package/dist/screen/components/usePartBridge.d.ts +10 -10
  80. package/dist/screen/components/usePartBridge.js +1 -1
  81. package/dist/screen/index.d.ts +8 -8
  82. package/dist/screen/index.js +1 -1
  83. package/dist/screen/lib/admin-bridge.d.ts +4 -4
  84. package/dist/screen/lib/document/add-target-types.js +0 -1
  85. package/dist/screen/lib/document/block-types-in.d.ts +2 -1
  86. package/dist/screen/lib/document/block-types-in.js +1 -1
  87. package/dist/screen/lib/document/content-tree.d.ts +8 -8
  88. package/dist/screen/lib/document/device-fields.d.ts +7 -7
  89. package/dist/screen/lib/document/device-fields.js +1 -1
  90. package/dist/screen/lib/document/field-buckets.d.ts +1 -1
  91. package/dist/screen/lib/document/field-markers.d.ts +5 -5
  92. package/dist/screen/lib/document/palette-sections.d.ts +5 -5
  93. package/dist/screen/lib/document/panel-fields.d.ts +6 -6
  94. package/dist/screen/lib/document/panel-no-control-mark.d.ts +4 -5
  95. package/dist/screen/lib/document/part-id.d.ts +1 -1
  96. package/dist/screen/lib/document/preview-events.d.ts +2 -2
  97. package/dist/screen/lib/document/preview-selection-context.d.ts +2 -2
  98. package/dist/screen/lib/document/section-doc.d.ts +5 -5
  99. package/dist/screen/lib/document/section-doc.js +1 -1
  100. package/dist/screen/lib/document/slot-child-name.d.ts +1 -1
  101. package/dist/screen/lib/document/slot-section-spec.d.ts +1 -1
  102. package/dist/screen/lib/document/slot-section-spec.js +0 -1
  103. package/dist/screen/lib/document/style-clipboard.d.ts +8 -8
  104. package/dist/screen/lib/document/style-clipboard.js +1 -1
  105. package/dist/screen/lib/document/tree-reveal.d.ts +6 -6
  106. package/dist/screen/lib/document/tree-reveal.js +1 -1
  107. package/dist/screen/lib/document/use-section-ops.d.ts +6 -6
  108. package/dist/screen/lib/document/use-section-ops.js +1 -1
  109. package/dist/screen/lib/document-addressing.d.ts +5 -5
  110. package/dist/screen/lib/document-hooks.d.ts +4 -4
  111. package/dist/screen/lib/host.d.ts +5 -5
  112. package/dist/screen/lib/key-scope.d.ts +1 -1
  113. package/dist/screen/lib/key-scope.js +1 -1
  114. package/dist/screen/lib/media-panel.d.ts +5 -5
  115. package/dist/screen/lib/media-picker.d.ts +6 -6
  116. package/dist/screen/lib/page-lock.d.ts +4 -4
  117. package/dist/screen/lib/screen-parts.d.ts +25 -16
  118. package/dist/screen/lib/screen-parts.js +1 -1
  119. package/dist/screen/lib/section-templates.d.ts +4 -4
  120. package/dist/screen/lib/session-context.d.ts +4 -4
  121. package/dist/screen/lib/session.d.ts +5 -5
  122. package/dist/screen/lib/shared-sections.d.ts +4 -4
  123. package/dist/screen/screen.css +15 -15
  124. package/dist/screen/words.d.ts +4 -3
  125. package/dist/screen/words.js +1 -1
  126. package/dist/{session-DSQFmIvx.d.ts → session-EsjORLQ0.d.ts} +1 -1
  127. package/dist/shell/shell.css +2 -2
  128. package/dist/strings/index.d.ts +4 -4
  129. package/dist/strings/index.js +2 -2
  130. package/dist/style-clipboard/index.d.ts +2 -2
  131. package/dist/text-styles/index.d.ts +3 -3
  132. package/dist/text-styles/index.js +21 -21
  133. package/dist/text-styles/model.d.ts +1 -1
  134. package/dist/{types-B8NwXKlE.d.ts → types-BIytwvvH.d.ts} +3 -3
  135. package/dist/{types-Cq53lL8d.d.ts → types-BljCVdzR.d.ts} +18 -18
  136. package/dist/{types-41704JE4.d.ts → types-Dq180WRV.d.ts} +8 -8
  137. package/dist/{useNodeOps-fIDWzftn.d.ts → useNodeOps-igxrnEhq.d.ts} +2 -2
  138. package/dist/{watch-D8xZow3y.d.ts → watch-Unf6SfUf.d.ts} +3 -3
  139. package/dist/{words-gIDCeRv3.d.ts → words-B5Gb7KFq.d.ts} +1 -1
  140. package/dist/{words-BpTjCfqO.d.ts → words-Cf5VT2Ic.d.ts} +2 -2
  141. package/dist/{words-CmEnDoOe.d.ts → words-fbR9IwxH.d.ts} +1 -1
  142. package/package.json +3 -147
  143. package/dist/chunk-2C7W64S5.js +0 -8
  144. package/dist/chunk-2L6KWUBC.js +0 -1
  145. package/dist/chunk-4FD7TAOE.js +0 -1
  146. package/dist/chunk-67HCYOW4.js +0 -1
  147. package/dist/chunk-A2VVB4RH.js +0 -0
  148. package/dist/chunk-BDSLF5BR.js +0 -1
  149. package/dist/chunk-CPL43ZLJ.js +0 -1
  150. package/dist/chunk-L55YIXDC.js +0 -1
  151. package/dist/chunk-MZ5GSSZ3.js +0 -7
  152. package/dist/chunk-OHZHYROJ.js +0 -5
  153. package/dist/chunk-PRHBWA5V.js +0 -0
  154. package/dist/chunk-TUXLORVR.js +0 -15
  155. package/dist/chunk-WJJ7H42G.js +0 -18
  156. package/dist/chunk-YIUE4US7.js +0 -0
  157. package/dist/chunk-YVFYWAYU.js +0 -65
  158. package/dist/screen/lib/puck/add-target-types.d.ts +0 -3
  159. package/dist/screen/lib/puck/add-target-types.js +0 -1
  160. package/dist/screen/lib/puck/block-choice.d.ts +0 -1
  161. package/dist/screen/lib/puck/block-choice.js +0 -1
  162. package/dist/screen/lib/puck/block-types-in.d.ts +0 -1
  163. package/dist/screen/lib/puck/block-types-in.js +0 -1
  164. package/dist/screen/lib/puck/content-tree.d.ts +0 -1
  165. package/dist/screen/lib/puck/content-tree.js +0 -1
  166. package/dist/screen/lib/puck/device-fields.d.ts +0 -4
  167. package/dist/screen/lib/puck/device-fields.js +0 -1
  168. package/dist/screen/lib/puck/field-buckets.d.ts +0 -2
  169. package/dist/screen/lib/puck/field-buckets.js +0 -1
  170. package/dist/screen/lib/puck/field-markers.d.ts +0 -2
  171. package/dist/screen/lib/puck/field-markers.js +0 -1
  172. package/dist/screen/lib/puck/hidable.d.ts +0 -1
  173. package/dist/screen/lib/puck/hidable.js +0 -1
  174. package/dist/screen/lib/puck/palette-sections.d.ts +0 -8
  175. package/dist/screen/lib/puck/palette-sections.js +0 -1
  176. package/dist/screen/lib/puck/panel-fields.d.ts +0 -1
  177. package/dist/screen/lib/puck/panel-fields.js +0 -1
  178. package/dist/screen/lib/puck/panel-no-control-mark.d.ts +0 -2
  179. package/dist/screen/lib/puck/panel-no-control-mark.js +0 -1
  180. package/dist/screen/lib/puck/part-id.d.ts +0 -1
  181. package/dist/screen/lib/puck/part-id.js +0 -1
  182. package/dist/screen/lib/puck/preview-click.d.ts +0 -1
  183. package/dist/screen/lib/puck/preview-click.js +0 -1
  184. package/dist/screen/lib/puck/preview-dom.d.ts +0 -1
  185. package/dist/screen/lib/puck/preview-dom.js +0 -1
  186. package/dist/screen/lib/puck/preview-events.d.ts +0 -1
  187. package/dist/screen/lib/puck/preview-events.js +0 -1
  188. package/dist/screen/lib/puck/preview-selection-context.d.ts +0 -2
  189. package/dist/screen/lib/puck/preview-selection-context.js +0 -1
  190. package/dist/screen/lib/puck/section-doc.d.ts +0 -9
  191. package/dist/screen/lib/puck/section-doc.js +0 -1
  192. package/dist/screen/lib/puck/slot-child-name.d.ts +0 -1
  193. package/dist/screen/lib/puck/slot-child-name.js +0 -1
  194. package/dist/screen/lib/puck/slot-heal.d.ts +0 -2
  195. package/dist/screen/lib/puck/slot-heal.js +0 -1
  196. package/dist/screen/lib/puck/slot-section-spec.d.ts +0 -1
  197. package/dist/screen/lib/puck/slot-section-spec.js +0 -1
  198. package/dist/screen/lib/puck/style-clipboard.d.ts +0 -42
  199. package/dist/screen/lib/puck/style-clipboard.js +0 -1
  200. package/dist/screen/lib/puck/text-control-kinds.d.ts +0 -1
  201. package/dist/screen/lib/puck/text-control-kinds.js +0 -1
  202. package/dist/screen/lib/puck/tree-reveal.d.ts +0 -1
  203. package/dist/screen/lib/puck/tree-reveal.js +0 -1
  204. package/dist/screen/lib/puck/use-section-ops.d.ts +0 -9
  205. package/dist/screen/lib/puck/use-section-ops.js +0 -1
@@ -1,20 +1,20 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
  import { Data } from '../../blocks/index.js';
4
- import { P as Permissions } from '../../types-Cq53lL8d.js';
4
+ import { P as Permissions } from '../../types-BljCVdzR.js';
5
5
  import { ScreenParts } from '../lib/screen-parts.js';
6
6
  import '../../data/index.js';
7
- import '../../types-41704JE4.js';
8
- import '../../resolve-D68pb3Bx.js';
9
- import '../../plan-CZS902DV.js';
10
- import '../../watch-D8xZow3y.js';
7
+ import '../../types-Dq180WRV.js';
8
+ import '../../resolve-Bz4mszpL.js';
9
+ import '../../plan-D0DgSLnY.js';
10
+ import '../../watch-Unf6SfUf.js';
11
11
  import '../../types-B3iSHX-w.js';
12
12
  import '../../types-Cy7rdmXt.js';
13
13
  import '../../wordFit-7XpmhcaW.js';
14
14
  import '../../edit-lock/index.js';
15
15
  import '../../panelWidths-DgQXiPXU.js';
16
- import '../../CanvasDragLayer-CFUcBbgc.js';
17
- import '../../session-DSQFmIvx.js';
16
+ import '../../CanvasDragLayer-NZpaX6aq.js';
17
+ import '../../session-EsjORLQ0.js';
18
18
  import '../../words-SD4neL0n.js';
19
19
  import '../../types-BbOBWXMP.js';
20
20
  import '../../style-clipboard/index.js';
@@ -27,7 +27,7 @@ import '../lib/section-template-types.js';
27
27
  import '../lib/document/content-tree.js';
28
28
  import '../lib/shared-section-types.js';
29
29
  import '../lib/document/block-choice.js';
30
- import '../../ScreenDocumentContext-1RgtGKWR.js';
30
+ import '../../ScreenDocumentContext-BDLUYzlM.js';
31
31
  import '../lib/document-contract.js';
32
32
  import '../lib/document-switch.js';
33
33
  import '../../engine-CvXpFE86.js';
@@ -49,10 +49,10 @@ import '../lib/document/slot-section-spec.js';
49
49
  *
50
50
  * What follows is the store's own reasoning, from where it was written:
51
51
  *
52
- * THE WEBSITE EDITOR'S STORE — efficient-easel's engine in place of `<Puck>`
53
- * (blueprint step 5.5), taking the props `<Puck>` took here:
52
+ * THE WEBSITE EDITOR'S STORE — efficient-easel's engine in place of the old library's root component
53
+ * (blueprint step 5.5), taking the props the old library's root component took here:
54
54
  *
55
- * - `data` is read ONCE, when the editor mounts — as `<Puck>` read it. A
55
+ * - `data` is read ONCE, when the editor mounts — as the old library's root component read it. A
56
56
  * different page is a new mount: the document context drops to "Loading…"
57
57
  * on a retarget, and the standalone Section editor keys this by section.
58
58
  * - `config` is followed LIVE (`setConfig`): the Site styles gap row rebuilds
@@ -65,7 +65,7 @@ import '../lib/document/slot-section-spec.js';
65
65
  * - `permissions` follow the edit lock (`documentPermissions`, every key
66
66
  * named).
67
67
  *
68
- * `<Puck>`'s `overrides` are the canvas's business now — see `SiteCanvas`.
68
+ * the old library's root component `overrides` are the canvas's business now — see `SiteCanvas`.
69
69
  */
70
70
  declare function ScreenStoreProvider({ config, data, onChange, permissions, parts, children, }: {
71
71
  /** The screen's parts, from the layer that owns the document (the website's
@@ -1 +1 @@
1
- export{ScreenStoreProvider as default}from"../../chunk-GWYNMSIP.js";import"../../chunk-OHZHYROJ.js";import"../../chunk-PRHBWA5V.js";import"../../chunk-FHCKFOCD.js";import"../../chunk-MQA7OFRA.js";import"../../chunk-TCAAOYQY.js";import"../../chunk-TUXLORVR.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-PFFH7ASD.js";import"../../chunk-BPXEFVSQ.js";import"../../chunk-ZEH6QLBH.js";import"../../chunk-FM6JO4WF.js";import"../../chunk-KFV7N2DJ.js";import"../../chunk-WHS6Y55E.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-IWCKVZHS.js";import"../../chunk-FIVU2COQ.js";import"../../chunk-BSHIQIZC.js";import"../../chunk-MZ5GSSZ3.js";import"../../chunk-KRL3IUV3.js";import"../../chunk-Y2T3JX7K.js";import"../../chunk-KFWNGPW3.js";import"../../chunk-S3DUFDQ6.js";import"../../chunk-JACEEVVF.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-3S5N4HLJ.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-4FD7TAOE.js";import"../../chunk-LF3FUSCQ.js";import"../../chunk-K7BTCBWD.js";import"../../chunk-L55YIXDC.js";
1
+ export{ScreenStoreProvider as default}from"../../chunk-XJ23ULBP.js";import"../../chunk-GXRS52JD.js";import"../../chunk-FHCKFOCD.js";import"../../chunk-MQA7OFRA.js";import"../../chunk-TCAAOYQY.js";import"../../chunk-KXTXYINN.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-MXECWHRJ.js";import"../../chunk-BPXEFVSQ.js";import"../../chunk-WHS6Y55E.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-ZEH6QLBH.js";import"../../chunk-AGWKB77Q.js";import"../../chunk-FIVU2COQ.js";import"../../chunk-RPMSET77.js";import"../../chunk-FM6JO4WF.js";import"../../chunk-KFV7N2DJ.js";import"../../chunk-HZSZT3BE.js";import"../../chunk-KRL3IUV3.js";import"../../chunk-Y2T3JX7K.js";import"../../chunk-KFWNGPW3.js";import"../../chunk-JACEEVVF.js";import"../../chunk-S3DUFDQ6.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-6NJHYXJM.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-YU3WHLGI.js";import"../../chunk-LF3FUSCQ.js";import"../../chunk-TGZCD6IP.js";import"../../chunk-KXM6YRG2.js";
@@ -1,17 +1,17 @@
1
- import{AddBlockRow as e}from"../../chunk-U7TFWHST.js";import{scrollPreviewToSection as n,gotoPreviewSlide as o}from"../../chunk-DDH2DYQP.js";import{useEaselUndoKeys as r}from"../../chunk-DNQ7AF6K.js";import{SlotChildActionsProvider as t}from"../../chunk-KCBEE2MC.js";import{DEFAULT_PANEL_W as s}from"../../chunk-C56MPJBH.js";import{usePartBridge as i}from"../../chunk-67HCYOW4.js";import{useSectionOps as c}from"../../chunk-MLQKNED6.js";import"../../chunk-RUQOIQWI.js";import{SELECTION_MODE as p,useScreenPinned as l,useScreenCanvasFrame as m,useScreenInspectorPanel as d,useScreenPickFollowsSelection as a,sameInspectorMode as u,useStandaloneScreenBridges as h,useScreenBlockLook as k,useScreenBlockRules as j,isSelectionMode as f}from"../../chunk-OHZHYROJ.js";import"../../chunk-PRHBWA5V.js";import{MediaPopup as S}from"../../chunk-2G6MAXPY.js";import{useScreenDocument as y}from"../../chunk-BTDI7JAA.js";import"../../chunk-77IWWW6X.js";import"../../chunk-ERR437B5.js";import"../../chunk-UNVKPVZW.js";import"../../chunk-GMCZXMOV.js";import"../../chunk-RLBXE4EU.js";import"../../chunk-HNKB2ZYR.js";import"../../chunk-CLOS6SSX.js";import"../../chunk-BIK3AO2V.js";import"../../chunk-LOMEH6DG.js";import"../../chunk-KCOBHPN6.js";import"../../chunk-FHCKFOCD.js";import"../../chunk-YM4UEGBV.js";import"../../chunk-SNF5764Q.js";import"../../chunk-MQA7OFRA.js";import{DEFAULT_SCREEN_WORDS as A}from"../../chunk-EB6NI2VK.js";import{slotChildRowName as C}from"../../chunk-SSRYU3YG.js";import"../../chunk-AJ2SUSET.js";import"../../chunk-ANPOR6EY.js";import"../../chunk-6UAEFOJ4.js";import"../../chunk-R4AUZVA3.js";import{slotFieldsOf as N,nestsInTree as O}from"../../chunk-TCAAOYQY.js";import{useEasel as x}from"../../chunk-TUXLORVR.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-PFFH7ASD.js";import"../../chunk-BPXEFVSQ.js";import"../../chunk-ZEH6QLBH.js";import"../../chunk-FM6JO4WF.js";import"../../chunk-KFV7N2DJ.js";import{LayersTree as F,Subtree as D,TreeRow as H,TreeRowAction as W,TreeSeam as B}from"../../chunk-WHS6Y55E.js";import{DEFAULT_TREE_WORDS as P}from"../../chunk-K56YDHYQ.js";import"../../chunk-IWCKVZHS.js";import"../../chunk-FIVU2COQ.js";import"../../chunk-BSHIQIZC.js";import"../../chunk-NDRZP6YR.js";import{DEFAULT_SAVE_WORDS as R,saveIndicator as V}from"../../chunk-H6DDIBQ4.js";import{SaveState as Y,panelWidthVars as g}from"../../chunk-ZG6PVMC3.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-AJSDWWJW.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MZ5GSSZ3.js";import"../../chunk-KRL3IUV3.js";import"../../chunk-Y2T3JX7K.js";import"../../chunk-KFWNGPW3.js";import"../../chunk-S3DUFDQ6.js";import"../../chunk-JACEEVVF.js";import{useWords as I}from"../../chunk-MFIRYGHW.js";import"../../chunk-WJJ7H42G.js";import"../../chunk-TQ5Y6S2X.js";import{useTreeDrag as M}from"../../chunk-3S5N4HLJ.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-4FD7TAOE.js";import"../../chunk-LF3FUSCQ.js";import{zoneKey as v,parseZoneKey as z}from"../../chunk-K7BTCBWD.js";import"../../chunk-L55YIXDC.js";import"../../chunk-467WWV4I.js";import"../../chunk-TIAWIOGD.js";import"../../chunk-MGVI67QV.js";import{useState as E,useRef as b,useEffect as w,useCallback as Q,Fragment as K}from"react";import{Tooltip as J}from"efficient-shell/ui";import{TrashIcon as T}from"efficient-shell/icons/efficient";import{jsxs as Z,jsx as U,Fragment as L}from"react/jsx-runtime";var G=e=>n=>{n.target.closest("button, input")||e()},$={rowClick:G};function X(){const{saveState:X,readOnly:q,readOnlyReason:_=null}=y(),ee=c(),{appState:ne,selectedItem:oe,config:re}=x(e=>e),[te,se]=E(p),ie=I("screen",A),ce=I("tree",P),pe=I("save",R),{first:le,last:me,panelOf:de}=l(),ae=de(le),ue=m(),he=d(),ke=ne.data.content?.[0]??null,je=ke?.props.id??null,fe=ke?.type===le,Se=ke?.type===me,ye=b(null),Ae=b(null);r(Ae),a(oe?.props.id),w(()=>{je&&ye.current!==je&&(ye.current=je,fe?se(ae??p):oe||ee.select({index:0}))},[je,oe,ee,fe]);const Ce=Q(e=>se(n=>u(n,e)?n:e),[]),Ne=h({kind:te.kind,mode:te,open:Ce,show:e=>se(e),reveal:()=>{},select:(e,n)=>{se(e=>u(e,n)?e:n),ee.select(e)}}),{selectNode:Oe}=i({mode:te,setMode:se,onOpenPart:n}),xe=k(),{labelAtLevel:Fe,Icon:De}=xe,{canAddTo:He}=j(),We=e=>Fe(e,"block",re.components[e]?.label??e),Be=e=>Fe(e,"section",We(e)),Pe=!fe&&f(te)&&oe?.props.id===je,Re=ke?He(ke.type)?.spec??null:null,Ve=ke&&Re?`${ke.props.id}:${Re.slot}`:null,Ye=ke&&Re&&Array.isArray(ke.props[Re.slot])?ke.props[Re.slot]:[],ge=e=>C(e,We,xe.plainText),Ie=(e,r)=>{ke&&Re&&Ve&&(se(p),Re.slider?(o(String(ke.props.id),e),ee.select({index:e,zone:Ve}),n(String(ke.props.id))):(ee.select({index:e,zone:Ve}),n(r)))},Me=()=>{if(!ke||!Re||!Ve)return;const e=Ye.length;ee.insertComponent(Ve,Re.childType,e),se(p),Re.slider?requestAnimationFrame(()=>{o(String(ke.props.id),e),ee.select({index:e,zone:Ve})}):ee.select({index:e,zone:Ve})},ve=e=>N(re,e),ze=e=>{const{parentId:n,slot:o}=z(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(ke)?.props[o];return Array.isArray(t)?t.length:0},Ee=(e,n,o)=>{const r=Math.min(Math.max(o,0),ze(e)),t=n<r?r-1:r;t!==n&&(ee.reorderComponent(e,n,t),se(p),ee.select({index:t,zone:e}))},be=M({keyOf:e=>e.id,readOnly:Boolean(q),canDrop:(e,n)=>v(n)===e.zone&&n.index>=0&&n.index<=ze(e.zone),onDrop:(e,n)=>Ee(e.zone,e.index,n.index),onStep:(e,n)=>Ee(e.zone,e.index,n<0?e.index-1:e.index+2)}),we=(e,n)=>/* @__PURE__ */U(B,{...q?{}:be.seam({place:{...z(e),index:n}})},`seam:${e}:${n}`),Qe=e=>xe.blockRowName(e,We),Ke=(e,o,r)=>{se(p),ee.select({index:o,zone:e}),n(r)},Je=(e,n,o)=>{ee.insertComponent(e,n,o),se(p),ee.select({index:o,zone:e})},Te=(n,o,r)=>/* @__PURE__ */U(e,{choices:r,onPick:e=>Je(n,e,o)}),Ze=(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=He(e.type),s=t?.choices??null,i="footer"===t?.source?Qe:ge;/* @__PURE__ */
2
- return Z(L,{children:[o.map(({child:e,zone:o,index:r})=>{const t=oe?.props.id===e.props.id,s=O(re,e.type,n),c=i(e),l=String(e.props.id),m=()=>Ke(o,r,l),{rowProps:d,...a}=be.row({item:{id:l,zone:o,index:r},place:{...z(o),index:r}},{onClick:G(m)});/* @__PURE__ */
3
- return Z(K,{children:[0===r&&we(o,0),
4
- /* @__PURE__ */U(H,{words:ce,icon:/* @__PURE__ */U(De,{type:e.type,size:13}),name:c,selected:t,onSelect:m,...a,actions:/* @__PURE__ */U(W,{kind:"delete",label:ie.deleteNamed({name:c}),onClick:()=>{return e=o,n=r,ee.removeComponent(e,n),se(p),void ee.select(null);var e,n},children:/* @__PURE__ */U(T,{size:13})}),rowProps:d}),s&&/* @__PURE__ */U(D,{children:Ze(e,n+1)}),we(o,r+1)]},String(e.props.id??`${o}-${r}`))}),t&&s?Te(`${e.props.id}:${t.slot}`,o.length,s):null]})},Ue="HeroSingle"===ke?.type,Le=Boolean(ke)&&(Boolean(He(ke.type))||ve(ke.type).length>0),Ge=Boolean(ke)&&(Boolean(Re)||Se||fe||Ue||Le);/* @__PURE__ */
5
- return Z("div",{ref:Ae,className:"sf-editor es-editor",style:g(s),children:[
6
- /* @__PURE__ */U("div",{className:"sf-section-bar",children:/* @__PURE__ */U(Y,null!==_?{tone:"off",label:_,role:"status"}:{...V(X,pe),role:"status"})}),
7
- /* @__PURE__ */Z("div",{className:"sf-body",children:[Ge&&ke&&/* @__PURE__ */Z("aside",{className:"es-sidepanel es-sidepanel--left sf-panel sf-panel--left",children:[
8
- /* @__PURE__ */U("div",{className:"sf-panel-head",children:/* @__PURE__ */U(J,{content:fe?ie.headerSettings:ie.sectionSettings({name:Be(ke.type)}),side:"bottom",children:/* @__PURE__ */U("button",{type:"button",className:"sf-panel-title sf-panel-title--btn "+(Pe?"is-selected":""),"aria-pressed":Pe,onClick:()=>{fe?se(ae??p):(se(p),ee.select({index:0}))},children:Be(ke.type)})})}),
9
- /* @__PURE__ */U(F,{className:"sf-tree sf-scroll",rootProps:be.rootProps(),words:ce,children:/* @__PURE__ */U(D,{children:fe?
10
- /* @__PURE__ */U(H,{words:ce,icon:/* @__PURE__ */U(De,{type:"header",size:13}),name:ie.headerSettings,selected:te.kind===ae?.kind,onSelect:()=>se(ae??p),rowProps:{onClick:G(()=>se(ae??p))}}):Re?/* @__PURE__ */Z(L,{children:[Ye.map((e,n)=>{const o=oe?.props.id===e.props.id,r=ge(e),t=String(e.props.id),s=()=>Ie(n,t),{rowProps:i,...c}=be.row({item:{id:t,zone:Ve,index:n},place:{...z(Ve),index:n}},{onClick:G(s)});/* @__PURE__ */
11
- return Z(K,{children:[0===n&&we(Ve,0),
12
- /* @__PURE__ */U(H,{words:ce,icon:/* @__PURE__ */U(De,{type:e.type,size:13}),name:r,selected:o,onSelect:s,...c,actions:/* @__PURE__ */U(W,{kind:"delete",label:ie.deleteNamed({name:r}),onClick:()=>{return e=n,void(Ve&&(ee.removeComponent(Ve,e),se(p),ee.select(null)));var e},children:/* @__PURE__ */U(T,{size:13})}),rowProps:i}),we(Ve,n+1)]},String(e.props.id??n))}),
13
- /* @__PURE__ */Z("button",{type:"button",className:"sf-add-card",onClick:Me,children:[
14
- /* @__PURE__ */U("span",{className:"sf-plus sf-plus--sm",children:"+"}),Re.addLabel]}),je?Ne.partRows?.(ke,$):null]}):Ze(ke,1)})})]}),
15
- /* @__PURE__ */U("div",{className:"sf-center",children:/* @__PURE__ */U("div",{className:"sf-preview-host",children:/* @__PURE__ */U(ue,{})})}),
16
- /* @__PURE__ */U(t,{value:{selectChild:(e,n,o,r)=>"section"===He(r)?.source?Ie(n,o):Ke(e,n,o),addChild:(e,n,o,r,t)=>"section"===He(t)?.source?Me():Je(`${e}:${n}`,o,r),childRowName:ge,blockRowName:Qe},children:/* @__PURE__ */U(he,{mode:te,onOpenWebsiteSettings:Ne.openSettings??(()=>{}),onSelectNode:Oe,hideNodeActions:!0})})]}),
17
- /* @__PURE__ */U(S,{})]})}export{X as default};
1
+ import{AddBlockRow as e}from"../../chunk-HLMQ34GP.js";import{scrollPreviewToSection as n,gotoPreviewSlide as o}from"../../chunk-DDH2DYQP.js";import{useEaselUndoKeys as r}from"../../chunk-YHEYJKQL.js";import{SlotChildActionsProvider as t}from"../../chunk-KCBEE2MC.js";import{DEFAULT_PANEL_W as s}from"../../chunk-C56MPJBH.js";import{usePartBridge as i}from"../../chunk-6F5GO337.js";import{useSectionOps as c}from"../../chunk-FOOK54T2.js";import"../../chunk-RUQOIQWI.js";import{SELECTION_MODE as p,useScreenPinned as l,useScreenCanvasFrame as m,useScreenInspectorPanel as d,useScreenPickFollowsSelection as a,sameInspectorMode as u,useStandaloneScreenBridges as h,useScreenBlockLook as k,useScreenBlockRules as j,isSelectionMode as f}from"../../chunk-GXRS52JD.js";import{MediaPopup as S}from"../../chunk-2G6MAXPY.js";import{useScreenDocument as y}from"../../chunk-A6ZP5II4.js";import"../../chunk-77IWWW6X.js";import"../../chunk-ERR437B5.js";import"../../chunk-UNVKPVZW.js";import"../../chunk-GMCZXMOV.js";import"../../chunk-RLBXE4EU.js";import"../../chunk-HNKB2ZYR.js";import"../../chunk-CLOS6SSX.js";import"../../chunk-BIK3AO2V.js";import"../../chunk-LOMEH6DG.js";import"../../chunk-KCOBHPN6.js";import"../../chunk-FHCKFOCD.js";import"../../chunk-YM4UEGBV.js";import"../../chunk-SNF5764Q.js";import"../../chunk-MQA7OFRA.js";import{DEFAULT_SCREEN_WORDS as N}from"../../chunk-IYHO4XQX.js";import{slotChildRowName as A}from"../../chunk-SSRYU3YG.js";import"../../chunk-AJ2SUSET.js";import"../../chunk-ANPOR6EY.js";import"../../chunk-6UAEFOJ4.js";import"../../chunk-R4AUZVA3.js";import{slotFieldsOf as C,nestsInTree as x}from"../../chunk-TCAAOYQY.js";import{useEasel as O}from"../../chunk-KXTXYINN.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-MXECWHRJ.js";import"../../chunk-BPXEFVSQ.js";import{LayersTree as P,Subtree as Y,TreeRow as M,TreeRowAction as F,TreeSeam as R}from"../../chunk-WHS6Y55E.js";import{DEFAULT_TREE_WORDS as H}from"../../chunk-K56YDHYQ.js";import"../../chunk-ZEH6QLBH.js";import"../../chunk-AGWKB77Q.js";import"../../chunk-FIVU2COQ.js";import"../../chunk-RPMSET77.js";import"../../chunk-FM6JO4WF.js";import"../../chunk-KFV7N2DJ.js";import"../../chunk-NDRZP6YR.js";import{DEFAULT_SAVE_WORDS as W,saveIndicator as g}from"../../chunk-H6DDIBQ4.js";import{SaveState as D,panelWidthVars as E}from"../../chunk-ZG6PVMC3.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-AJSDWWJW.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-HZSZT3BE.js";import"../../chunk-KRL3IUV3.js";import"../../chunk-Y2T3JX7K.js";import"../../chunk-KFWNGPW3.js";import"../../chunk-JACEEVVF.js";import"../../chunk-S3DUFDQ6.js";import{useWords as I}from"../../chunk-MFIRYGHW.js";import"../../chunk-LN43DP2A.js";import"../../chunk-TQ5Y6S2X.js";import{useTreeDrag as v}from"../../chunk-6NJHYXJM.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-YU3WHLGI.js";import"../../chunk-LF3FUSCQ.js";import{zoneKey as z,parseZoneKey as b}from"../../chunk-TGZCD6IP.js";import"../../chunk-KXM6YRG2.js";import"../../chunk-467WWV4I.js";import"../../chunk-TIAWIOGD.js";import"../../chunk-MGVI67QV.js";import{useState as B,useRef as Q,useEffect as w,useCallback as V,Fragment as G}from"react";import{Tooltip as K}from"efficient-shell/ui";import{TrashIcon as J}from"efficient-shell/icons/efficient";import{jsxs as X,jsx as T,Fragment as Z}from"react/jsx-runtime";var L=e=>n=>{n.target.closest("button, input")||e()},U={rowClick:L};function $(){const{saveState:$,readOnly:q,readOnlyReason:_=null}=y(),ee=c(),{appState:ne,selectedItem:oe,config:re}=O(e=>e),[te,se]=B(p),ie=I("screen",N),ce=I("tree",H),pe=I("save",W),{first:le,last:me,panelOf:de}=l(),ae=de(le),ue=m(),he=d(),ke=ne.data.content?.[0]??null,je=ke?.props.id??null,fe=ke?.type===le,Se=ke?.type===me,ye=Q(null),Ne=Q(null);r(Ne),a(oe?.props.id),w(()=>{je&&ye.current!==je&&(ye.current=je,fe?se(ae??p):oe||ee.select({index:0}))},[je,oe,ee,fe]);const Ae=V(e=>se(n=>u(n,e)?n:e),[]),Ce=h({kind:te.kind,mode:te,open:Ae,show:e=>se(e),reveal:()=>{},select:(e,n)=>{se(e=>u(e,n)?e:n),ee.select(e)}}),{selectNode:xe}=i({mode:te,setMode:se,onOpenPart:n}),Oe=k(),{labelAtLevel:Pe,Icon:Ye}=Oe,{canAddTo:Me}=j(),Fe=e=>Pe(e,"block",re.components[e]?.label??e),Re=e=>Pe(e,"section",Fe(e)),He=!fe&&f(te)&&oe?.props.id===je,We=ke?Me(ke.type)?.spec??null:null,ge=ke&&We?`${ke.props.id}:${We.slot}`:null,De=ke&&We&&Array.isArray(ke.props[We.slot])?ke.props[We.slot]:[],Ee=e=>A(e,Fe,Oe.plainText),Ie=(e,r)=>{ke&&We&&ge&&(se(p),We.slider?(o(String(ke.props.id),e),ee.select({index:e,zone:ge}),n(String(ke.props.id))):(ee.select({index:e,zone:ge}),n(r)))},ve=()=>{if(!ke||!We||!ge)return;const e=De.length;ee.insertComponent(ge,We.childType,e),se(p),We.slider?requestAnimationFrame(()=>{o(String(ke.props.id),e),ee.select({index:e,zone:ge})}):ee.select({index:e,zone:ge})},ze=e=>C(re,e),be=e=>{const{parentId:n,slot:o}=b(e),r=e=>{if(!e)return null;if(String(e.props.id)===n)return e;for(const n of ze(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(ke)?.props[o];return Array.isArray(t)?t.length:0},Be=(e,n,o)=>{const r=Math.min(Math.max(o,0),be(e)),t=n<r?r-1:r;t!==n&&(ee.reorderComponent(e,n,t),se(p),ee.select({index:t,zone:e}))},Qe=v({keyOf:e=>e.id,readOnly:Boolean(q),canDrop:(e,n)=>z(n)===e.zone&&n.index>=0&&n.index<=be(e.zone),onDrop:(e,n)=>Be(e.zone,e.index,n.index),onStep:(e,n)=>Be(e.zone,e.index,n<0?e.index-1:e.index+2)}),we=(e,n)=>/* @__PURE__ */T(R,{...q?{}:Qe.seam({place:{...b(e),index:n}})},`seam:${e}:${n}`),Ve=e=>Oe.blockRowName(e,Fe),Ge=(e,o,r)=>{se(p),ee.select({index:o,zone:e}),n(r)},Ke=(e,n,o)=>{ee.insertComponent(e,n,o),se(p),ee.select({index:o,zone:e})},Je=(n,o,r)=>/* @__PURE__ */T(e,{choices:r,onPick:e=>Ke(n,e,o)}),Xe=(e,n)=>{const o=ze((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=Me(e.type),s=t?.choices??null,i="footer"===t?.source?Ve:Ee;/* @__PURE__ */
2
+ return X(Z,{children:[o.map(({child:e,zone:o,index:r})=>{const t=oe?.props.id===e.props.id,s=x(re,e.type,n),c=i(e),l=String(e.props.id),m=()=>Ge(o,r,l),{rowProps:d,...a}=Qe.row({item:{id:l,zone:o,index:r},place:{...b(o),index:r}},{onClick:L(m)});/* @__PURE__ */
3
+ return X(G,{children:[0===r&&we(o,0),
4
+ /* @__PURE__ */T(M,{words:ce,icon:/* @__PURE__ */T(Ye,{type:e.type,size:13}),name:c,selected:t,onSelect:m,...a,actions:/* @__PURE__ */T(F,{kind:"delete",label:ie.deleteNamed({name:c}),onClick:()=>{return e=o,n=r,ee.removeComponent(e,n),se(p),void ee.select(null);var e,n},children:/* @__PURE__ */T(J,{size:13})}),rowProps:d}),s&&/* @__PURE__ */T(Y,{children:Xe(e,n+1)}),we(o,r+1)]},String(e.props.id??`${o}-${r}`))}),t&&s?Je(`${e.props.id}:${t.slot}`,o.length,s):null]})},Te="HeroSingle"===ke?.type,Ze=Boolean(ke)&&(Boolean(Me(ke.type))||ze(ke.type).length>0),Le=Boolean(ke)&&(Boolean(We)||Se||fe||Te||Ze);/* @__PURE__ */
5
+ return X("div",{ref:Ne,className:"sf-editor es-editor",style:E(s),children:[
6
+ /* @__PURE__ */T("div",{className:"sf-section-bar",children:/* @__PURE__ */T(D,null!==_?{tone:"off",label:_,role:"status"}:{...g($,pe),role:"status"})}),
7
+ /* @__PURE__ */X("div",{className:"sf-body",children:[Le&&ke&&/* @__PURE__ */X("aside",{className:"es-sidepanel es-sidepanel--left sf-panel sf-panel--left",children:[
8
+ /* @__PURE__ */T("div",{className:"sf-panel-head",children:/* @__PURE__ */T(K,{content:fe?ie.headerSettings:ie.sectionSettings({name:Re(ke.type)}),side:"bottom",children:/* @__PURE__ */T("button",{type:"button",className:"sf-panel-title sf-panel-title--btn "+(He?"is-selected":""),"aria-pressed":He,onClick:()=>{fe?se(ae??p):(se(p),ee.select({index:0}))},children:Re(ke.type)})})}),
9
+ /* @__PURE__ */T(P,{className:"sf-tree sf-scroll",rootProps:Qe.rootProps(),words:ce,children:/* @__PURE__ */T(Y,{children:fe?
10
+ /* @__PURE__ */T(M,{words:ce,icon:/* @__PURE__ */T(Ye,{type:"header",size:13}),name:ie.headerSettings,selected:te.kind===ae?.kind,onSelect:()=>se(ae??p),rowProps:{onClick:L(()=>se(ae??p))}}):We?/* @__PURE__ */X(Z,{children:[De.map((e,n)=>{const o=oe?.props.id===e.props.id,r=Ee(e),t=String(e.props.id),s=()=>Ie(n,t),{rowProps:i,...c}=Qe.row({item:{id:t,zone:ge,index:n},place:{...b(ge),index:n}},{onClick:L(s)});/* @__PURE__ */
11
+ return X(G,{children:[0===n&&we(ge,0),
12
+ /* @__PURE__ */T(M,{words:ce,icon:/* @__PURE__ */T(Ye,{type:e.type,size:13}),name:r,selected:o,onSelect:s,...c,actions:/* @__PURE__ */T(F,{kind:"delete",label:ie.deleteNamed({name:r}),onClick:()=>{return e=n,void(ge&&(ee.removeComponent(ge,e),se(p),ee.select(null)));var e},children:/* @__PURE__ */T(J,{size:13})}),rowProps:i}),we(ge,n+1)]},String(e.props.id??n))}),
13
+ /* @__PURE__ */X("button",{type:"button",className:"sf-add-card",onClick:ve,children:[
14
+ /* @__PURE__ */T("span",{className:"sf-plus sf-plus--sm",children:"+"}),We.addLabel]}),je?Ce.partRows?.(ke,U):null]}):Xe(ke,1)})})]}),
15
+ /* @__PURE__ */T("div",{className:"sf-center",children:/* @__PURE__ */T("div",{className:"sf-preview-host",children:/* @__PURE__ */T(ue,{})})}),
16
+ /* @__PURE__ */T(t,{value:{selectChild:(e,n,o,r)=>"section"===Me(r)?.source?Ie(n,o):Ge(e,n,o),addChild:(e,n,o,r,t)=>"section"===Me(t)?.source?ve():Ke(`${e}:${n}`,o,r),childRowName:Ee,blockRowName:Ve},children:/* @__PURE__ */T(he,{mode:te,onOpenWebsiteSettings:Ce.openSettings??(()=>{}),onSelectNode:xe,hideNodeActions:!0})})]}),
17
+ /* @__PURE__ */T(S,{})]})}export{$ as default};
@@ -1,19 +1,19 @@
1
1
  import { ScreenInspectorMode } from '../lib/screen-parts.js';
2
2
  import 'react';
3
3
  import '../../blocks/index.js';
4
- import '../../types-Cq53lL8d.js';
4
+ import '../../types-BljCVdzR.js';
5
5
  import '../../data/index.js';
6
- import '../../types-41704JE4.js';
7
- import '../../resolve-D68pb3Bx.js';
8
- import '../../plan-CZS902DV.js';
9
- import '../../watch-D8xZow3y.js';
6
+ import '../../types-Dq180WRV.js';
7
+ import '../../resolve-Bz4mszpL.js';
8
+ import '../../plan-D0DgSLnY.js';
9
+ import '../../watch-Unf6SfUf.js';
10
10
  import '../../types-B3iSHX-w.js';
11
11
  import '../../types-Cy7rdmXt.js';
12
12
  import '../../wordFit-7XpmhcaW.js';
13
13
  import '../../edit-lock/index.js';
14
14
  import '../../panelWidths-DgQXiPXU.js';
15
- import '../../CanvasDragLayer-CFUcBbgc.js';
16
- import '../../session-DSQFmIvx.js';
15
+ import '../../CanvasDragLayer-NZpaX6aq.js';
16
+ import '../../session-EsjORLQ0.js';
17
17
  import '../../words-SD4neL0n.js';
18
18
  import '../../types-BbOBWXMP.js';
19
19
  import '../../style-clipboard/index.js';
@@ -26,7 +26,7 @@ import '../lib/section-template-types.js';
26
26
  import '../lib/document/content-tree.js';
27
27
  import '../lib/shared-section-types.js';
28
28
  import '../lib/document/block-choice.js';
29
- import '../../ScreenDocumentContext-1RgtGKWR.js';
29
+ import '../../ScreenDocumentContext-BDLUYzlM.js';
30
30
  import '../lib/document-contract.js';
31
31
  import '../lib/document-switch.js';
32
32
  import '../../engine-CvXpFE86.js';
@@ -50,13 +50,13 @@ import '../lib/document/slot-section-spec.js';
50
50
  *
51
51
  * - a click in the preview on an anchored part opens that part's panel;
52
52
  * - a click in the preview on anything ELSE inside a section reports the
53
- * SECTION, which closes an open part panel. That matters because Puck's own
53
+ * SECTION, which closes an open part panel. That matters because the old library's own
54
54
  * selection may not change on such a click (the section was already
55
55
  * selected), so nothing else would tell the chrome to drop back;
56
56
  * - the open panel is mirrored back into the preview, so the part it is editing
57
57
  * draws its selected outline.
58
58
  *
59
- * It deliberately does NOT move the Puck selection when a part opens — exactly
59
+ * It deliberately does NOT move the old library's selection when a part opens — exactly
60
60
  * like the ticker / Background / Text bridges it joins. The Layers tree, undo,
61
61
  * redo and autosave therefore see nothing at all, which is the cheapest possible
62
62
  * proof that they behave as they did before.
@@ -1 +1 @@
1
- export{usePartBridge}from"../../chunk-67HCYOW4.js";import"../../chunk-MLQKNED6.js";import"../../chunk-OHZHYROJ.js";import"../../chunk-PRHBWA5V.js";import"../../chunk-FHCKFOCD.js";import"../../chunk-MQA7OFRA.js";import"../../chunk-R4AUZVA3.js";import"../../chunk-TCAAOYQY.js";import"../../chunk-TUXLORVR.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-PFFH7ASD.js";import"../../chunk-BPXEFVSQ.js";import"../../chunk-ZEH6QLBH.js";import"../../chunk-FM6JO4WF.js";import"../../chunk-KFV7N2DJ.js";import"../../chunk-WHS6Y55E.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-IWCKVZHS.js";import"../../chunk-FIVU2COQ.js";import"../../chunk-BSHIQIZC.js";import"../../chunk-MZ5GSSZ3.js";import"../../chunk-KRL3IUV3.js";import"../../chunk-Y2T3JX7K.js";import"../../chunk-KFWNGPW3.js";import"../../chunk-S3DUFDQ6.js";import"../../chunk-JACEEVVF.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-3S5N4HLJ.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-4FD7TAOE.js";import"../../chunk-LF3FUSCQ.js";import"../../chunk-K7BTCBWD.js";import"../../chunk-L55YIXDC.js";import"../../chunk-467WWV4I.js";import"../../chunk-TIAWIOGD.js";import"../../chunk-MGVI67QV.js";
1
+ export{usePartBridge}from"../../chunk-6F5GO337.js";import"../../chunk-FOOK54T2.js";import"../../chunk-GXRS52JD.js";import"../../chunk-FHCKFOCD.js";import"../../chunk-MQA7OFRA.js";import"../../chunk-R4AUZVA3.js";import"../../chunk-TCAAOYQY.js";import"../../chunk-KXTXYINN.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-MXECWHRJ.js";import"../../chunk-BPXEFVSQ.js";import"../../chunk-WHS6Y55E.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-ZEH6QLBH.js";import"../../chunk-AGWKB77Q.js";import"../../chunk-FIVU2COQ.js";import"../../chunk-RPMSET77.js";import"../../chunk-FM6JO4WF.js";import"../../chunk-KFV7N2DJ.js";import"../../chunk-HZSZT3BE.js";import"../../chunk-KRL3IUV3.js";import"../../chunk-Y2T3JX7K.js";import"../../chunk-KFWNGPW3.js";import"../../chunk-JACEEVVF.js";import"../../chunk-S3DUFDQ6.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-6NJHYXJM.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-YU3WHLGI.js";import"../../chunk-LF3FUSCQ.js";import"../../chunk-TGZCD6IP.js";import"../../chunk-KXM6YRG2.js";import"../../chunk-467WWV4I.js";import"../../chunk-TIAWIOGD.js";import"../../chunk-MGVI67QV.js";
@@ -3,23 +3,23 @@ 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, ScreenMediaDrop, ScreenMediaFile, ScreenMenuItem, ScreenMenuRows, ScreenNewNode, ScreenNode, ScreenNodeActions, ScreenNodeLevel, ScreenNodeMaker, ScreenPartMode, ScreenParts, ScreenPartsProvider, ScreenPinnedBand, ScreenPinnedNodes, ScreenRailItem, ScreenSelector, ScreenSharedSections, ScreenSlot, ScreenSlotAction, ScreenSlotMode, ScreenStyleClipboard, ScreenStyleDocument, ScreenStylePastePlan, ScreenToastExtra, ScreenTree, ScreenTreeFolds, ScreenTreeRows, isPinnedFirst, isPinnedLast, isSelectionMode, 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 EaselBlockType, b as EaselFieldDescription, c as EaselHost, d as EaselHostAddress, e as EaselHostContext, f as EaselHostPanels, g as EaselHostProvider, h as EaselMessageType, i as EaselSelection, j as EaselToHostMessage, H as HostPickedMedia, k as HostToEaselMessage, I as InboundHostMessage, N as NO_DOCUMENT_ADDRESSING, P as PageEditOp, l as PickedMediaSource, S as SectionScreenTarget, m as SendToHost, n as createEaselHost, u as useEaselHost, o as useHostEscape } from '../ScreenDocumentContext-1RgtGKWR.js';
6
+ export { A as AnyDocumentAddressing, D as DETACHED_EASEL_HOST, a as DocumentAddressing, E as EaselBlockType, b as EaselFieldDescription, c as EaselHost, d as EaselHostAddress, e as EaselHostContext, f as EaselHostPanels, g as EaselHostProvider, h as EaselMessageType, i as EaselSelection, j as EaselToHostMessage, H as HostPickedMedia, k as HostToEaselMessage, I as InboundHostMessage, N as NO_DOCUMENT_ADDRESSING, P as PageEditOp, l as PickedMediaSource, S as SectionScreenTarget, m as SendToHost, n as createEaselHost, u as useEaselHost, o as useHostEscape } from '../ScreenDocumentContext-BDLUYzlM.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-Cq53lL8d.js';
10
+ import '../types-BljCVdzR.js';
11
11
  import '../data/index.js';
12
- import '../types-41704JE4.js';
13
- import '../resolve-D68pb3Bx.js';
14
- import '../plan-CZS902DV.js';
15
- import '../watch-D8xZow3y.js';
12
+ import '../types-Dq180WRV.js';
13
+ import '../resolve-Bz4mszpL.js';
14
+ import '../plan-D0DgSLnY.js';
15
+ import '../watch-Unf6SfUf.js';
16
16
  import '../types-B3iSHX-w.js';
17
17
  import '../types-Cy7rdmXt.js';
18
18
  import '../wordFit-7XpmhcaW.js';
19
19
  import '../edit-lock/index.js';
20
20
  import '../panelWidths-DgQXiPXU.js';
21
- import '../CanvasDragLayer-CFUcBbgc.js';
22
- import '../session-DSQFmIvx.js';
21
+ import '../CanvasDragLayer-NZpaX6aq.js';
22
+ import '../session-EsjORLQ0.js';
23
23
  import '../words-SD4neL0n.js';
24
24
  import '../types-BbOBWXMP.js';
25
25
  import '../style-clipboard/index.js';
@@ -1 +1 @@
1
- import"../chunk-GZO72N3Q.js";export{DocumentScreen,ScreenMount}from"../chunk-I67UW5UG.js";import"../chunk-GXQCZJOP.js";import"../chunk-YVFYWAYU.js";import"../chunk-BDSLF5BR.js";import"../chunk-7OCEPOEJ.js";import"../chunk-SWBADIQT.js";import"../chunk-U5DNBT63.js";import"../chunk-5XL2RXFU.js";import"../chunk-KWLHKKZO.js";import"../chunk-INRERJU4.js";import"../chunk-3QB2ZQXK.js";import"../chunk-DDH2DYQP.js";import"../chunk-DNQ7AF6K.js";import"../chunk-KCBEE2MC.js";import"../chunk-C56MPJBH.js";import"../chunk-67HCYOW4.js";import"../chunk-MLQKNED6.js";import"../chunk-PY7OOQEZ.js";import"../chunk-RKTF5XLP.js";export{ScreenStoreProvider}from"../chunk-GWYNMSIP.js";import"../chunk-5545A3PC.js";import"../chunk-2C7W64S5.js";import"../chunk-VKPOH6MK.js";import"../chunk-CPL43ZLJ.js";import"../chunk-N7E6264U.js";import"../chunk-N3MJOHAG.js";import"../chunk-SINAM2IT.js";import"../chunk-UMDQ6CLQ.js";import"../chunk-RUQOIQWI.js";export{SELECTION_MODE,ScreenCanvasTargetProvider,ScreenPartsProvider,isPinnedFirst,isPinnedLast,isSelectionMode,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-OHZHYROJ.js";import"../chunk-PRHBWA5V.js";import"../chunk-2G6MAXPY.js";import"../chunk-2L6KWUBC.js";import"../chunk-ZOSEBPAI.js";import"../chunk-BTDI7JAA.js";import"../chunk-77IWWW6X.js";import"../chunk-ERR437B5.js";import"../chunk-UNVKPVZW.js";import"../chunk-GMCZXMOV.js";export{NO_DOCUMENT_ADDRESSING}from"../chunk-RLBXE4EU.js";import"../chunk-HNKB2ZYR.js";import"../chunk-CLOS6SSX.js";import"../chunk-BIK3AO2V.js";import"../chunk-LOMEH6DG.js";import"../chunk-KCOBHPN6.js";import"../chunk-FHCKFOCD.js";export{EaselSessionProvider,useEaselSession}from"../chunk-YM4UEGBV.js";export{EFFICIENT_BACKEND,activateEaselSession,backendOf,createEaselSession,currentEaselSession,deactivateEaselSession,efficientClientOpen,isEfficientBackend,provideDefaultBackend,resetAmbientEaselSession,sessionRegistry,setSessionBridgedSite,setSessionDocumentSite}from"../chunk-SNF5764Q.js";export{DETACHED_EASEL_HOST,EaselHostContext,EaselHostProvider,createEaselHost,useEaselHost,useHostEscape}from"../chunk-MQA7OFRA.js";import"../chunk-XFYFKITX.js";import"../chunk-EB6NI2VK.js";import"../chunk-V7U33NF2.js";import"../chunk-6WY6ZXJG.js";import"../chunk-SSRYU3YG.js";import"../chunk-AJ2SUSET.js";import"../chunk-ANPOR6EY.js";import"../chunk-6UAEFOJ4.js";import"../chunk-R4AUZVA3.js";import"../chunk-TCAAOYQY.js";import"../chunk-TUXLORVR.js";import"../chunk-TBY3DFKS.js";import"../chunk-PFFH7ASD.js";import"../chunk-BPXEFVSQ.js";import"../chunk-ZEH6QLBH.js";import"../chunk-FM6JO4WF.js";import"../chunk-KFV7N2DJ.js";import"../chunk-WHS6Y55E.js";import"../chunk-K56YDHYQ.js";import"../chunk-IWCKVZHS.js";import"../chunk-ZKY45F5G.js";import"../chunk-FIVU2COQ.js";import"../chunk-P5VYGWYO.js";import"../chunk-WK3AFPXY.js";import"../chunk-BSHIQIZC.js";import"../chunk-NDRZP6YR.js";import"../chunk-H6DDIBQ4.js";import"../chunk-ZG6PVMC3.js";import"../chunk-MJM6SFD3.js";import"../chunk-AJSDWWJW.js";import"../chunk-2OAZYSWJ.js";import"../chunk-THWO5YVZ.js";import"../chunk-RE4LP46F.js";import"../chunk-MZ5GSSZ3.js";import"../chunk-KRL3IUV3.js";import"../chunk-Y2T3JX7K.js";import"../chunk-KFWNGPW3.js";import"../chunk-S3DUFDQ6.js";import"../chunk-JACEEVVF.js";import"../chunk-MFIRYGHW.js";import"../chunk-WJJ7H42G.js";import"../chunk-TQ5Y6S2X.js";import"../chunk-3S5N4HLJ.js";import"../chunk-P2VEMZH5.js";import"../chunk-4FD7TAOE.js";import"../chunk-LF3FUSCQ.js";import"../chunk-K7BTCBWD.js";import"../chunk-L55YIXDC.js";import"../chunk-BSPCSC45.js";import"../chunk-467WWV4I.js";import"../chunk-TIAWIOGD.js";import"../chunk-MGVI67QV.js";
1
+ import"../chunk-GZO72N3Q.js";export{DocumentScreen,ScreenMount}from"../chunk-3P735WOM.js";import"../chunk-GXQCZJOP.js";import"../chunk-VZUXOZGP.js";import"../chunk-OXZDSOZV.js";import"../chunk-7OCEPOEJ.js";import"../chunk-G3HAKQUF.js";import"../chunk-UMBNBCL4.js";import"../chunk-5XL2RXFU.js";import"../chunk-4YUC7B7E.js";import"../chunk-INRERJU4.js";import"../chunk-3QB2ZQXK.js";import"../chunk-DDH2DYQP.js";import"../chunk-YHEYJKQL.js";import"../chunk-KCBEE2MC.js";import"../chunk-C56MPJBH.js";import"../chunk-6F5GO337.js";import"../chunk-FOOK54T2.js";import"../chunk-PY7OOQEZ.js";import"../chunk-RKTF5XLP.js";export{ScreenStoreProvider}from"../chunk-XJ23ULBP.js";import"../chunk-5545A3PC.js";import"../chunk-FF54HWSE.js";import"../chunk-VKPOH6MK.js";import"../chunk-IZGFJWH4.js";import"../chunk-N7E6264U.js";import"../chunk-N3MJOHAG.js";import"../chunk-SINAM2IT.js";import"../chunk-UMDQ6CLQ.js";import"../chunk-RUQOIQWI.js";export{SELECTION_MODE,ScreenCanvasTargetProvider,ScreenPartsProvider,isPinnedFirst,isPinnedLast,isSelectionMode,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-GXRS52JD.js";import"../chunk-2G6MAXPY.js";import"../chunk-AT4DDMJS.js";import"../chunk-GKG3M5QK.js";import"../chunk-A6ZP5II4.js";import"../chunk-77IWWW6X.js";import"../chunk-ERR437B5.js";import"../chunk-UNVKPVZW.js";import"../chunk-GMCZXMOV.js";export{NO_DOCUMENT_ADDRESSING}from"../chunk-RLBXE4EU.js";import"../chunk-HNKB2ZYR.js";import"../chunk-CLOS6SSX.js";import"../chunk-BIK3AO2V.js";import"../chunk-LOMEH6DG.js";import"../chunk-KCOBHPN6.js";import"../chunk-FHCKFOCD.js";export{EaselSessionProvider,useEaselSession}from"../chunk-YM4UEGBV.js";export{EFFICIENT_BACKEND,activateEaselSession,backendOf,createEaselSession,currentEaselSession,deactivateEaselSession,efficientClientOpen,isEfficientBackend,provideDefaultBackend,resetAmbientEaselSession,sessionRegistry,setSessionBridgedSite,setSessionDocumentSite}from"../chunk-SNF5764Q.js";export{DETACHED_EASEL_HOST,EaselHostContext,EaselHostProvider,createEaselHost,useEaselHost,useHostEscape}from"../chunk-MQA7OFRA.js";import"../chunk-XFYFKITX.js";import"../chunk-IYHO4XQX.js";import"../chunk-V7U33NF2.js";import"../chunk-6WY6ZXJG.js";import"../chunk-SSRYU3YG.js";import"../chunk-AJ2SUSET.js";import"../chunk-ANPOR6EY.js";import"../chunk-6UAEFOJ4.js";import"../chunk-R4AUZVA3.js";import"../chunk-TCAAOYQY.js";import"../chunk-KXTXYINN.js";import"../chunk-TBY3DFKS.js";import"../chunk-MXECWHRJ.js";import"../chunk-BPXEFVSQ.js";import"../chunk-WHS6Y55E.js";import"../chunk-K56YDHYQ.js";import"../chunk-ZEH6QLBH.js";import"../chunk-AGWKB77Q.js";import"../chunk-ZKY45F5G.js";import"../chunk-FIVU2COQ.js";import"../chunk-P5VYGWYO.js";import"../chunk-WK3AFPXY.js";import"../chunk-RPMSET77.js";import"../chunk-FM6JO4WF.js";import"../chunk-KFV7N2DJ.js";import"../chunk-NDRZP6YR.js";import"../chunk-H6DDIBQ4.js";import"../chunk-ZG6PVMC3.js";import"../chunk-MJM6SFD3.js";import"../chunk-AJSDWWJW.js";import"../chunk-2OAZYSWJ.js";import"../chunk-THWO5YVZ.js";import"../chunk-RE4LP46F.js";import"../chunk-HZSZT3BE.js";import"../chunk-KRL3IUV3.js";import"../chunk-Y2T3JX7K.js";import"../chunk-KFWNGPW3.js";import"../chunk-JACEEVVF.js";import"../chunk-S3DUFDQ6.js";import"../chunk-MFIRYGHW.js";import"../chunk-LN43DP2A.js";import"../chunk-TQ5Y6S2X.js";import"../chunk-6NJHYXJM.js";import"../chunk-P2VEMZH5.js";import"../chunk-YU3WHLGI.js";import"../chunk-LF3FUSCQ.js";import"../chunk-TGZCD6IP.js";import"../chunk-KXM6YRG2.js";import"../chunk-BSPCSC45.js";import"../chunk-467WWV4I.js";import"../chunk-TIAWIOGD.js";import"../chunk-MGVI67QV.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-Cq53lL8d.js';
4
+ import '../../types-BljCVdzR.js';
5
5
  import '../../data/index.js';
6
- import '../../types-41704JE4.js';
7
- import '../../resolve-D68pb3Bx.js';
8
- import '../../plan-CZS902DV.js';
6
+ import '../../types-Dq180WRV.js';
7
+ import '../../resolve-Bz4mszpL.js';
8
+ import '../../plan-D0DgSLnY.js';
9
9
  import './backend-error.js';
10
10
  import '../../edit-lock/index.js';
11
11
  import './host-chrome.js';
@@ -1 +0,0 @@
1
- import"../../../chunk-YIUE4US7.js";
@@ -14,7 +14,8 @@
14
14
  * inside an object or a list item. This walks every value under `props` and
15
15
  * takes each array item of that shape as a node. It asks no block registry which
16
16
  * props are slots, because the caller is a server that must not have to load
17
- * one: this module imports nothing.
17
+ * one: this module imports only the pure `data` leaf (`isNode`), which itself
18
+ * imports nothing.
18
19
  *
19
20
  * That makes it wider than the editor's own walk in one direction only: a prop
20
21
  * that merely LOOKS like a node (an object with a string `type` and an object
@@ -1 +1 @@
1
- export{blockTypesIn}from"../../../chunk-CPL43ZLJ.js";
1
+ export{blockTypesIn}from"../../../chunk-IZGFJWH4.js";import"../../../chunk-TGZCD6IP.js";import"../../../chunk-KXM6YRG2.js";
@@ -31,7 +31,7 @@ declare function slotFieldsOf(config: SlotConfigView, type: string): string[];
31
31
  * What a component type's config ALLOWS of the two actions that make another
32
32
  * node or take one away (0.103.0): its `permissions.duplicate` and
33
33
  * `permissions.delete`, each true unless the config says false — the reading
34
- * Puck gave a config that carried none. The campaign designer's Product keeps
34
+ * The old library gave a config that carried none. The campaign designer's Product keeps
35
35
  * its Price line this way (`{ delete: false, duplicate: false }`).
36
36
  *
37
37
  * The screen's tree rows, its menu and the inspector head it hands this to
@@ -48,7 +48,7 @@ declare function blockNodeActions(config: SlotConfigView, type: string): {
48
48
  };
49
49
  /**
50
50
  * A slot child, addressed the way the Layers tree selects it: the node, the
51
- * compound zone key "<parentId>:<slotName>" Puck's ops take, and its index in
51
+ * compound zone key "<parentId>:<slotName>" the old library's ops take, and its index in
52
52
  * that slot.
53
53
  */
54
54
  type SlotChild = {
@@ -75,7 +75,7 @@ declare function slotChildrenIn(item: TreeItem, slot: string): SlotChild[];
75
75
  /**
76
76
  * WHERE a node sits in the document — the node itself, the zone key its own
77
77
  * array is addressed by, and its index in that array. Exactly the three
78
- * arguments a Puck `replace` / `remove` / `reorder` op takes.
78
+ * arguments an old-library `replace` / `remove` / `reorder` op takes.
79
79
  */
80
80
  type NodeLocation = {
81
81
  item: TreeItem;
@@ -112,16 +112,16 @@ type NodeLocation = {
112
112
  * `ScreenChrome` memoises a Map of EVERY node's address (plus each
113
113
  * zone's whole sibling list) and hands the lookup to the context menu as
114
114
  * `locate`. That map is built once per document for a surface that needs all of
115
- * it; this finds ONE node and is reachable from a Puck field, which the map is
115
+ * it; this finds ONE node and is reachable from an old-library field, which the map is
116
116
  * not — it lives in a component's closure and rides no context. What must not
117
117
  * be two things is the set of SLOT PROP NAMES, and it is not: both walk through
118
118
  * `childSlotsOf`, so an address here and an address there cannot disagree.
119
- * Puck's own `getSelectorForId` is a third reader of the same fact, and the one
119
+ * The old library's own `getSelectorForId` is a third reader of the same fact, and the one
120
120
  * a live store already offers — it is a hook-bound function, so a guard cannot
121
121
  * call it, which is the whole reason this one is written pure.
122
122
  *
123
123
  * PURE, and takes the config as an argument, so a guard can assert against it
124
- * without a Puck store, a React tree or a hook.
124
+ * without an old-library store, a React tree or a hook.
125
125
  *
126
126
  * `null` when no node carries the id — the honest answer for a stale selection,
127
127
  * and every caller treats it as "there is nothing to write".
@@ -186,7 +186,7 @@ declare function pinnedDuplicateIndices(content: ReadonlyArray<{
186
186
  *
187
187
  * A LIVE store must be edited by identity, never by position: an index computed
188
188
  * from a render snapshot addresses whatever has since shifted into that slot,
189
- * which is how the old editor heal deleted real sections. Ids survive that skew
189
+ * which is how the old library's heal deleted real sections. Ids survive that skew
190
190
  * — the worst a stale read can do is name a node that is no longer there. A
191
191
  * duplicate carrying no id is skipped (it cannot be named in a remove); the
192
192
  * published render's index-based dedupe still drops it.
@@ -201,7 +201,7 @@ declare function pinnedDuplicateIds(content: ReadonlyArray<{
201
201
  * Which pinned chrome types a document is MISSING, and a load-time seed must
202
202
  * therefore create. A type counts as missing only when it is absent from BOTH:
203
203
  *
204
- * - `live` — the editor's Puck store, read at the moment of the write; and
204
+ * - `live` — the old library's store, read at the moment of the write; and
205
205
  * - `persisted` — the document exactly as it was LOADED from the backend.
206
206
  *
207
207
  * Requiring both is what makes seeding idempotent, and neither check can be
@@ -12,8 +12,8 @@ import '../content/view-tiers.js';
12
12
  * screen; the panel ignored it, so the merchant read labels to find the control
13
13
  * that matched what they were looking at.
14
14
  *
15
- * THE MECHANISM, and why this one. A Puck `resolveFields` cannot do it: in this
16
- * Puck version the fields slice re-resolves only when the selected node's DATA
15
+ * THE MECHANISM, and why this one. An old-library `resolveFields` cannot do it: in this
16
+ * The old library version the fields slice re-resolves only when the selected node's DATA
17
17
  * changes (`useRegisterFieldsSlice` subscribes to `state.indexes.nodes[id]`), and
18
18
  * switching device changes no data — the panel would keep whatever field set the
19
19
  * last edit produced. So the decision is made where it can re-render freely: in
@@ -35,11 +35,11 @@ import '../content/view-tiers.js';
35
35
  * ({@link DEVICE_NOTE}); it never presents desktop values as if they were
36
36
  * tablet's. {@link shownTier} is the single place that ruling is written down.
37
37
  *
38
- * WHY THE HIDDEN FIELD LEAVES NO GAP. Puck wraps every top-level field in its
39
- * own padded `_PuckFields-field_` box before it calls `render`, so a field that
38
+ * WHY THE HIDDEN FIELD LEAVES NO GAP. The old library wraps every top-level field in its
39
+ * own padded old library's padded field box before it calls `render`, so a field that
40
40
  * renders nothing would still cost ~37px of empty panel. The gate instead paints
41
41
  * a zero-size marker and this package's `screen.css` collapses the
42
- * wrapper that contains one — the same "reach the wrapper Puck owns" trick the
42
+ * wrapper that contains one — the same "reach the wrapper the old library owns" trick the
43
43
  * fold reflow in `controls.tsx` already relies on, expressed as one CSS rule
44
44
  * instead of a second DOM pass (so it cannot race the fold's).
45
45
  */
@@ -63,7 +63,7 @@ declare function shownTier(device: PreviewDevice): DeviceTier;
63
63
  * letting the desktop values pass for tablet's own.
64
64
  */
65
65
  declare const DEVICE_NOTE: Readonly<Record<PreviewDevice, string | null>>;
66
- /** The attribute the stylesheet looks for to collapse a gated-off field's Puck
66
+ /** The attribute the stylesheet looks for to collapse a gated-off field's the old library
67
67
  * wrapper. Declared here, matched once in this package's `screen.css`, which
68
68
  * every host that mounts the screen loads (it sat in the website's sheet until
69
69
  * 0.103.0, so a second host's hidden rows kept their space). */
@@ -83,7 +83,7 @@ type AnyCustomField = {
83
83
  * wraps live ON the field object, never only inside the render closure. Without
84
84
  * it a gated control is opaque to every static walk — and the fold guard in
85
85
  * `scripts/test-section-groups.ts` genuinely needs to see the header underneath
86
- * to check its label against what it draws. Puck ignores extra keys. */
86
+ * to check its label against what it draws. The old library ignores extra keys. */
87
87
  declare const DEVICE_FIELD_MARKER: "__device";
88
88
  /** The payload on {@link DEVICE_FIELD_MARKER}. */
89
89
  type DeviceFieldMeta = {
@@ -1 +1 @@
1
- export{DEVICE_FIELD_MARKER,DEVICE_HIDDEN_ATTR,DEVICE_NOTE,deviceField,deviceMetaOf,deviceNote,shownTier,withoutDeviceGate}from"../../../chunk-KWLHKKZO.js";import"../../../chunk-INRERJU4.js";import"../../../chunk-EB6NI2VK.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-4YUC7B7E.js";import"../../../chunk-INRERJU4.js";import"../../../chunk-IYHO4XQX.js";import"../../../chunk-MFIRYGHW.js";import"../../../chunk-BSPCSC45.js";
@@ -1,4 +1,4 @@
1
- import { S as SettingsBucket, D as DesignGroup } from '../../../buckets-Sw94ll9I.js';
1
+ import { S as SettingsBucket, D as DesignGroup } from '../../../buckets-_MGDYJlb.js';
2
2
 
3
3
  /**
4
4
  * lib/document/field-buckets.ts — the two settings buckets a section's fields are
@@ -33,7 +33,7 @@ import { TextControlKind } from './text-control-kinds.js';
33
33
  * GENERATOR (`scripts/gen-neutralization-manifest.ts`) walks the built config
34
34
  * looking for it, so the text factories are the single source of truth for
35
35
  * "this prop holds customer-authored copy" — a new text field is covered the
36
- * moment it is declared, with no list to maintain anywhere (Puck ignores extra
36
+ * moment it is declared, with no list to maintain anywhere (the old library ignores extra
37
37
  * keys).
38
38
  *
39
39
  * Unlike the media marker this carries a PAYLOAD, because the neutralizer needs
@@ -59,14 +59,14 @@ declare const LINK_FIELD_MARKER: "__link";
59
59
  * greyed hint (`placeholder` above), and everything that asks "what does this
60
60
  * prop put on screen?" — the neutralizer, the part walk — reads it there. A row
61
61
  * array had no equivalent: `config.tsx` passes the scaffold constant straight
62
- * into `phRows(value, SCAFFOLD, puck)` inside the render, where nothing outside
62
+ * into `phRows(value, SCAFFOLD, editor)` inside the render, where nothing outside
63
63
  * the component can see it. So a freshly-dropped section drew three grey rows of
64
64
  * scaffold copy that `lib/document/text-parts` could not name, and clicking that copy
65
65
  * opened the whole section instead of the one control behind it (card 66072).
66
66
  *
67
67
  * It is the SAME constant the render passes — `withScaffold` (in
68
68
  * `lib/document/controls`) takes it as an argument rather than copying it — so the
69
- * preview and the walk cannot drift. Puck ignores extra keys on a field, exactly
69
+ * preview and the walk cannot drift. The old library ignores extra keys on a field, exactly
70
70
  * as it does for the two markers above.
71
71
  */
72
72
  declare const SCAFFOLD_FIELD_MARKER: "__scaffold";
@@ -165,7 +165,7 @@ type EdgeCell = "top" | "right" | "bottom" | "left";
165
165
  /** Marker carried by every media field object. The manifest GENERATOR walks the
166
166
  * built config looking for it, so the factory below is the single source of
167
167
  * truth for "this prop holds media" — a new media field is covered the moment
168
- * it is declared, with no list to maintain anywhere (Puck ignores extra keys). */
168
+ * it is declared, with no list to maintain anywhere (the old library ignores extra keys). */
169
169
  declare const MEDIA_FIELD_MARKER: "__media";
170
170
  /** Marker carried by every heading {@link group} / {@link section} builds — and
171
171
  * by every bucket header {@link bucketHeader} builds, whose "heading" a
@@ -174,7 +174,7 @@ declare const MEDIA_FIELD_MARKER: "__media";
174
174
  * closure. Without it a header's label is unreadable at runtime — the closure
175
175
  * is all there is — and the four-bucket pass (`lib/document/field-groups.ts`) would
176
176
  * have to re-derive it by parsing `config.tsx`, i.e. a second source of truth
177
- * for something the field already knows. Puck ignores extra keys, and the
177
+ * for something the field already knows. The old library ignores extra keys, and the
178
178
  * neutralization walk classifies by its own markers / `type` / prop name, so a
179
179
  * header stays exactly as invisible to it as it was (see
180
180
  * `scripts/gen-neutralization-manifest.ts`). */
@@ -1,10 +1,10 @@
1
1
  import { Config } from '../../../blocks/index.js';
2
2
  import 'react';
3
- import '../../../types-Cq53lL8d.js';
3
+ import '../../../types-BljCVdzR.js';
4
4
  import '../../../data/index.js';
5
- import '../../../types-41704JE4.js';
6
- import '../../../resolve-D68pb3Bx.js';
7
- import '../../../plan-CZS902DV.js';
5
+ import '../../../types-Dq180WRV.js';
6
+ import '../../../resolve-Bz4mszpL.js';
7
+ import '../../../plan-D0DgSLnY.js';
8
8
 
9
9
  /** One offerable section, with the category it is grouped under. */
10
10
  type PaletteSection = {
@@ -73,7 +73,7 @@ interface PaletteLook {
73
73
  * E9): it is a registry's way of keeping blocks it has out of the picker — the
74
74
  * campaign designer's Product parts, its retired blocks, its Sections — and a
75
75
  * palette that listed them would offer things that may not be put on a page.
76
- * Puck's own palette read the flag the same way. No website category carries
76
+ * The old library's own palette read the flag the same way. No website category carries
77
77
  * it, so the website's palette is the list it was.
78
78
  */
79
79
  declare function buildPaletteSections(config: Config, look: PaletteLook): PaletteSection[];
@@ -7,16 +7,16 @@
7
7
  * array on a linked product, Image & Text Columns takes its text-position row
8
8
  * away once it has Boxes.
9
9
  *
10
- * `Puck.Fields` honours all of that. Every list built beside it from the raw
10
+ * `the old library's fields panel` honours all of that. Every list built beside it from the raw
11
11
  * declaration does not — and one of them is the copy list in
12
12
  * `components/SectionEditor`. So a merchant met the SAME heading twice: once in
13
- * the panel Puck drew, and once in a list drawn from rows the resolver had
13
+ * the panel the old library drew, and once in a list drawn from rows the resolver had
14
14
  * already dropped (owner, 2026-09-10, on a Booking Form's Head box).
15
15
  *
16
- * ⚠️ PUCK DOES NOT EXPOSE ITS RESOLVED SET. The store slice that holds it is
17
- * internal — `useEasel((s) => s)` and `createUsePuck()` both hand back `PuckApi`, which
16
+ * ⚠️ THE OLD LIBRARY DOES NOT EXPOSE ITS RESOLVED SET. The store slice that holds it is
17
+ * internal — `useEasel((s) => s)` and `the old selector hook` both hand back `the old store API`, which
18
18
  * has no `fields` on it (checked against 0.20.2's own types, not remembered). So
19
- * the resolver is asked here, the same way Puck asks it.
19
+ * the resolver is asked here, the same way the old library asks it.
20
20
  *
21
21
  * ⚠️ AND AN ASYNC RESOLVER IS ANSWERED WITH THE DECLARATION. A promise cannot be
22
22
  * read during a render, and a list that waited would flicker rows in and out.
@@ -35,7 +35,7 @@ interface PanelComponent {
35
35
  * `parent` is passed as null and `appState` as an empty object because the ONE
36
36
  * caller uses the result for authored-copy rows, which no resolver decides from
37
37
  * either. A caller that needs the width rows — which DO read `parent` — must ask
38
- * Puck rather than this.
38
+ * The old library rather than this.
39
39
  */
40
40
  declare function panelFieldsOf(config: {
41
41
  components?: Record<string, PanelComponent>;
@@ -4,12 +4,11 @@ import { ReactElement } from 'react';
4
4
  * panel-no-control-mark — what a settings field draws when it draws NO CONTROL
5
5
  * on the screen it is on (card 66178).
6
6
  *
7
- * WHY A FIELD HAS TO SAY THIS OUT LOUD. Puck lays the inspector out as a FLAT
7
+ * WHY A FIELD HAS TO SAY THIS OUT LOUD. The old library lays the inspector out as a FLAT
8
8
  * list and owns the wrapper around every top-level field, and its own stylesheet
9
9
  * rules the gap between two of them:
10
10
  *
11
- * ._PuckFields--wrapFields_ ._PuckFields-field_ + ._PuckFields-field_ {
12
- * border-top: 1px solid var(--puck-color-grey-09); margin-top: 8px; }
11
+ * (wrapper) field + field { border-top: 1px solid <grey>; margin-top: 8px; }
13
12
  *
14
13
  * That rule is right — a line between two adjacent rows. But a field whose
15
14
  * `render` returns `null` still gets the wrapper, still takes its `16px 16px
@@ -19,7 +18,7 @@ import { ReactElement } from 'react';
19
18
  * `<div class="_InputWrapper_"></div>`, and three rules stacked with only blank
20
19
  * space between them. Across the catalogue it was 338 such rows in 74 panels.
21
20
  *
22
- * We cannot stop Puck emitting the wrapper, so the wrapper is collapsed from the
21
+ * We cannot stop the old library emitting the wrapper, so the wrapper is collapsed from the
23
22
  * outside: the field renders this zero-size marker and ONE declarative rule in
24
23
  * `components/storefront-editor.css` takes the wrapper out of the layout
25
24
  * entirely — `display: none`, so the row leaves the accessibility tree with it
@@ -66,7 +65,7 @@ type NoControlFieldMeta = "always" | "authored-copy";
66
65
  * own. The ONE place that knows the marker's shape. */
67
66
  declare function noControlMetaOf(field: unknown): NoControlFieldMeta | null;
68
67
  /** Stamp {@link NO_CONTROL_FIELD} on a field. The cast is here and nowhere else:
69
- * Puck's field types have no slot for a marker, so an object literal carrying
68
+ * The old library's field types have no slot for a marker, so an object literal carrying
70
69
  * one trips the excess-property check at every call site otherwise — the same
71
70
  * reason `group()` and the text/link markers have their own builders. */
72
71
  declare function noControlField<F>(field: F, reason: NoControlFieldMeta): F;
@@ -9,7 +9,7 @@
9
9
  * without the text walk, and moves into efficient-easel with it (doc/adr/0004).
10
10
  */
11
11
  /** Separates the node id from the prop key inside a part id. A doubled colon:
12
- * a Puck node id is `<Type>-<uuid>` and a compound zone is `<parentId>:<slot>`,
12
+ * an old-library node id is `<Type>-<uuid>` and a compound zone is `<parentId>:<slot>`,
13
13
  * so a single colon is already taken. */
14
14
  declare const PART_SEP = "::";
15
15
  /** `"<nodeId>::<propKey>"`, or `"<nodeId>::"` for "the whole section". */