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,17 +1,17 @@
|
|
|
1
|
-
import{AddBlockRow as e}from"../../chunk-
|
|
2
|
-
return
|
|
3
|
-
return
|
|
4
|
-
/* @__PURE__ */
|
|
5
|
-
return
|
|
6
|
-
/* @__PURE__ */
|
|
7
|
-
/* @__PURE__
|
|
8
|
-
/* @__PURE__ */
|
|
9
|
-
/* @__PURE__ */
|
|
10
|
-
/* @__PURE__ */
|
|
11
|
-
return
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
/* @__PURE__
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
/* @__PURE__ */
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
-
/* @__PURE__ */
|
|
1
|
+
import{AddBlockRow as e}from"../../chunk-JNNBGI6Y.js";import{configNodeDefaults as n,newChildOf as o}from"../../chunk-64NREOML.js";import{scrollPreviewToSection as t,gotoPreviewSlide as r}from"../../chunk-LUOY3A3Q.js";import{useEaselUndoKeys as s}from"../../chunk-DFLPDOZF.js";import{SlotChildActionsProvider as i}from"../../chunk-KCBEE2MC.js";import{DEFAULT_PANEL_W as c}from"../../chunk-TQUEVJOO.js";import{usePartBridge as p}from"../../chunk-2DFSODES.js";import{useSectionOps as l}from"../../chunk-KRONK73U.js";import{useScreenDocument as m}from"../../chunk-OB4KI2AN.js";import"../../chunk-JUJEVGLY.js";import"../../chunk-ERR437B5.js";import"../../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-RUQOIQWI.js";import{SELECTION_MODE as d,useScreenPinned as a,useScreenCanvasFrame as u,useScreenInspectorPanel as h,useScreenPickFollowsSelection as k,sameInspectorMode as j,useStandaloneScreenBridges as f,useScreenBlockLook as S,useScreenBlockRules as N,isSelectionMode as O,shownChildSlotsOf as y}from"../../chunk-BDYS3UAD.js";import{MediaPopup as E}from"../../chunk-T2RINM7R.js";import"../../chunk-NCXYC7WI.js";import"../../chunk-YM4UEGBV.js";import"../../chunk-SNF5764Q.js";import"../../chunk-LX23TCTP.js";import{DEFAULT_SCREEN_WORDS as A}from"../../chunk-G2VZ4DET.js";import{slotChildRowName as I}from"../../chunk-5NHQ452C.js";import"../../chunk-AJ2SUSET.js";import"../../chunk-6UAEFOJ4.js";import"../../chunk-ANPOR6EY.js";import"../../chunk-R4AUZVA3.js";import{newNodeId as C,slotFieldsOf as Y,nestsInTree as x}from"../../chunk-TCAAOYQY.js";import{useEasel as D}from"../../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{LayersTree as R,Subtree as B,TreeRow as P,TreeRowAction as b,TreeSeam as g}from"../../chunk-WHS6Y55E.js";import"../../chunk-AI5IQV4A.js";import{DEFAULT_TREE_WORDS as T}from"../../chunk-K56YDHYQ.js";import"../../chunk-56ID6FKZ.js";import"../../chunk-LDHUPZBK.js";import"../../chunk-FIVU2COQ.js";import"../../chunk-TF6NAIV7.js";import"../../chunk-NDRZP6YR.js";import{DEFAULT_SAVE_WORDS as F,saveIndicator as M}from"../../chunk-H6DDIBQ4.js";import{SaveState as V,panelWidthVars as W}from"../../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-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{useWords as v}from"../../chunk-MFIRYGHW.js";import"../../chunk-SEC6NV6Y.js";import"../../chunk-TQ5Y6S2X.js";import{useTreeDrag as w}from"../../chunk-QEEW4X64.js";import"../../chunk-P2VEMZH5.js";import{zoneKey as z,parseZoneKey as Q}from"../../chunk-YDTEYXQW.js";import"../../chunk-KXM6YRG2.js";import"../../chunk-6GJEOER4.js";import"../../chunk-FR7EEKFF.js";import"../../chunk-7UFKEX72.js";import"../../chunk-467WWV4I.js";import"../../chunk-TIAWIOGD.js";import"../../chunk-MGVI67QV.js";import{useState as U,useRef as L,useEffect as H,useCallback as G,useMemo as X,Fragment as K}from"react";import{Tooltip as Z}from"efficient-shell/ui";import{TrashIcon as J}from"efficient-shell/icons/efficient";import{jsxs as $,jsx as q,Fragment as _}from"react/jsx-runtime";var ee=e=>n=>{n.target.closest("button, input")||e()},ne={rowClick:ee};function oe(){const{saveState:oe,readOnly:te,readOnlyReason:re=null}=m(),se=l({readOnly:Boolean(te)}),{appState:ie,selectedItem:ce,config:pe}=D(e=>e),[le,me]=U(d),de=v("screen",A),ae=v("tree",T),ue=v("save",F),{first:he,last:ke,panelOf:je}=a(),fe=je(he),Se=u(),Ne=h(),Oe=ie.data.content?.[0]??null,ye=Oe?.props.id??null,Ee=Oe?.type===he,Ae=Oe?.type===ke,Ie=L(null),Ce=L(null);s(Ce),k(ce?.props.id),H(()=>{ye&&Ie.current!==ye&&(Ie.current=ye,Ee?me(fe??d):ce||se.select({index:0}))},[ye,ce,se,Ee]);const Ye=G(e=>me(n=>j(n,e)?n:e),[]),xe=f({kind:le.kind,mode:le,open:Ye,show:e=>me(e),reveal:()=>{},select:(e,n)=>{me(e=>j(e,n)?e:n),se.select(e)}}),{selectNode:De}=p({mode:le,setMode:me,onOpenPart:t}),Re=S(),{labelAtLevel:Be,Icon:Pe}=Re,{canAddTo:be,blockIsOffered:ge,nestDepth:Te}=N(),Fe=(e,n,o)=>be(n,Te(ie.data,n,e),o,{id:e,data:ie.data}),Me=e=>Be(e,"block",pe.components[e]?.label??e),Ve=e=>Be(e,"section",Me(e)),We={nodeDefaults:X(()=>n(pe),[pe]),newNodeId:C,sectionLabel:Ve,blockIsOffered:ge},ve=!Ee&&O(le)&&ce?.props.id===ye,we=Oe?be(Oe.type)?.spec??null:null,ze=Oe&&we?`${Oe.props.id}:${we.slot}`:null,Qe=Oe&&we&&Array.isArray(Oe.props[we.slot])?Oe.props[we.slot]:[],Ue=e=>I(e,Me,Re.plainText),Le=(e,n)=>{Oe&&we&&ze&&(me(d),we.slider?(r(String(Oe.props.id),e),se.select({index:e,zone:ze}),t(String(Oe.props.id))):(se.select({index:e,zone:ze}),t(n)))},He=(e,n,t,s,i)=>{const c=`${e}:${n}`,p=Fe(e,i,n),l="section"===p?.source&&p.slot===n?p.spec:null,m=o(l,t,We);m?se.insertNode(c,s,m):se.insertComponent(c,t,s),me(d),l?.slider?requestAnimationFrame(()=>{r(e,s),se.select({index:s,zone:c})}):se.select({index:s,zone:c})},Ge=e=>Y(pe,e),Xe=e=>{const{parentId:n,slot:o}=Q(e),t=e=>{if(!e)return null;if(String(e.props.id)===n)return e;for(const n of Ge(e.type)){const o=Array.isArray(e.props[n])?e.props[n]:[];for(const e of o){const n=t(e);if(n)return n}}return null},r=t(Oe)?.props[o];return Array.isArray(r)?r.length:0},Ke=(e,n,o)=>{const t=Math.min(Math.max(o,0),Xe(e)),r=n<t?t-1:t;r!==n&&(se.reorderComponent(e,n,r),me(d),se.select({index:r,zone:e}))},Ze=w({keyOf:e=>e.id,readOnly:Boolean(te),canDrop:(e,n)=>z(n)===e.zone&&n.index>=0&&n.index<=Xe(e.zone),onDrop:(e,n)=>Ke(e.zone,e.index,n.index),onStep:(e,n)=>Ke(e.zone,e.index,n<0?e.index-1:e.index+2)}),Je=(e,n)=>/* @__PURE__ */q(g,{...te?{}:Ze.seam({place:{...Q(e),index:n}})},`seam:${e}:${n}`),$e=e=>Re.blockRowName(e,Me),qe=(e,n,o)=>{me(d),se.select({index:n,zone:e}),t(o)},_e=(e,n,o)=>{se.insertComponent(e,n,o),me(d),se.select({index:o,zone:e})},en=(n,o,t)=>/* @__PURE__ */q(e,{choices:t,onPick:e=>_e(n,e,o)}),nn=(e,n)=>{const o=y(pe,e);const t=Fe(String(e.props.id??""),e.type),r=t?.choices??null,s="footer"===t?.source?$e:Ue;/* @__PURE__ */
|
|
2
|
+
return $(_,{children:[o.map(({child:e,zone:o,index:t})=>{const r=ce?.props.id===e.props.id,i=x(pe,e.type,n),c=s(e),p=String(e.props.id),l=()=>qe(o,t,p),{rowProps:m,...a}=Ze.row({item:{id:p,zone:o,index:t},place:{...Q(o),index:t}},{onClick:ee(l)});/* @__PURE__ */
|
|
3
|
+
return $(K,{children:[0===t&&Je(o,0),
|
|
4
|
+
/* @__PURE__ */q(P,{words:ae,icon:/* @__PURE__ */q(Pe,{type:e.type,size:13}),name:c,selected:r,onSelect:l,...a,actions:/* @__PURE__ */q(b,{kind:"delete",label:de.deleteNamed({name:c}),onClick:()=>{return e=o,n=t,se.removeComponent(e,n),me(d),void se.select(null);var e,n},children:/* @__PURE__ */q(J,{size:13})}),rowProps:m}),i&&/* @__PURE__ */q(B,{children:nn(e,n+1)}),Je(o,t+1)]},String(e.props.id??`${o}-${t}`))}),t&&r?en(`${e.props.id}:${t.slot}`,o.length,r):null]})},on="HeroSingle"===Oe?.type,tn=Boolean(Oe)&&(Boolean(be(Oe.type))||Ge(Oe.type).length>0),rn=Boolean(Oe)&&(Boolean(we)||Ae||Ee||on||tn);/* @__PURE__ */
|
|
5
|
+
return $("div",{ref:Ce,className:"sf-editor es-editor",style:W(c),children:[
|
|
6
|
+
/* @__PURE__ */q("div",{className:"sf-section-bar",children:/* @__PURE__ */q(V,null!==re?{tone:"off",label:re,role:"status"}:{...M(oe,ue),role:"status"})}),
|
|
7
|
+
/* @__PURE__ */$("div",{className:"sf-body",children:[rn&&Oe&&/* @__PURE__ */$("aside",{className:"es-sidepanel es-sidepanel--left sf-panel sf-panel--left",children:[
|
|
8
|
+
/* @__PURE__ */q("div",{className:"sf-panel-head",children:/* @__PURE__ */q(Z,{content:Ee?de.headerSettings:de.sectionSettings({name:Ve(Oe.type)}),side:"bottom",children:/* @__PURE__ */q("button",{type:"button",className:"sf-panel-title sf-panel-title--btn "+(ve?"is-selected":""),"aria-pressed":ve,onClick:()=>{Ee?me(fe??d):(me(d),se.select({index:0}))},children:Ve(Oe.type)})})}),
|
|
9
|
+
/* @__PURE__ */q(R,{className:"sf-tree sf-scroll",rootProps:Ze.rootProps(),words:ae,children:/* @__PURE__ */q(B,{children:Ee?
|
|
10
|
+
/* @__PURE__ */q(P,{words:ae,icon:/* @__PURE__ */q(Pe,{type:"header",size:13}),name:de.headerSettings,selected:le.kind===fe?.kind,onSelect:()=>me(fe??d),rowProps:{onClick:ee(()=>me(fe??d))}}):we?/* @__PURE__ */$(_,{children:[Qe.map((e,n)=>{const o=ce?.props.id===e.props.id,t=Ue(e),r=String(e.props.id),s=()=>Le(n,r),{rowProps:i,...c}=Ze.row({item:{id:r,zone:ze,index:n},place:{...Q(ze),index:n}},{onClick:ee(s)});/* @__PURE__ */
|
|
11
|
+
return $(K,{children:[0===n&&Je(ze,0),
|
|
12
|
+
/* @__PURE__ */q(P,{words:ae,icon:/* @__PURE__ */q(Pe,{type:e.type,size:13}),name:t,selected:o,onSelect:s,...c,actions:/* @__PURE__ */q(b,{kind:"delete",label:de.deleteNamed({name:t}),onClick:()=>{return e=n,void(ze&&(se.removeComponent(ze,e),me(d),se.select(null)));var e},children:/* @__PURE__ */q(J,{size:13})}),rowProps:i}),Je(ze,n+1)]},String(e.props.id??n))}),
|
|
13
|
+
/* @__PURE__ */$("button",{type:"button",className:"sf-add-card",onClick:()=>{Oe&&we&&He(String(Oe.props.id),we.slot,we.childType,Qe.length,Oe.type)},children:[
|
|
14
|
+
/* @__PURE__ */q("span",{className:"sf-plus sf-plus--sm",children:"+"}),we.addLabel]}),ye?xe.partRows?.(Oe,ne):null]}):nn(Oe,1)})})]}),
|
|
15
|
+
/* @__PURE__ */q("div",{className:"sf-center",children:/* @__PURE__ */q("div",{className:"sf-preview-host",children:/* @__PURE__ */q(Se,{})})}),
|
|
16
|
+
/* @__PURE__ */q(i,{value:{selectChild:(e,n,o,t)=>{const{parentId:r,slot:s}=Q(e);return"section"===Fe(r,t,s)?.source?Le(n,o):qe(e,n,o)},addChild:(e,n,o,t,r)=>"section"===Fe(e,r,n)?.source?He(e,n,o,t,r):_e(`${e}:${n}`,o,t),childRowName:Ue,blockRowName:$e},children:/* @__PURE__ */q(Ne,{mode:le,onOpenWebsiteSettings:xe.openSettings??(()=>{}),onSelectNode:De,hideNodeActions:!0})})]}),
|
|
17
|
+
/* @__PURE__ */q(E,{})]})}export{oe as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ScreenInspectorMode } from '
|
|
1
|
+
import { n as ScreenInspectorMode } from '../../AddSidePanel-DwfZOS5C.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../CanvasDragLayer-DXeQGrwJ.js';
|
|
4
4
|
import '../../watch-Unf6SfUf.js';
|
|
@@ -11,7 +11,7 @@ import '../lib/document/block-choice.js';
|
|
|
11
11
|
import '../../blocks/index.js';
|
|
12
12
|
import '../../types-BljCVdzR.js';
|
|
13
13
|
import '../../data/index.js';
|
|
14
|
-
import '../../phone-order-
|
|
14
|
+
import '../../phone-order-BCM_f8A1.js';
|
|
15
15
|
import '../../plan-D0DgSLnY.js';
|
|
16
16
|
import '../../types-SrGNzYeO.js';
|
|
17
17
|
import '../../types-Cy7rdmXt.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 '../lib/document-contract.js';
|
|
30
30
|
import '../lib/document-switch.js';
|
|
31
31
|
import '../../engine-CvXpFE86.js';
|
|
@@ -35,8 +35,6 @@ import '../lib/backend-error.js';
|
|
|
35
35
|
import '../lib/host-chrome.js';
|
|
36
36
|
import '../lib/links/link-filters.js';
|
|
37
37
|
import '../lib/document-hooks.js';
|
|
38
|
-
import '../lib/document/add-target-types.js';
|
|
39
|
-
import '../lib/document/slot-section-spec.js';
|
|
40
38
|
|
|
41
39
|
/**
|
|
42
40
|
* The editor-chrome half of the click→part bridge, in ONE place because both
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{usePartBridge}from"../../chunk-
|
|
1
|
+
export{usePartBridge}from"../../chunk-2DFSODES.js";import"../../chunk-KRONK73U.js";import"../../chunk-BDYS3UAD.js";import"../../chunk-NCXYC7WI.js";import"../../chunk-LX23TCTP.js";import"../../chunk-R4AUZVA3.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";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, I as InsertNodeOptions, 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, J as ScreenPinnedBand, K as ScreenPinnedNodes, L as ScreenRailItem, M as ScreenSelector, O as ScreenSharedSections, P as ScreenSlot, Q as ScreenSlotAction, R as ScreenSlotMode, T as ScreenStyleClipboard, U as ScreenStyleDocument, V as ScreenStylePastePlan, W as ScreenToastExtra, X as ScreenTree, Y as ScreenTreeFolds, Z as ScreenTreeRows, _ as isPinnedFirst, $ as isPinnedLast, a0 as isSelectionMode, a1 as isSlotMode, a2 as sameInspectorMode, a3 as screenSlotsOf, a4 as shownChildSlotsOf, a5 as shownSlotFieldsOf, a6 as useScreenBlockLook, a7 as useScreenBlockRules, a8 as useScreenBridges, a9 as useScreenCanvasDrag, aa as useScreenCanvasFrame, ab as useScreenCanvasHead, ac as useScreenCanvasTarget, ad as useScreenDevices, ae as useScreenDocumentLabel, af as useScreenDocumentPass, ag as useScreenInspectorPanel, ah as useScreenLeftView, ai as useScreenNodeKeys, aj as useScreenNotify, ak as useScreenOwnerName, al as useScreenParts, am as useScreenPickFollowsSelection, an as useScreenPinned, ao as useScreenSaveSwitch, ap as useScreenStorageNamespace, aq as useScreenStyleClipboard, ar as useStandaloneScreenBridges } from '../AddSidePanel-DwfZOS5C.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 '../phone-order-
|
|
13
|
+
import '../phone-order-BCM_f8A1.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-TWXA55SR.js";import"../chunk-GXQCZJOP.js";export{ScreenStoreProvider}from"../chunk-4JPAVKV6.js";import"../chunk-7WONGRN3.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-DFLPDOZF.js";import"../chunk-KCBEE2MC.js";import"../chunk-TQUEVJOO.js";import"../chunk-2DFSODES.js";import"../chunk-KRONK73U.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-JEKFHCKS.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-BDYS3UAD.js";import"../chunk-T2RINM7R.js";import"../chunk-NCXYC7WI.js";import"../chunk-WW24O7HT.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-G2VZ4DET.js";import"../chunk-3OOYGEJY.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-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-ZKY45F5G.js";import"../chunk-FIVU2COQ.js";import"../chunk-P5VYGWYO.js";import"../chunk-WK3AFPXY.js";import"../chunk-TF6NAIV7.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-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-SEC6NV6Y.js";import"../chunk-TQ5Y6S2X.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";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 '../../phone-order-
|
|
7
|
+
import '../../phone-order-BCM_f8A1.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 { au as AddTarget, av as AddTargetSource } from '../../../AddSidePanel-DwfZOS5C.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-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 +1 @@
|
|
|
1
|
-
import{buttonFieldSet as e}from"../../../chunk-
|
|
1
|
+
import{buttonFieldSet as e}from"../../../chunk-2ODVRWRM.js";import"../../../chunk-PMDIDRDB.js";import{boxFieldSet as o}from"../../../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";import"../../../chunk-PLTTPHK5.js";import{foldMetaOf as t}from"../../../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{phoneKey as n}from"../../../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";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 '../../../phone-order-
|
|
15
|
+
import '../../../phone-order-BCM_f8A1.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-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";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-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";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,x=(t,i)=>r(t,i,T),W=(t,i,n,o,r)=>x(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"),...x("widthFit",a.segmented("Width",/* @__PURE__ */j(u,{}),[...e],s)),...W("width","Fixed width",m,m.fallback),...W("minWidth","Min width",h,h.min,"None"),...W("maxWidth","Content width",h,h.min,"None")},text:t.textFit?{_gText:o("Text"),...x("textFit",a.segmented("When the text does not fit",/* @__PURE__ */j(k,{}),[...p],t.textFit)),...W("minFont","Min font size",c,c.fallback)}:{}}}export{a as blockSizeFieldSet};
|
|
@@ -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 '../../../phone-order-
|
|
14
|
+
import '../../../phone-order-BCM_f8A1.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-36AWYQLN.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-G2VZ4DET.js";import"../../../chunk-3OOYGEJY.js";import"../../../chunk-6WY6ZXJG.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";
|
|
@@ -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{buttonFieldSet}from"../../../chunk-
|
|
1
|
+
export{buttonFieldSet}from"../../../chunk-2ODVRWRM.js";import"../../../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{BUTTON_PAD_KEYS,BUTTON_STYLE_KEYS}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";
|
|
@@ -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 '../../../phone-order-
|
|
15
|
+
import '../../../phone-order-BCM_f8A1.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-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-
|
|
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:
|
|
3
|
-
return g(m,{label:i,icon:j,hint:E,children:/* @__PURE__ */g("div",{className:"es-image-row-note",children:Z?
|
|
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-NMLAW6FI.js";import"../../../chunk-XT75WETI.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-IHYRYSP2.js";import"../../../chunk-PMRN5Z3T.js";import{SettingsField as m}from"../../../chunk-MIX7EGRG.js";import{useWords as l}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{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:Y,name:b,readOnly:B,canPick:M=!0,kind:O="image",accept:F,acceptHint:N,pickOptions:D,maxSizeBytes:I,height:L,placeholder:P,removeLabel:S,paste:T,focusKey:G,focusWhen:K,frameKey:H,note:W}){const X=l("imageRow",r),w=l("panel",s),x=t(),V=c(),U=p(n),Z="video"===O,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:G,K),[J,Q]=h(!1),z=!0===B||!0===V?.readOnly,q=M&&!z;if(U&&!U.capabilities.mediaEditing)/* @__PURE__ */
|
|
3
|
+
return g(m,{label:i,icon:j,hint:E,children:/* @__PURE__ */g("div",{className:"es-image-row-note",children:Z?X.templateVideo:X.template})});const $=H&&b?{video:b,frame:H}:null,_=$?e=>e?Y(e):V?.onChangeMany({[$.video]:"",[$.frame]:""}):Y,ee=$?e=>V?.onChangeMany({[$.video]:e,[$.frame]:""}):Y,ne=C(R),oe=A?.phone&&ne?/* @__PURE__ */g(e,{words:w,label:X.focus,changed:Boolean(A.own),detail:X.onDesktop(A.desktop),onReset:A.clear,disabled:z}):void 0,te=T&&!z&&(T.open||J);/* @__PURE__ */
|
|
4
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(x,{accept:
|
|
5
|
+
/* @__PURE__ */g(k,{value:ne,onChange:_,onPick:e=>{if(q)return $&&!V?Promise.resolve(null):o(x,{accept:F??(Z?"video/*":"image/*"),title:i,...e?{file:e}:{},...D?{options:D}:{}}).then(e=>e&&$?(V?.onChangeMany({[$.video]:e.url,[$.frame]:e.posterUrl??""}),null):e?.url??null)},accept:F??(Z?"video/*":"image/*"),acceptHint:N,kind:O,maxSizeBytes:I,height:L,placeholder:P,removeLabel:S,allowReplace:q,allowRemove:!z,disabled:z||!q&&!ne,focusLabel:X.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:X.pasteName}):/* @__PURE__ */g(d,{variant:"link",size:"sm",onClick:()=>Q(!0),children:X.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, as as SlotSectionSpec, E as ScreenNodeMaker, y as ScreenNewNode } 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';
|
|
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";
|