efficient-easel 27.1.0 → 27.3.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/dist/AddSidePanel-DwfZOS5C.d.ts +2002 -0
- package/dist/{ScreenDocumentContext-DPW_6gOC.d.ts → ScreenDocumentContext-JQr4hTeP.d.ts} +7 -5
- package/dist/blocks/index.d.ts +1 -1
- package/dist/{canvas-typing-CD1aeYnk.d.ts → canvas-typing-B33ssbpU.d.ts} +22 -3
- package/dist/{chunk-J5VPNHOW.js → chunk-2DFSODES.js} +1 -1
- package/dist/{chunk-LAJYMOY3.js → chunk-2ODVRWRM.js} +1 -1
- package/dist/{chunk-WL57KM5C.js → chunk-36AWYQLN.js} +6 -6
- package/dist/{chunk-QPNNWQ24.js → chunk-4JPAVKV6.js} +1 -1
- package/dist/chunk-64NREOML.js +1 -0
- package/dist/chunk-7WONGRN3.js +64 -0
- package/dist/chunk-AI5IQV4A.js +2 -0
- package/dist/chunk-BDYS3UAD.js +5 -0
- package/dist/{chunk-RTMDZJNE.js → chunk-DFLPDOZF.js} +1 -1
- package/dist/chunk-IHYRYSP2.js +7 -0
- package/dist/chunk-JEKFHCKS.js +8 -0
- package/dist/{chunk-SEH3Q3EL.js → chunk-JNNBGI6Y.js} +1 -1
- package/dist/chunk-KRONK73U.js +1 -0
- package/dist/{chunk-L36E2WCO.js → chunk-NMLAW6FI.js} +17 -17
- package/dist/chunk-OHHODU7N.js +26 -0
- package/dist/{chunk-XESNAMI3.js → chunk-PMDIDRDB.js} +4 -4
- package/dist/{chunk-P3HXHLES.js → chunk-TWXA55SR.js} +1 -1
- package/dist/copy/index.d.ts +3 -3
- package/dist/copy/index.js +29 -29
- package/dist/data/index.d.ts +1 -1
- package/dist/easel/index.d.ts +10 -2
- package/dist/easel/index.js +1 -1
- package/dist/fields/index.d.ts +1 -1
- package/dist/fields/index.js +1 -1
- package/dist/panel/index.d.ts +5 -0
- package/dist/panel/index.js +1 -1
- package/dist/{phone-order-CRKvsTsz.d.ts → phone-order-BCM_f8A1.d.ts} +7 -1
- package/dist/screen/components/AddBlockRow.js +1 -1
- package/dist/screen/components/AddSidePanel.d.ts +3 -5
- package/dist/screen/components/AddSidePanel.js +1 -1
- package/dist/screen/components/NodeContextMenu.d.ts +3 -5
- package/dist/screen/components/SaveControls.d.ts +3 -5
- package/dist/screen/components/ScreenChrome.js +1 -1
- package/dist/screen/components/ScreenDocumentContext.d.ts +2 -2
- package/dist/screen/components/ScreenMount.d.ts +3 -5
- package/dist/screen/components/ScreenMount.js +1 -1
- package/dist/screen/components/ScreenStoreProvider.d.ts +3 -5
- package/dist/screen/components/ScreenStoreProvider.js +1 -1
- package/dist/screen/components/SectionScreenShell.js +17 -17
- package/dist/screen/components/usePartBridge.d.ts +3 -5
- package/dist/screen/components/usePartBridge.js +1 -1
- package/dist/screen/index.d.ts +3 -5
- package/dist/screen/index.js +1 -1
- package/dist/screen/lib/admin-bridge.d.ts +1 -1
- package/dist/screen/lib/document/add-target-types.d.ts +37 -55
- package/dist/screen/lib/document/block-set-host.js +1 -1
- package/dist/screen/lib/document/block-size-fields.d.ts +2 -2
- package/dist/screen/lib/document/block-size-fields.js +1 -1
- package/dist/screen/lib/document/box-fields.d.ts +2 -2
- package/dist/screen/lib/document/box-fields.js +1 -1
- package/dist/screen/lib/document/button-fields.d.ts +2 -2
- package/dist/screen/lib/document/button-fields.js +1 -1
- package/dist/screen/lib/document/image-fields.d.ts +2 -2
- package/dist/screen/lib/document/image-fields.js +4 -4
- package/dist/screen/lib/document/new-child.d.ts +58 -0
- package/dist/screen/lib/document/new-child.js +1 -0
- package/dist/screen/lib/document/palette-sections.d.ts +3 -5
- package/dist/screen/lib/document/section-doc.d.ts +1 -1
- package/dist/screen/lib/document/shadow-fields.d.ts +2 -2
- package/dist/screen/lib/document/shadow-fields.js +1 -1
- package/dist/screen/lib/document/slot-section-spec.d.ts +37 -96
- package/dist/screen/lib/document/style-clipboard.d.ts +3 -5
- package/dist/screen/lib/document/style-fields.d.ts +2 -2
- package/dist/screen/lib/document/style-fields.js +1 -1
- package/dist/screen/lib/document/use-section-ops.d.ts +37 -3
- package/dist/screen/lib/document/use-section-ops.js +1 -1
- package/dist/screen/lib/document-addressing.d.ts +2 -2
- package/dist/screen/lib/document-hooks.d.ts +1 -1
- package/dist/screen/lib/host.d.ts +2 -2
- package/dist/screen/lib/key-scope.js +1 -1
- package/dist/screen/lib/media-panel.d.ts +2 -2
- package/dist/screen/lib/media-picker.d.ts +2 -2
- package/dist/screen/lib/page-lock.d.ts +1 -1
- package/dist/screen/lib/screen-parts.d.ts +21 -1828
- package/dist/screen/lib/screen-parts.js +1 -1
- package/dist/screen/lib/section-templates.d.ts +1 -1
- package/dist/screen/lib/session-context.d.ts +1 -1
- package/dist/screen/lib/session.d.ts +1 -1
- package/dist/screen/lib/shared-sections.d.ts +1 -1
- package/dist/text-styles/index.js +11 -11
- package/package.json +10 -4
- package/dist/chunk-3FANFZ4D.js +0 -1
- package/dist/chunk-D4TH4QQR.js +0 -2
- package/dist/chunk-DTEYSPJE.js +0 -64
- package/dist/chunk-GJ427TZL.js +0 -8
- package/dist/chunk-MNQDOSAX.js +0 -7
- package/dist/chunk-SDSBXW3V.js +0 -26
- package/dist/chunk-TUIBPB77.js +0 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '../../../blocks/index.js';
|
|
2
|
-
export {
|
|
2
|
+
export { aw as PaletteLook, ax as PalettePreset, ay as PaletteSection, az as buildPaletteSections, aA as categoryLabel, aB as matchesQuery, aC as paletteWithoutPinned, aD as pinnedSection } from '../../../AddSidePanel-DwfZOS5C.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../../../types-BljCVdzR.js';
|
|
5
5
|
import '../../../data/index.js';
|
|
6
6
|
import '../../../types-Dq180WRV.js';
|
|
7
|
-
import '../../../phone-order-
|
|
7
|
+
import '../../../phone-order-BCM_f8A1.js';
|
|
8
8
|
import '../../../plan-D0DgSLnY.js';
|
|
9
9
|
import '../../../CanvasDragLayer-DXeQGrwJ.js';
|
|
10
10
|
import '../../../watch-Unf6SfUf.js';
|
|
@@ -25,7 +25,7 @@ import '../../../words-CnnHb9jo.js';
|
|
|
25
25
|
import '../../../types-CoUTWUwB.js';
|
|
26
26
|
import 'efficient-shell/ui';
|
|
27
27
|
import '../../../words-Cl9xMUYY.js';
|
|
28
|
-
import '../../../ScreenDocumentContext-
|
|
28
|
+
import '../../../ScreenDocumentContext-JQr4hTeP.js';
|
|
29
29
|
import '../document-contract.js';
|
|
30
30
|
import '../document-switch.js';
|
|
31
31
|
import '../../../engine-CvXpFE86.js';
|
|
@@ -35,5 +35,3 @@ import '../backend-error.js';
|
|
|
35
35
|
import '../host-chrome.js';
|
|
36
36
|
import '../links/link-filters.js';
|
|
37
37
|
import '../document-hooks.js';
|
|
38
|
-
import './add-target-types.js';
|
|
39
|
-
import './slot-section-spec.js';
|
|
@@ -4,7 +4,7 @@ import 'react';
|
|
|
4
4
|
import '../../../types-BljCVdzR.js';
|
|
5
5
|
import '../../../data/index.js';
|
|
6
6
|
import '../../../types-Dq180WRV.js';
|
|
7
|
-
import '../../../phone-order-
|
|
7
|
+
import '../../../phone-order-BCM_f8A1.js';
|
|
8
8
|
import '../../../plan-D0DgSLnY.js';
|
|
9
9
|
|
|
10
10
|
declare function nodeToDoc(node: TreeItem): Data;
|
|
@@ -8,12 +8,12 @@ import '../../../types-BYxYJQMa.js';
|
|
|
8
8
|
import '../../../wordFit-7XpmhcaW.js';
|
|
9
9
|
import '../../../words-BgeDGDKn.js';
|
|
10
10
|
import '../../../buckets-BYQBBVgO.js';
|
|
11
|
-
import '../../../ScreenDocumentContext-
|
|
11
|
+
import '../../../ScreenDocumentContext-JQr4hTeP.js';
|
|
12
12
|
import '../../../blocks/index.js';
|
|
13
13
|
import '../../../types-BljCVdzR.js';
|
|
14
14
|
import '../../../data/index.js';
|
|
15
15
|
import '../../../types-Dq180WRV.js';
|
|
16
|
-
import '../../../phone-order-
|
|
16
|
+
import '../../../phone-order-BCM_f8A1.js';
|
|
17
17
|
import '../../../plan-D0DgSLnY.js';
|
|
18
18
|
import '../document-contract.js';
|
|
19
19
|
import '../document-switch.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{DEFAULT_SHADOW_COLOR as o,DEFAULT_SHADOW as n,shadowValue as r,SHADOWS as i}from"../../../chunk-CRITA6CA.js";export{DEFAULT_SHADOW,DEFAULT_SHADOW_COLOR,SHADOWS,shadowValue}from"../../../chunk-CRITA6CA.js";import{styleFieldBuilders as t}from"../../../chunk-
|
|
1
|
+
import{DEFAULT_SHADOW_COLOR as o,DEFAULT_SHADOW as n,shadowValue as r,SHADOWS as i}from"../../../chunk-CRITA6CA.js";export{DEFAULT_SHADOW,DEFAULT_SHADOW_COLOR,SHADOWS,shadowValue}from"../../../chunk-CRITA6CA.js";import{styleFieldBuilders as t}from"../../../chunk-PMDIDRDB.js";import"../../../chunk-36AWYQLN.js";import"../../../chunk-XWTQTANN.js";import{SettingsDefaultReset as s}from"../../../chunk-2T22IY3J.js";import"../../../chunk-ZNLODQD4.js";import"../../../chunk-22I55W37.js";import"../../../chunk-LX23TCTP.js";import"../../../chunk-G2VZ4DET.js";import"../../../chunk-3OOYGEJY.js";import"../../../chunk-6WY6ZXJG.js";import"../../../chunk-PLTTPHK5.js";import"../../../chunk-ANPOR6EY.js";import"../../../chunk-NMLAW6FI.js";import"../../../chunk-XT75WETI.js";import"../../../chunk-TBY3DFKS.js";import"../../../chunk-YCSZAP7T.js";import"../../../chunk-AI5IQV4A.js";import{DEFAULT_PANEL_WORDS as e}from"../../../chunk-56ID6FKZ.js";import"../../../chunk-LDHUPZBK.js";import"../../../chunk-TF6NAIV7.js";import"../../../chunk-OECWLNKJ.js";import"../../../chunk-DIOTWSCO.js";import"../../../chunk-IHYRYSP2.js";import"../../../chunk-PMRN5Z3T.js";import"../../../chunk-C63IB4VW.js";import"../../../chunk-DX3VILZ3.js";import{SettingsField as p}from"../../../chunk-MIX7EGRG.js";import"../../../chunk-UMTUKSE6.js";import{useWords as c}from"../../../chunk-MFIRYGHW.js";import"../../../chunk-YDTEYXQW.js";import"../../../chunk-KXM6YRG2.js";import"../../../chunk-6GJEOER4.js";import"../../../chunk-FR7EEKFF.js";import"../../../chunk-7UFKEX72.js";import"../../../chunk-BSPCSC45.js";import{ShadowIcon as h}from"efficient-shell/icons/efficient";import{IconPicker as u}from"efficient-shell/ui";import{jsx as l}from"react/jsx-runtime";var m={none:"None",soft:"Soft",lifted:"Lifted"},a={none:"none",soft:"0 1px 1px rgba(20, 20, 22, 0.10), 0 2px 4px -1px rgba(20, 20, 22, 0.14)",lifted:"0 1px 2px rgba(20, 20, 22, 0.10), 0 4px 7px -2px rgba(20, 20, 22, 0.30)"},k={display:"block",flex:"none",boxSizing:"border-box",width:16,height:11};function j({o:o,say:t,props:j}){const d=c("panel",e),f=o.builtIn??n,b=r(j.value),T=b??f,C=t(o.label);/* @__PURE__ */
|
|
2
2
|
return l(p,{label:C,icon:o.icon??/* @__PURE__ */l(h,{}),value:t(m[T]),changed:null!==b,hint:o.hint,action:/* @__PURE__ */l(s,{words:d,label:C,changed:null!==b,detail:t(m[f]),onReset:()=>j.onChange(void 0),disabled:j.readOnly}),children:/* @__PURE__ */l(u,{label:C,value:T,options:i.map(o=>({value:o,label:t(m[o]),icon:/* @__PURE__ */l("span",{"data-shadow-chip":"",className:"border border-line bg-surface",style:{...k,boxShadow:a[o]}})})),onChange:o=>j.onChange(o),disabled:j.readOnly})})}function d(n=o=>o){const{colourField:r}=t(n);return{shadowField:o=>({type:"custom",render:r=>/* @__PURE__ */l(j,{o:o,say:n,props:r})}),shadowColourField:n=>{const i=n.follows??o;return r({key:n.key??"shadowColor",label:n.label,icon:/* @__PURE__ */l(h,{}),hint:n.hint,useFollows:()=>i})}}}var{shadowField:f,shadowColourField:b}=d();export{b as shadowColourField,f as shadowField,d as shadowFieldBuilders};
|
|
@@ -1,96 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
fixed?: boolean;
|
|
39
|
-
/** Children render as a HORIZONTAL slider (selection must advance it). */
|
|
40
|
-
slider?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Prop bags for the default children a fresh section is seeded with.
|
|
43
|
-
*
|
|
44
|
-
* `defaultsFor` is {@link NodeDefaults} — present when the caller holds the
|
|
45
|
-
* config, absent otherwise, and every spec that seeds a plain content child
|
|
46
|
-
* simply declines it.
|
|
47
|
-
*/
|
|
48
|
-
seeds: (defaultsFor?: NodeDefaults) => Record<string, unknown>[];
|
|
49
|
-
/**
|
|
50
|
-
* Convert a section's LEGACY props (an older inline-array field) into slot
|
|
51
|
-
* children at load-time — the chrome-only migration for pages saved before the
|
|
52
|
-
* field became a slot. Returns [] when there's nothing to migrate, in which
|
|
53
|
-
* case the seeder falls back to `seeds()`.
|
|
54
|
-
*/
|
|
55
|
-
legacy?: (props: Record<string, unknown>) => Record<string, unknown>[];
|
|
56
|
-
/**
|
|
57
|
-
* Why this section cannot take another child right now — a sentence the
|
|
58
|
-
* merchant reads — or `null` when it can (card 66189).
|
|
59
|
-
*
|
|
60
|
-
* Optional, and only the Hero slide answers it today: a group is placed on one
|
|
61
|
-
* of nine anchors, an anchor stacks at most four, and a fifth would be drawn
|
|
62
|
-
* ON TOP of the fourth. The rule lives on the SPEC rather than inside
|
|
63
|
-
* `SlotChildRows` because the list is shared by five sections and this is one
|
|
64
|
-
* section's arithmetic — the list asks, the spec answers.
|
|
65
|
-
*/
|
|
66
|
-
addBlocked?: (children: readonly unknown[], incoming?: unknown) => string | null;
|
|
67
|
-
/**
|
|
68
|
-
* Why this section must NOT be seeded at all, read off its OWN stored props.
|
|
69
|
-
*
|
|
70
|
-
* The seeder's existing guard is "the slot already has children" — right for a
|
|
71
|
-
* section whose only shape is the slot, and blind to a section that still
|
|
72
|
-
* carries an OLDER one. Image & Text Columns is the first of those: its
|
|
73
|
-
* columns used to be a `steps` ARRAY, the owner ruled on 2026-09-05 that
|
|
74
|
-
* nothing is migrated, and a stored page therefore has a full `steps` and an
|
|
75
|
-
* empty `boxes`. Without this the seeder would drop three fresh Boxes into a
|
|
76
|
-
* published page that already draws three columns, and the merchant would find
|
|
77
|
-
* six.
|
|
78
|
-
*
|
|
79
|
-
* Deliberately a question about the PARENT'S props, not about the slot — the
|
|
80
|
-
* slot is what the existing guard already reads, and answering "is there an
|
|
81
|
-
* older shape here" from the same place is what makes this a second question
|
|
82
|
-
* rather than a second opinion on the first.
|
|
83
|
-
*/
|
|
84
|
-
skipSeed?: (props: Record<string, unknown>) => boolean;
|
|
85
|
-
/**
|
|
86
|
-
* What the list says about the children it ALREADY holds, or `null`.
|
|
87
|
-
*
|
|
88
|
-
* The counterpart to `addBlocked`, and deliberately a second question rather
|
|
89
|
-
* than a second answer from the first: `addBlocked` is about a group that has
|
|
90
|
-
* not arrived yet, this is about the ones that are already here and cannot all
|
|
91
|
-
* be drawn. A section that cannot get into that state simply declares neither.
|
|
92
|
-
*/
|
|
93
|
-
notice?: (children: readonly unknown[]) => string | null;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export type { NodeDefaults, SlotSectionSpec };
|
|
1
|
+
export { at as NodeDefaults, as as SlotSectionSpec } from '../../../AddSidePanel-DwfZOS5C.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../../../CanvasDragLayer-DXeQGrwJ.js';
|
|
4
|
+
import '../../../watch-Unf6SfUf.js';
|
|
5
|
+
import '../../../types-Dq180WRV.js';
|
|
6
|
+
import '../../../words-SD4neL0n.js';
|
|
7
|
+
import '../section-template-types.js';
|
|
8
|
+
import './content-tree.js';
|
|
9
|
+
import '../shared-section-types.js';
|
|
10
|
+
import './block-choice.js';
|
|
11
|
+
import '../../../blocks/index.js';
|
|
12
|
+
import '../../../types-BljCVdzR.js';
|
|
13
|
+
import '../../../data/index.js';
|
|
14
|
+
import '../../../phone-order-BCM_f8A1.js';
|
|
15
|
+
import '../../../plan-D0DgSLnY.js';
|
|
16
|
+
import '../../../types-SrGNzYeO.js';
|
|
17
|
+
import '../../../types-Cy7rdmXt.js';
|
|
18
|
+
import '../../../wordFit-7XpmhcaW.js';
|
|
19
|
+
import '../../../edit-lock/index.js';
|
|
20
|
+
import '../../../panelWidths-DgQXiPXU.js';
|
|
21
|
+
import '../../../copy-place-CQIemdtU.js';
|
|
22
|
+
import '../../../types-BbOBWXMP.js';
|
|
23
|
+
import '../../../style-clipboard/index.js';
|
|
24
|
+
import '../../../words-CnnHb9jo.js';
|
|
25
|
+
import '../../../types-CoUTWUwB.js';
|
|
26
|
+
import 'efficient-shell/ui';
|
|
27
|
+
import '../../../words-Cl9xMUYY.js';
|
|
28
|
+
import '../../../ScreenDocumentContext-JQr4hTeP.js';
|
|
29
|
+
import '../document-contract.js';
|
|
30
|
+
import '../document-switch.js';
|
|
31
|
+
import '../../../engine-CvXpFE86.js';
|
|
32
|
+
import '../admin-bridge.js';
|
|
33
|
+
import '../session.js';
|
|
34
|
+
import '../backend-error.js';
|
|
35
|
+
import '../host-chrome.js';
|
|
36
|
+
import '../links/link-filters.js';
|
|
37
|
+
import '../document-hooks.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StyleRow } from '../../../style-clipboard/index.js';
|
|
2
2
|
import { S as StyleClipboardWords } from '../../../words-CnnHb9jo.js';
|
|
3
|
-
import { ScreenStyleDocument, ScreenNode, ScreenStylePastePlan, ScreenStyleClipboard } from '
|
|
3
|
+
import { U as ScreenStyleDocument, z as ScreenNode, V as ScreenStylePastePlan, T as ScreenStyleClipboard } from '../../../AddSidePanel-DwfZOS5C.js';
|
|
4
4
|
import { panelFieldsOf } from './panel-fields.js';
|
|
5
5
|
import '../../../types-BbOBWXMP.js';
|
|
6
6
|
import 'react';
|
|
@@ -15,7 +15,7 @@ import './block-choice.js';
|
|
|
15
15
|
import '../../../blocks/index.js';
|
|
16
16
|
import '../../../types-BljCVdzR.js';
|
|
17
17
|
import '../../../data/index.js';
|
|
18
|
-
import '../../../phone-order-
|
|
18
|
+
import '../../../phone-order-BCM_f8A1.js';
|
|
19
19
|
import '../../../plan-D0DgSLnY.js';
|
|
20
20
|
import '../../../types-SrGNzYeO.js';
|
|
21
21
|
import '../../../types-Cy7rdmXt.js';
|
|
@@ -26,7 +26,7 @@ import '../../../copy-place-CQIemdtU.js';
|
|
|
26
26
|
import '../../../types-CoUTWUwB.js';
|
|
27
27
|
import 'efficient-shell/ui';
|
|
28
28
|
import '../../../words-Cl9xMUYY.js';
|
|
29
|
-
import '../../../ScreenDocumentContext-
|
|
29
|
+
import '../../../ScreenDocumentContext-JQr4hTeP.js';
|
|
30
30
|
import '../document-contract.js';
|
|
31
31
|
import '../document-switch.js';
|
|
32
32
|
import '../../../engine-CvXpFE86.js';
|
|
@@ -36,8 +36,6 @@ import '../backend-error.js';
|
|
|
36
36
|
import '../host-chrome.js';
|
|
37
37
|
import '../links/link-filters.js';
|
|
38
38
|
import '../document-hooks.js';
|
|
39
|
-
import './add-target-types.js';
|
|
40
|
-
import './slot-section-spec.js';
|
|
41
39
|
|
|
42
40
|
/**
|
|
43
41
|
* lib/document/style-clipboard.ts — COPY STYLE / PASTE STYLE in the website editor
|
|
@@ -8,12 +8,12 @@ import '../../../types-BYxYJQMa.js';
|
|
|
8
8
|
import '../../../wordFit-7XpmhcaW.js';
|
|
9
9
|
import '../../../words-BgeDGDKn.js';
|
|
10
10
|
import '../../../buckets-BYQBBVgO.js';
|
|
11
|
-
import '../../../ScreenDocumentContext-
|
|
11
|
+
import '../../../ScreenDocumentContext-JQr4hTeP.js';
|
|
12
12
|
import '../../../blocks/index.js';
|
|
13
13
|
import '../../../types-BljCVdzR.js';
|
|
14
14
|
import '../../../data/index.js';
|
|
15
15
|
import '../../../types-Dq180WRV.js';
|
|
16
|
-
import '../../../phone-order-
|
|
16
|
+
import '../../../phone-order-BCM_f8A1.js';
|
|
17
17
|
import '../../../plan-D0DgSLnY.js';
|
|
18
18
|
import '../document-contract.js';
|
|
19
19
|
import '../document-switch.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{BORDER_WIDTH_MAX,CORNER_RADIUS_MAX,borderField,colourField,cornersField,keptByRow,styleFieldBuilders}from"../../../chunk-
|
|
1
|
+
export{BORDER_WIDTH_MAX,CORNER_RADIUS_MAX,borderField,colourField,cornersField,keptByRow,styleFieldBuilders}from"../../../chunk-PMDIDRDB.js";import"../../../chunk-36AWYQLN.js";import"../../../chunk-XWTQTANN.js";import"../../../chunk-2T22IY3J.js";import"../../../chunk-ZNLODQD4.js";import"../../../chunk-22I55W37.js";import"../../../chunk-LX23TCTP.js";import"../../../chunk-G2VZ4DET.js";import"../../../chunk-3OOYGEJY.js";import"../../../chunk-6WY6ZXJG.js";export{CORNER_SIDES}from"../../../chunk-PLTTPHK5.js";import"../../../chunk-ANPOR6EY.js";import"../../../chunk-NMLAW6FI.js";import"../../../chunk-XT75WETI.js";import"../../../chunk-TBY3DFKS.js";import"../../../chunk-YCSZAP7T.js";import"../../../chunk-AI5IQV4A.js";import"../../../chunk-56ID6FKZ.js";import"../../../chunk-LDHUPZBK.js";import"../../../chunk-TF6NAIV7.js";import"../../../chunk-OECWLNKJ.js";import"../../../chunk-DIOTWSCO.js";import"../../../chunk-IHYRYSP2.js";import"../../../chunk-PMRN5Z3T.js";import"../../../chunk-C63IB4VW.js";import"../../../chunk-DX3VILZ3.js";import"../../../chunk-MIX7EGRG.js";import"../../../chunk-UMTUKSE6.js";import"../../../chunk-MFIRYGHW.js";import"../../../chunk-YDTEYXQW.js";import"../../../chunk-KXM6YRG2.js";import"../../../chunk-6GJEOER4.js";import"../../../chunk-FR7EEKFF.js";import"../../../chunk-7UFKEX72.js";import"../../../chunk-BSPCSC45.js";
|
|
@@ -1,11 +1,40 @@
|
|
|
1
1
|
import { N as NodeSelection } from '../../../plan-D0DgSLnY.js';
|
|
2
2
|
import { Data } from '../../../blocks/index.js';
|
|
3
|
+
import { I as InsertNodeOptions } from '../../../AddSidePanel-DwfZOS5C.js';
|
|
3
4
|
import { TreeItem } from './content-tree.js';
|
|
4
5
|
import '../../../types-Dq180WRV.js';
|
|
5
6
|
import 'react';
|
|
6
7
|
import '../../../types-BljCVdzR.js';
|
|
7
8
|
import '../../../data/index.js';
|
|
8
|
-
import '../../../phone-order-
|
|
9
|
+
import '../../../phone-order-BCM_f8A1.js';
|
|
10
|
+
import '../../../CanvasDragLayer-DXeQGrwJ.js';
|
|
11
|
+
import '../../../watch-Unf6SfUf.js';
|
|
12
|
+
import '../../../words-SD4neL0n.js';
|
|
13
|
+
import '../section-template-types.js';
|
|
14
|
+
import '../shared-section-types.js';
|
|
15
|
+
import './block-choice.js';
|
|
16
|
+
import '../../../types-SrGNzYeO.js';
|
|
17
|
+
import '../../../types-Cy7rdmXt.js';
|
|
18
|
+
import '../../../wordFit-7XpmhcaW.js';
|
|
19
|
+
import '../../../edit-lock/index.js';
|
|
20
|
+
import '../../../panelWidths-DgQXiPXU.js';
|
|
21
|
+
import '../../../copy-place-CQIemdtU.js';
|
|
22
|
+
import '../../../types-BbOBWXMP.js';
|
|
23
|
+
import '../../../style-clipboard/index.js';
|
|
24
|
+
import '../../../words-CnnHb9jo.js';
|
|
25
|
+
import '../../../types-CoUTWUwB.js';
|
|
26
|
+
import 'efficient-shell/ui';
|
|
27
|
+
import '../../../words-Cl9xMUYY.js';
|
|
28
|
+
import '../../../ScreenDocumentContext-JQr4hTeP.js';
|
|
29
|
+
import '../document-contract.js';
|
|
30
|
+
import '../document-switch.js';
|
|
31
|
+
import '../../../engine-CvXpFE86.js';
|
|
32
|
+
import '../admin-bridge.js';
|
|
33
|
+
import '../session.js';
|
|
34
|
+
import '../backend-error.js';
|
|
35
|
+
import '../host-chrome.js';
|
|
36
|
+
import '../links/link-filters.js';
|
|
37
|
+
import '../document-hooks.js';
|
|
9
38
|
|
|
10
39
|
type NodeSelector = {
|
|
11
40
|
index: number;
|
|
@@ -26,8 +55,12 @@ type SectionOps = {
|
|
|
26
55
|
* (zone, index); returns its id. The same insert-then-replace pattern as
|
|
27
56
|
* seedChild, one level up: how a saved section template lands in a page.
|
|
28
57
|
* Callers pass a node whose ids are already fresh (cloneNodeWithFreshIds).
|
|
58
|
+
*
|
|
59
|
+
* `copy: true` says the node is a SAVED one (a section template), not one
|
|
60
|
+
* made now (a preset, a new section): it is resolved with trigger `"copy"`
|
|
61
|
+
* in place of `"insert"`, so its slots are the merchant's answers.
|
|
29
62
|
*/
|
|
30
|
-
insertNode: (zone: string, index: number, node: TreeItem) => string;
|
|
63
|
+
insertNode: (zone: string, index: number, node: TreeItem, options?: InsertNodeOptions) => string;
|
|
31
64
|
/** Remove the node at (zone, index). A normal dispatch, so Undo restores it. */
|
|
32
65
|
removeComponent: (zone: string, index: number) => void;
|
|
33
66
|
/**
|
|
@@ -83,7 +116,8 @@ type SectionOpsOptions = {
|
|
|
83
116
|
*/
|
|
84
117
|
readOnly?: boolean;
|
|
85
118
|
/**
|
|
86
|
-
* Resolve each node an op puts in (`easel.resolveNode`, trigger `"insert"
|
|
119
|
+
* Resolve each node an op puts in (`easel.resolveNode`, trigger `"insert"`;
|
|
120
|
+
* `"copy"` for a saved node, `insertNode(…, { copy: true })`).
|
|
87
121
|
* Default: the layer's rule (`ScreenBlockRules.resolveOnInsert`), else
|
|
88
122
|
* false — no op resolves anything, as before 0.103.0.
|
|
89
123
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{useSectionOps}from"../../../chunk-
|
|
1
|
+
export{useSectionOps}from"../../../chunk-KRONK73U.js";import"../../../chunk-BDYS3UAD.js";import"../../../chunk-NCXYC7WI.js";import"../../../chunk-LX23TCTP.js";import"../../../chunk-TCAAOYQY.js";import"../../../chunk-NMLAW6FI.js";import"../../../chunk-XT75WETI.js";import"../../../chunk-TBY3DFKS.js";import"../../../chunk-OHHODU7N.js";import"../../../chunk-BPXEFVSQ.js";import"../../../chunk-YCSZAP7T.js";import"../../../chunk-TDEBPOWV.js";import"../../../chunk-WHS6Y55E.js";import"../../../chunk-AI5IQV4A.js";import"../../../chunk-K56YDHYQ.js";import"../../../chunk-56ID6FKZ.js";import"../../../chunk-LDHUPZBK.js";import"../../../chunk-FIVU2COQ.js";import"../../../chunk-TF6NAIV7.js";import"../../../chunk-IHYRYSP2.js";import"../../../chunk-PMRN5Z3T.js";import"../../../chunk-ANBPE45L.js";import"../../../chunk-C63IB4VW.js";import"../../../chunk-DX3VILZ3.js";import"../../../chunk-MIX7EGRG.js";import"../../../chunk-UMTUKSE6.js";import"../../../chunk-MFIRYGHW.js";import"../../../chunk-QEEW4X64.js";import"../../../chunk-P2VEMZH5.js";import"../../../chunk-YDTEYXQW.js";import"../../../chunk-KXM6YRG2.js";import"../../../chunk-6GJEOER4.js";import"../../../chunk-FR7EEKFF.js";import"../../../chunk-7UFKEX72.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
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-JQr4hTeP.js';
|
|
2
2
|
import './document-contract.js';
|
|
3
3
|
import './session.js';
|
|
4
4
|
import 'react';
|
|
@@ -6,7 +6,7 @@ import '../../blocks/index.js';
|
|
|
6
6
|
import '../../types-BljCVdzR.js';
|
|
7
7
|
import '../../data/index.js';
|
|
8
8
|
import '../../types-Dq180WRV.js';
|
|
9
|
-
import '../../phone-order-
|
|
9
|
+
import '../../phone-order-BCM_f8A1.js';
|
|
10
10
|
import '../../plan-D0DgSLnY.js';
|
|
11
11
|
import './document-switch.js';
|
|
12
12
|
import '../../engine-CvXpFE86.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
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, F as FIELD_DESCRIPTION_MARKER, H as HostPickedMedia, k as HostToEaselMessage, I as InboundHostMessage, P as PageEditOp, l as PickedMediaSource, S as SectionScreenTarget, m as SendToHost, n as createEaselHost, o as describedAs, u as useEaselHost, p 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, F as FIELD_DESCRIPTION_MARKER, H as HostPickedMedia, k as HostToEaselMessage, I as InboundHostMessage, P as PageEditOp, l as PickedMediaSource, S as SectionScreenTarget, m as SendToHost, n as createEaselHost, o as describedAs, u as useEaselHost, p as useHostEscape } from '../../ScreenDocumentContext-JQr4hTeP.js';
|
|
3
3
|
import '../../blocks/index.js';
|
|
4
4
|
import '../../types-BljCVdzR.js';
|
|
5
5
|
import '../../data/index.js';
|
|
6
6
|
import '../../types-Dq180WRV.js';
|
|
7
|
-
import '../../phone-order-
|
|
7
|
+
import '../../phone-order-BCM_f8A1.js';
|
|
8
8
|
import '../../plan-D0DgSLnY.js';
|
|
9
9
|
import './document-contract.js';
|
|
10
10
|
import './document-switch.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{editorRootFocus,isSaveShortcut,useEaselKeyTarget,useEaselSaveKey,useEaselUndoKeys}from"../../chunk-
|
|
1
|
+
export{editorRootFocus,isSaveShortcut,useEaselKeyTarget,useEaselSaveKey,useEaselUndoKeys}from"../../chunk-DFLPDOZF.js";import"../../chunk-LX23TCTP.js";import"../../chunk-NMLAW6FI.js";import"../../chunk-XT75WETI.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-LDHUPZBK.js";import"../../chunk-TF6NAIV7.js";import"../../chunk-IHYRYSP2.js";import"../../chunk-PMRN5Z3T.js";import"../../chunk-MFIRYGHW.js";import"../../chunk-YDTEYXQW.js";import"../../chunk-KXM6YRG2.js";import"../../chunk-6GJEOER4.js";import"../../chunk-FR7EEKFF.js";import"../../chunk-7UFKEX72.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
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-JQr4hTeP.js';
|
|
4
4
|
import '../../blocks/index.js';
|
|
5
5
|
import '../../types-BljCVdzR.js';
|
|
6
6
|
import '../../data/index.js';
|
|
7
7
|
import '../../types-Dq180WRV.js';
|
|
8
|
-
import '../../phone-order-
|
|
8
|
+
import '../../phone-order-BCM_f8A1.js';
|
|
9
9
|
import '../../plan-D0DgSLnY.js';
|
|
10
10
|
import './document-contract.js';
|
|
11
11
|
import './document-switch.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { H as HostPickedMedia, c as EaselHost } from '../../ScreenDocumentContext-
|
|
1
|
+
import { H as HostPickedMedia, c as EaselHost } from '../../ScreenDocumentContext-JQr4hTeP.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../blocks/index.js';
|
|
4
4
|
import '../../types-BljCVdzR.js';
|
|
5
5
|
import '../../data/index.js';
|
|
6
6
|
import '../../types-Dq180WRV.js';
|
|
7
|
-
import '../../phone-order-
|
|
7
|
+
import '../../phone-order-BCM_f8A1.js';
|
|
8
8
|
import '../../plan-D0DgSLnY.js';
|
|
9
9
|
import './document-contract.js';
|
|
10
10
|
import './document-switch.js';
|
|
@@ -5,7 +5,7 @@ import 'react';
|
|
|
5
5
|
import '../../types-BljCVdzR.js';
|
|
6
6
|
import '../../data/index.js';
|
|
7
7
|
import '../../types-Dq180WRV.js';
|
|
8
|
-
import '../../phone-order-
|
|
8
|
+
import '../../phone-order-BCM_f8A1.js';
|
|
9
9
|
import '../../plan-D0DgSLnY.js';
|
|
10
10
|
import './backend-error.js';
|
|
11
11
|
import './host-chrome.js';
|