@payloadcms/richtext-lexical 3.0.0-beta.7 → 3.0.0-beta.70

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 (2293) hide show
  1. package/README.md +1 -1
  2. package/dist/cell/index.d.ts +5 -2
  3. package/dist/cell/index.d.ts.map +1 -1
  4. package/dist/cell/index.js +50 -36
  5. package/dist/cell/index.js.map +1 -1
  6. package/dist/exports/client/Component-7HS6FEJS.js +2 -0
  7. package/dist/exports/client/Component-7HS6FEJS.js.map +7 -0
  8. package/dist/exports/client/Component-LAKSCIDX.js +2 -0
  9. package/dist/exports/client/Component-LAKSCIDX.js.map +7 -0
  10. package/dist/exports/client/Field-6VQ73D3D.js +2 -0
  11. package/dist/exports/client/Field-6VQ73D3D.js.map +7 -0
  12. package/dist/exports/client/RelationshipComponent-FFJCVTWM.js +2 -0
  13. package/dist/exports/client/RelationshipComponent-FFJCVTWM.js.map +7 -0
  14. package/dist/exports/client/bundled.css +1 -0
  15. package/dist/exports/client/chunk-EBB2CEB6.js +2 -0
  16. package/dist/exports/client/chunk-EBB2CEB6.js.map +7 -0
  17. package/dist/exports/client/chunk-HO42U3IJ.js +2 -0
  18. package/dist/exports/client/chunk-HO42U3IJ.js.map +7 -0
  19. package/dist/exports/client/chunk-KTD7OXVC.js +2 -0
  20. package/dist/exports/client/chunk-KTD7OXVC.js.map +7 -0
  21. package/dist/exports/client/chunk-Q5DYR7MH.js +3 -0
  22. package/dist/exports/client/chunk-Q5DYR7MH.js.map +7 -0
  23. package/dist/exports/client/chunk-QZIAQPM7.js +2 -0
  24. package/dist/exports/client/chunk-QZIAQPM7.js.map +7 -0
  25. package/dist/exports/client/chunk-SFUMQAVE.js +2 -0
  26. package/dist/exports/client/chunk-SFUMQAVE.js.map +7 -0
  27. package/dist/exports/client/component-5K355FZZ.js +2 -0
  28. package/dist/exports/client/component-5K355FZZ.js.map +7 -0
  29. package/dist/exports/client/component-TYPMHBL7.js +2 -0
  30. package/dist/exports/client/component-TYPMHBL7.js.map +7 -0
  31. package/dist/exports/client/component-VM36FRT2.js +2 -0
  32. package/dist/exports/client/component-VM36FRT2.js.map +7 -0
  33. package/dist/exports/client/componentInline-3JDU4HVQ.js +2 -0
  34. package/dist/exports/client/componentInline-3JDU4HVQ.js.map +7 -0
  35. package/dist/exports/client/index.d.ts +63 -0
  36. package/dist/exports/client/index.d.ts.map +1 -0
  37. package/dist/exports/client/index.js +38 -0
  38. package/dist/exports/client/index.js.map +7 -0
  39. package/dist/features/align/feature.client.d.ts +5 -0
  40. package/dist/features/align/feature.client.d.ts.map +1 -0
  41. package/dist/features/align/feature.client.js +146 -0
  42. package/dist/features/align/feature.client.js.map +1 -0
  43. package/dist/features/align/feature.server.d.ts +2 -0
  44. package/dist/features/align/feature.server.d.ts.map +1 -0
  45. package/dist/features/align/feature.server.js +13 -0
  46. package/dist/features/align/feature.server.js.map +1 -0
  47. package/dist/features/align/i18n.d.ts +3 -0
  48. package/dist/features/align/i18n.d.ts.map +1 -0
  49. package/dist/features/align/i18n.js +196 -0
  50. package/dist/features/align/i18n.js.map +1 -0
  51. package/dist/features/align/toolbarAlignGroup.d.ts +3 -0
  52. package/dist/features/align/toolbarAlignGroup.d.ts.map +1 -0
  53. package/dist/features/align/toolbarAlignGroup.js +12 -0
  54. package/dist/features/align/toolbarAlignGroup.js.map +1 -0
  55. package/dist/features/blockquote/feature.client.d.ts +5 -0
  56. package/dist/features/blockquote/feature.client.d.ts.map +1 -0
  57. package/dist/features/blockquote/feature.client.js +77 -0
  58. package/dist/features/blockquote/feature.client.js.map +1 -0
  59. package/dist/features/blockquote/feature.server.d.ts +7 -0
  60. package/dist/features/blockquote/feature.server.d.ts.map +1 -0
  61. package/dist/features/blockquote/feature.server.js +45 -0
  62. package/dist/features/blockquote/feature.server.js.map +1 -0
  63. package/dist/features/blockquote/i18n.d.ts +3 -0
  64. package/dist/features/blockquote/i18n.d.ts.map +1 -0
  65. package/dist/features/blockquote/i18n.js +100 -0
  66. package/dist/features/blockquote/i18n.js.map +1 -0
  67. package/dist/features/blockquote/markdownTransformer.d.ts.map +1 -0
  68. package/dist/features/blockquote/markdownTransformer.js +40 -0
  69. package/dist/features/blockquote/markdownTransformer.js.map +1 -0
  70. package/dist/features/blocks/component/BlockContent.d.ts +28 -0
  71. package/dist/features/blocks/component/BlockContent.d.ts.map +1 -0
  72. package/dist/features/blocks/component/BlockContent.js +196 -0
  73. package/dist/features/blocks/component/BlockContent.js.map +1 -0
  74. package/dist/features/blocks/component/FormSavePlugin.d.ts +11 -0
  75. package/dist/features/blocks/component/FormSavePlugin.d.ts.map +1 -0
  76. package/dist/features/blocks/component/FormSavePlugin.js +29 -0
  77. package/dist/features/blocks/component/FormSavePlugin.js.map +1 -0
  78. package/dist/features/blocks/component/index.d.ts +11 -0
  79. package/dist/features/blocks/component/index.d.ts.map +1 -0
  80. package/dist/features/blocks/component/index.js +162 -0
  81. package/dist/features/blocks/component/index.js.map +1 -0
  82. package/dist/features/blocks/component/removeEmptyArrayValues.d.ts +11 -0
  83. package/dist/features/blocks/component/removeEmptyArrayValues.d.ts.map +1 -0
  84. package/dist/features/blocks/component/removeEmptyArrayValues.js.map +1 -0
  85. package/dist/features/blocks/componentInline/index.d.ts +10 -0
  86. package/dist/features/blocks/componentInline/index.d.ts.map +1 -0
  87. package/dist/features/blocks/componentInline/index.js +133 -0
  88. package/dist/features/blocks/componentInline/index.js.map +1 -0
  89. package/dist/features/blocks/feature.client.d.ts +14 -0
  90. package/dist/features/blocks/feature.client.d.ts.map +1 -0
  91. package/dist/features/blocks/feature.client.js +148 -0
  92. package/dist/features/blocks/feature.client.js.map +1 -0
  93. package/dist/features/blocks/feature.server.d.ts +8 -0
  94. package/dist/features/blocks/feature.server.d.ts.map +1 -0
  95. package/dist/features/blocks/feature.server.js +160 -0
  96. package/dist/features/blocks/feature.server.js.map +1 -0
  97. package/dist/features/blocks/graphQLPopulationPromise.d.ts +6 -0
  98. package/dist/features/blocks/graphQLPopulationPromise.d.ts.map +1 -0
  99. package/dist/features/blocks/graphQLPopulationPromise.js +31 -0
  100. package/dist/features/blocks/graphQLPopulationPromise.js.map +1 -0
  101. package/dist/features/blocks/i18n.d.ts +3 -0
  102. package/dist/features/blocks/i18n.d.ts.map +1 -0
  103. package/dist/features/blocks/i18n.js +292 -0
  104. package/dist/features/blocks/i18n.js.map +1 -0
  105. package/dist/features/blocks/nodes/BlocksNode.d.ts +38 -0
  106. package/dist/features/blocks/nodes/BlocksNode.d.ts.map +1 -0
  107. package/dist/features/blocks/nodes/BlocksNode.js +92 -0
  108. package/dist/features/blocks/nodes/BlocksNode.js.map +1 -0
  109. package/dist/features/blocks/nodes/InlineBlocksNode.d.ts +39 -0
  110. package/dist/features/blocks/nodes/InlineBlocksNode.d.ts.map +1 -0
  111. package/dist/features/blocks/nodes/InlineBlocksNode.js +94 -0
  112. package/dist/features/blocks/nodes/InlineBlocksNode.js.map +1 -0
  113. package/dist/features/blocks/plugin/commands.d.ts +9 -0
  114. package/dist/features/blocks/plugin/commands.d.ts.map +1 -0
  115. package/dist/features/blocks/plugin/commands.js +6 -0
  116. package/dist/features/blocks/plugin/commands.js.map +1 -0
  117. package/dist/features/blocks/plugin/index.d.ts +6 -0
  118. package/dist/features/blocks/plugin/index.d.ts.map +1 -0
  119. package/dist/features/blocks/plugin/index.js +111 -0
  120. package/dist/features/blocks/plugin/index.js.map +1 -0
  121. package/dist/features/blocks/validate.d.ts +6 -0
  122. package/dist/features/blocks/validate.d.ts.map +1 -0
  123. package/dist/features/blocks/validate.js +36 -0
  124. package/dist/features/blocks/validate.js.map +1 -0
  125. package/dist/features/converters/html/converter/converters/linebreak.d.ts.map +1 -0
  126. package/dist/features/converters/html/converter/converters/linebreak.js.map +1 -0
  127. package/dist/features/converters/html/converter/converters/paragraph.d.ts.map +1 -0
  128. package/dist/features/converters/html/converter/converters/paragraph.js +20 -0
  129. package/dist/features/converters/html/converter/converters/paragraph.js.map +1 -0
  130. package/dist/features/converters/html/converter/converters/text.d.ts.map +1 -0
  131. package/dist/features/converters/html/converter/converters/text.js.map +1 -0
  132. package/dist/features/converters/html/converter/defaultConverters.d.ts.map +1 -0
  133. package/dist/features/converters/html/converter/defaultConverters.js.map +1 -0
  134. package/dist/features/converters/html/converter/index.d.ts +42 -0
  135. package/dist/features/converters/html/converter/index.d.ts.map +1 -0
  136. package/dist/features/converters/html/converter/index.js +48 -0
  137. package/dist/features/converters/html/converter/index.js.map +1 -0
  138. package/dist/features/converters/html/converter/types.d.ts +19 -0
  139. package/dist/features/converters/html/converter/types.d.ts.map +1 -0
  140. package/dist/features/converters/html/converter/types.js.map +1 -0
  141. package/dist/features/converters/html/feature.server.d.ts +8 -0
  142. package/dist/features/converters/html/feature.server.d.ts.map +1 -0
  143. package/dist/features/converters/html/feature.server.js +8 -0
  144. package/dist/features/converters/html/feature.server.js.map +1 -0
  145. package/dist/features/converters/html/field/index.d.ts +35 -0
  146. package/dist/features/converters/html/field/index.d.ts.map +1 -0
  147. package/dist/features/converters/html/field/index.js +154 -0
  148. package/dist/features/converters/html/field/index.js.map +1 -0
  149. package/dist/features/createClientComponent.d.ts +7 -0
  150. package/dist/features/createClientComponent.d.ts.map +1 -0
  151. package/dist/features/createClientComponent.js +12 -0
  152. package/dist/features/createClientComponent.js.map +1 -0
  153. package/dist/features/createFeaturePropComponent.d.ts.map +1 -0
  154. package/dist/features/createFeaturePropComponent.js +18 -0
  155. package/dist/features/createFeaturePropComponent.js.map +1 -0
  156. package/dist/features/debug/testRecorder/feature.client.d.ts +5 -0
  157. package/dist/features/debug/testRecorder/feature.client.d.ts.map +1 -0
  158. package/dist/features/debug/testRecorder/feature.client.js +13 -0
  159. package/dist/features/debug/testRecorder/feature.client.js.map +1 -0
  160. package/dist/features/debug/testRecorder/feature.server.d.ts +2 -0
  161. package/dist/features/debug/testRecorder/feature.server.d.ts.map +1 -0
  162. package/dist/features/debug/testRecorder/feature.server.js +11 -0
  163. package/dist/features/debug/testRecorder/feature.server.js.map +1 -0
  164. package/dist/features/debug/testRecorder/plugin/index.d.ts +5 -0
  165. package/dist/features/debug/testRecorder/plugin/index.d.ts.map +1 -0
  166. package/dist/features/debug/testRecorder/plugin/index.js +471 -0
  167. package/dist/features/debug/testRecorder/plugin/index.js.map +1 -0
  168. package/dist/features/debug/treeView/feature.client.d.ts +5 -0
  169. package/dist/features/debug/treeView/feature.client.d.ts.map +1 -0
  170. package/dist/features/debug/treeView/feature.client.js +13 -0
  171. package/dist/features/debug/treeView/feature.client.js.map +1 -0
  172. package/dist/features/debug/treeView/feature.server.d.ts +2 -0
  173. package/dist/features/debug/treeView/feature.server.d.ts.map +1 -0
  174. package/dist/features/debug/treeView/feature.server.js +11 -0
  175. package/dist/features/debug/treeView/feature.server.js.map +1 -0
  176. package/dist/features/debug/treeView/plugin/index.d.ts +4 -0
  177. package/dist/features/debug/treeView/plugin/index.d.ts.map +1 -0
  178. package/dist/features/debug/treeView/plugin/index.js +19 -0
  179. package/dist/features/debug/treeView/plugin/index.js.map +1 -0
  180. package/dist/features/experimental_table/feature.client.d.ts +2 -0
  181. package/dist/features/experimental_table/feature.client.d.ts.map +1 -0
  182. package/dist/features/experimental_table/feature.client.js +66 -0
  183. package/dist/features/experimental_table/feature.client.js.map +1 -0
  184. package/dist/features/experimental_table/feature.server.d.ts +2 -0
  185. package/dist/features/experimental_table/feature.server.d.ts.map +1 -0
  186. package/dist/features/experimental_table/feature.server.js +52 -0
  187. package/dist/features/experimental_table/feature.server.js.map +1 -0
  188. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.d.ts +4 -0
  189. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.d.ts.map +1 -0
  190. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.js +602 -0
  191. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.js.map +1 -0
  192. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.d.ts +4 -0
  193. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.d.ts.map +1 -0
  194. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.js +322 -0
  195. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.js.map +1 -0
  196. package/dist/features/experimental_table/plugins/TablePlugin/index.d.ts +24 -0
  197. package/dist/features/experimental_table/plugins/TablePlugin/index.d.ts.map +1 -0
  198. package/dist/features/experimental_table/plugins/TablePlugin/index.js +98 -0
  199. package/dist/features/experimental_table/plugins/TablePlugin/index.js.map +1 -0
  200. package/dist/features/format/bold/feature.client.d.ts +5 -0
  201. package/dist/features/format/bold/feature.client.d.ts.map +1 -0
  202. package/dist/features/format/bold/feature.client.js +44 -0
  203. package/dist/features/format/bold/feature.client.js.map +1 -0
  204. package/dist/features/format/bold/feature.server.d.ts +2 -0
  205. package/dist/features/format/bold/feature.server.d.ts.map +1 -0
  206. package/dist/features/format/bold/feature.server.js +25 -0
  207. package/dist/features/format/bold/feature.server.js.map +1 -0
  208. package/dist/features/format/bold/markdownTransformers.d.ts.map +1 -0
  209. package/dist/features/format/bold/markdownTransformers.js.map +1 -0
  210. package/dist/features/format/inlineCode/feature.client.d.ts +5 -0
  211. package/dist/features/format/inlineCode/feature.client.d.ts.map +1 -0
  212. package/dist/features/format/inlineCode/feature.client.js +37 -0
  213. package/dist/features/format/inlineCode/feature.client.js.map +1 -0
  214. package/dist/features/format/inlineCode/feature.server.d.ts +2 -0
  215. package/dist/features/format/inlineCode/feature.server.d.ts.map +1 -0
  216. package/dist/features/format/inlineCode/feature.server.js +15 -0
  217. package/dist/features/format/inlineCode/feature.server.js.map +1 -0
  218. package/dist/features/format/inlineCode/markdownTransformers.d.ts.map +1 -0
  219. package/dist/features/format/inlineCode/markdownTransformers.js.map +1 -0
  220. package/dist/features/format/italic/feature.client.d.ts +5 -0
  221. package/dist/features/format/italic/feature.client.d.ts.map +1 -0
  222. package/dist/features/format/italic/feature.client.js +38 -0
  223. package/dist/features/format/italic/feature.client.js.map +1 -0
  224. package/dist/features/format/italic/feature.server.d.ts +2 -0
  225. package/dist/features/format/italic/feature.server.d.ts.map +1 -0
  226. package/dist/features/format/italic/feature.server.js +16 -0
  227. package/dist/features/format/italic/feature.server.js.map +1 -0
  228. package/dist/features/format/italic/markdownTransformers.d.ts.map +1 -0
  229. package/dist/features/format/italic/markdownTransformers.js.map +1 -0
  230. package/dist/features/format/shared/toolbarFormatGroup.d.ts +3 -0
  231. package/dist/features/format/shared/toolbarFormatGroup.d.ts.map +1 -0
  232. package/dist/features/format/shared/toolbarFormatGroup.js +10 -0
  233. package/dist/features/format/shared/toolbarFormatGroup.js.map +1 -0
  234. package/dist/features/format/strikethrough/feature.client.d.ts +5 -0
  235. package/dist/features/format/strikethrough/feature.client.d.ts.map +1 -0
  236. package/dist/features/format/strikethrough/feature.client.js +37 -0
  237. package/dist/features/format/strikethrough/feature.client.js.map +1 -0
  238. package/dist/features/format/strikethrough/feature.server.d.ts +2 -0
  239. package/dist/features/format/strikethrough/feature.server.d.ts.map +1 -0
  240. package/dist/features/format/strikethrough/feature.server.js +15 -0
  241. package/dist/features/format/strikethrough/feature.server.js.map +1 -0
  242. package/dist/features/format/strikethrough/markdownTransformers.d.ts.map +1 -0
  243. package/dist/features/format/strikethrough/markdownTransformers.js.map +1 -0
  244. package/dist/features/format/subscript/feature.client.d.ts +5 -0
  245. package/dist/features/format/subscript/feature.client.d.ts.map +1 -0
  246. package/dist/features/format/subscript/feature.client.js +33 -0
  247. package/dist/features/format/subscript/feature.client.js.map +1 -0
  248. package/dist/features/format/subscript/feature.server.d.ts +2 -0
  249. package/dist/features/format/subscript/feature.server.d.ts.map +1 -0
  250. package/dist/features/format/subscript/feature.server.js +11 -0
  251. package/dist/features/format/subscript/feature.server.js.map +1 -0
  252. package/dist/features/format/superscript/feature.client.d.ts +5 -0
  253. package/dist/features/format/superscript/feature.client.d.ts.map +1 -0
  254. package/dist/features/format/superscript/feature.client.js +33 -0
  255. package/dist/features/format/superscript/feature.client.js.map +1 -0
  256. package/dist/features/format/superscript/feature.server.d.ts +2 -0
  257. package/dist/features/format/superscript/feature.server.d.ts.map +1 -0
  258. package/dist/features/format/superscript/feature.server.js +11 -0
  259. package/dist/features/format/superscript/feature.server.js.map +1 -0
  260. package/dist/features/format/underline/feature.client.d.ts +5 -0
  261. package/dist/features/format/underline/feature.client.d.ts.map +1 -0
  262. package/dist/features/format/underline/feature.client.js +33 -0
  263. package/dist/features/format/underline/feature.client.js.map +1 -0
  264. package/dist/features/format/underline/feature.server.d.ts +2 -0
  265. package/dist/features/format/underline/feature.server.d.ts.map +1 -0
  266. package/dist/features/format/underline/feature.server.js +11 -0
  267. package/dist/features/format/underline/feature.server.js.map +1 -0
  268. package/dist/features/heading/feature.client.d.ts +6 -0
  269. package/dist/features/heading/feature.client.d.ts.map +1 -0
  270. package/dist/features/heading/feature.client.js +112 -0
  271. package/dist/features/heading/feature.client.js.map +1 -0
  272. package/dist/features/heading/feature.server.d.ts +10 -0
  273. package/dist/features/heading/feature.server.d.ts.map +1 -0
  274. package/dist/features/heading/feature.server.js +59 -0
  275. package/dist/features/heading/feature.server.js.map +1 -0
  276. package/dist/features/heading/i18n.d.ts +3 -0
  277. package/dist/features/heading/i18n.d.ts.map +1 -0
  278. package/dist/features/heading/i18n.js +100 -0
  279. package/dist/features/heading/i18n.js.map +1 -0
  280. package/dist/features/heading/markdownTransformer.d.ts.map +1 -0
  281. package/dist/features/heading/markdownTransformer.js +29 -0
  282. package/dist/features/heading/markdownTransformer.js.map +1 -0
  283. package/dist/features/horizontalRule/component/index.d.ts.map +1 -0
  284. package/dist/features/horizontalRule/component/index.js +67 -0
  285. package/dist/features/horizontalRule/component/index.js.map +1 -0
  286. package/dist/features/horizontalRule/feature.client.d.ts +5 -0
  287. package/dist/features/horizontalRule/feature.client.d.ts.map +1 -0
  288. package/dist/features/horizontalRule/feature.client.js +70 -0
  289. package/dist/features/horizontalRule/feature.client.js.map +1 -0
  290. package/dist/features/horizontalRule/feature.server.d.ts +2 -0
  291. package/dist/features/horizontalRule/feature.server.d.ts.map +1 -0
  292. package/dist/features/horizontalRule/feature.server.js +34 -0
  293. package/dist/features/horizontalRule/feature.server.js.map +1 -0
  294. package/dist/features/horizontalRule/i18n.d.ts +3 -0
  295. package/dist/features/horizontalRule/i18n.d.ts.map +1 -0
  296. package/dist/features/horizontalRule/i18n.js +100 -0
  297. package/dist/features/horizontalRule/i18n.js.map +1 -0
  298. package/dist/features/horizontalRule/markdownTransformer.d.ts.map +1 -0
  299. package/dist/features/horizontalRule/markdownTransformer.js.map +1 -0
  300. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.d.ts +56 -0
  301. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.d.ts.map +1 -0
  302. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.js +92 -0
  303. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.js.map +1 -0
  304. package/dist/features/horizontalRule/plugin/index.d.ts +7 -0
  305. package/dist/features/horizontalRule/plugin/index.d.ts.map +1 -0
  306. package/dist/features/horizontalRule/plugin/index.js +30 -0
  307. package/dist/features/horizontalRule/plugin/index.js.map +1 -0
  308. package/dist/features/indent/feature.client.d.ts +5 -0
  309. package/dist/features/indent/feature.client.d.ts.map +1 -0
  310. package/dist/features/indent/feature.client.js +56 -0
  311. package/dist/features/indent/feature.client.js.map +1 -0
  312. package/dist/features/indent/feature.server.d.ts +2 -0
  313. package/dist/features/indent/feature.server.d.ts.map +1 -0
  314. package/dist/features/indent/feature.server.js +13 -0
  315. package/dist/features/indent/feature.server.js.map +1 -0
  316. package/dist/features/indent/i18n.d.ts +3 -0
  317. package/dist/features/indent/i18n.d.ts.map +1 -0
  318. package/dist/features/indent/i18n.js +132 -0
  319. package/dist/features/indent/i18n.js.map +1 -0
  320. package/dist/features/indent/toolbarIndentGroup.d.ts +3 -0
  321. package/dist/features/indent/toolbarIndentGroup.d.ts.map +1 -0
  322. package/dist/features/indent/toolbarIndentGroup.js +10 -0
  323. package/dist/features/indent/toolbarIndentGroup.js.map +1 -0
  324. package/dist/features/link/drawer/baseFields.d.ts +3 -0
  325. package/dist/features/link/drawer/baseFields.d.ts.map +1 -0
  326. package/dist/features/link/drawer/baseFields.js +94 -0
  327. package/dist/features/link/drawer/baseFields.js.map +1 -0
  328. package/dist/features/link/feature.client.d.ts +16 -0
  329. package/dist/features/link/feature.client.d.ts.map +1 -0
  330. package/dist/features/link/feature.client.js +101 -0
  331. package/dist/features/link/feature.client.js.map +1 -0
  332. package/dist/features/link/feature.server.d.ts +35 -0
  333. package/dist/features/link/feature.server.d.ts.map +1 -0
  334. package/dist/features/link/feature.server.js +128 -0
  335. package/dist/features/link/feature.server.js.map +1 -0
  336. package/dist/features/link/graphQLPopulationPromise.d.ts +5 -0
  337. package/dist/features/link/graphQLPopulationPromise.d.ts.map +1 -0
  338. package/dist/features/link/graphQLPopulationPromise.js +31 -0
  339. package/dist/features/link/graphQLPopulationPromise.js.map +1 -0
  340. package/dist/features/link/i18n.d.ts +3 -0
  341. package/dist/features/link/i18n.d.ts.map +1 -0
  342. package/dist/features/link/i18n.js +100 -0
  343. package/dist/features/link/i18n.js.map +1 -0
  344. package/dist/features/link/markdownTransformer.d.ts +6 -0
  345. package/dist/features/link/markdownTransformer.d.ts.map +1 -0
  346. package/dist/features/link/markdownTransformer.js +50 -0
  347. package/dist/features/link/markdownTransformer.js.map +1 -0
  348. package/dist/features/link/nodes/AutoLinkNode.d.ts.map +1 -0
  349. package/dist/features/link/nodes/AutoLinkNode.js +68 -0
  350. package/dist/features/link/nodes/AutoLinkNode.js.map +1 -0
  351. package/dist/features/link/nodes/LinkNode.d.ts +39 -0
  352. package/dist/features/link/nodes/LinkNode.d.ts.map +1 -0
  353. package/dist/features/link/nodes/LinkNode.js +317 -0
  354. package/dist/features/link/nodes/LinkNode.js.map +1 -0
  355. package/dist/features/link/nodes/types.d.ts +24 -0
  356. package/dist/features/link/nodes/types.d.ts.map +1 -0
  357. package/dist/features/link/nodes/types.js.map +1 -0
  358. package/dist/features/link/plugins/autoLink/index.d.ts +20 -0
  359. package/dist/features/link/plugins/autoLink/index.d.ts.map +1 -0
  360. package/dist/features/link/plugins/autoLink/index.js +323 -0
  361. package/dist/features/link/plugins/autoLink/index.js.map +1 -0
  362. package/dist/features/link/plugins/clickableLink/index.d.ts +4 -0
  363. package/dist/features/link/plugins/clickableLink/index.d.ts.map +1 -0
  364. package/dist/features/link/plugins/clickableLink/index.js +9 -0
  365. package/dist/features/link/plugins/clickableLink/index.js.map +1 -0
  366. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +1 -0
  367. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js +4 -0
  368. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +1 -0
  369. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -0
  370. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +299 -0
  371. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +1 -0
  372. package/dist/features/link/plugins/floatingLinkEditor/index.d.ts +5 -0
  373. package/dist/features/link/plugins/floatingLinkEditor/index.d.ts.map +1 -0
  374. package/dist/features/link/plugins/floatingLinkEditor/index.js +13 -0
  375. package/dist/features/link/plugins/floatingLinkEditor/index.js.map +1 -0
  376. package/dist/features/link/plugins/floatingLinkEditor/types.d.ts.map +1 -0
  377. package/dist/features/link/plugins/floatingLinkEditor/types.js.map +1 -0
  378. package/dist/features/link/plugins/floatingLinkEditor/utilities.d.ts +9 -0
  379. package/dist/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +1 -0
  380. package/dist/features/link/plugins/floatingLinkEditor/utilities.js +20 -0
  381. package/dist/features/link/plugins/floatingLinkEditor/utilities.js.map +1 -0
  382. package/dist/features/link/plugins/link/index.d.ts +4 -0
  383. package/dist/features/link/plugins/link/index.d.ts.map +1 -0
  384. package/dist/features/link/plugins/link/index.js +53 -0
  385. package/dist/features/link/plugins/link/index.js.map +1 -0
  386. package/dist/features/link/validate.d.ts +6 -0
  387. package/dist/features/link/validate.d.ts.map +1 -0
  388. package/dist/features/link/validate.js +28 -0
  389. package/dist/features/link/validate.js.map +1 -0
  390. package/dist/features/lists/checklist/feature.client.d.ts +5 -0
  391. package/dist/features/lists/checklist/feature.client.d.ts.map +1 -0
  392. package/dist/features/lists/checklist/feature.client.js +100 -0
  393. package/dist/features/lists/checklist/feature.client.js.map +1 -0
  394. package/dist/features/lists/checklist/feature.server.d.ts +2 -0
  395. package/dist/features/lists/checklist/feature.server.d.ts.map +1 -0
  396. package/dist/features/lists/checklist/feature.server.js +36 -0
  397. package/dist/features/lists/checklist/feature.server.js.map +1 -0
  398. package/dist/features/lists/checklist/i18n.d.ts +3 -0
  399. package/dist/features/lists/checklist/i18n.d.ts.map +1 -0
  400. package/dist/features/lists/checklist/i18n.js +100 -0
  401. package/dist/features/lists/checklist/i18n.js.map +1 -0
  402. package/dist/features/lists/checklist/markdownTransformers.d.ts.map +1 -0
  403. package/dist/features/lists/checklist/markdownTransformers.js +16 -0
  404. package/dist/features/lists/checklist/markdownTransformers.js.map +1 -0
  405. package/dist/features/lists/checklist/plugin/index.d.ts +3 -0
  406. package/dist/features/lists/checklist/plugin/index.d.ts.map +1 -0
  407. package/dist/features/lists/checklist/plugin/index.js +9 -0
  408. package/dist/features/lists/checklist/plugin/index.js.map +1 -0
  409. package/dist/features/lists/htmlConverter.d.ts +5 -0
  410. package/dist/features/lists/htmlConverter.d.ts.map +1 -0
  411. package/dist/features/lists/htmlConverter.js +56 -0
  412. package/dist/features/lists/htmlConverter.js.map +1 -0
  413. package/dist/features/lists/orderedList/feature.client.d.ts +5 -0
  414. package/dist/features/lists/orderedList/feature.client.d.ts.map +1 -0
  415. package/dist/features/lists/orderedList/feature.client.js +90 -0
  416. package/dist/features/lists/orderedList/feature.client.js.map +1 -0
  417. package/dist/features/lists/orderedList/feature.server.d.ts +2 -0
  418. package/dist/features/lists/orderedList/feature.server.d.ts.map +1 -0
  419. package/dist/features/lists/orderedList/feature.server.js +36 -0
  420. package/dist/features/lists/orderedList/feature.server.js.map +1 -0
  421. package/dist/features/lists/orderedList/i18n.d.ts +3 -0
  422. package/dist/features/lists/orderedList/i18n.d.ts.map +1 -0
  423. package/dist/features/lists/orderedList/i18n.js +100 -0
  424. package/dist/features/lists/orderedList/i18n.js.map +1 -0
  425. package/dist/features/lists/orderedList/markdownTransformer.d.ts.map +1 -0
  426. package/dist/features/lists/orderedList/markdownTransformer.js +16 -0
  427. package/dist/features/lists/orderedList/markdownTransformer.js.map +1 -0
  428. package/dist/features/lists/plugin/index.d.ts +13 -0
  429. package/dist/features/lists/plugin/index.d.ts.map +1 -0
  430. package/dist/features/lists/plugin/index.js +9 -0
  431. package/dist/features/lists/plugin/index.js.map +1 -0
  432. package/dist/features/lists/shared/markdown.d.ts +6 -0
  433. package/dist/features/lists/shared/markdown.d.ts.map +1 -0
  434. package/dist/features/lists/shared/markdown.js +58 -0
  435. package/dist/features/lists/shared/markdown.js.map +1 -0
  436. package/dist/features/lists/shared/slashMenuListGroup.d.ts +3 -0
  437. package/dist/features/lists/shared/slashMenuListGroup.d.ts.map +1 -0
  438. package/dist/features/lists/shared/slashMenuListGroup.js +11 -0
  439. package/dist/features/lists/shared/slashMenuListGroup.js.map +1 -0
  440. package/dist/features/lists/unorderedList/feature.client.d.ts +5 -0
  441. package/dist/features/lists/unorderedList/feature.client.d.ts.map +1 -0
  442. package/dist/features/lists/unorderedList/feature.client.js +88 -0
  443. package/dist/features/lists/unorderedList/feature.client.js.map +1 -0
  444. package/dist/features/lists/unorderedList/feature.server.d.ts +2 -0
  445. package/dist/features/lists/unorderedList/feature.server.d.ts.map +1 -0
  446. package/dist/features/lists/unorderedList/feature.server.js +34 -0
  447. package/dist/features/lists/unorderedList/feature.server.js.map +1 -0
  448. package/dist/features/lists/unorderedList/i18n.d.ts +3 -0
  449. package/dist/features/lists/unorderedList/i18n.d.ts.map +1 -0
  450. package/dist/features/lists/unorderedList/i18n.js +100 -0
  451. package/dist/features/lists/unorderedList/i18n.js.map +1 -0
  452. package/dist/features/lists/unorderedList/markdownTransformer.d.ts.map +1 -0
  453. package/dist/features/lists/unorderedList/markdownTransformer.js +16 -0
  454. package/dist/features/lists/unorderedList/markdownTransformer.js.map +1 -0
  455. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +5 -0
  456. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +1 -0
  457. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +1 -0
  458. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  459. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +1 -0
  460. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +1 -0
  461. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +8 -0
  462. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +1 -0
  463. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +5 -0
  464. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +1 -0
  465. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +1 -0
  466. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +1 -0
  467. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +1 -0
  468. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +1 -0
  469. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js +8 -0
  470. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +1 -0
  471. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +5 -0
  472. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +1 -0
  473. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +1 -0
  474. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +1 -0
  475. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +1 -0
  476. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +1 -0
  477. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js +8 -0
  478. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +1 -0
  479. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +5 -0
  480. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +1 -0
  481. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +1 -0
  482. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  483. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +1 -0
  484. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +1 -0
  485. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +8 -0
  486. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +1 -0
  487. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +5 -0
  488. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +1 -0
  489. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +1 -0
  490. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +1 -0
  491. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +1 -0
  492. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +1 -0
  493. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +8 -0
  494. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +1 -0
  495. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +5 -0
  496. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +1 -0
  497. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +1 -0
  498. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  499. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +1 -0
  500. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +1 -0
  501. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +8 -0
  502. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +1 -0
  503. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +5 -0
  504. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +1 -0
  505. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +1 -0
  506. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  507. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +23 -0
  508. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +1 -0
  509. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +1 -0
  510. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +8 -0
  511. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +1 -0
  512. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +1 -0
  513. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +1 -0
  514. package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +1 -0
  515. package/dist/features/migrations/lexicalPluginToLexical/converter/index.js.map +1 -0
  516. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts +31 -0
  517. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +1 -0
  518. package/dist/features/migrations/lexicalPluginToLexical/converter/types.js.map +1 -0
  519. package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts +5 -0
  520. package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +1 -0
  521. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js +27 -0
  522. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js.map +1 -0
  523. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts +8 -0
  524. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +1 -0
  525. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js +45 -0
  526. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js.map +1 -0
  527. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  528. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +15 -0
  529. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
  530. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +33 -0
  531. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  532. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +69 -0
  533. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
  534. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +5 -0
  535. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +1 -0
  536. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.js +6 -0
  537. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +1 -0
  538. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +1 -0
  539. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +1 -0
  540. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +1 -0
  541. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.js +8 -0
  542. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +1 -0
  543. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.d.ts +5 -0
  544. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +1 -0
  545. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.js.map +1 -0
  546. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  547. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +1 -0
  548. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +1 -0
  549. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.js +8 -0
  550. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.js.map +1 -0
  551. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.d.ts +5 -0
  552. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +1 -0
  553. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.js.map +1 -0
  554. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +1 -0
  555. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +1 -0
  556. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +1 -0
  557. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.js +8 -0
  558. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.js.map +1 -0
  559. package/dist/features/migrations/slateToLexical/converter/converters/link/client.d.ts +5 -0
  560. package/dist/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +1 -0
  561. package/dist/features/migrations/slateToLexical/converter/converters/link/client.js.map +1 -0
  562. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +1 -0
  563. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js.map +1 -0
  564. package/dist/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +1 -0
  565. package/dist/features/migrations/slateToLexical/converter/converters/link/index.js +8 -0
  566. package/dist/features/migrations/slateToLexical/converter/converters/link/index.js.map +1 -0
  567. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts +5 -0
  568. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +1 -0
  569. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +1 -0
  570. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  571. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +1 -0
  572. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +1 -0
  573. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.js +8 -0
  574. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +1 -0
  575. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +5 -0
  576. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +1 -0
  577. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +1 -0
  578. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +1 -0
  579. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +1 -0
  580. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +1 -0
  581. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.js +8 -0
  582. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +1 -0
  583. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts +5 -0
  584. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +1 -0
  585. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +1 -0
  586. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +1 -0
  587. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js +16 -0
  588. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +1 -0
  589. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +1 -0
  590. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.js +8 -0
  591. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +1 -0
  592. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts +5 -0
  593. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +1 -0
  594. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +1 -0
  595. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  596. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +1 -0
  597. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +1 -0
  598. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.js +8 -0
  599. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +1 -0
  600. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +5 -0
  601. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +1 -0
  602. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +1 -0
  603. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +1 -0
  604. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +1 -0
  605. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +1 -0
  606. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.js +8 -0
  607. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +1 -0
  608. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.d.ts +5 -0
  609. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +1 -0
  610. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.js.map +1 -0
  611. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  612. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js +19 -0
  613. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +1 -0
  614. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +1 -0
  615. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.js +8 -0
  616. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.js.map +1 -0
  617. package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +1 -0
  618. package/dist/features/migrations/slateToLexical/converter/defaultConverters.js.map +1 -0
  619. package/dist/features/migrations/slateToLexical/converter/index.d.ts.map +1 -0
  620. package/dist/features/migrations/slateToLexical/converter/index.js +108 -0
  621. package/dist/features/migrations/slateToLexical/converter/index.js.map +1 -0
  622. package/dist/features/migrations/slateToLexical/converter/types.d.ts +25 -0
  623. package/dist/features/migrations/slateToLexical/converter/types.d.ts.map +1 -0
  624. package/dist/features/migrations/slateToLexical/converter/types.js.map +1 -0
  625. package/dist/features/migrations/slateToLexical/feature.client.d.ts +5 -0
  626. package/dist/features/migrations/slateToLexical/feature.client.d.ts.map +1 -0
  627. package/dist/features/migrations/slateToLexical/feature.client.js +27 -0
  628. package/dist/features/migrations/slateToLexical/feature.client.js.map +1 -0
  629. package/dist/features/migrations/slateToLexical/feature.server.d.ts +10 -0
  630. package/dist/features/migrations/slateToLexical/feature.server.d.ts.map +1 -0
  631. package/dist/features/migrations/slateToLexical/feature.server.js +47 -0
  632. package/dist/features/migrations/slateToLexical/feature.server.js.map +1 -0
  633. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  634. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +15 -0
  635. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
  636. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +33 -0
  637. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  638. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +69 -0
  639. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
  640. package/dist/features/paragraph/feature.client.d.ts +5 -0
  641. package/dist/features/paragraph/feature.client.d.ts.map +1 -0
  642. package/dist/features/paragraph/feature.client.js +71 -0
  643. package/dist/features/paragraph/feature.client.js.map +1 -0
  644. package/dist/features/paragraph/feature.server.d.ts +2 -0
  645. package/dist/features/paragraph/feature.server.d.ts.map +1 -0
  646. package/dist/features/paragraph/feature.server.js +14 -0
  647. package/dist/features/paragraph/feature.server.js.map +1 -0
  648. package/dist/features/paragraph/i18n.d.ts +3 -0
  649. package/dist/features/paragraph/i18n.d.ts.map +1 -0
  650. package/dist/features/paragraph/i18n.js +132 -0
  651. package/dist/features/paragraph/i18n.js.map +1 -0
  652. package/dist/features/relationship/drawer/commands.d.ts.map +1 -0
  653. package/dist/features/relationship/drawer/commands.js +4 -0
  654. package/dist/features/relationship/drawer/commands.js.map +1 -0
  655. package/dist/features/relationship/drawer/index.d.ts.map +1 -0
  656. package/dist/features/relationship/drawer/index.js +83 -0
  657. package/dist/features/relationship/drawer/index.js.map +1 -0
  658. package/dist/features/relationship/feature.client.d.ts +18 -0
  659. package/dist/features/relationship/feature.client.d.ts.map +1 -0
  660. package/dist/features/relationship/feature.client.js +72 -0
  661. package/dist/features/relationship/feature.client.js.map +1 -0
  662. package/dist/features/relationship/feature.server.d.ts +27 -0
  663. package/dist/features/relationship/feature.server.d.ts.map +1 -0
  664. package/dist/features/relationship/feature.server.js +55 -0
  665. package/dist/features/relationship/feature.server.js.map +1 -0
  666. package/dist/features/relationship/graphQLPopulationPromise.d.ts +5 -0
  667. package/dist/features/relationship/graphQLPopulationPromise.d.ts.map +1 -0
  668. package/dist/features/relationship/graphQLPopulationPromise.js +29 -0
  669. package/dist/features/relationship/graphQLPopulationPromise.js.map +1 -0
  670. package/dist/features/relationship/i18n.d.ts +3 -0
  671. package/dist/features/relationship/i18n.d.ts.map +1 -0
  672. package/dist/features/relationship/i18n.js +100 -0
  673. package/dist/features/relationship/i18n.js.map +1 -0
  674. package/dist/features/relationship/nodes/RelationshipNode.d.ts +35 -0
  675. package/dist/features/relationship/nodes/RelationshipNode.d.ts.map +1 -0
  676. package/dist/features/relationship/nodes/RelationshipNode.js +111 -0
  677. package/dist/features/relationship/nodes/RelationshipNode.js.map +1 -0
  678. package/dist/features/relationship/nodes/components/RelationshipComponent.d.ts +13 -0
  679. package/dist/features/relationship/nodes/components/RelationshipComponent.d.ts.map +1 -0
  680. package/dist/features/relationship/nodes/components/RelationshipComponent.js +171 -0
  681. package/dist/features/relationship/nodes/components/RelationshipComponent.js.map +1 -0
  682. package/dist/features/relationship/plugins/index.d.ts +7 -0
  683. package/dist/features/relationship/plugins/index.d.ts.map +1 -0
  684. package/dist/features/relationship/plugins/index.js +50 -0
  685. package/dist/features/relationship/plugins/index.js.map +1 -0
  686. package/dist/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +1 -0
  687. package/dist/features/relationship/utils/EnabledRelationshipsCondition.js +33 -0
  688. package/dist/features/relationship/utils/EnabledRelationshipsCondition.js.map +1 -0
  689. package/dist/features/shared/slashMenu/basicGroup.d.ts +3 -0
  690. package/dist/features/shared/slashMenu/basicGroup.d.ts.map +1 -0
  691. package/dist/features/shared/slashMenu/basicGroup.js +11 -0
  692. package/dist/features/shared/slashMenu/basicGroup.js.map +1 -0
  693. package/dist/features/shared/toolbar/addDropdownGroup.d.ts +3 -0
  694. package/dist/features/shared/toolbar/addDropdownGroup.d.ts.map +1 -0
  695. package/dist/features/shared/toolbar/addDropdownGroup.js +12 -0
  696. package/dist/features/shared/toolbar/addDropdownGroup.js.map +1 -0
  697. package/dist/features/shared/toolbar/featureButtonsGroup.d.ts +3 -0
  698. package/dist/features/shared/toolbar/featureButtonsGroup.d.ts.map +1 -0
  699. package/dist/features/shared/toolbar/featureButtonsGroup.js +10 -0
  700. package/dist/features/shared/toolbar/featureButtonsGroup.js.map +1 -0
  701. package/dist/features/shared/toolbar/textDropdownGroup.d.ts +3 -0
  702. package/dist/features/shared/toolbar/textDropdownGroup.d.ts.map +1 -0
  703. package/dist/features/shared/toolbar/textDropdownGroup.js +12 -0
  704. package/dist/features/shared/toolbar/textDropdownGroup.js.map +1 -0
  705. package/dist/features/toolbars/fixed/Toolbar/index.d.ts +5 -0
  706. package/dist/features/toolbars/fixed/Toolbar/index.d.ts.map +1 -0
  707. package/dist/features/toolbars/fixed/Toolbar/index.js +207 -0
  708. package/dist/features/toolbars/fixed/Toolbar/index.js.map +1 -0
  709. package/dist/features/toolbars/fixed/feature.client.d.ts +6 -0
  710. package/dist/features/toolbars/fixed/feature.client.d.ts.map +1 -0
  711. package/dist/features/toolbars/fixed/feature.client.js +13 -0
  712. package/dist/features/toolbars/fixed/feature.client.js.map +1 -0
  713. package/dist/features/toolbars/fixed/feature.server.d.ts +18 -0
  714. package/dist/features/toolbars/fixed/feature.server.d.ts.map +1 -0
  715. package/dist/features/toolbars/fixed/feature.server.js +19 -0
  716. package/dist/features/toolbars/fixed/feature.server.js.map +1 -0
  717. package/dist/features/toolbars/inline/Toolbar/index.d.ts +4 -0
  718. package/dist/features/toolbars/inline/Toolbar/index.d.ts.map +1 -0
  719. package/dist/features/toolbars/inline/Toolbar/index.js +319 -0
  720. package/dist/features/toolbars/inline/Toolbar/index.js.map +1 -0
  721. package/dist/features/toolbars/inline/feature.client.d.ts +5 -0
  722. package/dist/features/toolbars/inline/feature.client.d.ts.map +1 -0
  723. package/dist/features/toolbars/inline/feature.client.js +13 -0
  724. package/dist/features/toolbars/inline/feature.client.js.map +1 -0
  725. package/dist/features/toolbars/inline/feature.server.d.ts +2 -0
  726. package/dist/features/toolbars/inline/feature.server.d.ts.map +1 -0
  727. package/dist/features/toolbars/inline/feature.server.js +11 -0
  728. package/dist/features/toolbars/inline/feature.server.js.map +1 -0
  729. package/dist/features/toolbars/shared/ToolbarButton/index.d.ts +10 -0
  730. package/dist/features/toolbars/shared/ToolbarButton/index.d.ts.map +1 -0
  731. package/dist/features/toolbars/shared/ToolbarButton/index.js +108 -0
  732. package/dist/features/toolbars/shared/ToolbarButton/index.js.map +1 -0
  733. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts +22 -0
  734. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +1 -0
  735. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js +223 -0
  736. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +1 -0
  737. package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts +23 -0
  738. package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +1 -0
  739. package/dist/features/toolbars/shared/ToolbarDropdown/index.js +141 -0
  740. package/dist/features/toolbars/shared/ToolbarDropdown/index.js.map +1 -0
  741. package/dist/features/toolbars/types.d.ts +80 -0
  742. package/dist/features/toolbars/types.d.ts.map +1 -0
  743. package/dist/features/toolbars/types.js.map +1 -0
  744. package/dist/features/typeUtilities.d.ts +8 -0
  745. package/dist/features/typeUtilities.d.ts.map +1 -0
  746. package/dist/features/typeUtilities.js +8 -0
  747. package/dist/features/typeUtilities.js.map +1 -0
  748. package/dist/features/typesClient.d.ts +186 -0
  749. package/dist/features/typesClient.d.ts.map +1 -0
  750. package/dist/features/typesClient.js +3 -0
  751. package/dist/features/typesClient.js.map +1 -0
  752. package/dist/features/typesServer.d.ts +315 -0
  753. package/dist/features/typesServer.d.ts.map +1 -0
  754. package/dist/features/typesServer.js +3 -0
  755. package/dist/features/typesServer.js.map +1 -0
  756. package/dist/features/upload/component/index.d.ts.map +1 -0
  757. package/dist/features/upload/component/index.js +242 -0
  758. package/dist/features/upload/component/index.js.map +1 -0
  759. package/dist/features/upload/drawer/commands.d.ts.map +1 -0
  760. package/dist/features/upload/drawer/commands.js +5 -0
  761. package/dist/features/upload/drawer/commands.js.map +1 -0
  762. package/dist/features/upload/drawer/index.d.ts.map +1 -0
  763. package/dist/features/upload/drawer/index.js +77 -0
  764. package/dist/features/upload/drawer/index.js.map +1 -0
  765. package/dist/features/upload/feature.client.d.ts +12 -0
  766. package/dist/features/upload/feature.client.d.ts.map +1 -0
  767. package/dist/features/upload/feature.client.js +74 -0
  768. package/dist/features/upload/feature.client.js.map +1 -0
  769. package/dist/features/upload/feature.server.d.ts +18 -0
  770. package/dist/features/upload/feature.server.d.ts.map +1 -0
  771. package/dist/features/upload/feature.server.js +184 -0
  772. package/dist/features/upload/feature.server.js.map +1 -0
  773. package/dist/features/upload/graphQLPopulationPromise.d.ts +5 -0
  774. package/dist/features/upload/graphQLPopulationPromise.d.ts.map +1 -0
  775. package/dist/features/upload/graphQLPopulationPromise.js +52 -0
  776. package/dist/features/upload/graphQLPopulationPromise.js.map +1 -0
  777. package/dist/features/upload/i18n.d.ts +3 -0
  778. package/dist/features/upload/i18n.d.ts.map +1 -0
  779. package/dist/features/upload/i18n.js +100 -0
  780. package/dist/features/upload/i18n.js.map +1 -0
  781. package/dist/features/upload/nodes/UploadNode.d.ts +39 -0
  782. package/dist/features/upload/nodes/UploadNode.d.ts.map +1 -0
  783. package/dist/features/upload/nodes/UploadNode.js +131 -0
  784. package/dist/features/upload/nodes/UploadNode.js.map +1 -0
  785. package/dist/features/upload/plugin/index.d.ts +8 -0
  786. package/dist/features/upload/plugin/index.d.ts.map +1 -0
  787. package/dist/features/upload/plugin/index.js +53 -0
  788. package/dist/features/upload/plugin/index.js.map +1 -0
  789. package/dist/features/upload/validate.d.ts +5 -0
  790. package/dist/features/upload/validate.d.ts.map +1 -0
  791. package/dist/features/upload/validate.js +44 -0
  792. package/dist/features/upload/validate.js.map +1 -0
  793. package/dist/field/Field.d.ts +5 -6
  794. package/dist/field/Field.d.ts.map +1 -1
  795. package/dist/field/Field.js +71 -56
  796. package/dist/field/Field.js.map +1 -1
  797. package/dist/field/bundled.css +0 -0
  798. package/dist/field/index.d.ts +6 -4
  799. package/dist/field/index.d.ts.map +1 -1
  800. package/dist/field/index.js +37 -86
  801. package/dist/field/index.js.map +1 -1
  802. package/dist/i18n.d.ts +3 -0
  803. package/dist/i18n.d.ts.map +1 -0
  804. package/dist/i18n.js +164 -0
  805. package/dist/i18n.js.map +1 -0
  806. package/dist/index.d.ts +76 -84
  807. package/dist/index.d.ts.map +1 -1
  808. package/dist/index.js +673 -251
  809. package/dist/index.js.map +1 -1
  810. package/dist/lexical/EditorPlugin.d.ts +8 -0
  811. package/dist/lexical/EditorPlugin.d.ts.map +1 -0
  812. package/dist/lexical/EditorPlugin.js +15 -0
  813. package/dist/lexical/EditorPlugin.js.map +1 -0
  814. package/dist/lexical/LexicalEditor.d.ts +7 -0
  815. package/dist/lexical/LexicalEditor.d.ts.map +1 -0
  816. package/dist/lexical/LexicalEditor.js +192 -0
  817. package/dist/lexical/LexicalEditor.js.map +1 -0
  818. package/dist/lexical/LexicalProvider.d.ts +18 -0
  819. package/dist/lexical/LexicalProvider.d.ts.map +1 -0
  820. package/dist/lexical/LexicalProvider.js +98 -0
  821. package/dist/lexical/LexicalProvider.js.map +1 -0
  822. package/dist/lexical/config/client/EditorConfigProvider.d.ts +35 -0
  823. package/dist/lexical/config/client/EditorConfigProvider.d.ts.map +1 -0
  824. package/dist/lexical/config/client/EditorConfigProvider.js +91 -0
  825. package/dist/lexical/config/client/EditorConfigProvider.js.map +1 -0
  826. package/dist/lexical/config/client/default.d.ts +3 -0
  827. package/dist/lexical/config/client/default.d.ts.map +1 -0
  828. package/dist/lexical/config/client/default.js.map +1 -0
  829. package/dist/lexical/config/client/loader.d.ts +12 -0
  830. package/dist/lexical/config/client/loader.d.ts.map +1 -0
  831. package/dist/lexical/config/client/loader.js +46 -0
  832. package/dist/lexical/config/client/loader.js.map +1 -0
  833. package/dist/lexical/config/client/sanitize.d.ts +7 -0
  834. package/dist/lexical/config/client/sanitize.d.ts.map +1 -0
  835. package/dist/lexical/config/client/sanitize.js +180 -0
  836. package/dist/lexical/config/client/sanitize.js.map +1 -0
  837. package/dist/lexical/config/server/default.d.ts +7 -0
  838. package/dist/lexical/config/server/default.d.ts.map +1 -0
  839. package/dist/lexical/config/server/default.js +53 -0
  840. package/dist/lexical/config/server/default.js.map +1 -0
  841. package/dist/lexical/config/server/loader.d.ts +10 -0
  842. package/dist/lexical/config/server/loader.d.ts.map +1 -0
  843. package/dist/lexical/config/server/loader.js +120 -0
  844. package/dist/lexical/config/server/loader.js.map +1 -0
  845. package/dist/lexical/config/server/sanitize.d.ts +6 -0
  846. package/dist/lexical/config/server/sanitize.d.ts.map +1 -0
  847. package/dist/lexical/config/server/sanitize.js +95 -0
  848. package/dist/lexical/config/server/sanitize.js.map +1 -0
  849. package/dist/lexical/config/types.d.ts +24 -0
  850. package/dist/lexical/config/types.d.ts.map +1 -0
  851. package/dist/lexical/config/types.js.map +1 -0
  852. package/dist/lexical/nodes/index.d.ts +6 -0
  853. package/dist/lexical/nodes/index.d.ts.map +1 -0
  854. package/dist/lexical/nodes/index.js.map +1 -0
  855. package/dist/lexical/plugins/MarkdownShortcut/index.d.ts.map +1 -0
  856. package/dist/lexical/plugins/MarkdownShortcut/index.js +13 -0
  857. package/dist/lexical/plugins/MarkdownShortcut/index.js.map +1 -0
  858. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +32 -0
  859. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +1 -0
  860. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +399 -0
  861. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +1 -0
  862. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +24 -0
  863. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +1 -0
  864. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +186 -0
  865. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +1 -0
  866. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +46 -0
  867. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +1 -0
  868. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +1 -0
  869. package/dist/lexical/plugins/SlashMenu/index.d.ts +6 -0
  870. package/dist/lexical/plugins/SlashMenu/index.d.ts.map +1 -0
  871. package/dist/lexical/plugins/SlashMenu/index.js +189 -0
  872. package/dist/lexical/plugins/SlashMenu/index.js.map +1 -0
  873. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +1 -0
  874. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +1 -0
  875. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts +6 -0
  876. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +1 -0
  877. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js +157 -0
  878. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +1 -0
  879. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +1 -0
  880. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +1 -0
  881. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +1 -0
  882. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +1 -0
  883. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts +3 -0
  884. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +1 -0
  885. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +1 -0
  886. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts +6 -0
  887. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +1 -0
  888. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js +342 -0
  889. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +1 -0
  890. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +9 -0
  891. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +1 -0
  892. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js +116 -0
  893. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +1 -0
  894. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts +5 -0
  895. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts.map +1 -0
  896. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js +21 -0
  897. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js.map +1 -0
  898. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +1 -0
  899. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +1 -0
  900. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +1 -0
  901. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.js.map +1 -0
  902. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts +31 -0
  903. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts.map +1 -0
  904. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.js +138 -0
  905. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.js.map +1 -0
  906. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +1 -0
  907. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.js +6 -0
  908. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +1 -0
  909. package/dist/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +1 -0
  910. package/dist/lexical/plugins/handles/utils/isOnHandleElement.js.map +1 -0
  911. package/dist/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +1 -0
  912. package/dist/lexical/plugins/handles/utils/setHandlePosition.js +29 -0
  913. package/dist/lexical/plugins/handles/utils/setHandlePosition.js.map +1 -0
  914. package/dist/lexical/theme/EditorTheme.d.ts.map +1 -0
  915. package/dist/lexical/theme/EditorTheme.js +106 -0
  916. package/dist/lexical/theme/EditorTheme.js.map +1 -0
  917. package/dist/lexical/ui/ContentEditable.d.ts +6 -0
  918. package/dist/lexical/ui/ContentEditable.d.ts.map +1 -0
  919. package/dist/lexical/ui/ContentEditable.js +10 -0
  920. package/dist/lexical/ui/ContentEditable.js.map +1 -0
  921. package/dist/lexical/ui/icons/AI/index.d.ts.map +1 -0
  922. package/dist/lexical/ui/icons/AI/index.js +36 -0
  923. package/dist/lexical/ui/icons/AI/index.js.map +1 -0
  924. package/dist/lexical/ui/icons/Add/index.d.ts +3 -0
  925. package/dist/lexical/ui/icons/Add/index.d.ts.map +1 -0
  926. package/dist/lexical/ui/icons/Add/index.js +21 -0
  927. package/dist/lexical/ui/icons/Add/index.js.map +1 -0
  928. package/dist/lexical/ui/icons/Add/light.svg +4 -0
  929. package/dist/lexical/ui/icons/AlignCenter/index.d.ts.map +1 -0
  930. package/dist/lexical/ui/icons/AlignCenter/index.js +31 -0
  931. package/dist/lexical/ui/icons/AlignCenter/index.js.map +1 -0
  932. package/dist/lexical/ui/icons/AlignJustify/index.d.ts.map +1 -0
  933. package/dist/lexical/ui/icons/AlignJustify/index.js +31 -0
  934. package/dist/lexical/ui/icons/AlignJustify/index.js.map +1 -0
  935. package/dist/lexical/ui/icons/AlignLeft/index.d.ts.map +1 -0
  936. package/dist/lexical/ui/icons/AlignLeft/index.js +31 -0
  937. package/dist/lexical/ui/icons/AlignLeft/index.js.map +1 -0
  938. package/dist/lexical/ui/icons/AlignRight/index.d.ts.map +1 -0
  939. package/dist/lexical/ui/icons/AlignRight/index.js +31 -0
  940. package/dist/lexical/ui/icons/AlignRight/index.js.map +1 -0
  941. package/dist/lexical/ui/icons/Block/index.d.ts.map +1 -0
  942. package/dist/lexical/ui/icons/Block/index.js +40 -0
  943. package/dist/lexical/ui/icons/Block/index.js.map +1 -0
  944. package/dist/lexical/ui/icons/Blockquote/index.d.ts.map +1 -0
  945. package/dist/lexical/ui/icons/Blockquote/index.js +18 -0
  946. package/dist/lexical/ui/icons/Blockquote/index.js.map +1 -0
  947. package/dist/lexical/ui/icons/Bold/index.d.ts.map +1 -0
  948. package/dist/lexical/ui/icons/Bold/index.js +18 -0
  949. package/dist/lexical/ui/icons/Bold/index.js.map +1 -0
  950. package/dist/lexical/ui/icons/Checklist/index.d.ts.map +1 -0
  951. package/dist/lexical/ui/icons/Checklist/index.js +29 -0
  952. package/dist/lexical/ui/icons/Checklist/index.js.map +1 -0
  953. package/dist/lexical/ui/icons/Code/index.d.ts.map +1 -0
  954. package/dist/lexical/ui/icons/Code/index.js +24 -0
  955. package/dist/lexical/ui/icons/Code/index.js.map +1 -0
  956. package/dist/lexical/ui/icons/CodeBlock/index.d.ts.map +1 -0
  957. package/dist/lexical/ui/icons/CodeBlock/index.js +24 -0
  958. package/dist/lexical/ui/icons/CodeBlock/index.js.map +1 -0
  959. package/dist/lexical/ui/icons/DraggableBlock/light.svg +9 -0
  960. package/dist/lexical/ui/icons/H1/index.d.ts.map +1 -0
  961. package/dist/lexical/ui/icons/H1/index.js +18 -0
  962. package/dist/lexical/ui/icons/H1/index.js.map +1 -0
  963. package/dist/lexical/ui/icons/H2/index.d.ts.map +1 -0
  964. package/dist/lexical/ui/icons/H2/index.js +18 -0
  965. package/dist/lexical/ui/icons/H2/index.js.map +1 -0
  966. package/dist/lexical/ui/icons/H3/index.d.ts.map +1 -0
  967. package/dist/lexical/ui/icons/H3/index.js +18 -0
  968. package/dist/lexical/ui/icons/H3/index.js.map +1 -0
  969. package/dist/lexical/ui/icons/H4/index.d.ts.map +1 -0
  970. package/dist/lexical/ui/icons/H4/index.js +18 -0
  971. package/dist/lexical/ui/icons/H4/index.js.map +1 -0
  972. package/dist/lexical/ui/icons/H5/index.d.ts.map +1 -0
  973. package/dist/lexical/ui/icons/H5/index.js +18 -0
  974. package/dist/lexical/ui/icons/H5/index.js.map +1 -0
  975. package/dist/lexical/ui/icons/H6/index.d.ts.map +1 -0
  976. package/dist/lexical/ui/icons/H6/index.js +18 -0
  977. package/dist/lexical/ui/icons/H6/index.js.map +1 -0
  978. package/dist/lexical/ui/icons/HorizontalRule/index.d.ts.map +1 -0
  979. package/dist/lexical/ui/icons/HorizontalRule/index.js +21 -0
  980. package/dist/lexical/ui/icons/HorizontalRule/index.js.map +1 -0
  981. package/dist/lexical/ui/icons/IndentDecrease/index.d.ts.map +1 -0
  982. package/dist/lexical/ui/icons/IndentDecrease/index.js +35 -0
  983. package/dist/lexical/ui/icons/IndentDecrease/index.js.map +1 -0
  984. package/dist/lexical/ui/icons/IndentIncrease/index.d.ts.map +1 -0
  985. package/dist/lexical/ui/icons/IndentIncrease/index.js +35 -0
  986. package/dist/lexical/ui/icons/IndentIncrease/index.js.map +1 -0
  987. package/dist/lexical/ui/icons/InlineBlocks/index.d.ts +3 -0
  988. package/dist/lexical/ui/icons/InlineBlocks/index.d.ts.map +1 -0
  989. package/dist/lexical/ui/icons/InlineBlocks/index.js +20 -0
  990. package/dist/lexical/ui/icons/InlineBlocks/index.js.map +1 -0
  991. package/dist/lexical/ui/icons/Italic/index.d.ts.map +1 -0
  992. package/dist/lexical/ui/icons/Italic/index.js +18 -0
  993. package/dist/lexical/ui/icons/Italic/index.js.map +1 -0
  994. package/dist/lexical/ui/icons/Link/index.d.ts.map +1 -0
  995. package/dist/lexical/ui/icons/Link/index.js +19 -0
  996. package/dist/lexical/ui/icons/Link/index.js.map +1 -0
  997. package/dist/lexical/ui/icons/Meatballs/index.d.ts +3 -0
  998. package/dist/lexical/ui/icons/Meatballs/index.d.ts.map +1 -0
  999. package/dist/lexical/ui/icons/Meatballs/index.js +25 -0
  1000. package/dist/lexical/ui/icons/Meatballs/index.js.map +1 -0
  1001. package/dist/lexical/ui/icons/OrderedList/index.d.ts.map +1 -0
  1002. package/dist/lexical/ui/icons/OrderedList/index.js +39 -0
  1003. package/dist/lexical/ui/icons/OrderedList/index.js.map +1 -0
  1004. package/dist/lexical/ui/icons/Relationship/index.d.ts.map +1 -0
  1005. package/dist/lexical/ui/icons/Relationship/index.js +36 -0
  1006. package/dist/lexical/ui/icons/Relationship/index.js.map +1 -0
  1007. package/dist/lexical/ui/icons/Strikethrough/index.d.ts.map +1 -0
  1008. package/dist/lexical/ui/icons/Strikethrough/index.js +24 -0
  1009. package/dist/lexical/ui/icons/Strikethrough/index.js.map +1 -0
  1010. package/dist/lexical/ui/icons/Subscript/index.d.ts.map +1 -0
  1011. package/dist/lexical/ui/icons/Subscript/index.js +18 -0
  1012. package/dist/lexical/ui/icons/Subscript/index.js.map +1 -0
  1013. package/dist/lexical/ui/icons/Superscript/index.d.ts.map +1 -0
  1014. package/dist/lexical/ui/icons/Superscript/index.js +18 -0
  1015. package/dist/lexical/ui/icons/Superscript/index.js.map +1 -0
  1016. package/dist/lexical/ui/icons/Table/index.d.ts +3 -0
  1017. package/dist/lexical/ui/icons/Table/index.d.ts.map +1 -0
  1018. package/dist/lexical/ui/icons/Table/index.js +19 -0
  1019. package/dist/lexical/ui/icons/Table/index.js.map +1 -0
  1020. package/dist/lexical/ui/icons/Text/index.d.ts.map +1 -0
  1021. package/dist/lexical/ui/icons/Text/index.js +18 -0
  1022. package/dist/lexical/ui/icons/Text/index.js.map +1 -0
  1023. package/dist/lexical/ui/icons/Underline/index.d.ts.map +1 -0
  1024. package/dist/lexical/ui/icons/Underline/index.js +24 -0
  1025. package/dist/lexical/ui/icons/Underline/index.js.map +1 -0
  1026. package/dist/lexical/ui/icons/UnorderedList/index.d.ts.map +1 -0
  1027. package/dist/lexical/ui/icons/UnorderedList/index.js +55 -0
  1028. package/dist/lexical/ui/icons/UnorderedList/index.js.map +1 -0
  1029. package/dist/lexical/ui/icons/Upload/index.d.ts.map +1 -0
  1030. package/dist/lexical/ui/icons/Upload/index.js +34 -0
  1031. package/dist/lexical/ui/icons/Upload/index.js.map +1 -0
  1032. package/dist/lexical/utils/canUseDOM.d.ts.map +1 -0
  1033. package/dist/lexical/utils/canUseDOM.js.map +1 -0
  1034. package/dist/lexical/utils/environment.d.ts.map +1 -0
  1035. package/dist/lexical/utils/environment.js.map +1 -0
  1036. package/dist/lexical/utils/getDOMRangeRect.d.ts.map +1 -0
  1037. package/dist/lexical/utils/getDOMRangeRect.js.map +1 -0
  1038. package/dist/lexical/utils/getSelectedNode.d.ts.map +1 -0
  1039. package/dist/lexical/utils/getSelectedNode.js +17 -0
  1040. package/dist/lexical/utils/getSelectedNode.js.map +1 -0
  1041. package/dist/lexical/utils/guard.d.ts.map +1 -0
  1042. package/dist/lexical/utils/guard.js.map +1 -0
  1043. package/dist/lexical/utils/invariant.d.ts.map +1 -0
  1044. package/dist/lexical/utils/invariant.js.map +1 -0
  1045. package/dist/lexical/utils/joinClasses.d.ts.map +1 -0
  1046. package/dist/lexical/utils/joinClasses.js.map +1 -0
  1047. package/dist/lexical/utils/markdown/createBlockNode.d.ts +4 -0
  1048. package/dist/lexical/utils/markdown/createBlockNode.d.ts.map +1 -0
  1049. package/dist/lexical/utils/markdown/createBlockNode.js.map +1 -0
  1050. package/dist/lexical/utils/nodeFormat.d.ts +41 -0
  1051. package/dist/lexical/utils/nodeFormat.d.ts.map +1 -0
  1052. package/dist/lexical/utils/nodeFormat.js +88 -0
  1053. package/dist/lexical/utils/nodeFormat.js.map +1 -0
  1054. package/dist/lexical/utils/point.d.ts.map +1 -0
  1055. package/dist/lexical/utils/point.js.map +1 -0
  1056. package/dist/lexical/utils/rect.d.ts.map +1 -0
  1057. package/dist/lexical/utils/rect.js.map +1 -0
  1058. package/dist/lexical/utils/setFloatingElemPosition.d.ts +12 -0
  1059. package/dist/lexical/utils/setFloatingElemPosition.d.ts.map +1 -0
  1060. package/dist/lexical/utils/setFloatingElemPosition.js +56 -0
  1061. package/dist/lexical/utils/setFloatingElemPosition.js.map +1 -0
  1062. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +1 -0
  1063. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +1 -0
  1064. package/dist/lexical/utils/swipe.d.ts.map +1 -0
  1065. package/dist/lexical/utils/swipe.js.map +1 -0
  1066. package/dist/lexical/utils/url.d.ts.map +1 -0
  1067. package/dist/lexical/utils/url.js +36 -0
  1068. package/dist/lexical/utils/url.js.map +1 -0
  1069. package/dist/nodeTypes.d.ts +30 -0
  1070. package/dist/nodeTypes.d.ts.map +1 -0
  1071. package/dist/nodeTypes.js +3 -0
  1072. package/dist/nodeTypes.js.map +1 -0
  1073. package/dist/populateGraphQL/defaultValue.d.ts +3 -0
  1074. package/dist/populateGraphQL/defaultValue.d.ts.map +1 -0
  1075. package/dist/populateGraphQL/defaultValue.js +32 -0
  1076. package/dist/populateGraphQL/defaultValue.js.map +1 -0
  1077. package/dist/populateGraphQL/populate.d.ts +17 -0
  1078. package/dist/populateGraphQL/populate.d.ts.map +1 -0
  1079. package/dist/populateGraphQL/populate.js +28 -0
  1080. package/dist/populateGraphQL/populate.js.map +1 -0
  1081. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts +12 -0
  1082. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts.map +1 -0
  1083. package/dist/populateGraphQL/populateLexicalPopulationPromises.js +37 -0
  1084. package/dist/populateGraphQL/populateLexicalPopulationPromises.js.map +1 -0
  1085. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts +28 -0
  1086. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts.map +1 -0
  1087. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js +28 -0
  1088. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js.map +1 -0
  1089. package/dist/types.d.ts +52 -15
  1090. package/dist/types.d.ts.map +1 -1
  1091. package/dist/types.js.map +1 -1
  1092. package/dist/utilities/createClientFeature.d.ts +13 -0
  1093. package/dist/utilities/createClientFeature.d.ts.map +1 -0
  1094. package/dist/utilities/createClientFeature.js +30 -0
  1095. package/dist/utilities/createClientFeature.js.map +1 -0
  1096. package/dist/utilities/createServerFeature.d.ts +16 -0
  1097. package/dist/utilities/createServerFeature.d.ts.map +1 -0
  1098. package/dist/utilities/createServerFeature.js +34 -0
  1099. package/dist/utilities/createServerFeature.js.map +1 -0
  1100. package/dist/utilities/fieldsDrawer/Drawer.d.ts +18 -0
  1101. package/dist/utilities/fieldsDrawer/Drawer.d.ts.map +1 -0
  1102. package/dist/utilities/fieldsDrawer/Drawer.js +26 -0
  1103. package/dist/utilities/fieldsDrawer/Drawer.js.map +1 -0
  1104. package/dist/utilities/fieldsDrawer/DrawerContent.d.ts +4 -0
  1105. package/dist/utilities/fieldsDrawer/DrawerContent.d.ts.map +1 -0
  1106. package/dist/utilities/fieldsDrawer/DrawerContent.js +90 -0
  1107. package/dist/utilities/fieldsDrawer/DrawerContent.js.map +1 -0
  1108. package/dist/utilities/forEachNodeRecursively.d.ts +10 -0
  1109. package/dist/utilities/forEachNodeRecursively.d.ts.map +1 -0
  1110. package/dist/utilities/forEachNodeRecursively.js +24 -0
  1111. package/dist/utilities/forEachNodeRecursively.js.map +1 -0
  1112. package/dist/utilities/generateComponentMap.d.ts +6 -0
  1113. package/dist/utilities/generateComponentMap.d.ts.map +1 -0
  1114. package/dist/utilities/generateComponentMap.js +77 -0
  1115. package/dist/utilities/generateComponentMap.js.map +1 -0
  1116. package/dist/utilities/generateSchemaMap.d.ts +6 -0
  1117. package/dist/utilities/generateSchemaMap.d.ts.map +1 -0
  1118. package/dist/utilities/generateSchemaMap.js +31 -0
  1119. package/dist/utilities/generateSchemaMap.js.map +1 -0
  1120. package/dist/utilities/migrateSlateToLexical/index.d.ts +15 -0
  1121. package/dist/utilities/migrateSlateToLexical/index.d.ts.map +1 -0
  1122. package/dist/utilities/migrateSlateToLexical/index.js +105 -0
  1123. package/dist/utilities/migrateSlateToLexical/index.js.map +1 -0
  1124. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts +9 -0
  1125. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts.map +1 -0
  1126. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js +77 -0
  1127. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js.map +1 -0
  1128. package/dist/utilities/recurseNodeTree.d.ts +9 -0
  1129. package/dist/utilities/recurseNodeTree.d.ts.map +1 -0
  1130. package/dist/utilities/recurseNodeTree.js +27 -0
  1131. package/dist/utilities/recurseNodeTree.js.map +1 -0
  1132. package/dist/utilities/upgradeLexicalData/index.d.ts +11 -0
  1133. package/dist/utilities/upgradeLexicalData/index.d.ts.map +1 -0
  1134. package/dist/utilities/upgradeLexicalData/index.js +101 -0
  1135. package/dist/utilities/upgradeLexicalData/index.js.map +1 -0
  1136. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.d.ts +9 -0
  1137. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.d.ts.map +1 -0
  1138. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js +74 -0
  1139. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js.map +1 -0
  1140. package/dist/utilities/useLexicalFeature.d.ts +3 -0
  1141. package/dist/utilities/useLexicalFeature.d.ts.map +1 -0
  1142. package/dist/utilities/useLexicalFeature.js +12 -0
  1143. package/dist/utilities/useLexicalFeature.js.map +1 -0
  1144. package/dist/validate/index.d.ts +3 -3
  1145. package/dist/validate/index.d.ts.map +1 -1
  1146. package/dist/validate/index.js +3 -2
  1147. package/dist/validate/index.js.map +1 -1
  1148. package/dist/validate/validateNodes.d.ts +2 -2
  1149. package/dist/validate/validateNodes.d.ts.map +1 -1
  1150. package/dist/validate/validateNodes.js +1 -1
  1151. package/dist/validate/validateNodes.js.map +1 -1
  1152. package/package.json +75 -56
  1153. package/dist/exports/components.d.ts +0 -6
  1154. package/dist/exports/components.d.ts.map +0 -1
  1155. package/dist/exports/components.js +0 -7
  1156. package/dist/exports/components.js.map +0 -1
  1157. package/dist/field/features/align/feature.client.d.ts +0 -3
  1158. package/dist/field/features/align/feature.client.d.ts.map +0 -1
  1159. package/dist/field/features/align/feature.client.js +0 -72
  1160. package/dist/field/features/align/feature.client.js.map +0 -1
  1161. package/dist/field/features/align/feature.server.d.ts +0 -3
  1162. package/dist/field/features/align/feature.server.d.ts.map +0 -1
  1163. package/dist/field/features/align/feature.server.js +0 -16
  1164. package/dist/field/features/align/feature.server.js.map +0 -1
  1165. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.d.ts +0 -3
  1166. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.d.ts.map +0 -1
  1167. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.js +0 -12
  1168. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.js.map +0 -1
  1169. package/dist/field/features/blockquote/feature.client.d.ts +0 -3
  1170. package/dist/field/features/blockquote/feature.client.d.ts.map +0 -1
  1171. package/dist/field/features/blockquote/feature.client.js +0 -70
  1172. package/dist/field/features/blockquote/feature.client.js.map +0 -1
  1173. package/dist/field/features/blockquote/feature.server.d.ts +0 -3
  1174. package/dist/field/features/blockquote/feature.server.d.ts.map +0 -1
  1175. package/dist/field/features/blockquote/feature.server.js +0 -47
  1176. package/dist/field/features/blockquote/feature.server.js.map +0 -1
  1177. package/dist/field/features/blockquote/markdownTransformer.d.ts.map +0 -1
  1178. package/dist/field/features/blockquote/markdownTransformer.js +0 -42
  1179. package/dist/field/features/blockquote/markdownTransformer.js.map +0 -1
  1180. package/dist/field/features/blocks/component/BlockContent.d.ts +0 -27
  1181. package/dist/field/features/blocks/component/BlockContent.d.ts.map +0 -1
  1182. package/dist/field/features/blocks/component/BlockContent.js +0 -183
  1183. package/dist/field/features/blocks/component/BlockContent.js.map +0 -1
  1184. package/dist/field/features/blocks/component/FormSavePlugin.d.ts +0 -12
  1185. package/dist/field/features/blocks/component/FormSavePlugin.d.ts.map +0 -1
  1186. package/dist/field/features/blocks/component/FormSavePlugin.js +0 -29
  1187. package/dist/field/features/blocks/component/FormSavePlugin.js.map +0 -1
  1188. package/dist/field/features/blocks/component/index.d.ts +0 -16
  1189. package/dist/field/features/blocks/component/index.d.ts.map +0 -1
  1190. package/dist/field/features/blocks/component/index.js +0 -128
  1191. package/dist/field/features/blocks/component/index.js.map +0 -1
  1192. package/dist/field/features/blocks/component/index.scss +0 -153
  1193. package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts +0 -11
  1194. package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts.map +0 -1
  1195. package/dist/field/features/blocks/component/removeEmptyArrayValues.js.map +0 -1
  1196. package/dist/field/features/blocks/drawer/index.d.ts +0 -9
  1197. package/dist/field/features/blocks/drawer/index.d.ts.map +0 -1
  1198. package/dist/field/features/blocks/drawer/index.js +0 -84
  1199. package/dist/field/features/blocks/drawer/index.js.map +0 -1
  1200. package/dist/field/features/blocks/feature.client.d.ts +0 -7
  1201. package/dist/field/features/blocks/feature.client.d.ts.map +0 -1
  1202. package/dist/field/features/blocks/feature.client.js +0 -61
  1203. package/dist/field/features/blocks/feature.client.js.map +0 -1
  1204. package/dist/field/features/blocks/feature.server.d.ts +0 -11
  1205. package/dist/field/features/blocks/feature.server.d.ts.map +0 -1
  1206. package/dist/field/features/blocks/feature.server.js +0 -127
  1207. package/dist/field/features/blocks/feature.server.js.map +0 -1
  1208. package/dist/field/features/blocks/nodes/BlocksNode.d.ts +0 -38
  1209. package/dist/field/features/blocks/nodes/BlocksNode.d.ts.map +0 -1
  1210. package/dist/field/features/blocks/nodes/BlocksNode.js +0 -92
  1211. package/dist/field/features/blocks/nodes/BlocksNode.js.map +0 -1
  1212. package/dist/field/features/blocks/plugin/commands.d.ts +0 -4
  1213. package/dist/field/features/blocks/plugin/commands.d.ts.map +0 -1
  1214. package/dist/field/features/blocks/plugin/commands.js +0 -5
  1215. package/dist/field/features/blocks/plugin/commands.js.map +0 -1
  1216. package/dist/field/features/blocks/plugin/index.d.ts +0 -5
  1217. package/dist/field/features/blocks/plugin/index.d.ts.map +0 -1
  1218. package/dist/field/features/blocks/plugin/index.js +0 -43
  1219. package/dist/field/features/blocks/plugin/index.js.map +0 -1
  1220. package/dist/field/features/blocks/populationPromise.d.ts +0 -5
  1221. package/dist/field/features/blocks/populationPromise.d.ts.map +0 -1
  1222. package/dist/field/features/blocks/populationPromise.js +0 -46
  1223. package/dist/field/features/blocks/populationPromise.js.map +0 -1
  1224. package/dist/field/features/blocks/validate.d.ts +0 -5
  1225. package/dist/field/features/blocks/validate.d.ts.map +0 -1
  1226. package/dist/field/features/blocks/validate.js +0 -50
  1227. package/dist/field/features/blocks/validate.js.map +0 -1
  1228. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.d.ts +0 -3
  1229. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.d.ts.map +0 -1
  1230. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.js +0 -10
  1231. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.js.map +0 -1
  1232. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.d.ts +0 -3
  1233. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.d.ts.map +0 -1
  1234. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.js +0 -12
  1235. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.js.map +0 -1
  1236. package/dist/field/features/converters/html/converter/converters/linebreak.d.ts.map +0 -1
  1237. package/dist/field/features/converters/html/converter/converters/linebreak.js.map +0 -1
  1238. package/dist/field/features/converters/html/converter/converters/paragraph.d.ts.map +0 -1
  1239. package/dist/field/features/converters/html/converter/converters/paragraph.js +0 -20
  1240. package/dist/field/features/converters/html/converter/converters/paragraph.js.map +0 -1
  1241. package/dist/field/features/converters/html/converter/converters/text.d.ts.map +0 -1
  1242. package/dist/field/features/converters/html/converter/converters/text.js.map +0 -1
  1243. package/dist/field/features/converters/html/converter/defaultConverters.d.ts.map +0 -1
  1244. package/dist/field/features/converters/html/converter/defaultConverters.js.map +0 -1
  1245. package/dist/field/features/converters/html/converter/index.d.ts +0 -21
  1246. package/dist/field/features/converters/html/converter/index.d.ts.map +0 -1
  1247. package/dist/field/features/converters/html/converter/index.js +0 -44
  1248. package/dist/field/features/converters/html/converter/index.js.map +0 -1
  1249. package/dist/field/features/converters/html/converter/types.d.ts +0 -19
  1250. package/dist/field/features/converters/html/converter/types.d.ts.map +0 -1
  1251. package/dist/field/features/converters/html/converter/types.js.map +0 -1
  1252. package/dist/field/features/converters/html/feature.server.d.ts +0 -9
  1253. package/dist/field/features/converters/html/feature.server.d.ts.map +0 -1
  1254. package/dist/field/features/converters/html/feature.server.js +0 -14
  1255. package/dist/field/features/converters/html/feature.server.js.map +0 -1
  1256. package/dist/field/features/converters/html/field/index.d.ts +0 -23
  1257. package/dist/field/features/converters/html/field/index.d.ts.map +0 -1
  1258. package/dist/field/features/converters/html/field/index.js +0 -114
  1259. package/dist/field/features/converters/html/field/index.js.map +0 -1
  1260. package/dist/field/features/createClientComponent.d.ts +0 -6
  1261. package/dist/field/features/createClientComponent.d.ts.map +0 -1
  1262. package/dist/field/features/createClientComponent.js +0 -12
  1263. package/dist/field/features/createClientComponent.js.map +0 -1
  1264. package/dist/field/features/createFeaturePropComponent.d.ts.map +0 -1
  1265. package/dist/field/features/createFeaturePropComponent.js +0 -15
  1266. package/dist/field/features/createFeaturePropComponent.js.map +0 -1
  1267. package/dist/field/features/debug/testrecorder/feature.client.d.ts +0 -3
  1268. package/dist/field/features/debug/testrecorder/feature.client.d.ts.map +0 -1
  1269. package/dist/field/features/debug/testrecorder/feature.client.js +0 -20
  1270. package/dist/field/features/debug/testrecorder/feature.client.js.map +0 -1
  1271. package/dist/field/features/debug/testrecorder/feature.server.d.ts +0 -3
  1272. package/dist/field/features/debug/testrecorder/feature.server.d.ts.map +0 -1
  1273. package/dist/field/features/debug/testrecorder/feature.server.js +0 -15
  1274. package/dist/field/features/debug/testrecorder/feature.server.js.map +0 -1
  1275. package/dist/field/features/debug/testrecorder/plugin/index.d.ts +0 -5
  1276. package/dist/field/features/debug/testrecorder/plugin/index.d.ts.map +0 -1
  1277. package/dist/field/features/debug/testrecorder/plugin/index.js +0 -448
  1278. package/dist/field/features/debug/testrecorder/plugin/index.js.map +0 -1
  1279. package/dist/field/features/debug/testrecorder/plugin/index.scss +0 -49
  1280. package/dist/field/features/debug/treeview/feature.client.d.ts +0 -3
  1281. package/dist/field/features/debug/treeview/feature.client.d.ts.map +0 -1
  1282. package/dist/field/features/debug/treeview/feature.client.js +0 -20
  1283. package/dist/field/features/debug/treeview/feature.client.js.map +0 -1
  1284. package/dist/field/features/debug/treeview/feature.server.d.ts +0 -3
  1285. package/dist/field/features/debug/treeview/feature.server.d.ts.map +0 -1
  1286. package/dist/field/features/debug/treeview/feature.server.js +0 -15
  1287. package/dist/field/features/debug/treeview/feature.server.js.map +0 -1
  1288. package/dist/field/features/debug/treeview/plugin/index.d.ts +0 -4
  1289. package/dist/field/features/debug/treeview/plugin/index.d.ts.map +0 -1
  1290. package/dist/field/features/debug/treeview/plugin/index.js +0 -21
  1291. package/dist/field/features/debug/treeview/plugin/index.js.map +0 -1
  1292. package/dist/field/features/debug/treeview/plugin/index.scss +0 -78
  1293. package/dist/field/features/format/bold/feature.client.d.ts +0 -3
  1294. package/dist/field/features/format/bold/feature.client.d.ts.map +0 -1
  1295. package/dist/field/features/format/bold/feature.client.js +0 -48
  1296. package/dist/field/features/format/bold/feature.client.js.map +0 -1
  1297. package/dist/field/features/format/bold/feature.server.d.ts +0 -3
  1298. package/dist/field/features/format/bold/feature.server.d.ts.map +0 -1
  1299. package/dist/field/features/format/bold/feature.server.js +0 -27
  1300. package/dist/field/features/format/bold/feature.server.js.map +0 -1
  1301. package/dist/field/features/format/bold/markdownTransformers.d.ts.map +0 -1
  1302. package/dist/field/features/format/bold/markdownTransformers.js.map +0 -1
  1303. package/dist/field/features/format/common/floatingSelectToolbarSection.d.ts +0 -3
  1304. package/dist/field/features/format/common/floatingSelectToolbarSection.d.ts.map +0 -1
  1305. package/dist/field/features/format/common/floatingSelectToolbarSection.js +0 -10
  1306. package/dist/field/features/format/common/floatingSelectToolbarSection.js.map +0 -1
  1307. package/dist/field/features/format/inlinecode/feature.client.d.ts +0 -3
  1308. package/dist/field/features/format/inlinecode/feature.client.d.ts.map +0 -1
  1309. package/dist/field/features/format/inlinecode/feature.client.js +0 -43
  1310. package/dist/field/features/format/inlinecode/feature.client.js.map +0 -1
  1311. package/dist/field/features/format/inlinecode/feature.server.d.ts +0 -3
  1312. package/dist/field/features/format/inlinecode/feature.server.d.ts.map +0 -1
  1313. package/dist/field/features/format/inlinecode/feature.server.js +0 -19
  1314. package/dist/field/features/format/inlinecode/feature.server.js.map +0 -1
  1315. package/dist/field/features/format/inlinecode/markdownTransformers.d.ts.map +0 -1
  1316. package/dist/field/features/format/inlinecode/markdownTransformers.js.map +0 -1
  1317. package/dist/field/features/format/italic/feature.client.d.ts +0 -3
  1318. package/dist/field/features/format/italic/feature.client.d.ts.map +0 -1
  1319. package/dist/field/features/format/italic/feature.client.js +0 -44
  1320. package/dist/field/features/format/italic/feature.client.js.map +0 -1
  1321. package/dist/field/features/format/italic/feature.server.d.ts +0 -3
  1322. package/dist/field/features/format/italic/feature.server.d.ts.map +0 -1
  1323. package/dist/field/features/format/italic/feature.server.js +0 -20
  1324. package/dist/field/features/format/italic/feature.server.js.map +0 -1
  1325. package/dist/field/features/format/italic/markdownTransformers.d.ts.map +0 -1
  1326. package/dist/field/features/format/italic/markdownTransformers.js.map +0 -1
  1327. package/dist/field/features/format/strikethrough/feature.client.d.ts +0 -3
  1328. package/dist/field/features/format/strikethrough/feature.client.d.ts.map +0 -1
  1329. package/dist/field/features/format/strikethrough/feature.client.js +0 -43
  1330. package/dist/field/features/format/strikethrough/feature.client.js.map +0 -1
  1331. package/dist/field/features/format/strikethrough/feature.server.d.ts +0 -3
  1332. package/dist/field/features/format/strikethrough/feature.server.d.ts.map +0 -1
  1333. package/dist/field/features/format/strikethrough/feature.server.js +0 -19
  1334. package/dist/field/features/format/strikethrough/feature.server.js.map +0 -1
  1335. package/dist/field/features/format/strikethrough/markdownTransformers.d.ts.map +0 -1
  1336. package/dist/field/features/format/strikethrough/markdownTransformers.js.map +0 -1
  1337. package/dist/field/features/format/subscript/feature.client.d.ts +0 -3
  1338. package/dist/field/features/format/subscript/feature.client.d.ts.map +0 -1
  1339. package/dist/field/features/format/subscript/feature.client.js +0 -39
  1340. package/dist/field/features/format/subscript/feature.client.js.map +0 -1
  1341. package/dist/field/features/format/subscript/feature.server.d.ts +0 -3
  1342. package/dist/field/features/format/subscript/feature.server.d.ts.map +0 -1
  1343. package/dist/field/features/format/subscript/feature.server.js +0 -15
  1344. package/dist/field/features/format/subscript/feature.server.js.map +0 -1
  1345. package/dist/field/features/format/superscript/feature.client.d.ts +0 -3
  1346. package/dist/field/features/format/superscript/feature.client.d.ts.map +0 -1
  1347. package/dist/field/features/format/superscript/feature.client.js +0 -39
  1348. package/dist/field/features/format/superscript/feature.client.js.map +0 -1
  1349. package/dist/field/features/format/superscript/feature.server.d.ts +0 -3
  1350. package/dist/field/features/format/superscript/feature.server.d.ts.map +0 -1
  1351. package/dist/field/features/format/superscript/feature.server.js +0 -15
  1352. package/dist/field/features/format/superscript/feature.server.js.map +0 -1
  1353. package/dist/field/features/format/underline/feature.client.d.ts +0 -3
  1354. package/dist/field/features/format/underline/feature.client.d.ts.map +0 -1
  1355. package/dist/field/features/format/underline/feature.client.js +0 -39
  1356. package/dist/field/features/format/underline/feature.client.js.map +0 -1
  1357. package/dist/field/features/format/underline/feature.server.d.ts +0 -3
  1358. package/dist/field/features/format/underline/feature.server.d.ts.map +0 -1
  1359. package/dist/field/features/format/underline/feature.server.js +0 -15
  1360. package/dist/field/features/format/underline/feature.server.js.map +0 -1
  1361. package/dist/field/features/heading/feature.client.d.ts +0 -4
  1362. package/dist/field/features/heading/feature.client.d.ts.map +0 -1
  1363. package/dist/field/features/heading/feature.client.js +0 -97
  1364. package/dist/field/features/heading/feature.client.js.map +0 -1
  1365. package/dist/field/features/heading/feature.server.d.ts +0 -7
  1366. package/dist/field/features/heading/feature.server.d.ts.map +0 -1
  1367. package/dist/field/features/heading/feature.server.js +0 -58
  1368. package/dist/field/features/heading/feature.server.js.map +0 -1
  1369. package/dist/field/features/heading/markdownTransformer.d.ts.map +0 -1
  1370. package/dist/field/features/heading/markdownTransformer.js +0 -30
  1371. package/dist/field/features/heading/markdownTransformer.js.map +0 -1
  1372. package/dist/field/features/horizontalrule/component/index.d.ts.map +0 -1
  1373. package/dist/field/features/horizontalrule/component/index.js +0 -64
  1374. package/dist/field/features/horizontalrule/component/index.js.map +0 -1
  1375. package/dist/field/features/horizontalrule/feature.client.d.ts +0 -3
  1376. package/dist/field/features/horizontalrule/feature.client.d.ts.map +0 -1
  1377. package/dist/field/features/horizontalrule/feature.client.js +0 -53
  1378. package/dist/field/features/horizontalrule/feature.client.js.map +0 -1
  1379. package/dist/field/features/horizontalrule/feature.server.d.ts +0 -3
  1380. package/dist/field/features/horizontalrule/feature.server.d.ts.map +0 -1
  1381. package/dist/field/features/horizontalrule/feature.server.js +0 -36
  1382. package/dist/field/features/horizontalrule/feature.server.js.map +0 -1
  1383. package/dist/field/features/horizontalrule/markdownTransformer.d.ts.map +0 -1
  1384. package/dist/field/features/horizontalrule/markdownTransformer.js.map +0 -1
  1385. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.d.ts +0 -55
  1386. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.d.ts.map +0 -1
  1387. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.js +0 -89
  1388. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.js.map +0 -1
  1389. package/dist/field/features/horizontalrule/plugin/index.d.ts +0 -6
  1390. package/dist/field/features/horizontalrule/plugin/index.d.ts.map +0 -1
  1391. package/dist/field/features/horizontalrule/plugin/index.js +0 -34
  1392. package/dist/field/features/horizontalrule/plugin/index.js.map +0 -1
  1393. package/dist/field/features/horizontalrule/plugin/index.scss +0 -20
  1394. package/dist/field/features/indent/feature.client.d.ts +0 -3
  1395. package/dist/field/features/indent/feature.client.d.ts.map +0 -1
  1396. package/dist/field/features/indent/feature.client.js +0 -58
  1397. package/dist/field/features/indent/feature.client.js.map +0 -1
  1398. package/dist/field/features/indent/feature.server.d.ts +0 -3
  1399. package/dist/field/features/indent/feature.server.d.ts.map +0 -1
  1400. package/dist/field/features/indent/feature.server.js +0 -16
  1401. package/dist/field/features/indent/feature.server.js.map +0 -1
  1402. package/dist/field/features/indent/floatingSelectToolbarIndentSection.d.ts +0 -3
  1403. package/dist/field/features/indent/floatingSelectToolbarIndentSection.d.ts.map +0 -1
  1404. package/dist/field/features/indent/floatingSelectToolbarIndentSection.js +0 -10
  1405. package/dist/field/features/indent/floatingSelectToolbarIndentSection.js.map +0 -1
  1406. package/dist/field/features/indent/index.scss +0 -4
  1407. package/dist/field/features/link/drawer/baseFields.d.ts +0 -4
  1408. package/dist/field/features/link/drawer/baseFields.d.ts.map +0 -1
  1409. package/dist/field/features/link/drawer/baseFields.js +0 -107
  1410. package/dist/field/features/link/drawer/baseFields.js.map +0 -1
  1411. package/dist/field/features/link/drawer/index.d.ts +0 -5
  1412. package/dist/field/features/link/drawer/index.d.ts.map +0 -1
  1413. package/dist/field/features/link/drawer/index.js +0 -93
  1414. package/dist/field/features/link/drawer/index.js.map +0 -1
  1415. package/dist/field/features/link/drawer/index.scss +0 -50
  1416. package/dist/field/features/link/drawer/types.d.ts +0 -8
  1417. package/dist/field/features/link/drawer/types.d.ts.map +0 -1
  1418. package/dist/field/features/link/drawer/types.js.map +0 -1
  1419. package/dist/field/features/link/feature.client.d.ts +0 -5
  1420. package/dist/field/features/link/feature.client.d.ts.map +0 -1
  1421. package/dist/field/features/link/feature.client.js +0 -90
  1422. package/dist/field/features/link/feature.client.js.map +0 -1
  1423. package/dist/field/features/link/feature.server.d.ts +0 -33
  1424. package/dist/field/features/link/feature.server.d.ts.map +0 -1
  1425. package/dist/field/features/link/feature.server.js +0 -91
  1426. package/dist/field/features/link/feature.server.js.map +0 -1
  1427. package/dist/field/features/link/nodes/AutoLinkNode.d.ts.map +0 -1
  1428. package/dist/field/features/link/nodes/AutoLinkNode.js +0 -61
  1429. package/dist/field/features/link/nodes/AutoLinkNode.js.map +0 -1
  1430. package/dist/field/features/link/nodes/LinkNode.d.ts +0 -38
  1431. package/dist/field/features/link/nodes/LinkNode.d.ts.map +0 -1
  1432. package/dist/field/features/link/nodes/LinkNode.js +0 -301
  1433. package/dist/field/features/link/nodes/LinkNode.js.map +0 -1
  1434. package/dist/field/features/link/nodes/types.d.ts +0 -19
  1435. package/dist/field/features/link/nodes/types.d.ts.map +0 -1
  1436. package/dist/field/features/link/nodes/types.js.map +0 -1
  1437. package/dist/field/features/link/plugins/autoLink/index.d.ts +0 -19
  1438. package/dist/field/features/link/plugins/autoLink/index.d.ts.map +0 -1
  1439. package/dist/field/features/link/plugins/autoLink/index.js +0 -321
  1440. package/dist/field/features/link/plugins/autoLink/index.js.map +0 -1
  1441. package/dist/field/features/link/plugins/clickableLink/index.d.ts +0 -3
  1442. package/dist/field/features/link/plugins/clickableLink/index.d.ts.map +0 -1
  1443. package/dist/field/features/link/plugins/clickableLink/index.js +0 -10
  1444. package/dist/field/features/link/plugins/clickableLink/index.js.map +0 -1
  1445. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +0 -1
  1446. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js +0 -5
  1447. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +0 -1
  1448. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +0 -1
  1449. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +0 -259
  1450. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +0 -1
  1451. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts +0 -6
  1452. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts.map +0 -1
  1453. package/dist/field/features/link/plugins/floatingLinkEditor/index.js +0 -13
  1454. package/dist/field/features/link/plugins/floatingLinkEditor/index.js.map +0 -1
  1455. package/dist/field/features/link/plugins/floatingLinkEditor/index.scss +0 -78
  1456. package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts.map +0 -1
  1457. package/dist/field/features/link/plugins/floatingLinkEditor/types.js.map +0 -1
  1458. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts +0 -12
  1459. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +0 -1
  1460. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js +0 -38
  1461. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js.map +0 -1
  1462. package/dist/field/features/link/plugins/link/index.d.ts +0 -2
  1463. package/dist/field/features/link/plugins/link/index.d.ts.map +0 -1
  1464. package/dist/field/features/link/plugins/link/index.js +0 -62
  1465. package/dist/field/features/link/plugins/link/index.js.map +0 -1
  1466. package/dist/field/features/link/populationPromise.d.ts +0 -5
  1467. package/dist/field/features/link/populationPromise.d.ts.map +0 -1
  1468. package/dist/field/features/link/populationPromise.js +0 -46
  1469. package/dist/field/features/link/populationPromise.js.map +0 -1
  1470. package/dist/field/features/lists/checklist/feature.client.d.ts +0 -3
  1471. package/dist/field/features/lists/checklist/feature.client.d.ts.map +0 -1
  1472. package/dist/field/features/lists/checklist/feature.client.js +0 -82
  1473. package/dist/field/features/lists/checklist/feature.client.js.map +0 -1
  1474. package/dist/field/features/lists/checklist/feature.server.d.ts +0 -3
  1475. package/dist/field/features/lists/checklist/feature.server.d.ts.map +0 -1
  1476. package/dist/field/features/lists/checklist/feature.server.js +0 -36
  1477. package/dist/field/features/lists/checklist/feature.server.js.map +0 -1
  1478. package/dist/field/features/lists/checklist/markdownTransformers.d.ts.map +0 -1
  1479. package/dist/field/features/lists/checklist/markdownTransformers.js +0 -17
  1480. package/dist/field/features/lists/checklist/markdownTransformers.js.map +0 -1
  1481. package/dist/field/features/lists/checklist/plugin/index.d.ts +0 -3
  1482. package/dist/field/features/lists/checklist/plugin/index.d.ts.map +0 -1
  1483. package/dist/field/features/lists/checklist/plugin/index.js +0 -9
  1484. package/dist/field/features/lists/checklist/plugin/index.js.map +0 -1
  1485. package/dist/field/features/lists/common/markdown.d.ts +0 -6
  1486. package/dist/field/features/lists/common/markdown.d.ts.map +0 -1
  1487. package/dist/field/features/lists/common/markdown.js +0 -59
  1488. package/dist/field/features/lists/common/markdown.js.map +0 -1
  1489. package/dist/field/features/lists/htmlConverter.d.ts +0 -5
  1490. package/dist/field/features/lists/htmlConverter.d.ts.map +0 -1
  1491. package/dist/field/features/lists/htmlConverter.js +0 -49
  1492. package/dist/field/features/lists/htmlConverter.js.map +0 -1
  1493. package/dist/field/features/lists/orderedlist/feature.client.d.ts +0 -3
  1494. package/dist/field/features/lists/orderedlist/feature.client.d.ts.map +0 -1
  1495. package/dist/field/features/lists/orderedlist/feature.client.js +0 -72
  1496. package/dist/field/features/lists/orderedlist/feature.client.js.map +0 -1
  1497. package/dist/field/features/lists/orderedlist/feature.server.d.ts +0 -3
  1498. package/dist/field/features/lists/orderedlist/feature.server.d.ts.map +0 -1
  1499. package/dist/field/features/lists/orderedlist/feature.server.js +0 -36
  1500. package/dist/field/features/lists/orderedlist/feature.server.js.map +0 -1
  1501. package/dist/field/features/lists/orderedlist/markdownTransformer.d.ts.map +0 -1
  1502. package/dist/field/features/lists/orderedlist/markdownTransformer.js +0 -17
  1503. package/dist/field/features/lists/orderedlist/markdownTransformer.js.map +0 -1
  1504. package/dist/field/features/lists/plugin/index.d.ts +0 -3
  1505. package/dist/field/features/lists/plugin/index.d.ts.map +0 -1
  1506. package/dist/field/features/lists/plugin/index.js +0 -9
  1507. package/dist/field/features/lists/plugin/index.js.map +0 -1
  1508. package/dist/field/features/lists/unorderedlist/feature.client.d.ts +0 -3
  1509. package/dist/field/features/lists/unorderedlist/feature.client.d.ts.map +0 -1
  1510. package/dist/field/features/lists/unorderedlist/feature.client.js +0 -72
  1511. package/dist/field/features/lists/unorderedlist/feature.client.js.map +0 -1
  1512. package/dist/field/features/lists/unorderedlist/feature.server.d.ts +0 -3
  1513. package/dist/field/features/lists/unorderedlist/feature.server.d.ts.map +0 -1
  1514. package/dist/field/features/lists/unorderedlist/feature.server.js +0 -36
  1515. package/dist/field/features/lists/unorderedlist/feature.server.js.map +0 -1
  1516. package/dist/field/features/lists/unorderedlist/markdownTransformer.d.ts.map +0 -1
  1517. package/dist/field/features/lists/unorderedlist/markdownTransformer.js +0 -17
  1518. package/dist/field/features/lists/unorderedlist/markdownTransformer.js.map +0 -1
  1519. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +0 -6
  1520. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1521. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +0 -1
  1522. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1523. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +0 -1
  1524. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1525. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +0 -8
  1526. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +0 -1
  1527. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +0 -6
  1528. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +0 -1
  1529. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +0 -1
  1530. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1531. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +0 -1
  1532. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +0 -1
  1533. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js +0 -8
  1534. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +0 -1
  1535. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +0 -6
  1536. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +0 -1
  1537. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +0 -1
  1538. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +0 -1
  1539. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +0 -1
  1540. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +0 -1
  1541. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js +0 -8
  1542. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +0 -1
  1543. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +0 -6
  1544. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1545. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +0 -1
  1546. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1547. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +0 -1
  1548. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1549. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +0 -8
  1550. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +0 -1
  1551. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +0 -6
  1552. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +0 -1
  1553. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +0 -1
  1554. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +0 -1
  1555. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +0 -1
  1556. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +0 -1
  1557. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +0 -8
  1558. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +0 -1
  1559. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +0 -6
  1560. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1561. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +0 -1
  1562. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1563. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +0 -1
  1564. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1565. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +0 -8
  1566. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +0 -1
  1567. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +0 -6
  1568. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1569. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +0 -1
  1570. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1571. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +0 -25
  1572. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +0 -1
  1573. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1574. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +0 -8
  1575. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +0 -1
  1576. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +0 -1
  1577. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +0 -1
  1578. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +0 -1
  1579. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.js.map +0 -1
  1580. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts +0 -31
  1581. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +0 -1
  1582. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.js.map +0 -1
  1583. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts +0 -3
  1584. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +0 -1
  1585. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js +0 -34
  1586. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js.map +0 -1
  1587. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts +0 -9
  1588. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +0 -1
  1589. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js +0 -47
  1590. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js.map +0 -1
  1591. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1592. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +0 -8
  1593. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1594. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +0 -36
  1595. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1596. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +0 -70
  1597. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1598. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.scss +0 -14
  1599. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +0 -6
  1600. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +0 -1
  1601. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js +0 -6
  1602. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +0 -1
  1603. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +0 -1
  1604. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +0 -1
  1605. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +0 -1
  1606. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js +0 -8
  1607. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +0 -1
  1608. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts +0 -6
  1609. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1610. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.js.map +0 -1
  1611. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1612. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +0 -1
  1613. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1614. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js +0 -8
  1615. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js.map +0 -1
  1616. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts +0 -6
  1617. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +0 -1
  1618. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.js.map +0 -1
  1619. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +0 -1
  1620. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +0 -1
  1621. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +0 -1
  1622. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js +0 -8
  1623. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js.map +0 -1
  1624. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts +0 -6
  1625. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +0 -1
  1626. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.js.map +0 -1
  1627. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1628. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.js.map +0 -1
  1629. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +0 -1
  1630. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js +0 -8
  1631. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js.map +0 -1
  1632. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts +0 -6
  1633. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1634. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +0 -1
  1635. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1636. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +0 -1
  1637. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1638. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js +0 -8
  1639. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +0 -1
  1640. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +0 -6
  1641. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +0 -1
  1642. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +0 -1
  1643. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +0 -1
  1644. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +0 -1
  1645. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +0 -1
  1646. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js +0 -8
  1647. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +0 -1
  1648. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts +0 -6
  1649. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +0 -1
  1650. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +0 -1
  1651. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +0 -1
  1652. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js +0 -18
  1653. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +0 -1
  1654. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +0 -1
  1655. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js +0 -8
  1656. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +0 -1
  1657. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts +0 -6
  1658. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1659. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +0 -1
  1660. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1661. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +0 -1
  1662. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1663. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js +0 -8
  1664. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +0 -1
  1665. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +0 -6
  1666. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +0 -1
  1667. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +0 -1
  1668. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +0 -1
  1669. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +0 -1
  1670. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +0 -1
  1671. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js +0 -8
  1672. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +0 -1
  1673. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts +0 -6
  1674. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1675. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.js.map +0 -1
  1676. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1677. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js +0 -21
  1678. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +0 -1
  1679. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1680. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js +0 -8
  1681. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js.map +0 -1
  1682. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +0 -1
  1683. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.js.map +0 -1
  1684. package/dist/field/features/migrations/slateToLexical/converter/index.d.ts.map +0 -1
  1685. package/dist/field/features/migrations/slateToLexical/converter/index.js +0 -107
  1686. package/dist/field/features/migrations/slateToLexical/converter/index.js.map +0 -1
  1687. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts +0 -25
  1688. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts.map +0 -1
  1689. package/dist/field/features/migrations/slateToLexical/converter/types.js.map +0 -1
  1690. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts +0 -3
  1691. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts.map +0 -1
  1692. package/dist/field/features/migrations/slateToLexical/feature.client.js +0 -34
  1693. package/dist/field/features/migrations/slateToLexical/feature.client.js.map +0 -1
  1694. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts +0 -9
  1695. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts.map +0 -1
  1696. package/dist/field/features/migrations/slateToLexical/feature.server.js +0 -47
  1697. package/dist/field/features/migrations/slateToLexical/feature.server.js.map +0 -1
  1698. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1699. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +0 -8
  1700. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1701. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +0 -36
  1702. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1703. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +0 -70
  1704. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1705. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.scss +0 -14
  1706. package/dist/field/features/paragraph/feature.client.d.ts +0 -3
  1707. package/dist/field/features/paragraph/feature.client.d.ts.map +0 -1
  1708. package/dist/field/features/paragraph/feature.client.js +0 -65
  1709. package/dist/field/features/paragraph/feature.client.js.map +0 -1
  1710. package/dist/field/features/paragraph/feature.server.d.ts +0 -3
  1711. package/dist/field/features/paragraph/feature.server.d.ts.map +0 -1
  1712. package/dist/field/features/paragraph/feature.server.js +0 -16
  1713. package/dist/field/features/paragraph/feature.server.js.map +0 -1
  1714. package/dist/field/features/relationship/drawer/commands.d.ts.map +0 -1
  1715. package/dist/field/features/relationship/drawer/commands.js +0 -5
  1716. package/dist/field/features/relationship/drawer/commands.js.map +0 -1
  1717. package/dist/field/features/relationship/drawer/index.d.ts.map +0 -1
  1718. package/dist/field/features/relationship/drawer/index.js +0 -81
  1719. package/dist/field/features/relationship/drawer/index.js.map +0 -1
  1720. package/dist/field/features/relationship/feature.client.d.ts +0 -4
  1721. package/dist/field/features/relationship/feature.client.d.ts.map +0 -1
  1722. package/dist/field/features/relationship/feature.client.js +0 -56
  1723. package/dist/field/features/relationship/feature.client.js.map +0 -1
  1724. package/dist/field/features/relationship/feature.server.d.ts +0 -18
  1725. package/dist/field/features/relationship/feature.server.d.ts.map +0 -1
  1726. package/dist/field/features/relationship/feature.server.js +0 -26
  1727. package/dist/field/features/relationship/feature.server.js.map +0 -1
  1728. package/dist/field/features/relationship/nodes/RelationshipNode.d.ts +0 -36
  1729. package/dist/field/features/relationship/nodes/RelationshipNode.d.ts.map +0 -1
  1730. package/dist/field/features/relationship/nodes/RelationshipNode.js +0 -110
  1731. package/dist/field/features/relationship/nodes/RelationshipNode.js.map +0 -1
  1732. package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts +0 -14
  1733. package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts.map +0 -1
  1734. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js +0 -109
  1735. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js.map +0 -1
  1736. package/dist/field/features/relationship/nodes/components/index.scss +0 -97
  1737. package/dist/field/features/relationship/plugins/index.d.ts +0 -7
  1738. package/dist/field/features/relationship/plugins/index.d.ts.map +0 -1
  1739. package/dist/field/features/relationship/plugins/index.js +0 -52
  1740. package/dist/field/features/relationship/plugins/index.js.map +0 -1
  1741. package/dist/field/features/relationship/populationPromise.d.ts +0 -4
  1742. package/dist/field/features/relationship/populationPromise.d.ts.map +0 -1
  1743. package/dist/field/features/relationship/populationPromise.js +0 -24
  1744. package/dist/field/features/relationship/populationPromise.js.map +0 -1
  1745. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +0 -1
  1746. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js +0 -35
  1747. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js.map +0 -1
  1748. package/dist/field/features/types.d.ts +0 -278
  1749. package/dist/field/features/types.d.ts.map +0 -1
  1750. package/dist/field/features/types.js.map +0 -1
  1751. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts +0 -12
  1752. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +0 -1
  1753. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js +0 -125
  1754. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js.map +0 -1
  1755. package/dist/field/features/upload/component/index.d.ts.map +0 -1
  1756. package/dist/field/features/upload/component/index.js +0 -144
  1757. package/dist/field/features/upload/component/index.js.map +0 -1
  1758. package/dist/field/features/upload/component/index.scss +0 -152
  1759. package/dist/field/features/upload/drawer/commands.d.ts.map +0 -1
  1760. package/dist/field/features/upload/drawer/commands.js +0 -6
  1761. package/dist/field/features/upload/drawer/commands.js.map +0 -1
  1762. package/dist/field/features/upload/drawer/index.d.ts.map +0 -1
  1763. package/dist/field/features/upload/drawer/index.js +0 -78
  1764. package/dist/field/features/upload/drawer/index.js.map +0 -1
  1765. package/dist/field/features/upload/feature.client.d.ts +0 -10
  1766. package/dist/field/features/upload/feature.client.d.ts.map +0 -1
  1767. package/dist/field/features/upload/feature.client.js +0 -55
  1768. package/dist/field/features/upload/feature.client.js.map +0 -1
  1769. package/dist/field/features/upload/feature.server.d.ts +0 -12
  1770. package/dist/field/features/upload/feature.server.d.ts.map +0 -1
  1771. package/dist/field/features/upload/feature.server.js +0 -110
  1772. package/dist/field/features/upload/feature.server.js.map +0 -1
  1773. package/dist/field/features/upload/nodes/UploadNode.d.ts +0 -49
  1774. package/dist/field/features/upload/nodes/UploadNode.d.ts.map +0 -1
  1775. package/dist/field/features/upload/nodes/UploadNode.js +0 -102
  1776. package/dist/field/features/upload/nodes/UploadNode.js.map +0 -1
  1777. package/dist/field/features/upload/plugin/index.d.ts +0 -7
  1778. package/dist/field/features/upload/plugin/index.d.ts.map +0 -1
  1779. package/dist/field/features/upload/plugin/index.js +0 -55
  1780. package/dist/field/features/upload/plugin/index.js.map +0 -1
  1781. package/dist/field/features/upload/populationPromise.d.ts +0 -5
  1782. package/dist/field/features/upload/populationPromise.d.ts.map +0 -1
  1783. package/dist/field/features/upload/populationPromise.js +0 -46
  1784. package/dist/field/features/upload/populationPromise.js.map +0 -1
  1785. package/dist/field/features/upload/validate.d.ts +0 -4
  1786. package/dist/field/features/upload/validate.d.ts.map +0 -1
  1787. package/dist/field/features/upload/validate.js +0 -17
  1788. package/dist/field/features/upload/validate.js.map +0 -1
  1789. package/dist/field/index.scss +0 -46
  1790. package/dist/field/lexical/EditorPlugin.d.ts +0 -7
  1791. package/dist/field/lexical/EditorPlugin.d.ts.map +0 -1
  1792. package/dist/field/lexical/EditorPlugin.js +0 -11
  1793. package/dist/field/lexical/EditorPlugin.js.map +0 -1
  1794. package/dist/field/lexical/LexicalEditor.d.ts +0 -5
  1795. package/dist/field/lexical/LexicalEditor.d.ts.map +0 -1
  1796. package/dist/field/lexical/LexicalEditor.js +0 -112
  1797. package/dist/field/lexical/LexicalEditor.js.map +0 -1
  1798. package/dist/field/lexical/LexicalEditor.scss +0 -56
  1799. package/dist/field/lexical/LexicalProvider.d.ts +0 -19
  1800. package/dist/field/lexical/LexicalProvider.d.ts.map +0 -1
  1801. package/dist/field/lexical/LexicalProvider.js +0 -67
  1802. package/dist/field/lexical/LexicalProvider.js.map +0 -1
  1803. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts +0 -24
  1804. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts.map +0 -1
  1805. package/dist/field/lexical/config/client/EditorConfigProvider.js +0 -41
  1806. package/dist/field/lexical/config/client/EditorConfigProvider.js.map +0 -1
  1807. package/dist/field/lexical/config/client/default.d.ts +0 -3
  1808. package/dist/field/lexical/config/client/default.d.ts.map +0 -1
  1809. package/dist/field/lexical/config/client/default.js.map +0 -1
  1810. package/dist/field/lexical/config/client/loader.d.ts +0 -12
  1811. package/dist/field/lexical/config/client/loader.d.ts.map +0 -1
  1812. package/dist/field/lexical/config/client/loader.js +0 -46
  1813. package/dist/field/lexical/config/client/loader.js.map +0 -1
  1814. package/dist/field/lexical/config/client/sanitize.d.ts +0 -6
  1815. package/dist/field/lexical/config/client/sanitize.d.ts.map +0 -1
  1816. package/dist/field/lexical/config/client/sanitize.js +0 -126
  1817. package/dist/field/lexical/config/client/sanitize.js.map +0 -1
  1818. package/dist/field/lexical/config/server/default.d.ts +0 -8
  1819. package/dist/field/lexical/config/server/default.d.ts.map +0 -1
  1820. package/dist/field/lexical/config/server/default.js +0 -53
  1821. package/dist/field/lexical/config/server/default.js.map +0 -1
  1822. package/dist/field/lexical/config/server/loader.d.ts +0 -7
  1823. package/dist/field/lexical/config/server/loader.d.ts.map +0 -1
  1824. package/dist/field/lexical/config/server/loader.js +0 -118
  1825. package/dist/field/lexical/config/server/loader.js.map +0 -1
  1826. package/dist/field/lexical/config/server/sanitize.d.ts +0 -5
  1827. package/dist/field/lexical/config/server/sanitize.d.ts.map +0 -1
  1828. package/dist/field/lexical/config/server/sanitize.js +0 -65
  1829. package/dist/field/lexical/config/server/sanitize.js.map +0 -1
  1830. package/dist/field/lexical/config/types.d.ts +0 -21
  1831. package/dist/field/lexical/config/types.d.ts.map +0 -1
  1832. package/dist/field/lexical/config/types.js.map +0 -1
  1833. package/dist/field/lexical/nodes/index.d.ts +0 -7
  1834. package/dist/field/lexical/nodes/index.d.ts.map +0 -1
  1835. package/dist/field/lexical/nodes/index.js.map +0 -1
  1836. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.d.ts +0 -8
  1837. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.d.ts.map +0 -1
  1838. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.js +0 -97
  1839. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.js.map +0 -1
  1840. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.scss +0 -37
  1841. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.d.ts +0 -17
  1842. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.d.ts.map +0 -1
  1843. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.js +0 -251
  1844. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.js.map +0 -1
  1845. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.d.ts +0 -18
  1846. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.d.ts.map +0 -1
  1847. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.js +0 -42
  1848. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.js.map +0 -1
  1849. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.scss +0 -100
  1850. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.d.ts +0 -6
  1851. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.d.ts.map +0 -1
  1852. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.js +0 -270
  1853. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.js.map +0 -1
  1854. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.scss +0 -57
  1855. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.d.ts +0 -40
  1856. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.d.ts.map +0 -1
  1857. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.js +0 -3
  1858. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.js.map +0 -1
  1859. package/dist/field/lexical/plugins/MarkdownShortcut/index.d.ts.map +0 -1
  1860. package/dist/field/lexical/plugins/MarkdownShortcut/index.js +0 -13
  1861. package/dist/field/lexical/plugins/MarkdownShortcut/index.js.map +0 -1
  1862. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +0 -32
  1863. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +0 -1
  1864. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +0 -404
  1865. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +0 -1
  1866. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +0 -25
  1867. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +0 -1
  1868. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +0 -207
  1869. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +0 -1
  1870. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +0 -39
  1871. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +0 -1
  1872. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js +0 -39
  1873. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +0 -1
  1874. package/dist/field/lexical/plugins/SlashMenu/index.d.ts +0 -6
  1875. package/dist/field/lexical/plugins/SlashMenu/index.d.ts.map +0 -1
  1876. package/dist/field/lexical/plugins/SlashMenu/index.js +0 -172
  1877. package/dist/field/lexical/plugins/SlashMenu/index.js.map +0 -1
  1878. package/dist/field/lexical/plugins/SlashMenu/index.scss +0 -61
  1879. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +0 -1
  1880. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +0 -1
  1881. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts +0 -6
  1882. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +0 -1
  1883. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js +0 -241
  1884. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +0 -1
  1885. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.scss +0 -31
  1886. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +0 -1
  1887. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +0 -1
  1888. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +0 -1
  1889. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +0 -1
  1890. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.d.ts +0 -27
  1891. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.d.ts.map +0 -1
  1892. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.js +0 -151
  1893. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.js.map +0 -1
  1894. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts +0 -3
  1895. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +0 -1
  1896. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +0 -1
  1897. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts +0 -6
  1898. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +0 -1
  1899. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js +0 -298
  1900. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +0 -1
  1901. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.scss +0 -55
  1902. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +0 -3
  1903. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +0 -1
  1904. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js +0 -49
  1905. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +0 -1
  1906. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +0 -1
  1907. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +0 -1
  1908. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +0 -1
  1909. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.js.map +0 -1
  1910. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +0 -1
  1911. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.js +0 -7
  1912. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +0 -1
  1913. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +0 -1
  1914. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.js.map +0 -1
  1915. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +0 -1
  1916. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.js +0 -27
  1917. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.js.map +0 -1
  1918. package/dist/field/lexical/theme/EditorTheme.d.ts.map +0 -1
  1919. package/dist/field/lexical/theme/EditorTheme.js +0 -106
  1920. package/dist/field/lexical/theme/EditorTheme.js.map +0 -1
  1921. package/dist/field/lexical/theme/EditorTheme.scss +0 -505
  1922. package/dist/field/lexical/ui/ContentEditable.d.ts +0 -6
  1923. package/dist/field/lexical/ui/ContentEditable.d.ts.map +0 -1
  1924. package/dist/field/lexical/ui/ContentEditable.js +0 -11
  1925. package/dist/field/lexical/ui/ContentEditable.js.map +0 -1
  1926. package/dist/field/lexical/ui/ContentEditable.scss +0 -25
  1927. package/dist/field/lexical/ui/icons/AI/index.d.ts.map +0 -1
  1928. package/dist/field/lexical/ui/icons/AI/index.js +0 -27
  1929. package/dist/field/lexical/ui/icons/AI/index.js.map +0 -1
  1930. package/dist/field/lexical/ui/icons/AlignCenter/index.d.ts.map +0 -1
  1931. package/dist/field/lexical/ui/icons/AlignCenter/index.js +0 -25
  1932. package/dist/field/lexical/ui/icons/AlignCenter/index.js.map +0 -1
  1933. package/dist/field/lexical/ui/icons/AlignJustify/index.d.ts.map +0 -1
  1934. package/dist/field/lexical/ui/icons/AlignJustify/index.js +0 -25
  1935. package/dist/field/lexical/ui/icons/AlignJustify/index.js.map +0 -1
  1936. package/dist/field/lexical/ui/icons/AlignLeft/index.d.ts.map +0 -1
  1937. package/dist/field/lexical/ui/icons/AlignLeft/index.js +0 -25
  1938. package/dist/field/lexical/ui/icons/AlignLeft/index.js.map +0 -1
  1939. package/dist/field/lexical/ui/icons/AlignRight/index.d.ts.map +0 -1
  1940. package/dist/field/lexical/ui/icons/AlignRight/index.js +0 -25
  1941. package/dist/field/lexical/ui/icons/AlignRight/index.js.map +0 -1
  1942. package/dist/field/lexical/ui/icons/Block/index.d.ts.map +0 -1
  1943. package/dist/field/lexical/ui/icons/Block/index.js +0 -34
  1944. package/dist/field/lexical/ui/icons/Block/index.js.map +0 -1
  1945. package/dist/field/lexical/ui/icons/Blockquote/index.d.ts.map +0 -1
  1946. package/dist/field/lexical/ui/icons/Blockquote/index.js +0 -16
  1947. package/dist/field/lexical/ui/icons/Blockquote/index.js.map +0 -1
  1948. package/dist/field/lexical/ui/icons/Bold/index.d.ts.map +0 -1
  1949. package/dist/field/lexical/ui/icons/Bold/index.js +0 -16
  1950. package/dist/field/lexical/ui/icons/Bold/index.js.map +0 -1
  1951. package/dist/field/lexical/ui/icons/Checklist/index.d.ts.map +0 -1
  1952. package/dist/field/lexical/ui/icons/Checklist/index.js +0 -24
  1953. package/dist/field/lexical/ui/icons/Checklist/index.js.map +0 -1
  1954. package/dist/field/lexical/ui/icons/Code/index.d.ts.map +0 -1
  1955. package/dist/field/lexical/ui/icons/Code/index.js +0 -19
  1956. package/dist/field/lexical/ui/icons/Code/index.js.map +0 -1
  1957. package/dist/field/lexical/ui/icons/CodeBlock/index.d.ts.map +0 -1
  1958. package/dist/field/lexical/ui/icons/CodeBlock/index.js +0 -19
  1959. package/dist/field/lexical/ui/icons/CodeBlock/index.js.map +0 -1
  1960. package/dist/field/lexical/ui/icons/H1/index.d.ts.map +0 -1
  1961. package/dist/field/lexical/ui/icons/H1/index.js +0 -16
  1962. package/dist/field/lexical/ui/icons/H1/index.js.map +0 -1
  1963. package/dist/field/lexical/ui/icons/H2/index.d.ts.map +0 -1
  1964. package/dist/field/lexical/ui/icons/H2/index.js +0 -16
  1965. package/dist/field/lexical/ui/icons/H2/index.js.map +0 -1
  1966. package/dist/field/lexical/ui/icons/H3/index.d.ts.map +0 -1
  1967. package/dist/field/lexical/ui/icons/H3/index.js +0 -16
  1968. package/dist/field/lexical/ui/icons/H3/index.js.map +0 -1
  1969. package/dist/field/lexical/ui/icons/H4/index.d.ts.map +0 -1
  1970. package/dist/field/lexical/ui/icons/H4/index.js +0 -16
  1971. package/dist/field/lexical/ui/icons/H4/index.js.map +0 -1
  1972. package/dist/field/lexical/ui/icons/H5/index.d.ts.map +0 -1
  1973. package/dist/field/lexical/ui/icons/H5/index.js +0 -16
  1974. package/dist/field/lexical/ui/icons/H5/index.js.map +0 -1
  1975. package/dist/field/lexical/ui/icons/H6/index.d.ts.map +0 -1
  1976. package/dist/field/lexical/ui/icons/H6/index.js +0 -16
  1977. package/dist/field/lexical/ui/icons/H6/index.js.map +0 -1
  1978. package/dist/field/lexical/ui/icons/HorizontalRule/index.d.ts.map +0 -1
  1979. package/dist/field/lexical/ui/icons/HorizontalRule/index.js +0 -19
  1980. package/dist/field/lexical/ui/icons/HorizontalRule/index.js.map +0 -1
  1981. package/dist/field/lexical/ui/icons/IndentDecrease/index.d.ts.map +0 -1
  1982. package/dist/field/lexical/ui/icons/IndentDecrease/index.js +0 -28
  1983. package/dist/field/lexical/ui/icons/IndentDecrease/index.js.map +0 -1
  1984. package/dist/field/lexical/ui/icons/IndentIncrease/index.d.ts.map +0 -1
  1985. package/dist/field/lexical/ui/icons/IndentIncrease/index.js +0 -28
  1986. package/dist/field/lexical/ui/icons/IndentIncrease/index.js.map +0 -1
  1987. package/dist/field/lexical/ui/icons/Italic/index.d.ts.map +0 -1
  1988. package/dist/field/lexical/ui/icons/Italic/index.js +0 -16
  1989. package/dist/field/lexical/ui/icons/Italic/index.js.map +0 -1
  1990. package/dist/field/lexical/ui/icons/Link/index.d.ts.map +0 -1
  1991. package/dist/field/lexical/ui/icons/Link/index.js +0 -27
  1992. package/dist/field/lexical/ui/icons/Link/index.js.map +0 -1
  1993. package/dist/field/lexical/ui/icons/OrderedList/index.d.ts.map +0 -1
  1994. package/dist/field/lexical/ui/icons/OrderedList/index.js +0 -31
  1995. package/dist/field/lexical/ui/icons/OrderedList/index.js.map +0 -1
  1996. package/dist/field/lexical/ui/icons/Relationship/index.d.ts.map +0 -1
  1997. package/dist/field/lexical/ui/icons/Relationship/index.js +0 -27
  1998. package/dist/field/lexical/ui/icons/Relationship/index.js.map +0 -1
  1999. package/dist/field/lexical/ui/icons/Strikethrough/index.d.ts.map +0 -1
  2000. package/dist/field/lexical/ui/icons/Strikethrough/index.js +0 -19
  2001. package/dist/field/lexical/ui/icons/Strikethrough/index.js.map +0 -1
  2002. package/dist/field/lexical/ui/icons/Subscript/index.d.ts.map +0 -1
  2003. package/dist/field/lexical/ui/icons/Subscript/index.js +0 -16
  2004. package/dist/field/lexical/ui/icons/Subscript/index.js.map +0 -1
  2005. package/dist/field/lexical/ui/icons/Superscript/index.d.ts.map +0 -1
  2006. package/dist/field/lexical/ui/icons/Superscript/index.js +0 -16
  2007. package/dist/field/lexical/ui/icons/Superscript/index.js.map +0 -1
  2008. package/dist/field/lexical/ui/icons/Text/index.d.ts.map +0 -1
  2009. package/dist/field/lexical/ui/icons/Text/index.js +0 -16
  2010. package/dist/field/lexical/ui/icons/Text/index.js.map +0 -1
  2011. package/dist/field/lexical/ui/icons/Underline/index.d.ts.map +0 -1
  2012. package/dist/field/lexical/ui/icons/Underline/index.js +0 -19
  2013. package/dist/field/lexical/ui/icons/Underline/index.js.map +0 -1
  2014. package/dist/field/lexical/ui/icons/UnorderedList/index.d.ts.map +0 -1
  2015. package/dist/field/lexical/ui/icons/UnorderedList/index.js +0 -46
  2016. package/dist/field/lexical/ui/icons/UnorderedList/index.js.map +0 -1
  2017. package/dist/field/lexical/ui/icons/Upload/index.d.ts.map +0 -1
  2018. package/dist/field/lexical/ui/icons/Upload/index.js +0 -28
  2019. package/dist/field/lexical/ui/icons/Upload/index.js.map +0 -1
  2020. package/dist/field/lexical/utils/canUseDOM.d.ts.map +0 -1
  2021. package/dist/field/lexical/utils/canUseDOM.js.map +0 -1
  2022. package/dist/field/lexical/utils/cloneDeep.d.ts +0 -2
  2023. package/dist/field/lexical/utils/cloneDeep.d.ts.map +0 -1
  2024. package/dist/field/lexical/utils/cloneDeep.js +0 -50
  2025. package/dist/field/lexical/utils/cloneDeep.js.map +0 -1
  2026. package/dist/field/lexical/utils/environment.d.ts.map +0 -1
  2027. package/dist/field/lexical/utils/environment.js.map +0 -1
  2028. package/dist/field/lexical/utils/getDOMRangeRect.d.ts.map +0 -1
  2029. package/dist/field/lexical/utils/getDOMRangeRect.js.map +0 -1
  2030. package/dist/field/lexical/utils/getSelectedNode.d.ts.map +0 -1
  2031. package/dist/field/lexical/utils/getSelectedNode.js +0 -18
  2032. package/dist/field/lexical/utils/getSelectedNode.js.map +0 -1
  2033. package/dist/field/lexical/utils/guard.d.ts.map +0 -1
  2034. package/dist/field/lexical/utils/guard.js.map +0 -1
  2035. package/dist/field/lexical/utils/invariant.d.ts.map +0 -1
  2036. package/dist/field/lexical/utils/invariant.js.map +0 -1
  2037. package/dist/field/lexical/utils/joinClasses.d.ts.map +0 -1
  2038. package/dist/field/lexical/utils/joinClasses.js.map +0 -1
  2039. package/dist/field/lexical/utils/markdown/createBlockNode.d.ts +0 -4
  2040. package/dist/field/lexical/utils/markdown/createBlockNode.d.ts.map +0 -1
  2041. package/dist/field/lexical/utils/markdown/createBlockNode.js.map +0 -1
  2042. package/dist/field/lexical/utils/nodeFormat.d.ts +0 -41
  2043. package/dist/field/lexical/utils/nodeFormat.d.ts.map +0 -1
  2044. package/dist/field/lexical/utils/nodeFormat.js +0 -88
  2045. package/dist/field/lexical/utils/nodeFormat.js.map +0 -1
  2046. package/dist/field/lexical/utils/point.d.ts.map +0 -1
  2047. package/dist/field/lexical/utils/point.js.map +0 -1
  2048. package/dist/field/lexical/utils/rect.d.ts.map +0 -1
  2049. package/dist/field/lexical/utils/rect.js.map +0 -1
  2050. package/dist/field/lexical/utils/setFloatingElemPosition.d.ts +0 -2
  2051. package/dist/field/lexical/utils/setFloatingElemPosition.d.ts.map +0 -1
  2052. package/dist/field/lexical/utils/setFloatingElemPosition.js +0 -53
  2053. package/dist/field/lexical/utils/setFloatingElemPosition.js.map +0 -1
  2054. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +0 -1
  2055. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +0 -1
  2056. package/dist/field/lexical/utils/swipe.d.ts.map +0 -1
  2057. package/dist/field/lexical/utils/swipe.js.map +0 -1
  2058. package/dist/field/lexical/utils/url.d.ts.map +0 -1
  2059. package/dist/field/lexical/utils/url.js +0 -25
  2060. package/dist/field/lexical/utils/url.js.map +0 -1
  2061. package/dist/generateComponentMap.d.ts +0 -6
  2062. package/dist/generateComponentMap.d.ts.map +0 -1
  2063. package/dist/generateComponentMap.js +0 -85
  2064. package/dist/generateComponentMap.js.map +0 -1
  2065. package/dist/generateSchemaMap.d.ts +0 -6
  2066. package/dist/generateSchemaMap.d.ts.map +0 -1
  2067. package/dist/generateSchemaMap.js +0 -30
  2068. package/dist/generateSchemaMap.js.map +0 -1
  2069. package/dist/populate/defaultValue.d.ts +0 -4
  2070. package/dist/populate/defaultValue.d.ts.map +0 -1
  2071. package/dist/populate/defaultValue.js +0 -50
  2072. package/dist/populate/defaultValue.js.map +0 -1
  2073. package/dist/populate/populate.d.ts +0 -21
  2074. package/dist/populate/populate.d.ts.map +0 -1
  2075. package/dist/populate/populate.js +0 -21
  2076. package/dist/populate/populate.js.map +0 -1
  2077. package/dist/populate/recurseNestedFields.d.ts +0 -25
  2078. package/dist/populate/recurseNestedFields.d.ts.map +0 -1
  2079. package/dist/populate/recurseNestedFields.js +0 -26
  2080. package/dist/populate/recurseNestedFields.js.map +0 -1
  2081. package/dist/populate/richTextRelationshipPromise.d.ts +0 -23
  2082. package/dist/populate/richTextRelationshipPromise.d.ts.map +0 -1
  2083. package/dist/populate/richTextRelationshipPromise.js +0 -68
  2084. package/dist/populate/richTextRelationshipPromise.js.map +0 -1
  2085. package/dist/scss/app.scss +0 -208
  2086. package/dist/scss/colors.scss +0 -269
  2087. package/dist/scss/queries.scss +0 -27
  2088. package/dist/scss/resets.scss +0 -17
  2089. package/dist/scss/styles.scss +0 -11
  2090. package/dist/scss/svg.scss +0 -10
  2091. package/dist/scss/toastify.scss +0 -58
  2092. package/dist/scss/type.scss +0 -117
  2093. package/dist/scss/vars.scss +0 -213
  2094. package/dist/scss/z-index.scss +0 -9
  2095. package/dist/useLexicalFeature.d.ts +0 -3
  2096. package/dist/useLexicalFeature.d.ts.map +0 -1
  2097. package/dist/useLexicalFeature.js +0 -9
  2098. package/dist/useLexicalFeature.js.map +0 -1
  2099. package/src/index.ts +0 -423
  2100. /package/dist/{field/features → features}/blockquote/markdownTransformer.d.ts +0 -0
  2101. /package/dist/{field/features → features}/blocks/component/removeEmptyArrayValues.js +0 -0
  2102. /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.d.ts +0 -0
  2103. /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.js +0 -0
  2104. /package/dist/{field/features → features}/converters/html/converter/converters/paragraph.d.ts +0 -0
  2105. /package/dist/{field/features → features}/converters/html/converter/converters/text.d.ts +0 -0
  2106. /package/dist/{field/features → features}/converters/html/converter/converters/text.js +0 -0
  2107. /package/dist/{field/features → features}/converters/html/converter/defaultConverters.d.ts +0 -0
  2108. /package/dist/{field/features → features}/converters/html/converter/defaultConverters.js +0 -0
  2109. /package/dist/{field/features → features}/converters/html/converter/types.js +0 -0
  2110. /package/dist/{field/features → features}/createFeaturePropComponent.d.ts +0 -0
  2111. /package/dist/{field/features → features}/format/bold/markdownTransformers.d.ts +0 -0
  2112. /package/dist/{field/features → features}/format/bold/markdownTransformers.js +0 -0
  2113. /package/dist/{field/features/format/inlinecode → features/format/inlineCode}/markdownTransformers.d.ts +0 -0
  2114. /package/dist/{field/features/format/inlinecode → features/format/inlineCode}/markdownTransformers.js +0 -0
  2115. /package/dist/{field/features → features}/format/italic/markdownTransformers.d.ts +0 -0
  2116. /package/dist/{field/features → features}/format/italic/markdownTransformers.js +0 -0
  2117. /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.d.ts +0 -0
  2118. /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.js +0 -0
  2119. /package/dist/{field/features → features}/heading/markdownTransformer.d.ts +0 -0
  2120. /package/dist/{field/features/horizontalrule → features/horizontalRule}/component/index.d.ts +0 -0
  2121. /package/dist/{field/features/horizontalrule → features/horizontalRule}/markdownTransformer.d.ts +0 -0
  2122. /package/dist/{field/features/horizontalrule → features/horizontalRule}/markdownTransformer.js +0 -0
  2123. /package/dist/{field/features → features}/link/nodes/AutoLinkNode.d.ts +0 -0
  2124. /package/dist/{field/features/link/drawer → features/link/nodes}/types.js +0 -0
  2125. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts +0 -0
  2126. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts +0 -0
  2127. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/types.d.ts +0 -0
  2128. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/types.js +0 -0
  2129. /package/dist/{field/features → features}/lists/checklist/markdownTransformers.d.ts +0 -0
  2130. /package/dist/{field/features/lists/orderedlist → features/lists/orderedList}/markdownTransformer.d.ts +0 -0
  2131. /package/dist/{field/features/lists/unorderedlist → features/lists/unorderedList}/markdownTransformer.d.ts +0 -0
  2132. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/client.js +0 -0
  2133. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +0 -0
  2134. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +0 -0
  2135. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts +0 -0
  2136. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/client.js +0 -0
  2137. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +0 -0
  2138. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +0 -0
  2139. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts +0 -0
  2140. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/client.js +0 -0
  2141. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +0 -0
  2142. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +0 -0
  2143. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts +0 -0
  2144. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js +0 -0
  2145. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +0 -0
  2146. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +0 -0
  2147. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts +0 -0
  2148. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/client.js +0 -0
  2149. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +0 -0
  2150. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +0 -0
  2151. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts +0 -0
  2152. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js +0 -0
  2153. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +0 -0
  2154. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +0 -0
  2155. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts +0 -0
  2156. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/client.js +0 -0
  2157. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +0 -0
  2158. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts +0 -0
  2159. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +0 -0
  2160. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/defaultConverters.js +0 -0
  2161. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/index.d.ts +0 -0
  2162. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/index.js +0 -0
  2163. /package/dist/{field/features/link/nodes → features/migrations/lexicalPluginToLexical/converter}/types.js +0 -0
  2164. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  2165. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +0 -0
  2166. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/converter.js +0 -0
  2167. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/index.d.ts +0 -0
  2168. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/client.js +0 -0
  2169. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/converter.d.ts +0 -0
  2170. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/converter.js +0 -0
  2171. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/index.d.ts +0 -0
  2172. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/client.js +0 -0
  2173. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/converter.d.ts +0 -0
  2174. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/converter.js +0 -0
  2175. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/index.d.ts +0 -0
  2176. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/client.js +0 -0
  2177. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/converter.d.ts +0 -0
  2178. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/converter.js +0 -0
  2179. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/index.d.ts +0 -0
  2180. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/client.js +0 -0
  2181. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +0 -0
  2182. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/converter.js +0 -0
  2183. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/index.d.ts +0 -0
  2184. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/client.js +0 -0
  2185. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +0 -0
  2186. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/converter.js +0 -0
  2187. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/index.d.ts +0 -0
  2188. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/client.js +0 -0
  2189. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +0 -0
  2190. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/index.d.ts +0 -0
  2191. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/client.js +0 -0
  2192. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +0 -0
  2193. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/converter.js +0 -0
  2194. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/index.d.ts +0 -0
  2195. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/client.js +0 -0
  2196. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +0 -0
  2197. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/converter.js +0 -0
  2198. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts +0 -0
  2199. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/client.js +0 -0
  2200. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/converter.d.ts +0 -0
  2201. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/index.d.ts +0 -0
  2202. /package/dist/{field/features → features}/migrations/slateToLexical/converter/defaultConverters.d.ts +0 -0
  2203. /package/dist/{field/features → features}/migrations/slateToLexical/converter/defaultConverters.js +0 -0
  2204. /package/dist/{field/features → features}/migrations/slateToLexical/converter/index.d.ts +0 -0
  2205. /package/dist/{field/features/migrations/lexicalPluginToLexical → features/migrations/slateToLexical}/converter/types.js +0 -0
  2206. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  2207. /package/dist/{field/features → features}/relationship/drawer/commands.d.ts +0 -0
  2208. /package/dist/{field/features → features}/relationship/drawer/index.d.ts +0 -0
  2209. /package/dist/{field/features → features}/relationship/utils/EnabledRelationshipsCondition.d.ts +0 -0
  2210. /package/dist/{field/features/migrations/slateToLexical/converter → features/toolbars}/types.js +0 -0
  2211. /package/dist/{field/features → features}/upload/component/index.d.ts +0 -0
  2212. /package/dist/{field/features → features}/upload/drawer/commands.d.ts +0 -0
  2213. /package/dist/{field/features → features}/upload/drawer/index.d.ts +0 -0
  2214. /package/dist/{field/lexical → lexical}/config/client/default.js +0 -0
  2215. /package/dist/{field/features → lexical/config}/types.js +0 -0
  2216. /package/dist/{field/lexical → lexical}/nodes/index.js +0 -0
  2217. /package/dist/{field/lexical → lexical}/plugins/MarkdownShortcut/index.d.ts +0 -0
  2218. /package/dist/{field/lexical/config → lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin}/types.js +0 -0
  2219. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.d.ts +0 -0
  2220. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.js +0 -0
  2221. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/debounce.d.ts +0 -0
  2222. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/debounce.js +0 -0
  2223. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts +0 -0
  2224. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js +0 -0
  2225. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js +0 -0
  2226. /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.d.ts +0 -0
  2227. /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.js +0 -0
  2228. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.d.ts +0 -0
  2229. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.js +0 -0
  2230. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getTopLevelNodeKeys.d.ts +0 -0
  2231. /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.d.ts +0 -0
  2232. /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.js +0 -0
  2233. /package/dist/{field/lexical → lexical}/plugins/handles/utils/setHandlePosition.d.ts +0 -0
  2234. /package/dist/{field/lexical → lexical}/theme/EditorTheme.d.ts +0 -0
  2235. /package/dist/{field/lexical → lexical}/ui/icons/AI/index.d.ts +0 -0
  2236. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.svg +0 -0
  2237. /package/dist/{field/lexical → lexical}/ui/icons/AlignCenter/index.d.ts +0 -0
  2238. /package/dist/{field/lexical → lexical}/ui/icons/AlignJustify/index.d.ts +0 -0
  2239. /package/dist/{field/lexical → lexical}/ui/icons/AlignLeft/index.d.ts +0 -0
  2240. /package/dist/{field/lexical → lexical}/ui/icons/AlignRight/index.d.ts +0 -0
  2241. /package/dist/{field/lexical → lexical}/ui/icons/Block/index.d.ts +0 -0
  2242. /package/dist/{field/lexical → lexical}/ui/icons/Blockquote/index.d.ts +0 -0
  2243. /package/dist/{field/lexical → lexical}/ui/icons/Bold/index.d.ts +0 -0
  2244. /package/dist/{field/lexical → lexical}/ui/icons/Caret/index.svg +0 -0
  2245. /package/dist/{field/lexical → lexical}/ui/icons/Checklist/index.d.ts +0 -0
  2246. /package/dist/{field/lexical → lexical}/ui/icons/Code/index.d.ts +0 -0
  2247. /package/dist/{field/lexical → lexical}/ui/icons/CodeBlock/index.d.ts +0 -0
  2248. /package/dist/{field/lexical → lexical}/ui/icons/DraggableBlock/index.svg +0 -0
  2249. /package/dist/{field/lexical → lexical}/ui/icons/Edit/index.svg +0 -0
  2250. /package/dist/{field/lexical → lexical}/ui/icons/H1/index.d.ts +0 -0
  2251. /package/dist/{field/lexical → lexical}/ui/icons/H2/index.d.ts +0 -0
  2252. /package/dist/{field/lexical → lexical}/ui/icons/H3/index.d.ts +0 -0
  2253. /package/dist/{field/lexical → lexical}/ui/icons/H4/index.d.ts +0 -0
  2254. /package/dist/{field/lexical → lexical}/ui/icons/H5/index.d.ts +0 -0
  2255. /package/dist/{field/lexical → lexical}/ui/icons/H6/index.d.ts +0 -0
  2256. /package/dist/{field/lexical → lexical}/ui/icons/HorizontalRule/index.d.ts +0 -0
  2257. /package/dist/{field/lexical → lexical}/ui/icons/IndentDecrease/index.d.ts +0 -0
  2258. /package/dist/{field/lexical → lexical}/ui/icons/IndentIncrease/index.d.ts +0 -0
  2259. /package/dist/{field/lexical → lexical}/ui/icons/Italic/index.d.ts +0 -0
  2260. /package/dist/{field/lexical → lexical}/ui/icons/Link/index.d.ts +0 -0
  2261. /package/dist/{field/lexical → lexical}/ui/icons/OrderedList/index.d.ts +0 -0
  2262. /package/dist/{field/lexical → lexical}/ui/icons/Relationship/index.d.ts +0 -0
  2263. /package/dist/{field/lexical → lexical}/ui/icons/Remove/index.svg +0 -0
  2264. /package/dist/{field/lexical → lexical}/ui/icons/Strikethrough/index.d.ts +0 -0
  2265. /package/dist/{field/lexical → lexical}/ui/icons/Subscript/index.d.ts +0 -0
  2266. /package/dist/{field/lexical → lexical}/ui/icons/Superscript/index.d.ts +0 -0
  2267. /package/dist/{field/lexical → lexical}/ui/icons/Text/index.d.ts +0 -0
  2268. /package/dist/{field/lexical → lexical}/ui/icons/Underline/index.d.ts +0 -0
  2269. /package/dist/{field/lexical → lexical}/ui/icons/UnorderedList/index.d.ts +0 -0
  2270. /package/dist/{field/lexical → lexical}/ui/icons/Upload/index.d.ts +0 -0
  2271. /package/dist/{field/lexical → lexical}/utils/canUseDOM.d.ts +0 -0
  2272. /package/dist/{field/lexical → lexical}/utils/canUseDOM.js +0 -0
  2273. /package/dist/{field/lexical → lexical}/utils/environment.d.ts +0 -0
  2274. /package/dist/{field/lexical → lexical}/utils/environment.js +0 -0
  2275. /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.d.ts +0 -0
  2276. /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.js +0 -0
  2277. /package/dist/{field/lexical → lexical}/utils/getSelectedNode.d.ts +0 -0
  2278. /package/dist/{field/lexical → lexical}/utils/guard.d.ts +0 -0
  2279. /package/dist/{field/lexical → lexical}/utils/guard.js +0 -0
  2280. /package/dist/{field/lexical → lexical}/utils/invariant.d.ts +0 -0
  2281. /package/dist/{field/lexical → lexical}/utils/invariant.js +0 -0
  2282. /package/dist/{field/lexical → lexical}/utils/joinClasses.d.ts +0 -0
  2283. /package/dist/{field/lexical → lexical}/utils/joinClasses.js +0 -0
  2284. /package/dist/{field/lexical → lexical}/utils/markdown/createBlockNode.js +0 -0
  2285. /package/dist/{field/lexical → lexical}/utils/point.d.ts +0 -0
  2286. /package/dist/{field/lexical → lexical}/utils/point.js +0 -0
  2287. /package/dist/{field/lexical → lexical}/utils/rect.d.ts +0 -0
  2288. /package/dist/{field/lexical → lexical}/utils/rect.js +0 -0
  2289. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.d.ts +0 -0
  2290. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.js +0 -0
  2291. /package/dist/{field/lexical → lexical}/utils/swipe.d.ts +0 -0
  2292. /package/dist/{field/lexical → lexical}/utils/swipe.js +0 -0
  2293. /package/dist/{field/lexical → lexical}/utils/url.d.ts +0 -0
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import type { JSONSchema4 } from 'json-schema'\nimport type { EditorConfig as LexicalEditorConfig } from 'lexical/LexicalEditor.js'\n\nimport { withMergedProps } from '@payloadcms/ui/elements/withMergedProps'\nimport { withNullableJSONSchemaType } from 'payload/utilities'\n\nimport type { FeatureProviderServer, ResolvedServerFeatureMap } from './field/features/types.js'\nimport type { SanitizedServerEditorConfig } from './field/lexical/config/types.js'\nimport type { AdapterProps, LexicalEditorProps, LexicalRichTextAdapter } from './types.js'\n\nimport { RichTextCell } from './cell/index.js'\nimport { RichTextField } from './field/index.js'\nimport {\n defaultEditorConfig,\n defaultEditorFeatures,\n defaultSanitizedServerEditorConfig,\n} from './field/lexical/config/server/default.js'\nimport { loadFeatures } from './field/lexical/config/server/loader.js'\nimport { sanitizeServerFeatures } from './field/lexical/config/server/sanitize.js'\nimport { cloneDeep } from './field/lexical/utils/cloneDeep.js'\nimport { getGenerateComponentMap } from './generateComponentMap.js'\nimport { getGenerateSchemaMap } from './generateSchemaMap.js'\nimport { richTextRelationshipPromise } from './populate/richTextRelationshipPromise.js'\nimport { richTextValidateHOC } from './validate/index.js'\n\nexport function lexicalEditor(props?: LexicalEditorProps): LexicalRichTextAdapter {\n let resolvedFeatureMap: ResolvedServerFeatureMap = null\n\n let finalSanitizedEditorConfig: SanitizedServerEditorConfig // For server only\n if (!props || (!props.features && !props.lexical)) {\n finalSanitizedEditorConfig = cloneDeep(defaultSanitizedServerEditorConfig)\n resolvedFeatureMap = finalSanitizedEditorConfig.resolvedFeatureMap\n } else {\n let features: FeatureProviderServer<unknown, unknown>[] =\n props.features && typeof props.features === 'function'\n ? props.features({ defaultFeatures: cloneDeep(defaultEditorFeatures) })\n : (props.features as FeatureProviderServer<unknown, unknown>[])\n if (!features) {\n features = cloneDeep(defaultEditorFeatures)\n }\n\n const lexical: LexicalEditorConfig = props.lexical\n\n resolvedFeatureMap = loadFeatures({\n unSanitizedEditorConfig: {\n features,\n lexical: lexical ? lexical : defaultEditorConfig.lexical,\n },\n })\n\n finalSanitizedEditorConfig = {\n features: sanitizeServerFeatures(resolvedFeatureMap),\n lexical: lexical ? lexical : defaultEditorConfig.lexical,\n resolvedFeatureMap,\n }\n }\n\n return {\n CellComponent: withMergedProps({\n Component: RichTextCell,\n toMergeIntoProps: { lexicalEditorConfig: finalSanitizedEditorConfig.lexical },\n }),\n FieldComponent: withMergedProps({\n Component: RichTextField,\n toMergeIntoProps: { lexicalEditorConfig: finalSanitizedEditorConfig.lexical },\n }),\n afterReadPromise: ({ field, incomingEditorState, siblingDoc }) => {\n return new Promise<void>((resolve, reject) => {\n const promises: Promise<void>[] = []\n\n if (finalSanitizedEditorConfig?.features?.hooks?.afterReadPromises?.length) {\n for (const afterReadPromise of finalSanitizedEditorConfig.features.hooks\n .afterReadPromises) {\n const promise = afterReadPromise({\n field,\n incomingEditorState,\n siblingDoc,\n })\n if (promise) {\n promises.push(promise)\n }\n }\n }\n\n Promise.all(promises)\n .then(() => resolve())\n .catch((error) => reject(error))\n })\n },\n editorConfig: finalSanitizedEditorConfig,\n generateComponentMap: getGenerateComponentMap({\n resolvedFeatureMap,\n }),\n generateSchemaMap: getGenerateSchemaMap({\n resolvedFeatureMap,\n }),\n outputSchema: ({\n collectionIDFieldTypes,\n config,\n field,\n interfaceNameDefinitions,\n isRequired,\n }) => {\n let outputSchema: JSONSchema4 = {\n // This schema matches the SerializedEditorState type so far, that it's possible to cast SerializedEditorState to this schema without any errors.\n // In the future, we should\n // 1) allow recursive children\n // 2) Pass in all the different types for every node added to the editorconfig. This can be done with refs in the schema.\n type: withNullableJSONSchemaType('object', isRequired),\n properties: {\n root: {\n type: 'object',\n additionalProperties: false,\n properties: {\n type: {\n type: 'string',\n },\n children: {\n type: 'array',\n items: {\n type: 'object',\n additionalProperties: true,\n properties: {\n type: {\n type: 'string',\n },\n version: {\n type: 'integer',\n },\n },\n required: ['type', 'version'],\n },\n },\n direction: {\n oneOf: [\n {\n enum: ['ltr', 'rtl'],\n },\n {\n type: 'null',\n },\n ],\n },\n format: {\n type: 'string',\n enum: ['left', 'start', 'center', 'right', 'end', 'justify', ''], // ElementFormatType, since the root node is an element\n },\n indent: {\n type: 'integer',\n },\n version: {\n type: 'integer',\n },\n },\n required: ['children', 'direction', 'format', 'indent', 'type', 'version'],\n },\n },\n required: ['root'],\n }\n for (const modifyOutputSchema of finalSanitizedEditorConfig.features.generatedTypes\n .modifyOutputSchemas) {\n outputSchema = modifyOutputSchema({\n collectionIDFieldTypes,\n config,\n currentSchema: outputSchema,\n field,\n interfaceNameDefinitions,\n isRequired,\n })\n }\n\n return outputSchema\n },\n populationPromise({\n context,\n currentDepth,\n depth,\n field,\n findMany,\n flattenLocales,\n overrideAccess,\n populationPromises,\n req,\n showHiddenFields,\n siblingDoc,\n }) {\n // check if there are any features with nodes which have populationPromises for this field\n if (finalSanitizedEditorConfig?.features?.populationPromises?.size) {\n return richTextRelationshipPromise({\n context,\n currentDepth,\n depth,\n editorPopulationPromises: finalSanitizedEditorConfig.features.populationPromises,\n field,\n findMany,\n flattenLocales,\n overrideAccess,\n populationPromises,\n req,\n showHiddenFields,\n siblingDoc,\n })\n }\n\n return null\n },\n validate: richTextValidateHOC({\n editorConfig: finalSanitizedEditorConfig,\n }),\n }\n}\n\nexport { AlignFeature } from './field/features/align/feature.server.js'\nexport { BlockQuoteFeature } from './field/features/blockquote/feature.server.js'\nexport {\n BlocksFeature,\n type BlocksFeatureProps,\n type LexicalBlock,\n} from './field/features/blocks/feature.server.js'\nexport {\n $createBlockNode,\n $isBlockNode,\n type BlockFields,\n BlockNode,\n type SerializedBlockNode,\n} from './field/features/blocks/nodes/BlocksNode.js'\n\nexport { TextDropdownSectionWithEntries } from './field/features/common/floatingSelectToolbarTextDropdownSection/index.js'\nexport { LinebreakHTMLConverter } from './field/features/converters/html/converter/converters/linebreak.js'\nexport { ParagraphHTMLConverter } from './field/features/converters/html/converter/converters/paragraph.js'\n\nexport { TextHTMLConverter } from './field/features/converters/html/converter/converters/text.js'\nexport { defaultHTMLConverters } from './field/features/converters/html/converter/defaultConverters.js'\nexport {\n convertLexicalNodesToHTML,\n convertLexicalToHTML,\n} from './field/features/converters/html/converter/index.js'\nexport type { HTMLConverter } from './field/features/converters/html/converter/types.js'\nexport {\n HTMLConverterFeature,\n type HTMLConverterFeatureProps,\n} from './field/features/converters/html/feature.server.js'\nexport {\n consolidateHTMLConverters,\n lexicalHTML,\n} from './field/features/converters/html/field/index.js'\nexport { createClientComponent } from './field/features/createClientComponent.js'\nexport { TestRecorderFeature } from './field/features/debug/testrecorder/feature.server.js'\nexport { TreeViewFeature } from './field/features/debug/treeview/feature.server.js'\nexport { BoldFeature } from './field/features/format/bold/feature.server.js'\nexport { SectionWithEntries as FormatSectionWithEntries } from './field/features/format/common/floatingSelectToolbarSection.js'\nexport { InlineCodeFeature } from './field/features/format/inlinecode/feature.server.js'\nexport { ItalicFeature } from './field/features/format/italic/feature.server.js'\nexport { StrikethroughFeature } from './field/features/format/strikethrough/feature.server.js'\nexport { SubscriptFeature } from './field/features/format/subscript/feature.server.js'\nexport { SuperscriptFeature } from './field/features/format/superscript/feature.server.js'\nexport { UnderlineFeature } from './field/features/format/underline/feature.server.js'\n\nexport { HeadingFeature } from './field/features/heading/feature.server.js'\nexport { IndentFeature } from './field/features/indent/feature.server.js'\n\nexport { LinkFeature, type LinkFeatureServerProps } from './field/features/link/feature.server.js'\nexport {\n $createAutoLinkNode,\n $isAutoLinkNode,\n AutoLinkNode,\n} from './field/features/link/nodes/AutoLinkNode.js'\nexport {\n $createLinkNode,\n $isLinkNode,\n LinkNode,\n TOGGLE_LINK_COMMAND,\n} from './field/features/link/nodes/LinkNode.js'\nexport type {\n LinkFields,\n SerializedAutoLinkNode,\n SerializedLinkNode,\n} from './field/features/link/nodes/types.js'\nexport { CheckListFeature } from './field/features/lists/checklist/feature.server.js'\nexport { OrderedListFeature } from './field/features/lists/orderedlist/feature.server.js'\nexport { UnorderedListFeature } from './field/features/lists/unorderedlist/feature.server.js'\nexport { LexicalPluginToLexicalFeature } from './field/features/migrations/lexicalPluginToLexical/feature.server.js'\nexport { SlateBlockquoteConverter } from './field/features/migrations/slateToLexical/converter/converters/blockquote/index.js'\nexport { SlateHeadingConverter } from './field/features/migrations/slateToLexical/converter/converters/heading/index.js'\nexport { SlateIndentConverter } from './field/features/migrations/slateToLexical/converter/converters/indent/index.js'\nexport { SlateLinkConverter } from './field/features/migrations/slateToLexical/converter/converters/link/index.js'\nexport { SlateListItemConverter } from './field/features/migrations/slateToLexical/converter/converters/listItem/index.js'\nexport { SlateOrderedListConverter } from './field/features/migrations/slateToLexical/converter/converters/orderedList/index.js'\nexport { SlateRelationshipConverter } from './field/features/migrations/slateToLexical/converter/converters/relationship/index.js'\nexport { SlateUnknownConverter } from './field/features/migrations/slateToLexical/converter/converters/unknown/index.js'\nexport { SlateUnorderedListConverter } from './field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js'\n\nexport { SlateUploadConverter } from './field/features/migrations/slateToLexical/converter/converters/upload/index.js'\nexport { defaultSlateConverters } from './field/features/migrations/slateToLexical/converter/defaultConverters.js'\nexport {\n convertSlateNodesToLexical,\n convertSlateToLexical,\n} from './field/features/migrations/slateToLexical/converter/index.js'\n\nexport type {\n SlateNode,\n SlateNodeConverter,\n} from './field/features/migrations/slateToLexical/converter/types.js'\nexport { SlateToLexicalFeature } from './field/features/migrations/slateToLexical/feature.server.js'\nexport { ParagraphFeature } from './field/features/paragraph/feature.server.js'\nexport { RelationshipFeature } from './field/features/relationship/feature.server.js'\nexport {\n $createRelationshipNode,\n $isRelationshipNode,\n type RelationshipData,\n RelationshipNode,\n type SerializedRelationshipNode,\n} from './field/features/relationship/nodes/RelationshipNode.js'\nexport type {\n ClientFeature,\n ClientFeatureProviderMap,\n FeatureProviderClient,\n FeatureProviderProviderClient,\n FeatureProviderProviderServer,\n FeatureProviderServer,\n NodeValidation,\n PopulationPromise,\n ResolvedClientFeature,\n ResolvedClientFeatureMap,\n ResolvedServerFeature,\n ResolvedServerFeatureMap,\n SanitizedClientFeatures,\n SanitizedPlugin,\n SanitizedServerFeatures,\n ServerFeature,\n ServerFeatureProviderMap,\n} from './field/features/types.js'\nexport { UploadFeature } from './field/features/upload/feature.server.js'\n\nexport type { UploadFeatureProps } from './field/features/upload/feature.server.js'\n\nexport type { RawUploadPayload } from './field/features/upload/nodes/UploadNode.js'\n\nexport {\n $createUploadNode,\n $isUploadNode,\n type SerializedUploadNode,\n type UploadData,\n UploadNode,\n} from './field/features/upload/nodes/UploadNode.js'\nexport {\n EditorConfigProvider,\n useEditorConfigContext,\n} from './field/lexical/config/client/EditorConfigProvider.js'\nexport {\n sanitizeClientEditorConfig,\n sanitizeClientFeatures,\n} from './field/lexical/config/client/sanitize.js'\nexport {\n defaultEditorConfig,\n defaultEditorFeatures,\n defaultEditorLexicalConfig,\n defaultSanitizedServerEditorConfig,\n} from './field/lexical/config/server/default.js'\nexport {\n loadFeatures,\n sortFeaturesForOptimalLoading,\n} from './field/lexical/config/server/loader.js'\nexport {\n sanitizeServerEditorConfig,\n sanitizeServerFeatures,\n} from './field/lexical/config/server/sanitize.js'\n\nexport type {\n ClientEditorConfig,\n SanitizedClientEditorConfig,\n SanitizedServerEditorConfig,\n ServerEditorConfig,\n} from './field/lexical/config/types.js'\nexport { getEnabledNodes } from './field/lexical/nodes/index.js'\n\nexport {\n type FloatingToolbarSection,\n type FloatingToolbarSectionEntry,\n} from './field/lexical/plugins/FloatingSelectToolbar/types.js'\nexport { ENABLE_SLASH_MENU_COMMAND } from './field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js'\nexport type { AdapterProps }\n\nexport {\n SlashMenuGroup,\n SlashMenuOption,\n} from './field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js'\nexport { CAN_USE_DOM } from './field/lexical/utils/canUseDOM.js'\nexport { cloneDeep } from './field/lexical/utils/cloneDeep.js'\nexport { getDOMRangeRect } from './field/lexical/utils/getDOMRangeRect.js'\nexport { getSelectedNode } from './field/lexical/utils/getSelectedNode.js'\nexport { isHTMLElement } from './field/lexical/utils/guard.js'\nexport { invariant } from './field/lexical/utils/invariant.js'\nexport { joinClasses } from './field/lexical/utils/joinClasses.js'\nexport { createBlockNode } from './field/lexical/utils/markdown/createBlockNode.js'\nexport {\n DETAIL_TYPE_TO_DETAIL,\n DOUBLE_LINE_BREAK,\n ELEMENT_FORMAT_TO_TYPE,\n ELEMENT_TYPE_TO_FORMAT,\n IS_ALL_FORMATTING,\n LTR_REGEX,\n NON_BREAKING_SPACE,\n NodeFormat,\n RTL_REGEX,\n TEXT_MODE_TO_TYPE,\n TEXT_TYPE_TO_FORMAT,\n TEXT_TYPE_TO_MODE,\n} from './field/lexical/utils/nodeFormat.js'\nexport { Point, isPoint } from './field/lexical/utils/point.js'\nexport { Rect } from './field/lexical/utils/rect.js'\nexport { setFloatingElemPosition } from './field/lexical/utils/setFloatingElemPosition.js'\nexport { setFloatingElemPositionForLinkEditor } from './field/lexical/utils/setFloatingElemPositionForLinkEditor.js'\nexport {\n addSwipeDownListener,\n addSwipeLeftListener,\n addSwipeRightListener,\n addSwipeUpListener,\n} from './field/lexical/utils/swipe.js'\nexport { sanitizeUrl, validateUrl } from './field/lexical/utils/url.js'\nexport { defaultRichTextValue } from './populate/defaultValue.js'\n\nexport type { LexicalEditorProps, LexicalRichTextAdapter } from './types.js'\n"],"names":["withMergedProps","withNullableJSONSchemaType","RichTextCell","RichTextField","defaultEditorConfig","defaultEditorFeatures","defaultSanitizedServerEditorConfig","loadFeatures","sanitizeServerFeatures","cloneDeep","getGenerateComponentMap","getGenerateSchemaMap","richTextRelationshipPromise","richTextValidateHOC","lexicalEditor","props","resolvedFeatureMap","finalSanitizedEditorConfig","features","lexical","defaultFeatures","unSanitizedEditorConfig","CellComponent","Component","toMergeIntoProps","lexicalEditorConfig","FieldComponent","afterReadPromise","field","incomingEditorState","siblingDoc","Promise","resolve","reject","promises","hooks","afterReadPromises","length","promise","push","all","then","catch","error","editorConfig","generateComponentMap","generateSchemaMap","outputSchema","collectionIDFieldTypes","config","interfaceNameDefinitions","isRequired","type","properties","root","additionalProperties","children","items","version","required","direction","oneOf","enum","format","indent","modifyOutputSchema","generatedTypes","modifyOutputSchemas","currentSchema","populationPromise","context","currentDepth","depth","findMany","flattenLocales","overrideAccess","populationPromises","req","showHiddenFields","size","editorPopulationPromises","validate","AlignFeature","BlockQuoteFeature","BlocksFeature","$createBlockNode","$isBlockNode","BlockNode","TextDropdownSectionWithEntries","LinebreakHTMLConverter","ParagraphHTMLConverter","TextHTMLConverter","defaultHTMLConverters","convertLexicalNodesToHTML","convertLexicalToHTML","HTMLConverterFeature","consolidateHTMLConverters","lexicalHTML","createClientComponent","TestRecorderFeature","TreeViewFeature","BoldFeature","SectionWithEntries","FormatSectionWithEntries","InlineCodeFeature","ItalicFeature","StrikethroughFeature","SubscriptFeature","SuperscriptFeature","UnderlineFeature","HeadingFeature","IndentFeature","LinkFeature","$createAutoLinkNode","$isAutoLinkNode","AutoLinkNode","$createLinkNode","$isLinkNode","LinkNode","TOGGLE_LINK_COMMAND","CheckListFeature","OrderedListFeature","UnorderedListFeature","LexicalPluginToLexicalFeature","SlateBlockquoteConverter","SlateHeadingConverter","SlateIndentConverter","SlateLinkConverter","SlateListItemConverter","SlateOrderedListConverter","SlateRelationshipConverter","SlateUnknownConverter","SlateUnorderedListConverter","SlateUploadConverter","defaultSlateConverters","convertSlateNodesToLexical","convertSlateToLexical","SlateToLexicalFeature","ParagraphFeature","RelationshipFeature","$createRelationshipNode","$isRelationshipNode","RelationshipNode","UploadFeature","$createUploadNode","$isUploadNode","UploadNode","EditorConfigProvider","useEditorConfigContext","sanitizeClientEditorConfig","sanitizeClientFeatures","defaultEditorLexicalConfig","sortFeaturesForOptimalLoading","sanitizeServerEditorConfig","getEnabledNodes","ENABLE_SLASH_MENU_COMMAND","SlashMenuGroup","SlashMenuOption","CAN_USE_DOM","getDOMRangeRect","getSelectedNode","isHTMLElement","invariant","joinClasses","createBlockNode","DETAIL_TYPE_TO_DETAIL","DOUBLE_LINE_BREAK","ELEMENT_FORMAT_TO_TYPE","ELEMENT_TYPE_TO_FORMAT","IS_ALL_FORMATTING","LTR_REGEX","NON_BREAKING_SPACE","NodeFormat","RTL_REGEX","TEXT_MODE_TO_TYPE","TEXT_TYPE_TO_FORMAT","TEXT_TYPE_TO_MODE","Point","isPoint","Rect","setFloatingElemPosition","setFloatingElemPositionForLinkEditor","addSwipeDownListener","addSwipeLeftListener","addSwipeRightListener","addSwipeUpListener","sanitizeUrl","validateUrl","defaultRichTextValue"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAGA,SAASA,eAAe,QAAQ,0CAAyC;AACzE,SAASC,0BAA0B,QAAQ,oBAAmB;AAM9D,SAASC,YAAY,QAAQ,kBAAiB;AAC9C,SAASC,aAAa,QAAQ,mBAAkB;AAChD,S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BC,sBAAsB,EACtBC,iBAAiB,EACjBC,SAAS,EACTC,kBAAkB,EAClBC,UAAU,EACVC,SAAS,EACTC,iBAAiB,EACjBC,mBAAmB,EACnBC,iBAAiB,QACZ,sCAAqC;AAC5C,SAASC,KAAK,EAAEC,OAAO,QAAQ,iCAAgC;AAC/D,SAASC,IAAI,QAAQ,gCAA+B;AACpD,SAASC,uBAAuB,QAAQ,mDAAkD;AAC1F,SAASC,oCAAoC,QAAQ,gEAA+D;AACpH,SACEC,oBAAoB,EACpBC,oBAAoB,EACpBC,qBAAqB,EACrBC,kBAAkB,QACb,iCAAgC;AACvC,SAASC,WAAW,EAAEC,WAAW,QAAQ,+BAA8B;AACvE,SAASC,oBAAoB,QAAQ,6BAA4B"}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import type { JSONSchema4 } from 'json-schema'\nimport type {\n EditorConfig as LexicalEditorConfig,\n SerializedEditorState,\n SerializedLexicalNode,\n} from 'lexical'\n\nimport { withMergedProps } from '@payloadcms/ui/shared'\nimport { fileURLToPath } from 'node:url'\nimport path from 'path'\nimport {\n afterChangeTraverseFields,\n afterReadTraverseFields,\n beforeChangeTraverseFields,\n beforeValidateTraverseFields,\n deepCopyObject,\n getDependencies,\n withNullableJSONSchemaType,\n} from 'payload'\n\nimport type { FeatureProviderServer, ResolvedServerFeatureMap } from './features/typesServer.js'\nimport type { SanitizedServerEditorConfig } from './lexical/config/types.js'\nimport type {\n AdapterProps,\n LexicalEditorProps,\n LexicalRichTextAdapter,\n LexicalRichTextAdapterProvider,\n} from './types.js'\n\n// eslint-disable-next-line payload/no-imports-from-exports-dir\nimport { RichTextCell, RichTextField } from './exports/client/index.js'\nimport { i18n } from './i18n.js'\nimport { defaultEditorConfig, defaultEditorFeatures } from './lexical/config/server/default.js'\nimport { loadFeatures } from './lexical/config/server/loader.js'\nimport {\n sanitizeServerEditorConfig,\n sanitizeServerFeatures,\n} from './lexical/config/server/sanitize.js'\nimport { populateLexicalPopulationPromises } from './populateGraphQL/populateLexicalPopulationPromises.js'\nimport { getGenerateComponentMap } from './utilities/generateComponentMap.js'\nimport { getGenerateSchemaMap } from './utilities/generateSchemaMap.js'\nimport { recurseNodeTree } from './utilities/recurseNodeTree.js'\nimport { richTextValidateHOC } from './validate/index.js'\n\nlet defaultSanitizedServerEditorConfig: SanitizedServerEditorConfig = null\n\nconst filename = fileURLToPath(import.meta.url)\nconst dirname = path.dirname(filename)\n\nexport function lexicalEditor(props?: LexicalEditorProps): LexicalRichTextAdapterProvider {\n return async ({ config, isRoot }) => {\n if (process.env.NODE_ENV !== 'production') {\n const resolvedDependencies = await getDependencies(dirname, [\n 'lexical',\n '@lexical/headless',\n '@lexical/link',\n '@lexical/list',\n '@lexical/mark',\n '@lexical/markdown',\n '@lexical/react',\n '@lexical/rich-text',\n '@lexical/selection',\n '@lexical/utils',\n ])\n\n // Go through each resolved dependency. If any dependency has a mismatching version, throw an error\n const foundVersions: {\n [version: string]: string\n } = {}\n for (const [_pkg, { version }] of resolvedDependencies.resolved) {\n if (!Object.keys(foundVersions).includes(version)) {\n foundVersions[version] = _pkg\n }\n }\n if (Object.keys(foundVersions).length > 1) {\n const formattedVersionsWithPackageNameString = Object.entries(foundVersions)\n .map(([version, pkg]) => `${pkg}@${version}`)\n .join(', ')\n\n throw new Error(\n `Mismatching lexical dependency versions found: ${formattedVersionsWithPackageNameString}. All lexical and @lexical/* packages must have the same version. This is an error with your set-up, caused by you, not a bug in payload. Please go to your package.json and ensure all lexical and @lexical/* packages have the same version.`,\n )\n }\n }\n\n let features: FeatureProviderServer<any, any, any>[] = []\n let resolvedFeatureMap: ResolvedServerFeatureMap\n\n let finalSanitizedEditorConfig: SanitizedServerEditorConfig // For server only\n if (!props || (!props.features && !props.lexical)) {\n if (!defaultSanitizedServerEditorConfig) {\n defaultSanitizedServerEditorConfig = await sanitizeServerEditorConfig(\n defaultEditorConfig,\n config,\n )\n features = deepCopyObject(defaultEditorFeatures)\n }\n\n finalSanitizedEditorConfig = deepCopyObject(defaultSanitizedServerEditorConfig)\n\n resolvedFeatureMap = finalSanitizedEditorConfig.resolvedFeatureMap\n } else {\n const rootEditor = config.editor\n let rootEditorFeatures: FeatureProviderServer<unknown, unknown, unknown>[] = []\n if (typeof rootEditor === 'object' && 'features' in rootEditor) {\n rootEditorFeatures = (rootEditor as LexicalRichTextAdapter).features\n }\n\n features =\n props.features && typeof props.features === 'function'\n ? props.features({\n defaultFeatures: deepCopyObject(defaultEditorFeatures),\n rootFeatures: rootEditorFeatures,\n })\n : (props.features as FeatureProviderServer<unknown, unknown, unknown>[])\n if (!features) {\n features = deepCopyObject(defaultEditorFeatures)\n }\n\n const lexical: LexicalEditorConfig = props.lexical\n\n resolvedFeatureMap = await loadFeatures({\n config,\n isRoot,\n unSanitizedEditorConfig: {\n features,\n lexical: lexical ? lexical : defaultEditorConfig.lexical,\n },\n })\n\n finalSanitizedEditorConfig = {\n features: sanitizeServerFeatures(resolvedFeatureMap),\n lexical: lexical ? lexical : defaultEditorConfig.lexical,\n resolvedFeatureMap,\n }\n }\n\n const featureI18n = finalSanitizedEditorConfig.features.i18n\n for (const lang in i18n) {\n if (!featureI18n[lang]) {\n featureI18n[lang] = {\n lexical: {},\n }\n }\n\n featureI18n[lang].lexical.general = i18n[lang]\n }\n\n return {\n CellComponent: withMergedProps({\n Component: RichTextCell,\n toMergeIntoProps: {\n admin: props?.admin,\n lexicalEditorConfig: finalSanitizedEditorConfig.lexical,\n },\n }),\n FieldComponent: withMergedProps({\n Component: RichTextField,\n toMergeIntoProps: {\n admin: props?.admin,\n lexicalEditorConfig: finalSanitizedEditorConfig.lexical,\n },\n }),\n editorConfig: finalSanitizedEditorConfig,\n features,\n generateComponentMap: getGenerateComponentMap({\n resolvedFeatureMap,\n }),\n generateSchemaMap: getGenerateSchemaMap({\n resolvedFeatureMap,\n }),\n graphQLPopulationPromises({\n context,\n currentDepth,\n depth,\n draft,\n field,\n fieldPromises,\n findMany,\n flattenLocales,\n overrideAccess,\n populationPromises,\n req,\n showHiddenFields,\n siblingDoc,\n }) {\n // check if there are any features with nodes which have populationPromises for this field\n if (finalSanitizedEditorConfig?.features?.graphQLPopulationPromises?.size) {\n populateLexicalPopulationPromises({\n context,\n currentDepth: currentDepth ?? 0,\n depth,\n draft,\n editorPopulationPromises: finalSanitizedEditorConfig.features.graphQLPopulationPromises,\n field,\n fieldPromises,\n findMany,\n flattenLocales,\n overrideAccess,\n populationPromises,\n req,\n showHiddenFields,\n siblingDoc,\n })\n }\n },\n hooks: {\n afterChange: [\n async ({\n collection,\n context: _context,\n global,\n operation,\n path,\n req,\n schemaPath,\n value,\n }) => {\n if (\n !finalSanitizedEditorConfig.features.hooks.afterChange.size &&\n !finalSanitizedEditorConfig.features.getSubFields.size\n ) {\n return value\n }\n const context: any = _context\n const nodeIDMap: {\n [key: string]: SerializedLexicalNode\n } = {}\n\n /**\n * Get the originalNodeIDMap from the beforeValidate hook, which is always run before this hook.\n */\n const originalNodeIDMap: {\n [key: string]: SerializedLexicalNode\n } = context?.internal?.richText?.[path.join('.')]?.originalNodeIDMap\n\n if (!originalNodeIDMap || !Object.keys(originalNodeIDMap).length || !value) {\n return value\n }\n\n recurseNodeTree({\n nodeIDMap,\n nodes: (value as SerializedEditorState)?.root?.children ?? [],\n })\n\n // eslint-disable-next-line prefer-const\n for (let [id, node] of Object.entries(nodeIDMap)) {\n const afterChangeHooks = finalSanitizedEditorConfig.features.hooks.afterChange\n if (afterChangeHooks?.has(node.type)) {\n for (const hook of afterChangeHooks.get(node.type)) {\n if (!originalNodeIDMap[id]) {\n console.warn(\n '(afterChange) No original node found for node with id',\n id,\n 'node:',\n node,\n 'path',\n path.join('.'),\n )\n continue\n }\n node = await hook({\n context,\n node,\n operation,\n originalNode: originalNodeIDMap[id],\n parentRichTextFieldPath: path,\n parentRichTextFieldSchemaPath: schemaPath,\n req,\n })\n }\n }\n const subFieldFn = finalSanitizedEditorConfig.features.getSubFields.get(node.type)\n const subFieldDataFn = finalSanitizedEditorConfig.features.getSubFieldsData.get(\n node.type,\n )\n\n if (subFieldFn) {\n const subFields = subFieldFn({ node, req })\n const data = subFieldDataFn({ node, req }) ?? {}\n const originalData = subFieldDataFn({ node: originalNodeIDMap[id], req }) ?? {}\n\n if (subFields?.length) {\n await afterChangeTraverseFields({\n collection,\n context,\n data: originalData,\n doc: data,\n fields: subFields,\n global,\n operation,\n path,\n previousDoc: data,\n previousSiblingDoc: { ...data },\n req,\n schemaPath,\n siblingData: originalData || {},\n siblingDoc: { ...data },\n })\n }\n }\n }\n return value\n },\n ],\n afterRead: [\n /**\n * afterRead hooks do not receive the originalNode. Thus, they can run on all nodes, not just nodes with an ID.\n */\n async ({\n collection,\n context: context,\n currentDepth,\n depth,\n draft,\n fallbackLocale,\n fieldPromises,\n findMany,\n flattenLocales,\n global,\n locale,\n overrideAccess,\n path,\n populationPromises,\n req,\n schemaPath,\n showHiddenFields,\n triggerAccessControl,\n triggerHooks,\n value,\n }) => {\n if (\n !finalSanitizedEditorConfig.features.hooks.afterRead.size &&\n !finalSanitizedEditorConfig.features.getSubFields.size\n ) {\n return value\n }\n const flattenedNodes: SerializedLexicalNode[] = []\n\n recurseNodeTree({\n flattenedNodes,\n nodes: (value as SerializedEditorState)?.root?.children ?? [],\n })\n\n for (let node of flattenedNodes) {\n const afterReadHooks = finalSanitizedEditorConfig.features.hooks.afterRead\n if (afterReadHooks?.has(node.type)) {\n for (const hook of afterReadHooks.get(node.type)) {\n node = await hook({\n context,\n currentDepth,\n depth,\n draft,\n fallbackLocale,\n fieldPromises,\n findMany,\n flattenLocales,\n locale,\n node,\n overrideAccess,\n parentRichTextFieldPath: path,\n parentRichTextFieldSchemaPath: schemaPath,\n populationPromises,\n req,\n showHiddenFields,\n triggerAccessControl,\n triggerHooks,\n })\n }\n }\n const subFieldFn = finalSanitizedEditorConfig.features.getSubFields.get(node.type)\n const subFieldDataFn = finalSanitizedEditorConfig.features.getSubFieldsData.get(\n node.type,\n )\n\n if (subFieldFn) {\n const subFields = subFieldFn({ node, req })\n const data = subFieldDataFn({ node, req }) ?? {}\n\n if (subFields?.length) {\n afterReadTraverseFields({\n collection,\n context,\n currentDepth,\n depth,\n doc: data,\n draft,\n fallbackLocale,\n fieldPromises,\n fields: subFields,\n findMany,\n flattenLocales,\n global,\n locale,\n overrideAccess,\n path,\n populationPromises,\n req,\n schemaPath,\n showHiddenFields,\n siblingDoc: data,\n triggerAccessControl,\n triggerHooks,\n })\n }\n }\n }\n\n return value\n },\n ],\n beforeChange: [\n async ({\n collection,\n context: _context,\n duplicate,\n errors,\n field,\n global,\n mergeLocaleActions,\n operation,\n path,\n req,\n schemaPath,\n siblingData,\n siblingDocWithLocales,\n skipValidation,\n value,\n }) => {\n if (\n !finalSanitizedEditorConfig.features.hooks.beforeChange.size &&\n !finalSanitizedEditorConfig.features.getSubFields.size\n ) {\n return value\n }\n\n const context: any = _context\n const nodeIDMap: {\n [key: string]: SerializedLexicalNode\n } = {}\n\n /**\n * Get the originalNodeIDMap from the beforeValidate hook, which is always run before this hook.\n */\n const originalNodeIDMap: {\n [key: string]: SerializedLexicalNode\n } = context?.internal?.richText?.[path.join('.')]?.originalNodeIDMap\n\n if (!originalNodeIDMap || !Object.keys(originalNodeIDMap).length || !value) {\n return value\n }\n\n const originalNodeWithLocalesIDMap: {\n [key: string]: SerializedLexicalNode\n } = {}\n\n recurseNodeTree({\n nodeIDMap,\n nodes: (value as SerializedEditorState)?.root?.children ?? [],\n })\n\n if (siblingDocWithLocales?.[field.name]) {\n recurseNodeTree({\n nodeIDMap: originalNodeWithLocalesIDMap,\n nodes:\n (siblingDocWithLocales[field.name] as SerializedEditorState)?.root\n ?.children ?? [],\n })\n }\n\n // eslint-disable-next-line prefer-const\n for (let [id, node] of Object.entries(nodeIDMap)) {\n const beforeChangeHooks = finalSanitizedEditorConfig.features.hooks.beforeChange\n if (beforeChangeHooks?.has(node.type)) {\n for (const hook of beforeChangeHooks.get(node.type)) {\n if (!originalNodeIDMap[id]) {\n console.warn(\n '(beforeChange) No original node found for node with id',\n id,\n 'node:',\n node,\n 'path',\n path.join('.'),\n )\n continue\n }\n node = await hook({\n context,\n duplicate,\n errors,\n mergeLocaleActions,\n node,\n operation,\n originalNode: originalNodeIDMap[id],\n originalNodeWithLocales: originalNodeWithLocalesIDMap[id],\n parentRichTextFieldPath: path,\n parentRichTextFieldSchemaPath: schemaPath,\n req,\n skipValidation,\n })\n }\n }\n\n const subFieldFn = finalSanitizedEditorConfig.features.getSubFields.get(node.type)\n const subFieldDataFn = finalSanitizedEditorConfig.features.getSubFieldsData.get(\n node.type,\n )\n\n if (subFieldFn) {\n const subFields = subFieldFn({ node, req })\n const data = subFieldDataFn({ node, req }) ?? {}\n const originalData = subFieldDataFn({ node: originalNodeIDMap[id], req }) ?? {}\n const originalDataWithLocales =\n subFieldDataFn({\n node: originalNodeWithLocalesIDMap[id],\n req,\n }) ?? {}\n\n if (subFields?.length) {\n await beforeChangeTraverseFields({\n id,\n collection,\n context,\n data,\n doc: originalData,\n docWithLocales: originalDataWithLocales ?? {},\n duplicate,\n errors,\n fields: subFields,\n global,\n mergeLocaleActions,\n operation,\n path,\n req,\n schemaPath,\n siblingData: data,\n siblingDoc: originalData,\n siblingDocWithLocales: originalDataWithLocales ?? {},\n skipValidation,\n })\n }\n }\n }\n\n /**\n * within the beforeChange hook, id's may be re-generated.\n * Example:\n * 1. Seed data contains IDs for block feature blocks.\n * 2. Those are used in beforeValidate\n * 3. in beforeChange, those IDs are regenerated, because you cannot provide IDs during document creation. See baseIDField beforeChange hook for reasoning\n * 4. Thus, in order for all post-beforeChange hooks to receive the correct ID, we need to update the originalNodeIDMap with the new ID's, by regenerating the nodeIDMap.\n * The reason this is not generated for every hook, is to save on performance. We know we only really have to generate it in beforeValidate, which is the first hook,\n * and in beforeChange, which is where modifications to the provided IDs can occur.\n */\n const newOriginalNodeIDMap: {\n [key: string]: SerializedLexicalNode\n } = {}\n\n const previousValue = siblingData[field.name]\n\n recurseNodeTree({\n nodeIDMap: newOriginalNodeIDMap,\n nodes: (previousValue as SerializedEditorState)?.root?.children ?? [],\n })\n\n if (!context.internal) {\n // Add to context, for other hooks to use\n context.internal = {}\n }\n if (!context.internal.richText) {\n context.internal.richText = {}\n }\n context.internal.richText[path.join('.')] = {\n originalNodeIDMap: newOriginalNodeIDMap,\n }\n\n return value\n },\n ],\n beforeValidate: [\n async ({\n collection,\n context,\n global,\n operation,\n overrideAccess,\n path,\n previousValue,\n req,\n schemaPath,\n value,\n }) => {\n // return value if there are NO hooks\n if (\n !finalSanitizedEditorConfig.features.hooks.beforeValidate.size &&\n !finalSanitizedEditorConfig.features.hooks.afterChange.size &&\n !finalSanitizedEditorConfig.features.hooks.beforeChange.size &&\n !finalSanitizedEditorConfig.features.getSubFields.size\n ) {\n return value\n }\n\n /**\n * beforeValidate is the first field hook which runs. This is where we can create the node map, which can then be used in the other hooks.\n *\n */\n\n /**\n * flattenedNodes contains all nodes in the editor, in the order they appear in the editor. They will be used for the following hooks:\n * - afterRead\n *\n * The other hooks require nodes to have IDs, which is why those are ran only from the nodeIDMap. They require IDs because they have both doc/siblingDoc and data/siblingData, and\n * thus require a reliable way to match new node data to old node data. Given that node positions can change in between hooks, this is only reliably possible for nodes which are saved with\n * an ID.\n */\n //const flattenedNodes: SerializedLexicalNode[] = []\n\n /**\n * Only nodes with id's (so, nodes with hooks added to them) will be added to the nodeIDMap. They will be used for the following hooks:\n * - afterChange\n * - beforeChange\n * - beforeValidate\n * - beforeDuplicate\n *\n * Other hooks are handled by the flattenedNodes. All nodes in the nodeIDMap are part of flattenedNodes.\n */\n\n const originalNodeIDMap: {\n [key: string]: SerializedLexicalNode\n } = {}\n\n recurseNodeTree({\n nodeIDMap: originalNodeIDMap,\n nodes: (previousValue as SerializedEditorState)?.root?.children ?? [],\n })\n\n if (!context.internal) {\n // Add to context, for other hooks to use\n context.internal = {}\n }\n if (!(context as any).internal.richText) {\n ;(context as any).internal.richText = {}\n }\n ;(context as any).internal.richText[path.join('.')] = {\n originalNodeIDMap,\n }\n\n /**\n * Now that the maps for all hooks are set up, we can run the validate hook\n */\n if (!finalSanitizedEditorConfig.features.hooks.beforeValidate.size) {\n return value\n }\n const nodeIDMap: {\n [key: string]: SerializedLexicalNode\n } = {}\n recurseNodeTree({\n //flattenedNodes,\n nodeIDMap,\n nodes: (value as SerializedEditorState)?.root?.children ?? [],\n })\n\n // eslint-disable-next-line prefer-const\n for (let [id, node] of Object.entries(nodeIDMap)) {\n const beforeValidateHooks = finalSanitizedEditorConfig.features.hooks.beforeValidate\n if (beforeValidateHooks?.has(node.type)) {\n for (const hook of beforeValidateHooks.get(node.type)) {\n if (!originalNodeIDMap[id]) {\n console.warn(\n '(beforeValidate) No original node found for node with id',\n id,\n 'node:',\n node,\n 'path',\n path.join('.'),\n )\n continue\n }\n node = await hook({\n context,\n node,\n operation,\n originalNode: originalNodeIDMap[id],\n overrideAccess,\n parentRichTextFieldPath: path,\n parentRichTextFieldSchemaPath: schemaPath,\n req,\n })\n }\n }\n const subFieldFn = finalSanitizedEditorConfig.features.getSubFields.get(node.type)\n const subFieldDataFn = finalSanitizedEditorConfig.features.getSubFieldsData.get(\n node.type,\n )\n\n if (subFieldFn) {\n const subFields = subFieldFn({ node, req })\n const data = subFieldDataFn({ node, req }) ?? {}\n const originalData = subFieldDataFn({ node: originalNodeIDMap[id], req }) ?? {}\n\n if (subFields?.length) {\n await beforeValidateTraverseFields({\n id,\n collection,\n context,\n data,\n doc: originalData,\n fields: subFields,\n global,\n operation,\n overrideAccess,\n path,\n req,\n schemaPath,\n siblingData: data,\n siblingDoc: originalData,\n })\n }\n }\n }\n\n return value\n },\n ],\n },\n i18n: featureI18n,\n outputSchema: ({\n collectionIDFieldTypes,\n config,\n field,\n interfaceNameDefinitions,\n isRequired,\n }) => {\n let outputSchema: JSONSchema4 = {\n // This schema matches the SerializedEditorState type so far, that it's possible to cast SerializedEditorState to this schema without any errors.\n // In the future, we should\n // 1) allow recursive children\n // 2) Pass in all the different types for every node added to the editorconfig. This can be done with refs in the schema.\n type: withNullableJSONSchemaType('object', isRequired),\n properties: {\n root: {\n type: 'object',\n additionalProperties: false,\n properties: {\n type: {\n type: 'string',\n },\n children: {\n type: 'array',\n items: {\n type: 'object',\n additionalProperties: true,\n properties: {\n type: {\n type: 'string',\n },\n version: {\n type: 'integer',\n },\n },\n required: ['type', 'version'],\n },\n },\n direction: {\n oneOf: [\n {\n enum: ['ltr', 'rtl'],\n },\n {\n type: 'null',\n },\n ],\n },\n format: {\n type: 'string',\n enum: ['left', 'start', 'center', 'right', 'end', 'justify', ''], // ElementFormatType, since the root node is an element\n },\n indent: {\n type: 'integer',\n },\n version: {\n type: 'integer',\n },\n },\n required: ['children', 'direction', 'format', 'indent', 'type', 'version'],\n },\n },\n required: ['root'],\n }\n for (const modifyOutputSchema of finalSanitizedEditorConfig.features.generatedTypes\n .modifyOutputSchemas) {\n outputSchema = modifyOutputSchema({\n collectionIDFieldTypes,\n config,\n currentSchema: outputSchema,\n field,\n interfaceNameDefinitions,\n isRequired,\n })\n }\n\n return outputSchema\n },\n validate: richTextValidateHOC({\n editorConfig: finalSanitizedEditorConfig,\n }),\n }\n }\n}\n\nexport { AlignFeature } from './features/align/feature.server.js'\nexport { BlockquoteFeature } from './features/blockquote/feature.server.js'\nexport { BlocksFeature, type BlocksFeatureProps } from './features/blocks/feature.server.js'\nexport { type BlockFields, BlockNode } from './features/blocks/nodes/BlocksNode.js'\n\nexport { LinebreakHTMLConverter } from './features/converters/html/converter/converters/linebreak.js'\nexport { ParagraphHTMLConverter } from './features/converters/html/converter/converters/paragraph.js'\n\nexport { TextHTMLConverter } from './features/converters/html/converter/converters/text.js'\nexport { defaultHTMLConverters } from './features/converters/html/converter/defaultConverters.js'\nexport {\n convertLexicalNodesToHTML,\n convertLexicalToHTML,\n} from './features/converters/html/converter/index.js'\n\nexport type { HTMLConverter } from './features/converters/html/converter/types.js'\nexport {\n HTMLConverterFeature,\n type HTMLConverterFeatureProps,\n} from './features/converters/html/feature.server.js'\nexport { consolidateHTMLConverters, lexicalHTML } from './features/converters/html/field/index.js'\nexport { TestRecorderFeature } from './features/debug/testRecorder/feature.server.js'\nexport { TreeViewFeature } from './features/debug/treeView/feature.server.js'\nexport { EXPERIMENTAL_TableFeature } from './features/experimental_table/feature.server.js'\nexport { BoldFeature } from './features/format/bold/feature.server.js'\nexport { InlineCodeFeature } from './features/format/inlineCode/feature.server.js'\nexport { ItalicFeature } from './features/format/italic/feature.server.js'\n\nexport { StrikethroughFeature } from './features/format/strikethrough/feature.server.js'\nexport { SubscriptFeature } from './features/format/subscript/feature.server.js'\nexport { SuperscriptFeature } from './features/format/superscript/feature.server.js'\nexport { UnderlineFeature } from './features/format/underline/feature.server.js'\nexport { HeadingFeature, type HeadingFeatureProps } from './features/heading/feature.server.js'\nexport { HorizontalRuleFeature } from './features/horizontalRule/feature.server.js'\nexport { IndentFeature } from './features/indent/feature.server.js'\n\nexport { LinkFeature, type LinkFeatureServerProps } from './features/link/feature.server.js'\n\nexport { AutoLinkNode } from './features/link/nodes/AutoLinkNode.js'\nexport { LinkNode } from './features/link/nodes/LinkNode.js'\nexport type { LinkFields } from './features/link/nodes/types.js'\nexport { ChecklistFeature } from './features/lists/checklist/feature.server.js'\nexport { OrderedListFeature } from './features/lists/orderedList/feature.server.js'\nexport { UnorderedListFeature } from './features/lists/unorderedList/feature.server.js'\nexport { LexicalPluginToLexicalFeature } from './features/migrations/lexicalPluginToLexical/feature.server.js'\nexport { SlateBlockquoteConverter } from './features/migrations/slateToLexical/converter/converters/blockquote/index.js'\nexport { SlateHeadingConverter } from './features/migrations/slateToLexical/converter/converters/heading/index.js'\nexport { SlateIndentConverter } from './features/migrations/slateToLexical/converter/converters/indent/index.js'\nexport { SlateLinkConverter } from './features/migrations/slateToLexical/converter/converters/link/index.js'\nexport { SlateListItemConverter } from './features/migrations/slateToLexical/converter/converters/listItem/index.js'\nexport { SlateOrderedListConverter } from './features/migrations/slateToLexical/converter/converters/orderedList/index.js'\nexport { SlateRelationshipConverter } from './features/migrations/slateToLexical/converter/converters/relationship/index.js'\nexport { SlateUnknownConverter } from './features/migrations/slateToLexical/converter/converters/unknown/index.js'\nexport { SlateUnorderedListConverter } from './features/migrations/slateToLexical/converter/converters/unorderedList/index.js'\nexport { SlateUploadConverter } from './features/migrations/slateToLexical/converter/converters/upload/index.js'\nexport { defaultSlateConverters } from './features/migrations/slateToLexical/converter/defaultConverters.js'\n\nexport {\n convertSlateNodesToLexical,\n convertSlateToLexical,\n} from './features/migrations/slateToLexical/converter/index.js'\nexport type {\n SlateNode,\n SlateNodeConverter,\n} from './features/migrations/slateToLexical/converter/types.js'\nexport { SlateToLexicalFeature } from './features/migrations/slateToLexical/feature.server.js'\n\nexport { ParagraphFeature } from './features/paragraph/feature.server.js'\nexport {\n RelationshipFeature,\n type RelationshipFeatureProps,\n} from './features/relationship/feature.server.js'\nexport {\n type RelationshipData,\n RelationshipNode,\n} from './features/relationship/nodes/RelationshipNode.js'\n\nexport { FixedToolbarFeature } from './features/toolbars/fixed/feature.server.js'\nexport { InlineToolbarFeature } from './features/toolbars/inline/feature.server.js'\n\nexport type { ToolbarGroup, ToolbarGroupItem } from './features/toolbars/types.js'\nexport { createNode } from './features/typeUtilities.js' // Only useful in feature.server.ts\nexport type {\n ClientComponentProps,\n ClientFeature,\n ClientFeatureProviderMap,\n FeatureProviderClient,\n FeatureProviderProviderClient,\n PluginComponent,\n PluginComponentWithAnchor,\n ResolvedClientFeature,\n ResolvedClientFeatureMap,\n SanitizedClientFeatures,\n SanitizedPlugin,\n} from './features/typesClient.js'\n\nexport type {\n AfterChangeNodeHook,\n AfterChangeNodeHookArgs,\n AfterReadNodeHook,\n AfterReadNodeHookArgs,\n BaseNodeHookArgs,\n BeforeChangeNodeHook,\n BeforeChangeNodeHookArgs,\n BeforeValidateNodeHook,\n BeforeValidateNodeHookArgs,\n FeatureProviderProviderServer,\n FeatureProviderServer,\n NodeValidation,\n NodeWithHooks,\n PopulationPromise,\n ResolvedServerFeature,\n ResolvedServerFeatureMap,\n SanitizedServerFeatures,\n ServerFeature,\n ServerFeatureProviderMap,\n} from './features/typesServer.js'\n\nexport { UploadFeature } from './features/upload/feature.server.js'\n\nexport type { UploadFeatureProps } from './features/upload/feature.server.js'\nexport { type UploadData, UploadNode } from './features/upload/nodes/UploadNode.js'\n\nexport type { EditorConfigContextType } from './lexical/config/client/EditorConfigProvider.js'\nexport {\n defaultEditorConfig,\n defaultEditorFeatures,\n defaultEditorLexicalConfig,\n} from './lexical/config/server/default.js'\n\nexport { loadFeatures, sortFeaturesForOptimalLoading } from './lexical/config/server/loader.js'\nexport {\n sanitizeServerEditorConfig,\n sanitizeServerFeatures,\n} from './lexical/config/server/sanitize.js'\n\nexport type {\n ClientEditorConfig,\n SanitizedClientEditorConfig,\n SanitizedServerEditorConfig,\n ServerEditorConfig,\n} from './lexical/config/types.js'\nexport { getEnabledNodes } from './lexical/nodes/index.js'\nexport type { AdapterProps }\n\nexport type {\n SlashMenuGroup,\n SlashMenuItem,\n} from './lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js'\n\nexport {\n DETAIL_TYPE_TO_DETAIL,\n DOUBLE_LINE_BREAK,\n ELEMENT_FORMAT_TO_TYPE,\n ELEMENT_TYPE_TO_FORMAT,\n IS_ALL_FORMATTING,\n LTR_REGEX,\n NON_BREAKING_SPACE,\n NodeFormat,\n RTL_REGEX,\n TEXT_MODE_TO_TYPE,\n TEXT_TYPE_TO_FORMAT,\n TEXT_TYPE_TO_MODE,\n} from './lexical/utils/nodeFormat.js'\nexport { sanitizeUrl, validateUrl } from './lexical/utils/url.js'\n\nexport type * from './nodeTypes.js'\n\nexport { defaultRichTextValue } from './populateGraphQL/defaultValue.js'\n\nexport type { LexicalEditorProps, LexicalRichTextAdapter } from './types.js'\nexport { createServerFeature } from './utilities/createServerFeature.js'\nexport type { FieldsDrawerProps } from './utilities/fieldsDrawer/Drawer.js'\n\nexport { migrateSlateToLexical } from './utilities/migrateSlateToLexical/index.js'\n\nexport { upgradeLexicalData } from './utilities/upgradeLexicalData/index.js'\n"],"names":["withMergedProps","fileURLToPath","path","afterChangeTraverseFields","afterReadTraverseFields","beforeChangeTraverseFields","beforeValidateTraverseFields","deepCopyObject","getDependencies","withNullableJSONSchemaType","RichTextCell","RichTextField","i18n","defaultEditorConfig","defaultEditorFeatures","loadFeatures","sanitizeServerEditorConfig","sanitizeServerFeatures","populateLexicalPopulationPromises","getGenerateComponentMap","getGenerateSchemaMap","recurseNodeTree","richTextValidateHOC","defaultSanitizedServerEditorConfig","filename","url","dirname","lexicalEditor","props","config","isRoot","process","env","NODE_ENV","resolvedDependencies","foundVersions","_pkg","version","resolved","Object","keys","includes","length","formattedVersionsWithPackageNameString","entries","map","pkg","join","Error","features","resolvedFeatureMap","finalSanitizedEditorConfig","lexical","rootEditor","editor","rootEditorFeatures","defaultFeatures","rootFeatures","unSanitizedEditorConfig","featureI18n","lang","general","CellComponent","Component","toMergeIntoProps","admin","lexicalEditorConfig","FieldComponent","editorConfig","generateComponentMap","generateSchemaMap","graphQLPopulationPromises","context","currentDepth","depth","draft","field","fieldPromises","findMany","flattenLocales","overrideAccess","populationPromises","req","showHiddenFields","siblingDoc","size","editorPopulationPromises","hooks","afterChange","collection","_context","global","operation","schemaPath","value","getSubFields","nodeIDMap","originalNodeIDMap","internal","richText","nodes","root","children","id","node","afterChangeHooks","has","type","hook","get","console","warn","originalNode","parentRichTextFieldPath","parentRichTextFieldSchemaPath","subFieldFn","subFieldDataFn","getSubFieldsData","subFields","data","originalData","doc","fields","previousDoc","previousSiblingDoc","siblingData","afterRead","fallbackLocale","locale","triggerAccessControl","triggerHooks","flattenedNodes","afterReadHooks","beforeChange","duplicate","errors","mergeLocaleActions","siblingDocWithLocales","skipValidation","originalNodeWithLocalesIDMap","name","beforeChangeHooks","originalNodeWithLocales","originalDataWithLocales","docWithLocales","newOriginalNodeIDMap","previousValue","beforeValidate","beforeValidateHooks","outputSchema","collectionIDFieldTypes","interfaceNameDefinitions","isRequired","properties","additionalProperties","items","required","direction","oneOf","enum","format","indent","modifyOutputSchema","generatedTypes","modifyOutputSchemas","currentSchema","validate","AlignFeature","BlockquoteFeature","BlocksFeature","BlockNode","LinebreakHTMLConverter","ParagraphHTMLConverter","TextHTMLConverter","defaultHTMLConverters","convertLexicalNodesToHTML","convertLexicalToHTML","HTMLConverterFeature","consolidateHTMLConverters","lexicalHTML","TestRecorderFeature","TreeViewFeature","EXPERIMENTAL_TableFeature","BoldFeature","InlineCodeFeature","ItalicFeature","StrikethroughFeature","SubscriptFeature","SuperscriptFeature","UnderlineFeature","HeadingFeature","HorizontalRuleFeature","IndentFeature","LinkFeature","AutoLinkNode","LinkNode","ChecklistFeature","OrderedListFeature","UnorderedListFeature","LexicalPluginToLexicalFeature","SlateBlockquoteConverter","SlateHeadingConverter","SlateIndentConverter","SlateLinkConverter","SlateListItemConverter","SlateOrderedListConverter","SlateRelationshipConverter","SlateUnknownConverter","SlateUnorderedListConverter","SlateUploadConverter","defaultSlateConverters","convertSlateNodesToLexical","convertSlateToLexical","SlateToLexicalFeature","ParagraphFeature","RelationshipFeature","RelationshipNode","FixedToolbarFeature","InlineToolbarFeature","createNode","UploadFeature","UploadNode","defaultEditorLexicalConfig","sortFeaturesForOptimalLoading","getEnabledNodes","DETAIL_TYPE_TO_DETAIL","DOUBLE_LINE_BREAK","ELEMENT_FORMAT_TO_TYPE","ELEMENT_TYPE_TO_FORMAT","IS_ALL_FORMATTING","LTR_REGEX","NON_BREAKING_SPACE","NodeFormat","RTL_REGEX","TEXT_MODE_TO_TYPE","TEXT_TYPE_TO_FORMAT","TEXT_TYPE_TO_MODE","sanitizeUrl","validateUrl","defaultRichTextValue","createServerFeature","migrateSlateToLexical","upgradeLexicalData"],"mappings":"AAOA,SAASA,eAAe,QAAQ,wBAAuB;AACvD,SAASC,aAAa,QAAQ,WAAU;AACxC,OAAOC,UAAU,OAAM;AACvB,SACEC,yBAAyB,EACzBC,uBAAuB,EACvBC,0BAA0B,E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,iBAAiB,EACjBC,sBAAsB,EACtBC,sBAAsB,EACtBC,iBAAiB,EACjBC,SAAS,EACTC,kBAAkB,EAClBC,UAAU,EACVC,SAAS,EACTC,iBAAiB,EACjBC,mBAAmB,EACnBC,iBAAiB,QACZ,gCAA+B;AACtC,SAASC,WAAW,EAAEC,WAAW,QAAQ,yBAAwB;AAIjE,SAASC,oBAAoB,QAAQ,oCAAmC;AAGxE,SAASC,mBAAmB,QAAQ,qCAAoC;AAGxE,SAASC,qBAAqB,QAAQ,6CAA4C;AAElF,SAASC,kBAAkB,QAAQ,0CAAyC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { SanitizedPlugin } from '../features/typesClient.js';
3
+ export declare const EditorPlugin: React.FC<{
4
+ anchorElem?: HTMLDivElement;
5
+ clientProps: unknown;
6
+ plugin: SanitizedPlugin;
7
+ }>;
8
+ //# sourceMappingURL=EditorPlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditorPlugin.d.ts","sourceRoot":"","sources":["../../src/lexical/EditorPlugin.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAEjE,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC;IAClC,UAAU,CAAC,EAAE,cAAc,CAAA;IAC3B,WAAW,EAAE,OAAO,CAAA;IACpB,MAAM,EAAE,eAAe,CAAA;CACxB,CAQA,CAAA"}
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import React from 'react';
3
+ export const EditorPlugin = ({ anchorElem, clientProps, plugin })=>{
4
+ if (plugin.position === 'floatingAnchorElem') {
5
+ return plugin.Component && /*#__PURE__*/ _jsx(plugin.Component, {
6
+ anchorElem: anchorElem,
7
+ clientProps: clientProps
8
+ });
9
+ }
10
+ return plugin.Component && /*#__PURE__*/ _jsx(plugin.Component, {
11
+ clientProps: clientProps
12
+ });
13
+ };
14
+
15
+ //# sourceMappingURL=EditorPlugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/lexical/EditorPlugin.tsx"],"sourcesContent":["import React from 'react'\n\nimport type { SanitizedPlugin } from '../features/typesClient.js'\n\nexport const EditorPlugin: React.FC<{\n anchorElem?: HTMLDivElement\n clientProps: unknown\n plugin: SanitizedPlugin\n}> = ({ anchorElem, clientProps, plugin }) => {\n if (plugin.position === 'floatingAnchorElem') {\n return (\n plugin.Component && <plugin.Component anchorElem={anchorElem} clientProps={clientProps} />\n )\n }\n\n return plugin.Component && <plugin.Component clientProps={clientProps} />\n}\n"],"names":["React","EditorPlugin","anchorElem","clientProps","plugin","position","Component"],"mappings":";AAAA,OAAOA,WAAW,QAAO;AAIzB,OAAO,MAAMC,eAIR,CAAC,EAAEC,UAAU,EAAEC,WAAW,EAAEC,MAAM,EAAE;IACvC,IAAIA,OAAOC,QAAQ,KAAK,sBAAsB;QAC5C,OACED,OAAOE,SAAS,kBAAI,KAACF,OAAOE,SAAS;YAACJ,YAAYA;YAAYC,aAAaA;;IAE/E;IAEA,OAAOC,OAAOE,SAAS,kBAAI,KAACF,OAAOE,SAAS;QAACH,aAAaA;;AAC5D,EAAC"}
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import type { LexicalProviderProps } from './LexicalProvider.js';
3
+ import './LexicalEditor.scss';
4
+ export declare const LexicalEditor: React.FC<{
5
+ editorContainerRef: React.RefObject<HTMLDivElement>;
6
+ } & Pick<LexicalProviderProps, 'editorConfig' | 'onChange'>>;
7
+ //# sourceMappingURL=LexicalEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexicalEditor.d.ts","sourceRoot":"","sources":["../../src/lexical/LexicalEditor.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAGhE,OAAO,sBAAsB,CAAA;AAQ7B,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAClC;IACE,kBAAkB,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAA;CACpD,GAAG,IAAI,CAAC,oBAAoB,EAAE,cAAc,GAAG,UAAU,CAAC,CA4K5D,CAAA"}
@@ -0,0 +1,192 @@
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';
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
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/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'\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 {\n editorContainerRef: React.RefObject<HTMLDivElement>\n } & Pick<LexicalProviderProps, 'editorConfig' | 'onChange'>\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"],"mappings":"AAAA;;AACA,SAASA,yBAAyB,QAAQ,2CAA0C;AACpF,SAASC,oBAAoB,QAAQ,yCAAwC;AAC7E,SAASC,aAAa,QAAQ,yCAAwC;AACtE,SAASC,cAAc,QAAQ,0CAAyC;AACxE,SAASC,cAAc,QAAQ,0CAAyC;AACxE,SAASC,oBAAoB,QAAQ,gDAA+C;AACpF,SAASC,cAAc,QAAQ,iBAAgB;AAC/C,SAASC,YAAY,EAAEC,oBAAoB,EAAEC,aAAa,QAAQ,UAAS;AAC3E,YAAYC,WAAW,QAAO;AAC9B,SAASC,SAAS,EAAEC,QAAQ,QAAQ,QAAO;AAI3C,SAASC,YAAY,QAAQ,oBAAmB;AAEhD,SAASC,sBAAsB,QAAQ,0CAAyC;AAChF,SAASC,sBAAsB,QAAQ,sCAAqC;AAC5E,SAASC,eAAe,QAAQ,+BAA8B;AAC9D,SAASC,oBAAoB,QAAQ,kDAAiD;AACtF,SAASC,oBAAoB,QAAQ,kDAAiD;AACtF,SAASC,sBAAsB,QAAQ,0BAAyB;AAEhE,OAAO,MAAMC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wBACpB,CAAED,CAAAA,OAAOkB,WAAW,KAAK,QAAQ/B,oBAAmB,GACpD;oCACA,qBACE,KAAChC;wCACC8D,YAAY/C;wCACZgC,aAAaF,OAAOE,WAAW;wCAE/BF,QAAQA;uCADHA,OAAOG,GAAG;gCAIrB;4BACF;4BACCnC,OAAOgD,UAAU,oBAChB,KAAChE,MAAM4C,QAAQ;0CACb,cAAA,KAACtC;oCAAgB2D,YAAY/C;;;;;oBAKpCF,OAAOgD,UAAU,oBAChB,MAAChE,MAAM4C,QAAQ;;0CACb,KAACpD;4BACAoB,cAAciC,UAAUsB,sBAAsBC,SAAS,mBAAK,KAAC/D;;;kCAIlE,KAACV;oBACAiB,aAAaiC,QAAQ,CAACC,OAAO,CAACC,GAAG,CAAC,CAACC;wBAClC,IAAIA,OAAOC,QAAQ,KAAK,UAAU;4BAChC,qBACE,KAAC9C;gCAAa+C,aAAaF,OAAOE,WAAW;gCAAmBF,QAAQA;+BAApBA,OAAOG,GAAG;wBAElE;oBACF;oBACCvC,aAAaiC,QAAQ,CAACC,OAAO,CAACC,GAAG,CAAC,CAACC;wBAClC,IAAIA,OAAOC,QAAQ,KAAK,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"}
@@ -0,0 +1,18 @@
1
+ import type { FormFieldBase } from '@payloadcms/ui';
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: {
8
+ editorConfig: SanitizedClientEditorConfig;
9
+ name: string;
10
+ richTextComponentMap: Map<string, React.ReactNode>;
11
+ } & FormFieldBase;
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexicalProvider.d.ts","sourceRoot":"","sources":["../../src/lexical/LexicalProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AACnD,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;QACV,YAAY,EAAE,2BAA2B,CAAA;QACzC,IAAI,EAAE,MAAM,CAAA;QACZ,oBAAoB,EAAE,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;KACnD,GAAG,aAAa,CAAA;IACjB,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;AAiBD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwE1D,CAAA"}
@@ -0,0 +1,98 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { LexicalComposer } from '@lexical/react/LexicalComposer.js';
4
+ import * as React from 'react';
5
+ import { useMemo } from 'react';
6
+ import { LexicalEditor as LexicalEditorComponent } from './LexicalEditor.js';
7
+ import { EditorConfigProvider, useEditorConfigContext } from './config/client/EditorConfigProvider.js';
8
+ import { getEnabledNodes } from './nodes/index.js';
9
+ const NestProviders = ({ children, providers })=>{
10
+ if (!providers?.length) {
11
+ return children;
12
+ }
13
+ const Component = providers[0];
14
+ if (providers.length > 1) {
15
+ return /*#__PURE__*/ _jsx(Component, {
16
+ children: /*#__PURE__*/ _jsx(NestProviders, {
17
+ providers: providers.slice(1),
18
+ children: children
19
+ })
20
+ });
21
+ }
22
+ return /*#__PURE__*/ _jsx(Component, {
23
+ children: children
24
+ });
25
+ };
26
+ export const LexicalProvider = (props)=>{
27
+ const { editorConfig, fieldProps, onChange, path, readOnly, value } = props;
28
+ const parentContext = useEditorConfigContext();
29
+ const editorContainerRef = React.useRef(null);
30
+ const processedValue = useMemo(()=>{
31
+ let processed = value;
32
+ if (editorConfig?.features?.hooks?.load?.length) {
33
+ editorConfig.features.hooks.load.forEach((hook)=>{
34
+ processed = hook({
35
+ incomingEditorState: processed
36
+ });
37
+ });
38
+ }
39
+ return processed;
40
+ }, [
41
+ editorConfig,
42
+ value
43
+ ]);
44
+ // useMemo for the initialConfig that depends on readOnly and processedValue
45
+ const initialConfig = useMemo(()=>{
46
+ if (processedValue && typeof processedValue !== 'object') {
47
+ throw new Error('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: ' + JSON.stringify(processedValue));
48
+ }
49
+ if (processedValue && Array.isArray(processedValue) && !('root' in processedValue)) {
50
+ throw new Error('You have tried to pass in data from the old Slate editor to the new Lexical editor. The data structure is different, thus you will have to migrate your data. We offer a one-line migration script which migrates all your rich text fields: https://payloadcms.com/docs/beta/lexical/migration#migration-via-migration-script-recommended');
51
+ }
52
+ if (processedValue && 'jsonContent' in processedValue) {
53
+ throw new Error('You have tried to pass in data from payload-plugin-lexical. The data structure is different, thus you will have to migrate your data. Migration guide: https://payloadcms.com/docs/beta/lexical/migration#migrating-from-payload-plugin-lexical');
54
+ }
55
+ return {
56
+ editable: readOnly !== true,
57
+ editorState: processedValue != null ? JSON.stringify(processedValue) : undefined,
58
+ namespace: editorConfig.lexical.namespace,
59
+ nodes: [
60
+ ...getEnabledNodes({
61
+ editorConfig
62
+ })
63
+ ],
64
+ onError: (error)=>{
65
+ throw error;
66
+ },
67
+ theme: editorConfig.lexical.theme
68
+ };
69
+ }, [
70
+ editorConfig,
71
+ processedValue,
72
+ readOnly
73
+ ]);
74
+ if (!initialConfig) {
75
+ return /*#__PURE__*/ _jsx("p", {
76
+ children: "Loading..."
77
+ });
78
+ }
79
+ return /*#__PURE__*/ _jsx(LexicalComposer, {
80
+ initialConfig: initialConfig,
81
+ children: /*#__PURE__*/ _jsx(EditorConfigProvider, {
82
+ editorConfig: editorConfig,
83
+ editorContainerRef: editorContainerRef,
84
+ fieldProps: fieldProps,
85
+ parentContext: parentContext,
86
+ children: /*#__PURE__*/ _jsx(NestProviders, {
87
+ providers: editorConfig.features.providers,
88
+ children: /*#__PURE__*/ _jsx(LexicalEditorComponent, {
89
+ editorConfig: editorConfig,
90
+ editorContainerRef: editorContainerRef,
91
+ onChange: onChange
92
+ })
93
+ })
94
+ })
95
+ }, path);
96
+ };
97
+
98
+ //# sourceMappingURL=LexicalProvider.js.map