efficient-easel 11.8.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{canvas-typing-CC0wA-ys.d.ts → canvas-typing-CZ11Y5tb.d.ts} +1 -1
- package/dist/{chunk-UBAYMWCX.js → chunk-2SOOKBHH.js} +13 -13
- package/dist/{chunk-PS5BWS4I.js → chunk-47JTYRQC.js} +2 -2
- package/dist/{chunk-HRUMNRYI.js → chunk-5NM5TPAX.js} +1 -1
- package/dist/{chunk-URC5Y5G2.js → chunk-5QP7ZE35.js} +1 -1
- package/dist/chunk-5R7FE4VT.js +57 -0
- package/dist/{chunk-7BRKNQF7.js → chunk-CZYR5V77.js} +1 -1
- package/dist/chunk-KE2CXEIK.js +13 -0
- package/dist/chunk-KR4OCYRP.js +1 -0
- package/dist/{chunk-H6IXH4A3.js → chunk-O3RLI7XE.js} +1 -1
- package/dist/chunk-UX7UJPC5.js +5 -0
- package/dist/chunk-WDQY6JMM.js +7 -0
- package/dist/chunk-WP7AZDCV.js +5 -0
- package/dist/{chunk-6TJ2CIMY.js → chunk-WUO2GBPO.js} +1 -1
- package/dist/chunk-WY5U4XFO.js +7 -0
- package/dist/{chunk-ATF2T5CI.js → chunk-X4VIDPKV.js} +1 -1
- package/dist/{chunk-6IT5H37Y.js → chunk-XY5ZHRMR.js} +1 -1
- package/dist/copy/index.d.ts +4 -4
- package/dist/copy/index.js +18 -18
- package/dist/easel/index.d.ts +2 -2
- package/dist/easel/index.js +1 -1
- package/dist/fields/index.js +1 -1
- package/dist/panel/index.js +1 -1
- package/dist/pick/index.d.ts +30 -8
- package/dist/pick/index.js +3 -7
- package/dist/pick/pick.css +6 -80
- package/dist/screen/components/AddBlockRow.js +1 -1
- package/dist/screen/components/AddSidePanel.js +1 -1
- package/dist/screen/components/MediaSidePanel.js +1 -1
- package/dist/screen/components/PageEditGuardNotices.js +1 -1
- package/dist/screen/components/ScreenChrome.js +1 -1
- package/dist/screen/components/ScreenDocumentContext.js +1 -1
- package/dist/screen/components/ScreenMount.js +1 -1
- package/dist/screen/components/ScreenStoreProvider.js +1 -1
- package/dist/screen/components/SectionScreenShell.js +16 -16
- package/dist/screen/components/usePartBridge.js +1 -1
- package/dist/screen/index.js +1 -1
- package/dist/screen/lib/key-scope.js +1 -1
- package/dist/screen/lib/puck/use-section-ops.js +1 -1
- package/dist/screen/lib/screen-parts.js +1 -1
- package/dist/strings/catalogue.d.ts +1 -1
- package/dist/strings/catalogue.js +1 -1
- package/dist/strings/index.d.ts +1 -1
- package/dist/strings/index.js +1 -1
- package/dist/text-styles/index.d.ts +12 -4
- package/dist/text-styles/index.js +36 -35
- package/dist/text-styles/model.d.ts +9 -1
- package/dist/{words-CiuKuiy0.d.ts → words-notpwHR2.d.ts} +1 -1
- package/package.json +3 -3
- package/dist/chunk-5IUS6PM6.js +0 -13
- package/dist/chunk-A6PY6C3C.js +0 -1
- package/dist/chunk-DE35IQ4T.js +0 -57
- package/dist/chunk-JHYKRGRA.js +0 -5
- package/dist/chunk-JRRYFSCY.js +0 -5
- package/dist/chunk-KEWQZYUF.js +0 -7
- package/dist/chunk-NY7HHUGB.js +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useScreenBlockRules as e}from"./chunk-
|
|
1
|
+
import{useScreenBlockRules as e}from"./chunk-WP7AZDCV.js";import{newNodeId as t,ROOT_ZONE as n}from"./chunk-PLVEGYK6.js";import{useEasel as o,useEaselApi as r}from"./chunk-KE2CXEIK.js";import{useMemo as s}from"react";function i(i={}){const{dispatch:p}=o(e=>e),d=r(),c=!0===i.readOnly,a=e().resolveOnInsert,l=!0===(i.resolveOnInsert??a),m=!0===i.foldIntoHistory;return s(()=>{const e=m?e=>p({...e,recordHistory:!1}):p,o=(n,o,r)=>{const s=t(o);return c||e({type:"insert",componentType:o,destinationZone:n,destinationIndex:r,id:s}),s},r=e=>(l&&!c&&d.resolveNode(e,{trigger:"insert"}),e),s=(t,n,o)=>{c||e({type:"replace",destinationZone:t,destinationIndex:n,data:o})},i=(e,t,n)=>r(o(e,t,n));return{insertComponent:i,insertSection:(e,t)=>i(n,e,t),replaceComponent:s,seedChild:(e,t,n,i)=>{const p=o(e,n,t);s(e,t,{type:n,props:{id:p,...i}}),r(p)},insertNode:(e,t,n)=>{const i=o(e,n.type,t);return s(e,t,{type:n.type,props:{...n.props,id:i}}),r(i)},removeComponent:(t,n)=>{c||e({type:"remove",index:n,zone:t})},reorderComponent:(t,n,o)=>{c||e({type:"reorder",sourceIndex:n,destinationIndex:o,destinationZone:t})},duplicateComponent:(t,n)=>{c||e({type:"duplicate",sourceIndex:n,sourceZone:t})},select:e=>p({type:"setUi",ui:{itemSelector:e}}),setDocument:t=>{c||e({type:"setData",data:t})},commitDocument:(t,n)=>{c||(m?d.batch(()=>{e({type:"setData",data:t}),void 0!==n&&("slot"===n?.kind?d.selectSlot({parentId:n.parentId,slot:n.slot}):d.select(n?n.id:null))}):d.run({data:t,select:n}))}}},[p,c,l,d,m])}export{i as useSectionOps};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{blockRuns as e}from"./chunk-HQ4VVRIC.js";import{useScreenBlockLook as r}from"./chunk-
|
|
1
|
+
import{blockRuns as e}from"./chunk-HQ4VVRIC.js";import{useScreenBlockLook as r}from"./chunk-WP7AZDCV.js";import{DEFAULT_SCREEN_WORDS as s}from"./chunk-VVPZMWJE.js";import{useWords as t}from"./chunk-MFIRYGHW.js";import{DropdownMenu as n}from"efficient-shell/ui";import{jsxs as c,Fragment as i,jsx as o}from"react/jsx-runtime";function l({choices:l,onPick:p}){const{Icon:a}=r(),m=t("screen",s),u=e(l).flatMap(e=>[...e.group?[{type:"label",key:`group:${e.group}`,label:/* @__PURE__ */c(i,{children:[e.group," ",
|
|
2
2
|
/* @__PURE__ */o("span",{className:"sf-menugroup-count",children:e.items.length})]})}]:[],...e.items.map(e=>({key:e.type,label:e.label,icon:/* @__PURE__ */o("span",{className:"sf-chip",children:/* @__PURE__ */o(a,{type:e.type,size:13})}),onSelect:()=>p(e.type)}))]);/* @__PURE__ */
|
|
3
3
|
return o(n,{align:"start",triggerClassName:"sf-add-card",items:u,trigger:/* @__PURE__ */c(i,{children:[
|
|
4
4
|
/* @__PURE__ */o("span",{className:"sf-plus sf-plus--sm",children:"+"}),m.addBlockMenu]})})}export{l as AddBlockRow};
|
package/dist/copy/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { c as CopyBoxProps, d as CopyCell, T as TextBoxHandle } from '../canvas-typing-
|
|
4
|
-
export { e as COPY_CELLS, b as CanvasTypingEnd, f as CanvasTypingOptions, g as CanvasTypingSession, h as ColorWindow, i as CopyBoxAlign, j as CopyBoxFooter, C as CopyBoxLastTool, k as CopyCase, l as CopyCellPreset, m as CopyCells, a as CopyThemeColor, M as MarkWriter, S as SelectionSource, n as TextAreaHandle, o as TextMap, p as ToolbarMark, q as colorRunOf, r as insertSelection, s as markSelection, t as startCanvasTyping, u as textMap } from '../canvas-typing-
|
|
3
|
+
import { c as CopyBoxProps, d as CopyCell, T as TextBoxHandle } from '../canvas-typing-CZ11Y5tb.js';
|
|
4
|
+
export { e as COPY_CELLS, b as CanvasTypingEnd, f as CanvasTypingOptions, g as CanvasTypingSession, h as ColorWindow, i as CopyBoxAlign, j as CopyBoxFooter, C as CopyBoxLastTool, k as CopyCase, l as CopyCellPreset, m as CopyCells, a as CopyThemeColor, M as MarkWriter, S as SelectionSource, n as TextAreaHandle, o as TextMap, p as ToolbarMark, q as colorRunOf, r as insertSelection, s as markSelection, t as startCanvasTyping, u as textMap } from '../canvas-typing-CZ11Y5tb.js';
|
|
5
5
|
import { MarkStyle, MarkupTool, InlineRule, MarkedLine, WrapResult } from 'efficient-shell/markup';
|
|
6
6
|
export { TextToolbar, TextToolbarProps } from 'efficient-shell/ui';
|
|
7
7
|
import { F as FieldOption } from '../types-Dkx1VAIQ.js';
|
|
8
|
-
import { a as CopyAlign } from '../words-
|
|
9
|
-
export { b as COPY_ALIGNS, c as COPY_ALIGN_FIT, d as COPY_ALIGN_GLYPHS, e as COPY_ALIGN_LABELS, C as CopyWords, f as copyAlignOptions } from '../words-
|
|
8
|
+
import { a as CopyAlign } from '../words-notpwHR2.js';
|
|
9
|
+
export { b as COPY_ALIGNS, c as COPY_ALIGN_FIT, d as COPY_ALIGN_GLYPHS, e as COPY_ALIGN_LABELS, C as CopyWords, f as copyAlignOptions } from '../words-notpwHR2.js';
|
|
10
10
|
import { TextStyleCase } from '../text-styles/model.js';
|
|
11
11
|
import '../buckets-Tj-nkBpg.js';
|
|
12
12
|
import '../words-gIDCeRv3.js';
|
package/dist/copy/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import{TEXT_STYLE_CASES as e}from"../chunk-YHZSBL2N.js";import{
|
|
2
|
-
return
|
|
3
|
-
/* @__PURE__ */
|
|
4
|
-
return
|
|
5
|
-
return
|
|
6
|
-
/* @__PURE__ */
|
|
7
|
-
/* @__PURE__ */
|
|
8
|
-
return
|
|
9
|
-
return
|
|
10
|
-
/* @__PURE__ */
|
|
11
|
-
/* @__PURE__ */
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
/* @__PURE__ */
|
|
14
|
-
return
|
|
15
|
-
return
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
-
/* @__PURE__ */
|
|
18
|
-
/* @__PURE__ */
|
|
1
|
+
import{TEXT_STYLE_CASES as e}from"../chunk-YHZSBL2N.js";import{FieldNumber as t}from"../chunk-2XMHLXMA.js";import{FieldSelect as n}from"../chunk-G3GWAP5R.js";import{SettingsSwitch as r,SettingsField as l,SettingsSegmented as o}from"../chunk-36LVP5WD.js";import"../chunk-WRFD4EXD.js";import{GoldTextInput as a}from"../chunk-H4UMY7QF.js";import{selectionToVisible as s,selectionToSource as c,richLayout as i,createHistory as u,colorRunOf as d,textRange as p,selectionBox as m,placeWindow as h,offsetOrigin as f,visibleArea as g,ColorWindow as y,markPress as v,pasteToMarkup as b,richInput as S,editVisible as k,MARKUP_CLIPBOARD_TYPE as x,markupOfRange as w}from"../chunk-WDQY6JMM.js";export{ColorWindow,MARKUP_CLIPBOARD_TYPE,TYPING_BURST_MS,colorRunOf,createHistory,editVisible,markupOfRange,newLine,pasteToMarkup,richInput,richLayout,selectionToSource,selectionToVisible,setBullet,startCanvasTyping,textMap,toSource,toSourceStart,toVisible}from"../chunk-WDQY6JMM.js";import{DEFAULT_COPY_WORDS as E}from"../chunk-33C6ALT5.js";import{useWords as C}from"../chunk-MFIRYGHW.js";import{TextToolbar as D,registerModalEscapeInterceptor as N,textToolbarRows as L,LinkPicker as O,Tooltip as T,IconButton as M}from"efficient-shell/ui";export{TextToolbar}from"efficient-shell/ui";import{useRef as R,useState as K,useLayoutEffect as P,useEffect as j,useId as F}from"react";import{RETIRED_MARKS as H,applyMark as $,marksIn as B,STANDARD_MARKUP as V,listIn as W,colorIn as z,spanFor as A,findLink as U,colorOver as Y,setList as I,unlinkAt as q,removeLink as G,linkOver as _,writeLink as Q}from"efficient-shell/markup";import{jsxs as X,jsx as J,Fragment as Z}from"react/jsx-runtime";import{ParagraphSpacingIcon as ee,LetterSpacingIcon as te,LineSpacingIcon as ne,TextSizeIcon as re,AlignJustifyIcon as le,AlignRightIcon as oe,AlignCenterIcon as ae,AlignLeftIcon as se,StylesIcon as ce,TypeIcon as ie,AlignmentIcon as ue,ListFormatIcon as de,CaseIcon as pe,ItalicIcon as me,NumberedListIcon as he,ListIcon as fe,ListNoneIcon as ge,CaseLowerIcon as ye,CaseCapitalizedIcon as ve,CaseUpperIcon as be,CaseNormalIcon as Se}from"efficient-shell/icons/efficient";function ke(e,t){const n=t?.selectionStart??e.length;return{start:n,end:t?.selectionEnd??n}}function xe(e,t,n,r=$){const{start:l,end:o}=ke(e,n);return r(e,l,o,t)}function we(e,t,n){const{start:r,end:l}=ke(e,n),o=r+t.length;return{text:e.slice(0,r)+t+e.slice(l),selectionStart:o,selectionEnd:o}}function Ee(e,t,n,r){switch(t){case"bold":return e.createElement("strong");case"italic":return e.createElement("em");case"strike":return e.createElement("s");case"underline":return e.createElement("u");case"sup":return e.createElement("sup");case"sub":return e.createElement("sub");case"color":{const t=e.createElement("span");return t.className="es-rich-color",r&&(t.dataset.color=r,t.title=r.startsWith("#")?r.toUpperCase():r,t.style.color=r.startsWith("#")?r:`var(--es-color-${r}, inherit)`),t}case"link":{const t=e.createElement("a");return t.className="es-rich-link",n&&(t.title=n),t}default:{const n=e.createElement("span");return n.className="highlight"===t||"accent"===t?"es-rich-emphasis":`es-rich-${t}`,n}}}function Ce(e,t,n,r){const l=e.layout.lines;if(n===t)return r>=e.lines.length?e.layout.text.length:l[r].vis;const o=e.lines.findIndex(e=>e===n||e.contains(n));if(-1===o)return 0;const a=t.ownerDocument.createRange();a.setStart(e.lines[o],0);try{a.setEnd(n,r)}catch{return l[o].vis}return l[o].vis+Math.min(a.toString().length,l[o].text.length)}function De(e,t){const n=e.layout.lines;let r=n.length-1;for(let e=0;e<n.length;e+=1)if(t<=n[e].vis+n[e].text.length){r=e;break}let l=Math.max(0,t-n[r].vis);const o=e.lines[r].ownerDocument.createTreeWalker(e.lines[r],4);let a=o.nextNode(),s=null;for(;a;){if(l<=a.data.length)return[a,l];l-=a.data.length,s=a,a=o.nextNode()}return s?[s,s.data.length]:[e.lines[r],0]}function Ne({value:e,rules:t,multiline:n,readOnly:r=!1,placeholder:l,ariaLabel:o,handle:a,onEdit:u,onSelect:d,onHistory:p,onFormat:m,pending:h,onCommit:f,onCancel:g}){const y=R(null),v=R(null),E=R(null),C=R(null),D=R(null),N=R(e),[L,O]=K(0),T=R({value:e,rules:t,multiline:n,readOnly:r,pending:h,onEdit:u,onHistory:p,onFormat:m});T.current={value:e,rules:t,multiline:n,readOnly:r,pending:h,onEdit:u,onHistory:p,onFormat:m};const M=()=>{const e=y.current,t=v.current,n=e?.ownerDocument.getSelection();if(!(e&&t&&n&&0!==n.rangeCount&&n.anchorNode&&e.contains(n.anchorNode)))return null;const r=Ce(t,e,n.anchorNode,n.anchorOffset),l=n.focusNode&&e.contains(n.focusNode)?Ce(t,e,n.focusNode,n.focusOffset):r;return r<=l?[r,l]:[l,r]},F=(e,t)=>{const n=y.current,r=v.current;if(!n||!r)return;const[l,o]=De(r,e),[a,s]=De(r,t);n.ownerDocument.getSelection()?.setBaseAndExtent(l,o,a,s)};a.current={getSource(){const e=M(),t=v.current;if(!e||!t)return null;const[n,r]=c(t.layout,e[0],e[1]);return{start:n,end:r}},setSource(e,t,n){C.current={text:n,src:[e,t]},O(e=>e+1)},focus(){y.current?.focus()},rangeOf(e,t){const n=y.current,r=v.current;if(!n||!r)return null;const[l,o]=s(r.layout,e,t),[a,c]=De(r,l),[i,u]=De(r,o),d=n.ownerDocument.createRange();return d.setStart(a,c),d.setEnd(i,u),d}},P(()=>{const n=y.current;if(!n||D.current)return;const r=C.current?null:M();v.current=function(e,t){const n=e.ownerDocument;e.replaceChildren();const r=t.lines.map(t=>{const r=n.createElement("div");r.className=null!=t.number?"es-rich-line is-numbered":t.bullet?"es-rich-line is-bullet":"es-rich-line",null!=t.number&&(r.dataset.number=t.number);const l=[],o=()=>l.length?l[l.length-1].el:r;let a=null;for(const e of t.chars){let t=0;for(;t<l.length&&t<e.marks.length&&l[t].id===e.marks[t].id;)t+=1;(l.length>t||e.marks.length>t)&&(a=null),l.length=t;for(let r=t;r<e.marks.length;r+=1){const t=Ee(n,e.marks[r].kind,e.marks[r].href,e.marks[r].color);o().appendChild(t),l.push({id:e.marks[r].id,el:t})}a||(a=n.createTextNode(""),o().appendChild(a)),a.data+=e.ch}return 0===t.chars.length&&r.appendChild(n.createElement("br")),e.appendChild(r),r});return{layout:t,lines:r}}(n,i(e,t)),E.current=e;const l=C.current;if(!l||l.text!==e)return void(r&&n.ownerDocument.activeElement===n&&F(r[0],Math.min(r[1],v.current.layout.text.length)));C.current=null;const o=v.current.layout,[a,c]=l.vis??s(o,l.src[0],l.src[1]);n.ownerDocument.activeElement!==n&&n.focus(),F(a,c)},[e,t,L]);const H=(e,t,n)=>{const r=v.current,[l,o]=c(r.layout,t[0],t[1]);C.current={text:e.text,vis:[e.caret,e.caret]},e.text!==T.current.value?T.current.onEdit(e.text,{start:l,end:o},n):O(e=>e+1)};j(()=>{const e=y.current;if(!e)return;const t=t=>{const{value:n,rules:r,multiline:l,readOnly:o,pending:a}=T.current;if("insertCompositionText"===t.inputType)return;if(t.preventDefault(),o)return;const s=v.current,c=M();if(!s||!c)return;const i="function"==typeof t.getTargetRanges?t.getTargetRanges()[0]:void 0,u=i&&!i.collapsed?[Ce(s,e,i.startContainer,i.startOffset),Ce(s,e,i.endContainer,i.endOffset)]:null,d=S({value:n,rules:r,multiline:l,inputType:t.inputType,data:t.data??t.dataTransfer?.getData("text/plain")??"",html:t.dataTransfer?.getData("text/html"),doc:e.ownerDocument,sel:c,target:u,pending:a});d&&("history"!==d.kind?"format"!==d.kind?H(d.edit,d.range,d.kind):T.current.onFormat(d.style):T.current.onHistory(d.dir))},n=()=>{D.current||O(e=>e+1)};return e.addEventListener("beforeinput",t),e.addEventListener("input",n),()=>{e.removeEventListener("beforeinput",t),e.removeEventListener("input",n)}},[]),j(()=>{const e=y.current;if(!e)return;const t=e.ownerDocument,n=()=>{const e=a.current?.getSource();e&&d(e)};return t.addEventListener("selectionchange",n),()=>t.removeEventListener("selectionchange",n)});const $=(n,l=!1)=>{const o=M();if(!o||o[0]===o[1])return;n.preventDefault();const a=v.current;n.clipboardData.setData("text/plain",a.layout.text.slice(o[0],o[1])),n.clipboardData.setData(x,w(e,t,o[0],o[1])),l&&!r&&H(k(e,t,o[0],o[1],{text:""}),o,"edit")};/* @__PURE__ */
|
|
2
|
+
return X("div",{className:"es-rich-wrap",children:[l&&""===e?/* @__PURE__ */J("div",{className:"es-rich-placeholder","aria-hidden":"true",children:l}):null,
|
|
3
|
+
/* @__PURE__ */J("div",{ref:y,className:`es-rich${n?" is-multiline":" is-single"}${r?" is-off":""}`,contentEditable:!r,suppressContentEditableWarning:!0,role:"textbox","aria-multiline":n,"aria-label":o,"aria-readonly":r||void 0,"aria-placeholder":l,tabIndex:r?-1:0,spellCheck:!0,onFocus:()=>{N.current=e},onBlur:()=>{e!==N.current&&f?.(e),N.current=e},onKeyDown:t=>{if("Escape"===t.key)return t.preventDefault(),g?.(N.current),void(N.current=e);"Enter"!==t.key||n||(t.preventDefault(),e!==N.current&&f?.(e),N.current=e)},onCompositionStart:()=>{const e=M()??[0,0];D.current={from:e[0],to:e[1]}},onCompositionEnd:e=>{const t=D.current;if(D.current=null,!t)return;const{value:n,rules:r,pending:l}=T.current;e.data?H(k(n,r,t.from,t.to,{text:e.data,add:l?.add,drop:l?.drop,color:l?.color}),[t.from,t.to],"type"):O(e=>e+1)},onCopy:e=>$(e),onCut:e=>$(e,!0),onPaste:l=>{if(l.preventDefault(),r)return;const o=M();if(!o)return;const a=l.clipboardData.getData(x),s=a?n?a:a.replace(/\s*\r?\n\s*/g," "):b({html:l.clipboardData.getData("text/html"),text:l.clipboardData.getData("text/plain")},{doc:l.currentTarget.ownerDocument,multiline:n,rules:t});H(k(e,t,o[0],o[1],{markup:s}),o,"edit")}})]})}var Le={fontSize:{key:"fontSize",nameKey:"fontSize",icon:/* @__PURE__ */J(re,{}),unit:"px",step:1,shiftStep:10,min:5},lineHeight:{key:"lineHeight",nameKey:"lineHeight",icon:/* @__PURE__ */J(ne,{}),unit:"%",step:1,shiftStep:10,min:50,max:250,scale:100},letterSpacing:{key:"letterSpacing",nameKey:"letterSpacing",icon:/* @__PURE__ */J(te,{}),unit:"px",step:.1,shiftStep:1,min:-10},paragraphSpacing:{key:"paragraphSpacing",nameKey:"paragraphSpacing",icon:/* @__PURE__ */J(ee,{}),unit:"px",step:1,shiftStep:10,min:0}};function Oe(e,t){return void 0===e?void 0:Number((e*t).toFixed(6))}function Te({cells:e,words:n,readOnly:r=!1}){const l=n??E.cells,o=F();/* @__PURE__ */
|
|
4
|
+
return J("div",{className:"es-copy-cells-fit",children:/* @__PURE__ */J("div",{className:"es-copy-cells",children:e.map(e=>{const n=e.scale??1,a=e.name??(e.nameKey?l[e.nameKey]:e.key),s=e.unit??"",c=e.step??1,i=`${o}-${e.key}`;/* @__PURE__ */
|
|
5
|
+
return X("div",{className:"es-copy-cell",children:[
|
|
6
|
+
/* @__PURE__ */J("label",{className:"es-field-label es-copy-cell-name",htmlFor:i,children:a}),
|
|
7
|
+
/* @__PURE__ */J(t,{id:i,value:Oe(e.value,n),styleValue:Oe(e.styleValue,n),onChange:t=>e.onChange(void 0===t?void 0:Number((t/n).toFixed(6))),min:e.min,max:e.max,step:c,shiftStep:e.shiftStep,icon:e.icon,unit:s||void 0,steppers:"compact",readOnly:r,ariaLabel:a,title:l.tip({name:a,step:c,unit:s})})]},e.key)})})})}function Me({target:e,onChange:t}){const n=R(null);return P(()=>{const t=n.current,r=e.current;t&&r&&r.value===t.text&&(n.current=null,r.focus(),r.setSelectionRange(t.start,t.end))}),r=>{const l=r(e.current);t(l.text),n.current={start:l.selectionStart,end:l.selectionEnd,text:l.text}}}var Re=/* @__PURE__ */new Set([...H,"clear"]);function Ke(e){if(!e)return;const t=e.split("+"),n=t.pop().toUpperCase();return["Meta",...t.map(e=>e[0].toUpperCase()+e.slice(1)),n].join("+")}function Pe({tools:e,onApply:t,disabled:n=!1,actions:r,ariaLabel:l,pressed:o,open:a=null}){const s=C("copy",E),c=("string"==typeof e[0]?e:e.map(e=>e.style)).filter(e=>!Re.has(e));/* @__PURE__ */
|
|
8
|
+
return J(D,{"aria-label":l??s.formatting,offered:new Set(c),pressed:o??{},onMark:e=>t(e),linkOpen:"link"===a,list:c.includes("bullet")||c.includes("number")?{pressed:null,onList:e=>t(e)}:void 0,last:r,disabled:n})}function je({value:e,onChange:t,onCommit:n,onCancel:l,multiline:o=!1,placeholder:s,ariaLabel:c,className:i,readOnly:S=!1,rules:k,tools:x=[],writeMark:w,align:T,actions:M,toolbar:H,barLabel:ee,renderFooter:te,inputRef:ne,barShows:re="always",richText:le=!0,defaultShowMarks:oe=!1,colors:ae,cells:se,letterCase:ce,lastTool:ie}){const ue=C("copy",E),de=R(null),pe=ne??de,[me,he]=K(!1),[fe,ge]=K(null),ye=R(u()).current,ve=R(null);j(()=>{const t=ve.current;t&&e===t.to?ve.current=null:t&&e===t.from||(ve.current=null,ye.reset())},[e,ye]);const be=n=>{ve.current={from:ve.current?.from??e,to:n},t(n)},Se=t=>({text:e,start:t?.selectionStart??fe?.start??e.length,end:t?.selectionEnd??fe?.end??e.length}),[ke,Ee]=K(oe),Ce=le&&!(o&&ke),De=R(null),Le=F(),[Oe,Ke]=K(null),[Pe,je]=K(!1),Fe=()=>{if(!Ce)return pe.current;const e=De.current?.getSource()??fe;return e?{selectionStart:e.start,selectionEnd:e.end}:null},He=Me({target:pe,onChange:be}),$e=e=>(ge({start:e.selectionStart,end:e.selectionEnd}),e),Be=(t,n)=>{if(!Ce)return void He(e=>(n&&ye.record(Se(e),"edit",Date.now()),$e(t(e))));const r=Fe(),l=$e(t(r));n&&ye.record(Se(r),"edit",Date.now()),Ke(null),l.text!==e&&be(l.text),De.current?.setSource(l.selectionStart,l.selectionEnd,l.text)},Ve=e=>Be(e,!0),We=e=>Be(t=>{const n=Se(t),r=ye[e](n);return r?{text:r.text,selectionStart:r.start,selectionEnd:r.end}:{text:n.text,selectionStart:n.start,selectionEnd:n.end}},!1),ze=R(null);P(()=>{const t=ze.current;t&&(ze.current=null,Ce?De.current?.setSource(t.start,t.end,e):(pe.current?.focus(),pe.current?.setSelectionRange(t.start,t.end),ge(t)))},[Ce]);const[Ae,Ue]=K(null),Ye=k??V,Ie=("string"==typeof x[0]?x:x.map(e=>e.style)).filter(e=>!Re.has(e)),qe={};if(fe){const t=B(e,fe.start,fe.end,Ye);for(const e of Ie){const n=t.has(e)||"highlight"===e&&t.has("accent");qe[e]=!!Oe?.add.includes(e)||!Oe?.drop.includes(e)&&n}qe.link=t.has("link")}const Ge=()=>{const t=Fe(),n=t?.selectionStart??e.length;return{start:n,end:t?.selectionEnd??n}},_e=t=>{if("link"!==t&&A(0,t)){const{start:n,end:r}=Ge();if(n===r&&!Ce)return void Ve(n=>xe(e,t,n,(e,t,n,r)=>$(e,t,n,r,Ye,ue.placeholders)));const l=v({value:e,rules:Ye,start:n,end:r,style:t,pending:Oe});return void("pending"===l.kind?Ke(l.pending):Ve(()=>l.result))}if("link"!==t){const n=w??((e,t,n,r)=>$(e,t,n,r,V,ue.placeholders));return void Ve(r=>xe(e,t,r,n))}const n=Fe(),r=n?.selectionStart??e.length,l=n?.selectionEnd??r;je(!1),Ue({start:r,end:l,link:U(e,r,l)})},Qe=Boolean(fe&&fe.start!==fe.end),Xe=fe?W(e,fe.start,fe.end,Ye):null,Je=fe?Oe&&void 0!==Oe.color&&Oe.at===fe.start?Oe.color:z(e,fe.start,fe.end,Ye):null,Ze=d(Je,ae),et=t=>{Ce?t?De.current?.setSource(t.start,t.end,e):De.current?.focus():(pe.current?.focus(),t&&pe.current?.setSelectionRange(t.start,t.end))},tt=()=>{const e=Ae;Ue(null),et(e?{start:e.start,end:e.end}:fe)},nt=()=>{const e=lt.current,t=Boolean(e&&e.querySelector(".es-copy-colors")?.contains(e.ownerDocument.activeElement));je(!1),t&&et(fe)},rt=R(nt);rt.current=nt,j(()=>{if(Pe)return N(e=>{const t=lt.current;return!!("Escape"===e.key&&t&&e.target instanceof Node&&t.contains(e.target))&&(rt.current(),!0)},()=>lt.current?.querySelector(".es-copy-colors"))},[Pe]);const lt=R(null),ot=Pe||null!==Ae;j(()=>{const e=lt.current;if(!ot||!e)return;const t=e.ownerDocument,n=()=>{je(!1),Ue(null)},r=t=>{e.contains(t.target)||n()};let l;const o=r=>{const o=r.relatedTarget;o?e.contains(o)||n():(clearTimeout(l),l=setTimeout(()=>{const r=t.activeElement;t.hasFocus()&&r&&r!==t.body&&!e.contains(r)&&n()},0))};return t.addEventListener("pointerdown",r,!0),e.addEventListener("focusout",o),()=>{clearTimeout(l),t.removeEventListener("pointerdown",r,!0),e.removeEventListener("focusout",o)}},[ot]);const at=Ae??(Pe?fe??{start:e.length,end:e.length}:null),st=R(()=>{});st.current=()=>{const e=lt.current,t=e?.querySelector(".rosh-tb-wrap > .es-copy-pop");if(!e||!t||!at)return;const n=Ce?null:e.querySelector(".es-gold-layer"),r=Ce?De.current?.rangeOf(at.start,at.end)??null:n?p(n,at.start,at.end):null,l=r?.endContainer,o=l?1===l.nodeType?l:l.parentElement:null,a=r?m(r,o?.closest(".es-rich-line, .es-gold-layer")??null):null;if(!a)return;const s=h({anchor:a,size:{width:t.offsetWidth,height:t.offsetHeight},within:e.getBoundingClientRect(),clip:g(e),parent:f(t)});t.style.top=`${s.top}px`,t.style.left=`${s.left}px`,t.style.setProperty("--es-pop-point",`${s.point}px`),t.dataset.side=s.above?"above":"below"},P(()=>{const e=lt.current;if(!ot||!e)return;const t=()=>st.current();t();const n=e.ownerDocument.defaultView;n?.addEventListener("resize",t);const r=e.querySelector(".rosh-tb-wrap > .es-copy-pop"),l=n?.ResizeObserver,o=l&&r?new l(t):null;return o&&r&&o.observe(r),()=>{n?.removeEventListener("resize",t),o?.disconnect()}},[ot,Pe,Ae,at?.start,at?.end,Ce]);const ct="always"===re||me||null!==Ae||Pe,it=ae&&ae.length>0?{run:Ze,open:Pe,onToggle:()=>{Ue(null),Pe?nt():je(!0)}}:void 0,ut=ct?ie?ie({className:"rosh-tb-btn",disabled:S,selected:Qe,keepCaret:e=>e.preventDefault(),insert:t=>Ve(n=>we(e,t,n))}):"classic"===H?M:void 0:void 0,dt=new Set(Ie),pt=T?{value:T.value,allow:T.allow,onChange:T.onChange,disabled:T.disabled}:void 0,mt={pressed:Xe,onList:t=>{const{start:n,end:r}=Ge(),l=W(e,n,r,Ye);Ve(()=>I(e,n,r,l===t?null:t,Ye))}},ht=L({offered:dt,color:it,last:ut,alignment:pt,list:mt,letterCase:ce});/* @__PURE__ */
|
|
9
|
+
return X("div",{ref:lt,className:"es-copy"+(i?` ${i}`:""),onFocus:()=>he(!0),onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||he(!1)},onKeyDown:e=>{const t=e.target===pe.current||Boolean(e.target.closest?.(".es-rich"));if(S||!t)return;if(e.altKey||e.metaKey===e.ctrlKey)return;const n=e.key.toLowerCase(),r="KeyZ"===e.code||"z"===n,l=("KeyY"===e.code||"y"===n)&&!e.shiftKey;if(r||l)return e.preventDefault(),e.stopPropagation(),void We(l||e.shiftKey?"redo":"undo");const o={b:"bold",i:"italic",u:"underline",k:"link"}[`${e.shiftKey?"shift+":""}${n}`];o&&Ie.includes(o)&&(e.preventDefault(),e.stopPropagation(),_e(o))},onPaste:t=>{const n=pe.current;if(S||!n||t.target!==n)return;t.preventDefault();const r=b({html:t.clipboardData.getData("text/html"),text:t.clipboardData.getData("text/plain")},{doc:n.ownerDocument,multiline:o,rules:Ye});Ve(t=>we(e,r,t))},style:ae&&ae.length>0?Object.fromEntries(ae.map(e=>[`--es-color-${e.name}`,e.value])):void 0,onSelect:()=>{const t=pe.current;t&&t.ownerDocument.activeElement===t&&ge({start:t.selectionStart??e.length,end:t.selectionEnd??e.length})},children:[ct&&(ht.words||ht.paragraph)?
|
|
10
|
+
/* @__PURE__ */J(D,{className:"es-copy-toolbar","aria-label":ee??ue.formatting,offered:dt,pressed:qe,onMark:e=>_e(e),color:it,linkOpen:null!==Ae,last:ut,alignment:pt,list:mt,letterCase:ce,disabled:S,windows:/* @__PURE__ */X(Z,{children:[Pe&&ae&&ae.length>0?/* @__PURE__ */J(y,{colors:ae,current:Je,words:ue.colors??E.colors,onPick:t=>{const{start:n,end:r}=Ge();if(n!==r)Ve(()=>Y(e,n,r,t,Ye));else{if(!Ce)return;Ke({add:Oe?.add??[],drop:Oe?.drop??[],color:t,at:n})}}}):null,Ae?Ae&&/* @__PURE__ */J(O,{className:"es-copy-link es-copy-pop",value:Ae.link?.href??"",onApply:t=>{const n=Ae;Ue(null),Ve(()=>Ce?_(e,n.start,n.end,t,Ye):Q(e,n.start,n.end,t))},onRemove:Ae.link?()=>{const t=Ae.link,n=Ae;Ue(null),t&&Ve(()=>Ce?q(e,n.start,n.end,Ye):G(e,t))}:void 0,onCancel:tt}):null]})}):null,se&&se.length>0?/* @__PURE__ */J(Te,{cells:se,words:ue.cells??E.cells,readOnly:S}):null,Ce?/* @__PURE__ */J(Ne,{value:e,rules:Ye,multiline:o,readOnly:S,placeholder:s,ariaLabel:c,handle:De,pending:Oe??void 0,onEdit:(t,n,r)=>{ye.record({text:e,start:n.start,end:n.end},r,Date.now()),Ke(null),be(t)},onSelect:e=>{ge(t=>t&&t.start===e.start&&t.end===e.end?t:e),!Oe||e.start===Oe.at&&e.end===Oe.at||Ke(null)},onHistory:We,onFormat:e=>{Ie.includes(e)&&_e(e)},onCommit:n,onCancel:l}):/* @__PURE__ */J(a,{value:e,onInput:e=>{ye.record(Se(null),"type",Date.now()),be(e)},onCommit:n,onCancel:l,multiline:o,placeholder:s,ariaLabel:c,rules:k,disabled:S,inputRef:pe,className:"es-copy-box"}),te?te({focused:me,insert:t=>Ve(n=>we(e,t,n))}):null,le&&o?
|
|
11
|
+
/* @__PURE__ */X("div",{className:"es-copy-marks",children:[
|
|
12
|
+
/* @__PURE__ */J(r,{checked:ke,onChange:()=>{const e=Fe();ze.current=e&&null!==e.selectionStart&&null!==e.selectionEnd?{start:e.selectionStart,end:e.selectionEnd}:fe,Ke(null),Ee(e=>!e)},ariaLabelledBy:Le,disabled:S}),
|
|
13
|
+
/* @__PURE__ */J("span",{id:Le,className:"es-copy-marks-label",children:ue.showMarks??"Show marks"})]}):null]})}var Fe=["left","center","right","justify"],He=E.align,$e={left:/* @__PURE__ */J(se,{}),center:/* @__PURE__ */J(ae,{}),right:/* @__PURE__ */J(oe,{}),justify:/* @__PURE__ */J(le,{})},Be={three:{labelsPx:94.5,widestLabelPx:39.94},four:{labelsPx:140,widestLabelPx:44}};function Ve(e,t=He){return Fe.filter(t=>e.includes(t)).map(e=>({id:e,label:t[e],icon:$e[e],title:t[e]}))}var We=["none","bullet","number"],ze=e,Ae={none:/* @__PURE__ */J(ge,{}),bullet:/* @__PURE__ */J(fe,{}),number:/* @__PURE__ */J(he,{})},Ue={none:/* @__PURE__ */J(Se,{}),upper:/* @__PURE__ */J(be,{}),capitalize:/* @__PURE__ */J(ve,{}),lower:/* @__PURE__ */J(ye,{})};function Ye({label:e,icon:t,answers:n,names:r,glyphs:a,row:s,readOnly:c}){const i=s.value||s.styleValue||"";/* @__PURE__ */
|
|
14
|
+
return J(l,{label:e,icon:t,children:/* @__PURE__ */J(o,{ariaLabel:e,value:i,disabled:c,onChange:e=>{c||s.onChange(function(e,t){return t===e.value||""===e.value&&t===e.styleValue?"":t}(s,e))},options:n.map(e=>({id:e,label:a[e],title:r[e]}))})})}function Ie({kept:e,keptHint:t,readOnly:r=!1,style:o,font:a,italic:s,cells:c,align:i,list:u,letterCase:d}){const p=C("copy",E),m={...E.panel,...p.panel},h=p.clearStyle??E.clearStyle,f=o&&!r?[o.onClearChanges&&{label:h,onSelect:o.onClearChanges},o.onEditStyles&&{label:m.editStyles,onSelect:o.onEditStyles},o.onUpdateStyle&&{label:m.updateStyle,onSelect:o.onUpdateStyle}].filter(e=>!!e):[],g=!!s&&(s.value??s.styleValue??!1),y=s?/* @__PURE__ */J(T,{content:m.italic,children:/* @__PURE__ */J(M,{size:"sm",variant:"ghost","aria-label":m.italic,"aria-pressed":g,disabled:r,onClick:()=>{if(r)return;const e=!g;s.onChange(e===(s.styleValue??!1)?void 0:e)},children:/* @__PURE__ */J(me,{})})}):null;/* @__PURE__ */
|
|
15
|
+
return X("div",{className:"es-tpp",children:[e?/* @__PURE__ */X("div",{className:"es-tpp-kept",children:[
|
|
16
|
+
/* @__PURE__ */J(je,{...e,readOnly:r||e.readOnly}),t?/* @__PURE__ */J("p",{className:"es-field-hint",children:t}):null]}):null,o?/* @__PURE__ */J(l,{label:m.style,icon:/* @__PURE__ */J(ce,{}),children:/* @__PURE__ */J(n,{ariaLabel:m.style,value:o.value,options:o.options,onChange:o.onChange,changed:o.changed,footer:f,readOnly:r})}):null,a?/* @__PURE__ */J(l,{label:m.font,icon:/* @__PURE__ */J(ie,{}),children:/* @__PURE__ */X("div",{className:"es-tpp-font",children:[
|
|
17
|
+
/* @__PURE__ */J("div",{className:"es-tpp-font-select",children:/* @__PURE__ */J(n,{ariaLabel:m.font,value:a.value||void 0,placeholder:a.styleValue,options:a.options,onChange:a.onChange,searchable:a.searchable,readOnly:r})}),y]})}):y?
|
|
18
|
+
/* @__PURE__ */J(l,{label:m.italic,icon:/* @__PURE__ */J(ie,{}),children:/* @__PURE__ */J("div",{className:"es-tpp-font",children:y})}):null,c?.length?/* @__PURE__ */J(Te,{cells:c,words:p.cells,readOnly:r}):null,i?/* @__PURE__ */J(Ye,{label:p.alignment,icon:/* @__PURE__ */J(ue,{}),answers:Fe.filter(e=>!i.allow||i.allow.includes(e)),names:p.align,glyphs:$e,row:i,readOnly:r}):null,u?/* @__PURE__ */J(Ye,{label:m.list,icon:/* @__PURE__ */J(de,{}),answers:We,names:m.lists,glyphs:Ae,row:u,readOnly:r}):null,d?/* @__PURE__ */J(Ye,{label:m.capitalization,icon:/* @__PURE__ */J(pe,{}),answers:ze,names:m.cases,glyphs:Ue,row:d,readOnly:r}):null]})}export{Fe as COPY_ALIGNS,Be as COPY_ALIGN_FIT,$e as COPY_ALIGN_GLYPHS,He as COPY_ALIGN_LABELS,Le as COPY_CELLS,je as CopyBox,Te as CopyCells,Pe as MarkBar,Ne as RichBox,Ie as TextPartPanel,Ke as ariaShortcut,Ve as copyAlignOptions,we as insertSelection,xe as markSelection,Me as useCaretEdit};
|
package/dist/easel/index.d.ts
CHANGED
|
@@ -8,11 +8,11 @@ import { c as ResolveTrigger, a as ResolveCache, R as ResolvableItem } from '../
|
|
|
8
8
|
import * as react from 'react';
|
|
9
9
|
import { ReactNode, CSSProperties, ComponentType, ReactElement } from 'react';
|
|
10
10
|
import { TextToolbarProps } from 'efficient-shell/ui';
|
|
11
|
-
import { C as CopyBoxLastTool, a as CopyThemeColor, b as CanvasTypingEnd } from '../canvas-typing-
|
|
11
|
+
import { C as CopyBoxLastTool, a as CopyThemeColor, b as CanvasTypingEnd } from '../canvas-typing-CZ11Y5tb.js';
|
|
12
12
|
import { InlineRule } from 'efficient-shell/markup';
|
|
13
13
|
import { b as NodeOpsHost, C as ClipboardEntry } from '../useNodeOps-BHRkUFfG.js';
|
|
14
14
|
import { I as InspectorFields } from '../types-Dkx1VAIQ.js';
|
|
15
|
-
import '../words-
|
|
15
|
+
import '../words-notpwHR2.js';
|
|
16
16
|
import '../buckets-Tj-nkBpg.js';
|
|
17
17
|
|
|
18
18
|
interface EaselOptions<C extends EaselConfig = EaselConfig> {
|
package/dist/easel/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{CanvasFrame,CanvasPassThroughContext,DEFAULT_UI,EaselCanvas,EaselProvider,EditDocument,bindUndoKeys,createEasel,createUseEasel,recordsByDefault,reduce,uiView,useEasel,useEaselApi,useEaselNodeOps,useSelectedFields,validSelection}from"../chunk-
|
|
1
|
+
export{CanvasFrame,CanvasPassThroughContext,DEFAULT_UI,EaselCanvas,EaselProvider,EditDocument,bindUndoKeys,createEasel,createUseEasel,recordsByDefault,reduce,uiView,useEasel,useEaselApi,useEaselNodeOps,useSelectedFields,validSelection}from"../chunk-KE2CXEIK.js";import"../chunk-TBY3DFKS.js";import"../chunk-YRLPFZW3.js";import"../chunk-ECM5F6JJ.js";import"../chunk-ILXP5VX5.js";import"../chunk-KRXQM65X.js";import"../chunk-NKB3KVAB.js";import"../chunk-WDQY6JMM.js";import"../chunk-33C6ALT5.js";import"../chunk-MFIRYGHW.js";
|
package/dist/fields/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{FieldText,Inspector,InspectorField,LinkPicker,ListField,bucketsOf,copyItem,insertAt,labelOf,moveTo,planFields,removeAt}from"../chunk-
|
|
1
|
+
export{FieldText,Inspector,InspectorField,LinkPicker,ListField,bucketsOf,copyItem,insertAt,labelOf,moveTo,planFields,removeAt}from"../chunk-2SOOKBHH.js";export{FieldSlider}from"../chunk-XWFH2NHZ.js";import"../chunk-4JSBIW5H.js";import"../chunk-RC25EGHD.js";import"../chunk-K56YDHYQ.js";import"../chunk-KFV7N2DJ.js";import"../chunk-EA2HTX37.js";import"../chunk-67GNT6PF.js";import"../chunk-P2VEMZH5.js";export{useResolvedFields}from"../chunk-YRLPFZW3.js";import"../chunk-KRXQM65X.js";import"../chunk-NKB3KVAB.js";export{FieldNumber}from"../chunk-2XMHLXMA.js";export{FieldSelect,optionFor}from"../chunk-G3GWAP5R.js";import"../chunk-36LVP5WD.js";import"../chunk-WRFD4EXD.js";import"../chunk-MFIRYGHW.js";
|
package/dist/panel/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export{DESIGN_GROUPS,SETTINGS_BUCKETS,SettingsGroup}from"../chunk-RC25EGHD.js";import{DEFAULT_PANEL_WORDS as e}from"../chunk-KFV7N2DJ.js";
|
|
1
|
+
export{DESIGN_GROUPS,SETTINGS_BUCKETS,SettingsGroup}from"../chunk-RC25EGHD.js";import{DEFAULT_PANEL_WORDS as e}from"../chunk-KFV7N2DJ.js";import{withTip as t}from"../chunk-P2VEMZH5.js";export{SettingsField,SettingsSegmented,SettingsSwitch}from"../chunk-36LVP5WD.js";import{Tabs as s,CountBadge as i,Tooltip as n}from"efficient-shell/ui";export{BorderInput as SettingsBorder,CornersInput as SettingsCorners,AlignmentGrid as SettingsPlacement,SidesInput as SettingsSides,SidesEachToggle as SettingsSidesEach,borderSides,borderStartEach,sidesStartEach}from"efficient-shell/ui";import{jsx as a,jsxs as l,Fragment as r}from"react/jsx-runtime";import{RevertIcon as d}from"efficient-shell/icons/efficient";function c(e){const t=e[0];if(!t?.htmlId||!t.htmlId.endsWith(`-tab-${t.id}`))return;const s=t.htmlId.slice(0,-`-tab-${t.id}`.length);return e.every(e=>e.htmlId===`${s}-tab-${e.id}`)?s:void 0}function o({items:t,activeId:n,onSelect:d,ariaLabel:o=e.settings,idPrefix:u,className:m}){
|
|
2
2
|
/* @__PURE__ */
|
|
3
3
|
return a("div",{className:"es-tabs-fit",children:/* @__PURE__ */a(s,{variant:"pill","aria-label":o,idPrefix:u??c(t),className:m?`es-tabs ${m}`:"es-tabs",value:n,onChange:d,items:t.map(e=>{const t="number"==typeof e.badge&&e.badge>0?/* @__PURE__ */a(i,{count:e.badge,tone:"accent"}):null;return e.icon?{id:e.id,tooltip:e.label,label:/* @__PURE__ */l(r,{children:[
|
|
4
4
|
/* @__PURE__ */l("span",{className:"es-tab-tip",children:[
|
package/dist/pick/index.d.ts
CHANGED
|
@@ -169,12 +169,28 @@ type ImageBoxProps = {
|
|
|
169
169
|
* media window, the shop asks the admin to, a test resolves a string — the
|
|
170
170
|
* box does not know or care. Absent: the box shows the picture but offers no
|
|
171
171
|
* way to change it.
|
|
172
|
+
*
|
|
173
|
+
* A file DROPPED on the box comes as `file`, already held to the box's kind
|
|
174
|
+
* and to `maxSizeBytes` by the shell's intake: the app uploads it however it
|
|
175
|
+
* uploads everything else, and resolves to its URL.
|
|
172
176
|
*/
|
|
173
|
-
openLibrary?: () => Promise<string | null>;
|
|
177
|
+
openLibrary?: (file?: File) => Promise<string | null>;
|
|
174
178
|
kind?: 'image' | 'video';
|
|
175
179
|
/** What the empty box says. Default "Choose an image" / "Choose a video". */
|
|
176
180
|
placeholder?: string;
|
|
177
181
|
readOnly?: boolean;
|
|
182
|
+
/**
|
|
183
|
+
* The picture's focus point, a CSS `object-position` string ("38% 64%").
|
|
184
|
+
* Given with `onFocusChange`, the dot sits ON the picture (the shell's
|
|
185
|
+
* `ImageFocusPoint`): one picture, never a second copy in a row of its own.
|
|
186
|
+
* Ignored for a video.
|
|
187
|
+
*/
|
|
188
|
+
focus?: string;
|
|
189
|
+
onFocusChange?: (focus: string) => void;
|
|
190
|
+
/** A dropped file larger than this is refused, with the reason announced. */
|
|
191
|
+
maxSizeBytes?: number;
|
|
192
|
+
/** Height of the filled picture in px. Default the shell's. */
|
|
193
|
+
height?: number;
|
|
178
194
|
/**
|
|
179
195
|
* The box's own words in the host's language:
|
|
180
196
|
* `useEaselStrings().pick.image` (0.95.0). Left out, English. A prop, not
|
|
@@ -183,19 +199,25 @@ type ImageBoxProps = {
|
|
|
183
199
|
words?: PickWords['image'];
|
|
184
200
|
};
|
|
185
201
|
/**
|
|
186
|
-
* ONE IMAGE BOX (blueprint step 4.6)
|
|
187
|
-
*
|
|
202
|
+
* ONE IMAGE BOX (blueprint step 4.6), and since 2026-10-19 ONE PICTURE FIELD:
|
|
203
|
+
* the shell's `MediaUploadField` (efficient-shell #528, first published in
|
|
204
|
+
* 7.61.0), not a box drawn here. Both editors draw their picture rows through
|
|
205
|
+
* this — the website's `upload()` rows and the email designer's image field —
|
|
206
|
+
* so both get the shell's look: the picture with its Change image bar and the
|
|
207
|
+
* bin on hover (always shown on a screen with no hover), the drop zone, and,
|
|
208
|
+
* given `focus` + `onFocusChange`, the focus dot on the picture itself
|
|
209
|
+
* (Lewis 2026-10-19: "one picture, one dot").
|
|
188
210
|
*
|
|
189
211
|
* The library is the APP's. Every editor opens a different one — the admin's
|
|
190
212
|
* media window with its product and storefront tabs, the shop's ask to the
|
|
191
213
|
* admin, a future host's own — so the box is handed `openLibrary` and opens
|
|
192
|
-
* nothing itself, never a native file dialog
|
|
214
|
+
* nothing itself, never a native file dialog: the shell field's `onPick` is
|
|
215
|
+
* always given, which is what keeps its own file dialog shut.
|
|
193
216
|
*
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
* picture covers the part it was meant to identify.
|
|
217
|
+
* What stays here is the box's own state: "Choosing" while the library is
|
|
218
|
+
* open (the shell's busy cover), and the line that says a library failed.
|
|
197
219
|
*/
|
|
198
|
-
declare function ImageBox({ value, onChange, label, openLibrary, kind, placeholder, readOnly, words, }: ImageBoxProps): react.JSX.Element;
|
|
220
|
+
declare function ImageBox({ value, onChange, label, openLibrary, kind, placeholder, readOnly, focus, onFocusChange, maxSizeBytes, height, words, }: ImageBoxProps): react.JSX.Element;
|
|
199
221
|
|
|
200
222
|
/**
|
|
201
223
|
* The colour maths the picker runs on — pure, no React, no DOM.
|
package/dist/pick/index.js
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
return
|
|
3
|
-
/* @__PURE__ */
|
|
4
|
-
/* @__PURE__ */s("span",{className:"es-pick-image-slot-name",children:d??("video"===m?u.chooseVideo:u.chooseImage)}),N?/* @__PURE__ */s("span",{className:"es-pick-image-slot-hint",children:u.hint}):null]}),v]});const y=e(n),x=y?u.named({label:r,name:y}):r;/* @__PURE__ */
|
|
5
|
-
return c("div",{className:"es-pick-image",children:[
|
|
6
|
-
/* @__PURE__ */c("figure",{className:"es-pick-image-figure",children:[
|
|
7
|
-
/* @__PURE__ */s("div",{className:"es-pick-image-frame",children:"video"===m?/* @__PURE__ */s("video",{src:n,muted:!0,playsInline:!0,preload:"metadata","aria-label":x}):/* @__PURE__ */s("img",{src:n,alt:x})}),y?i(y,/* @__PURE__ */s("figcaption",{className:"es-pick-image-name",children:y})):null]}),N||!p?/* @__PURE__ */c("div",{className:"es-pick-image-actions",children:[N?/* @__PURE__ */s("button",{type:"button",className:"es-pick-image-btn",onClick:f,disabled:h,"aria-label":u.replaceNamed({label:r}),children:u.replace}):null,p?null:/* @__PURE__ */s("button",{type:"button",className:"es-pick-image-btn is-bare",onClick:()=>o(""),disabled:h,"aria-label":u.removeNamed({label:r}),children:u.remove})]}):null,v]})}export{n as ImageBox};
|
|
1
|
+
export{ColourPicker,ColourWindow,HEX_MAX_LENGTH,hexReadout,hexToHsv,hsvToHex,hueFromPoint,mediaName,svFromPoint,typedHex}from"../chunk-5XUMLKQF.js";import{DEFAULT_PICK_WORDS as e}from"../chunk-643PVCEG.js";import{useState as o}from"react";import{MediaUploadField as a}from"efficient-shell/ui";import{jsxs as i,jsx as r}from"react/jsx-runtime";function l({value:l,onChange:n,label:c,openLibrary:s,kind:t="image",placeholder:m,readOnly:d=!1,focus:h,onFocusChange:u,maxSizeBytes:g,height:p,words:v=e.image}){const[f,y]=o(!1),[x,b]=o(!1),k=Boolean(s)&&!d;/* @__PURE__ */
|
|
2
|
+
return i("div",{className:"es-pick-image",children:[
|
|
3
|
+
/* @__PURE__ */r(a,{value:l,onChange:n,onPick:e=>{(async e=>{if(s&&!f&&!d){y(!0),b(!1);try{const o=await s(e);o&&n(o)}catch{b(!0)}finally{y(!1)}}})(e)},accept:"video"===t?"video/*":"image/*",kind:t,placeholder:m??("video"===t?v.chooseVideo:v.chooseImage),cta:k?v.hint:void 0,maxSizeBytes:g,height:p,allowReplace:k,allowRemove:!d,removeLabel:v.removeNamed({label:c}),focus:"image"===t?h:void 0,onFocusChange:"image"!==t||d?void 0:u,busy:f,busyLabel:v.choosing,disabled:d||!k&&!l}),x?/* @__PURE__ */r("p",{className:"es-pick-image-status is-error",role:"alert",children:v.failed}):null]})}export{l as ImageBox};
|
package/dist/pick/pick.css
CHANGED
|
@@ -196,90 +196,16 @@
|
|
|
196
196
|
mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
|
|
197
197
|
}
|
|
198
198
|
/* ── The image box ──────────────────────────────────────────────────────── */
|
|
199
|
+
/* The box itself is the shell's MediaUploadField (efficient-shell #528); only
|
|
200
|
+
the column and the failed-library line are drawn here. */
|
|
199
201
|
.es-pick-image {
|
|
200
202
|
display: flex;
|
|
201
203
|
flex-direction: column;
|
|
202
204
|
gap: 8px;
|
|
203
|
-
|
|
204
|
-
.
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
align-items: center;
|
|
208
|
-
justify-content: center;
|
|
209
|
-
gap: 4px;
|
|
210
|
-
min-height: 96px;
|
|
211
|
-
padding: 12px;
|
|
212
|
-
border: 1.5px dashed var(--es-input-border);
|
|
213
|
-
border-radius: var(--radius-lg);
|
|
214
|
-
background: var(--es-app-bg);
|
|
215
|
-
color: var(--es-text);
|
|
216
|
-
font: inherit;
|
|
217
|
-
cursor: pointer;
|
|
218
|
-
}
|
|
219
|
-
.es-pick-image-slot:hover:not(:disabled),
|
|
220
|
-
.es-pick-image-slot:focus-visible {
|
|
221
|
-
border-color: var(--es-accent);
|
|
222
|
-
background: var(--es-accent-tint);
|
|
223
|
-
}
|
|
224
|
-
.es-pick-image-slot:disabled {
|
|
225
|
-
cursor: default;
|
|
226
|
-
opacity: 0.6;
|
|
227
|
-
}
|
|
228
|
-
.es-pick-image-slot-name {
|
|
229
|
-
font-size: var(--text-xs, 12px);
|
|
230
|
-
font-weight: 600;
|
|
231
|
-
}
|
|
232
|
-
.es-pick-image-slot-hint {
|
|
233
|
-
font-size: var(--text-xs, 12px);
|
|
234
|
-
color: var(--es-muted);
|
|
235
|
-
}
|
|
236
|
-
.es-pick-image-figure {
|
|
237
|
-
margin: 0;
|
|
238
|
-
display: flex;
|
|
239
|
-
flex-direction: column;
|
|
240
|
-
gap: 8px;
|
|
241
|
-
}
|
|
242
|
-
.es-pick-image-frame {
|
|
243
|
-
height: 96px;
|
|
244
|
-
overflow: hidden;
|
|
245
|
-
border-radius: var(--radius-lg);
|
|
246
|
-
background: var(--es-app-bg);
|
|
247
|
-
}
|
|
248
|
-
.es-pick-image-frame img,
|
|
249
|
-
.es-pick-image-frame video {
|
|
250
|
-
display: block;
|
|
251
|
-
width: 100%;
|
|
252
|
-
height: 100%;
|
|
253
|
-
object-fit: cover;
|
|
254
|
-
}
|
|
255
|
-
.es-pick-image-name {
|
|
256
|
-
overflow: hidden;
|
|
257
|
-
font-size: var(--text-xs, 12px);
|
|
258
|
-
color: var(--es-muted);
|
|
259
|
-
text-overflow: ellipsis;
|
|
260
|
-
white-space: nowrap;
|
|
261
|
-
}
|
|
262
|
-
.es-pick-image-actions {
|
|
263
|
-
display: flex;
|
|
264
|
-
gap: 8px;
|
|
265
|
-
}
|
|
266
|
-
.es-pick-image-btn {
|
|
267
|
-
padding: 4px 12px;
|
|
268
|
-
border: 1px solid var(--es-input-border);
|
|
269
|
-
border-radius: var(--radius-md);
|
|
270
|
-
background: var(--es-panel);
|
|
271
|
-
color: var(--es-text);
|
|
272
|
-
font: 500 12px/1.3 var(--es-font);
|
|
273
|
-
cursor: pointer;
|
|
274
|
-
}
|
|
275
|
-
.es-pick-image-btn.is-bare {
|
|
276
|
-
border-color: transparent;
|
|
277
|
-
background: transparent;
|
|
278
|
-
color: var(--es-muted);
|
|
279
|
-
}
|
|
280
|
-
.es-pick-image-btn:hover:not(:disabled) {
|
|
281
|
-
border-color: var(--es-accent);
|
|
282
|
-
color: var(--es-text);
|
|
205
|
+
/* A host's field puts its control in a flex ROW (`.es-field-ctl`), where a
|
|
206
|
+
plain block shrinks to its content: the box takes the row instead. */
|
|
207
|
+
flex: 1 1 auto;
|
|
208
|
+
min-width: 0;
|
|
283
209
|
}
|
|
284
210
|
.es-pick-image-status {
|
|
285
211
|
margin: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{AddBlockRow as default}from"../../chunk-
|
|
1
|
+
export{AddBlockRow as default}from"../../chunk-XY5ZHRMR.js";import"../../chunk-HQ4VVRIC.js";import"../../chunk-WP7AZDCV.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-VVPZMWJE.js";import"../../chunk-2SOOKBHH.js";import"../../chunk-XWFH2NHZ.js";import"../../chunk-4JSBIW5H.js";import"../../chunk-RC25EGHD.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-KFV7N2DJ.js";import"../../chunk-EA2HTX37.js";import"../../chunk-67GNT6PF.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KE2CXEIK.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-ECM5F6JJ.js";import"../../chunk-ILXP5VX5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";import"../../chunk-2XMHLXMA.js";import"../../chunk-G3GWAP5R.js";import"../../chunk-36LVP5WD.js";import"../../chunk-WRFD4EXD.js";import"../../chunk-WDQY6JMM.js";import"../../chunk-33C6ALT5.js";import"../../chunk-MFIRYGHW.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{blockKey,AddSidePanel as default,sectionKey,templateKey}from"../../chunk-
|
|
1
|
+
export{blockKey,AddSidePanel as default,sectionKey,templateKey}from"../../chunk-UX7UJPC5.js";import"../../chunk-PA3PNTVV.js";import"../../chunk-5ZBY24K7.js";import"../../chunk-BVN33R76.js";import"../../chunk-62VPYC7F.js";import"../../chunk-KCOBHPN6.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-UMDQ6CLQ.js";import"../../chunk-HQ4VVRIC.js";import"../../chunk-WP7AZDCV.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-VVPZMWJE.js";import"../../chunk-IE55HNMA.js";import"../../chunk-Z6PVRXVY.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-2SOOKBHH.js";import"../../chunk-XWFH2NHZ.js";import"../../chunk-4JSBIW5H.js";import"../../chunk-RC25EGHD.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-KFV7N2DJ.js";import"../../chunk-EA2HTX37.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-QFVRMARS.js";import"../../chunk-AYWN5NRH.js";import"../../chunk-67GNT6PF.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KE2CXEIK.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-ECM5F6JJ.js";import"../../chunk-ILXP5VX5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";import"../../chunk-2XMHLXMA.js";import"../../chunk-G3GWAP5R.js";import"../../chunk-36LVP5WD.js";import"../../chunk-WRFD4EXD.js";import"../../chunk-WDQY6JMM.js";import"../../chunk-33C6ALT5.js";import"../../chunk-MFIRYGHW.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{MediaSidePanel as default}from"../../chunk-
|
|
1
|
+
export{MediaSidePanel as default}from"../../chunk-5QP7ZE35.js";import"../../chunk-WP7AZDCV.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-IE55HNMA.js";import"../../chunk-Z6PVRXVY.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-2SOOKBHH.js";import"../../chunk-XWFH2NHZ.js";import"../../chunk-4JSBIW5H.js";import"../../chunk-RC25EGHD.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-KFV7N2DJ.js";import"../../chunk-EA2HTX37.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-67GNT6PF.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KE2CXEIK.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-ECM5F6JJ.js";import"../../chunk-ILXP5VX5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";import"../../chunk-2XMHLXMA.js";import"../../chunk-G3GWAP5R.js";import"../../chunk-36LVP5WD.js";import"../../chunk-WRFD4EXD.js";import"../../chunk-WDQY6JMM.js";import"../../chunk-33C6ALT5.js";import"../../chunk-MFIRYGHW.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{PageEditGuardNotices as default}from"../../chunk-
|
|
1
|
+
export{PageEditGuardNotices as default}from"../../chunk-WUO2GBPO.js";import"../../chunk-47JTYRQC.js";import"../../chunk-GMCZXMOV.js";import"../../chunk-HNKB2ZYR.js";import"../../chunk-CLOS6SSX.js";import"../../chunk-S4AWJX4Q.js";import"../../chunk-KG7RJWOK.js";import"../../chunk-ERR437B5.js";import"../../chunk-VPFNZ7TB.js";import"../../chunk-LOMEH6DG.js";import"../../chunk-RLBXE4EU.js";import"../../chunk-KCOBHPN6.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-VVPZMWJE.js";import"../../chunk-IE55HNMA.js";import"../../chunk-Z6PVRXVY.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-NDRZP6YR.js";import"../../chunk-H6DDIBQ4.js";import"../../chunk-MFIRYGHW.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ScreenChrome as default}from"../../chunk-
|
|
1
|
+
export{ScreenChrome as default}from"../../chunk-5R7FE4VT.js";import"../../chunk-FGNR22NY.js";import"../../chunk-2GVCAIPX.js";import"../../chunk-26OOWIJJ.js";import"../../chunk-LZS7JZK5.js";import"../../chunk-ZE7I3PLX.js";import"../../chunk-FHLYUIJJ.js";import"../../chunk-7F52SZOI.js";import"../../chunk-MQNBD6AB.js";import"../../chunk-TBF5CVPA.js";import"../../chunk-DUVRZ456.js";import"../../chunk-6W7WLPZH.js";import"../../chunk-4ES5JGGX.js";import"../../chunk-IQ5TA7AM.js";import"../../chunk-5NM5TPAX.js";import"../../chunk-O3RLI7XE.js";import"../../chunk-X4VIDPKV.js";import"../../chunk-IYT6NN2J.js";import"../../chunk-KCBEE2MC.js";import"../../chunk-TZIIRGVY.js";import"../../chunk-5QP7ZE35.js";import"../../chunk-EC2I7SIY.js";import"../../chunk-WUO2GBPO.js";import"../../chunk-47JTYRQC.js";import"../../chunk-GMCZXMOV.js";import"../../chunk-HNKB2ZYR.js";import"../../chunk-CLOS6SSX.js";import"../../chunk-S4AWJX4Q.js";import"../../chunk-KG7RJWOK.js";import"../../chunk-ERR437B5.js";import"../../chunk-VPFNZ7TB.js";import"../../chunk-LOMEH6DG.js";import"../../chunk-RLBXE4EU.js";import"../../chunk-BSPCSC45.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";import"../../chunk-W4U4SHKW.js";import"../../chunk-RKTF5XLP.js";import"../../chunk-V7U33NF2.js";import"../../chunk-5545A3PC.js";import"../../chunk-UX7UJPC5.js";import"../../chunk-PA3PNTVV.js";import"../../chunk-5ZBY24K7.js";import"../../chunk-BVN33R76.js";import"../../chunk-62VPYC7F.js";import"../../chunk-KCOBHPN6.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-UMDQ6CLQ.js";import"../../chunk-HQ4VVRIC.js";import"../../chunk-WP7AZDCV.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-6WY6ZXJG.js";import"../../chunk-VVPZMWJE.js";import"../../chunk-IE55HNMA.js";import"../../chunk-Z6PVRXVY.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-2SOOKBHH.js";import"../../chunk-XWFH2NHZ.js";import"../../chunk-4JSBIW5H.js";import"../../chunk-RC25EGHD.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-KFV7N2DJ.js";import"../../chunk-BXMXTO36.js";import"../../chunk-EA2HTX37.js";import"../../chunk-OSPUG6S6.js";import"../../chunk-WK3AFPXY.js";import"../../chunk-4VJATVVR.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-NDRZP6YR.js";import"../../chunk-H6DDIBQ4.js";import"../../chunk-QFVRMARS.js";import"../../chunk-AYWN5NRH.js";import"../../chunk-67GNT6PF.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KE2CXEIK.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-ECM5F6JJ.js";import"../../chunk-ILXP5VX5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";import"../../chunk-2XMHLXMA.js";import"../../chunk-G3GWAP5R.js";import"../../chunk-36LVP5WD.js";import"../../chunk-WRFD4EXD.js";import"../../chunk-WDQY6JMM.js";import"../../chunk-33C6ALT5.js";import"../../chunk-MFIRYGHW.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ScreenDocumentContext,ScreenDocumentProvider,useScreenDocument}from"../../chunk-
|
|
1
|
+
export{ScreenDocumentContext,ScreenDocumentProvider,useScreenDocument}from"../../chunk-47JTYRQC.js";import"../../chunk-GMCZXMOV.js";import"../../chunk-HNKB2ZYR.js";import"../../chunk-CLOS6SSX.js";import"../../chunk-S4AWJX4Q.js";import"../../chunk-KG7RJWOK.js";import"../../chunk-ERR437B5.js";import"../../chunk-VPFNZ7TB.js";import"../../chunk-LOMEH6DG.js";import"../../chunk-RLBXE4EU.js";import"../../chunk-KCOBHPN6.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-VVPZMWJE.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-NDRZP6YR.js";import"../../chunk-H6DDIBQ4.js";import"../../chunk-MFIRYGHW.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{DocumentScreen,ScreenMount as default}from"../../chunk-
|
|
1
|
+
export{DocumentScreen,ScreenMount as default}from"../../chunk-WY5U4XFO.js";import"../../chunk-GXQCZJOP.js";import"../../chunk-CZYR5V77.js";import"../../chunk-5R7FE4VT.js";import"../../chunk-FGNR22NY.js";import"../../chunk-2GVCAIPX.js";import"../../chunk-26OOWIJJ.js";import"../../chunk-LZS7JZK5.js";import"../../chunk-ZE7I3PLX.js";import"../../chunk-FHLYUIJJ.js";import"../../chunk-7F52SZOI.js";import"../../chunk-MQNBD6AB.js";import"../../chunk-TBF5CVPA.js";import"../../chunk-DUVRZ456.js";import"../../chunk-6W7WLPZH.js";import"../../chunk-4ES5JGGX.js";import"../../chunk-IQ5TA7AM.js";import"../../chunk-5NM5TPAX.js";import"../../chunk-O3RLI7XE.js";import"../../chunk-X4VIDPKV.js";import"../../chunk-IYT6NN2J.js";import"../../chunk-KCBEE2MC.js";import"../../chunk-TZIIRGVY.js";import"../../chunk-5QP7ZE35.js";import"../../chunk-EC2I7SIY.js";import"../../chunk-WUO2GBPO.js";import"../../chunk-47JTYRQC.js";import"../../chunk-GMCZXMOV.js";import"../../chunk-HNKB2ZYR.js";import"../../chunk-CLOS6SSX.js";import"../../chunk-S4AWJX4Q.js";import"../../chunk-KG7RJWOK.js";import"../../chunk-ERR437B5.js";import"../../chunk-VPFNZ7TB.js";import"../../chunk-LOMEH6DG.js";import"../../chunk-RLBXE4EU.js";import"../../chunk-BSPCSC45.js";import"../../chunk-I54UCYOU.js";import"../../chunk-GOTN2KY4.js";import"../../chunk-R5L2E7JX.js";import"../../chunk-W4U4SHKW.js";import"../../chunk-RKTF5XLP.js";import"../../chunk-V7U33NF2.js";import"../../chunk-5545A3PC.js";import"../../chunk-UX7UJPC5.js";import"../../chunk-PA3PNTVV.js";import"../../chunk-5ZBY24K7.js";import"../../chunk-BVN33R76.js";import"../../chunk-62VPYC7F.js";import"../../chunk-KCOBHPN6.js";import"../../chunk-O7Q4DDJT.js";import"../../chunk-RSCMJIWS.js";import"../../chunk-UMDQ6CLQ.js";import"../../chunk-HQ4VVRIC.js";import"../../chunk-WP7AZDCV.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-6WY6ZXJG.js";import"../../chunk-VVPZMWJE.js";import"../../chunk-IE55HNMA.js";import"../../chunk-Z6PVRXVY.js";import"../../chunk-THWO5YVZ.js";import"../../chunk-RE4LP46F.js";import"../../chunk-2SOOKBHH.js";import"../../chunk-XWFH2NHZ.js";import"../../chunk-4JSBIW5H.js";import"../../chunk-RC25EGHD.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-KFV7N2DJ.js";import"../../chunk-BXMXTO36.js";import"../../chunk-EA2HTX37.js";import"../../chunk-OSPUG6S6.js";import"../../chunk-WK3AFPXY.js";import"../../chunk-4VJATVVR.js";import"../../chunk-MJM6SFD3.js";import"../../chunk-2OAZYSWJ.js";import"../../chunk-NDRZP6YR.js";import"../../chunk-H6DDIBQ4.js";import"../../chunk-QFVRMARS.js";import"../../chunk-AYWN5NRH.js";import"../../chunk-67GNT6PF.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KE2CXEIK.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-ECM5F6JJ.js";import"../../chunk-ILXP5VX5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";import"../../chunk-2XMHLXMA.js";import"../../chunk-G3GWAP5R.js";import"../../chunk-36LVP5WD.js";import"../../chunk-WRFD4EXD.js";import"../../chunk-WDQY6JMM.js";import"../../chunk-33C6ALT5.js";import"../../chunk-MFIRYGHW.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ScreenStoreProvider as default}from"../../chunk-
|
|
1
|
+
export{ScreenStoreProvider as default}from"../../chunk-CZYR5V77.js";import"../../chunk-WP7AZDCV.js";import"../../chunk-PLVEGYK6.js";import"../../chunk-R6WTQWAC.js";import"../../chunk-U3JP4VGF.js";import"../../chunk-2SOOKBHH.js";import"../../chunk-XWFH2NHZ.js";import"../../chunk-4JSBIW5H.js";import"../../chunk-RC25EGHD.js";import"../../chunk-K56YDHYQ.js";import"../../chunk-KFV7N2DJ.js";import"../../chunk-EA2HTX37.js";import"../../chunk-67GNT6PF.js";import"../../chunk-P2VEMZH5.js";import"../../chunk-KE2CXEIK.js";import"../../chunk-TBY3DFKS.js";import"../../chunk-YRLPFZW3.js";import"../../chunk-ECM5F6JJ.js";import"../../chunk-ILXP5VX5.js";import"../../chunk-KRXQM65X.js";import"../../chunk-NKB3KVAB.js";import"../../chunk-2XMHLXMA.js";import"../../chunk-G3GWAP5R.js";import"../../chunk-36LVP5WD.js";import"../../chunk-WRFD4EXD.js";import"../../chunk-WDQY6JMM.js";import"../../chunk-33C6ALT5.js";import"../../chunk-MFIRYGHW.js";
|