efficient-easel 21.1.0 → 23.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -37
- package/dist/{CanvasDragLayer-CFUcBbgc.d.ts → CanvasDragLayer-NZpaX6aq.d.ts} +15 -4
- package/dist/{ScreenDocumentContext-1RgtGKWR.d.ts → ScreenDocumentContext-BDLUYzlM.d.ts} +4 -4
- package/dist/blocks/index.d.ts +16 -18
- package/dist/{buckets-Sw94ll9I.d.ts → buckets-_MGDYJlb.d.ts} +1 -1
- package/dist/canvas/index.d.ts +22 -12
- package/dist/canvas/index.js +1 -1
- package/dist/{canvas-typing-Be4FO4q7.d.ts → canvas-typing-DOBx8dD3.d.ts} +12 -2
- package/dist/{chunk-I67UW5UG.js → chunk-3P735WOM.js} +4 -4
- package/dist/{chunk-KWLHKKZO.js → chunk-4YUC7B7E.js} +1 -1
- package/dist/chunk-6F5GO337.js +1 -0
- package/dist/{chunk-3S5N4HLJ.js → chunk-6NJHYXJM.js} +1 -1
- package/dist/{chunk-BTDI7JAA.js → chunk-A6ZP5II4.js} +2 -2
- package/dist/{chunk-IWCKVZHS.js → chunk-AGWKB77Q.js} +1 -1
- package/dist/chunk-AT4DDMJS.js +1 -0
- package/dist/chunk-FF54HWSE.js +8 -0
- package/dist/{chunk-MLQKNED6.js → chunk-FOOK54T2.js} +1 -1
- package/dist/{chunk-SWBADIQT.js → chunk-G3HAKQUF.js} +1 -1
- package/dist/{chunk-ZOSEBPAI.js → chunk-GKG3M5QK.js} +1 -1
- package/dist/chunk-GXRS52JD.js +5 -0
- package/dist/{chunk-U7TFWHST.js → chunk-HLMQ34GP.js} +1 -1
- package/dist/chunk-HZSZT3BE.js +7 -0
- package/dist/{chunk-EB6NI2VK.js → chunk-IYHO4XQX.js} +1 -1
- package/dist/chunk-IZGFJWH4.js +1 -0
- package/dist/chunk-KXM6YRG2.js +1 -0
- package/dist/chunk-KXTXYINN.js +16 -0
- package/dist/chunk-LN43DP2A.js +18 -0
- package/dist/{chunk-PFFH7ASD.js → chunk-MXECWHRJ.js} +17 -17
- package/dist/chunk-OXZDSOZV.js +1 -0
- package/dist/{chunk-BSHIQIZC.js → chunk-RPMSET77.js} +1 -1
- package/dist/{chunk-K7BTCBWD.js → chunk-TGZCD6IP.js} +1 -1
- package/dist/{chunk-U5DNBT63.js → chunk-UMBNBCL4.js} +1 -1
- package/dist/chunk-VZUXOZGP.js +64 -0
- package/dist/{chunk-GWYNMSIP.js → chunk-XJ23ULBP.js} +1 -1
- package/dist/{chunk-DNQ7AF6K.js → chunk-YHEYJKQL.js} +1 -1
- package/dist/chunk-YU3WHLGI.js +1 -0
- package/dist/copy/index.d.ts +21 -7
- package/dist/copy/index.js +29 -29
- package/dist/data/index.d.ts +30 -22
- package/dist/data/index.js +1 -1
- package/dist/drag/drag.css +10 -1
- package/dist/drag/index.d.ts +5 -5
- package/dist/drag/index.js +1 -1
- package/dist/draw/index.d.ts +2 -2
- package/dist/easel/easel.css +15 -10
- package/dist/easel/index.d.ts +97 -60
- package/dist/easel/index.js +1 -1
- package/dist/edit-lock/index.d.ts +5 -5
- package/dist/fields/fields.css +1 -1
- package/dist/fields/index.d.ts +17 -17
- package/dist/fields/index.js +1 -1
- package/dist/node-ops/index.d.ts +3 -3
- package/dist/node-ops/index.js +1 -1
- package/dist/panel/index.d.ts +4 -4
- package/dist/panel/panel.css +6 -1
- package/dist/pick/index.d.ts +5 -5
- package/dist/{plan-CZS902DV.d.ts → plan-D0DgSLnY.d.ts} +5 -5
- package/dist/render/index.d.ts +19 -19
- package/dist/render/index.js +5 -5
- package/dist/{repeat-BNgSq2Nw.d.ts → repeat-D65bJS8d.d.ts} +1 -1
- package/dist/{resolve-D68pb3Bx.d.ts → resolve-Bz4mszpL.d.ts} +5 -5
- package/dist/screen/components/AddBlockRow.js +1 -1
- package/dist/screen/components/AddSidePanel.d.ts +2 -2
- package/dist/screen/components/AddSidePanel.js +1 -1
- package/dist/screen/components/NodeContextMenu.d.ts +17 -20
- package/dist/screen/components/NodeContextMenu.js +1 -1
- package/dist/screen/components/PageEditGuardNotices.js +1 -1
- package/dist/screen/components/PreviewDeviceContext.d.ts +1 -1
- package/dist/screen/components/PreviewPartsContext.d.ts +2 -2
- package/dist/screen/components/SaveControls.d.ts +8 -8
- package/dist/screen/components/ScreenChrome.js +1 -1
- package/dist/screen/components/ScreenDocumentContext.d.ts +5 -5
- package/dist/screen/components/ScreenDocumentContext.js +1 -1
- package/dist/screen/components/ScreenMount.d.ts +8 -8
- package/dist/screen/components/ScreenMount.js +1 -1
- package/dist/screen/components/ScreenStoreProvider.d.ts +12 -12
- package/dist/screen/components/ScreenStoreProvider.js +1 -1
- package/dist/screen/components/SectionScreenShell.js +17 -17
- package/dist/screen/components/usePartBridge.d.ts +10 -10
- package/dist/screen/components/usePartBridge.js +1 -1
- package/dist/screen/index.d.ts +8 -8
- package/dist/screen/index.js +1 -1
- package/dist/screen/lib/admin-bridge.d.ts +4 -4
- package/dist/screen/lib/document/add-target-types.js +0 -1
- package/dist/screen/lib/document/block-types-in.d.ts +2 -1
- package/dist/screen/lib/document/block-types-in.js +1 -1
- package/dist/screen/lib/document/content-tree.d.ts +8 -8
- package/dist/screen/lib/document/device-fields.d.ts +7 -7
- package/dist/screen/lib/document/device-fields.js +1 -1
- package/dist/screen/lib/document/field-buckets.d.ts +1 -1
- package/dist/screen/lib/document/field-markers.d.ts +5 -5
- package/dist/screen/lib/document/palette-sections.d.ts +5 -5
- package/dist/screen/lib/document/panel-fields.d.ts +6 -6
- package/dist/screen/lib/document/panel-no-control-mark.d.ts +4 -5
- package/dist/screen/lib/document/part-id.d.ts +1 -1
- package/dist/screen/lib/document/preview-events.d.ts +2 -2
- package/dist/screen/lib/document/preview-selection-context.d.ts +2 -2
- package/dist/screen/lib/document/section-doc.d.ts +5 -5
- package/dist/screen/lib/document/section-doc.js +1 -1
- package/dist/screen/lib/document/slot-child-name.d.ts +1 -1
- package/dist/screen/lib/document/slot-section-spec.d.ts +1 -1
- package/dist/screen/lib/document/slot-section-spec.js +0 -1
- package/dist/screen/lib/document/style-clipboard.d.ts +8 -8
- package/dist/screen/lib/document/style-clipboard.js +1 -1
- package/dist/screen/lib/document/tree-reveal.d.ts +6 -6
- package/dist/screen/lib/document/tree-reveal.js +1 -1
- package/dist/screen/lib/document/use-section-ops.d.ts +6 -6
- package/dist/screen/lib/document/use-section-ops.js +1 -1
- package/dist/screen/lib/document-addressing.d.ts +5 -5
- package/dist/screen/lib/document-hooks.d.ts +4 -4
- package/dist/screen/lib/host.d.ts +5 -5
- package/dist/screen/lib/key-scope.d.ts +1 -1
- package/dist/screen/lib/key-scope.js +1 -1
- package/dist/screen/lib/media-panel.d.ts +5 -5
- package/dist/screen/lib/media-picker.d.ts +6 -6
- package/dist/screen/lib/page-lock.d.ts +4 -4
- package/dist/screen/lib/screen-parts.d.ts +25 -16
- package/dist/screen/lib/screen-parts.js +1 -1
- package/dist/screen/lib/section-templates.d.ts +4 -4
- package/dist/screen/lib/session-context.d.ts +4 -4
- package/dist/screen/lib/session.d.ts +5 -5
- package/dist/screen/lib/shared-sections.d.ts +4 -4
- package/dist/screen/screen.css +15 -15
- package/dist/screen/words.d.ts +4 -3
- package/dist/screen/words.js +1 -1
- package/dist/{session-DSQFmIvx.d.ts → session-EsjORLQ0.d.ts} +1 -1
- package/dist/shell/shell.css +2 -2
- package/dist/strings/index.d.ts +4 -4
- package/dist/strings/index.js +2 -2
- package/dist/style-clipboard/index.d.ts +2 -2
- package/dist/text-styles/index.d.ts +3 -3
- package/dist/text-styles/index.js +21 -21
- package/dist/text-styles/model.d.ts +1 -1
- package/dist/{types-B8NwXKlE.d.ts → types-BIytwvvH.d.ts} +3 -3
- package/dist/{types-Cq53lL8d.d.ts → types-BljCVdzR.d.ts} +18 -18
- package/dist/{types-41704JE4.d.ts → types-Dq180WRV.d.ts} +8 -8
- package/dist/{useNodeOps-fIDWzftn.d.ts → useNodeOps-igxrnEhq.d.ts} +2 -2
- package/dist/{watch-D8xZow3y.d.ts → watch-Unf6SfUf.d.ts} +3 -3
- package/dist/{words-gIDCeRv3.d.ts → words-B5Gb7KFq.d.ts} +1 -1
- package/dist/{words-BpTjCfqO.d.ts → words-Cf5VT2Ic.d.ts} +2 -2
- package/dist/{words-CmEnDoOe.d.ts → words-fbR9IwxH.d.ts} +1 -1
- package/package.json +3 -147
- package/dist/chunk-2C7W64S5.js +0 -8
- package/dist/chunk-2L6KWUBC.js +0 -1
- package/dist/chunk-4FD7TAOE.js +0 -1
- package/dist/chunk-67HCYOW4.js +0 -1
- package/dist/chunk-A2VVB4RH.js +0 -0
- package/dist/chunk-BDSLF5BR.js +0 -1
- package/dist/chunk-CPL43ZLJ.js +0 -1
- package/dist/chunk-L55YIXDC.js +0 -1
- package/dist/chunk-MZ5GSSZ3.js +0 -7
- package/dist/chunk-OHZHYROJ.js +0 -5
- package/dist/chunk-PRHBWA5V.js +0 -0
- package/dist/chunk-TUXLORVR.js +0 -15
- package/dist/chunk-WJJ7H42G.js +0 -18
- package/dist/chunk-YIUE4US7.js +0 -0
- package/dist/chunk-YVFYWAYU.js +0 -65
- package/dist/screen/lib/puck/add-target-types.d.ts +0 -3
- package/dist/screen/lib/puck/add-target-types.js +0 -1
- package/dist/screen/lib/puck/block-choice.d.ts +0 -1
- package/dist/screen/lib/puck/block-choice.js +0 -1
- package/dist/screen/lib/puck/block-types-in.d.ts +0 -1
- package/dist/screen/lib/puck/block-types-in.js +0 -1
- package/dist/screen/lib/puck/content-tree.d.ts +0 -1
- package/dist/screen/lib/puck/content-tree.js +0 -1
- package/dist/screen/lib/puck/device-fields.d.ts +0 -4
- package/dist/screen/lib/puck/device-fields.js +0 -1
- package/dist/screen/lib/puck/field-buckets.d.ts +0 -2
- package/dist/screen/lib/puck/field-buckets.js +0 -1
- package/dist/screen/lib/puck/field-markers.d.ts +0 -2
- package/dist/screen/lib/puck/field-markers.js +0 -1
- package/dist/screen/lib/puck/hidable.d.ts +0 -1
- package/dist/screen/lib/puck/hidable.js +0 -1
- package/dist/screen/lib/puck/palette-sections.d.ts +0 -8
- package/dist/screen/lib/puck/palette-sections.js +0 -1
- package/dist/screen/lib/puck/panel-fields.d.ts +0 -1
- package/dist/screen/lib/puck/panel-fields.js +0 -1
- package/dist/screen/lib/puck/panel-no-control-mark.d.ts +0 -2
- package/dist/screen/lib/puck/panel-no-control-mark.js +0 -1
- package/dist/screen/lib/puck/part-id.d.ts +0 -1
- package/dist/screen/lib/puck/part-id.js +0 -1
- package/dist/screen/lib/puck/preview-click.d.ts +0 -1
- package/dist/screen/lib/puck/preview-click.js +0 -1
- package/dist/screen/lib/puck/preview-dom.d.ts +0 -1
- package/dist/screen/lib/puck/preview-dom.js +0 -1
- package/dist/screen/lib/puck/preview-events.d.ts +0 -1
- package/dist/screen/lib/puck/preview-events.js +0 -1
- package/dist/screen/lib/puck/preview-selection-context.d.ts +0 -2
- package/dist/screen/lib/puck/preview-selection-context.js +0 -1
- package/dist/screen/lib/puck/section-doc.d.ts +0 -9
- package/dist/screen/lib/puck/section-doc.js +0 -1
- package/dist/screen/lib/puck/slot-child-name.d.ts +0 -1
- package/dist/screen/lib/puck/slot-child-name.js +0 -1
- package/dist/screen/lib/puck/slot-heal.d.ts +0 -2
- package/dist/screen/lib/puck/slot-heal.js +0 -1
- package/dist/screen/lib/puck/slot-section-spec.d.ts +0 -1
- package/dist/screen/lib/puck/slot-section-spec.js +0 -1
- package/dist/screen/lib/puck/style-clipboard.d.ts +0 -42
- package/dist/screen/lib/puck/style-clipboard.js +0 -1
- package/dist/screen/lib/puck/text-control-kinds.d.ts +0 -1
- package/dist/screen/lib/puck/text-control-kinds.js +0 -1
- package/dist/screen/lib/puck/tree-reveal.d.ts +0 -1
- package/dist/screen/lib/puck/tree-reveal.js +0 -1
- package/dist/screen/lib/puck/use-section-ops.d.ts +0 -9
- package/dist/screen/lib/puck/use-section-ops.js +0 -1
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
/**
|
|
10
10
|
* Event the editor chrome dispatches INTO the preview iframe to jump a Hero's
|
|
11
11
|
* slider to a slide by index. The chrome (section tree + "Add slide") lives
|
|
12
|
-
* outside this iframe and can't reach the slider's React state, and
|
|
12
|
+
* outside this iframe and can't reach the slider's React state, and the old library's
|
|
13
13
|
* selection overlay is portaled to the iframe `<body>` (not inside `.hero-track`),
|
|
14
14
|
* so selection alone can't be observed from here — this is the explicit bridge.
|
|
15
15
|
* See {@link ScreenChrome} `selectChild` / `addChild`.
|
|
16
16
|
*/
|
|
17
17
|
declare const HERO_SLIDER_GOTO_EVENT = "hero-slider:goto";
|
|
18
18
|
interface HeroSliderGotoDetail {
|
|
19
|
-
/** Target Hero's stable
|
|
19
|
+
/** Target Hero's stable the old library id (`data-easel-block`); omit to hit all Heroes. */
|
|
20
20
|
id?: string;
|
|
21
21
|
/** Zero-based slide index to show. */
|
|
22
22
|
index: number;
|
|
@@ -3,8 +3,8 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Shared machinery for the editor preview's "selection bridges" — the click-to-
|
|
6
|
-
* select plumbing every piece of site CHROME needs because it is NOT
|
|
7
|
-
* and so can't route through
|
|
6
|
+
* select plumbing every piece of site CHROME needs because it is NOT an old-library node
|
|
7
|
+
* and so can't route through the old library's own selection. The header, the chat bubble,
|
|
8
8
|
* and a Hero's ticker / background / text overlay each expose the SAME two-way
|
|
9
9
|
* bridge, and all built it by hand until this file:
|
|
10
10
|
*
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { Data } from '../../../blocks/index.js';
|
|
2
2
|
import { TreeItem } from './content-tree.js';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../../../types-
|
|
4
|
+
import '../../../types-BljCVdzR.js';
|
|
5
5
|
import '../../../data/index.js';
|
|
6
|
-
import '../../../types-
|
|
7
|
-
import '../../../resolve-
|
|
8
|
-
import '../../../plan-
|
|
6
|
+
import '../../../types-Dq180WRV.js';
|
|
7
|
+
import '../../../resolve-Bz4mszpL.js';
|
|
8
|
+
import '../../../plan-D0DgSLnY.js';
|
|
9
9
|
|
|
10
10
|
declare function nodeToDoc(node: TreeItem): Data;
|
|
11
11
|
declare function docToNode(data: Data): TreeItem | null;
|
|
12
12
|
/**
|
|
13
13
|
* Deep-copy a stored section node with FRESH ids — the node's own and every
|
|
14
14
|
* inline slot child's, recursively — so inserting the same template twice never
|
|
15
|
-
* lands two nodes with colliding ids (
|
|
15
|
+
* lands two nodes with colliding ids (the old library keys selection/replace on id, and
|
|
16
16
|
* React keys render on it).
|
|
17
17
|
*
|
|
18
18
|
* `strip` (0.106.0) sees each copied node once its children are copied, and
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{cloneNodeWithFreshIds,docToNode,nodeToDoc}from"../../../chunk-
|
|
1
|
+
export{cloneNodeWithFreshIds,docToNode,nodeToDoc}from"../../../chunk-OXZDSOZV.js";import"../../../chunk-TCAAOYQY.js";import"../../../chunk-TGZCD6IP.js";import"../../../chunk-KXM6YRG2.js";
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
* `scripts/test-slot-child-lists.tsx` §5 pins that this stays the ONE home.
|
|
65
65
|
*/
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* An old-library content node as this rule reads it. Deliberately looser than
|
|
68
68
|
* `TreeItem` (no required `id`): `CollectionCard.render` names itself from the
|
|
69
69
|
* props it was handed, and never has a node in hand.
|
|
70
70
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A component type's own `defaultProps`, looked up in the
|
|
2
|
+
* A component type's own `defaultProps`, looked up in the old library's config.
|
|
3
3
|
*
|
|
4
4
|
* Handed IN rather than imported: `lib/document/config` imports the seed
|
|
5
5
|
* registry's neighbours, and a seed registry that reached back into the config
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../../../chunk-A2VVB4RH.js";
|
|
@@ -5,19 +5,19 @@ import { panelFieldsOf } from './panel-fields.js';
|
|
|
5
5
|
import '../../../types-BbOBWXMP.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
import '../../../blocks/index.js';
|
|
8
|
-
import '../../../types-
|
|
8
|
+
import '../../../types-BljCVdzR.js';
|
|
9
9
|
import '../../../data/index.js';
|
|
10
|
-
import '../../../types-
|
|
11
|
-
import '../../../resolve-
|
|
12
|
-
import '../../../plan-
|
|
13
|
-
import '../../../watch-
|
|
10
|
+
import '../../../types-Dq180WRV.js';
|
|
11
|
+
import '../../../resolve-Bz4mszpL.js';
|
|
12
|
+
import '../../../plan-D0DgSLnY.js';
|
|
13
|
+
import '../../../watch-Unf6SfUf.js';
|
|
14
14
|
import '../../../types-B3iSHX-w.js';
|
|
15
15
|
import '../../../types-Cy7rdmXt.js';
|
|
16
16
|
import '../../../wordFit-7XpmhcaW.js';
|
|
17
17
|
import '../../../edit-lock/index.js';
|
|
18
18
|
import '../../../panelWidths-DgQXiPXU.js';
|
|
19
|
-
import '../../../CanvasDragLayer-
|
|
20
|
-
import '../../../session-
|
|
19
|
+
import '../../../CanvasDragLayer-NZpaX6aq.js';
|
|
20
|
+
import '../../../session-EsjORLQ0.js';
|
|
21
21
|
import '../../../words-SD4neL0n.js';
|
|
22
22
|
import '../../../types-DBy3L69b.js';
|
|
23
23
|
import 'efficient-shell/ui';
|
|
@@ -27,7 +27,7 @@ import '../section-template-types.js';
|
|
|
27
27
|
import './content-tree.js';
|
|
28
28
|
import '../shared-section-types.js';
|
|
29
29
|
import './block-choice.js';
|
|
30
|
-
import '../../../ScreenDocumentContext-
|
|
30
|
+
import '../../../ScreenDocumentContext-BDLUYzlM.js';
|
|
31
31
|
import '../document-contract.js';
|
|
32
32
|
import '../document-switch.js';
|
|
33
33
|
import '../../../engine-CvXpFE86.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{copyNodeStyle,nodeStyleRows,planNodePaste,shopFieldKind,siteStyleScope,styleClipboardOf}from"../../../chunk-
|
|
1
|
+
export{copyNodeStyle,nodeStyleRows,planNodePaste,shopFieldKind,siteStyleScope,styleClipboardOf}from"../../../chunk-G3HAKQUF.js";import"../../../chunk-5XL2RXFU.js";import"../../../chunk-4YUC7B7E.js";import"../../../chunk-INRERJU4.js";import"../../../chunk-3QB2ZQXK.js";import"../../../chunk-IYHO4XQX.js";import"../../../chunk-V7U33NF2.js";import"../../../chunk-6WY6ZXJG.js";import"../../../chunk-ANPOR6EY.js";import"../../../chunk-BPXEFVSQ.js";import"../../../chunk-MFIRYGHW.js";import"../../../chunk-BSPCSC45.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/** The old library's index-based address, as `use-section-ops` spells it (zone omitted at root). */
|
|
2
2
|
type Selector = {
|
|
3
3
|
index: number;
|
|
4
4
|
zone?: string;
|
|
@@ -6,7 +6,7 @@ type Selector = {
|
|
|
6
6
|
/**
|
|
7
7
|
* Do these two addresses name the same node?
|
|
8
8
|
*
|
|
9
|
-
* `ops.select` omits the zone for a top-level node (
|
|
9
|
+
* `ops.select` omits the zone for a top-level node (the old library's reducer falls back to
|
|
10
10
|
* the root zone), while `getSelectorForId` always fills it in — so the two
|
|
11
11
|
* spellings of one top-level node differ, and the comparison has to normalise
|
|
12
12
|
* before it can answer. Exported for `scripts/test-tree-reveal.ts`.
|
|
@@ -23,12 +23,12 @@ declare function revealSelectedTreeRow(doc?: Document | undefined): boolean;
|
|
|
23
23
|
* Which node's Layers row is the MARKED one — the row that draws `is-selected`,
|
|
24
24
|
* and so the row {@link revealSelectedTreeRow} scrolls to.
|
|
25
25
|
*
|
|
26
|
-
* TWO SOURCES, ONE ANSWER. Normally it is the
|
|
26
|
+
* TWO SOURCES, ONE ANSWER. Normally it is the old library's selection. While a PART
|
|
27
27
|
* panel is open it is that part's OWNER, because `usePartBridge` deliberately
|
|
28
|
-
* leaves the
|
|
28
|
+
* leaves the old library's selection where it was — "the Layers tree, undo, redo and
|
|
29
29
|
* autosave therefore see nothing at all", which is that bridge's own cheapest
|
|
30
|
-
* proof that they still behave. The chrome asked `
|
|
31
|
-
* instead, and `
|
|
30
|
+
* proof that they still behave. The chrome asked `isSelectionMode && selectedItem`
|
|
31
|
+
* instead, and `isSelectionMode` is false in part mode, so opening a part put the
|
|
32
32
|
* mark out on EVERY row at once: a merchant who clicked a run of text in the
|
|
33
33
|
* canvas was left looking at a Layers list with nothing lit, which had also not
|
|
34
34
|
* moved (owner, 2026-09-09 — the "SHOP" tag on a Collections card). The bridge
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{markedTreeNodeId,revealSelectedTreeRow,sameSelector}from"../../../chunk-
|
|
1
|
+
export{markedTreeNodeId,revealSelectedTreeRow,sameSelector}from"../../../chunk-UMBNBCL4.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { N as NodeSelection } from '../../../plan-
|
|
1
|
+
import { N as NodeSelection } from '../../../plan-D0DgSLnY.js';
|
|
2
2
|
import { Data } from '../../../blocks/index.js';
|
|
3
3
|
import { TreeItem } from './content-tree.js';
|
|
4
|
-
import '../../../types-
|
|
4
|
+
import '../../../types-Dq180WRV.js';
|
|
5
5
|
import 'react';
|
|
6
|
-
import '../../../types-
|
|
6
|
+
import '../../../types-BljCVdzR.js';
|
|
7
7
|
import '../../../data/index.js';
|
|
8
|
-
import '../../../resolve-
|
|
8
|
+
import '../../../resolve-Bz4mszpL.js';
|
|
9
9
|
|
|
10
10
|
type NodeSelector = {
|
|
11
11
|
index: number;
|
|
@@ -33,13 +33,13 @@ type SectionOps = {
|
|
|
33
33
|
/**
|
|
34
34
|
* Move the node at (zone, sourceIndex) to destinationIndex WITHIN THE SAME
|
|
35
35
|
* zone. `destinationIndex` is the node's final resting index in the array
|
|
36
|
-
* (
|
|
36
|
+
* (the old library's `reorder` reducer splices it out then back in), so a caller moving a
|
|
37
37
|
* node DOWN must account for the one-slot shift itself.
|
|
38
38
|
*/
|
|
39
39
|
reorderComponent: (zone: string, sourceIndex: number, destinationIndex: number) => void;
|
|
40
40
|
/** Duplicate the node at (zone, index). */
|
|
41
41
|
duplicateComponent: (zone: string, index: number) => void;
|
|
42
|
-
/** Set (or clear) the
|
|
42
|
+
/** Set (or clear) the old library's selection by index-based address. */
|
|
43
43
|
select: (selector: NodeSelector) => void;
|
|
44
44
|
/** Replace the whole working document (used by Reset). */
|
|
45
45
|
setDocument: (data: Data) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{useSectionOps}from"../../../chunk-
|
|
1
|
+
export{useSectionOps}from"../../../chunk-FOOK54T2.js";import"../../../chunk-GXRS52JD.js";import"../../../chunk-FHCKFOCD.js";import"../../../chunk-MQA7OFRA.js";import"../../../chunk-TCAAOYQY.js";import"../../../chunk-KXTXYINN.js";import"../../../chunk-TBY3DFKS.js";import"../../../chunk-MXECWHRJ.js";import"../../../chunk-BPXEFVSQ.js";import"../../../chunk-WHS6Y55E.js";import"../../../chunk-K56YDHYQ.js";import"../../../chunk-ZEH6QLBH.js";import"../../../chunk-AGWKB77Q.js";import"../../../chunk-FIVU2COQ.js";import"../../../chunk-RPMSET77.js";import"../../../chunk-FM6JO4WF.js";import"../../../chunk-KFV7N2DJ.js";import"../../../chunk-HZSZT3BE.js";import"../../../chunk-KRL3IUV3.js";import"../../../chunk-Y2T3JX7K.js";import"../../../chunk-KFWNGPW3.js";import"../../../chunk-JACEEVVF.js";import"../../../chunk-S3DUFDQ6.js";import"../../../chunk-MFIRYGHW.js";import"../../../chunk-6NJHYXJM.js";import"../../../chunk-P2VEMZH5.js";import"../../../chunk-YU3WHLGI.js";import"../../../chunk-LF3FUSCQ.js";import"../../../chunk-TGZCD6IP.js";import"../../../chunk-KXM6YRG2.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { A as AnyDocumentAddressing, a as DocumentAddressing, N as NO_DOCUMENT_ADDRESSING } from '../../ScreenDocumentContext-
|
|
1
|
+
export { A as AnyDocumentAddressing, a as DocumentAddressing, N as NO_DOCUMENT_ADDRESSING } from '../../ScreenDocumentContext-BDLUYzlM.js';
|
|
2
2
|
import './document-contract.js';
|
|
3
3
|
import './session.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '../../blocks/index.js';
|
|
6
|
-
import '../../types-
|
|
6
|
+
import '../../types-BljCVdzR.js';
|
|
7
7
|
import '../../data/index.js';
|
|
8
|
-
import '../../types-
|
|
9
|
-
import '../../resolve-
|
|
10
|
-
import '../../plan-
|
|
8
|
+
import '../../types-Dq180WRV.js';
|
|
9
|
+
import '../../resolve-Bz4mszpL.js';
|
|
10
|
+
import '../../plan-D0DgSLnY.js';
|
|
11
11
|
import './document-switch.js';
|
|
12
12
|
import '../../engine-CvXpFE86.js';
|
|
13
13
|
import '../../edit-lock/index.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Data } from '../../blocks/index.js';
|
|
2
2
|
import { EaselCapabilities } from './document-contract.js';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../../types-
|
|
4
|
+
import '../../types-BljCVdzR.js';
|
|
5
5
|
import '../../data/index.js';
|
|
6
|
-
import '../../types-
|
|
7
|
-
import '../../resolve-
|
|
8
|
-
import '../../plan-
|
|
6
|
+
import '../../types-Dq180WRV.js';
|
|
7
|
+
import '../../resolve-Bz4mszpL.js';
|
|
8
|
+
import '../../plan-D0DgSLnY.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* WHAT A HOST DOES TO A DOCUMENT AS IT OPENS AND AS IT IS STORED.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { D as DETACHED_EASEL_HOST, E as EaselBlockType, b as EaselFieldDescription, c as EaselHost, d as EaselHostAddress, e as EaselHostContext, f as EaselHostPanels, g as EaselHostProvider, h as EaselMessageType, i as EaselSelection, j as EaselToHostMessage, H as HostPickedMedia, k as HostToEaselMessage, I as InboundHostMessage, P as PageEditOp, l as PickedMediaSource, S as SectionScreenTarget, m as SendToHost, n as createEaselHost, u as useEaselHost, o as useHostEscape } from '../../ScreenDocumentContext-
|
|
2
|
+
export { D as DETACHED_EASEL_HOST, E as EaselBlockType, b as EaselFieldDescription, c as EaselHost, d as EaselHostAddress, e as EaselHostContext, f as EaselHostPanels, g as EaselHostProvider, h as EaselMessageType, i as EaselSelection, j as EaselToHostMessage, H as HostPickedMedia, k as HostToEaselMessage, I as InboundHostMessage, P as PageEditOp, l as PickedMediaSource, S as SectionScreenTarget, m as SendToHost, n as createEaselHost, u as useEaselHost, o as useHostEscape } from '../../ScreenDocumentContext-BDLUYzlM.js';
|
|
3
3
|
import '../../blocks/index.js';
|
|
4
|
-
import '../../types-
|
|
4
|
+
import '../../types-BljCVdzR.js';
|
|
5
5
|
import '../../data/index.js';
|
|
6
|
-
import '../../types-
|
|
7
|
-
import '../../resolve-
|
|
8
|
-
import '../../plan-
|
|
6
|
+
import '../../types-Dq180WRV.js';
|
|
7
|
+
import '../../resolve-Bz4mszpL.js';
|
|
8
|
+
import '../../plan-D0DgSLnY.js';
|
|
9
9
|
import './document-contract.js';
|
|
10
10
|
import './document-switch.js';
|
|
11
11
|
import '../../engine-CvXpFE86.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{editorRootFocus,isSaveShortcut,useEaselKeyTarget,useEaselSaveKey,useEaselUndoKeys}from"../../chunk-
|
|
1
|
+
export{editorRootFocus,isSaveShortcut,useEaselKeyTarget,useEaselSaveKey,useEaselUndoKeys}from"../../chunk-YHEYJKQL.js";import"../../chunk-MQA7OFRA.js";import"../../chunk-KXTXYINN.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-AGWKB77Q.js";import"../../chunk-RPMSET77.js";import"../../chunk-HZSZT3BE.js";import"../../chunk-KRL3IUV3.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-YU3WHLGI.js";import"../../chunk-LF3FUSCQ.js";import"../../chunk-TGZCD6IP.js";import"../../chunk-KXM6YRG2.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ComponentType, ReactNode } from 'react';
|
|
3
|
-
import { H as HostPickedMedia, c as EaselHost } from '../../ScreenDocumentContext-
|
|
3
|
+
import { H as HostPickedMedia, c as EaselHost } from '../../ScreenDocumentContext-BDLUYzlM.js';
|
|
4
4
|
import '../../blocks/index.js';
|
|
5
|
-
import '../../types-
|
|
5
|
+
import '../../types-BljCVdzR.js';
|
|
6
6
|
import '../../data/index.js';
|
|
7
|
-
import '../../types-
|
|
8
|
-
import '../../resolve-
|
|
9
|
-
import '../../plan-
|
|
7
|
+
import '../../types-Dq180WRV.js';
|
|
8
|
+
import '../../resolve-Bz4mszpL.js';
|
|
9
|
+
import '../../plan-D0DgSLnY.js';
|
|
10
10
|
import './document-contract.js';
|
|
11
11
|
import './document-switch.js';
|
|
12
12
|
import '../../engine-CvXpFE86.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { H as HostPickedMedia, c as EaselHost } from '../../ScreenDocumentContext-
|
|
1
|
+
import { H as HostPickedMedia, c as EaselHost } from '../../ScreenDocumentContext-BDLUYzlM.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../blocks/index.js';
|
|
4
|
-
import '../../types-
|
|
4
|
+
import '../../types-BljCVdzR.js';
|
|
5
5
|
import '../../data/index.js';
|
|
6
|
-
import '../../types-
|
|
7
|
-
import '../../resolve-
|
|
8
|
-
import '../../plan-
|
|
6
|
+
import '../../types-Dq180WRV.js';
|
|
7
|
+
import '../../resolve-Bz4mszpL.js';
|
|
8
|
+
import '../../plan-D0DgSLnY.js';
|
|
9
9
|
import './document-contract.js';
|
|
10
10
|
import './document-switch.js';
|
|
11
11
|
import '../../engine-CvXpFE86.js';
|
|
@@ -47,7 +47,7 @@ import './shared-section-types.js';
|
|
|
47
47
|
* resolveMediaPick(requestId, …) is called by the central message listener
|
|
48
48
|
* (ScreenDocumentContext) to settle the pending promise, correlated by id.
|
|
49
49
|
*
|
|
50
|
-
* Same module-singleton reason as lib/editor-auth / lib/editor-events:
|
|
50
|
+
* Same module-singleton reason as lib/editor-auth / lib/editor-events: the old library
|
|
51
51
|
* custom fields (the media slots) can't receive the listener as a prop.
|
|
52
52
|
*/
|
|
53
53
|
|
|
@@ -2,11 +2,11 @@ import { EditLock } from '../../edit-lock/index.js';
|
|
|
2
2
|
import { EaselSession } from './session.js';
|
|
3
3
|
import '../../blocks/index.js';
|
|
4
4
|
import 'react';
|
|
5
|
-
import '../../types-
|
|
5
|
+
import '../../types-BljCVdzR.js';
|
|
6
6
|
import '../../data/index.js';
|
|
7
|
-
import '../../types-
|
|
8
|
-
import '../../resolve-
|
|
9
|
-
import '../../plan-
|
|
7
|
+
import '../../types-Dq180WRV.js';
|
|
8
|
+
import '../../resolve-Bz4mszpL.js';
|
|
9
|
+
import '../../plan-D0DgSLnY.js';
|
|
10
10
|
import './backend-error.js';
|
|
11
11
|
import './host-chrome.js';
|
|
12
12
|
import './links/link-filters.js';
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, MouseEvent, ComponentType } from 'react';
|
|
3
3
|
import { Data } from '../../blocks/index.js';
|
|
4
|
-
import { C as CanvasTarget } from '../../watch-
|
|
4
|
+
import { C as CanvasTarget } from '../../watch-Unf6SfUf.js';
|
|
5
5
|
import { D as DeviceOption } from '../../types-B3iSHX-w.js';
|
|
6
|
-
import { P as Place } from '../../types-
|
|
7
|
-
import { M as MeasuredCanvas, C as CanvasDragModel } from '../../CanvasDragLayer-
|
|
6
|
+
import { P as Place } from '../../types-Dq180WRV.js';
|
|
7
|
+
import { M as MeasuredCanvas, C as CanvasDragModel } from '../../CanvasDragLayer-NZpaX6aq.js';
|
|
8
8
|
import { E as EaselContextMenuItem } from '../../types-BbOBWXMP.js';
|
|
9
9
|
import { E as EaselRailItem } from '../../types-Cy7rdmXt.js';
|
|
10
10
|
import { StyleRow } from '../../style-clipboard/index.js';
|
|
11
11
|
import { T as TreeRowMark } from '../../types-DBy3L69b.js';
|
|
12
12
|
import { AddKey } from '../components/AddSidePanel.js';
|
|
13
|
-
import { p as AnyScreenTarget } from '../../ScreenDocumentContext-
|
|
13
|
+
import { p as AnyScreenTarget } from '../../ScreenDocumentContext-BDLUYzlM.js';
|
|
14
14
|
import { HostProduct } from './host-chrome.js';
|
|
15
15
|
import { EaselSession } from './session.js';
|
|
16
16
|
import { SharedSectionUse, SharedSection } from './shared-section-types.js';
|
|
17
17
|
import { AddTarget } from './document/add-target-types.js';
|
|
18
18
|
import { SlotConfigView } from './document/content-tree.js';
|
|
19
|
-
import '../../types-
|
|
19
|
+
import '../../types-BljCVdzR.js';
|
|
20
20
|
import '../../data/index.js';
|
|
21
|
-
import '../../resolve-
|
|
22
|
-
import '../../plan-
|
|
21
|
+
import '../../resolve-Bz4mszpL.js';
|
|
22
|
+
import '../../plan-D0DgSLnY.js';
|
|
23
23
|
import '../../edit-lock/index.js';
|
|
24
24
|
import '../../panelWidths-DgQXiPXU.js';
|
|
25
|
-
import '../../session-
|
|
25
|
+
import '../../session-EsjORLQ0.js';
|
|
26
26
|
import '../../words-SD4neL0n.js';
|
|
27
27
|
import '../../wordFit-7XpmhcaW.js';
|
|
28
28
|
import '../../words-CnnHb9jo.js';
|
|
@@ -88,17 +88,14 @@ type ScreenInspectorMode = {
|
|
|
88
88
|
*
|
|
89
89
|
* ONE object for the module's life, so setting it while it is the mode already
|
|
90
90
|
* bails out of the state update. A layer whose inspector names this mode names
|
|
91
|
-
* THIS object (the website's `
|
|
91
|
+
* THIS object (the website's `SELECTION_MODE`, components/SectionEditor, is it), so
|
|
92
92
|
* "is the panel showing the selection's own?" has one answer on both sides.
|
|
93
|
-
* The kind is `"selection"`;
|
|
94
|
-
* layer that still names it is read as the same mode (`isSelectionMode`).
|
|
93
|
+
* The kind is `"selection"`; its old spelling went in easel 22.0.0.
|
|
95
94
|
*/
|
|
96
95
|
declare const SELECTION_MODE: {
|
|
97
96
|
readonly kind: "selection";
|
|
98
97
|
};
|
|
99
|
-
/** Is this the selection's own panel?
|
|
100
|
-
* the web builder's `SectionEditor` and the admin portal's tests still use;
|
|
101
|
-
* easel 22 drops it. */
|
|
98
|
+
/** Is this the selection's own panel? */
|
|
102
99
|
declare function isSelectionMode(mode: {
|
|
103
100
|
kind: string;
|
|
104
101
|
}): boolean;
|
|
@@ -189,6 +186,10 @@ interface ScreenInspectorPanelProps {
|
|
|
189
186
|
* panel (`ScreenBridges.openStyles`). Omitted where there is nowhere to
|
|
190
187
|
* keep them, and the panel draws no door. */
|
|
191
188
|
onOpenSiteStyles?: () => void;
|
|
189
|
+
/** The way to THIS document's own styles (`ScreenBridges.openPageStyles`),
|
|
190
|
+
* for a panel with nothing selected to point at. Omitted where the layer
|
|
191
|
+
* hands none. */
|
|
192
|
+
onOpenPageStyles?: () => void;
|
|
192
193
|
/** Select a node and show ITS OWN settings: the way out of a panel that was
|
|
193
194
|
* scoped down to part of that node. */
|
|
194
195
|
onSelectNode: (nodeId: string) => void;
|
|
@@ -532,6 +533,14 @@ interface ScreenBridges {
|
|
|
532
533
|
* from that part's own panel. A layer with nowhere to keep them hands none,
|
|
533
534
|
* and the panel draws no door. */
|
|
534
535
|
openStyles?: () => void;
|
|
536
|
+
/**
|
|
537
|
+
* The way to THIS document's own styles — the website's Styles ▸ Basics, the This page group,
|
|
538
|
+
* the email's Styles — from the tree ground's menu (`screen.pageStyles`).
|
|
539
|
+
* The tree keeps no row for the document's settings (Lewis, 2026-10-26:
|
|
540
|
+
* the tree's first row goes), so this is the menu's one door to them. A layer
|
|
541
|
+
* that hands none gets no row.
|
|
542
|
+
*/
|
|
543
|
+
openPageStyles?: () => void;
|
|
535
544
|
/**
|
|
536
545
|
* THE LAYER'S OWN ROWS IN A NODE'S RIGHT-CLICK MENU (0.105.0), by the group
|
|
537
546
|
* each joins (`ScreenMenuRows`): the campaign designer's "Check this image
|
|
@@ -1043,7 +1052,7 @@ interface ScreenCanvasDragContext {
|
|
|
1043
1052
|
*/
|
|
1044
1053
|
interface ScreenCanvasDrag {
|
|
1045
1054
|
/** How the canvas is measured into boxes, in the coordinates of `layer`
|
|
1046
|
-
* (the element the drag layer draws in). Absent:
|
|
1055
|
+
* (the element the drag layer draws in). Absent: the old library's markers, the slots
|
|
1047
1056
|
* and the blocks directly in them (efficient-easel/drag `measureCanvas`). */
|
|
1048
1057
|
measure?: (canvas: CanvasTarget, layer: Element, context: ScreenCanvasDragContext) => MeasuredCanvas;
|
|
1049
1058
|
/**
|
|
@@ -1479,7 +1488,7 @@ interface ScreenParts {
|
|
|
1479
1488
|
/**
|
|
1480
1489
|
* The canvas drag's measure, model and rules, where they are the layer's
|
|
1481
1490
|
* (0.105.0; `ScreenCanvasDrag`). Each member absent, and the whole object
|
|
1482
|
-
* absent, is the screen's own:
|
|
1491
|
+
* absent, is the screen's own: the old library's markers, every node but the pinned
|
|
1483
1492
|
* ones, the Layers tree's rules. Plain functions, and handed here for the
|
|
1484
1493
|
* reason the rules are.
|
|
1485
1494
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{SELECTION_MODE,ScreenCanvasTargetProvider,ScreenPartsProvider,isPinnedFirst,isPinnedLast,isSelectionMode,isSlotMode,sameInspectorMode,screenSlotsOf,useScreenBlockLook,useScreenBlockRules,useScreenBridges,useScreenCanvasDrag,useScreenCanvasFrame,useScreenCanvasHead,useScreenCanvasTarget,useScreenDevices,useScreenDocumentLabel,useScreenDocumentPass,useScreenInspectorPanel,useScreenLeftView,useScreenNodeKeys,useScreenNotify,useScreenOwnerName,useScreenParts,useScreenPickFollowsSelection,useScreenPinned,useScreenSaveSwitch,useScreenStorageNamespace,useScreenStyleClipboard,useStandaloneScreenBridges}from"../../chunk-
|
|
1
|
+
export{SELECTION_MODE,ScreenCanvasTargetProvider,ScreenPartsProvider,isPinnedFirst,isPinnedLast,isSelectionMode,isSlotMode,sameInspectorMode,screenSlotsOf,useScreenBlockLook,useScreenBlockRules,useScreenBridges,useScreenCanvasDrag,useScreenCanvasFrame,useScreenCanvasHead,useScreenCanvasTarget,useScreenDevices,useScreenDocumentLabel,useScreenDocumentPass,useScreenInspectorPanel,useScreenLeftView,useScreenNodeKeys,useScreenNotify,useScreenOwnerName,useScreenParts,useScreenPickFollowsSelection,useScreenPinned,useScreenSaveSwitch,useScreenStorageNamespace,useScreenStyleClipboard,useStandaloneScreenBridges}from"../../chunk-GXRS52JD.js";import"../../chunk-FHCKFOCD.js";import"../../chunk-MQA7OFRA.js";import"../../chunk-TCAAOYQY.js";import"../../chunk-KXTXYINN.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-MXECWHRJ.js";import"../../chunk-BPXEFVSQ.js";import"../../chunk-WHS6Y55E.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-ZEH6QLBH.js";import"../../chunk-AGWKB77Q.js";import"../../chunk-FIVU2COQ.js";import"../../chunk-RPMSET77.js";import"../../chunk-FM6JO4WF.js";import"../../chunk-KFV7N2DJ.js";import"../../chunk-HZSZT3BE.js";import"../../chunk-KRL3IUV3.js";import"../../chunk-Y2T3JX7K.js";import"../../chunk-KFWNGPW3.js";import"../../chunk-JACEEVVF.js";import"../../chunk-S3DUFDQ6.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-6NJHYXJM.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-YU3WHLGI.js";import"../../chunk-LF3FUSCQ.js";import"../../chunk-TGZCD6IP.js";import"../../chunk-KXM6YRG2.js";
|
|
@@ -3,11 +3,11 @@ import { EaselSession } from './session.js';
|
|
|
3
3
|
import './document/content-tree.js';
|
|
4
4
|
import '../../blocks/index.js';
|
|
5
5
|
import 'react';
|
|
6
|
-
import '../../types-
|
|
6
|
+
import '../../types-BljCVdzR.js';
|
|
7
7
|
import '../../data/index.js';
|
|
8
|
-
import '../../types-
|
|
9
|
-
import '../../resolve-
|
|
10
|
-
import '../../plan-
|
|
8
|
+
import '../../types-Dq180WRV.js';
|
|
9
|
+
import '../../resolve-Bz4mszpL.js';
|
|
10
|
+
import '../../plan-D0DgSLnY.js';
|
|
11
11
|
import './backend-error.js';
|
|
12
12
|
import '../../edit-lock/index.js';
|
|
13
13
|
import './host-chrome.js';
|
|
@@ -2,11 +2,11 @@ import * as react from 'react';
|
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { EaselSession } from './session.js';
|
|
4
4
|
import '../../blocks/index.js';
|
|
5
|
-
import '../../types-
|
|
5
|
+
import '../../types-BljCVdzR.js';
|
|
6
6
|
import '../../data/index.js';
|
|
7
|
-
import '../../types-
|
|
8
|
-
import '../../resolve-
|
|
9
|
-
import '../../plan-
|
|
7
|
+
import '../../types-Dq180WRV.js';
|
|
8
|
+
import '../../resolve-Bz4mszpL.js';
|
|
9
|
+
import '../../plan-D0DgSLnY.js';
|
|
10
10
|
import './backend-error.js';
|
|
11
11
|
import '../../edit-lock/index.js';
|
|
12
12
|
import './host-chrome.js';
|
|
@@ -6,11 +6,11 @@ import { EaselDocumentHooks } from './document-hooks.js';
|
|
|
6
6
|
import { SectionTemplateStore } from './section-template-types.js';
|
|
7
7
|
import { SharedSectionStore } from './shared-section-types.js';
|
|
8
8
|
import 'react';
|
|
9
|
-
import '../../types-
|
|
9
|
+
import '../../types-BljCVdzR.js';
|
|
10
10
|
import '../../data/index.js';
|
|
11
|
-
import '../../types-
|
|
12
|
-
import '../../resolve-
|
|
13
|
-
import '../../plan-
|
|
11
|
+
import '../../types-Dq180WRV.js';
|
|
12
|
+
import '../../resolve-Bz4mszpL.js';
|
|
13
|
+
import '../../plan-D0DgSLnY.js';
|
|
14
14
|
import '../../edit-lock/index.js';
|
|
15
15
|
import './links/link-filters.js';
|
|
16
16
|
import 'efficient-shell/ui';
|
|
@@ -33,7 +33,7 @@ import './document/content-tree.js';
|
|
|
33
33
|
* (packages/website/src/index.tsx) creates it when the editor mounts and lets it
|
|
34
34
|
* go when the editor unmounts; a new mount starts from an empty one.
|
|
35
35
|
*
|
|
36
|
-
* ONE EDITOR AT A TIME IS STILL THE RULE.
|
|
36
|
+
* ONE EDITOR AT A TIME IS STILL THE RULE. The old library custom fields and the loaders
|
|
37
37
|
* they call render where no React context reaches, so they read the session of
|
|
38
38
|
* "the editor on this page" — {@link currentEaselSession}. Code that DOES sit
|
|
39
39
|
* under the editor's React tree reads its own session through
|
|
@@ -3,11 +3,11 @@ import { EaselSession } from './session.js';
|
|
|
3
3
|
import './document/content-tree.js';
|
|
4
4
|
import '../../blocks/index.js';
|
|
5
5
|
import 'react';
|
|
6
|
-
import '../../types-
|
|
6
|
+
import '../../types-BljCVdzR.js';
|
|
7
7
|
import '../../data/index.js';
|
|
8
|
-
import '../../types-
|
|
9
|
-
import '../../resolve-
|
|
10
|
-
import '../../plan-
|
|
8
|
+
import '../../types-Dq180WRV.js';
|
|
9
|
+
import '../../resolve-Bz4mszpL.js';
|
|
10
|
+
import '../../plan-D0DgSLnY.js';
|
|
11
11
|
import './backend-error.js';
|
|
12
12
|
import '../../edit-lock/index.js';
|
|
13
13
|
import './host-chrome.js';
|