efficient-easel 0.101.1 → 0.103.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.
- package/README.md +51 -0
- package/dist/LinkPicker-W2Rtxetz.d.ts +111 -0
- package/dist/autosave/index.d.ts +6 -3
- package/dist/autosave/index.js +1 -1
- package/dist/chrome/index.d.ts +3 -2
- package/dist/chrome/index.js +1 -25
- package/dist/chunk-26OOWIJJ.js +1 -0
- package/dist/chunk-2LK54I4E.js +1 -0
- package/dist/chunk-3M3A3DN2.js +4 -0
- package/dist/chunk-3QVB4AG2.js +3 -0
- package/dist/chunk-3WSPDAK2.js +1 -0
- package/dist/chunk-4ES5JGGX.js +1 -0
- package/dist/chunk-4MXFKJUY.js +1 -0
- package/dist/chunk-57DJOKXT.js +1 -0
- package/dist/chunk-5MZ3RNQQ.js +13 -0
- package/dist/chunk-5ZBY24K7.js +1 -0
- package/dist/chunk-66ICOE3I.js +8 -0
- package/dist/chunk-6DJHRLCU.js +25 -0
- package/dist/chunk-6FY3PZS3.js +1 -0
- package/dist/chunk-6TZTKAB5.js +1 -0
- package/dist/chunk-6UJ3Y6FC.js +1 -0
- package/dist/chunk-6W7WLPZH.js +1 -0
- package/dist/chunk-7F52SZOI.js +2 -0
- package/dist/chunk-7MU3RJ6S.js +1 -0
- package/dist/chunk-A7ZJII7O.js +1 -0
- package/dist/chunk-AJBJ74ME.js +1 -0
- package/dist/chunk-AKFJK65Z.js +1 -0
- package/dist/chunk-AKZWUV5Z.js +1 -0
- package/dist/chunk-BDTITTMW.js +1 -0
- package/dist/chunk-BSPCSC45.js +1 -0
- package/dist/chunk-BXZ6WLHC.js +22 -0
- package/dist/chunk-DUVRZ456.js +1 -0
- package/dist/chunk-F6CCTEIX.js +1 -0
- package/dist/chunk-FGNR22NY.js +1 -0
- package/dist/chunk-FUDHI5I4.js +1 -0
- package/dist/chunk-GENAF3P6.js +1 -0
- package/dist/chunk-GOTN2KY4.js +2 -0
- package/dist/chunk-GXN65JMA.js +1 -0
- package/dist/chunk-GXQCZJOP.js +1 -0
- package/dist/chunk-GZO72N3Q.js +0 -0
- package/dist/chunk-HDKTR5TZ.js +62 -0
- package/dist/chunk-HMX55DYT.js +1 -0
- package/dist/chunk-HQ4VVRIC.js +1 -0
- package/dist/chunk-HWW4XJOH.js +1 -0
- package/dist/chunk-I54UCYOU.js +1 -0
- package/dist/chunk-IQ5TA7AM.js +1 -0
- package/dist/chunk-IWAPPEL4.js +6 -0
- package/dist/chunk-IYT6NN2J.js +1 -0
- package/dist/chunk-KCBEE2MC.js +2 -0
- package/dist/chunk-KDYIMJTZ.js +1 -0
- package/dist/chunk-KQMML6JM.js +4 -0
- package/dist/chunk-LG436UTD.js +1 -0
- package/dist/chunk-MSBF7IW3.js +2 -0
- package/dist/chunk-NBJ2YY6Y.js +4 -0
- package/dist/chunk-OM67AJQC.js +1 -0
- package/dist/chunk-OORDMLL4.js +5 -0
- package/dist/chunk-OYX47SL7.js +1 -0
- package/dist/chunk-P67FP7PG.js +9 -0
- package/dist/chunk-PWZOS45R.js +2 -0
- package/dist/chunk-Q2HPBMG5.js +1 -0
- package/dist/chunk-Q3SQBNJB.js +1 -0
- package/dist/chunk-R2HLPNQF.js +1 -0
- package/dist/chunk-R5L2E7JX.js +1 -0
- package/dist/chunk-R5ZVNJLJ.js +2 -0
- package/dist/chunk-RLBXE4EU.js +1 -0
- package/dist/chunk-RW4XBUUW.js +1 -0
- package/dist/chunk-SERF2FAU.js +1 -0
- package/dist/chunk-TTJ54QGG.js +18 -0
- package/dist/chunk-VV5ADNBR.js +1 -0
- package/dist/chunk-YJXEHK6I.js +2 -0
- package/dist/chunk-Z3KBLIEH.js +10 -0
- package/dist/chunk-ZE7I3PLX.js +1 -0
- package/dist/chunk-ZWK3CBRU.js +1 -0
- package/dist/chunk-ZZ7VLIHQ.js +1 -0
- package/dist/drag/index.d.ts +3 -41
- package/dist/drag/index.js +1 -18
- package/dist/easel/index.js +1 -9
- package/dist/{words-BMzV04b1.d.ts → engine-DBxp_v6B.d.ts} +1 -58
- package/dist/fields/index.d.ts +2 -109
- package/dist/fields/index.js +1 -22
- package/dist/gold/index.d.ts +4 -2
- package/dist/host-DJ8Gzsx7.d.ts +552 -0
- package/dist/menu/index.js +1 -1
- package/dist/node-ops/index.js +1 -1
- package/dist/panelWidths-D9hTLR25.d.ts +66 -0
- package/dist/screen/components/AddBlockRow.d.ts +14 -0
- package/dist/screen/components/AddBlockRow.js +1 -0
- package/dist/screen/components/AddChildRow.d.ts +39 -0
- package/dist/screen/components/AddChildRow.js +1 -0
- package/dist/screen/components/AddSidePanel.d.ts +54 -0
- package/dist/screen/components/AddSidePanel.js +1 -0
- package/dist/screen/components/MediaSidePanel.d.ts +47 -0
- package/dist/screen/components/MediaSidePanel.js +1 -0
- package/dist/screen/components/NodeContextMenu.d.ts +364 -0
- package/dist/screen/components/NodeContextMenu.js +1 -0
- package/dist/screen/components/PageEditGuardNotices.d.ts +5 -0
- package/dist/screen/components/PageEditGuardNotices.js +1 -0
- package/dist/screen/components/PanelToggleIcon.d.ts +14 -0
- package/dist/screen/components/PanelToggleIcon.js +1 -0
- package/dist/screen/components/PreviewDeviceContext.d.ts +28 -0
- package/dist/screen/components/PreviewDeviceContext.js +1 -0
- package/dist/screen/components/PreviewPartsContext.d.ts +33 -0
- package/dist/screen/components/PreviewPartsContext.js +1 -0
- package/dist/screen/components/ScreenChrome.d.ts +5 -0
- package/dist/screen/components/ScreenChrome.js +1 -0
- package/dist/screen/components/ScreenDocumentContext.d.ts +20 -0
- package/dist/screen/components/ScreenDocumentContext.js +1 -0
- package/dist/screen/components/ScreenMount.d.ts +76 -0
- package/dist/screen/components/ScreenMount.js +1 -0
- package/dist/screen/components/ScreenStoreProvider.d.ts +63 -0
- package/dist/screen/components/ScreenStoreProvider.js +1 -0
- package/dist/screen/components/SectionScreenShell.d.ts +5 -0
- package/dist/screen/components/SectionScreenShell.js +16 -0
- package/dist/screen/components/SidePanelHead.d.ts +81 -0
- package/dist/screen/components/SidePanelHead.js +1 -0
- package/dist/screen/components/SlotChildActionsContext.d.ts +41 -0
- package/dist/screen/components/SlotChildActionsContext.js +1 -0
- package/dist/screen/components/UiIcon.d.ts +52 -0
- package/dist/screen/components/UiIcon.js +1 -0
- package/dist/screen/components/panel-widths.d.ts +37 -0
- package/dist/screen/components/panel-widths.js +1 -0
- package/dist/screen/components/usePartBridge.d.ts +66 -0
- package/dist/screen/components/usePartBridge.js +1 -0
- package/dist/screen/index.d.ts +31 -0
- package/dist/screen/index.js +1 -0
- package/dist/screen/lib/admin-bridge.d.ts +105 -0
- package/dist/screen/lib/admin-bridge.js +1 -0
- package/dist/screen/lib/backend-error.d.ts +106 -0
- package/dist/screen/lib/backend-error.js +1 -0
- package/dist/screen/lib/chrome-theme.d.ts +21 -0
- package/dist/screen/lib/chrome-theme.js +1 -0
- package/dist/screen/lib/client-only.d.ts +24 -0
- package/dist/screen/lib/client-only.js +1 -0
- package/dist/screen/lib/content/view-tiers.d.ts +25 -0
- package/dist/screen/lib/content/view-tiers.js +1 -0
- package/dist/screen/lib/document-addressing.d.ts +20 -0
- package/dist/screen/lib/document-addressing.js +1 -0
- package/dist/screen/lib/document-contract.d.ts +237 -0
- package/dist/screen/lib/document-contract.js +1 -0
- package/dist/screen/lib/document-hooks.d.ts +71 -0
- package/dist/screen/lib/document-hooks.js +0 -0
- package/dist/screen/lib/document-switch.d.ts +74 -0
- package/dist/screen/lib/document-switch.js +1 -0
- package/dist/screen/lib/failure.d.ts +54 -0
- package/dist/screen/lib/failure.js +1 -0
- package/dist/screen/lib/host-chrome.d.ts +181 -0
- package/dist/screen/lib/host-chrome.js +1 -0
- package/dist/screen/lib/host-inbound.d.ts +20 -0
- package/dist/screen/lib/host-inbound.js +1 -0
- package/dist/screen/lib/host.d.ts +20 -0
- package/dist/screen/lib/host.js +1 -0
- package/dist/screen/lib/key-scope.d.ts +23 -0
- package/dist/screen/lib/key-scope.js +1 -0
- package/dist/screen/lib/links/link-filters.d.ts +41 -0
- package/dist/screen/lib/links/link-filters.js +0 -0
- package/dist/screen/lib/load-error.d.ts +29 -0
- package/dist/screen/lib/load-error.js +1 -0
- package/dist/screen/lib/media-panel.d.ts +94 -0
- package/dist/screen/lib/media-panel.js +1 -0
- package/dist/screen/lib/media-picker.d.ts +68 -0
- package/dist/screen/lib/media-picker.js +1 -0
- package/dist/screen/lib/page-lock.d.ts +5 -0
- package/dist/screen/lib/page-lock.js +1 -0
- package/dist/screen/lib/puck/add-target-types.d.ts +55 -0
- package/dist/screen/lib/puck/add-target-types.js +0 -0
- package/dist/screen/lib/puck/block-choice.d.ts +52 -0
- package/dist/screen/lib/puck/block-choice.js +1 -0
- package/dist/screen/lib/puck/block-types-in.d.ts +39 -0
- package/dist/screen/lib/puck/block-types-in.js +1 -0
- package/dist/screen/lib/puck/content-tree.d.ts +196 -0
- package/dist/screen/lib/puck/content-tree.js +1 -0
- package/dist/screen/lib/puck/device-fields.d.ts +128 -0
- package/dist/screen/lib/puck/device-fields.js +1 -0
- package/dist/screen/lib/puck/field-buckets.d.ts +22 -0
- package/dist/screen/lib/puck/field-buckets.js +1 -0
- package/dist/screen/lib/puck/field-markers.d.ts +205 -0
- package/dist/screen/lib/puck/field-markers.js +1 -0
- package/dist/screen/lib/puck/hidable.d.ts +44 -0
- package/dist/screen/lib/puck/hidable.js +1 -0
- package/dist/screen/lib/puck/palette-sections.d.ts +96 -0
- package/dist/screen/lib/puck/palette-sections.js +1 -0
- package/dist/screen/lib/puck/panel-fields.d.ts +47 -0
- package/dist/screen/lib/puck/panel-fields.js +1 -0
- package/dist/screen/lib/puck/panel-no-control-mark.d.ts +74 -0
- package/dist/screen/lib/puck/panel-no-control-mark.js +1 -0
- package/dist/screen/lib/puck/part-id.d.ts +23 -0
- package/dist/screen/lib/puck/part-id.js +1 -0
- package/dist/screen/lib/puck/preview-click.d.ts +49 -0
- package/dist/screen/lib/puck/preview-click.js +1 -0
- package/dist/screen/lib/puck/preview-dom.d.ts +8 -0
- package/dist/screen/lib/puck/preview-dom.js +1 -0
- package/dist/screen/lib/puck/preview-events.d.ts +25 -0
- package/dist/screen/lib/puck/preview-events.js +1 -0
- package/dist/screen/lib/puck/preview-selection-context.d.ts +72 -0
- package/dist/screen/lib/puck/preview-selection-context.js +1 -0
- package/dist/screen/lib/puck/section-doc.d.ts +20 -0
- package/dist/screen/lib/puck/section-doc.js +1 -0
- package/dist/screen/lib/puck/slot-child-name.d.ts +186 -0
- package/dist/screen/lib/puck/slot-child-name.js +1 -0
- package/dist/screen/lib/puck/slot-heal.d.ts +5 -0
- package/dist/screen/lib/puck/slot-heal.js +1 -0
- package/dist/screen/lib/puck/slot-section-spec.d.ts +96 -0
- package/dist/screen/lib/puck/slot-section-spec.js +0 -0
- package/dist/screen/lib/puck/style-clipboard.d.ts +78 -0
- package/dist/screen/lib/puck/style-clipboard.js +1 -0
- package/dist/screen/lib/puck/text-control-kinds.d.ts +71 -0
- package/dist/screen/lib/puck/text-control-kinds.js +1 -0
- package/dist/screen/lib/puck/tree-reveal.d.ts +62 -0
- package/dist/screen/lib/puck/tree-reveal.js +1 -0
- package/dist/screen/lib/puck/use-section-ops.d.ts +86 -0
- package/dist/screen/lib/puck/use-section-ops.js +1 -0
- package/dist/screen/lib/screen-parts.d.ts +748 -0
- package/dist/screen/lib/screen-parts.js +1 -0
- package/dist/screen/lib/section-template-types.d.ts +49 -0
- package/dist/screen/lib/section-template-types.js +0 -0
- package/dist/screen/lib/section-templates.d.ts +23 -0
- package/dist/screen/lib/section-templates.js +1 -0
- package/dist/screen/lib/session-context.d.ts +30 -0
- package/dist/screen/lib/session-context.js +1 -0
- package/dist/screen/lib/session.d.ts +255 -0
- package/dist/screen/lib/session.js +1 -0
- package/dist/screen/screen.css +1102 -0
- package/dist/screen/words.d.ts +42 -0
- package/dist/screen/words.js +1 -0
- package/dist/session-DSQFmIvx.d.ts +43 -0
- package/dist/strings/catalogue.d.ts +13 -4
- package/dist/strings/catalogue.js +1 -1
- package/dist/strings/index.d.ts +5 -2
- package/dist/strings/index.js +1 -1
- package/dist/style-clipboard/index.js +1 -1
- package/dist/{types-DGcCsxs8.d.ts → types-CqY85foL.d.ts} +3 -65
- package/dist/words-D_Lnw1Gr.d.ts +59 -0
- package/package.json +348 -2
- package/dist/chunk-IG3U5NWJ.js +0 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import 'react';
|
|
2
|
+
import '../../blocks/index.js';
|
|
3
|
+
export { j as AnyScreenTarget, k as DocumentTarget, l as ScreenDocumentContext, m as ScreenDocumentProvider, n as ScreenDocumentValue, o as ScreenTarget, p as useScreenDocument } from '../../host-DJ8Gzsx7.js';
|
|
4
|
+
import '../lib/document-contract.js';
|
|
5
|
+
export { SaveStatus } from '../lib/document-switch.js';
|
|
6
|
+
import '../lib/admin-bridge.js';
|
|
7
|
+
import '../../edit-lock/index.js';
|
|
8
|
+
import '../../engine-DBxp_v6B.js';
|
|
9
|
+
import '../../types-E3HrTPg2.js';
|
|
10
|
+
import '../../data/index.js';
|
|
11
|
+
import '../../types-41704JE4.js';
|
|
12
|
+
import '../../resolve-D68pb3Bx.js';
|
|
13
|
+
import '../../plan-DChbUXdS.js';
|
|
14
|
+
import '../lib/session.js';
|
|
15
|
+
import '../lib/host-chrome.js';
|
|
16
|
+
import '../lib/links/link-filters.js';
|
|
17
|
+
import '../../LinkPicker-W2Rtxetz.js';
|
|
18
|
+
import '../lib/document-hooks.js';
|
|
19
|
+
import '../lib/section-template-types.js';
|
|
20
|
+
import '../lib/puck/content-tree.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{ScreenDocumentContext,ScreenDocumentProvider,useScreenDocument}from"../../chunk-YJXEHK6I.js";import"../../chunk-7MU3RJ6S.js";import"../../chunk-A7ZJII7O.js";import"../../chunk-6FY3PZS3.js";import"../../chunk-AKZWUV5Z.js";import"../../chunk-RLBXE4EU.js";import"../../chunk-OYX47SL7.js";import"../../chunk-HMX55DYT.js";import"../../chunk-Q3SQBNJB.js";import"../../chunk-3WSPDAK2.js";import"../../chunk-R5ZVNJLJ.js";import"../../chunk-KDYIMJTZ.js";import"../../chunk-6TZTKAB5.js";import"../../chunk-AJBJ74ME.js";import"../../chunk-ZZ7VLIHQ.js";import"../../chunk-ZWK3CBRU.js";import"../../chunk-BDTITTMW.js";import"../../chunk-H6DDIBQ4.js";import"../../chunk-JUQ6YJCG.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MFIRYGHW.js";
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { j as AnyScreenTarget, A as AnyDocumentAddressing } from '../../host-DJ8Gzsx7.js';
|
|
4
|
+
import { ScreenParts } from '../lib/screen-parts.js';
|
|
5
|
+
import '../../blocks/index.js';
|
|
6
|
+
import '../../types-E3HrTPg2.js';
|
|
7
|
+
import '../../data/index.js';
|
|
8
|
+
import '../../types-41704JE4.js';
|
|
9
|
+
import '../../resolve-D68pb3Bx.js';
|
|
10
|
+
import '../../plan-DChbUXdS.js';
|
|
11
|
+
import '../lib/document-contract.js';
|
|
12
|
+
import '../lib/session.js';
|
|
13
|
+
import '../lib/host-chrome.js';
|
|
14
|
+
import '../lib/links/link-filters.js';
|
|
15
|
+
import '../../LinkPicker-W2Rtxetz.js';
|
|
16
|
+
import '../lib/document-hooks.js';
|
|
17
|
+
import '../lib/section-template-types.js';
|
|
18
|
+
import '../lib/puck/content-tree.js';
|
|
19
|
+
import '../lib/document-switch.js';
|
|
20
|
+
import '../../engine-DBxp_v6B.js';
|
|
21
|
+
import '../../edit-lock/index.js';
|
|
22
|
+
import '../lib/admin-bridge.js';
|
|
23
|
+
import '../../types-CqY85foL.js';
|
|
24
|
+
import '../../types-DWS-s9z-.js';
|
|
25
|
+
import '../../wordFit-D4S36PvB.js';
|
|
26
|
+
import '../../panelWidths-D9hTLR25.js';
|
|
27
|
+
import '../lib/puck/add-target-types.js';
|
|
28
|
+
import '../lib/puck/block-choice.js';
|
|
29
|
+
import '../lib/puck/slot-section-spec.js';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* The document's provider, round whatever a layer stands under it. The layer's
|
|
33
|
+
* body is the provider's one child, as it has always been: it stays mounted
|
|
34
|
+
* across every document the editor opens, and `DocumentScreen` is what it ends
|
|
35
|
+
* in.
|
|
36
|
+
*
|
|
37
|
+
* How the layer's documents are ADDRESSED goes to the provider from here
|
|
38
|
+
* (lib/document-addressing): the provider stands above the store, where
|
|
39
|
+
* the screen's other parts are handed over, so this one is a prop. Without it
|
|
40
|
+
* the provider holds one document that nothing stores.
|
|
41
|
+
*/
|
|
42
|
+
declare function ScreenMount({ target, addressing, onHostMessage, children, }: {
|
|
43
|
+
/** A website's page or template, or a host's own document (0.103.0). */
|
|
44
|
+
target: AnyScreenTarget;
|
|
45
|
+
/** ONE object for the life of the mount, for the kind of target `target` is. */
|
|
46
|
+
addressing?: AnyDocumentAddressing;
|
|
47
|
+
/** The layer's own host messages (the website's: lib/website-host-inbound). */
|
|
48
|
+
onHostMessage?: (raw: unknown) => boolean;
|
|
49
|
+
children?: ReactNode;
|
|
50
|
+
}): react.JSX.Element;
|
|
51
|
+
/**
|
|
52
|
+
* THE SCREEN OVER THE OPEN DOCUMENT: it waits until there is a document to
|
|
53
|
+
* draw, then mounts the store on it and the chrome under the store.
|
|
54
|
+
*
|
|
55
|
+
* A layer's own context has to stand round the store and UNDER the waits — it
|
|
56
|
+
* is unmounted with the store when the editor moves to another document, and
|
|
57
|
+
* built again for the next. So the layer is not handed a place to put this
|
|
58
|
+
* component among its providers; it hands its providers in (`wrap`), and they
|
|
59
|
+
* are called for only once there is a document. What `wrap` is handed it must
|
|
60
|
+
* place, both: the screen, and the prompt, which is null until a switch of
|
|
61
|
+
* document is held back.
|
|
62
|
+
*/
|
|
63
|
+
declare function DocumentScreen({ config, parts, wrap, }: {
|
|
64
|
+
/** The layer's parts of the screen (lib/screen-parts): handed in, so the
|
|
65
|
+
* screen names no layer's (the website's are WEBSITE_SCREEN). */
|
|
66
|
+
parts: ScreenParts;
|
|
67
|
+
/** The blocks this editor has, as the store takes them. Followed live: a
|
|
68
|
+
* layer may rebuild it while the editor stays open. */
|
|
69
|
+
config: unknown;
|
|
70
|
+
/** The layer's own context, stood round the store. A plain function called
|
|
71
|
+
* where the screen is drawn, and not a component: what it returns is mounted
|
|
72
|
+
* in this component's place, with nothing between. */
|
|
73
|
+
wrap?: (screen: ReactNode, leavePrompt: ReactNode) => ReactNode;
|
|
74
|
+
}): string | number | boolean | Iterable<ReactNode> | react.JSX.Element | null | undefined;
|
|
75
|
+
|
|
76
|
+
export { DocumentScreen, ScreenMount as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{DocumentScreen,ScreenMount as default}from"../../chunk-Z3KBLIEH.js";import"../../chunk-GXQCZJOP.js";import"../../chunk-MSBF7IW3.js";import"../../chunk-HDKTR5TZ.js";import"../../chunk-26OOWIJJ.js";import"../../chunk-Q2HPBMG5.js";import"../../chunk-FGNR22NY.js";import"../../chunk-ZE7I3PLX.js";import"../../chunk-AKFJK65Z.js";import"../../chunk-PWZOS45R.js";import"../../chunk-7F52SZOI.js";import"../../chunk-R2HLPNQF.js";import"../../chunk-HWW4XJOH.js";import"../../chunk-4ES5JGGX.js";import"../../chunk-IQ5TA7AM.js";import"../../chunk-DUVRZ456.js";import"../../chunk-6W7WLPZH.js";import"../../chunk-OM67AJQC.js";import"../../chunk-KCBEE2MC.js";import"../../chunk-5MZ3RNQQ.js";import"../../chunk-SERF2FAU.js";import"../../chunk-GXN65JMA.js";import"../../chunk-VV5ADNBR.js";import"../../chunk-IYT6NN2J.js";import"../../chunk-F6CCTEIX.js";import"../../chunk-FUDHI5I4.js";import"../../chunk-LG436UTD.js";import"../../chunk-BSPCSC45.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";import"../../chunk-YJXEHK6I.js";import"../../chunk-7MU3RJ6S.js";import"../../chunk-A7ZJII7O.js";import"../../chunk-6FY3PZS3.js";import"../../chunk-AKZWUV5Z.js";import"../../chunk-RLBXE4EU.js";import"../../chunk-OYX47SL7.js";import"../../chunk-HMX55DYT.js";import"../../chunk-Q3SQBNJB.js";import"../../chunk-3WSPDAK2.js";import"../../chunk-R5ZVNJLJ.js";import"../../chunk-57DJOKXT.js";import"../../chunk-3QVB4AG2.js";import"../../chunk-OORDMLL4.js";import"../../chunk-5ZBY24K7.js";import"../../chunk-GENAF3P6.js";import"../../chunk-4MXFKJUY.js";import"../../chunk-IWAPPEL4.js";import"../../chunk-KQMML6JM.js";import"../../chunk-KDYIMJTZ.js";import"../../chunk-6TZTKAB5.js";import"../../chunk-AJBJ74ME.js";import"../../chunk-HQ4VVRIC.js";import"../../chunk-3M3A3DN2.js";import"../../chunk-ZZ7VLIHQ.js";import"../../chunk-NBJ2YY6Y.js";import"../../chunk-6WY6ZXJG.js";import"../../chunk-ZWK3CBRU.js";import"../../chunk-P67FP7PG.js";import"../../chunk-AELNNAFM.js";import"../../chunk-BXZ6WLHC.js";import"../../chunk-EOJNJCMJ.js";import"../../chunk-ZFDCDJNZ.js";import"../../chunk-ZNS7727Y.js";import"../../chunk-3EDSDPIP.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-RW4XBUUW.js";import"../../chunk-KTVH2ZRL.js";import"../../chunk-2LK54I4E.js";import"../../chunk-WK3AFPXY.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-OWBO4WKA.js";import"../../chunk-BDTITTMW.js";import"../../chunk-H6DDIBQ4.js";import"../../chunk-6DJHRLCU.js";import"../../chunk-ZJEBF4NB.js";import"../../chunk-JUQ6YJCG.js";import"../../chunk-RE4LP46F.js";import"../../chunk-WZ7TGAAT.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-EWVJSRRY.js";import"../../chunk-P6O363EE.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-BZ5ASXOL.js";import"../../chunk-TTJ54QGG.js";import"../../chunk-O2NLQBFX.js";import"../../chunk-67GNT6PF.js";import"../../chunk-PAELDYYS.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-L5KW4HG5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { Data } from '../../blocks/index.js';
|
|
4
|
+
import { P as Permissions } from '../../types-E3HrTPg2.js';
|
|
5
|
+
import { ScreenParts } from '../lib/screen-parts.js';
|
|
6
|
+
import '../../data/index.js';
|
|
7
|
+
import '../../types-41704JE4.js';
|
|
8
|
+
import '../../resolve-D68pb3Bx.js';
|
|
9
|
+
import '../../plan-DChbUXdS.js';
|
|
10
|
+
import '../../types-CqY85foL.js';
|
|
11
|
+
import '../../types-DWS-s9z-.js';
|
|
12
|
+
import '../../wordFit-D4S36PvB.js';
|
|
13
|
+
import '../../edit-lock/index.js';
|
|
14
|
+
import '../../panelWidths-D9hTLR25.js';
|
|
15
|
+
import '../lib/host-chrome.js';
|
|
16
|
+
import '../lib/links/link-filters.js';
|
|
17
|
+
import '../../LinkPicker-W2Rtxetz.js';
|
|
18
|
+
import '../lib/session.js';
|
|
19
|
+
import '../lib/document-contract.js';
|
|
20
|
+
import '../lib/document-hooks.js';
|
|
21
|
+
import '../lib/section-template-types.js';
|
|
22
|
+
import '../lib/puck/content-tree.js';
|
|
23
|
+
import '../lib/puck/add-target-types.js';
|
|
24
|
+
import '../lib/puck/block-choice.js';
|
|
25
|
+
import '../lib/puck/slot-section-spec.js';
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* THE EDITOR'S STORE, and the screen's parts under it: the engine's store over
|
|
29
|
+
* one document, its undo keys, and `ScreenPartsProvider` with the parts the
|
|
30
|
+
* mounting layer hands in. It names no layer, so it moves into efficient-easel
|
|
31
|
+
* with the screen (doc/adr/0004); the website's mount with the website's parts
|
|
32
|
+
* is components/SiteEditorProvider.
|
|
33
|
+
*
|
|
34
|
+
* What follows is the store's own reasoning, from where it was written:
|
|
35
|
+
*
|
|
36
|
+
* THE WEBSITE EDITOR'S STORE — efficient-easel's engine in place of `<Puck>`
|
|
37
|
+
* (blueprint step 5.5), taking the props `<Puck>` took here:
|
|
38
|
+
*
|
|
39
|
+
* - `data` is read ONCE, when the editor mounts — as `<Puck>` read it. A
|
|
40
|
+
* different page is a new mount: the document context drops to "Loading…"
|
|
41
|
+
* on a retarget, and the standalone Section editor keys this by section.
|
|
42
|
+
* - `config` is followed LIVE (`setConfig`): the Site styles gap row rebuilds
|
|
43
|
+
* seven container blocks' fields while the editor stays open.
|
|
44
|
+
* - `onChange` hears every change to the document — once per change, once per
|
|
45
|
+
* batch, once per undo — through a subscription, so the newest callback is
|
|
46
|
+
* the one called.
|
|
47
|
+
* - `permissions` follow the edit lock (`documentPermissions`, every key
|
|
48
|
+
* named).
|
|
49
|
+
*
|
|
50
|
+
* `<Puck>`'s `overrides` are the canvas's business now — see `SiteCanvas`.
|
|
51
|
+
*/
|
|
52
|
+
declare function ScreenStoreProvider({ config, data, onChange, permissions, parts, children, }: {
|
|
53
|
+
/** The screen's parts, from the layer that owns the document (the website's
|
|
54
|
+
* are components/WebsiteScreenParts `WEBSITE_SCREEN`). */
|
|
55
|
+
parts: ScreenParts;
|
|
56
|
+
config: unknown;
|
|
57
|
+
data: Data;
|
|
58
|
+
onChange?: (data: Data) => void;
|
|
59
|
+
permissions?: Partial<Permissions>;
|
|
60
|
+
children?: ReactNode;
|
|
61
|
+
}): react.JSX.Element;
|
|
62
|
+
|
|
63
|
+
export { ScreenStoreProvider as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{ScreenStoreProvider as default}from"../../chunk-MSBF7IW3.js";import"../../chunk-R5ZVNJLJ.js";import"../../chunk-NBJ2YY6Y.js";import"../../chunk-P67FP7PG.js";import"../../chunk-AELNNAFM.js";import"../../chunk-BXZ6WLHC.js";import"../../chunk-EOJNJCMJ.js";import"../../chunk-ZFDCDJNZ.js";import"../../chunk-ZNS7727Y.js";import"../../chunk-3EDSDPIP.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-KTVH2ZRL.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-EWVJSRRY.js";import"../../chunk-P6O363EE.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-BZ5ASXOL.js";import"../../chunk-67GNT6PF.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-L5KW4HG5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import{AddBlockRow as e}from"../../chunk-66ICOE3I.js";import{slotChildRowName as n}from"../../chunk-HWW4XJOH.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-OM67AJQC.js";import{SlotChildActionsProvider as s}from"../../chunk-KCBEE2MC.js";import{DEFAULT_PANEL_W as i}from"../../chunk-SERF2FAU.js";import{usePartBridge as c}from"../../chunk-GXN65JMA.js";import{useSectionOps as p}from"../../chunk-VV5ADNBR.js";import"../../chunk-IYT6NN2J.js";import{nestsInTree as l,slotFieldsOf as d}from"../../chunk-FUDHI5I4.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";import{useScreenDocument as m}from"../../chunk-YJXEHK6I.js";import"../../chunk-7MU3RJ6S.js";import"../../chunk-A7ZJII7O.js";import"../../chunk-6FY3PZS3.js";import"../../chunk-AKZWUV5Z.js";import"../../chunk-RLBXE4EU.js";import"../../chunk-OYX47SL7.js";import"../../chunk-HMX55DYT.js";import"../../chunk-Q3SQBNJB.js";import"../../chunk-3WSPDAK2.js";import"../../chunk-R5ZVNJLJ.js";import"../../chunk-KDYIMJTZ.js";import"../../chunk-6TZTKAB5.js";import"../../chunk-AJBJ74ME.js";import"../../chunk-HQ4VVRIC.js";import{MediaSidePanel as a}from"../../chunk-3M3A3DN2.js";import{useMediaPanel as u,usePanelPick as h,cancelPanelPick as k}from"../../chunk-ZZ7VLIHQ.js";import{SELECTION_MODE as j,useScreenPinned as f,useScreenCanvasFrame as N,useScreenInspectorPanel as y,sameInspectorMode as A,useStandaloneScreenBridges as S,useScreenBlockLook as C,useScreenBlockRules as J}from"../../chunk-NBJ2YY6Y.js";import"../../chunk-ZWK3CBRU.js";import{useEasel as x}from"../../chunk-P67FP7PG.js";import"../../chunk-AELNNAFM.js";import"../../chunk-BXZ6WLHC.js";import"../../chunk-EOJNJCMJ.js";import{LayersTree as E,Subtree as P,TreeRow as O,TreeRowAction as R,TreeSeam as Z}from"../../chunk-ZFDCDJNZ.js";import"../../chunk-ZNS7727Y.js";import"../../chunk-3EDSDPIP.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-KTVH2ZRL.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-BDTITTMW.js";import{saveIndicator as g}from"../../chunk-H6DDIBQ4.js";import{SaveState as v,panelWidthVars as B}from"../../chunk-6DJHRLCU.js";import"../../chunk-ZJEBF4NB.js";import"../../chunk-JUQ6YJCG.js";import"../../chunk-RE4LP46F.js";import"../../chunk-WZ7TGAAT.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-EWVJSRRY.js";import"../../chunk-P6O363EE.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-BZ5ASXOL.js";import"../../chunk-TTJ54QGG.js";import"../../chunk-O2NLQBFX.js";import{useTreeDrag as D}from"../../chunk-67GNT6PF.js";import"../../chunk-PAELDYYS.js";import"../../chunk-ZNCEOSXO.js";import{TrashIcon as T}from"../../chunk-L5KW4HG5.js";import{zoneKey as L,parseZoneKey as z}from"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";import{useState as I,useRef as Y,useEffect as H,useCallback as M,Fragment as b}from"react";import{jsxs as w,jsx as F,Fragment as W}from"react/jsx-runtime";var $=e=>n=>{n.target.closest(".es-tree-select, button")||e()},K={rowClick:$};function X(){const{saveState:X,readOnly:Q,readOnlyReason:G=null}=m(),V=p(),{appState:U,selectedItem:q,config:_}=x(e=>e),[ee,ne]=I(j),[oe,re]=I(null),{first:te,last:se,panelOf:ie}=f(),ce=ie(te),pe=N(),le=y(),de=U.data.content?.[0]??null,me=de?.props.id??null,ae=de?.type===te,ue=de?.type===se,he=Y(null),ke=Y(null);t(ke);const je=u(),fe=h();H(()=>{const e=ke.current;if(!fe||!e)return;const n=e=>{"Escape"===e.key&&k()};return e.addEventListener("keydown",n),()=>e.removeEventListener("keydown",n)},[fe]),H(()=>{me&&he.current!==me&&(he.current=me,ae?ne(ce??j):q||V.select({index:0}))},[me,q,V,ae]);const Ne=M(e=>ne(n=>A(n,e)?n:e),[]),ye=S({kind:ee.kind,mode:ee,open:Ne,show:e=>ne(e),reveal:()=>{}}),{selectNode:Ae}=c({mode:ee,setMode:ne,onOpenPart:o}),Se=C(),{labelAtLevel:Ce,Icon:Je}=Se,{canAddTo:xe}=J(),Ee=e=>_.components[e]?.label??e,Pe=e=>Ce(e,"section",Ee(e)),Oe=!ae&&"puck"===ee.kind&&q?.props.id===me,Re=de?xe(de.type)?.spec??null:null,Ze=de&&Re?`${de.props.id}:${Re.slot}`:null,ge=de&&Re&&Array.isArray(de.props[Re.slot])?de.props[Re.slot]:[],ve=e=>n(e,Ee,Se.plainText),Be=(e,n)=>{de&&Re&&Ze&&(ne(j),Re.slider?(r(String(de.props.id),e),V.select({index:e,zone:Ze}),o(String(de.props.id))):(V.select({index:e,zone:Ze}),o(n)))},De=()=>{if(!de||!Re||!Ze)return;const e=ge.length;V.insertComponent(Ze,Re.childType,e),ne(j),Re.slider?requestAnimationFrame(()=>{r(String(de.props.id),e),V.select({index:e,zone:Ze})}):V.select({index:e,zone:Ze})},Te=e=>d(_,e),Le=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 Te(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},ze=(e,n,o)=>{const r=Math.min(Math.max(o,0),Le(e)),t=n<r?r-1:r;t!==n&&(V.reorderComponent(e,n,t),ne(j),V.select({index:t,zone:e}))},Ie=D({keyOf:e=>e.id,readOnly:Boolean(Q),canDrop:(e,n)=>L(n)===e.zone&&n.index>=0&&n.index<=Le(e.zone),onDrop:(e,n)=>ze(e.zone,e.index,n.index),onStep:(e,n)=>ze(e.zone,e.index,n<0?e.index-1:e.index+2)}),Ye=(e,n)=>/* @__PURE__ */F(Z,{...Q?{}:Ie.seam({place:{...z(e),index:n}})},`seam:${e}:${n}`),He=e=>Se.blockRowName(e,Ee),Me=(e,n,r)=>{ne(j),V.select({index:n,zone:e}),o(r)},be=(e,n,o)=>{V.insertComponent(e,n,o),ne(j),V.select({index:o,zone:e}),re(null)},we=(n,o,r)=>/* @__PURE__ */F(e,{choices:r,open:oe===n,onToggle:()=>re(oe===n?null:n),onPick:e=>be(n,e,o)}),Fe=(e,n)=>{const o=Te((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?He:ve;/* @__PURE__ */
|
|
2
|
+
return w(W,{children:[o.map(({child:e,zone:o,index:r})=>{const t=q?.props.id===e.props.id,s=l(_,e.type,n),c=i(e),p=String(e.props.id),d=()=>Me(o,r,p),{rowProps:m,...a}=Ie.row({item:{id:p,zone:o,index:r},place:{...z(o),index:r}},{onClick:$(d)});/* @__PURE__ */
|
|
3
|
+
return w(b,{children:[0===r&&Ye(o,0),
|
|
4
|
+
/* @__PURE__ */F(O,{icon:/* @__PURE__ */F(Je,{type:e.type,size:13}),name:c,selected:t,onSelect:d,...a,actions:/* @__PURE__ */F(R,{kind:"delete",label:`Delete ${c}`,onClick:()=>{return e=o,n=r,V.removeComponent(e,n),ne(j),void V.select(null);var e,n},children:/* @__PURE__ */F(T,{size:13})}),rowProps:m}),s&&/* @__PURE__ */F(P,{children:Fe(e,n+1)}),Ye(o,r+1)]},String(e.props.id??`${o}-${r}`))}),t&&s?we(`${e.props.id}:${t.slot}`,o.length,s):null]})},We="HeroSingle"===de?.type,$e=Boolean(de)&&(Boolean(Re)||ue||ae||We);/* @__PURE__ */
|
|
5
|
+
return w("div",{ref:ke,className:"sf-editor es-editor",style:B(i),children:[
|
|
6
|
+
/* @__PURE__ */F("div",{className:"sf-section-bar",children:/* @__PURE__ */F(v,null!==G?{tone:"off",label:G,role:"status"}:{...g(X),role:"status"})}),
|
|
7
|
+
/* @__PURE__ */w("div",{className:"sf-body",children:[fe&&je?/* @__PURE__ */F("aside",{className:"es-sidepanel es-sidepanel--left sf-panel sf-panel--left",children:/* @__PURE__ */F(a,{panel:je,pick:fe})}):$e&&de&&/* @__PURE__ */w("aside",{className:"es-sidepanel es-sidepanel--left sf-panel sf-panel--left",children:[
|
|
8
|
+
/* @__PURE__ */F("div",{className:"sf-panel-head",children:/* @__PURE__ */F("button",{type:"button",className:"sf-panel-title sf-panel-title--btn "+(Oe?"is-selected":""),"aria-pressed":Oe,title:ae?"Header settings":`${Pe(de.type)} settings`,onClick:()=>{ae?ne(ce??j):(ne(j),V.select({index:0}))},children:Pe(de.type)})}),
|
|
9
|
+
/* @__PURE__ */F(E,{className:"sf-tree sf-scroll",rootProps:Ie.rootProps(),children:/* @__PURE__ */F(P,{children:ae?
|
|
10
|
+
/* @__PURE__ */F(O,{icon:/* @__PURE__ */F(Je,{type:"header",size:13}),name:"Header settings",selected:ee.kind===ce?.kind,onSelect:()=>ne(ce??j),rowProps:{onClick:$(()=>ne(ce??j))}}):Re?/* @__PURE__ */w(W,{children:[ge.map((e,n)=>{const o=q?.props.id===e.props.id,r=ve(e),t=String(e.props.id),s=()=>Be(n,t),{rowProps:i,...c}=Ie.row({item:{id:t,zone:Ze,index:n},place:{...z(Ze),index:n}},{onClick:$(s)});/* @__PURE__ */
|
|
11
|
+
return w(b,{children:[0===n&&Ye(Ze,0),
|
|
12
|
+
/* @__PURE__ */F(O,{icon:/* @__PURE__ */F(Je,{type:e.type,size:13}),name:r,selected:o,onSelect:s,...c,actions:/* @__PURE__ */F(R,{kind:"delete",label:`Delete ${r}`,onClick:()=>{return e=n,void(Ze&&(V.removeComponent(Ze,e),ne(j),V.select(null)));var e},children:/* @__PURE__ */F(T,{size:13})}),rowProps:i}),Ye(Ze,n+1)]},String(e.props.id??n))}),
|
|
13
|
+
/* @__PURE__ */w("button",{type:"button",className:"sf-add-card",onClick:De,children:[
|
|
14
|
+
/* @__PURE__ */F("span",{className:"sf-plus sf-plus--sm",children:"+"}),Re.addLabel]}),me?ye.partRows?.(de,K):null]}):Fe(de,1)})})]}),
|
|
15
|
+
/* @__PURE__ */F("div",{className:"sf-center",children:/* @__PURE__ */F("div",{className:"sf-preview-host",children:/* @__PURE__ */F(pe,{})})}),
|
|
16
|
+
/* @__PURE__ */F(s,{value:{selectChild:(e,n,o,r)=>"section"===xe(r)?.source?Be(n,o):Me(e,n,o),addChild:(e,n,o,r,t)=>"section"===xe(t)?.source?De():be(`${e}:${n}`,o,r),childRowName:ve,blockRowName:He},children:/* @__PURE__ */F(le,{mode:ee,onOpenWebsiteSettings:ye.openSettings??(()=>{}),onSelectNode:Ae,hideNodeActions:!0})})]})]})}export{X as default};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* THE HEAD OF EVERY SIDE PANEL, ON BOTH SIDES (owner, 2026-10-04).
|
|
6
|
+
*
|
|
7
|
+
* The owner, with a screenshot: the left panel has an ✕ that collapses it and
|
|
8
|
+
* the right panel has nothing — redesign it, make it consistent and easier to
|
|
9
|
+
* understand. It was worse than one missing button:
|
|
10
|
+
*
|
|
11
|
+
* • the left heads were six hand-written copies of `.sf-panel-head` (one
|
|
12
|
+
* line, 24px buttons) while the right head was efficient-easel's
|
|
13
|
+
* `InspectorHead` (a glyph chip, a name over a kind line, 28px buttons), so
|
|
14
|
+
* the two panels did not even share a height;
|
|
15
|
+
* • the same ✕ meant THREE things on the left — hide the panel (Pages,
|
|
16
|
+
* Layers, Site styles, Media library), close Add, cancel choosing an image
|
|
17
|
+
* — and Layers drew it beside a collapse-all glyph that also read as an ✕.
|
|
18
|
+
*
|
|
19
|
+
* So every head is now ONE shape, the engine's `InspectorHead`, and every
|
|
20
|
+
* control in it means one thing everywhere:
|
|
21
|
+
*
|
|
22
|
+
* [chip] Title [actions] │ [hide]
|
|
23
|
+
* context line
|
|
24
|
+
*
|
|
25
|
+
* • the chip is the glyph of what the panel shows (a rail item's own glyph on
|
|
26
|
+
* the left, the selected thing's type on the right);
|
|
27
|
+
* • the context line says which page, website or field the panel is about;
|
|
28
|
+
* • actions are the panel's own tools, all 28px `InspectorIconButton`s;
|
|
29
|
+
* • a MODE laid over a panel (Add, choosing an image) names its way out in a
|
|
30
|
+
* WORD — "Done", "Cancel" — never a glyph;
|
|
31
|
+
* • the HIDE button is always last, on both panels; a hidden panel leaves a
|
|
32
|
+
* strip at its edge with SHOW in it ({@link PanelShowStrip}), drawn with
|
|
33
|
+
* the same picture ({@link PanelToggleIcon}), so hiding and showing are one
|
|
34
|
+
* control in one place. (The top bar's two toggles said the same thing a
|
|
35
|
+
* second time, and went.) There is no ✕ in a panel head: ✕ closes windows.
|
|
36
|
+
*/
|
|
37
|
+
declare function SidePanelHead({ icon, title, context, actions, side, onHide, }: {
|
|
38
|
+
/** A 15px glyph for what the panel shows. */
|
|
39
|
+
icon: ReactNode;
|
|
40
|
+
/** The panel's name — the panel's `h2`. */
|
|
41
|
+
title: ReactNode;
|
|
42
|
+
/** Which page, website or field it is about. */
|
|
43
|
+
context: ReactNode;
|
|
44
|
+
/** The panel's own tools, or a mode's way out ({@link PanelModeExit}). */
|
|
45
|
+
actions?: ReactNode;
|
|
46
|
+
side?: "left" | "right";
|
|
47
|
+
/** Hide this panel. Omitted where the panel cannot be hidden (the standalone
|
|
48
|
+
* section editor has no panel toggles), and then no button is drawn. */
|
|
49
|
+
onHide?: () => void;
|
|
50
|
+
}): react.JSX.Element;
|
|
51
|
+
/**
|
|
52
|
+
* Hide a side panel — the last button of its head, after a hairline when the
|
|
53
|
+
* panel has tools of its own. Exported for the right panel, whose head is
|
|
54
|
+
* `InspectorHead` drawn by SectionEditor around the selected node.
|
|
55
|
+
*/
|
|
56
|
+
declare function PanelHideButton({ side, onHide, divider, }: {
|
|
57
|
+
side: "left" | "right";
|
|
58
|
+
onHide: () => void;
|
|
59
|
+
divider?: boolean;
|
|
60
|
+
}): react.JSX.Element;
|
|
61
|
+
/**
|
|
62
|
+
* What a HIDDEN side panel leaves behind: a strip at its edge holding one
|
|
63
|
+
* button, Show panel, drawn with the same picture as the Hide panel button
|
|
64
|
+
* that put it there. It is the only way back since the top bar's two panel
|
|
65
|
+
* toggles were removed (owner, 2026-10-04: they duplicated the heads' Hide
|
|
66
|
+
* button). The left panel also comes back from any rail item; the right panel
|
|
67
|
+
* otherwise only for a few canvas clicks (the header, a ticker, a text part),
|
|
68
|
+
* so without this strip a hidden settings panel could be stranded.
|
|
69
|
+
*/
|
|
70
|
+
declare function PanelShowStrip({ side, onShow }: {
|
|
71
|
+
side: "left" | "right";
|
|
72
|
+
onShow: () => void;
|
|
73
|
+
}): react.JSX.Element;
|
|
74
|
+
/** A mode's way out, in a word ("Done", "Cancel") — see the head's rules above. */
|
|
75
|
+
declare function PanelModeExit({ label, onClick, description }: {
|
|
76
|
+
label: string;
|
|
77
|
+
onClick: () => void;
|
|
78
|
+
description?: string;
|
|
79
|
+
}): react.JSX.Element;
|
|
80
|
+
|
|
81
|
+
export { PanelHideButton, PanelModeExit, PanelShowStrip, SidePanelHead as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{PanelHideButton,PanelModeExit,PanelShowStrip,SidePanelHead as default}from"../../chunk-IWAPPEL4.js";import"../../chunk-KQMML6JM.js";import"../../chunk-6DJHRLCU.js";import"../../chunk-ZJEBF4NB.js";import"../../chunk-JUQ6YJCG.js";import"../../chunk-RE4LP46F.js";import"../../chunk-WZ7TGAAT.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-BZ5ASXOL.js";import"../../chunk-L5KW4HG5.js";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { TreeItem } from '../lib/puck/content-tree.js';
|
|
4
|
+
|
|
5
|
+
type SlotChildActions = {
|
|
6
|
+
/**
|
|
7
|
+
* Select a child of a slot — the host's own, with the four arguments a tree row
|
|
8
|
+
* passes: the compound `"<parentId>:<slot>"` zone, the child's index in it, the
|
|
9
|
+
* child's id, and the PARENT's type (which is what tells the host whether this
|
|
10
|
+
* slot is a slider that has to be advanced first).
|
|
11
|
+
*/
|
|
12
|
+
selectChild: (zone: string, index: number, id: string, parentType: string) => void;
|
|
13
|
+
/** Append a child to a slot and select it — the host's own, same ordering. */
|
|
14
|
+
addChild: (parentId: string, slot: string, childType: string, atIndex: number, parentType: string) => void;
|
|
15
|
+
/** What the host calls this child in a row. One rule, two places that draw it. */
|
|
16
|
+
childRowName: (child: TreeItem) => string;
|
|
17
|
+
/**
|
|
18
|
+
* …and what it calls a FOOTER BLOCK, which has always been a second rule
|
|
19
|
+
* (`blockRowName` in both hosts): a Menu shows its heading or the menu it is
|
|
20
|
+
* bound to, a Text its first words, an Email signup its heading. Card 66200
|
|
21
|
+
* gave the Footer and its Groups the same panel list, and the two rules are
|
|
22
|
+
* not interchangeable — a FooterText carries none of the keys the slot-section
|
|
23
|
+
* rule reads, so it would fall through to the component label and three
|
|
24
|
+
* different blocks would all read "Text".
|
|
25
|
+
*
|
|
26
|
+
* It travels the same way and for the same reason as `childRowName`: the host
|
|
27
|
+
* owns the word, and a list that named its rows itself would be a rule that
|
|
28
|
+
* looks right until the day the tree and the panel disagree.
|
|
29
|
+
* `rowNamerFor` (components/SlotChildRows) is the one place that picks between
|
|
30
|
+
* the two.
|
|
31
|
+
*/
|
|
32
|
+
blockRowName: (child: TreeItem) => string;
|
|
33
|
+
};
|
|
34
|
+
declare function SlotChildActionsProvider({ value, children, }: {
|
|
35
|
+
value: SlotChildActions;
|
|
36
|
+
children: ReactNode;
|
|
37
|
+
}): react.JSX.Element;
|
|
38
|
+
/** The host's slot-child actions, or null where no host registered any. */
|
|
39
|
+
declare function useSlotChildActions(): SlotChildActions | null;
|
|
40
|
+
|
|
41
|
+
export { type SlotChildActions, SlotChildActionsProvider, useSlotChildActions };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{SlotChildActionsProvider,useSlotChildActions}from"../../chunk-KCBEE2MC.js";
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { CSSProperties } from 'react';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* UiIcon — the single source of truth for the small line-icons that stand for an
|
|
6
|
+
* ACTION or a STATE: show, hide, search, open elsewhere, rename, delete, unfold.
|
|
7
|
+
*
|
|
8
|
+
* The sibling of {@link SectionIcon}, and the split between them is the question
|
|
9
|
+
* each one answers. `SectionIcon` answers *"what kind of section is this?"* — its
|
|
10
|
+
* 37 glyphs are keyed by Puck component type (Hero, ProductGrid, Footer…).
|
|
11
|
+
* `UiIcon` answers *"what will this control do to it?"* — its keys are verbs, not
|
|
12
|
+
* nouns. Neither is a place to put the other's glyphs.
|
|
13
|
+
*
|
|
14
|
+
* Card 66058 built it. Before it, seven of these drawings existed twice or more —
|
|
15
|
+
* the eye in FOUR files — and one had already drifted: the magnifier was two
|
|
16
|
+
* different pictures (`l-4.3-4.3` in the editor's two search fields,
|
|
17
|
+
* `l-3.8-3.8` in the shopper's header and command palette). That is the failure
|
|
18
|
+
* `doc/editor-ui.md` E2 exists to prevent, so the drawings live here now and the
|
|
19
|
+
* call sites reference them. `scripts/test-glyph-single-home.mjs` keeps it that
|
|
20
|
+
* way: any geometry that reappears in a second file fails `just check`.
|
|
21
|
+
*
|
|
22
|
+
* NOT `efficient-easel`, deliberately. That package is ours and E2 sends shared
|
|
23
|
+
* editor chrome to it, but two of these seven are drawn on the STOREFRONT —
|
|
24
|
+
* `Header` and `SearchDialog` — and an editor package can never be their home.
|
|
25
|
+
* A set split across two repos by which surface happens to use it is a second
|
|
26
|
+
* vocabulary with extra steps. `QUESTIONS-66048.md` reached the same answer from
|
|
27
|
+
* the other direction (draw them in the shop first; move a whole coherent set
|
|
28
|
+
* later, as one card, not one glyph at a time across two release cycles).
|
|
29
|
+
*
|
|
30
|
+
* WRAPPER ATTRIBUTES ARE THE CALLER'S. Size, stroke weight and cap style are
|
|
31
|
+
* passed in rather than fixed, because they legitimately differ — a 10px caret
|
|
32
|
+
* in the dense page tree, an 18px magnifier in the storefront header. Only the
|
|
33
|
+
* GEOMETRY is owned here. That is also what let this card move every glyph with
|
|
34
|
+
* its drawn output unchanged; see `scripts/test-glyph-parity.tsx`.
|
|
35
|
+
*/
|
|
36
|
+
/** What the icon means, named by the action — never by the picture. */
|
|
37
|
+
type UiIconName = "eye" | "eye-off" | "search" | "external-link" | "pencil" | "trash" | "chevron-right";
|
|
38
|
+
declare function UiIcon({ name, size, strokeWidth, rounded, className, style, }: {
|
|
39
|
+
name: UiIconName;
|
|
40
|
+
/** Rendered width AND height in px. Required — there is no house default: the
|
|
41
|
+
* call sites run from a 10px caret to an 18px header magnifier, and a silent
|
|
42
|
+
* default is how one of them would quietly change size. */
|
|
43
|
+
size: number;
|
|
44
|
+
strokeWidth?: number;
|
|
45
|
+
/** Round line ends and joins. Off matches the older inspector glyphs, whose
|
|
46
|
+
* butt caps this card preserved rather than restyled. */
|
|
47
|
+
rounded?: boolean;
|
|
48
|
+
className?: string;
|
|
49
|
+
style?: CSSProperties;
|
|
50
|
+
}): react.JSX.Element;
|
|
51
|
+
|
|
52
|
+
export { type UiIconName, UiIcon as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{UiIcon as default}from"../../chunk-5MZ3RNQQ.js";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export { M as MAX_PANEL_W, a as MIN_PANEL_W, p as panelWidthVars } from '../../panelWidths-D9hTLR25.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The storefront editor's side-panel widths (px).
|
|
6
|
+
*
|
|
7
|
+
* THE TWO SIDE PANELS ARE THE SHELL'S (efficient-easel/chrome, lifted from this
|
|
8
|
+
* file): 288 left, 320 right, dragged between 220 and 560, written to the editor
|
|
9
|
+
* ROOT as `--es-left-w` / `--es-right-w` by the shell's `panelWidthVars`. The
|
|
10
|
+
* campaign editor opens on the same numbers. Card 8810's measurement of why the
|
|
11
|
+
* right panel is 320 lives with the constant, in the shell.
|
|
12
|
+
*
|
|
13
|
+
* What is the WEBSITE's alone is the key the merchant's choice is kept under.
|
|
14
|
+
* The page chrome (ScreenChrome) makes both drag-resizable and
|
|
15
|
+
* persists them; the standalone section editor (SectionScreenShell) pins the
|
|
16
|
+
* defaults.
|
|
17
|
+
*
|
|
18
|
+
* There was a third band, the Add dialog's category nav. It went with the
|
|
19
|
+
* dialog (blueprint step 3.7): Add is the left panel now, at the left panel's
|
|
20
|
+
* width, and a width saved under the old `addCats` key is simply ignored.
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
declare const PANEL_WIDTHS_KEY = "sf-editor-panel-widths";
|
|
24
|
+
declare const DEFAULT_PANEL_W: {
|
|
25
|
+
readonly left: 288;
|
|
26
|
+
readonly right: 320;
|
|
27
|
+
};
|
|
28
|
+
/** Which resizable panel a width belongs to. */
|
|
29
|
+
type PanelSide = "left" | "right";
|
|
30
|
+
type PanelWidths = {
|
|
31
|
+
left: number;
|
|
32
|
+
right: number;
|
|
33
|
+
};
|
|
34
|
+
/** Clamp a width into the panels' resizable band and round to a whole pixel. */
|
|
35
|
+
declare const clampPanelWidth: (w: number) => number;
|
|
36
|
+
|
|
37
|
+
export { DEFAULT_PANEL_W, PANEL_WIDTHS_KEY, type PanelSide, type PanelWidths, clampPanelWidth };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{DEFAULT_PANEL_W,PANEL_WIDTHS_KEY,clampPanelWidth}from"../../chunk-SERF2FAU.js";export{MAX_PANEL_W,MIN_PANEL_W,panelWidthVars}from"../../chunk-6DJHRLCU.js";import"../../chunk-ZJEBF4NB.js";import"../../chunk-JUQ6YJCG.js";import"../../chunk-RE4LP46F.js";import"../../chunk-WZ7TGAAT.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-BZ5ASXOL.js";import"../../chunk-L5KW4HG5.js";
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { ScreenInspectorMode } from '../lib/screen-parts.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../../blocks/index.js';
|
|
4
|
+
import '../../types-E3HrTPg2.js';
|
|
5
|
+
import '../../data/index.js';
|
|
6
|
+
import '../../types-41704JE4.js';
|
|
7
|
+
import '../../resolve-D68pb3Bx.js';
|
|
8
|
+
import '../../plan-DChbUXdS.js';
|
|
9
|
+
import '../../types-CqY85foL.js';
|
|
10
|
+
import '../../types-DWS-s9z-.js';
|
|
11
|
+
import '../../wordFit-D4S36PvB.js';
|
|
12
|
+
import '../../edit-lock/index.js';
|
|
13
|
+
import '../../panelWidths-D9hTLR25.js';
|
|
14
|
+
import '../lib/host-chrome.js';
|
|
15
|
+
import '../lib/links/link-filters.js';
|
|
16
|
+
import '../../LinkPicker-W2Rtxetz.js';
|
|
17
|
+
import '../lib/session.js';
|
|
18
|
+
import '../lib/document-contract.js';
|
|
19
|
+
import '../lib/document-hooks.js';
|
|
20
|
+
import '../lib/section-template-types.js';
|
|
21
|
+
import '../lib/puck/content-tree.js';
|
|
22
|
+
import '../lib/puck/add-target-types.js';
|
|
23
|
+
import '../lib/puck/block-choice.js';
|
|
24
|
+
import '../lib/puck/slot-section-spec.js';
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* The editor-chrome half of the click→part bridge, in ONE place because both
|
|
28
|
+
* shells need exactly the same behaviour: the page chrome
|
|
29
|
+
* (ScreenChrome) and the standalone section editor
|
|
30
|
+
* (SectionScreenShell). The three older sub-block bridges are wired twice, once
|
|
31
|
+
* per shell, and the second copy is where they drift.
|
|
32
|
+
*
|
|
33
|
+
* Three wires, all of them symmetrical:
|
|
34
|
+
*
|
|
35
|
+
* - a click in the preview on an anchored part opens that part's panel;
|
|
36
|
+
* - a click in the preview on anything ELSE inside a section reports the
|
|
37
|
+
* SECTION, which closes an open part panel. That matters because Puck's own
|
|
38
|
+
* selection may not change on such a click (the section was already
|
|
39
|
+
* selected), so nothing else would tell the chrome to drop back;
|
|
40
|
+
* - the open panel is mirrored back into the preview, so the part it is editing
|
|
41
|
+
* draws its selected outline.
|
|
42
|
+
*
|
|
43
|
+
* It deliberately does NOT move the Puck selection when a part opens — exactly
|
|
44
|
+
* like the ticker / Background / Text bridges it joins. The Layers tree, undo,
|
|
45
|
+
* redo and autosave therefore see nothing at all, which is the cheapest possible
|
|
46
|
+
* proof that they behave as they did before.
|
|
47
|
+
*/
|
|
48
|
+
declare function usePartBridge({ mode, setMode, onOpenPart, }: {
|
|
49
|
+
mode: ScreenInspectorMode;
|
|
50
|
+
setMode: (update: (current: ScreenInspectorMode) => ScreenInspectorMode) => void;
|
|
51
|
+
/** Chrome reaction when a part panel opens — reveal the right panel, scroll
|
|
52
|
+
* the canvas. Differs per shell, so it is passed in rather than assumed. */
|
|
53
|
+
onOpenPart?: (nodeId: string) => void;
|
|
54
|
+
}): {
|
|
55
|
+
/** Show `nodeId`'s OWN settings — the way back out of a part panel. */
|
|
56
|
+
selectNode: (nodeId: string) => void;
|
|
57
|
+
/**
|
|
58
|
+
* The part panel that is open, as `"<nodeId>::<propKey>"`, or null — the
|
|
59
|
+
* value this hook already mirrors into the preview so the open part draws its
|
|
60
|
+
* outline. Returned so the LAYERS TREE can mark the same row selected (card
|
|
61
|
+
* 66268) without a second spelling of the id: one expression, two readers.
|
|
62
|
+
*/
|
|
63
|
+
openPartId: string | null;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export { usePartBridge };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{usePartBridge}from"../../chunk-GXN65JMA.js";import"../../chunk-VV5ADNBR.js";import"../../chunk-IYT6NN2J.js";import"../../chunk-FUDHI5I4.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";import"../../chunk-NBJ2YY6Y.js";import"../../chunk-P67FP7PG.js";import"../../chunk-AELNNAFM.js";import"../../chunk-BXZ6WLHC.js";import"../../chunk-EOJNJCMJ.js";import"../../chunk-ZFDCDJNZ.js";import"../../chunk-ZNS7727Y.js";import"../../chunk-3EDSDPIP.js";import"../../chunk-QTLAVDJE.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-KTVH2ZRL.js";import"../../chunk-D2BCHTQR.js";import"../../chunk-EWVJSRRY.js";import"../../chunk-P6O363EE.js";import"../../chunk-FPOKPNO4.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-BZ5ASXOL.js";import"../../chunk-67GNT6PF.js";import"../../chunk-ZNCEOSXO.js";import"../../chunk-L5KW4HG5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { DocumentScreen, default as ScreenMount } from './components/ScreenMount.js';
|
|
2
|
+
export { default as ScreenStoreProvider } from './components/ScreenStoreProvider.js';
|
|
3
|
+
export { NodeDefaults, SELECTION_MODE, ScreenBlockLook, ScreenBlockRules, ScreenBridges, ScreenCanvas, ScreenDevices, ScreenDocumentOps, ScreenInspector, ScreenInspectorMode, ScreenInspectorPanelProps, ScreenLeftPanel, ScreenLeftView, ScreenLeftViewFrame, ScreenLeftViewRules, ScreenNewNode, ScreenNode, ScreenNodeLevel, ScreenNodeMaker, ScreenPartMode, ScreenParts, ScreenPartsProvider, ScreenPinnedNodes, ScreenRailItem, ScreenTree, ScreenTreeFolds, ScreenTreeRows, sameInspectorMode, useScreenBlockLook, useScreenBlockRules, useScreenBridges, useScreenCanvasFrame, useScreenDevices, useScreenDocumentPass, useScreenInspectorPanel, useScreenLeftView, useScreenOwnerName, useScreenParts, useScreenPinned, useScreenSaveSwitch, useStandaloneScreenBridges } from './lib/screen-parts.js';
|
|
4
|
+
export { EFFICIENT_BACKEND, EaselSession, SessionBackend, SessionBlocks, activateEaselSession, backendOf, createEaselSession, currentEaselSession, deactivateEaselSession, efficientClientOpen, isEfficientBackend, provideDefaultBackend, resetAmbientEaselSession, sessionRegistry, setSessionBridgedSite, setSessionDocumentSite } from './lib/session.js';
|
|
5
|
+
export { EaselSessionProvider, useEaselSession } from './lib/session-context.js';
|
|
6
|
+
export { A as AnyDocumentAddressing, D as DETACHED_EASEL_HOST, a as DocumentAddressing, E as EaselHost, b as EaselHostAddress, c as EaselHostContext, d as EaselHostProvider, e as EaselMessageType, f as EaselToHostMessage, H as HostPickedMedia, g as HostToEaselMessage, I as InboundHostMessage, N as NO_DOCUMENT_ADDRESSING, S as SectionScreenTarget, h as SendToHost, i as createEaselHost, u as useEaselHost } from '../host-DJ8Gzsx7.js';
|
|
7
|
+
export { EaselCapabilities, EaselDocument, EaselDocumentAdapter, EaselPageRow, SiteRecord, SiteRecordPatch, WebsiteEditLock } from './lib/document-contract.js';
|
|
8
|
+
import 'react';
|
|
9
|
+
import '../blocks/index.js';
|
|
10
|
+
import '../types-E3HrTPg2.js';
|
|
11
|
+
import '../data/index.js';
|
|
12
|
+
import '../types-41704JE4.js';
|
|
13
|
+
import '../resolve-D68pb3Bx.js';
|
|
14
|
+
import '../plan-DChbUXdS.js';
|
|
15
|
+
import '../types-CqY85foL.js';
|
|
16
|
+
import '../types-DWS-s9z-.js';
|
|
17
|
+
import '../wordFit-D4S36PvB.js';
|
|
18
|
+
import '../edit-lock/index.js';
|
|
19
|
+
import '../panelWidths-D9hTLR25.js';
|
|
20
|
+
import './lib/host-chrome.js';
|
|
21
|
+
import './lib/links/link-filters.js';
|
|
22
|
+
import '../LinkPicker-W2Rtxetz.js';
|
|
23
|
+
import './lib/puck/add-target-types.js';
|
|
24
|
+
import './lib/puck/block-choice.js';
|
|
25
|
+
import './lib/puck/slot-section-spec.js';
|
|
26
|
+
import './lib/document-hooks.js';
|
|
27
|
+
import './lib/section-template-types.js';
|
|
28
|
+
import './lib/puck/content-tree.js';
|
|
29
|
+
import './lib/document-switch.js';
|
|
30
|
+
import '../engine-DBxp_v6B.js';
|
|
31
|
+
import './lib/admin-bridge.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../chunk-GZO72N3Q.js";export{DocumentScreen,ScreenMount}from"../chunk-Z3KBLIEH.js";import"../chunk-GXQCZJOP.js";export{ScreenStoreProvider}from"../chunk-MSBF7IW3.js";import"../chunk-HDKTR5TZ.js";import"../chunk-26OOWIJJ.js";import"../chunk-Q2HPBMG5.js";import"../chunk-FGNR22NY.js";import"../chunk-ZE7I3PLX.js";import"../chunk-AKFJK65Z.js";import"../chunk-PWZOS45R.js";import"../chunk-7F52SZOI.js";import"../chunk-R2HLPNQF.js";import"../chunk-HWW4XJOH.js";import"../chunk-4ES5JGGX.js";import"../chunk-IQ5TA7AM.js";import"../chunk-DUVRZ456.js";import"../chunk-6W7WLPZH.js";import"../chunk-OM67AJQC.js";import"../chunk-KCBEE2MC.js";import"../chunk-5MZ3RNQQ.js";import"../chunk-SERF2FAU.js";import"../chunk-GXN65JMA.js";import"../chunk-VV5ADNBR.js";import"../chunk-IYT6NN2J.js";import"../chunk-F6CCTEIX.js";import"../chunk-FUDHI5I4.js";import"../chunk-LG436UTD.js";import"../chunk-BSPCSC45.js";import"../chunk-I54UCYOU.js";import"../chunk-GOTN2KY4.js";import"../chunk-R5L2E7JX.js";import"../chunk-YJXEHK6I.js";import"../chunk-7MU3RJ6S.js";import"../chunk-A7ZJII7O.js";import"../chunk-6FY3PZS3.js";import"../chunk-AKZWUV5Z.js";export{NO_DOCUMENT_ADDRESSING}from"../chunk-RLBXE4EU.js";import"../chunk-OYX47SL7.js";import"../chunk-HMX55DYT.js";import"../chunk-Q3SQBNJB.js";import"../chunk-3WSPDAK2.js";export{DETACHED_EASEL_HOST,EaselHostContext,EaselHostProvider,createEaselHost,useEaselHost}from"../chunk-R5ZVNJLJ.js";import"../chunk-57DJOKXT.js";import"../chunk-3QVB4AG2.js";import"../chunk-OORDMLL4.js";import"../chunk-5ZBY24K7.js";import"../chunk-GENAF3P6.js";import"../chunk-4MXFKJUY.js";import"../chunk-IWAPPEL4.js";import"../chunk-KQMML6JM.js";import"../chunk-KDYIMJTZ.js";export{EaselSessionProvider,useEaselSession}from"../chunk-6TZTKAB5.js";export{EFFICIENT_BACKEND,activateEaselSession,backendOf,createEaselSession,currentEaselSession,deactivateEaselSession,efficientClientOpen,isEfficientBackend,provideDefaultBackend,resetAmbientEaselSession,sessionRegistry,setSessionBridgedSite,setSessionDocumentSite}from"../chunk-AJBJ74ME.js";import"../chunk-HQ4VVRIC.js";import"../chunk-3M3A3DN2.js";import"../chunk-ZZ7VLIHQ.js";export{SELECTION_MODE,ScreenPartsProvider,sameInspectorMode,useScreenBlockLook,useScreenBlockRules,useScreenBridges,useScreenCanvasFrame,useScreenDevices,useScreenDocumentPass,useScreenInspectorPanel,useScreenLeftView,useScreenOwnerName,useScreenParts,useScreenPinned,useScreenSaveSwitch,useStandaloneScreenBridges}from"../chunk-NBJ2YY6Y.js";import"../chunk-6WY6ZXJG.js";import"../chunk-ZWK3CBRU.js";import"../chunk-P67FP7PG.js";import"../chunk-AELNNAFM.js";import"../chunk-BXZ6WLHC.js";import"../chunk-EOJNJCMJ.js";import"../chunk-ZFDCDJNZ.js";import"../chunk-ZNS7727Y.js";import"../chunk-3EDSDPIP.js";import"../chunk-QTLAVDJE.js";import"../chunk-YRLPFZW3.js";import"../chunk-RW4XBUUW.js";import"../chunk-KTVH2ZRL.js";import"../chunk-2LK54I4E.js";import"../chunk-WK3AFPXY.js";import"../chunk-D2BCHTQR.js";import"../chunk-OWBO4WKA.js";import"../chunk-BDTITTMW.js";import"../chunk-H6DDIBQ4.js";import"../chunk-6DJHRLCU.js";import"../chunk-ZJEBF4NB.js";import"../chunk-JUQ6YJCG.js";import"../chunk-RE4LP46F.js";import"../chunk-WZ7TGAAT.js";import"../chunk-2OAZYSWJ.js";import"../chunk-EWVJSRRY.js";import"../chunk-P6O363EE.js";import"../chunk-FPOKPNO4.js";import"../chunk-MFIRYGHW.js";import"../chunk-BZ5ASXOL.js";import"../chunk-TTJ54QGG.js";import"../chunk-O2NLQBFX.js";import"../chunk-67GNT6PF.js";import"../chunk-PAELDYYS.js";import"../chunk-ZNCEOSXO.js";import"../chunk-L5KW4HG5.js";import"../chunk-KRXQM65X.js";import"../chunk-NKB3KVAB.js";
|