@payloadcms/richtext-lexical 3.0.0-beta.52 → 3.0.0-beta.53

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 (1958) hide show
  1. package/dist/cell/index.js +5 -5
  2. package/dist/cell/index.js.map +1 -1
  3. package/dist/exports/client/Component-7HS6FEJS.js +2 -0
  4. package/dist/exports/client/Component-7HS6FEJS.js.map +7 -0
  5. package/dist/exports/client/Component-LAKSCIDX.js +2 -0
  6. package/dist/exports/client/Component-LAKSCIDX.js.map +7 -0
  7. package/dist/exports/client/Field-YMWNSE3A.js +2 -0
  8. package/dist/exports/client/Field-YMWNSE3A.js.map +7 -0
  9. package/dist/exports/client/RelationshipComponent-5OU5HATX.js +2 -0
  10. package/dist/exports/client/RelationshipComponent-5OU5HATX.js.map +7 -0
  11. package/dist/exports/client/bundled.css +1 -1
  12. package/dist/exports/client/chunk-3K3B6PJM.js +2 -0
  13. package/dist/exports/client/chunk-3K3B6PJM.js.map +7 -0
  14. package/dist/exports/client/chunk-MLIITFAS.js +3 -0
  15. package/dist/exports/client/chunk-MLIITFAS.js.map +7 -0
  16. package/dist/exports/client/chunk-OSR74ZNW.js +2 -0
  17. package/dist/exports/client/chunk-OSR74ZNW.js.map +7 -0
  18. package/dist/exports/client/chunk-QU5MKT75.js +2 -0
  19. package/dist/exports/client/chunk-QU5MKT75.js.map +7 -0
  20. package/dist/exports/client/chunk-ZITHDR53.js +2 -0
  21. package/dist/exports/client/chunk-ZITHDR53.js.map +7 -0
  22. package/dist/exports/client/component-E2NHAHBC.js +2 -0
  23. package/dist/exports/client/component-E2NHAHBC.js.map +7 -0
  24. package/dist/exports/client/component-QWIGEOVD.js +2 -0
  25. package/dist/exports/client/component-QWIGEOVD.js.map +7 -0
  26. package/dist/exports/client/component-X4LSLSWF.js +2 -0
  27. package/dist/exports/client/component-X4LSLSWF.js.map +7 -0
  28. package/dist/exports/client/index.d.ts +49 -49
  29. package/dist/exports/client/index.d.ts.map +1 -1
  30. package/dist/exports/client/index.js +4 -4
  31. package/dist/exports/client/index.js.map +3 -3
  32. package/dist/features/align/feature.client.d.ts.map +1 -0
  33. package/dist/features/align/feature.client.js.map +1 -0
  34. package/dist/features/align/feature.server.d.ts.map +1 -0
  35. package/dist/features/align/feature.server.js +19 -0
  36. package/dist/features/align/feature.server.js.map +1 -0
  37. package/dist/features/align/i18n.d.ts.map +1 -0
  38. package/dist/features/align/i18n.js.map +1 -0
  39. package/dist/features/align/toolbarAlignGroup.d.ts.map +1 -0
  40. package/dist/features/align/toolbarAlignGroup.js.map +1 -0
  41. package/dist/features/blockquote/feature.client.d.ts.map +1 -0
  42. package/dist/features/blockquote/feature.client.js.map +1 -0
  43. package/dist/features/blockquote/feature.server.d.ts.map +1 -0
  44. package/dist/features/blockquote/feature.server.js +50 -0
  45. package/dist/features/blockquote/feature.server.js.map +1 -0
  46. package/dist/features/blockquote/i18n.d.ts.map +1 -0
  47. package/dist/features/blockquote/i18n.js.map +1 -0
  48. package/dist/features/blockquote/markdownTransformer.d.ts.map +1 -0
  49. package/dist/features/blockquote/markdownTransformer.js.map +1 -0
  50. package/dist/features/blocks/component/BlockContent.d.ts +27 -0
  51. package/dist/features/blocks/component/BlockContent.d.ts.map +1 -0
  52. package/dist/features/blocks/component/BlockContent.js +193 -0
  53. package/dist/features/blocks/component/BlockContent.js.map +1 -0
  54. package/dist/features/blocks/component/FormSavePlugin.d.ts.map +1 -0
  55. package/dist/features/blocks/component/FormSavePlugin.js +29 -0
  56. package/dist/features/blocks/component/FormSavePlugin.js.map +1 -0
  57. package/dist/features/blocks/component/index.d.ts.map +1 -0
  58. package/dist/features/blocks/component/index.js +158 -0
  59. package/dist/features/blocks/component/index.js.map +1 -0
  60. package/dist/features/blocks/component/removeEmptyArrayValues.d.ts.map +1 -0
  61. package/dist/features/blocks/component/removeEmptyArrayValues.js.map +1 -0
  62. package/dist/features/blocks/drawer/index.d.ts.map +1 -0
  63. package/dist/features/blocks/drawer/index.js +78 -0
  64. package/dist/features/blocks/drawer/index.js.map +1 -0
  65. package/dist/features/blocks/feature.client.d.ts.map +1 -0
  66. package/dist/features/blocks/feature.client.js.map +1 -0
  67. package/dist/features/blocks/feature.server.d.ts.map +1 -0
  68. package/dist/features/blocks/feature.server.js +107 -0
  69. package/dist/features/blocks/feature.server.js.map +1 -0
  70. package/dist/features/blocks/graphQLPopulationPromise.d.ts.map +1 -0
  71. package/dist/features/blocks/graphQLPopulationPromise.js +31 -0
  72. package/dist/features/blocks/graphQLPopulationPromise.js.map +1 -0
  73. package/dist/features/blocks/i18n.d.ts.map +1 -0
  74. package/dist/features/blocks/i18n.js.map +1 -0
  75. package/dist/features/blocks/nodes/BlocksNode.d.ts.map +1 -0
  76. package/dist/features/blocks/nodes/BlocksNode.js.map +1 -0
  77. package/dist/features/blocks/plugin/commands.d.ts.map +1 -0
  78. package/dist/features/blocks/plugin/commands.js.map +1 -0
  79. package/dist/features/blocks/plugin/index.d.ts.map +1 -0
  80. package/dist/features/blocks/plugin/index.js.map +1 -0
  81. package/dist/features/blocks/validate.d.ts.map +1 -0
  82. package/dist/features/blocks/validate.js.map +1 -0
  83. package/dist/features/converters/html/converter/converters/linebreak.d.ts.map +1 -0
  84. package/dist/features/converters/html/converter/converters/linebreak.js.map +1 -0
  85. package/dist/features/converters/html/converter/converters/paragraph.d.ts.map +1 -0
  86. package/dist/features/converters/html/converter/converters/paragraph.js +20 -0
  87. package/dist/features/converters/html/converter/converters/paragraph.js.map +1 -0
  88. package/dist/features/converters/html/converter/converters/text.d.ts.map +1 -0
  89. package/dist/features/converters/html/converter/converters/text.js.map +1 -0
  90. package/dist/features/converters/html/converter/defaultConverters.d.ts.map +1 -0
  91. package/dist/features/converters/html/converter/defaultConverters.js.map +1 -0
  92. package/dist/features/converters/html/converter/index.d.ts +42 -0
  93. package/dist/features/converters/html/converter/index.d.ts.map +1 -0
  94. package/dist/features/converters/html/converter/index.js +48 -0
  95. package/dist/features/converters/html/converter/index.js.map +1 -0
  96. package/dist/features/converters/html/converter/types.d.ts +19 -0
  97. package/dist/features/converters/html/converter/types.d.ts.map +1 -0
  98. package/dist/features/converters/html/converter/types.js.map +1 -0
  99. package/dist/features/converters/html/feature.server.d.ts.map +1 -0
  100. package/dist/features/converters/html/feature.server.js.map +1 -0
  101. package/dist/features/converters/html/field/index.d.ts.map +1 -0
  102. package/dist/features/converters/html/field/index.js +154 -0
  103. package/dist/features/converters/html/field/index.js.map +1 -0
  104. package/dist/features/createClientComponent.d.ts.map +1 -0
  105. package/dist/features/createClientComponent.js +12 -0
  106. package/dist/features/createClientComponent.js.map +1 -0
  107. package/dist/features/createFeaturePropComponent.d.ts.map +1 -0
  108. package/dist/features/createFeaturePropComponent.js +18 -0
  109. package/dist/features/createFeaturePropComponent.js.map +1 -0
  110. package/dist/features/debug/testRecorder/feature.client.d.ts.map +1 -0
  111. package/dist/features/debug/testRecorder/feature.client.js.map +1 -0
  112. package/dist/features/debug/testRecorder/feature.server.d.ts.map +1 -0
  113. package/dist/features/debug/testRecorder/feature.server.js +16 -0
  114. package/dist/features/debug/testRecorder/feature.server.js.map +1 -0
  115. package/dist/features/debug/testRecorder/plugin/index.d.ts.map +1 -0
  116. package/dist/features/debug/testRecorder/plugin/index.js.map +1 -0
  117. package/dist/features/debug/treeView/feature.client.d.ts.map +1 -0
  118. package/dist/features/debug/treeView/feature.client.js.map +1 -0
  119. package/dist/features/debug/treeView/feature.server.d.ts.map +1 -0
  120. package/dist/features/debug/treeView/feature.server.js +16 -0
  121. package/dist/features/debug/treeView/feature.server.js.map +1 -0
  122. package/dist/features/debug/treeView/plugin/index.d.ts.map +1 -0
  123. package/dist/features/debug/treeView/plugin/index.js.map +1 -0
  124. package/dist/features/format/bold/feature.client.d.ts.map +1 -0
  125. package/dist/features/format/bold/feature.client.js.map +1 -0
  126. package/dist/features/format/bold/feature.server.d.ts.map +1 -0
  127. package/dist/features/format/bold/feature.server.js +28 -0
  128. package/dist/features/format/bold/feature.server.js.map +1 -0
  129. package/dist/features/format/bold/markdownTransformers.d.ts.map +1 -0
  130. package/dist/features/format/bold/markdownTransformers.js.map +1 -0
  131. package/dist/features/format/inlineCode/feature.client.d.ts.map +1 -0
  132. package/dist/features/format/inlineCode/feature.client.js.map +1 -0
  133. package/dist/features/format/inlineCode/feature.server.d.ts.map +1 -0
  134. package/dist/features/format/inlineCode/feature.server.js +20 -0
  135. package/dist/features/format/inlineCode/feature.server.js.map +1 -0
  136. package/dist/features/format/inlineCode/markdownTransformers.d.ts.map +1 -0
  137. package/dist/features/format/inlineCode/markdownTransformers.js.map +1 -0
  138. package/dist/features/format/italic/feature.client.d.ts.map +1 -0
  139. package/dist/features/format/italic/feature.client.js.map +1 -0
  140. package/dist/features/format/italic/feature.server.d.ts.map +1 -0
  141. package/dist/features/format/italic/feature.server.js +21 -0
  142. package/dist/features/format/italic/feature.server.js.map +1 -0
  143. package/dist/features/format/italic/markdownTransformers.d.ts.map +1 -0
  144. package/dist/features/format/italic/markdownTransformers.js.map +1 -0
  145. package/dist/features/format/shared/toolbarFormatGroup.d.ts.map +1 -0
  146. package/dist/features/format/shared/toolbarFormatGroup.js.map +1 -0
  147. package/dist/features/format/strikethrough/feature.client.d.ts.map +1 -0
  148. package/dist/features/format/strikethrough/feature.client.js.map +1 -0
  149. package/dist/features/format/strikethrough/feature.server.d.ts.map +1 -0
  150. package/dist/features/format/strikethrough/feature.server.js +20 -0
  151. package/dist/features/format/strikethrough/feature.server.js.map +1 -0
  152. package/dist/features/format/strikethrough/markdownTransformers.d.ts.map +1 -0
  153. package/dist/features/format/strikethrough/markdownTransformers.js.map +1 -0
  154. package/dist/features/format/subscript/feature.client.d.ts.map +1 -0
  155. package/dist/features/format/subscript/feature.client.js.map +1 -0
  156. package/dist/features/format/subscript/feature.server.d.ts.map +1 -0
  157. package/dist/features/format/subscript/feature.server.js +16 -0
  158. package/dist/features/format/subscript/feature.server.js.map +1 -0
  159. package/dist/features/format/superscript/feature.client.d.ts.map +1 -0
  160. package/dist/features/format/superscript/feature.client.js.map +1 -0
  161. package/dist/features/format/superscript/feature.server.d.ts.map +1 -0
  162. package/dist/features/format/superscript/feature.server.js +16 -0
  163. package/dist/features/format/superscript/feature.server.js.map +1 -0
  164. package/dist/features/format/underline/feature.client.d.ts.map +1 -0
  165. package/dist/features/format/underline/feature.client.js.map +1 -0
  166. package/dist/features/format/underline/feature.server.d.ts.map +1 -0
  167. package/dist/features/format/underline/feature.server.js +16 -0
  168. package/dist/features/format/underline/feature.server.js.map +1 -0
  169. package/dist/features/heading/feature.client.d.ts.map +1 -0
  170. package/dist/features/heading/feature.client.js.map +1 -0
  171. package/dist/features/heading/feature.server.d.ts.map +1 -0
  172. package/dist/features/heading/feature.server.js +61 -0
  173. package/dist/features/heading/feature.server.js.map +1 -0
  174. package/dist/features/heading/i18n.d.ts.map +1 -0
  175. package/dist/features/heading/i18n.js.map +1 -0
  176. package/dist/features/heading/markdownTransformer.d.ts.map +1 -0
  177. package/dist/features/heading/markdownTransformer.js.map +1 -0
  178. package/dist/features/horizontalRule/component/index.d.ts.map +1 -0
  179. package/dist/features/horizontalRule/component/index.js.map +1 -0
  180. package/dist/features/horizontalRule/feature.client.d.ts.map +1 -0
  181. package/dist/features/horizontalRule/feature.client.js.map +1 -0
  182. package/dist/features/horizontalRule/feature.server.d.ts.map +1 -0
  183. package/dist/features/horizontalRule/feature.server.js +39 -0
  184. package/dist/features/horizontalRule/feature.server.js.map +1 -0
  185. package/dist/features/horizontalRule/i18n.d.ts.map +1 -0
  186. package/dist/features/horizontalRule/i18n.js.map +1 -0
  187. package/dist/features/horizontalRule/markdownTransformer.d.ts.map +1 -0
  188. package/dist/features/horizontalRule/markdownTransformer.js.map +1 -0
  189. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.d.ts.map +1 -0
  190. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.js.map +1 -0
  191. package/dist/features/horizontalRule/plugin/index.d.ts.map +1 -0
  192. package/dist/features/horizontalRule/plugin/index.js.map +1 -0
  193. package/dist/features/indent/feature.client.d.ts.map +1 -0
  194. package/dist/features/indent/feature.client.js.map +1 -0
  195. package/dist/features/indent/feature.server.d.ts.map +1 -0
  196. package/dist/features/indent/feature.server.js +19 -0
  197. package/dist/features/indent/feature.server.js.map +1 -0
  198. package/dist/features/indent/i18n.d.ts.map +1 -0
  199. package/dist/features/indent/i18n.js.map +1 -0
  200. package/dist/features/indent/toolbarIndentGroup.d.ts.map +1 -0
  201. package/dist/features/indent/toolbarIndentGroup.js.map +1 -0
  202. package/dist/features/link/drawer/baseFields.d.ts.map +1 -0
  203. package/dist/features/link/drawer/baseFields.js.map +1 -0
  204. package/dist/features/link/drawer/index.d.ts.map +1 -0
  205. package/dist/features/link/drawer/index.js +94 -0
  206. package/dist/features/link/drawer/index.js.map +1 -0
  207. package/dist/features/link/drawer/types.d.ts.map +1 -0
  208. package/dist/features/link/drawer/types.js.map +1 -0
  209. package/dist/features/link/feature.client.d.ts.map +1 -0
  210. package/dist/features/link/feature.client.js.map +1 -0
  211. package/dist/features/link/feature.server.d.ts.map +1 -0
  212. package/dist/features/link/feature.server.js +140 -0
  213. package/dist/features/link/feature.server.js.map +1 -0
  214. package/dist/features/link/graphQLPopulationPromise.d.ts.map +1 -0
  215. package/dist/features/link/graphQLPopulationPromise.js +31 -0
  216. package/dist/features/link/graphQLPopulationPromise.js.map +1 -0
  217. package/dist/features/link/i18n.d.ts.map +1 -0
  218. package/dist/features/link/i18n.js.map +1 -0
  219. package/dist/features/link/markdownTransformer.d.ts.map +1 -0
  220. package/dist/features/link/markdownTransformer.js.map +1 -0
  221. package/dist/features/link/nodes/AutoLinkNode.d.ts.map +1 -0
  222. package/dist/features/link/nodes/AutoLinkNode.js.map +1 -0
  223. package/dist/features/link/nodes/LinkNode.d.ts.map +1 -0
  224. package/dist/features/link/nodes/LinkNode.js.map +1 -0
  225. package/dist/features/link/nodes/types.d.ts.map +1 -0
  226. package/dist/features/link/nodes/types.js.map +1 -0
  227. package/dist/features/link/plugins/autoLink/index.d.ts.map +1 -0
  228. package/dist/features/link/plugins/autoLink/index.js.map +1 -0
  229. package/dist/features/link/plugins/clickableLink/index.d.ts.map +1 -0
  230. package/dist/features/link/plugins/clickableLink/index.js.map +1 -0
  231. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +1 -0
  232. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +1 -0
  233. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -0
  234. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +295 -0
  235. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +1 -0
  236. package/dist/features/link/plugins/floatingLinkEditor/index.d.ts.map +1 -0
  237. package/dist/features/link/plugins/floatingLinkEditor/index.js.map +1 -0
  238. package/dist/features/link/plugins/floatingLinkEditor/types.d.ts.map +1 -0
  239. package/dist/features/link/plugins/floatingLinkEditor/types.js.map +1 -0
  240. package/dist/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +1 -0
  241. package/dist/features/link/plugins/floatingLinkEditor/utilities.js.map +1 -0
  242. package/dist/features/link/plugins/link/index.d.ts.map +1 -0
  243. package/dist/features/link/plugins/link/index.js.map +1 -0
  244. package/dist/features/link/validate.d.ts.map +1 -0
  245. package/dist/features/link/validate.js.map +1 -0
  246. package/dist/features/lists/checklist/feature.client.d.ts.map +1 -0
  247. package/dist/features/lists/checklist/feature.client.js.map +1 -0
  248. package/dist/features/lists/checklist/feature.server.d.ts.map +1 -0
  249. package/dist/features/lists/checklist/feature.server.js +39 -0
  250. package/dist/features/lists/checklist/feature.server.js.map +1 -0
  251. package/dist/features/lists/checklist/i18n.d.ts.map +1 -0
  252. package/dist/features/lists/checklist/i18n.js.map +1 -0
  253. package/dist/features/lists/checklist/markdownTransformers.d.ts.map +1 -0
  254. package/dist/features/lists/checklist/markdownTransformers.js.map +1 -0
  255. package/dist/features/lists/checklist/plugin/index.d.ts.map +1 -0
  256. package/dist/features/lists/checklist/plugin/index.js.map +1 -0
  257. package/dist/features/lists/htmlConverter.d.ts.map +1 -0
  258. package/dist/features/lists/htmlConverter.js +56 -0
  259. package/dist/features/lists/htmlConverter.js.map +1 -0
  260. package/dist/features/lists/orderedList/feature.client.d.ts.map +1 -0
  261. package/dist/features/lists/orderedList/feature.client.js.map +1 -0
  262. package/dist/features/lists/orderedList/feature.server.d.ts.map +1 -0
  263. package/dist/features/lists/orderedList/feature.server.js +39 -0
  264. package/dist/features/lists/orderedList/feature.server.js.map +1 -0
  265. package/dist/features/lists/orderedList/i18n.d.ts.map +1 -0
  266. package/dist/features/lists/orderedList/i18n.js.map +1 -0
  267. package/dist/features/lists/orderedList/markdownTransformer.d.ts.map +1 -0
  268. package/dist/features/lists/orderedList/markdownTransformer.js.map +1 -0
  269. package/dist/features/lists/plugin/index.d.ts.map +1 -0
  270. package/dist/features/lists/plugin/index.js.map +1 -0
  271. package/dist/features/lists/shared/markdown.d.ts.map +1 -0
  272. package/dist/features/lists/shared/markdown.js.map +1 -0
  273. package/dist/features/lists/shared/slashMenuListGroup.d.ts.map +1 -0
  274. package/dist/features/lists/shared/slashMenuListGroup.js.map +1 -0
  275. package/dist/features/lists/unorderedList/feature.client.d.ts.map +1 -0
  276. package/dist/features/lists/unorderedList/feature.client.js.map +1 -0
  277. package/dist/features/lists/unorderedList/feature.server.d.ts.map +1 -0
  278. package/dist/features/lists/unorderedList/feature.server.js +39 -0
  279. package/dist/features/lists/unorderedList/feature.server.js.map +1 -0
  280. package/dist/features/lists/unorderedList/i18n.d.ts.map +1 -0
  281. package/dist/features/lists/unorderedList/i18n.js.map +1 -0
  282. package/dist/features/lists/unorderedList/markdownTransformer.d.ts.map +1 -0
  283. package/dist/features/lists/unorderedList/markdownTransformer.js.map +1 -0
  284. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +1 -0
  285. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +1 -0
  286. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  287. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +1 -0
  288. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +1 -0
  289. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +1 -0
  290. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +1 -0
  291. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +1 -0
  292. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +1 -0
  293. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +1 -0
  294. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +1 -0
  295. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +1 -0
  296. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +1 -0
  297. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +1 -0
  298. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +1 -0
  299. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +1 -0
  300. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +1 -0
  301. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +1 -0
  302. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +1 -0
  303. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +1 -0
  304. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  305. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +1 -0
  306. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +1 -0
  307. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +1 -0
  308. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +1 -0
  309. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +1 -0
  310. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +1 -0
  311. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +1 -0
  312. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +1 -0
  313. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +1 -0
  314. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +1 -0
  315. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +1 -0
  316. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  317. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +1 -0
  318. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +1 -0
  319. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +1 -0
  320. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +1 -0
  321. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +1 -0
  322. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  323. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +1 -0
  324. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +1 -0
  325. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +1 -0
  326. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +1 -0
  327. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +1 -0
  328. package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +1 -0
  329. package/dist/features/migrations/lexicalPluginToLexical/converter/index.js.map +1 -0
  330. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +1 -0
  331. package/dist/features/migrations/lexicalPluginToLexical/converter/types.js.map +1 -0
  332. package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +1 -0
  333. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js.map +1 -0
  334. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +1 -0
  335. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js +48 -0
  336. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js.map +1 -0
  337. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  338. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
  339. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  340. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
  341. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +1 -0
  342. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +1 -0
  343. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +1 -0
  344. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +1 -0
  345. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +1 -0
  346. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +1 -0
  347. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +1 -0
  348. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.js.map +1 -0
  349. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  350. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +1 -0
  351. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +1 -0
  352. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.js.map +1 -0
  353. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +1 -0
  354. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.js.map +1 -0
  355. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +1 -0
  356. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +1 -0
  357. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +1 -0
  358. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.js.map +1 -0
  359. package/dist/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +1 -0
  360. package/dist/features/migrations/slateToLexical/converter/converters/link/client.js.map +1 -0
  361. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +1 -0
  362. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js.map +1 -0
  363. package/dist/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +1 -0
  364. package/dist/features/migrations/slateToLexical/converter/converters/link/index.js.map +1 -0
  365. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +1 -0
  366. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +1 -0
  367. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  368. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +1 -0
  369. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +1 -0
  370. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +1 -0
  371. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +1 -0
  372. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +1 -0
  373. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +1 -0
  374. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +1 -0
  375. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +1 -0
  376. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +1 -0
  377. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +1 -0
  378. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +1 -0
  379. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +1 -0
  380. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +1 -0
  381. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +1 -0
  382. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +1 -0
  383. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +1 -0
  384. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +1 -0
  385. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  386. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +1 -0
  387. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +1 -0
  388. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +1 -0
  389. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +1 -0
  390. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +1 -0
  391. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +1 -0
  392. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +1 -0
  393. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +1 -0
  394. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +1 -0
  395. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +1 -0
  396. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.js.map +1 -0
  397. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  398. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +1 -0
  399. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +1 -0
  400. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.js.map +1 -0
  401. package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +1 -0
  402. package/dist/features/migrations/slateToLexical/converter/defaultConverters.js.map +1 -0
  403. package/dist/features/migrations/slateToLexical/converter/index.d.ts.map +1 -0
  404. package/dist/features/migrations/slateToLexical/converter/index.js.map +1 -0
  405. package/dist/features/migrations/slateToLexical/converter/types.d.ts.map +1 -0
  406. package/dist/features/migrations/slateToLexical/converter/types.js.map +1 -0
  407. package/dist/features/migrations/slateToLexical/feature.client.d.ts.map +1 -0
  408. package/dist/features/migrations/slateToLexical/feature.client.js.map +1 -0
  409. package/dist/features/migrations/slateToLexical/feature.server.d.ts.map +1 -0
  410. package/dist/features/migrations/slateToLexical/feature.server.js +48 -0
  411. package/dist/features/migrations/slateToLexical/feature.server.js.map +1 -0
  412. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  413. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
  414. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  415. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
  416. package/dist/features/paragraph/feature.client.d.ts.map +1 -0
  417. package/dist/features/paragraph/feature.client.js.map +1 -0
  418. package/dist/features/paragraph/feature.server.d.ts.map +1 -0
  419. package/dist/features/paragraph/feature.server.js +19 -0
  420. package/dist/features/paragraph/feature.server.js.map +1 -0
  421. package/dist/features/paragraph/i18n.d.ts.map +1 -0
  422. package/dist/features/paragraph/i18n.js.map +1 -0
  423. package/dist/features/relationship/drawer/commands.d.ts.map +1 -0
  424. package/dist/features/relationship/drawer/commands.js.map +1 -0
  425. package/dist/features/relationship/drawer/index.d.ts.map +1 -0
  426. package/dist/features/relationship/drawer/index.js +83 -0
  427. package/dist/features/relationship/drawer/index.js.map +1 -0
  428. package/dist/features/relationship/feature.client.d.ts.map +1 -0
  429. package/dist/features/relationship/feature.client.js.map +1 -0
  430. package/dist/features/relationship/feature.server.d.ts.map +1 -0
  431. package/dist/features/relationship/feature.server.js +61 -0
  432. package/dist/features/relationship/feature.server.js.map +1 -0
  433. package/dist/features/relationship/graphQLPopulationPromise.d.ts.map +1 -0
  434. package/dist/features/relationship/graphQLPopulationPromise.js +29 -0
  435. package/dist/features/relationship/graphQLPopulationPromise.js.map +1 -0
  436. package/dist/features/relationship/i18n.d.ts.map +1 -0
  437. package/dist/features/relationship/i18n.js.map +1 -0
  438. package/dist/features/relationship/nodes/RelationshipNode.d.ts.map +1 -0
  439. package/dist/features/relationship/nodes/RelationshipNode.js.map +1 -0
  440. package/dist/features/relationship/nodes/components/RelationshipComponent.d.ts.map +1 -0
  441. package/dist/features/relationship/nodes/components/RelationshipComponent.js +172 -0
  442. package/dist/features/relationship/nodes/components/RelationshipComponent.js.map +1 -0
  443. package/dist/features/relationship/plugins/index.d.ts.map +1 -0
  444. package/dist/features/relationship/plugins/index.js +50 -0
  445. package/dist/features/relationship/plugins/index.js.map +1 -0
  446. package/dist/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +1 -0
  447. package/dist/features/relationship/utils/EnabledRelationshipsCondition.js +33 -0
  448. package/dist/features/relationship/utils/EnabledRelationshipsCondition.js.map +1 -0
  449. package/dist/features/shared/slashMenu/basicGroup.d.ts.map +1 -0
  450. package/dist/features/shared/slashMenu/basicGroup.js.map +1 -0
  451. package/dist/features/shared/toolbar/addDropdownGroup.d.ts.map +1 -0
  452. package/dist/features/shared/toolbar/addDropdownGroup.js.map +1 -0
  453. package/dist/features/shared/toolbar/featureButtonsGroup.d.ts.map +1 -0
  454. package/dist/features/shared/toolbar/featureButtonsGroup.js.map +1 -0
  455. package/dist/features/shared/toolbar/textDropdownGroup.d.ts.map +1 -0
  456. package/dist/features/shared/toolbar/textDropdownGroup.js.map +1 -0
  457. package/dist/features/toolbars/fixed/Toolbar/index.d.ts.map +1 -0
  458. package/dist/features/toolbars/fixed/Toolbar/index.js +207 -0
  459. package/dist/features/toolbars/fixed/Toolbar/index.js.map +1 -0
  460. package/dist/features/toolbars/fixed/feature.client.d.ts.map +1 -0
  461. package/dist/features/toolbars/fixed/feature.client.js.map +1 -0
  462. package/dist/features/toolbars/fixed/feature.server.d.ts.map +1 -0
  463. package/dist/features/toolbars/fixed/feature.server.js +21 -0
  464. package/dist/features/toolbars/fixed/feature.server.js.map +1 -0
  465. package/dist/features/toolbars/inline/Toolbar/index.d.ts.map +1 -0
  466. package/dist/features/toolbars/inline/Toolbar/index.js.map +1 -0
  467. package/dist/features/toolbars/inline/feature.client.d.ts.map +1 -0
  468. package/dist/features/toolbars/inline/feature.client.js.map +1 -0
  469. package/dist/features/toolbars/inline/feature.server.d.ts.map +1 -0
  470. package/dist/features/toolbars/inline/feature.server.js +16 -0
  471. package/dist/features/toolbars/inline/feature.server.js.map +1 -0
  472. package/dist/features/toolbars/shared/ToolbarButton/index.d.ts.map +1 -0
  473. package/dist/features/toolbars/shared/ToolbarButton/index.js.map +1 -0
  474. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +1 -0
  475. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +1 -0
  476. package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +1 -0
  477. package/dist/features/toolbars/shared/ToolbarDropdown/index.js +141 -0
  478. package/dist/features/toolbars/shared/ToolbarDropdown/index.js.map +1 -0
  479. package/dist/features/toolbars/types.d.ts.map +1 -0
  480. package/dist/features/toolbars/types.js.map +1 -0
  481. package/dist/features/typeUtilities.d.ts.map +1 -0
  482. package/dist/features/typeUtilities.js.map +1 -0
  483. package/dist/features/types.d.ts +468 -0
  484. package/dist/features/types.d.ts.map +1 -0
  485. package/dist/features/types.js.map +1 -0
  486. package/dist/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +1 -0
  487. package/dist/features/upload/component/ExtraFieldsDrawer/index.js +123 -0
  488. package/dist/features/upload/component/ExtraFieldsDrawer/index.js.map +1 -0
  489. package/dist/features/upload/component/index.d.ts.map +1 -0
  490. package/dist/features/upload/component/index.js +219 -0
  491. package/dist/features/upload/component/index.js.map +1 -0
  492. package/dist/features/upload/drawer/commands.d.ts.map +1 -0
  493. package/dist/features/upload/drawer/commands.js.map +1 -0
  494. package/dist/features/upload/drawer/index.d.ts.map +1 -0
  495. package/dist/features/upload/drawer/index.js +77 -0
  496. package/dist/features/upload/drawer/index.js.map +1 -0
  497. package/dist/features/upload/feature.client.d.ts.map +1 -0
  498. package/dist/features/upload/feature.client.js.map +1 -0
  499. package/dist/features/upload/feature.server.d.ts.map +1 -0
  500. package/dist/features/upload/feature.server.js +196 -0
  501. package/dist/features/upload/feature.server.js.map +1 -0
  502. package/dist/features/upload/graphQLPopulationPromise.d.ts.map +1 -0
  503. package/dist/features/upload/graphQLPopulationPromise.js +52 -0
  504. package/dist/features/upload/graphQLPopulationPromise.js.map +1 -0
  505. package/dist/features/upload/i18n.d.ts.map +1 -0
  506. package/dist/features/upload/i18n.js.map +1 -0
  507. package/dist/features/upload/nodes/UploadNode.d.ts.map +1 -0
  508. package/dist/features/upload/nodes/UploadNode.js.map +1 -0
  509. package/dist/features/upload/plugin/index.d.ts.map +1 -0
  510. package/dist/features/upload/plugin/index.js +53 -0
  511. package/dist/features/upload/plugin/index.js.map +1 -0
  512. package/dist/features/upload/validate.d.ts.map +1 -0
  513. package/dist/features/upload/validate.js.map +1 -0
  514. package/dist/field/Field.d.ts +3 -3
  515. package/dist/field/Field.d.ts.map +1 -1
  516. package/dist/field/Field.js +2 -2
  517. package/dist/field/Field.js.map +1 -1
  518. package/dist/field/index.d.ts +1 -1
  519. package/dist/field/index.d.ts.map +1 -1
  520. package/dist/field/index.js +7 -7
  521. package/dist/field/index.js.map +1 -1
  522. package/dist/index.d.ts +66 -66
  523. package/dist/index.d.ts.map +1 -1
  524. package/dist/index.js +66 -66
  525. package/dist/index.js.map +1 -1
  526. package/dist/lexical/EditorPlugin.d.ts +8 -0
  527. package/dist/lexical/EditorPlugin.d.ts.map +1 -0
  528. package/dist/lexical/EditorPlugin.js +15 -0
  529. package/dist/lexical/EditorPlugin.js.map +1 -0
  530. package/dist/lexical/LexicalEditor.d.ts.map +1 -0
  531. package/dist/lexical/LexicalEditor.js +192 -0
  532. package/dist/lexical/LexicalEditor.js.map +1 -0
  533. package/dist/lexical/LexicalProvider.d.ts +18 -0
  534. package/dist/lexical/LexicalProvider.d.ts.map +1 -0
  535. package/dist/lexical/LexicalProvider.js.map +1 -0
  536. package/dist/lexical/config/client/EditorConfigProvider.d.ts +35 -0
  537. package/dist/lexical/config/client/EditorConfigProvider.d.ts.map +1 -0
  538. package/dist/lexical/config/client/EditorConfigProvider.js.map +1 -0
  539. package/dist/lexical/config/client/default.d.ts.map +1 -0
  540. package/dist/lexical/config/client/default.js.map +1 -0
  541. package/dist/lexical/config/client/loader.d.ts.map +1 -0
  542. package/dist/lexical/config/client/loader.js.map +1 -0
  543. package/dist/lexical/config/client/sanitize.d.ts +7 -0
  544. package/dist/lexical/config/client/sanitize.d.ts.map +1 -0
  545. package/dist/lexical/config/client/sanitize.js.map +1 -0
  546. package/dist/lexical/config/server/default.d.ts.map +1 -0
  547. package/dist/lexical/config/server/default.js.map +1 -0
  548. package/dist/lexical/config/server/loader.d.ts.map +1 -0
  549. package/dist/lexical/config/server/loader.js.map +1 -0
  550. package/dist/lexical/config/server/sanitize.d.ts.map +1 -0
  551. package/dist/lexical/config/server/sanitize.js.map +1 -0
  552. package/dist/lexical/config/types.d.ts +23 -0
  553. package/dist/lexical/config/types.d.ts.map +1 -0
  554. package/dist/lexical/config/types.js.map +1 -0
  555. package/dist/lexical/nodes/index.d.ts.map +1 -0
  556. package/dist/lexical/nodes/index.js.map +1 -0
  557. package/dist/lexical/plugins/MarkdownShortcut/index.d.ts.map +1 -0
  558. package/dist/lexical/plugins/MarkdownShortcut/index.js.map +1 -0
  559. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +1 -0
  560. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +1 -0
  561. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +1 -0
  562. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +1 -0
  563. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +1 -0
  564. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +1 -0
  565. package/dist/lexical/plugins/SlashMenu/index.d.ts.map +1 -0
  566. package/dist/lexical/plugins/SlashMenu/index.js +187 -0
  567. package/dist/lexical/plugins/SlashMenu/index.js.map +1 -0
  568. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +1 -0
  569. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +1 -0
  570. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +1 -0
  571. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +1 -0
  572. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +1 -0
  573. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +1 -0
  574. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +1 -0
  575. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +1 -0
  576. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +1 -0
  577. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +1 -0
  578. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +1 -0
  579. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +1 -0
  580. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +1 -0
  581. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +1 -0
  582. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts.map +1 -0
  583. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js.map +1 -0
  584. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +1 -0
  585. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +1 -0
  586. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +1 -0
  587. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.js.map +1 -0
  588. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts.map +1 -0
  589. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.js.map +1 -0
  590. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +1 -0
  591. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +1 -0
  592. package/dist/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +1 -0
  593. package/dist/lexical/plugins/handles/utils/isOnHandleElement.js.map +1 -0
  594. package/dist/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +1 -0
  595. package/dist/lexical/plugins/handles/utils/setHandlePosition.js.map +1 -0
  596. package/dist/lexical/theme/EditorTheme.d.ts.map +1 -0
  597. package/dist/lexical/theme/EditorTheme.js.map +1 -0
  598. package/dist/lexical/ui/ContentEditable.d.ts.map +1 -0
  599. package/dist/lexical/ui/ContentEditable.js.map +1 -0
  600. package/dist/lexical/ui/icons/AI/index.d.ts.map +1 -0
  601. package/dist/lexical/ui/icons/AI/index.js.map +1 -0
  602. package/dist/lexical/ui/icons/Add/index.d.ts.map +1 -0
  603. package/dist/lexical/ui/icons/Add/index.js.map +1 -0
  604. package/dist/lexical/ui/icons/AlignCenter/index.d.ts.map +1 -0
  605. package/dist/lexical/ui/icons/AlignCenter/index.js.map +1 -0
  606. package/dist/lexical/ui/icons/AlignJustify/index.d.ts.map +1 -0
  607. package/dist/lexical/ui/icons/AlignJustify/index.js.map +1 -0
  608. package/dist/lexical/ui/icons/AlignLeft/index.d.ts.map +1 -0
  609. package/dist/lexical/ui/icons/AlignLeft/index.js.map +1 -0
  610. package/dist/lexical/ui/icons/AlignRight/index.d.ts.map +1 -0
  611. package/dist/lexical/ui/icons/AlignRight/index.js.map +1 -0
  612. package/dist/lexical/ui/icons/Block/index.d.ts.map +1 -0
  613. package/dist/lexical/ui/icons/Block/index.js.map +1 -0
  614. package/dist/lexical/ui/icons/Blockquote/index.d.ts.map +1 -0
  615. package/dist/lexical/ui/icons/Blockquote/index.js.map +1 -0
  616. package/dist/lexical/ui/icons/Bold/index.d.ts.map +1 -0
  617. package/dist/lexical/ui/icons/Bold/index.js.map +1 -0
  618. package/dist/lexical/ui/icons/Checklist/index.d.ts.map +1 -0
  619. package/dist/lexical/ui/icons/Checklist/index.js.map +1 -0
  620. package/dist/lexical/ui/icons/Code/index.d.ts.map +1 -0
  621. package/dist/lexical/ui/icons/Code/index.js.map +1 -0
  622. package/dist/lexical/ui/icons/CodeBlock/index.d.ts.map +1 -0
  623. package/dist/lexical/ui/icons/CodeBlock/index.js.map +1 -0
  624. package/dist/lexical/ui/icons/H1/index.d.ts.map +1 -0
  625. package/dist/lexical/ui/icons/H1/index.js.map +1 -0
  626. package/dist/lexical/ui/icons/H2/index.d.ts.map +1 -0
  627. package/dist/lexical/ui/icons/H2/index.js.map +1 -0
  628. package/dist/lexical/ui/icons/H3/index.d.ts.map +1 -0
  629. package/dist/lexical/ui/icons/H3/index.js.map +1 -0
  630. package/dist/lexical/ui/icons/H4/index.d.ts.map +1 -0
  631. package/dist/lexical/ui/icons/H4/index.js.map +1 -0
  632. package/dist/lexical/ui/icons/H5/index.d.ts.map +1 -0
  633. package/dist/lexical/ui/icons/H5/index.js.map +1 -0
  634. package/dist/lexical/ui/icons/H6/index.d.ts.map +1 -0
  635. package/dist/lexical/ui/icons/H6/index.js.map +1 -0
  636. package/dist/lexical/ui/icons/HorizontalRule/index.d.ts.map +1 -0
  637. package/dist/lexical/ui/icons/HorizontalRule/index.js.map +1 -0
  638. package/dist/lexical/ui/icons/IndentDecrease/index.d.ts.map +1 -0
  639. package/dist/lexical/ui/icons/IndentDecrease/index.js.map +1 -0
  640. package/dist/lexical/ui/icons/IndentIncrease/index.d.ts.map +1 -0
  641. package/dist/lexical/ui/icons/IndentIncrease/index.js.map +1 -0
  642. package/dist/lexical/ui/icons/Italic/index.d.ts.map +1 -0
  643. package/dist/lexical/ui/icons/Italic/index.js.map +1 -0
  644. package/dist/lexical/ui/icons/Link/index.d.ts.map +1 -0
  645. package/dist/lexical/ui/icons/Link/index.js.map +1 -0
  646. package/dist/lexical/ui/icons/OrderedList/index.d.ts.map +1 -0
  647. package/dist/lexical/ui/icons/OrderedList/index.js.map +1 -0
  648. package/dist/lexical/ui/icons/Relationship/index.d.ts.map +1 -0
  649. package/dist/lexical/ui/icons/Relationship/index.js.map +1 -0
  650. package/dist/lexical/ui/icons/Strikethrough/index.d.ts.map +1 -0
  651. package/dist/lexical/ui/icons/Strikethrough/index.js.map +1 -0
  652. package/dist/lexical/ui/icons/Subscript/index.d.ts.map +1 -0
  653. package/dist/lexical/ui/icons/Subscript/index.js.map +1 -0
  654. package/dist/lexical/ui/icons/Superscript/index.d.ts.map +1 -0
  655. package/dist/lexical/ui/icons/Superscript/index.js.map +1 -0
  656. package/dist/lexical/ui/icons/Text/index.d.ts.map +1 -0
  657. package/dist/lexical/ui/icons/Text/index.js.map +1 -0
  658. package/dist/lexical/ui/icons/Underline/index.d.ts.map +1 -0
  659. package/dist/lexical/ui/icons/Underline/index.js.map +1 -0
  660. package/dist/lexical/ui/icons/UnorderedList/index.d.ts.map +1 -0
  661. package/dist/lexical/ui/icons/UnorderedList/index.js.map +1 -0
  662. package/dist/lexical/ui/icons/Upload/index.d.ts.map +1 -0
  663. package/dist/lexical/ui/icons/Upload/index.js.map +1 -0
  664. package/dist/lexical/utils/canUseDOM.d.ts.map +1 -0
  665. package/dist/lexical/utils/canUseDOM.js.map +1 -0
  666. package/dist/lexical/utils/cloneDeep.d.ts.map +1 -0
  667. package/dist/lexical/utils/cloneDeep.js +50 -0
  668. package/dist/lexical/utils/cloneDeep.js.map +1 -0
  669. package/dist/lexical/utils/environment.d.ts.map +1 -0
  670. package/dist/lexical/utils/environment.js.map +1 -0
  671. package/dist/lexical/utils/getDOMRangeRect.d.ts.map +1 -0
  672. package/dist/lexical/utils/getDOMRangeRect.js.map +1 -0
  673. package/dist/lexical/utils/getSelectedNode.d.ts.map +1 -0
  674. package/dist/lexical/utils/getSelectedNode.js.map +1 -0
  675. package/dist/lexical/utils/guard.d.ts.map +1 -0
  676. package/dist/lexical/utils/guard.js.map +1 -0
  677. package/dist/lexical/utils/invariant.d.ts.map +1 -0
  678. package/dist/lexical/utils/invariant.js.map +1 -0
  679. package/dist/lexical/utils/joinClasses.d.ts.map +1 -0
  680. package/dist/lexical/utils/joinClasses.js.map +1 -0
  681. package/dist/lexical/utils/markdown/createBlockNode.d.ts.map +1 -0
  682. package/dist/lexical/utils/markdown/createBlockNode.js.map +1 -0
  683. package/dist/lexical/utils/nodeFormat.d.ts.map +1 -0
  684. package/dist/lexical/utils/nodeFormat.js.map +1 -0
  685. package/dist/lexical/utils/point.d.ts.map +1 -0
  686. package/dist/lexical/utils/point.js.map +1 -0
  687. package/dist/lexical/utils/rect.d.ts.map +1 -0
  688. package/dist/lexical/utils/rect.js.map +1 -0
  689. package/dist/lexical/utils/setFloatingElemPosition.d.ts.map +1 -0
  690. package/dist/lexical/utils/setFloatingElemPosition.js.map +1 -0
  691. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +1 -0
  692. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +1 -0
  693. package/dist/lexical/utils/swipe.d.ts.map +1 -0
  694. package/dist/lexical/utils/swipe.js.map +1 -0
  695. package/dist/lexical/utils/url.d.ts.map +1 -0
  696. package/dist/lexical/utils/url.js.map +1 -0
  697. package/dist/populateGraphQL/populate.d.ts +3 -3
  698. package/dist/populateGraphQL/populate.d.ts.map +1 -1
  699. package/dist/populateGraphQL/populate.js +2 -2
  700. package/dist/populateGraphQL/populate.js.map +1 -1
  701. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts +1 -1
  702. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts.map +1 -1
  703. package/dist/populateGraphQL/populateLexicalPopulationPromises.js +1 -1
  704. package/dist/populateGraphQL/populateLexicalPopulationPromises.js.map +1 -1
  705. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts +1 -1
  706. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts.map +1 -1
  707. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js.map +1 -1
  708. package/dist/types.d.ts +2 -2
  709. package/dist/types.d.ts.map +1 -1
  710. package/dist/types.js.map +1 -1
  711. package/dist/utilities/forEachNodeRecursively.d.ts.map +1 -0
  712. package/dist/utilities/forEachNodeRecursively.js.map +1 -0
  713. package/dist/utilities/generateComponentMap.d.ts +6 -0
  714. package/dist/utilities/generateComponentMap.d.ts.map +1 -0
  715. package/dist/utilities/generateComponentMap.js.map +1 -0
  716. package/dist/utilities/generateSchemaMap.d.ts +6 -0
  717. package/dist/utilities/generateSchemaMap.d.ts.map +1 -0
  718. package/dist/utilities/generateSchemaMap.js.map +1 -0
  719. package/dist/utilities/recurseNodeTree.d.ts.map +1 -0
  720. package/dist/utilities/recurseNodeTree.js.map +1 -0
  721. package/dist/utilities/useLexicalFeature.d.ts +3 -0
  722. package/dist/utilities/useLexicalFeature.d.ts.map +1 -0
  723. package/dist/utilities/useLexicalFeature.js +12 -0
  724. package/dist/utilities/useLexicalFeature.js.map +1 -0
  725. package/dist/validate/index.d.ts +1 -1
  726. package/dist/validate/index.d.ts.map +1 -1
  727. package/dist/validate/index.js.map +1 -1
  728. package/dist/validate/validateNodes.d.ts +1 -1
  729. package/dist/validate/validateNodes.d.ts.map +1 -1
  730. package/dist/validate/validateNodes.js.map +1 -1
  731. package/package.json +13 -13
  732. package/dist/exports/client/Component-6AVANNNR.js +0 -2
  733. package/dist/exports/client/Component-6AVANNNR.js.map +0 -7
  734. package/dist/exports/client/Component-SZVAYRJX.js +0 -2
  735. package/dist/exports/client/Component-SZVAYRJX.js.map +0 -7
  736. package/dist/exports/client/Field-U5PHZTST.js +0 -2
  737. package/dist/exports/client/Field-U5PHZTST.js.map +0 -7
  738. package/dist/exports/client/RelationshipComponent-FGUPLCD2.js +0 -2
  739. package/dist/exports/client/RelationshipComponent-FGUPLCD2.js.map +0 -7
  740. package/dist/exports/client/chunk-35NZOHAF.js +0 -2
  741. package/dist/exports/client/chunk-35NZOHAF.js.map +0 -7
  742. package/dist/exports/client/chunk-3PZ2ZFQG.js +0 -3
  743. package/dist/exports/client/chunk-3PZ2ZFQG.js.map +0 -7
  744. package/dist/exports/client/chunk-FSTRW2TI.js +0 -2
  745. package/dist/exports/client/chunk-FSTRW2TI.js.map +0 -7
  746. package/dist/exports/client/chunk-M6MN4CA5.js +0 -2
  747. package/dist/exports/client/chunk-M6MN4CA5.js.map +0 -7
  748. package/dist/exports/client/chunk-Y5455JF3.js +0 -2
  749. package/dist/exports/client/chunk-Y5455JF3.js.map +0 -7
  750. package/dist/exports/client/component-FFLILIUZ.js +0 -2
  751. package/dist/exports/client/component-FFLILIUZ.js.map +0 -7
  752. package/dist/exports/client/component-RAVN56DE.js +0 -2
  753. package/dist/exports/client/component-RAVN56DE.js.map +0 -7
  754. package/dist/exports/client/component-Z34HXRX3.js +0 -2
  755. package/dist/exports/client/component-Z34HXRX3.js.map +0 -7
  756. package/dist/field/features/align/feature.client.d.ts.map +0 -1
  757. package/dist/field/features/align/feature.client.js.map +0 -1
  758. package/dist/field/features/align/feature.server.d.ts.map +0 -1
  759. package/dist/field/features/align/feature.server.js +0 -19
  760. package/dist/field/features/align/feature.server.js.map +0 -1
  761. package/dist/field/features/align/i18n.d.ts.map +0 -1
  762. package/dist/field/features/align/i18n.js.map +0 -1
  763. package/dist/field/features/align/toolbarAlignGroup.d.ts.map +0 -1
  764. package/dist/field/features/align/toolbarAlignGroup.js.map +0 -1
  765. package/dist/field/features/blockquote/feature.client.d.ts.map +0 -1
  766. package/dist/field/features/blockquote/feature.client.js.map +0 -1
  767. package/dist/field/features/blockquote/feature.server.d.ts.map +0 -1
  768. package/dist/field/features/blockquote/feature.server.js +0 -50
  769. package/dist/field/features/blockquote/feature.server.js.map +0 -1
  770. package/dist/field/features/blockquote/i18n.d.ts.map +0 -1
  771. package/dist/field/features/blockquote/i18n.js.map +0 -1
  772. package/dist/field/features/blockquote/markdownTransformer.d.ts.map +0 -1
  773. package/dist/field/features/blockquote/markdownTransformer.js.map +0 -1
  774. package/dist/field/features/blocks/component/BlockContent.d.ts +0 -27
  775. package/dist/field/features/blocks/component/BlockContent.d.ts.map +0 -1
  776. package/dist/field/features/blocks/component/BlockContent.js +0 -193
  777. package/dist/field/features/blocks/component/BlockContent.js.map +0 -1
  778. package/dist/field/features/blocks/component/FormSavePlugin.d.ts.map +0 -1
  779. package/dist/field/features/blocks/component/FormSavePlugin.js +0 -29
  780. package/dist/field/features/blocks/component/FormSavePlugin.js.map +0 -1
  781. package/dist/field/features/blocks/component/index.d.ts.map +0 -1
  782. package/dist/field/features/blocks/component/index.js +0 -158
  783. package/dist/field/features/blocks/component/index.js.map +0 -1
  784. package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts.map +0 -1
  785. package/dist/field/features/blocks/component/removeEmptyArrayValues.js.map +0 -1
  786. package/dist/field/features/blocks/drawer/index.d.ts.map +0 -1
  787. package/dist/field/features/blocks/drawer/index.js +0 -78
  788. package/dist/field/features/blocks/drawer/index.js.map +0 -1
  789. package/dist/field/features/blocks/feature.client.d.ts.map +0 -1
  790. package/dist/field/features/blocks/feature.client.js.map +0 -1
  791. package/dist/field/features/blocks/feature.server.d.ts.map +0 -1
  792. package/dist/field/features/blocks/feature.server.js +0 -107
  793. package/dist/field/features/blocks/feature.server.js.map +0 -1
  794. package/dist/field/features/blocks/graphQLPopulationPromise.d.ts.map +0 -1
  795. package/dist/field/features/blocks/graphQLPopulationPromise.js +0 -31
  796. package/dist/field/features/blocks/graphQLPopulationPromise.js.map +0 -1
  797. package/dist/field/features/blocks/i18n.d.ts.map +0 -1
  798. package/dist/field/features/blocks/i18n.js.map +0 -1
  799. package/dist/field/features/blocks/nodes/BlocksNode.d.ts.map +0 -1
  800. package/dist/field/features/blocks/nodes/BlocksNode.js.map +0 -1
  801. package/dist/field/features/blocks/plugin/commands.d.ts.map +0 -1
  802. package/dist/field/features/blocks/plugin/commands.js.map +0 -1
  803. package/dist/field/features/blocks/plugin/index.d.ts.map +0 -1
  804. package/dist/field/features/blocks/plugin/index.js.map +0 -1
  805. package/dist/field/features/blocks/validate.d.ts.map +0 -1
  806. package/dist/field/features/blocks/validate.js.map +0 -1
  807. package/dist/field/features/converters/html/converter/converters/linebreak.d.ts.map +0 -1
  808. package/dist/field/features/converters/html/converter/converters/linebreak.js.map +0 -1
  809. package/dist/field/features/converters/html/converter/converters/paragraph.d.ts.map +0 -1
  810. package/dist/field/features/converters/html/converter/converters/paragraph.js +0 -20
  811. package/dist/field/features/converters/html/converter/converters/paragraph.js.map +0 -1
  812. package/dist/field/features/converters/html/converter/converters/text.d.ts.map +0 -1
  813. package/dist/field/features/converters/html/converter/converters/text.js.map +0 -1
  814. package/dist/field/features/converters/html/converter/defaultConverters.d.ts.map +0 -1
  815. package/dist/field/features/converters/html/converter/defaultConverters.js.map +0 -1
  816. package/dist/field/features/converters/html/converter/index.d.ts +0 -21
  817. package/dist/field/features/converters/html/converter/index.d.ts.map +0 -1
  818. package/dist/field/features/converters/html/converter/index.js +0 -44
  819. package/dist/field/features/converters/html/converter/index.js.map +0 -1
  820. package/dist/field/features/converters/html/converter/types.d.ts +0 -19
  821. package/dist/field/features/converters/html/converter/types.d.ts.map +0 -1
  822. package/dist/field/features/converters/html/converter/types.js.map +0 -1
  823. package/dist/field/features/converters/html/feature.server.d.ts.map +0 -1
  824. package/dist/field/features/converters/html/feature.server.js.map +0 -1
  825. package/dist/field/features/converters/html/field/index.d.ts.map +0 -1
  826. package/dist/field/features/converters/html/field/index.js +0 -154
  827. package/dist/field/features/converters/html/field/index.js.map +0 -1
  828. package/dist/field/features/createClientComponent.d.ts.map +0 -1
  829. package/dist/field/features/createClientComponent.js +0 -12
  830. package/dist/field/features/createClientComponent.js.map +0 -1
  831. package/dist/field/features/createFeaturePropComponent.d.ts.map +0 -1
  832. package/dist/field/features/createFeaturePropComponent.js +0 -18
  833. package/dist/field/features/createFeaturePropComponent.js.map +0 -1
  834. package/dist/field/features/debug/testRecorder/feature.client.d.ts.map +0 -1
  835. package/dist/field/features/debug/testRecorder/feature.client.js.map +0 -1
  836. package/dist/field/features/debug/testRecorder/feature.server.d.ts.map +0 -1
  837. package/dist/field/features/debug/testRecorder/feature.server.js +0 -16
  838. package/dist/field/features/debug/testRecorder/feature.server.js.map +0 -1
  839. package/dist/field/features/debug/testRecorder/plugin/index.d.ts.map +0 -1
  840. package/dist/field/features/debug/testRecorder/plugin/index.js.map +0 -1
  841. package/dist/field/features/debug/treeView/feature.client.d.ts.map +0 -1
  842. package/dist/field/features/debug/treeView/feature.client.js.map +0 -1
  843. package/dist/field/features/debug/treeView/feature.server.d.ts.map +0 -1
  844. package/dist/field/features/debug/treeView/feature.server.js +0 -16
  845. package/dist/field/features/debug/treeView/feature.server.js.map +0 -1
  846. package/dist/field/features/debug/treeView/plugin/index.d.ts.map +0 -1
  847. package/dist/field/features/debug/treeView/plugin/index.js.map +0 -1
  848. package/dist/field/features/format/bold/feature.client.d.ts.map +0 -1
  849. package/dist/field/features/format/bold/feature.client.js.map +0 -1
  850. package/dist/field/features/format/bold/feature.server.d.ts.map +0 -1
  851. package/dist/field/features/format/bold/feature.server.js +0 -28
  852. package/dist/field/features/format/bold/feature.server.js.map +0 -1
  853. package/dist/field/features/format/bold/markdownTransformers.d.ts.map +0 -1
  854. package/dist/field/features/format/bold/markdownTransformers.js.map +0 -1
  855. package/dist/field/features/format/inlineCode/feature.client.d.ts.map +0 -1
  856. package/dist/field/features/format/inlineCode/feature.client.js.map +0 -1
  857. package/dist/field/features/format/inlineCode/feature.server.d.ts.map +0 -1
  858. package/dist/field/features/format/inlineCode/feature.server.js +0 -20
  859. package/dist/field/features/format/inlineCode/feature.server.js.map +0 -1
  860. package/dist/field/features/format/inlineCode/markdownTransformers.d.ts.map +0 -1
  861. package/dist/field/features/format/inlineCode/markdownTransformers.js.map +0 -1
  862. package/dist/field/features/format/italic/feature.client.d.ts.map +0 -1
  863. package/dist/field/features/format/italic/feature.client.js.map +0 -1
  864. package/dist/field/features/format/italic/feature.server.d.ts.map +0 -1
  865. package/dist/field/features/format/italic/feature.server.js +0 -21
  866. package/dist/field/features/format/italic/feature.server.js.map +0 -1
  867. package/dist/field/features/format/italic/markdownTransformers.d.ts.map +0 -1
  868. package/dist/field/features/format/italic/markdownTransformers.js.map +0 -1
  869. package/dist/field/features/format/shared/toolbarFormatGroup.d.ts.map +0 -1
  870. package/dist/field/features/format/shared/toolbarFormatGroup.js.map +0 -1
  871. package/dist/field/features/format/strikethrough/feature.client.d.ts.map +0 -1
  872. package/dist/field/features/format/strikethrough/feature.client.js.map +0 -1
  873. package/dist/field/features/format/strikethrough/feature.server.d.ts.map +0 -1
  874. package/dist/field/features/format/strikethrough/feature.server.js +0 -20
  875. package/dist/field/features/format/strikethrough/feature.server.js.map +0 -1
  876. package/dist/field/features/format/strikethrough/markdownTransformers.d.ts.map +0 -1
  877. package/dist/field/features/format/strikethrough/markdownTransformers.js.map +0 -1
  878. package/dist/field/features/format/subscript/feature.client.d.ts.map +0 -1
  879. package/dist/field/features/format/subscript/feature.client.js.map +0 -1
  880. package/dist/field/features/format/subscript/feature.server.d.ts.map +0 -1
  881. package/dist/field/features/format/subscript/feature.server.js +0 -16
  882. package/dist/field/features/format/subscript/feature.server.js.map +0 -1
  883. package/dist/field/features/format/superscript/feature.client.d.ts.map +0 -1
  884. package/dist/field/features/format/superscript/feature.client.js.map +0 -1
  885. package/dist/field/features/format/superscript/feature.server.d.ts.map +0 -1
  886. package/dist/field/features/format/superscript/feature.server.js +0 -16
  887. package/dist/field/features/format/superscript/feature.server.js.map +0 -1
  888. package/dist/field/features/format/underline/feature.client.d.ts.map +0 -1
  889. package/dist/field/features/format/underline/feature.client.js.map +0 -1
  890. package/dist/field/features/format/underline/feature.server.d.ts.map +0 -1
  891. package/dist/field/features/format/underline/feature.server.js +0 -16
  892. package/dist/field/features/format/underline/feature.server.js.map +0 -1
  893. package/dist/field/features/heading/feature.client.d.ts.map +0 -1
  894. package/dist/field/features/heading/feature.client.js.map +0 -1
  895. package/dist/field/features/heading/feature.server.d.ts.map +0 -1
  896. package/dist/field/features/heading/feature.server.js +0 -61
  897. package/dist/field/features/heading/feature.server.js.map +0 -1
  898. package/dist/field/features/heading/i18n.d.ts.map +0 -1
  899. package/dist/field/features/heading/i18n.js.map +0 -1
  900. package/dist/field/features/heading/markdownTransformer.d.ts.map +0 -1
  901. package/dist/field/features/heading/markdownTransformer.js.map +0 -1
  902. package/dist/field/features/horizontalRule/component/index.d.ts.map +0 -1
  903. package/dist/field/features/horizontalRule/component/index.js.map +0 -1
  904. package/dist/field/features/horizontalRule/feature.client.d.ts.map +0 -1
  905. package/dist/field/features/horizontalRule/feature.client.js.map +0 -1
  906. package/dist/field/features/horizontalRule/feature.server.d.ts.map +0 -1
  907. package/dist/field/features/horizontalRule/feature.server.js +0 -39
  908. package/dist/field/features/horizontalRule/feature.server.js.map +0 -1
  909. package/dist/field/features/horizontalRule/i18n.d.ts.map +0 -1
  910. package/dist/field/features/horizontalRule/i18n.js.map +0 -1
  911. package/dist/field/features/horizontalRule/markdownTransformer.d.ts.map +0 -1
  912. package/dist/field/features/horizontalRule/markdownTransformer.js.map +0 -1
  913. package/dist/field/features/horizontalRule/nodes/HorizontalRuleNode.d.ts.map +0 -1
  914. package/dist/field/features/horizontalRule/nodes/HorizontalRuleNode.js.map +0 -1
  915. package/dist/field/features/horizontalRule/plugin/index.d.ts.map +0 -1
  916. package/dist/field/features/horizontalRule/plugin/index.js.map +0 -1
  917. package/dist/field/features/indent/feature.client.d.ts.map +0 -1
  918. package/dist/field/features/indent/feature.client.js.map +0 -1
  919. package/dist/field/features/indent/feature.server.d.ts.map +0 -1
  920. package/dist/field/features/indent/feature.server.js +0 -19
  921. package/dist/field/features/indent/feature.server.js.map +0 -1
  922. package/dist/field/features/indent/i18n.d.ts.map +0 -1
  923. package/dist/field/features/indent/i18n.js.map +0 -1
  924. package/dist/field/features/indent/toolbarIndentGroup.d.ts.map +0 -1
  925. package/dist/field/features/indent/toolbarIndentGroup.js.map +0 -1
  926. package/dist/field/features/link/drawer/baseFields.d.ts.map +0 -1
  927. package/dist/field/features/link/drawer/baseFields.js.map +0 -1
  928. package/dist/field/features/link/drawer/index.d.ts.map +0 -1
  929. package/dist/field/features/link/drawer/index.js +0 -94
  930. package/dist/field/features/link/drawer/index.js.map +0 -1
  931. package/dist/field/features/link/drawer/types.d.ts.map +0 -1
  932. package/dist/field/features/link/drawer/types.js.map +0 -1
  933. package/dist/field/features/link/feature.client.d.ts.map +0 -1
  934. package/dist/field/features/link/feature.client.js.map +0 -1
  935. package/dist/field/features/link/feature.server.d.ts.map +0 -1
  936. package/dist/field/features/link/feature.server.js +0 -140
  937. package/dist/field/features/link/feature.server.js.map +0 -1
  938. package/dist/field/features/link/graphQLPopulationPromise.d.ts.map +0 -1
  939. package/dist/field/features/link/graphQLPopulationPromise.js +0 -31
  940. package/dist/field/features/link/graphQLPopulationPromise.js.map +0 -1
  941. package/dist/field/features/link/i18n.d.ts.map +0 -1
  942. package/dist/field/features/link/i18n.js.map +0 -1
  943. package/dist/field/features/link/markdownTransformer.d.ts.map +0 -1
  944. package/dist/field/features/link/markdownTransformer.js.map +0 -1
  945. package/dist/field/features/link/nodes/AutoLinkNode.d.ts.map +0 -1
  946. package/dist/field/features/link/nodes/AutoLinkNode.js.map +0 -1
  947. package/dist/field/features/link/nodes/LinkNode.d.ts.map +0 -1
  948. package/dist/field/features/link/nodes/LinkNode.js.map +0 -1
  949. package/dist/field/features/link/nodes/types.d.ts.map +0 -1
  950. package/dist/field/features/link/nodes/types.js.map +0 -1
  951. package/dist/field/features/link/plugins/autoLink/index.d.ts.map +0 -1
  952. package/dist/field/features/link/plugins/autoLink/index.js.map +0 -1
  953. package/dist/field/features/link/plugins/clickableLink/index.d.ts.map +0 -1
  954. package/dist/field/features/link/plugins/clickableLink/index.js.map +0 -1
  955. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +0 -1
  956. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +0 -1
  957. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +0 -1
  958. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +0 -295
  959. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +0 -1
  960. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts.map +0 -1
  961. package/dist/field/features/link/plugins/floatingLinkEditor/index.js.map +0 -1
  962. package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts.map +0 -1
  963. package/dist/field/features/link/plugins/floatingLinkEditor/types.js.map +0 -1
  964. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +0 -1
  965. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js.map +0 -1
  966. package/dist/field/features/link/plugins/link/index.d.ts.map +0 -1
  967. package/dist/field/features/link/plugins/link/index.js.map +0 -1
  968. package/dist/field/features/link/validate.d.ts.map +0 -1
  969. package/dist/field/features/link/validate.js.map +0 -1
  970. package/dist/field/features/lists/checklist/feature.client.d.ts.map +0 -1
  971. package/dist/field/features/lists/checklist/feature.client.js.map +0 -1
  972. package/dist/field/features/lists/checklist/feature.server.d.ts.map +0 -1
  973. package/dist/field/features/lists/checklist/feature.server.js +0 -39
  974. package/dist/field/features/lists/checklist/feature.server.js.map +0 -1
  975. package/dist/field/features/lists/checklist/i18n.d.ts.map +0 -1
  976. package/dist/field/features/lists/checklist/i18n.js.map +0 -1
  977. package/dist/field/features/lists/checklist/markdownTransformers.d.ts.map +0 -1
  978. package/dist/field/features/lists/checklist/markdownTransformers.js.map +0 -1
  979. package/dist/field/features/lists/checklist/plugin/index.d.ts.map +0 -1
  980. package/dist/field/features/lists/checklist/plugin/index.js.map +0 -1
  981. package/dist/field/features/lists/htmlConverter.d.ts.map +0 -1
  982. package/dist/field/features/lists/htmlConverter.js +0 -56
  983. package/dist/field/features/lists/htmlConverter.js.map +0 -1
  984. package/dist/field/features/lists/orderedList/feature.client.d.ts.map +0 -1
  985. package/dist/field/features/lists/orderedList/feature.client.js.map +0 -1
  986. package/dist/field/features/lists/orderedList/feature.server.d.ts.map +0 -1
  987. package/dist/field/features/lists/orderedList/feature.server.js +0 -39
  988. package/dist/field/features/lists/orderedList/feature.server.js.map +0 -1
  989. package/dist/field/features/lists/orderedList/i18n.d.ts.map +0 -1
  990. package/dist/field/features/lists/orderedList/i18n.js.map +0 -1
  991. package/dist/field/features/lists/orderedList/markdownTransformer.d.ts.map +0 -1
  992. package/dist/field/features/lists/orderedList/markdownTransformer.js.map +0 -1
  993. package/dist/field/features/lists/plugin/index.d.ts.map +0 -1
  994. package/dist/field/features/lists/plugin/index.js.map +0 -1
  995. package/dist/field/features/lists/shared/markdown.d.ts.map +0 -1
  996. package/dist/field/features/lists/shared/markdown.js.map +0 -1
  997. package/dist/field/features/lists/shared/slashMenuListGroup.d.ts.map +0 -1
  998. package/dist/field/features/lists/shared/slashMenuListGroup.js.map +0 -1
  999. package/dist/field/features/lists/unorderedList/feature.client.d.ts.map +0 -1
  1000. package/dist/field/features/lists/unorderedList/feature.client.js.map +0 -1
  1001. package/dist/field/features/lists/unorderedList/feature.server.d.ts.map +0 -1
  1002. package/dist/field/features/lists/unorderedList/feature.server.js +0 -39
  1003. package/dist/field/features/lists/unorderedList/feature.server.js.map +0 -1
  1004. package/dist/field/features/lists/unorderedList/i18n.d.ts.map +0 -1
  1005. package/dist/field/features/lists/unorderedList/i18n.js.map +0 -1
  1006. package/dist/field/features/lists/unorderedList/markdownTransformer.d.ts.map +0 -1
  1007. package/dist/field/features/lists/unorderedList/markdownTransformer.js.map +0 -1
  1008. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1009. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +0 -1
  1010. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1011. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +0 -1
  1012. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1013. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +0 -1
  1014. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +0 -1
  1015. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +0 -1
  1016. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1017. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +0 -1
  1018. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +0 -1
  1019. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +0 -1
  1020. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +0 -1
  1021. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +0 -1
  1022. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +0 -1
  1023. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +0 -1
  1024. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +0 -1
  1025. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +0 -1
  1026. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1027. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +0 -1
  1028. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1029. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +0 -1
  1030. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1031. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +0 -1
  1032. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +0 -1
  1033. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +0 -1
  1034. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +0 -1
  1035. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +0 -1
  1036. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +0 -1
  1037. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +0 -1
  1038. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1039. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +0 -1
  1040. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1041. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +0 -1
  1042. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1043. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +0 -1
  1044. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1045. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +0 -1
  1046. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1047. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +0 -1
  1048. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1049. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +0 -1
  1050. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +0 -1
  1051. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +0 -1
  1052. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +0 -1
  1053. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.js.map +0 -1
  1054. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +0 -1
  1055. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.js.map +0 -1
  1056. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +0 -1
  1057. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js.map +0 -1
  1058. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +0 -1
  1059. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js +0 -48
  1060. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js.map +0 -1
  1061. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1062. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1063. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1064. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1065. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +0 -1
  1066. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +0 -1
  1067. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +0 -1
  1068. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +0 -1
  1069. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +0 -1
  1070. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +0 -1
  1071. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1072. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.js.map +0 -1
  1073. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1074. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +0 -1
  1075. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1076. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js.map +0 -1
  1077. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +0 -1
  1078. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.js.map +0 -1
  1079. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +0 -1
  1080. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +0 -1
  1081. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +0 -1
  1082. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js.map +0 -1
  1083. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +0 -1
  1084. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.js.map +0 -1
  1085. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1086. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.js.map +0 -1
  1087. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +0 -1
  1088. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js.map +0 -1
  1089. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1090. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +0 -1
  1091. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1092. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +0 -1
  1093. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1094. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +0 -1
  1095. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +0 -1
  1096. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +0 -1
  1097. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +0 -1
  1098. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +0 -1
  1099. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +0 -1
  1100. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +0 -1
  1101. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +0 -1
  1102. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +0 -1
  1103. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +0 -1
  1104. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +0 -1
  1105. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +0 -1
  1106. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +0 -1
  1107. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1108. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +0 -1
  1109. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1110. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +0 -1
  1111. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1112. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +0 -1
  1113. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +0 -1
  1114. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +0 -1
  1115. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +0 -1
  1116. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +0 -1
  1117. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +0 -1
  1118. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +0 -1
  1119. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1120. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.js.map +0 -1
  1121. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1122. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +0 -1
  1123. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1124. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js.map +0 -1
  1125. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +0 -1
  1126. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.js.map +0 -1
  1127. package/dist/field/features/migrations/slateToLexical/converter/index.d.ts.map +0 -1
  1128. package/dist/field/features/migrations/slateToLexical/converter/index.js.map +0 -1
  1129. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts.map +0 -1
  1130. package/dist/field/features/migrations/slateToLexical/converter/types.js.map +0 -1
  1131. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts.map +0 -1
  1132. package/dist/field/features/migrations/slateToLexical/feature.client.js.map +0 -1
  1133. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts.map +0 -1
  1134. package/dist/field/features/migrations/slateToLexical/feature.server.js +0 -48
  1135. package/dist/field/features/migrations/slateToLexical/feature.server.js.map +0 -1
  1136. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1137. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1138. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1139. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1140. package/dist/field/features/paragraph/feature.client.d.ts.map +0 -1
  1141. package/dist/field/features/paragraph/feature.client.js.map +0 -1
  1142. package/dist/field/features/paragraph/feature.server.d.ts.map +0 -1
  1143. package/dist/field/features/paragraph/feature.server.js +0 -19
  1144. package/dist/field/features/paragraph/feature.server.js.map +0 -1
  1145. package/dist/field/features/paragraph/i18n.d.ts.map +0 -1
  1146. package/dist/field/features/paragraph/i18n.js.map +0 -1
  1147. package/dist/field/features/relationship/drawer/commands.d.ts.map +0 -1
  1148. package/dist/field/features/relationship/drawer/commands.js.map +0 -1
  1149. package/dist/field/features/relationship/drawer/index.d.ts.map +0 -1
  1150. package/dist/field/features/relationship/drawer/index.js +0 -83
  1151. package/dist/field/features/relationship/drawer/index.js.map +0 -1
  1152. package/dist/field/features/relationship/feature.client.d.ts.map +0 -1
  1153. package/dist/field/features/relationship/feature.client.js.map +0 -1
  1154. package/dist/field/features/relationship/feature.server.d.ts.map +0 -1
  1155. package/dist/field/features/relationship/feature.server.js +0 -61
  1156. package/dist/field/features/relationship/feature.server.js.map +0 -1
  1157. package/dist/field/features/relationship/graphQLPopulationPromise.d.ts.map +0 -1
  1158. package/dist/field/features/relationship/graphQLPopulationPromise.js +0 -29
  1159. package/dist/field/features/relationship/graphQLPopulationPromise.js.map +0 -1
  1160. package/dist/field/features/relationship/i18n.d.ts.map +0 -1
  1161. package/dist/field/features/relationship/i18n.js.map +0 -1
  1162. package/dist/field/features/relationship/nodes/RelationshipNode.d.ts.map +0 -1
  1163. package/dist/field/features/relationship/nodes/RelationshipNode.js.map +0 -1
  1164. package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts.map +0 -1
  1165. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js +0 -172
  1166. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js.map +0 -1
  1167. package/dist/field/features/relationship/plugins/index.d.ts.map +0 -1
  1168. package/dist/field/features/relationship/plugins/index.js +0 -50
  1169. package/dist/field/features/relationship/plugins/index.js.map +0 -1
  1170. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +0 -1
  1171. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js +0 -33
  1172. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js.map +0 -1
  1173. package/dist/field/features/shared/slashMenu/basicGroup.d.ts.map +0 -1
  1174. package/dist/field/features/shared/slashMenu/basicGroup.js.map +0 -1
  1175. package/dist/field/features/shared/toolbar/addDropdownGroup.d.ts.map +0 -1
  1176. package/dist/field/features/shared/toolbar/addDropdownGroup.js.map +0 -1
  1177. package/dist/field/features/shared/toolbar/featureButtonsGroup.d.ts.map +0 -1
  1178. package/dist/field/features/shared/toolbar/featureButtonsGroup.js.map +0 -1
  1179. package/dist/field/features/shared/toolbar/textDropdownGroup.d.ts.map +0 -1
  1180. package/dist/field/features/shared/toolbar/textDropdownGroup.js.map +0 -1
  1181. package/dist/field/features/toolbars/fixed/Toolbar/index.d.ts.map +0 -1
  1182. package/dist/field/features/toolbars/fixed/Toolbar/index.js +0 -207
  1183. package/dist/field/features/toolbars/fixed/Toolbar/index.js.map +0 -1
  1184. package/dist/field/features/toolbars/fixed/feature.client.d.ts.map +0 -1
  1185. package/dist/field/features/toolbars/fixed/feature.client.js.map +0 -1
  1186. package/dist/field/features/toolbars/fixed/feature.server.d.ts.map +0 -1
  1187. package/dist/field/features/toolbars/fixed/feature.server.js +0 -21
  1188. package/dist/field/features/toolbars/fixed/feature.server.js.map +0 -1
  1189. package/dist/field/features/toolbars/inline/Toolbar/index.d.ts.map +0 -1
  1190. package/dist/field/features/toolbars/inline/Toolbar/index.js.map +0 -1
  1191. package/dist/field/features/toolbars/inline/feature.client.d.ts.map +0 -1
  1192. package/dist/field/features/toolbars/inline/feature.client.js.map +0 -1
  1193. package/dist/field/features/toolbars/inline/feature.server.d.ts.map +0 -1
  1194. package/dist/field/features/toolbars/inline/feature.server.js +0 -16
  1195. package/dist/field/features/toolbars/inline/feature.server.js.map +0 -1
  1196. package/dist/field/features/toolbars/shared/ToolbarButton/index.d.ts.map +0 -1
  1197. package/dist/field/features/toolbars/shared/ToolbarButton/index.js.map +0 -1
  1198. package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +0 -1
  1199. package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +0 -1
  1200. package/dist/field/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +0 -1
  1201. package/dist/field/features/toolbars/shared/ToolbarDropdown/index.js +0 -141
  1202. package/dist/field/features/toolbars/shared/ToolbarDropdown/index.js.map +0 -1
  1203. package/dist/field/features/toolbars/types.d.ts.map +0 -1
  1204. package/dist/field/features/toolbars/types.js.map +0 -1
  1205. package/dist/field/features/typeUtilities.d.ts.map +0 -1
  1206. package/dist/field/features/typeUtilities.js.map +0 -1
  1207. package/dist/field/features/types.d.ts +0 -468
  1208. package/dist/field/features/types.d.ts.map +0 -1
  1209. package/dist/field/features/types.js.map +0 -1
  1210. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +0 -1
  1211. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js +0 -123
  1212. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js.map +0 -1
  1213. package/dist/field/features/upload/component/index.d.ts.map +0 -1
  1214. package/dist/field/features/upload/component/index.js +0 -219
  1215. package/dist/field/features/upload/component/index.js.map +0 -1
  1216. package/dist/field/features/upload/drawer/commands.d.ts.map +0 -1
  1217. package/dist/field/features/upload/drawer/commands.js.map +0 -1
  1218. package/dist/field/features/upload/drawer/index.d.ts.map +0 -1
  1219. package/dist/field/features/upload/drawer/index.js +0 -77
  1220. package/dist/field/features/upload/drawer/index.js.map +0 -1
  1221. package/dist/field/features/upload/feature.client.d.ts.map +0 -1
  1222. package/dist/field/features/upload/feature.client.js.map +0 -1
  1223. package/dist/field/features/upload/feature.server.d.ts.map +0 -1
  1224. package/dist/field/features/upload/feature.server.js +0 -188
  1225. package/dist/field/features/upload/feature.server.js.map +0 -1
  1226. package/dist/field/features/upload/graphQLPopulationPromise.d.ts.map +0 -1
  1227. package/dist/field/features/upload/graphQLPopulationPromise.js +0 -52
  1228. package/dist/field/features/upload/graphQLPopulationPromise.js.map +0 -1
  1229. package/dist/field/features/upload/i18n.d.ts.map +0 -1
  1230. package/dist/field/features/upload/i18n.js.map +0 -1
  1231. package/dist/field/features/upload/nodes/UploadNode.d.ts.map +0 -1
  1232. package/dist/field/features/upload/nodes/UploadNode.js.map +0 -1
  1233. package/dist/field/features/upload/plugin/index.d.ts.map +0 -1
  1234. package/dist/field/features/upload/plugin/index.js +0 -53
  1235. package/dist/field/features/upload/plugin/index.js.map +0 -1
  1236. package/dist/field/features/upload/validate.d.ts.map +0 -1
  1237. package/dist/field/features/upload/validate.js.map +0 -1
  1238. package/dist/field/lexical/EditorPlugin.d.ts +0 -8
  1239. package/dist/field/lexical/EditorPlugin.d.ts.map +0 -1
  1240. package/dist/field/lexical/EditorPlugin.js +0 -15
  1241. package/dist/field/lexical/EditorPlugin.js.map +0 -1
  1242. package/dist/field/lexical/LexicalEditor.d.ts.map +0 -1
  1243. package/dist/field/lexical/LexicalEditor.js +0 -192
  1244. package/dist/field/lexical/LexicalEditor.js.map +0 -1
  1245. package/dist/field/lexical/LexicalProvider.d.ts +0 -18
  1246. package/dist/field/lexical/LexicalProvider.d.ts.map +0 -1
  1247. package/dist/field/lexical/LexicalProvider.js.map +0 -1
  1248. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts +0 -35
  1249. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts.map +0 -1
  1250. package/dist/field/lexical/config/client/EditorConfigProvider.js.map +0 -1
  1251. package/dist/field/lexical/config/client/default.d.ts.map +0 -1
  1252. package/dist/field/lexical/config/client/default.js.map +0 -1
  1253. package/dist/field/lexical/config/client/loader.d.ts.map +0 -1
  1254. package/dist/field/lexical/config/client/loader.js.map +0 -1
  1255. package/dist/field/lexical/config/client/sanitize.d.ts +0 -7
  1256. package/dist/field/lexical/config/client/sanitize.d.ts.map +0 -1
  1257. package/dist/field/lexical/config/client/sanitize.js.map +0 -1
  1258. package/dist/field/lexical/config/server/default.d.ts.map +0 -1
  1259. package/dist/field/lexical/config/server/default.js.map +0 -1
  1260. package/dist/field/lexical/config/server/loader.d.ts.map +0 -1
  1261. package/dist/field/lexical/config/server/loader.js.map +0 -1
  1262. package/dist/field/lexical/config/server/sanitize.d.ts.map +0 -1
  1263. package/dist/field/lexical/config/server/sanitize.js.map +0 -1
  1264. package/dist/field/lexical/config/types.d.ts +0 -23
  1265. package/dist/field/lexical/config/types.d.ts.map +0 -1
  1266. package/dist/field/lexical/config/types.js.map +0 -1
  1267. package/dist/field/lexical/nodes/index.d.ts.map +0 -1
  1268. package/dist/field/lexical/nodes/index.js.map +0 -1
  1269. package/dist/field/lexical/plugins/MarkdownShortcut/index.d.ts.map +0 -1
  1270. package/dist/field/lexical/plugins/MarkdownShortcut/index.js.map +0 -1
  1271. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +0 -1
  1272. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +0 -1
  1273. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +0 -1
  1274. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +0 -1
  1275. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +0 -1
  1276. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +0 -1
  1277. package/dist/field/lexical/plugins/SlashMenu/index.d.ts.map +0 -1
  1278. package/dist/field/lexical/plugins/SlashMenu/index.js +0 -187
  1279. package/dist/field/lexical/plugins/SlashMenu/index.js.map +0 -1
  1280. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +0 -1
  1281. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +0 -1
  1282. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +0 -1
  1283. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +0 -1
  1284. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +0 -1
  1285. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +0 -1
  1286. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +0 -1
  1287. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +0 -1
  1288. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +0 -1
  1289. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +0 -1
  1290. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +0 -1
  1291. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +0 -1
  1292. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +0 -1
  1293. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +0 -1
  1294. package/dist/field/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts.map +0 -1
  1295. package/dist/field/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js.map +0 -1
  1296. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +0 -1
  1297. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +0 -1
  1298. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +0 -1
  1299. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.js.map +0 -1
  1300. package/dist/field/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts.map +0 -1
  1301. package/dist/field/lexical/plugins/handles/utils/getNodeCloseToPoint.js.map +0 -1
  1302. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +0 -1
  1303. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +0 -1
  1304. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +0 -1
  1305. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.js.map +0 -1
  1306. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +0 -1
  1307. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.js.map +0 -1
  1308. package/dist/field/lexical/theme/EditorTheme.d.ts.map +0 -1
  1309. package/dist/field/lexical/theme/EditorTheme.js.map +0 -1
  1310. package/dist/field/lexical/ui/ContentEditable.d.ts.map +0 -1
  1311. package/dist/field/lexical/ui/ContentEditable.js.map +0 -1
  1312. package/dist/field/lexical/ui/icons/AI/index.d.ts.map +0 -1
  1313. package/dist/field/lexical/ui/icons/AI/index.js.map +0 -1
  1314. package/dist/field/lexical/ui/icons/Add/index.d.ts.map +0 -1
  1315. package/dist/field/lexical/ui/icons/Add/index.js.map +0 -1
  1316. package/dist/field/lexical/ui/icons/AlignCenter/index.d.ts.map +0 -1
  1317. package/dist/field/lexical/ui/icons/AlignCenter/index.js.map +0 -1
  1318. package/dist/field/lexical/ui/icons/AlignJustify/index.d.ts.map +0 -1
  1319. package/dist/field/lexical/ui/icons/AlignJustify/index.js.map +0 -1
  1320. package/dist/field/lexical/ui/icons/AlignLeft/index.d.ts.map +0 -1
  1321. package/dist/field/lexical/ui/icons/AlignLeft/index.js.map +0 -1
  1322. package/dist/field/lexical/ui/icons/AlignRight/index.d.ts.map +0 -1
  1323. package/dist/field/lexical/ui/icons/AlignRight/index.js.map +0 -1
  1324. package/dist/field/lexical/ui/icons/Block/index.d.ts.map +0 -1
  1325. package/dist/field/lexical/ui/icons/Block/index.js.map +0 -1
  1326. package/dist/field/lexical/ui/icons/Blockquote/index.d.ts.map +0 -1
  1327. package/dist/field/lexical/ui/icons/Blockquote/index.js.map +0 -1
  1328. package/dist/field/lexical/ui/icons/Bold/index.d.ts.map +0 -1
  1329. package/dist/field/lexical/ui/icons/Bold/index.js.map +0 -1
  1330. package/dist/field/lexical/ui/icons/Checklist/index.d.ts.map +0 -1
  1331. package/dist/field/lexical/ui/icons/Checklist/index.js.map +0 -1
  1332. package/dist/field/lexical/ui/icons/Code/index.d.ts.map +0 -1
  1333. package/dist/field/lexical/ui/icons/Code/index.js.map +0 -1
  1334. package/dist/field/lexical/ui/icons/CodeBlock/index.d.ts.map +0 -1
  1335. package/dist/field/lexical/ui/icons/CodeBlock/index.js.map +0 -1
  1336. package/dist/field/lexical/ui/icons/H1/index.d.ts.map +0 -1
  1337. package/dist/field/lexical/ui/icons/H1/index.js.map +0 -1
  1338. package/dist/field/lexical/ui/icons/H2/index.d.ts.map +0 -1
  1339. package/dist/field/lexical/ui/icons/H2/index.js.map +0 -1
  1340. package/dist/field/lexical/ui/icons/H3/index.d.ts.map +0 -1
  1341. package/dist/field/lexical/ui/icons/H3/index.js.map +0 -1
  1342. package/dist/field/lexical/ui/icons/H4/index.d.ts.map +0 -1
  1343. package/dist/field/lexical/ui/icons/H4/index.js.map +0 -1
  1344. package/dist/field/lexical/ui/icons/H5/index.d.ts.map +0 -1
  1345. package/dist/field/lexical/ui/icons/H5/index.js.map +0 -1
  1346. package/dist/field/lexical/ui/icons/H6/index.d.ts.map +0 -1
  1347. package/dist/field/lexical/ui/icons/H6/index.js.map +0 -1
  1348. package/dist/field/lexical/ui/icons/HorizontalRule/index.d.ts.map +0 -1
  1349. package/dist/field/lexical/ui/icons/HorizontalRule/index.js.map +0 -1
  1350. package/dist/field/lexical/ui/icons/IndentDecrease/index.d.ts.map +0 -1
  1351. package/dist/field/lexical/ui/icons/IndentDecrease/index.js.map +0 -1
  1352. package/dist/field/lexical/ui/icons/IndentIncrease/index.d.ts.map +0 -1
  1353. package/dist/field/lexical/ui/icons/IndentIncrease/index.js.map +0 -1
  1354. package/dist/field/lexical/ui/icons/Italic/index.d.ts.map +0 -1
  1355. package/dist/field/lexical/ui/icons/Italic/index.js.map +0 -1
  1356. package/dist/field/lexical/ui/icons/Link/index.d.ts.map +0 -1
  1357. package/dist/field/lexical/ui/icons/Link/index.js.map +0 -1
  1358. package/dist/field/lexical/ui/icons/OrderedList/index.d.ts.map +0 -1
  1359. package/dist/field/lexical/ui/icons/OrderedList/index.js.map +0 -1
  1360. package/dist/field/lexical/ui/icons/Relationship/index.d.ts.map +0 -1
  1361. package/dist/field/lexical/ui/icons/Relationship/index.js.map +0 -1
  1362. package/dist/field/lexical/ui/icons/Strikethrough/index.d.ts.map +0 -1
  1363. package/dist/field/lexical/ui/icons/Strikethrough/index.js.map +0 -1
  1364. package/dist/field/lexical/ui/icons/Subscript/index.d.ts.map +0 -1
  1365. package/dist/field/lexical/ui/icons/Subscript/index.js.map +0 -1
  1366. package/dist/field/lexical/ui/icons/Superscript/index.d.ts.map +0 -1
  1367. package/dist/field/lexical/ui/icons/Superscript/index.js.map +0 -1
  1368. package/dist/field/lexical/ui/icons/Text/index.d.ts.map +0 -1
  1369. package/dist/field/lexical/ui/icons/Text/index.js.map +0 -1
  1370. package/dist/field/lexical/ui/icons/Underline/index.d.ts.map +0 -1
  1371. package/dist/field/lexical/ui/icons/Underline/index.js.map +0 -1
  1372. package/dist/field/lexical/ui/icons/UnorderedList/index.d.ts.map +0 -1
  1373. package/dist/field/lexical/ui/icons/UnorderedList/index.js.map +0 -1
  1374. package/dist/field/lexical/ui/icons/Upload/index.d.ts.map +0 -1
  1375. package/dist/field/lexical/ui/icons/Upload/index.js.map +0 -1
  1376. package/dist/field/lexical/utils/canUseDOM.d.ts.map +0 -1
  1377. package/dist/field/lexical/utils/canUseDOM.js.map +0 -1
  1378. package/dist/field/lexical/utils/cloneDeep.d.ts.map +0 -1
  1379. package/dist/field/lexical/utils/cloneDeep.js +0 -50
  1380. package/dist/field/lexical/utils/cloneDeep.js.map +0 -1
  1381. package/dist/field/lexical/utils/environment.d.ts.map +0 -1
  1382. package/dist/field/lexical/utils/environment.js.map +0 -1
  1383. package/dist/field/lexical/utils/getDOMRangeRect.d.ts.map +0 -1
  1384. package/dist/field/lexical/utils/getDOMRangeRect.js.map +0 -1
  1385. package/dist/field/lexical/utils/getSelectedNode.d.ts.map +0 -1
  1386. package/dist/field/lexical/utils/getSelectedNode.js.map +0 -1
  1387. package/dist/field/lexical/utils/guard.d.ts.map +0 -1
  1388. package/dist/field/lexical/utils/guard.js.map +0 -1
  1389. package/dist/field/lexical/utils/invariant.d.ts.map +0 -1
  1390. package/dist/field/lexical/utils/invariant.js.map +0 -1
  1391. package/dist/field/lexical/utils/joinClasses.d.ts.map +0 -1
  1392. package/dist/field/lexical/utils/joinClasses.js.map +0 -1
  1393. package/dist/field/lexical/utils/markdown/createBlockNode.d.ts.map +0 -1
  1394. package/dist/field/lexical/utils/markdown/createBlockNode.js.map +0 -1
  1395. package/dist/field/lexical/utils/nodeFormat.d.ts.map +0 -1
  1396. package/dist/field/lexical/utils/nodeFormat.js.map +0 -1
  1397. package/dist/field/lexical/utils/point.d.ts.map +0 -1
  1398. package/dist/field/lexical/utils/point.js.map +0 -1
  1399. package/dist/field/lexical/utils/rect.d.ts.map +0 -1
  1400. package/dist/field/lexical/utils/rect.js.map +0 -1
  1401. package/dist/field/lexical/utils/setFloatingElemPosition.d.ts.map +0 -1
  1402. package/dist/field/lexical/utils/setFloatingElemPosition.js.map +0 -1
  1403. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +0 -1
  1404. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +0 -1
  1405. package/dist/field/lexical/utils/swipe.d.ts.map +0 -1
  1406. package/dist/field/lexical/utils/swipe.js.map +0 -1
  1407. package/dist/field/lexical/utils/url.d.ts.map +0 -1
  1408. package/dist/field/lexical/utils/url.js.map +0 -1
  1409. package/dist/forEachNodeRecursively.d.ts.map +0 -1
  1410. package/dist/forEachNodeRecursively.js.map +0 -1
  1411. package/dist/generateComponentMap.d.ts +0 -6
  1412. package/dist/generateComponentMap.d.ts.map +0 -1
  1413. package/dist/generateComponentMap.js.map +0 -1
  1414. package/dist/generateSchemaMap.d.ts +0 -6
  1415. package/dist/generateSchemaMap.d.ts.map +0 -1
  1416. package/dist/generateSchemaMap.js.map +0 -1
  1417. package/dist/recurseNodeTree.d.ts.map +0 -1
  1418. package/dist/recurseNodeTree.js.map +0 -1
  1419. package/dist/useLexicalFeature.d.ts +0 -3
  1420. package/dist/useLexicalFeature.d.ts.map +0 -1
  1421. package/dist/useLexicalFeature.js +0 -12
  1422. package/dist/useLexicalFeature.js.map +0 -1
  1423. /package/dist/{field/features → features}/align/feature.client.d.ts +0 -0
  1424. /package/dist/{field/features → features}/align/feature.client.js +0 -0
  1425. /package/dist/{field/features → features}/align/feature.server.d.ts +0 -0
  1426. /package/dist/{field/features → features}/align/i18n.d.ts +0 -0
  1427. /package/dist/{field/features → features}/align/i18n.js +0 -0
  1428. /package/dist/{field/features → features}/align/toolbarAlignGroup.d.ts +0 -0
  1429. /package/dist/{field/features → features}/align/toolbarAlignGroup.js +0 -0
  1430. /package/dist/{field/features → features}/blockquote/feature.client.d.ts +0 -0
  1431. /package/dist/{field/features → features}/blockquote/feature.client.js +0 -0
  1432. /package/dist/{field/features → features}/blockquote/feature.server.d.ts +0 -0
  1433. /package/dist/{field/features → features}/blockquote/i18n.d.ts +0 -0
  1434. /package/dist/{field/features → features}/blockquote/i18n.js +0 -0
  1435. /package/dist/{field/features → features}/blockquote/markdownTransformer.d.ts +0 -0
  1436. /package/dist/{field/features → features}/blockquote/markdownTransformer.js +0 -0
  1437. /package/dist/{field/features → features}/blocks/component/FormSavePlugin.d.ts +0 -0
  1438. /package/dist/{field/features → features}/blocks/component/index.d.ts +0 -0
  1439. /package/dist/{field/features → features}/blocks/component/removeEmptyArrayValues.d.ts +0 -0
  1440. /package/dist/{field/features → features}/blocks/component/removeEmptyArrayValues.js +0 -0
  1441. /package/dist/{field/features → features}/blocks/drawer/index.d.ts +0 -0
  1442. /package/dist/{field/features → features}/blocks/feature.client.d.ts +0 -0
  1443. /package/dist/{field/features → features}/blocks/feature.client.js +0 -0
  1444. /package/dist/{field/features → features}/blocks/feature.server.d.ts +0 -0
  1445. /package/dist/{field/features → features}/blocks/graphQLPopulationPromise.d.ts +0 -0
  1446. /package/dist/{field/features → features}/blocks/i18n.d.ts +0 -0
  1447. /package/dist/{field/features → features}/blocks/i18n.js +0 -0
  1448. /package/dist/{field/features → features}/blocks/nodes/BlocksNode.d.ts +0 -0
  1449. /package/dist/{field/features → features}/blocks/nodes/BlocksNode.js +0 -0
  1450. /package/dist/{field/features → features}/blocks/plugin/commands.d.ts +0 -0
  1451. /package/dist/{field/features → features}/blocks/plugin/commands.js +0 -0
  1452. /package/dist/{field/features → features}/blocks/plugin/index.d.ts +0 -0
  1453. /package/dist/{field/features → features}/blocks/plugin/index.js +0 -0
  1454. /package/dist/{field/features → features}/blocks/validate.d.ts +0 -0
  1455. /package/dist/{field/features → features}/blocks/validate.js +0 -0
  1456. /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.d.ts +0 -0
  1457. /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.js +0 -0
  1458. /package/dist/{field/features → features}/converters/html/converter/converters/paragraph.d.ts +0 -0
  1459. /package/dist/{field/features → features}/converters/html/converter/converters/text.d.ts +0 -0
  1460. /package/dist/{field/features → features}/converters/html/converter/converters/text.js +0 -0
  1461. /package/dist/{field/features → features}/converters/html/converter/defaultConverters.d.ts +0 -0
  1462. /package/dist/{field/features → features}/converters/html/converter/defaultConverters.js +0 -0
  1463. /package/dist/{field/features → features}/converters/html/converter/types.js +0 -0
  1464. /package/dist/{field/features → features}/converters/html/feature.server.d.ts +0 -0
  1465. /package/dist/{field/features → features}/converters/html/feature.server.js +0 -0
  1466. /package/dist/{field/features → features}/converters/html/field/index.d.ts +0 -0
  1467. /package/dist/{field/features → features}/createClientComponent.d.ts +0 -0
  1468. /package/dist/{field/features → features}/createFeaturePropComponent.d.ts +0 -0
  1469. /package/dist/{field/features → features}/debug/testRecorder/feature.client.d.ts +0 -0
  1470. /package/dist/{field/features → features}/debug/testRecorder/feature.client.js +0 -0
  1471. /package/dist/{field/features → features}/debug/testRecorder/feature.server.d.ts +0 -0
  1472. /package/dist/{field/features → features}/debug/testRecorder/plugin/index.d.ts +0 -0
  1473. /package/dist/{field/features → features}/debug/testRecorder/plugin/index.js +0 -0
  1474. /package/dist/{field/features → features}/debug/treeView/feature.client.d.ts +0 -0
  1475. /package/dist/{field/features → features}/debug/treeView/feature.client.js +0 -0
  1476. /package/dist/{field/features → features}/debug/treeView/feature.server.d.ts +0 -0
  1477. /package/dist/{field/features → features}/debug/treeView/plugin/index.d.ts +0 -0
  1478. /package/dist/{field/features → features}/debug/treeView/plugin/index.js +0 -0
  1479. /package/dist/{field/features → features}/format/bold/feature.client.d.ts +0 -0
  1480. /package/dist/{field/features → features}/format/bold/feature.client.js +0 -0
  1481. /package/dist/{field/features → features}/format/bold/feature.server.d.ts +0 -0
  1482. /package/dist/{field/features → features}/format/bold/markdownTransformers.d.ts +0 -0
  1483. /package/dist/{field/features → features}/format/bold/markdownTransformers.js +0 -0
  1484. /package/dist/{field/features → features}/format/inlineCode/feature.client.d.ts +0 -0
  1485. /package/dist/{field/features → features}/format/inlineCode/feature.client.js +0 -0
  1486. /package/dist/{field/features → features}/format/inlineCode/feature.server.d.ts +0 -0
  1487. /package/dist/{field/features → features}/format/inlineCode/markdownTransformers.d.ts +0 -0
  1488. /package/dist/{field/features → features}/format/inlineCode/markdownTransformers.js +0 -0
  1489. /package/dist/{field/features → features}/format/italic/feature.client.d.ts +0 -0
  1490. /package/dist/{field/features → features}/format/italic/feature.client.js +0 -0
  1491. /package/dist/{field/features → features}/format/italic/feature.server.d.ts +0 -0
  1492. /package/dist/{field/features → features}/format/italic/markdownTransformers.d.ts +0 -0
  1493. /package/dist/{field/features → features}/format/italic/markdownTransformers.js +0 -0
  1494. /package/dist/{field/features → features}/format/shared/toolbarFormatGroup.d.ts +0 -0
  1495. /package/dist/{field/features → features}/format/shared/toolbarFormatGroup.js +0 -0
  1496. /package/dist/{field/features → features}/format/strikethrough/feature.client.d.ts +0 -0
  1497. /package/dist/{field/features → features}/format/strikethrough/feature.client.js +0 -0
  1498. /package/dist/{field/features → features}/format/strikethrough/feature.server.d.ts +0 -0
  1499. /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.d.ts +0 -0
  1500. /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.js +0 -0
  1501. /package/dist/{field/features → features}/format/subscript/feature.client.d.ts +0 -0
  1502. /package/dist/{field/features → features}/format/subscript/feature.client.js +0 -0
  1503. /package/dist/{field/features → features}/format/subscript/feature.server.d.ts +0 -0
  1504. /package/dist/{field/features → features}/format/superscript/feature.client.d.ts +0 -0
  1505. /package/dist/{field/features → features}/format/superscript/feature.client.js +0 -0
  1506. /package/dist/{field/features → features}/format/superscript/feature.server.d.ts +0 -0
  1507. /package/dist/{field/features → features}/format/underline/feature.client.d.ts +0 -0
  1508. /package/dist/{field/features → features}/format/underline/feature.client.js +0 -0
  1509. /package/dist/{field/features → features}/format/underline/feature.server.d.ts +0 -0
  1510. /package/dist/{field/features → features}/heading/feature.client.d.ts +0 -0
  1511. /package/dist/{field/features → features}/heading/feature.client.js +0 -0
  1512. /package/dist/{field/features → features}/heading/feature.server.d.ts +0 -0
  1513. /package/dist/{field/features → features}/heading/i18n.d.ts +0 -0
  1514. /package/dist/{field/features → features}/heading/i18n.js +0 -0
  1515. /package/dist/{field/features → features}/heading/markdownTransformer.d.ts +0 -0
  1516. /package/dist/{field/features → features}/heading/markdownTransformer.js +0 -0
  1517. /package/dist/{field/features → features}/horizontalRule/component/index.d.ts +0 -0
  1518. /package/dist/{field/features → features}/horizontalRule/component/index.js +0 -0
  1519. /package/dist/{field/features → features}/horizontalRule/feature.client.d.ts +0 -0
  1520. /package/dist/{field/features → features}/horizontalRule/feature.client.js +0 -0
  1521. /package/dist/{field/features → features}/horizontalRule/feature.server.d.ts +0 -0
  1522. /package/dist/{field/features → features}/horizontalRule/i18n.d.ts +0 -0
  1523. /package/dist/{field/features → features}/horizontalRule/i18n.js +0 -0
  1524. /package/dist/{field/features → features}/horizontalRule/markdownTransformer.d.ts +0 -0
  1525. /package/dist/{field/features → features}/horizontalRule/markdownTransformer.js +0 -0
  1526. /package/dist/{field/features → features}/horizontalRule/nodes/HorizontalRuleNode.d.ts +0 -0
  1527. /package/dist/{field/features → features}/horizontalRule/nodes/HorizontalRuleNode.js +0 -0
  1528. /package/dist/{field/features → features}/horizontalRule/plugin/index.d.ts +0 -0
  1529. /package/dist/{field/features → features}/horizontalRule/plugin/index.js +0 -0
  1530. /package/dist/{field/features → features}/indent/feature.client.d.ts +0 -0
  1531. /package/dist/{field/features → features}/indent/feature.client.js +0 -0
  1532. /package/dist/{field/features → features}/indent/feature.server.d.ts +0 -0
  1533. /package/dist/{field/features → features}/indent/i18n.d.ts +0 -0
  1534. /package/dist/{field/features → features}/indent/i18n.js +0 -0
  1535. /package/dist/{field/features → features}/indent/toolbarIndentGroup.d.ts +0 -0
  1536. /package/dist/{field/features → features}/indent/toolbarIndentGroup.js +0 -0
  1537. /package/dist/{field/features → features}/link/drawer/baseFields.d.ts +0 -0
  1538. /package/dist/{field/features → features}/link/drawer/baseFields.js +0 -0
  1539. /package/dist/{field/features → features}/link/drawer/index.d.ts +0 -0
  1540. /package/dist/{field/features → features}/link/drawer/types.d.ts +0 -0
  1541. /package/dist/{field/features → features}/link/drawer/types.js +0 -0
  1542. /package/dist/{field/features → features}/link/feature.client.d.ts +0 -0
  1543. /package/dist/{field/features → features}/link/feature.client.js +0 -0
  1544. /package/dist/{field/features → features}/link/feature.server.d.ts +0 -0
  1545. /package/dist/{field/features → features}/link/graphQLPopulationPromise.d.ts +0 -0
  1546. /package/dist/{field/features → features}/link/i18n.d.ts +0 -0
  1547. /package/dist/{field/features → features}/link/i18n.js +0 -0
  1548. /package/dist/{field/features → features}/link/markdownTransformer.d.ts +0 -0
  1549. /package/dist/{field/features → features}/link/markdownTransformer.js +0 -0
  1550. /package/dist/{field/features → features}/link/nodes/AutoLinkNode.d.ts +0 -0
  1551. /package/dist/{field/features → features}/link/nodes/AutoLinkNode.js +0 -0
  1552. /package/dist/{field/features → features}/link/nodes/LinkNode.d.ts +0 -0
  1553. /package/dist/{field/features → features}/link/nodes/LinkNode.js +0 -0
  1554. /package/dist/{field/features → features}/link/nodes/types.d.ts +0 -0
  1555. /package/dist/{field/features → features}/link/nodes/types.js +0 -0
  1556. /package/dist/{field/features → features}/link/plugins/autoLink/index.d.ts +0 -0
  1557. /package/dist/{field/features → features}/link/plugins/autoLink/index.js +0 -0
  1558. /package/dist/{field/features → features}/link/plugins/clickableLink/index.d.ts +0 -0
  1559. /package/dist/{field/features → features}/link/plugins/clickableLink/index.js +0 -0
  1560. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts +0 -0
  1561. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/commands.js +0 -0
  1562. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts +0 -0
  1563. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/index.d.ts +0 -0
  1564. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/index.js +0 -0
  1565. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/types.d.ts +0 -0
  1566. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/types.js +0 -0
  1567. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/utilities.d.ts +0 -0
  1568. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/utilities.js +0 -0
  1569. /package/dist/{field/features → features}/link/plugins/link/index.d.ts +0 -0
  1570. /package/dist/{field/features → features}/link/plugins/link/index.js +0 -0
  1571. /package/dist/{field/features → features}/link/validate.d.ts +0 -0
  1572. /package/dist/{field/features → features}/link/validate.js +0 -0
  1573. /package/dist/{field/features → features}/lists/checklist/feature.client.d.ts +0 -0
  1574. /package/dist/{field/features → features}/lists/checklist/feature.client.js +0 -0
  1575. /package/dist/{field/features → features}/lists/checklist/feature.server.d.ts +0 -0
  1576. /package/dist/{field/features → features}/lists/checklist/i18n.d.ts +0 -0
  1577. /package/dist/{field/features → features}/lists/checklist/i18n.js +0 -0
  1578. /package/dist/{field/features → features}/lists/checklist/markdownTransformers.d.ts +0 -0
  1579. /package/dist/{field/features → features}/lists/checklist/markdownTransformers.js +0 -0
  1580. /package/dist/{field/features → features}/lists/checklist/plugin/index.d.ts +0 -0
  1581. /package/dist/{field/features → features}/lists/checklist/plugin/index.js +0 -0
  1582. /package/dist/{field/features → features}/lists/htmlConverter.d.ts +0 -0
  1583. /package/dist/{field/features → features}/lists/orderedList/feature.client.d.ts +0 -0
  1584. /package/dist/{field/features → features}/lists/orderedList/feature.client.js +0 -0
  1585. /package/dist/{field/features → features}/lists/orderedList/feature.server.d.ts +0 -0
  1586. /package/dist/{field/features → features}/lists/orderedList/i18n.d.ts +0 -0
  1587. /package/dist/{field/features → features}/lists/orderedList/i18n.js +0 -0
  1588. /package/dist/{field/features → features}/lists/orderedList/markdownTransformer.d.ts +0 -0
  1589. /package/dist/{field/features → features}/lists/orderedList/markdownTransformer.js +0 -0
  1590. /package/dist/{field/features → features}/lists/plugin/index.d.ts +0 -0
  1591. /package/dist/{field/features → features}/lists/plugin/index.js +0 -0
  1592. /package/dist/{field/features → features}/lists/shared/markdown.d.ts +0 -0
  1593. /package/dist/{field/features → features}/lists/shared/markdown.js +0 -0
  1594. /package/dist/{field/features → features}/lists/shared/slashMenuListGroup.d.ts +0 -0
  1595. /package/dist/{field/features → features}/lists/shared/slashMenuListGroup.js +0 -0
  1596. /package/dist/{field/features → features}/lists/unorderedList/feature.client.d.ts +0 -0
  1597. /package/dist/{field/features → features}/lists/unorderedList/feature.client.js +0 -0
  1598. /package/dist/{field/features → features}/lists/unorderedList/feature.server.d.ts +0 -0
  1599. /package/dist/{field/features → features}/lists/unorderedList/i18n.d.ts +0 -0
  1600. /package/dist/{field/features → features}/lists/unorderedList/i18n.js +0 -0
  1601. /package/dist/{field/features → features}/lists/unorderedList/markdownTransformer.d.ts +0 -0
  1602. /package/dist/{field/features → features}/lists/unorderedList/markdownTransformer.js +0 -0
  1603. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +0 -0
  1604. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/client.js +0 -0
  1605. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +0 -0
  1606. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +0 -0
  1607. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts +0 -0
  1608. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +0 -0
  1609. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +0 -0
  1610. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/client.js +0 -0
  1611. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +0 -0
  1612. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +0 -0
  1613. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts +0 -0
  1614. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/index.js +0 -0
  1615. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +0 -0
  1616. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/client.js +0 -0
  1617. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +0 -0
  1618. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +0 -0
  1619. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts +0 -0
  1620. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/index.js +0 -0
  1621. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +0 -0
  1622. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js +0 -0
  1623. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +0 -0
  1624. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +0 -0
  1625. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts +0 -0
  1626. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +0 -0
  1627. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +0 -0
  1628. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/client.js +0 -0
  1629. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +0 -0
  1630. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +0 -0
  1631. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts +0 -0
  1632. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +0 -0
  1633. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +0 -0
  1634. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js +0 -0
  1635. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +0 -0
  1636. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +0 -0
  1637. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts +0 -0
  1638. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +0 -0
  1639. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +0 -0
  1640. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/client.js +0 -0
  1641. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +0 -0
  1642. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +0 -0
  1643. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts +0 -0
  1644. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +0 -0
  1645. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +0 -0
  1646. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/defaultConverters.js +0 -0
  1647. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/index.d.ts +0 -0
  1648. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/index.js +0 -0
  1649. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/types.d.ts +0 -0
  1650. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/types.js +0 -0
  1651. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/feature.client.d.ts +0 -0
  1652. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/feature.client.js +0 -0
  1653. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/feature.server.d.ts +0 -0
  1654. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  1655. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +0 -0
  1656. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +0 -0
  1657. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +0 -0
  1658. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +0 -0
  1659. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/client.js +0 -0
  1660. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +0 -0
  1661. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/converter.js +0 -0
  1662. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/index.d.ts +0 -0
  1663. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/index.js +0 -0
  1664. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/client.d.ts +0 -0
  1665. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/client.js +0 -0
  1666. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/converter.d.ts +0 -0
  1667. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/converter.js +0 -0
  1668. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/index.d.ts +0 -0
  1669. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/index.js +0 -0
  1670. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/client.d.ts +0 -0
  1671. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/client.js +0 -0
  1672. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/converter.d.ts +0 -0
  1673. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/converter.js +0 -0
  1674. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/index.d.ts +0 -0
  1675. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/index.js +0 -0
  1676. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/client.d.ts +0 -0
  1677. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/client.js +0 -0
  1678. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/converter.d.ts +0 -0
  1679. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/converter.js +0 -0
  1680. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/index.d.ts +0 -0
  1681. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/index.js +0 -0
  1682. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/client.d.ts +0 -0
  1683. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/client.js +0 -0
  1684. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +0 -0
  1685. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/converter.js +0 -0
  1686. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/index.d.ts +0 -0
  1687. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/index.js +0 -0
  1688. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +0 -0
  1689. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/client.js +0 -0
  1690. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +0 -0
  1691. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/converter.js +0 -0
  1692. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/index.d.ts +0 -0
  1693. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/index.js +0 -0
  1694. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/client.d.ts +0 -0
  1695. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/client.js +0 -0
  1696. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +0 -0
  1697. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/converter.js +0 -0
  1698. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/index.d.ts +0 -0
  1699. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/index.js +0 -0
  1700. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/client.d.ts +0 -0
  1701. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/client.js +0 -0
  1702. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +0 -0
  1703. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/converter.js +0 -0
  1704. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/index.d.ts +0 -0
  1705. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/index.js +0 -0
  1706. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +0 -0
  1707. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/client.js +0 -0
  1708. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +0 -0
  1709. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/converter.js +0 -0
  1710. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts +0 -0
  1711. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/index.js +0 -0
  1712. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/client.d.ts +0 -0
  1713. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/client.js +0 -0
  1714. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/converter.d.ts +0 -0
  1715. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/converter.js +0 -0
  1716. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/index.d.ts +0 -0
  1717. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/index.js +0 -0
  1718. /package/dist/{field/features → features}/migrations/slateToLexical/converter/defaultConverters.d.ts +0 -0
  1719. /package/dist/{field/features → features}/migrations/slateToLexical/converter/defaultConverters.js +0 -0
  1720. /package/dist/{field/features → features}/migrations/slateToLexical/converter/index.d.ts +0 -0
  1721. /package/dist/{field/features → features}/migrations/slateToLexical/converter/index.js +0 -0
  1722. /package/dist/{field/features → features}/migrations/slateToLexical/converter/types.d.ts +0 -0
  1723. /package/dist/{field/features → features}/migrations/slateToLexical/converter/types.js +0 -0
  1724. /package/dist/{field/features → features}/migrations/slateToLexical/feature.client.d.ts +0 -0
  1725. /package/dist/{field/features → features}/migrations/slateToLexical/feature.client.js +0 -0
  1726. /package/dist/{field/features → features}/migrations/slateToLexical/feature.server.d.ts +0 -0
  1727. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  1728. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +0 -0
  1729. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +0 -0
  1730. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +0 -0
  1731. /package/dist/{field/features → features}/paragraph/feature.client.d.ts +0 -0
  1732. /package/dist/{field/features → features}/paragraph/feature.client.js +0 -0
  1733. /package/dist/{field/features → features}/paragraph/feature.server.d.ts +0 -0
  1734. /package/dist/{field/features → features}/paragraph/i18n.d.ts +0 -0
  1735. /package/dist/{field/features → features}/paragraph/i18n.js +0 -0
  1736. /package/dist/{field/features → features}/relationship/drawer/commands.d.ts +0 -0
  1737. /package/dist/{field/features → features}/relationship/drawer/commands.js +0 -0
  1738. /package/dist/{field/features → features}/relationship/drawer/index.d.ts +0 -0
  1739. /package/dist/{field/features → features}/relationship/feature.client.d.ts +0 -0
  1740. /package/dist/{field/features → features}/relationship/feature.client.js +0 -0
  1741. /package/dist/{field/features → features}/relationship/feature.server.d.ts +0 -0
  1742. /package/dist/{field/features → features}/relationship/graphQLPopulationPromise.d.ts +0 -0
  1743. /package/dist/{field/features → features}/relationship/i18n.d.ts +0 -0
  1744. /package/dist/{field/features → features}/relationship/i18n.js +0 -0
  1745. /package/dist/{field/features → features}/relationship/nodes/RelationshipNode.d.ts +0 -0
  1746. /package/dist/{field/features → features}/relationship/nodes/RelationshipNode.js +0 -0
  1747. /package/dist/{field/features → features}/relationship/nodes/components/RelationshipComponent.d.ts +0 -0
  1748. /package/dist/{field/features → features}/relationship/plugins/index.d.ts +0 -0
  1749. /package/dist/{field/features → features}/relationship/utils/EnabledRelationshipsCondition.d.ts +0 -0
  1750. /package/dist/{field/features → features}/shared/slashMenu/basicGroup.d.ts +0 -0
  1751. /package/dist/{field/features → features}/shared/slashMenu/basicGroup.js +0 -0
  1752. /package/dist/{field/features → features}/shared/toolbar/addDropdownGroup.d.ts +0 -0
  1753. /package/dist/{field/features → features}/shared/toolbar/addDropdownGroup.js +0 -0
  1754. /package/dist/{field/features → features}/shared/toolbar/featureButtonsGroup.d.ts +0 -0
  1755. /package/dist/{field/features → features}/shared/toolbar/featureButtonsGroup.js +0 -0
  1756. /package/dist/{field/features → features}/shared/toolbar/textDropdownGroup.d.ts +0 -0
  1757. /package/dist/{field/features → features}/shared/toolbar/textDropdownGroup.js +0 -0
  1758. /package/dist/{field/features → features}/toolbars/fixed/Toolbar/index.d.ts +0 -0
  1759. /package/dist/{field/features → features}/toolbars/fixed/feature.client.d.ts +0 -0
  1760. /package/dist/{field/features → features}/toolbars/fixed/feature.client.js +0 -0
  1761. /package/dist/{field/features → features}/toolbars/fixed/feature.server.d.ts +0 -0
  1762. /package/dist/{field/features → features}/toolbars/inline/Toolbar/index.d.ts +0 -0
  1763. /package/dist/{field/features → features}/toolbars/inline/Toolbar/index.js +0 -0
  1764. /package/dist/{field/features → features}/toolbars/inline/feature.client.d.ts +0 -0
  1765. /package/dist/{field/features → features}/toolbars/inline/feature.client.js +0 -0
  1766. /package/dist/{field/features → features}/toolbars/inline/feature.server.d.ts +0 -0
  1767. /package/dist/{field/features → features}/toolbars/shared/ToolbarButton/index.d.ts +0 -0
  1768. /package/dist/{field/features → features}/toolbars/shared/ToolbarButton/index.js +0 -0
  1769. /package/dist/{field/features → features}/toolbars/shared/ToolbarDropdown/DropDown.d.ts +0 -0
  1770. /package/dist/{field/features → features}/toolbars/shared/ToolbarDropdown/DropDown.js +0 -0
  1771. /package/dist/{field/features → features}/toolbars/shared/ToolbarDropdown/index.d.ts +0 -0
  1772. /package/dist/{field/features → features}/toolbars/types.d.ts +0 -0
  1773. /package/dist/{field/features → features}/toolbars/types.js +0 -0
  1774. /package/dist/{field/features → features}/typeUtilities.d.ts +0 -0
  1775. /package/dist/{field/features → features}/typeUtilities.js +0 -0
  1776. /package/dist/{field/features → features}/types.js +0 -0
  1777. /package/dist/{field/features → features}/upload/component/ExtraFieldsDrawer/index.d.ts +0 -0
  1778. /package/dist/{field/features → features}/upload/component/index.d.ts +0 -0
  1779. /package/dist/{field/features → features}/upload/drawer/commands.d.ts +0 -0
  1780. /package/dist/{field/features → features}/upload/drawer/commands.js +0 -0
  1781. /package/dist/{field/features → features}/upload/drawer/index.d.ts +0 -0
  1782. /package/dist/{field/features → features}/upload/feature.client.d.ts +0 -0
  1783. /package/dist/{field/features → features}/upload/feature.client.js +0 -0
  1784. /package/dist/{field/features → features}/upload/feature.server.d.ts +0 -0
  1785. /package/dist/{field/features → features}/upload/graphQLPopulationPromise.d.ts +0 -0
  1786. /package/dist/{field/features → features}/upload/i18n.d.ts +0 -0
  1787. /package/dist/{field/features → features}/upload/i18n.js +0 -0
  1788. /package/dist/{field/features → features}/upload/nodes/UploadNode.d.ts +0 -0
  1789. /package/dist/{field/features → features}/upload/nodes/UploadNode.js +0 -0
  1790. /package/dist/{field/features → features}/upload/plugin/index.d.ts +0 -0
  1791. /package/dist/{field/features → features}/upload/validate.d.ts +0 -0
  1792. /package/dist/{field/features → features}/upload/validate.js +0 -0
  1793. /package/dist/{field/lexical → lexical}/LexicalEditor.d.ts +0 -0
  1794. /package/dist/{field/lexical → lexical}/LexicalProvider.js +0 -0
  1795. /package/dist/{field/lexical → lexical}/config/client/EditorConfigProvider.js +0 -0
  1796. /package/dist/{field/lexical → lexical}/config/client/default.d.ts +0 -0
  1797. /package/dist/{field/lexical → lexical}/config/client/default.js +0 -0
  1798. /package/dist/{field/lexical → lexical}/config/client/loader.d.ts +0 -0
  1799. /package/dist/{field/lexical → lexical}/config/client/loader.js +0 -0
  1800. /package/dist/{field/lexical → lexical}/config/client/sanitize.js +0 -0
  1801. /package/dist/{field/lexical → lexical}/config/server/default.d.ts +0 -0
  1802. /package/dist/{field/lexical → lexical}/config/server/default.js +0 -0
  1803. /package/dist/{field/lexical → lexical}/config/server/loader.d.ts +0 -0
  1804. /package/dist/{field/lexical → lexical}/config/server/loader.js +0 -0
  1805. /package/dist/{field/lexical → lexical}/config/server/sanitize.d.ts +0 -0
  1806. /package/dist/{field/lexical → lexical}/config/server/sanitize.js +0 -0
  1807. /package/dist/{field/lexical → lexical}/config/types.js +0 -0
  1808. /package/dist/{field/lexical → lexical}/nodes/index.d.ts +0 -0
  1809. /package/dist/{field/lexical → lexical}/nodes/index.js +0 -0
  1810. /package/dist/{field/lexical → lexical}/plugins/MarkdownShortcut/index.d.ts +0 -0
  1811. /package/dist/{field/lexical → lexical}/plugins/MarkdownShortcut/index.js +0 -0
  1812. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +0 -0
  1813. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +0 -0
  1814. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +0 -0
  1815. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +0 -0
  1816. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +0 -0
  1817. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js +0 -0
  1818. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/index.d.ts +0 -0
  1819. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.d.ts +0 -0
  1820. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.js +0 -0
  1821. /package/dist/{field/lexical → lexical}/plugins/handles/AddBlockHandlePlugin/index.d.ts +0 -0
  1822. /package/dist/{field/lexical → lexical}/plugins/handles/AddBlockHandlePlugin/index.js +0 -0
  1823. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/debounce.d.ts +0 -0
  1824. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/debounce.js +0 -0
  1825. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts +0 -0
  1826. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js +0 -0
  1827. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts +0 -0
  1828. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js +0 -0
  1829. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/index.d.ts +0 -0
  1830. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/index.js +0 -0
  1831. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +0 -0
  1832. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/setTargetLine.js +0 -0
  1833. /package/dist/{field/lexical → lexical}/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts +0 -0
  1834. /package/dist/{field/lexical → lexical}/plugins/handles/utils/calculateDistanceFromScrollerElem.js +0 -0
  1835. /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.d.ts +0 -0
  1836. /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.js +0 -0
  1837. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.d.ts +0 -0
  1838. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.js +0 -0
  1839. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getNodeCloseToPoint.d.ts +0 -0
  1840. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getNodeCloseToPoint.js +0 -0
  1841. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getTopLevelNodeKeys.d.ts +0 -0
  1842. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getTopLevelNodeKeys.js +0 -0
  1843. /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.d.ts +0 -0
  1844. /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.js +0 -0
  1845. /package/dist/{field/lexical → lexical}/plugins/handles/utils/setHandlePosition.d.ts +0 -0
  1846. /package/dist/{field/lexical → lexical}/plugins/handles/utils/setHandlePosition.js +0 -0
  1847. /package/dist/{field/lexical → lexical}/theme/EditorTheme.d.ts +0 -0
  1848. /package/dist/{field/lexical → lexical}/theme/EditorTheme.js +0 -0
  1849. /package/dist/{field/lexical → lexical}/ui/ContentEditable.d.ts +0 -0
  1850. /package/dist/{field/lexical → lexical}/ui/ContentEditable.js +0 -0
  1851. /package/dist/{field/lexical → lexical}/ui/icons/AI/index.d.ts +0 -0
  1852. /package/dist/{field/lexical → lexical}/ui/icons/AI/index.js +0 -0
  1853. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.d.ts +0 -0
  1854. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.js +0 -0
  1855. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.svg +0 -0
  1856. /package/dist/{field/lexical → lexical}/ui/icons/Add/light.svg +0 -0
  1857. /package/dist/{field/lexical → lexical}/ui/icons/AlignCenter/index.d.ts +0 -0
  1858. /package/dist/{field/lexical → lexical}/ui/icons/AlignCenter/index.js +0 -0
  1859. /package/dist/{field/lexical → lexical}/ui/icons/AlignJustify/index.d.ts +0 -0
  1860. /package/dist/{field/lexical → lexical}/ui/icons/AlignJustify/index.js +0 -0
  1861. /package/dist/{field/lexical → lexical}/ui/icons/AlignLeft/index.d.ts +0 -0
  1862. /package/dist/{field/lexical → lexical}/ui/icons/AlignLeft/index.js +0 -0
  1863. /package/dist/{field/lexical → lexical}/ui/icons/AlignRight/index.d.ts +0 -0
  1864. /package/dist/{field/lexical → lexical}/ui/icons/AlignRight/index.js +0 -0
  1865. /package/dist/{field/lexical → lexical}/ui/icons/Block/index.d.ts +0 -0
  1866. /package/dist/{field/lexical → lexical}/ui/icons/Block/index.js +0 -0
  1867. /package/dist/{field/lexical → lexical}/ui/icons/Blockquote/index.d.ts +0 -0
  1868. /package/dist/{field/lexical → lexical}/ui/icons/Blockquote/index.js +0 -0
  1869. /package/dist/{field/lexical → lexical}/ui/icons/Bold/index.d.ts +0 -0
  1870. /package/dist/{field/lexical → lexical}/ui/icons/Bold/index.js +0 -0
  1871. /package/dist/{field/lexical → lexical}/ui/icons/Caret/index.svg +0 -0
  1872. /package/dist/{field/lexical → lexical}/ui/icons/Checklist/index.d.ts +0 -0
  1873. /package/dist/{field/lexical → lexical}/ui/icons/Checklist/index.js +0 -0
  1874. /package/dist/{field/lexical → lexical}/ui/icons/Code/index.d.ts +0 -0
  1875. /package/dist/{field/lexical → lexical}/ui/icons/Code/index.js +0 -0
  1876. /package/dist/{field/lexical → lexical}/ui/icons/CodeBlock/index.d.ts +0 -0
  1877. /package/dist/{field/lexical → lexical}/ui/icons/CodeBlock/index.js +0 -0
  1878. /package/dist/{field/lexical → lexical}/ui/icons/DraggableBlock/index.svg +0 -0
  1879. /package/dist/{field/lexical → lexical}/ui/icons/DraggableBlock/light.svg +0 -0
  1880. /package/dist/{field/lexical → lexical}/ui/icons/Edit/index.svg +0 -0
  1881. /package/dist/{field/lexical → lexical}/ui/icons/H1/index.d.ts +0 -0
  1882. /package/dist/{field/lexical → lexical}/ui/icons/H1/index.js +0 -0
  1883. /package/dist/{field/lexical → lexical}/ui/icons/H2/index.d.ts +0 -0
  1884. /package/dist/{field/lexical → lexical}/ui/icons/H2/index.js +0 -0
  1885. /package/dist/{field/lexical → lexical}/ui/icons/H3/index.d.ts +0 -0
  1886. /package/dist/{field/lexical → lexical}/ui/icons/H3/index.js +0 -0
  1887. /package/dist/{field/lexical → lexical}/ui/icons/H4/index.d.ts +0 -0
  1888. /package/dist/{field/lexical → lexical}/ui/icons/H4/index.js +0 -0
  1889. /package/dist/{field/lexical → lexical}/ui/icons/H5/index.d.ts +0 -0
  1890. /package/dist/{field/lexical → lexical}/ui/icons/H5/index.js +0 -0
  1891. /package/dist/{field/lexical → lexical}/ui/icons/H6/index.d.ts +0 -0
  1892. /package/dist/{field/lexical → lexical}/ui/icons/H6/index.js +0 -0
  1893. /package/dist/{field/lexical → lexical}/ui/icons/HorizontalRule/index.d.ts +0 -0
  1894. /package/dist/{field/lexical → lexical}/ui/icons/HorizontalRule/index.js +0 -0
  1895. /package/dist/{field/lexical → lexical}/ui/icons/IndentDecrease/index.d.ts +0 -0
  1896. /package/dist/{field/lexical → lexical}/ui/icons/IndentDecrease/index.js +0 -0
  1897. /package/dist/{field/lexical → lexical}/ui/icons/IndentIncrease/index.d.ts +0 -0
  1898. /package/dist/{field/lexical → lexical}/ui/icons/IndentIncrease/index.js +0 -0
  1899. /package/dist/{field/lexical → lexical}/ui/icons/Italic/index.d.ts +0 -0
  1900. /package/dist/{field/lexical → lexical}/ui/icons/Italic/index.js +0 -0
  1901. /package/dist/{field/lexical → lexical}/ui/icons/Link/index.d.ts +0 -0
  1902. /package/dist/{field/lexical → lexical}/ui/icons/Link/index.js +0 -0
  1903. /package/dist/{field/lexical → lexical}/ui/icons/OrderedList/index.d.ts +0 -0
  1904. /package/dist/{field/lexical → lexical}/ui/icons/OrderedList/index.js +0 -0
  1905. /package/dist/{field/lexical → lexical}/ui/icons/Relationship/index.d.ts +0 -0
  1906. /package/dist/{field/lexical → lexical}/ui/icons/Relationship/index.js +0 -0
  1907. /package/dist/{field/lexical → lexical}/ui/icons/Remove/index.svg +0 -0
  1908. /package/dist/{field/lexical → lexical}/ui/icons/Strikethrough/index.d.ts +0 -0
  1909. /package/dist/{field/lexical → lexical}/ui/icons/Strikethrough/index.js +0 -0
  1910. /package/dist/{field/lexical → lexical}/ui/icons/Subscript/index.d.ts +0 -0
  1911. /package/dist/{field/lexical → lexical}/ui/icons/Subscript/index.js +0 -0
  1912. /package/dist/{field/lexical → lexical}/ui/icons/Superscript/index.d.ts +0 -0
  1913. /package/dist/{field/lexical → lexical}/ui/icons/Superscript/index.js +0 -0
  1914. /package/dist/{field/lexical → lexical}/ui/icons/Text/index.d.ts +0 -0
  1915. /package/dist/{field/lexical → lexical}/ui/icons/Text/index.js +0 -0
  1916. /package/dist/{field/lexical → lexical}/ui/icons/Underline/index.d.ts +0 -0
  1917. /package/dist/{field/lexical → lexical}/ui/icons/Underline/index.js +0 -0
  1918. /package/dist/{field/lexical → lexical}/ui/icons/UnorderedList/index.d.ts +0 -0
  1919. /package/dist/{field/lexical → lexical}/ui/icons/UnorderedList/index.js +0 -0
  1920. /package/dist/{field/lexical → lexical}/ui/icons/Upload/index.d.ts +0 -0
  1921. /package/dist/{field/lexical → lexical}/ui/icons/Upload/index.js +0 -0
  1922. /package/dist/{field/lexical → lexical}/utils/canUseDOM.d.ts +0 -0
  1923. /package/dist/{field/lexical → lexical}/utils/canUseDOM.js +0 -0
  1924. /package/dist/{field/lexical → lexical}/utils/cloneDeep.d.ts +0 -0
  1925. /package/dist/{field/lexical → lexical}/utils/environment.d.ts +0 -0
  1926. /package/dist/{field/lexical → lexical}/utils/environment.js +0 -0
  1927. /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.d.ts +0 -0
  1928. /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.js +0 -0
  1929. /package/dist/{field/lexical → lexical}/utils/getSelectedNode.d.ts +0 -0
  1930. /package/dist/{field/lexical → lexical}/utils/getSelectedNode.js +0 -0
  1931. /package/dist/{field/lexical → lexical}/utils/guard.d.ts +0 -0
  1932. /package/dist/{field/lexical → lexical}/utils/guard.js +0 -0
  1933. /package/dist/{field/lexical → lexical}/utils/invariant.d.ts +0 -0
  1934. /package/dist/{field/lexical → lexical}/utils/invariant.js +0 -0
  1935. /package/dist/{field/lexical → lexical}/utils/joinClasses.d.ts +0 -0
  1936. /package/dist/{field/lexical → lexical}/utils/joinClasses.js +0 -0
  1937. /package/dist/{field/lexical → lexical}/utils/markdown/createBlockNode.d.ts +0 -0
  1938. /package/dist/{field/lexical → lexical}/utils/markdown/createBlockNode.js +0 -0
  1939. /package/dist/{field/lexical → lexical}/utils/nodeFormat.d.ts +0 -0
  1940. /package/dist/{field/lexical → lexical}/utils/nodeFormat.js +0 -0
  1941. /package/dist/{field/lexical → lexical}/utils/point.d.ts +0 -0
  1942. /package/dist/{field/lexical → lexical}/utils/point.js +0 -0
  1943. /package/dist/{field/lexical → lexical}/utils/rect.d.ts +0 -0
  1944. /package/dist/{field/lexical → lexical}/utils/rect.js +0 -0
  1945. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPosition.d.ts +0 -0
  1946. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPosition.js +0 -0
  1947. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.d.ts +0 -0
  1948. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.js +0 -0
  1949. /package/dist/{field/lexical → lexical}/utils/swipe.d.ts +0 -0
  1950. /package/dist/{field/lexical → lexical}/utils/swipe.js +0 -0
  1951. /package/dist/{field/lexical → lexical}/utils/url.d.ts +0 -0
  1952. /package/dist/{field/lexical → lexical}/utils/url.js +0 -0
  1953. /package/dist/{forEachNodeRecursively.d.ts → utilities/forEachNodeRecursively.d.ts} +0 -0
  1954. /package/dist/{forEachNodeRecursively.js → utilities/forEachNodeRecursively.js} +0 -0
  1955. /package/dist/{generateComponentMap.js → utilities/generateComponentMap.js} +0 -0
  1956. /package/dist/{generateSchemaMap.js → utilities/generateSchemaMap.js} +0 -0
  1957. /package/dist/{recurseNodeTree.d.ts → utilities/recurseNodeTree.d.ts} +0 -0
  1958. /package/dist/{recurseNodeTree.js → utilities/recurseNodeTree.js} +0 -0
@@ -1,192 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js';
4
- import { LexicalErrorBoundary } from '@lexical/react/LexicalErrorBoundary.js';
5
- import { HistoryPlugin } from '@lexical/react/LexicalHistoryPlugin.js';
6
- import { OnChangePlugin } from '@lexical/react/LexicalOnChangePlugin.js';
7
- import { RichTextPlugin } from '@lexical/react/LexicalRichTextPlugin.js';
8
- import { TabIndentationPlugin } from '@lexical/react/LexicalTabIndentationPlugin.js';
9
- import { useTranslation } from '@payloadcms/ui/client';
10
- import { BLUR_COMMAND, COMMAND_PRIORITY_LOW, FOCUS_COMMAND } from 'lexical';
11
- import * as React from 'react';
12
- import { useEffect, useState } from 'react';
13
- import { EditorPlugin } from './EditorPlugin.js';
14
- import { useEditorConfigContext } from './config/client/EditorConfigProvider.js';
15
- import { MarkdownShortcutPlugin } from './plugins/MarkdownShortcut/index.js';
16
- import { SlashMenuPlugin } from './plugins/SlashMenu/index.js';
17
- import { AddBlockHandlePlugin } from './plugins/handles/AddBlockHandlePlugin/index.js';
18
- import { DraggableBlockPlugin } from './plugins/handles/DraggableBlockPlugin/index.js';
19
- import { LexicalContentEditable } from './ui/ContentEditable.js';
20
- export const LexicalEditor = (props)=>{
21
- const { editorConfig, editorContainerRef, onChange } = props;
22
- const editorConfigContext = useEditorConfigContext();
23
- const [editor] = useLexicalComposerContext();
24
- const { t } = useTranslation();
25
- const [floatingAnchorElem, setFloatingAnchorElem] = useState(null);
26
- const onRef = (_floatingAnchorElem)=>{
27
- if (_floatingAnchorElem !== null) {
28
- setFloatingAnchorElem(_floatingAnchorElem);
29
- }
30
- };
31
- useEffect(()=>{
32
- if (!editorConfigContext?.uuid) {
33
- console.error('Lexical Editor must be used within an EditorConfigProvider');
34
- return;
35
- }
36
- if (editorConfigContext?.parentEditor?.uuid) {
37
- editorConfigContext.parentEditor?.registerChild(editorConfigContext.uuid, editorConfigContext);
38
- }
39
- const handleFocus = ()=>{
40
- editorConfigContext.focusEditor(editorConfigContext);
41
- };
42
- const handleBlur = ()=>{
43
- editorConfigContext.blurEditor(editorConfigContext);
44
- };
45
- const unregisterFocus = editor.registerCommand(FOCUS_COMMAND, ()=>{
46
- handleFocus();
47
- return true;
48
- }, COMMAND_PRIORITY_LOW);
49
- const unregisterBlur = editor.registerCommand(BLUR_COMMAND, ()=>{
50
- handleBlur();
51
- return true;
52
- }, COMMAND_PRIORITY_LOW);
53
- return ()=>{
54
- unregisterFocus();
55
- unregisterBlur();
56
- editorConfigContext.parentEditor?.unregisterChild?.(editorConfigContext.uuid);
57
- };
58
- }, [
59
- editor,
60
- editorConfigContext
61
- ]);
62
- const [isSmallWidthViewport, setIsSmallWidthViewport] = useState(false);
63
- useEffect(()=>{
64
- const updateViewPortWidth = ()=>{
65
- const isNextSmallWidthViewport = window.matchMedia('(max-width: 768px)').matches;
66
- if (isNextSmallWidthViewport !== isSmallWidthViewport) {
67
- setIsSmallWidthViewport(isNextSmallWidthViewport);
68
- }
69
- };
70
- updateViewPortWidth();
71
- window.addEventListener('resize', updateViewPortWidth);
72
- return ()=>{
73
- window.removeEventListener('resize', updateViewPortWidth);
74
- };
75
- }, [
76
- isSmallWidthViewport
77
- ]);
78
- return /*#__PURE__*/ _jsxs(React.Fragment, {
79
- children: [
80
- editorConfig.features.plugins.map((plugin)=>{
81
- if (plugin.position === 'aboveContainer') {
82
- return /*#__PURE__*/ _jsx(EditorPlugin, {
83
- clientProps: plugin.clientProps,
84
- plugin: plugin
85
- }, plugin.key);
86
- }
87
- }),
88
- /*#__PURE__*/ _jsxs("div", {
89
- className: "editor-container",
90
- ref: editorContainerRef,
91
- children: [
92
- editorConfig.features.plugins.map((plugin)=>{
93
- if (plugin.position === 'top') {
94
- return /*#__PURE__*/ _jsx(EditorPlugin, {
95
- clientProps: plugin.clientProps,
96
- plugin: plugin
97
- }, plugin.key);
98
- }
99
- }),
100
- /*#__PURE__*/ _jsx(RichTextPlugin, {
101
- ErrorBoundary: LexicalErrorBoundary,
102
- contentEditable: /*#__PURE__*/ _jsx("div", {
103
- className: "editor-scroller",
104
- children: /*#__PURE__*/ _jsx("div", {
105
- className: "editor",
106
- ref: onRef,
107
- children: /*#__PURE__*/ _jsx(LexicalContentEditable, {})
108
- })
109
- }),
110
- placeholder: /*#__PURE__*/ _jsx("p", {
111
- className: "editor-placeholder",
112
- children: t('lexical:general:placeholder')
113
- })
114
- }),
115
- /*#__PURE__*/ _jsx(OnChangePlugin, {
116
- // Selection changes can be ignored here, reducing the
117
- // frequency that the FieldComponent and Payload receive updates.
118
- // Selection changes are only needed if you are saving selection state
119
- ignoreSelectionChange: true,
120
- onChange: (editorState, editor, tags)=>{
121
- // Ignore any onChange event triggered by focus only
122
- if (!tags.has('focus') || tags.size > 1) {
123
- if (onChange != null) onChange(editorState, editor, tags);
124
- }
125
- }
126
- }),
127
- floatingAnchorElem && /*#__PURE__*/ _jsxs(React.Fragment, {
128
- children: [
129
- !isSmallWidthViewport && editor.isEditable() && /*#__PURE__*/ _jsxs(React.Fragment, {
130
- children: [
131
- /*#__PURE__*/ _jsx(DraggableBlockPlugin, {
132
- anchorElem: floatingAnchorElem
133
- }),
134
- /*#__PURE__*/ _jsx(AddBlockHandlePlugin, {
135
- anchorElem: floatingAnchorElem
136
- })
137
- ]
138
- }),
139
- editorConfig.features.plugins.map((plugin)=>{
140
- if (plugin.position === 'floatingAnchorElem' && !(plugin.desktopOnly === true && isSmallWidthViewport)) {
141
- return /*#__PURE__*/ _jsx(EditorPlugin, {
142
- anchorElem: floatingAnchorElem,
143
- clientProps: plugin.clientProps,
144
- plugin: plugin
145
- }, plugin.key);
146
- }
147
- }),
148
- editor.isEditable() && /*#__PURE__*/ _jsx(React.Fragment, {
149
- children: /*#__PURE__*/ _jsx(SlashMenuPlugin, {
150
- anchorElem: floatingAnchorElem
151
- })
152
- })
153
- ]
154
- }),
155
- editor.isEditable() && /*#__PURE__*/ _jsxs(React.Fragment, {
156
- children: [
157
- /*#__PURE__*/ _jsx(HistoryPlugin, {}),
158
- editorConfig?.features?.markdownTransformers?.length > 0 && /*#__PURE__*/ _jsx(MarkdownShortcutPlugin, {})
159
- ]
160
- }),
161
- /*#__PURE__*/ _jsx(TabIndentationPlugin, {}),
162
- editorConfig.features.plugins.map((plugin)=>{
163
- if (plugin.position === 'normal') {
164
- return /*#__PURE__*/ _jsx(EditorPlugin, {
165
- clientProps: plugin.clientProps,
166
- plugin: plugin
167
- }, plugin.key);
168
- }
169
- }),
170
- editorConfig.features.plugins.map((plugin)=>{
171
- if (plugin.position === 'bottom') {
172
- return /*#__PURE__*/ _jsx(EditorPlugin, {
173
- clientProps: plugin.clientProps,
174
- plugin: plugin
175
- }, plugin.key);
176
- }
177
- })
178
- ]
179
- }),
180
- editorConfig.features.plugins.map((plugin)=>{
181
- if (plugin.position === 'belowContainer') {
182
- return /*#__PURE__*/ _jsx(EditorPlugin, {
183
- clientProps: plugin.clientProps,
184
- plugin: plugin
185
- }, plugin.key);
186
- }
187
- })
188
- ]
189
- });
190
- };
191
-
192
- //# sourceMappingURL=LexicalEditor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/field/lexical/LexicalEditor.tsx"],"sourcesContent":["'use client'\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport { LexicalErrorBoundary } from '@lexical/react/LexicalErrorBoundary.js'\nimport { HistoryPlugin } from '@lexical/react/LexicalHistoryPlugin.js'\nimport { OnChangePlugin } from '@lexical/react/LexicalOnChangePlugin.js'\nimport { RichTextPlugin } from '@lexical/react/LexicalRichTextPlugin.js'\nimport { TabIndentationPlugin } from '@lexical/react/LexicalTabIndentationPlugin.js'\nimport { useTranslation } from '@payloadcms/ui/client'\nimport { BLUR_COMMAND, COMMAND_PRIORITY_LOW, FOCUS_COMMAND } from 'lexical'\nimport * as React from 'react'\nimport { useEffect, useState } from 'react'\n\nimport type { LexicalProviderProps } from './LexicalProvider.js'\n\nimport { EditorPlugin } from './EditorPlugin.js'\nimport './LexicalEditor.scss'\nimport { useEditorConfigContext } from './config/client/EditorConfigProvider.js'\nimport { MarkdownShortcutPlugin } from './plugins/MarkdownShortcut/index.js'\nimport { SlashMenuPlugin } from './plugins/SlashMenu/index.js'\nimport { AddBlockHandlePlugin } from './plugins/handles/AddBlockHandlePlugin/index.js'\nimport { DraggableBlockPlugin } from './plugins/handles/DraggableBlockPlugin/index.js'\nimport { LexicalContentEditable } from './ui/ContentEditable.js'\n\nexport const LexicalEditor: React.FC<\n Pick<LexicalProviderProps, 'editorConfig' | 'onChange'> & {\n editorContainerRef: React.RefObject<HTMLDivElement>\n }\n> = (props) => {\n const { editorConfig, editorContainerRef, onChange } = props\n const editorConfigContext = useEditorConfigContext()\n const [editor] = useLexicalComposerContext()\n const { t } = useTranslation<{}, string>()\n\n const [floatingAnchorElem, setFloatingAnchorElem] = useState<HTMLDivElement | null>(null)\n const onRef = (_floatingAnchorElem: HTMLDivElement) => {\n if (_floatingAnchorElem !== null) {\n setFloatingAnchorElem(_floatingAnchorElem)\n }\n }\n\n useEffect(() => {\n if (!editorConfigContext?.uuid) {\n console.error('Lexical Editor must be used within an EditorConfigProvider')\n return\n }\n if (editorConfigContext?.parentEditor?.uuid) {\n editorConfigContext.parentEditor?.registerChild(editorConfigContext.uuid, editorConfigContext)\n }\n\n const handleFocus = () => {\n editorConfigContext.focusEditor(editorConfigContext)\n }\n\n const handleBlur = () => {\n editorConfigContext.blurEditor(editorConfigContext)\n }\n\n const unregisterFocus = editor.registerCommand<MouseEvent>(\n FOCUS_COMMAND,\n () => {\n handleFocus()\n return true\n },\n COMMAND_PRIORITY_LOW,\n )\n\n const unregisterBlur = editor.registerCommand<MouseEvent>(\n BLUR_COMMAND,\n () => {\n handleBlur()\n return true\n },\n COMMAND_PRIORITY_LOW,\n )\n\n return () => {\n unregisterFocus()\n unregisterBlur()\n editorConfigContext.parentEditor?.unregisterChild?.(editorConfigContext.uuid)\n }\n }, [editor, editorConfigContext])\n\n const [isSmallWidthViewport, setIsSmallWidthViewport] = useState<boolean>(false)\n\n useEffect(() => {\n const updateViewPortWidth = () => {\n const isNextSmallWidthViewport = window.matchMedia('(max-width: 768px)').matches\n\n if (isNextSmallWidthViewport !== isSmallWidthViewport) {\n setIsSmallWidthViewport(isNextSmallWidthViewport)\n }\n }\n updateViewPortWidth()\n window.addEventListener('resize', updateViewPortWidth)\n\n return () => {\n window.removeEventListener('resize', updateViewPortWidth)\n }\n }, [isSmallWidthViewport])\n\n return (\n <React.Fragment>\n {editorConfig.features.plugins.map((plugin) => {\n if (plugin.position === 'aboveContainer') {\n return <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n }\n })}\n <div className=\"editor-container\" ref={editorContainerRef}>\n {editorConfig.features.plugins.map((plugin) => {\n if (plugin.position === 'top') {\n return (\n <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n )\n }\n })}\n <RichTextPlugin\n ErrorBoundary={LexicalErrorBoundary}\n contentEditable={\n <div className=\"editor-scroller\">\n <div className=\"editor\" ref={onRef}>\n <LexicalContentEditable />\n </div>\n </div>\n }\n placeholder={<p className=\"editor-placeholder\">{t('lexical:general:placeholder')}</p>}\n />\n <OnChangePlugin\n // Selection changes can be ignored here, reducing the\n // frequency that the FieldComponent and Payload receive updates.\n // Selection changes are only needed if you are saving selection state\n ignoreSelectionChange\n onChange={(editorState, editor, tags) => {\n // Ignore any onChange event triggered by focus only\n if (!tags.has('focus') || tags.size > 1) {\n if (onChange != null) onChange(editorState, editor, tags)\n }\n }}\n />\n {floatingAnchorElem && (\n <React.Fragment>\n {!isSmallWidthViewport && editor.isEditable() && (\n <React.Fragment>\n <DraggableBlockPlugin anchorElem={floatingAnchorElem} />\n <AddBlockHandlePlugin anchorElem={floatingAnchorElem} />\n </React.Fragment>\n )}\n {editorConfig.features.plugins.map((plugin) => {\n if (\n plugin.position === 'floatingAnchorElem' &&\n !(plugin.desktopOnly === true && isSmallWidthViewport)\n ) {\n return (\n <EditorPlugin\n anchorElem={floatingAnchorElem}\n clientProps={plugin.clientProps}\n key={plugin.key}\n plugin={plugin}\n />\n )\n }\n })}\n {editor.isEditable() && (\n <React.Fragment>\n <SlashMenuPlugin anchorElem={floatingAnchorElem} />\n </React.Fragment>\n )}\n </React.Fragment>\n )}\n {editor.isEditable() && (\n <React.Fragment>\n <HistoryPlugin />\n {editorConfig?.features?.markdownTransformers?.length > 0 && <MarkdownShortcutPlugin />}\n </React.Fragment>\n )}\n\n <TabIndentationPlugin />\n {editorConfig.features.plugins.map((plugin) => {\n if (plugin.position === 'normal') {\n return (\n <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n )\n }\n })}\n {editorConfig.features.plugins.map((plugin) => {\n if (plugin.position === 'bottom') {\n return (\n <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n )\n }\n })}\n </div>\n {editorConfig.features.plugins.map((plugin) => {\n if (plugin.position === 'belowContainer') {\n return <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n }\n })}\n </React.Fragment>\n )\n}\n"],"names":["useLexicalComposerContext","LexicalErrorBoundary","HistoryPlugin","OnChangePlugin","RichTextPlugin","TabIndentationPlugin","useTranslation","BLUR_COMMAND","COMMAND_PRIORITY_LOW","FOCUS_COMMAND","React","useEffect","useState","EditorPlugin","useEditorConfigContext","MarkdownShortcutPlugin","SlashMenuPlugin","AddBlockHandlePlugin","DraggableBlockPlugin","LexicalContentEditable","LexicalEditor","props","editorConfig","editorContainerRef","onChange","editorConfigContext","editor","t","floatingAnchorElem","setFloatingAnchorElem","onRef","_floatingAnchorElem","uuid","console","error","parentEditor","registerChild","handleFocus","focusEditor","handleBlur","blurEditor","unregisterFocus","registerCommand","unregisterBlur","unregisterChild","isSmallWidthViewport","setIsSmallWidthViewport","updateViewPortWidth","isNextSmallWidthViewport","window","matchMedia","matches","addEventListener","removeEventListener","Fragment","features","plugins","map","plugin","position","clientProps","key","div","className","ref","ErrorBoundary","contentEditable","placeholder","p","ignoreSelectionChange","editorState","tags","has","size","isEditable","anchorElem","desktopOnly","markdownTransformers","length"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA;;AACA,SAASA,yBAAyB,QAAQ,2CAA0C;AACpF,SAASC,oBAAoB,QAAQ,yCAAwC;AAC7E,SAASC,aAAa,QAAQ,yCAAwC;AACtE,SAASC,cAAc,QAAQ,0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K,UAAU;4BAChC,qBACE,KAAC9C;gCAAa+C,aAAaF,OAAOE,WAAW;gCAAmBF,QAAQA;+BAApBA,OAAOG,GAAG;wBAElE;oBACF;;;YAEDvC,aAAaiC,QAAQ,CAACC,OAAO,CAACC,GAAG,CAAC,CAACC;gBAClC,IAAIA,OAAOC,QAAQ,KAAK,kBAAkB;oBACxC,qBAAO,KAAC9C;wBAAa+C,aAAaF,OAAOE,WAAW;wBAAmBF,QAAQA;uBAApBA,OAAOG,GAAG;gBACvE;YACF;;;AAGN,EAAC"}
@@ -1,18 +0,0 @@
1
- import type { FormFieldBase } from '@payloadcms/ui/fields/shared';
2
- import type { EditorState, LexicalEditor, SerializedEditorState } from 'lexical';
3
- import * as React from 'react';
4
- import type { SanitizedClientEditorConfig } from './config/types.js';
5
- export type LexicalProviderProps = {
6
- editorConfig: SanitizedClientEditorConfig;
7
- fieldProps: FormFieldBase & {
8
- editorConfig: SanitizedClientEditorConfig;
9
- name: string;
10
- richTextComponentMap: Map<string, React.ReactNode>;
11
- };
12
- onChange: (editorState: EditorState, editor: LexicalEditor, tags: Set<string>) => void;
13
- path: string;
14
- readOnly: boolean;
15
- value: SerializedEditorState;
16
- };
17
- export declare const LexicalProvider: React.FC<LexicalProviderProps>;
18
- //# sourceMappingURL=LexicalProvider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LexicalProvider.d.ts","sourceRoot":"","sources":["../../../src/field/lexical/LexicalProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAGhF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAA;AASpE,MAAM,MAAM,oBAAoB,GAAG;IACjC,YAAY,EAAE,2BAA2B,CAAA;IACzC,UAAU,EAAE,aAAa,GAAG;QAC1B,YAAY,EAAE,2BAA2B,CAAA;QACzC,IAAI,EAAE,MAAM,CAAA;QACZ,oBAAoB,EAAE,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;KACnD,CAAA;IACD,QAAQ,EAAE,CAAC,WAAW,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,CAAA;IACtF,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,OAAO,CAAA;IACjB,KAAK,EAAE,qBAAqB,CAAA;CAC7B,CAAA;AACD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAsE1D,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/field/lexical/LexicalProvider.tsx"],"sourcesContent":["'use client'\nimport type { InitialConfigType } from '@lexical/react/LexicalComposer.js'\nimport type { FormFieldBase } from '@payloadcms/ui/fields/shared'\nimport type { EditorState, LexicalEditor, SerializedEditorState } from 'lexical'\n\nimport { LexicalComposer } from '@lexical/react/LexicalComposer.js'\nimport * as React from 'react'\nimport { useMemo } from 'react'\n\nimport type { SanitizedClientEditorConfig } from './config/types.js'\n\nimport { LexicalEditor as LexicalEditorComponent } from './LexicalEditor.js'\nimport {\n EditorConfigProvider,\n useEditorConfigContext,\n} from './config/client/EditorConfigProvider.js'\nimport { getEnabledNodes } from './nodes/index.js'\n\nexport type LexicalProviderProps = {\n editorConfig: SanitizedClientEditorConfig\n fieldProps: FormFieldBase & {\n editorConfig: SanitizedClientEditorConfig // With rendered features n stuff\n name: string\n richTextComponentMap: Map<string, React.ReactNode>\n }\n onChange: (editorState: EditorState, editor: LexicalEditor, tags: Set<string>) => void\n path: string\n readOnly: boolean\n value: SerializedEditorState\n}\nexport const LexicalProvider: React.FC<LexicalProviderProps> = (props) => {\n const { editorConfig, fieldProps, onChange, path, readOnly, value } = props\n\n const parentContext = useEditorConfigContext()\n\n const editorContainerRef = React.useRef<HTMLDivElement>(null)\n\n const processedValue = useMemo(() => {\n let processed = value\n if (editorConfig?.features?.hooks?.load?.length) {\n editorConfig.features.hooks.load.forEach((hook) => {\n processed = hook({ incomingEditorState: processed })\n })\n }\n return processed\n }, [editorConfig, value])\n\n // useMemo for the initialConfig that depends on readOnly and processedValue\n const initialConfig = useMemo<InitialConfigType>(() => {\n if (processedValue && typeof processedValue !== 'object') {\n throw new Error(\n 'The value passed to the Lexical editor is not an object. This is not supported. Please remove the data from the field and start again. This is the value that was passed in: ' +\n JSON.stringify(processedValue),\n )\n }\n\n if (processedValue && Array.isArray(processedValue) && !('root' in processedValue)) {\n throw new Error(\n 'You have tried to pass in data from the old, Slate editor, to the new, Lexical editor. This is not supported. There is no automatic conversion from Slate to Lexical data available yet (coming soon). Please remove the data from the field and start again.',\n )\n }\n\n if (processedValue && 'jsonContent' in processedValue) {\n throw new Error(\n 'You have tried to pass in data from payload-plugin-lexical. This is not supported. The data structure has changed in this editor, compared to the plugin, and there is no automatic conversion available yet (coming soon). Please remove the data from the field and start again.',\n )\n }\n\n return {\n editable: readOnly !== true,\n editorState: processedValue != null ? JSON.stringify(processedValue) : undefined,\n namespace: editorConfig.lexical.namespace,\n nodes: [...getEnabledNodes({ editorConfig })],\n onError: (error: Error) => {\n throw error\n },\n theme: editorConfig.lexical.theme,\n }\n }, [editorConfig, processedValue, readOnly])\n\n if (!initialConfig) {\n return <p>Loading...</p>\n }\n\n return (\n <LexicalComposer initialConfig={initialConfig} key={path}>\n <EditorConfigProvider\n editorConfig={editorConfig}\n editorContainerRef={editorContainerRef}\n fieldProps={fieldProps}\n parentContext={parentContext}\n >\n <LexicalEditorComponent\n editorConfig={editorConfig}\n editorContainerRef={editorContainerRef}\n onChange={onChange}\n />\n </EditorConfigProvider>\n </LexicalComposer>\n )\n}\n"],"names":["LexicalComposer","React","useMemo","LexicalEditor","LexicalEditorComponent","EditorConfigProvider","useEditorConfigContext","getEnabledNodes","LexicalProvider","props","editorConfig","fieldProps","onChange","path","readOnly","value","parentContext","editorContainerRef","useRef","processedValue","processed","features","hooks","load","length","forEach","hook","incomingEditorState","initialConfig","Error","JSON","stringify","Array","isArray","editable","editorState","undefined","namespace","lexical","nodes","onError","error","theme","p"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA;;AAKA,SAASA,eAAe,QAAQ,oCAAmC;AACnE,YAAYC,WAAW,QAAO;AAC9B,SAASC,OAAO,QAAQ,QAAO;AAI/B,SAASC,iBAAiBC,sBAAsB,QAAQ,qBAAoB;AAC5E,SACEC,oBAAoB,EACpBC,sBAAsB,QACjB,0CAAyC;AAChD,SAASC,eAAe,QAAQ,mBAAkB;AAclD,OAAO,MAAMC,kBAAkD,CAACC;IAC9D,MAAM,EAAEC,YAAY,EAAEC,UAAU,EAAEC,QAAQ,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,KAAK,EAAE,GAAGN;IAEtE,MAAMO,gBAAgBV;IAEtB,MAAMW,qBAAqBhB,MAAMiB,MAAM,CAAiB;IAExD,MAAMC,iBAAiBjB,QAAQ;QAC7B,IAAIkB,YAAYL;QAChB,IAAIL,cAAcW,UAAUC,OAAOC,MAAMC,QAAQ;YAC/Cd,aAAaW,QAAQ,CAACC,KAAK,CAACC,IAAI,CAACE,OAAO,CAAC,CAACC;gBACxCN,YAAYM,KAAK;oBAAEC,qBAAqBP;gBAAU;YACpD;QACF;QACA,OAAOA;IACT,GAAG;QAACV;QAAcK;KAAM;IAExB,4EAA4E;IAC5E,MAAMa,gBAAgB1B,QAA2B;QAC/C,IAAIiB,kBAAkB,OAAOA,mBAAmB,UAAU;YACxD,MAAM,IAAIU,MACR,kLACEC,KAAKC,SAAS,CAACZ;QAErB;QAEA,IAAIA,kBAAkBa,MAAMC,OAAO,CAACd,mBAAmB,CAAE,CAAA,UAAUA,cAAa,GAAI;YAClF,MAAM,IAAIU,MACR;QAEJ;QAEA,IAAIV,kBAAkB,iBAAiBA,gBAAgB;YACrD,MAAM,IAAIU,MACR;QAEJ;QAEA,OAAO;YACLK,UAAUpB,aAAa;YACvBqB,aAAahB,kBAAkB,OAAOW,KAAKC,SAAS,CAACZ,kBAAkBiB;YACvEC,WAAW3B,aAAa4B,OAAO,CAACD,SAAS;YACzCE,OAAO;mBAAIhC,gBAAgB;oBAAEG;gBAAa;aAAG;YAC7C8B,SAAS,CAACC;gBACR,MAAMA;YACR;YACAC,OAAOhC,aAAa4B,OAAO,CAACI,KAAK;QACnC;IACF,GAAG;QAAChC;QAAcS;QAAgBL;KAAS;IAE3C,IAAI,CAACc,eAAe;QAClB,qBAAO,KAACe;sBAAE;;IACZ;IAEA,qBACE,KAAC3C;QAAgB4B,eAAeA;kBAC9B,cAAA,KAACvB;YACCK,cAAcA;YACdO,oBAAoBA;YACpBN,YAAYA;YACZK,eAAeA;sBAEf,cAAA,KAACZ;gBACCM,cAAcA;gBACdO,oBAAoBA;gBACpBL,UAAUA;;;OAVoCC;AAexD,EAAC"}
@@ -1,35 +0,0 @@
1
- import type { FormFieldBase } from '@payloadcms/ui/fields/shared';
2
- import type { LexicalEditor } from 'lexical';
3
- import * as React from 'react';
4
- import type { SanitizedClientEditorConfig } from '../types.js';
5
- export interface EditorConfigContextType {
6
- blurEditor: (editorContext: EditorConfigContextType) => void;
7
- childrenEditors: React.RefObject<Map<string, EditorConfigContextType>>;
8
- editor: LexicalEditor;
9
- editorConfig: SanitizedClientEditorConfig;
10
- editorContainerRef: React.RefObject<HTMLDivElement>;
11
- field: FormFieldBase & {
12
- editorConfig: SanitizedClientEditorConfig;
13
- name: string;
14
- richTextComponentMap: Map<string, React.ReactNode>;
15
- };
16
- focusEditor: (editorContext: EditorConfigContextType) => void;
17
- focusedEditor: EditorConfigContextType | null;
18
- parentEditor: EditorConfigContextType;
19
- registerChild: (uuid: string, editorContext: EditorConfigContextType) => void;
20
- unregisterChild?: (uuid: string) => void;
21
- uuid: string;
22
- }
23
- export declare const EditorConfigProvider: ({ children, editorConfig, editorContainerRef, fieldProps, parentContext, }: {
24
- children: React.ReactNode;
25
- editorConfig: SanitizedClientEditorConfig;
26
- editorContainerRef: React.RefObject<HTMLDivElement>;
27
- fieldProps: FormFieldBase & {
28
- editorConfig: SanitizedClientEditorConfig;
29
- name: string;
30
- richTextComponentMap: Map<string, React.ReactNode>;
31
- };
32
- parentContext?: EditorConfigContextType;
33
- }) => React.ReactNode;
34
- export declare const useEditorConfigContext: () => EditorConfigContextType;
35
- //# sourceMappingURL=EditorConfigProvider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditorConfigProvider.d.ts","sourceRoot":"","sources":["../../../../../src/field/lexical/config/client/EditorConfigProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAG5C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAA;AAO9D,MAAM,WAAW,uBAAuB;IAEtC,UAAU,EAAE,CAAC,aAAa,EAAE,uBAAuB,KAAK,IAAI,CAAA;IAC5D,eAAe,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAC,CAAA;IACtE,MAAM,EAAE,aAAa,CAAA;IACrB,YAAY,EAAE,2BAA2B,CAAA;IACzC,kBAAkB,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAA;IACnD,KAAK,EAAE,aAAa,GAAG;QACrB,YAAY,EAAE,2BAA2B,CAAA;QACzC,IAAI,EAAE,MAAM,CAAA;QACZ,oBAAoB,EAAE,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;KACnD,CAAA;IAED,WAAW,EAAE,CAAC,aAAa,EAAE,uBAAuB,KAAK,IAAI,CAAA;IAC7D,aAAa,EAAE,uBAAuB,GAAG,IAAI,CAAA;IAC7C,YAAY,EAAE,uBAAuB,CAAA;IACrC,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,uBAAuB,KAAK,IAAI,CAAA;IAC7E,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACxC,IAAI,EAAE,MAAM,CAAA;CACb;AAQD,eAAO,MAAM,oBAAoB,+EAM9B;IACD,QAAQ,EAAE,MAAM,SAAS,CAAA;IACzB,YAAY,EAAE,2BAA2B,CAAA;IACzC,kBAAkB,EAAE,MAAM,SAAS,CAAC,cAAc,CAAC,CAAA;IACnD,UAAU,EAAE,aAAa,GAAG;QAC1B,YAAY,EAAE,2BAA2B,CAAA;QACzC,IAAI,EAAE,MAAM,CAAA;QACZ,oBAAoB,EAAE,IAAI,MAAM,EAAE,MAAM,SAAS,CAAC,CAAA;KACnD,CAAA;IACD,aAAa,CAAC,EAAE,uBAAuB,CAAA;CACxC,KAAG,MAAM,SA2ET,CAAA;AAED,eAAO,MAAM,sBAAsB,QAAO,uBAMzC,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/field/lexical/config/client/EditorConfigProvider.tsx"],"sourcesContent":["'use client'\n\nimport type { FormFieldBase } from '@payloadcms/ui/fields/shared'\nimport type { LexicalEditor } from 'lexical'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport * as React from 'react'\nimport { createContext, useContext, useMemo, useRef, useState } from 'react'\n\nimport type { SanitizedClientEditorConfig } from '../types.js'\n\n// Should always produce a 20 character pseudo-random string\nfunction generateQuickGuid(): string {\n return Math.random().toString(36).substring(2, 12) + Math.random().toString(36).substring(2, 12)\n}\n\nexport interface EditorConfigContextType {\n // Editor focus handling\n blurEditor: (editorContext: EditorConfigContextType) => void\n childrenEditors: React.RefObject<Map<string, EditorConfigContextType>>\n editor: LexicalEditor\n editorConfig: SanitizedClientEditorConfig\n editorContainerRef: React.RefObject<HTMLDivElement>\n field: FormFieldBase & {\n editorConfig: SanitizedClientEditorConfig // With rendered features n stuff\n name: string\n richTextComponentMap: Map<string, React.ReactNode>\n }\n // Editor focus handling\n focusEditor: (editorContext: EditorConfigContextType) => void\n focusedEditor: EditorConfigContextType | null\n parentEditor: EditorConfigContextType\n registerChild: (uuid: string, editorContext: EditorConfigContextType) => void\n unregisterChild?: (uuid: string) => void\n uuid: string\n}\n\nconst Context: React.Context<EditorConfigContextType> = createContext({\n editorConfig: null,\n field: null,\n uuid: null,\n})\n\nexport const EditorConfigProvider = ({\n children,\n editorConfig,\n editorContainerRef,\n fieldProps,\n parentContext,\n}: {\n children: React.ReactNode\n editorConfig: SanitizedClientEditorConfig\n editorContainerRef: React.RefObject<HTMLDivElement>\n fieldProps: FormFieldBase & {\n editorConfig: SanitizedClientEditorConfig // With rendered features n stuff\n name: string\n richTextComponentMap: Map<string, React.ReactNode>\n }\n parentContext?: EditorConfigContextType\n}): React.ReactNode => {\n const [editor] = useLexicalComposerContext()\n // State to store the UUID\n const [uuid] = useState(generateQuickGuid())\n\n const childrenEditors = useRef<Map<string, EditorConfigContextType>>(new Map())\n const [focusedEditor, setFocusedEditor] = useState<EditorConfigContextType | null>(null)\n const focusHistory = useRef<Set<string>>(new Set())\n\n const editorContext = useMemo(\n () =>\n ({\n blurEditor: (editorContext: EditorConfigContextType) => {\n //setFocusedEditor(null) // Clear focused editor\n focusHistory.current.clear() // Reset focus history when focus is lost\n },\n childrenEditors,\n editor,\n editorConfig,\n editorContainerRef,\n field: fieldProps,\n focusEditor: (editorContext: EditorConfigContextType) => {\n const editorUUID = editorContext.uuid\n\n // Avoid recursion by checking if this editor is already focused in this cycle\n if (focusHistory.current.has(editorUUID)) {\n return\n }\n\n // Add this editor to the history to prevent future recursions in this cycle\n focusHistory.current.add(editorUUID)\n setFocusedEditor(editorContext)\n\n // Propagate focus event to parent and children, ensuring they do not refocus this editor\n if (parentContext?.uuid) {\n parentContext.focusEditor(editorContext)\n }\n childrenEditors.current.forEach((childEditor, childUUID) => {\n childEditor.focusEditor(editorContext)\n })\n\n focusHistory.current.clear()\n },\n focusedEditor,\n parentEditor: parentContext,\n registerChild: (childUUID, childEditorContext) => {\n if (!childrenEditors.current.has(childUUID)) {\n const newMap = new Map(childrenEditors.current)\n newMap.set(childUUID, childEditorContext)\n childrenEditors.current = newMap\n }\n },\n unregisterChild: (childUUID) => {\n if (childrenEditors.current.has(childUUID)) {\n const newMap = new Map(childrenEditors.current)\n newMap.delete(childUUID)\n childrenEditors.current = newMap\n }\n },\n\n uuid,\n }) as EditorConfigContextType,\n [\n editor,\n childrenEditors,\n editorConfig,\n editorContainerRef,\n fieldProps,\n focusedEditor,\n parentContext,\n uuid,\n ],\n )\n\n return <Context.Provider value={editorContext}>{children}</Context.Provider>\n}\n\nexport const useEditorConfigContext = (): EditorConfigContextType => {\n const context = useContext(Context)\n if (context === undefined) {\n throw new Error('useEditorConfigContext must be used within an EditorConfigProvider')\n }\n return context\n}\n"],"names":["useLexicalComposerContext","React","createContext","useContext","useMemo","useRef","useState","generateQuickGuid","Math","random","toString","substring","Context","editorConfig","field","uuid","EditorConfigProvider","children","editorContainerRef","fieldProps","parentContext","editor","childrenEditors","Map","focusedEditor","setFocusedEditor","focusHistory","Set","editorContext","blurEditor","current","clear","focusEditor","editorUUID","has","add","forEach","childEditor","childUUID","parentEditor","registerChild","childEditorContext","newMap","set","unregisterChild","delete","Provider","value","useEditorConfigContext","context","undefined","Error"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA;;AAKA,SAASA,yBAAyB,QAAQ,2CAA0C;AACpF,YAAYC,WAAW,QAAO;AAC9B,SAASC,aAAa,EAAEC,UAAU,EAAEC,O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,eAAe,CAACF,WAAWG;gBACzB,IAAI,CAACnB,gBAAgBQ,OAAO,CAACI,GAAG,CAACI,YAAY;oBAC3C,MAAMI,SAAS,IAAInB,IAAID,gBAAgBQ,OAAO;oBAC9CY,OAAOC,GAAG,CAACL,WAAWG;oBACtBnB,gBAAgBQ,OAAO,GAAGY;gBAC5B;YACF;YACAE,iBAAiB,CAACN;gBAChB,IAAIhB,gBAAgBQ,OAAO,CAACI,GAAG,CAACI,YAAY;oBAC1C,MAAMI,SAAS,IAAInB,IAAID,gBAAgBQ,OAAO;oBAC9CY,OAAOG,MAAM,CAACP;oBACdhB,gBAAgBQ,OAAO,GAAGY;gBAC5B;YACF;YAEA3B;QACF,CAAA,GACF;QACEM;QACAC;QACAT;QACAK;QACAC;QACAK;QACAJ;QACAL;KACD;IAGH,qBAAO,KAACH,QAAQkC,QAAQ;QAACC,OAAOnB;kBAAgBX;;AAClD,EAAC;AAED,OAAO,MAAM+B,yBAAyB;IACpC,MAAMC,UAAU9C,WAAWS;IAC3B,IAAIqC,YAAYC,WAAW;QACzB,MAAM,IAAIC,MAAM;IAClB;IACA,OAAOF;AACT,EAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../src/field/lexical/config/client/default.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,IAAI,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAIlE,eAAO,MAAM,0BAA0B,EAAE,mBAGxC,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/field/lexical/config/client/default.ts"],"sourcesContent":["'use client'\nimport type { EditorConfig as LexicalEditorConfig } from 'lexical'\n\nimport { LexicalEditorTheme } from '../../theme/EditorTheme.js'\n\nexport const defaultEditorLexicalConfig: LexicalEditorConfig = {\n namespace: 'lexical',\n theme: LexicalEditorTheme,\n}\n"],"names":["LexicalEditorTheme","defaultEditorLexicalConfig","namespace","theme"],"rangeMappings":";;;;;","mappings":"AAAA;AAGA,SAASA,kBAAkB,QAAQ,6BAA4B;AAE/D,OAAO,MAAMC,6BAAkD;IAC7DC,WAAW;IACXC,OAAOH;AACT,EAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../../../../src/field/lexical/config/client/loader.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAGV,wBAAwB,EACzB,MAAM,4BAA4B,CAAA;AACnC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAErD;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,eAAe,EACf,UAAU,EACV,uBAAuB,GACxB,EAAE;IACD,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACrC,UAAU,EAAE,MAAM,CAAA;IAClB,uBAAuB,EAAE,kBAAkB,CAAA;CAC5C,GAAG,wBAAwB,CA8D3B"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/field/lexical/config/client/loader.ts"],"sourcesContent":["'use client'\n\nimport type {\n ClientFeatureProviderMap,\n FeatureProviderClient,\n ResolvedClientFeatureMap,\n} from '../../../features/types.js'\nimport type { ClientEditorConfig } from '../types.js'\n\n/**\n * This function expects client functions to ALREADY be ordered & dependencies checked on the server\n * @param unSanitizedEditorConfig\n */\nexport function loadClientFeatures({\n clientFunctions,\n schemaPath,\n unSanitizedEditorConfig,\n}: {\n clientFunctions?: Record<string, any>\n schemaPath: string\n unSanitizedEditorConfig: ClientEditorConfig\n}): ResolvedClientFeatureMap {\n for (const featureProvider of unSanitizedEditorConfig.features) {\n if (\n !featureProvider?.clientFeatureProps?.featureKey ||\n featureProvider?.clientFeatureProps?.order === undefined ||\n featureProvider?.clientFeatureProps?.order === null\n ) {\n throw new Error(\n 'A Feature you have installed does not return the client props as clientFeatureProps. Please make sure to always return those props, even if they are null, as other important props like order and featureKey are later on injected.',\n )\n }\n }\n\n // sort unSanitizedEditorConfig.features by order\n unSanitizedEditorConfig.features = unSanitizedEditorConfig.features.sort(\n (a, b) => a.clientFeatureProps.order - b.clientFeatureProps.order,\n )\n\n const featureProviderMap: ClientFeatureProviderMap = new Map(\n unSanitizedEditorConfig.features.map(\n (f) => [f.clientFeatureProps.featureKey, f] as [string, FeatureProviderClient<unknown>],\n ),\n )\n\n const resolvedFeatures: ResolvedClientFeatureMap = new Map()\n\n // Make sure all dependencies declared in the respective features exist\n let loaded = 0\n for (const featureProvider of unSanitizedEditorConfig.features) {\n /**\n * Load relevant clientFunctions scoped to this feature and then pass them to the client feature\n */\n const relevantClientFunctions: Record<string, any> = {}\n Object.entries(clientFunctions).forEach(([key, plugin]) => {\n if (\n key.startsWith(\n `lexicalFeature.${schemaPath}.${featureProvider.clientFeatureProps.featureKey}.components.`,\n )\n ) {\n const featureComponentKey = key.split(\n `${schemaPath}.${featureProvider.clientFeatureProps.featureKey}.components.`,\n )[1]\n relevantClientFunctions[featureComponentKey] = plugin\n }\n })\n\n const feature = featureProvider.feature({\n clientFunctions: relevantClientFunctions,\n featureProviderMap,\n resolvedFeatures,\n unSanitizedEditorConfig,\n })\n resolvedFeatures.set(featureProvider.clientFeatureProps.featureKey, {\n ...feature,\n key: featureProvider.clientFeatureProps.featureKey,\n order: loaded,\n })\n\n loaded++\n }\n\n return resolvedFeatures\n}\n"],"names":["loadClientFeatures","clientFunctions","schemaPath","unSanitizedEditorConfig","featureProvider","features","clientFeatureProps","featureKey","order","undefined","Error","sort","a","b","featureProviderMap","Map","map","f","resolvedFeatures","loaded","relevantClientFunctions","Object","entries","forEach","key","plugin","startsWith","featureComponentKey","split","feature","set"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA;AASA;;;CAGC,GACD,OAAO,SAASA,mBAAmB,EACjCC,eAAe,EACfC,UAAU,EACVC,uBAAuB,EAKxB;IACC,KAAK,MAAMC,mBAAmBD,wBAAwBE,QAAQ,CAAE;QAC9D,IACE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,OAAOD;AACT"}
@@ -1,7 +0,0 @@
1
- import type { EditorConfig as LexicalEditorConfig } from 'lexical';
2
- import type { LexicalFieldAdminProps } from '../../../../types.js';
3
- import type { ResolvedClientFeatureMap, SanitizedClientFeatures } from '../../../features/types.js';
4
- import type { SanitizedClientEditorConfig } from '../types.js';
5
- export declare const sanitizeClientFeatures: (features: ResolvedClientFeatureMap) => SanitizedClientFeatures;
6
- export declare function sanitizeClientEditorConfig(lexical: LexicalEditorConfig, resolvedClientFeatureMap: ResolvedClientFeatureMap, admin?: LexicalFieldAdminProps): SanitizedClientEditorConfig;
7
- //# sourceMappingURL=sanitize.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sanitize.d.ts","sourceRoot":"","sources":["../../../../../src/field/lexical/config/client/sanitize.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,IAAI,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAElE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAClE,OAAO,KAAK,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAA;AACnG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAA;AAE9D,eAAO,MAAM,sBAAsB,0CAEhC,uBAiMF,CAAA;AAED,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,mBAAmB,EAC5B,wBAAwB,EAAE,wBAAwB,EAClD,KAAK,CAAC,EAAE,sBAAsB,GAC7B,2BAA2B,CAO7B"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/field/lexical/config/client/sanitize.ts"],"sourcesContent":["'use client'\n\nimport type { EditorConfig as LexicalEditorConfig } from 'lexical'\n\nimport type { LexicalFieldAdminProps } from '../../../../types.js'\nimport type { ResolvedClientFeatureMap, SanitizedClientFeatures } from '../../../features/types.js'\nimport type { SanitizedClientEditorConfig } from '../types.js'\n\nexport const sanitizeClientFeatures = (\n features: ResolvedClientFeatureMap,\n): SanitizedClientFeatures => {\n const sanitized: SanitizedClientFeatures = {\n enabledFeatures: [],\n hooks: {\n load: [],\n save: [],\n },\n markdownTransformers: [],\n nodes: [],\n plugins: [],\n slashMenu: {\n dynamicGroups: [],\n groups: [],\n },\n toolbarFixed: {\n groups: [],\n },\n toolbarInline: {\n groups: [],\n },\n }\n\n if (!features?.size) {\n return sanitized\n }\n\n features.forEach((feature) => {\n if (feature.hooks) {\n if (feature.hooks?.load?.length) {\n sanitized.hooks.load = sanitized.hooks.load.concat(feature.hooks.load)\n }\n if (feature.hooks?.save?.length) {\n sanitized.hooks.save = sanitized.hooks.save.concat(feature.hooks.save)\n }\n }\n\n if (feature.nodes?.length) {\n sanitized.nodes = sanitized.nodes.concat(feature.nodes)\n }\n if (feature.plugins?.length) {\n feature.plugins.forEach((plugin, i) => {\n sanitized.plugins.push({\n Component: plugin.Component,\n clientProps: feature.clientFeatureProps,\n key: feature.key + i,\n position: plugin.position,\n })\n })\n }\n\n if (feature.toolbarInline?.groups?.length) {\n for (const group of feature.toolbarInline.groups) {\n // 1. find the group with the same key or create new one\n let foundGroup = sanitized.toolbarInline.groups.find(\n (sanitizedGroup) => sanitizedGroup.key === group.key,\n )\n if (!foundGroup) {\n foundGroup = {\n ...group,\n items: [],\n }\n } else {\n sanitized.toolbarInline.groups = sanitized.toolbarInline.groups.filter(\n (sanitizedGroup) => sanitizedGroup.key !== group.key,\n )\n }\n\n // 2. Add options to group options array and add to sanitized.slashMenu.groupsWithOptions\n if (group?.items?.length) {\n foundGroup.items = foundGroup.items.concat(group.items)\n }\n sanitized.toolbarInline?.groups.push(foundGroup)\n }\n }\n\n if (feature.toolbarFixed?.groups?.length) {\n for (const group of feature.toolbarFixed.groups) {\n // 1. find the group with the same key or create new one\n let foundGroup = sanitized.toolbarFixed.groups.find(\n (sanitizedGroup) => sanitizedGroup.key === group.key,\n )\n if (!foundGroup) {\n foundGroup = {\n ...group,\n items: [],\n }\n } else {\n sanitized.toolbarFixed.groups = sanitized.toolbarFixed.groups.filter(\n (sanitizedGroup) => sanitizedGroup.key !== group.key,\n )\n }\n\n // 2. Add options to group options array and add to sanitized.slashMenu.groupsWithOptions\n if (group?.items?.length) {\n foundGroup.items = foundGroup.items.concat(group.items)\n }\n sanitized.toolbarFixed?.groups.push(foundGroup)\n }\n }\n\n if (feature.slashMenu?.groups) {\n if (feature.slashMenu.dynamicGroups?.length) {\n sanitized.slashMenu.dynamicGroups = sanitized.slashMenu.dynamicGroups.concat(\n feature.slashMenu.dynamicGroups,\n )\n }\n\n for (const optionGroup of feature.slashMenu.groups) {\n // 1. find the group with the same name or create new one\n let group = sanitized.slashMenu.groups.find((group) => group.key === optionGroup.key)\n if (!group) {\n group = {\n ...optionGroup,\n items: [],\n }\n } else {\n sanitized.slashMenu.groups = sanitized.slashMenu.groups.filter(\n (group) => group.key !== optionGroup.key,\n )\n }\n\n // 2. Add options to group options array and add to sanitized.slashMenu.groupsWithOptions\n if (optionGroup?.items?.length) {\n group.items = group.items.concat(optionGroup.items)\n }\n sanitized.slashMenu.groups.push(group)\n }\n }\n\n if (feature.markdownTransformers?.length) {\n sanitized.markdownTransformers = sanitized.markdownTransformers.concat(\n feature.markdownTransformers,\n )\n }\n sanitized.enabledFeatures.push(feature.key)\n })\n\n // Sort sanitized.toolbarInline.groups by order property\n sanitized.toolbarInline.groups.sort((a, b) => {\n if (a.order && b.order) {\n return a.order - b.order\n } else if (a.order) {\n return -1\n } else if (b.order) {\n return 1\n } else {\n return 0\n }\n })\n // Sort sanitized.toolbarFixed.groups by order property\n sanitized.toolbarFixed.groups.sort((a, b) => {\n if (a.order && b.order) {\n return a.order - b.order\n } else if (a.order) {\n return -1\n } else if (b.order) {\n return 1\n } else {\n return 0\n }\n })\n\n // Sort sanitized.toolbarInline.groups.[group].entries by order property\n for (const group of sanitized.toolbarInline.groups) {\n group.items.sort((a, b) => {\n if (a.order && b.order) {\n return a.order - b.order\n } else if (a.order) {\n return -1\n } else if (b.order) {\n return 1\n } else {\n return 0\n }\n })\n }\n\n // Sort sanitized.toolbarFixed.groups.[group].entries by order property\n for (const group of sanitized.toolbarFixed.groups) {\n group.items.sort((a, b) => {\n if (a.order && b.order) {\n return a.order - b.order\n } else if (a.order) {\n return -1\n } else if (b.order) {\n return 1\n } else {\n return 0\n }\n })\n }\n\n return sanitized\n}\n\nexport function sanitizeClientEditorConfig(\n lexical: LexicalEditorConfig,\n resolvedClientFeatureMap: ResolvedClientFeatureMap,\n admin?: LexicalFieldAdminProps,\n): SanitizedClientEditorConfig {\n return {\n admin,\n features: sanitizeClientFeatures(resolvedClientFeatureMap),\n lexical,\n resolvedFeatureMap: resolvedClientFeatureMap,\n }\n}\n"],"names":["sanitizeClientFeatures","features","sanitized","enabledFeatures","hooks","load","save","markdownTransformers","nodes","plugins","slashMenu","dynamicGroups","groups","toolbarFixed","toolbarInline","size","forEach","feature","length","concat","plugin","i","push","Component","clientProps","clientFeatureProps","key","position","group","foundGroup","find","sanitizedGroup","items","filter","optionGroup","sort","a","b","order","sanitizeClientEditorConfig","lexical","resolvedClientFeatureMap","admin","resolvedFeatureMap"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA;AAQA,OAAO,MAAMA,yBAAyB,CACpCC;IAEA,MAAMC,YAAqC;QACzCC,iBAAiB,EAAE;QACnBC,OAAO;YACLC,MAAM,EAAE;YACRC,MAAM,EAAE;QACV;QACAC,sBAAsB,EAAE;QACxBC,OAAO,EAAE;QACTC,SAAS,EAAE;QACXC,WAAW;YACTC,eAAe,EAAE;YACjBC,QAAQ,EAAE;QACZ;QACAC,cAAc;YACZD,QAAQ,EAAE;QACZ;QACAE,eAAe;YACbF,QAAQ,EAA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,EAAEE,KAAK,GAAGD,EAAEC,KAAK;QAC1B,OAAO,IAAIF,EAAEE,KAAK,EAAE;YAClB,OAAO,CAAC;QACV,OAAO,IAAID,EAAEC,KAAK,EAAE;YAClB,OAAO;QACT,OAAO;YACL,OAAO;QACT;IACF;IAEA,wEAAwE;IACxE,KAAK,MAAMV,SAAS1B,UAAUY,aAAa,CAACF,MAAM,CAAE;QAClDgB,MAAMI,KAAK,CAACG,IAAI,CAAC,CAACC,GAAGC;YACnB,IAAID,EAAEE,KAAK,IAAID,EAAEC,KAAK,EAAE;gBACtB,OAAOF,EAAEE,KAAK,GAAGD,EAAEC,KAAK;YAC1B,OAAO,IAAIF,EAAEE,KAAK,EAAE;gBAClB,OAAO,CAAC;YACV,OAAO,IAAID,EAAEC,KAAK,EAAE;gBAClB,OAAO;YACT,OAAO;gBACL,OAAO;YACT;QACF;IACF;IAEA,uEAAuE;IACvE,KAAK,MAAMV,SAAS1B,UAAUW,YAAY,CAACD,MAAM,CAAE;QACjDgB,MAAMI,KAAK,CAACG,IAAI,CAAC,CAACC,GAAGC;YACnB,IAAID,EAAEE,KAAK,IAAID,EAAEC,KAAK,EAAE;gBACtB,OAAOF,EAAEE,KAAK,GAAGD,EAAEC,KAAK;YAC1B,OAAO,IAAIF,EAAEE,KAAK,EAAE;gBAClB,OAAO,CAAC;YACV,OAAO,IAAID,EAAEC,KAAK,EAAE;gBAClB,OAAO;YACT,OAAO;gBACL,OAAO;YACT;QACF;IACF;IAEA,OAAOpC;AACT,EAAC;AAED,OAAO,SAASqC,2BACdC,OAA4B,EAC5BC,wBAAkD,EAClDC,KAA8B;IAE9B,OAAO;QACLA;QACAzC,UAAUD,uBAAuByC;QACjCD;QACAG,oBAAoBF;IACtB;AACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../src/field/lexical/config/server/default.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,IAAI,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAElE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAA;AACvE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAwBrD,eAAO,MAAM,0BAA0B,EAAE,mBAGxC,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,qBAAqB,CAAC,OAAO,EAAE,OAAO,CAAC,EAqB1E,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,kBAGjC,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/field/lexical/config/server/default.ts"],"sourcesContent":["import type { EditorConfig as LexicalEditorConfig } from 'lexical'\n\nimport type { FeatureProviderServer } from '../../../features/types.js'\nimport type { ServerEditorConfig } from '../types.js'\n\nimport { AlignFeature } from '../../../features/align/feature.server.js'\nimport { BlockquoteFeature } from '../../../features/blockquote/feature.server.js'\nimport { BoldFeature } from '../../../features/format/bold/feature.server.js'\nimport { InlineCodeFeature } from '../../../features/format/inlineCode/feature.server.js'\nimport { ItalicFeature } from '../../../features/format/italic/feature.server.js'\nimport { StrikethroughFeature } from '../../../features/format/strikethrough/feature.server.js'\nimport { SubscriptFeature } from '../../../features/format/subscript/feature.server.js'\nimport { SuperscriptFeature } from '../../../features/format/superscript/feature.server.js'\nimport { UnderlineFeature } from '../../../features/format/underline/feature.server.js'\nimport { HeadingFeature } from '../../../features/heading/feature.server.js'\nimport { HorizontalRuleFeature } from '../../../features/horizontalRule/feature.server.js'\nimport { IndentFeature } from '../../../features/indent/feature.server.js'\nimport { LinkFeature } from '../../../features/link/feature.server.js'\nimport { ChecklistFeature } from '../../../features/lists/checklist/feature.server.js'\nimport { OrderedListFeature } from '../../../features/lists/orderedList/feature.server.js'\nimport { UnorderedListFeature } from '../../../features/lists/unorderedList/feature.server.js'\nimport { ParagraphFeature } from '../../../features/paragraph/feature.server.js'\nimport { RelationshipFeature } from '../../../features/relationship/feature.server.js'\nimport { InlineToolbarFeature } from '../../../features/toolbars/inline/feature.server.js'\nimport { UploadFeature } from '../../../features/upload/feature.server.js'\nimport { LexicalEditorTheme } from '../../theme/EditorTheme.js'\n\nexport const defaultEditorLexicalConfig: LexicalEditorConfig = {\n namespace: 'lexical',\n theme: LexicalEditorTheme,\n}\n\nexport const defaultEditorFeatures: FeatureProviderServer<unknown, unknown>[] = [\n BoldFeature(),\n ItalicFeature(),\n UnderlineFeature(),\n StrikethroughFeature(),\n SubscriptFeature(),\n SuperscriptFeature(),\n InlineCodeFeature(),\n ParagraphFeature(),\n HeadingFeature(),\n AlignFeature(),\n IndentFeature(),\n UnorderedListFeature(),\n OrderedListFeature(),\n ChecklistFeature(),\n LinkFeature(),\n RelationshipFeature(),\n BlockquoteFeature(),\n UploadFeature(),\n HorizontalRuleFeature(),\n InlineToolbarFeature(),\n]\n\nexport const defaultEditorConfig: ServerEditorConfig = {\n features: defaultEditorFeatures,\n lexical: defaultEditorLexicalConfig,\n}\n"],"names":["AlignFeature","BlockquoteFeature","BoldFeature","InlineCodeFeature","ItalicFeature","StrikethroughFeature","SubscriptFeature","SuperscriptFeature","UnderlineFeature","HeadingFeature","HorizontalRuleFeature","IndentFeature","LinkFeature","ChecklistFeature","OrderedListFeature","UnorderedListFeature","ParagraphFeature","RelationshipFeature","InlineToolbarFeature","UploadFeature","LexicalEditorTheme","defaultEditorLexicalConfig","namespace","theme","defaultEditorFeatures","defaultEditorConfig","features","lexical"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAKA,SAASA,YAAY,QAAQ,4CAA2C;AACxE,SAASC,iBAAiB,QAAQ,iDAAgD;AAClF,SAASC,WAAW,QAAQ,kDAAiD;AAC7E,SAASC,iBAAiB,QAAQ,wDAAuD;AACzF,SAASC,aAAa,QAAQ,oDAAmD;AACjF,SAASC,oBAAoB,QAAQ,2DAA0D;AAC/F,SAASC,gBAAgB,QAAQ,uDAAsD;AACvF,SAASC,kBAAkB,QAAQ,yDAAwD;AAC3F,SAASC,gBAAgB,QAAQ,uDAAsD;AACvF,SAASC,cAAc,QAAQ,8CAA6C;AAC5E,SAASC,qBAAqB,QAAQ,qDAAoD;AAC1F,SAASC,aAAa,QAAQ,6CAA4C;AAC1E,SAASC,WAAW,QAAQ,2CAA0C;AACtE,SAASC,gBAAgB,QAAQ,sDAAqD;AACtF,SAASC,kBAAkB,QAAQ,wDAAuD;AAC1F,SAASC,oBAAoB,QAAQ,0DAAyD;AAC9F,SAASC,gBAAgB,QAAQ,gDAA+C;AAChF,SAASC,mBAAmB,QAAQ,mDAAkD;AACtF,SAASC,oBAAoB,QAAQ,sDAAqD;AAC1F,SAASC,aAAa,QAAQ,6CAA4C;AAC1E,SAASC,kBAAkB,QAAQ,6BAA4B;AAE/D,OAAO,MAAMC,6BAAkD;IAC7DC,WAAW;IACXC,OAAOH;AACT,EAAC;AAED,OAAO,MAAMI,wBAAmE;IAC9EtB;IACAE;IACAI;IACAH;IACAC;IACAC;IACAJ;IACAa;IACAP;IACAT;IACAW;IACAI;IACAD;IACAD;IACAD;IACAK;IACAhB;IACAkB;IACAT;IACAQ;CACD,CAAA;AAED,OAAO,MAAMO,sBAA0C;IACrDC,UAAUF;IACVG,SAASN;AACX,EAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../../../../src/field/lexical/config/server/loader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,OAAO,KAAK,EACV,qBAAqB,EACrB,wBAAwB,EAEzB,MAAM,4BAA4B,CAAA;AACnC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AA8FrD,wBAAgB,6BAA6B,CAC3C,gBAAgB,EAAE,qBAAqB,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE,GAC1D,qBAAqB,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE,CAE3C;AAED,wBAAsB,YAAY,CAAC,EACjC,MAAM,EACN,MAAM,EACN,uBAAuB,GACxB,EAAE;IACD,MAAM,EAAE,eAAe,CAAA;IACvB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,uBAAuB,EAAE,kBAAkB,CAAA;CAC5C,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAgFpC"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/field/lexical/config/server/loader.ts"],"sourcesContent":["import type { SanitizedConfig } from 'payload'\n\nimport type {\n FeatureProviderServer,\n ResolvedServerFeatureMap,\n ServerFeatureProviderMap,\n} from '../../../features/types.js'\nimport type { ServerEditorConfig } from '../types.js'\n\ntype DependencyGraph = {\n [key: string]: {\n dependencies: string[]\n dependenciesPriority: string[]\n dependenciesSoft: string[]\n featureProvider: FeatureProviderServer<unknown, unknown>\n }\n}\n\nfunction createDependencyGraph(\n featureProviders: FeatureProviderServer<unknown, unknown>[],\n): DependencyGraph {\n const graph: DependencyGraph = {}\n for (const fp of featureProviders) {\n graph[fp.key] = {\n dependencies: fp.dependencies || [],\n dependenciesPriority: fp.dependenciesPriority || [],\n dependenciesSoft: fp.dependenciesSoft || [],\n featureProvider: fp,\n }\n }\n return graph\n}\n\nfunction topologicallySortFeatures(\n featureProviders: FeatureProviderServer<unknown, unknown>[],\n): FeatureProviderServer<unknown, unknown>[] {\n const graph = createDependencyGraph(featureProviders)\n const visited: { [key: string]: boolean } = {}\n const stack: FeatureProviderServer<unknown, unknown>[] = []\n\n for (const key in graph) {\n if (!visited[key]) {\n visit(graph, key, visited, stack)\n }\n }\n\n return stack.reverse()\n}\n\nfunction visit(\n graph: DependencyGraph,\n key: string,\n visited: { [key: string]: boolean },\n stack: FeatureProviderServer<unknown, unknown>[],\n currentPath: string[] = [],\n) {\n if (!graph[key]) {\n throw new Error(`Feature key ${key} is not present in the dependency graph.`)\n }\n\n if (currentPath.includes(key)) {\n throw new Error(`Circular dependency detected: ${currentPath.join(' -> ')} -> ${key}`)\n }\n\n if (visited[key]) {\n return\n }\n\n visited[key] = true\n currentPath.push(key)\n\n // First process the hard priority dependencies\n for (const dep of graph[key].dependenciesPriority) {\n if (!visited[dep]) {\n visit(graph, dep, visited, stack, currentPath)\n }\n }\n\n // Then process the normal dependencies, but make sure to not violate hard dependencies\n for (const dep of graph[key].dependencies) {\n if (!visited[dep] && !graph[key].dependenciesPriority.includes(dep)) {\n visit(graph, dep, visited, stack, currentPath)\n }\n }\n\n // Then process the soft dependencies. Make sure to not violate hard and normal dependencies.\n for (const dep of graph[key].dependenciesSoft) {\n if (\n graph[dep] &&\n !visited[dep] &&\n !graph[key].dependenciesPriority.includes(dep) &&\n !graph[key].dependencies.includes(dep)\n ) {\n visit(graph, dep, visited, stack, currentPath)\n }\n }\n\n stack.push(graph[key].featureProvider)\n currentPath.pop()\n}\n\nexport function sortFeaturesForOptimalLoading(\n featureProviders: FeatureProviderServer<unknown, unknown>[],\n): FeatureProviderServer<unknown, unknown>[] {\n return topologicallySortFeatures(featureProviders)\n}\n\nexport async function loadFeatures({\n config,\n isRoot,\n unSanitizedEditorConfig,\n}: {\n config: SanitizedConfig\n isRoot?: boolean\n unSanitizedEditorConfig: ServerEditorConfig\n}): Promise<ResolvedServerFeatureMap> {\n // First remove all duplicate features. The LAST feature with a given key wins.\n unSanitizedEditorConfig.features = unSanitizedEditorConfig.features\n .reverse()\n .filter((f, i, arr) => {\n const firstIndex = arr.findIndex((f2) => f2.key === f.key)\n return firstIndex === i\n })\n .reverse()\n\n unSanitizedEditorConfig.features = sortFeaturesForOptimalLoading(unSanitizedEditorConfig.features)\n\n const featureProviderMap: ServerFeatureProviderMap = new Map(\n unSanitizedEditorConfig.features.map(\n (f) => [f.key, f] as [string, FeatureProviderServer<unknown, unknown>],\n ),\n )\n\n const resolvedFeatures: ResolvedServerFeatureMap = new Map()\n\n // Make sure all dependencies declared in the respective features exist\n let loaded = 0\n for (const featureProvider of unSanitizedEditorConfig.features) {\n if (!featureProvider.key) {\n throw new Error(\n `A Feature you've added does not have a key. Please add a key to the feature. This is used to uniquely identify the feature.`,\n )\n }\n if (featureProvider.dependencies?.length) {\n for (const dependencyKey of featureProvider.dependencies) {\n const found = unSanitizedEditorConfig.features.find((f) => f.key === dependencyKey)\n if (!found) {\n throw new Error(\n `Feature ${featureProvider.key} has a dependency ${dependencyKey} which does not exist.`,\n )\n }\n }\n }\n\n if (featureProvider.dependenciesPriority?.length) {\n for (const priorityDependencyKey of featureProvider.dependenciesPriority) {\n // look in the resolved features instead of the editorConfig.features, as a dependency requires the feature to be loaded before it, contrary to a soft-dependency\n const found = resolvedFeatures.get(priorityDependencyKey)\n if (!found) {\n const existsInEditorConfig = unSanitizedEditorConfig.features.find(\n (f) => f.key === priorityDependencyKey,\n )\n if (!existsInEditorConfig) {\n throw new Error(\n `Feature ${featureProvider.key} has a priority dependency ${priorityDependencyKey} which does not exist.`,\n )\n } else {\n throw new Error(\n `Feature ${featureProvider.key} has a priority dependency ${priorityDependencyKey} which is not loaded before it.`,\n )\n }\n }\n }\n }\n\n const feature = await featureProvider.feature({\n config,\n featureProviderMap,\n isRoot,\n resolvedFeatures,\n unSanitizedEditorConfig,\n })\n resolvedFeatures.set(featureProvider.key, {\n ...feature,\n dependencies: featureProvider.dependencies,\n dependenciesPriority: featureProvider.dependenciesPriority,\n dependenciesSoft: featureProvider.dependenciesSoft,\n key: featureProvider.key,\n order: loaded,\n })\n\n loaded++\n }\n\n return resolvedFeatures\n}\n"],"names":["createDependencyGraph","featureProviders","graph","fp","key","dependencies","dependenciesPriority","dependenciesSoft","featureProvider","topologicallySortFeatures","visited","stack","visit","reverse","currentPath","Error","includes","join","push","dep","pop","sortFeaturesForOptimalLoading","loadFeatures","config","isRoot","unSanitizedEditorConfig","features","filter","f","i","arr","firstIndex","findIndex","f2","featureProviderMap","Map","map","resolvedFeatures","loaded","length","dependencyKey","found","find","priorityDependencyKey","get","existsInEditorConfig","feature","set","order"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AO,CAAC;YAC5CvB;YACAW;YACAV;YACAa;YACAZ;QACF;QACAY,iBAAiBU,GAAG,CAACvC,gBAAgBJ,GAAG,EAAE;YACxC,GAAG0C,OAAO;YACVzC,cAAcG,gBAAgBH,YAAY;YAC1CC,sBAAsBE,gBAAgBF,oBAAoB;YAC1DC,kBAAkBC,gBAAgBD,gBAAgB;YAClDH,KAAKI,gBAAgBJ,GAAG;YACxB4C,OAAOV;QACT;QAEAA;IACF;IAEA,OAAOD;AACT"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"sanitize.d.ts","sourceRoot":"","sources":["../../../../../src/field/lexical/config/server/sanitize.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,OAAO,KAAK,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAA;AACnG,OAAO,KAAK,EAAE,2BAA2B,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAIlF,eAAO,MAAM,sBAAsB,0CAEhC,uBAyFF,CAAA;AAED,wBAAsB,0BAA0B,CAC9C,YAAY,EAAE,kBAAkB,EAChC,MAAM,EAAE,eAAe,GACtB,OAAO,CAAC,2BAA2B,CAAC,CAWtC"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/field/lexical/config/server/sanitize.ts"],"sourcesContent":["import type { SanitizedConfig } from 'payload'\n\nimport type { ResolvedServerFeatureMap, SanitizedServerFeatures } from '../../../features/types.js'\nimport type { SanitizedServerEditorConfig, ServerEditorConfig } from '../types.js'\n\nimport { loadFeatures } from './loader.js'\n\nexport const sanitizeServerFeatures = (\n features: ResolvedServerFeatureMap,\n): SanitizedServerFeatures => {\n const sanitized: SanitizedServerFeatures = {\n converters: {\n html: [],\n },\n enabledFeatures: [],\n generatedTypes: {\n modifyOutputSchemas: [],\n },\n getSubFields: new Map(),\n getSubFieldsData: new Map(),\n graphQLPopulationPromises: new Map(),\n hooks: {\n afterChange: new Map(),\n afterRead: new Map(),\n beforeChange: new Map(),\n beforeValidate: new Map(),\n },\n i18n: {},\n markdownTransformers: [],\n nodes: [],\n\n validations: new Map(),\n }\n\n if (!features?.size) {\n return sanitized\n }\n\n features.forEach((feature) => {\n if (feature?.generatedTypes?.modifyOutputSchema) {\n sanitized.generatedTypes.modifyOutputSchemas.push(feature.generatedTypes.modifyOutputSchema)\n }\n\n if (feature?.i18n) {\n for (const lang in feature.i18n) {\n if (!sanitized.i18n[lang]) {\n sanitized.i18n[lang] = {\n lexical: {},\n }\n }\n sanitized.i18n[lang].lexical[feature.key] = feature.i18n[lang]\n }\n }\n\n if (feature.nodes?.length) {\n sanitized.nodes = sanitized.nodes.concat(feature.nodes)\n feature.nodes.forEach((node) => {\n const nodeType = 'with' in node.node ? node.node.replace.getType() : node.node.getType() // TODO: Idk if this works for node replacements\n if (node?.graphQLPopulationPromises?.length) {\n sanitized.graphQLPopulationPromises.set(nodeType, node.graphQLPopulationPromises)\n }\n if (node?.validations?.length) {\n sanitized.validations.set(nodeType, node.validations)\n }\n if (node?.converters?.html) {\n sanitized.converters.html.push(node.converters.html)\n }\n if (node?.hooks?.afterChange) {\n sanitized.hooks.afterChange.set(nodeType, node.hooks.afterChange)\n }\n if (node?.hooks?.afterRead) {\n sanitized.hooks.afterRead.set(nodeType, node.hooks.afterRead)\n }\n if (node?.hooks?.beforeChange) {\n sanitized.hooks.beforeChange.set(nodeType, node.hooks.beforeChange)\n }\n if (node?.hooks?.beforeValidate) {\n sanitized.hooks.beforeValidate.set(nodeType, node.hooks.beforeValidate)\n }\n if (node?.getSubFields) {\n sanitized.getSubFields.set(nodeType, node.getSubFields)\n }\n if (node?.getSubFieldsData) {\n sanitized.getSubFieldsData.set(nodeType, node.getSubFieldsData)\n }\n })\n }\n\n if (feature.markdownTransformers?.length) {\n sanitized.markdownTransformers = sanitized.markdownTransformers.concat(\n feature.markdownTransformers,\n )\n }\n\n sanitized.enabledFeatures.push(feature.key)\n })\n\n return sanitized\n}\n\nexport async function sanitizeServerEditorConfig(\n editorConfig: ServerEditorConfig,\n config: SanitizedConfig,\n): Promise<SanitizedServerEditorConfig> {\n const resolvedFeatureMap = await loadFeatures({\n config,\n unSanitizedEditorConfig: editorConfig,\n })\n\n return {\n features: sanitizeServerFeatures(resolvedFeatureMap),\n lexical: editorConfig.lexical,\n resolvedFeatureMap,\n }\n}\n"],"names":["loadFeatures","sanitizeServerFeatures","features","sanitized","converters","html","enabledFeatures","generatedTypes","modifyOutputSchemas","getSubFields","Map","getSubFieldsData","graphQLPopulationPromises","hooks","afterChange","afterRead","beforeChange","beforeValidate","i18n","markdownTransformers","nodes","validations","size","forEach","feature","modifyOutputSchema","push","lang","lexical","key","length","concat","node","nodeType","replace","getType","set","sanitizeServerEditorConfig","editorConfig","config","resolvedFeatureMap","unSanitizedEditorConfig"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAKA,SAASA,YAAY,QAAQ,cAAa;AAE1C,OAAO,MAAMC,yBAAyB,CACpCC;IAEA,MAAMC,YAAqC;QACzCC,YAAY;YACVC,MAAM,EAAE;QACV;QACAC,iBAAiB,EAAE;QACnBC,gBAAgB;YACdC,qBAAqB,EAAE;QACzB;QACAC,cAAc,IAAIC;QAClBC,kBAAkB,IAAID;QACtBE,2BAA2B,IAAIF;QAC/BG,OAAO;YACLC,aAAa,IAAIJ;YACjBK,WAAW,IAAIL;YACfM,cAAc,IAAIN;YAClBO,gBAAgB,IAAIP;QACtB;QACAQ,MAAM,CAAC;QACPC,sBAAsB,EAAE;QACxBC,OAAO,EAAE;QAETC,aAAa,IAAIX;IACnB;IAEA,IAAI,CAACR,UAAUoB,MAAM;QACnB,OAAOnB;IACT;IAEAD,SAASqB,OAAO,CAAC,CAACC;QAChB,IAAIA,SAASjB,gBAAgBkB,oBAAoB;YAC/CtB,UAAUI,cAA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AS,CAACqB,GAAG,CAACH,UAAUD,KAAKnB,KAAK,CAACE,SAAS;gBAC9D;gBACA,IAAIiB,MAAMnB,OAAOG,cAAc;oBAC7Bb,UAAUU,KAAK,CAACG,YAAY,CAACoB,GAAG,CAACH,UAAUD,KAAKnB,KAAK,CAACG,YAAY;gBACpE;gBACA,IAAIgB,MAAMnB,OAAOI,gBAAgB;oBAC/Bd,UAAUU,KAAK,CAACI,cAAc,CAACmB,GAAG,CAACH,UAAUD,KAAKnB,KAAK,CAACI,cAAc;gBACxE;gBACA,IAAIe,MAAMvB,cAAc;oBACtBN,UAAUM,YAAY,CAAC2B,GAAG,CAACH,UAAUD,KAAKvB,YAAY;gBACxD;gBACA,IAAIuB,MAAMrB,kBAAkB;oBAC1BR,UAAUQ,gBAAgB,CAACyB,GAAG,CAACH,UAAUD,KAAKrB,gBAAgB;gBAChE;YACF;QACF;QAEA,IAAIa,QAAQL,oBAAoB,EAAEW,QAAQ;YACxC3B,UAAUgB,oBAAoB,GAAGhB,UAAUgB,oBAAoB,CAACY,MAAM,CACpEP,QAAQL,oBAAoB;QAEhC;QAEAhB,UAAUG,eAAe,CAACoB,IAAI,CAACF,QAAQK,GAAG;IAC5C;IAEA,OAAO1B;AACT,EAAC;AAED,OAAO,eAAekC,2BACpBC,YAAgC,EAChCC,MAAuB;IAEvB,MAAMC,qBAAqB,MAAMxC,aAAa;QAC5CuC;QACAE,yBAAyBH;IAC3B;IAEA,OAAO;QACLpC,UAAUD,uBAAuBuC;QACjCZ,SAASU,aAAaV,OAAO;QAC7BY;IACF;AACF"}
@@ -1,23 +0,0 @@
1
- import type { EditorConfig as LexicalEditorConfig } from 'lexical';
2
- import type { LexicalFieldAdminProps } from '../../../types.js';
3
- import type { FeatureProviderClient, FeatureProviderServer, ResolvedClientFeatureMap, ResolvedServerFeatureMap, SanitizedClientFeatures, SanitizedServerFeatures } from '../../features/types.js';
4
- export type ServerEditorConfig = {
5
- features: FeatureProviderServer<unknown, unknown>[];
6
- lexical?: LexicalEditorConfig;
7
- };
8
- export type SanitizedServerEditorConfig = {
9
- features: SanitizedServerFeatures;
10
- lexical: LexicalEditorConfig;
11
- resolvedFeatureMap: ResolvedServerFeatureMap;
12
- };
13
- export type ClientEditorConfig = {
14
- features: FeatureProviderClient<unknown>[];
15
- lexical?: LexicalEditorConfig;
16
- };
17
- export type SanitizedClientEditorConfig = {
18
- admin?: LexicalFieldAdminProps;
19
- features: SanitizedClientFeatures;
20
- lexical: LexicalEditorConfig;
21
- resolvedFeatureMap: ResolvedClientFeatureMap;
22
- };
23
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/field/lexical/config/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,IAAI,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAElE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,yBAAyB,CAAA;AAEhC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,qBAAqB,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE,CAAA;IACnD,OAAO,CAAC,EAAE,mBAAmB,CAAA;CAC9B,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG;IACxC,QAAQ,EAAE,uBAAuB,CAAA;IACjC,OAAO,EAAE,mBAAmB,CAAA;IAC5B,kBAAkB,EAAE,wBAAwB,CAAA;CAC7C,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,qBAAqB,CAAC,OAAO,CAAC,EAAE,CAAA;IAC1C,OAAO,CAAC,EAAE,mBAAmB,CAAA;CAC9B,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG;IACxC,KAAK,CAAC,EAAE,sBAAsB,CAAA;IAC9B,QAAQ,EAAE,uBAAuB,CAAA;IACjC,OAAO,EAAE,mBAAmB,CAAA;IAC5B,kBAAkB,EAAE,wBAAwB,CAAA;CAC7C,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/field/lexical/config/types.ts"],"sourcesContent":["import type { EditorConfig as LexicalEditorConfig } from 'lexical'\n\nimport type { LexicalFieldAdminProps } from '../../../types.js'\nimport type {\n FeatureProviderClient,\n FeatureProviderServer,\n ResolvedClientFeatureMap,\n ResolvedServerFeatureMap,\n SanitizedClientFeatures,\n SanitizedServerFeatures,\n} from '../../features/types.js'\n\nexport type ServerEditorConfig = {\n features: FeatureProviderServer<unknown, unknown>[]\n lexical?: LexicalEditorConfig\n}\n\nexport type SanitizedServerEditorConfig = {\n features: SanitizedServerFeatures\n lexical: LexicalEditorConfig\n resolvedFeatureMap: ResolvedServerFeatureMap\n}\n\nexport type ClientEditorConfig = {\n features: FeatureProviderClient<unknown>[]\n lexical?: LexicalEditorConfig\n}\n\nexport type SanitizedClientEditorConfig = {\n admin?: LexicalFieldAdminProps\n features: SanitizedClientFeatures\n lexical: LexicalEditorConfig\n resolvedFeatureMap: ResolvedClientFeatureMap\n}\n"],"names":[],"rangeMappings":"","mappings":"AA4BA,WAKC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/field/lexical/nodes/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAEzE,OAAO,KAAK,EAAE,2BAA2B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAA;AAElG,wBAAgB,eAAe,CAAC,EAC9B,YAAY,GACb,EAAE;IACD,YAAY,EAAE,2BAA2B,GAAG,2BAA2B,CAAA;CACxE,GAAG,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,sBAAsB,CAAC,CAOrD"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/field/lexical/nodes/index.ts"],"sourcesContent":["import type { Klass, LexicalNode, LexicalNodeReplacement } from 'lexical'\n\nimport type { SanitizedClientEditorConfig, SanitizedServerEditorConfig } from '../config/types.js'\n\nexport function getEnabledNodes({\n editorConfig,\n}: {\n editorConfig: SanitizedClientEditorConfig | SanitizedServerEditorConfig\n}): Array<Klass<LexicalNode> | LexicalNodeReplacement> {\n return editorConfig.features.nodes.map((node) => {\n if ('node' in node) {\n return node.node\n }\n return node\n })\n}\n"],"names":["getEnabledNodes","editorConfig","features","nodes","map","node"],"rangeMappings":";;;;;;;","mappings":"AAIA,OAAO,SAASA,gBAAgB,EAC9BC,YAAY,EAGb;IACC,OAAOA,aAAaC,QAAQ,CAACC,KAAK,CAACC,GAAG,CAAC,CAACC;QACtC,IAAI,UAAUA,MAAM;YAClB,OAAOA,KAAKA,IAAI;QAClB;QACA,OAAOA;IACT;AACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/field/lexical/plugins/MarkdownShortcut/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAI1C,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/field/lexical/plugins/MarkdownShortcut/index.tsx"],"sourcesContent":["'use client'\n\nimport { MarkdownShortcutPlugin as LexicalMarkdownShortcutPlugin } from '@lexical/react/LexicalMarkdownShortcutPlugin.js'\nimport * as React from 'react'\n\nimport { useEditorConfigContext } from '../../config/client/EditorConfigProvider.js'\n\nexport const MarkdownShortcutPlugin: React.FC = () => {\n const { editorConfig } = useEditorConfigContext()\n\n return <LexicalMarkdownShortcutPlugin transformers={editorConfig.features.markdownTransformers} />\n}\n"],"names":["MarkdownShortcutPlugin","LexicalMarkdownShortcutPlugin","React","useEditorConfigContext","editorConfig","transformers","features","markdownTransformers"],"rangeMappings":";;;;;;;;;;","mappings":"AAAA;;AAEA,SAASA,0BAA0BC,6BAA6B,QAAQ,kDAAiD;AACzH,YAAYC,WAAW,QAAO;AAE9B,SAASC,sBAAsB,QAAQ,8CAA6C;AAEpF,OAAO,MAAMH,yBAAmC;IAC9C,MAAM,EAAEI,YAAY,EAAE,GAAGD;IAEzB,qBAAO,KAACF;QAA8BI,cAAcD,aAAaE,QAAQ,CAACC,oBAAoB;;AAChG,EAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LexicalMenu.d.ts","sourceRoot":"","sources":["../../../../../../src/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AACtE,OAAO,KAAK,EAAE,GAAG,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAiB/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,KAAK,EAAE,sBAAsB,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAA;AAE9F,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,MAAM,OAAO,CAAA;IACtB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAID,MAAM,MAAM,YAAY,GAAG,CACzB,gBAAgB,EAAE,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,EACtD,SAAS,EAAE;IACT,MAAM,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAA;IACrC,oBAAoB,EAAE,CAAC,YAAY,EAAE,aAAa,KAAK,IAAI,CAAA;IAC3D,eAAe,EAAE,IAAI,GAAG,MAAM,CAAA;IAC9B,kBAAkB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9C,EACD,cAAc,EAAE,IAAI,GAAG,MA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