@frogbotai/richtext-lexical 0.25.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.
Files changed (339) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +3 -0
  3. package/dist/exports/client/index.d.ts +3 -0
  4. package/dist/exports/client/index.d.ts.map +1 -0
  5. package/dist/exports/client/index.js +3 -0
  6. package/dist/exports/client/index.js.map +1 -0
  7. package/dist/exports/html/index.d.ts +2 -0
  8. package/dist/exports/html/index.d.ts.map +1 -0
  9. package/dist/exports/html/index.js +2 -0
  10. package/dist/exports/html/index.js.map +1 -0
  11. package/dist/exports/html-async/index.d.ts +2 -0
  12. package/dist/exports/html-async/index.d.ts.map +1 -0
  13. package/dist/exports/html-async/index.js +2 -0
  14. package/dist/exports/html-async/index.js.map +1 -0
  15. package/dist/exports/plaintext/index.d.ts +2 -0
  16. package/dist/exports/plaintext/index.d.ts.map +1 -0
  17. package/dist/exports/plaintext/index.js +2 -0
  18. package/dist/exports/plaintext/index.js.map +1 -0
  19. package/dist/exports/react/index.d.ts +3 -0
  20. package/dist/exports/react/index.d.ts.map +1 -0
  21. package/dist/exports/react/index.js +2 -0
  22. package/dist/exports/react/index.js.map +1 -0
  23. package/dist/exports/server/ast/mdx.d.ts +2 -0
  24. package/dist/exports/server/ast/mdx.d.ts.map +1 -0
  25. package/dist/exports/server/ast/mdx.js +2 -0
  26. package/dist/exports/server/ast/mdx.js.map +1 -0
  27. package/dist/exports/server/rsc.d.ts +2 -0
  28. package/dist/exports/server/rsc.d.ts.map +1 -0
  29. package/dist/exports/server/rsc.js +2 -0
  30. package/dist/exports/server/rsc.js.map +1 -0
  31. package/dist/exports/shared.d.ts +2 -0
  32. package/dist/exports/shared.d.ts.map +1 -0
  33. package/dist/exports/shared.js +2 -0
  34. package/dist/exports/shared.js.map +1 -0
  35. package/dist/features/blocks/premade/CodeBlock/index.d.ts +13 -0
  36. package/dist/features/blocks/premade/CodeBlock/index.d.ts.map +1 -0
  37. package/dist/features/blocks/premade/CodeBlock/index.js +29 -0
  38. package/dist/features/blocks/premade/CodeBlock/index.js.map +1 -0
  39. package/dist/features/blocks/server/index.d.ts +29 -0
  40. package/dist/features/blocks/server/index.d.ts.map +1 -0
  41. package/dist/features/blocks/server/index.js +17 -0
  42. package/dist/features/blocks/server/index.js.map +1 -0
  43. package/dist/features/converters/lexicalToHtml/async/field/index.d.ts +6 -0
  44. package/dist/features/converters/lexicalToHtml/async/field/index.d.ts.map +1 -0
  45. package/dist/features/converters/lexicalToHtml/async/field/index.js +42 -0
  46. package/dist/features/converters/lexicalToHtml/async/field/index.js.map +1 -0
  47. package/dist/features/converters/utilities/frogbotPopulateFn.d.ts +14 -0
  48. package/dist/features/converters/utilities/frogbotPopulateFn.d.ts.map +1 -0
  49. package/dist/features/converters/utilities/frogbotPopulateFn.js +16 -0
  50. package/dist/features/converters/utilities/frogbotPopulateFn.js.map +1 -0
  51. package/dist/features/typeUtilities.d.ts +4 -0
  52. package/dist/features/typeUtilities.d.ts.map +1 -0
  53. package/dist/features/typeUtilities.js +4 -0
  54. package/dist/features/typeUtilities.js.map +1 -0
  55. package/dist/features/typesServer.d.ts +50 -0
  56. package/dist/features/typesServer.d.ts.map +1 -0
  57. package/dist/features/typesServer.js +2 -0
  58. package/dist/features/typesServer.js.map +1 -0
  59. package/dist/index.d.ts +10 -0
  60. package/dist/index.d.ts.map +1 -0
  61. package/dist/index.js +9 -0
  62. package/dist/index.js.map +1 -0
  63. package/dist/lexical-proxy/headless.d.ts +2 -0
  64. package/dist/lexical-proxy/headless.d.ts.map +1 -0
  65. package/dist/lexical-proxy/headless.js +2 -0
  66. package/dist/lexical-proxy/headless.js.map +1 -0
  67. package/dist/lexical-proxy/html.d.ts +2 -0
  68. package/dist/lexical-proxy/html.d.ts.map +1 -0
  69. package/dist/lexical-proxy/html.js +2 -0
  70. package/dist/lexical-proxy/html.js.map +1 -0
  71. package/dist/lexical-proxy/lexical.d.ts +2 -0
  72. package/dist/lexical-proxy/lexical.d.ts.map +1 -0
  73. package/dist/lexical-proxy/lexical.js +2 -0
  74. package/dist/lexical-proxy/lexical.js.map +1 -0
  75. package/dist/lexical-proxy/link.d.ts +2 -0
  76. package/dist/lexical-proxy/link.d.ts.map +1 -0
  77. package/dist/lexical-proxy/link.js +2 -0
  78. package/dist/lexical-proxy/link.js.map +1 -0
  79. package/dist/lexical-proxy/list.d.ts +2 -0
  80. package/dist/lexical-proxy/list.d.ts.map +1 -0
  81. package/dist/lexical-proxy/list.js +2 -0
  82. package/dist/lexical-proxy/list.js.map +1 -0
  83. package/dist/lexical-proxy/mark.d.ts +2 -0
  84. package/dist/lexical-proxy/mark.d.ts.map +1 -0
  85. package/dist/lexical-proxy/mark.js +2 -0
  86. package/dist/lexical-proxy/mark.js.map +1 -0
  87. package/dist/lexical-proxy/markdown.d.ts +2 -0
  88. package/dist/lexical-proxy/markdown.d.ts.map +1 -0
  89. package/dist/lexical-proxy/markdown.js +2 -0
  90. package/dist/lexical-proxy/markdown.js.map +1 -0
  91. package/dist/lexical-proxy/react/ExtensionComponent.d.ts +2 -0
  92. package/dist/lexical-proxy/react/ExtensionComponent.d.ts.map +1 -0
  93. package/dist/lexical-proxy/react/ExtensionComponent.js +2 -0
  94. package/dist/lexical-proxy/react/ExtensionComponent.js.map +1 -0
  95. package/dist/lexical-proxy/react/LexicalAutoEmbedPlugin.d.ts +2 -0
  96. package/dist/lexical-proxy/react/LexicalAutoEmbedPlugin.d.ts.map +1 -0
  97. package/dist/lexical-proxy/react/LexicalAutoEmbedPlugin.js +2 -0
  98. package/dist/lexical-proxy/react/LexicalAutoEmbedPlugin.js.map +1 -0
  99. package/dist/lexical-proxy/react/LexicalAutoFocusPlugin.d.ts +2 -0
  100. package/dist/lexical-proxy/react/LexicalAutoFocusPlugin.d.ts.map +1 -0
  101. package/dist/lexical-proxy/react/LexicalAutoFocusPlugin.js +2 -0
  102. package/dist/lexical-proxy/react/LexicalAutoFocusPlugin.js.map +1 -0
  103. package/dist/lexical-proxy/react/LexicalAutoLinkPlugin.d.ts +2 -0
  104. package/dist/lexical-proxy/react/LexicalAutoLinkPlugin.d.ts.map +1 -0
  105. package/dist/lexical-proxy/react/LexicalAutoLinkPlugin.js +2 -0
  106. package/dist/lexical-proxy/react/LexicalAutoLinkPlugin.js.map +1 -0
  107. package/dist/lexical-proxy/react/LexicalBlockWithAlignableContents.d.ts +2 -0
  108. package/dist/lexical-proxy/react/LexicalBlockWithAlignableContents.d.ts.map +1 -0
  109. package/dist/lexical-proxy/react/LexicalBlockWithAlignableContents.js +2 -0
  110. package/dist/lexical-proxy/react/LexicalBlockWithAlignableContents.js.map +1 -0
  111. package/dist/lexical-proxy/react/LexicalCharacterLimitPlugin.d.ts +2 -0
  112. package/dist/lexical-proxy/react/LexicalCharacterLimitPlugin.d.ts.map +1 -0
  113. package/dist/lexical-proxy/react/LexicalCharacterLimitPlugin.js +2 -0
  114. package/dist/lexical-proxy/react/LexicalCharacterLimitPlugin.js.map +1 -0
  115. package/dist/lexical-proxy/react/LexicalCheckListPlugin.d.ts +2 -0
  116. package/dist/lexical-proxy/react/LexicalCheckListPlugin.d.ts.map +1 -0
  117. package/dist/lexical-proxy/react/LexicalCheckListPlugin.js +2 -0
  118. package/dist/lexical-proxy/react/LexicalCheckListPlugin.js.map +1 -0
  119. package/dist/lexical-proxy/react/LexicalClearEditorPlugin.d.ts +2 -0
  120. package/dist/lexical-proxy/react/LexicalClearEditorPlugin.d.ts.map +1 -0
  121. package/dist/lexical-proxy/react/LexicalClearEditorPlugin.js +2 -0
  122. package/dist/lexical-proxy/react/LexicalClearEditorPlugin.js.map +1 -0
  123. package/dist/lexical-proxy/react/LexicalClickableLinkPlugin.d.ts +2 -0
  124. package/dist/lexical-proxy/react/LexicalClickableLinkPlugin.d.ts.map +1 -0
  125. package/dist/lexical-proxy/react/LexicalClickableLinkPlugin.js +2 -0
  126. package/dist/lexical-proxy/react/LexicalClickableLinkPlugin.js.map +1 -0
  127. package/dist/lexical-proxy/react/LexicalCollaborationContext.d.ts +2 -0
  128. package/dist/lexical-proxy/react/LexicalCollaborationContext.d.ts.map +1 -0
  129. package/dist/lexical-proxy/react/LexicalCollaborationContext.js +2 -0
  130. package/dist/lexical-proxy/react/LexicalCollaborationContext.js.map +1 -0
  131. package/dist/lexical-proxy/react/LexicalCollaborationPlugin.d.ts +2 -0
  132. package/dist/lexical-proxy/react/LexicalCollaborationPlugin.d.ts.map +1 -0
  133. package/dist/lexical-proxy/react/LexicalCollaborationPlugin.js +2 -0
  134. package/dist/lexical-proxy/react/LexicalCollaborationPlugin.js.map +1 -0
  135. package/dist/lexical-proxy/react/LexicalComposer.d.ts +2 -0
  136. package/dist/lexical-proxy/react/LexicalComposer.d.ts.map +1 -0
  137. package/dist/lexical-proxy/react/LexicalComposer.js +2 -0
  138. package/dist/lexical-proxy/react/LexicalComposer.js.map +1 -0
  139. package/dist/lexical-proxy/react/LexicalComposerContext.d.ts +2 -0
  140. package/dist/lexical-proxy/react/LexicalComposerContext.d.ts.map +1 -0
  141. package/dist/lexical-proxy/react/LexicalComposerContext.js +2 -0
  142. package/dist/lexical-proxy/react/LexicalComposerContext.js.map +1 -0
  143. package/dist/lexical-proxy/react/LexicalContentEditable.d.ts +2 -0
  144. package/dist/lexical-proxy/react/LexicalContentEditable.d.ts.map +1 -0
  145. package/dist/lexical-proxy/react/LexicalContentEditable.js +2 -0
  146. package/dist/lexical-proxy/react/LexicalContentEditable.js.map +1 -0
  147. package/dist/lexical-proxy/react/LexicalDecoratorBlockNode.d.ts +2 -0
  148. package/dist/lexical-proxy/react/LexicalDecoratorBlockNode.d.ts.map +1 -0
  149. package/dist/lexical-proxy/react/LexicalDecoratorBlockNode.js +2 -0
  150. package/dist/lexical-proxy/react/LexicalDecoratorBlockNode.js.map +1 -0
  151. package/dist/lexical-proxy/react/LexicalDraggableBlockPlugin.d.ts +2 -0
  152. package/dist/lexical-proxy/react/LexicalDraggableBlockPlugin.d.ts.map +1 -0
  153. package/dist/lexical-proxy/react/LexicalDraggableBlockPlugin.js +2 -0
  154. package/dist/lexical-proxy/react/LexicalDraggableBlockPlugin.js.map +1 -0
  155. package/dist/lexical-proxy/react/LexicalEditorRefPlugin.d.ts +2 -0
  156. package/dist/lexical-proxy/react/LexicalEditorRefPlugin.d.ts.map +1 -0
  157. package/dist/lexical-proxy/react/LexicalEditorRefPlugin.js +2 -0
  158. package/dist/lexical-proxy/react/LexicalEditorRefPlugin.js.map +1 -0
  159. package/dist/lexical-proxy/react/LexicalErrorBoundary.d.ts +2 -0
  160. package/dist/lexical-proxy/react/LexicalErrorBoundary.d.ts.map +1 -0
  161. package/dist/lexical-proxy/react/LexicalErrorBoundary.js +2 -0
  162. package/dist/lexical-proxy/react/LexicalErrorBoundary.js.map +1 -0
  163. package/dist/lexical-proxy/react/LexicalExtensionComposer.d.ts +2 -0
  164. package/dist/lexical-proxy/react/LexicalExtensionComposer.d.ts.map +1 -0
  165. package/dist/lexical-proxy/react/LexicalExtensionComposer.js +2 -0
  166. package/dist/lexical-proxy/react/LexicalExtensionComposer.js.map +1 -0
  167. package/dist/lexical-proxy/react/LexicalExtensionEditorComposer.d.ts +2 -0
  168. package/dist/lexical-proxy/react/LexicalExtensionEditorComposer.d.ts.map +1 -0
  169. package/dist/lexical-proxy/react/LexicalExtensionEditorComposer.js +2 -0
  170. package/dist/lexical-proxy/react/LexicalExtensionEditorComposer.js.map +1 -0
  171. package/dist/lexical-proxy/react/LexicalHashtagPlugin.d.ts +2 -0
  172. package/dist/lexical-proxy/react/LexicalHashtagPlugin.d.ts.map +1 -0
  173. package/dist/lexical-proxy/react/LexicalHashtagPlugin.js +2 -0
  174. package/dist/lexical-proxy/react/LexicalHashtagPlugin.js.map +1 -0
  175. package/dist/lexical-proxy/react/LexicalHistoryPlugin.d.ts +2 -0
  176. package/dist/lexical-proxy/react/LexicalHistoryPlugin.d.ts.map +1 -0
  177. package/dist/lexical-proxy/react/LexicalHistoryPlugin.js +2 -0
  178. package/dist/lexical-proxy/react/LexicalHistoryPlugin.js.map +1 -0
  179. package/dist/lexical-proxy/react/LexicalHorizontalRuleNode.d.ts +2 -0
  180. package/dist/lexical-proxy/react/LexicalHorizontalRuleNode.d.ts.map +1 -0
  181. package/dist/lexical-proxy/react/LexicalHorizontalRuleNode.js +2 -0
  182. package/dist/lexical-proxy/react/LexicalHorizontalRuleNode.js.map +1 -0
  183. package/dist/lexical-proxy/react/LexicalHorizontalRulePlugin.d.ts +2 -0
  184. package/dist/lexical-proxy/react/LexicalHorizontalRulePlugin.d.ts.map +1 -0
  185. package/dist/lexical-proxy/react/LexicalHorizontalRulePlugin.js +2 -0
  186. package/dist/lexical-proxy/react/LexicalHorizontalRulePlugin.js.map +1 -0
  187. package/dist/lexical-proxy/react/LexicalLinkPlugin.d.ts +2 -0
  188. package/dist/lexical-proxy/react/LexicalLinkPlugin.d.ts.map +1 -0
  189. package/dist/lexical-proxy/react/LexicalLinkPlugin.js +2 -0
  190. package/dist/lexical-proxy/react/LexicalLinkPlugin.js.map +1 -0
  191. package/dist/lexical-proxy/react/LexicalListPlugin.d.ts +2 -0
  192. package/dist/lexical-proxy/react/LexicalListPlugin.d.ts.map +1 -0
  193. package/dist/lexical-proxy/react/LexicalListPlugin.js +2 -0
  194. package/dist/lexical-proxy/react/LexicalListPlugin.js.map +1 -0
  195. package/dist/lexical-proxy/react/LexicalMarkdownShortcutPlugin.d.ts +2 -0
  196. package/dist/lexical-proxy/react/LexicalMarkdownShortcutPlugin.d.ts.map +1 -0
  197. package/dist/lexical-proxy/react/LexicalMarkdownShortcutPlugin.js +2 -0
  198. package/dist/lexical-proxy/react/LexicalMarkdownShortcutPlugin.js.map +1 -0
  199. package/dist/lexical-proxy/react/LexicalNestedComposer.d.ts +2 -0
  200. package/dist/lexical-proxy/react/LexicalNestedComposer.d.ts.map +1 -0
  201. package/dist/lexical-proxy/react/LexicalNestedComposer.js +2 -0
  202. package/dist/lexical-proxy/react/LexicalNestedComposer.js.map +1 -0
  203. package/dist/lexical-proxy/react/LexicalNodeContextMenuPlugin.d.ts +2 -0
  204. package/dist/lexical-proxy/react/LexicalNodeContextMenuPlugin.d.ts.map +1 -0
  205. package/dist/lexical-proxy/react/LexicalNodeContextMenuPlugin.js +2 -0
  206. package/dist/lexical-proxy/react/LexicalNodeContextMenuPlugin.js.map +1 -0
  207. package/dist/lexical-proxy/react/LexicalNodeEventPlugin.d.ts +2 -0
  208. package/dist/lexical-proxy/react/LexicalNodeEventPlugin.d.ts.map +1 -0
  209. package/dist/lexical-proxy/react/LexicalNodeEventPlugin.js +2 -0
  210. package/dist/lexical-proxy/react/LexicalNodeEventPlugin.js.map +1 -0
  211. package/dist/lexical-proxy/react/LexicalNodeMenuPlugin.d.ts +2 -0
  212. package/dist/lexical-proxy/react/LexicalNodeMenuPlugin.d.ts.map +1 -0
  213. package/dist/lexical-proxy/react/LexicalNodeMenuPlugin.js +2 -0
  214. package/dist/lexical-proxy/react/LexicalNodeMenuPlugin.js.map +1 -0
  215. package/dist/lexical-proxy/react/LexicalOnChangePlugin.d.ts +2 -0
  216. package/dist/lexical-proxy/react/LexicalOnChangePlugin.d.ts.map +1 -0
  217. package/dist/lexical-proxy/react/LexicalOnChangePlugin.js +2 -0
  218. package/dist/lexical-proxy/react/LexicalOnChangePlugin.js.map +1 -0
  219. package/dist/lexical-proxy/react/LexicalPlainTextPlugin.d.ts +2 -0
  220. package/dist/lexical-proxy/react/LexicalPlainTextPlugin.d.ts.map +1 -0
  221. package/dist/lexical-proxy/react/LexicalPlainTextPlugin.js +2 -0
  222. package/dist/lexical-proxy/react/LexicalPlainTextPlugin.js.map +1 -0
  223. package/dist/lexical-proxy/react/LexicalRichTextPlugin.d.ts +2 -0
  224. package/dist/lexical-proxy/react/LexicalRichTextPlugin.d.ts.map +1 -0
  225. package/dist/lexical-proxy/react/LexicalRichTextPlugin.js +2 -0
  226. package/dist/lexical-proxy/react/LexicalRichTextPlugin.js.map +1 -0
  227. package/dist/lexical-proxy/react/LexicalSelectionAlwaysOnDisplay.d.ts +2 -0
  228. package/dist/lexical-proxy/react/LexicalSelectionAlwaysOnDisplay.d.ts.map +1 -0
  229. package/dist/lexical-proxy/react/LexicalSelectionAlwaysOnDisplay.js +2 -0
  230. package/dist/lexical-proxy/react/LexicalSelectionAlwaysOnDisplay.js.map +1 -0
  231. package/dist/lexical-proxy/react/LexicalTabIndentationPlugin.d.ts +2 -0
  232. package/dist/lexical-proxy/react/LexicalTabIndentationPlugin.d.ts.map +1 -0
  233. package/dist/lexical-proxy/react/LexicalTabIndentationPlugin.js +2 -0
  234. package/dist/lexical-proxy/react/LexicalTabIndentationPlugin.js.map +1 -0
  235. package/dist/lexical-proxy/react/LexicalTableOfContentsPlugin.d.ts +2 -0
  236. package/dist/lexical-proxy/react/LexicalTableOfContentsPlugin.d.ts.map +1 -0
  237. package/dist/lexical-proxy/react/LexicalTableOfContentsPlugin.js +2 -0
  238. package/dist/lexical-proxy/react/LexicalTableOfContentsPlugin.js.map +1 -0
  239. package/dist/lexical-proxy/react/LexicalTablePlugin.d.ts +2 -0
  240. package/dist/lexical-proxy/react/LexicalTablePlugin.d.ts.map +1 -0
  241. package/dist/lexical-proxy/react/LexicalTablePlugin.js +2 -0
  242. package/dist/lexical-proxy/react/LexicalTablePlugin.js.map +1 -0
  243. package/dist/lexical-proxy/react/LexicalTreeView.d.ts +2 -0
  244. package/dist/lexical-proxy/react/LexicalTreeView.d.ts.map +1 -0
  245. package/dist/lexical-proxy/react/LexicalTreeView.js +2 -0
  246. package/dist/lexical-proxy/react/LexicalTreeView.js.map +1 -0
  247. package/dist/lexical-proxy/react/LexicalTypeaheadMenuPlugin.d.ts +2 -0
  248. package/dist/lexical-proxy/react/LexicalTypeaheadMenuPlugin.d.ts.map +1 -0
  249. package/dist/lexical-proxy/react/LexicalTypeaheadMenuPlugin.js +2 -0
  250. package/dist/lexical-proxy/react/LexicalTypeaheadMenuPlugin.js.map +1 -0
  251. package/dist/lexical-proxy/react/ReactExtension.d.ts +2 -0
  252. package/dist/lexical-proxy/react/ReactExtension.d.ts.map +1 -0
  253. package/dist/lexical-proxy/react/ReactExtension.js +2 -0
  254. package/dist/lexical-proxy/react/ReactExtension.js.map +1 -0
  255. package/dist/lexical-proxy/react/ReactPluginHostExtension.d.ts +2 -0
  256. package/dist/lexical-proxy/react/ReactPluginHostExtension.d.ts.map +1 -0
  257. package/dist/lexical-proxy/react/ReactPluginHostExtension.js +2 -0
  258. package/dist/lexical-proxy/react/ReactPluginHostExtension.js.map +1 -0
  259. package/dist/lexical-proxy/react/ReactProviderExtension.d.ts +2 -0
  260. package/dist/lexical-proxy/react/ReactProviderExtension.d.ts.map +1 -0
  261. package/dist/lexical-proxy/react/ReactProviderExtension.js +2 -0
  262. package/dist/lexical-proxy/react/ReactProviderExtension.js.map +1 -0
  263. package/dist/lexical-proxy/react/TreeViewExtension.d.ts +2 -0
  264. package/dist/lexical-proxy/react/TreeViewExtension.d.ts.map +1 -0
  265. package/dist/lexical-proxy/react/TreeViewExtension.js +2 -0
  266. package/dist/lexical-proxy/react/TreeViewExtension.js.map +1 -0
  267. package/dist/lexical-proxy/react/useExtensionComponent.d.ts +2 -0
  268. package/dist/lexical-proxy/react/useExtensionComponent.d.ts.map +1 -0
  269. package/dist/lexical-proxy/react/useExtensionComponent.js +2 -0
  270. package/dist/lexical-proxy/react/useExtensionComponent.js.map +1 -0
  271. package/dist/lexical-proxy/react/useExtensionSignalValue.d.ts +2 -0
  272. package/dist/lexical-proxy/react/useExtensionSignalValue.d.ts.map +1 -0
  273. package/dist/lexical-proxy/react/useExtensionSignalValue.js +2 -0
  274. package/dist/lexical-proxy/react/useExtensionSignalValue.js.map +1 -0
  275. package/dist/lexical-proxy/react/useLexicalAriaLiveRegion.d.ts +2 -0
  276. package/dist/lexical-proxy/react/useLexicalAriaLiveRegion.d.ts.map +1 -0
  277. package/dist/lexical-proxy/react/useLexicalAriaLiveRegion.js +2 -0
  278. package/dist/lexical-proxy/react/useLexicalAriaLiveRegion.js.map +1 -0
  279. package/dist/lexical-proxy/react/useLexicalEditable.d.ts +2 -0
  280. package/dist/lexical-proxy/react/useLexicalEditable.d.ts.map +1 -0
  281. package/dist/lexical-proxy/react/useLexicalEditable.js +2 -0
  282. package/dist/lexical-proxy/react/useLexicalEditable.js.map +1 -0
  283. package/dist/lexical-proxy/react/useLexicalFocusManagerRef.d.ts +2 -0
  284. package/dist/lexical-proxy/react/useLexicalFocusManagerRef.d.ts.map +1 -0
  285. package/dist/lexical-proxy/react/useLexicalFocusManagerRef.js +2 -0
  286. package/dist/lexical-proxy/react/useLexicalFocusManagerRef.js.map +1 -0
  287. package/dist/lexical-proxy/react/useLexicalFocusTrapRef.d.ts +2 -0
  288. package/dist/lexical-proxy/react/useLexicalFocusTrapRef.d.ts.map +1 -0
  289. package/dist/lexical-proxy/react/useLexicalFocusTrapRef.js +2 -0
  290. package/dist/lexical-proxy/react/useLexicalFocusTrapRef.js.map +1 -0
  291. package/dist/lexical-proxy/react/useLexicalIsTextContentEmpty.d.ts +2 -0
  292. package/dist/lexical-proxy/react/useLexicalIsTextContentEmpty.d.ts.map +1 -0
  293. package/dist/lexical-proxy/react/useLexicalIsTextContentEmpty.js +2 -0
  294. package/dist/lexical-proxy/react/useLexicalIsTextContentEmpty.js.map +1 -0
  295. package/dist/lexical-proxy/react/useLexicalNodeSelection.d.ts +2 -0
  296. package/dist/lexical-proxy/react/useLexicalNodeSelection.d.ts.map +1 -0
  297. package/dist/lexical-proxy/react/useLexicalNodeSelection.js +2 -0
  298. package/dist/lexical-proxy/react/useLexicalNodeSelection.js.map +1 -0
  299. package/dist/lexical-proxy/react/useLexicalRovingTabIndexRef.d.ts +2 -0
  300. package/dist/lexical-proxy/react/useLexicalRovingTabIndexRef.d.ts.map +1 -0
  301. package/dist/lexical-proxy/react/useLexicalRovingTabIndexRef.js +2 -0
  302. package/dist/lexical-proxy/react/useLexicalRovingTabIndexRef.js.map +1 -0
  303. package/dist/lexical-proxy/react/useLexicalSlotRef.d.ts +2 -0
  304. package/dist/lexical-proxy/react/useLexicalSlotRef.d.ts.map +1 -0
  305. package/dist/lexical-proxy/react/useLexicalSlotRef.js +2 -0
  306. package/dist/lexical-proxy/react/useLexicalSlotRef.js.map +1 -0
  307. package/dist/lexical-proxy/react/useLexicalSubscription.d.ts +2 -0
  308. package/dist/lexical-proxy/react/useLexicalSubscription.d.ts.map +1 -0
  309. package/dist/lexical-proxy/react/useLexicalSubscription.js +2 -0
  310. package/dist/lexical-proxy/react/useLexicalSubscription.js.map +1 -0
  311. package/dist/lexical-proxy/react/useLexicalTextEntity.d.ts +2 -0
  312. package/dist/lexical-proxy/react/useLexicalTextEntity.d.ts.map +1 -0
  313. package/dist/lexical-proxy/react/useLexicalTextEntity.js +2 -0
  314. package/dist/lexical-proxy/react/useLexicalTextEntity.js.map +1 -0
  315. package/dist/lexical-proxy/rich-text.d.ts +2 -0
  316. package/dist/lexical-proxy/rich-text.d.ts.map +1 -0
  317. package/dist/lexical-proxy/rich-text.js +2 -0
  318. package/dist/lexical-proxy/rich-text.js.map +1 -0
  319. package/dist/lexical-proxy/selection.d.ts +2 -0
  320. package/dist/lexical-proxy/selection.d.ts.map +1 -0
  321. package/dist/lexical-proxy/selection.js +2 -0
  322. package/dist/lexical-proxy/selection.js.map +1 -0
  323. package/dist/lexical-proxy/utils.d.ts +2 -0
  324. package/dist/lexical-proxy/utils.d.ts.map +1 -0
  325. package/dist/lexical-proxy/utils.js +2 -0
  326. package/dist/lexical-proxy/utils.js.map +1 -0
  327. package/dist/utilities/createServerFeature.d.ts +16 -0
  328. package/dist/utilities/createServerFeature.d.ts.map +1 -0
  329. package/dist/utilities/createServerFeature.js +3 -0
  330. package/dist/utilities/createServerFeature.js.map +1 -0
  331. package/dist/utilities/editorConfigFactory.d.ts +40 -0
  332. package/dist/utilities/editorConfigFactory.d.ts.map +1 -0
  333. package/dist/utilities/editorConfigFactory.js +56 -0
  334. package/dist/utilities/editorConfigFactory.js.map +1 -0
  335. package/dist/utilities/resolveConfig.d.ts +5 -0
  336. package/dist/utilities/resolveConfig.d.ts.map +1 -0
  337. package/dist/utilities/resolveConfig.js +8 -0
  338. package/dist/utilities/resolveConfig.js.map +1 -0
  339. package/package.json +121 -0
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/LexicalRichTextPlugin';
2
+ //# sourceMappingURL=LexicalRichTextPlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexicalRichTextPlugin.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/LexicalRichTextPlugin.ts"],"names":[],"mappings":"AAAA,cAAc,kEAAkE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/LexicalRichTextPlugin';
2
+ //# sourceMappingURL=LexicalRichTextPlugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexicalRichTextPlugin.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/LexicalRichTextPlugin.ts"],"names":[],"mappings":"AAAA,cAAc,kEAAkE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/LexicalSelectionAlwaysOnDisplay';
2
+ //# sourceMappingURL=LexicalSelectionAlwaysOnDisplay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexicalSelectionAlwaysOnDisplay.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/LexicalSelectionAlwaysOnDisplay.ts"],"names":[],"mappings":"AAAA,cAAc,4EAA4E,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/LexicalSelectionAlwaysOnDisplay';
2
+ //# sourceMappingURL=LexicalSelectionAlwaysOnDisplay.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexicalSelectionAlwaysOnDisplay.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/LexicalSelectionAlwaysOnDisplay.ts"],"names":[],"mappings":"AAAA,cAAc,4EAA4E,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/LexicalTabIndentationPlugin';
2
+ //# sourceMappingURL=LexicalTabIndentationPlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexicalTabIndentationPlugin.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/LexicalTabIndentationPlugin.ts"],"names":[],"mappings":"AAAA,cAAc,wEAAwE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/LexicalTabIndentationPlugin';
2
+ //# sourceMappingURL=LexicalTabIndentationPlugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexicalTabIndentationPlugin.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/LexicalTabIndentationPlugin.ts"],"names":[],"mappings":"AAAA,cAAc,wEAAwE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/LexicalTableOfContentsPlugin';
2
+ //# sourceMappingURL=LexicalTableOfContentsPlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexicalTableOfContentsPlugin.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/LexicalTableOfContentsPlugin.ts"],"names":[],"mappings":"AAAA,cAAc,yEAAyE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/LexicalTableOfContentsPlugin';
2
+ //# sourceMappingURL=LexicalTableOfContentsPlugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexicalTableOfContentsPlugin.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/LexicalTableOfContentsPlugin.ts"],"names":[],"mappings":"AAAA,cAAc,yEAAyE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/LexicalTablePlugin';
2
+ //# sourceMappingURL=LexicalTablePlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexicalTablePlugin.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/LexicalTablePlugin.ts"],"names":[],"mappings":"AAAA,cAAc,+DAA+D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/LexicalTablePlugin';
2
+ //# sourceMappingURL=LexicalTablePlugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexicalTablePlugin.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/LexicalTablePlugin.ts"],"names":[],"mappings":"AAAA,cAAc,+DAA+D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/LexicalTreeView';
2
+ //# sourceMappingURL=LexicalTreeView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexicalTreeView.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/LexicalTreeView.ts"],"names":[],"mappings":"AAAA,cAAc,4DAA4D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/LexicalTreeView';
2
+ //# sourceMappingURL=LexicalTreeView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexicalTreeView.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/LexicalTreeView.ts"],"names":[],"mappings":"AAAA,cAAc,4DAA4D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/LexicalTypeaheadMenuPlugin';
2
+ //# sourceMappingURL=LexicalTypeaheadMenuPlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexicalTypeaheadMenuPlugin.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/LexicalTypeaheadMenuPlugin.ts"],"names":[],"mappings":"AAAA,cAAc,uEAAuE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/LexicalTypeaheadMenuPlugin';
2
+ //# sourceMappingURL=LexicalTypeaheadMenuPlugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexicalTypeaheadMenuPlugin.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/LexicalTypeaheadMenuPlugin.ts"],"names":[],"mappings":"AAAA,cAAc,uEAAuE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/ReactExtension';
2
+ //# sourceMappingURL=ReactExtension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactExtension.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/ReactExtension.ts"],"names":[],"mappings":"AAAA,cAAc,2DAA2D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/ReactExtension';
2
+ //# sourceMappingURL=ReactExtension.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactExtension.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/ReactExtension.ts"],"names":[],"mappings":"AAAA,cAAc,2DAA2D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/ReactPluginHostExtension';
2
+ //# sourceMappingURL=ReactPluginHostExtension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactPluginHostExtension.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/ReactPluginHostExtension.ts"],"names":[],"mappings":"AAAA,cAAc,qEAAqE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/ReactPluginHostExtension';
2
+ //# sourceMappingURL=ReactPluginHostExtension.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactPluginHostExtension.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/ReactPluginHostExtension.ts"],"names":[],"mappings":"AAAA,cAAc,qEAAqE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/ReactProviderExtension';
2
+ //# sourceMappingURL=ReactProviderExtension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactProviderExtension.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/ReactProviderExtension.ts"],"names":[],"mappings":"AAAA,cAAc,mEAAmE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/ReactProviderExtension';
2
+ //# sourceMappingURL=ReactProviderExtension.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactProviderExtension.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/ReactProviderExtension.ts"],"names":[],"mappings":"AAAA,cAAc,mEAAmE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/TreeViewExtension';
2
+ //# sourceMappingURL=TreeViewExtension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TreeViewExtension.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/TreeViewExtension.ts"],"names":[],"mappings":"AAAA,cAAc,8DAA8D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/TreeViewExtension';
2
+ //# sourceMappingURL=TreeViewExtension.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TreeViewExtension.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/TreeViewExtension.ts"],"names":[],"mappings":"AAAA,cAAc,8DAA8D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useExtensionComponent';
2
+ //# sourceMappingURL=useExtensionComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExtensionComponent.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useExtensionComponent.ts"],"names":[],"mappings":"AAAA,cAAc,kEAAkE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useExtensionComponent';
2
+ //# sourceMappingURL=useExtensionComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExtensionComponent.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useExtensionComponent.ts"],"names":[],"mappings":"AAAA,cAAc,kEAAkE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useExtensionSignalValue';
2
+ //# sourceMappingURL=useExtensionSignalValue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExtensionSignalValue.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useExtensionSignalValue.ts"],"names":[],"mappings":"AAAA,cAAc,oEAAoE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useExtensionSignalValue';
2
+ //# sourceMappingURL=useExtensionSignalValue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExtensionSignalValue.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useExtensionSignalValue.ts"],"names":[],"mappings":"AAAA,cAAc,oEAAoE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalAriaLiveRegion';
2
+ //# sourceMappingURL=useLexicalAriaLiveRegion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalAriaLiveRegion.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalAriaLiveRegion.ts"],"names":[],"mappings":"AAAA,cAAc,qEAAqE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalAriaLiveRegion';
2
+ //# sourceMappingURL=useLexicalAriaLiveRegion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalAriaLiveRegion.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalAriaLiveRegion.ts"],"names":[],"mappings":"AAAA,cAAc,qEAAqE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalEditable';
2
+ //# sourceMappingURL=useLexicalEditable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalEditable.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalEditable.ts"],"names":[],"mappings":"AAAA,cAAc,+DAA+D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalEditable';
2
+ //# sourceMappingURL=useLexicalEditable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalEditable.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalEditable.ts"],"names":[],"mappings":"AAAA,cAAc,+DAA+D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalFocusManagerRef';
2
+ //# sourceMappingURL=useLexicalFocusManagerRef.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalFocusManagerRef.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalFocusManagerRef.ts"],"names":[],"mappings":"AAAA,cAAc,sEAAsE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalFocusManagerRef';
2
+ //# sourceMappingURL=useLexicalFocusManagerRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalFocusManagerRef.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalFocusManagerRef.ts"],"names":[],"mappings":"AAAA,cAAc,sEAAsE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalFocusTrapRef';
2
+ //# sourceMappingURL=useLexicalFocusTrapRef.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalFocusTrapRef.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalFocusTrapRef.ts"],"names":[],"mappings":"AAAA,cAAc,mEAAmE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalFocusTrapRef';
2
+ //# sourceMappingURL=useLexicalFocusTrapRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalFocusTrapRef.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalFocusTrapRef.ts"],"names":[],"mappings":"AAAA,cAAc,mEAAmE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalIsTextContentEmpty';
2
+ //# sourceMappingURL=useLexicalIsTextContentEmpty.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalIsTextContentEmpty.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalIsTextContentEmpty.ts"],"names":[],"mappings":"AAAA,cAAc,yEAAyE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalIsTextContentEmpty';
2
+ //# sourceMappingURL=useLexicalIsTextContentEmpty.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalIsTextContentEmpty.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalIsTextContentEmpty.ts"],"names":[],"mappings":"AAAA,cAAc,yEAAyE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalNodeSelection';
2
+ //# sourceMappingURL=useLexicalNodeSelection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalNodeSelection.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalNodeSelection.ts"],"names":[],"mappings":"AAAA,cAAc,oEAAoE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalNodeSelection';
2
+ //# sourceMappingURL=useLexicalNodeSelection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalNodeSelection.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalNodeSelection.ts"],"names":[],"mappings":"AAAA,cAAc,oEAAoE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalRovingTabIndexRef';
2
+ //# sourceMappingURL=useLexicalRovingTabIndexRef.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalRovingTabIndexRef.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalRovingTabIndexRef.ts"],"names":[],"mappings":"AAAA,cAAc,wEAAwE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalRovingTabIndexRef';
2
+ //# sourceMappingURL=useLexicalRovingTabIndexRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalRovingTabIndexRef.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalRovingTabIndexRef.ts"],"names":[],"mappings":"AAAA,cAAc,wEAAwE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalSlotRef';
2
+ //# sourceMappingURL=useLexicalSlotRef.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalSlotRef.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalSlotRef.ts"],"names":[],"mappings":"AAAA,cAAc,8DAA8D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalSlotRef';
2
+ //# sourceMappingURL=useLexicalSlotRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalSlotRef.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalSlotRef.ts"],"names":[],"mappings":"AAAA,cAAc,8DAA8D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalSubscription';
2
+ //# sourceMappingURL=useLexicalSubscription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalSubscription.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalSubscription.ts"],"names":[],"mappings":"AAAA,cAAc,mEAAmE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalSubscription';
2
+ //# sourceMappingURL=useLexicalSubscription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalSubscription.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalSubscription.ts"],"names":[],"mappings":"AAAA,cAAc,mEAAmE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalTextEntity';
2
+ //# sourceMappingURL=useLexicalTextEntity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalTextEntity.d.ts","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalTextEntity.ts"],"names":[],"mappings":"AAAA,cAAc,iEAAiE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/react/useLexicalTextEntity';
2
+ //# sourceMappingURL=useLexicalTextEntity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalTextEntity.js","sourceRoot":"","sources":["../../../src/lexical-proxy/react/useLexicalTextEntity.ts"],"names":[],"mappings":"AAAA,cAAc,iEAAiE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/rich-text';
2
+ //# sourceMappingURL=rich-text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rich-text.d.ts","sourceRoot":"","sources":["../../src/lexical-proxy/rich-text.ts"],"names":[],"mappings":"AAAA,cAAc,gDAAgD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/rich-text';
2
+ //# sourceMappingURL=rich-text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rich-text.js","sourceRoot":"","sources":["../../src/lexical-proxy/rich-text.ts"],"names":[],"mappings":"AAAA,cAAc,gDAAgD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/selection';
2
+ //# sourceMappingURL=selection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../src/lexical-proxy/selection.ts"],"names":[],"mappings":"AAAA,cAAc,gDAAgD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/selection';
2
+ //# sourceMappingURL=selection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selection.js","sourceRoot":"","sources":["../../src/lexical-proxy/selection.ts"],"names":[],"mappings":"AAAA,cAAc,gDAAgD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/utils';
2
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lexical-proxy/utils.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@payloadcms/richtext-lexical/lexical/utils';
2
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/lexical-proxy/utils.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { FeatureProviderProviderServer, FeatureProviderServer, ResolvedServerFeatureMap, ServerEditorConfig, ServerFeatureProviderMap } from '@payloadcms/richtext-lexical';
2
+ import type { SanitizedConfig } from 'payload';
3
+ import type { ServerFeature } from '../features/typesServer.js';
4
+ export type CreateServerFeatureArgs<UnSanitizedProps, SanitizedProps, ClientProps> = Pick<FeatureProviderServer<UnSanitizedProps, SanitizedProps, ClientProps>, 'dependencies' | 'dependenciesPriority' | 'dependenciesSoft' | 'key'> & {
5
+ feature: ((props: {
6
+ config: SanitizedConfig;
7
+ featureProviderMap: ServerFeatureProviderMap;
8
+ isRoot?: boolean;
9
+ parentIsLocalized: boolean;
10
+ props: UnSanitizedProps;
11
+ resolvedFeatures: ResolvedServerFeatureMap;
12
+ unSanitizedEditorConfig: ServerEditorConfig;
13
+ }) => Promise<ServerFeature<SanitizedProps, ClientProps>> | ServerFeature<SanitizedProps, ClientProps>) | Omit<ServerFeature<SanitizedProps, ClientProps>, 'sanitizedServerFeatureProps'>;
14
+ };
15
+ export declare const createServerFeature: <UnSanitizedProps = undefined, SanitizedProps = UnSanitizedProps, ClientProps = undefined>(args: CreateServerFeatureArgs<UnSanitizedProps, SanitizedProps, ClientProps>) => FeatureProviderProviderServer<UnSanitizedProps, SanitizedProps, ClientProps>;
16
+ //# sourceMappingURL=createServerFeature.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createServerFeature.d.ts","sourceRoot":"","sources":["../../src/utilities/createServerFeature.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAC7B,qBAAqB,EACrB,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,EACzB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,MAAM,MAAM,uBAAuB,CAAC,gBAAgB,EAAE,cAAc,EAAE,WAAW,IAAI,IAAI,CACvF,qBAAqB,CAAC,gBAAgB,EAAE,cAAc,EAAE,WAAW,CAAC,EACpE,cAAc,GAAG,sBAAsB,GAAG,kBAAkB,GAAG,KAAK,CACrE,GAAG;IACF,OAAO,EACH,CAAC,CAAC,KAAK,EAAE;QACP,MAAM,EAAE,eAAe,CAAC;QACxB,kBAAkB,EAAE,wBAAwB,CAAC;QAC7C,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,iBAAiB,EAAE,OAAO,CAAC;QAC3B,KAAK,EAAE,gBAAgB,CAAC;QACxB,gBAAgB,EAAE,wBAAwB,CAAC;QAC3C,uBAAuB,EAAE,kBAAkB,CAAC;KAC7C,KACG,OAAO,CAAC,aAAa,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC,GACnD,aAAa,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC,GAC/C,IAAI,CAAC,aAAa,CAAC,cAAc,EAAE,WAAW,CAAC,EAAE,6BAA6B,CAAC,CAAC;CACrF,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAA6C,CAC3E,gBAA4B,GAAT,SAAS,EAC5B,cAAiC,GAAhB,gBAAgB,EACjC,WAAuB,GAAT,SAAS,EAEvB,IAAI,EAAE,uBAAuB,CAAC,gBAAgB,EAAE,cAAc,EAAE,WAAW,CAAC,KACzE,6BAA6B,CAAC,gBAAgB,EAAE,cAAc,EAAE,WAAW,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { createServerFeature as upstreamCreateServerFeature } from '@payloadcms/richtext-lexical';
2
+ export const createServerFeature = upstreamCreateServerFeature;
3
+ //# sourceMappingURL=createServerFeature.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createServerFeature.js","sourceRoot":"","sources":["../../src/utilities/createServerFeature.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,mBAAmB,IAAI,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAwBlG,MAAM,CAAC,MAAM,mBAAmB,GAAG,2BAM8C,CAAC"}
@@ -0,0 +1,40 @@
1
+ import { editorConfigFactory as upstreamEditorConfigFactory, type lexicalEditor as upstreamLexicalEditor, type SanitizedServerEditorConfig } from '@payloadcms/richtext-lexical';
2
+ import type { EditorConfig } from '@payloadcms/richtext-lexical/lexical';
3
+ import type { Field } from 'frogbot';
4
+ import { type ConfigInput } from './resolveConfig.js';
5
+ type FeaturesInput = NonNullable<Parameters<typeof upstreamEditorConfigFactory.fromFeatures>[0]['features']>;
6
+ type LexicalRichTextAdapterProvider = ReturnType<typeof upstreamLexicalEditor>;
7
+ type RichTextEditorField = Pick<Extract<Field, {
8
+ type: 'richText';
9
+ }>, 'editor' | 'type'>;
10
+ export declare const editorConfigFactory: {
11
+ default: (args: {
12
+ config: ConfigInput;
13
+ parentIsLocalized?: boolean;
14
+ }) => Promise<SanitizedServerEditorConfig>;
15
+ fromEditor: (args: {
16
+ config: ConfigInput;
17
+ editor: LexicalRichTextAdapterProvider;
18
+ isRoot?: boolean;
19
+ lexical?: EditorConfig;
20
+ parentIsLocalized?: boolean;
21
+ }) => Promise<SanitizedServerEditorConfig>;
22
+ fromFeatures: (args: {
23
+ config: ConfigInput;
24
+ features?: FeaturesInput;
25
+ isRoot?: boolean;
26
+ lexical?: EditorConfig;
27
+ parentIsLocalized?: boolean;
28
+ }) => Promise<SanitizedServerEditorConfig>;
29
+ fromField: ({ field }: {
30
+ field: RichTextEditorField;
31
+ }) => SanitizedServerEditorConfig;
32
+ fromUnsanitizedField: (args: {
33
+ config: ConfigInput;
34
+ field: RichTextEditorField;
35
+ isRoot?: boolean;
36
+ parentIsLocalized?: boolean;
37
+ }) => Promise<SanitizedServerEditorConfig>;
38
+ };
39
+ export {};
40
+ //# sourceMappingURL=editorConfigFactory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editorConfigFactory.d.ts","sourceRoot":"","sources":["../../src/utilities/editorConfigFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,IAAI,2BAA2B,EAClD,KAAK,aAAa,IAAI,qBAAqB,EAE3C,KAAK,2BAA2B,EACjC,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,KAAK,WAAW,EAAiB,MAAM,oBAAoB,CAAC;AAErE,KAAK,aAAa,GAAG,WAAW,CAC9B,UAAU,CAAC,OAAO,2BAA2B,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAC3E,CAAC;AACF,KAAK,8BAA8B,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC/E,KAAK,mBAAmB,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC,CAAC;AAkCzF,eAAO,MAAM,mBAAmB;oBACR;QAAE,MAAM,EAAE,WAAW,CAAC;QAAC,iBAAiB,CAAC,EAAE,OAAO,CAAA;KAAE;uBAKjD;QACvB,MAAM,EAAE,WAAW,CAAC;QACpB,MAAM,EAAE,8BAA8B,CAAC;QACvC,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,OAAO,CAAC,EAAE,YAAY,CAAC;QACvB,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC7B;yBAK0B;QACzB,MAAM,EAAE,WAAW,CAAC;QACpB,QAAQ,CAAC,EAAE,aAAa,CAAC;QACzB,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,OAAO,CAAC,EAAE,YAAY,CAAC;QACvB,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC7B;2BAKsB;QAAE,KAAK,EAAE,mBAAmB,CAAA;KAAE,KAAG,2BAA2B;iCAEhD;QACjC,MAAM,EAAE,WAAW,CAAC;QACpB,KAAK,EAAE,mBAAmB,CAAC;QAC3B,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC7B;CAsBF,CAAC"}
@@ -0,0 +1,56 @@
1
+ import { editorConfigFactory as upstreamEditorConfigFactory, } from '@payloadcms/richtext-lexical';
2
+ import { resolveConfig } from './resolveConfig.js';
3
+ function isSanitizedLexicalEditor(editor) {
4
+ if (!editor || typeof editor !== 'object' || !('editorConfig' in editor)) {
5
+ return false;
6
+ }
7
+ const editorConfig = editor.editorConfig;
8
+ return (!!editorConfig &&
9
+ typeof editorConfig === 'object' &&
10
+ 'features' in editorConfig &&
11
+ Array.isArray(editorConfig.features) &&
12
+ 'resolvedFeatureMap' in editorConfig &&
13
+ editorConfig.resolvedFeatureMap instanceof Map);
14
+ }
15
+ function sanitizedEditor(field) {
16
+ const editor = field.editor;
17
+ if (!isSanitizedLexicalEditor(editor)) {
18
+ throw new Error('FrogBot rich text requires a sanitized Lexical editor; use editorConfigFactory.fromUnsanitizedField for editor providers.');
19
+ }
20
+ return editor.editorConfig;
21
+ }
22
+ export const editorConfigFactory = {
23
+ default: async (args) => upstreamEditorConfigFactory.default({
24
+ config: await resolveConfig(args.config),
25
+ parentIsLocalized: args.parentIsLocalized,
26
+ }),
27
+ fromEditor: async (args) => upstreamEditorConfigFactory.fromEditor({
28
+ ...args,
29
+ config: await resolveConfig(args.config),
30
+ }),
31
+ fromFeatures: async (args) => upstreamEditorConfigFactory.fromFeatures({
32
+ ...args,
33
+ config: await resolveConfig(args.config),
34
+ }),
35
+ fromField: ({ field }) => sanitizedEditor(field),
36
+ fromUnsanitizedField: async (args) => {
37
+ if (typeof args.field.editor !== 'function') {
38
+ throw new Error('FrogBot rich text requires a Lexical editor provider.');
39
+ }
40
+ const editor = args.field.editor;
41
+ const name = 'name' in args.field && typeof args.field.name === 'string'
42
+ ? args.field.name
43
+ : '_frogbotRichText';
44
+ return upstreamEditorConfigFactory.fromUnsanitizedField({
45
+ config: await resolveConfig(args.config),
46
+ field: {
47
+ ...args.field,
48
+ editor,
49
+ name,
50
+ },
51
+ isRoot: args.isRoot,
52
+ parentIsLocalized: args.parentIsLocalized,
53
+ });
54
+ },
55
+ };
56
+ //# sourceMappingURL=editorConfigFactory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editorConfigFactory.js","sourceRoot":"","sources":["../../src/utilities/editorConfigFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,IAAI,2BAA2B,GAInD,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAoB,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAWrE,SAAS,wBAAwB,CAAC,MAAe;IAC/C,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,CAAC,CAAC,cAAc,IAAI,MAAM,CAAC,EAAE,CAAC;QACzE,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC;IAEzC,OAAO,CACL,CAAC,CAAC,YAAY;QACd,OAAO,YAAY,KAAK,QAAQ;QAChC,UAAU,IAAI,YAAY;QAC1B,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC;QACpC,oBAAoB,IAAI,YAAY;QACpC,YAAY,CAAC,kBAAkB,YAAY,GAAG,CAC/C,CAAC;AACJ,CAAC;AAED,SAAS,eAAe,CAAC,KAA0B;IACjD,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;IAE5B,IAAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,CAAC;QACtC,MAAM,IAAI,KAAK,CACb,2HAA2H,CAC5H,CAAC;IACJ,CAAC;IAED,OAAO,MAAM,CAAC,YAAY,CAAC;AAC7B,CAAC;AAED,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,OAAO,EAAE,KAAK,EAAE,IAA0D,EAAE,EAAE,CAC5E,2BAA2B,CAAC,OAAO,CAAC;QAClC,MAAM,EAAE,MAAM,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC;QACxC,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;KAC1C,CAAC;IACJ,UAAU,EAAE,KAAK,EAAE,IAMlB,EAAE,EAAE,CACH,2BAA2B,CAAC,UAAU,CAAC;QACrC,GAAG,IAAI;QACP,MAAM,EAAE,MAAM,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC;KACzC,CAAC;IACJ,YAAY,EAAE,KAAK,EAAE,IAMpB,EAAE,EAAE,CACH,2BAA2B,CAAC,YAAY,CAAC;QACvC,GAAG,IAAI;QACP,MAAM,EAAE,MAAM,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC;KACzC,CAAC;IACJ,SAAS,EAAE,CAAC,EAAE,KAAK,EAAkC,EAA+B,EAAE,CACpF,eAAe,CAAC,KAAK,CAAC;IACxB,oBAAoB,EAAE,KAAK,EAAE,IAK5B,EAAE,EAAE;QACH,IAAI,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,KAAK,UAAU,EAAE,CAAC;YAC5C,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;QAC3E,CAAC;QAED,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAyC,CAAC;QACpE,MAAM,IAAI,GACR,MAAM,IAAI,IAAI,CAAC,KAAK,IAAI,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,QAAQ;YACzD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI;YACjB,CAAC,CAAC,kBAAkB,CAAC;QAEzB,OAAO,2BAA2B,CAAC,oBAAoB,CAAC;YACtD,MAAM,EAAE,MAAM,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC;YACxC,KAAK,EAAE;gBACL,GAAG,IAAI,CAAC,KAAK;gBACb,MAAM;gBACN,IAAI;aACL;YACD,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;SAC1C,CAAC,CAAC;IACL,CAAC;CACF,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { FrogbotSanitizedConfig } from 'frogbot';
2
+ import type { SanitizedConfig } from 'payload';
3
+ export type ConfigInput = FrogbotSanitizedConfig | Promise<FrogbotSanitizedConfig>;
4
+ export declare function resolveConfig(config: ConfigInput): Promise<SanitizedConfig>;
5
+ //# sourceMappingURL=resolveConfig.d.ts.map