efficient-easel 27.0.0 → 27.2.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-DoCx-ZrM.d.ts +1994 -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/index.d.ts +2 -1
- package/dist/canvas/index.js +1 -1
- package/dist/chrome/index.js +1 -1
- package/dist/{chunk-PVBDKBJB.js → chunk-2EEYFRQM.js} +1 -1
- package/dist/{chunk-W3UZNKGS.js → chunk-2Y4CAWZQ.js} +4 -4
- package/dist/{chunk-CWELHADJ.js → chunk-3OOYGEJY.js} +1 -1
- package/dist/{chunk-BFJAEQZ6.js → chunk-3RGHXL5V.js} +1 -1
- package/dist/{chunk-JIP5JNRB.js → chunk-5HYVOOH3.js} +1 -1
- package/dist/chunk-64NREOML.js +1 -0
- package/dist/chunk-6GJEOER4.js +1 -0
- package/dist/{chunk-6ATIYLUL.js → chunk-6V6LC7QV.js} +1 -1
- package/dist/{chunk-KO47WAWR.js → chunk-7YXWWMBM.js} +1 -1
- package/dist/{chunk-GR3XRILS.js → chunk-A5USZ6Z6.js} +1 -1
- package/dist/{chunk-Y2T3JX7K.js → chunk-ANBPE45L.js} +1 -1
- package/dist/{chunk-KFWNGPW3.js → chunk-C63IB4VW.js} +5 -5
- package/dist/chunk-DCBUJ36Q.js +5 -0
- package/dist/{chunk-SQTVXE5D.js → chunk-DQSRGKSM.js} +18 -18
- package/dist/{chunk-YYD257TD.js → chunk-G7J6SGMF.js} +1 -1
- package/dist/chunk-HGTDDSFJ.js +19 -0
- package/dist/chunk-I4Z75MCX.js +1 -0
- package/dist/{chunk-AAZIMKLQ.js → chunk-JI7GUM3C.js} +1 -1
- package/dist/{chunk-QZJKWKGH.js → chunk-JUJEVGLY.js} +1 -1
- package/dist/{chunk-K53PQAMP.js → chunk-LDHUPZBK.js} +1 -1
- package/dist/{chunk-JQQFB7EZ.js → chunk-LK56FUFT.js} +1 -1
- package/dist/chunk-M5UCPD66.js +1 -0
- package/dist/{chunk-ZFEAWEFS.js → chunk-MMHYTIUY.js} +3 -3
- package/dist/{chunk-SBVIW3KJ.js → chunk-MTWQYLJE.js} +1 -1
- package/dist/chunk-OB4KI2AN.js +2 -0
- package/dist/{chunk-5OWAV3MH.js → chunk-OSF2H3LO.js} +1 -1
- package/dist/{chunk-TYTMUHUK.js → chunk-PTTQWCD7.js} +1 -1
- package/dist/{chunk-3XECMGXX.js → chunk-QEEW4X64.js} +1 -1
- package/dist/chunk-SDSBXW3V.js +26 -0
- package/dist/{chunk-76MUJIZE.js → chunk-SR2535CN.js} +17 -17
- package/dist/{chunk-QTHQPJWA.js → chunk-TF6NAIV7.js} +1 -1
- package/dist/{chunk-6EDVZBUO.js → chunk-TQUEVJOO.js} +1 -1
- package/dist/chunk-UMTUKSE6.js +1 -0
- package/dist/chunk-VNUXFD4X.js +1 -0
- package/dist/{chunk-VBEVZZTV.js → chunk-VTY7OQB5.js} +11 -11
- package/dist/{chunk-5JNVMCCB.js → chunk-XGTO4LHI.js} +1 -1
- package/dist/{chunk-YES5F7OS.js → chunk-XV5D4V2T.js} +1 -1
- package/dist/chunk-YCYGY54I.js +8 -0
- package/dist/chunk-YDTEYXQW.js +1 -0
- package/dist/chunk-ZSP4ZAQ2.js +64 -0
- package/dist/copy/index.js +11 -11
- package/dist/data/index.d.ts +2 -1
- package/dist/data/index.js +1 -1
- package/dist/drag/index.js +1 -1
- package/dist/easel/index.d.ts +1 -1
- package/dist/easel/index.js +1 -1
- package/dist/edit-lock/index.js +1 -1
- package/dist/fields/fields.css +8 -0
- package/dist/fields/index.d.ts +47 -3
- package/dist/fields/index.js +1 -1
- package/dist/node-ops/index.js +1 -1
- package/dist/phone-order-CRKvsTsz.d.ts +141 -0
- 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/NodeContextMenu.js +1 -1
- package/dist/screen/components/PageEditGuardNotices.js +1 -1
- package/dist/screen/components/SaveControls.d.ts +3 -5
- package/dist/screen/components/SaveControls.js +1 -1
- package/dist/screen/components/ScreenChrome.js +1 -1
- package/dist/screen/components/ScreenDocumentContext.d.ts +2 -2
- package/dist/screen/components/ScreenDocumentContext.js +1 -1
- 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/SidePanelHead.js +1 -1
- package/dist/screen/components/panel-widths.js +1 -1
- 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/block-types-in.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 +5 -5
- 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/section-doc.js +1 -1
- package/dist/screen/lib/document/shadow-fields.d.ts +2 -2
- package/dist/screen/lib/document/shadow-fields.js +2 -2
- 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-clipboard.js +1 -1
- 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 +1 -1
- 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/document-switch.js +1 -1
- package/dist/screen/lib/failure.js +1 -1
- package/dist/screen/lib/host-inbound.js +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/media-picker.js +1 -1
- package/dist/screen/lib/page-lock.d.ts +1 -1
- package/dist/screen/lib/page-lock.js +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/strings/index.d.ts +1 -1
- package/dist/strings/index.js +2 -2
- package/dist/style-clipboard/index.js +1 -1
- package/dist/text-styles/index.js +27 -27
- package/dist/{words-CFkb8XtN.d.ts → words-dNm6REMa.d.ts} +21 -0
- package/package.json +7 -1
- package/dist/chunk-2262JGFV.js +0 -5
- package/dist/chunk-3W2O22DZ.js +0 -19
- package/dist/chunk-DAKKPW2Z.js +0 -1
- package/dist/chunk-EUFDQ4KL.js +0 -1
- package/dist/chunk-FW35PCK7.js +0 -1
- package/dist/chunk-HG65R6IN.js +0 -20
- package/dist/chunk-JACEEVVF.js +0 -1
- package/dist/chunk-L2WK5JYB.js +0 -2
- package/dist/chunk-L7PSERQH.js +0 -8
- package/dist/chunk-NTG5ODKZ.js +0 -1
- package/dist/chunk-O4OWODU2.js +0 -64
- package/dist/chunk-TOKMFZPB.js +0 -1
- package/dist/resolve-Bz4mszpL.d.ts +0 -57
|
@@ -1 +1 @@
|
|
|
1
|
-
export{usePartBridge}from"../../chunk-
|
|
1
|
+
export{usePartBridge}from"../../chunk-OSF2H3LO.js";import"../../chunk-PTTQWCD7.js";import"../../chunk-DCBUJ36Q.js";import"../../chunk-NCXYC7WI.js";import"../../chunk-LX23TCTP.js";import"../../chunk-R4AUZVA3.js";import"../../chunk-TCAAOYQY.js";import"../../chunk-HGTDDSFJ.js";import"../../chunk-LK56FUFT.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-SDSBXW3V.js";import"../../chunk-BPXEFVSQ.js";import"../../chunk-YCSZAP7T.js";import"../../chunk-TDEBPOWV.js";import"../../chunk-WHS6Y55E.js";import"../../chunk-D4TH4QQR.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-56ID6FKZ.js";import"../../chunk-LDHUPZBK.js";import"../../chunk-TF6NAIV7.js";import"../../chunk-FIVU2COQ.js";import"../../chunk-MNQDOSAX.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-6GJEOER4.js";import"../../chunk-FR7EEKFF.js";import"../../chunk-7UFKEX72.js";import"../../chunk-YDTEYXQW.js";import"../../chunk-KXM6YRG2.js";import"../../chunk-467WWV4I.js";import"../../chunk-TIAWIOGD.js";import"../../chunk-MGVI67QV.js";
|
package/dist/screen/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export { DocumentScreen, default as ScreenMount } from './components/ScreenMount.js';
|
|
2
2
|
export { default as ScreenStoreProvider } from './components/ScreenStoreProvider.js';
|
|
3
|
-
export { CopyItemAction, CopyItemRequest, NodeDefaults, SELECTION_MODE, ScreenBlockLook, ScreenBlockRules, ScreenBridges, ScreenCanvas, ScreenCanvasDrag, ScreenCanvasDragContext, ScreenCanvasHeadProps, ScreenCanvasTargetProvider, ScreenDevices, ScreenDocumentOps, ScreenDragItem, ScreenInspector, ScreenInspectorMode, ScreenInspectorPanelProps, ScreenLeftPanel, ScreenLeftView, ScreenLeftViewFrame, ScreenLeftViewRules, ScreenMainAction, ScreenMediaDrop, ScreenMediaFile, ScreenMenuItem, ScreenMenuRows, ScreenNewNode, ScreenNode, ScreenNodeActions, ScreenNodeAt, ScreenNodeLevel, ScreenNodeMaker, ScreenPartMode, ScreenParts, ScreenPartsProvider, ScreenPinnedBand, ScreenPinnedNodes, ScreenRailItem, ScreenSelector, ScreenSharedSections, ScreenSlot, ScreenSlotAction, ScreenSlotMode, ScreenStyleClipboard, ScreenStyleDocument, ScreenStylePastePlan, ScreenToastExtra, ScreenTree, ScreenTreeFolds, ScreenTreeRows, isPinnedFirst, isPinnedLast, isSelectionMode, isSlotMode, sameInspectorMode, screenSlotsOf, shownChildSlotsOf, shownSlotFieldsOf, useScreenBlockLook, useScreenBlockRules, useScreenBridges, useScreenCanvasDrag, useScreenCanvasFrame, useScreenCanvasHead, useScreenCanvasTarget, useScreenDevices, useScreenDocumentLabel, useScreenDocumentPass, useScreenInspectorPanel, useScreenLeftView, useScreenNodeKeys, useScreenNotify, useScreenOwnerName, useScreenParts, useScreenPickFollowsSelection, useScreenPinned, useScreenSaveSwitch, useScreenStorageNamespace, useScreenStyleClipboard, useStandaloneScreenBridges } from '
|
|
3
|
+
export { C as CopyItemAction, a as CopyItemRequest, N as NodeDefaults, S as SELECTION_MODE, b as ScreenBlockLook, c as ScreenBlockRules, d as ScreenBridges, e as ScreenCanvas, f as ScreenCanvasDrag, g as ScreenCanvasDragContext, h as ScreenCanvasHeadProps, i as ScreenCanvasTargetProvider, j as ScreenDevices, k as ScreenDocumentOps, l as ScreenDragItem, m as ScreenInspector, n as ScreenInspectorMode, o as ScreenInspectorPanelProps, p as ScreenLeftPanel, q as ScreenLeftView, r as ScreenLeftViewFrame, s as ScreenLeftViewRules, t as ScreenMainAction, u as ScreenMediaDrop, v as ScreenMediaFile, w as ScreenMenuItem, x as ScreenMenuRows, y as ScreenNewNode, z as ScreenNode, A as ScreenNodeActions, B as ScreenNodeAt, D as ScreenNodeLevel, E as ScreenNodeMaker, F as ScreenPartMode, G as ScreenParts, H as ScreenPartsProvider, I as ScreenPinnedBand, J as ScreenPinnedNodes, K as ScreenRailItem, L as ScreenSelector, M as ScreenSharedSections, O as ScreenSlot, P as ScreenSlotAction, Q as ScreenSlotMode, R as ScreenStyleClipboard, T as ScreenStyleDocument, U as ScreenStylePastePlan, V as ScreenToastExtra, W as ScreenTree, X as ScreenTreeFolds, Y as ScreenTreeRows, Z as isPinnedFirst, _ as isPinnedLast, $ as isSelectionMode, a0 as isSlotMode, a1 as sameInspectorMode, a2 as screenSlotsOf, a3 as shownChildSlotsOf, a4 as shownSlotFieldsOf, a5 as useScreenBlockLook, a6 as useScreenBlockRules, a7 as useScreenBridges, a8 as useScreenCanvasDrag, a9 as useScreenCanvasFrame, aa as useScreenCanvasHead, ab as useScreenCanvasTarget, ac as useScreenDevices, ad as useScreenDocumentLabel, ae as useScreenDocumentPass, af as useScreenInspectorPanel, ag as useScreenLeftView, ah as useScreenNodeKeys, ai as useScreenNotify, aj as useScreenOwnerName, ak as useScreenParts, al as useScreenPickFollowsSelection, am as useScreenPinned, an as useScreenSaveSwitch, ao as useScreenStorageNamespace, ap as useScreenStyleClipboard, aq as useStandaloneScreenBridges } from '../AddSidePanel-DoCx-ZrM.js';
|
|
4
4
|
export { DefaultBackend, EFFICIENT_BACKEND, EaselSession, SessionBackend, SessionBlocks, activateEaselSession, backendOf, createEaselSession, currentEaselSession, deactivateEaselSession, efficientClientOpen, isEfficientBackend, provideDefaultBackend, resetAmbientEaselSession, sessionRegistry, setSessionBridgedSite, setSessionDocumentSite } from './lib/session.js';
|
|
5
5
|
export { EaselSessionProvider, useEaselSession } from './lib/session-context.js';
|
|
6
|
-
export { A as AnyDocumentAddressing, D as DETACHED_EASEL_HOST, a as DocumentAddressing, E as EaselBlockType, b as EaselFieldDescription, c as EaselHost, d as EaselHostAddress, e as EaselHostContext, f as EaselHostPanels, g as EaselHostProvider, h as EaselMessageType, i as EaselSelection, j as EaselToHostMessage, F as FIELD_DESCRIPTION_MARKER, H as HostPickedMedia, k as HostToEaselMessage, I as InboundHostMessage, N as NO_DOCUMENT_ADDRESSING, P as PageEditOp, l as PickedMediaSource, S as SectionScreenTarget, m as SendToHost, n as createEaselHost, o as describedAs, u as useEaselHost, p as useHostEscape } from '../ScreenDocumentContext-
|
|
6
|
+
export { A as AnyDocumentAddressing, D as DETACHED_EASEL_HOST, a as DocumentAddressing, E as EaselBlockType, b as EaselFieldDescription, c as EaselHost, d as EaselHostAddress, e as EaselHostContext, f as EaselHostPanels, g as EaselHostProvider, h as EaselMessageType, i as EaselSelection, j as EaselToHostMessage, F as FIELD_DESCRIPTION_MARKER, H as HostPickedMedia, k as HostToEaselMessage, I as InboundHostMessage, N as NO_DOCUMENT_ADDRESSING, P as PageEditOp, l as PickedMediaSource, S as SectionScreenTarget, m as SendToHost, n as createEaselHost, o as describedAs, u as useEaselHost, p as useHostEscape } from '../ScreenDocumentContext-JQr4hTeP.js';
|
|
7
7
|
export { EaselCapabilities, EaselDocument, EaselDocumentAdapter, EaselPageRow, SiteRecord, SiteRecordPatch, WebsiteEditLock } from './lib/document-contract.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import '../blocks/index.js';
|
|
10
10
|
import '../types-BljCVdzR.js';
|
|
11
11
|
import '../data/index.js';
|
|
12
12
|
import '../types-Dq180WRV.js';
|
|
13
|
-
import '../
|
|
13
|
+
import '../phone-order-CRKvsTsz.js';
|
|
14
14
|
import '../plan-D0DgSLnY.js';
|
|
15
15
|
import '../CanvasDragLayer-DXeQGrwJ.js';
|
|
16
16
|
import '../watch-Unf6SfUf.js';
|
|
@@ -33,8 +33,6 @@ import 'efficient-shell/ui';
|
|
|
33
33
|
import '../words-Cl9xMUYY.js';
|
|
34
34
|
import './lib/host-chrome.js';
|
|
35
35
|
import './lib/links/link-filters.js';
|
|
36
|
-
import './lib/document/add-target-types.js';
|
|
37
|
-
import './lib/document/slot-section-spec.js';
|
|
38
36
|
import './lib/backend-error.js';
|
|
39
37
|
import './lib/document-hooks.js';
|
|
40
38
|
import './lib/document-switch.js';
|
package/dist/screen/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunk-GZO72N3Q.js";export{DocumentScreen,ScreenMount}from"../chunk-
|
|
1
|
+
import"../chunk-GZO72N3Q.js";export{DocumentScreen,ScreenMount}from"../chunk-2Y4CAWZQ.js";import"../chunk-GXQCZJOP.js";export{ScreenStoreProvider}from"../chunk-JI7GUM3C.js";import"../chunk-ZSP4ZAQ2.js";import"../chunk-UMBNBCL4.js";import"../chunk-OXZDSOZV.js";import"../chunk-7OCEPOEJ.js";import"../chunk-VNUXFD4X.js";import"../chunk-5XL2RXFU.js";import"../chunk-3QB2ZQXK.js";import"../chunk-ZNLODQD4.js";import"../chunk-22I55W37.js";import"../chunk-64NREOML.js";import"../chunk-LUOY3A3Q.js";import"../chunk-3RGHXL5V.js";import"../chunk-KCBEE2MC.js";import"../chunk-TQUEVJOO.js";import"../chunk-OSF2H3LO.js";import"../chunk-PTTQWCD7.js";import"../chunk-XV5D4V2T.js";import"../chunk-2EEYFRQM.js";import"../chunk-RKTF5XLP.js";import"../chunk-OB4KI2AN.js";import"../chunk-JUJEVGLY.js";import"../chunk-ERR437B5.js";import"../chunk-5HYVOOH3.js";import"../chunk-A5USZ6Z6.js";export{NO_DOCUMENT_ADDRESSING}from"../chunk-RLBXE4EU.js";import"../chunk-6V6LC7QV.js";import"../chunk-7YXWWMBM.js";import"../chunk-NQW6XCAY.js";import"../chunk-LOMEH6DG.js";import"../chunk-5545A3PC.js";import"../chunk-YCYGY54I.js";import"../chunk-GDO4QJ4G.js";import"../chunk-IZGFJWH4.js";import"../chunk-N7E6264U.js";import"../chunk-N3MJOHAG.js";import"../chunk-MTWQYLJE.js";import"../chunk-UMDQ6CLQ.js";import"../chunk-KCOBHPN6.js";import"../chunk-RUQOIQWI.js";export{SELECTION_MODE,ScreenCanvasTargetProvider,ScreenPartsProvider,isPinnedFirst,isPinnedLast,isSelectionMode,isSlotMode,sameInspectorMode,screenSlotsOf,shownChildSlotsOf,shownSlotFieldsOf,useScreenBlockLook,useScreenBlockRules,useScreenBridges,useScreenCanvasDrag,useScreenCanvasFrame,useScreenCanvasHead,useScreenCanvasTarget,useScreenDevices,useScreenDocumentLabel,useScreenDocumentPass,useScreenInspectorPanel,useScreenLeftView,useScreenNodeKeys,useScreenNotify,useScreenOwnerName,useScreenParts,useScreenPickFollowsSelection,useScreenPinned,useScreenSaveSwitch,useScreenStorageNamespace,useScreenStyleClipboard,useStandaloneScreenBridges}from"../chunk-DCBUJ36Q.js";import"../chunk-T2RINM7R.js";import"../chunk-NCXYC7WI.js";import"../chunk-M5UCPD66.js";export{EaselSessionProvider,useEaselSession}from"../chunk-YM4UEGBV.js";export{EFFICIENT_BACKEND,activateEaselSession,backendOf,createEaselSession,currentEaselSession,deactivateEaselSession,efficientClientOpen,isEfficientBackend,provideDefaultBackend,resetAmbientEaselSession,sessionRegistry,setSessionBridgedSite,setSessionDocumentSite}from"../chunk-SNF5764Q.js";export{DETACHED_EASEL_HOST,EaselHostContext,EaselHostProvider,FIELD_DESCRIPTION_MARKER,createEaselHost,describedAs,useEaselHost,useHostEscape}from"../chunk-LX23TCTP.js";import"../chunk-XFYFKITX.js";import"../chunk-3OOYGEJY.js";import"../chunk-G2VZ4DET.js";import"../chunk-6WY6ZXJG.js";import"../chunk-5NHQ452C.js";import"../chunk-AJ2SUSET.js";import"../chunk-6UAEFOJ4.js";import"../chunk-ANPOR6EY.js";import"../chunk-R4AUZVA3.js";import"../chunk-TCAAOYQY.js";import"../chunk-HGTDDSFJ.js";import"../chunk-LK56FUFT.js";import"../chunk-TBY3DFKS.js";import"../chunk-SDSBXW3V.js";import"../chunk-BPXEFVSQ.js";import"../chunk-YCSZAP7T.js";import"../chunk-TDEBPOWV.js";import"../chunk-WHS6Y55E.js";import"../chunk-D4TH4QQR.js";import"../chunk-K56YDHYQ.js";import"../chunk-56ID6FKZ.js";import"../chunk-LDHUPZBK.js";import"../chunk-P5VYGWYO.js";import"../chunk-WK3AFPXY.js";import"../chunk-TF6NAIV7.js";import"../chunk-ZKY45F5G.js";import"../chunk-FIVU2COQ.js";import"../chunk-NDRZP6YR.js";import"../chunk-H6DDIBQ4.js";import"../chunk-VTY7OQB5.js";import"../chunk-MJM6SFD3.js";import"../chunk-AJSDWWJW.js";import"../chunk-2OAZYSWJ.js";import"../chunk-G7J6SGMF.js";import"../chunk-RE4LP46F.js";import"../chunk-MNQDOSAX.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-DQSRGKSM.js";import"../chunk-TQ5Y6S2X.js";import"../chunk-QEEW4X64.js";import"../chunk-P2VEMZH5.js";import"../chunk-6GJEOER4.js";import"../chunk-FR7EEKFF.js";import"../chunk-7UFKEX72.js";import"../chunk-YDTEYXQW.js";import"../chunk-KXM6YRG2.js";import"../chunk-BSPCSC45.js";import"../chunk-467WWV4I.js";import"../chunk-TIAWIOGD.js";import"../chunk-MGVI67QV.js";
|
|
@@ -4,7 +4,7 @@ import '../../blocks/index.js';
|
|
|
4
4
|
import '../../types-BljCVdzR.js';
|
|
5
5
|
import '../../data/index.js';
|
|
6
6
|
import '../../types-Dq180WRV.js';
|
|
7
|
-
import '../../
|
|
7
|
+
import '../../phone-order-CRKvsTsz.js';
|
|
8
8
|
import '../../plan-D0DgSLnY.js';
|
|
9
9
|
import './backend-error.js';
|
|
10
10
|
import '../../edit-lock/index.js';
|
|
@@ -1,55 +1,37 @@
|
|
|
1
|
-
import
|
|
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
|
-
* its own lookup, kept here because this is now the one that is asked. A Flex
|
|
39
|
-
* listed on the Footer's `blocks` would draw its rows off `undefined`.
|
|
40
|
-
*/
|
|
41
|
-
slot: string;
|
|
42
|
-
/** The registry's own choice list, or `null` for a single-type "Add …" button. */
|
|
43
|
-
choices: BlockChoice[] | null;
|
|
44
|
-
/**
|
|
45
|
-
* The section's own spec — its `addLabel`, `childType`, `seeds`, `addBlocked`,
|
|
46
|
-
* `notice` and `slider`. Non-null exactly when `source === "section"`.
|
|
47
|
-
*
|
|
48
|
-
* Carried so a caller that needs a section's own arithmetic (the Hero slide's
|
|
49
|
-
* anchor cap, the seed-on-load effect) reaches it through this one seam rather
|
|
50
|
-
* than importing the registry beside it and gaining a second opinion.
|
|
51
|
-
*/
|
|
52
|
-
spec: SlotSectionSpec | null;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export type { AddTarget, AddTargetSource };
|
|
1
|
+
import './block-choice.js';
|
|
2
|
+
export { at as AddTarget, au as AddTargetSource } from '../../../AddSidePanel-DoCx-ZrM.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import '../../../CanvasDragLayer-DXeQGrwJ.js';
|
|
5
|
+
import '../../../watch-Unf6SfUf.js';
|
|
6
|
+
import '../../../types-Dq180WRV.js';
|
|
7
|
+
import '../../../words-SD4neL0n.js';
|
|
8
|
+
import '../section-template-types.js';
|
|
9
|
+
import './content-tree.js';
|
|
10
|
+
import '../shared-section-types.js';
|
|
11
|
+
import '../../../blocks/index.js';
|
|
12
|
+
import '../../../types-BljCVdzR.js';
|
|
13
|
+
import '../../../data/index.js';
|
|
14
|
+
import '../../../phone-order-CRKvsTsz.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 +1 @@
|
|
|
1
|
-
import{buttonFieldSet as e}from"../../../chunk-
|
|
1
|
+
import{buttonFieldSet as e}from"../../../chunk-I4Z75MCX.js";import"../../../chunk-MMHYTIUY.js";import{boxFieldSet as o}from"../../../chunk-SR2535CN.js";import"../../../chunk-XWTQTANN.js";import"../../../chunk-2T22IY3J.js";import"../../../chunk-ZNLODQD4.js";import"../../../chunk-22I55W37.js";import"../../../chunk-LX23TCTP.js";import"../../../chunk-3OOYGEJY.js";import"../../../chunk-G2VZ4DET.js";import"../../../chunk-6WY6ZXJG.js";import"../../../chunk-PLTTPHK5.js";import{foldMetaOf as t}from"../../../chunk-ANPOR6EY.js";import"../../../chunk-HGTDDSFJ.js";import"../../../chunk-LK56FUFT.js";import"../../../chunk-TBY3DFKS.js";import"../../../chunk-YCSZAP7T.js";import"../../../chunk-D4TH4QQR.js";import"../../../chunk-56ID6FKZ.js";import"../../../chunk-LDHUPZBK.js";import"../../../chunk-TF6NAIV7.js";import"../../../chunk-OECWLNKJ.js";import{phoneKey as n}from"../../../chunk-DIOTWSCO.js";import"../../../chunk-MNQDOSAX.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-6GJEOER4.js";import"../../../chunk-FR7EEKFF.js";import"../../../chunk-7UFKEX72.js";import"../../../chunk-YDTEYXQW.js";import"../../../chunk-KXM6YRG2.js";import"../../../chunk-BSPCSC45.js";function s(e){return Object.keys(e).filter(o=>{return n=e[o],!(null!==t(n));var n})}function r(e,o){const n=o.off??{},s=o.keys??{};for(const[e,o]of Object.entries(n))if(!o.trim())throw new Error(`blockSetFor: off row "${e}" needs a reason.`);for(const o of[...Object.keys(n),...Object.keys(s)]){if(!Object.hasOwn(e,o))throw new Error(`blockSetFor: the set has no row "${o}".`);if(Object.hasOwn(n,o)&&Object.hasOwn(s,o))throw new Error(`blockSetFor: row "${o}" is both off and renamed.`)}const r={};let i=[];for(const[o,c]of Object.entries(e)){const a=t(c);if(a){i=i.filter(([,e])=>t(e).level<a.level),i.push([o,c]);continue}if(Object.hasOwn(n,o))continue;for(const[e,o]of i)r[e]=o;i=[];const u=Object.hasOwn(s,o)?s[o]:o;if(Object.hasOwn(r,u)||u!==o&&Object.hasOwn(e,u))throw new Error(`blockSetFor: renamed key "${u}" is already a row.`);r[u]=c}return r}function i(e){const o=e.build();r(o,e.email),r(o,e.website);const t=s(o),n=e=>new Set(Object.keys(e.off??{})),i=n(e.email),c=n(e.website),a=[];for(const o of t)i.has(o)&&!c.has(o)&&a.push({row:o,only:"website",reason:e.email.off[o]}),c.has(o)&&!i.has(o)&&a.push({row:o,only:"email",reason:e.website.off[o]});return a}var c=["button","image","box","divider","logo","text","section","social"],a={useFill:()=>"",useText:()=>"",useBorder:()=>({width:0,color:""}),useCorners:()=>0},u={button:{build:()=>e({follows:a,padding:{fallback:{}}}),email:{editor:"email"},website:{editor:"website"}},box:{build:()=>o(),email:{editor:"email",keys:{gap:"itemGap"},off:Object.fromEntries(["sectionPaddingTop","sectionPaddingRight","sectionPaddingBottom","sectionPaddingLeft"].map(e=>[n(e),"email: a Banner Box draws in the desktop view only (admin inBannerFields)"]))},website:{editor:"website"}}},h={button:"the set is in easel; admin (A-B) and web-builder (W-B) still build their own rows (plan group 1)",image:"no easel set yet (plan group 2)",box:"the set is in easel and the email Banner Box imports it; the website Flex builds its own rows (plan group 3)",divider:"no easel set yet (plan group 4)",logo:"no easel set yet (plan group 5)",text:"no easel set yet (plan group 6)",section:"no easel set yet (plan group 7)",social:"no easel set yet (plan group 7)"};export{c as BLOCK_KINDS,h as BLOCK_SETS_STILL_TWO_COPIES,u as BLOCK_SET_PAIRS,i as blockSetDifferences,r as blockSetFor,s as blockSetRowKeys};
|
|
@@ -7,12 +7,12 @@ import '../../../types-BYxYJQMa.js';
|
|
|
7
7
|
import '../../../wordFit-7XpmhcaW.js';
|
|
8
8
|
import '../../../words-BgeDGDKn.js';
|
|
9
9
|
import '../../../buckets-BYQBBVgO.js';
|
|
10
|
-
import '../../../ScreenDocumentContext-
|
|
10
|
+
import '../../../ScreenDocumentContext-JQr4hTeP.js';
|
|
11
11
|
import '../../../blocks/index.js';
|
|
12
12
|
import '../../../types-BljCVdzR.js';
|
|
13
13
|
import '../../../data/index.js';
|
|
14
14
|
import '../../../types-Dq180WRV.js';
|
|
15
|
-
import '../../../
|
|
15
|
+
import '../../../phone-order-CRKvsTsz.js';
|
|
16
16
|
import '../../../plan-D0DgSLnY.js';
|
|
17
17
|
import '../document-contract.js';
|
|
18
18
|
import '../document-switch.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{noGlyph as t,boxFieldBuilders as i,PHONE_KEY_ACCESS as n,group as o,phoneTwinFields as r}from"../../../chunk-
|
|
1
|
+
import{noGlyph as t,boxFieldBuilders as i,PHONE_KEY_ACCESS as n,group as o,phoneTwinFields as r}from"../../../chunk-SR2535CN.js";import"../../../chunk-XWTQTANN.js";import"../../../chunk-2T22IY3J.js";import"../../../chunk-ZNLODQD4.js";import"../../../chunk-22I55W37.js";import"../../../chunk-LX23TCTP.js";import"../../../chunk-3OOYGEJY.js";import"../../../chunk-G2VZ4DET.js";import"../../../chunk-6WY6ZXJG.js";import{BLOCK_WIDTH_LIMIT as h,BLOCK_FIXED_WIDTH as m,BLOCK_WIDTH_FIT_POINTS as e,BLOCK_WIDTH_FIT_DEFAULT as s,TEXT_FIT_MIN_FONT as c,TEXT_FIT_POINTS as p}from"../../../chunk-XH4BP64C.js";import"../../../chunk-ANPOR6EY.js";import"../../../chunk-HGTDDSFJ.js";import"../../../chunk-LK56FUFT.js";import"../../../chunk-TBY3DFKS.js";import"../../../chunk-YCSZAP7T.js";import"../../../chunk-D4TH4QQR.js";import"../../../chunk-56ID6FKZ.js";import"../../../chunk-LDHUPZBK.js";import"../../../chunk-TF6NAIV7.js";import"../../../chunk-OECWLNKJ.js";import"../../../chunk-DIOTWSCO.js";import"../../../chunk-MNQDOSAX.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-6GJEOER4.js";import"../../../chunk-FR7EEKFF.js";import"../../../chunk-7UFKEX72.js";import"../../../chunk-YDTEYXQW.js";import"../../../chunk-KXM6YRG2.js";import"../../../chunk-BSPCSC45.js";import{WidthIcon as u,TextLinesIcon as k}from"efficient-shell/icons/efficient";import{jsx as j}from"react/jsx-runtime";var d=t("a value or limit row under the Width and text-fit choices; drawn bare in the approved design (owner 2026-10-29, c25 row 4); no shell glyph names a min, max or fixed width");function a(t={}){const a=i(t.say),T=t.phone??n,F=(t,i)=>r(t,i,T),x=(t,i,n,o,r)=>F(t,a.slider(i,d,n.min,n.max,n.step,o,"px",{clear:r?{hint:o,emptyLabel:r}:{hint:o}}));return{size:{_gBlockSize:o("Size"),...F("widthFit",a.segmented("Width",/* @__PURE__ */j(u,{}),[...e],s)),...x("width","Fixed width",m,m.fallback),...x("minWidth","Min width",h,h.min,"None"),...x("maxWidth","Content width",h,h.min,"None")},text:t.textFit?{_gText:o("Text"),...F("textFit",a.segmented("When the text does not fit",/* @__PURE__ */j(k,{}),[...p],t.textFit)),...x("minFont","Min font size",c,c.fallback)}:{}}}export{a as blockSizeFieldSet};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{blockTypesIn}from"../../../chunk-IZGFJWH4.js";import"../../../chunk-
|
|
1
|
+
export{blockTypesIn}from"../../../chunk-IZGFJWH4.js";import"../../../chunk-YDTEYXQW.js";import"../../../chunk-KXM6YRG2.js";
|
|
@@ -3,7 +3,7 @@ import { ReactElement, ReactNode } from 'react';
|
|
|
3
3
|
import { ShowWhenRule } from 'efficient-shell/format';
|
|
4
4
|
import { TextAlign, PositionValue, SidesValue } from 'efficient-shell/ui';
|
|
5
5
|
import { S as SettingsDefaultResetProps } from '../../../types-BYxYJQMa.js';
|
|
6
|
-
export { F as FIELD_DESCRIPTION_MARKER, o as describedAs } from '../../../ScreenDocumentContext-
|
|
6
|
+
export { F as FIELD_DESCRIPTION_MARKER, o as describedAs } from '../../../ScreenDocumentContext-JQr4hTeP.js';
|
|
7
7
|
import '../../../wordFit-7XpmhcaW.js';
|
|
8
8
|
import '../../../words-BgeDGDKn.js';
|
|
9
9
|
import '../../../buckets-BYQBBVgO.js';
|
|
@@ -11,7 +11,7 @@ import '../../../blocks/index.js';
|
|
|
11
11
|
import '../../../types-BljCVdzR.js';
|
|
12
12
|
import '../../../data/index.js';
|
|
13
13
|
import '../../../types-Dq180WRV.js';
|
|
14
|
-
import '../../../
|
|
14
|
+
import '../../../phone-order-CRKvsTsz.js';
|
|
15
15
|
import '../../../plan-D0DgSLnY.js';
|
|
16
16
|
import '../document-contract.js';
|
|
17
17
|
import '../document-switch.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ANCHOR_LABELS,AlignmentStrip,BOX_ALIGN_POINTS,BOX_DIRECTIONS,BOX_DIRECTION_LABEL,BOX_GAP,BOX_JUSTIFY_POINTS,BOX_NUDGE_LIMIT,BOX_PLACEMENTS,BOX_PLACEMENT_DEFAULT,BOX_WIDTH,BOX_WRAP_LABEL,BOX_WRAP_POINTS,BlockAlignmentStrip,FLAT_ACCESS,OPEN_PLACEMENT_POINTS,PHONE_KEY_ACCESS,PlacementGridView,SIDE_PAD_KEYS,Segmented,SliderControl,VIEW_KEY_ACCESS,alignmentField,alignmentFields,blockAlignmentField,blockAlignmentFields,boxAlignField,boxFieldBuilders,boxFieldSet,boxJustifyField,boxWrapField,directionField,gapField,group,iconOf,isNoGlyph,noGlyph,normaliseBoxPlacement,objectAccess,onDesktopWords,phoneObjectAccess,phoneTwinFields,placementField,positionFields,positionPatch,section,segmented,select,sharedStyleKinds,sidesFromObject,sidesPaddingFields,sidesPaddingPatch,sidesToObject,slider,useAccessPatch,useAccessValue}from"../../../chunk-
|
|
1
|
+
export{ANCHOR_LABELS,AlignmentStrip,BOX_ALIGN_POINTS,BOX_DIRECTIONS,BOX_DIRECTION_LABEL,BOX_GAP,BOX_JUSTIFY_POINTS,BOX_NUDGE_LIMIT,BOX_PLACEMENTS,BOX_PLACEMENT_DEFAULT,BOX_WIDTH,BOX_WRAP_LABEL,BOX_WRAP_POINTS,BlockAlignmentStrip,FLAT_ACCESS,OPEN_PLACEMENT_POINTS,PHONE_KEY_ACCESS,PlacementGridView,SIDE_PAD_KEYS,Segmented,SliderControl,VIEW_KEY_ACCESS,alignmentField,alignmentFields,blockAlignmentField,blockAlignmentFields,boxAlignField,boxFieldBuilders,boxFieldSet,boxJustifyField,boxWrapField,directionField,gapField,group,iconOf,isNoGlyph,noGlyph,normaliseBoxPlacement,objectAccess,onDesktopWords,phoneObjectAccess,phoneTwinFields,placementField,positionFields,positionPatch,section,segmented,select,sharedStyleKinds,sidesFromObject,sidesPaddingFields,sidesPaddingPatch,sidesToObject,slider,useAccessPatch,useAccessValue}from"../../../chunk-SR2535CN.js";import"../../../chunk-XWTQTANN.js";import"../../../chunk-2T22IY3J.js";import"../../../chunk-ZNLODQD4.js";import"../../../chunk-22I55W37.js";export{FIELD_DESCRIPTION_MARKER,describedAs}from"../../../chunk-LX23TCTP.js";import"../../../chunk-3OOYGEJY.js";import"../../../chunk-G2VZ4DET.js";import"../../../chunk-6WY6ZXJG.js";import"../../../chunk-ANPOR6EY.js";import"../../../chunk-HGTDDSFJ.js";import"../../../chunk-LK56FUFT.js";import"../../../chunk-TBY3DFKS.js";import"../../../chunk-YCSZAP7T.js";import"../../../chunk-D4TH4QQR.js";import"../../../chunk-56ID6FKZ.js";import"../../../chunk-LDHUPZBK.js";import"../../../chunk-TF6NAIV7.js";import"../../../chunk-OECWLNKJ.js";import"../../../chunk-DIOTWSCO.js";import"../../../chunk-MNQDOSAX.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-6GJEOER4.js";import"../../../chunk-FR7EEKFF.js";import"../../../chunk-7UFKEX72.js";import"../../../chunk-YDTEYXQW.js";import"../../../chunk-KXM6YRG2.js";import"../../../chunk-BSPCSC45.js";
|
|
@@ -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 '../../../
|
|
16
|
+
import '../../../phone-order-CRKvsTsz.js';
|
|
17
17
|
import '../../../plan-D0DgSLnY.js';
|
|
18
18
|
import '../document-contract.js';
|
|
19
19
|
import '../document-switch.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{buttonFieldSet}from"../../../chunk-
|
|
1
|
+
export{buttonFieldSet}from"../../../chunk-I4Z75MCX.js";import"../../../chunk-MMHYTIUY.js";import"../../../chunk-SR2535CN.js";import"../../../chunk-XWTQTANN.js";import"../../../chunk-2T22IY3J.js";import"../../../chunk-ZNLODQD4.js";import"../../../chunk-22I55W37.js";import"../../../chunk-LX23TCTP.js";import"../../../chunk-3OOYGEJY.js";import"../../../chunk-G2VZ4DET.js";import"../../../chunk-6WY6ZXJG.js";export{BUTTON_PAD_KEYS,BUTTON_STYLE_KEYS}from"../../../chunk-PLTTPHK5.js";import"../../../chunk-ANPOR6EY.js";import"../../../chunk-HGTDDSFJ.js";import"../../../chunk-LK56FUFT.js";import"../../../chunk-TBY3DFKS.js";import"../../../chunk-YCSZAP7T.js";import"../../../chunk-D4TH4QQR.js";import"../../../chunk-56ID6FKZ.js";import"../../../chunk-LDHUPZBK.js";import"../../../chunk-TF6NAIV7.js";import"../../../chunk-OECWLNKJ.js";import"../../../chunk-DIOTWSCO.js";import"../../../chunk-MNQDOSAX.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-6GJEOER4.js";import"../../../chunk-FR7EEKFF.js";import"../../../chunk-7UFKEX72.js";import"../../../chunk-YDTEYXQW.js";import"../../../chunk-KXM6YRG2.js";import"../../../chunk-BSPCSC45.js";
|
|
@@ -7,12 +7,12 @@ import '../../../types-BYxYJQMa.js';
|
|
|
7
7
|
import '../../../wordFit-7XpmhcaW.js';
|
|
8
8
|
import '../../../words-BgeDGDKn.js';
|
|
9
9
|
import '../../../buckets-BYQBBVgO.js';
|
|
10
|
-
import '../../../ScreenDocumentContext-
|
|
10
|
+
import '../../../ScreenDocumentContext-JQr4hTeP.js';
|
|
11
11
|
import '../../../blocks/index.js';
|
|
12
12
|
import '../../../types-BljCVdzR.js';
|
|
13
13
|
import '../../../data/index.js';
|
|
14
14
|
import '../../../types-Dq180WRV.js';
|
|
15
|
-
import '../../../
|
|
15
|
+
import '../../../phone-order-CRKvsTsz.js';
|
|
16
16
|
import '../../../plan-D0DgSLnY.js';
|
|
17
17
|
import '../document-contract.js';
|
|
18
18
|
import '../document-switch.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{SettingsDefaultReset as e}from"../../../chunk-2T22IY3J.js";import{ScreenDocumentContext as n}from"../../../chunk-
|
|
2
|
-
return g(j,{size:"md",type:"url",inputMode:"url",autoComplete:"off",spellCheck:!1,value:c,placeholder:"https://…","aria-label":t,onChange:o=>{const t=o.target.value;i(n=>({text:t,from:!n||e!==n.text&&e!==n.from?e:n.from})),n(t)},onBlur:e=>{const t=e.target.value,r=o?o(t):t;r!==t&&n(r),i(null)},onKeyDown:e=>{"Enter"===e.key&&e.currentTarget.blur()}})}function
|
|
3
|
-
return g(m,{label:i,icon:j,hint:
|
|
4
|
-
return g(m,{label:i,icon:j,hint:
|
|
5
|
-
/* @__PURE__ */g(k,{value:ne,onChange:_,onPick:e=>{if(q)return $&&!
|
|
1
|
+
import{SettingsDefaultReset as e}from"../../../chunk-2T22IY3J.js";import{ScreenDocumentContext as n}from"../../../chunk-OB4KI2AN.js";import"../../../chunk-JUJEVGLY.js";import"../../../chunk-ERR437B5.js";import{requestMediaPick as o}from"../../../chunk-5HYVOOH3.js";import"../../../chunk-A5USZ6Z6.js";import"../../../chunk-RLBXE4EU.js";import"../../../chunk-6V6LC7QV.js";import"../../../chunk-7YXWWMBM.js";import"../../../chunk-NQW6XCAY.js";import"../../../chunk-LOMEH6DG.js";import"../../../chunk-KCOBHPN6.js";import"../../../chunk-NCXYC7WI.js";import"../../../chunk-YM4UEGBV.js";import"../../../chunk-SNF5764Q.js";import{useEaselHost as t}from"../../../chunk-LX23TCTP.js";import{DEFAULT_IMAGE_ROW_WORDS as r}from"../../../chunk-G2VZ4DET.js";import{MEDIA_FIELD_MARKER as i}from"../../../chunk-ANPOR6EY.js";import{useSelectedHost as c}from"../../../chunk-HGTDDSFJ.js";import"../../../chunk-LK56FUFT.js";import"../../../chunk-TBY3DFKS.js";import{DEFAULT_PANEL_WORDS as s}from"../../../chunk-56ID6FKZ.js";import"../../../chunk-LDHUPZBK.js";import"../../../chunk-TF6NAIV7.js";import"../../../chunk-NDRZP6YR.js";import"../../../chunk-H6DDIBQ4.js";import"../../../chunk-G7J6SGMF.js";import"../../../chunk-RE4LP46F.js";import{phoneKey as a}from"../../../chunk-DIOTWSCO.js";import"../../../chunk-MNQDOSAX.js";import"../../../chunk-PMRN5Z3T.js";import{SettingsField as m}from"../../../chunk-MIX7EGRG.js";import{useWords as l}from"../../../chunk-MFIRYGHW.js";import"../../../chunk-6GJEOER4.js";import"../../../chunk-FR7EEKFF.js";import"../../../chunk-7UFKEX72.js";import"../../../chunk-YDTEYXQW.js";import"../../../chunk-KXM6YRG2.js";import{usePreviewDevice as u}from"../../../chunk-BSPCSC45.js";import{useContext as p,useState as h}from"react";import{FOCAL_DEFAULT as f}from"efficient-shell/format";import{MediaUploadField as k,Button as d,Input as j}from"efficient-shell/ui";import{jsx as g,jsxs as v}from"react/jsx-runtime";function C(e){return"string"==typeof e?e:e&&"object"==typeof e&&"string"==typeof e.src?e.src:""}function y({src:e,onChange:n,tidy:o,name:t}){const[r,i]=h(null),c=!r||e!==r.text&&e!==r.from?e:r.text;/* @__PURE__ */
|
|
2
|
+
return g(j,{size:"md",type:"url",inputMode:"url",autoComplete:"off",spellCheck:!1,value:c,placeholder:"https://…","aria-label":t,onChange:o=>{const t=o.target.value;i(n=>({text:t,from:!n||e!==n.text&&e!==n.from?e:n.from})),n(t)},onBlur:e=>{const t=e.target.value,r=o?o(t):t;r!==t&&n(r),i(null)},onKeyDown:e=>{"Enter"===e.key&&e.currentTarget.blur()}})}function E({label:i,icon:j,hint:E,value:R,onChange:b,name:D,readOnly:F,canPick:O=!0,kind:B="image",accept:M,acceptHint:Y,pickOptions:N,maxSizeBytes:S,height:G,placeholder:K,removeLabel:L,paste:T,focusKey:P,focusWhen:H,frameKey:X,note:w}){const I=l("imageRow",r),x=l("panel",s),U=t(),V=c(),W=p(n),Z="video"===B,A=function(e,n){const o=c(),t="mobile"===u();if(!e||!o)return null;const r=o.values??{};if(n&&!n(r))return null;const i="string"==typeof r[e]&&r[e]?String(r[e]):f,s=a(e),m="string"==typeof r[s]&&r[s]?String(r[s]):void 0;return{phone:t,desktop:i,own:m,focus:t?m??i:i,set:n=>o.onChange(t?s:e,n),clear:()=>o.onChange(s,void 0)}}(Z?void 0:P,H),[J,Q]=h(!1),z=!0===F||!0===V?.readOnly,q=O&&!z;if(W&&!W.capabilities.mediaEditing)/* @__PURE__ */
|
|
3
|
+
return g(m,{label:i,icon:j,hint:E,children:/* @__PURE__ */g("div",{className:"es-image-row-note",children:Z?I.templateVideo:I.template})});const $=X&&D?{video:D,frame:X}:null,_=$?e=>e?b(e):V?.onChangeMany({[$.video]:"",[$.frame]:""}):b,ee=$?e=>V?.onChangeMany({[$.video]:e,[$.frame]:""}):b,ne=C(R),oe=A?.phone&&ne?/* @__PURE__ */g(e,{words:x,label:I.focus,changed:Boolean(A.own),detail:I.onDesktop(A.desktop),onReset:A.clear,disabled:z}):void 0,te=T&&!z&&(T.open||J);/* @__PURE__ */
|
|
4
|
+
return g(m,{label:i,icon:j,hint:E,action:oe,children:/* @__PURE__ */v("div",{className:"es-image-row",children:[
|
|
5
|
+
/* @__PURE__ */g(k,{value:ne,onChange:_,onPick:e=>{if(q)return $&&!V?Promise.resolve(null):o(U,{accept:M??(Z?"video/*":"image/*"),title:i,...e?{file:e}:{},...N?{options:N}:{}}).then(e=>e&&$?(V?.onChangeMany({[$.video]:e.url,[$.frame]:e.posterUrl??""}),null):e?.url??null)},accept:M??(Z?"video/*":"image/*"),acceptHint:Y,kind:B,maxSizeBytes:S,height:G,placeholder:K,removeLabel:L,allowReplace:q,allowRemove:!z,disabled:z||!q&&!ne,focusLabel:I.focus,...A&&!z?{focus:A.focus,onFocusChange:A.set}:A?{focus:A.focus}:{}}),w?.(ne),T&&!z?te?/* @__PURE__ */g(y,{src:ne,onChange:ee,tidy:T.tidy,name:I.pasteName}):/* @__PURE__ */g(d,{variant:"link",size:"sm",onClick:()=>Q(!0),children:I.pasteLink}):null]})})}function R(e,n,o={}){return{type:"custom",[i]:!0,render:t=>/* @__PURE__ */g(E,{...o,label:e,icon:n,value:t.value,onChange:e=>t.onChange(e),name:t.name,readOnly:t.readOnly})}}export{E as ImageRow,R as imageField,C as imageValueSrc};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { N as NodeDefaults, ar as SlotSectionSpec, E as ScreenNodeMaker, y as ScreenNewNode } from '../../../AddSidePanel-DoCx-ZrM.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-CRKvsTsz.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';
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* A type's own default props, looked up in the config the screen holds — the
|
|
41
|
+
* `nodeDefaults` a `ScreenNodeMaker` lends. The data layer's one lookup
|
|
42
|
+
* (`blockOf` + `defaultsFrom`); `{}` for a type the config does not hold.
|
|
43
|
+
*/
|
|
44
|
+
declare function configNodeDefaults(config: unknown): NodeDefaults;
|
|
45
|
+
/**
|
|
46
|
+
* The prepared node one Add of `childType` into a slot lays down, or null when
|
|
47
|
+
* the slot's spec has none (`SlotSectionSpec.newChild`) or the choice is not
|
|
48
|
+
* the spec's own child type: the caller then inserts the type, as before.
|
|
49
|
+
*/
|
|
50
|
+
declare function newChildOf(spec: SlotSectionSpec | null | undefined, childType: string, make: ScreenNodeMaker): ScreenNewNode | null;
|
|
51
|
+
/**
|
|
52
|
+
* What the Add panel's tile for `childType` is called at a place in a slot
|
|
53
|
+
* whose spec prepares its child: the spec's `childLabel`. Null for every other
|
|
54
|
+
* slot and choice, and when the spec names none: those keep the type's word.
|
|
55
|
+
*/
|
|
56
|
+
declare function newChildName(spec: SlotSectionSpec | null | undefined, childType: string): string | null;
|
|
57
|
+
|
|
58
|
+
export { configNodeDefaults, newChildName, newChildOf };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{configNodeDefaults,newChildName,newChildOf}from"../../../chunk-64NREOML.js";import"../../../chunk-KXM6YRG2.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '../../../blocks/index.js';
|
|
2
|
-
export {
|
|
2
|
+
export { av as PaletteLook, aw as PalettePreset, ax as PaletteSection, ay as buildPaletteSections, az as categoryLabel, aA as matchesQuery, aB as paletteWithoutPinned, aC as pinnedSection } from '../../../AddSidePanel-DoCx-ZrM.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 '../../../
|
|
7
|
+
import '../../../phone-order-CRKvsTsz.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 '../../../
|
|
7
|
+
import '../../../phone-order-CRKvsTsz.js';
|
|
8
8
|
import '../../../plan-D0DgSLnY.js';
|
|
9
9
|
|
|
10
10
|
declare function nodeToDoc(node: TreeItem): Data;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{cloneNodeWithFreshIds,docToNode,nodeToDoc}from"../../../chunk-OXZDSOZV.js";import"../../../chunk-TCAAOYQY.js";import"../../../chunk-
|
|
1
|
+
export{cloneNodeWithFreshIds,docToNode,nodeToDoc}from"../../../chunk-OXZDSOZV.js";import"../../../chunk-TCAAOYQY.js";import"../../../chunk-YDTEYXQW.js";import"../../../chunk-KXM6YRG2.js";
|
|
@@ -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 '../../../
|
|
16
|
+
import '../../../phone-order-CRKvsTsz.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-
|
|
2
|
-
return l(p,{label:C,icon:o.icon??/* @__PURE__ */l(h,{}),value:t(m[
|
|
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-MMHYTIUY.js";import"../../../chunk-SR2535CN.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-3OOYGEJY.js";import"../../../chunk-G2VZ4DET.js";import"../../../chunk-6WY6ZXJG.js";import"../../../chunk-PLTTPHK5.js";import"../../../chunk-ANPOR6EY.js";import"../../../chunk-HGTDDSFJ.js";import"../../../chunk-LK56FUFT.js";import"../../../chunk-TBY3DFKS.js";import"../../../chunk-YCSZAP7T.js";import"../../../chunk-D4TH4QQR.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-MNQDOSAX.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-6GJEOER4.js";import"../../../chunk-FR7EEKFF.js";import"../../../chunk-7UFKEX72.js";import"../../../chunk-YDTEYXQW.js";import"../../../chunk-KXM6YRG2.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,T=r(j.value),b=T??f,C=t(o.label);/* @__PURE__ */
|
|
2
|
+
return l(p,{label:C,icon:o.icon??/* @__PURE__ */l(h,{}),value:t(m[b]),changed:null!==T,hint:o.hint,action:/* @__PURE__ */l(s,{words:d,label:C,changed:null!==T,detail:t(m[f]),onReset:()=>j.onChange(void 0),disabled:j.readOnly}),children:/* @__PURE__ */l(u,{label:C,value:b,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:T}=d();export{T as shadowColourField,f as shadowField,d as shadowFieldBuilders};
|