@payloadcms/richtext-lexical 3.0.0-canary.4704e79 → 3.0.0-canary.483db21

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 (2235) hide show
  1. package/dist/cell/index.d.ts +2 -2
  2. package/dist/cell/index.d.ts.map +1 -1
  3. package/dist/cell/index.js +8 -8
  4. package/dist/cell/index.js.map +1 -1
  5. package/dist/exports/client/Component-7HS6FEJS.js +2 -0
  6. package/dist/exports/client/Component-7HS6FEJS.js.map +7 -0
  7. package/dist/exports/client/Component-LAKSCIDX.js +2 -0
  8. package/dist/exports/client/Component-LAKSCIDX.js.map +7 -0
  9. package/dist/exports/client/Field-5GGTGCKC.js +2 -0
  10. package/dist/exports/client/Field-5GGTGCKC.js.map +7 -0
  11. package/dist/exports/client/RelationshipComponent-ZR2OCBGL.js +2 -0
  12. package/dist/exports/client/RelationshipComponent-ZR2OCBGL.js.map +7 -0
  13. package/dist/exports/client/bundled.css +1 -1
  14. package/dist/exports/client/chunk-6QXGZYUK.js +2 -0
  15. package/dist/exports/client/chunk-6QXGZYUK.js.map +7 -0
  16. package/dist/exports/client/chunk-EBB2CEB6.js +2 -0
  17. package/dist/exports/client/chunk-EBB2CEB6.js.map +7 -0
  18. package/dist/exports/client/chunk-IPCJ5EVK.js +2 -0
  19. package/dist/exports/client/chunk-IPCJ5EVK.js.map +7 -0
  20. package/dist/exports/client/chunk-IWZVO3AI.js +2 -0
  21. package/dist/exports/client/chunk-IWZVO3AI.js.map +7 -0
  22. package/dist/exports/client/chunk-Q5DYR7MH.js +3 -0
  23. package/dist/exports/client/chunk-Q5DYR7MH.js.map +7 -0
  24. package/dist/exports/client/chunk-VUVXZJJR.js +2 -0
  25. package/dist/exports/client/chunk-VUVXZJJR.js.map +7 -0
  26. package/dist/exports/client/component-D4GWDXK5.js +2 -0
  27. package/dist/exports/client/component-D4GWDXK5.js.map +7 -0
  28. package/dist/exports/client/component-KA7FDRMA.js +2 -0
  29. package/dist/exports/client/component-KA7FDRMA.js.map +7 -0
  30. package/dist/exports/client/component-VM36FRT2.js +2 -0
  31. package/dist/exports/client/component-VM36FRT2.js.map +7 -0
  32. package/dist/exports/client/componentInline-6EKPZSCV.js +2 -0
  33. package/dist/exports/client/componentInline-6EKPZSCV.js.map +7 -0
  34. package/dist/exports/client/index.d.ts +60 -49
  35. package/dist/exports/client/index.d.ts.map +1 -1
  36. package/dist/exports/client/index.js +8 -6
  37. package/dist/exports/client/index.js.map +4 -4
  38. package/dist/features/align/feature.client.d.ts +5 -0
  39. package/dist/features/align/feature.client.d.ts.map +1 -0
  40. package/dist/features/align/feature.client.js +146 -0
  41. package/dist/features/align/feature.client.js.map +1 -0
  42. package/dist/features/align/feature.server.d.ts +2 -0
  43. package/dist/features/align/feature.server.d.ts.map +1 -0
  44. package/dist/features/align/feature.server.js +13 -0
  45. package/dist/features/align/feature.server.js.map +1 -0
  46. package/dist/features/align/i18n.d.ts.map +1 -0
  47. package/dist/features/align/i18n.js.map +1 -0
  48. package/dist/features/align/toolbarAlignGroup.d.ts.map +1 -0
  49. package/dist/features/align/toolbarAlignGroup.js.map +1 -0
  50. package/dist/features/blockquote/feature.client.d.ts +5 -0
  51. package/dist/features/blockquote/feature.client.d.ts.map +1 -0
  52. package/dist/features/blockquote/feature.client.js +77 -0
  53. package/dist/features/blockquote/feature.client.js.map +1 -0
  54. package/dist/features/blockquote/feature.server.d.ts +7 -0
  55. package/dist/features/blockquote/feature.server.d.ts.map +1 -0
  56. package/dist/features/blockquote/feature.server.js +48 -0
  57. package/dist/features/blockquote/feature.server.js.map +1 -0
  58. package/dist/features/blockquote/i18n.d.ts.map +1 -0
  59. package/dist/features/blockquote/i18n.js.map +1 -0
  60. package/dist/features/blockquote/markdownTransformer.d.ts.map +1 -0
  61. package/dist/features/blockquote/markdownTransformer.js.map +1 -0
  62. package/dist/features/blocks/component/BlockContent.d.ts +27 -0
  63. package/dist/features/blocks/component/BlockContent.d.ts.map +1 -0
  64. package/dist/features/blocks/component/BlockContent.js +196 -0
  65. package/dist/features/blocks/component/BlockContent.js.map +1 -0
  66. package/dist/features/blocks/component/FormSavePlugin.d.ts.map +1 -0
  67. package/dist/features/blocks/component/FormSavePlugin.js +29 -0
  68. package/dist/features/blocks/component/FormSavePlugin.js.map +1 -0
  69. package/dist/features/blocks/component/index.d.ts +11 -0
  70. package/dist/features/blocks/component/index.d.ts.map +1 -0
  71. package/dist/features/blocks/component/index.js +162 -0
  72. package/dist/features/blocks/component/index.js.map +1 -0
  73. package/dist/features/blocks/component/removeEmptyArrayValues.d.ts.map +1 -0
  74. package/dist/features/blocks/component/removeEmptyArrayValues.js.map +1 -0
  75. package/dist/features/blocks/componentInline/index.d.ts +10 -0
  76. package/dist/features/blocks/componentInline/index.d.ts.map +1 -0
  77. package/dist/features/blocks/componentInline/index.js +133 -0
  78. package/dist/features/blocks/componentInline/index.js.map +1 -0
  79. package/dist/features/blocks/feature.client.d.ts +13 -0
  80. package/dist/features/blocks/feature.client.d.ts.map +1 -0
  81. package/dist/features/blocks/feature.client.js +148 -0
  82. package/dist/features/blocks/feature.client.js.map +1 -0
  83. package/dist/features/blocks/feature.server.d.ts +8 -0
  84. package/dist/features/blocks/feature.server.d.ts.map +1 -0
  85. package/dist/features/blocks/feature.server.js +160 -0
  86. package/dist/features/blocks/feature.server.js.map +1 -0
  87. package/dist/features/blocks/graphQLPopulationPromise.d.ts +6 -0
  88. package/dist/features/blocks/graphQLPopulationPromise.d.ts.map +1 -0
  89. package/dist/features/blocks/graphQLPopulationPromise.js +31 -0
  90. package/dist/features/blocks/graphQLPopulationPromise.js.map +1 -0
  91. package/dist/features/blocks/i18n.d.ts.map +1 -0
  92. package/dist/features/blocks/i18n.js +292 -0
  93. package/dist/features/blocks/i18n.js.map +1 -0
  94. package/dist/features/blocks/nodes/BlocksNode.d.ts +38 -0
  95. package/dist/features/blocks/nodes/BlocksNode.d.ts.map +1 -0
  96. package/dist/features/blocks/nodes/BlocksNode.js +92 -0
  97. package/dist/features/blocks/nodes/BlocksNode.js.map +1 -0
  98. package/dist/features/blocks/nodes/InlineBlocksNode.d.ts +39 -0
  99. package/dist/features/blocks/nodes/InlineBlocksNode.d.ts.map +1 -0
  100. package/dist/features/blocks/nodes/InlineBlocksNode.js +94 -0
  101. package/dist/features/blocks/nodes/InlineBlocksNode.js.map +1 -0
  102. package/dist/features/blocks/plugin/commands.d.ts +9 -0
  103. package/dist/features/blocks/plugin/commands.d.ts.map +1 -0
  104. package/dist/features/blocks/plugin/commands.js +6 -0
  105. package/dist/features/blocks/plugin/commands.js.map +1 -0
  106. package/dist/features/blocks/plugin/index.d.ts +6 -0
  107. package/dist/features/blocks/plugin/index.d.ts.map +1 -0
  108. package/dist/features/blocks/plugin/index.js +111 -0
  109. package/dist/features/blocks/plugin/index.js.map +1 -0
  110. package/dist/features/blocks/validate.d.ts +6 -0
  111. package/dist/features/blocks/validate.d.ts.map +1 -0
  112. package/dist/features/blocks/validate.js +37 -0
  113. package/dist/features/blocks/validate.js.map +1 -0
  114. package/dist/features/converters/html/converter/converters/linebreak.d.ts.map +1 -0
  115. package/dist/features/converters/html/converter/converters/linebreak.js.map +1 -0
  116. package/dist/features/converters/html/converter/converters/paragraph.d.ts.map +1 -0
  117. package/dist/features/converters/html/converter/converters/paragraph.js +23 -0
  118. package/dist/features/converters/html/converter/converters/paragraph.js.map +1 -0
  119. package/dist/features/converters/html/converter/converters/text.d.ts.map +1 -0
  120. package/dist/features/converters/html/converter/converters/text.js.map +1 -0
  121. package/dist/features/converters/html/converter/defaultConverters.d.ts.map +1 -0
  122. package/dist/features/converters/html/converter/defaultConverters.js.map +1 -0
  123. package/dist/features/converters/html/converter/index.d.ts +48 -0
  124. package/dist/features/converters/html/converter/index.d.ts.map +1 -0
  125. package/dist/features/converters/html/converter/index.js +57 -0
  126. package/dist/features/converters/html/converter/index.js.map +1 -0
  127. package/dist/features/converters/html/converter/types.d.ts +22 -0
  128. package/dist/features/converters/html/converter/types.d.ts.map +1 -0
  129. package/dist/features/converters/html/converter/types.js.map +1 -0
  130. package/dist/features/converters/html/feature.server.d.ts +8 -0
  131. package/dist/features/converters/html/feature.server.d.ts.map +1 -0
  132. package/dist/features/converters/html/feature.server.js +8 -0
  133. package/dist/features/converters/html/feature.server.js.map +1 -0
  134. package/dist/features/converters/html/field/index.d.ts.map +1 -0
  135. package/dist/features/converters/html/field/index.js +157 -0
  136. package/dist/features/converters/html/field/index.js.map +1 -0
  137. package/dist/features/createClientComponent.d.ts +7 -0
  138. package/dist/features/createClientComponent.d.ts.map +1 -0
  139. package/dist/features/createClientComponent.js +12 -0
  140. package/dist/features/createClientComponent.js.map +1 -0
  141. package/dist/features/createFeaturePropComponent.d.ts.map +1 -0
  142. package/dist/features/createFeaturePropComponent.js +18 -0
  143. package/dist/features/createFeaturePropComponent.js.map +1 -0
  144. package/dist/features/debug/testRecorder/feature.client.d.ts +5 -0
  145. package/dist/features/debug/testRecorder/feature.client.d.ts.map +1 -0
  146. package/dist/features/debug/testRecorder/feature.client.js +13 -0
  147. package/dist/features/debug/testRecorder/feature.client.js.map +1 -0
  148. package/dist/features/debug/testRecorder/feature.server.d.ts +2 -0
  149. package/dist/features/debug/testRecorder/feature.server.d.ts.map +1 -0
  150. package/dist/features/debug/testRecorder/feature.server.js +11 -0
  151. package/dist/features/debug/testRecorder/feature.server.js.map +1 -0
  152. package/dist/features/debug/testRecorder/plugin/index.d.ts +5 -0
  153. package/dist/features/debug/testRecorder/plugin/index.d.ts.map +1 -0
  154. package/dist/features/debug/testRecorder/plugin/index.js.map +1 -0
  155. package/dist/features/debug/treeView/feature.client.d.ts +5 -0
  156. package/dist/features/debug/treeView/feature.client.d.ts.map +1 -0
  157. package/dist/features/debug/treeView/feature.client.js +13 -0
  158. package/dist/features/debug/treeView/feature.client.js.map +1 -0
  159. package/dist/features/debug/treeView/feature.server.d.ts +2 -0
  160. package/dist/features/debug/treeView/feature.server.d.ts.map +1 -0
  161. package/dist/features/debug/treeView/feature.server.js +11 -0
  162. package/dist/features/debug/treeView/feature.server.js.map +1 -0
  163. package/dist/features/debug/treeView/plugin/index.d.ts +4 -0
  164. package/dist/features/debug/treeView/plugin/index.d.ts.map +1 -0
  165. package/dist/features/debug/treeView/plugin/index.js.map +1 -0
  166. package/dist/features/experimental_table/feature.client.d.ts +2 -0
  167. package/dist/features/experimental_table/feature.client.d.ts.map +1 -0
  168. package/dist/features/experimental_table/feature.client.js +71 -0
  169. package/dist/features/experimental_table/feature.client.js.map +1 -0
  170. package/dist/features/experimental_table/feature.server.d.ts +13 -0
  171. package/dist/features/experimental_table/feature.server.d.ts.map +1 -0
  172. package/dist/features/experimental_table/feature.server.js +125 -0
  173. package/dist/features/experimental_table/feature.server.js.map +1 -0
  174. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.d.ts +4 -0
  175. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.d.ts.map +1 -0
  176. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.js +604 -0
  177. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.js.map +1 -0
  178. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.d.ts +3 -0
  179. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.d.ts.map +1 -0
  180. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.js +327 -0
  181. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.js.map +1 -0
  182. package/dist/features/experimental_table/plugins/TableHoverActionsPlugin/index.d.ts +12 -0
  183. package/dist/features/experimental_table/plugins/TableHoverActionsPlugin/index.d.ts.map +1 -0
  184. package/dist/features/experimental_table/plugins/TableHoverActionsPlugin/index.js +181 -0
  185. package/dist/features/experimental_table/plugins/TableHoverActionsPlugin/index.js.map +1 -0
  186. package/dist/features/experimental_table/plugins/TablePlugin/index.d.ts +24 -0
  187. package/dist/features/experimental_table/plugins/TablePlugin/index.d.ts.map +1 -0
  188. package/dist/features/experimental_table/plugins/TablePlugin/index.js +98 -0
  189. package/dist/features/experimental_table/plugins/TablePlugin/index.js.map +1 -0
  190. package/dist/features/experimental_table/utils/debounce.d.ts +61 -0
  191. package/dist/features/experimental_table/utils/debounce.d.ts.map +1 -0
  192. package/dist/features/experimental_table/utils/debounce.js +202 -0
  193. package/dist/features/experimental_table/utils/debounce.js.map +1 -0
  194. package/dist/features/experimental_table/utils/useDebounce.d.ts +6 -0
  195. package/dist/features/experimental_table/utils/useDebounce.d.ts.map +1 -0
  196. package/dist/features/experimental_table/utils/useDebounce.js +18 -0
  197. package/dist/features/experimental_table/utils/useDebounce.js.map +1 -0
  198. package/dist/features/format/bold/feature.client.d.ts +5 -0
  199. package/dist/features/format/bold/feature.client.d.ts.map +1 -0
  200. package/dist/features/format/bold/feature.client.js +44 -0
  201. package/dist/features/format/bold/feature.client.js.map +1 -0
  202. package/dist/features/format/bold/feature.server.d.ts +2 -0
  203. package/dist/features/format/bold/feature.server.d.ts.map +1 -0
  204. package/dist/features/format/bold/feature.server.js +25 -0
  205. package/dist/features/format/bold/feature.server.js.map +1 -0
  206. package/dist/features/format/bold/markdownTransformers.d.ts.map +1 -0
  207. package/dist/features/format/bold/markdownTransformers.js.map +1 -0
  208. package/dist/features/format/inlineCode/feature.client.d.ts +5 -0
  209. package/dist/features/format/inlineCode/feature.client.d.ts.map +1 -0
  210. package/dist/features/format/inlineCode/feature.client.js +37 -0
  211. package/dist/features/format/inlineCode/feature.client.js.map +1 -0
  212. package/dist/features/format/inlineCode/feature.server.d.ts +2 -0
  213. package/dist/features/format/inlineCode/feature.server.d.ts.map +1 -0
  214. package/dist/features/format/inlineCode/feature.server.js +15 -0
  215. package/dist/features/format/inlineCode/feature.server.js.map +1 -0
  216. package/dist/features/format/inlineCode/markdownTransformers.d.ts.map +1 -0
  217. package/dist/features/format/inlineCode/markdownTransformers.js.map +1 -0
  218. package/dist/features/format/italic/feature.client.d.ts +5 -0
  219. package/dist/features/format/italic/feature.client.d.ts.map +1 -0
  220. package/dist/features/format/italic/feature.client.js +38 -0
  221. package/dist/features/format/italic/feature.client.js.map +1 -0
  222. package/dist/features/format/italic/feature.server.d.ts +2 -0
  223. package/dist/features/format/italic/feature.server.d.ts.map +1 -0
  224. package/dist/features/format/italic/feature.server.js +16 -0
  225. package/dist/features/format/italic/feature.server.js.map +1 -0
  226. package/dist/features/format/italic/markdownTransformers.d.ts.map +1 -0
  227. package/dist/features/format/italic/markdownTransformers.js.map +1 -0
  228. package/dist/features/format/shared/toolbarFormatGroup.d.ts.map +1 -0
  229. package/dist/features/format/shared/toolbarFormatGroup.js.map +1 -0
  230. package/dist/features/format/strikethrough/feature.client.d.ts +5 -0
  231. package/dist/features/format/strikethrough/feature.client.d.ts.map +1 -0
  232. package/dist/features/format/strikethrough/feature.client.js +37 -0
  233. package/dist/features/format/strikethrough/feature.client.js.map +1 -0
  234. package/dist/features/format/strikethrough/feature.server.d.ts +2 -0
  235. package/dist/features/format/strikethrough/feature.server.d.ts.map +1 -0
  236. package/dist/features/format/strikethrough/feature.server.js +15 -0
  237. package/dist/features/format/strikethrough/feature.server.js.map +1 -0
  238. package/dist/features/format/strikethrough/markdownTransformers.d.ts.map +1 -0
  239. package/dist/features/format/strikethrough/markdownTransformers.js.map +1 -0
  240. package/dist/features/format/subscript/feature.client.d.ts +5 -0
  241. package/dist/features/format/subscript/feature.client.d.ts.map +1 -0
  242. package/dist/features/format/subscript/feature.client.js +33 -0
  243. package/dist/features/format/subscript/feature.client.js.map +1 -0
  244. package/dist/features/format/subscript/feature.server.d.ts +2 -0
  245. package/dist/features/format/subscript/feature.server.d.ts.map +1 -0
  246. package/dist/features/format/subscript/feature.server.js +11 -0
  247. package/dist/features/format/subscript/feature.server.js.map +1 -0
  248. package/dist/features/format/superscript/feature.client.d.ts +5 -0
  249. package/dist/features/format/superscript/feature.client.d.ts.map +1 -0
  250. package/dist/features/format/superscript/feature.client.js +33 -0
  251. package/dist/features/format/superscript/feature.client.js.map +1 -0
  252. package/dist/features/format/superscript/feature.server.d.ts +2 -0
  253. package/dist/features/format/superscript/feature.server.d.ts.map +1 -0
  254. package/dist/features/format/superscript/feature.server.js +11 -0
  255. package/dist/features/format/superscript/feature.server.js.map +1 -0
  256. package/dist/features/format/underline/feature.client.d.ts +5 -0
  257. package/dist/features/format/underline/feature.client.d.ts.map +1 -0
  258. package/dist/features/format/underline/feature.client.js +33 -0
  259. package/dist/features/format/underline/feature.client.js.map +1 -0
  260. package/dist/features/format/underline/feature.server.d.ts +2 -0
  261. package/dist/features/format/underline/feature.server.d.ts.map +1 -0
  262. package/dist/features/format/underline/feature.server.js +11 -0
  263. package/dist/features/format/underline/feature.server.js.map +1 -0
  264. package/dist/features/heading/feature.client.d.ts +6 -0
  265. package/dist/features/heading/feature.client.d.ts.map +1 -0
  266. package/dist/features/heading/feature.client.js +112 -0
  267. package/dist/features/heading/feature.client.js.map +1 -0
  268. package/dist/features/heading/feature.server.d.ts +10 -0
  269. package/dist/features/heading/feature.server.d.ts.map +1 -0
  270. package/dist/features/heading/feature.server.js +62 -0
  271. package/dist/features/heading/feature.server.js.map +1 -0
  272. package/dist/features/heading/i18n.d.ts.map +1 -0
  273. package/dist/features/heading/i18n.js +100 -0
  274. package/dist/features/heading/i18n.js.map +1 -0
  275. package/dist/features/heading/markdownTransformer.d.ts.map +1 -0
  276. package/dist/features/heading/markdownTransformer.js.map +1 -0
  277. package/dist/features/horizontalRule/component/index.d.ts.map +1 -0
  278. package/dist/features/horizontalRule/component/index.js.map +1 -0
  279. package/dist/features/horizontalRule/feature.client.d.ts +5 -0
  280. package/dist/features/horizontalRule/feature.client.d.ts.map +1 -0
  281. package/dist/features/horizontalRule/feature.client.js +70 -0
  282. package/dist/features/horizontalRule/feature.client.js.map +1 -0
  283. package/dist/features/horizontalRule/feature.server.d.ts +2 -0
  284. package/dist/features/horizontalRule/feature.server.d.ts.map +1 -0
  285. package/dist/features/horizontalRule/feature.server.js +34 -0
  286. package/dist/features/horizontalRule/feature.server.js.map +1 -0
  287. package/dist/features/horizontalRule/i18n.d.ts.map +1 -0
  288. package/dist/features/horizontalRule/i18n.js.map +1 -0
  289. package/dist/features/horizontalRule/markdownTransformer.d.ts.map +1 -0
  290. package/dist/features/horizontalRule/markdownTransformer.js.map +1 -0
  291. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.d.ts +56 -0
  292. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.d.ts.map +1 -0
  293. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.js.map +1 -0
  294. package/dist/features/horizontalRule/plugin/index.d.ts +7 -0
  295. package/dist/features/horizontalRule/plugin/index.d.ts.map +1 -0
  296. package/dist/features/horizontalRule/plugin/index.js.map +1 -0
  297. package/dist/features/indent/feature.client.d.ts +5 -0
  298. package/dist/features/indent/feature.client.d.ts.map +1 -0
  299. package/dist/features/indent/feature.client.js +56 -0
  300. package/dist/features/indent/feature.client.js.map +1 -0
  301. package/dist/features/indent/feature.server.d.ts +2 -0
  302. package/dist/features/indent/feature.server.d.ts.map +1 -0
  303. package/dist/features/indent/feature.server.js +13 -0
  304. package/dist/features/indent/feature.server.js.map +1 -0
  305. package/dist/features/indent/i18n.d.ts.map +1 -0
  306. package/dist/features/indent/i18n.js.map +1 -0
  307. package/dist/features/indent/toolbarIndentGroup.d.ts.map +1 -0
  308. package/dist/features/indent/toolbarIndentGroup.js.map +1 -0
  309. package/dist/features/link/drawer/baseFields.d.ts +3 -0
  310. package/dist/features/link/drawer/baseFields.d.ts.map +1 -0
  311. package/dist/features/link/drawer/baseFields.js.map +1 -0
  312. package/dist/features/link/feature.client.d.ts +16 -0
  313. package/dist/features/link/feature.client.d.ts.map +1 -0
  314. package/dist/features/link/feature.client.js +101 -0
  315. package/dist/features/link/feature.client.js.map +1 -0
  316. package/dist/features/link/feature.server.d.ts +35 -0
  317. package/dist/features/link/feature.server.d.ts.map +1 -0
  318. package/dist/features/link/feature.server.js +134 -0
  319. package/dist/features/link/feature.server.js.map +1 -0
  320. package/dist/features/link/graphQLPopulationPromise.d.ts +5 -0
  321. package/dist/features/link/graphQLPopulationPromise.d.ts.map +1 -0
  322. package/dist/features/link/graphQLPopulationPromise.js +31 -0
  323. package/dist/features/link/graphQLPopulationPromise.js.map +1 -0
  324. package/dist/features/link/i18n.d.ts.map +1 -0
  325. package/dist/features/link/i18n.js.map +1 -0
  326. package/dist/features/link/markdownTransformer.d.ts.map +1 -0
  327. package/dist/features/link/markdownTransformer.js.map +1 -0
  328. package/dist/features/link/nodes/AutoLinkNode.d.ts.map +1 -0
  329. package/dist/features/link/nodes/AutoLinkNode.js +68 -0
  330. package/dist/features/link/nodes/AutoLinkNode.js.map +1 -0
  331. package/dist/features/link/nodes/LinkNode.d.ts.map +1 -0
  332. package/dist/features/link/nodes/LinkNode.js +317 -0
  333. package/dist/features/link/nodes/LinkNode.js.map +1 -0
  334. package/dist/features/link/nodes/types.d.ts +24 -0
  335. package/dist/features/link/nodes/types.d.ts.map +1 -0
  336. package/dist/features/link/nodes/types.js.map +1 -0
  337. package/dist/features/link/plugins/autoLink/index.d.ts +20 -0
  338. package/dist/features/link/plugins/autoLink/index.d.ts.map +1 -0
  339. package/dist/features/link/plugins/autoLink/index.js +336 -0
  340. package/dist/features/link/plugins/autoLink/index.js.map +1 -0
  341. package/dist/features/link/plugins/clickableLink/index.d.ts +4 -0
  342. package/dist/features/link/plugins/clickableLink/index.d.ts.map +1 -0
  343. package/dist/features/link/plugins/clickableLink/index.js.map +1 -0
  344. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +1 -0
  345. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +1 -0
  346. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -0
  347. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +299 -0
  348. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +1 -0
  349. package/dist/features/link/plugins/floatingLinkEditor/index.d.ts +5 -0
  350. package/dist/features/link/plugins/floatingLinkEditor/index.d.ts.map +1 -0
  351. package/dist/features/link/plugins/floatingLinkEditor/index.js.map +1 -0
  352. package/dist/features/link/plugins/floatingLinkEditor/types.d.ts.map +1 -0
  353. package/dist/features/link/plugins/floatingLinkEditor/types.js.map +1 -0
  354. package/dist/features/link/plugins/floatingLinkEditor/utilities.d.ts +9 -0
  355. package/dist/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +1 -0
  356. package/dist/features/link/plugins/floatingLinkEditor/utilities.js.map +1 -0
  357. package/dist/features/link/plugins/link/index.d.ts +4 -0
  358. package/dist/features/link/plugins/link/index.d.ts.map +1 -0
  359. package/dist/features/link/plugins/link/index.js.map +1 -0
  360. package/dist/features/link/validate.d.ts +6 -0
  361. package/dist/features/link/validate.d.ts.map +1 -0
  362. package/dist/features/link/validate.js +29 -0
  363. package/dist/features/link/validate.js.map +1 -0
  364. package/dist/features/lists/checklist/feature.client.d.ts +5 -0
  365. package/dist/features/lists/checklist/feature.client.d.ts.map +1 -0
  366. package/dist/features/lists/checklist/feature.client.js +100 -0
  367. package/dist/features/lists/checklist/feature.client.js.map +1 -0
  368. package/dist/features/lists/checklist/feature.server.d.ts +2 -0
  369. package/dist/features/lists/checklist/feature.server.d.ts.map +1 -0
  370. package/dist/features/lists/checklist/feature.server.js +36 -0
  371. package/dist/features/lists/checklist/feature.server.js.map +1 -0
  372. package/dist/features/lists/checklist/i18n.d.ts.map +1 -0
  373. package/dist/features/lists/checklist/i18n.js.map +1 -0
  374. package/dist/features/lists/checklist/markdownTransformers.d.ts.map +1 -0
  375. package/dist/features/lists/checklist/markdownTransformers.js.map +1 -0
  376. package/dist/features/lists/checklist/plugin/index.d.ts +3 -0
  377. package/dist/features/lists/checklist/plugin/index.d.ts.map +1 -0
  378. package/dist/features/lists/checklist/plugin/index.js.map +1 -0
  379. package/dist/features/lists/htmlConverter.d.ts +5 -0
  380. package/dist/features/lists/htmlConverter.d.ts.map +1 -0
  381. package/dist/features/lists/htmlConverter.js +62 -0
  382. package/dist/features/lists/htmlConverter.js.map +1 -0
  383. package/dist/features/lists/orderedList/feature.client.d.ts +5 -0
  384. package/dist/features/lists/orderedList/feature.client.d.ts.map +1 -0
  385. package/dist/features/lists/orderedList/feature.client.js +90 -0
  386. package/dist/features/lists/orderedList/feature.client.js.map +1 -0
  387. package/dist/features/lists/orderedList/feature.server.d.ts +2 -0
  388. package/dist/features/lists/orderedList/feature.server.d.ts.map +1 -0
  389. package/dist/features/lists/orderedList/feature.server.js +36 -0
  390. package/dist/features/lists/orderedList/feature.server.js.map +1 -0
  391. package/dist/features/lists/orderedList/i18n.d.ts.map +1 -0
  392. package/dist/features/lists/orderedList/i18n.js.map +1 -0
  393. package/dist/features/lists/orderedList/markdownTransformer.d.ts.map +1 -0
  394. package/dist/features/lists/orderedList/markdownTransformer.js.map +1 -0
  395. package/dist/features/lists/plugin/index.d.ts +13 -0
  396. package/dist/features/lists/plugin/index.d.ts.map +1 -0
  397. package/dist/features/lists/plugin/index.js.map +1 -0
  398. package/dist/features/lists/shared/markdown.d.ts +6 -0
  399. package/dist/features/lists/shared/markdown.d.ts.map +1 -0
  400. package/dist/features/lists/shared/markdown.js.map +1 -0
  401. package/dist/features/lists/shared/slashMenuListGroup.d.ts.map +1 -0
  402. package/dist/features/lists/shared/slashMenuListGroup.js.map +1 -0
  403. package/dist/features/lists/unorderedList/feature.client.d.ts +5 -0
  404. package/dist/features/lists/unorderedList/feature.client.d.ts.map +1 -0
  405. package/dist/features/lists/unorderedList/feature.client.js +88 -0
  406. package/dist/features/lists/unorderedList/feature.client.js.map +1 -0
  407. package/dist/features/lists/unorderedList/feature.server.d.ts +2 -0
  408. package/dist/features/lists/unorderedList/feature.server.d.ts.map +1 -0
  409. package/dist/features/lists/unorderedList/feature.server.js +34 -0
  410. package/dist/features/lists/unorderedList/feature.server.js.map +1 -0
  411. package/dist/features/lists/unorderedList/i18n.d.ts.map +1 -0
  412. package/dist/features/lists/unorderedList/i18n.js.map +1 -0
  413. package/dist/features/lists/unorderedList/markdownTransformer.d.ts.map +1 -0
  414. package/dist/features/lists/unorderedList/markdownTransformer.js.map +1 -0
  415. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +5 -0
  416. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +1 -0
  417. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +1 -0
  418. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  419. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +1 -0
  420. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +1 -0
  421. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +8 -0
  422. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +1 -0
  423. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +5 -0
  424. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +1 -0
  425. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +1 -0
  426. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +1 -0
  427. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +1 -0
  428. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +1 -0
  429. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js +8 -0
  430. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +1 -0
  431. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +5 -0
  432. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +1 -0
  433. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +1 -0
  434. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +1 -0
  435. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +1 -0
  436. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +1 -0
  437. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js +8 -0
  438. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +1 -0
  439. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +5 -0
  440. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +1 -0
  441. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +1 -0
  442. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  443. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +1 -0
  444. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +1 -0
  445. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +8 -0
  446. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +1 -0
  447. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +5 -0
  448. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +1 -0
  449. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +1 -0
  450. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +1 -0
  451. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +1 -0
  452. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +1 -0
  453. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +8 -0
  454. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +1 -0
  455. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +5 -0
  456. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +1 -0
  457. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +1 -0
  458. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  459. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +1 -0
  460. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +1 -0
  461. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +8 -0
  462. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +1 -0
  463. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +5 -0
  464. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +1 -0
  465. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +1 -0
  466. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  467. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +1 -0
  468. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +1 -0
  469. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +8 -0
  470. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +1 -0
  471. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +1 -0
  472. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +1 -0
  473. package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +1 -0
  474. package/dist/features/migrations/lexicalPluginToLexical/converter/index.js.map +1 -0
  475. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts +31 -0
  476. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +1 -0
  477. package/dist/features/migrations/lexicalPluginToLexical/converter/types.js.map +1 -0
  478. package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts +5 -0
  479. package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +1 -0
  480. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js +27 -0
  481. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js.map +1 -0
  482. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts +8 -0
  483. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +1 -0
  484. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js +45 -0
  485. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js.map +1 -0
  486. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  487. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
  488. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  489. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
  490. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +5 -0
  491. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +1 -0
  492. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +1 -0
  493. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +1 -0
  494. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +1 -0
  495. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +1 -0
  496. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.js +8 -0
  497. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +1 -0
  498. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.d.ts +5 -0
  499. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +1 -0
  500. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.js.map +1 -0
  501. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  502. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +1 -0
  503. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +1 -0
  504. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.js +8 -0
  505. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.js.map +1 -0
  506. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.d.ts +5 -0
  507. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +1 -0
  508. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.js.map +1 -0
  509. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +1 -0
  510. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +1 -0
  511. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +1 -0
  512. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.js +8 -0
  513. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.js.map +1 -0
  514. package/dist/features/migrations/slateToLexical/converter/converters/link/client.d.ts +5 -0
  515. package/dist/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +1 -0
  516. package/dist/features/migrations/slateToLexical/converter/converters/link/client.js.map +1 -0
  517. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +1 -0
  518. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js.map +1 -0
  519. package/dist/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +1 -0
  520. package/dist/features/migrations/slateToLexical/converter/converters/link/index.js +8 -0
  521. package/dist/features/migrations/slateToLexical/converter/converters/link/index.js.map +1 -0
  522. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts +5 -0
  523. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +1 -0
  524. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +1 -0
  525. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  526. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +1 -0
  527. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +1 -0
  528. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.js +8 -0
  529. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +1 -0
  530. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +5 -0
  531. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +1 -0
  532. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +1 -0
  533. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +1 -0
  534. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +1 -0
  535. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +1 -0
  536. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.js +8 -0
  537. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +1 -0
  538. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts +5 -0
  539. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +1 -0
  540. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +1 -0
  541. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +1 -0
  542. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +1 -0
  543. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +1 -0
  544. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.js +8 -0
  545. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +1 -0
  546. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts +5 -0
  547. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +1 -0
  548. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +1 -0
  549. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  550. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +1 -0
  551. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +1 -0
  552. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.js +8 -0
  553. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +1 -0
  554. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +5 -0
  555. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +1 -0
  556. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +1 -0
  557. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +1 -0
  558. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +1 -0
  559. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +1 -0
  560. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.js +8 -0
  561. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +1 -0
  562. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.d.ts +5 -0
  563. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +1 -0
  564. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.js.map +1 -0
  565. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  566. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +1 -0
  567. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +1 -0
  568. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.js +8 -0
  569. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.js.map +1 -0
  570. package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +1 -0
  571. package/dist/features/migrations/slateToLexical/converter/defaultConverters.js.map +1 -0
  572. package/dist/features/migrations/slateToLexical/converter/index.d.ts.map +1 -0
  573. package/dist/features/migrations/slateToLexical/converter/index.js +109 -0
  574. package/dist/features/migrations/slateToLexical/converter/index.js.map +1 -0
  575. package/dist/features/migrations/slateToLexical/converter/types.d.ts +25 -0
  576. package/dist/features/migrations/slateToLexical/converter/types.d.ts.map +1 -0
  577. package/dist/features/migrations/slateToLexical/converter/types.js.map +1 -0
  578. package/dist/features/migrations/slateToLexical/feature.client.d.ts +5 -0
  579. package/dist/features/migrations/slateToLexical/feature.client.d.ts.map +1 -0
  580. package/dist/features/migrations/slateToLexical/feature.client.js +27 -0
  581. package/dist/features/migrations/slateToLexical/feature.client.js.map +1 -0
  582. package/dist/features/migrations/slateToLexical/feature.server.d.ts +10 -0
  583. package/dist/features/migrations/slateToLexical/feature.server.d.ts.map +1 -0
  584. package/dist/features/migrations/slateToLexical/feature.server.js +47 -0
  585. package/dist/features/migrations/slateToLexical/feature.server.js.map +1 -0
  586. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  587. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
  588. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  589. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
  590. package/dist/features/paragraph/feature.client.d.ts +5 -0
  591. package/dist/features/paragraph/feature.client.d.ts.map +1 -0
  592. package/dist/features/paragraph/feature.client.js +71 -0
  593. package/dist/features/paragraph/feature.client.js.map +1 -0
  594. package/dist/features/paragraph/feature.server.d.ts +2 -0
  595. package/dist/features/paragraph/feature.server.d.ts.map +1 -0
  596. package/dist/features/paragraph/feature.server.js +14 -0
  597. package/dist/features/paragraph/feature.server.js.map +1 -0
  598. package/dist/features/paragraph/i18n.d.ts.map +1 -0
  599. package/dist/features/paragraph/i18n.js.map +1 -0
  600. package/dist/features/relationship/drawer/commands.d.ts.map +1 -0
  601. package/dist/features/relationship/drawer/commands.js.map +1 -0
  602. package/dist/features/relationship/drawer/index.d.ts.map +1 -0
  603. package/dist/features/relationship/drawer/index.js +83 -0
  604. package/dist/features/relationship/drawer/index.js.map +1 -0
  605. package/dist/features/relationship/feature.client.d.ts +18 -0
  606. package/dist/features/relationship/feature.client.d.ts.map +1 -0
  607. package/dist/features/relationship/feature.client.js +72 -0
  608. package/dist/features/relationship/feature.client.js.map +1 -0
  609. package/dist/features/relationship/feature.server.d.ts +27 -0
  610. package/dist/features/relationship/feature.server.d.ts.map +1 -0
  611. package/dist/features/relationship/feature.server.js +55 -0
  612. package/dist/features/relationship/feature.server.js.map +1 -0
  613. package/dist/features/relationship/graphQLPopulationPromise.d.ts +5 -0
  614. package/dist/features/relationship/graphQLPopulationPromise.d.ts.map +1 -0
  615. package/dist/features/relationship/graphQLPopulationPromise.js +29 -0
  616. package/dist/features/relationship/graphQLPopulationPromise.js.map +1 -0
  617. package/dist/features/relationship/i18n.d.ts.map +1 -0
  618. package/dist/features/relationship/i18n.js.map +1 -0
  619. package/dist/features/relationship/nodes/RelationshipNode.d.ts +35 -0
  620. package/dist/features/relationship/nodes/RelationshipNode.d.ts.map +1 -0
  621. package/dist/features/relationship/nodes/RelationshipNode.js +111 -0
  622. package/dist/features/relationship/nodes/RelationshipNode.js.map +1 -0
  623. package/dist/features/relationship/nodes/components/RelationshipComponent.d.ts +13 -0
  624. package/dist/features/relationship/nodes/components/RelationshipComponent.d.ts.map +1 -0
  625. package/dist/features/relationship/nodes/components/RelationshipComponent.js +171 -0
  626. package/dist/features/relationship/nodes/components/RelationshipComponent.js.map +1 -0
  627. package/dist/features/relationship/plugins/index.d.ts +7 -0
  628. package/dist/features/relationship/plugins/index.d.ts.map +1 -0
  629. package/dist/features/relationship/plugins/index.js +50 -0
  630. package/dist/features/relationship/plugins/index.js.map +1 -0
  631. package/dist/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +1 -0
  632. package/dist/features/relationship/utils/EnabledRelationshipsCondition.js +33 -0
  633. package/dist/features/relationship/utils/EnabledRelationshipsCondition.js.map +1 -0
  634. package/dist/features/shared/slashMenu/basicGroup.d.ts.map +1 -0
  635. package/dist/features/shared/slashMenu/basicGroup.js.map +1 -0
  636. package/dist/features/shared/toolbar/addDropdownGroup.d.ts.map +1 -0
  637. package/dist/features/shared/toolbar/addDropdownGroup.js.map +1 -0
  638. package/dist/features/shared/toolbar/featureButtonsGroup.d.ts.map +1 -0
  639. package/dist/features/shared/toolbar/featureButtonsGroup.js.map +1 -0
  640. package/dist/features/shared/toolbar/textDropdownGroup.d.ts.map +1 -0
  641. package/dist/features/shared/toolbar/textDropdownGroup.js.map +1 -0
  642. package/dist/features/toolbars/fixed/Toolbar/index.d.ts +5 -0
  643. package/dist/features/toolbars/fixed/Toolbar/index.d.ts.map +1 -0
  644. package/dist/features/toolbars/fixed/Toolbar/index.js +207 -0
  645. package/dist/features/toolbars/fixed/Toolbar/index.js.map +1 -0
  646. package/dist/features/toolbars/fixed/feature.client.d.ts +6 -0
  647. package/dist/features/toolbars/fixed/feature.client.d.ts.map +1 -0
  648. package/dist/features/toolbars/fixed/feature.client.js +13 -0
  649. package/dist/features/toolbars/fixed/feature.client.js.map +1 -0
  650. package/dist/features/toolbars/fixed/feature.server.d.ts +18 -0
  651. package/dist/features/toolbars/fixed/feature.server.d.ts.map +1 -0
  652. package/dist/features/toolbars/fixed/feature.server.js +19 -0
  653. package/dist/features/toolbars/fixed/feature.server.js.map +1 -0
  654. package/dist/features/toolbars/inline/Toolbar/index.d.ts +4 -0
  655. package/dist/features/toolbars/inline/Toolbar/index.d.ts.map +1 -0
  656. package/dist/features/toolbars/inline/Toolbar/index.js.map +1 -0
  657. package/dist/features/toolbars/inline/feature.client.d.ts +5 -0
  658. package/dist/features/toolbars/inline/feature.client.d.ts.map +1 -0
  659. package/dist/features/toolbars/inline/feature.client.js +13 -0
  660. package/dist/features/toolbars/inline/feature.client.js.map +1 -0
  661. package/dist/features/toolbars/inline/feature.server.d.ts +2 -0
  662. package/dist/features/toolbars/inline/feature.server.d.ts.map +1 -0
  663. package/dist/features/toolbars/inline/feature.server.js +11 -0
  664. package/dist/features/toolbars/inline/feature.server.js.map +1 -0
  665. package/dist/features/toolbars/shared/ToolbarButton/index.d.ts.map +1 -0
  666. package/dist/features/toolbars/shared/ToolbarButton/index.js.map +1 -0
  667. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +1 -0
  668. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js +223 -0
  669. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +1 -0
  670. package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +1 -0
  671. package/dist/features/toolbars/shared/ToolbarDropdown/index.js +141 -0
  672. package/dist/features/toolbars/shared/ToolbarDropdown/index.js.map +1 -0
  673. package/dist/features/toolbars/types.d.ts +80 -0
  674. package/dist/features/toolbars/types.d.ts.map +1 -0
  675. package/dist/features/toolbars/types.js.map +1 -0
  676. package/dist/features/typeUtilities.d.ts +8 -0
  677. package/dist/features/typeUtilities.d.ts.map +1 -0
  678. package/dist/features/typeUtilities.js.map +1 -0
  679. package/dist/features/typesClient.d.ts +186 -0
  680. package/dist/features/typesClient.d.ts.map +1 -0
  681. package/dist/features/typesClient.js +3 -0
  682. package/dist/features/typesClient.js.map +1 -0
  683. package/dist/features/typesServer.d.ts +316 -0
  684. package/dist/features/typesServer.d.ts.map +1 -0
  685. package/dist/features/typesServer.js +3 -0
  686. package/dist/features/typesServer.js.map +1 -0
  687. package/dist/features/upload/component/index.d.ts.map +1 -0
  688. package/dist/features/upload/component/index.js +242 -0
  689. package/dist/features/upload/component/index.js.map +1 -0
  690. package/dist/features/upload/drawer/commands.d.ts.map +1 -0
  691. package/dist/features/upload/drawer/commands.js.map +1 -0
  692. package/dist/features/upload/drawer/index.d.ts.map +1 -0
  693. package/dist/features/upload/drawer/index.js +77 -0
  694. package/dist/features/upload/drawer/index.js.map +1 -0
  695. package/dist/features/upload/feature.client.d.ts +12 -0
  696. package/dist/features/upload/feature.client.d.ts.map +1 -0
  697. package/dist/features/upload/feature.client.js +74 -0
  698. package/dist/features/upload/feature.client.js.map +1 -0
  699. package/dist/features/upload/feature.server.d.ts +18 -0
  700. package/dist/features/upload/feature.server.d.ts.map +1 -0
  701. package/dist/features/upload/feature.server.js +184 -0
  702. package/dist/features/upload/feature.server.js.map +1 -0
  703. package/dist/features/upload/graphQLPopulationPromise.d.ts +5 -0
  704. package/dist/features/upload/graphQLPopulationPromise.d.ts.map +1 -0
  705. package/dist/features/upload/graphQLPopulationPromise.js +52 -0
  706. package/dist/features/upload/graphQLPopulationPromise.js.map +1 -0
  707. package/dist/features/upload/i18n.d.ts.map +1 -0
  708. package/dist/features/upload/i18n.js.map +1 -0
  709. package/dist/features/upload/nodes/UploadNode.d.ts +39 -0
  710. package/dist/features/upload/nodes/UploadNode.d.ts.map +1 -0
  711. package/dist/features/upload/nodes/UploadNode.js +131 -0
  712. package/dist/features/upload/nodes/UploadNode.js.map +1 -0
  713. package/dist/features/upload/plugin/index.d.ts +8 -0
  714. package/dist/features/upload/plugin/index.d.ts.map +1 -0
  715. package/dist/features/upload/plugin/index.js +53 -0
  716. package/dist/features/upload/plugin/index.js.map +1 -0
  717. package/dist/features/upload/validate.d.ts +5 -0
  718. package/dist/features/upload/validate.d.ts.map +1 -0
  719. package/dist/features/upload/validate.js +45 -0
  720. package/dist/features/upload/validate.js.map +1 -0
  721. package/dist/field/Field.d.ts +5 -5
  722. package/dist/field/Field.d.ts.map +1 -1
  723. package/dist/field/Field.js +16 -14
  724. package/dist/field/Field.js.map +1 -1
  725. package/dist/field/index.d.ts +3 -3
  726. package/dist/field/index.d.ts.map +1 -1
  727. package/dist/field/index.js +11 -9
  728. package/dist/field/index.js.map +1 -1
  729. package/dist/i18n.js.map +1 -1
  730. package/dist/index.d.ts +73 -66
  731. package/dist/index.d.ts.map +1 -1
  732. package/dist/index.js +110 -79
  733. package/dist/index.js.map +1 -1
  734. package/dist/lexical/EditorPlugin.d.ts +8 -0
  735. package/dist/lexical/EditorPlugin.d.ts.map +1 -0
  736. package/dist/lexical/EditorPlugin.js +15 -0
  737. package/dist/lexical/EditorPlugin.js.map +1 -0
  738. package/dist/lexical/LexicalEditor.d.ts +7 -0
  739. package/dist/lexical/LexicalEditor.d.ts.map +1 -0
  740. package/dist/lexical/LexicalEditor.js +186 -0
  741. package/dist/lexical/LexicalEditor.js.map +1 -0
  742. package/dist/lexical/LexicalProvider.d.ts +18 -0
  743. package/dist/lexical/LexicalProvider.d.ts.map +1 -0
  744. package/dist/lexical/LexicalProvider.js +98 -0
  745. package/dist/lexical/LexicalProvider.js.map +1 -0
  746. package/dist/lexical/config/client/EditorConfigProvider.d.ts +35 -0
  747. package/dist/lexical/config/client/EditorConfigProvider.d.ts.map +1 -0
  748. package/dist/lexical/config/client/EditorConfigProvider.js.map +1 -0
  749. package/dist/lexical/config/client/default.d.ts.map +1 -0
  750. package/dist/lexical/config/client/default.js.map +1 -0
  751. package/dist/lexical/config/client/loader.d.ts +12 -0
  752. package/dist/lexical/config/client/loader.d.ts.map +1 -0
  753. package/dist/lexical/config/client/loader.js +46 -0
  754. package/dist/lexical/config/client/loader.js.map +1 -0
  755. package/dist/lexical/config/client/sanitize.d.ts +7 -0
  756. package/dist/lexical/config/client/sanitize.d.ts.map +1 -0
  757. package/dist/lexical/config/client/sanitize.js +180 -0
  758. package/dist/lexical/config/client/sanitize.js.map +1 -0
  759. package/dist/lexical/config/server/default.d.ts +7 -0
  760. package/dist/lexical/config/server/default.d.ts.map +1 -0
  761. package/dist/lexical/config/server/default.js.map +1 -0
  762. package/dist/lexical/config/server/loader.d.ts +10 -0
  763. package/dist/lexical/config/server/loader.d.ts.map +1 -0
  764. package/dist/lexical/config/server/loader.js +120 -0
  765. package/dist/lexical/config/server/loader.js.map +1 -0
  766. package/dist/lexical/config/server/sanitize.d.ts +6 -0
  767. package/dist/lexical/config/server/sanitize.d.ts.map +1 -0
  768. package/dist/lexical/config/server/sanitize.js.map +1 -0
  769. package/dist/lexical/config/types.d.ts +24 -0
  770. package/dist/lexical/config/types.d.ts.map +1 -0
  771. package/dist/lexical/config/types.js.map +1 -0
  772. package/dist/lexical/nodes/index.d.ts.map +1 -0
  773. package/dist/lexical/nodes/index.js.map +1 -0
  774. package/dist/lexical/plugins/MarkdownShortcut/index.d.ts.map +1 -0
  775. package/dist/lexical/plugins/MarkdownShortcut/index.js.map +1 -0
  776. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +32 -0
  777. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +1 -0
  778. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +399 -0
  779. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +1 -0
  780. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +24 -0
  781. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +1 -0
  782. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +186 -0
  783. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +1 -0
  784. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +46 -0
  785. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +1 -0
  786. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +1 -0
  787. package/dist/lexical/plugins/SlashMenu/index.d.ts.map +1 -0
  788. package/dist/lexical/plugins/SlashMenu/index.js +189 -0
  789. package/dist/lexical/plugins/SlashMenu/index.js.map +1 -0
  790. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +1 -0
  791. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +1 -0
  792. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +1 -0
  793. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +1 -0
  794. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +1 -0
  795. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +1 -0
  796. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +1 -0
  797. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +1 -0
  798. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +1 -0
  799. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +1 -0
  800. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +1 -0
  801. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js +342 -0
  802. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +1 -0
  803. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +9 -0
  804. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +1 -0
  805. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +1 -0
  806. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts.map +1 -0
  807. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js.map +1 -0
  808. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +1 -0
  809. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +1 -0
  810. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +1 -0
  811. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.js.map +1 -0
  812. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts.map +1 -0
  813. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.js.map +1 -0
  814. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +1 -0
  815. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +1 -0
  816. package/dist/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +1 -0
  817. package/dist/lexical/plugins/handles/utils/isOnHandleElement.js.map +1 -0
  818. package/dist/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +1 -0
  819. package/dist/lexical/plugins/handles/utils/setHandlePosition.js.map +1 -0
  820. package/dist/lexical/theme/EditorTheme.d.ts.map +1 -0
  821. package/dist/lexical/theme/EditorTheme.js.map +1 -0
  822. package/dist/lexical/ui/ContentEditable.d.ts.map +1 -0
  823. package/dist/lexical/ui/ContentEditable.js +17 -0
  824. package/dist/lexical/ui/ContentEditable.js.map +1 -0
  825. package/dist/lexical/ui/icons/AI/index.d.ts.map +1 -0
  826. package/dist/lexical/ui/icons/AI/index.js.map +1 -0
  827. package/dist/lexical/ui/icons/Add/index.d.ts.map +1 -0
  828. package/dist/lexical/ui/icons/Add/index.js.map +1 -0
  829. package/dist/lexical/ui/icons/AlignCenter/index.d.ts.map +1 -0
  830. package/dist/lexical/ui/icons/AlignCenter/index.js.map +1 -0
  831. package/dist/lexical/ui/icons/AlignJustify/index.d.ts.map +1 -0
  832. package/dist/lexical/ui/icons/AlignJustify/index.js.map +1 -0
  833. package/dist/lexical/ui/icons/AlignLeft/index.d.ts.map +1 -0
  834. package/dist/lexical/ui/icons/AlignLeft/index.js.map +1 -0
  835. package/dist/lexical/ui/icons/AlignRight/index.d.ts.map +1 -0
  836. package/dist/lexical/ui/icons/AlignRight/index.js.map +1 -0
  837. package/dist/lexical/ui/icons/Block/index.d.ts.map +1 -0
  838. package/dist/lexical/ui/icons/Block/index.js.map +1 -0
  839. package/dist/lexical/ui/icons/Blockquote/index.d.ts.map +1 -0
  840. package/dist/lexical/ui/icons/Blockquote/index.js.map +1 -0
  841. package/dist/lexical/ui/icons/Bold/index.d.ts.map +1 -0
  842. package/dist/lexical/ui/icons/Bold/index.js.map +1 -0
  843. package/dist/lexical/ui/icons/Checklist/index.d.ts.map +1 -0
  844. package/dist/lexical/ui/icons/Checklist/index.js.map +1 -0
  845. package/dist/lexical/ui/icons/Code/index.d.ts.map +1 -0
  846. package/dist/lexical/ui/icons/Code/index.js.map +1 -0
  847. package/dist/lexical/ui/icons/CodeBlock/index.d.ts.map +1 -0
  848. package/dist/lexical/ui/icons/CodeBlock/index.js.map +1 -0
  849. package/dist/lexical/ui/icons/H1/index.d.ts.map +1 -0
  850. package/dist/lexical/ui/icons/H1/index.js.map +1 -0
  851. package/dist/lexical/ui/icons/H2/index.d.ts.map +1 -0
  852. package/dist/lexical/ui/icons/H2/index.js.map +1 -0
  853. package/dist/lexical/ui/icons/H3/index.d.ts.map +1 -0
  854. package/dist/lexical/ui/icons/H3/index.js.map +1 -0
  855. package/dist/lexical/ui/icons/H4/index.d.ts.map +1 -0
  856. package/dist/lexical/ui/icons/H4/index.js.map +1 -0
  857. package/dist/lexical/ui/icons/H5/index.d.ts.map +1 -0
  858. package/dist/lexical/ui/icons/H5/index.js.map +1 -0
  859. package/dist/lexical/ui/icons/H6/index.d.ts.map +1 -0
  860. package/dist/lexical/ui/icons/H6/index.js.map +1 -0
  861. package/dist/lexical/ui/icons/HorizontalRule/index.d.ts.map +1 -0
  862. package/dist/lexical/ui/icons/HorizontalRule/index.js.map +1 -0
  863. package/dist/lexical/ui/icons/IndentDecrease/index.d.ts.map +1 -0
  864. package/dist/lexical/ui/icons/IndentDecrease/index.js.map +1 -0
  865. package/dist/lexical/ui/icons/IndentIncrease/index.d.ts.map +1 -0
  866. package/dist/lexical/ui/icons/IndentIncrease/index.js.map +1 -0
  867. package/dist/lexical/ui/icons/InlineBlocks/index.d.ts +3 -0
  868. package/dist/lexical/ui/icons/InlineBlocks/index.d.ts.map +1 -0
  869. package/dist/lexical/ui/icons/InlineBlocks/index.js +20 -0
  870. package/dist/lexical/ui/icons/InlineBlocks/index.js.map +1 -0
  871. package/dist/lexical/ui/icons/Italic/index.d.ts.map +1 -0
  872. package/dist/lexical/ui/icons/Italic/index.js.map +1 -0
  873. package/dist/lexical/ui/icons/Link/index.d.ts.map +1 -0
  874. package/dist/lexical/ui/icons/Link/index.js.map +1 -0
  875. package/dist/lexical/ui/icons/Meatballs/index.d.ts +3 -0
  876. package/dist/lexical/ui/icons/Meatballs/index.d.ts.map +1 -0
  877. package/dist/lexical/ui/icons/Meatballs/index.js +25 -0
  878. package/dist/lexical/ui/icons/Meatballs/index.js.map +1 -0
  879. package/dist/lexical/ui/icons/OrderedList/index.d.ts.map +1 -0
  880. package/dist/lexical/ui/icons/OrderedList/index.js.map +1 -0
  881. package/dist/lexical/ui/icons/Relationship/index.d.ts.map +1 -0
  882. package/dist/lexical/ui/icons/Relationship/index.js.map +1 -0
  883. package/dist/lexical/ui/icons/Strikethrough/index.d.ts.map +1 -0
  884. package/dist/lexical/ui/icons/Strikethrough/index.js.map +1 -0
  885. package/dist/lexical/ui/icons/Subscript/index.d.ts.map +1 -0
  886. package/dist/lexical/ui/icons/Subscript/index.js.map +1 -0
  887. package/dist/lexical/ui/icons/Superscript/index.d.ts.map +1 -0
  888. package/dist/lexical/ui/icons/Superscript/index.js.map +1 -0
  889. package/dist/lexical/ui/icons/Table/index.d.ts +3 -0
  890. package/dist/lexical/ui/icons/Table/index.d.ts.map +1 -0
  891. package/dist/lexical/ui/icons/Table/index.js +20 -0
  892. package/dist/lexical/ui/icons/Table/index.js.map +1 -0
  893. package/dist/lexical/ui/icons/Text/index.d.ts.map +1 -0
  894. package/dist/lexical/ui/icons/Text/index.js.map +1 -0
  895. package/dist/lexical/ui/icons/Underline/index.d.ts.map +1 -0
  896. package/dist/lexical/ui/icons/Underline/index.js.map +1 -0
  897. package/dist/lexical/ui/icons/UnorderedList/index.d.ts.map +1 -0
  898. package/dist/lexical/ui/icons/UnorderedList/index.js.map +1 -0
  899. package/dist/lexical/ui/icons/Upload/index.d.ts.map +1 -0
  900. package/dist/lexical/ui/icons/Upload/index.js +34 -0
  901. package/dist/lexical/ui/icons/Upload/index.js.map +1 -0
  902. package/dist/lexical/utils/canUseDOM.d.ts.map +1 -0
  903. package/dist/lexical/utils/canUseDOM.js.map +1 -0
  904. package/dist/lexical/utils/environment.d.ts.map +1 -0
  905. package/dist/lexical/utils/environment.js.map +1 -0
  906. package/dist/lexical/utils/getDOMRangeRect.d.ts.map +1 -0
  907. package/dist/lexical/utils/getDOMRangeRect.js.map +1 -0
  908. package/dist/lexical/utils/getSelectedNode.d.ts.map +1 -0
  909. package/dist/lexical/utils/getSelectedNode.js.map +1 -0
  910. package/dist/lexical/utils/guard.d.ts.map +1 -0
  911. package/dist/lexical/utils/guard.js.map +1 -0
  912. package/dist/lexical/utils/invariant.d.ts.map +1 -0
  913. package/dist/lexical/utils/invariant.js.map +1 -0
  914. package/dist/lexical/utils/joinClasses.d.ts.map +1 -0
  915. package/dist/lexical/utils/joinClasses.js.map +1 -0
  916. package/dist/lexical/utils/markdown/createBlockNode.d.ts +4 -0
  917. package/dist/lexical/utils/markdown/createBlockNode.d.ts.map +1 -0
  918. package/dist/lexical/utils/markdown/createBlockNode.js.map +1 -0
  919. package/dist/lexical/utils/nodeFormat.d.ts.map +1 -0
  920. package/dist/lexical/utils/nodeFormat.js.map +1 -0
  921. package/dist/lexical/utils/point.d.ts.map +1 -0
  922. package/dist/lexical/utils/point.js.map +1 -0
  923. package/dist/lexical/utils/rect.d.ts.map +1 -0
  924. package/dist/lexical/utils/rect.js.map +1 -0
  925. package/dist/lexical/utils/setFloatingElemPosition.d.ts.map +1 -0
  926. package/dist/lexical/utils/setFloatingElemPosition.js.map +1 -0
  927. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +1 -0
  928. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +1 -0
  929. package/dist/lexical/utils/swipe.d.ts.map +1 -0
  930. package/dist/lexical/utils/swipe.js.map +1 -0
  931. package/dist/lexical/utils/url.d.ts.map +1 -0
  932. package/dist/lexical/utils/url.js.map +1 -0
  933. package/dist/nodeTypes.d.ts +32 -0
  934. package/dist/nodeTypes.d.ts.map +1 -0
  935. package/dist/nodeTypes.js +3 -0
  936. package/dist/nodeTypes.js.map +1 -0
  937. package/dist/populateGraphQL/defaultValue.d.ts.map +1 -1
  938. package/dist/populateGraphQL/defaultValue.js +1 -0
  939. package/dist/populateGraphQL/defaultValue.js.map +1 -1
  940. package/dist/populateGraphQL/populate.d.ts +5 -5
  941. package/dist/populateGraphQL/populate.d.ts.map +1 -1
  942. package/dist/populateGraphQL/populate.js +2 -2
  943. package/dist/populateGraphQL/populate.js.map +1 -1
  944. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts +3 -3
  945. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts.map +1 -1
  946. package/dist/populateGraphQL/populateLexicalPopulationPromises.js +1 -1
  947. package/dist/populateGraphQL/populateLexicalPopulationPromises.js.map +1 -1
  948. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts +4 -4
  949. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts.map +1 -1
  950. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js.map +1 -1
  951. package/dist/types.d.ts +12 -12
  952. package/dist/types.d.ts.map +1 -1
  953. package/dist/types.js.map +1 -1
  954. package/dist/utilities/createClientFeature.d.ts +13 -0
  955. package/dist/utilities/createClientFeature.d.ts.map +1 -0
  956. package/dist/utilities/createClientFeature.js +30 -0
  957. package/dist/utilities/createClientFeature.js.map +1 -0
  958. package/dist/utilities/createServerFeature.d.ts +16 -0
  959. package/dist/utilities/createServerFeature.d.ts.map +1 -0
  960. package/dist/utilities/createServerFeature.js +34 -0
  961. package/dist/utilities/createServerFeature.js.map +1 -0
  962. package/dist/utilities/fieldsDrawer/Drawer.d.ts +18 -0
  963. package/dist/utilities/fieldsDrawer/Drawer.d.ts.map +1 -0
  964. package/dist/utilities/fieldsDrawer/Drawer.js +26 -0
  965. package/dist/utilities/fieldsDrawer/Drawer.js.map +1 -0
  966. package/dist/utilities/fieldsDrawer/DrawerContent.d.ts +4 -0
  967. package/dist/utilities/fieldsDrawer/DrawerContent.d.ts.map +1 -0
  968. package/dist/utilities/fieldsDrawer/DrawerContent.js +90 -0
  969. package/dist/utilities/fieldsDrawer/DrawerContent.js.map +1 -0
  970. package/dist/utilities/forEachNodeRecursively.d.ts.map +1 -0
  971. package/dist/utilities/forEachNodeRecursively.js.map +1 -0
  972. package/dist/utilities/generateComponentMap.d.ts +6 -0
  973. package/dist/utilities/generateComponentMap.d.ts.map +1 -0
  974. package/dist/utilities/generateComponentMap.js +79 -0
  975. package/dist/utilities/generateComponentMap.js.map +1 -0
  976. package/dist/utilities/generateSchemaMap.d.ts +6 -0
  977. package/dist/utilities/generateSchemaMap.d.ts.map +1 -0
  978. package/dist/utilities/generateSchemaMap.js +31 -0
  979. package/dist/utilities/generateSchemaMap.js.map +1 -0
  980. package/dist/utilities/migrateSlateToLexical/index.d.ts +15 -0
  981. package/dist/utilities/migrateSlateToLexical/index.d.ts.map +1 -0
  982. package/dist/utilities/migrateSlateToLexical/index.js +105 -0
  983. package/dist/utilities/migrateSlateToLexical/index.js.map +1 -0
  984. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts +9 -0
  985. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts.map +1 -0
  986. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js +77 -0
  987. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js.map +1 -0
  988. package/dist/utilities/recurseNodeTree.d.ts.map +1 -0
  989. package/dist/utilities/recurseNodeTree.js.map +1 -0
  990. package/dist/utilities/upgradeLexicalData/index.d.ts +11 -0
  991. package/dist/utilities/upgradeLexicalData/index.d.ts.map +1 -0
  992. package/dist/utilities/upgradeLexicalData/index.js +101 -0
  993. package/dist/utilities/upgradeLexicalData/index.js.map +1 -0
  994. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.d.ts +9 -0
  995. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.d.ts.map +1 -0
  996. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js +74 -0
  997. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js.map +1 -0
  998. package/dist/utilities/useLexicalFeature.d.ts +3 -0
  999. package/dist/utilities/useLexicalFeature.d.ts.map +1 -0
  1000. package/dist/utilities/useLexicalFeature.js +12 -0
  1001. package/dist/utilities/useLexicalFeature.js.map +1 -0
  1002. package/dist/validate/index.d.ts +1 -1
  1003. package/dist/validate/index.d.ts.map +1 -1
  1004. package/dist/validate/index.js.map +1 -1
  1005. package/dist/validate/validateNodes.d.ts +2 -2
  1006. package/dist/validate/validateNodes.d.ts.map +1 -1
  1007. package/dist/validate/validateNodes.js.map +1 -1
  1008. package/package.json +48 -47
  1009. package/dist/exports/client/Component-6AVANNNR.js +0 -2
  1010. package/dist/exports/client/Component-6AVANNNR.js.map +0 -7
  1011. package/dist/exports/client/Component-SZVAYRJX.js +0 -2
  1012. package/dist/exports/client/Component-SZVAYRJX.js.map +0 -7
  1013. package/dist/exports/client/Field-U5PHZTST.js +0 -2
  1014. package/dist/exports/client/Field-U5PHZTST.js.map +0 -7
  1015. package/dist/exports/client/RelationshipComponent-FGUPLCD2.js +0 -2
  1016. package/dist/exports/client/RelationshipComponent-FGUPLCD2.js.map +0 -7
  1017. package/dist/exports/client/chunk-35NZOHAF.js +0 -2
  1018. package/dist/exports/client/chunk-35NZOHAF.js.map +0 -7
  1019. package/dist/exports/client/chunk-3PZ2ZFQG.js +0 -3
  1020. package/dist/exports/client/chunk-3PZ2ZFQG.js.map +0 -7
  1021. package/dist/exports/client/chunk-FSTRW2TI.js +0 -2
  1022. package/dist/exports/client/chunk-FSTRW2TI.js.map +0 -7
  1023. package/dist/exports/client/chunk-M6MN4CA5.js +0 -2
  1024. package/dist/exports/client/chunk-M6MN4CA5.js.map +0 -7
  1025. package/dist/exports/client/chunk-Y5455JF3.js +0 -2
  1026. package/dist/exports/client/chunk-Y5455JF3.js.map +0 -7
  1027. package/dist/exports/client/component-FFLILIUZ.js +0 -2
  1028. package/dist/exports/client/component-FFLILIUZ.js.map +0 -7
  1029. package/dist/exports/client/component-RAVN56DE.js +0 -2
  1030. package/dist/exports/client/component-RAVN56DE.js.map +0 -7
  1031. package/dist/exports/client/component-Z34HXRX3.js +0 -2
  1032. package/dist/exports/client/component-Z34HXRX3.js.map +0 -7
  1033. package/dist/field/features/align/feature.client.d.ts +0 -6
  1034. package/dist/field/features/align/feature.client.d.ts.map +0 -1
  1035. package/dist/field/features/align/feature.client.js +0 -153
  1036. package/dist/field/features/align/feature.client.js.map +0 -1
  1037. package/dist/field/features/align/feature.server.d.ts +0 -3
  1038. package/dist/field/features/align/feature.server.d.ts.map +0 -1
  1039. package/dist/field/features/align/feature.server.js +0 -19
  1040. package/dist/field/features/align/feature.server.js.map +0 -1
  1041. package/dist/field/features/align/i18n.d.ts.map +0 -1
  1042. package/dist/field/features/align/i18n.js.map +0 -1
  1043. package/dist/field/features/align/toolbarAlignGroup.d.ts.map +0 -1
  1044. package/dist/field/features/align/toolbarAlignGroup.js.map +0 -1
  1045. package/dist/field/features/blockquote/feature.client.d.ts +0 -6
  1046. package/dist/field/features/blockquote/feature.client.d.ts.map +0 -1
  1047. package/dist/field/features/blockquote/feature.client.js +0 -84
  1048. package/dist/field/features/blockquote/feature.client.js.map +0 -1
  1049. package/dist/field/features/blockquote/feature.server.d.ts +0 -3
  1050. package/dist/field/features/blockquote/feature.server.d.ts.map +0 -1
  1051. package/dist/field/features/blockquote/feature.server.js +0 -50
  1052. package/dist/field/features/blockquote/feature.server.js.map +0 -1
  1053. package/dist/field/features/blockquote/i18n.d.ts.map +0 -1
  1054. package/dist/field/features/blockquote/i18n.js.map +0 -1
  1055. package/dist/field/features/blockquote/markdownTransformer.d.ts.map +0 -1
  1056. package/dist/field/features/blockquote/markdownTransformer.js.map +0 -1
  1057. package/dist/field/features/blocks/component/BlockContent.d.ts +0 -27
  1058. package/dist/field/features/blocks/component/BlockContent.d.ts.map +0 -1
  1059. package/dist/field/features/blocks/component/BlockContent.js +0 -193
  1060. package/dist/field/features/blocks/component/BlockContent.js.map +0 -1
  1061. package/dist/field/features/blocks/component/FormSavePlugin.d.ts.map +0 -1
  1062. package/dist/field/features/blocks/component/FormSavePlugin.js +0 -29
  1063. package/dist/field/features/blocks/component/FormSavePlugin.js.map +0 -1
  1064. package/dist/field/features/blocks/component/index.d.ts +0 -15
  1065. package/dist/field/features/blocks/component/index.d.ts.map +0 -1
  1066. package/dist/field/features/blocks/component/index.js +0 -158
  1067. package/dist/field/features/blocks/component/index.js.map +0 -1
  1068. package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts.map +0 -1
  1069. package/dist/field/features/blocks/component/removeEmptyArrayValues.js.map +0 -1
  1070. package/dist/field/features/blocks/drawer/index.d.ts +0 -9
  1071. package/dist/field/features/blocks/drawer/index.d.ts.map +0 -1
  1072. package/dist/field/features/blocks/drawer/index.js +0 -78
  1073. package/dist/field/features/blocks/drawer/index.js.map +0 -1
  1074. package/dist/field/features/blocks/feature.client.d.ts +0 -10
  1075. package/dist/field/features/blocks/feature.client.d.ts.map +0 -1
  1076. package/dist/field/features/blocks/feature.client.js +0 -92
  1077. package/dist/field/features/blocks/feature.client.js.map +0 -1
  1078. package/dist/field/features/blocks/feature.server.d.ts +0 -8
  1079. package/dist/field/features/blocks/feature.server.d.ts.map +0 -1
  1080. package/dist/field/features/blocks/feature.server.js +0 -107
  1081. package/dist/field/features/blocks/feature.server.js.map +0 -1
  1082. package/dist/field/features/blocks/graphQLPopulationPromise.d.ts +0 -5
  1083. package/dist/field/features/blocks/graphQLPopulationPromise.d.ts.map +0 -1
  1084. package/dist/field/features/blocks/graphQLPopulationPromise.js +0 -31
  1085. package/dist/field/features/blocks/graphQLPopulationPromise.js.map +0 -1
  1086. package/dist/field/features/blocks/i18n.d.ts.map +0 -1
  1087. package/dist/field/features/blocks/i18n.js +0 -100
  1088. package/dist/field/features/blocks/i18n.js.map +0 -1
  1089. package/dist/field/features/blocks/nodes/BlocksNode.d.ts +0 -36
  1090. package/dist/field/features/blocks/nodes/BlocksNode.d.ts.map +0 -1
  1091. package/dist/field/features/blocks/nodes/BlocksNode.js +0 -92
  1092. package/dist/field/features/blocks/nodes/BlocksNode.js.map +0 -1
  1093. package/dist/field/features/blocks/plugin/commands.d.ts +0 -4
  1094. package/dist/field/features/blocks/plugin/commands.d.ts.map +0 -1
  1095. package/dist/field/features/blocks/plugin/commands.js +0 -4
  1096. package/dist/field/features/blocks/plugin/commands.js.map +0 -1
  1097. package/dist/field/features/blocks/plugin/index.d.ts +0 -6
  1098. package/dist/field/features/blocks/plugin/index.d.ts.map +0 -1
  1099. package/dist/field/features/blocks/plugin/index.js +0 -42
  1100. package/dist/field/features/blocks/plugin/index.js.map +0 -1
  1101. package/dist/field/features/blocks/validate.d.ts +0 -5
  1102. package/dist/field/features/blocks/validate.d.ts.map +0 -1
  1103. package/dist/field/features/blocks/validate.js +0 -36
  1104. package/dist/field/features/blocks/validate.js.map +0 -1
  1105. package/dist/field/features/converters/html/converter/converters/linebreak.d.ts.map +0 -1
  1106. package/dist/field/features/converters/html/converter/converters/linebreak.js.map +0 -1
  1107. package/dist/field/features/converters/html/converter/converters/paragraph.d.ts.map +0 -1
  1108. package/dist/field/features/converters/html/converter/converters/paragraph.js +0 -20
  1109. package/dist/field/features/converters/html/converter/converters/paragraph.js.map +0 -1
  1110. package/dist/field/features/converters/html/converter/converters/text.d.ts.map +0 -1
  1111. package/dist/field/features/converters/html/converter/converters/text.js.map +0 -1
  1112. package/dist/field/features/converters/html/converter/defaultConverters.d.ts.map +0 -1
  1113. package/dist/field/features/converters/html/converter/defaultConverters.js.map +0 -1
  1114. package/dist/field/features/converters/html/converter/index.d.ts +0 -21
  1115. package/dist/field/features/converters/html/converter/index.d.ts.map +0 -1
  1116. package/dist/field/features/converters/html/converter/index.js +0 -44
  1117. package/dist/field/features/converters/html/converter/index.js.map +0 -1
  1118. package/dist/field/features/converters/html/converter/types.d.ts +0 -19
  1119. package/dist/field/features/converters/html/converter/types.d.ts.map +0 -1
  1120. package/dist/field/features/converters/html/converter/types.js.map +0 -1
  1121. package/dist/field/features/converters/html/feature.server.d.ts +0 -9
  1122. package/dist/field/features/converters/html/feature.server.d.ts.map +0 -1
  1123. package/dist/field/features/converters/html/feature.server.js +0 -14
  1124. package/dist/field/features/converters/html/feature.server.js.map +0 -1
  1125. package/dist/field/features/converters/html/field/index.d.ts.map +0 -1
  1126. package/dist/field/features/converters/html/field/index.js +0 -154
  1127. package/dist/field/features/converters/html/field/index.js.map +0 -1
  1128. package/dist/field/features/createClientComponent.d.ts +0 -6
  1129. package/dist/field/features/createClientComponent.d.ts.map +0 -1
  1130. package/dist/field/features/createClientComponent.js +0 -12
  1131. package/dist/field/features/createClientComponent.js.map +0 -1
  1132. package/dist/field/features/createFeaturePropComponent.d.ts.map +0 -1
  1133. package/dist/field/features/createFeaturePropComponent.js +0 -18
  1134. package/dist/field/features/createFeaturePropComponent.js.map +0 -1
  1135. package/dist/field/features/debug/testRecorder/feature.client.d.ts +0 -6
  1136. package/dist/field/features/debug/testRecorder/feature.client.d.ts.map +0 -1
  1137. package/dist/field/features/debug/testRecorder/feature.client.js +0 -20
  1138. package/dist/field/features/debug/testRecorder/feature.client.js.map +0 -1
  1139. package/dist/field/features/debug/testRecorder/feature.server.d.ts +0 -3
  1140. package/dist/field/features/debug/testRecorder/feature.server.d.ts.map +0 -1
  1141. package/dist/field/features/debug/testRecorder/feature.server.js +0 -16
  1142. package/dist/field/features/debug/testRecorder/feature.server.js.map +0 -1
  1143. package/dist/field/features/debug/testRecorder/plugin/index.d.ts +0 -5
  1144. package/dist/field/features/debug/testRecorder/plugin/index.d.ts.map +0 -1
  1145. package/dist/field/features/debug/testRecorder/plugin/index.js.map +0 -1
  1146. package/dist/field/features/debug/treeView/feature.client.d.ts +0 -6
  1147. package/dist/field/features/debug/treeView/feature.client.d.ts.map +0 -1
  1148. package/dist/field/features/debug/treeView/feature.client.js +0 -20
  1149. package/dist/field/features/debug/treeView/feature.client.js.map +0 -1
  1150. package/dist/field/features/debug/treeView/feature.server.d.ts +0 -3
  1151. package/dist/field/features/debug/treeView/feature.server.d.ts.map +0 -1
  1152. package/dist/field/features/debug/treeView/feature.server.js +0 -16
  1153. package/dist/field/features/debug/treeView/feature.server.js.map +0 -1
  1154. package/dist/field/features/debug/treeView/plugin/index.d.ts +0 -4
  1155. package/dist/field/features/debug/treeView/plugin/index.d.ts.map +0 -1
  1156. package/dist/field/features/debug/treeView/plugin/index.js.map +0 -1
  1157. package/dist/field/features/format/bold/feature.client.d.ts +0 -6
  1158. package/dist/field/features/format/bold/feature.client.d.ts.map +0 -1
  1159. package/dist/field/features/format/bold/feature.client.js +0 -51
  1160. package/dist/field/features/format/bold/feature.client.js.map +0 -1
  1161. package/dist/field/features/format/bold/feature.server.d.ts +0 -3
  1162. package/dist/field/features/format/bold/feature.server.d.ts.map +0 -1
  1163. package/dist/field/features/format/bold/feature.server.js +0 -28
  1164. package/dist/field/features/format/bold/feature.server.js.map +0 -1
  1165. package/dist/field/features/format/bold/markdownTransformers.d.ts.map +0 -1
  1166. package/dist/field/features/format/bold/markdownTransformers.js.map +0 -1
  1167. package/dist/field/features/format/inlineCode/feature.client.d.ts +0 -6
  1168. package/dist/field/features/format/inlineCode/feature.client.d.ts.map +0 -1
  1169. package/dist/field/features/format/inlineCode/feature.client.js +0 -46
  1170. package/dist/field/features/format/inlineCode/feature.client.js.map +0 -1
  1171. package/dist/field/features/format/inlineCode/feature.server.d.ts +0 -3
  1172. package/dist/field/features/format/inlineCode/feature.server.d.ts.map +0 -1
  1173. package/dist/field/features/format/inlineCode/feature.server.js +0 -20
  1174. package/dist/field/features/format/inlineCode/feature.server.js.map +0 -1
  1175. package/dist/field/features/format/inlineCode/markdownTransformers.d.ts.map +0 -1
  1176. package/dist/field/features/format/inlineCode/markdownTransformers.js.map +0 -1
  1177. package/dist/field/features/format/italic/feature.client.d.ts +0 -6
  1178. package/dist/field/features/format/italic/feature.client.d.ts.map +0 -1
  1179. package/dist/field/features/format/italic/feature.client.js +0 -47
  1180. package/dist/field/features/format/italic/feature.client.js.map +0 -1
  1181. package/dist/field/features/format/italic/feature.server.d.ts +0 -3
  1182. package/dist/field/features/format/italic/feature.server.d.ts.map +0 -1
  1183. package/dist/field/features/format/italic/feature.server.js +0 -21
  1184. package/dist/field/features/format/italic/feature.server.js.map +0 -1
  1185. package/dist/field/features/format/italic/markdownTransformers.d.ts.map +0 -1
  1186. package/dist/field/features/format/italic/markdownTransformers.js.map +0 -1
  1187. package/dist/field/features/format/shared/toolbarFormatGroup.d.ts.map +0 -1
  1188. package/dist/field/features/format/shared/toolbarFormatGroup.js.map +0 -1
  1189. package/dist/field/features/format/strikethrough/feature.client.d.ts +0 -6
  1190. package/dist/field/features/format/strikethrough/feature.client.d.ts.map +0 -1
  1191. package/dist/field/features/format/strikethrough/feature.client.js +0 -46
  1192. package/dist/field/features/format/strikethrough/feature.client.js.map +0 -1
  1193. package/dist/field/features/format/strikethrough/feature.server.d.ts +0 -3
  1194. package/dist/field/features/format/strikethrough/feature.server.d.ts.map +0 -1
  1195. package/dist/field/features/format/strikethrough/feature.server.js +0 -20
  1196. package/dist/field/features/format/strikethrough/feature.server.js.map +0 -1
  1197. package/dist/field/features/format/strikethrough/markdownTransformers.d.ts.map +0 -1
  1198. package/dist/field/features/format/strikethrough/markdownTransformers.js.map +0 -1
  1199. package/dist/field/features/format/subscript/feature.client.d.ts +0 -6
  1200. package/dist/field/features/format/subscript/feature.client.d.ts.map +0 -1
  1201. package/dist/field/features/format/subscript/feature.client.js +0 -42
  1202. package/dist/field/features/format/subscript/feature.client.js.map +0 -1
  1203. package/dist/field/features/format/subscript/feature.server.d.ts +0 -3
  1204. package/dist/field/features/format/subscript/feature.server.d.ts.map +0 -1
  1205. package/dist/field/features/format/subscript/feature.server.js +0 -16
  1206. package/dist/field/features/format/subscript/feature.server.js.map +0 -1
  1207. package/dist/field/features/format/superscript/feature.client.d.ts +0 -6
  1208. package/dist/field/features/format/superscript/feature.client.d.ts.map +0 -1
  1209. package/dist/field/features/format/superscript/feature.client.js +0 -42
  1210. package/dist/field/features/format/superscript/feature.client.js.map +0 -1
  1211. package/dist/field/features/format/superscript/feature.server.d.ts +0 -3
  1212. package/dist/field/features/format/superscript/feature.server.d.ts.map +0 -1
  1213. package/dist/field/features/format/superscript/feature.server.js +0 -16
  1214. package/dist/field/features/format/superscript/feature.server.js.map +0 -1
  1215. package/dist/field/features/format/underline/feature.client.d.ts +0 -6
  1216. package/dist/field/features/format/underline/feature.client.d.ts.map +0 -1
  1217. package/dist/field/features/format/underline/feature.client.js +0 -42
  1218. package/dist/field/features/format/underline/feature.client.js.map +0 -1
  1219. package/dist/field/features/format/underline/feature.server.d.ts +0 -3
  1220. package/dist/field/features/format/underline/feature.server.d.ts.map +0 -1
  1221. package/dist/field/features/format/underline/feature.server.js +0 -16
  1222. package/dist/field/features/format/underline/feature.server.js.map +0 -1
  1223. package/dist/field/features/heading/feature.client.d.ts +0 -7
  1224. package/dist/field/features/heading/feature.client.d.ts.map +0 -1
  1225. package/dist/field/features/heading/feature.client.js +0 -118
  1226. package/dist/field/features/heading/feature.client.js.map +0 -1
  1227. package/dist/field/features/heading/feature.server.d.ts +0 -7
  1228. package/dist/field/features/heading/feature.server.d.ts.map +0 -1
  1229. package/dist/field/features/heading/feature.server.js +0 -61
  1230. package/dist/field/features/heading/feature.server.js.map +0 -1
  1231. package/dist/field/features/heading/i18n.d.ts.map +0 -1
  1232. package/dist/field/features/heading/i18n.js +0 -100
  1233. package/dist/field/features/heading/i18n.js.map +0 -1
  1234. package/dist/field/features/heading/markdownTransformer.d.ts.map +0 -1
  1235. package/dist/field/features/heading/markdownTransformer.js.map +0 -1
  1236. package/dist/field/features/horizontalRule/component/index.d.ts.map +0 -1
  1237. package/dist/field/features/horizontalRule/component/index.js.map +0 -1
  1238. package/dist/field/features/horizontalRule/feature.client.d.ts +0 -6
  1239. package/dist/field/features/horizontalRule/feature.client.d.ts.map +0 -1
  1240. package/dist/field/features/horizontalRule/feature.client.js +0 -77
  1241. package/dist/field/features/horizontalRule/feature.client.js.map +0 -1
  1242. package/dist/field/features/horizontalRule/feature.server.d.ts +0 -3
  1243. package/dist/field/features/horizontalRule/feature.server.d.ts.map +0 -1
  1244. package/dist/field/features/horizontalRule/feature.server.js +0 -39
  1245. package/dist/field/features/horizontalRule/feature.server.js.map +0 -1
  1246. package/dist/field/features/horizontalRule/i18n.d.ts.map +0 -1
  1247. package/dist/field/features/horizontalRule/i18n.js.map +0 -1
  1248. package/dist/field/features/horizontalRule/markdownTransformer.d.ts.map +0 -1
  1249. package/dist/field/features/horizontalRule/markdownTransformer.js.map +0 -1
  1250. package/dist/field/features/horizontalRule/nodes/HorizontalRuleNode.d.ts +0 -53
  1251. package/dist/field/features/horizontalRule/nodes/HorizontalRuleNode.d.ts.map +0 -1
  1252. package/dist/field/features/horizontalRule/nodes/HorizontalRuleNode.js.map +0 -1
  1253. package/dist/field/features/horizontalRule/plugin/index.d.ts +0 -7
  1254. package/dist/field/features/horizontalRule/plugin/index.d.ts.map +0 -1
  1255. package/dist/field/features/horizontalRule/plugin/index.js.map +0 -1
  1256. package/dist/field/features/indent/feature.client.d.ts +0 -6
  1257. package/dist/field/features/indent/feature.client.d.ts.map +0 -1
  1258. package/dist/field/features/indent/feature.client.js +0 -63
  1259. package/dist/field/features/indent/feature.client.js.map +0 -1
  1260. package/dist/field/features/indent/feature.server.d.ts +0 -3
  1261. package/dist/field/features/indent/feature.server.d.ts.map +0 -1
  1262. package/dist/field/features/indent/feature.server.js +0 -19
  1263. package/dist/field/features/indent/feature.server.js.map +0 -1
  1264. package/dist/field/features/indent/i18n.d.ts.map +0 -1
  1265. package/dist/field/features/indent/i18n.js.map +0 -1
  1266. package/dist/field/features/indent/toolbarIndentGroup.d.ts.map +0 -1
  1267. package/dist/field/features/indent/toolbarIndentGroup.js.map +0 -1
  1268. package/dist/field/features/link/drawer/baseFields.d.ts +0 -3
  1269. package/dist/field/features/link/drawer/baseFields.d.ts.map +0 -1
  1270. package/dist/field/features/link/drawer/baseFields.js.map +0 -1
  1271. package/dist/field/features/link/drawer/index.d.ts +0 -5
  1272. package/dist/field/features/link/drawer/index.d.ts.map +0 -1
  1273. package/dist/field/features/link/drawer/index.js +0 -94
  1274. package/dist/field/features/link/drawer/index.js.map +0 -1
  1275. package/dist/field/features/link/drawer/types.d.ts +0 -10
  1276. package/dist/field/features/link/drawer/types.d.ts.map +0 -1
  1277. package/dist/field/features/link/drawer/types.js.map +0 -1
  1278. package/dist/field/features/link/feature.client.d.ts +0 -17
  1279. package/dist/field/features/link/feature.client.d.ts.map +0 -1
  1280. package/dist/field/features/link/feature.client.js +0 -108
  1281. package/dist/field/features/link/feature.client.js.map +0 -1
  1282. package/dist/field/features/link/feature.server.d.ts +0 -37
  1283. package/dist/field/features/link/feature.server.d.ts.map +0 -1
  1284. package/dist/field/features/link/feature.server.js +0 -140
  1285. package/dist/field/features/link/feature.server.js.map +0 -1
  1286. package/dist/field/features/link/graphQLPopulationPromise.d.ts +0 -5
  1287. package/dist/field/features/link/graphQLPopulationPromise.d.ts.map +0 -1
  1288. package/dist/field/features/link/graphQLPopulationPromise.js +0 -31
  1289. package/dist/field/features/link/graphQLPopulationPromise.js.map +0 -1
  1290. package/dist/field/features/link/i18n.d.ts.map +0 -1
  1291. package/dist/field/features/link/i18n.js.map +0 -1
  1292. package/dist/field/features/link/markdownTransformer.d.ts.map +0 -1
  1293. package/dist/field/features/link/markdownTransformer.js.map +0 -1
  1294. package/dist/field/features/link/nodes/AutoLinkNode.d.ts.map +0 -1
  1295. package/dist/field/features/link/nodes/AutoLinkNode.js +0 -62
  1296. package/dist/field/features/link/nodes/AutoLinkNode.js.map +0 -1
  1297. package/dist/field/features/link/nodes/LinkNode.d.ts.map +0 -1
  1298. package/dist/field/features/link/nodes/LinkNode.js +0 -318
  1299. package/dist/field/features/link/nodes/LinkNode.js.map +0 -1
  1300. package/dist/field/features/link/nodes/types.d.ts +0 -20
  1301. package/dist/field/features/link/nodes/types.d.ts.map +0 -1
  1302. package/dist/field/features/link/nodes/types.js.map +0 -1
  1303. package/dist/field/features/link/plugins/autoLink/index.d.ts +0 -20
  1304. package/dist/field/features/link/plugins/autoLink/index.d.ts.map +0 -1
  1305. package/dist/field/features/link/plugins/autoLink/index.js +0 -320
  1306. package/dist/field/features/link/plugins/autoLink/index.js.map +0 -1
  1307. package/dist/field/features/link/plugins/clickableLink/index.d.ts +0 -4
  1308. package/dist/field/features/link/plugins/clickableLink/index.d.ts.map +0 -1
  1309. package/dist/field/features/link/plugins/clickableLink/index.js.map +0 -1
  1310. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +0 -1
  1311. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +0 -1
  1312. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +0 -1
  1313. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +0 -295
  1314. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +0 -1
  1315. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts +0 -5
  1316. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts.map +0 -1
  1317. package/dist/field/features/link/plugins/floatingLinkEditor/index.js.map +0 -1
  1318. package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts.map +0 -1
  1319. package/dist/field/features/link/plugins/floatingLinkEditor/types.js.map +0 -1
  1320. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts +0 -9
  1321. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +0 -1
  1322. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js.map +0 -1
  1323. package/dist/field/features/link/plugins/link/index.d.ts +0 -4
  1324. package/dist/field/features/link/plugins/link/index.d.ts.map +0 -1
  1325. package/dist/field/features/link/plugins/link/index.js.map +0 -1
  1326. package/dist/field/features/link/validate.d.ts +0 -6
  1327. package/dist/field/features/link/validate.d.ts.map +0 -1
  1328. package/dist/field/features/link/validate.js +0 -28
  1329. package/dist/field/features/link/validate.js.map +0 -1
  1330. package/dist/field/features/lists/checklist/feature.client.d.ts +0 -6
  1331. package/dist/field/features/lists/checklist/feature.client.d.ts.map +0 -1
  1332. package/dist/field/features/lists/checklist/feature.client.js +0 -107
  1333. package/dist/field/features/lists/checklist/feature.client.js.map +0 -1
  1334. package/dist/field/features/lists/checklist/feature.server.d.ts +0 -3
  1335. package/dist/field/features/lists/checklist/feature.server.d.ts.map +0 -1
  1336. package/dist/field/features/lists/checklist/feature.server.js +0 -39
  1337. package/dist/field/features/lists/checklist/feature.server.js.map +0 -1
  1338. package/dist/field/features/lists/checklist/i18n.d.ts.map +0 -1
  1339. package/dist/field/features/lists/checklist/i18n.js.map +0 -1
  1340. package/dist/field/features/lists/checklist/markdownTransformers.d.ts.map +0 -1
  1341. package/dist/field/features/lists/checklist/markdownTransformers.js.map +0 -1
  1342. package/dist/field/features/lists/checklist/plugin/index.d.ts +0 -3
  1343. package/dist/field/features/lists/checklist/plugin/index.d.ts.map +0 -1
  1344. package/dist/field/features/lists/checklist/plugin/index.js.map +0 -1
  1345. package/dist/field/features/lists/htmlConverter.d.ts +0 -5
  1346. package/dist/field/features/lists/htmlConverter.d.ts.map +0 -1
  1347. package/dist/field/features/lists/htmlConverter.js +0 -56
  1348. package/dist/field/features/lists/htmlConverter.js.map +0 -1
  1349. package/dist/field/features/lists/orderedList/feature.client.d.ts +0 -6
  1350. package/dist/field/features/lists/orderedList/feature.client.d.ts.map +0 -1
  1351. package/dist/field/features/lists/orderedList/feature.client.js +0 -97
  1352. package/dist/field/features/lists/orderedList/feature.client.js.map +0 -1
  1353. package/dist/field/features/lists/orderedList/feature.server.d.ts +0 -3
  1354. package/dist/field/features/lists/orderedList/feature.server.d.ts.map +0 -1
  1355. package/dist/field/features/lists/orderedList/feature.server.js +0 -39
  1356. package/dist/field/features/lists/orderedList/feature.server.js.map +0 -1
  1357. package/dist/field/features/lists/orderedList/i18n.d.ts.map +0 -1
  1358. package/dist/field/features/lists/orderedList/i18n.js.map +0 -1
  1359. package/dist/field/features/lists/orderedList/markdownTransformer.d.ts.map +0 -1
  1360. package/dist/field/features/lists/orderedList/markdownTransformer.js.map +0 -1
  1361. package/dist/field/features/lists/plugin/index.d.ts +0 -3
  1362. package/dist/field/features/lists/plugin/index.d.ts.map +0 -1
  1363. package/dist/field/features/lists/plugin/index.js.map +0 -1
  1364. package/dist/field/features/lists/shared/markdown.d.ts +0 -6
  1365. package/dist/field/features/lists/shared/markdown.d.ts.map +0 -1
  1366. package/dist/field/features/lists/shared/markdown.js.map +0 -1
  1367. package/dist/field/features/lists/shared/slashMenuListGroup.d.ts.map +0 -1
  1368. package/dist/field/features/lists/shared/slashMenuListGroup.js.map +0 -1
  1369. package/dist/field/features/lists/unorderedList/feature.client.d.ts +0 -6
  1370. package/dist/field/features/lists/unorderedList/feature.client.d.ts.map +0 -1
  1371. package/dist/field/features/lists/unorderedList/feature.client.js +0 -97
  1372. package/dist/field/features/lists/unorderedList/feature.client.js.map +0 -1
  1373. package/dist/field/features/lists/unorderedList/feature.server.d.ts +0 -3
  1374. package/dist/field/features/lists/unorderedList/feature.server.d.ts.map +0 -1
  1375. package/dist/field/features/lists/unorderedList/feature.server.js +0 -39
  1376. package/dist/field/features/lists/unorderedList/feature.server.js.map +0 -1
  1377. package/dist/field/features/lists/unorderedList/i18n.d.ts.map +0 -1
  1378. package/dist/field/features/lists/unorderedList/i18n.js.map +0 -1
  1379. package/dist/field/features/lists/unorderedList/markdownTransformer.d.ts.map +0 -1
  1380. package/dist/field/features/lists/unorderedList/markdownTransformer.js.map +0 -1
  1381. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +0 -6
  1382. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1383. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +0 -1
  1384. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1385. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +0 -1
  1386. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1387. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +0 -8
  1388. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +0 -1
  1389. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +0 -6
  1390. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +0 -1
  1391. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +0 -1
  1392. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1393. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +0 -1
  1394. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +0 -1
  1395. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js +0 -8
  1396. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +0 -1
  1397. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +0 -6
  1398. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +0 -1
  1399. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +0 -1
  1400. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +0 -1
  1401. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +0 -1
  1402. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +0 -1
  1403. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js +0 -8
  1404. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +0 -1
  1405. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +0 -6
  1406. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1407. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +0 -1
  1408. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1409. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +0 -1
  1410. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1411. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +0 -8
  1412. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +0 -1
  1413. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +0 -6
  1414. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +0 -1
  1415. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +0 -1
  1416. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +0 -1
  1417. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +0 -1
  1418. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +0 -1
  1419. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +0 -8
  1420. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +0 -1
  1421. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +0 -6
  1422. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1423. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +0 -1
  1424. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1425. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +0 -1
  1426. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1427. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +0 -8
  1428. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +0 -1
  1429. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +0 -6
  1430. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1431. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +0 -1
  1432. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1433. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +0 -1
  1434. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1435. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +0 -8
  1436. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +0 -1
  1437. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +0 -1
  1438. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +0 -1
  1439. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +0 -1
  1440. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.js.map +0 -1
  1441. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts +0 -31
  1442. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +0 -1
  1443. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.js.map +0 -1
  1444. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts +0 -6
  1445. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +0 -1
  1446. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js +0 -34
  1447. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js.map +0 -1
  1448. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts +0 -9
  1449. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +0 -1
  1450. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js +0 -48
  1451. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js.map +0 -1
  1452. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1453. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1454. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1455. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1456. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +0 -6
  1457. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +0 -1
  1458. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +0 -1
  1459. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +0 -1
  1460. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +0 -1
  1461. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +0 -1
  1462. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js +0 -8
  1463. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +0 -1
  1464. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts +0 -6
  1465. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1466. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.js.map +0 -1
  1467. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1468. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +0 -1
  1469. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1470. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js +0 -8
  1471. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js.map +0 -1
  1472. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts +0 -6
  1473. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +0 -1
  1474. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.js.map +0 -1
  1475. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +0 -1
  1476. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +0 -1
  1477. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +0 -1
  1478. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js +0 -8
  1479. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js.map +0 -1
  1480. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts +0 -6
  1481. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +0 -1
  1482. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.js.map +0 -1
  1483. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1484. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.js.map +0 -1
  1485. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +0 -1
  1486. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js +0 -8
  1487. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js.map +0 -1
  1488. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts +0 -6
  1489. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1490. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +0 -1
  1491. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1492. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +0 -1
  1493. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1494. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js +0 -8
  1495. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +0 -1
  1496. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +0 -6
  1497. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +0 -1
  1498. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +0 -1
  1499. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +0 -1
  1500. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +0 -1
  1501. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +0 -1
  1502. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js +0 -8
  1503. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +0 -1
  1504. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts +0 -6
  1505. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +0 -1
  1506. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +0 -1
  1507. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +0 -1
  1508. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +0 -1
  1509. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +0 -1
  1510. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js +0 -8
  1511. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +0 -1
  1512. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts +0 -6
  1513. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1514. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +0 -1
  1515. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1516. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +0 -1
  1517. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1518. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js +0 -8
  1519. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +0 -1
  1520. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +0 -6
  1521. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +0 -1
  1522. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +0 -1
  1523. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +0 -1
  1524. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +0 -1
  1525. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +0 -1
  1526. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js +0 -8
  1527. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +0 -1
  1528. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts +0 -6
  1529. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1530. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.js.map +0 -1
  1531. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1532. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +0 -1
  1533. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1534. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js +0 -8
  1535. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js.map +0 -1
  1536. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +0 -1
  1537. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.js.map +0 -1
  1538. package/dist/field/features/migrations/slateToLexical/converter/index.d.ts.map +0 -1
  1539. package/dist/field/features/migrations/slateToLexical/converter/index.js +0 -108
  1540. package/dist/field/features/migrations/slateToLexical/converter/index.js.map +0 -1
  1541. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts +0 -25
  1542. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts.map +0 -1
  1543. package/dist/field/features/migrations/slateToLexical/converter/types.js.map +0 -1
  1544. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts +0 -6
  1545. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts.map +0 -1
  1546. package/dist/field/features/migrations/slateToLexical/feature.client.js +0 -34
  1547. package/dist/field/features/migrations/slateToLexical/feature.client.js.map +0 -1
  1548. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts +0 -9
  1549. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts.map +0 -1
  1550. package/dist/field/features/migrations/slateToLexical/feature.server.js +0 -48
  1551. package/dist/field/features/migrations/slateToLexical/feature.server.js.map +0 -1
  1552. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1553. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1554. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1555. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1556. package/dist/field/features/paragraph/feature.client.d.ts +0 -6
  1557. package/dist/field/features/paragraph/feature.client.d.ts.map +0 -1
  1558. package/dist/field/features/paragraph/feature.client.js +0 -78
  1559. package/dist/field/features/paragraph/feature.client.js.map +0 -1
  1560. package/dist/field/features/paragraph/feature.server.d.ts +0 -3
  1561. package/dist/field/features/paragraph/feature.server.d.ts.map +0 -1
  1562. package/dist/field/features/paragraph/feature.server.js +0 -19
  1563. package/dist/field/features/paragraph/feature.server.js.map +0 -1
  1564. package/dist/field/features/paragraph/i18n.d.ts.map +0 -1
  1565. package/dist/field/features/paragraph/i18n.js.map +0 -1
  1566. package/dist/field/features/relationship/drawer/commands.d.ts.map +0 -1
  1567. package/dist/field/features/relationship/drawer/commands.js.map +0 -1
  1568. package/dist/field/features/relationship/drawer/index.d.ts.map +0 -1
  1569. package/dist/field/features/relationship/drawer/index.js +0 -83
  1570. package/dist/field/features/relationship/drawer/index.js.map +0 -1
  1571. package/dist/field/features/relationship/feature.client.d.ts +0 -19
  1572. package/dist/field/features/relationship/feature.client.d.ts.map +0 -1
  1573. package/dist/field/features/relationship/feature.client.js +0 -79
  1574. package/dist/field/features/relationship/feature.client.js.map +0 -1
  1575. package/dist/field/features/relationship/feature.server.d.ts +0 -27
  1576. package/dist/field/features/relationship/feature.server.d.ts.map +0 -1
  1577. package/dist/field/features/relationship/feature.server.js +0 -61
  1578. package/dist/field/features/relationship/feature.server.js.map +0 -1
  1579. package/dist/field/features/relationship/graphQLPopulationPromise.d.ts +0 -5
  1580. package/dist/field/features/relationship/graphQLPopulationPromise.d.ts.map +0 -1
  1581. package/dist/field/features/relationship/graphQLPopulationPromise.js +0 -29
  1582. package/dist/field/features/relationship/graphQLPopulationPromise.js.map +0 -1
  1583. package/dist/field/features/relationship/i18n.d.ts.map +0 -1
  1584. package/dist/field/features/relationship/i18n.js.map +0 -1
  1585. package/dist/field/features/relationship/nodes/RelationshipNode.d.ts +0 -31
  1586. package/dist/field/features/relationship/nodes/RelationshipNode.d.ts.map +0 -1
  1587. package/dist/field/features/relationship/nodes/RelationshipNode.js +0 -111
  1588. package/dist/field/features/relationship/nodes/RelationshipNode.js.map +0 -1
  1589. package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts +0 -14
  1590. package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts.map +0 -1
  1591. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js +0 -172
  1592. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js.map +0 -1
  1593. package/dist/field/features/relationship/plugins/index.d.ts +0 -7
  1594. package/dist/field/features/relationship/plugins/index.d.ts.map +0 -1
  1595. package/dist/field/features/relationship/plugins/index.js +0 -50
  1596. package/dist/field/features/relationship/plugins/index.js.map +0 -1
  1597. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +0 -1
  1598. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js +0 -33
  1599. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js.map +0 -1
  1600. package/dist/field/features/shared/slashMenu/basicGroup.d.ts.map +0 -1
  1601. package/dist/field/features/shared/slashMenu/basicGroup.js.map +0 -1
  1602. package/dist/field/features/shared/toolbar/addDropdownGroup.d.ts.map +0 -1
  1603. package/dist/field/features/shared/toolbar/addDropdownGroup.js.map +0 -1
  1604. package/dist/field/features/shared/toolbar/featureButtonsGroup.d.ts.map +0 -1
  1605. package/dist/field/features/shared/toolbar/featureButtonsGroup.js.map +0 -1
  1606. package/dist/field/features/shared/toolbar/textDropdownGroup.d.ts.map +0 -1
  1607. package/dist/field/features/shared/toolbar/textDropdownGroup.js.map +0 -1
  1608. package/dist/field/features/toolbars/fixed/Toolbar/index.d.ts +0 -5
  1609. package/dist/field/features/toolbars/fixed/Toolbar/index.d.ts.map +0 -1
  1610. package/dist/field/features/toolbars/fixed/Toolbar/index.js +0 -207
  1611. package/dist/field/features/toolbars/fixed/Toolbar/index.js.map +0 -1
  1612. package/dist/field/features/toolbars/fixed/feature.client.d.ts +0 -7
  1613. package/dist/field/features/toolbars/fixed/feature.client.d.ts.map +0 -1
  1614. package/dist/field/features/toolbars/fixed/feature.client.js +0 -20
  1615. package/dist/field/features/toolbars/fixed/feature.client.js.map +0 -1
  1616. package/dist/field/features/toolbars/fixed/feature.server.d.ts +0 -19
  1617. package/dist/field/features/toolbars/fixed/feature.server.d.ts.map +0 -1
  1618. package/dist/field/features/toolbars/fixed/feature.server.js +0 -21
  1619. package/dist/field/features/toolbars/fixed/feature.server.js.map +0 -1
  1620. package/dist/field/features/toolbars/inline/Toolbar/index.d.ts +0 -4
  1621. package/dist/field/features/toolbars/inline/Toolbar/index.d.ts.map +0 -1
  1622. package/dist/field/features/toolbars/inline/Toolbar/index.js.map +0 -1
  1623. package/dist/field/features/toolbars/inline/feature.client.d.ts +0 -6
  1624. package/dist/field/features/toolbars/inline/feature.client.d.ts.map +0 -1
  1625. package/dist/field/features/toolbars/inline/feature.client.js +0 -20
  1626. package/dist/field/features/toolbars/inline/feature.client.js.map +0 -1
  1627. package/dist/field/features/toolbars/inline/feature.server.d.ts +0 -3
  1628. package/dist/field/features/toolbars/inline/feature.server.d.ts.map +0 -1
  1629. package/dist/field/features/toolbars/inline/feature.server.js +0 -16
  1630. package/dist/field/features/toolbars/inline/feature.server.js.map +0 -1
  1631. package/dist/field/features/toolbars/shared/ToolbarButton/index.d.ts.map +0 -1
  1632. package/dist/field/features/toolbars/shared/ToolbarButton/index.js.map +0 -1
  1633. package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +0 -1
  1634. package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.js +0 -224
  1635. package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +0 -1
  1636. package/dist/field/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +0 -1
  1637. package/dist/field/features/toolbars/shared/ToolbarDropdown/index.js +0 -141
  1638. package/dist/field/features/toolbars/shared/ToolbarDropdown/index.js.map +0 -1
  1639. package/dist/field/features/toolbars/types.d.ts +0 -48
  1640. package/dist/field/features/toolbars/types.d.ts.map +0 -1
  1641. package/dist/field/features/toolbars/types.js.map +0 -1
  1642. package/dist/field/features/typeUtilities.d.ts +0 -8
  1643. package/dist/field/features/typeUtilities.d.ts.map +0 -1
  1644. package/dist/field/features/typeUtilities.js.map +0 -1
  1645. package/dist/field/features/types.d.ts +0 -468
  1646. package/dist/field/features/types.d.ts.map +0 -1
  1647. package/dist/field/features/types.js.map +0 -1
  1648. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts +0 -12
  1649. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +0 -1
  1650. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js +0 -123
  1651. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js.map +0 -1
  1652. package/dist/field/features/upload/component/index.d.ts.map +0 -1
  1653. package/dist/field/features/upload/component/index.js +0 -219
  1654. package/dist/field/features/upload/component/index.js.map +0 -1
  1655. package/dist/field/features/upload/drawer/commands.d.ts.map +0 -1
  1656. package/dist/field/features/upload/drawer/commands.js.map +0 -1
  1657. package/dist/field/features/upload/drawer/index.d.ts.map +0 -1
  1658. package/dist/field/features/upload/drawer/index.js +0 -77
  1659. package/dist/field/features/upload/drawer/index.js.map +0 -1
  1660. package/dist/field/features/upload/feature.client.d.ts +0 -13
  1661. package/dist/field/features/upload/feature.client.d.ts.map +0 -1
  1662. package/dist/field/features/upload/feature.client.js +0 -81
  1663. package/dist/field/features/upload/feature.client.js.map +0 -1
  1664. package/dist/field/features/upload/feature.server.d.ts +0 -19
  1665. package/dist/field/features/upload/feature.server.d.ts.map +0 -1
  1666. package/dist/field/features/upload/feature.server.js +0 -188
  1667. package/dist/field/features/upload/feature.server.js.map +0 -1
  1668. package/dist/field/features/upload/graphQLPopulationPromise.d.ts +0 -5
  1669. package/dist/field/features/upload/graphQLPopulationPromise.d.ts.map +0 -1
  1670. package/dist/field/features/upload/graphQLPopulationPromise.js +0 -52
  1671. package/dist/field/features/upload/graphQLPopulationPromise.js.map +0 -1
  1672. package/dist/field/features/upload/i18n.d.ts.map +0 -1
  1673. package/dist/field/features/upload/i18n.js.map +0 -1
  1674. package/dist/field/features/upload/nodes/UploadNode.d.ts +0 -37
  1675. package/dist/field/features/upload/nodes/UploadNode.d.ts.map +0 -1
  1676. package/dist/field/features/upload/nodes/UploadNode.js +0 -132
  1677. package/dist/field/features/upload/nodes/UploadNode.js.map +0 -1
  1678. package/dist/field/features/upload/plugin/index.d.ts +0 -8
  1679. package/dist/field/features/upload/plugin/index.d.ts.map +0 -1
  1680. package/dist/field/features/upload/plugin/index.js +0 -53
  1681. package/dist/field/features/upload/plugin/index.js.map +0 -1
  1682. package/dist/field/features/upload/validate.d.ts +0 -5
  1683. package/dist/field/features/upload/validate.d.ts.map +0 -1
  1684. package/dist/field/features/upload/validate.js +0 -44
  1685. package/dist/field/features/upload/validate.js.map +0 -1
  1686. package/dist/field/lexical/EditorPlugin.d.ts +0 -8
  1687. package/dist/field/lexical/EditorPlugin.d.ts.map +0 -1
  1688. package/dist/field/lexical/EditorPlugin.js +0 -15
  1689. package/dist/field/lexical/EditorPlugin.js.map +0 -1
  1690. package/dist/field/lexical/LexicalEditor.d.ts +0 -7
  1691. package/dist/field/lexical/LexicalEditor.d.ts.map +0 -1
  1692. package/dist/field/lexical/LexicalEditor.js +0 -192
  1693. package/dist/field/lexical/LexicalEditor.js.map +0 -1
  1694. package/dist/field/lexical/LexicalProvider.d.ts +0 -18
  1695. package/dist/field/lexical/LexicalProvider.d.ts.map +0 -1
  1696. package/dist/field/lexical/LexicalProvider.js +0 -78
  1697. package/dist/field/lexical/LexicalProvider.js.map +0 -1
  1698. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts +0 -35
  1699. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts.map +0 -1
  1700. package/dist/field/lexical/config/client/EditorConfigProvider.js.map +0 -1
  1701. package/dist/field/lexical/config/client/default.d.ts.map +0 -1
  1702. package/dist/field/lexical/config/client/default.js.map +0 -1
  1703. package/dist/field/lexical/config/client/loader.d.ts +0 -12
  1704. package/dist/field/lexical/config/client/loader.d.ts.map +0 -1
  1705. package/dist/field/lexical/config/client/loader.js +0 -46
  1706. package/dist/field/lexical/config/client/loader.js.map +0 -1
  1707. package/dist/field/lexical/config/client/sanitize.d.ts +0 -7
  1708. package/dist/field/lexical/config/client/sanitize.d.ts.map +0 -1
  1709. package/dist/field/lexical/config/client/sanitize.js +0 -176
  1710. package/dist/field/lexical/config/client/sanitize.js.map +0 -1
  1711. package/dist/field/lexical/config/server/default.d.ts +0 -7
  1712. package/dist/field/lexical/config/server/default.d.ts.map +0 -1
  1713. package/dist/field/lexical/config/server/default.js.map +0 -1
  1714. package/dist/field/lexical/config/server/loader.d.ts +0 -10
  1715. package/dist/field/lexical/config/server/loader.d.ts.map +0 -1
  1716. package/dist/field/lexical/config/server/loader.js +0 -120
  1717. package/dist/field/lexical/config/server/loader.js.map +0 -1
  1718. package/dist/field/lexical/config/server/sanitize.d.ts +0 -6
  1719. package/dist/field/lexical/config/server/sanitize.d.ts.map +0 -1
  1720. package/dist/field/lexical/config/server/sanitize.js.map +0 -1
  1721. package/dist/field/lexical/config/types.d.ts +0 -23
  1722. package/dist/field/lexical/config/types.d.ts.map +0 -1
  1723. package/dist/field/lexical/config/types.js +0 -3
  1724. package/dist/field/lexical/config/types.js.map +0 -1
  1725. package/dist/field/lexical/nodes/index.d.ts.map +0 -1
  1726. package/dist/field/lexical/nodes/index.js.map +0 -1
  1727. package/dist/field/lexical/plugins/MarkdownShortcut/index.d.ts.map +0 -1
  1728. package/dist/field/lexical/plugins/MarkdownShortcut/index.js.map +0 -1
  1729. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +0 -32
  1730. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +0 -1
  1731. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +0 -401
  1732. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +0 -1
  1733. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +0 -25
  1734. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +0 -1
  1735. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +0 -205
  1736. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +0 -1
  1737. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +0 -31
  1738. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +0 -1
  1739. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js +0 -3
  1740. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +0 -1
  1741. package/dist/field/lexical/plugins/SlashMenu/index.d.ts.map +0 -1
  1742. package/dist/field/lexical/plugins/SlashMenu/index.js +0 -187
  1743. package/dist/field/lexical/plugins/SlashMenu/index.js.map +0 -1
  1744. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +0 -1
  1745. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +0 -1
  1746. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +0 -1
  1747. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +0 -1
  1748. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +0 -1
  1749. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +0 -1
  1750. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +0 -1
  1751. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +0 -1
  1752. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +0 -1
  1753. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +0 -1
  1754. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +0 -1
  1755. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js +0 -342
  1756. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +0 -1
  1757. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +0 -10
  1758. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +0 -1
  1759. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +0 -1
  1760. package/dist/field/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts.map +0 -1
  1761. package/dist/field/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js.map +0 -1
  1762. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +0 -1
  1763. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +0 -1
  1764. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +0 -1
  1765. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.js.map +0 -1
  1766. package/dist/field/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts.map +0 -1
  1767. package/dist/field/lexical/plugins/handles/utils/getNodeCloseToPoint.js.map +0 -1
  1768. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +0 -1
  1769. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +0 -1
  1770. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +0 -1
  1771. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.js.map +0 -1
  1772. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +0 -1
  1773. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.js.map +0 -1
  1774. package/dist/field/lexical/theme/EditorTheme.d.ts.map +0 -1
  1775. package/dist/field/lexical/theme/EditorTheme.js.map +0 -1
  1776. package/dist/field/lexical/ui/ContentEditable.d.ts.map +0 -1
  1777. package/dist/field/lexical/ui/ContentEditable.js +0 -10
  1778. package/dist/field/lexical/ui/ContentEditable.js.map +0 -1
  1779. package/dist/field/lexical/ui/icons/AI/index.d.ts.map +0 -1
  1780. package/dist/field/lexical/ui/icons/AI/index.js.map +0 -1
  1781. package/dist/field/lexical/ui/icons/Add/index.d.ts.map +0 -1
  1782. package/dist/field/lexical/ui/icons/Add/index.js.map +0 -1
  1783. package/dist/field/lexical/ui/icons/AlignCenter/index.d.ts.map +0 -1
  1784. package/dist/field/lexical/ui/icons/AlignCenter/index.js.map +0 -1
  1785. package/dist/field/lexical/ui/icons/AlignJustify/index.d.ts.map +0 -1
  1786. package/dist/field/lexical/ui/icons/AlignJustify/index.js.map +0 -1
  1787. package/dist/field/lexical/ui/icons/AlignLeft/index.d.ts.map +0 -1
  1788. package/dist/field/lexical/ui/icons/AlignLeft/index.js.map +0 -1
  1789. package/dist/field/lexical/ui/icons/AlignRight/index.d.ts.map +0 -1
  1790. package/dist/field/lexical/ui/icons/AlignRight/index.js.map +0 -1
  1791. package/dist/field/lexical/ui/icons/Block/index.d.ts.map +0 -1
  1792. package/dist/field/lexical/ui/icons/Block/index.js.map +0 -1
  1793. package/dist/field/lexical/ui/icons/Blockquote/index.d.ts.map +0 -1
  1794. package/dist/field/lexical/ui/icons/Blockquote/index.js.map +0 -1
  1795. package/dist/field/lexical/ui/icons/Bold/index.d.ts.map +0 -1
  1796. package/dist/field/lexical/ui/icons/Bold/index.js.map +0 -1
  1797. package/dist/field/lexical/ui/icons/Checklist/index.d.ts.map +0 -1
  1798. package/dist/field/lexical/ui/icons/Checklist/index.js.map +0 -1
  1799. package/dist/field/lexical/ui/icons/Code/index.d.ts.map +0 -1
  1800. package/dist/field/lexical/ui/icons/Code/index.js.map +0 -1
  1801. package/dist/field/lexical/ui/icons/CodeBlock/index.d.ts.map +0 -1
  1802. package/dist/field/lexical/ui/icons/CodeBlock/index.js.map +0 -1
  1803. package/dist/field/lexical/ui/icons/H1/index.d.ts.map +0 -1
  1804. package/dist/field/lexical/ui/icons/H1/index.js.map +0 -1
  1805. package/dist/field/lexical/ui/icons/H2/index.d.ts.map +0 -1
  1806. package/dist/field/lexical/ui/icons/H2/index.js.map +0 -1
  1807. package/dist/field/lexical/ui/icons/H3/index.d.ts.map +0 -1
  1808. package/dist/field/lexical/ui/icons/H3/index.js.map +0 -1
  1809. package/dist/field/lexical/ui/icons/H4/index.d.ts.map +0 -1
  1810. package/dist/field/lexical/ui/icons/H4/index.js.map +0 -1
  1811. package/dist/field/lexical/ui/icons/H5/index.d.ts.map +0 -1
  1812. package/dist/field/lexical/ui/icons/H5/index.js.map +0 -1
  1813. package/dist/field/lexical/ui/icons/H6/index.d.ts.map +0 -1
  1814. package/dist/field/lexical/ui/icons/H6/index.js.map +0 -1
  1815. package/dist/field/lexical/ui/icons/HorizontalRule/index.d.ts.map +0 -1
  1816. package/dist/field/lexical/ui/icons/HorizontalRule/index.js.map +0 -1
  1817. package/dist/field/lexical/ui/icons/IndentDecrease/index.d.ts.map +0 -1
  1818. package/dist/field/lexical/ui/icons/IndentDecrease/index.js.map +0 -1
  1819. package/dist/field/lexical/ui/icons/IndentIncrease/index.d.ts.map +0 -1
  1820. package/dist/field/lexical/ui/icons/IndentIncrease/index.js.map +0 -1
  1821. package/dist/field/lexical/ui/icons/Italic/index.d.ts.map +0 -1
  1822. package/dist/field/lexical/ui/icons/Italic/index.js.map +0 -1
  1823. package/dist/field/lexical/ui/icons/Link/index.d.ts.map +0 -1
  1824. package/dist/field/lexical/ui/icons/Link/index.js.map +0 -1
  1825. package/dist/field/lexical/ui/icons/OrderedList/index.d.ts.map +0 -1
  1826. package/dist/field/lexical/ui/icons/OrderedList/index.js.map +0 -1
  1827. package/dist/field/lexical/ui/icons/Relationship/index.d.ts.map +0 -1
  1828. package/dist/field/lexical/ui/icons/Relationship/index.js.map +0 -1
  1829. package/dist/field/lexical/ui/icons/Strikethrough/index.d.ts.map +0 -1
  1830. package/dist/field/lexical/ui/icons/Strikethrough/index.js.map +0 -1
  1831. package/dist/field/lexical/ui/icons/Subscript/index.d.ts.map +0 -1
  1832. package/dist/field/lexical/ui/icons/Subscript/index.js.map +0 -1
  1833. package/dist/field/lexical/ui/icons/Superscript/index.d.ts.map +0 -1
  1834. package/dist/field/lexical/ui/icons/Superscript/index.js.map +0 -1
  1835. package/dist/field/lexical/ui/icons/Text/index.d.ts.map +0 -1
  1836. package/dist/field/lexical/ui/icons/Text/index.js.map +0 -1
  1837. package/dist/field/lexical/ui/icons/Underline/index.d.ts.map +0 -1
  1838. package/dist/field/lexical/ui/icons/Underline/index.js.map +0 -1
  1839. package/dist/field/lexical/ui/icons/UnorderedList/index.d.ts.map +0 -1
  1840. package/dist/field/lexical/ui/icons/UnorderedList/index.js.map +0 -1
  1841. package/dist/field/lexical/ui/icons/Upload/index.d.ts.map +0 -1
  1842. package/dist/field/lexical/ui/icons/Upload/index.js +0 -34
  1843. package/dist/field/lexical/ui/icons/Upload/index.js.map +0 -1
  1844. package/dist/field/lexical/utils/canUseDOM.d.ts.map +0 -1
  1845. package/dist/field/lexical/utils/canUseDOM.js.map +0 -1
  1846. package/dist/field/lexical/utils/cloneDeep.d.ts +0 -2
  1847. package/dist/field/lexical/utils/cloneDeep.d.ts.map +0 -1
  1848. package/dist/field/lexical/utils/cloneDeep.js +0 -50
  1849. package/dist/field/lexical/utils/cloneDeep.js.map +0 -1
  1850. package/dist/field/lexical/utils/environment.d.ts.map +0 -1
  1851. package/dist/field/lexical/utils/environment.js.map +0 -1
  1852. package/dist/field/lexical/utils/getDOMRangeRect.d.ts.map +0 -1
  1853. package/dist/field/lexical/utils/getDOMRangeRect.js.map +0 -1
  1854. package/dist/field/lexical/utils/getSelectedNode.d.ts.map +0 -1
  1855. package/dist/field/lexical/utils/getSelectedNode.js.map +0 -1
  1856. package/dist/field/lexical/utils/guard.d.ts.map +0 -1
  1857. package/dist/field/lexical/utils/guard.js.map +0 -1
  1858. package/dist/field/lexical/utils/invariant.d.ts.map +0 -1
  1859. package/dist/field/lexical/utils/invariant.js.map +0 -1
  1860. package/dist/field/lexical/utils/joinClasses.d.ts.map +0 -1
  1861. package/dist/field/lexical/utils/joinClasses.js.map +0 -1
  1862. package/dist/field/lexical/utils/markdown/createBlockNode.d.ts +0 -4
  1863. package/dist/field/lexical/utils/markdown/createBlockNode.d.ts.map +0 -1
  1864. package/dist/field/lexical/utils/markdown/createBlockNode.js.map +0 -1
  1865. package/dist/field/lexical/utils/nodeFormat.d.ts.map +0 -1
  1866. package/dist/field/lexical/utils/nodeFormat.js.map +0 -1
  1867. package/dist/field/lexical/utils/point.d.ts.map +0 -1
  1868. package/dist/field/lexical/utils/point.js.map +0 -1
  1869. package/dist/field/lexical/utils/rect.d.ts.map +0 -1
  1870. package/dist/field/lexical/utils/rect.js.map +0 -1
  1871. package/dist/field/lexical/utils/setFloatingElemPosition.d.ts.map +0 -1
  1872. package/dist/field/lexical/utils/setFloatingElemPosition.js.map +0 -1
  1873. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +0 -1
  1874. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +0 -1
  1875. package/dist/field/lexical/utils/swipe.d.ts.map +0 -1
  1876. package/dist/field/lexical/utils/swipe.js.map +0 -1
  1877. package/dist/field/lexical/utils/url.d.ts.map +0 -1
  1878. package/dist/field/lexical/utils/url.js.map +0 -1
  1879. package/dist/forEachNodeRecursively.d.ts.map +0 -1
  1880. package/dist/forEachNodeRecursively.js.map +0 -1
  1881. package/dist/generateComponentMap.d.ts +0 -6
  1882. package/dist/generateComponentMap.d.ts.map +0 -1
  1883. package/dist/generateComponentMap.js +0 -77
  1884. package/dist/generateComponentMap.js.map +0 -1
  1885. package/dist/generateSchemaMap.d.ts +0 -6
  1886. package/dist/generateSchemaMap.d.ts.map +0 -1
  1887. package/dist/generateSchemaMap.js +0 -22
  1888. package/dist/generateSchemaMap.js.map +0 -1
  1889. package/dist/recurseNodeTree.d.ts.map +0 -1
  1890. package/dist/recurseNodeTree.js.map +0 -1
  1891. package/dist/useLexicalFeature.d.ts +0 -3
  1892. package/dist/useLexicalFeature.d.ts.map +0 -1
  1893. package/dist/useLexicalFeature.js +0 -12
  1894. package/dist/useLexicalFeature.js.map +0 -1
  1895. /package/dist/{field/features → features}/align/i18n.d.ts +0 -0
  1896. /package/dist/{field/features → features}/align/i18n.js +0 -0
  1897. /package/dist/{field/features → features}/align/toolbarAlignGroup.d.ts +0 -0
  1898. /package/dist/{field/features → features}/align/toolbarAlignGroup.js +0 -0
  1899. /package/dist/{field/features → features}/blockquote/i18n.d.ts +0 -0
  1900. /package/dist/{field/features → features}/blockquote/i18n.js +0 -0
  1901. /package/dist/{field/features → features}/blockquote/markdownTransformer.d.ts +0 -0
  1902. /package/dist/{field/features → features}/blockquote/markdownTransformer.js +0 -0
  1903. /package/dist/{field/features → features}/blocks/component/FormSavePlugin.d.ts +0 -0
  1904. /package/dist/{field/features → features}/blocks/component/removeEmptyArrayValues.d.ts +0 -0
  1905. /package/dist/{field/features → features}/blocks/component/removeEmptyArrayValues.js +0 -0
  1906. /package/dist/{field/features → features}/blocks/i18n.d.ts +0 -0
  1907. /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.d.ts +0 -0
  1908. /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.js +0 -0
  1909. /package/dist/{field/features → features}/converters/html/converter/converters/paragraph.d.ts +0 -0
  1910. /package/dist/{field/features → features}/converters/html/converter/converters/text.d.ts +0 -0
  1911. /package/dist/{field/features → features}/converters/html/converter/converters/text.js +0 -0
  1912. /package/dist/{field/features → features}/converters/html/converter/defaultConverters.d.ts +0 -0
  1913. /package/dist/{field/features → features}/converters/html/converter/defaultConverters.js +0 -0
  1914. /package/dist/{field/features → features}/converters/html/converter/types.js +0 -0
  1915. /package/dist/{field/features → features}/converters/html/field/index.d.ts +0 -0
  1916. /package/dist/{field/features → features}/createFeaturePropComponent.d.ts +0 -0
  1917. /package/dist/{field/features → features}/debug/testRecorder/plugin/index.js +0 -0
  1918. /package/dist/{field/features → features}/debug/treeView/plugin/index.js +0 -0
  1919. /package/dist/{field/features → features}/format/bold/markdownTransformers.d.ts +0 -0
  1920. /package/dist/{field/features → features}/format/bold/markdownTransformers.js +0 -0
  1921. /package/dist/{field/features → features}/format/inlineCode/markdownTransformers.d.ts +0 -0
  1922. /package/dist/{field/features → features}/format/inlineCode/markdownTransformers.js +0 -0
  1923. /package/dist/{field/features → features}/format/italic/markdownTransformers.d.ts +0 -0
  1924. /package/dist/{field/features → features}/format/italic/markdownTransformers.js +0 -0
  1925. /package/dist/{field/features → features}/format/shared/toolbarFormatGroup.d.ts +0 -0
  1926. /package/dist/{field/features → features}/format/shared/toolbarFormatGroup.js +0 -0
  1927. /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.d.ts +0 -0
  1928. /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.js +0 -0
  1929. /package/dist/{field/features → features}/heading/i18n.d.ts +0 -0
  1930. /package/dist/{field/features → features}/heading/markdownTransformer.d.ts +0 -0
  1931. /package/dist/{field/features → features}/heading/markdownTransformer.js +0 -0
  1932. /package/dist/{field/features → features}/horizontalRule/component/index.d.ts +0 -0
  1933. /package/dist/{field/features → features}/horizontalRule/component/index.js +0 -0
  1934. /package/dist/{field/features → features}/horizontalRule/i18n.d.ts +0 -0
  1935. /package/dist/{field/features → features}/horizontalRule/i18n.js +0 -0
  1936. /package/dist/{field/features → features}/horizontalRule/markdownTransformer.d.ts +0 -0
  1937. /package/dist/{field/features → features}/horizontalRule/markdownTransformer.js +0 -0
  1938. /package/dist/{field/features → features}/horizontalRule/nodes/HorizontalRuleNode.js +0 -0
  1939. /package/dist/{field/features → features}/horizontalRule/plugin/index.js +0 -0
  1940. /package/dist/{field/features → features}/indent/i18n.d.ts +0 -0
  1941. /package/dist/{field/features → features}/indent/i18n.js +0 -0
  1942. /package/dist/{field/features → features}/indent/toolbarIndentGroup.d.ts +0 -0
  1943. /package/dist/{field/features → features}/indent/toolbarIndentGroup.js +0 -0
  1944. /package/dist/{field/features → features}/link/drawer/baseFields.js +0 -0
  1945. /package/dist/{field/features → features}/link/i18n.d.ts +0 -0
  1946. /package/dist/{field/features → features}/link/i18n.js +0 -0
  1947. /package/dist/{field/features → features}/link/markdownTransformer.d.ts +0 -0
  1948. /package/dist/{field/features → features}/link/markdownTransformer.js +0 -0
  1949. /package/dist/{field/features → features}/link/nodes/AutoLinkNode.d.ts +0 -0
  1950. /package/dist/{field/features → features}/link/nodes/LinkNode.d.ts +0 -0
  1951. /package/dist/{field/features/link/drawer → features/link/nodes}/types.js +0 -0
  1952. /package/dist/{field/features → features}/link/plugins/clickableLink/index.js +0 -0
  1953. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts +0 -0
  1954. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/commands.js +0 -0
  1955. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts +0 -0
  1956. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/index.js +0 -0
  1957. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/types.d.ts +0 -0
  1958. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/types.js +0 -0
  1959. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/utilities.js +0 -0
  1960. /package/dist/{field/features → features}/link/plugins/link/index.js +0 -0
  1961. /package/dist/{field/features → features}/lists/checklist/i18n.d.ts +0 -0
  1962. /package/dist/{field/features → features}/lists/checklist/i18n.js +0 -0
  1963. /package/dist/{field/features → features}/lists/checklist/markdownTransformers.d.ts +0 -0
  1964. /package/dist/{field/features → features}/lists/checklist/markdownTransformers.js +0 -0
  1965. /package/dist/{field/features → features}/lists/checklist/plugin/index.js +0 -0
  1966. /package/dist/{field/features → features}/lists/orderedList/i18n.d.ts +0 -0
  1967. /package/dist/{field/features → features}/lists/orderedList/i18n.js +0 -0
  1968. /package/dist/{field/features → features}/lists/orderedList/markdownTransformer.d.ts +0 -0
  1969. /package/dist/{field/features → features}/lists/orderedList/markdownTransformer.js +0 -0
  1970. /package/dist/{field/features → features}/lists/plugin/index.js +0 -0
  1971. /package/dist/{field/features → features}/lists/shared/markdown.js +0 -0
  1972. /package/dist/{field/features → features}/lists/shared/slashMenuListGroup.d.ts +0 -0
  1973. /package/dist/{field/features → features}/lists/shared/slashMenuListGroup.js +0 -0
  1974. /package/dist/{field/features → features}/lists/unorderedList/i18n.d.ts +0 -0
  1975. /package/dist/{field/features → features}/lists/unorderedList/i18n.js +0 -0
  1976. /package/dist/{field/features → features}/lists/unorderedList/markdownTransformer.d.ts +0 -0
  1977. /package/dist/{field/features → features}/lists/unorderedList/markdownTransformer.js +0 -0
  1978. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/client.js +0 -0
  1979. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +0 -0
  1980. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +0 -0
  1981. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts +0 -0
  1982. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/client.js +0 -0
  1983. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +0 -0
  1984. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +0 -0
  1985. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts +0 -0
  1986. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/client.js +0 -0
  1987. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +0 -0
  1988. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +0 -0
  1989. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts +0 -0
  1990. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js +0 -0
  1991. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +0 -0
  1992. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +0 -0
  1993. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts +0 -0
  1994. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/client.js +0 -0
  1995. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +0 -0
  1996. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +0 -0
  1997. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts +0 -0
  1998. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js +0 -0
  1999. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +0 -0
  2000. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +0 -0
  2001. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts +0 -0
  2002. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/client.js +0 -0
  2003. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +0 -0
  2004. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +0 -0
  2005. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts +0 -0
  2006. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +0 -0
  2007. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/defaultConverters.js +0 -0
  2008. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/index.d.ts +0 -0
  2009. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/index.js +0 -0
  2010. /package/dist/{field/features/link/nodes → features/migrations/lexicalPluginToLexical/converter}/types.js +0 -0
  2011. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  2012. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +0 -0
  2013. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +0 -0
  2014. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +0 -0
  2015. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/client.js +0 -0
  2016. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +0 -0
  2017. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/converter.js +0 -0
  2018. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/index.d.ts +0 -0
  2019. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/client.js +0 -0
  2020. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/converter.d.ts +0 -0
  2021. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/converter.js +0 -0
  2022. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/index.d.ts +0 -0
  2023. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/client.js +0 -0
  2024. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/converter.d.ts +0 -0
  2025. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/converter.js +0 -0
  2026. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/index.d.ts +0 -0
  2027. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/client.js +0 -0
  2028. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/converter.d.ts +0 -0
  2029. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/converter.js +0 -0
  2030. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/index.d.ts +0 -0
  2031. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/client.js +0 -0
  2032. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +0 -0
  2033. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/converter.js +0 -0
  2034. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/index.d.ts +0 -0
  2035. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/client.js +0 -0
  2036. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +0 -0
  2037. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/converter.js +0 -0
  2038. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/index.d.ts +0 -0
  2039. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/client.js +0 -0
  2040. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +0 -0
  2041. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/converter.js +0 -0
  2042. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/index.d.ts +0 -0
  2043. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/client.js +0 -0
  2044. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +0 -0
  2045. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/converter.js +0 -0
  2046. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/index.d.ts +0 -0
  2047. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/client.js +0 -0
  2048. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +0 -0
  2049. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/converter.js +0 -0
  2050. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts +0 -0
  2051. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/client.js +0 -0
  2052. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/converter.d.ts +0 -0
  2053. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/converter.js +0 -0
  2054. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/index.d.ts +0 -0
  2055. /package/dist/{field/features → features}/migrations/slateToLexical/converter/defaultConverters.d.ts +0 -0
  2056. /package/dist/{field/features → features}/migrations/slateToLexical/converter/defaultConverters.js +0 -0
  2057. /package/dist/{field/features → features}/migrations/slateToLexical/converter/index.d.ts +0 -0
  2058. /package/dist/{field/features/migrations/lexicalPluginToLexical → features/migrations/slateToLexical}/converter/types.js +0 -0
  2059. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  2060. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +0 -0
  2061. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +0 -0
  2062. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +0 -0
  2063. /package/dist/{field/features → features}/paragraph/i18n.d.ts +0 -0
  2064. /package/dist/{field/features → features}/paragraph/i18n.js +0 -0
  2065. /package/dist/{field/features → features}/relationship/drawer/commands.d.ts +0 -0
  2066. /package/dist/{field/features → features}/relationship/drawer/commands.js +0 -0
  2067. /package/dist/{field/features → features}/relationship/drawer/index.d.ts +0 -0
  2068. /package/dist/{field/features → features}/relationship/i18n.d.ts +0 -0
  2069. /package/dist/{field/features → features}/relationship/i18n.js +0 -0
  2070. /package/dist/{field/features → features}/relationship/utils/EnabledRelationshipsCondition.d.ts +0 -0
  2071. /package/dist/{field/features → features}/shared/slashMenu/basicGroup.d.ts +0 -0
  2072. /package/dist/{field/features → features}/shared/slashMenu/basicGroup.js +0 -0
  2073. /package/dist/{field/features → features}/shared/toolbar/addDropdownGroup.d.ts +0 -0
  2074. /package/dist/{field/features → features}/shared/toolbar/addDropdownGroup.js +0 -0
  2075. /package/dist/{field/features → features}/shared/toolbar/featureButtonsGroup.d.ts +0 -0
  2076. /package/dist/{field/features → features}/shared/toolbar/featureButtonsGroup.js +0 -0
  2077. /package/dist/{field/features → features}/shared/toolbar/textDropdownGroup.d.ts +0 -0
  2078. /package/dist/{field/features → features}/shared/toolbar/textDropdownGroup.js +0 -0
  2079. /package/dist/{field/features → features}/toolbars/inline/Toolbar/index.js +0 -0
  2080. /package/dist/{field/features → features}/toolbars/shared/ToolbarButton/index.d.ts +0 -0
  2081. /package/dist/{field/features → features}/toolbars/shared/ToolbarButton/index.js +0 -0
  2082. /package/dist/{field/features → features}/toolbars/shared/ToolbarDropdown/DropDown.d.ts +0 -0
  2083. /package/dist/{field/features → features}/toolbars/shared/ToolbarDropdown/index.d.ts +0 -0
  2084. /package/dist/{field/features/migrations/slateToLexical/converter → features/toolbars}/types.js +0 -0
  2085. /package/dist/{field/features → features}/typeUtilities.js +0 -0
  2086. /package/dist/{field/features → features}/upload/component/index.d.ts +0 -0
  2087. /package/dist/{field/features → features}/upload/drawer/commands.d.ts +0 -0
  2088. /package/dist/{field/features → features}/upload/drawer/commands.js +0 -0
  2089. /package/dist/{field/features → features}/upload/drawer/index.d.ts +0 -0
  2090. /package/dist/{field/features → features}/upload/i18n.d.ts +0 -0
  2091. /package/dist/{field/features → features}/upload/i18n.js +0 -0
  2092. /package/dist/{field/lexical → lexical}/config/client/EditorConfigProvider.js +0 -0
  2093. /package/dist/{field/lexical → lexical}/config/client/default.d.ts +0 -0
  2094. /package/dist/{field/lexical → lexical}/config/client/default.js +0 -0
  2095. /package/dist/{field/lexical → lexical}/config/server/default.js +0 -0
  2096. /package/dist/{field/lexical → lexical}/config/server/sanitize.js +0 -0
  2097. /package/dist/{field/features/toolbars → lexical/config}/types.js +0 -0
  2098. /package/dist/{field/lexical → lexical}/nodes/index.d.ts +0 -0
  2099. /package/dist/{field/lexical → lexical}/nodes/index.js +0 -0
  2100. /package/dist/{field/lexical → lexical}/plugins/MarkdownShortcut/index.d.ts +0 -0
  2101. /package/dist/{field/lexical → lexical}/plugins/MarkdownShortcut/index.js +0 -0
  2102. /package/dist/{field/features → lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin}/types.js +0 -0
  2103. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/index.d.ts +0 -0
  2104. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.d.ts +0 -0
  2105. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.js +0 -0
  2106. /package/dist/{field/lexical → lexical}/plugins/handles/AddBlockHandlePlugin/index.d.ts +0 -0
  2107. /package/dist/{field/lexical → lexical}/plugins/handles/AddBlockHandlePlugin/index.js +0 -0
  2108. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/debounce.d.ts +0 -0
  2109. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/debounce.js +0 -0
  2110. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts +0 -0
  2111. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js +0 -0
  2112. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts +0 -0
  2113. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js +0 -0
  2114. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/index.d.ts +0 -0
  2115. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/setTargetLine.js +0 -0
  2116. /package/dist/{field/lexical → lexical}/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts +0 -0
  2117. /package/dist/{field/lexical → lexical}/plugins/handles/utils/calculateDistanceFromScrollerElem.js +0 -0
  2118. /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.d.ts +0 -0
  2119. /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.js +0 -0
  2120. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.d.ts +0 -0
  2121. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.js +0 -0
  2122. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getNodeCloseToPoint.d.ts +0 -0
  2123. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getNodeCloseToPoint.js +0 -0
  2124. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getTopLevelNodeKeys.d.ts +0 -0
  2125. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getTopLevelNodeKeys.js +0 -0
  2126. /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.d.ts +0 -0
  2127. /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.js +0 -0
  2128. /package/dist/{field/lexical → lexical}/plugins/handles/utils/setHandlePosition.d.ts +0 -0
  2129. /package/dist/{field/lexical → lexical}/plugins/handles/utils/setHandlePosition.js +0 -0
  2130. /package/dist/{field/lexical → lexical}/theme/EditorTheme.d.ts +0 -0
  2131. /package/dist/{field/lexical → lexical}/theme/EditorTheme.js +0 -0
  2132. /package/dist/{field/lexical → lexical}/ui/ContentEditable.d.ts +0 -0
  2133. /package/dist/{field/lexical → lexical}/ui/icons/AI/index.d.ts +0 -0
  2134. /package/dist/{field/lexical → lexical}/ui/icons/AI/index.js +0 -0
  2135. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.d.ts +0 -0
  2136. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.js +0 -0
  2137. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.svg +0 -0
  2138. /package/dist/{field/lexical → lexical}/ui/icons/Add/light.svg +0 -0
  2139. /package/dist/{field/lexical → lexical}/ui/icons/AlignCenter/index.d.ts +0 -0
  2140. /package/dist/{field/lexical → lexical}/ui/icons/AlignCenter/index.js +0 -0
  2141. /package/dist/{field/lexical → lexical}/ui/icons/AlignJustify/index.d.ts +0 -0
  2142. /package/dist/{field/lexical → lexical}/ui/icons/AlignJustify/index.js +0 -0
  2143. /package/dist/{field/lexical → lexical}/ui/icons/AlignLeft/index.d.ts +0 -0
  2144. /package/dist/{field/lexical → lexical}/ui/icons/AlignLeft/index.js +0 -0
  2145. /package/dist/{field/lexical → lexical}/ui/icons/AlignRight/index.d.ts +0 -0
  2146. /package/dist/{field/lexical → lexical}/ui/icons/AlignRight/index.js +0 -0
  2147. /package/dist/{field/lexical → lexical}/ui/icons/Block/index.d.ts +0 -0
  2148. /package/dist/{field/lexical → lexical}/ui/icons/Block/index.js +0 -0
  2149. /package/dist/{field/lexical → lexical}/ui/icons/Blockquote/index.d.ts +0 -0
  2150. /package/dist/{field/lexical → lexical}/ui/icons/Blockquote/index.js +0 -0
  2151. /package/dist/{field/lexical → lexical}/ui/icons/Bold/index.d.ts +0 -0
  2152. /package/dist/{field/lexical → lexical}/ui/icons/Bold/index.js +0 -0
  2153. /package/dist/{field/lexical → lexical}/ui/icons/Caret/index.svg +0 -0
  2154. /package/dist/{field/lexical → lexical}/ui/icons/Checklist/index.d.ts +0 -0
  2155. /package/dist/{field/lexical → lexical}/ui/icons/Checklist/index.js +0 -0
  2156. /package/dist/{field/lexical → lexical}/ui/icons/Code/index.d.ts +0 -0
  2157. /package/dist/{field/lexical → lexical}/ui/icons/Code/index.js +0 -0
  2158. /package/dist/{field/lexical → lexical}/ui/icons/CodeBlock/index.d.ts +0 -0
  2159. /package/dist/{field/lexical → lexical}/ui/icons/CodeBlock/index.js +0 -0
  2160. /package/dist/{field/lexical → lexical}/ui/icons/DraggableBlock/index.svg +0 -0
  2161. /package/dist/{field/lexical → lexical}/ui/icons/DraggableBlock/light.svg +0 -0
  2162. /package/dist/{field/lexical → lexical}/ui/icons/Edit/index.svg +0 -0
  2163. /package/dist/{field/lexical → lexical}/ui/icons/H1/index.d.ts +0 -0
  2164. /package/dist/{field/lexical → lexical}/ui/icons/H1/index.js +0 -0
  2165. /package/dist/{field/lexical → lexical}/ui/icons/H2/index.d.ts +0 -0
  2166. /package/dist/{field/lexical → lexical}/ui/icons/H2/index.js +0 -0
  2167. /package/dist/{field/lexical → lexical}/ui/icons/H3/index.d.ts +0 -0
  2168. /package/dist/{field/lexical → lexical}/ui/icons/H3/index.js +0 -0
  2169. /package/dist/{field/lexical → lexical}/ui/icons/H4/index.d.ts +0 -0
  2170. /package/dist/{field/lexical → lexical}/ui/icons/H4/index.js +0 -0
  2171. /package/dist/{field/lexical → lexical}/ui/icons/H5/index.d.ts +0 -0
  2172. /package/dist/{field/lexical → lexical}/ui/icons/H5/index.js +0 -0
  2173. /package/dist/{field/lexical → lexical}/ui/icons/H6/index.d.ts +0 -0
  2174. /package/dist/{field/lexical → lexical}/ui/icons/H6/index.js +0 -0
  2175. /package/dist/{field/lexical → lexical}/ui/icons/HorizontalRule/index.d.ts +0 -0
  2176. /package/dist/{field/lexical → lexical}/ui/icons/HorizontalRule/index.js +0 -0
  2177. /package/dist/{field/lexical → lexical}/ui/icons/IndentDecrease/index.d.ts +0 -0
  2178. /package/dist/{field/lexical → lexical}/ui/icons/IndentDecrease/index.js +0 -0
  2179. /package/dist/{field/lexical → lexical}/ui/icons/IndentIncrease/index.d.ts +0 -0
  2180. /package/dist/{field/lexical → lexical}/ui/icons/IndentIncrease/index.js +0 -0
  2181. /package/dist/{field/lexical → lexical}/ui/icons/Italic/index.d.ts +0 -0
  2182. /package/dist/{field/lexical → lexical}/ui/icons/Italic/index.js +0 -0
  2183. /package/dist/{field/lexical → lexical}/ui/icons/Link/index.d.ts +0 -0
  2184. /package/dist/{field/lexical → lexical}/ui/icons/Link/index.js +0 -0
  2185. /package/dist/{field/lexical → lexical}/ui/icons/OrderedList/index.d.ts +0 -0
  2186. /package/dist/{field/lexical → lexical}/ui/icons/OrderedList/index.js +0 -0
  2187. /package/dist/{field/lexical → lexical}/ui/icons/Relationship/index.d.ts +0 -0
  2188. /package/dist/{field/lexical → lexical}/ui/icons/Relationship/index.js +0 -0
  2189. /package/dist/{field/lexical → lexical}/ui/icons/Remove/index.svg +0 -0
  2190. /package/dist/{field/lexical → lexical}/ui/icons/Strikethrough/index.d.ts +0 -0
  2191. /package/dist/{field/lexical → lexical}/ui/icons/Strikethrough/index.js +0 -0
  2192. /package/dist/{field/lexical → lexical}/ui/icons/Subscript/index.d.ts +0 -0
  2193. /package/dist/{field/lexical → lexical}/ui/icons/Subscript/index.js +0 -0
  2194. /package/dist/{field/lexical → lexical}/ui/icons/Superscript/index.d.ts +0 -0
  2195. /package/dist/{field/lexical → lexical}/ui/icons/Superscript/index.js +0 -0
  2196. /package/dist/{field/lexical → lexical}/ui/icons/Text/index.d.ts +0 -0
  2197. /package/dist/{field/lexical → lexical}/ui/icons/Text/index.js +0 -0
  2198. /package/dist/{field/lexical → lexical}/ui/icons/Underline/index.d.ts +0 -0
  2199. /package/dist/{field/lexical → lexical}/ui/icons/Underline/index.js +0 -0
  2200. /package/dist/{field/lexical → lexical}/ui/icons/UnorderedList/index.d.ts +0 -0
  2201. /package/dist/{field/lexical → lexical}/ui/icons/UnorderedList/index.js +0 -0
  2202. /package/dist/{field/lexical → lexical}/ui/icons/Upload/index.d.ts +0 -0
  2203. /package/dist/{field/lexical → lexical}/utils/canUseDOM.d.ts +0 -0
  2204. /package/dist/{field/lexical → lexical}/utils/canUseDOM.js +0 -0
  2205. /package/dist/{field/lexical → lexical}/utils/environment.d.ts +0 -0
  2206. /package/dist/{field/lexical → lexical}/utils/environment.js +0 -0
  2207. /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.d.ts +0 -0
  2208. /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.js +0 -0
  2209. /package/dist/{field/lexical → lexical}/utils/getSelectedNode.d.ts +0 -0
  2210. /package/dist/{field/lexical → lexical}/utils/getSelectedNode.js +0 -0
  2211. /package/dist/{field/lexical → lexical}/utils/guard.d.ts +0 -0
  2212. /package/dist/{field/lexical → lexical}/utils/guard.js +0 -0
  2213. /package/dist/{field/lexical → lexical}/utils/invariant.d.ts +0 -0
  2214. /package/dist/{field/lexical → lexical}/utils/invariant.js +0 -0
  2215. /package/dist/{field/lexical → lexical}/utils/joinClasses.d.ts +0 -0
  2216. /package/dist/{field/lexical → lexical}/utils/joinClasses.js +0 -0
  2217. /package/dist/{field/lexical → lexical}/utils/markdown/createBlockNode.js +0 -0
  2218. /package/dist/{field/lexical → lexical}/utils/nodeFormat.d.ts +0 -0
  2219. /package/dist/{field/lexical → lexical}/utils/nodeFormat.js +0 -0
  2220. /package/dist/{field/lexical → lexical}/utils/point.d.ts +0 -0
  2221. /package/dist/{field/lexical → lexical}/utils/point.js +0 -0
  2222. /package/dist/{field/lexical → lexical}/utils/rect.d.ts +0 -0
  2223. /package/dist/{field/lexical → lexical}/utils/rect.js +0 -0
  2224. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPosition.d.ts +0 -0
  2225. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPosition.js +0 -0
  2226. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.d.ts +0 -0
  2227. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.js +0 -0
  2228. /package/dist/{field/lexical → lexical}/utils/swipe.d.ts +0 -0
  2229. /package/dist/{field/lexical → lexical}/utils/swipe.js +0 -0
  2230. /package/dist/{field/lexical → lexical}/utils/url.d.ts +0 -0
  2231. /package/dist/{field/lexical → lexical}/utils/url.js +0 -0
  2232. /package/dist/{forEachNodeRecursively.d.ts → utilities/forEachNodeRecursively.d.ts} +0 -0
  2233. /package/dist/{forEachNodeRecursively.js → utilities/forEachNodeRecursively.js} +0 -0
  2234. /package/dist/{recurseNodeTree.d.ts → utilities/recurseNodeTree.d.ts} +0 -0
  2235. /package/dist/{recurseNodeTree.js → utilities/recurseNodeTree.js} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.ts"],"sourcesContent":["import type { Field } from 'payload'\n\nimport { fieldAffectsData, fieldHasSubFields, fieldIsArrayType, tabHasName } from 'payload/shared'\n\nimport type {\n SlateNodeConverter,\n SlateNodeConverterProvider,\n} from '../../features/migrations/slateToLexical/converter/types.js'\nimport type { LexicalRichTextAdapter } from '../../types.js'\n\nimport { convertSlateToLexical } from '../../features/migrations/slateToLexical/converter/index.js'\n\ntype NestedRichTextFieldsArgs = {\n data: unknown\n\n fields: Field[]\n found: number\n}\n\nexport const migrateDocumentFieldsRecursively = ({\n data,\n fields,\n found,\n}: NestedRichTextFieldsArgs): number => {\n for (const field of fields) {\n if (fieldHasSubFields(field) && !fieldIsArrayType(field)) {\n if (fieldAffectsData(field) && typeof data[field.name] === 'object') {\n found += migrateDocumentFieldsRecursively({\n data: data[field.name],\n fields: field.fields,\n found,\n })\n } else {\n found += migrateDocumentFieldsRecursively({\n data,\n fields: field.fields,\n found,\n })\n }\n } else if (field.type === 'tabs') {\n field.tabs.forEach((tab) => {\n found += migrateDocumentFieldsRecursively({\n data: tabHasName(tab) ? data[tab.name] : data,\n fields: tab.fields,\n found,\n })\n })\n } else if (Array.isArray(data[field.name])) {\n if (field.type === 'blocks') {\n data[field.name].forEach((row, i) => {\n const block = field.blocks.find(({ slug }) => slug === row?.blockType)\n if (block) {\n found += migrateDocumentFieldsRecursively({\n data: data[field.name][i],\n fields: block.fields,\n found,\n })\n }\n })\n }\n\n if (field.type === 'array') {\n data[field.name].forEach((_, i) => {\n found += migrateDocumentFieldsRecursively({\n data: data[field.name][i],\n fields: field.fields,\n found,\n })\n })\n }\n }\n\n if (field.type === 'richText' && Array.isArray(data[field.name])) {\n // Slate richText\n const editor: LexicalRichTextAdapter = field.editor as LexicalRichTextAdapter\n if (editor && typeof editor === 'object') {\n if ('features' in editor && editor.features?.length) {\n // find slatetolexical feature\n const slateToLexicalFeature = editor.editorConfig.resolvedFeatureMap.get('slateToLexical')\n if (slateToLexicalFeature) {\n // DO CONVERSION\n\n const converterProviders = (\n slateToLexicalFeature.sanitizedServerFeatureProps as {\n converters?: SlateNodeConverterProvider[]\n }\n ).converters\n\n const converters: SlateNodeConverter[] = []\n\n for (const converter of converterProviders) {\n converters.push(converter.converter)\n }\n\n data[field.name] = convertSlateToLexical({\n converters,\n slateData: data[field.name],\n })\n\n found++\n }\n }\n }\n }\n }\n\n return found\n}\n"],"names":["fieldAffectsData","fieldHasSubFields","fieldIsArrayType","tabHasName","convertSlateToLexical","migrateDocumentFieldsRecursively","data","fields","found","field","name","type","tabs","forEach","tab","Array","isArray","row","i","block","blocks","find","slug","blockType","_","editor","features","length","slateToLexicalFeature","editorConfig","resolvedFeatureMap","get","converterProviders","sanitizedServerFeatureProps","converters","converter","push","slateData"],"mappings":"AAEA,SAASA,gBAAgB,EAAEC,iBAAiB,EAAEC,gBAAgB,EAAEC,UAAU,QAAQ,iBAAgB;AAQlG,SAASC,qBAAqB,QAAQ,8DAA6D;AASnG,OAAO,MAAMC,mCAAmC,CAAC,EAC/CC,IAAI,EACJC,MAAM,EACNC,KAAK,EACoB;IACzB,KAAK,MAAMC,SAASF,OAAQ;QAC1B,IAAIN,kBAAkBQ,UAAU,CAACP,iBAAiBO,QAAQ;YACxD,IAAIT,iBAAiBS,UAAU,OAAOH,IAAI,CAACG,MAAMC,IAAI,CAAC,KAAK,UAAU;gBACnEF,SAASH,iCAAiC;oBACxCC,MAAMA,IAAI,CAACG,MAAMC,IAAI,CAAC;oBACtBH,QAAQE,MAAMF,MAAM;oBACpBC;gBACF;YACF,OAAO;gBACLA,SAASH,iCAAiC;oBACxCC;oBACAC,QAAQE,MAAMF,MAAM;oBACpBC;gBACF;YACF;QACF,OAAO,IAAIC,MAAME,IAAI,KAAK,QAAQ;YAChCF,MAAMG,IAAI,CAACC,OAAO,CAAC,CAACC;gBAClBN,SAASH,iCAAiC;oBACxCC,MAAMH,WAAWW,OAAOR,IAAI,CAACQ,IAAIJ,IAAI,CAAC,GAAGJ;oBACzCC,QAAQO,IAAIP,MAAM;oBAClBC;gBACF;YACF;QACF,OAAO,IAAIO,MAAMC,OAAO,CAACV,IAAI,CAACG,MAAMC,IAAI,CAAC,GAAG;YAC1C,IAAID,MAAME,IAAI,KAAK,UAAU;gBAC3BL,IAAI,CAACG,MAAMC,IAAI,CAAC,CAACG,OAAO,CAAC,CAACI,KAAKC;oBAC7B,MAAMC,QAAQV,MAAMW,MAAM,CAACC,IAAI,CAAC,CAAC,EAAEC,IAAI,EAAE,GAAKA,SAASL,KAAKM;oBAC5D,IAAIJ,OAAO;wBACTX,SAASH,iCAAiC;4BACxCC,MAAMA,IAAI,CAACG,MAAMC,IAAI,CAAC,CAACQ,EAAE;4BACzBX,QAAQY,MAAMZ,MAAM;4BACpBC;wBACF;oBACF;gBACF;YACF;YAEA,IAAIC,MAAME,IAAI,KAAK,SAAS;gBAC1BL,IAAI,CAACG,MAAMC,IAAI,CAAC,CAACG,OAAO,CAAC,CAACW,GAAGN;oBAC3BV,SAASH,iCAAiC;wBACxCC,MAAMA,IAAI,CAACG,MAAMC,IAAI,CAAC,CAACQ,EAAE;wBACzBX,QAAQE,MAAMF,MAAM;wBACpBC;oBACF;gBACF;YACF;QACF;QAEA,IAAIC,MAAME,IAAI,KAAK,cAAcI,MAAMC,OAAO,CAACV,IAAI,CAACG,MAAMC,IAAI,CAAC,GAAG;YAChE,iBAAiB;YACjB,MAAMe,SAAiChB,MAAMgB,MAAM;YACnD,IAAIA,UAAU,OAAOA,WAAW,UAAU;gBACxC,IAAI,cAAcA,UAAUA,OAAOC,QAAQ,EAAEC,QAAQ;oBACnD,8BAA8B;oBAC9B,MAAMC,wBAAwBH,OAAOI,YAAY,CAACC,kBAAkB,CAACC,GAAG,CAAC;oBACzE,IAAIH,uBAAuB;wBACzB,gBAAgB;wBAEhB,MAAMI,qBAAqB,AACzBJ,sBAAsBK,2BAA2B,CAGjDC,UAAU;wBAEZ,MAAMA,aAAmC,EAAE;wBAE3C,KAAK,MAAMC,aAAaH,mBAAoB;4BAC1CE,WAAWE,IAAI,CAACD,UAAUA,SAAS;wBACrC;wBAEA7B,IAAI,CAACG,MAAMC,IAAI,CAAC,GAAGN,sBAAsB;4BACvC8B;4BACAG,WAAW/B,IAAI,CAACG,MAAMC,IAAI,CAAC;wBAC7B;wBAEAF;oBACF;gBACF;YACF;QACF;IACF;IAEA,OAAOA;AACT,EAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recurseNodeTree.d.ts","sourceRoot":"","sources":["../../src/utilities/recurseNodeTree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAGpD,eAAO,MAAM,eAAe,0CAIzB;IACD,cAAc,CAAC,EAAE,qBAAqB,EAAE,CAAA;IACxC,SAAS,CAAC,EAAE;QACV,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,CAAA;KACrC,CAAA;IACD,KAAK,EAAE,qBAAqB,EAAE,CAAA;CAC/B,KAAG,IA+BH,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/utilities/recurseNodeTree.ts"],"sourcesContent":["import type { SerializedLexicalNode } from 'lexical'\n\n// Initialize both flattenedNodes and nodeIDMap\nexport const recurseNodeTree = ({\n flattenedNodes,\n nodeIDMap,\n nodes,\n}: {\n flattenedNodes?: SerializedLexicalNode[]\n nodeIDMap?: {\n [key: string]: SerializedLexicalNode\n }\n nodes: SerializedLexicalNode[]\n}): void => {\n if (!nodes?.length) {\n return\n }\n\n for (const node of nodes) {\n if (flattenedNodes) {\n flattenedNodes.push(node)\n }\n if (nodeIDMap) {\n if (node && 'id' in node && node.id) {\n nodeIDMap[node.id as string] = node\n } else if (\n 'fields' in node &&\n typeof node.fields === 'object' &&\n node.fields &&\n 'id' in node.fields &&\n node?.fields?.id\n ) {\n nodeIDMap[node.fields.id as string] = node\n }\n }\n\n if ('children' in node && Array.isArray(node?.children) && node?.children?.length) {\n recurseNodeTree({\n flattenedNodes,\n nodeIDMap,\n nodes: node.children as SerializedLexicalNode[],\n })\n }\n }\n}\n"],"names":["recurseNodeTree","flattenedNodes","nodeIDMap","nodes","length","node","push","id","fields","Array","isArray","children"],"mappings":"AAEA,+CAA+C;AAC/C,OAAO,MAAMA,kBAAkB,CAAC,EAC9BC,cAAc,EACdC,SAAS,EACTC,KAAK,EAON;IACC,IAAI,CAACA,OAAOC,QAAQ;QAClB;IACF;IAEA,KAAK,MAAMC,QAAQF,MAAO;QACxB,IAAIF,gBAAgB;YAClBA,eAAeK,IAAI,CAACD;QACtB;QACA,IAAIH,WAAW;YACb,IAAIG,QAAQ,QAAQA,QAAQA,KAAKE,EAAE,EAAE;gBACnCL,SAAS,CAACG,KAAKE,EAAE,CAAW,GAAGF;YACjC,OAAO,IACL,YAAYA,QACZ,OAAOA,KAAKG,MAAM,KAAK,YACvBH,KAAKG,MAAM,IACX,QAAQH,KAAKG,MAAM,IACnBH,MAAMG,QAAQD,IACd;gBACAL,SAAS,CAACG,KAAKG,MAAM,CAACD,EAAE,CAAW,GAAGF;YACxC;QACF;QAEA,IAAI,cAAcA,QAAQI,MAAMC,OAAO,CAACL,MAAMM,aAAaN,MAAMM,UAAUP,QAAQ;YACjFJ,gBAAgB;gBACdC;gBACAC;gBACAC,OAAOE,KAAKM,QAAQ;YACtB;QACF;IACF;AACF,EAAC"}
@@ -0,0 +1,11 @@
1
+ import type { Payload } from 'payload';
2
+ /**
3
+ * This goes through every single document in your payload app and re-saves it, if it has a lexical editor.
4
+ * This way, the data is automatically converted to the new format, and that automatic conversion gets applied to every single document in your app.
5
+ *
6
+ * @param payload
7
+ */
8
+ export declare function upgradeLexicalData({ payload }: {
9
+ payload: Payload;
10
+ }): Promise<void>;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utilities/upgradeLexicalData/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyC,OAAO,EAAE,MAAM,SAAS,CAAA;AAI7E;;;;;GAKG;AACH,wBAAsB,kBAAkB,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,iBA0BzE"}
@@ -0,0 +1,101 @@
1
+ import { upgradeDocumentFieldsRecursively } from './upgradeDocumentFieldsRecursively.js';
2
+ /**
3
+ * This goes through every single document in your payload app and re-saves it, if it has a lexical editor.
4
+ * This way, the data is automatically converted to the new format, and that automatic conversion gets applied to every single document in your app.
5
+ *
6
+ * @param payload
7
+ */ export async function upgradeLexicalData({ payload }) {
8
+ const collections = payload.config.collections;
9
+ const allLocales = payload.config.localization ? payload.config.localization.localeCodes : [
10
+ null
11
+ ];
12
+ const totalCollections = collections.length;
13
+ for (const locale of allLocales){
14
+ let curCollection = 0;
15
+ for (const collection of collections){
16
+ curCollection++;
17
+ await upgradeCollection({
18
+ collection,
19
+ cur: curCollection,
20
+ locale,
21
+ max: totalCollections,
22
+ payload
23
+ });
24
+ }
25
+ for (const global of payload.config.globals){
26
+ await upgradeGlobal({
27
+ global,
28
+ locale,
29
+ payload
30
+ });
31
+ }
32
+ }
33
+ }
34
+ async function upgradeGlobal({ global, locale, payload }) {
35
+ console.log(`Lexical Upgrader: ${locale}: Upgrading global:`, global.slug);
36
+ const document = await payload.findGlobal({
37
+ slug: global.slug,
38
+ depth: 0,
39
+ locale: locale || undefined,
40
+ overrideAccess: true
41
+ });
42
+ const found = upgradeDocument({
43
+ document,
44
+ fields: global.fields
45
+ });
46
+ if (found) {
47
+ await payload.updateGlobal({
48
+ slug: global.slug,
49
+ data: document,
50
+ depth: 0,
51
+ locale: locale || undefined
52
+ });
53
+ }
54
+ }
55
+ async function upgradeCollection({ collection, cur, locale, max, payload }) {
56
+ console.log(`Lexical Upgrade: ${locale}: Upgrading collection:`, collection.slug, '(' + cur + '/' + max + ')');
57
+ const documentCount = (await payload.count({
58
+ collection: collection.slug,
59
+ depth: 0,
60
+ locale: locale || undefined
61
+ })).totalDocs;
62
+ let page = 1;
63
+ let upgraded = 0;
64
+ while(upgraded < documentCount){
65
+ const documents = await payload.find({
66
+ collection: collection.slug,
67
+ depth: 0,
68
+ locale: locale || undefined,
69
+ overrideAccess: true,
70
+ page,
71
+ pagination: true
72
+ });
73
+ for (const document of documents.docs){
74
+ upgraded++;
75
+ console.log(`Lexical Upgrade: ${locale}: Upgrading collection:`, collection.slug, '(' + cur + '/' + max + ') - Upgrading Document: ' + document.id + ' (' + upgraded + '/' + documentCount + ')');
76
+ const found = upgradeDocument({
77
+ document,
78
+ fields: collection.fields
79
+ });
80
+ if (found) {
81
+ await payload.update({
82
+ id: document.id,
83
+ collection: collection.slug,
84
+ data: document,
85
+ depth: 0,
86
+ locale: locale || undefined
87
+ });
88
+ }
89
+ }
90
+ page++;
91
+ }
92
+ }
93
+ function upgradeDocument({ document, fields }) {
94
+ return !!upgradeDocumentFieldsRecursively({
95
+ data: document,
96
+ fields,
97
+ found: 0
98
+ });
99
+ }
100
+
101
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/utilities/upgradeLexicalData/index.ts"],"sourcesContent":["import type { CollectionConfig, Field, GlobalConfig, Payload } from 'payload'\n\nimport { upgradeDocumentFieldsRecursively } from './upgradeDocumentFieldsRecursively.js'\n\n/**\n * This goes through every single document in your payload app and re-saves it, if it has a lexical editor.\n * This way, the data is automatically converted to the new format, and that automatic conversion gets applied to every single document in your app.\n *\n * @param payload\n */\nexport async function upgradeLexicalData({ payload }: { payload: Payload }) {\n const collections = payload.config.collections\n\n const allLocales = payload.config.localization ? payload.config.localization.localeCodes : [null]\n\n const totalCollections = collections.length\n for (const locale of allLocales) {\n let curCollection = 0\n for (const collection of collections) {\n curCollection++\n await upgradeCollection({\n collection,\n cur: curCollection,\n locale,\n max: totalCollections,\n payload,\n })\n }\n for (const global of payload.config.globals) {\n await upgradeGlobal({\n global,\n locale,\n payload,\n })\n }\n }\n}\n\nasync function upgradeGlobal({\n global,\n locale,\n payload,\n}: {\n global: GlobalConfig\n locale: null | string\n payload: Payload\n}) {\n console.log(`Lexical Upgrader: ${locale}: Upgrading global:`, global.slug)\n\n const document = await payload.findGlobal({\n slug: global.slug,\n depth: 0,\n locale: locale || undefined,\n overrideAccess: true,\n })\n\n const found = upgradeDocument({\n document,\n fields: global.fields,\n })\n\n if (found) {\n await payload.updateGlobal({\n slug: global.slug,\n data: document,\n depth: 0,\n locale: locale || undefined,\n })\n }\n}\n\nasync function upgradeCollection({\n collection,\n cur,\n locale,\n max,\n payload,\n}: {\n collection: CollectionConfig\n cur: number\n locale: null | string\n max: number\n payload: Payload\n}) {\n console.log(\n `Lexical Upgrade: ${locale}: Upgrading collection:`,\n collection.slug,\n '(' + cur + '/' + max + ')',\n )\n\n const documentCount = (\n await payload.count({\n collection: collection.slug,\n depth: 0,\n locale: locale || undefined,\n })\n ).totalDocs\n\n let page = 1\n let upgraded = 0\n\n while (upgraded < documentCount) {\n const documents = await payload.find({\n collection: collection.slug,\n depth: 0,\n locale: locale || undefined,\n overrideAccess: true,\n page,\n pagination: true,\n })\n\n for (const document of documents.docs) {\n upgraded++\n console.log(\n `Lexical Upgrade: ${locale}: Upgrading collection:`,\n collection.slug,\n '(' +\n cur +\n '/' +\n max +\n ') - Upgrading Document: ' +\n document.id +\n ' (' +\n upgraded +\n '/' +\n documentCount +\n ')',\n )\n const found = upgradeDocument({\n document,\n fields: collection.fields,\n })\n\n if (found) {\n await payload.update({\n id: document.id,\n collection: collection.slug,\n data: document,\n depth: 0,\n locale: locale || undefined,\n })\n }\n }\n page++\n }\n}\n\nfunction upgradeDocument({\n document,\n fields,\n}: {\n document: Record<string, unknown>\n fields: Field[]\n}): boolean {\n return !!upgradeDocumentFieldsRecursively({\n data: document,\n fields,\n found: 0,\n })\n}\n"],"names":["upgradeDocumentFieldsRecursively","upgradeLexicalData","payload","collections","config","allLocales","localization","localeCodes","totalCollections","length","locale","curCollection","collection","upgradeCollection","cur","max","global","globals","upgradeGlobal","console","log","slug","document","findGlobal","depth","undefined","overrideAccess","found","upgradeDocument","fields","updateGlobal","data","documentCount","count","totalDocs","page","upgraded","documents","find","pagination","docs","id","update"],"mappings":"AAEA,SAASA,gCAAgC,QAAQ,wCAAuC;AAExF;;;;;CAKC,GACD,OAAO,eAAeC,mBAAmB,EAAEC,OAAO,EAAwB;IACxE,MAAMC,cAAcD,QAAQE,MAAM,CAACD,WAAW;IAE9C,MAAME,aAAaH,QAAQE,MAAM,CAACE,YAAY,GAAGJ,QAAQE,MAAM,CAACE,YAAY,CAACC,WAAW,GAAG;QAAC;KAAK;IAEjG,MAAMC,mBAAmBL,YAAYM,MAAM;IAC3C,KAAK,MAAMC,UAAUL,WAAY;QAC/B,IAAIM,gBAAgB;QACpB,KAAK,MAAMC,cAAcT,YAAa;YACpCQ;YACA,MAAME,kBAAkB;gBACtBD;gBACAE,KAAKH;gBACLD;gBACAK,KAAKP;gBACLN;YACF;QACF;QACA,KAAK,MAAMc,UAAUd,QAAQE,MAAM,CAACa,OAAO,CAAE;YAC3C,MAAMC,cAAc;gBAClBF;gBACAN;gBACAR;YACF;QACF;IACF;AACF;AAEA,eAAegB,cAAc,EAC3BF,MAAM,EACNN,MAAM,EACNR,OAAO,EAKR;IACCiB,QAAQC,GAAG,CAAC,CAAC,kBAAkB,EAAEV,OAAO,mBAAmB,CAAC,EAAEM,OAAOK,IAAI;IAEzE,MAAMC,WAAW,MAAMpB,QAAQqB,UAAU,CAAC;QACxCF,MAAML,OAAOK,IAAI;QACjBG,OAAO;QACPd,QAAQA,UAAUe;QAClBC,gBAAgB;IAClB;IAEA,MAAMC,QAAQC,gBAAgB;QAC5BN;QACAO,QAAQb,OAAOa,MAAM;IACvB;IAEA,IAAIF,OAAO;QACT,MAAMzB,QAAQ4B,YAAY,CAAC;YACzBT,MAAML,OAAOK,IAAI;YACjBU,MAAMT;YACNE,OAAO;YACPd,QAAQA,UAAUe;QACpB;IACF;AACF;AAEA,eAAeZ,kBAAkB,EAC/BD,UAAU,EACVE,GAAG,EACHJ,MAAM,EACNK,GAAG,EACHb,OAAO,EAOR;IACCiB,QAAQC,GAAG,CACT,CAAC,iBAAiB,EAAEV,OAAO,uBAAuB,CAAC,EACnDE,WAAWS,IAAI,EACf,MAAMP,MAAM,MAAMC,MAAM;IAG1B,MAAMiB,gBAAgB,AACpB,CAAA,MAAM9B,QAAQ+B,KAAK,CAAC;QAClBrB,YAAYA,WAAWS,IAAI;QAC3BG,OAAO;QACPd,QAAQA,UAAUe;IACpB,EAAC,EACDS,SAAS;IAEX,IAAIC,OAAO;IACX,IAAIC,WAAW;IAEf,MAAOA,WAAWJ,cAAe;QAC/B,MAAMK,YAAY,MAAMnC,QAAQoC,IAAI,CAAC;YACnC1B,YAAYA,WAAWS,IAAI;YAC3BG,OAAO;YACPd,QAAQA,UAAUe;YAClBC,gBAAgB;YAChBS;YACAI,YAAY;QACd;QAEA,KAAK,MAAMjB,YAAYe,UAAUG,IAAI,CAAE;YACrCJ;YACAjB,QAAQC,GAAG,CACT,CAAC,iBAAiB,EAAEV,OAAO,uBAAuB,CAAC,EACnDE,WAAWS,IAAI,EACf,MACEP,MACA,MACAC,MACA,6BACAO,SAASmB,EAAE,GACX,OACAL,WACA,MACAJ,gBACA;YAEJ,MAAML,QAAQC,gBAAgB;gBAC5BN;gBACAO,QAAQjB,WAAWiB,MAAM;YAC3B;YAEA,IAAIF,OAAO;gBACT,MAAMzB,QAAQwC,MAAM,CAAC;oBACnBD,IAAInB,SAASmB,EAAE;oBACf7B,YAAYA,WAAWS,IAAI;oBAC3BU,MAAMT;oBACNE,OAAO;oBACPd,QAAQA,UAAUe;gBACpB;YACF;QACF;QACAU;IACF;AACF;AAEA,SAASP,gBAAgB,EACvBN,QAAQ,EACRO,MAAM,EAIP;IACC,OAAO,CAAC,CAAC7B,iCAAiC;QACxC+B,MAAMT;QACNO;QACAF,OAAO;IACT;AACF"}
@@ -0,0 +1,9 @@
1
+ import type { Field } from 'payload';
2
+ type NestedRichTextFieldsArgs = {
3
+ data: unknown;
4
+ fields: Field[];
5
+ found: number;
6
+ };
7
+ export declare const upgradeDocumentFieldsRecursively: ({ data, fields, found, }: NestedRichTextFieldsArgs) => number;
8
+ export {};
9
+ //# sourceMappingURL=upgradeDocumentFieldsRecursively.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upgradeDocumentFieldsRecursively.d.ts","sourceRoot":"","sources":["../../../src/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AASpC,KAAK,wBAAwB,GAAG;IAC9B,IAAI,EAAE,OAAO,CAAA;IAEb,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,eAAO,MAAM,gCAAgC,6BAI1C,wBAAwB,KAAG,MA+E7B,CAAA"}
@@ -0,0 +1,74 @@
1
+ import { createHeadlessEditor } from '@lexical/headless';
2
+ import { fieldAffectsData, fieldHasSubFields, fieldIsArrayType, tabHasName } from 'payload/shared';
3
+ import { getEnabledNodes } from '../../lexical/nodes/index.js';
4
+ export const upgradeDocumentFieldsRecursively = ({ data, fields, found })=>{
5
+ for (const field of fields){
6
+ if (fieldHasSubFields(field) && !fieldIsArrayType(field)) {
7
+ if (fieldAffectsData(field) && typeof data[field.name] === 'object') {
8
+ found += upgradeDocumentFieldsRecursively({
9
+ data: data[field.name],
10
+ fields: field.fields,
11
+ found
12
+ });
13
+ } else {
14
+ found += upgradeDocumentFieldsRecursively({
15
+ data,
16
+ fields: field.fields,
17
+ found
18
+ });
19
+ }
20
+ } else if (field.type === 'tabs') {
21
+ field.tabs.forEach((tab)=>{
22
+ found += upgradeDocumentFieldsRecursively({
23
+ data: tabHasName(tab) ? data[tab.name] : data,
24
+ fields: tab.fields,
25
+ found
26
+ });
27
+ });
28
+ } else if (Array.isArray(data[field.name])) {
29
+ if (field.type === 'blocks') {
30
+ data[field.name].forEach((row, i)=>{
31
+ const block = field.blocks.find(({ slug })=>slug === row?.blockType);
32
+ if (block) {
33
+ found += upgradeDocumentFieldsRecursively({
34
+ data: data[field.name][i],
35
+ fields: block.fields,
36
+ found
37
+ });
38
+ }
39
+ });
40
+ }
41
+ if (field.type === 'array') {
42
+ data[field.name].forEach((_, i)=>{
43
+ found += upgradeDocumentFieldsRecursively({
44
+ data: data[field.name][i],
45
+ fields: field.fields,
46
+ found
47
+ });
48
+ });
49
+ }
50
+ }
51
+ if (field.type === 'richText' && data[field.name] && !Array.isArray(data[field.name]) && 'root' in data[field.name]) {
52
+ // Lexical richText
53
+ const editor = field.editor;
54
+ if (editor && typeof editor === 'object') {
55
+ if ('features' in editor && editor.features?.length) {
56
+ // Load lexical editor into lexical, then save it immediately
57
+ const editorState = data[field.name];
58
+ const headlessEditor = createHeadlessEditor({
59
+ nodes: getEnabledNodes({
60
+ editorConfig: editor.editorConfig
61
+ })
62
+ });
63
+ headlessEditor.setEditorState(headlessEditor.parseEditorState(editorState));
64
+ // get editor state
65
+ data[field.name] = headlessEditor.getEditorState().toJSON();
66
+ found++;
67
+ }
68
+ }
69
+ }
70
+ }
71
+ return found;
72
+ };
73
+
74
+ //# sourceMappingURL=upgradeDocumentFieldsRecursively.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.ts"],"sourcesContent":["import type { SerializedEditorState } from 'lexical'\nimport type { Field } from 'payload'\n\nimport { createHeadlessEditor } from '@lexical/headless'\nimport { fieldAffectsData, fieldHasSubFields, fieldIsArrayType, tabHasName } from 'payload/shared'\n\nimport type { LexicalRichTextAdapter } from '../../types.js'\n\nimport { getEnabledNodes } from '../../lexical/nodes/index.js'\n\ntype NestedRichTextFieldsArgs = {\n data: unknown\n\n fields: Field[]\n found: number\n}\n\nexport const upgradeDocumentFieldsRecursively = ({\n data,\n fields,\n found,\n}: NestedRichTextFieldsArgs): number => {\n for (const field of fields) {\n if (fieldHasSubFields(field) && !fieldIsArrayType(field)) {\n if (fieldAffectsData(field) && typeof data[field.name] === 'object') {\n found += upgradeDocumentFieldsRecursively({\n data: data[field.name],\n fields: field.fields,\n found,\n })\n } else {\n found += upgradeDocumentFieldsRecursively({\n data,\n fields: field.fields,\n found,\n })\n }\n } else if (field.type === 'tabs') {\n field.tabs.forEach((tab) => {\n found += upgradeDocumentFieldsRecursively({\n data: tabHasName(tab) ? data[tab.name] : data,\n fields: tab.fields,\n found,\n })\n })\n } else if (Array.isArray(data[field.name])) {\n if (field.type === 'blocks') {\n data[field.name].forEach((row, i) => {\n const block = field.blocks.find(({ slug }) => slug === row?.blockType)\n if (block) {\n found += upgradeDocumentFieldsRecursively({\n data: data[field.name][i],\n fields: block.fields,\n found,\n })\n }\n })\n }\n\n if (field.type === 'array') {\n data[field.name].forEach((_, i) => {\n found += upgradeDocumentFieldsRecursively({\n data: data[field.name][i],\n fields: field.fields,\n found,\n })\n })\n }\n }\n\n if (\n field.type === 'richText' &&\n data[field.name] &&\n !Array.isArray(data[field.name]) &&\n 'root' in data[field.name]\n ) {\n // Lexical richText\n const editor: LexicalRichTextAdapter = field.editor as LexicalRichTextAdapter\n if (editor && typeof editor === 'object') {\n if ('features' in editor && editor.features?.length) {\n // Load lexical editor into lexical, then save it immediately\n const editorState: SerializedEditorState = data[field.name]\n\n const headlessEditor = createHeadlessEditor({\n nodes: getEnabledNodes({\n editorConfig: editor.editorConfig,\n }),\n })\n headlessEditor.setEditorState(headlessEditor.parseEditorState(editorState))\n\n // get editor state\n data[field.name] = headlessEditor.getEditorState().toJSON()\n\n found++\n }\n }\n }\n }\n\n return found\n}\n"],"names":["createHeadlessEditor","fieldAffectsData","fieldHasSubFields","fieldIsArrayType","tabHasName","getEnabledNodes","upgradeDocumentFieldsRecursively","data","fields","found","field","name","type","tabs","forEach","tab","Array","isArray","row","i","block","blocks","find","slug","blockType","_","editor","features","length","editorState","headlessEditor","nodes","editorConfig","setEditorState","parseEditorState","getEditorState","toJSON"],"mappings":"AAGA,SAASA,oBAAoB,QAAQ,oBAAmB;AACxD,SAASC,gBAAgB,EAAEC,iBAAiB,EAAEC,gBAAgB,EAAEC,UAAU,QAAQ,iBAAgB;AAIlG,SAASC,eAAe,QAAQ,+BAA8B;AAS9D,OAAO,MAAMC,mCAAmC,CAAC,EAC/CC,IAAI,EACJC,MAAM,EACNC,KAAK,EACoB;IACzB,KAAK,MAAMC,SAASF,OAAQ;QAC1B,IAAIN,kBAAkBQ,UAAU,CAACP,iBAAiBO,QAAQ;YACxD,IAAIT,iBAAiBS,UAAU,OAAOH,IAAI,CAACG,MAAMC,IAAI,CAAC,KAAK,UAAU;gBACnEF,SAASH,iCAAiC;oBACxCC,MAAMA,IAAI,CAACG,MAAMC,IAAI,CAAC;oBACtBH,QAAQE,MAAMF,MAAM;oBACpBC;gBACF;YACF,OAAO;gBACLA,SAASH,iCAAiC;oBACxCC;oBACAC,QAAQE,MAAMF,MAAM;oBACpBC;gBACF;YACF;QACF,OAAO,IAAIC,MAAME,IAAI,KAAK,QAAQ;YAChCF,MAAMG,IAAI,CAACC,OAAO,CAAC,CAACC;gBAClBN,SAASH,iCAAiC;oBACxCC,MAAMH,WAAWW,OAAOR,IAAI,CAACQ,IAAIJ,IAAI,CAAC,GAAGJ;oBACzCC,QAAQO,IAAIP,MAAM;oBAClBC;gBACF;YACF;QACF,OAAO,IAAIO,MAAMC,OAAO,CAACV,IAAI,CAACG,MAAMC,IAAI,CAAC,GAAG;YAC1C,IAAID,MAAME,IAAI,KAAK,UAAU;gBAC3BL,IAAI,CAACG,MAAMC,IAAI,CAAC,CAACG,OAAO,CAAC,CAACI,KAAKC;oBAC7B,MAAMC,QAAQV,MAAMW,MAAM,CAACC,IAAI,CAAC,CAAC,EAAEC,IAAI,EAAE,GAAKA,SAASL,KAAKM;oBAC5D,IAAIJ,OAAO;wBACTX,SAASH,iCAAiC;4BACxCC,MAAMA,IAAI,CAACG,MAAMC,IAAI,CAAC,CAACQ,EAAE;4BACzBX,QAAQY,MAAMZ,MAAM;4BACpBC;wBACF;oBACF;gBACF;YACF;YAEA,IAAIC,MAAME,IAAI,KAAK,SAAS;gBAC1BL,IAAI,CAACG,MAAMC,IAAI,CAAC,CAACG,OAAO,CAAC,CAACW,GAAGN;oBAC3BV,SAASH,iCAAiC;wBACxCC,MAAMA,IAAI,CAACG,MAAMC,IAAI,CAAC,CAACQ,EAAE;wBACzBX,QAAQE,MAAMF,MAAM;wBACpBC;oBACF;gBACF;YACF;QACF;QAEA,IACEC,MAAME,IAAI,KAAK,cACfL,IAAI,CAACG,MAAMC,IAAI,CAAC,IAChB,CAACK,MAAMC,OAAO,CAACV,IAAI,CAACG,MAAMC,IAAI,CAAC,KAC/B,UAAUJ,IAAI,CAACG,MAAMC,IAAI,CAAC,EAC1B;YACA,mBAAmB;YACnB,MAAMe,SAAiChB,MAAMgB,MAAM;YACnD,IAAIA,UAAU,OAAOA,WAAW,UAAU;gBACxC,IAAI,cAAcA,UAAUA,OAAOC,QAAQ,EAAEC,QAAQ;oBACnD,6DAA6D;oBAC7D,MAAMC,cAAqCtB,IAAI,CAACG,MAAMC,IAAI,CAAC;oBAE3D,MAAMmB,iBAAiB9B,qBAAqB;wBAC1C+B,OAAO1B,gBAAgB;4BACrB2B,cAAcN,OAAOM,YAAY;wBACnC;oBACF;oBACAF,eAAeG,cAAc,CAACH,eAAeI,gBAAgB,CAACL;oBAE9D,mBAAmB;oBACnBtB,IAAI,CAACG,MAAMC,IAAI,CAAC,GAAGmB,eAAeK,cAAc,GAAGC,MAAM;oBAEzD3B;gBACF;YACF;QACF;IACF;IAEA,OAAOA;AACT,EAAC"}
@@ -0,0 +1,3 @@
1
+ import type { FeatureProviderClient } from '../features/typesClient.js';
2
+ export declare const useLexicalFeature: <ClientFeatureProps>(featureKey: string, feature: FeatureProviderClient<ClientFeatureProps>) => void;
3
+ //# sourceMappingURL=useLexicalFeature.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLexicalFeature.d.ts","sourceRoot":"","sources":["../../src/utilities/useLexicalFeature.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAA;AAEvE,eAAO,MAAM,iBAAiB,GAAI,kBAAkB,cACtC,MAAM,WACT,qBAAqB,CAAC,kBAAkB,CAAC,SAUnD,CAAA"}
@@ -0,0 +1,12 @@
1
+ 'use client';
2
+ import { useAddClientFunction, useFieldProps, useTableCell } from '@payloadcms/ui';
3
+ export const useLexicalFeature = (featureKey, feature)=>{
4
+ const { schemaPath: schemaPathFromFieldProps } = useFieldProps();
5
+ const tableCell = useTableCell();
6
+ const schemaPathFromCellProps = tableCell?.cellProps?.schemaPath;
7
+ const schemaPath = schemaPathFromCellProps || schemaPathFromFieldProps // schemaPathFromCellProps needs to have priority, as there can be cells within fields (e.g. list drawers) and the cell schemaPath needs to be used there - not the parent field schemaPath. There cannot be fields within cells.
8
+ ;
9
+ useAddClientFunction(`lexicalFeature.${schemaPath}.${featureKey}`, feature);
10
+ };
11
+
12
+ //# sourceMappingURL=useLexicalFeature.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/utilities/useLexicalFeature.tsx"],"sourcesContent":["'use client'\n\nimport { useAddClientFunction, useFieldProps, useTableCell } from '@payloadcms/ui'\n\nimport type { FeatureProviderClient } from '../features/typesClient.js'\n\nexport const useLexicalFeature = <ClientFeatureProps,>(\n featureKey: string,\n feature: FeatureProviderClient<ClientFeatureProps>,\n) => {\n const { schemaPath: schemaPathFromFieldProps } = useFieldProps()\n const tableCell = useTableCell()\n\n const schemaPathFromCellProps = tableCell?.cellProps?.schemaPath\n\n const schemaPath = schemaPathFromCellProps || schemaPathFromFieldProps // schemaPathFromCellProps needs to have priority, as there can be cells within fields (e.g. list drawers) and the cell schemaPath needs to be used there - not the parent field schemaPath. There cannot be fields within cells.\n\n useAddClientFunction(`lexicalFeature.${schemaPath}.${featureKey}`, feature)\n}\n"],"names":["useAddClientFunction","useFieldProps","useTableCell","useLexicalFeature","featureKey","feature","schemaPath","schemaPathFromFieldProps","tableCell","schemaPathFromCellProps","cellProps"],"mappings":"AAAA;AAEA,SAASA,oBAAoB,EAAEC,aAAa,EAAEC,YAAY,QAAQ,iBAAgB;AAIlF,OAAO,MAAMC,oBAAoB,CAC/BC,YACAC;IAEA,MAAM,EAAEC,YAAYC,wBAAwB,EAAE,GAAGN;IACjD,MAAMO,YAAYN;IAElB,MAAMO,0BAA0BD,WAAWE,WAAWJ;IAEtD,MAAMA,aAAaG,2BAA2BF,yBAAyB,iOAAiO;;IAExSP,qBAAqB,CAAC,eAAe,EAAEM,WAAW,CAAC,EAAEF,WAAW,CAAC,EAAEC;AACrE,EAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { SerializedEditorState } from 'lexical';
2
2
  import type { RichTextField, Validate } from 'payload';
3
- import type { SanitizedServerEditorConfig } from '../field/lexical/config/types.js';
3
+ import type { SanitizedServerEditorConfig } from '../lexical/config/types.js';
4
4
  export declare const richTextValidateHOC: ({ editorConfig, }: {
5
5
  editorConfig: SanitizedServerEditorConfig;
6
6
  }) => Validate<SerializedEditorState<import("lexical").SerializedLexicalNode>, unknown, unknown, RichTextField>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/validate/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAA2B,MAAM,SAAS,CAAA;AAC7E,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAEtD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAA;AAInF,eAAO,MAAM,mBAAmB,sBAE7B;IACD,YAAY,EAAE,2BAA2B,CAAA;CAC1C,8GA6CA,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/validate/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAA2B,MAAM,SAAS,CAAA;AAC7E,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAEtD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAA;AAI7E,eAAO,MAAM,mBAAmB,sBAE7B;IACD,YAAY,EAAE,2BAA2B,CAAA;CAC1C,8GA6CA,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/validate/index.ts"],"sourcesContent":["import type { SerializedEditorState, SerializedParagraphNode } from 'lexical'\nimport type { RichTextField, Validate } from 'payload'\n\nimport type { SanitizedServerEditorConfig } from '../field/lexical/config/types.js'\n\nimport { validateNodes } from './validateNodes.js'\n\nexport const richTextValidateHOC = ({\n editorConfig,\n}: {\n editorConfig: SanitizedServerEditorConfig\n}) => {\n const richTextValidate: Validate<SerializedEditorState, unknown, unknown, RichTextField> = async (\n value,\n options,\n ) => {\n const {\n req: { t },\n required,\n } = options\n\n if (required) {\n const hasChildren = value?.root?.children?.length\n\n const hasOnlyEmptyParagraph =\n (value?.root?.children?.length === 1 &&\n value?.root?.children[0]?.type === 'paragraph' &&\n (value?.root?.children[0] as SerializedParagraphNode)?.children?.length === 0) ||\n ((value?.root?.children[0] as SerializedParagraphNode)?.children?.length === 1 &&\n (value?.root?.children[0] as SerializedParagraphNode)?.children[0]?.type === 'text' &&\n (value?.root?.children[0] as SerializedParagraphNode)?.children[0]?.['text'] === '')\n\n if (!hasChildren || hasOnlyEmptyParagraph) {\n return t('validation:required')\n }\n }\n\n // Traverse through nodes and validate them. Just like a node can hook into the population process (e.g. link or relationship nodes),\n // they can also hook into the validation process. E.g. a block node probably has fields with validation rules.\n\n const rootNodes = value?.root?.children\n if (rootNodes && Array.isArray(rootNodes) && rootNodes?.length) {\n return await validateNodes({\n nodeValidations: editorConfig.features.validations,\n nodes: rootNodes,\n validation: {\n options,\n value,\n },\n })\n }\n\n return true\n }\n\n return richTextValidate\n}\n"],"names":["validateNodes","richTextValidateHOC","editorConfig","richTextValidate","value","options","req","t","required","hasChildren","root","children","length","hasOnlyEmptyParagraph","type","rootNodes","Array","isArray","nodeValidations","features","validations","nodes","validation"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAKA,SAASA,aAAa,QAAQ,qBAAoB;AAElD,OAAO,MAAMC,sBAAsB,CAAC,EAClCC,YAAY,EAGb;IACC,MAAMC,mBAAqF,OACzFC,OACAC;QAEA,MAAM,EACJC,KAAK,EAAEC,CAAC,EAAE,EACVC,QAAQ,EACT,GAAGH;QAEJ,IAAIG,UAAU;YACZ,MAAMC,cAAcL,OAAOM,MAAMC,UAAUC;YAE3C,MAAMC,wBACJ,AAACT,OAAOM,MAAMC,UAAUC,WAAW,KACjCR,OAAOM,MAAMC,QAAQ,CAAC,EAAE,EAAEG,SAAS,eACnC,AAACV,OAAOM,MAAMC,QAAQ,CAAC,EAAE,EAA8BA,UAAUC,WAAW,KAC7E,AAACR,OAAOM,MAAMC,QAAQ,CAAC,EAAE,EAA8BA,UAAUC,WAAW,KAC3E,AAACR,OAAOM,MAAMC,QAAQ,CAAC,EAAE,EAA8BA,QAAQ,CAAC,EAAE,EAAEG,SAAS,UAC7E,AAACV,OAAOM,MAAMC,QAAQ,CAAC,EAAE,EAA8BA,QAAQ,CAAC,EAAE,EAAE,CAAC,OAAO,KAAK;YAErF,IAAI,CAACF,eAAeI,uBAAuB;gBACzC,OAAON,EAAE;YACX;QACF;QAEA,qIAAqI;QACrI,+GAA+G;QAE/G,MAAMQ,YAAYX,OAAOM,MAAMC;QAC/B,IAAII,aAAaC,MAAMC,OAAO,CAACF,cAAcA,WAAWH,QAAQ;YAC9D,OAAO,MAAMZ,cAAc;gBACzBkB,iBAAiBhB,aAAaiB,QAAQ,CAACC,WAAW;gBAClDC,OAAON;gBACPO,YAAY;oBACVjB;oBACAD;gBACF;YACF;QACF;QAEA,OAAO;IACT;IAEA,OAAOD;AACT,EAAC"}
1
+ {"version":3,"sources":["../../src/validate/index.ts"],"sourcesContent":["import type { SerializedEditorState, SerializedParagraphNode } from 'lexical'\nimport type { RichTextField, Validate } from 'payload'\n\nimport type { SanitizedServerEditorConfig } from '../lexical/config/types.js'\n\nimport { validateNodes } from './validateNodes.js'\n\nexport const richTextValidateHOC = ({\n editorConfig,\n}: {\n editorConfig: SanitizedServerEditorConfig\n}) => {\n const richTextValidate: Validate<SerializedEditorState, unknown, unknown, RichTextField> = async (\n value,\n options,\n ) => {\n const {\n req: { t },\n required,\n } = options\n\n if (required) {\n const hasChildren = value?.root?.children?.length\n\n const hasOnlyEmptyParagraph =\n (value?.root?.children?.length === 1 &&\n value?.root?.children[0]?.type === 'paragraph' &&\n (value?.root?.children[0] as SerializedParagraphNode)?.children?.length === 0) ||\n ((value?.root?.children[0] as SerializedParagraphNode)?.children?.length === 1 &&\n (value?.root?.children[0] as SerializedParagraphNode)?.children[0]?.type === 'text' &&\n (value?.root?.children[0] as SerializedParagraphNode)?.children[0]?.['text'] === '')\n\n if (!hasChildren || hasOnlyEmptyParagraph) {\n return t('validation:required')\n }\n }\n\n // Traverse through nodes and validate them. Just like a node can hook into the population process (e.g. link or relationship nodes),\n // they can also hook into the validation process. E.g. a block node probably has fields with validation rules.\n\n const rootNodes = value?.root?.children\n if (rootNodes && Array.isArray(rootNodes) && rootNodes?.length) {\n return await validateNodes({\n nodeValidations: editorConfig.features.validations,\n nodes: rootNodes,\n validation: {\n options,\n value,\n },\n })\n }\n\n return true\n }\n\n return richTextValidate\n}\n"],"names":["validateNodes","richTextValidateHOC","editorConfig","richTextValidate","value","options","req","t","required","hasChildren","root","children","length","hasOnlyEmptyParagraph","type","rootNodes","Array","isArray","nodeValidations","features","validations","nodes","validation"],"mappings":"AAKA,SAASA,aAAa,QAAQ,qBAAoB;AAElD,OAAO,MAAMC,sBAAsB,CAAC,EAClCC,YAAY,EAGb;IACC,MAAMC,mBAAqF,OACzFC,OACAC;QAEA,MAAM,EACJC,KAAK,EAAEC,CAAC,EAAE,EACVC,QAAQ,EACT,GAAGH;QAEJ,IAAIG,UAAU;YACZ,MAAMC,cAAcL,OAAOM,MAAMC,UAAUC;YAE3C,MAAMC,wBACJ,AAACT,OAAOM,MAAMC,UAAUC,WAAW,KACjCR,OAAOM,MAAMC,QAAQ,CAAC,EAAE,EAAEG,SAAS,eACnC,AAACV,OAAOM,MAAMC,QAAQ,CAAC,EAAE,EAA8BA,UAAUC,WAAW,KAC7E,AAACR,OAAOM,MAAMC,QAAQ,CAAC,EAAE,EAA8BA,UAAUC,WAAW,KAC3E,AAACR,OAAOM,MAAMC,QAAQ,CAAC,EAAE,EAA8BA,QAAQ,CAAC,EAAE,EAAEG,SAAS,UAC7E,AAACV,OAAOM,MAAMC,QAAQ,CAAC,EAAE,EAA8BA,QAAQ,CAAC,EAAE,EAAE,CAAC,OAAO,KAAK;YAErF,IAAI,CAACF,eAAeI,uBAAuB;gBACzC,OAAON,EAAE;YACX;QACF;QAEA,qIAAqI;QACrI,+GAA+G;QAE/G,MAAMQ,YAAYX,OAAOM,MAAMC;QAC/B,IAAII,aAAaC,MAAMC,OAAO,CAACF,cAAcA,WAAWH,QAAQ;YAC9D,OAAO,MAAMZ,cAAc;gBACzBkB,iBAAiBhB,aAAaiB,QAAQ,CAACC,WAAW;gBAClDC,OAAON;gBACPO,YAAY;oBACVjB;oBACAD;gBACF;YACF;QACF;QAEA,OAAO;IACT;IAEA,OAAOD;AACT,EAAC"}
@@ -1,11 +1,11 @@
1
1
  import type { SerializedEditorState, SerializedLexicalNode } from 'lexical';
2
2
  import type { RichTextField, ValidateOptions } from 'payload';
3
- import type { NodeValidation } from '../field/features/types.js';
3
+ import type { NodeValidation } from '../features/typesServer.js';
4
4
  export declare function validateNodes({ nodeValidations, nodes, validation: validationFromProps, }: {
5
5
  nodeValidations: Map<string, Array<NodeValidation>>;
6
6
  nodes: SerializedLexicalNode[];
7
7
  validation: {
8
- options: ValidateOptions<unknown, unknown, RichTextField>;
8
+ options: ValidateOptions<unknown, unknown, RichTextField, SerializedEditorState>;
9
9
  value: SerializedEditorState;
10
10
  };
11
11
  }): Promise<string | true>;
@@ -1 +1 @@
1
- {"version":3,"file":"validateNodes.d.ts","sourceRoot":"","sources":["../../src/validate/validateNodes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAEhE,wBAAsB,aAAa,CAAC,EAClC,eAAe,EACf,KAAK,EACL,UAAU,EAAE,mBAAmB,GAChC,EAAE;IACD,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC,CAAA;IACnD,KAAK,EAAE,qBAAqB,EAAE,CAAA;IAC9B,UAAU,EAAE;QACV,OAAO,EAAE,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,aAAa,CAAC,CAAA;QACzD,KAAK,EAAE,qBAAqB,CAAA;KAC7B,CAAA;CACF,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAmCzB"}
1
+ {"version":3,"file":"validateNodes.d.ts","sourceRoot":"","sources":["../../src/validate/validateNodes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAEhE,wBAAsB,aAAa,CAAC,EAClC,eAAe,EACf,KAAK,EACL,UAAU,EAAE,mBAAmB,GAChC,EAAE;IACD,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC,CAAA;IACnD,KAAK,EAAE,qBAAqB,EAAE,CAAA;IAC9B,UAAU,EAAE;QACV,OAAO,EAAE,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,qBAAqB,CAAC,CAAA;QAChF,KAAK,EAAE,qBAAqB,CAAA;KAC7B,CAAA;CACF,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAmCzB"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/validate/validateNodes.ts"],"sourcesContent":["import type { SerializedEditorState, SerializedLexicalNode } from 'lexical'\nimport type { RichTextField, ValidateOptions } from 'payload'\n\nimport type { NodeValidation } from '../field/features/types.js'\n\nexport async function validateNodes({\n nodeValidations,\n nodes,\n validation: validationFromProps,\n}: {\n nodeValidations: Map<string, Array<NodeValidation>>\n nodes: SerializedLexicalNode[]\n validation: {\n options: ValidateOptions<unknown, unknown, RichTextField>\n value: SerializedEditorState\n }\n}): Promise<string | true> {\n for (const node of nodes) {\n // Validate node\n if (\n nodeValidations &&\n typeof nodeValidations?.has === 'function' &&\n nodeValidations?.has(node.type)\n ) {\n const validations = nodeValidations.get(node.type)\n for (const validation of validations) {\n const validationResult = await validation({\n node,\n nodeValidations,\n validation: validationFromProps,\n })\n if (validationResult !== true) {\n return `${node.type} node failed to validate: ${validationResult}`\n }\n }\n }\n\n // Validate node's children\n if ('children' in node && node?.children) {\n const childrenValidationResult = await validateNodes({\n nodeValidations,\n nodes: node.children as SerializedLexicalNode[],\n validation: validationFromProps,\n })\n if (childrenValidationResult !== true) {\n return childrenValidationResult\n }\n }\n }\n\n return true\n}\n"],"names":["validateNodes","nodeValidations","nodes","validation","validationFromProps","node","has","type","validations","get","validationResult","children","childrenValidationResult"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAKA,OAAO,eAAeA,cAAc,EAClCC,eAAe,EACfC,KAAK,EACLC,YAAYC,mBAAmB,EAQhC;IACC,KAAK,MAAMC,QAAQH,MAAO;QACxB,gBAAgB;QAChB,IACED,mBACA,OAAOA,iBAAiBK,QAAQ,cAChCL,iBAAiBK,IAAID,KAAKE,IAAI,GAC9B;YACA,MAAMC,cAAcP,gBAAgBQ,GAAG,CAACJ,KAAKE,IAAI;YACjD,KAAK,MAAMJ,cAAcK,YAAa;gBACpC,MAAME,mBAAmB,MAAMP,WAAW;oBACxCE;oBACAJ;oBACAE,YAAYC;gBACd;gBACA,IAAIM,qBAAqB,MAAM;oBAC7B,OAAO,CAAC,EAAEL,KAAKE,IAAI,CAAC,0BAA0B,EAAEG,iBAAiB,CAAC;gBACpE;YACF;QACF;QAEA,2BAA2B;QAC3B,IAAI,cAAcL,QAAQA,MAAMM,UAAU;YACxC,MAAMC,2BAA2B,MAAMZ,cAAc;gBACnDC;gBACAC,OAAOG,KAAKM,QAAQ;gBACpBR,YAAYC;YACd;YACA,IAAIQ,6BAA6B,MAAM;gBACrC,OAAOA;YACT;QACF;IACF;IAEA,OAAO;AACT"}
1
+ {"version":3,"sources":["../../src/validate/validateNodes.ts"],"sourcesContent":["import type { SerializedEditorState, SerializedLexicalNode } from 'lexical'\nimport type { RichTextField, ValidateOptions } from 'payload'\n\nimport type { NodeValidation } from '../features/typesServer.js'\n\nexport async function validateNodes({\n nodeValidations,\n nodes,\n validation: validationFromProps,\n}: {\n nodeValidations: Map<string, Array<NodeValidation>>\n nodes: SerializedLexicalNode[]\n validation: {\n options: ValidateOptions<unknown, unknown, RichTextField, SerializedEditorState>\n value: SerializedEditorState\n }\n}): Promise<string | true> {\n for (const node of nodes) {\n // Validate node\n if (\n nodeValidations &&\n typeof nodeValidations?.has === 'function' &&\n nodeValidations?.has(node.type)\n ) {\n const validations = nodeValidations.get(node.type)\n for (const validation of validations) {\n const validationResult = await validation({\n node,\n nodeValidations,\n validation: validationFromProps,\n })\n if (validationResult !== true) {\n return `${node.type} node failed to validate: ${validationResult}`\n }\n }\n }\n\n // Validate node's children\n if ('children' in node && node?.children) {\n const childrenValidationResult = await validateNodes({\n nodeValidations,\n nodes: node.children as SerializedLexicalNode[],\n validation: validationFromProps,\n })\n if (childrenValidationResult !== true) {\n return childrenValidationResult\n }\n }\n }\n\n return true\n}\n"],"names":["validateNodes","nodeValidations","nodes","validation","validationFromProps","node","has","type","validations","get","validationResult","children","childrenValidationResult"],"mappings":"AAKA,OAAO,eAAeA,cAAc,EAClCC,eAAe,EACfC,KAAK,EACLC,YAAYC,mBAAmB,EAQhC;IACC,KAAK,MAAMC,QAAQH,MAAO;QACxB,gBAAgB;QAChB,IACED,mBACA,OAAOA,iBAAiBK,QAAQ,cAChCL,iBAAiBK,IAAID,KAAKE,IAAI,GAC9B;YACA,MAAMC,cAAcP,gBAAgBQ,GAAG,CAACJ,KAAKE,IAAI;YACjD,KAAK,MAAMJ,cAAcK,YAAa;gBACpC,MAAME,mBAAmB,MAAMP,WAAW;oBACxCE;oBACAJ;oBACAE,YAAYC;gBACd;gBACA,IAAIM,qBAAqB,MAAM;oBAC7B,OAAO,CAAC,EAAEL,KAAKE,IAAI,CAAC,0BAA0B,EAAEG,iBAAiB,CAAC;gBACpE;YACF;QACF;QAEA,2BAA2B;QAC3B,IAAI,cAAcL,QAAQA,MAAMM,UAAU;YACxC,MAAMC,2BAA2B,MAAMZ,cAAc;gBACnDC;gBACAC,OAAOG,KAAKM,QAAQ;gBACpBR,YAAYC;YACd;YACA,IAAIQ,6BAA6B,MAAM;gBACrC,OAAOA;YACT;QACF;IACF;IAEA,OAAO;AACT"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payloadcms/richtext-lexical",
3
- "version": "3.0.0-canary.4704e79",
3
+ "version": "3.0.0-canary.483db21",
4
4
  "description": "The officially supported Lexical richtext adapter for Payload",
5
5
  "homepage": "https://payloadcms.com",
6
6
  "repository": {
@@ -15,13 +15,13 @@
15
15
  "exports": {
16
16
  ".": {
17
17
  "import": "./dist/index.js",
18
- "require": "./dist/index.js",
19
- "types": "./dist/index.d.ts"
18
+ "types": "./dist/index.d.ts",
19
+ "default": "./dist/index.js"
20
20
  },
21
21
  "./client": {
22
22
  "import": "./dist/exports/client/index.js",
23
- "require": "./dist/exports/*client/index.js",
24
- "types": "./dist/exports/client/index.d.ts"
23
+ "types": "./dist/exports/client/index.d.ts",
24
+ "default": "./dist/exports/client/index.js"
25
25
  }
26
26
  },
27
27
  "main": "./dist/index.js",
@@ -30,56 +30,57 @@
30
30
  "dist"
31
31
  ],
32
32
  "dependencies": {
33
- "@lexical/headless": "0.16.0",
34
- "@lexical/link": "0.16.0",
35
- "@lexical/list": "0.16.0",
36
- "@lexical/mark": "0.16.0",
37
- "@lexical/markdown": "0.16.0",
38
- "@lexical/react": "0.16.0",
39
- "@lexical/rich-text": "0.16.0",
40
- "@lexical/selection": "0.16.0",
41
- "@lexical/utils": "0.16.0",
42
- "@types/uuid": "^9.0.8",
33
+ "@lexical/headless": "0.17.0",
34
+ "@lexical/link": "0.17.0",
35
+ "@lexical/list": "0.17.0",
36
+ "@lexical/mark": "0.17.0",
37
+ "@lexical/markdown": "0.17.0",
38
+ "@lexical/react": "0.17.0",
39
+ "@lexical/rich-text": "0.17.0",
40
+ "@lexical/selection": "0.17.0",
41
+ "@lexical/utils": "0.17.0",
42
+ "@types/uuid": "10.0.0",
43
43
  "bson-objectid": "2.0.4",
44
- "deep-equal": "2.2.3",
45
- "json-schema": "^0.4.0",
46
- "lexical": "0.16.0",
44
+ "dequal": "2.0.3",
45
+ "lexical": "0.17.0",
47
46
  "react-error-boundary": "4.0.13",
48
47
  "uuid": "10.0.0"
49
48
  },
50
49
  "devDependencies": {
51
- "@lexical/eslint-plugin": "0.15.0",
50
+ "@lexical/eslint-plugin": "0.17.0",
52
51
  "@types/json-schema": "7.0.15",
53
52
  "@types/node": "20.12.5",
54
- "@types/react": "npm:types-react@19.0.0-beta.2",
55
- "@types/react-dom": "npm:types-react-dom@19.0.0-beta.2",
56
- "esbuild": "^0.21.4",
57
- "esbuild-sass-plugin": "^3.3.0",
58
- "@payloadcms/eslint-config": "1.1.1",
59
- "@payloadcms/next": "3.0.0-canary.4704e79",
60
- "@payloadcms/translations": "3.0.0-canary.4704e79",
61
- "@payloadcms/ui": "3.0.0-canary.4704e79",
62
- "payload": "3.0.0-canary.4704e79"
53
+ "@types/react": "npm:types-react@19.0.0-rc.0",
54
+ "@types/react-dom": "npm:types-react-dom@19.0.0-rc.0",
55
+ "esbuild": "0.23.0",
56
+ "esbuild-sass-plugin": "3.3.1",
57
+ "swc-plugin-transform-remove-imports": "1.14.0",
58
+ "@payloadcms/next": "3.0.0-canary.483db21",
59
+ "@payloadcms/translations": "3.0.0-canary.483db21",
60
+ "payload": "3.0.0-canary.483db21",
61
+ "@payloadcms/ui": "3.0.0-canary.483db21",
62
+ "@payloadcms/eslint-config": "3.0.0-beta.59"
63
63
  },
64
64
  "peerDependencies": {
65
- "@faceless-ui/modal": "3.0.0-beta.0",
65
+ "@faceless-ui/modal": "3.0.0-beta.2",
66
66
  "@faceless-ui/scroll-info": "2.0.0-beta.0",
67
- "@lexical/headless": "0.16.0",
68
- "@lexical/link": "0.16.0",
69
- "@lexical/list": "0.16.0",
70
- "@lexical/mark": "0.16.0",
71
- "@lexical/markdown": "0.16.0",
72
- "@lexical/react": "0.16.0",
73
- "@lexical/rich-text": "0.16.0",
74
- "@lexical/selection": "0.16.0",
75
- "@lexical/utils": "0.16.0",
76
- "lexical": "0.16.0",
77
- "react": "^19.0.0 || ^19.0.0-rc-f994737d14-20240522",
78
- "react-dom": "^19.0.0 || ^19.0.0-rc-f994737d14-20240522",
79
- "@payloadcms/next": "3.0.0-canary.4704e79",
80
- "@payloadcms/translations": "3.0.0-canary.4704e79",
81
- "payload": "3.0.0-canary.4704e79",
82
- "@payloadcms/ui": "3.0.0-canary.4704e79"
67
+ "@lexical/headless": "0.17.0",
68
+ "@lexical/link": "0.17.0",
69
+ "@lexical/list": "0.17.0",
70
+ "@lexical/mark": "0.17.0",
71
+ "@lexical/markdown": "0.17.0",
72
+ "@lexical/react": "0.17.0",
73
+ "@lexical/rich-text": "0.17.0",
74
+ "@lexical/selection": "0.17.0",
75
+ "@lexical/table": "0.17.0",
76
+ "@lexical/utils": "0.17.0",
77
+ "lexical": "0.17.0",
78
+ "react": "^19.0.0 || ^19.0.0-rc-06d0b89e-20240801",
79
+ "react-dom": "^19.0.0 || ^19.0.0-rc-06d0b89e-20240801",
80
+ "@payloadcms/next": "3.0.0-canary.483db21",
81
+ "@payloadcms/translations": "3.0.0-canary.483db21",
82
+ "@payloadcms/ui": "3.0.0-canary.483db21",
83
+ "payload": "3.0.0-canary.483db21"
83
84
  },
84
85
  "engines": {
85
86
  "node": "^18.20.2 || >=20.9.0"
@@ -88,8 +89,8 @@
88
89
  "registry": "https://registry.npmjs.org/"
89
90
  },
90
91
  "overrides": {
91
- "@types/react": "npm:types-react@19.0.0-beta.2",
92
- "@types/react-dom": "npm:types-react-dom@19.0.0-beta.2"
92
+ "@types/react": "npm:types-react@19.0.0-rc.0",
93
+ "@types/react-dom": "npm:types-react-dom@19.0.0-rc.0"
93
94
  },
94
95
  "scripts": {
95
96
  "build": "rm -rf dist && rm -rf tsconfig.tsbuildinfo && pnpm copyfiles && pnpm build:types && pnpm build:swc && pnpm build:esbuild",
@@ -1,2 +0,0 @@
1
- import{jsx as e,jsxs as t}from"react/jsx-runtime";var d=o=>{let{data:n}=o;return t("div",{children:["Unknown converted Slate node: ",e("strong",{children:n?.nodeType})]})};export{d as UnknownConvertedNodeComponent};
2
- //# sourceMappingURL=Component-6AVANNNR.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.tsx"],
4
- "sourcesContent": ["import React from 'react'\n\nimport type { UnknownConvertedNodeData } from './index.js'\n\ntype Props = {\n data: UnknownConvertedNodeData\n}\n\nexport const UnknownConvertedNodeComponent: React.FC<Props> = (props) => {\n const { data } = props\n\n return (\n <div>\n Unknown converted Slate node: <strong>{data?.nodeType}</strong>\n </div>\n )\n}\n"],
5
- "mappings": "AAYI,OACgC,OAAAA,EADhC,QAAAC,MAAA,oBAJG,IAAMC,EAAkDC,GAAU,CACvE,GAAM,CAAE,KAAAC,CAAK,EAAID,EAEjB,OACEF,EAAC,OAAI,2CAC2BD,EAAC,UAAQ,SAAAI,GAAM,SAAS,GACxD,CAEJ",
6
- "names": ["jsx", "jsxs", "UnknownConvertedNodeComponent", "props", "data"]
7
- }
@@ -1,2 +0,0 @@
1
- import{jsx as e,jsxs as t}from"react/jsx-runtime";var d=o=>{let{data:n}=o;return t("div",{children:["Unknown converted payload-plugin-lexical node: ",e("strong",{children:n?.nodeType})]})};export{d as UnknownConvertedNodeComponent};
2
- //# sourceMappingURL=Component-SZVAYRJX.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.tsx"],
4
- "sourcesContent": ["import React from 'react'\n\nimport type { UnknownConvertedNodeData } from './index.js'\n\ntype Props = {\n data: UnknownConvertedNodeData\n}\n\nexport const UnknownConvertedNodeComponent: React.FC<Props> = (props) => {\n const { data } = props\n\n return (\n <div>\n Unknown converted payload-plugin-lexical node: <strong>{data?.nodeType}</strong>\n </div>\n )\n}\n"],
5
- "mappings": "AAYI,OACiD,OAAAA,EADjD,QAAAC,MAAA,oBAJG,IAAMC,EAAkDC,GAAU,CACvE,GAAM,CAAE,KAAAC,CAAK,EAAID,EAEjB,OACEF,EAAC,OAAI,4DAC4CD,EAAC,UAAQ,SAAAI,GAAM,SAAS,GACzE,CAEJ",
6
- "names": ["jsx", "jsxs", "UnknownConvertedNodeComponent", "props", "data"]
7
- }
@@ -1,2 +0,0 @@
1
- "use client";import{a as he,b as G,c as O,e as Ee}from"./chunk-35NZOHAF.js";import{a as ye,b as N}from"./chunk-Y5455JF3.js";import{FieldDescription as Nn,FieldError as In,FieldLabel as Pn,useField as wn,useFieldProps as On,withCondition as kn}from"@payloadcms/ui/client";import{useCallback as An}from"react";import{ErrorBoundary as Dn}from"react-error-boundary";import"./bundled.css";import{LexicalComposer as vn}from"@lexical/react/LexicalComposer.js";import*as ct from"react";import{useMemo as st}from"react";import{useLexicalComposerContext as En}from"@lexical/react/LexicalComposerContext.js";import{LexicalErrorBoundary as xn}from"@lexical/react/LexicalErrorBoundary.js";import{HistoryPlugin as bn}from"@lexical/react/LexicalHistoryPlugin.js";import{OnChangePlugin as Mn}from"@lexical/react/LexicalOnChangePlugin.js";import{RichTextPlugin as Cn}from"@lexical/react/LexicalRichTextPlugin.js";import{TabIndentationPlugin as Tn}from"@lexical/react/LexicalTabIndentationPlugin.js";import{useTranslation as Rn}from"@payloadcms/ui/client";import{BLUR_COMMAND as Sn,COMMAND_PRIORITY_LOW as rt,FOCUS_COMMAND as Ln}from"lexical";import*as j from"react";import{useEffect as it,useState as lt}from"react";import{jsx as xe}from"react/jsx-runtime";var F=({anchorElem:t,clientProps:e,plugin:n})=>n.position==="floatingAnchorElem"?n.Component&&xe(n.Component,{anchorElem:t,clientProps:e}):n.Component&&xe(n.Component,{clientProps:e});import{MarkdownShortcutPlugin as ft}from"@lexical/react/LexicalMarkdownShortcutPlugin.js";import{jsx as pt}from"react/jsx-runtime";var be=()=>{let{editorConfig:t}=N();return pt(ft,{transformers:t.features.markdownTransformers})};import{useLexicalComposerContext as Kt}from"@lexical/react/LexicalComposerContext.js";import{useTranslation as Fe}from"@payloadcms/ui/client";import{useCallback as Be,useMemo as Gt,useState as Wt}from"react";import*as He from"react";import*as _e from"react-dom";import{useLexicalComposerContext as Ot}from"@lexical/react/LexicalComposerContext.js";import{mergeRegister as kt}from"@lexical/utils";import{$getSelection as ue,$isRangeSelection as me,$isTextNode as At,COMMAND_PRIORITY_LOW as Dt,createCommand as Bt}from"lexical";import{useCallback as Ne,useEffect as Ie,useState as Ft}from"react";import*as ce from"react";import{useLexicalComposerContext as Se}from"@lexical/react/LexicalComposerContext.js";import{mergeRegister as Me}from"@lexical/utils";import{$getSelection as gt,$isRangeSelection as ht,COMMAND_PRIORITY_LOW as W,KEY_ARROW_DOWN_COMMAND as yt,KEY_ARROW_UP_COMMAND as Et,KEY_ENTER_COMMAND as xt,KEY_ESCAPE_COMMAND as bt,KEY_TAB_COMMAND as Mt,createCommand as Ct}from"lexical";import{useCallback as J,useEffect as Y,useLayoutEffect as Tt,useMemo as Rt,useRef as St,useState as Lt}from"react";var vt="slash-menu-popup",Ce=t=>{let e=document.getElementById("slash-menu");if(!e)return;let n=e.getBoundingClientRect();n.top+n.height>window.innerHeight&&e.scrollIntoView({block:"center"}),n.top<0&&e.scrollIntoView({block:"center"}),t.scrollIntoView({block:"nearest"})};function Nt(t,e,n){let o=n;for(let r=o;r<=e.length;r++)t.substring(t.length-r)===e.substring(0,r)&&(o=r);return o}function It(t){let e=gt();if(!ht(e)||!e.isCollapsed())return null;let n=e.anchor;if(n.type!=="text")return null;let o=n.getNode();if(!o.isSimpleText())return null;let r=n.offset,u=o.getTextContent().slice(0,r),d=t.replaceableString.length,g=Nt(u,t.matchingString,d),s=r-g;if(s<0)return null;let a;return s===0?[a]=o.splitText(r):[,a]=o.splitText(s,r),a}function Pt(t,e){let n=getComputedStyle(t),o=n.position==="absolute",r=e?/(auto|scroll|hidden)/:/(auto|scroll)/;if(n.position==="fixed")return document.body;for(let u=t;u=u.parentElement;)if(n=getComputedStyle(u),!(o&&n.position==="static")&&r.test(n.overflow+n.overflowY+n.overflowX))return u;return document.body}function Te(t,e){let n=t.getBoundingClientRect(),o=e.getBoundingClientRect();return n.top>o.top&&n.top<o.bottom}function wt(t,e,n,o){let[r]=Se();Y(()=>{if(e!=null&&t!=null){let u=r.getRootElement(),d=u!=null?Pt(u,!1):document.body,g=!1,s=Te(e,d),a=function(){g||(window.requestAnimationFrame(function(){n(),g=!1}),g=!0);let m=Te(e,d);m!==s&&(s=m,o?.(m))},c=new ResizeObserver(n);return window.addEventListener("resize",n),document.addEventListener("scroll",a,{capture:!0,passive:!0}),c.observe(e),()=>{c.unobserve(e),window.removeEventListener("resize",n),document.removeEventListener("scroll",a,!0)}}},[e,r,o,n,t])}var Re=Ct("SCROLL_TYPEAHEAD_OPTION_INTO_VIEW_COMMAND");function Le({anchorElementRef:t,close:e,editor:n,groups:o,menuRenderFn:r,onSelectItem:u,resolution:d,shouldSplitNodeWithQuery:g=!1}){let[s,a]=Lt(null),c=d.match&&d.match.matchingString||"",m=J(p=>{let f=n.getRootElement();f!==null&&(f.setAttribute("aria-activedescendant",`${vt}__item-${p.key}`),a(p.key))},[n]),i=J(()=>{if(o!==null&&c!=null){let p=o.flatMap(f=>f.items);if(p.length){let f=p[0];m(f)}}},[o,m,c]);Y(()=>{i()},[c,i]);let l=J(p=>{n.update(()=>{let f=d.match!=null&&g?It(d.match):null;u(p,f,e,d.match?d.match.matchingString:"")})},[n,g,d.match,u,e]);Y(()=>()=>{let p=n.getRootElement();p!==null&&p.removeAttribute("aria-activedescendant")},[n]),Tt(()=>{o===null?a(null):s===null&&i()},[o,s,m,i]),Y(()=>Me(n.registerCommand(Re,({item:p})=>p.ref&&p.ref.current!=null?(Ce(p.ref.current),!0):!1,W)),[n,m]),Y(()=>Me(n.registerCommand(yt,p=>{let f=p;if(o!==null&&o.length&&s!==null){let y=o.flatMap(b=>b.items),h=y.findIndex(b=>b.key===s),x=h!==y.length-1?h+1:0,M=y[x];m(M),M.ref!=null&&M.ref.current&&n.dispatchCommand(Re,{index:x,item:M}),f.preventDefault(),f.stopImmediatePropagation()}return!0},W),n.registerCommand(Et,p=>{let f=p;if(o!==null&&o.length&&s!==null){let y=o.flatMap(b=>b.items),h=y.findIndex(b=>b.key===s),x=h!==0?h-1:y.length-1,M=y[x];m(M),M.ref!=null&&M.ref.current&&Ce(M.ref.current),f.preventDefault(),f.stopImmediatePropagation()}return!0},W),n.registerCommand(bt,p=>{let f=p;return f.preventDefault(),f.stopImmediatePropagation(),e(),!0},W),n.registerCommand(Mt,p=>{let f=p;if(o===null||s===null)return!1;let h=o.flatMap(x=>x.items).find(x=>x.key===s);return h?(f.preventDefault(),f.stopImmediatePropagation(),l(h),!0):!1},W),n.registerCommand(xt,p=>{if(o===null||s===null)return!1;let y=o.flatMap(h=>h.items).find(h=>h.key===s);return y?(p!==null&&(p.preventDefault(),p.stopImmediatePropagation()),l(y),!0):!1},W)),[l,e,n,o,s,m]);let E=Rt(()=>({groups:o,selectItemAndCleanUp:l,selectedItemKey:s,setSelectedItemKey:a}),[l,s,o]);return r(t,E,d.match?d.match.matchingString:"")}function ve(t,e,n,o){let[r]=Se(),u=St(document.createElement("div")),d=J(()=>{let s=r.getRootElement(),a=u.current,c=32,m=a.firstChild;if(s!==null&&e!==null){let{height:i,width:l}=e.getRect(),{left:E,top:p}=e.getRect(),f=p;if(p-=t.getBoundingClientRect().top+window.scrollY,E-=t.getBoundingClientRect().left+window.scrollX,a.style.left=`${E+window.scrollX}px`,a.style.height=`${i}px`,a.style.width=`${l}px`,m!==null){let y=m.getBoundingClientRect(),h=y.height,x=y.width,M=s.getBoundingClientRect();E+x>M.right&&(a.style.left=`${M.right-x+window.scrollX}px`);let b=f+h+c>window.innerHeight,T=f<0;b&&!T?a.style.top=`${p+c-h+window.scrollY-(i+24)}px`:a.style.top=`${p+window.scrollY+c}px`}a.isConnected||(o!=null&&(a.className=o),a.setAttribute("aria-label","Slash menu"),a.setAttribute("id","slash-menu"),a.setAttribute("role","listbox"),a.style.display="block",a.style.position="absolute",t.append(a)),u.current=a,s.setAttribute("aria-controls","slash-menu")}},[r,e,o,t]);Y(()=>{let s=r.getRootElement();if(e!==null)return d(),()=>{s!==null&&s.removeAttribute("aria-controls");let a=u.current;a!==null&&a.isConnected&&a.remove()}},[r,d,e]);let g=J(s=>{e!==null&&(s||n(null))},[e,n]);return wt(e,u.current,d,g),u}import{jsx as $t}from"react/jsx-runtime";var ke=`\\.,\\+\\*\\?\\$\\@\\|#{}\\(\\)\\^\\-\\[\\]\\\\/!%'"~=<>_:;`;function Ht(t){let e=t.anchor;if(e.type!=="text")return null;let n=e.getNode();if(!n.isSimpleText())return null;let o=e.offset;return n.getTextContent().slice(0,o)}function Pe(t,e,n){let o=n.getSelection();if(o===null||!o.isCollapsed)return!1;let r=o.anchorNode,u=t,d=o.anchorOffset;if(r==null||d==null)return!1;try{e.setStart(r,u),e.setEnd(r,d>1?d:1)}catch{return!1}return!0}function _t(t){let e=null;return t.getEditorState().read(()=>{let n=ue();me(n)&&(e=Ht(n))}),e}function we(t,e){return e!==0?!1:t.getEditorState().read(()=>{let n=ue();if(me(n)){let u=n.anchor.getNode().getPreviousSibling();return At(u)&&u.isTextEntity()}return!1})}function Oe(t){ce.startTransition?ce.startTransition(t):t()}var de=Bt("ENABLE_SLASH_MENU_COMMAND");function Ae({anchorClassName:t,anchorElem:e,groups:n,menuRenderFn:o,onClose:r,onOpen:u,onQueryChange:d,onSelectItem:g,triggerFn:s}){let[a]=Ot(),[c,m]=Ft(null),i=ve(e,c,m,t),l=Ne(()=>{m(null),r!=null&&c!==null&&r()},[r,c]),E=Ne(p=>{m(p),u!=null&&c===null&&u(p)},[u,c]);return Ie(()=>kt(a.registerCommand(de,({node:p})=>(a.getEditorState().read(()=>{let f={leadOffset:0,matchingString:"",replaceableString:""};if(f!==null&&!we(a,f.leadOffset)&&p!==null){let y=a._window??window,h=y.document.createRange();Pe(f.leadOffset,h,y)!==null&&Oe(()=>E({getRect:()=>h.getBoundingClientRect(),match:f}));return}}),!0),Dt)),[a,E]),Ie(()=>{let p=()=>{a.getEditorState().read(()=>{let y=a._window??window,h=y.document.createRange(),x=ue(),M=_t(a);if(!me(x)||!x.isCollapsed()||M===null||h===null){l();return}let b=s({editor:a,query:M});if(d(b?b.matchingString:null),b!==null&&!we(a,b.leadOffset)&&Pe(b.leadOffset,h,y)!==null){Oe(()=>E({getRect:()=>h.getBoundingClientRect(),match:b}));return}l()})},f=a.registerUpdateListener(p);return()=>{f()}},[a,s,d,c,l,E]),c===null||a===null?null:$t(Le,{anchorElementRef:i,close:l,editor:a,groups:n,menuRenderFn:o,onSelectItem:g,resolution:c,shouldSplitNodeWithQuery:!0})}import{useCallback as zt}from"react";function De(t,{maxLength:e=75,minLength:n=1}){return zt(({query:o})=>{let r="[^"+t+ke+"\\s]",d=new RegExp("(^|\\s|\\()(["+t+"]((?:"+r+"){0,"+e+"}))$").exec(o);if(d!==null){let g=d[1],s=d[3];if(s.length>=n)return{leadOffset:d.index+g.length,matchingString:s,replaceableString:d[2]}}return null},[e,n,t])}import{jsx as H,jsxs as ze}from"react/jsx-runtime";var P="slash-menu-popup";function Yt({isSelected:t,item:e,onClick:n,onMouseEnter:o}){let{i18n:r}=Fe(),u=`${P}__item ${P}__item-${e.key}`;t&&(u+=` ${P}__item--selected`);let d=e.key;return e.label&&(d=typeof e.label=="function"?e.label({i18n:r}):e.label),d.length>25&&(d=d.substring(0,25)+"..."),ze("button",{"aria-selected":t,className:u,id:P+"__item-"+e.key,onClick:n,onMouseEnter:o,ref:e.ref,role:"option",tabIndex:-1,type:"button",children:[e?.Icon&&H(e.Icon,{}),H("span",{className:`${P}__item-text`,children:d})]},e.key)}function $e({anchorElem:t=document.body}){let[e]=Kt(),[n,o]=Wt(null),{editorConfig:r}=N(),{i18n:u}=Fe(),d=De("/",{minLength:0}),g=Be(()=>{let c=[];for(let m of r.features.slashMenu.dynamicGroups){let i=m({editor:e,queryString:n});c=c.concat(i)}return c},[e,n,r?.features]),s=Gt(()=>{let c=[];for(let m of r?.features.slashMenu.groups??[])c.push(m);if(n){c=c.map(i=>{let l=i.items.filter(E=>{let p=E.key;return E.label&&(p=typeof E.label=="function"?E.label({i18n:u}):E.label),new RegExp(n,"gi").exec(p)?!0:E.keywords!=null?E.keywords.some(f=>new RegExp(n,"gi").exec(f)):!1});return l.length?{...i,items:l}:null}),c=c.filter(i=>i!=null);let m=g();for(let i of m){let l=c.find(E=>E.key===i.key);l?c=c.filter(E=>E.key!==i.key):l={...i,items:[]},l?.items?.length&&(l.items=l.items.concat(l.items)),c.push(l)}}return c},[g,n,r?.features,u]),a=Be((c,m,i,l)=>{m&&e.update(()=>{m.remove()}),c.onSelect({editor:e,queryString:l}),i()},[e]);return H(He.Fragment,{children:H(Ae,{anchorElem:t,groups:s,menuRenderFn:(c,{selectItemAndCleanUp:m,selectedItemKey:i,setSelectedItemKey:l})=>c.current&&s.length?_e.createPortal(H("div",{className:P,children:s.map(E=>{let p=E.key;return E.label&&(p=typeof E.label=="function"?E.label({i18n:u}):E.label),ze("div",{className:`${P}__group ${P}__group-${E.key}`,children:[H("div",{className:`${P}__group-title`,children:p}),E.items.map((f,y)=>H(Yt,{index:y,isSelected:i===f.key,item:f,onClick:()=>{l(f.key),m(f)},onMouseEnter:()=>{l(f.key)}},f.key))]},E.key)})}),c.current):null,onQueryChange:o,onSelectItem:a,triggerFn:d})})}import{useLexicalComposerContext as qt}from"@lexical/react/LexicalComposerContext.js";import{$createParagraphNode as Qt}from"lexical";import*as Ye from"react";import{useCallback as Zt,useEffect as We,useRef as en,useState as tn}from"react";import{createPortal as nn}from"react-dom";var V=(t,e,n,o,r=50,u=25)=>{let d=0;if(t&&!t.contains(o)){let{bottom:g,left:s,right:a,top:c}=t.getBoundingClientRect(),m=c+window.scrollY,i=g+window.scrollY;if(n<m-u||n>i+u||e<s-r||e>a+r)return-1;(e<s||e>a)&&(d=e<s?e-s:e-a)}return d};import{$getNodeByKey as ee}from"lexical";function k(t){let e=t.getBoundingClientRect(),n=getComputedStyle(t).getPropertyValue("transform");if(!n||n==="none")return e;let o=n.split(",").pop();return e.y=e.y-Number(o.replace(")","")),e}function Z(t){let e=(s,a)=>s?parseFloat(window.getComputedStyle(s)[a]):0,{marginBottom:n,marginTop:o}=window.getComputedStyle(t),r=e(t.previousElementSibling,"marginBottom"),u=e(t.nextElementSibling,"marginTop"),d=Math.max(parseFloat(o),r);return{marginBottom:Math.max(parseFloat(n),u),marginTop:d}}import{$getRoot as Vt}from"lexical";function _(t){return t.getEditorState().read(()=>Vt().getChildrenKeys())}var Ut=1,Xt=-1,Ke=0,w={props:null,result:null};function jt(t,e,n=20){let o=t.x-e.x,r=t.y-e.y;return o*o+r*r<=n*n}function U(t){let{anchorElem:e,cache_threshold:n=20,editor:o,fuzzy:r=!1,horizontalOffset:u=0,point:{x:d,y:g},startIndex:s=0,useEdgeAsDefault:a=!1,verbose:c=!1}=t;if(n>0&&w.props&&w.result&&w.props.fuzzy===t.fuzzy&&w.props.horizontalOffset===t.horizontalOffset&&w.props.useEdgeAsDefault===t.useEdgeAsDefault&&jt(w.props.point,t.point,n))return w.result;let m=e.getBoundingClientRect(),i=_(o),l={blockElem:null,blockNode:null,distance:1/0,foundAtIndex:-1,isFoundNodeEmptyParagraph:!1};return o.getEditorState().read(()=>{if(a){let[f,y]=[o.getElementByKey(i[0]),o.getElementByKey(i[i.length-1])],[h,x]=[k(f),k(y)];if(h&&x&&(g<h.top?(l.blockElem=f,l.distance=h.top-g,l.blockNode=ee(i[0]),l.foundAtIndex=0):g>x.bottom&&(l.distance=g-x.bottom,l.blockNode=ee(i[i.length-1]),l.blockElem=y,l.foundAtIndex=i.length-1),l?.blockElem))return{blockElem:null,isFoundNodeEmptyParagraph:!1}}let E=s,p=Ke;for(;E>=0&&E<i.length;){let f=i[E],y=o.getElementByKey(f);if(y===null)break;let h=new O(d+u,g),x=Ee.fromDOMRect(k(y)),{marginBottom:M,marginTop:b}=Z(y),T=x.generateNewRect({bottom:x.bottom+M,left:m.left,right:m.right,top:x.top-b}),{distance:L,isOnBottomSide:C,isOnTopSide:A}=T.distanceFromPoint(h);if(L===0){l.blockElem=y,l.blockNode=ee(f),l.foundAtIndex=E,l.distance=L,l.blockNode&&l.blockNode.getType()==="paragraph"&&l.blockNode.getTextContent()===""&&(!r&&!t.returnEmptyParagraphs&&(l.blockElem=null,l.blockNode=null),l.isFoundNodeEmptyParagraph=!0);break}else r&&L<l.distance&&(l.blockElem=y,l.blockNode=ee(f),l.distance=L,l.foundAtIndex=E);p===Ke&&(A?p=Xt:C?p=Ut:p=1/0),E+=p}}),w.props=t,w.result={blockElem:l.blockElem,blockNode:l.blockNode,foundAtIndex:l.foundAtIndex,isFoundNodeEmptyParagraph:l.isFoundNodeEmptyParagraph},{blockElem:l.blockElem,blockNode:l.blockNode,foundAtIndex:l.foundAtIndex,isFoundNodeEmptyParagraph:l.isFoundNodeEmptyParagraph}}function te(t,e){return!!t.closest(`.${e}`)}var Jt=["IMG","INPUT","TEXTAREA","SELECT","BUTTON","VIDEO","OBJECT","EMBED","IFRAME","HR"];function Ge(t){if(!t||Jt.includes(t.tagName)||t.offsetHeight===0||t.offsetWidth===0)return!1;let e=window.getComputedStyle(t);return!(e.display==="table-cell"||e.position==="absolute"||e.visibility==="hidden"||e.opacity==="0")}function ne(t,e,n,o=0){if(!t){e.style.opacity="0",e.style.transform="translate(-10000px, -10000px)";return}let r=t.getBoundingClientRect(),u=window.getComputedStyle(t),d=e.getBoundingClientRect(),g=n.getBoundingClientRect(),s;if(r.height<60)s=r.top-d.height/2-g.top+r.height/2-1;else{let m=Ge(t)?parseInt(u.lineHeight,10):0;s=r.top+(m-d.height)/2-g.top-1}let c=o;e.style.opacity="1",e.style.transform=`translate(${c}px, ${s}px)`}import{jsx as fe}from"react/jsx-runtime";var on="add-block-menu",oe=1/0;function rn(t){return t===0?1/0:oe>=0&&oe<t?oe:Math.floor(t/2)}function ln(t,e,n){let o=e.parentElement,{editorConfig:r}=N(),u=r?.admin?.hideGutter?-24:12,d=en(null),[g,s]=tn(null);We(()=>{function c(m){let i=m.target;if(!G(i))return;let l=V(o,m.pageX,m.pageY,i);if(l===-1){s(null);return}if(te(i,on))return;let E=_(t),{blockElem:p,blockNode:f,foundAtIndex:y}=U({anchorElem:e,cache_threshold:0,editor:t,horizontalOffset:-l,point:new O(m.x,m.y),returnEmptyParagraphs:!0,startIndex:rn(E.length),useEdgeAsDefault:!1});oe=y,p&&(g?.node!==f||g?.elem!==p)&&s({elem:p,node:f})}return document?.addEventListener("mousemove",c),()=>{document?.removeEventListener("mousemove",c)}},[o,e,t,g]),We(()=>{d.current&&g?.node&&ne(g?.elem,d.current,e,u)},[e,g,u]);let a=Zt(c=>{let m=g;m?.node&&(t.update(()=>{let i=!0;if((m.node.getType()!=="paragraph"||m.node.getTextContent()!=="")&&(i=!1),!i){let l=Qt();m.node.insertAfter(l),setTimeout(()=>{m={elem:t.getElementByKey(l.getKey()),node:l},s(m)},0)}}),setTimeout(()=>{t.update(()=>{t.focus(),m.node&&"select"in m.node&&typeof m.node.select=="function"&&m.node.select()})},1),setTimeout(()=>{t.dispatchCommand(de,{node:m.node})},2),c.stopPropagation(),c.preventDefault())},[t,g]);return nn(fe(Ye.Fragment,{children:fe("button",{className:"icon add-block-menu",onClick:c=>{a(c)},ref:d,type:"button",children:fe("div",{className:n?"icon":""})})}),e)}function Ve({anchorElem:t=document.body}){let[e]=qt();return ln(e,t,e._editable)}import{useLexicalComposerContext as cn}from"@lexical/react/LexicalComposerContext.js";import{eventFiles as je}from"@lexical/rich-text";import{$getNearestNodeFromDOMNode as Je,$getNodeByKey as un}from"lexical";import*as tt from"react";import{useEffect as pe,useRef as re,useState as qe}from"react";import{createPortal as mn}from"react-dom";function Ue(t,e,n){if(!t.current)return;let{left:o,top:r}=n.getBoundingClientRect(),u=k(e),d=u.width,g=u.height,s=u.top-r,a=u.left-o;t.current.style.border="2px solid green",t.current.style.boxSizing="border-box",t.current.style.height=g+"px",t.current.style.pointerEvents="none",t.current.style.position="absolute",t.current.style.top=s+"px",t.current.style.left=a+"px",t.current.style.width=d+"px",t.current.style.zIndex="1000",t.current.style.opacity="0.5"}var X=25,an=-24,sn=!1,$=0;function Xe(t,e,n,o,r,u,d,g,s,a=!1){let{height:c,top:m}=o.getBoundingClientRect(),{top:i,width:l}=d.getBoundingClientRect(),{marginBottom:E,marginTop:p}=Z(o),f=m,y=u>=m+c/2+window.scrollY,h=!1;if(r?.elem)if(o!==r?.elem)(y&&r?.elem&&r?.elem===o.nextElementSibling||!y&&r?.elem&&r?.elem===o.previousElementSibling)&&($++,$<200&&(h=!0));else{$++;let L=r?.boundingBox?.y,C=o.getBoundingClientRect().y;(y===r?.isBelow&&L===C||$<200)&&(h=!1)}if(h)return{isBelow:y,willStayInSamePosition:h};a?f+=c/2:y?f+=c+E/2:f-=p/2;let x=0;a||(y?x=-X:x=X);let M=f-i+x,b=an-e;n.style.width=`calc(${l}px - ${t})`,n.style.opacity=".4";let T=12;return a?n.style.transform=`translate(${b}px, ${M-X}px)`:y?(o.style.marginBottom=X*2+T+"px",n.style.transform=`translate(${b}px, calc(${M}px - 0px))`):(o.style.marginTop=X*2+T+"px",n.style.transform=`translate(${b}px, calc(${M-X*2}px - 0px))`),sn&&Ue(s,o,d),r.elem.style.opacity="",r?.elem===o?y?r.elem.style.marginTop="":r.elem.style.marginBottom="":(r.elem.style.marginBottom="",r.elem.style.marginTop=""),$=0,{isBelow:y,willStayInSamePosition:h}}import{jsx as ie,jsxs as gn}from"react/jsx-runtime";var dn="draggable-block-menu",Qe="application/x-lexical-drag-block",q=1/0;function Ze(t){return t===0?1/0:q>=0&&q<t?q:Math.floor(t/2)}function fn(t,e){let{transform:n}=e.style;t.setDragImage(e,0,0),setTimeout(()=>{e.style.transform=n})}function et(t,e){t&&(t.style.opacity="0"),e&&(e.style.opacity="",e.style.marginBottom="",e.style.marginTop="")}function pn(t,e,n){let o=e.parentElement,r=re(null),u=re(null),d=re(null),g=re(!1),[s,a]=qe(null),[c,m]=qe(null),{editorConfig:i}=N(),l=i?.admin?.hideGutter?-44:-8;pe(()=>{function f(y){let h=y.target;if(!G(h))return;let x=V(o,y.pageX,y.pageY,h);if(x===-1){a(null);return}if(te(h,dn))return;let M=_(t),{blockElem:b,foundAtIndex:T,isFoundNodeEmptyParagraph:L}=U({anchorElem:e,cache_threshold:0,editor:t,horizontalOffset:-x,point:new O(y.x,y.y),startIndex:Ze(M.length),useEdgeAsDefault:!1,verbose:!1});q=T,!(!b&&!L)&&s!==b&&a(b)}return document?.addEventListener("mousemove",f),()=>{document?.removeEventListener("mousemove",f)}},[o,e,t,s]),pe(()=>{r.current&&ne(s,r.current,e,l)},[e,s,l]),pe(()=>{function f(h){if(!g.current)return!1;let[x]=je(h);if(x)return!1;let{pageY:M,target:b}=h;if(!G(b))return!1;let T=V(o,h.pageX,h.pageY,b,100,50),L=_(t),{blockElem:C,foundAtIndex:A,isFoundNodeEmptyParagraph:D}=U({anchorElem:e,editor:t,fuzzy:!0,horizontalOffset:-T,point:new O(h.x,h.y),startIndex:Ze(L.length),useEdgeAsDefault:!0,verbose:!0});q=A;let B=u.current;if(C===null||B===null)return!1;if(s!==C){let{isBelow:v,willStayInSamePosition:I}=Xe(i?.admin?.hideGutter?"0px":"3rem",l+(i?.admin?.hideGutter?r?.current?.getBoundingClientRect()?.width??0:-r?.current?.getBoundingClientRect()?.width),B,C,c,M,e,h,d,D);h.preventDefault(),I||m({boundingBox:C.getBoundingClientRect(),elem:C,isBelow:v})}else et(B,c?.elem),m({boundingBox:C.getBoundingClientRect(),elem:C,isBelow:!1});return!0}function y(h){if(!g.current)return!1;let[x]=je(h);if(x)return!1;let{dataTransfer:M,pageY:b,target:T}=h,L=M?.getData(Qe)||"";return t.update(()=>{let C=un(L);if(!C||!G(T))return!1;let A=V(o,h.pageX,h.pageY,T,100,50),{blockElem:D,isFoundNodeEmptyParagraph:B}=U({anchorElem:e,editor:t,fuzzy:!0,horizontalOffset:-A,point:new O(h.x,h.y),useEdgeAsDefault:!0});if(!D)return!1;let v=Je(D);if(!v)return!1;if(v===C)return!0;let{height:I,top:se}=k(D),mt=b>=se+I/2+window.scrollY;B?(v.insertBefore(C),v.remove()):mt?v.insertAfter(C):v.insertBefore(C),s!==null&&a(null),document.querySelectorAll(".lexical-block-highlighter").forEach(K=>{K.remove()});let dt=t.getElementByKey(C.getKey());setTimeout(()=>{let K=dt.getBoundingClientRect(),S=document.createElement("div");S.className="lexical-block-highlighter",document.documentElement.getAttribute("data-theme")==="dark"?S.style.backgroundColor="white":S.style.backgroundColor="black",S.style.transition="opacity 0.1s ease-in-out",S.style.zIndex="1",S.style.pointerEvents="none",S.style.boxSizing="border-box",S.style.borderRadius="4px",S.style.position="absolute",document.body.appendChild(S),S.style.opacity="0.1",S.style.height=`${K.height+8}px`,S.style.width=`${K.width+8}px`,S.style.top=`${K.top+window.scrollY-4}px`,S.style.left=`${K.left-4}px`,setTimeout(()=>{S.style.opacity="0",setTimeout(()=>{S.remove()},1e3)},3e3)},120)}),!0}return document.addEventListener("dragover",f),document.addEventListener("drop",y),()=>{document.removeEventListener("dragover",f),document.removeEventListener("drop",y)}},[o,l,e,t,c,s,i?.admin?.hideGutter]);function E(f){let y=f.dataTransfer;if(!y||!s)return;fn(y,s);let h="";t.update(()=>{let x=Je(s);x&&(h=x.getKey())}),g.current=!0,y.setData(Qe,h)}function p(){g.current=!1,et(u.current,c?.elem)}return mn(gn(tt.Fragment,{children:[ie("div",{className:"icon draggable-block-menu",draggable:!0,onDragEnd:p,onDragStart:E,ref:r,children:ie("div",{className:n?"icon":""})}),ie("div",{className:"draggable-block-target-line",ref:u}),ie("div",{className:"debug-highlight",ref:d})]}),e)}function nt({anchorElem:t=document.body}){let[e]=cn();return pn(e,t,e._editable)}import{ContentEditable as hn}from"@lexical/react/LexicalContentEditable.js";import{jsx as yn}from"react/jsx-runtime";function ot({className:t}){return yn(hn,{className:t??"ContentEditable__root"})}import{jsx as R,jsxs as Q}from"react/jsx-runtime";var at=t=>{let{editorConfig:e,editorContainerRef:n,onChange:o}=t,r=N(),[u]=En(),{t:d}=Rn(),[g,s]=lt(null),a=i=>{i!==null&&s(i)};it(()=>{if(!r?.uuid){console.error("Lexical Editor must be used within an EditorConfigProvider");return}r?.parentEditor?.uuid&&r.parentEditor?.registerChild(r.uuid,r);let i=()=>{r.focusEditor(r)},l=()=>{r.blurEditor(r)},E=u.registerCommand(Ln,()=>(i(),!0),rt),p=u.registerCommand(Sn,()=>(l(),!0),rt);return()=>{E(),p(),r.parentEditor?.unregisterChild?.(r.uuid)}},[u,r]);let[c,m]=lt(!1);return it(()=>{let i=()=>{let l=window.matchMedia("(max-width: 768px)").matches;l!==c&&m(l)};return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}},[c]),Q(j.Fragment,{children:[e.features.plugins.map(i=>{if(i.position==="aboveContainer")return R(F,{clientProps:i.clientProps,plugin:i},i.key)}),Q("div",{className:"editor-container",ref:n,children:[e.features.plugins.map(i=>{if(i.position==="top")return R(F,{clientProps:i.clientProps,plugin:i},i.key)}),R(Cn,{ErrorBoundary:xn,contentEditable:R("div",{className:"editor-scroller",children:R("div",{className:"editor",ref:a,children:R(ot,{})})}),placeholder:R("p",{className:"editor-placeholder",children:d("lexical:general:placeholder")})}),R(Mn,{ignoreSelectionChange:!0,onChange:(i,l,E)=>{(!E.has("focus")||E.size>1)&&o?.(i,l,E)}}),g&&Q(j.Fragment,{children:[!c&&u.isEditable()&&Q(j.Fragment,{children:[R(nt,{anchorElem:g}),R(Ve,{anchorElem:g})]}),e.features.plugins.map(i=>{if(i.position==="floatingAnchorElem"&&!(i.desktopOnly===!0&&c))return R(F,{anchorElem:g,clientProps:i.clientProps,plugin:i},i.key)}),u.isEditable()&&R(j.Fragment,{children:R($e,{anchorElem:g})})]}),u.isEditable()&&Q(j.Fragment,{children:[R(bn,{}),e?.features?.markdownTransformers?.length>0&&R(be,{})]}),R(Tn,{}),e.features.plugins.map(i=>{if(i.position==="normal")return R(F,{clientProps:i.clientProps,plugin:i},i.key)}),e.features.plugins.map(i=>{if(i.position==="bottom")return R(F,{clientProps:i.clientProps,plugin:i},i.key)})]}),e.features.plugins.map(i=>{if(i.position==="belowContainer")return R(F,{clientProps:i.clientProps,plugin:i},i.key)})]})};import{jsx as le}from"react/jsx-runtime";var ut=t=>{let{editorConfig:e,fieldProps:n,onChange:o,path:r,readOnly:u,value:d}=t,g=N(),s=ct.useRef(null),a=st(()=>{let m=d;return e?.features?.hooks?.load?.length&&e.features.hooks.load.forEach(i=>{m=i({incomingEditorState:m})}),m},[e,d]),c=st(()=>{if(a&&typeof a!="object")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(a));if(a&&Array.isArray(a)&&!("root"in a))throw new Error("You have tried to pass in data from the old, Slate editor, to the new, Lexical editor. This is not supported. There is no automatic conversion from Slate to Lexical data available yet (coming soon). Please remove the data from the field and start again.");if(a&&"jsonContent"in a)throw new Error("You have tried to pass in data from payload-plugin-lexical. This is not supported. The data structure has changed in this editor, compared to the plugin, and there is no automatic conversion available yet (coming soon). Please remove the data from the field and start again.");return{editable:u!==!0,editorState:a!=null?JSON.stringify(a):void 0,namespace:e.lexical.namespace,nodes:[...he({editorConfig:e})],onError:m=>{throw m},theme:e.lexical.theme}},[e,a,u]);return c?le(vn,{initialConfig:c,children:le(ye,{editorConfig:e,editorContainerRef:s,fieldProps:n,parentContext:g,children:le(at,{editorConfig:e,editorContainerRef:s,onChange:o})})},r):le("p",{children:"Loading..."})};import{jsx as z,jsxs as ge}from"react/jsx-runtime";var ae="rich-text-lexical",Bn=t=>{let{name:e,CustomDescription:n,CustomError:o,CustomLabel:r,className:u,descriptionProps:d,editorConfig:g,errorProps:s,label:a,labelProps:c,path:m,readOnly:i,required:l,style:E,validate:p,width:f}=t,y=An((v,I)=>{if(typeof p=="function")return p(v,{...I,props:t,required:l})},[p,l]),{path:h}=On(),x=wn({path:h??m??e,validate:y}),{errorMessage:M,initialValue:b,path:T,schemaPath:L,setValue:C,showError:A,value:D}=x,B=[ae,"field-type",u,A&&"error",i&&`${ae}--read-only`,g?.admin?.hideGutter!==!0?`${ae}--show-gutter`:null].filter(Boolean).join(" ");return ge("div",{className:B,style:{...E,width:f},children:[z(Pn,{CustomLabel:r,label:a,required:l,...c||{}}),ge("div",{className:`${ae}__wrap`,children:[z(In,{CustomError:o,path:T,...s||{}}),z(Dn,{fallbackRender:Fn,onReset:()=>{},children:z(ut,{editorConfig:g,fieldProps:t,onChange:v=>{let I=v.toJSON();g?.features?.hooks?.save?.length&&g.features.hooks.save.forEach(se=>{I=se({incomingEditorState:I})}),C(I)},path:T,readOnly:i,value:D},JSON.stringify({initialValue:b,path:T}))}),n!==void 0?n:z(Nn,{...d||{}})]})]},T)};function Fn({error:t}){return ge("div",{className:"errorBoundary",role:"alert",children:[z("p",{children:"Something went wrong:"}),z("pre",{style:{color:"red"},children:t.message})]})}var jr=kn(Bn);export{jr as RichText};
2
- //# sourceMappingURL=Field-U5PHZTST.js.map