efficient-easel 2.2.0 → 3.1.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 (101) hide show
  1. package/README.md +17 -4
  2. package/dist/chrome/index.d.ts +2 -2
  3. package/dist/chrome/index.js +1 -1
  4. package/dist/{chunk-2JIWFFXA.js → chunk-42TMLDSQ.js} +1 -1
  5. package/dist/{chunk-6OY2THZH.js → chunk-4LD4KA27.js} +1 -1
  6. package/dist/chunk-53NZMIRT.js +1 -0
  7. package/dist/chunk-5SOSVTVI.js +5 -0
  8. package/dist/{chunk-7SQF6LZL.js → chunk-66LWADFP.js} +1 -1
  9. package/dist/chunk-7HGVGKWU.js +64 -0
  10. package/dist/{chunk-VB5LRSGJ.js → chunk-BVUPKIM3.js} +1 -1
  11. package/dist/chunk-CRPJGCSO.js +20 -0
  12. package/dist/{chunk-35Q5HMJZ.js → chunk-EF3YSWT5.js} +1 -1
  13. package/dist/chunk-EJ6QAWRH.js +5 -0
  14. package/dist/chunk-FFYXVAAL.js +1 -0
  15. package/dist/{chunk-OXYGFK2B.js → chunk-GTDLBUOC.js} +6 -6
  16. package/dist/chunk-JVUGLF5I.js +7 -0
  17. package/dist/chunk-JZDEIRH4.js +1 -0
  18. package/dist/{chunk-UAVNI3BU.js → chunk-LHZIMK3M.js} +1 -1
  19. package/dist/chunk-LYALMY55.js +1 -0
  20. package/dist/{chunk-ZV6OYSZ7.js → chunk-MYC3AVG2.js} +1 -1
  21. package/dist/{chunk-FOBGSFFS.js → chunk-OZ72A6MY.js} +7 -7
  22. package/dist/{chunk-ZNNATBDC.js → chunk-QMBB7SU5.js} +1 -1
  23. package/dist/chunk-TCNPQKY6.js +4 -0
  24. package/dist/{chunk-AAT3O7PK.js → chunk-TGF7KEO7.js} +1 -1
  25. package/dist/chunk-UV4D7CDX.js +5 -0
  26. package/dist/{chunk-ONRYLR2D.js → chunk-VGV5D667.js} +2 -2
  27. package/dist/chunk-VX5GDBRI.js +2 -0
  28. package/dist/chunk-Y2G7CU6A.js +1 -0
  29. package/dist/copy/copy.css +79 -82
  30. package/dist/copy/index.d.ts +9 -7
  31. package/dist/copy/index.js +21 -31
  32. package/dist/fields/fields.css +0 -28
  33. package/dist/fields/index.d.ts +2 -2
  34. package/dist/fields/index.js +1 -1
  35. package/dist/panel/index.d.ts +4 -222
  36. package/dist/panel/index.js +12 -15
  37. package/dist/panel/panel.css +0 -165
  38. package/dist/screen/components/AddBlockRow.js +1 -1
  39. package/dist/screen/components/AddSidePanel.js +1 -1
  40. package/dist/screen/components/MediaSidePanel.d.ts +1 -1
  41. package/dist/screen/components/MediaSidePanel.js +1 -1
  42. package/dist/screen/components/NodeContextMenu.d.ts +16 -14
  43. package/dist/screen/components/NodeContextMenu.js +1 -1
  44. package/dist/screen/components/PageEditGuardNotices.js +1 -1
  45. package/dist/screen/components/ScreenChrome.js +1 -1
  46. package/dist/screen/components/ScreenDocumentContext.d.ts +1 -1
  47. package/dist/screen/components/ScreenDocumentContext.js +1 -1
  48. package/dist/screen/components/ScreenMount.d.ts +1 -1
  49. package/dist/screen/components/ScreenMount.js +1 -1
  50. package/dist/screen/components/ScreenStoreProvider.d.ts +1 -1
  51. package/dist/screen/components/ScreenStoreProvider.js +1 -1
  52. package/dist/screen/components/SectionScreenShell.js +16 -16
  53. package/dist/screen/components/SidePanelHead.js +1 -1
  54. package/dist/screen/components/UiIcon.js +1 -1
  55. package/dist/screen/components/panel-widths.js +1 -1
  56. package/dist/screen/components/usePartBridge.d.ts +1 -1
  57. package/dist/screen/components/usePartBridge.js +1 -1
  58. package/dist/screen/index.d.ts +1 -1
  59. package/dist/screen/index.js +1 -1
  60. package/dist/screen/lib/admin-bridge.d.ts +1 -1
  61. package/dist/screen/lib/document-addressing.d.ts +1 -1
  62. package/dist/screen/lib/host-chrome.d.ts +1 -1
  63. package/dist/screen/lib/host.d.ts +1 -1
  64. package/dist/screen/lib/links/link-filters.d.ts +1 -2
  65. package/dist/screen/lib/media-panel.d.ts +1 -1
  66. package/dist/screen/lib/media-picker.d.ts +1 -1
  67. package/dist/screen/lib/page-lock.d.ts +1 -1
  68. package/dist/screen/lib/puck/device-fields.js +1 -1
  69. package/dist/screen/lib/puck/style-clipboard.d.ts +8 -4
  70. package/dist/screen/lib/puck/style-clipboard.js +1 -1
  71. package/dist/screen/lib/puck/use-section-ops.js +1 -1
  72. package/dist/screen/lib/screen-parts.d.ts +1 -1
  73. package/dist/screen/lib/screen-parts.js +1 -1
  74. package/dist/screen/lib/section-templates.d.ts +1 -1
  75. package/dist/screen/lib/session-context.d.ts +1 -1
  76. package/dist/screen/lib/session.d.ts +1 -1
  77. package/dist/screen/words.d.ts +123 -1
  78. package/dist/screen/words.js +1 -1
  79. package/dist/strings/catalogue.d.ts +3 -3
  80. package/dist/strings/catalogue.js +1 -1
  81. package/dist/strings/index.d.ts +3 -3
  82. package/dist/strings/index.js +1 -1
  83. package/dist/text-styles/index.js +11 -11
  84. package/dist/{words-AHHfiaRY.d.ts → words-C1U_dLBh.d.ts} +7 -0
  85. package/dist/{words-XH0TvZPg.d.ts → words-lpvYzf5U.d.ts} +4 -19
  86. package/dist/{words-D8kf071T.d.ts → words-vhnV8sM7.d.ts} +4 -26
  87. package/package.json +3 -3
  88. package/dist/LinkPicker-hPEr1MJx.d.ts +0 -113
  89. package/dist/chunk-4TMMEBAG.js +0 -4
  90. package/dist/chunk-5TRBCPRB.js +0 -5
  91. package/dist/chunk-BSSKAEFF.js +0 -5
  92. package/dist/chunk-E2O2MRZR.js +0 -1
  93. package/dist/chunk-FPOKPNO4.js +0 -1
  94. package/dist/chunk-HGTPLCTQ.js +0 -1
  95. package/dist/chunk-PWZOS45R.js +0 -2
  96. package/dist/chunk-RC6DD4XP.js +0 -7
  97. package/dist/chunk-TSQUEJZB.js +0 -5
  98. package/dist/chunk-UEM66O42.js +0 -64
  99. package/dist/chunk-UH7IGZKF.js +0 -1
  100. package/dist/chunk-VETFIYQR.js +0 -23
  101. package/dist/chunk-ZJEBF4NB.js +0 -1
@@ -1,15 +1,12 @@
1
- export{SETTINGS_BUCKETS,SettingsField,SettingsGroup,SettingsTabs}from"../chunk-YNOZ5NXW.js";import{DEFAULT_PANEL_WORDS as e}from"../chunk-QTLAVDJE.js";export{SettingsSegmented,SettingsSwitch}from"../chunk-QLD57GBB.js";import{withTip as l}from"../chunk-P2VEMZH5.js";import{jsx as a,jsxs as s}from"react/jsx-runtime";import{RevertIcon as i}from"efficient-shell/icons/efficient";import{IconButton as n,Tooltip as t}from"efficient-shell/ui";function r({title:e,level:l=3,id:s,className:i}){/* @__PURE__ */
2
- return a(`h${l}`,{id:s,className:i?`es-group-head ${i}`:"es-group-head",children:e})}function c({title:e,level:l=4,id:s,className:i}){/* @__PURE__ */
3
- return a(`h${l}`,{id:s,className:i?`es-group-sub ${i}`:"es-group-sub",children:e})}function o({label:s,changed:n,onReset:t,detail:r,disabled:c,defaultAction:o,words:p,className:b}){const h={...e,...p},f=["es-default-reset"];if(n&&f.push("is-changed"),b&&f.push(b),!n&&o)return f.push("is-pressable"),l(o.title,/* @__PURE__ */a("button",{type:"button",className:f.join(" "),"aria-label":o.title,disabled:c,onClick:o.onPress,children:o.icon}));if(!n)/* @__PURE__ */
4
- return a("span",{className:f.join(" "),"aria-hidden":"true"});const N=h.resetName({label:s});return l(r?h.resetTitle({label:s,detail:r}):N,/* @__PURE__ */a("button",{type:"button",className:f.join(" "),"aria-label":N,"aria-description":r||void 0,disabled:c,onClick:e=>{t(),function(e){const l=e.currentTarget,a=l.closest(".es-field");let s=a?.querySelector(u(".es-field-ctl"))??a?.querySelector(u(".es-field-head"))??null,i=a?null:l.parentElement;for(let e=0;!s&&i&&e<m;e+=1,i=i.parentElement)s=[...i.querySelectorAll(d)].find(e=>e!==l)??null;s?.focus()}(e)},children:/* @__PURE__ */a(i,{size:15})}))}var d=['input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","button:not([disabled]):not(.es-default-reset)",'[tabindex]:not([tabindex="-1"])'].join(", "),u=e=>d.split(", ").map(l=>`${e} ${l}`).join(", "),m=4;function p({name:e,preview:l,offPage:i,status:n,onOpen:t,id:r,className:c}){const o=null!=l;/* @__PURE__ */
5
- return s("button",{type:"button",id:r,className:c?`es-drill ${c}`:"es-drill",onClick:t,children:[
6
- /* @__PURE__ */s("span",{className:"es-drill-text",children:[
7
- /* @__PURE__ */a("span",{className:"es-drill-name",children:e}),o?/* @__PURE__ */a("span",{className:i?"es-drill-preview is-offpage":"es-drill-preview",children:l}):null]}),n?/* @__PURE__ */a("span",{className:"es-drill-status",children:n}):null,
8
- /* @__PURE__ */a("span",{className:"es-drill-chev","aria-hidden":"true"})]})}function b({label:e,value:l,points:s,onChange:i,id:r,className:c}){/* @__PURE__ */
9
- return a("div",{id:r,className:"es-placement"+(c?` ${c}`:""),role:"radiogroup","aria-label":e,children:s.map(e=>{const s=l===e.value,r=!0===e.disabled,c=r&&e.title?e.title:void 0,o=/* @__PURE__ */a(n,{size:"sm",role:"radio","aria-checked":s,"aria-label":e.label,"aria-disabled":r||void 0,disabledReason:c,className:`es-placement-cell${s?" is-active":""}${r?" is-off":""}`,onClick:()=>{r||i(e.value)},children:e.icon?/* @__PURE__ */a("span",{className:"es-placement-icon","aria-hidden":"true",children:e.icon}):/* @__PURE__ */a("span",{className:"es-placement-dot"})},e.value);return c?o:/* @__PURE__ */a(t,{content:e.title??e.label,children:o},e.value)})})}function h({label:e,value:l,corners:i,onChange:r,id:c,className:o}){/* @__PURE__ */
10
- return s("div",{id:c,className:"es-corners"+(o?` ${o}`:""),role:"group","aria-label":e,children:[
11
- /* @__PURE__ */a("span",{className:"es-corners-frame","aria-hidden":"true"}),i.map(e=>{const s=l.includes(e.value),i=!0===e.disabled,c=i&&e.title?e.title:void 0,o=/* @__PURE__ */a(n,{size:"sm","aria-pressed":s,"aria-label":e.label,"aria-disabled":i||void 0,disabledReason:c,className:`es-corners-cell es-corners-${e.value}${s?" is-on":""}${i?" is-off":""}`,onClick:()=>{i||r(s?l.filter(l=>l!==e.value):[...l,e.value])},children:/* @__PURE__ */a("span",{className:"es-corners-mark","aria-hidden":"true"})},e.value);return c?o:/* @__PURE__ */a(t,{content:e.title??e.label,children:o},e.value)})]})}function f({label:e,onPress:l,disabled:i,note:n,done:t,doneLabel:r,icon:c,id:o,className:d}){const u=void 0===r?e:r,m=t?u:e,p=null!=n,b=p&&o?`${o}-note`:void 0;/* @__PURE__ */
12
- return s("div",{className:d?`es-action-wrap ${d}`:"es-action-wrap",children:[
13
- /* @__PURE__ */s("button",{type:"button",id:o,className:t?"es-action is-done":"es-action",disabled:i,"aria-describedby":b,onClick:l,children:[c?/* @__PURE__ */a("span",{className:"es-action-icon","aria-hidden":"true",children:c}):null,
14
- /* @__PURE__ */a("span",{className:"es-action-label",children:m})]}),p?/* @__PURE__ */a("p",{id:b,className:"es-action-note",children:n}):null,
15
- /* @__PURE__ */a("span",{className:"es-action-live",role:"status","aria-live":"polite",children:t?u:null})]})}export{f as SettingsAction,h as SettingsCorners,o as SettingsDefaultReset,p as SettingsDrill,r as SettingsGroupHead,c as SettingsGroupSub,b as SettingsPlacement};
1
+ export{SETTINGS_BUCKETS,SettingsField,SettingsGroup,SettingsTabs}from"../chunk-YNOZ5NXW.js";import{DEFAULT_PANEL_WORDS as e}from"../chunk-QTLAVDJE.js";export{SettingsSegmented,SettingsSwitch}from"../chunk-QLD57GBB.js";import{withTip as n}from"../chunk-P2VEMZH5.js";import{jsx as s,jsxs as t}from"react/jsx-runtime";import{RevertIcon as l}from"efficient-shell/icons/efficient";export{CornersInput as SettingsCorners,AlignmentGrid as SettingsPlacement}from"efficient-shell/ui";function i({title:e,level:n=3,id:t,className:l}){/* @__PURE__ */
2
+ return s(`h${n}`,{id:t,className:l?`es-group-head ${l}`:"es-group-head",children:e})}function a({title:e,level:n=4,id:t,className:l}){/* @__PURE__ */
3
+ return s(`h${n}`,{id:t,className:l?`es-group-sub ${l}`:"es-group-sub",children:e})}function r({label:t,changed:i,onReset:a,detail:r,disabled:u,defaultAction:p,words:m,className:h}){const b={...e,...m},f=["es-default-reset"];if(i&&f.push("is-changed"),h&&f.push(h),!i&&p)return f.push("is-pressable"),n(p.title,/* @__PURE__ */s("button",{type:"button",className:f.join(" "),"aria-label":p.title,disabled:u,onClick:p.onPress,children:p.icon}));if(!i)/* @__PURE__ */
4
+ return s("span",{className:f.join(" "),"aria-hidden":"true"});const N=b.resetName({label:t});return n(r?b.resetTitle({label:t,detail:r}):N,/* @__PURE__ */s("button",{type:"button",className:f.join(" "),"aria-label":N,"aria-description":r||void 0,disabled:u,onClick:e=>{a(),function(e){const n=e.currentTarget,s=n.closest(".es-field");let t=s?.querySelector(c(".es-field-ctl"))??s?.querySelector(c(".es-field-head"))??null,l=s?null:n.parentElement;for(let e=0;!t&&l&&e<d;e+=1,l=l.parentElement)t=[...l.querySelectorAll(o)].find(e=>e!==n)??null;t?.focus()}(e)},children:/* @__PURE__ */s(l,{size:15})}))}var o=['input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","button:not([disabled]):not(.es-default-reset)",'[tabindex]:not([tabindex="-1"])'].join(", "),c=e=>o.split(", ").map(n=>`${e} ${n}`).join(", "),d=4;function u({name:e,preview:n,offPage:l,status:i,onOpen:a,id:r,className:o}){const c=null!=n;/* @__PURE__ */
5
+ return t("button",{type:"button",id:r,className:o?`es-drill ${o}`:"es-drill",onClick:a,children:[
6
+ /* @__PURE__ */t("span",{className:"es-drill-text",children:[
7
+ /* @__PURE__ */s("span",{className:"es-drill-name",children:e}),c?/* @__PURE__ */s("span",{className:l?"es-drill-preview is-offpage":"es-drill-preview",children:n}):null]}),i?/* @__PURE__ */s("span",{className:"es-drill-status",children:i}):null,
8
+ /* @__PURE__ */s("span",{className:"es-drill-chev","aria-hidden":"true"})]})}function p({label:e,onPress:n,disabled:l,note:i,done:a,doneLabel:r,icon:o,id:c,className:d}){const u=void 0===r?e:r,p=a?u:e,m=null!=i,h=m&&c?`${c}-note`:void 0;/* @__PURE__ */
9
+ return t("div",{className:d?`es-action-wrap ${d}`:"es-action-wrap",children:[
10
+ /* @__PURE__ */t("button",{type:"button",id:c,className:a?"es-action is-done":"es-action",disabled:l,"aria-describedby":h,onClick:n,children:[o?/* @__PURE__ */s("span",{className:"es-action-icon","aria-hidden":"true",children:o}):null,
11
+ /* @__PURE__ */s("span",{className:"es-action-label",children:p})]}),m?/* @__PURE__ */s("p",{id:h,className:"es-action-note",children:i}):null,
12
+ /* @__PURE__ */s("span",{className:"es-action-live",role:"status","aria-live":"polite",children:a?u:null})]})}export{p as SettingsAction,r as SettingsDefaultReset,u as SettingsDrill,i as SettingsGroupHead,a as SettingsGroupSub};
@@ -1037,171 +1037,6 @@ button.es-group-head:hover { background: var(--es-chip-bg); }
1037
1037
  .es-drill { transition: none; }
1038
1038
  }
1039
1039
 
1040
- /* ── SettingsPlacement — the 3×3 position grid ─────────────────────────────
1041
- One control for two questions a merchant asks the same way: which part of a
1042
- cropped picture stays in view, and where on the thing behind it a block sits.
1043
- Both are one of nine positions, and both want the corner PRESSED.
1044
-
1045
- Promoted out of efficient-storefront (`.sf-focal`) the day its own rule fired —
1046
- card 66189 wrote "the day a second section wants it, that is the card that
1047
- promotes it"; 66214 declined it early and said why; the sections that hold
1048
- boxes take it past six callers. The values below are the shop's, token for
1049
- token, so every existing caller draws exactly what it drew: the only change
1050
- is that `--sf-*` aliases have become the `--es-*` names they always aliased. */
1051
- .es-placement {
1052
- display: grid;
1053
- grid-template-columns: repeat(3, 1fr);
1054
- grid-template-rows: repeat(3, 1fr);
1055
- gap: 4px;
1056
- width: 96px;
1057
- height: 96px;
1058
- padding: 4px;
1059
- background: var(--es-track-bg);
1060
- border: 1px solid var(--es-input-border);
1061
- border-radius: var(--radius-lg);
1062
- }
1063
- /* Each cell is the shell's IconButton in its Tooltip's wrapper: the wrapper is
1064
- the grid's item, and the button fills it. The button's own look (hover,
1065
- focus ring, disabled) is the shell's. */
1066
- .es-placement > span,
1067
- .es-corners > span {
1068
- display: flex;
1069
- }
1070
- .es-placement-cell,
1071
- .es-corners-cell {
1072
- width: 100%;
1073
- height: 100%;
1074
- }
1075
- .es-placement-dot {
1076
- width: 7px;
1077
- height: 7px;
1078
- border-radius: 50%;
1079
- background: var(--es-muted);
1080
- opacity: 0.5;
1081
- transition: transform 0.12s, background 0.12s, opacity 0.12s;
1082
- }
1083
- .es-placement-cell:hover .es-placement-dot { opacity: 0.85; }
1084
- /* ⚠️ THE CHOSEN CELL IS THE PANEL'S CHIP, NOT THE SHOP'S TINT — and that is a
1085
- VISIBLE change to the control the shop ships today. `.sf-focal` marked its
1086
- chosen square with `--sf-accent-tint` and a bigger accent dot; that is card
1087
- 8811's answer, which cards 66138 and 66302 replaced everywhere else in this
1088
- panel. The strip tells the chosen chip apart by being the DARKEST thing in
1089
- the row on a grey track, and a nine-square asks the identical question —
1090
- which one am I on — so it gets the identical answer. Two answers to one
1091
- question, one panel apart, is the thing this package exists to prevent, and
1092
- `panel-layout.test.ts` bans the tint token package-wide to keep it that way.
1093
- The dot inverts with the ground, or it disappears into it. */
1094
- .es-placement-cell.is-active {
1095
- background: var(--es-text);
1096
- box-shadow: var(--es-raised-shadow);
1097
- }
1098
- .es-placement-cell.is-active .es-placement-dot {
1099
- background: var(--es-on-accent);
1100
- opacity: 1;
1101
- transform: scale(1.5);
1102
- }
1103
- /* A position the caller has closed. It keeps its square — nine that became
1104
- eight would read as a broken control — and stops answering the pointer; the
1105
- reason is the cell's description and its Tooltip. The cell is the shell
1106
- IconButton's `aria-disabled` (efficient-shell 4.166.0), which fades the
1107
- whole cell to 0.6 and shows the not-allowed cursor; the dot under that fade
1108
- stays at the 0.22 it showed before the cell faded (0.22 / 0.6), and does not
1109
- brighten on hover. */
1110
- .es-placement-cell.is-off .es-placement-dot { opacity: calc(0.22 / 0.6); }
1111
- /* A cell that draws a GLYPH instead of its dot — the Scrolling Bar's
1112
- `Scroll direction`, where four live cells mean a direction of travel and a
1113
- dot cannot say which way. It follows the cell through every state the dot
1114
- does, or the chosen square goes dark and the arrow on it stays muted and
1115
- disappears into the ground it is drawn on.
1116
- 13px, sized against the CELL and not against the settings column: a cell is
1117
- 26.67px across (96px box, 3×3, gap 4, padding 4) and the dot it stands in for
1118
- is 7px, so 13px reads as a direction without crowding the 6px cell radius. */
1119
- .es-placement-icon {
1120
- display: flex;
1121
- align-items: center;
1122
- justify-content: center;
1123
- color: var(--es-muted);
1124
- opacity: 0.5;
1125
- transition: color 0.12s, opacity 0.12s;
1126
- }
1127
- .es-placement-icon svg { width: 13px; height: 13px; display: block; }
1128
- .es-placement-cell:hover .es-placement-icon { opacity: 0.85; }
1129
- /* ⚠️ IT DOES NOT GROW THE WAY THE DOT DOES. The dot scales to 1.5 on the chosen
1130
- cell because a dot has no other way to say "chosen"; an arrow says its whole
1131
- meaning by its shape, and growing it would crowd the square and make it read
1132
- heavier than its three siblings. Colour alone marks it, on the inverted
1133
- ground the cell already paints. */
1134
- .es-placement-cell.is-active .es-placement-icon {
1135
- color: var(--es-on-accent);
1136
- opacity: 1;
1137
- }
1138
- .es-placement-cell.is-off .es-placement-icon { opacity: calc(0.22 / 0.6); }
1139
- /* Keyboard focus is visible, like every other control in this panel. */
1140
- @media (prefers-reduced-motion: reduce) {
1141
- .es-placement-icon,
1142
- .es-placement-dot { transition: none; }
1143
- }
1144
-
1145
- /* ── SettingsCorners — four corners of a box, any number of them lit ─────────
1146
- The sibling of `.es-placement` above and deliberately built from its parts:
1147
- the same track, the same chip on the chosen cell, the same focus ring. A
1148
- merchant who has met the nine-square should not have to learn this one.
1149
-
1150
- TWO COLUMNS, NOT THREE. The grid is 2×2 and each cell sits in the corner it
1151
- stands for, so the control has the shape of the thing it edits. */
1152
- .es-corners {
1153
- position: relative;
1154
- display: grid;
1155
- grid-template-columns: repeat(2, 1fr);
1156
- grid-template-rows: repeat(2, 1fr);
1157
- gap: 4px;
1158
- width: 96px;
1159
- height: 96px;
1160
- padding: 4px;
1161
- background: var(--es-track-bg);
1162
- border-radius: var(--radius-lg);
1163
- }
1164
- /* The BOX the four corners belong to. Inset so the cells sit ON its corners
1165
- rather than beside it, dashed so it reads as the outline of the thing being
1166
- edited rather than as a fifth control. See the note in SettingsCorners.tsx:
1167
- without this the cells are four switches, not one box. */
1168
- .es-corners-frame {
1169
- position: absolute;
1170
- inset: 22px;
1171
- border: 1.5px dashed var(--es-muted);
1172
- opacity: 0.45;
1173
- pointer-events: none;
1174
- }
1175
- .es-corners-mark {
1176
- width: 18px;
1177
- height: 18px;
1178
- background: var(--es-muted);
1179
- opacity: 0.5;
1180
- transition: border-radius 0.12s, background 0.12s, opacity 0.12s;
1181
- }
1182
- .es-corners-cell:hover .es-corners-mark { opacity: 0.85; }
1183
- /* ⚠️ THE FOUR RULES ARE WRITTEN OUT, ONE PER CORNER, and must stay written out.
1184
- The corner a cell stands for is in its class name (`es-corners-tl`), and a
1185
- radius built by interpolating that name is a string no stylesheet contains —
1186
- the same trap the shop documents on its own card wells. Four rules is the
1187
- whole cost of never having that bug. */
1188
- .es-corners-cell.is-on .es-corners-mark {
1189
- background: var(--es-accent);
1190
- opacity: 1;
1191
- }
1192
- .es-corners-tl.is-on .es-corners-mark { border-radius: var(--radius-lg) 0 0 0; }
1193
- .es-corners-tr.is-on .es-corners-mark { border-radius: 0 var(--radius-lg) 0 0; }
1194
- .es-corners-br.is-on .es-corners-mark { border-radius: 0 0 var(--radius-lg) 0; }
1195
- .es-corners-bl.is-on .es-corners-mark { border-radius: 0 0 0 var(--radius-lg); }
1196
- /* A corner the caller has closed. It keeps its cell — four that became three
1197
- would read as a broken control — and stops answering the pointer; the reason
1198
- is on the button's `title`. */
1199
- .es-corners-cell.is-off .es-corners-mark { opacity: calc(0.22 / 0.6); }
1200
- /* Keyboard focus is visible, like every other control in this panel. */
1201
- @media (prefers-reduced-motion: reduce) {
1202
- .es-corners-mark { transition: none; }
1203
- }
1204
-
1205
1040
  /* ── THE ACTION BUTTON (`[ADD] A Panel Button That Does One Thing`) ─────────────────────────────────────────
1206
1041
  The full-width press under a group's rows that COMMITS — "Apply to all
1207
1042
  cards". Measured against `.es-drill`, the panel's other full-width row, and
@@ -1 +1 @@
1
- export{AddBlockRow as default}from"../../chunk-4TMMEBAG.js";import"../../chunk-HQ4VVRIC.js";import"../../chunk-5TRBCPRB.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-VETFIYQR.js";import"../../chunk-FOBGSFFS.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-EA2HTX37.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-7SQF6LZL.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-67GNT6PF.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
1
+ export{AddBlockRow as default}from"../../chunk-TCNPQKY6.js";import"../../chunk-HQ4VVRIC.js";import"../../chunk-EJ6QAWRH.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-LYALMY55.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-CRPJGCSO.js";import"../../chunk-OZ72A6MY.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-EA2HTX37.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-66LWADFP.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FFYXVAAL.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-67GNT6PF.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
@@ -1 +1 @@
1
- export{blockKey,AddSidePanel as default,sectionKey,templateKey}from"../../chunk-TSQUEJZB.js";import"../../chunk-5ZBY24K7.js";import"../../chunk-PA3PNTVV.js";import"../../chunk-BVN33R76.js";import"../../chunk-BSSKAEFF.js";import"../../chunk-KQMML6JM.js";import"../../chunk-KCOBHPN6.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-HQ4VVRIC.js";import"../../chunk-5TRBCPRB.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-E2O2MRZR.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-VETFIYQR.js";import"../../chunk-FOBGSFFS.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-EA2HTX37.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-OXYGFK2B.js";import"../../chunk-ZJEBF4NB.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-7SQF6LZL.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-6HHHBBSY.js";import"../../chunk-O2NLQBFX.js";import"../../chunk-67GNT6PF.js";import"../../chunk-PAELDYYS.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
1
+ export{blockKey,AddSidePanel as default,sectionKey,templateKey}from"../../chunk-UV4D7CDX.js";import"../../chunk-5ZBY24K7.js";import"../../chunk-PA3PNTVV.js";import"../../chunk-BVN33R76.js";import"../../chunk-5SOSVTVI.js";import"../../chunk-KQMML6JM.js";import"../../chunk-KCOBHPN6.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-HQ4VVRIC.js";import"../../chunk-EJ6QAWRH.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-LYALMY55.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-CRPJGCSO.js";import"../../chunk-OZ72A6MY.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-EA2HTX37.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-GTDLBUOC.js";import"../../chunk-Y2G7CU6A.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-66LWADFP.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FFYXVAAL.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-6HHHBBSY.js";import"../../chunk-O2NLQBFX.js";import"../../chunk-67GNT6PF.js";import"../../chunk-PAELDYYS.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
@@ -13,7 +13,7 @@ import '../lib/backend-error.js';
13
13
  import '../../edit-lock/index.js';
14
14
  import '../lib/host-chrome.js';
15
15
  import '../lib/links/link-filters.js';
16
- import '../../LinkPicker-hPEr1MJx.js';
16
+ import 'efficient-shell/ui';
17
17
  import '../lib/document-hooks.js';
18
18
  import '../lib/section-template-types.js';
19
19
  import '../lib/puck/content-tree.js';
@@ -1 +1 @@
1
- export{MediaSidePanel as default}from"../../chunk-6OY2THZH.js";import"../../chunk-5TRBCPRB.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-VETFIYQR.js";import"../../chunk-FOBGSFFS.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-EA2HTX37.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-OXYGFK2B.js";import"../../chunk-ZJEBF4NB.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-7SQF6LZL.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-67GNT6PF.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
1
+ export{MediaSidePanel as default}from"../../chunk-4LD4KA27.js";import"../../chunk-EJ6QAWRH.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-CRPJGCSO.js";import"../../chunk-OZ72A6MY.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-EA2HTX37.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-GTDLBUOC.js";import"../../chunk-Y2G7CU6A.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-66LWADFP.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FFYXVAAL.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-67GNT6PF.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
@@ -2,13 +2,15 @@ import * as react from 'react';
2
2
  import { E as EaselContextMenuItem } from '../../types-BsyPh6EW.js';
3
3
  import { P as Place } from '../../types-41704JE4.js';
4
4
  import { N as NodeClipboard, C as ClipboardEntry, a as NodeOps } from '../../useNodeOps-BF0fQsif.js';
5
+ import { N as NodeMenuWords } from '../../words-DMG4dYq2.js';
5
6
  import { StyleSnapshot } from '../../style-clipboard/index.js';
7
+ import { S as StyleClipboardWords } from '../../words-CnnHb9jo.js';
8
+ import { ScreenMenuWords } from '../words.js';
6
9
  import { C as CanvasTarget } from '../../watch-BTYOJpQU.js';
7
10
  import { AddTarget } from '../lib/puck/add-target-types.js';
8
11
  import { ScreenMenuRows } from '../lib/screen-parts.js';
9
12
  import { EaselSession } from '../lib/session.js';
10
13
  import '../../plan-DChbUXdS.js';
11
- import '../../words-CnnHb9jo.js';
12
14
  import '../lib/puck/block-choice.js';
13
15
  import '../lib/puck/slot-section-spec.js';
14
16
  import '../../blocks/index.js';
@@ -35,7 +37,7 @@ import '../../engine-DBxp_v6B.js';
35
37
  import '../lib/admin-bridge.js';
36
38
  import '../lib/host-chrome.js';
37
39
  import '../lib/links/link-filters.js';
38
- import '../../LinkPicker-hPEr1MJx.js';
40
+ import 'efficient-shell/ui';
39
41
  import '../lib/backend-error.js';
40
42
  import '../lib/document-hooks.js';
41
43
 
@@ -166,6 +168,18 @@ type NodeMenuHost = {
166
168
  * Absent: "Page settings", as the row always said.
167
169
  */
168
170
  pageSettingsLabel?: string;
171
+ /**
172
+ * THE MENU'S WORDS in the host's language (3.1.0): a node's rows
173
+ * (`EaselStrings.menu`), Copy style and Paste style (`styleClipboard`), and
174
+ * the screen's own rows and lines (`screen.menu`). The rows are built by
175
+ * plain functions, which read no provider, so the chrome hands them in.
176
+ * Left out, or any part of it: English.
177
+ */
178
+ words?: {
179
+ menu?: NodeMenuWords;
180
+ styleClipboard?: StyleClipboardWords;
181
+ screen?: ScreenMenuWords;
182
+ };
169
183
  /**
170
184
  * NOTHING MAY BE WRITTEN (0.106.0): the document is frozen, somebody else
171
185
  * holds it, or a save was refused (`ScreenDocumentValue.readOnly`). The rows
@@ -542,18 +556,6 @@ declare function nodeMenuItems(host: NodeMenuHost, target: {
542
556
  zone: string;
543
557
  index: number;
544
558
  }): EaselContextMenuItem[];
545
- /**
546
- * What a right-click on the PAGE offers — the tree's ground, the panel, the
547
- * canvas between two sections.
548
- *
549
- * This ground used to fall through to Chrome, which is half of what the owner
550
- * was pointing at: a right-click that sometimes gives you the editor and
551
- * sometimes gives you Reload teaches you not to right-click at all.
552
- *
553
- * Everything here already exists on a button or a key. That is on purpose — a
554
- * context menu is a second door to actions a merchant can already reach, never
555
- * the only door to one, or the feature is hidden inside a gesture.
556
- */
557
559
  declare function pageMenuItems(host: NodeMenuHost): EaselContextMenuItem[];
558
560
  /**
559
561
  * What a right-click INSIDE A TEXT BOX offers.
@@ -1 +1 @@
1
- export{EASEL_NODE_CLIPBOARD,ancestorChain,nodeClipboardOf,nodeClipboardRules,nodeMenuItems,nodeShortcut,pageMenuItems,pastePlace,runNodeShortcut,textMenuItems,useNodeClipboard,useNodeContextMenu}from"../../chunk-HGTPLCTQ.js";import"../../chunk-V7U33NF2.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-6WY6ZXJG.js";import"../../chunk-BXMXTO36.js";import"../../chunk-EA2HTX37.js";import"../../chunk-OSPUG6S6.js";import"../../chunk-WK3AFPXY.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-PAELDYYS.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
1
+ export{EASEL_NODE_CLIPBOARD,ancestorChain,nodeClipboardOf,nodeClipboardRules,nodeMenuItems,nodeShortcut,pageMenuItems,pastePlace,runNodeShortcut,textMenuItems,useNodeClipboard,useNodeContextMenu}from"../../chunk-53NZMIRT.js";import"../../chunk-V7U33NF2.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-6WY6ZXJG.js";import"../../chunk-LYALMY55.js";import"../../chunk-BXMXTO36.js";import"../../chunk-EA2HTX37.js";import"../../chunk-OSPUG6S6.js";import"../../chunk-WK3AFPXY.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-PAELDYYS.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
@@ -1 +1 @@
1
- export{PageEditGuardNotices as default}from"../../chunk-35Q5HMJZ.js";import"../../chunk-ONRYLR2D.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"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-E2O2MRZR.js";import"../../chunk-BDTITTMW.js";import"../../chunk-H6DDIBQ4.js";import"../../chunk-OXYGFK2B.js";import"../../chunk-ZJEBF4NB.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-MFIRYGHW.js";
1
+ export{PageEditGuardNotices as default}from"../../chunk-EF3YSWT5.js";import"../../chunk-VGV5D667.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"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-LYALMY55.js";import"../../chunk-BDTITTMW.js";import"../../chunk-H6DDIBQ4.js";import"../../chunk-GTDLBUOC.js";import"../../chunk-Y2G7CU6A.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-MFIRYGHW.js";
@@ -1 +1 @@
1
- export{ScreenChrome as default}from"../../chunk-UEM66O42.js";import"../../chunk-26OOWIJJ.js";import"../../chunk-ZV6OYSZ7.js";import"../../chunk-FGNR22NY.js";import"../../chunk-ZE7I3PLX.js";import"../../chunk-2GVCAIPX.js";import"../../chunk-PWZOS45R.js";import"../../chunk-7F52SZOI.js";import"../../chunk-R2HLPNQF.js";import"../../chunk-TBF5CVPA.js";import"../../chunk-4ES5JGGX.js";import"../../chunk-IQ5TA7AM.js";import"../../chunk-DUVRZ456.js";import"../../chunk-6W7WLPZH.js";import"../../chunk-PT6V53OO.js";import"../../chunk-KCBEE2MC.js";import"../../chunk-2JIWFFXA.js";import"../../chunk-VB5LRSGJ.js";import"../../chunk-UAVNI3BU.js";import"../../chunk-IYT6NN2J.js";import"../../chunk-HGTPLCTQ.js";import"../../chunk-35Q5HMJZ.js";import"../../chunk-BSPCSC45.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";import"../../chunk-ONRYLR2D.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-V7U33NF2.js";import"../../chunk-5545A3PC.js";import"../../chunk-TSQUEJZB.js";import"../../chunk-5ZBY24K7.js";import"../../chunk-PA3PNTVV.js";import"../../chunk-BVN33R76.js";import"../../chunk-BSSKAEFF.js";import"../../chunk-KQMML6JM.js";import"../../chunk-KCOBHPN6.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-HQ4VVRIC.js";import"../../chunk-6OY2THZH.js";import"../../chunk-5TRBCPRB.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-6WY6ZXJG.js";import"../../chunk-E2O2MRZR.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-VETFIYQR.js";import"../../chunk-FOBGSFFS.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-BXMXTO36.js";import"../../chunk-EA2HTX37.js";import"../../chunk-OSPUG6S6.js";import"../../chunk-WK3AFPXY.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-4VJATVVR.js";import"../../chunk-BDTITTMW.js";import"../../chunk-H6DDIBQ4.js";import"../../chunk-OXYGFK2B.js";import"../../chunk-ZJEBF4NB.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-7SQF6LZL.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-6HHHBBSY.js";import"../../chunk-O2NLQBFX.js";import"../../chunk-67GNT6PF.js";import"../../chunk-PAELDYYS.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
1
+ export{ScreenChrome as default}from"../../chunk-7HGVGKWU.js";import"../../chunk-26OOWIJJ.js";import"../../chunk-MYC3AVG2.js";import"../../chunk-FGNR22NY.js";import"../../chunk-ZE7I3PLX.js";import"../../chunk-2GVCAIPX.js";import"../../chunk-VX5GDBRI.js";import"../../chunk-7F52SZOI.js";import"../../chunk-R2HLPNQF.js";import"../../chunk-TBF5CVPA.js";import"../../chunk-4ES5JGGX.js";import"../../chunk-IQ5TA7AM.js";import"../../chunk-DUVRZ456.js";import"../../chunk-6W7WLPZH.js";import"../../chunk-PT6V53OO.js";import"../../chunk-KCBEE2MC.js";import"../../chunk-42TMLDSQ.js";import"../../chunk-BVUPKIM3.js";import"../../chunk-LHZIMK3M.js";import"../../chunk-IYT6NN2J.js";import"../../chunk-53NZMIRT.js";import"../../chunk-EF3YSWT5.js";import"../../chunk-BSPCSC45.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";import"../../chunk-VGV5D667.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-V7U33NF2.js";import"../../chunk-5545A3PC.js";import"../../chunk-UV4D7CDX.js";import"../../chunk-5ZBY24K7.js";import"../../chunk-PA3PNTVV.js";import"../../chunk-BVN33R76.js";import"../../chunk-5SOSVTVI.js";import"../../chunk-KQMML6JM.js";import"../../chunk-KCOBHPN6.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-HQ4VVRIC.js";import"../../chunk-4LD4KA27.js";import"../../chunk-EJ6QAWRH.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-6WY6ZXJG.js";import"../../chunk-LYALMY55.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-CRPJGCSO.js";import"../../chunk-OZ72A6MY.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-BXMXTO36.js";import"../../chunk-EA2HTX37.js";import"../../chunk-OSPUG6S6.js";import"../../chunk-WK3AFPXY.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-4VJATVVR.js";import"../../chunk-BDTITTMW.js";import"../../chunk-H6DDIBQ4.js";import"../../chunk-GTDLBUOC.js";import"../../chunk-Y2G7CU6A.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-66LWADFP.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FFYXVAAL.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-6HHHBBSY.js";import"../../chunk-O2NLQBFX.js";import"../../chunk-67GNT6PF.js";import"../../chunk-PAELDYYS.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
@@ -15,7 +15,7 @@ import '../lib/session.js';
15
15
  import '../lib/backend-error.js';
16
16
  import '../lib/host-chrome.js';
17
17
  import '../lib/links/link-filters.js';
18
- import '../../LinkPicker-hPEr1MJx.js';
18
+ import 'efficient-shell/ui';
19
19
  import '../lib/document-hooks.js';
20
20
  import '../lib/section-template-types.js';
21
21
  import '../lib/puck/content-tree.js';
@@ -1 +1 @@
1
- export{ScreenDocumentContext,ScreenDocumentProvider,useScreenDocument}from"../../chunk-ONRYLR2D.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"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-E2O2MRZR.js";import"../../chunk-BDTITTMW.js";import"../../chunk-H6DDIBQ4.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MFIRYGHW.js";
1
+ export{ScreenDocumentContext,ScreenDocumentProvider,useScreenDocument}from"../../chunk-VGV5D667.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"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-LYALMY55.js";import"../../chunk-BDTITTMW.js";import"../../chunk-H6DDIBQ4.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MFIRYGHW.js";
@@ -14,7 +14,7 @@ import '../lib/backend-error.js';
14
14
  import '../../edit-lock/index.js';
15
15
  import '../lib/host-chrome.js';
16
16
  import '../lib/links/link-filters.js';
17
- import '../../LinkPicker-hPEr1MJx.js';
17
+ import 'efficient-shell/ui';
18
18
  import '../lib/document-hooks.js';
19
19
  import '../lib/section-template-types.js';
20
20
  import '../lib/puck/content-tree.js';
@@ -1 +1 @@
1
- export{DocumentScreen,ScreenMount as default}from"../../chunk-RC6DD4XP.js";import"../../chunk-GXQCZJOP.js";import"../../chunk-AAT3O7PK.js";import"../../chunk-UEM66O42.js";import"../../chunk-26OOWIJJ.js";import"../../chunk-ZV6OYSZ7.js";import"../../chunk-FGNR22NY.js";import"../../chunk-ZE7I3PLX.js";import"../../chunk-2GVCAIPX.js";import"../../chunk-PWZOS45R.js";import"../../chunk-7F52SZOI.js";import"../../chunk-R2HLPNQF.js";import"../../chunk-TBF5CVPA.js";import"../../chunk-4ES5JGGX.js";import"../../chunk-IQ5TA7AM.js";import"../../chunk-DUVRZ456.js";import"../../chunk-6W7WLPZH.js";import"../../chunk-PT6V53OO.js";import"../../chunk-KCBEE2MC.js";import"../../chunk-2JIWFFXA.js";import"../../chunk-VB5LRSGJ.js";import"../../chunk-UAVNI3BU.js";import"../../chunk-IYT6NN2J.js";import"../../chunk-HGTPLCTQ.js";import"../../chunk-35Q5HMJZ.js";import"../../chunk-BSPCSC45.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";import"../../chunk-ONRYLR2D.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-V7U33NF2.js";import"../../chunk-5545A3PC.js";import"../../chunk-TSQUEJZB.js";import"../../chunk-5ZBY24K7.js";import"../../chunk-PA3PNTVV.js";import"../../chunk-BVN33R76.js";import"../../chunk-BSSKAEFF.js";import"../../chunk-KQMML6JM.js";import"../../chunk-KCOBHPN6.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-HQ4VVRIC.js";import"../../chunk-6OY2THZH.js";import"../../chunk-5TRBCPRB.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-6WY6ZXJG.js";import"../../chunk-E2O2MRZR.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-VETFIYQR.js";import"../../chunk-FOBGSFFS.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-BXMXTO36.js";import"../../chunk-EA2HTX37.js";import"../../chunk-OSPUG6S6.js";import"../../chunk-WK3AFPXY.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-4VJATVVR.js";import"../../chunk-BDTITTMW.js";import"../../chunk-H6DDIBQ4.js";import"../../chunk-OXYGFK2B.js";import"../../chunk-ZJEBF4NB.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-7SQF6LZL.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-6HHHBBSY.js";import"../../chunk-O2NLQBFX.js";import"../../chunk-67GNT6PF.js";import"../../chunk-PAELDYYS.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
1
+ export{DocumentScreen,ScreenMount as default}from"../../chunk-JVUGLF5I.js";import"../../chunk-GXQCZJOP.js";import"../../chunk-TGF7KEO7.js";import"../../chunk-7HGVGKWU.js";import"../../chunk-26OOWIJJ.js";import"../../chunk-MYC3AVG2.js";import"../../chunk-FGNR22NY.js";import"../../chunk-ZE7I3PLX.js";import"../../chunk-2GVCAIPX.js";import"../../chunk-VX5GDBRI.js";import"../../chunk-7F52SZOI.js";import"../../chunk-R2HLPNQF.js";import"../../chunk-TBF5CVPA.js";import"../../chunk-4ES5JGGX.js";import"../../chunk-IQ5TA7AM.js";import"../../chunk-DUVRZ456.js";import"../../chunk-6W7WLPZH.js";import"../../chunk-PT6V53OO.js";import"../../chunk-KCBEE2MC.js";import"../../chunk-42TMLDSQ.js";import"../../chunk-BVUPKIM3.js";import"../../chunk-LHZIMK3M.js";import"../../chunk-IYT6NN2J.js";import"../../chunk-53NZMIRT.js";import"../../chunk-EF3YSWT5.js";import"../../chunk-BSPCSC45.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";import"../../chunk-VGV5D667.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-V7U33NF2.js";import"../../chunk-5545A3PC.js";import"../../chunk-UV4D7CDX.js";import"../../chunk-5ZBY24K7.js";import"../../chunk-PA3PNTVV.js";import"../../chunk-BVN33R76.js";import"../../chunk-5SOSVTVI.js";import"../../chunk-KQMML6JM.js";import"../../chunk-KCOBHPN6.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-HQ4VVRIC.js";import"../../chunk-4LD4KA27.js";import"../../chunk-EJ6QAWRH.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-6WY6ZXJG.js";import"../../chunk-LYALMY55.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-CRPJGCSO.js";import"../../chunk-OZ72A6MY.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-BXMXTO36.js";import"../../chunk-EA2HTX37.js";import"../../chunk-OSPUG6S6.js";import"../../chunk-WK3AFPXY.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-4VJATVVR.js";import"../../chunk-BDTITTMW.js";import"../../chunk-H6DDIBQ4.js";import"../../chunk-GTDLBUOC.js";import"../../chunk-Y2G7CU6A.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-66LWADFP.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FFYXVAAL.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-6HHHBBSY.js";import"../../chunk-O2NLQBFX.js";import"../../chunk-67GNT6PF.js";import"../../chunk-PAELDYYS.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
@@ -31,7 +31,7 @@ import '../lib/session.js';
31
31
  import '../lib/backend-error.js';
32
32
  import '../lib/host-chrome.js';
33
33
  import '../lib/links/link-filters.js';
34
- import '../../LinkPicker-hPEr1MJx.js';
34
+ import 'efficient-shell/ui';
35
35
  import '../lib/document-hooks.js';
36
36
  import '../lib/document-switch.js';
37
37
  import '../../engine-DBxp_v6B.js';
@@ -1 +1 @@
1
- export{ScreenStoreProvider as default}from"../../chunk-AAT3O7PK.js";import"../../chunk-5TRBCPRB.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-VETFIYQR.js";import"../../chunk-FOBGSFFS.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-EA2HTX37.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-7SQF6LZL.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-67GNT6PF.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
1
+ export{ScreenStoreProvider as default}from"../../chunk-TGF7KEO7.js";import"../../chunk-EJ6QAWRH.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-CRPJGCSO.js";import"../../chunk-OZ72A6MY.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-EA2HTX37.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-66LWADFP.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FFYXVAAL.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-67GNT6PF.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
@@ -1,16 +1,16 @@
1
- import{AddBlockRow as e}from"../../chunk-4TMMEBAG.js";import{slotChildRowName as n}from"../../chunk-TBF5CVPA.js";import{scrollPreviewToSection as o,gotoPreviewSlide as r}from"../../chunk-4ES5JGGX.js";import"../../chunk-IQ5TA7AM.js";import"../../chunk-DUVRZ456.js";import"../../chunk-6W7WLPZH.js";import{useEaselUndoKeys as t}from"../../chunk-PT6V53OO.js";import{SlotChildActionsProvider as s}from"../../chunk-KCBEE2MC.js";import{DEFAULT_PANEL_W as i}from"../../chunk-2JIWFFXA.js";import{usePartBridge as c}from"../../chunk-VB5LRSGJ.js";import{useSectionOps as p}from"../../chunk-UAVNI3BU.js";import"../../chunk-IYT6NN2J.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";import{useScreenDocument as l}from"../../chunk-ONRYLR2D.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"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-HQ4VVRIC.js";import{MediaSidePanel as m}from"../../chunk-6OY2THZH.js";import{SELECTION_MODE as d,useScreenPinned as a,useScreenCanvasFrame as u,useScreenInspectorPanel as h,useScreenPickFollowsSelection as k,sameInspectorMode as f,useStandaloneScreenBridges as j,useScreenBlockLook as N,useScreenBlockRules as y}from"../../chunk-5TRBCPRB.js";import{nestsInTree as S,slotFieldsOf as O}from"../../chunk-PLVEGYK6.js";import{useMediaPanel as B,usePanelPick as C,useCancelPanelPick as R}from"../../chunk-R6WTQWAC.js";import{useHostEscape as A}from"../../chunk-U3JP4VGF.js";import"../../chunk-E2O2MRZR.js";import{useEasel as x}from"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-VETFIYQR.js";import"../../chunk-FOBGSFFS.js";import{LayersTree as P,Subtree as T,TreeRow as E,TreeRowAction as F,TreeSeam as v}from"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-EA2HTX37.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-BDTITTMW.js";import{saveIndicator as L}from"../../chunk-H6DDIBQ4.js";import{SaveState as H,panelWidthVars as M}from"../../chunk-OXYGFK2B.js";import"../../chunk-ZJEBF4NB.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-7SQF6LZL.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-6HHHBBSY.js";import"../../chunk-O2NLQBFX.js";import{useTreeDrag as Y}from"../../chunk-67GNT6PF.js";import"../../chunk-PAELDYYS.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import{zoneKey as g,parseZoneKey as z}from"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";import{useState as b,useRef as D,useEffect as w,useCallback as V,Fragment as G}from"react";import{Tooltip as W}from"efficient-shell/ui";import{TrashIcon as Z}from"efficient-shell/icons/efficient";import{jsxs as $,jsx as I,Fragment as J}from"react/jsx-runtime";var Q=e=>n=>{n.target.closest("button, input")||e()},X={rowClick:Q};function K(){const{saveState:K,readOnly:U,readOnlyReason:q=null}=l(),_=p(),{appState:ee,selectedItem:ne,config:oe}=x(e=>e),[re,te]=b(d),{first:se,last:ie,panelOf:ce}=a(),pe=ce(se),le=u(),me=h(),de=ee.data.content?.[0]??null,ae=de?.props.id??null,ue=de?.type===se,he=de?.type===ie,ke=D(null),fe=D(null);t(fe);const je=B(),Ne=C(),ye=R();k(ne?.props.id),w(()=>{const e=fe.current;if(!Ne||!e)return;const n=e=>{"Escape"===e.key&&ye()};return e.addEventListener("keydown",n),()=>e.removeEventListener("keydown",n)},[Ne]),A(null!==Ne,()=>ye()),w(()=>{ae&&ke.current!==ae&&(ke.current=ae,ue?te(pe??d):ne||_.select({index:0}))},[ae,ne,_,ue]);const Se=V(e=>te(n=>f(n,e)?n:e),[]),Oe=j({kind:re.kind,mode:re,open:Se,show:e=>te(e),reveal:()=>{},select:(e,n)=>{te(e=>f(e,n)?e:n),_.select(e)}}),{selectNode:Be}=c({mode:re,setMode:te,onOpenPart:o}),Ce=N(),{labelAtLevel:Re,Icon:Ae}=Ce,{canAddTo:xe}=y(),Pe=e=>oe.components[e]?.label??e,Te=e=>Re(e,"section",Pe(e)),Ee=!ue&&"puck"===re.kind&&ne?.props.id===ae,Fe=de?xe(de.type)?.spec??null:null,ve=de&&Fe?`${de.props.id}:${Fe.slot}`:null,Le=de&&Fe&&Array.isArray(de.props[Fe.slot])?de.props[Fe.slot]:[],He=e=>n(e,Pe,Ce.plainText),Me=(e,n)=>{de&&Fe&&ve&&(te(d),Fe.slider?(r(String(de.props.id),e),_.select({index:e,zone:ve}),o(String(de.props.id))):(_.select({index:e,zone:ve}),o(n)))},Ye=()=>{if(!de||!Fe||!ve)return;const e=Le.length;_.insertComponent(ve,Fe.childType,e),te(d),Fe.slider?requestAnimationFrame(()=>{r(String(de.props.id),e),_.select({index:e,zone:ve})}):_.select({index:e,zone:ve})},ge=e=>O(oe,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 ge(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(de)?.props[o];return Array.isArray(t)?t.length:0},be=(e,n,o)=>{const r=Math.min(Math.max(o,0),ze(e)),t=n<r?r-1:r;t!==n&&(_.reorderComponent(e,n,t),te(d),_.select({index:t,zone:e}))},De=Y({keyOf:e=>e.id,readOnly:Boolean(U),canDrop:(e,n)=>g(n)===e.zone&&n.index>=0&&n.index<=ze(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__ */I(v,{...U?{}:De.seam({place:{...z(e),index:n}})},`seam:${e}:${n}`),Ve=e=>Ce.blockRowName(e,Pe),Ge=(e,n,r)=>{te(d),_.select({index:n,zone:e}),o(r)},We=(e,n,o)=>{_.insertComponent(e,n,o),te(d),_.select({index:o,zone:e})},Ze=(n,o,r)=>/* @__PURE__ */I(e,{choices:r,onPick:e=>We(n,e,o)}),$e=(e,n)=>{const o=ge((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=xe(e.type),s=t?.choices??null,i="footer"===t?.source?Ve:He;/* @__PURE__ */
2
- return $(J,{children:[o.map(({child:e,zone:o,index:r})=>{const t=ne?.props.id===e.props.id,s=S(oe,e.type,n),c=i(e),p=String(e.props.id),l=()=>Ge(o,r,p),{rowProps:m,...a}=De.row({item:{id:p,zone:o,index:r},place:{...z(o),index:r}},{onClick:Q(l)});/* @__PURE__ */
3
- return $(G,{children:[0===r&&we(o,0),
4
- /* @__PURE__ */I(E,{icon:/* @__PURE__ */I(Ae,{type:e.type,size:13}),name:c,selected:t,onSelect:l,...a,actions:/* @__PURE__ */I(F,{kind:"delete",label:`Delete ${c}`,onClick:()=>{return e=o,n=r,_.removeComponent(e,n),te(d),void _.select(null);var e,n},children:/* @__PURE__ */I(Z,{size:13})}),rowProps:m}),s&&/* @__PURE__ */I(T,{children:$e(e,n+1)}),we(o,r+1)]},String(e.props.id??`${o}-${r}`))}),t&&s?Ze(`${e.props.id}:${t.slot}`,o.length,s):null]})},Ie="HeroSingle"===de?.type,Je=Boolean(de)&&(Boolean(Fe)||he||ue||Ie);/* @__PURE__ */
5
- return $("div",{ref:fe,className:"sf-editor es-editor",style:M(i),children:[
6
- /* @__PURE__ */I("div",{className:"sf-section-bar",children:/* @__PURE__ */I(H,null!==q?{tone:"off",label:q,role:"status"}:{...L(K),role:"status"})}),
7
- /* @__PURE__ */$("div",{className:"sf-body",children:[Ne&&je?/* @__PURE__ */I("aside",{className:"es-sidepanel es-sidepanel--left sf-panel sf-panel--left",children:/* @__PURE__ */I(m,{panel:je,pick:Ne})}):Je&&de&&/* @__PURE__ */$("aside",{className:"es-sidepanel es-sidepanel--left sf-panel sf-panel--left",children:[
8
- /* @__PURE__ */I("div",{className:"sf-panel-head",children:/* @__PURE__ */I(W,{content:ue?"Header settings":`${Te(de.type)} settings`,side:"bottom",children:/* @__PURE__ */I("button",{type:"button",className:"sf-panel-title sf-panel-title--btn "+(Ee?"is-selected":""),"aria-pressed":Ee,onClick:()=>{ue?te(pe??d):(te(d),_.select({index:0}))},children:Te(de.type)})})}),
9
- /* @__PURE__ */I(P,{className:"sf-tree sf-scroll",rootProps:De.rootProps(),children:/* @__PURE__ */I(T,{children:ue?
10
- /* @__PURE__ */I(E,{icon:/* @__PURE__ */I(Ae,{type:"header",size:13}),name:"Header settings",selected:re.kind===pe?.kind,onSelect:()=>te(pe??d),rowProps:{onClick:Q(()=>te(pe??d))}}):Fe?/* @__PURE__ */$(J,{children:[Le.map((e,n)=>{const o=ne?.props.id===e.props.id,r=He(e),t=String(e.props.id),s=()=>Me(n,t),{rowProps:i,...c}=De.row({item:{id:t,zone:ve,index:n},place:{...z(ve),index:n}},{onClick:Q(s)});/* @__PURE__ */
11
- return $(G,{children:[0===n&&we(ve,0),
12
- /* @__PURE__ */I(E,{icon:/* @__PURE__ */I(Ae,{type:e.type,size:13}),name:r,selected:o,onSelect:s,...c,actions:/* @__PURE__ */I(F,{kind:"delete",label:`Delete ${r}`,onClick:()=>{return e=n,void(ve&&(_.removeComponent(ve,e),te(d),_.select(null)));var e},children:/* @__PURE__ */I(Z,{size:13})}),rowProps:i}),we(ve,n+1)]},String(e.props.id??n))}),
13
- /* @__PURE__ */$("button",{type:"button",className:"sf-add-card",onClick:Ye,children:[
14
- /* @__PURE__ */I("span",{className:"sf-plus sf-plus--sm",children:"+"}),Fe.addLabel]}),ae?Oe.partRows?.(de,X):null]}):$e(de,1)})})]}),
15
- /* @__PURE__ */I("div",{className:"sf-center",children:/* @__PURE__ */I("div",{className:"sf-preview-host",children:/* @__PURE__ */I(le,{})})}),
16
- /* @__PURE__ */I(s,{value:{selectChild:(e,n,o,r)=>"section"===xe(r)?.source?Me(n,o):Ge(e,n,o),addChild:(e,n,o,r,t)=>"section"===xe(t)?.source?Ye():We(`${e}:${n}`,o,r),childRowName:He,blockRowName:Ve},children:/* @__PURE__ */I(me,{mode:re,onOpenWebsiteSettings:Oe.openSettings??(()=>{}),onSelectNode:Be,hideNodeActions:!0})})]})]})}export{K as default};
1
+ import{AddBlockRow as e}from"../../chunk-TCNPQKY6.js";import{slotChildRowName as n}from"../../chunk-TBF5CVPA.js";import{scrollPreviewToSection as o,gotoPreviewSlide as r}from"../../chunk-4ES5JGGX.js";import"../../chunk-IQ5TA7AM.js";import"../../chunk-DUVRZ456.js";import"../../chunk-6W7WLPZH.js";import{useEaselUndoKeys as t}from"../../chunk-PT6V53OO.js";import{SlotChildActionsProvider as s}from"../../chunk-KCBEE2MC.js";import{DEFAULT_PANEL_W as i}from"../../chunk-42TMLDSQ.js";import{usePartBridge as c}from"../../chunk-BVUPKIM3.js";import{useSectionOps as p}from"../../chunk-LHZIMK3M.js";import"../../chunk-IYT6NN2J.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";import{useScreenDocument as l}from"../../chunk-VGV5D667.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"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-HQ4VVRIC.js";import{MediaSidePanel as m}from"../../chunk-4LD4KA27.js";import{SELECTION_MODE as d,useScreenPinned as a,useScreenCanvasFrame as u,useScreenInspectorPanel as h,useScreenPickFollowsSelection as k,sameInspectorMode as f,useStandaloneScreenBridges as j,useScreenBlockLook as N,useScreenBlockRules as S}from"../../chunk-EJ6QAWRH.js";import{nestsInTree as y,slotFieldsOf as A}from"../../chunk-PLVEGYK6.js";import{useMediaPanel as C,usePanelPick as x,useCancelPanelPick as O}from"../../chunk-R6WTQWAC.js";import{useHostEscape as L}from"../../chunk-U3JP4VGF.js";import{DEFAULT_SCREEN_WORDS as P}from"../../chunk-LYALMY55.js";import{useEasel as M}from"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-CRPJGCSO.js";import"../../chunk-OZ72A6MY.js";import{LayersTree as v,Subtree as R,TreeRow as T,TreeRowAction as Y,TreeSeam as B}from"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import{DEFAULT_TREE_WORDS as g}from"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-EA2HTX37.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-BDTITTMW.js";import{DEFAULT_SAVE_WORDS as w,saveIndicator as z}from"../../chunk-H6DDIBQ4.js";import{SaveState as D,panelWidthVars as E}from"../../chunk-GTDLBUOC.js";import"../../chunk-Y2G7CU6A.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-66LWADFP.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FFYXVAAL.js";import{useWords as b}from"../../chunk-MFIRYGHW.js";import"../../chunk-6HHHBBSY.js";import"../../chunk-O2NLQBFX.js";import{useTreeDrag as H}from"../../chunk-67GNT6PF.js";import"../../chunk-PAELDYYS.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import{zoneKey as V,parseZoneKey as F}from"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";import{useState as W,useRef as G,useEffect as K,useCallback as Q,Fragment as I}from"react";import{Tooltip as J}from"efficient-shell/ui";import{TrashIcon as X}from"efficient-shell/icons/efficient";import{jsxs as Z,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}=l(),re=p(),{appState:te,selectedItem:se,config:ie}=M(e=>e),[ce,pe]=W(d),le=b("screen",P),me=b("tree",g),de=b("save",w),{first:ae,last:ue,panelOf:he}=a(),ke=he(ae),fe=u(),je=h(),Ne=te.data.content?.[0]??null,Se=Ne?.props.id??null,ye=Ne?.type===ae,Ae=Ne?.type===ue,Ce=G(null),xe=G(null);t(xe);const Oe=C(),Le=x(),Pe=O();k(se?.props.id),K(()=>{const e=xe.current;if(!Le||!e)return;const n=e=>{"Escape"===e.key&&Pe()};return e.addEventListener("keydown",n),()=>e.removeEventListener("keydown",n)},[Le]),L(null!==Le,()=>Pe()),K(()=>{Se&&Ce.current!==Se&&(Ce.current=Se,ye?pe(ke??d):se||re.select({index:0}))},[Se,se,re,ye]);const Me=Q(e=>pe(n=>f(n,e)?n:e),[]),ve=j({kind:ce.kind,mode:ce,open:Me,show:e=>pe(e),reveal:()=>{},select:(e,n)=>{pe(e=>f(e,n)?e:n),re.select(e)}}),{selectNode:Re}=c({mode:ce,setMode:pe,onOpenPart:o}),Te=N(),{labelAtLevel:Ye,Icon:Be}=Te,{canAddTo:ge}=S(),we=e=>Ye(e,"block",ie.components[e]?.label??e),ze=e=>Ye(e,"section",we(e)),De=!ye&&"puck"===ce.kind&&se?.props.id===Se,Ee=Ne?ge(Ne.type)?.spec??null:null,be=Ne&&Ee?`${Ne.props.id}:${Ee.slot}`:null,He=Ne&&Ee&&Array.isArray(Ne.props[Ee.slot])?Ne.props[Ee.slot]:[],Ve=e=>n(e,we,Te.plainText),Fe=(e,n)=>{Ne&&Ee&&be&&(pe(d),Ee.slider?(r(String(Ne.props.id),e),re.select({index:e,zone:be}),o(String(Ne.props.id))):(re.select({index:e,zone:be}),o(n)))},We=()=>{if(!Ne||!Ee||!be)return;const e=He.length;re.insertComponent(be,Ee.childType,e),pe(d),Ee.slider?requestAnimationFrame(()=>{r(String(Ne.props.id),e),re.select({index:e,zone:be})}):re.select({index:e,zone:be})},Ge=e=>A(ie,e),Ke=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 Ge(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},Qe=(e,n,o)=>{const r=Math.min(Math.max(o,0),Ke(e)),t=n<r?r-1:r;t!==n&&(re.reorderComponent(e,n,t),pe(d),re.select({index:t,zone:e}))},Ie=H({keyOf:e=>e.id,readOnly:Boolean(ne),canDrop:(e,n)=>V(n)===e.zone&&n.index>=0&&n.index<=Ke(e.zone),onDrop:(e,n)=>Qe(e.zone,e.index,n.index),onStep:(e,n)=>Qe(e.zone,e.index,n<0?e.index-1:e.index+2)}),Je=(e,n)=>/* @__PURE__ */$(B,{...ne?{}:Ie.seam({place:{...F(e),index:n}})},`seam:${e}:${n}`),Xe=e=>Te.blockRowName(e,we),Ze=(e,n,r)=>{pe(d),re.select({index:n,zone:e}),o(r)},$e=(e,n,o)=>{re.insertComponent(e,n,o),pe(d),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=Ge((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=ge(e.type),s=t?.choices??null,i="footer"===t?.source?Xe:Ve;/* @__PURE__ */
2
+ return Z(U,{children:[o.map(({child:e,zone:o,index:r})=>{const t=se?.props.id===e.props.id,s=y(ie,e.type,n),c=i(e),p=String(e.props.id),l=()=>Ze(o,r,p),{rowProps:m,...a}=Ie.row({item:{id:p,zone:o,index:r},place:{...F(o),index:r}},{onClick:q(l)});/* @__PURE__ */
3
+ return Z(I,{children:[0===r&&Je(o,0),
4
+ /* @__PURE__ */$(T,{words:me,icon:/* @__PURE__ */$(Be,{type:e.type,size:13}),name:c,selected:t,onSelect:l,...a,actions:/* @__PURE__ */$(Y,{kind:"delete",label:le.deleteNamed({name:c}),onClick:()=>{return e=o,n=r,re.removeComponent(e,n),pe(d),void re.select(null);var e,n},children:/* @__PURE__ */$(X,{size:13})}),rowProps:m}),s&&/* @__PURE__ */$(R,{children:qe(e,n+1)}),Je(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(Ee)||Ae||ye||_e);/* @__PURE__ */
5
+ return Z("div",{ref:xe,className:"sf-editor es-editor",style:E(i),children:[
6
+ /* @__PURE__ */$("div",{className:"sf-section-bar",children:/* @__PURE__ */$(D,null!==oe?{tone:"off",label:oe,role:"status"}:{...z(ee,de),role:"status"})}),
7
+ /* @__PURE__ */Z("div",{className:"sf-body",children:[Le&&Oe?/* @__PURE__ */$("aside",{className:"es-sidepanel es-sidepanel--left sf-panel sf-panel--left",children:/* @__PURE__ */$(m,{panel:Oe,pick:Le})}):en&&Ne&&/* @__PURE__ */Z("aside",{className:"es-sidepanel es-sidepanel--left sf-panel sf-panel--left",children:[
8
+ /* @__PURE__ */$("div",{className:"sf-panel-head",children:/* @__PURE__ */$(J,{content:ye?le.headerSettings:le.sectionSettings({name:ze(Ne.type)}),side:"bottom",children:/* @__PURE__ */$("button",{type:"button",className:"sf-panel-title sf-panel-title--btn "+(De?"is-selected":""),"aria-pressed":De,onClick:()=>{ye?pe(ke??d):(pe(d),re.select({index:0}))},children:ze(Ne.type)})})}),
9
+ /* @__PURE__ */$(v,{className:"sf-tree sf-scroll",rootProps:Ie.rootProps(),words:me,children:/* @__PURE__ */$(R,{children:ye?
10
+ /* @__PURE__ */$(T,{words:me,icon:/* @__PURE__ */$(Be,{type:"header",size:13}),name:le.headerSettings,selected:ce.kind===ke?.kind,onSelect:()=>pe(ke??d),rowProps:{onClick:q(()=>pe(ke??d))}}):Ee?/* @__PURE__ */Z(U,{children:[He.map((e,n)=>{const o=se?.props.id===e.props.id,r=Ve(e),t=String(e.props.id),s=()=>Fe(n,t),{rowProps:i,...c}=Ie.row({item:{id:t,zone:be,index:n},place:{...F(be),index:n}},{onClick:q(s)});/* @__PURE__ */
11
+ return Z(I,{children:[0===n&&Je(be,0),
12
+ /* @__PURE__ */$(T,{words:me,icon:/* @__PURE__ */$(Be,{type:e.type,size:13}),name:r,selected:o,onSelect:s,...c,actions:/* @__PURE__ */$(Y,{kind:"delete",label:le.deleteNamed({name:r}),onClick:()=>{return e=n,void(be&&(re.removeComponent(be,e),pe(d),re.select(null)));var e},children:/* @__PURE__ */$(X,{size:13})}),rowProps:i}),Je(be,n+1)]},String(e.props.id??n))}),
13
+ /* @__PURE__ */Z("button",{type:"button",className:"sf-add-card",onClick:We,children:[
14
+ /* @__PURE__ */$("span",{className:"sf-plus sf-plus--sm",children:"+"}),Ee.addLabel]}),Se?ve.partRows?.(Ne,_):null]}):qe(Ne,1)})})]}),
15
+ /* @__PURE__ */$("div",{className:"sf-center",children:/* @__PURE__ */$("div",{className:"sf-preview-host",children:/* @__PURE__ */$(fe,{})})}),
16
+ /* @__PURE__ */$(s,{value:{selectChild:(e,n,o,r)=>"section"===ge(r)?.source?Fe(n,o):Ze(e,n,o),addChild:(e,n,o,r,t)=>"section"===ge(t)?.source?We():$e(`${e}:${n}`,o,r),childRowName:Ve,blockRowName:Xe},children:/* @__PURE__ */$(je,{mode:ce,onOpenWebsiteSettings:ve.openSettings??(()=>{}),onSelectNode:Re,hideNodeActions:!0})})]})]})}export{ee as default};
@@ -1 +1 @@
1
- export{PanelHideButton,PanelModeExit,PanelShowStrip,SidePanelHead as default}from"../../chunk-BSSKAEFF.js";import"../../chunk-KQMML6JM.js";import"../../chunk-OXYGFK2B.js";import"../../chunk-ZJEBF4NB.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-5SOSVTVI.js";import"../../chunk-KQMML6JM.js";import"../../chunk-GTDLBUOC.js";import"../../chunk-Y2G7CU6A.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-MFIRYGHW.js";
@@ -1,2 +1,2 @@
1
- import{ChevronIcon as e,TrashIcon as r,RenameIcon as i,ExternalIcon as t,SearchIcon as o,EyeOffIcon as n,EyeIcon as s}from"efficient-shell/icons/efficient";import{jsx as a}from"react/jsx-runtime";var c={eye:s,"eye-off":n,search:o,"external-link":t,pencil:i,trash:r,"chevron-right":e};function f({name:e,size:r,strokeWidth:i=1.8,rounded:t=!1,className:o,style:n}){/* @__PURE__ */
1
+ import{ChevronRightIcon as e,TrashIcon as r,RenameIcon as i,ExternalIcon as t,SearchIcon as o,EyeOffIcon as n,EyeIcon as s}from"efficient-shell/icons/efficient";import{jsx as a}from"react/jsx-runtime";var c={eye:s,"eye-off":n,search:o,"external-link":t,pencil:i,trash:r,"chevron-right":e};function f({name:e,size:r,strokeWidth:i=1.8,rounded:t=!1,className:o,style:n}){/* @__PURE__ */
2
2
  return a(c[e],{size:r,strokeWidth:i,strokeLinecap:t?"round":void 0,strokeLinejoin:t?"round":void 0,className:o,style:n})}export{f as default};
@@ -1 +1 @@
1
- export{COLLAPSED_SECTIONS_KEY,DEFAULT_PANEL_W,PANEL_WIDTHS_KEY,clampPanelWidth,screenStorageKeys}from"../../chunk-2JIWFFXA.js";export{MAX_PANEL_W,MIN_PANEL_W,panelWidthVars}from"../../chunk-OXYGFK2B.js";import"../../chunk-ZJEBF4NB.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-42TMLDSQ.js";export{MAX_PANEL_W,MIN_PANEL_W,panelWidthVars}from"../../chunk-GTDLBUOC.js";import"../../chunk-Y2G7CU6A.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-MFIRYGHW.js";
@@ -30,7 +30,7 @@ import '../lib/session.js';
30
30
  import '../lib/backend-error.js';
31
31
  import '../lib/host-chrome.js';
32
32
  import '../lib/links/link-filters.js';
33
- import '../../LinkPicker-hPEr1MJx.js';
33
+ import 'efficient-shell/ui';
34
34
  import '../lib/document-hooks.js';
35
35
  import '../lib/document-switch.js';
36
36
  import '../../engine-DBxp_v6B.js';
@@ -1 +1 @@
1
- export{usePartBridge}from"../../chunk-VB5LRSGJ.js";import"../../chunk-UAVNI3BU.js";import"../../chunk-IYT6NN2J.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";import"../../chunk-5TRBCPRB.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-VETFIYQR.js";import"../../chunk-FOBGSFFS.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-EA2HTX37.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-7SQF6LZL.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-67GNT6PF.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
1
+ export{usePartBridge}from"../../chunk-BVUPKIM3.js";import"../../chunk-LHZIMK3M.js";import"../../chunk-IYT6NN2J.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";import"../../chunk-EJ6QAWRH.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-PYCLHOSA.js";import"../../chunk-AELNNAFM.js";import"../../chunk-CRPJGCSO.js";import"../../chunk-OZ72A6MY.js";import"../../chunk-UFY6RNMT.js";import"../../chunk-YNOZ5NXW.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-EA2HTX37.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-66LWADFP.js";import"../../chunk-QLD57GBB.js";import"../../chunk-FFYXVAAL.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-67GNT6PF.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
@@ -32,7 +32,7 @@ import './lib/puck/content-tree.js';
32
32
  import './lib/puck/block-choice.js';
33
33
  import './lib/host-chrome.js';
34
34
  import './lib/links/link-filters.js';
35
- import '../LinkPicker-hPEr1MJx.js';
35
+ import 'efficient-shell/ui';
36
36
  import './lib/puck/add-target-types.js';
37
37
  import './lib/puck/slot-section-spec.js';
38
38
  import './lib/backend-error.js';