@payloadcms/richtext-lexical 3.59.0-internal.898dbd3 → 3.59.0-internal.d8b427e
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/exports/client/index.js +1 -1
- package/dist/exports/client/index.js.map +3 -3
- package/dist/features/blocks/premade/CodeBlock/Component/Code.d.ts +8 -0
- package/dist/features/blocks/premade/CodeBlock/Component/Code.d.ts.map +1 -1
- package/dist/features/blocks/premade/CodeBlock/Component/Code.js +5 -0
- package/dist/features/blocks/premade/CodeBlock/Component/Code.js.map +1 -1
- package/package.json +7 -7
|
@@ -62,5 +62,5 @@ ${e.map(ju).join(`
|
|
|
62
62
|
`+t.code:"")+"\n```",import:({children:t,closeMatch:e,openMatch:o})=>{let r=o?.[1];return t.startsWith(`
|
|
63
63
|
`)&&(t=t.slice(1)),t.endsWith(`
|
|
64
64
|
`)&&(t=t.slice(0,-1)),!!e&&!t.includes(`
|
|
65
|
-
`)&&o?.input?.trim()!=="```"+r?{code:r+(t?.length?t:""),language:""}:{code:t,language:r}}};import{jsx as eC}from"react/jsx-runtime";import{CodeField as tC,useFormFields as oC}from"@payloadcms/ui";import{useMemo as rC}from"react";var nC=({autoComplete:t,field:e,forceRender:o,languages:r={js:"JavaScript",plaintext:"Plain Text",ts:"TypeScript"},path:n,permissions:l,readOnly:i,renderedBlocks:s,schemaPath:u,typescript:c,validate:d})=>{let a=oC(([x])=>x.language),m=a?.value||a?.initialValue||"typescript",p=r[m],f=rC(()=>({...e,type:"code",admin:{...e.admin,editorOptions:{},language:m}}),[e,m]),h=`${e.name}-${m}-${p}`;return f&&eC(tC,{autoComplete:t,field:f,forceRender:o,onMount:(x,C)=>{C.editor.defineTheme("vs-dark",{base:"vs-dark",colors:{"editor.background":"#222222"},inherit:!0,rules:[]}),C.editor.defineTheme("vs",{base:"vs",colors:{"editor.background":"#f5f5f5"},inherit:!0,rules:[]}),C.languages.typescript.typescriptDefaults.setCompilerOptions({allowNonTsExtensions:!0,moduleResolution:C.languages.typescript.ModuleResolutionKind.NodeJs,paths:c?.paths,target:C.languages.typescript.ScriptTarget[c?.target??"ESNext"],typeRoots:c?.typeRoots??["node_modules/@types"]}),(async()=>{c?.fetchTypes&&Array.isArray(c.fetchTypes)&&c.fetchTypes.length>0&&await Promise.all(c.fetchTypes.map(async S=>{let k=await(await fetch(S.url)).text();C.languages.typescript.typescriptDefaults.addExtraLib(k,S.filePath)}))})()},path:n,permissions:l,readOnly:i,renderedBlocks:s,schemaPath:u,validate:d},h)};import{c as dC}from"react/compiler-runtime";import{jsx as Y,jsxs as oc,Fragment as mC}from"react/jsx-runtime";import{ChevronIcon as pC,CopyToClipboard as fC,Popup as hC,PopupList as rc,RenderFields as gC,useForm as xC,useFormFields as nc}from"@payloadcms/ui";import"react";import{jsx as za}from"react/jsx-runtime";import"react";var Za=()=>za("svg",{fill:"none",height:"12",viewBox:"0 0 15 12",width:"15",xmlns:"http://www.w3.org/2000/svg",children:za("path",{d:"M11.3738 8.62598L14.0404 5.95931L11.3738 3.29264M3.37376 3.29264L0.707092 5.95931L3.37376 8.62598M9.04043 0.625977L5.70709 11.2926",stroke:"currentColor",strokeLinecap:"square"})});import{jsx as qa}from"react/jsx-runtime";import"react";import{useCollapsible as iC}from"@payloadcms/ui";import{jsx as Ya}from"react/jsx-runtime";import"react";var Do=()=>Ya("svg",{fill:"none",height:"15",viewBox:"0 0 15 15",width:"15",xmlns:"http://www.w3.org/2000/svg",children:Ya("path",{d:"M7.16667 13.8333V9.83333M7.16667 9.83333L9.16667 11.8333M7.16667 9.83333L5.16667 11.8333M7.16667 4.5V0.5M7.16667 4.5L9.16667 2.5M7.16667 4.5L5.16667 2.5M1.83333 7.16667H0.5M5.83333 7.16667H4.5M9.83333 7.16667H8.5M13.8333 7.16667H12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})});var lC="code-block-collapse-button",Qa=()=>{let{toggle:t}=iC();return qa("button",{className:lC,onClick:t,type:"button",children:qa(Do,{})})};import{jsx as ec,jsxs as sC}from"react/jsx-runtime";import"react";import{useCollapsible as cC,useTranslation as uC}from"@payloadcms/ui";var aC="code-block-floating-collapse-button",tc=()=>{let{isCollapsed:t,toggle:e}=cC(),{t:o}=uC();return t?sC("button",{className:aC,onClick:e,type:"button",children:[ec("span",{children:o("general:collapse")}),ec(Do,{})]}):null};var Ue="payload-richtext-code-block",CC=t=>{let e=dC(14),{languages:o}=t,{BlockCollapsible:r,formSchema:n,RemoveButton:l}=ge(),{setModified:i}=xC(),{codeField:s}=nc(bC),u;e[0]!==i?(u=f=>{let[h,x]=f;return{selectedLanguageField:h?.language,setSelectedLanguage:C=>{x({type:"UPDATE",path:"language",value:C}),i(!0)}}},e[0]=i,e[1]=u):u=e[1];let{selectedLanguageField:c,setSelectedLanguage:d}=nc(u),a=o[c?.value],m=c?.value,p;if(e[2]!==r||e[3]!==l||e[4]!==s?.value||e[5]!==n||e[6]!==o||e[7]!==a||e[8]!==d||e[9]!==m){let f;e[11]!==o||e[12]!==d?(f=h=>{let{close:x}=h;return Y(rc.ButtonGroup,{children:Object.entries(o).map(C=>{let[T,S]=C;return Y(rc.Button,{active:!1,disabled:!1,onClick:()=>{d(T),x()},children:Y("span",{className:`${Ue}__language-code`,"data-language":T,children:S})},T)})})},e[11]=o,e[12]=d,e[13]=f):f=e[13],p=Y(r,{Actions:oc("div",{className:`${Ue}__actions`,children:[Y(hC,{button:oc("div",{className:`${Ue}__language-selector-button`,"data-selected-language":m,children:[Y("span",{children:a}),Y(pC,{className:`${Ue}__chevron`})]}),className:`${Ue}__language-selector`,horizontalAlign:"right",render:f,showScrollbar:!0,size:"large"}),Y(fC,{value:s?.value??""}),Y(Qa,{}),Y(l,{})]}),className:Ue,collapsibleProps:{AfterCollapsible:Y(tc,{}),disableHeaderToggle:!0,disableToggleIndicator:!0},Pill:Y("div",{className:`${Ue}__pill`,children:Y(Za,{})}),children:Y(mC,{children:Y(gC,{fields:n,forceRender:!0,parentIndexPath:"",parentPath:"",parentSchemaPath:"",permissions:!0})})}),e[2]=r,e[3]=l,e[4]=s?.value,e[5]=n,e[6]=o,e[7]=a,e[8]=d,e[9]=m,e[10]=p}else p=e[10];return p};function bC(t){let[e]=t;return{codeField:e?.code}}import{c as kC}from"react/compiler-runtime";import{jsx as st}from"react/jsx-runtime";import{FieldContext as _C,FieldPathContext as lc,ServerFunctionsContext as ic,ShimmerEffect as TC,useServerFunctions as wC}from"@payloadcms/ui";import EC,{useEffect as SC,useRef as NC}from"react";var LC=t=>{let e=kC(9),{field:o,initialValue:r,Loading:n,path:l,schemaPath:i,setValue:s,value:u}=t,[c,d]=EC.useState(null),a=wC(),{_internal_renderField:m}=a,[p,f]=i.split("."),h=l??(o&&"name"in o?o?.name:"")??"",x;e[0]!==m||e[1]!==o||e[2]!==r||e[3]!==l||e[4]!==i?(x=()=>{(async function(){let{Field:y}=await m({field:{...o||{},type:"richText",admin:{hidden:!1}},initialValue:r??void 0,path:l,schemaPath:i});d(y)})()},e[0]=m,e[1]=o,e[2]=r,e[3]=l,e[4]=i,e[5]=x):x=e[5];let C=x,T=NC(!1),S,b;if(e[6]!==C?(S=()=>{T.current||(T.current=!0,C())},b=[C],e[6]=C,e[7]=S,e[8]=b):(S=e[7],b=e[8]),SC(S,b),!c)return typeof n<"u"?n:st(TC,{});let k={...a,getFormState:async w=>a.getFormState({...w,collectionSlug:p==="collection"?f:void 0,globalSlug:p==="global"?f:void 0})};if(typeof u>"u"&&!s)return st(ic,{value:{...k},children:st(lc,{value:h,children:c},h)});let g={disabled:!1,formInitializing:!1,formProcessing:!1,formSubmitted:!1,initialValue:u,path:h,setValue:s??yC,showError:!1,value:u};return st(ic,{value:{...k},children:st(lc,{value:h,children:st(_C,{value:g,children:c})},h)})};function yC(){}function RC({nodes:t,text:e}){let o={root:{type:"root",children:[],direction:"ltr",format:"",indent:0,version:1}};return e&&o.root.children.push({type:"paragraph",children:[{type:"text",detail:0,format:0,mode:"normal",style:"",text:e,version:1}],direction:"ltr",format:"",indent:0,textFormat:0,textStyle:"",version:1}),t?.length&&o.root.children.push(...t),o}export{Tt as $createAutoLinkNode,Ae as $createBlockNode,ct as $createInlineBlockNode,Ce as $createLinkNode,je as $createRelationshipNode,Me as $createUploadNode,ke as $isAutoLinkNode,De as $isBlockNode,ut as $isInlineBlockNode,K as $isLinkNode,wr as $isRelationshipNode,it as $isUploadNode,kc as AlignFeatureClient,be as AutoLinkNode,Vx as BlockCollapsible,Xx as BlockEditButton,se as BlockNode,Yx as BlockRemoveButton,Sc as BlockquoteFeatureClient,Iu as BlocksFeatureClient,Qu as BoldFeatureClient,le as CAN_USE_DOM,of as ChecklistFeatureClient,CC as CodeBlockBlockComponent,nC as CodeComponent,Jf as DETAIL_TYPE_TO_DETAIL,Wf as DOUBLE_LINE_BREAK,n0 as DebugJsxConverterFeatureClient,zf as ELEMENT_FORMAT_TO_TYPE,Xf as ELEMENT_TYPE_TO_FORMAT,pc as ENABLE_SLASH_MENU_COMMAND,cc as EditorConfigProvider,dt as FieldsDrawer,N1 as FixedToolbarFeatureClient,Xd as HeadingFeatureClient,mm as HorizontalRuleFeatureClient,Je as INSERT_BLOCK_COMMAND,Xe as INSERT_INLINE_BLOCK_COMMAND,Hf as IS_ALL_FORMATTING,ym as IndentFeatureClient,Wx as InlineBlockContainer,Ax as InlineBlockEditButton,jx as InlineBlockLabel,at as InlineBlockNode,Fx as InlineBlockRemoveButton,nd as InlineCodeFeatureClient,F1 as InlineToolbarFeatureClient,ad as ItalicFeatureClient,Vf as LTR_REGEX,Sf as LexicalPluginToLexicalFeatureClient,Hp as LinkFeatureClient,oe as LinkNode,Uf as NON_BREAKING_SPACE,$ as NodeFormat,df as OrderedListFeatureClient,Df as ParagraphFeatureClient,dc as Point,Gf as RTL_REGEX,fc as Rect,G0 as RelationshipFeatureClient,Te as RelationshipNode,LC as RenderLexical,Ex as RichTextField,vf as SlateToLexicalFeatureClient,pd as StrikethroughFeatureClient,xd as SubscriptFeatureClient,_d as SuperscriptFeatureClient,Zf as TEXT_MODE_TO_TYPE,Kf as TEXT_TYPE_TO_FORMAT,Yf as TEXT_TYPE_TO_MODE,de as TOGGLE_LINK_COMMAND,yg as TableFeatureClient,Gu as TestRecorderFeatureClient,Fd as TextStateFeatureClient,Dt as ToolbarButton,He as ToolbarDropdown,zu as TreeViewFeatureClient,Nd as UnderlineFeatureClient,bf as UnorderedListFeatureClient,fx as UploadFeatureClient,ie as UploadNode,vx as addSwipeDownListener,yx as addSwipeLeftListener,Rx as addSwipeRightListener,Ix as addSwipeUpListener,RC as buildEditorState,Xa as codeConverterClient,tr as createBlockNode,M as createClientFeature,l0 as defaultColors,Io as defaultEditorLexicalConfig,yr as getDOMRangeRect,hc as getEnabledNodes,Qx as getRestPopulateFn,ze as getSelectedNode,Sx as isHTMLElement,mc as isPoint,Nx as joinClasses,zr as sanitizeClientEditorConfig,Ka as sanitizeClientFeatures,bo as setFloatingElemPosition,po as setFloatingElemPositionForLinkEditor,z as slashMenuBasicGroupWithItems,xe as toolbarAddDropdownGroupWithItems,rr as toolbarFeatureButtonsGroupWithItems,Z as toolbarFormatGroupWithItems,ee as toolbarTextDropdownGroupWithItems,ge as useBlockComponentContext,j as useEditorConfigContext,he as useInlineBlockComponentContext,uc as useLexicalDocumentDrawer,fe as useLexicalDrawer,Mt as useLexicalListDrawer};
|
|
65
|
+
`)&&o?.input?.trim()!=="```"+r?{code:r+(t?.length?t:""),language:""}:{code:t,language:r}}};import{jsx as eC}from"react/jsx-runtime";import{CodeField as tC,useFormFields as oC}from"@payloadcms/ui";import{useMemo as rC}from"react";var nC=({autoComplete:t,field:e,forceRender:o,languages:r={js:"JavaScript",plaintext:"Plain Text",ts:"TypeScript"},path:n,permissions:l,readOnly:i,renderedBlocks:s,schemaPath:u,typescript:c,validate:d})=>{let a=oC(([x])=>x.language),m=a?.value||a?.initialValue||"typescript",p=r[m],f=rC(()=>({...e,type:"code",admin:{...e.admin,editorOptions:{},language:m}}),[e,m]),h=`${e.name}-${m}-${p}`;return f&&eC(tC,{autoComplete:t,field:f,forceRender:o,onMount:(x,C)=>{C.editor.defineTheme("vs-dark",{base:"vs-dark",colors:{"editor.background":"#222222"},inherit:!0,rules:[]}),C.editor.defineTheme("vs",{base:"vs",colors:{"editor.background":"#f5f5f5"},inherit:!0,rules:[]}),C.languages.typescript.typescriptDefaults.setCompilerOptions({allowNonTsExtensions:!0,jsx:4,moduleResolution:C.languages.typescript.ModuleResolutionKind.NodeJs,paths:c?.paths,target:C.languages.typescript.ScriptTarget[c?.target??"ESNext"],typeRoots:c?.typeRoots??["node_modules/@types"]}),C.languages.typescript.javascriptDefaults.setDiagnosticsOptions({noSemanticValidation:!c?.enableSemanticValidation,noSyntaxValidation:!1}),(async()=>{c?.fetchTypes&&Array.isArray(c.fetchTypes)&&c.fetchTypes.length>0&&await Promise.all(c.fetchTypes.map(async S=>{let k=await(await fetch(S.url)).text();C.languages.typescript.typescriptDefaults.addExtraLib(k,S.filePath)}))})()},path:n,permissions:l,readOnly:i,renderedBlocks:s,schemaPath:u,validate:d},h)};import{c as dC}from"react/compiler-runtime";import{jsx as Y,jsxs as oc,Fragment as mC}from"react/jsx-runtime";import{ChevronIcon as pC,CopyToClipboard as fC,Popup as hC,PopupList as rc,RenderFields as gC,useForm as xC,useFormFields as nc}from"@payloadcms/ui";import"react";import{jsx as za}from"react/jsx-runtime";import"react";var Za=()=>za("svg",{fill:"none",height:"12",viewBox:"0 0 15 12",width:"15",xmlns:"http://www.w3.org/2000/svg",children:za("path",{d:"M11.3738 8.62598L14.0404 5.95931L11.3738 3.29264M3.37376 3.29264L0.707092 5.95931L3.37376 8.62598M9.04043 0.625977L5.70709 11.2926",stroke:"currentColor",strokeLinecap:"square"})});import{jsx as qa}from"react/jsx-runtime";import"react";import{useCollapsible as iC}from"@payloadcms/ui";import{jsx as Ya}from"react/jsx-runtime";import"react";var Do=()=>Ya("svg",{fill:"none",height:"15",viewBox:"0 0 15 15",width:"15",xmlns:"http://www.w3.org/2000/svg",children:Ya("path",{d:"M7.16667 13.8333V9.83333M7.16667 9.83333L9.16667 11.8333M7.16667 9.83333L5.16667 11.8333M7.16667 4.5V0.5M7.16667 4.5L9.16667 2.5M7.16667 4.5L5.16667 2.5M1.83333 7.16667H0.5M5.83333 7.16667H4.5M9.83333 7.16667H8.5M13.8333 7.16667H12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})});var lC="code-block-collapse-button",Qa=()=>{let{toggle:t}=iC();return qa("button",{className:lC,onClick:t,type:"button",children:qa(Do,{})})};import{jsx as ec,jsxs as sC}from"react/jsx-runtime";import"react";import{useCollapsible as cC,useTranslation as uC}from"@payloadcms/ui";var aC="code-block-floating-collapse-button",tc=()=>{let{isCollapsed:t,toggle:e}=cC(),{t:o}=uC();return t?sC("button",{className:aC,onClick:e,type:"button",children:[ec("span",{children:o("general:collapse")}),ec(Do,{})]}):null};var Ue="payload-richtext-code-block",CC=t=>{let e=dC(14),{languages:o}=t,{BlockCollapsible:r,formSchema:n,RemoveButton:l}=ge(),{setModified:i}=xC(),{codeField:s}=nc(bC),u;e[0]!==i?(u=f=>{let[h,x]=f;return{selectedLanguageField:h?.language,setSelectedLanguage:C=>{x({type:"UPDATE",path:"language",value:C}),i(!0)}}},e[0]=i,e[1]=u):u=e[1];let{selectedLanguageField:c,setSelectedLanguage:d}=nc(u),a=o[c?.value],m=c?.value,p;if(e[2]!==r||e[3]!==l||e[4]!==s?.value||e[5]!==n||e[6]!==o||e[7]!==a||e[8]!==d||e[9]!==m){let f;e[11]!==o||e[12]!==d?(f=h=>{let{close:x}=h;return Y(rc.ButtonGroup,{children:Object.entries(o).map(C=>{let[T,S]=C;return Y(rc.Button,{active:!1,disabled:!1,onClick:()=>{d(T),x()},children:Y("span",{className:`${Ue}__language-code`,"data-language":T,children:S})},T)})})},e[11]=o,e[12]=d,e[13]=f):f=e[13],p=Y(r,{Actions:oc("div",{className:`${Ue}__actions`,children:[Y(hC,{button:oc("div",{className:`${Ue}__language-selector-button`,"data-selected-language":m,children:[Y("span",{children:a}),Y(pC,{className:`${Ue}__chevron`})]}),className:`${Ue}__language-selector`,horizontalAlign:"right",render:f,showScrollbar:!0,size:"large"}),Y(fC,{value:s?.value??""}),Y(Qa,{}),Y(l,{})]}),className:Ue,collapsibleProps:{AfterCollapsible:Y(tc,{}),disableHeaderToggle:!0,disableToggleIndicator:!0},Pill:Y("div",{className:`${Ue}__pill`,children:Y(Za,{})}),children:Y(mC,{children:Y(gC,{fields:n,forceRender:!0,parentIndexPath:"",parentPath:"",parentSchemaPath:"",permissions:!0})})}),e[2]=r,e[3]=l,e[4]=s?.value,e[5]=n,e[6]=o,e[7]=a,e[8]=d,e[9]=m,e[10]=p}else p=e[10];return p};function bC(t){let[e]=t;return{codeField:e?.code}}import{c as kC}from"react/compiler-runtime";import{jsx as st}from"react/jsx-runtime";import{FieldContext as _C,FieldPathContext as lc,ServerFunctionsContext as ic,ShimmerEffect as TC,useServerFunctions as wC}from"@payloadcms/ui";import EC,{useEffect as SC,useRef as NC}from"react";var LC=t=>{let e=kC(9),{field:o,initialValue:r,Loading:n,path:l,schemaPath:i,setValue:s,value:u}=t,[c,d]=EC.useState(null),a=wC(),{_internal_renderField:m}=a,[p,f]=i.split("."),h=l??(o&&"name"in o?o?.name:"")??"",x;e[0]!==m||e[1]!==o||e[2]!==r||e[3]!==l||e[4]!==i?(x=()=>{(async function(){let{Field:y}=await m({field:{...o||{},type:"richText",admin:{hidden:!1}},initialValue:r??void 0,path:l,schemaPath:i});d(y)})()},e[0]=m,e[1]=o,e[2]=r,e[3]=l,e[4]=i,e[5]=x):x=e[5];let C=x,T=NC(!1),S,b;if(e[6]!==C?(S=()=>{T.current||(T.current=!0,C())},b=[C],e[6]=C,e[7]=S,e[8]=b):(S=e[7],b=e[8]),SC(S,b),!c)return typeof n<"u"?n:st(TC,{});let k={...a,getFormState:async w=>a.getFormState({...w,collectionSlug:p==="collection"?f:void 0,globalSlug:p==="global"?f:void 0})};if(typeof u>"u"&&!s)return st(ic,{value:{...k},children:st(lc,{value:h,children:c},h)});let g={disabled:!1,formInitializing:!1,formProcessing:!1,formSubmitted:!1,initialValue:u,path:h,setValue:s??yC,showError:!1,value:u};return st(ic,{value:{...k},children:st(lc,{value:h,children:st(_C,{value:g,children:c})},h)})};function yC(){}function RC({nodes:t,text:e}){let o={root:{type:"root",children:[],direction:"ltr",format:"",indent:0,version:1}};return e&&o.root.children.push({type:"paragraph",children:[{type:"text",detail:0,format:0,mode:"normal",style:"",text:e,version:1}],direction:"ltr",format:"",indent:0,textFormat:0,textStyle:"",version:1}),t?.length&&o.root.children.push(...t),o}export{Tt as $createAutoLinkNode,Ae as $createBlockNode,ct as $createInlineBlockNode,Ce as $createLinkNode,je as $createRelationshipNode,Me as $createUploadNode,ke as $isAutoLinkNode,De as $isBlockNode,ut as $isInlineBlockNode,K as $isLinkNode,wr as $isRelationshipNode,it as $isUploadNode,kc as AlignFeatureClient,be as AutoLinkNode,Vx as BlockCollapsible,Xx as BlockEditButton,se as BlockNode,Yx as BlockRemoveButton,Sc as BlockquoteFeatureClient,Iu as BlocksFeatureClient,Qu as BoldFeatureClient,le as CAN_USE_DOM,of as ChecklistFeatureClient,CC as CodeBlockBlockComponent,nC as CodeComponent,Jf as DETAIL_TYPE_TO_DETAIL,Wf as DOUBLE_LINE_BREAK,n0 as DebugJsxConverterFeatureClient,zf as ELEMENT_FORMAT_TO_TYPE,Xf as ELEMENT_TYPE_TO_FORMAT,pc as ENABLE_SLASH_MENU_COMMAND,cc as EditorConfigProvider,dt as FieldsDrawer,N1 as FixedToolbarFeatureClient,Xd as HeadingFeatureClient,mm as HorizontalRuleFeatureClient,Je as INSERT_BLOCK_COMMAND,Xe as INSERT_INLINE_BLOCK_COMMAND,Hf as IS_ALL_FORMATTING,ym as IndentFeatureClient,Wx as InlineBlockContainer,Ax as InlineBlockEditButton,jx as InlineBlockLabel,at as InlineBlockNode,Fx as InlineBlockRemoveButton,nd as InlineCodeFeatureClient,F1 as InlineToolbarFeatureClient,ad as ItalicFeatureClient,Vf as LTR_REGEX,Sf as LexicalPluginToLexicalFeatureClient,Hp as LinkFeatureClient,oe as LinkNode,Uf as NON_BREAKING_SPACE,$ as NodeFormat,df as OrderedListFeatureClient,Df as ParagraphFeatureClient,dc as Point,Gf as RTL_REGEX,fc as Rect,G0 as RelationshipFeatureClient,Te as RelationshipNode,LC as RenderLexical,Ex as RichTextField,vf as SlateToLexicalFeatureClient,pd as StrikethroughFeatureClient,xd as SubscriptFeatureClient,_d as SuperscriptFeatureClient,Zf as TEXT_MODE_TO_TYPE,Kf as TEXT_TYPE_TO_FORMAT,Yf as TEXT_TYPE_TO_MODE,de as TOGGLE_LINK_COMMAND,yg as TableFeatureClient,Gu as TestRecorderFeatureClient,Fd as TextStateFeatureClient,Dt as ToolbarButton,He as ToolbarDropdown,zu as TreeViewFeatureClient,Nd as UnderlineFeatureClient,bf as UnorderedListFeatureClient,fx as UploadFeatureClient,ie as UploadNode,vx as addSwipeDownListener,yx as addSwipeLeftListener,Rx as addSwipeRightListener,Ix as addSwipeUpListener,RC as buildEditorState,Xa as codeConverterClient,tr as createBlockNode,M as createClientFeature,l0 as defaultColors,Io as defaultEditorLexicalConfig,yr as getDOMRangeRect,hc as getEnabledNodes,Qx as getRestPopulateFn,ze as getSelectedNode,Sx as isHTMLElement,mc as isPoint,Nx as joinClasses,zr as sanitizeClientEditorConfig,Ka as sanitizeClientFeatures,bo as setFloatingElemPosition,po as setFloatingElemPositionForLinkEditor,z as slashMenuBasicGroupWithItems,xe as toolbarAddDropdownGroupWithItems,rr as toolbarFeatureButtonsGroupWithItems,Z as toolbarFormatGroupWithItems,ee as toolbarTextDropdownGroupWithItems,ge as useBlockComponentContext,j as useEditorConfigContext,he as useInlineBlockComponentContext,uc as useLexicalDocumentDrawer,fe as useLexicalDrawer,Mt as useLexicalListDrawer};
|
|
66
66
|
//# sourceMappingURL=index.js.map
|