@payloadcms/richtext-lexical 3.0.0-beta.13 → 3.0.0-beta.130

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 (2335) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/dist/cell/rscEntry.d.ts +12 -0
  4. package/dist/cell/rscEntry.d.ts.map +1 -0
  5. package/dist/cell/rscEntry.js +82 -0
  6. package/dist/cell/rscEntry.js.map +1 -0
  7. package/dist/exports/client/Component-DOSSWC76.js +2 -0
  8. package/dist/exports/client/Component-DOSSWC76.js.map +7 -0
  9. package/dist/exports/client/Component-MBLHTKDK.js +2 -0
  10. package/dist/exports/client/Component-MBLHTKDK.js.map +7 -0
  11. package/dist/exports/client/Field-GWJ72IYP.js +2 -0
  12. package/dist/exports/client/Field-GWJ72IYP.js.map +7 -0
  13. package/dist/exports/client/RelationshipComponent-2RT3YXUT.js +2 -0
  14. package/dist/exports/client/RelationshipComponent-2RT3YXUT.js.map +7 -0
  15. package/dist/exports/client/bundled.css +1 -0
  16. package/dist/exports/client/chunk-5PBXL4HT.js +2 -0
  17. package/dist/exports/client/chunk-5PBXL4HT.js.map +7 -0
  18. package/dist/exports/client/chunk-AE5XKHR4.js +2 -0
  19. package/dist/exports/client/chunk-AE5XKHR4.js.map +7 -0
  20. package/dist/exports/client/chunk-CUIBIFW2.js +2 -0
  21. package/dist/exports/client/chunk-CUIBIFW2.js.map +7 -0
  22. package/dist/exports/client/chunk-MI5HS4QX.js +2 -0
  23. package/dist/exports/client/chunk-MI5HS4QX.js.map +7 -0
  24. package/dist/exports/client/chunk-OOBB5GCO.js +2 -0
  25. package/dist/exports/client/chunk-OOBB5GCO.js.map +7 -0
  26. package/dist/exports/client/chunk-XCEM47RI.js +3 -0
  27. package/dist/exports/client/chunk-XCEM47RI.js.map +7 -0
  28. package/dist/exports/client/chunk-XDEGE6I5.js +2 -0
  29. package/dist/exports/client/chunk-XDEGE6I5.js.map +7 -0
  30. package/dist/exports/client/chunk-YGRKYSDC.js +2 -0
  31. package/dist/exports/client/chunk-YGRKYSDC.js.map +7 -0
  32. package/dist/exports/client/component-ANB7VZLA.js +2 -0
  33. package/dist/exports/client/component-ANB7VZLA.js.map +7 -0
  34. package/dist/exports/client/component-YICNYPTU.js +2 -0
  35. package/dist/exports/client/component-YICNYPTU.js.map +7 -0
  36. package/dist/exports/client/component-YNHK5J3P.js +2 -0
  37. package/dist/exports/client/component-YNHK5J3P.js.map +7 -0
  38. package/dist/exports/client/componentInline-6RPSMLNJ.js +2 -0
  39. package/dist/exports/client/componentInline-6RPSMLNJ.js.map +7 -0
  40. package/dist/exports/client/index.d.ts +61 -0
  41. package/dist/exports/client/index.d.ts.map +1 -0
  42. package/dist/exports/client/index.js +38 -0
  43. package/dist/exports/client/index.js.map +7 -0
  44. package/dist/exports/server/migrate.d.ts +16 -0
  45. package/dist/exports/server/migrate.d.ts.map +1 -0
  46. package/dist/exports/server/migrate.js +16 -0
  47. package/dist/exports/server/migrate.js.map +1 -0
  48. package/dist/exports/server/rsc.d.ts +3 -0
  49. package/dist/exports/server/rsc.d.ts.map +1 -0
  50. package/dist/exports/server/rsc.js +3 -0
  51. package/dist/exports/server/rsc.js.map +1 -0
  52. package/dist/features/align/client/index.d.ts +2 -0
  53. package/dist/features/align/client/index.d.ts.map +1 -0
  54. package/dist/features/align/client/index.js +163 -0
  55. package/dist/features/align/client/index.js.map +1 -0
  56. package/dist/features/align/client/toolbarAlignGroup.d.ts +3 -0
  57. package/dist/features/align/client/toolbarAlignGroup.d.ts.map +1 -0
  58. package/dist/features/align/client/toolbarAlignGroup.js +13 -0
  59. package/dist/features/align/client/toolbarAlignGroup.js.map +1 -0
  60. package/dist/features/align/server/i18n.d.ts +3 -0
  61. package/dist/features/align/server/i18n.d.ts.map +1 -0
  62. package/dist/features/align/server/i18n.js +195 -0
  63. package/dist/features/align/server/i18n.js.map +1 -0
  64. package/dist/features/align/server/index.d.ts +2 -0
  65. package/dist/features/align/server/index.d.ts.map +1 -0
  66. package/dist/features/align/server/index.js +10 -0
  67. package/dist/features/align/server/index.js.map +1 -0
  68. package/dist/features/blockquote/client/index.d.ts +2 -0
  69. package/dist/features/blockquote/client/index.d.ts.map +1 -0
  70. package/dist/features/blockquote/client/index.js +72 -0
  71. package/dist/features/blockquote/client/index.js.map +1 -0
  72. package/dist/features/blockquote/markdownTransformer.d.ts.map +1 -0
  73. package/dist/features/blockquote/markdownTransformer.js +34 -0
  74. package/dist/features/blockquote/markdownTransformer.js.map +1 -0
  75. package/dist/features/blockquote/server/i18n.d.ts +3 -0
  76. package/dist/features/blockquote/server/i18n.d.ts.map +1 -0
  77. package/dist/features/blockquote/server/i18n.js +99 -0
  78. package/dist/features/blockquote/server/i18n.js.map +1 -0
  79. package/dist/features/blockquote/server/index.d.ts +7 -0
  80. package/dist/features/blockquote/server/index.d.ts.map +1 -0
  81. package/dist/features/blockquote/server/index.js +51 -0
  82. package/dist/features/blockquote/server/index.js.map +1 -0
  83. package/dist/features/blocks/client/component/BlockContent.d.ts +23 -0
  84. package/dist/features/blocks/client/component/BlockContent.d.ts.map +1 -0
  85. package/dist/features/blocks/client/component/BlockContent.js +192 -0
  86. package/dist/features/blocks/client/component/BlockContent.js.map +1 -0
  87. package/dist/features/blocks/client/component/FormSavePlugin.d.ts +11 -0
  88. package/dist/features/blocks/client/component/FormSavePlugin.d.ts.map +1 -0
  89. package/dist/features/blocks/client/component/FormSavePlugin.js +53 -0
  90. package/dist/features/blocks/client/component/FormSavePlugin.js.map +1 -0
  91. package/dist/features/blocks/client/component/index.d.ts +11 -0
  92. package/dist/features/blocks/client/component/index.d.ts.map +1 -0
  93. package/dist/features/blocks/client/component/index.js +165 -0
  94. package/dist/features/blocks/client/component/index.js.map +1 -0
  95. package/dist/features/blocks/client/component/removeEmptyArrayValues.d.ts +11 -0
  96. package/dist/features/blocks/client/component/removeEmptyArrayValues.d.ts.map +1 -0
  97. package/dist/features/blocks/client/component/removeEmptyArrayValues.js +20 -0
  98. package/dist/features/blocks/client/component/removeEmptyArrayValues.js.map +1 -0
  99. package/dist/features/blocks/client/componentInline/index.d.ts +10 -0
  100. package/dist/features/blocks/client/componentInline/index.d.ts.map +1 -0
  101. package/dist/features/blocks/client/componentInline/index.js +120 -0
  102. package/dist/features/blocks/client/componentInline/index.js.map +1 -0
  103. package/dist/features/blocks/client/index.d.ts +6 -0
  104. package/dist/features/blocks/client/index.d.ts.map +1 -0
  105. package/dist/features/blocks/client/index.js +171 -0
  106. package/dist/features/blocks/client/index.js.map +1 -0
  107. package/dist/features/blocks/client/nodes/BlocksNode.d.ts +14 -0
  108. package/dist/features/blocks/client/nodes/BlocksNode.d.ts.map +1 -0
  109. package/dist/features/blocks/client/nodes/BlocksNode.js +53 -0
  110. package/dist/features/blocks/client/nodes/BlocksNode.js.map +1 -0
  111. package/dist/features/blocks/client/nodes/InlineBlocksNode.d.ts +25 -0
  112. package/dist/features/blocks/client/nodes/InlineBlocksNode.d.ts.map +1 -0
  113. package/dist/features/blocks/client/nodes/InlineBlocksNode.js +42 -0
  114. package/dist/features/blocks/client/nodes/InlineBlocksNode.js.map +1 -0
  115. package/dist/features/blocks/client/plugin/commands.d.ts +9 -0
  116. package/dist/features/blocks/client/plugin/commands.d.ts.map +1 -0
  117. package/dist/features/blocks/client/plugin/commands.js +7 -0
  118. package/dist/features/blocks/client/plugin/commands.js.map +1 -0
  119. package/dist/features/blocks/client/plugin/index.d.ts +6 -0
  120. package/dist/features/blocks/client/plugin/index.d.ts.map +1 -0
  121. package/dist/features/blocks/client/plugin/index.js +205 -0
  122. package/dist/features/blocks/client/plugin/index.js.map +1 -0
  123. package/dist/features/blocks/server/graphQLPopulationPromise.d.ts +6 -0
  124. package/dist/features/blocks/server/graphQLPopulationPromise.d.ts.map +1 -0
  125. package/dist/features/blocks/server/graphQLPopulationPromise.js +44 -0
  126. package/dist/features/blocks/server/graphQLPopulationPromise.js.map +1 -0
  127. package/dist/features/blocks/server/i18n.d.ts +3 -0
  128. package/dist/features/blocks/server/i18n.d.ts.map +1 -0
  129. package/dist/features/blocks/server/i18n.js +291 -0
  130. package/dist/features/blocks/server/i18n.js.map +1 -0
  131. package/dist/features/blocks/server/index.d.ts +8 -0
  132. package/dist/features/blocks/server/index.d.ts.map +1 -0
  133. package/dist/features/blocks/server/index.js +174 -0
  134. package/dist/features/blocks/server/index.js.map +1 -0
  135. package/dist/features/blocks/server/nodes/BlocksNode.d.ts +44 -0
  136. package/dist/features/blocks/server/nodes/BlocksNode.d.ts.map +1 -0
  137. package/dist/features/blocks/server/nodes/BlocksNode.js +87 -0
  138. package/dist/features/blocks/server/nodes/BlocksNode.js.map +1 -0
  139. package/dist/features/blocks/server/nodes/InlineBlocksNode.d.ts +40 -0
  140. package/dist/features/blocks/server/nodes/InlineBlocksNode.d.ts.map +1 -0
  141. package/dist/features/blocks/server/nodes/InlineBlocksNode.js +88 -0
  142. package/dist/features/blocks/server/nodes/InlineBlocksNode.js.map +1 -0
  143. package/dist/features/blocks/server/validate.d.ts +6 -0
  144. package/dist/features/blocks/server/validate.d.ts.map +1 -0
  145. package/dist/features/blocks/server/validate.js +51 -0
  146. package/dist/features/blocks/server/validate.js.map +1 -0
  147. package/dist/features/converters/html/converter/converters/linebreak.d.ts.map +1 -0
  148. package/dist/features/converters/html/converter/converters/linebreak.js +7 -0
  149. package/dist/features/converters/html/converter/converters/linebreak.js.map +1 -0
  150. package/dist/features/converters/html/converter/converters/paragraph.d.ts.map +1 -0
  151. package/dist/features/converters/html/converter/converters/paragraph.js +32 -0
  152. package/dist/features/converters/html/converter/converters/paragraph.js.map +1 -0
  153. package/dist/features/converters/html/converter/converters/text.d.ts.map +1 -0
  154. package/dist/features/converters/html/converter/converters/text.js +33 -0
  155. package/dist/features/converters/html/converter/converters/text.js.map +1 -0
  156. package/dist/features/converters/html/converter/defaultConverters.d.ts.map +1 -0
  157. package/dist/features/converters/html/converter/defaultConverters.js +5 -0
  158. package/dist/features/converters/html/converter/defaultConverters.js.map +1 -0
  159. package/dist/features/converters/html/converter/index.d.ts +52 -0
  160. package/dist/features/converters/html/converter/index.d.ts.map +1 -0
  161. package/dist/features/converters/html/converter/index.js +88 -0
  162. package/dist/features/converters/html/converter/index.js.map +1 -0
  163. package/dist/features/converters/html/converter/types.d.ts +24 -0
  164. package/dist/features/converters/html/converter/types.d.ts.map +1 -0
  165. package/dist/features/converters/html/converter/types.js +2 -0
  166. package/dist/features/converters/html/converter/types.js.map +1 -0
  167. package/dist/features/converters/html/field/index.d.ts +35 -0
  168. package/dist/features/converters/html/field/index.d.ts.map +1 -0
  169. package/dist/features/converters/html/field/index.js +158 -0
  170. package/dist/features/converters/html/field/index.js.map +1 -0
  171. package/dist/features/converters/html/index.d.ts +8 -0
  172. package/dist/features/converters/html/index.d.ts.map +1 -0
  173. package/dist/features/converters/html/index.js +7 -0
  174. package/dist/features/converters/html/index.js.map +1 -0
  175. package/dist/features/debug/testRecorder/client/index.d.ts +2 -0
  176. package/dist/features/debug/testRecorder/client/index.d.ts.map +1 -0
  177. package/dist/features/debug/testRecorder/client/index.js +11 -0
  178. package/dist/features/debug/testRecorder/client/index.js.map +1 -0
  179. package/dist/features/debug/testRecorder/client/plugin/index.d.ts +5 -0
  180. package/dist/features/debug/testRecorder/client/plugin/index.d.ts.map +1 -0
  181. package/dist/features/debug/testRecorder/client/plugin/index.js +422 -0
  182. package/dist/features/debug/testRecorder/client/plugin/index.js.map +1 -0
  183. package/dist/features/debug/testRecorder/server/index.d.ts +2 -0
  184. package/dist/features/debug/testRecorder/server/index.d.ts.map +1 -0
  185. package/dist/features/debug/testRecorder/server/index.js +8 -0
  186. package/dist/features/debug/testRecorder/server/index.js.map +1 -0
  187. package/dist/features/debug/treeView/client/index.d.ts +2 -0
  188. package/dist/features/debug/treeView/client/index.d.ts.map +1 -0
  189. package/dist/features/debug/treeView/client/index.js +11 -0
  190. package/dist/features/debug/treeView/client/index.js.map +1 -0
  191. package/dist/features/debug/treeView/client/plugin/index.d.ts +4 -0
  192. package/dist/features/debug/treeView/client/plugin/index.d.ts.map +1 -0
  193. package/dist/features/debug/treeView/client/plugin/index.js +29 -0
  194. package/dist/features/debug/treeView/client/plugin/index.js.map +1 -0
  195. package/dist/features/debug/treeView/server/index.d.ts +2 -0
  196. package/dist/features/debug/treeView/server/index.d.ts.map +1 -0
  197. package/dist/features/debug/treeView/server/index.js +8 -0
  198. package/dist/features/debug/treeView/server/index.js.map +1 -0
  199. package/dist/features/experimental_table/client/index.d.ts +2 -0
  200. package/dist/features/experimental_table/client/index.d.ts.map +1 -0
  201. package/dist/features/experimental_table/client/index.js +54 -0
  202. package/dist/features/experimental_table/client/index.js.map +1 -0
  203. package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.d.ts +4 -0
  204. package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.d.ts.map +1 -0
  205. package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.js +521 -0
  206. package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.js.map +1 -0
  207. package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.d.ts +3 -0
  208. package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.d.ts.map +1 -0
  209. package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.js +321 -0
  210. package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.js.map +1 -0
  211. package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.d.ts +5 -0
  212. package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.d.ts.map +1 -0
  213. package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.js +225 -0
  214. package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.js.map +1 -0
  215. package/dist/features/experimental_table/client/plugins/TablePlugin/index.d.ts +24 -0
  216. package/dist/features/experimental_table/client/plugins/TablePlugin/index.d.ts.map +1 -0
  217. package/dist/features/experimental_table/client/plugins/TablePlugin/index.js +152 -0
  218. package/dist/features/experimental_table/client/plugins/TablePlugin/index.js.map +1 -0
  219. package/dist/features/experimental_table/client/utils/debounce.d.ts +61 -0
  220. package/dist/features/experimental_table/client/utils/debounce.d.ts.map +1 -0
  221. package/dist/features/experimental_table/client/utils/debounce.js +221 -0
  222. package/dist/features/experimental_table/client/utils/debounce.js.map +1 -0
  223. package/dist/features/experimental_table/client/utils/useDebounce.d.ts +6 -0
  224. package/dist/features/experimental_table/client/utils/useDebounce.d.ts.map +1 -0
  225. package/dist/features/experimental_table/client/utils/useDebounce.js +16 -0
  226. package/dist/features/experimental_table/client/utils/useDebounce.js.map +1 -0
  227. package/dist/features/experimental_table/server/index.d.ts +13 -0
  228. package/dist/features/experimental_table/server/index.d.ts.map +1 -0
  229. package/dist/features/experimental_table/server/index.js +152 -0
  230. package/dist/features/experimental_table/server/index.js.map +1 -0
  231. package/dist/features/format/bold/feature.client.d.ts +2 -0
  232. package/dist/features/format/bold/feature.client.d.ts.map +1 -0
  233. package/dist/features/format/bold/feature.client.js +44 -0
  234. package/dist/features/format/bold/feature.client.js.map +1 -0
  235. package/dist/features/format/bold/feature.server.d.ts +2 -0
  236. package/dist/features/format/bold/feature.server.d.ts.map +1 -0
  237. package/dist/features/format/bold/feature.server.js +19 -0
  238. package/dist/features/format/bold/feature.server.js.map +1 -0
  239. package/dist/features/format/bold/markdownTransformers.d.ts.map +1 -0
  240. package/dist/features/format/bold/markdownTransformers.js +23 -0
  241. package/dist/features/format/bold/markdownTransformers.js.map +1 -0
  242. package/dist/features/format/inlineCode/feature.client.d.ts +2 -0
  243. package/dist/features/format/inlineCode/feature.client.d.ts.map +1 -0
  244. package/dist/features/format/inlineCode/feature.client.js +36 -0
  245. package/dist/features/format/inlineCode/feature.client.js.map +1 -0
  246. package/dist/features/format/inlineCode/feature.server.d.ts +2 -0
  247. package/dist/features/format/inlineCode/feature.server.d.ts.map +1 -0
  248. package/dist/features/format/inlineCode/feature.server.js +10 -0
  249. package/dist/features/format/inlineCode/feature.server.js.map +1 -0
  250. package/dist/features/format/inlineCode/markdownTransformers.d.ts.map +1 -0
  251. package/dist/features/format/inlineCode/markdownTransformers.js +6 -0
  252. package/dist/features/format/inlineCode/markdownTransformers.js.map +1 -0
  253. package/dist/features/format/italic/feature.client.d.ts +2 -0
  254. package/dist/features/format/italic/feature.client.d.ts.map +1 -0
  255. package/dist/features/format/italic/feature.client.js +36 -0
  256. package/dist/features/format/italic/feature.client.js.map +1 -0
  257. package/dist/features/format/italic/feature.server.d.ts +2 -0
  258. package/dist/features/format/italic/feature.server.d.ts.map +1 -0
  259. package/dist/features/format/italic/feature.server.js +10 -0
  260. package/dist/features/format/italic/feature.server.js.map +1 -0
  261. package/dist/features/format/italic/markdownTransformers.d.ts.map +1 -0
  262. package/dist/features/format/italic/markdownTransformers.js +12 -0
  263. package/dist/features/format/italic/markdownTransformers.js.map +1 -0
  264. package/dist/features/format/shared/toolbarFormatGroup.d.ts +3 -0
  265. package/dist/features/format/shared/toolbarFormatGroup.d.ts.map +1 -0
  266. package/dist/features/format/shared/toolbarFormatGroup.js +11 -0
  267. package/dist/features/format/shared/toolbarFormatGroup.js.map +1 -0
  268. package/dist/features/format/strikethrough/feature.client.d.ts +2 -0
  269. package/dist/features/format/strikethrough/feature.client.d.ts.map +1 -0
  270. package/dist/features/format/strikethrough/feature.client.js +36 -0
  271. package/dist/features/format/strikethrough/feature.client.js.map +1 -0
  272. package/dist/features/format/strikethrough/feature.server.d.ts +2 -0
  273. package/dist/features/format/strikethrough/feature.server.d.ts.map +1 -0
  274. package/dist/features/format/strikethrough/feature.server.js +10 -0
  275. package/dist/features/format/strikethrough/feature.server.js.map +1 -0
  276. package/dist/features/format/strikethrough/markdownTransformers.d.ts.map +1 -0
  277. package/dist/features/format/strikethrough/markdownTransformers.js +6 -0
  278. package/dist/features/format/strikethrough/markdownTransformers.js.map +1 -0
  279. package/dist/features/format/subscript/feature.client.d.ts +2 -0
  280. package/dist/features/format/subscript/feature.client.d.ts.map +1 -0
  281. package/dist/features/format/subscript/feature.client.js +34 -0
  282. package/dist/features/format/subscript/feature.client.js.map +1 -0
  283. package/dist/features/format/subscript/feature.server.d.ts +2 -0
  284. package/dist/features/format/subscript/feature.server.d.ts.map +1 -0
  285. package/dist/features/format/subscript/feature.server.js +8 -0
  286. package/dist/features/format/subscript/feature.server.js.map +1 -0
  287. package/dist/features/format/superscript/feature.client.d.ts +2 -0
  288. package/dist/features/format/superscript/feature.client.d.ts.map +1 -0
  289. package/dist/features/format/superscript/feature.client.js +34 -0
  290. package/dist/features/format/superscript/feature.client.js.map +1 -0
  291. package/dist/features/format/superscript/feature.server.d.ts +2 -0
  292. package/dist/features/format/superscript/feature.server.d.ts.map +1 -0
  293. package/dist/features/format/superscript/feature.server.js +8 -0
  294. package/dist/features/format/superscript/feature.server.js.map +1 -0
  295. package/dist/features/format/underline/feature.client.d.ts +2 -0
  296. package/dist/features/format/underline/feature.client.d.ts.map +1 -0
  297. package/dist/features/format/underline/feature.client.js +34 -0
  298. package/dist/features/format/underline/feature.client.js.map +1 -0
  299. package/dist/features/format/underline/feature.server.d.ts +2 -0
  300. package/dist/features/format/underline/feature.server.d.ts.map +1 -0
  301. package/dist/features/format/underline/feature.server.js +8 -0
  302. package/dist/features/format/underline/feature.server.js.map +1 -0
  303. package/dist/features/heading/client/index.d.ts +3 -0
  304. package/dist/features/heading/client/index.d.ts.map +1 -0
  305. package/dist/features/heading/client/index.js +108 -0
  306. package/dist/features/heading/client/index.js.map +1 -0
  307. package/dist/features/heading/markdownTransformer.d.ts.map +1 -0
  308. package/dist/features/heading/markdownTransformer.js +26 -0
  309. package/dist/features/heading/markdownTransformer.js.map +1 -0
  310. package/dist/features/heading/server/i18n.d.ts +3 -0
  311. package/dist/features/heading/server/i18n.d.ts.map +1 -0
  312. package/dist/features/heading/server/i18n.js +99 -0
  313. package/dist/features/heading/server/i18n.js.map +1 -0
  314. package/dist/features/heading/server/index.d.ts +10 -0
  315. package/dist/features/heading/server/index.d.ts.map +1 -0
  316. package/dist/features/heading/server/index.js +62 -0
  317. package/dist/features/heading/server/index.js.map +1 -0
  318. package/dist/features/horizontalRule/client/component/index.d.ts +10 -0
  319. package/dist/features/horizontalRule/client/component/index.d.ts.map +1 -0
  320. package/dist/features/horizontalRule/client/component/index.js +100 -0
  321. package/dist/features/horizontalRule/client/component/index.js.map +1 -0
  322. package/dist/features/horizontalRule/client/index.d.ts +2 -0
  323. package/dist/features/horizontalRule/client/index.d.ts.map +1 -0
  324. package/dist/features/horizontalRule/client/index.js +62 -0
  325. package/dist/features/horizontalRule/client/index.js.map +1 -0
  326. package/dist/features/horizontalRule/client/markdownTransformer.d.ts.map +1 -0
  327. package/dist/features/horizontalRule/client/markdownTransformer.js +20 -0
  328. package/dist/features/horizontalRule/client/markdownTransformer.js.map +1 -0
  329. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.d.ts +20 -0
  330. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.d.ts.map +1 -0
  331. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.js +46 -0
  332. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.js.map +1 -0
  333. package/dist/features/horizontalRule/client/plugin/index.d.ts +7 -0
  334. package/dist/features/horizontalRule/client/plugin/index.d.ts.map +1 -0
  335. package/dist/features/horizontalRule/client/plugin/index.js +42 -0
  336. package/dist/features/horizontalRule/client/plugin/index.js.map +1 -0
  337. package/dist/features/horizontalRule/server/i18n.d.ts +3 -0
  338. package/dist/features/horizontalRule/server/i18n.d.ts.map +1 -0
  339. package/dist/features/horizontalRule/server/i18n.js +99 -0
  340. package/dist/features/horizontalRule/server/i18n.js.map +1 -0
  341. package/dist/features/horizontalRule/server/index.d.ts +2 -0
  342. package/dist/features/horizontalRule/server/index.d.ts.map +1 -0
  343. package/dist/features/horizontalRule/server/index.js +25 -0
  344. package/dist/features/horizontalRule/server/index.js.map +1 -0
  345. package/dist/features/horizontalRule/server/markdownTransformer.d.ts +3 -0
  346. package/dist/features/horizontalRule/server/markdownTransformer.d.ts.map +1 -0
  347. package/dist/features/horizontalRule/server/markdownTransformer.js +20 -0
  348. package/dist/features/horizontalRule/server/markdownTransformer.js.map +1 -0
  349. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.d.ts +53 -0
  350. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.d.ts.map +1 -0
  351. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.js +88 -0
  352. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.js.map +1 -0
  353. package/dist/features/indent/client/index.d.ts +2 -0
  354. package/dist/features/indent/client/index.d.ts.map +1 -0
  355. package/dist/features/indent/client/index.js +62 -0
  356. package/dist/features/indent/client/index.js.map +1 -0
  357. package/dist/features/indent/client/toolbarIndentGroup.d.ts +3 -0
  358. package/dist/features/indent/client/toolbarIndentGroup.d.ts.map +1 -0
  359. package/dist/features/indent/client/toolbarIndentGroup.js +11 -0
  360. package/dist/features/indent/client/toolbarIndentGroup.js.map +1 -0
  361. package/dist/features/indent/server/i18n.d.ts +3 -0
  362. package/dist/features/indent/server/i18n.d.ts.map +1 -0
  363. package/dist/features/indent/server/i18n.js +131 -0
  364. package/dist/features/indent/server/i18n.js.map +1 -0
  365. package/dist/features/indent/server/index.d.ts +2 -0
  366. package/dist/features/indent/server/index.d.ts.map +1 -0
  367. package/dist/features/indent/server/index.js +10 -0
  368. package/dist/features/indent/server/index.js.map +1 -0
  369. package/dist/features/link/client/index.d.ts +4 -0
  370. package/dist/features/link/client/index.d.ts.map +1 -0
  371. package/dist/features/link/client/index.js +96 -0
  372. package/dist/features/link/client/index.js.map +1 -0
  373. package/dist/features/link/client/plugins/autoLink/index.d.ts +20 -0
  374. package/dist/features/link/client/plugins/autoLink/index.d.ts.map +1 -0
  375. package/dist/features/link/client/plugins/autoLink/index.js +333 -0
  376. package/dist/features/link/client/plugins/autoLink/index.js.map +1 -0
  377. package/dist/features/link/client/plugins/clickableLink/index.d.ts +4 -0
  378. package/dist/features/link/client/plugins/clickableLink/index.d.ts.map +1 -0
  379. package/dist/features/link/client/plugins/clickableLink/index.js +9 -0
  380. package/dist/features/link/client/plugins/clickableLink/index.js.map +1 -0
  381. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +1 -0
  382. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/commands.js +5 -0
  383. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/commands.js.map +1 -0
  384. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -0
  385. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.js +311 -0
  386. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.js.map +1 -0
  387. package/dist/features/link/client/plugins/floatingLinkEditor/index.d.ts +5 -0
  388. package/dist/features/link/client/plugins/floatingLinkEditor/index.d.ts.map +1 -0
  389. package/dist/features/link/client/plugins/floatingLinkEditor/index.js +15 -0
  390. package/dist/features/link/client/plugins/floatingLinkEditor/index.js.map +1 -0
  391. package/dist/features/link/client/plugins/floatingLinkEditor/types.d.ts +15 -0
  392. package/dist/features/link/client/plugins/floatingLinkEditor/types.d.ts.map +1 -0
  393. package/dist/features/link/client/plugins/floatingLinkEditor/types.js +5 -0
  394. package/dist/features/link/client/plugins/floatingLinkEditor/types.js.map +1 -0
  395. package/dist/features/link/client/plugins/link/index.d.ts +4 -0
  396. package/dist/features/link/client/plugins/link/index.d.ts.map +1 -0
  397. package/dist/features/link/client/plugins/link/index.js +60 -0
  398. package/dist/features/link/client/plugins/link/index.js.map +1 -0
  399. package/dist/features/link/markdownTransformer.d.ts +6 -0
  400. package/dist/features/link/markdownTransformer.d.ts.map +1 -0
  401. package/dist/features/link/markdownTransformer.js +49 -0
  402. package/dist/features/link/markdownTransformer.js.map +1 -0
  403. package/dist/features/link/nodes/AutoLinkNode.d.ts.map +1 -0
  404. package/dist/features/link/nodes/AutoLinkNode.js +69 -0
  405. package/dist/features/link/nodes/AutoLinkNode.js.map +1 -0
  406. package/dist/features/link/nodes/LinkNode.d.ts +39 -0
  407. package/dist/features/link/nodes/LinkNode.d.ts.map +1 -0
  408. package/dist/features/link/nodes/LinkNode.js +323 -0
  409. package/dist/features/link/nodes/LinkNode.js.map +1 -0
  410. package/dist/features/link/nodes/types.d.ts +24 -0
  411. package/dist/features/link/nodes/types.d.ts.map +1 -0
  412. package/dist/features/link/nodes/types.js +2 -0
  413. package/dist/features/link/nodes/types.js.map +1 -0
  414. package/dist/features/link/server/baseFields.d.ts +3 -0
  415. package/dist/features/link/server/baseFields.d.ts.map +1 -0
  416. package/dist/features/link/server/baseFields.js +136 -0
  417. package/dist/features/link/server/baseFields.js.map +1 -0
  418. package/dist/features/link/server/graphQLPopulationPromise.d.ts +5 -0
  419. package/dist/features/link/server/graphQLPopulationPromise.d.ts.map +1 -0
  420. package/dist/features/link/server/graphQLPopulationPromise.js +45 -0
  421. package/dist/features/link/server/graphQLPopulationPromise.js.map +1 -0
  422. package/dist/features/link/server/i18n.d.ts +3 -0
  423. package/dist/features/link/server/i18n.d.ts.map +1 -0
  424. package/dist/features/link/server/i18n.js +131 -0
  425. package/dist/features/link/server/i18n.js.map +1 -0
  426. package/dist/features/link/server/index.d.ts +35 -0
  427. package/dist/features/link/server/index.d.ts.map +1 -0
  428. package/dist/features/link/server/index.js +151 -0
  429. package/dist/features/link/server/index.js.map +1 -0
  430. package/dist/features/link/server/transformExtraFields.d.ts +9 -0
  431. package/dist/features/link/server/transformExtraFields.d.ts.map +1 -0
  432. package/dist/features/link/server/transformExtraFields.js +20 -0
  433. package/dist/features/link/server/transformExtraFields.js.map +1 -0
  434. package/dist/features/link/server/validate.d.ts +6 -0
  435. package/dist/features/link/server/validate.d.ts.map +1 -0
  436. package/dist/features/link/server/validate.js +43 -0
  437. package/dist/features/link/server/validate.js.map +1 -0
  438. package/dist/features/lists/checklist/client/index.d.ts +2 -0
  439. package/dist/features/lists/checklist/client/index.d.ts.map +1 -0
  440. package/dist/features/lists/checklist/client/index.js +92 -0
  441. package/dist/features/lists/checklist/client/index.js.map +1 -0
  442. package/dist/features/lists/checklist/client/plugin/index.d.ts +3 -0
  443. package/dist/features/lists/checklist/client/plugin/index.d.ts.map +1 -0
  444. package/dist/features/lists/checklist/client/plugin/index.js +9 -0
  445. package/dist/features/lists/checklist/client/plugin/index.js.map +1 -0
  446. package/dist/features/lists/checklist/markdownTransformers.d.ts.map +1 -0
  447. package/dist/features/lists/checklist/markdownTransformers.js +12 -0
  448. package/dist/features/lists/checklist/markdownTransformers.js.map +1 -0
  449. package/dist/features/lists/checklist/server/i18n.d.ts +3 -0
  450. package/dist/features/lists/checklist/server/i18n.d.ts.map +1 -0
  451. package/dist/features/lists/checklist/server/i18n.js +99 -0
  452. package/dist/features/lists/checklist/server/i18n.js.map +1 -0
  453. package/dist/features/lists/checklist/server/index.d.ts +2 -0
  454. package/dist/features/lists/checklist/server/index.d.ts.map +1 -0
  455. package/dist/features/lists/checklist/server/index.js +30 -0
  456. package/dist/features/lists/checklist/server/index.js.map +1 -0
  457. package/dist/features/lists/htmlConverter.d.ts +5 -0
  458. package/dist/features/lists/htmlConverter.d.ts.map +1 -0
  459. package/dist/features/lists/htmlConverter.js +81 -0
  460. package/dist/features/lists/htmlConverter.js.map +1 -0
  461. package/dist/features/lists/orderedList/client/index.d.ts +2 -0
  462. package/dist/features/lists/orderedList/client/index.d.ts.map +1 -0
  463. package/dist/features/lists/orderedList/client/index.js +84 -0
  464. package/dist/features/lists/orderedList/client/index.js.map +1 -0
  465. package/dist/features/lists/orderedList/markdownTransformer.d.ts.map +1 -0
  466. package/dist/features/lists/orderedList/markdownTransformer.js +12 -0
  467. package/dist/features/lists/orderedList/markdownTransformer.js.map +1 -0
  468. package/dist/features/lists/orderedList/server/i18n.d.ts +3 -0
  469. package/dist/features/lists/orderedList/server/i18n.d.ts.map +1 -0
  470. package/dist/features/lists/orderedList/server/i18n.js +99 -0
  471. package/dist/features/lists/orderedList/server/i18n.js.map +1 -0
  472. package/dist/features/lists/orderedList/server/index.d.ts +2 -0
  473. package/dist/features/lists/orderedList/server/index.d.ts.map +1 -0
  474. package/dist/features/lists/orderedList/server/index.js +30 -0
  475. package/dist/features/lists/orderedList/server/index.js.map +1 -0
  476. package/dist/features/lists/plugin/index.d.ts +13 -0
  477. package/dist/features/lists/plugin/index.d.ts.map +1 -0
  478. package/dist/features/lists/plugin/index.js +9 -0
  479. package/dist/features/lists/plugin/index.js.map +1 -0
  480. package/dist/features/lists/shared/markdown.d.ts +6 -0
  481. package/dist/features/lists/shared/markdown.d.ts.map +1 -0
  482. package/dist/features/lists/shared/markdown.js +57 -0
  483. package/dist/features/lists/shared/markdown.js.map +1 -0
  484. package/dist/features/lists/shared/slashMenuListGroup.d.ts +3 -0
  485. package/dist/features/lists/shared/slashMenuListGroup.d.ts.map +1 -0
  486. package/dist/features/lists/shared/slashMenuListGroup.js +12 -0
  487. package/dist/features/lists/shared/slashMenuListGroup.js.map +1 -0
  488. package/dist/features/lists/unorderedList/client/index.d.ts +2 -0
  489. package/dist/features/lists/unorderedList/client/index.d.ts.map +1 -0
  490. package/dist/features/lists/unorderedList/client/index.js +80 -0
  491. package/dist/features/lists/unorderedList/client/index.js.map +1 -0
  492. package/dist/features/lists/unorderedList/markdownTransformer.d.ts.map +1 -0
  493. package/dist/features/lists/unorderedList/markdownTransformer.js +12 -0
  494. package/dist/features/lists/unorderedList/markdownTransformer.js.map +1 -0
  495. package/dist/features/lists/unorderedList/server/i18n.d.ts +3 -0
  496. package/dist/features/lists/unorderedList/server/i18n.d.ts.map +1 -0
  497. package/dist/features/lists/unorderedList/server/i18n.js +99 -0
  498. package/dist/features/lists/unorderedList/server/i18n.js.map +1 -0
  499. package/dist/features/lists/unorderedList/server/index.d.ts +2 -0
  500. package/dist/features/lists/unorderedList/server/index.d.ts.map +1 -0
  501. package/dist/features/lists/unorderedList/server/index.js +26 -0
  502. package/dist/features/lists/unorderedList/server/index.js.map +1 -0
  503. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +3 -0
  504. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  505. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +22 -0
  506. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +1 -0
  507. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +3 -0
  508. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +1 -0
  509. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +33 -0
  510. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +1 -0
  511. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +3 -0
  512. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +1 -0
  513. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +24 -0
  514. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +1 -0
  515. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +3 -0
  516. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  517. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +25 -0
  518. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +1 -0
  519. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +3 -0
  520. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +1 -0
  521. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +22 -0
  522. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +1 -0
  523. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +3 -0
  524. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  525. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +28 -0
  526. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +1 -0
  527. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +3 -0
  528. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  529. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +22 -0
  530. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +1 -0
  531. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +3 -0
  532. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +1 -0
  533. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js +9 -0
  534. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +1 -0
  535. package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts +19 -0
  536. package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +1 -0
  537. package/dist/features/migrations/lexicalPluginToLexical/converter/index.js +78 -0
  538. package/dist/features/migrations/lexicalPluginToLexical/converter/index.js.map +1 -0
  539. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts +23 -0
  540. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +1 -0
  541. package/dist/features/migrations/lexicalPluginToLexical/converter/types.js +2 -0
  542. package/dist/features/migrations/lexicalPluginToLexical/converter/types.js.map +1 -0
  543. package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts +2 -0
  544. package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +1 -0
  545. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js +10 -0
  546. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js.map +1 -0
  547. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts +10 -0
  548. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +1 -0
  549. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js +49 -0
  550. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js.map +1 -0
  551. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  552. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +15 -0
  553. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
  554. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +33 -0
  555. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  556. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +74 -0
  557. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
  558. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +3 -0
  559. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +1 -0
  560. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js +23 -0
  561. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +1 -0
  562. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts +3 -0
  563. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  564. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js +24 -0
  565. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +1 -0
  566. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts +3 -0
  567. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +1 -0
  568. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js +33 -0
  569. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +1 -0
  570. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts +3 -0
  571. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +1 -0
  572. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js +30 -0
  573. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js.map +1 -0
  574. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +3 -0
  575. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  576. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js +26 -0
  577. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +1 -0
  578. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +3 -0
  579. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +1 -0
  580. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js +26 -0
  581. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +1 -0
  582. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +3 -0
  583. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +1 -0
  584. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js +15 -0
  585. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +1 -0
  586. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +3 -0
  587. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  588. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js +27 -0
  589. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +1 -0
  590. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +3 -0
  591. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +1 -0
  592. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js +26 -0
  593. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +1 -0
  594. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts +3 -0
  595. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  596. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js +18 -0
  597. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +1 -0
  598. package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts +3 -0
  599. package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +1 -0
  600. package/dist/features/migrations/slateToLexical/converter/defaultConverters.js +12 -0
  601. package/dist/features/migrations/slateToLexical/converter/defaultConverters.js.map +1 -0
  602. package/dist/features/migrations/slateToLexical/converter/index.d.ts.map +1 -0
  603. package/dist/features/migrations/slateToLexical/converter/index.js +117 -0
  604. package/dist/features/migrations/slateToLexical/converter/index.js.map +1 -0
  605. package/dist/features/migrations/slateToLexical/converter/types.d.ts +16 -0
  606. package/dist/features/migrations/slateToLexical/converter/types.d.ts.map +1 -0
  607. package/dist/features/migrations/slateToLexical/converter/types.js +2 -0
  608. package/dist/features/migrations/slateToLexical/converter/types.js.map +1 -0
  609. package/dist/features/migrations/slateToLexical/feature.client.d.ts +2 -0
  610. package/dist/features/migrations/slateToLexical/feature.client.d.ts.map +1 -0
  611. package/dist/features/migrations/slateToLexical/feature.client.js +10 -0
  612. package/dist/features/migrations/slateToLexical/feature.client.js.map +1 -0
  613. package/dist/features/migrations/slateToLexical/feature.server.d.ts +11 -0
  614. package/dist/features/migrations/slateToLexical/feature.server.d.ts.map +1 -0
  615. package/dist/features/migrations/slateToLexical/feature.server.js +50 -0
  616. package/dist/features/migrations/slateToLexical/feature.server.js.map +1 -0
  617. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  618. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +15 -0
  619. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
  620. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +33 -0
  621. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  622. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +74 -0
  623. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
  624. package/dist/features/paragraph/client/index.d.ts +2 -0
  625. package/dist/features/paragraph/client/index.d.ts.map +1 -0
  626. package/dist/features/paragraph/client/index.js +68 -0
  627. package/dist/features/paragraph/client/index.js.map +1 -0
  628. package/dist/features/paragraph/server/i18n.d.ts +3 -0
  629. package/dist/features/paragraph/server/i18n.d.ts.map +1 -0
  630. package/dist/features/paragraph/server/i18n.js +131 -0
  631. package/dist/features/paragraph/server/i18n.js.map +1 -0
  632. package/dist/features/paragraph/server/index.d.ts +2 -0
  633. package/dist/features/paragraph/server/index.d.ts.map +1 -0
  634. package/dist/features/paragraph/server/index.js +11 -0
  635. package/dist/features/paragraph/server/index.js.map +1 -0
  636. package/dist/features/relationship/client/components/RelationshipComponent.d.ts +13 -0
  637. package/dist/features/relationship/client/components/RelationshipComponent.d.ts.map +1 -0
  638. package/dist/features/relationship/client/components/RelationshipComponent.js +176 -0
  639. package/dist/features/relationship/client/components/RelationshipComponent.js.map +1 -0
  640. package/dist/features/relationship/client/drawer/commands.d.ts.map +1 -0
  641. package/dist/features/relationship/client/drawer/commands.js +3 -0
  642. package/dist/features/relationship/client/drawer/commands.js.map +1 -0
  643. package/dist/features/relationship/client/drawer/index.d.ts.map +1 -0
  644. package/dist/features/relationship/client/drawer/index.js +155 -0
  645. package/dist/features/relationship/client/drawer/index.js.map +1 -0
  646. package/dist/features/relationship/client/index.d.ts +3 -0
  647. package/dist/features/relationship/client/index.d.ts.map +1 -0
  648. package/dist/features/relationship/client/index.js +66 -0
  649. package/dist/features/relationship/client/index.js.map +1 -0
  650. package/dist/features/relationship/client/nodes/RelationshipNode.d.ts +15 -0
  651. package/dist/features/relationship/client/nodes/RelationshipNode.d.ts.map +1 -0
  652. package/dist/features/relationship/client/nodes/RelationshipNode.js +75 -0
  653. package/dist/features/relationship/client/nodes/RelationshipNode.js.map +1 -0
  654. package/dist/features/relationship/client/plugins/index.d.ts +7 -0
  655. package/dist/features/relationship/client/plugins/index.d.ts.map +1 -0
  656. package/dist/features/relationship/client/plugins/index.js +105 -0
  657. package/dist/features/relationship/client/plugins/index.js.map +1 -0
  658. package/dist/features/relationship/client/utils/EnabledRelationshipsCondition.d.ts.map +1 -0
  659. package/dist/features/relationship/client/utils/EnabledRelationshipsCondition.js +104 -0
  660. package/dist/features/relationship/client/utils/EnabledRelationshipsCondition.js.map +1 -0
  661. package/dist/features/relationship/server/graphQLPopulationPromise.d.ts +5 -0
  662. package/dist/features/relationship/server/graphQLPopulationPromise.d.ts.map +1 -0
  663. package/dist/features/relationship/server/graphQLPopulationPromise.js +37 -0
  664. package/dist/features/relationship/server/graphQLPopulationPromise.js.map +1 -0
  665. package/dist/features/relationship/server/i18n.d.ts +3 -0
  666. package/dist/features/relationship/server/i18n.d.ts.map +1 -0
  667. package/dist/features/relationship/server/i18n.js +99 -0
  668. package/dist/features/relationship/server/i18n.js.map +1 -0
  669. package/dist/features/relationship/server/index.d.ts +27 -0
  670. package/dist/features/relationship/server/index.d.ts.map +1 -0
  671. package/dist/features/relationship/server/index.js +67 -0
  672. package/dist/features/relationship/server/index.js.map +1 -0
  673. package/dist/features/relationship/server/nodes/RelationshipNode.d.ts +37 -0
  674. package/dist/features/relationship/server/nodes/RelationshipNode.d.ts.map +1 -0
  675. package/dist/features/relationship/server/nodes/RelationshipNode.js +104 -0
  676. package/dist/features/relationship/server/nodes/RelationshipNode.js.map +1 -0
  677. package/dist/features/shared/slashMenu/basicGroup.d.ts +3 -0
  678. package/dist/features/shared/slashMenu/basicGroup.d.ts.map +1 -0
  679. package/dist/features/shared/slashMenu/basicGroup.js +12 -0
  680. package/dist/features/shared/slashMenu/basicGroup.js.map +1 -0
  681. package/dist/features/shared/toolbar/addDropdownGroup.d.ts +3 -0
  682. package/dist/features/shared/toolbar/addDropdownGroup.d.ts.map +1 -0
  683. package/dist/features/shared/toolbar/addDropdownGroup.js +11 -0
  684. package/dist/features/shared/toolbar/addDropdownGroup.js.map +1 -0
  685. package/dist/features/shared/toolbar/featureButtonsGroup.d.ts +3 -0
  686. package/dist/features/shared/toolbar/featureButtonsGroup.d.ts.map +1 -0
  687. package/dist/features/shared/toolbar/featureButtonsGroup.js +9 -0
  688. package/dist/features/shared/toolbar/featureButtonsGroup.js.map +1 -0
  689. package/dist/features/shared/toolbar/textDropdownGroup.d.ts +3 -0
  690. package/dist/features/shared/toolbar/textDropdownGroup.d.ts.map +1 -0
  691. package/dist/features/shared/toolbar/textDropdownGroup.js +11 -0
  692. package/dist/features/shared/toolbar/textDropdownGroup.js.map +1 -0
  693. package/dist/features/toolbars/fixed/client/Toolbar/index.d.ts +5 -0
  694. package/dist/features/toolbars/fixed/client/Toolbar/index.d.ts.map +1 -0
  695. package/dist/features/toolbars/fixed/client/Toolbar/index.js +313 -0
  696. package/dist/features/toolbars/fixed/client/Toolbar/index.js.map +1 -0
  697. package/dist/features/toolbars/fixed/client/index.d.ts +3 -0
  698. package/dist/features/toolbars/fixed/client/index.d.ts.map +1 -0
  699. package/dist/features/toolbars/fixed/client/index.js +11 -0
  700. package/dist/features/toolbars/fixed/client/index.js.map +1 -0
  701. package/dist/features/toolbars/fixed/server/index.d.ts +18 -0
  702. package/dist/features/toolbars/fixed/server/index.d.ts.map +1 -0
  703. package/dist/features/toolbars/fixed/server/index.js +18 -0
  704. package/dist/features/toolbars/fixed/server/index.js.map +1 -0
  705. package/dist/features/toolbars/inline/client/Toolbar/index.d.ts +4 -0
  706. package/dist/features/toolbars/inline/client/Toolbar/index.d.ts.map +1 -0
  707. package/dist/features/toolbars/inline/client/Toolbar/index.js +404 -0
  708. package/dist/features/toolbars/inline/client/Toolbar/index.js.map +1 -0
  709. package/dist/features/toolbars/inline/client/index.d.ts +2 -0
  710. package/dist/features/toolbars/inline/client/index.d.ts.map +1 -0
  711. package/dist/features/toolbars/inline/client/index.js +11 -0
  712. package/dist/features/toolbars/inline/client/index.js.map +1 -0
  713. package/dist/features/toolbars/inline/server/index.d.ts +2 -0
  714. package/dist/features/toolbars/inline/server/index.d.ts.map +1 -0
  715. package/dist/features/toolbars/inline/server/index.js +8 -0
  716. package/dist/features/toolbars/inline/server/index.js.map +1 -0
  717. package/dist/features/toolbars/shared/ToolbarButton/index.d.ts +10 -0
  718. package/dist/features/toolbars/shared/ToolbarButton/index.d.ts.map +1 -0
  719. package/dist/features/toolbars/shared/ToolbarButton/index.js +89 -0
  720. package/dist/features/toolbars/shared/ToolbarButton/index.js.map +1 -0
  721. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts +22 -0
  722. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +1 -0
  723. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js +208 -0
  724. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +1 -0
  725. package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts +22 -0
  726. package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +1 -0
  727. package/dist/features/toolbars/shared/ToolbarDropdown/index.js +311 -0
  728. package/dist/features/toolbars/shared/ToolbarDropdown/index.js.map +1 -0
  729. package/dist/features/toolbars/types.d.ts +93 -0
  730. package/dist/features/toolbars/types.d.ts.map +1 -0
  731. package/dist/features/toolbars/types.js +2 -0
  732. package/dist/features/toolbars/types.js.map +1 -0
  733. package/dist/features/typeUtilities.d.ts +8 -0
  734. package/dist/features/typeUtilities.d.ts.map +1 -0
  735. package/dist/features/typeUtilities.js +7 -0
  736. package/dist/features/typeUtilities.js.map +1 -0
  737. package/dist/features/typesClient.d.ts +185 -0
  738. package/dist/features/typesClient.d.ts.map +1 -0
  739. package/dist/features/typesClient.js +2 -0
  740. package/dist/features/typesClient.js.map +1 -0
  741. package/dist/features/typesServer.d.ts +311 -0
  742. package/dist/features/typesServer.d.ts.map +1 -0
  743. package/dist/features/typesServer.js +2 -0
  744. package/dist/features/typesServer.js.map +1 -0
  745. package/dist/features/upload/client/component/index.d.ts +9 -0
  746. package/dist/features/upload/client/component/index.d.ts.map +1 -0
  747. package/dist/features/upload/client/component/index.js +243 -0
  748. package/dist/features/upload/client/component/index.js.map +1 -0
  749. package/dist/features/upload/client/drawer/commands.d.ts.map +1 -0
  750. package/dist/features/upload/client/drawer/commands.js +5 -0
  751. package/dist/features/upload/client/drawer/commands.js.map +1 -0
  752. package/dist/features/upload/client/drawer/index.d.ts.map +1 -0
  753. package/dist/features/upload/client/drawer/index.js +128 -0
  754. package/dist/features/upload/client/drawer/index.js.map +1 -0
  755. package/dist/features/upload/client/feature.client.d.ts +9 -0
  756. package/dist/features/upload/client/feature.client.d.ts.map +1 -0
  757. package/dist/features/upload/client/feature.client.js +64 -0
  758. package/dist/features/upload/client/feature.client.js.map +1 -0
  759. package/dist/features/upload/client/nodes/UploadNode.d.ts +22 -0
  760. package/dist/features/upload/client/nodes/UploadNode.d.ts.map +1 -0
  761. package/dist/features/upload/client/nodes/UploadNode.js +94 -0
  762. package/dist/features/upload/client/nodes/UploadNode.js.map +1 -0
  763. package/dist/features/upload/client/plugin/index.d.ts +8 -0
  764. package/dist/features/upload/client/plugin/index.d.ts.map +1 -0
  765. package/dist/features/upload/client/plugin/index.js +81 -0
  766. package/dist/features/upload/client/plugin/index.js.map +1 -0
  767. package/dist/features/upload/server/feature.server.d.ts +18 -0
  768. package/dist/features/upload/server/feature.server.d.ts.map +1 -0
  769. package/dist/features/upload/server/feature.server.js +217 -0
  770. package/dist/features/upload/server/feature.server.js.map +1 -0
  771. package/dist/features/upload/server/graphQLPopulationPromise.d.ts +5 -0
  772. package/dist/features/upload/server/graphQLPopulationPromise.d.ts.map +1 -0
  773. package/dist/features/upload/server/graphQLPopulationPromise.js +65 -0
  774. package/dist/features/upload/server/graphQLPopulationPromise.js.map +1 -0
  775. package/dist/features/upload/server/i18n.d.ts +3 -0
  776. package/dist/features/upload/server/i18n.d.ts.map +1 -0
  777. package/dist/features/upload/server/i18n.js +99 -0
  778. package/dist/features/upload/server/i18n.js.map +1 -0
  779. package/dist/features/upload/server/nodes/UploadNode.d.ts +42 -0
  780. package/dist/features/upload/server/nodes/UploadNode.d.ts.map +1 -0
  781. package/dist/features/upload/server/nodes/UploadNode.js +133 -0
  782. package/dist/features/upload/server/nodes/UploadNode.js.map +1 -0
  783. package/dist/features/upload/server/validate.d.ts +5 -0
  784. package/dist/features/upload/server/validate.d.ts.map +1 -0
  785. package/dist/features/upload/server/validate.js +61 -0
  786. package/dist/features/upload/server/validate.js.map +1 -0
  787. package/dist/field/Field.d.ts +9 -10
  788. package/dist/field/Field.d.ts.map +1 -1
  789. package/dist/field/Field.js +111 -86
  790. package/dist/field/Field.js.map +1 -1
  791. package/dist/field/bundled.css +1 -0
  792. package/dist/field/index.d.ts +2 -7
  793. package/dist/field/index.d.ts.map +1 -1
  794. package/dist/field/index.js +78 -81
  795. package/dist/field/index.js.map +1 -1
  796. package/dist/field/rscEntry.d.ts +9 -0
  797. package/dist/field/rscEntry.d.ts.map +1 -0
  798. package/dist/field/rscEntry.js +34 -0
  799. package/dist/field/rscEntry.js.map +1 -0
  800. package/dist/i18n.d.ts +3 -0
  801. package/dist/i18n.d.ts.map +1 -0
  802. package/dist/i18n.js +163 -0
  803. package/dist/i18n.js.map +1 -0
  804. package/dist/index.d.ts +62 -84
  805. package/dist/index.d.ts.map +1 -1
  806. package/dist/index.js +726 -251
  807. package/dist/index.js.map +1 -1
  808. package/dist/lexical/EditorPlugin.d.ts +8 -0
  809. package/dist/lexical/EditorPlugin.d.ts.map +1 -0
  810. package/dist/lexical/EditorPlugin.js +21 -0
  811. package/dist/lexical/EditorPlugin.js.map +1 -0
  812. package/dist/lexical/LexicalEditor.d.ts +7 -0
  813. package/dist/lexical/LexicalEditor.d.ts.map +1 -0
  814. package/dist/lexical/LexicalEditor.js +231 -0
  815. package/dist/lexical/LexicalEditor.js.map +1 -0
  816. package/dist/lexical/LexicalProvider.d.ts +14 -0
  817. package/dist/lexical/LexicalProvider.d.ts.map +1 -0
  818. package/dist/lexical/LexicalProvider.js +101 -0
  819. package/dist/lexical/LexicalProvider.js.map +1 -0
  820. package/dist/lexical/config/client/EditorConfigProvider.d.ts +28 -0
  821. package/dist/lexical/config/client/EditorConfigProvider.d.ts.map +1 -0
  822. package/dist/lexical/config/client/EditorConfigProvider.js +89 -0
  823. package/dist/lexical/config/client/EditorConfigProvider.js.map +1 -0
  824. package/dist/lexical/config/client/default.d.ts +3 -0
  825. package/dist/lexical/config/client/default.d.ts.map +1 -0
  826. package/dist/lexical/config/client/default.js +8 -0
  827. package/dist/lexical/config/client/default.js.map +1 -0
  828. package/dist/lexical/config/client/loader.d.ts +10 -0
  829. package/dist/lexical/config/client/loader.d.ts.map +1 -0
  830. package/dist/lexical/config/client/loader.js +37 -0
  831. package/dist/lexical/config/client/loader.js.map +1 -0
  832. package/dist/lexical/config/client/sanitize.d.ts +7 -0
  833. package/dist/lexical/config/client/sanitize.d.ts.map +1 -0
  834. package/dist/lexical/config/client/sanitize.js +180 -0
  835. package/dist/lexical/config/client/sanitize.js.map +1 -0
  836. package/dist/lexical/config/server/default.d.ts +7 -0
  837. package/dist/lexical/config/server/default.d.ts.map +1 -0
  838. package/dist/lexical/config/server/default.js +31 -0
  839. package/dist/lexical/config/server/default.js.map +1 -0
  840. package/dist/lexical/config/server/loader.d.ts +11 -0
  841. package/dist/lexical/config/server/loader.d.ts.map +1 -0
  842. package/dist/lexical/config/server/loader.js +122 -0
  843. package/dist/lexical/config/server/loader.js.map +1 -0
  844. package/dist/lexical/config/server/sanitize.d.ts +6 -0
  845. package/dist/lexical/config/server/sanitize.d.ts.map +1 -0
  846. package/dist/lexical/config/server/sanitize.js +113 -0
  847. package/dist/lexical/config/server/sanitize.js.map +1 -0
  848. package/dist/lexical/config/types.d.ts +24 -0
  849. package/dist/lexical/config/types.d.ts.map +1 -0
  850. package/dist/lexical/config/types.js +2 -0
  851. package/dist/lexical/config/types.js.map +1 -0
  852. package/dist/lexical/nodes/index.d.ts +6 -0
  853. package/dist/lexical/nodes/index.d.ts.map +1 -0
  854. package/dist/lexical/nodes/index.js +11 -0
  855. package/dist/lexical/nodes/index.js.map +1 -0
  856. package/dist/lexical/plugins/MarkdownShortcut/index.d.ts.map +1 -0
  857. package/dist/lexical/plugins/MarkdownShortcut/index.js +25 -0
  858. package/dist/lexical/plugins/MarkdownShortcut/index.js.map +1 -0
  859. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +32 -0
  860. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +1 -0
  861. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +395 -0
  862. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +1 -0
  863. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +24 -0
  864. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +1 -0
  865. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +249 -0
  866. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +1 -0
  867. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +51 -0
  868. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +1 -0
  869. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js +2 -0
  870. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +1 -0
  871. package/dist/lexical/plugins/SlashMenu/index.d.ts +6 -0
  872. package/dist/lexical/plugins/SlashMenu/index.d.ts.map +1 -0
  873. package/dist/lexical/plugins/SlashMenu/index.js +205 -0
  874. package/dist/lexical/plugins/SlashMenu/index.js.map +1 -0
  875. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +1 -0
  876. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.js +48 -0
  877. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +1 -0
  878. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts +6 -0
  879. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +1 -0
  880. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js +155 -0
  881. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +1 -0
  882. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts +2 -0
  883. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +1 -0
  884. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.js +15 -0
  885. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +1 -0
  886. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +1 -0
  887. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js +15 -0
  888. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +1 -0
  889. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts +3 -0
  890. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +1 -0
  891. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js +31 -0
  892. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +1 -0
  893. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts +6 -0
  894. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +1 -0
  895. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js +355 -0
  896. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +1 -0
  897. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +9 -0
  898. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +1 -0
  899. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js +113 -0
  900. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +1 -0
  901. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts +5 -0
  902. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts.map +1 -0
  903. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js +28 -0
  904. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js.map +1 -0
  905. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +1 -0
  906. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.js +28 -0
  907. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +1 -0
  908. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +1 -0
  909. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.js +18 -0
  910. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.js.map +1 -0
  911. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts +31 -0
  912. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts.map +1 -0
  913. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.js +152 -0
  914. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.js.map +1 -0
  915. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +1 -0
  916. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.js +7 -0
  917. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +1 -0
  918. package/dist/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +1 -0
  919. package/dist/lexical/plugins/handles/utils/isOnHandleElement.js +6 -0
  920. package/dist/lexical/plugins/handles/utils/isOnHandleElement.js.map +1 -0
  921. package/dist/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +1 -0
  922. package/dist/lexical/plugins/handles/utils/setHandlePosition.js +28 -0
  923. package/dist/lexical/plugins/handles/utils/setHandlePosition.js.map +1 -0
  924. package/dist/lexical/theme/EditorTheme.d.ts +3 -0
  925. package/dist/lexical/theme/EditorTheme.d.ts.map +1 -0
  926. package/dist/lexical/theme/EditorTheme.js +100 -0
  927. package/dist/lexical/theme/EditorTheme.js.map +1 -0
  928. package/dist/lexical/ui/ContentEditable.d.ts +6 -0
  929. package/dist/lexical/ui/ContentEditable.d.ts.map +1 -0
  930. package/dist/lexical/ui/ContentEditable.js +34 -0
  931. package/dist/lexical/ui/ContentEditable.js.map +1 -0
  932. package/dist/lexical/ui/icons/AI/index.d.ts.map +1 -0
  933. package/dist/lexical/ui/icons/AI/index.js +34 -0
  934. package/dist/lexical/ui/icons/AI/index.js.map +1 -0
  935. package/dist/lexical/ui/icons/Add/index.d.ts +3 -0
  936. package/dist/lexical/ui/icons/Add/index.d.ts.map +1 -0
  937. package/dist/lexical/ui/icons/Add/index.js +19 -0
  938. package/dist/lexical/ui/icons/Add/index.js.map +1 -0
  939. package/dist/lexical/ui/icons/Add/light.svg +4 -0
  940. package/dist/lexical/ui/icons/AlignCenter/index.d.ts.map +1 -0
  941. package/dist/lexical/ui/icons/AlignCenter/index.js +28 -0
  942. package/dist/lexical/ui/icons/AlignCenter/index.js.map +1 -0
  943. package/dist/lexical/ui/icons/AlignJustify/index.d.ts.map +1 -0
  944. package/dist/lexical/ui/icons/AlignJustify/index.js +28 -0
  945. package/dist/lexical/ui/icons/AlignJustify/index.js.map +1 -0
  946. package/dist/lexical/ui/icons/AlignLeft/index.d.ts.map +1 -0
  947. package/dist/lexical/ui/icons/AlignLeft/index.js +28 -0
  948. package/dist/lexical/ui/icons/AlignLeft/index.js.map +1 -0
  949. package/dist/lexical/ui/icons/AlignRight/index.d.ts.map +1 -0
  950. package/dist/lexical/ui/icons/AlignRight/index.js +28 -0
  951. package/dist/lexical/ui/icons/AlignRight/index.js.map +1 -0
  952. package/dist/lexical/ui/icons/Block/index.d.ts.map +1 -0
  953. package/dist/lexical/ui/icons/Block/index.js +37 -0
  954. package/dist/lexical/ui/icons/Block/index.js.map +1 -0
  955. package/dist/lexical/ui/icons/Blockquote/index.d.ts.map +1 -0
  956. package/dist/lexical/ui/icons/Blockquote/index.js +19 -0
  957. package/dist/lexical/ui/icons/Blockquote/index.js.map +1 -0
  958. package/dist/lexical/ui/icons/Bold/index.d.ts.map +1 -0
  959. package/dist/lexical/ui/icons/Bold/index.js +19 -0
  960. package/dist/lexical/ui/icons/Bold/index.js.map +1 -0
  961. package/dist/lexical/ui/icons/Caret/index.svg +3 -0
  962. package/dist/lexical/ui/icons/Checklist/index.d.ts.map +1 -0
  963. package/dist/lexical/ui/icons/Checklist/index.js +27 -0
  964. package/dist/lexical/ui/icons/Checklist/index.js.map +1 -0
  965. package/dist/lexical/ui/icons/Code/index.d.ts.map +1 -0
  966. package/dist/lexical/ui/icons/Code/index.js +22 -0
  967. package/dist/lexical/ui/icons/Code/index.js.map +1 -0
  968. package/dist/lexical/ui/icons/CodeBlock/index.d.ts.map +1 -0
  969. package/dist/lexical/ui/icons/CodeBlock/index.js +22 -0
  970. package/dist/lexical/ui/icons/CodeBlock/index.js.map +1 -0
  971. package/dist/lexical/ui/icons/DraggableBlock/light.svg +9 -0
  972. package/dist/lexical/ui/icons/H1/index.d.ts.map +1 -0
  973. package/dist/lexical/ui/icons/H1/index.js +19 -0
  974. package/dist/lexical/ui/icons/H1/index.js.map +1 -0
  975. package/dist/lexical/ui/icons/H2/index.d.ts.map +1 -0
  976. package/dist/lexical/ui/icons/H2/index.js +19 -0
  977. package/dist/lexical/ui/icons/H2/index.js.map +1 -0
  978. package/dist/lexical/ui/icons/H3/index.d.ts.map +1 -0
  979. package/dist/lexical/ui/icons/H3/index.js +19 -0
  980. package/dist/lexical/ui/icons/H3/index.js.map +1 -0
  981. package/dist/lexical/ui/icons/H4/index.d.ts.map +1 -0
  982. package/dist/lexical/ui/icons/H4/index.js +19 -0
  983. package/dist/lexical/ui/icons/H4/index.js.map +1 -0
  984. package/dist/lexical/ui/icons/H5/index.d.ts.map +1 -0
  985. package/dist/lexical/ui/icons/H5/index.js +19 -0
  986. package/dist/lexical/ui/icons/H5/index.js.map +1 -0
  987. package/dist/lexical/ui/icons/H6/index.d.ts.map +1 -0
  988. package/dist/lexical/ui/icons/H6/index.js +19 -0
  989. package/dist/lexical/ui/icons/H6/index.js.map +1 -0
  990. package/dist/lexical/ui/icons/HorizontalRule/index.d.ts.map +1 -0
  991. package/dist/lexical/ui/icons/HorizontalRule/index.js +22 -0
  992. package/dist/lexical/ui/icons/HorizontalRule/index.js.map +1 -0
  993. package/dist/lexical/ui/icons/IndentDecrease/index.d.ts.map +1 -0
  994. package/dist/lexical/ui/icons/IndentDecrease/index.js +31 -0
  995. package/dist/lexical/ui/icons/IndentDecrease/index.js.map +1 -0
  996. package/dist/lexical/ui/icons/IndentIncrease/index.d.ts.map +1 -0
  997. package/dist/lexical/ui/icons/IndentIncrease/index.js +31 -0
  998. package/dist/lexical/ui/icons/IndentIncrease/index.js.map +1 -0
  999. package/dist/lexical/ui/icons/InlineBlocks/index.d.ts +3 -0
  1000. package/dist/lexical/ui/icons/InlineBlocks/index.d.ts.map +1 -0
  1001. package/dist/lexical/ui/icons/InlineBlocks/index.js +21 -0
  1002. package/dist/lexical/ui/icons/InlineBlocks/index.js.map +1 -0
  1003. package/dist/lexical/ui/icons/Italic/index.d.ts.map +1 -0
  1004. package/dist/lexical/ui/icons/Italic/index.js +19 -0
  1005. package/dist/lexical/ui/icons/Italic/index.js.map +1 -0
  1006. package/dist/lexical/ui/icons/Link/index.d.ts.map +1 -0
  1007. package/dist/lexical/ui/icons/Link/index.js +20 -0
  1008. package/dist/lexical/ui/icons/Link/index.js.map +1 -0
  1009. package/dist/lexical/ui/icons/Meatballs/index.d.ts +3 -0
  1010. package/dist/lexical/ui/icons/Meatballs/index.d.ts.map +1 -0
  1011. package/dist/lexical/ui/icons/Meatballs/index.js +22 -0
  1012. package/dist/lexical/ui/icons/Meatballs/index.js.map +1 -0
  1013. package/dist/lexical/ui/icons/OrderedList/index.d.ts.map +1 -0
  1014. package/dist/lexical/ui/icons/OrderedList/index.js +34 -0
  1015. package/dist/lexical/ui/icons/OrderedList/index.js.map +1 -0
  1016. package/dist/lexical/ui/icons/Relationship/index.d.ts.map +1 -0
  1017. package/dist/lexical/ui/icons/Relationship/index.js +34 -0
  1018. package/dist/lexical/ui/icons/Relationship/index.js.map +1 -0
  1019. package/dist/lexical/ui/icons/Strikethrough/index.d.ts.map +1 -0
  1020. package/dist/lexical/ui/icons/Strikethrough/index.js +22 -0
  1021. package/dist/lexical/ui/icons/Strikethrough/index.js.map +1 -0
  1022. package/dist/lexical/ui/icons/Subscript/index.d.ts.map +1 -0
  1023. package/dist/lexical/ui/icons/Subscript/index.js +19 -0
  1024. package/dist/lexical/ui/icons/Subscript/index.js.map +1 -0
  1025. package/dist/lexical/ui/icons/Superscript/index.d.ts.map +1 -0
  1026. package/dist/lexical/ui/icons/Superscript/index.js +19 -0
  1027. package/dist/lexical/ui/icons/Superscript/index.js.map +1 -0
  1028. package/dist/lexical/ui/icons/Table/index.d.ts +3 -0
  1029. package/dist/lexical/ui/icons/Table/index.d.ts.map +1 -0
  1030. package/dist/lexical/ui/icons/Table/index.js +21 -0
  1031. package/dist/lexical/ui/icons/Table/index.js.map +1 -0
  1032. package/dist/lexical/ui/icons/Text/index.d.ts.map +1 -0
  1033. package/dist/lexical/ui/icons/Text/index.js +19 -0
  1034. package/dist/lexical/ui/icons/Text/index.js.map +1 -0
  1035. package/dist/lexical/ui/icons/Underline/index.d.ts.map +1 -0
  1036. package/dist/lexical/ui/icons/Underline/index.js +22 -0
  1037. package/dist/lexical/ui/icons/Underline/index.js.map +1 -0
  1038. package/dist/lexical/ui/icons/UnorderedList/index.d.ts.map +1 -0
  1039. package/dist/lexical/ui/icons/UnorderedList/index.js +49 -0
  1040. package/dist/lexical/ui/icons/UnorderedList/index.js.map +1 -0
  1041. package/dist/lexical/ui/icons/Upload/index.d.ts.map +1 -0
  1042. package/dist/lexical/ui/icons/Upload/index.js +31 -0
  1043. package/dist/lexical/ui/icons/Upload/index.js.map +1 -0
  1044. package/dist/lexical/utils/canUseDOM.d.ts.map +1 -0
  1045. package/dist/lexical/utils/canUseDOM.js +4 -0
  1046. package/dist/lexical/utils/canUseDOM.js.map +1 -0
  1047. package/dist/lexical/utils/environment.d.ts.map +1 -0
  1048. package/dist/lexical/utils/environment.js +15 -0
  1049. package/dist/lexical/utils/environment.js.map +1 -0
  1050. package/dist/lexical/utils/getDOMRangeRect.d.ts.map +1 -0
  1051. package/dist/lexical/utils/getDOMRangeRect.js +17 -0
  1052. package/dist/lexical/utils/getDOMRangeRect.js.map +1 -0
  1053. package/dist/lexical/utils/getSelectedNode.d.ts.map +1 -0
  1054. package/dist/lexical/utils/getSelectedNode.js +22 -0
  1055. package/dist/lexical/utils/getSelectedNode.js.map +1 -0
  1056. package/dist/lexical/utils/guard.d.ts.map +1 -0
  1057. package/dist/lexical/utils/guard.js +6 -0
  1058. package/dist/lexical/utils/guard.js.map +1 -0
  1059. package/dist/lexical/utils/joinClasses.d.ts.map +1 -0
  1060. package/dist/lexical/utils/joinClasses.js +6 -0
  1061. package/dist/lexical/utils/joinClasses.js.map +1 -0
  1062. package/dist/lexical/utils/markdown/createBlockNode.d.ts +4 -0
  1063. package/dist/lexical/utils/markdown/createBlockNode.d.ts.map +1 -0
  1064. package/dist/lexical/utils/markdown/createBlockNode.js +11 -0
  1065. package/dist/lexical/utils/markdown/createBlockNode.js.map +1 -0
  1066. package/dist/lexical/utils/nodeFormat.d.ts +41 -0
  1067. package/dist/lexical/utils/nodeFormat.d.ts.map +1 -0
  1068. package/dist/lexical/utils/nodeFormat.js +87 -0
  1069. package/dist/lexical/utils/nodeFormat.js.map +1 -0
  1070. package/dist/lexical/utils/point.d.ts.map +1 -0
  1071. package/dist/lexical/utils/point.js +45 -0
  1072. package/dist/lexical/utils/point.js.map +1 -0
  1073. package/dist/lexical/utils/rect.d.ts +47 -0
  1074. package/dist/lexical/utils/rect.d.ts.map +1 -0
  1075. package/dist/lexical/utils/rect.js +171 -0
  1076. package/dist/lexical/utils/rect.js.map +1 -0
  1077. package/dist/lexical/utils/setFloatingElemPosition.d.ts +12 -0
  1078. package/dist/lexical/utils/setFloatingElemPosition.d.ts.map +1 -0
  1079. package/dist/lexical/utils/setFloatingElemPosition.js +67 -0
  1080. package/dist/lexical/utils/setFloatingElemPosition.js.map +1 -0
  1081. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +1 -0
  1082. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.js +28 -0
  1083. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +1 -0
  1084. package/dist/lexical/utils/swipe.d.ts.map +1 -0
  1085. package/dist/lexical/utils/swipe.js +99 -0
  1086. package/dist/lexical/utils/swipe.js.map +1 -0
  1087. package/dist/lexical/utils/url.d.ts +8 -0
  1088. package/dist/lexical/utils/url.d.ts.map +1 -0
  1089. package/dist/lexical/utils/url.js +57 -0
  1090. package/dist/lexical/utils/url.js.map +1 -0
  1091. package/dist/nodeTypes.d.ts +32 -0
  1092. package/dist/nodeTypes.d.ts.map +1 -0
  1093. package/dist/nodeTypes.js +2 -0
  1094. package/dist/nodeTypes.js.map +1 -0
  1095. package/dist/populateGraphQL/defaultValue.d.ts +3 -0
  1096. package/dist/populateGraphQL/defaultValue.d.ts.map +1 -0
  1097. package/dist/populateGraphQL/defaultValue.js +28 -0
  1098. package/dist/populateGraphQL/defaultValue.js.map +1 -0
  1099. package/dist/populateGraphQL/populate.d.ts +18 -0
  1100. package/dist/populateGraphQL/populate.d.ts.map +1 -0
  1101. package/dist/populateGraphQL/populate.js +40 -0
  1102. package/dist/populateGraphQL/populate.js.map +1 -0
  1103. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts +12 -0
  1104. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts.map +1 -0
  1105. package/dist/populateGraphQL/populateLexicalPopulationPromises.js +53 -0
  1106. package/dist/populateGraphQL/populateLexicalPopulationPromises.js.map +1 -0
  1107. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts +28 -0
  1108. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts.map +1 -0
  1109. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js +42 -0
  1110. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js.map +1 -0
  1111. package/dist/types.d.ts +69 -21
  1112. package/dist/types.d.ts.map +1 -1
  1113. package/dist/types.js +1 -2
  1114. package/dist/types.js.map +1 -1
  1115. package/dist/utilities/createClientFeature.d.ts +11 -0
  1116. package/dist/utilities/createClientFeature.d.ts.map +1 -0
  1117. package/dist/utilities/createClientFeature.js +41 -0
  1118. package/dist/utilities/createClientFeature.js.map +1 -0
  1119. package/dist/utilities/createServerFeature.d.ts +17 -0
  1120. package/dist/utilities/createServerFeature.d.ts.map +1 -0
  1121. package/dist/utilities/createServerFeature.js +51 -0
  1122. package/dist/utilities/createServerFeature.js.map +1 -0
  1123. package/dist/utilities/fieldsDrawer/Drawer.d.ts +21 -0
  1124. package/dist/utilities/fieldsDrawer/Drawer.d.ts.map +1 -0
  1125. package/dist/utilities/fieldsDrawer/Drawer.js +80 -0
  1126. package/dist/utilities/fieldsDrawer/Drawer.js.map +1 -0
  1127. package/dist/utilities/fieldsDrawer/DrawerContent.d.ts +4 -0
  1128. package/dist/utilities/fieldsDrawer/DrawerContent.d.ts.map +1 -0
  1129. package/dist/utilities/fieldsDrawer/DrawerContent.js +122 -0
  1130. package/dist/utilities/fieldsDrawer/DrawerContent.js.map +1 -0
  1131. package/dist/utilities/fieldsDrawer/useLexicalDocumentDrawer.d.ts +13 -0
  1132. package/dist/utilities/fieldsDrawer/useLexicalDocumentDrawer.d.ts.map +1 -0
  1133. package/dist/utilities/fieldsDrawer/useLexicalDocumentDrawer.js +129 -0
  1134. package/dist/utilities/fieldsDrawer/useLexicalDocumentDrawer.js.map +1 -0
  1135. package/dist/utilities/fieldsDrawer/useLexicalDrawer.d.ts +10 -0
  1136. package/dist/utilities/fieldsDrawer/useLexicalDrawer.d.ts.map +1 -0
  1137. package/dist/utilities/fieldsDrawer/useLexicalDrawer.js +136 -0
  1138. package/dist/utilities/fieldsDrawer/useLexicalDrawer.js.map +1 -0
  1139. package/dist/utilities/fieldsDrawer/useLexicalListDrawer.d.ts +16 -0
  1140. package/dist/utilities/fieldsDrawer/useLexicalListDrawer.d.ts.map +1 -0
  1141. package/dist/utilities/fieldsDrawer/useLexicalListDrawer.js +144 -0
  1142. package/dist/utilities/fieldsDrawer/useLexicalListDrawer.js.map +1 -0
  1143. package/dist/utilities/forEachNodeRecursively.d.ts +10 -0
  1144. package/dist/utilities/forEachNodeRecursively.d.ts.map +1 -0
  1145. package/dist/utilities/forEachNodeRecursively.js +29 -0
  1146. package/dist/utilities/forEachNodeRecursively.js.map +1 -0
  1147. package/dist/utilities/generateImportMap.d.ts +6 -0
  1148. package/dist/utilities/generateImportMap.d.ts.map +1 -0
  1149. package/dist/utilities/generateImportMap.js +55 -0
  1150. package/dist/utilities/generateImportMap.js.map +1 -0
  1151. package/dist/utilities/generateSchemaMap.d.ts +6 -0
  1152. package/dist/utilities/generateSchemaMap.d.ts.map +1 -0
  1153. package/dist/utilities/generateSchemaMap.js +40 -0
  1154. package/dist/utilities/generateSchemaMap.js.map +1 -0
  1155. package/dist/utilities/initLexicalFeatures.d.ts +18 -0
  1156. package/dist/utilities/initLexicalFeatures.d.ts.map +1 -0
  1157. package/dist/utilities/initLexicalFeatures.js +95 -0
  1158. package/dist/utilities/initLexicalFeatures.js.map +1 -0
  1159. package/dist/utilities/migrateSlateToLexical/index.d.ts +15 -0
  1160. package/dist/utilities/migrateSlateToLexical/index.d.ts.map +1 -0
  1161. package/dist/utilities/migrateSlateToLexical/index.js +149 -0
  1162. package/dist/utilities/migrateSlateToLexical/index.js.map +1 -0
  1163. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts +9 -0
  1164. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts.map +1 -0
  1165. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js +80 -0
  1166. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js.map +1 -0
  1167. package/dist/utilities/recurseNodeTree.d.ts +9 -0
  1168. package/dist/utilities/recurseNodeTree.d.ts.map +1 -0
  1169. package/dist/utilities/recurseNodeTree.js +30 -0
  1170. package/dist/utilities/recurseNodeTree.js.map +1 -0
  1171. package/dist/utilities/upgradeLexicalData/index.d.ts +11 -0
  1172. package/dist/utilities/upgradeLexicalData/index.d.ts.map +1 -0
  1173. package/dist/utilities/upgradeLexicalData/index.js +114 -0
  1174. package/dist/utilities/upgradeLexicalData/index.js.map +1 -0
  1175. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.d.ts +9 -0
  1176. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.d.ts.map +1 -0
  1177. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js +83 -0
  1178. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js.map +1 -0
  1179. package/dist/utilities/useLexicalFeature.d.ts +3 -0
  1180. package/dist/utilities/useLexicalFeature.d.ts.map +1 -0
  1181. package/dist/utilities/useLexicalFeature.js +21 -0
  1182. package/dist/utilities/useLexicalFeature.js.map +1 -0
  1183. package/dist/validate/index.d.ts +3 -3
  1184. package/dist/validate/index.d.ts.map +1 -1
  1185. package/dist/validate/index.js +45 -23
  1186. package/dist/validate/index.js.map +1 -1
  1187. package/dist/validate/validateNodes.d.ts +5 -5
  1188. package/dist/validate/validateNodes.d.ts.map +1 -1
  1189. package/dist/validate/validateNodes.js +31 -28
  1190. package/dist/validate/validateNodes.js.map +1 -1
  1191. package/package.json +106 -57
  1192. package/dist/cell/index.d.ts +0 -6
  1193. package/dist/cell/index.d.ts.map +0 -1
  1194. package/dist/cell/index.js +0 -131
  1195. package/dist/cell/index.js.map +0 -1
  1196. package/dist/exports/components.d.ts +0 -6
  1197. package/dist/exports/components.d.ts.map +0 -1
  1198. package/dist/exports/components.js +0 -7
  1199. package/dist/exports/components.js.map +0 -1
  1200. package/dist/field/features/align/feature.client.d.ts +0 -3
  1201. package/dist/field/features/align/feature.client.d.ts.map +0 -1
  1202. package/dist/field/features/align/feature.client.js +0 -72
  1203. package/dist/field/features/align/feature.client.js.map +0 -1
  1204. package/dist/field/features/align/feature.server.d.ts +0 -3
  1205. package/dist/field/features/align/feature.server.d.ts.map +0 -1
  1206. package/dist/field/features/align/feature.server.js +0 -16
  1207. package/dist/field/features/align/feature.server.js.map +0 -1
  1208. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.d.ts +0 -3
  1209. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.d.ts.map +0 -1
  1210. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.js +0 -12
  1211. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.js.map +0 -1
  1212. package/dist/field/features/blockquote/feature.client.d.ts +0 -3
  1213. package/dist/field/features/blockquote/feature.client.d.ts.map +0 -1
  1214. package/dist/field/features/blockquote/feature.client.js +0 -70
  1215. package/dist/field/features/blockquote/feature.client.js.map +0 -1
  1216. package/dist/field/features/blockquote/feature.server.d.ts +0 -3
  1217. package/dist/field/features/blockquote/feature.server.d.ts.map +0 -1
  1218. package/dist/field/features/blockquote/feature.server.js +0 -47
  1219. package/dist/field/features/blockquote/feature.server.js.map +0 -1
  1220. package/dist/field/features/blockquote/markdownTransformer.d.ts.map +0 -1
  1221. package/dist/field/features/blockquote/markdownTransformer.js +0 -42
  1222. package/dist/field/features/blockquote/markdownTransformer.js.map +0 -1
  1223. package/dist/field/features/blocks/component/BlockContent.d.ts +0 -27
  1224. package/dist/field/features/blocks/component/BlockContent.d.ts.map +0 -1
  1225. package/dist/field/features/blocks/component/BlockContent.js +0 -183
  1226. package/dist/field/features/blocks/component/BlockContent.js.map +0 -1
  1227. package/dist/field/features/blocks/component/FormSavePlugin.d.ts +0 -12
  1228. package/dist/field/features/blocks/component/FormSavePlugin.d.ts.map +0 -1
  1229. package/dist/field/features/blocks/component/FormSavePlugin.js +0 -29
  1230. package/dist/field/features/blocks/component/FormSavePlugin.js.map +0 -1
  1231. package/dist/field/features/blocks/component/index.d.ts +0 -16
  1232. package/dist/field/features/blocks/component/index.d.ts.map +0 -1
  1233. package/dist/field/features/blocks/component/index.js +0 -131
  1234. package/dist/field/features/blocks/component/index.js.map +0 -1
  1235. package/dist/field/features/blocks/component/index.scss +0 -153
  1236. package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts +0 -11
  1237. package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts.map +0 -1
  1238. package/dist/field/features/blocks/component/removeEmptyArrayValues.js +0 -16
  1239. package/dist/field/features/blocks/component/removeEmptyArrayValues.js.map +0 -1
  1240. package/dist/field/features/blocks/drawer/index.d.ts +0 -9
  1241. package/dist/field/features/blocks/drawer/index.d.ts.map +0 -1
  1242. package/dist/field/features/blocks/drawer/index.js +0 -84
  1243. package/dist/field/features/blocks/drawer/index.js.map +0 -1
  1244. package/dist/field/features/blocks/feature.client.d.ts +0 -7
  1245. package/dist/field/features/blocks/feature.client.d.ts.map +0 -1
  1246. package/dist/field/features/blocks/feature.client.js +0 -61
  1247. package/dist/field/features/blocks/feature.client.js.map +0 -1
  1248. package/dist/field/features/blocks/feature.server.d.ts +0 -11
  1249. package/dist/field/features/blocks/feature.server.d.ts.map +0 -1
  1250. package/dist/field/features/blocks/feature.server.js +0 -112
  1251. package/dist/field/features/blocks/feature.server.js.map +0 -1
  1252. package/dist/field/features/blocks/nodes/BlocksNode.d.ts +0 -38
  1253. package/dist/field/features/blocks/nodes/BlocksNode.d.ts.map +0 -1
  1254. package/dist/field/features/blocks/nodes/BlocksNode.js +0 -92
  1255. package/dist/field/features/blocks/nodes/BlocksNode.js.map +0 -1
  1256. package/dist/field/features/blocks/plugin/commands.d.ts +0 -4
  1257. package/dist/field/features/blocks/plugin/commands.d.ts.map +0 -1
  1258. package/dist/field/features/blocks/plugin/commands.js +0 -5
  1259. package/dist/field/features/blocks/plugin/commands.js.map +0 -1
  1260. package/dist/field/features/blocks/plugin/index.d.ts +0 -5
  1261. package/dist/field/features/blocks/plugin/index.d.ts.map +0 -1
  1262. package/dist/field/features/blocks/plugin/index.js +0 -43
  1263. package/dist/field/features/blocks/plugin/index.js.map +0 -1
  1264. package/dist/field/features/blocks/populationPromise.d.ts +0 -5
  1265. package/dist/field/features/blocks/populationPromise.d.ts.map +0 -1
  1266. package/dist/field/features/blocks/populationPromise.js +0 -46
  1267. package/dist/field/features/blocks/populationPromise.js.map +0 -1
  1268. package/dist/field/features/blocks/validate.d.ts +0 -5
  1269. package/dist/field/features/blocks/validate.d.ts.map +0 -1
  1270. package/dist/field/features/blocks/validate.js +0 -50
  1271. package/dist/field/features/blocks/validate.js.map +0 -1
  1272. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.d.ts +0 -3
  1273. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.d.ts.map +0 -1
  1274. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.js +0 -10
  1275. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.js.map +0 -1
  1276. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.d.ts +0 -3
  1277. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.d.ts.map +0 -1
  1278. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.js +0 -12
  1279. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.js.map +0 -1
  1280. package/dist/field/features/converters/html/converter/converters/linebreak.d.ts.map +0 -1
  1281. package/dist/field/features/converters/html/converter/converters/linebreak.js +0 -10
  1282. package/dist/field/features/converters/html/converter/converters/linebreak.js.map +0 -1
  1283. package/dist/field/features/converters/html/converter/converters/paragraph.d.ts.map +0 -1
  1284. package/dist/field/features/converters/html/converter/converters/paragraph.js +0 -20
  1285. package/dist/field/features/converters/html/converter/converters/paragraph.js.map +0 -1
  1286. package/dist/field/features/converters/html/converter/converters/text.d.ts.map +0 -1
  1287. package/dist/field/features/converters/html/converter/converters/text.js +0 -33
  1288. package/dist/field/features/converters/html/converter/converters/text.js.map +0 -1
  1289. package/dist/field/features/converters/html/converter/defaultConverters.d.ts.map +0 -1
  1290. package/dist/field/features/converters/html/converter/defaultConverters.js +0 -10
  1291. package/dist/field/features/converters/html/converter/defaultConverters.js.map +0 -1
  1292. package/dist/field/features/converters/html/converter/index.d.ts +0 -21
  1293. package/dist/field/features/converters/html/converter/index.d.ts.map +0 -1
  1294. package/dist/field/features/converters/html/converter/index.js +0 -44
  1295. package/dist/field/features/converters/html/converter/index.js.map +0 -1
  1296. package/dist/field/features/converters/html/converter/types.d.ts +0 -19
  1297. package/dist/field/features/converters/html/converter/types.d.ts.map +0 -1
  1298. package/dist/field/features/converters/html/converter/types.js +0 -3
  1299. package/dist/field/features/converters/html/converter/types.js.map +0 -1
  1300. package/dist/field/features/converters/html/feature.server.d.ts +0 -9
  1301. package/dist/field/features/converters/html/feature.server.d.ts.map +0 -1
  1302. package/dist/field/features/converters/html/feature.server.js +0 -14
  1303. package/dist/field/features/converters/html/feature.server.js.map +0 -1
  1304. package/dist/field/features/converters/html/field/index.d.ts +0 -29
  1305. package/dist/field/features/converters/html/field/index.d.ts.map +0 -1
  1306. package/dist/field/features/converters/html/field/index.js +0 -117
  1307. package/dist/field/features/converters/html/field/index.js.map +0 -1
  1308. package/dist/field/features/createClientComponent.d.ts +0 -6
  1309. package/dist/field/features/createClientComponent.d.ts.map +0 -1
  1310. package/dist/field/features/createClientComponent.js +0 -12
  1311. package/dist/field/features/createClientComponent.js.map +0 -1
  1312. package/dist/field/features/createFeaturePropComponent.d.ts +0 -6
  1313. package/dist/field/features/createFeaturePropComponent.d.ts.map +0 -1
  1314. package/dist/field/features/createFeaturePropComponent.js +0 -15
  1315. package/dist/field/features/createFeaturePropComponent.js.map +0 -1
  1316. package/dist/field/features/debug/testrecorder/feature.client.d.ts +0 -3
  1317. package/dist/field/features/debug/testrecorder/feature.client.d.ts.map +0 -1
  1318. package/dist/field/features/debug/testrecorder/feature.client.js +0 -20
  1319. package/dist/field/features/debug/testrecorder/feature.client.js.map +0 -1
  1320. package/dist/field/features/debug/testrecorder/feature.server.d.ts +0 -3
  1321. package/dist/field/features/debug/testrecorder/feature.server.d.ts.map +0 -1
  1322. package/dist/field/features/debug/testrecorder/feature.server.js +0 -15
  1323. package/dist/field/features/debug/testrecorder/feature.server.js.map +0 -1
  1324. package/dist/field/features/debug/testrecorder/plugin/index.d.ts +0 -5
  1325. package/dist/field/features/debug/testrecorder/plugin/index.d.ts.map +0 -1
  1326. package/dist/field/features/debug/testrecorder/plugin/index.js +0 -448
  1327. package/dist/field/features/debug/testrecorder/plugin/index.js.map +0 -1
  1328. package/dist/field/features/debug/testrecorder/plugin/index.scss +0 -49
  1329. package/dist/field/features/debug/treeview/feature.client.d.ts +0 -3
  1330. package/dist/field/features/debug/treeview/feature.client.d.ts.map +0 -1
  1331. package/dist/field/features/debug/treeview/feature.client.js +0 -20
  1332. package/dist/field/features/debug/treeview/feature.client.js.map +0 -1
  1333. package/dist/field/features/debug/treeview/feature.server.d.ts +0 -3
  1334. package/dist/field/features/debug/treeview/feature.server.d.ts.map +0 -1
  1335. package/dist/field/features/debug/treeview/feature.server.js +0 -15
  1336. package/dist/field/features/debug/treeview/feature.server.js.map +0 -1
  1337. package/dist/field/features/debug/treeview/plugin/index.d.ts +0 -4
  1338. package/dist/field/features/debug/treeview/plugin/index.d.ts.map +0 -1
  1339. package/dist/field/features/debug/treeview/plugin/index.js +0 -21
  1340. package/dist/field/features/debug/treeview/plugin/index.js.map +0 -1
  1341. package/dist/field/features/debug/treeview/plugin/index.scss +0 -78
  1342. package/dist/field/features/format/bold/feature.client.d.ts +0 -3
  1343. package/dist/field/features/format/bold/feature.client.d.ts.map +0 -1
  1344. package/dist/field/features/format/bold/feature.client.js +0 -48
  1345. package/dist/field/features/format/bold/feature.client.js.map +0 -1
  1346. package/dist/field/features/format/bold/feature.server.d.ts +0 -3
  1347. package/dist/field/features/format/bold/feature.server.d.ts.map +0 -1
  1348. package/dist/field/features/format/bold/feature.server.js +0 -27
  1349. package/dist/field/features/format/bold/feature.server.js.map +0 -1
  1350. package/dist/field/features/format/bold/markdownTransformers.d.ts.map +0 -1
  1351. package/dist/field/features/format/bold/markdownTransformers.js +0 -34
  1352. package/dist/field/features/format/bold/markdownTransformers.js.map +0 -1
  1353. package/dist/field/features/format/common/floatingSelectToolbarSection.d.ts +0 -3
  1354. package/dist/field/features/format/common/floatingSelectToolbarSection.d.ts.map +0 -1
  1355. package/dist/field/features/format/common/floatingSelectToolbarSection.js +0 -10
  1356. package/dist/field/features/format/common/floatingSelectToolbarSection.js.map +0 -1
  1357. package/dist/field/features/format/inlinecode/feature.client.d.ts +0 -3
  1358. package/dist/field/features/format/inlinecode/feature.client.d.ts.map +0 -1
  1359. package/dist/field/features/format/inlinecode/feature.client.js +0 -43
  1360. package/dist/field/features/format/inlinecode/feature.client.js.map +0 -1
  1361. package/dist/field/features/format/inlinecode/feature.server.d.ts +0 -3
  1362. package/dist/field/features/format/inlinecode/feature.server.d.ts.map +0 -1
  1363. package/dist/field/features/format/inlinecode/feature.server.js +0 -19
  1364. package/dist/field/features/format/inlinecode/feature.server.js.map +0 -1
  1365. package/dist/field/features/format/inlinecode/markdownTransformers.d.ts.map +0 -1
  1366. package/dist/field/features/format/inlinecode/markdownTransformers.js +0 -9
  1367. package/dist/field/features/format/inlinecode/markdownTransformers.js.map +0 -1
  1368. package/dist/field/features/format/italic/feature.client.d.ts +0 -3
  1369. package/dist/field/features/format/italic/feature.client.d.ts.map +0 -1
  1370. package/dist/field/features/format/italic/feature.client.js +0 -44
  1371. package/dist/field/features/format/italic/feature.client.js.map +0 -1
  1372. package/dist/field/features/format/italic/feature.server.d.ts +0 -3
  1373. package/dist/field/features/format/italic/feature.server.d.ts.map +0 -1
  1374. package/dist/field/features/format/italic/feature.server.js +0 -20
  1375. package/dist/field/features/format/italic/feature.server.js.map +0 -1
  1376. package/dist/field/features/format/italic/markdownTransformers.d.ts.map +0 -1
  1377. package/dist/field/features/format/italic/markdownTransformers.js +0 -17
  1378. package/dist/field/features/format/italic/markdownTransformers.js.map +0 -1
  1379. package/dist/field/features/format/strikethrough/feature.client.d.ts +0 -3
  1380. package/dist/field/features/format/strikethrough/feature.client.d.ts.map +0 -1
  1381. package/dist/field/features/format/strikethrough/feature.client.js +0 -43
  1382. package/dist/field/features/format/strikethrough/feature.client.js.map +0 -1
  1383. package/dist/field/features/format/strikethrough/feature.server.d.ts +0 -3
  1384. package/dist/field/features/format/strikethrough/feature.server.d.ts.map +0 -1
  1385. package/dist/field/features/format/strikethrough/feature.server.js +0 -19
  1386. package/dist/field/features/format/strikethrough/feature.server.js.map +0 -1
  1387. package/dist/field/features/format/strikethrough/markdownTransformers.d.ts.map +0 -1
  1388. package/dist/field/features/format/strikethrough/markdownTransformers.js +0 -9
  1389. package/dist/field/features/format/strikethrough/markdownTransformers.js.map +0 -1
  1390. package/dist/field/features/format/subscript/feature.client.d.ts +0 -3
  1391. package/dist/field/features/format/subscript/feature.client.d.ts.map +0 -1
  1392. package/dist/field/features/format/subscript/feature.client.js +0 -39
  1393. package/dist/field/features/format/subscript/feature.client.js.map +0 -1
  1394. package/dist/field/features/format/subscript/feature.server.d.ts +0 -3
  1395. package/dist/field/features/format/subscript/feature.server.d.ts.map +0 -1
  1396. package/dist/field/features/format/subscript/feature.server.js +0 -15
  1397. package/dist/field/features/format/subscript/feature.server.js.map +0 -1
  1398. package/dist/field/features/format/superscript/feature.client.d.ts +0 -3
  1399. package/dist/field/features/format/superscript/feature.client.d.ts.map +0 -1
  1400. package/dist/field/features/format/superscript/feature.client.js +0 -39
  1401. package/dist/field/features/format/superscript/feature.client.js.map +0 -1
  1402. package/dist/field/features/format/superscript/feature.server.d.ts +0 -3
  1403. package/dist/field/features/format/superscript/feature.server.d.ts.map +0 -1
  1404. package/dist/field/features/format/superscript/feature.server.js +0 -15
  1405. package/dist/field/features/format/superscript/feature.server.js.map +0 -1
  1406. package/dist/field/features/format/underline/feature.client.d.ts +0 -3
  1407. package/dist/field/features/format/underline/feature.client.d.ts.map +0 -1
  1408. package/dist/field/features/format/underline/feature.client.js +0 -39
  1409. package/dist/field/features/format/underline/feature.client.js.map +0 -1
  1410. package/dist/field/features/format/underline/feature.server.d.ts +0 -3
  1411. package/dist/field/features/format/underline/feature.server.d.ts.map +0 -1
  1412. package/dist/field/features/format/underline/feature.server.js +0 -15
  1413. package/dist/field/features/format/underline/feature.server.js.map +0 -1
  1414. package/dist/field/features/heading/feature.client.d.ts +0 -4
  1415. package/dist/field/features/heading/feature.client.d.ts.map +0 -1
  1416. package/dist/field/features/heading/feature.client.js +0 -97
  1417. package/dist/field/features/heading/feature.client.js.map +0 -1
  1418. package/dist/field/features/heading/feature.server.d.ts +0 -7
  1419. package/dist/field/features/heading/feature.server.d.ts.map +0 -1
  1420. package/dist/field/features/heading/feature.server.js +0 -58
  1421. package/dist/field/features/heading/feature.server.js.map +0 -1
  1422. package/dist/field/features/heading/markdownTransformer.d.ts.map +0 -1
  1423. package/dist/field/features/heading/markdownTransformer.js +0 -30
  1424. package/dist/field/features/heading/markdownTransformer.js.map +0 -1
  1425. package/dist/field/features/horizontalrule/component/index.d.ts +0 -10
  1426. package/dist/field/features/horizontalrule/component/index.d.ts.map +0 -1
  1427. package/dist/field/features/horizontalrule/component/index.js +0 -64
  1428. package/dist/field/features/horizontalrule/component/index.js.map +0 -1
  1429. package/dist/field/features/horizontalrule/feature.client.d.ts +0 -3
  1430. package/dist/field/features/horizontalrule/feature.client.d.ts.map +0 -1
  1431. package/dist/field/features/horizontalrule/feature.client.js +0 -53
  1432. package/dist/field/features/horizontalrule/feature.client.js.map +0 -1
  1433. package/dist/field/features/horizontalrule/feature.server.d.ts +0 -3
  1434. package/dist/field/features/horizontalrule/feature.server.d.ts.map +0 -1
  1435. package/dist/field/features/horizontalrule/feature.server.js +0 -36
  1436. package/dist/field/features/horizontalrule/feature.server.js.map +0 -1
  1437. package/dist/field/features/horizontalrule/markdownTransformer.d.ts.map +0 -1
  1438. package/dist/field/features/horizontalrule/markdownTransformer.js +0 -23
  1439. package/dist/field/features/horizontalrule/markdownTransformer.js.map +0 -1
  1440. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.d.ts +0 -55
  1441. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.d.ts.map +0 -1
  1442. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.js +0 -89
  1443. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.js.map +0 -1
  1444. package/dist/field/features/horizontalrule/plugin/index.d.ts +0 -6
  1445. package/dist/field/features/horizontalrule/plugin/index.d.ts.map +0 -1
  1446. package/dist/field/features/horizontalrule/plugin/index.js +0 -34
  1447. package/dist/field/features/horizontalrule/plugin/index.js.map +0 -1
  1448. package/dist/field/features/horizontalrule/plugin/index.scss +0 -20
  1449. package/dist/field/features/indent/feature.client.d.ts +0 -3
  1450. package/dist/field/features/indent/feature.client.d.ts.map +0 -1
  1451. package/dist/field/features/indent/feature.client.js +0 -58
  1452. package/dist/field/features/indent/feature.client.js.map +0 -1
  1453. package/dist/field/features/indent/feature.server.d.ts +0 -3
  1454. package/dist/field/features/indent/feature.server.d.ts.map +0 -1
  1455. package/dist/field/features/indent/feature.server.js +0 -16
  1456. package/dist/field/features/indent/feature.server.js.map +0 -1
  1457. package/dist/field/features/indent/floatingSelectToolbarIndentSection.d.ts +0 -3
  1458. package/dist/field/features/indent/floatingSelectToolbarIndentSection.d.ts.map +0 -1
  1459. package/dist/field/features/indent/floatingSelectToolbarIndentSection.js +0 -10
  1460. package/dist/field/features/indent/floatingSelectToolbarIndentSection.js.map +0 -1
  1461. package/dist/field/features/indent/index.scss +0 -4
  1462. package/dist/field/features/link/drawer/baseFields.d.ts +0 -4
  1463. package/dist/field/features/link/drawer/baseFields.d.ts.map +0 -1
  1464. package/dist/field/features/link/drawer/baseFields.js +0 -107
  1465. package/dist/field/features/link/drawer/baseFields.js.map +0 -1
  1466. package/dist/field/features/link/drawer/index.d.ts +0 -5
  1467. package/dist/field/features/link/drawer/index.d.ts.map +0 -1
  1468. package/dist/field/features/link/drawer/index.js +0 -94
  1469. package/dist/field/features/link/drawer/index.js.map +0 -1
  1470. package/dist/field/features/link/drawer/index.scss +0 -50
  1471. package/dist/field/features/link/drawer/types.d.ts +0 -8
  1472. package/dist/field/features/link/drawer/types.d.ts.map +0 -1
  1473. package/dist/field/features/link/drawer/types.js +0 -3
  1474. package/dist/field/features/link/drawer/types.js.map +0 -1
  1475. package/dist/field/features/link/feature.client.d.ts +0 -5
  1476. package/dist/field/features/link/feature.client.d.ts.map +0 -1
  1477. package/dist/field/features/link/feature.client.js +0 -90
  1478. package/dist/field/features/link/feature.client.js.map +0 -1
  1479. package/dist/field/features/link/feature.server.d.ts +0 -33
  1480. package/dist/field/features/link/feature.server.d.ts.map +0 -1
  1481. package/dist/field/features/link/feature.server.js +0 -105
  1482. package/dist/field/features/link/feature.server.js.map +0 -1
  1483. package/dist/field/features/link/nodes/AutoLinkNode.d.ts.map +0 -1
  1484. package/dist/field/features/link/nodes/AutoLinkNode.js +0 -61
  1485. package/dist/field/features/link/nodes/AutoLinkNode.js.map +0 -1
  1486. package/dist/field/features/link/nodes/LinkNode.d.ts +0 -38
  1487. package/dist/field/features/link/nodes/LinkNode.d.ts.map +0 -1
  1488. package/dist/field/features/link/nodes/LinkNode.js +0 -301
  1489. package/dist/field/features/link/nodes/LinkNode.js.map +0 -1
  1490. package/dist/field/features/link/nodes/types.d.ts +0 -19
  1491. package/dist/field/features/link/nodes/types.d.ts.map +0 -1
  1492. package/dist/field/features/link/nodes/types.js +0 -3
  1493. package/dist/field/features/link/nodes/types.js.map +0 -1
  1494. package/dist/field/features/link/plugins/autoLink/index.d.ts +0 -19
  1495. package/dist/field/features/link/plugins/autoLink/index.d.ts.map +0 -1
  1496. package/dist/field/features/link/plugins/autoLink/index.js +0 -321
  1497. package/dist/field/features/link/plugins/autoLink/index.js.map +0 -1
  1498. package/dist/field/features/link/plugins/clickableLink/index.d.ts +0 -3
  1499. package/dist/field/features/link/plugins/clickableLink/index.d.ts.map +0 -1
  1500. package/dist/field/features/link/plugins/clickableLink/index.js +0 -10
  1501. package/dist/field/features/link/plugins/clickableLink/index.js.map +0 -1
  1502. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +0 -1
  1503. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js +0 -5
  1504. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +0 -1
  1505. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +0 -1
  1506. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +0 -259
  1507. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +0 -1
  1508. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts +0 -6
  1509. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts.map +0 -1
  1510. package/dist/field/features/link/plugins/floatingLinkEditor/index.js +0 -13
  1511. package/dist/field/features/link/plugins/floatingLinkEditor/index.js.map +0 -1
  1512. package/dist/field/features/link/plugins/floatingLinkEditor/index.scss +0 -78
  1513. package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts +0 -15
  1514. package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts.map +0 -1
  1515. package/dist/field/features/link/plugins/floatingLinkEditor/types.js +0 -6
  1516. package/dist/field/features/link/plugins/floatingLinkEditor/types.js.map +0 -1
  1517. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts +0 -12
  1518. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +0 -1
  1519. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js +0 -38
  1520. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js.map +0 -1
  1521. package/dist/field/features/link/plugins/link/index.d.ts +0 -2
  1522. package/dist/field/features/link/plugins/link/index.d.ts.map +0 -1
  1523. package/dist/field/features/link/plugins/link/index.js +0 -62
  1524. package/dist/field/features/link/plugins/link/index.js.map +0 -1
  1525. package/dist/field/features/link/populationPromise.d.ts +0 -5
  1526. package/dist/field/features/link/populationPromise.d.ts.map +0 -1
  1527. package/dist/field/features/link/populationPromise.js +0 -46
  1528. package/dist/field/features/link/populationPromise.js.map +0 -1
  1529. package/dist/field/features/lists/checklist/feature.client.d.ts +0 -3
  1530. package/dist/field/features/lists/checklist/feature.client.d.ts.map +0 -1
  1531. package/dist/field/features/lists/checklist/feature.client.js +0 -82
  1532. package/dist/field/features/lists/checklist/feature.client.js.map +0 -1
  1533. package/dist/field/features/lists/checklist/feature.server.d.ts +0 -3
  1534. package/dist/field/features/lists/checklist/feature.server.d.ts.map +0 -1
  1535. package/dist/field/features/lists/checklist/feature.server.js +0 -36
  1536. package/dist/field/features/lists/checklist/feature.server.js.map +0 -1
  1537. package/dist/field/features/lists/checklist/markdownTransformers.d.ts.map +0 -1
  1538. package/dist/field/features/lists/checklist/markdownTransformers.js +0 -17
  1539. package/dist/field/features/lists/checklist/markdownTransformers.js.map +0 -1
  1540. package/dist/field/features/lists/checklist/plugin/index.d.ts +0 -3
  1541. package/dist/field/features/lists/checklist/plugin/index.d.ts.map +0 -1
  1542. package/dist/field/features/lists/checklist/plugin/index.js +0 -9
  1543. package/dist/field/features/lists/checklist/plugin/index.js.map +0 -1
  1544. package/dist/field/features/lists/common/markdown.d.ts +0 -6
  1545. package/dist/field/features/lists/common/markdown.d.ts.map +0 -1
  1546. package/dist/field/features/lists/common/markdown.js +0 -59
  1547. package/dist/field/features/lists/common/markdown.js.map +0 -1
  1548. package/dist/field/features/lists/htmlConverter.d.ts +0 -5
  1549. package/dist/field/features/lists/htmlConverter.d.ts.map +0 -1
  1550. package/dist/field/features/lists/htmlConverter.js +0 -57
  1551. package/dist/field/features/lists/htmlConverter.js.map +0 -1
  1552. package/dist/field/features/lists/orderedlist/feature.client.d.ts +0 -3
  1553. package/dist/field/features/lists/orderedlist/feature.client.d.ts.map +0 -1
  1554. package/dist/field/features/lists/orderedlist/feature.client.js +0 -72
  1555. package/dist/field/features/lists/orderedlist/feature.client.js.map +0 -1
  1556. package/dist/field/features/lists/orderedlist/feature.server.d.ts +0 -3
  1557. package/dist/field/features/lists/orderedlist/feature.server.d.ts.map +0 -1
  1558. package/dist/field/features/lists/orderedlist/feature.server.js +0 -36
  1559. package/dist/field/features/lists/orderedlist/feature.server.js.map +0 -1
  1560. package/dist/field/features/lists/orderedlist/markdownTransformer.d.ts.map +0 -1
  1561. package/dist/field/features/lists/orderedlist/markdownTransformer.js +0 -17
  1562. package/dist/field/features/lists/orderedlist/markdownTransformer.js.map +0 -1
  1563. package/dist/field/features/lists/plugin/index.d.ts +0 -3
  1564. package/dist/field/features/lists/plugin/index.d.ts.map +0 -1
  1565. package/dist/field/features/lists/plugin/index.js +0 -9
  1566. package/dist/field/features/lists/plugin/index.js.map +0 -1
  1567. package/dist/field/features/lists/unorderedlist/feature.client.d.ts +0 -3
  1568. package/dist/field/features/lists/unorderedlist/feature.client.d.ts.map +0 -1
  1569. package/dist/field/features/lists/unorderedlist/feature.client.js +0 -72
  1570. package/dist/field/features/lists/unorderedlist/feature.client.js.map +0 -1
  1571. package/dist/field/features/lists/unorderedlist/feature.server.d.ts +0 -3
  1572. package/dist/field/features/lists/unorderedlist/feature.server.d.ts.map +0 -1
  1573. package/dist/field/features/lists/unorderedlist/feature.server.js +0 -36
  1574. package/dist/field/features/lists/unorderedlist/feature.server.js.map +0 -1
  1575. package/dist/field/features/lists/unorderedlist/markdownTransformer.d.ts.map +0 -1
  1576. package/dist/field/features/lists/unorderedlist/markdownTransformer.js +0 -17
  1577. package/dist/field/features/lists/unorderedlist/markdownTransformer.js.map +0 -1
  1578. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +0 -6
  1579. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1580. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js +0 -6
  1581. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +0 -1
  1582. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +0 -3
  1583. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1584. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +0 -20
  1585. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +0 -1
  1586. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts +0 -3
  1587. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1588. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +0 -8
  1589. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +0 -1
  1590. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +0 -6
  1591. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +0 -1
  1592. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js +0 -6
  1593. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +0 -1
  1594. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +0 -3
  1595. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1596. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +0 -31
  1597. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +0 -1
  1598. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts +0 -3
  1599. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +0 -1
  1600. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js +0 -8
  1601. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +0 -1
  1602. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +0 -6
  1603. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +0 -1
  1604. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js +0 -6
  1605. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +0 -1
  1606. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +0 -3
  1607. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +0 -1
  1608. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +0 -22
  1609. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +0 -1
  1610. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts +0 -3
  1611. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +0 -1
  1612. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js +0 -8
  1613. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +0 -1
  1614. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +0 -6
  1615. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1616. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js +0 -6
  1617. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +0 -1
  1618. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +0 -3
  1619. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1620. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +0 -22
  1621. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +0 -1
  1622. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts +0 -3
  1623. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1624. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +0 -8
  1625. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +0 -1
  1626. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +0 -6
  1627. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +0 -1
  1628. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js +0 -6
  1629. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +0 -1
  1630. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +0 -3
  1631. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +0 -1
  1632. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +0 -20
  1633. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +0 -1
  1634. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts +0 -3
  1635. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +0 -1
  1636. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +0 -8
  1637. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +0 -1
  1638. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +0 -6
  1639. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1640. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js +0 -6
  1641. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +0 -1
  1642. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +0 -3
  1643. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1644. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +0 -26
  1645. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +0 -1
  1646. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts +0 -3
  1647. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1648. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +0 -8
  1649. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +0 -1
  1650. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +0 -6
  1651. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1652. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js +0 -6
  1653. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +0 -1
  1654. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +0 -3
  1655. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1656. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +0 -25
  1657. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +0 -1
  1658. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts +0 -3
  1659. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1660. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +0 -8
  1661. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +0 -1
  1662. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +0 -3
  1663. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +0 -1
  1664. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js +0 -18
  1665. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +0 -1
  1666. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts +0 -17
  1667. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +0 -1
  1668. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.js +0 -63
  1669. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.js.map +0 -1
  1670. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts +0 -31
  1671. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +0 -1
  1672. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.js +0 -3
  1673. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.js.map +0 -1
  1674. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts +0 -3
  1675. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +0 -1
  1676. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js +0 -34
  1677. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js.map +0 -1
  1678. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts +0 -9
  1679. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +0 -1
  1680. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js +0 -47
  1681. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js.map +0 -1
  1682. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1683. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +0 -8
  1684. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1685. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +0 -36
  1686. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1687. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +0 -70
  1688. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1689. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.scss +0 -14
  1690. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +0 -6
  1691. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +0 -1
  1692. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js +0 -6
  1693. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +0 -1
  1694. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +0 -3
  1695. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +0 -1
  1696. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.js +0 -23
  1697. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +0 -1
  1698. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts +0 -3
  1699. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +0 -1
  1700. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js +0 -8
  1701. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +0 -1
  1702. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts +0 -6
  1703. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1704. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.js +0 -6
  1705. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.js.map +0 -1
  1706. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts +0 -3
  1707. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1708. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.js +0 -29
  1709. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +0 -1
  1710. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts +0 -3
  1711. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1712. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js +0 -8
  1713. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js.map +0 -1
  1714. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts +0 -6
  1715. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +0 -1
  1716. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.js +0 -6
  1717. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.js.map +0 -1
  1718. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts +0 -3
  1719. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +0 -1
  1720. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.js +0 -35
  1721. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +0 -1
  1722. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts +0 -3
  1723. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +0 -1
  1724. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js +0 -8
  1725. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js.map +0 -1
  1726. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts +0 -6
  1727. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +0 -1
  1728. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.js +0 -6
  1729. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.js.map +0 -1
  1730. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts +0 -3
  1731. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1732. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.js +0 -30
  1733. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.js.map +0 -1
  1734. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts +0 -3
  1735. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +0 -1
  1736. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js +0 -8
  1737. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js.map +0 -1
  1738. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts +0 -6
  1739. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1740. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.js +0 -6
  1741. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +0 -1
  1742. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +0 -3
  1743. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1744. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.js +0 -25
  1745. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +0 -1
  1746. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts +0 -3
  1747. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1748. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js +0 -8
  1749. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +0 -1
  1750. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +0 -6
  1751. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +0 -1
  1752. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.js +0 -6
  1753. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +0 -1
  1754. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +0 -3
  1755. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +0 -1
  1756. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.js +0 -26
  1757. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +0 -1
  1758. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts +0 -3
  1759. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +0 -1
  1760. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js +0 -8
  1761. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +0 -1
  1762. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts +0 -6
  1763. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +0 -1
  1764. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.js +0 -6
  1765. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +0 -1
  1766. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +0 -3
  1767. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +0 -1
  1768. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js +0 -18
  1769. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +0 -1
  1770. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts +0 -3
  1771. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +0 -1
  1772. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js +0 -8
  1773. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +0 -1
  1774. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts +0 -6
  1775. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1776. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.js +0 -6
  1777. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +0 -1
  1778. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +0 -3
  1779. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1780. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.js +0 -27
  1781. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +0 -1
  1782. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts +0 -3
  1783. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1784. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js +0 -8
  1785. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +0 -1
  1786. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +0 -6
  1787. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +0 -1
  1788. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.js +0 -6
  1789. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +0 -1
  1790. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +0 -3
  1791. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +0 -1
  1792. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js +0 -26
  1793. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +0 -1
  1794. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts +0 -3
  1795. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +0 -1
  1796. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js +0 -8
  1797. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +0 -1
  1798. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts +0 -6
  1799. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1800. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.js +0 -6
  1801. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.js.map +0 -1
  1802. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts +0 -3
  1803. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1804. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js +0 -21
  1805. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +0 -1
  1806. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts +0 -3
  1807. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1808. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js +0 -8
  1809. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js.map +0 -1
  1810. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts +0 -3
  1811. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +0 -1
  1812. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.js +0 -24
  1813. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.js.map +0 -1
  1814. package/dist/field/features/migrations/slateToLexical/converter/index.d.ts.map +0 -1
  1815. package/dist/field/features/migrations/slateToLexical/converter/index.js +0 -107
  1816. package/dist/field/features/migrations/slateToLexical/converter/index.js.map +0 -1
  1817. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts +0 -25
  1818. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts.map +0 -1
  1819. package/dist/field/features/migrations/slateToLexical/converter/types.js +0 -3
  1820. package/dist/field/features/migrations/slateToLexical/converter/types.js.map +0 -1
  1821. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts +0 -3
  1822. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts.map +0 -1
  1823. package/dist/field/features/migrations/slateToLexical/feature.client.js +0 -34
  1824. package/dist/field/features/migrations/slateToLexical/feature.client.js.map +0 -1
  1825. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts +0 -9
  1826. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts.map +0 -1
  1827. package/dist/field/features/migrations/slateToLexical/feature.server.js +0 -47
  1828. package/dist/field/features/migrations/slateToLexical/feature.server.js.map +0 -1
  1829. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1830. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +0 -8
  1831. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1832. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +0 -36
  1833. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1834. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +0 -70
  1835. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1836. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.scss +0 -14
  1837. package/dist/field/features/paragraph/feature.client.d.ts +0 -3
  1838. package/dist/field/features/paragraph/feature.client.d.ts.map +0 -1
  1839. package/dist/field/features/paragraph/feature.client.js +0 -65
  1840. package/dist/field/features/paragraph/feature.client.js.map +0 -1
  1841. package/dist/field/features/paragraph/feature.server.d.ts +0 -3
  1842. package/dist/field/features/paragraph/feature.server.d.ts.map +0 -1
  1843. package/dist/field/features/paragraph/feature.server.js +0 -16
  1844. package/dist/field/features/paragraph/feature.server.js.map +0 -1
  1845. package/dist/field/features/relationship/drawer/commands.d.ts.map +0 -1
  1846. package/dist/field/features/relationship/drawer/commands.js +0 -5
  1847. package/dist/field/features/relationship/drawer/commands.js.map +0 -1
  1848. package/dist/field/features/relationship/drawer/index.d.ts.map +0 -1
  1849. package/dist/field/features/relationship/drawer/index.js +0 -81
  1850. package/dist/field/features/relationship/drawer/index.js.map +0 -1
  1851. package/dist/field/features/relationship/feature.client.d.ts +0 -4
  1852. package/dist/field/features/relationship/feature.client.d.ts.map +0 -1
  1853. package/dist/field/features/relationship/feature.client.js +0 -56
  1854. package/dist/field/features/relationship/feature.client.js.map +0 -1
  1855. package/dist/field/features/relationship/feature.server.d.ts +0 -18
  1856. package/dist/field/features/relationship/feature.server.d.ts.map +0 -1
  1857. package/dist/field/features/relationship/feature.server.js +0 -26
  1858. package/dist/field/features/relationship/feature.server.js.map +0 -1
  1859. package/dist/field/features/relationship/nodes/RelationshipNode.d.ts +0 -36
  1860. package/dist/field/features/relationship/nodes/RelationshipNode.d.ts.map +0 -1
  1861. package/dist/field/features/relationship/nodes/RelationshipNode.js +0 -110
  1862. package/dist/field/features/relationship/nodes/RelationshipNode.js.map +0 -1
  1863. package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts +0 -14
  1864. package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts.map +0 -1
  1865. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js +0 -109
  1866. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js.map +0 -1
  1867. package/dist/field/features/relationship/nodes/components/index.scss +0 -97
  1868. package/dist/field/features/relationship/plugins/index.d.ts +0 -7
  1869. package/dist/field/features/relationship/plugins/index.d.ts.map +0 -1
  1870. package/dist/field/features/relationship/plugins/index.js +0 -52
  1871. package/dist/field/features/relationship/plugins/index.js.map +0 -1
  1872. package/dist/field/features/relationship/populationPromise.d.ts +0 -4
  1873. package/dist/field/features/relationship/populationPromise.d.ts.map +0 -1
  1874. package/dist/field/features/relationship/populationPromise.js +0 -24
  1875. package/dist/field/features/relationship/populationPromise.js.map +0 -1
  1876. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +0 -1
  1877. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js +0 -35
  1878. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js.map +0 -1
  1879. package/dist/field/features/types.d.ts +0 -274
  1880. package/dist/field/features/types.d.ts.map +0 -1
  1881. package/dist/field/features/types.js +0 -3
  1882. package/dist/field/features/types.js.map +0 -1
  1883. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts +0 -12
  1884. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +0 -1
  1885. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js +0 -126
  1886. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js.map +0 -1
  1887. package/dist/field/features/upload/component/index.d.ts +0 -9
  1888. package/dist/field/features/upload/component/index.d.ts.map +0 -1
  1889. package/dist/field/features/upload/component/index.js +0 -144
  1890. package/dist/field/features/upload/component/index.js.map +0 -1
  1891. package/dist/field/features/upload/component/index.scss +0 -152
  1892. package/dist/field/features/upload/drawer/commands.d.ts.map +0 -1
  1893. package/dist/field/features/upload/drawer/commands.js +0 -6
  1894. package/dist/field/features/upload/drawer/commands.js.map +0 -1
  1895. package/dist/field/features/upload/drawer/index.d.ts.map +0 -1
  1896. package/dist/field/features/upload/drawer/index.js +0 -78
  1897. package/dist/field/features/upload/drawer/index.js.map +0 -1
  1898. package/dist/field/features/upload/feature.client.d.ts +0 -10
  1899. package/dist/field/features/upload/feature.client.d.ts.map +0 -1
  1900. package/dist/field/features/upload/feature.client.js +0 -55
  1901. package/dist/field/features/upload/feature.client.js.map +0 -1
  1902. package/dist/field/features/upload/feature.server.d.ts +0 -12
  1903. package/dist/field/features/upload/feature.server.d.ts.map +0 -1
  1904. package/dist/field/features/upload/feature.server.js +0 -122
  1905. package/dist/field/features/upload/feature.server.js.map +0 -1
  1906. package/dist/field/features/upload/nodes/UploadNode.d.ts +0 -49
  1907. package/dist/field/features/upload/nodes/UploadNode.d.ts.map +0 -1
  1908. package/dist/field/features/upload/nodes/UploadNode.js +0 -102
  1909. package/dist/field/features/upload/nodes/UploadNode.js.map +0 -1
  1910. package/dist/field/features/upload/plugin/index.d.ts +0 -7
  1911. package/dist/field/features/upload/plugin/index.d.ts.map +0 -1
  1912. package/dist/field/features/upload/plugin/index.js +0 -55
  1913. package/dist/field/features/upload/plugin/index.js.map +0 -1
  1914. package/dist/field/features/upload/populationPromise.d.ts +0 -5
  1915. package/dist/field/features/upload/populationPromise.d.ts.map +0 -1
  1916. package/dist/field/features/upload/populationPromise.js +0 -46
  1917. package/dist/field/features/upload/populationPromise.js.map +0 -1
  1918. package/dist/field/features/upload/validate.d.ts +0 -4
  1919. package/dist/field/features/upload/validate.d.ts.map +0 -1
  1920. package/dist/field/features/upload/validate.js +0 -17
  1921. package/dist/field/features/upload/validate.js.map +0 -1
  1922. package/dist/field/index.scss +0 -46
  1923. package/dist/field/lexical/EditorPlugin.d.ts +0 -7
  1924. package/dist/field/lexical/EditorPlugin.d.ts.map +0 -1
  1925. package/dist/field/lexical/EditorPlugin.js +0 -11
  1926. package/dist/field/lexical/EditorPlugin.js.map +0 -1
  1927. package/dist/field/lexical/LexicalEditor.d.ts +0 -5
  1928. package/dist/field/lexical/LexicalEditor.d.ts.map +0 -1
  1929. package/dist/field/lexical/LexicalEditor.js +0 -112
  1930. package/dist/field/lexical/LexicalEditor.js.map +0 -1
  1931. package/dist/field/lexical/LexicalEditor.scss +0 -56
  1932. package/dist/field/lexical/LexicalProvider.d.ts +0 -19
  1933. package/dist/field/lexical/LexicalProvider.d.ts.map +0 -1
  1934. package/dist/field/lexical/LexicalProvider.js +0 -67
  1935. package/dist/field/lexical/LexicalProvider.js.map +0 -1
  1936. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts +0 -24
  1937. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts.map +0 -1
  1938. package/dist/field/lexical/config/client/EditorConfigProvider.js +0 -41
  1939. package/dist/field/lexical/config/client/EditorConfigProvider.js.map +0 -1
  1940. package/dist/field/lexical/config/client/default.d.ts +0 -3
  1941. package/dist/field/lexical/config/client/default.d.ts.map +0 -1
  1942. package/dist/field/lexical/config/client/default.js +0 -8
  1943. package/dist/field/lexical/config/client/default.js.map +0 -1
  1944. package/dist/field/lexical/config/client/loader.d.ts +0 -12
  1945. package/dist/field/lexical/config/client/loader.d.ts.map +0 -1
  1946. package/dist/field/lexical/config/client/loader.js +0 -46
  1947. package/dist/field/lexical/config/client/loader.js.map +0 -1
  1948. package/dist/field/lexical/config/client/sanitize.d.ts +0 -6
  1949. package/dist/field/lexical/config/client/sanitize.d.ts.map +0 -1
  1950. package/dist/field/lexical/config/client/sanitize.js +0 -126
  1951. package/dist/field/lexical/config/client/sanitize.js.map +0 -1
  1952. package/dist/field/lexical/config/server/default.d.ts +0 -8
  1953. package/dist/field/lexical/config/server/default.d.ts.map +0 -1
  1954. package/dist/field/lexical/config/server/default.js +0 -53
  1955. package/dist/field/lexical/config/server/default.js.map +0 -1
  1956. package/dist/field/lexical/config/server/loader.d.ts +0 -7
  1957. package/dist/field/lexical/config/server/loader.d.ts.map +0 -1
  1958. package/dist/field/lexical/config/server/loader.js +0 -118
  1959. package/dist/field/lexical/config/server/loader.js.map +0 -1
  1960. package/dist/field/lexical/config/server/sanitize.d.ts +0 -5
  1961. package/dist/field/lexical/config/server/sanitize.d.ts.map +0 -1
  1962. package/dist/field/lexical/config/server/sanitize.js +0 -65
  1963. package/dist/field/lexical/config/server/sanitize.js.map +0 -1
  1964. package/dist/field/lexical/config/types.d.ts +0 -21
  1965. package/dist/field/lexical/config/types.d.ts.map +0 -1
  1966. package/dist/field/lexical/config/types.js +0 -3
  1967. package/dist/field/lexical/config/types.js.map +0 -1
  1968. package/dist/field/lexical/nodes/index.d.ts +0 -7
  1969. package/dist/field/lexical/nodes/index.d.ts.map +0 -1
  1970. package/dist/field/lexical/nodes/index.js +0 -10
  1971. package/dist/field/lexical/nodes/index.js.map +0 -1
  1972. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.d.ts +0 -8
  1973. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.d.ts.map +0 -1
  1974. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.js +0 -97
  1975. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.js.map +0 -1
  1976. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.scss +0 -37
  1977. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.d.ts +0 -17
  1978. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.d.ts.map +0 -1
  1979. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.js +0 -251
  1980. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.js.map +0 -1
  1981. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.d.ts +0 -18
  1982. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.d.ts.map +0 -1
  1983. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.js +0 -42
  1984. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.js.map +0 -1
  1985. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.scss +0 -100
  1986. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.d.ts +0 -6
  1987. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.d.ts.map +0 -1
  1988. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.js +0 -270
  1989. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.js.map +0 -1
  1990. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.scss +0 -57
  1991. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.d.ts +0 -40
  1992. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.d.ts.map +0 -1
  1993. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.js +0 -3
  1994. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.js.map +0 -1
  1995. package/dist/field/lexical/plugins/MarkdownShortcut/index.d.ts.map +0 -1
  1996. package/dist/field/lexical/plugins/MarkdownShortcut/index.js +0 -13
  1997. package/dist/field/lexical/plugins/MarkdownShortcut/index.js.map +0 -1
  1998. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +0 -32
  1999. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +0 -1
  2000. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +0 -404
  2001. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +0 -1
  2002. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +0 -25
  2003. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +0 -1
  2004. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +0 -207
  2005. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +0 -1
  2006. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +0 -39
  2007. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +0 -1
  2008. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js +0 -39
  2009. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +0 -1
  2010. package/dist/field/lexical/plugins/SlashMenu/index.d.ts +0 -6
  2011. package/dist/field/lexical/plugins/SlashMenu/index.d.ts.map +0 -1
  2012. package/dist/field/lexical/plugins/SlashMenu/index.js +0 -172
  2013. package/dist/field/lexical/plugins/SlashMenu/index.js.map +0 -1
  2014. package/dist/field/lexical/plugins/SlashMenu/index.scss +0 -61
  2015. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +0 -1
  2016. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.js +0 -33
  2017. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +0 -1
  2018. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts +0 -6
  2019. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +0 -1
  2020. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js +0 -241
  2021. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +0 -1
  2022. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.scss +0 -31
  2023. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts +0 -2
  2024. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +0 -1
  2025. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.js +0 -14
  2026. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +0 -1
  2027. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +0 -1
  2028. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js +0 -14
  2029. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +0 -1
  2030. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.d.ts +0 -27
  2031. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.d.ts.map +0 -1
  2032. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.js +0 -151
  2033. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.js.map +0 -1
  2034. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts +0 -3
  2035. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +0 -1
  2036. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js +0 -27
  2037. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +0 -1
  2038. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts +0 -6
  2039. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +0 -1
  2040. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js +0 -298
  2041. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +0 -1
  2042. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.scss +0 -55
  2043. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +0 -3
  2044. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +0 -1
  2045. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js +0 -49
  2046. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +0 -1
  2047. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +0 -1
  2048. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.js +0 -35
  2049. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +0 -1
  2050. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +0 -1
  2051. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.js +0 -14
  2052. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.js.map +0 -1
  2053. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +0 -1
  2054. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.js +0 -7
  2055. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +0 -1
  2056. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +0 -1
  2057. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.js +0 -5
  2058. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.js.map +0 -1
  2059. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +0 -1
  2060. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.js +0 -27
  2061. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.js.map +0 -1
  2062. package/dist/field/lexical/theme/EditorTheme.d.ts +0 -4
  2063. package/dist/field/lexical/theme/EditorTheme.d.ts.map +0 -1
  2064. package/dist/field/lexical/theme/EditorTheme.js +0 -106
  2065. package/dist/field/lexical/theme/EditorTheme.js.map +0 -1
  2066. package/dist/field/lexical/theme/EditorTheme.scss +0 -509
  2067. package/dist/field/lexical/ui/ContentEditable.d.ts +0 -6
  2068. package/dist/field/lexical/ui/ContentEditable.d.ts.map +0 -1
  2069. package/dist/field/lexical/ui/ContentEditable.js +0 -11
  2070. package/dist/field/lexical/ui/ContentEditable.js.map +0 -1
  2071. package/dist/field/lexical/ui/ContentEditable.scss +0 -25
  2072. package/dist/field/lexical/ui/icons/AI/index.d.ts.map +0 -1
  2073. package/dist/field/lexical/ui/icons/AI/index.js +0 -27
  2074. package/dist/field/lexical/ui/icons/AI/index.js.map +0 -1
  2075. package/dist/field/lexical/ui/icons/AlignCenter/index.d.ts.map +0 -1
  2076. package/dist/field/lexical/ui/icons/AlignCenter/index.js +0 -25
  2077. package/dist/field/lexical/ui/icons/AlignCenter/index.js.map +0 -1
  2078. package/dist/field/lexical/ui/icons/AlignJustify/index.d.ts.map +0 -1
  2079. package/dist/field/lexical/ui/icons/AlignJustify/index.js +0 -25
  2080. package/dist/field/lexical/ui/icons/AlignJustify/index.js.map +0 -1
  2081. package/dist/field/lexical/ui/icons/AlignLeft/index.d.ts.map +0 -1
  2082. package/dist/field/lexical/ui/icons/AlignLeft/index.js +0 -25
  2083. package/dist/field/lexical/ui/icons/AlignLeft/index.js.map +0 -1
  2084. package/dist/field/lexical/ui/icons/AlignRight/index.d.ts.map +0 -1
  2085. package/dist/field/lexical/ui/icons/AlignRight/index.js +0 -25
  2086. package/dist/field/lexical/ui/icons/AlignRight/index.js.map +0 -1
  2087. package/dist/field/lexical/ui/icons/Block/index.d.ts.map +0 -1
  2088. package/dist/field/lexical/ui/icons/Block/index.js +0 -34
  2089. package/dist/field/lexical/ui/icons/Block/index.js.map +0 -1
  2090. package/dist/field/lexical/ui/icons/Blockquote/index.d.ts.map +0 -1
  2091. package/dist/field/lexical/ui/icons/Blockquote/index.js +0 -16
  2092. package/dist/field/lexical/ui/icons/Blockquote/index.js.map +0 -1
  2093. package/dist/field/lexical/ui/icons/Bold/index.d.ts.map +0 -1
  2094. package/dist/field/lexical/ui/icons/Bold/index.js +0 -16
  2095. package/dist/field/lexical/ui/icons/Bold/index.js.map +0 -1
  2096. package/dist/field/lexical/ui/icons/Caret/index.svg +0 -3
  2097. package/dist/field/lexical/ui/icons/Checklist/index.d.ts.map +0 -1
  2098. package/dist/field/lexical/ui/icons/Checklist/index.js +0 -24
  2099. package/dist/field/lexical/ui/icons/Checklist/index.js.map +0 -1
  2100. package/dist/field/lexical/ui/icons/Code/index.d.ts.map +0 -1
  2101. package/dist/field/lexical/ui/icons/Code/index.js +0 -19
  2102. package/dist/field/lexical/ui/icons/Code/index.js.map +0 -1
  2103. package/dist/field/lexical/ui/icons/CodeBlock/index.d.ts.map +0 -1
  2104. package/dist/field/lexical/ui/icons/CodeBlock/index.js +0 -19
  2105. package/dist/field/lexical/ui/icons/CodeBlock/index.js.map +0 -1
  2106. package/dist/field/lexical/ui/icons/H1/index.d.ts.map +0 -1
  2107. package/dist/field/lexical/ui/icons/H1/index.js +0 -16
  2108. package/dist/field/lexical/ui/icons/H1/index.js.map +0 -1
  2109. package/dist/field/lexical/ui/icons/H2/index.d.ts.map +0 -1
  2110. package/dist/field/lexical/ui/icons/H2/index.js +0 -16
  2111. package/dist/field/lexical/ui/icons/H2/index.js.map +0 -1
  2112. package/dist/field/lexical/ui/icons/H3/index.d.ts.map +0 -1
  2113. package/dist/field/lexical/ui/icons/H3/index.js +0 -16
  2114. package/dist/field/lexical/ui/icons/H3/index.js.map +0 -1
  2115. package/dist/field/lexical/ui/icons/H4/index.d.ts.map +0 -1
  2116. package/dist/field/lexical/ui/icons/H4/index.js +0 -16
  2117. package/dist/field/lexical/ui/icons/H4/index.js.map +0 -1
  2118. package/dist/field/lexical/ui/icons/H5/index.d.ts.map +0 -1
  2119. package/dist/field/lexical/ui/icons/H5/index.js +0 -16
  2120. package/dist/field/lexical/ui/icons/H5/index.js.map +0 -1
  2121. package/dist/field/lexical/ui/icons/H6/index.d.ts.map +0 -1
  2122. package/dist/field/lexical/ui/icons/H6/index.js +0 -16
  2123. package/dist/field/lexical/ui/icons/H6/index.js.map +0 -1
  2124. package/dist/field/lexical/ui/icons/HorizontalRule/index.d.ts.map +0 -1
  2125. package/dist/field/lexical/ui/icons/HorizontalRule/index.js +0 -19
  2126. package/dist/field/lexical/ui/icons/HorizontalRule/index.js.map +0 -1
  2127. package/dist/field/lexical/ui/icons/IndentDecrease/index.d.ts.map +0 -1
  2128. package/dist/field/lexical/ui/icons/IndentDecrease/index.js +0 -28
  2129. package/dist/field/lexical/ui/icons/IndentDecrease/index.js.map +0 -1
  2130. package/dist/field/lexical/ui/icons/IndentIncrease/index.d.ts.map +0 -1
  2131. package/dist/field/lexical/ui/icons/IndentIncrease/index.js +0 -28
  2132. package/dist/field/lexical/ui/icons/IndentIncrease/index.js.map +0 -1
  2133. package/dist/field/lexical/ui/icons/Italic/index.d.ts.map +0 -1
  2134. package/dist/field/lexical/ui/icons/Italic/index.js +0 -16
  2135. package/dist/field/lexical/ui/icons/Italic/index.js.map +0 -1
  2136. package/dist/field/lexical/ui/icons/Link/index.d.ts.map +0 -1
  2137. package/dist/field/lexical/ui/icons/Link/index.js +0 -27
  2138. package/dist/field/lexical/ui/icons/Link/index.js.map +0 -1
  2139. package/dist/field/lexical/ui/icons/OrderedList/index.d.ts.map +0 -1
  2140. package/dist/field/lexical/ui/icons/OrderedList/index.js +0 -31
  2141. package/dist/field/lexical/ui/icons/OrderedList/index.js.map +0 -1
  2142. package/dist/field/lexical/ui/icons/Relationship/index.d.ts.map +0 -1
  2143. package/dist/field/lexical/ui/icons/Relationship/index.js +0 -27
  2144. package/dist/field/lexical/ui/icons/Relationship/index.js.map +0 -1
  2145. package/dist/field/lexical/ui/icons/Strikethrough/index.d.ts.map +0 -1
  2146. package/dist/field/lexical/ui/icons/Strikethrough/index.js +0 -19
  2147. package/dist/field/lexical/ui/icons/Strikethrough/index.js.map +0 -1
  2148. package/dist/field/lexical/ui/icons/Subscript/index.d.ts.map +0 -1
  2149. package/dist/field/lexical/ui/icons/Subscript/index.js +0 -16
  2150. package/dist/field/lexical/ui/icons/Subscript/index.js.map +0 -1
  2151. package/dist/field/lexical/ui/icons/Superscript/index.d.ts.map +0 -1
  2152. package/dist/field/lexical/ui/icons/Superscript/index.js +0 -16
  2153. package/dist/field/lexical/ui/icons/Superscript/index.js.map +0 -1
  2154. package/dist/field/lexical/ui/icons/Text/index.d.ts.map +0 -1
  2155. package/dist/field/lexical/ui/icons/Text/index.js +0 -16
  2156. package/dist/field/lexical/ui/icons/Text/index.js.map +0 -1
  2157. package/dist/field/lexical/ui/icons/Underline/index.d.ts.map +0 -1
  2158. package/dist/field/lexical/ui/icons/Underline/index.js +0 -19
  2159. package/dist/field/lexical/ui/icons/Underline/index.js.map +0 -1
  2160. package/dist/field/lexical/ui/icons/UnorderedList/index.d.ts.map +0 -1
  2161. package/dist/field/lexical/ui/icons/UnorderedList/index.js +0 -46
  2162. package/dist/field/lexical/ui/icons/UnorderedList/index.js.map +0 -1
  2163. package/dist/field/lexical/ui/icons/Upload/index.d.ts.map +0 -1
  2164. package/dist/field/lexical/ui/icons/Upload/index.js +0 -28
  2165. package/dist/field/lexical/ui/icons/Upload/index.js.map +0 -1
  2166. package/dist/field/lexical/utils/canUseDOM.d.ts.map +0 -1
  2167. package/dist/field/lexical/utils/canUseDOM.js +0 -3
  2168. package/dist/field/lexical/utils/canUseDOM.js.map +0 -1
  2169. package/dist/field/lexical/utils/cloneDeep.d.ts +0 -2
  2170. package/dist/field/lexical/utils/cloneDeep.d.ts.map +0 -1
  2171. package/dist/field/lexical/utils/cloneDeep.js +0 -50
  2172. package/dist/field/lexical/utils/cloneDeep.js.map +0 -1
  2173. package/dist/field/lexical/utils/environment.d.ts.map +0 -1
  2174. package/dist/field/lexical/utils/environment.js +0 -14
  2175. package/dist/field/lexical/utils/environment.js.map +0 -1
  2176. package/dist/field/lexical/utils/getDOMRangeRect.d.ts.map +0 -1
  2177. package/dist/field/lexical/utils/getDOMRangeRect.js +0 -16
  2178. package/dist/field/lexical/utils/getDOMRangeRect.js.map +0 -1
  2179. package/dist/field/lexical/utils/getSelectedNode.d.ts.map +0 -1
  2180. package/dist/field/lexical/utils/getSelectedNode.js +0 -18
  2181. package/dist/field/lexical/utils/getSelectedNode.js.map +0 -1
  2182. package/dist/field/lexical/utils/guard.d.ts.map +0 -1
  2183. package/dist/field/lexical/utils/guard.js +0 -5
  2184. package/dist/field/lexical/utils/guard.js.map +0 -1
  2185. package/dist/field/lexical/utils/invariant.d.ts +0 -2
  2186. package/dist/field/lexical/utils/invariant.d.ts.map +0 -1
  2187. package/dist/field/lexical/utils/invariant.js +0 -12
  2188. package/dist/field/lexical/utils/invariant.js.map +0 -1
  2189. package/dist/field/lexical/utils/joinClasses.d.ts.map +0 -1
  2190. package/dist/field/lexical/utils/joinClasses.js +0 -5
  2191. package/dist/field/lexical/utils/joinClasses.js.map +0 -1
  2192. package/dist/field/lexical/utils/markdown/createBlockNode.d.ts +0 -4
  2193. package/dist/field/lexical/utils/markdown/createBlockNode.d.ts.map +0 -1
  2194. package/dist/field/lexical/utils/markdown/createBlockNode.js +0 -12
  2195. package/dist/field/lexical/utils/markdown/createBlockNode.js.map +0 -1
  2196. package/dist/field/lexical/utils/nodeFormat.d.ts +0 -41
  2197. package/dist/field/lexical/utils/nodeFormat.d.ts.map +0 -1
  2198. package/dist/field/lexical/utils/nodeFormat.js +0 -88
  2199. package/dist/field/lexical/utils/nodeFormat.js.map +0 -1
  2200. package/dist/field/lexical/utils/point.d.ts.map +0 -1
  2201. package/dist/field/lexical/utils/point.js +0 -37
  2202. package/dist/field/lexical/utils/point.js.map +0 -1
  2203. package/dist/field/lexical/utils/rect.d.ts +0 -47
  2204. package/dist/field/lexical/utils/rect.d.ts.map +0 -1
  2205. package/dist/field/lexical/utils/rect.js +0 -138
  2206. package/dist/field/lexical/utils/rect.js.map +0 -1
  2207. package/dist/field/lexical/utils/setFloatingElemPosition.d.ts +0 -2
  2208. package/dist/field/lexical/utils/setFloatingElemPosition.d.ts.map +0 -1
  2209. package/dist/field/lexical/utils/setFloatingElemPosition.js +0 -53
  2210. package/dist/field/lexical/utils/setFloatingElemPosition.js.map +0 -1
  2211. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +0 -1
  2212. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.js +0 -27
  2213. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +0 -1
  2214. package/dist/field/lexical/utils/swipe.d.ts.map +0 -1
  2215. package/dist/field/lexical/utils/swipe.js +0 -100
  2216. package/dist/field/lexical/utils/swipe.js.map +0 -1
  2217. package/dist/field/lexical/utils/url.d.ts +0 -3
  2218. package/dist/field/lexical/utils/url.d.ts.map +0 -1
  2219. package/dist/field/lexical/utils/url.js +0 -25
  2220. package/dist/field/lexical/utils/url.js.map +0 -1
  2221. package/dist/generateComponentMap.d.ts +0 -6
  2222. package/dist/generateComponentMap.d.ts.map +0 -1
  2223. package/dist/generateComponentMap.js +0 -86
  2224. package/dist/generateComponentMap.js.map +0 -1
  2225. package/dist/generateSchemaMap.d.ts +0 -6
  2226. package/dist/generateSchemaMap.d.ts.map +0 -1
  2227. package/dist/generateSchemaMap.js +0 -31
  2228. package/dist/generateSchemaMap.js.map +0 -1
  2229. package/dist/populate/defaultValue.d.ts +0 -4
  2230. package/dist/populate/defaultValue.d.ts.map +0 -1
  2231. package/dist/populate/defaultValue.js +0 -50
  2232. package/dist/populate/defaultValue.js.map +0 -1
  2233. package/dist/populate/populate.d.ts +0 -21
  2234. package/dist/populate/populate.d.ts.map +0 -1
  2235. package/dist/populate/populate.js +0 -21
  2236. package/dist/populate/populate.js.map +0 -1
  2237. package/dist/populate/recurseNestedFields.d.ts +0 -25
  2238. package/dist/populate/recurseNestedFields.d.ts.map +0 -1
  2239. package/dist/populate/recurseNestedFields.js +0 -26
  2240. package/dist/populate/recurseNestedFields.js.map +0 -1
  2241. package/dist/populate/richTextRelationshipPromise.d.ts +0 -23
  2242. package/dist/populate/richTextRelationshipPromise.d.ts.map +0 -1
  2243. package/dist/populate/richTextRelationshipPromise.js +0 -68
  2244. package/dist/populate/richTextRelationshipPromise.js.map +0 -1
  2245. package/dist/scss/app.scss +0 -208
  2246. package/dist/scss/colors.scss +0 -269
  2247. package/dist/scss/queries.scss +0 -27
  2248. package/dist/scss/resets.scss +0 -17
  2249. package/dist/scss/styles.scss +0 -11
  2250. package/dist/scss/svg.scss +0 -10
  2251. package/dist/scss/toastify.scss +0 -58
  2252. package/dist/scss/type.scss +0 -117
  2253. package/dist/scss/vars.scss +0 -213
  2254. package/dist/scss/z-index.scss +0 -9
  2255. package/dist/useLexicalFeature.d.ts +0 -3
  2256. package/dist/useLexicalFeature.d.ts.map +0 -1
  2257. package/dist/useLexicalFeature.js +0 -9
  2258. package/dist/useLexicalFeature.js.map +0 -1
  2259. /package/dist/{field/features → features}/blockquote/markdownTransformer.d.ts +0 -0
  2260. /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.d.ts +0 -0
  2261. /package/dist/{field/features → features}/converters/html/converter/converters/paragraph.d.ts +0 -0
  2262. /package/dist/{field/features → features}/converters/html/converter/converters/text.d.ts +0 -0
  2263. /package/dist/{field/features → features}/converters/html/converter/defaultConverters.d.ts +0 -0
  2264. /package/dist/{field/features → features}/format/bold/markdownTransformers.d.ts +0 -0
  2265. /package/dist/{field/features/format/inlinecode → features/format/inlineCode}/markdownTransformers.d.ts +0 -0
  2266. /package/dist/{field/features → features}/format/italic/markdownTransformers.d.ts +0 -0
  2267. /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.d.ts +0 -0
  2268. /package/dist/{field/features → features}/heading/markdownTransformer.d.ts +0 -0
  2269. /package/dist/{field/features/horizontalrule → features/horizontalRule/client}/markdownTransformer.d.ts +0 -0
  2270. /package/dist/{field/features/link → features/link/client}/plugins/floatingLinkEditor/LinkEditor/commands.d.ts +0 -0
  2271. /package/dist/{field/features/link → features/link/client}/plugins/floatingLinkEditor/LinkEditor/index.d.ts +0 -0
  2272. /package/dist/{field/features → features}/link/nodes/AutoLinkNode.d.ts +0 -0
  2273. /package/dist/{field/features → features}/lists/checklist/markdownTransformers.d.ts +0 -0
  2274. /package/dist/{field/features/lists/orderedlist → features/lists/orderedList}/markdownTransformer.d.ts +0 -0
  2275. /package/dist/{field/features/lists/unorderedlist → features/lists/unorderedList}/markdownTransformer.d.ts +0 -0
  2276. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  2277. /package/dist/{field/features → features}/migrations/slateToLexical/converter/index.d.ts +0 -0
  2278. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  2279. /package/dist/{field/features/relationship → features/relationship/client}/drawer/commands.d.ts +0 -0
  2280. /package/dist/{field/features/relationship → features/relationship/client}/drawer/index.d.ts +0 -0
  2281. /package/dist/{field/features/relationship → features/relationship/client}/utils/EnabledRelationshipsCondition.d.ts +0 -0
  2282. /package/dist/{field/features/upload → features/upload/client}/drawer/commands.d.ts +0 -0
  2283. /package/dist/{field/features/upload → features/upload/client}/drawer/index.d.ts +0 -0
  2284. /package/dist/{field/lexical → lexical}/plugins/MarkdownShortcut/index.d.ts +0 -0
  2285. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.d.ts +0 -0
  2286. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts +0 -0
  2287. /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.d.ts +0 -0
  2288. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.d.ts +0 -0
  2289. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getTopLevelNodeKeys.d.ts +0 -0
  2290. /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.d.ts +0 -0
  2291. /package/dist/{field/lexical → lexical}/plugins/handles/utils/setHandlePosition.d.ts +0 -0
  2292. /package/dist/{field/lexical → lexical}/ui/icons/AI/index.d.ts +0 -0
  2293. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.svg +0 -0
  2294. /package/dist/{field/lexical → lexical}/ui/icons/AlignCenter/index.d.ts +0 -0
  2295. /package/dist/{field/lexical → lexical}/ui/icons/AlignJustify/index.d.ts +0 -0
  2296. /package/dist/{field/lexical → lexical}/ui/icons/AlignLeft/index.d.ts +0 -0
  2297. /package/dist/{field/lexical → lexical}/ui/icons/AlignRight/index.d.ts +0 -0
  2298. /package/dist/{field/lexical → lexical}/ui/icons/Block/index.d.ts +0 -0
  2299. /package/dist/{field/lexical → lexical}/ui/icons/Blockquote/index.d.ts +0 -0
  2300. /package/dist/{field/lexical → lexical}/ui/icons/Bold/index.d.ts +0 -0
  2301. /package/dist/{field/lexical → lexical}/ui/icons/Checklist/index.d.ts +0 -0
  2302. /package/dist/{field/lexical → lexical}/ui/icons/Code/index.d.ts +0 -0
  2303. /package/dist/{field/lexical → lexical}/ui/icons/CodeBlock/index.d.ts +0 -0
  2304. /package/dist/{field/lexical → lexical}/ui/icons/DraggableBlock/index.svg +0 -0
  2305. /package/dist/{field/lexical → lexical}/ui/icons/Edit/index.svg +0 -0
  2306. /package/dist/{field/lexical → lexical}/ui/icons/H1/index.d.ts +0 -0
  2307. /package/dist/{field/lexical → lexical}/ui/icons/H2/index.d.ts +0 -0
  2308. /package/dist/{field/lexical → lexical}/ui/icons/H3/index.d.ts +0 -0
  2309. /package/dist/{field/lexical → lexical}/ui/icons/H4/index.d.ts +0 -0
  2310. /package/dist/{field/lexical → lexical}/ui/icons/H5/index.d.ts +0 -0
  2311. /package/dist/{field/lexical → lexical}/ui/icons/H6/index.d.ts +0 -0
  2312. /package/dist/{field/lexical → lexical}/ui/icons/HorizontalRule/index.d.ts +0 -0
  2313. /package/dist/{field/lexical → lexical}/ui/icons/IndentDecrease/index.d.ts +0 -0
  2314. /package/dist/{field/lexical → lexical}/ui/icons/IndentIncrease/index.d.ts +0 -0
  2315. /package/dist/{field/lexical → lexical}/ui/icons/Italic/index.d.ts +0 -0
  2316. /package/dist/{field/lexical → lexical}/ui/icons/Link/index.d.ts +0 -0
  2317. /package/dist/{field/lexical → lexical}/ui/icons/OrderedList/index.d.ts +0 -0
  2318. /package/dist/{field/lexical → lexical}/ui/icons/Relationship/index.d.ts +0 -0
  2319. /package/dist/{field/lexical → lexical}/ui/icons/Remove/index.svg +0 -0
  2320. /package/dist/{field/lexical → lexical}/ui/icons/Strikethrough/index.d.ts +0 -0
  2321. /package/dist/{field/lexical → lexical}/ui/icons/Subscript/index.d.ts +0 -0
  2322. /package/dist/{field/lexical → lexical}/ui/icons/Superscript/index.d.ts +0 -0
  2323. /package/dist/{field/lexical → lexical}/ui/icons/Text/index.d.ts +0 -0
  2324. /package/dist/{field/lexical → lexical}/ui/icons/Underline/index.d.ts +0 -0
  2325. /package/dist/{field/lexical → lexical}/ui/icons/UnorderedList/index.d.ts +0 -0
  2326. /package/dist/{field/lexical → lexical}/ui/icons/Upload/index.d.ts +0 -0
  2327. /package/dist/{field/lexical → lexical}/utils/canUseDOM.d.ts +0 -0
  2328. /package/dist/{field/lexical → lexical}/utils/environment.d.ts +0 -0
  2329. /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.d.ts +0 -0
  2330. /package/dist/{field/lexical → lexical}/utils/getSelectedNode.d.ts +0 -0
  2331. /package/dist/{field/lexical → lexical}/utils/guard.d.ts +0 -0
  2332. /package/dist/{field/lexical → lexical}/utils/joinClasses.d.ts +0 -0
  2333. /package/dist/{field/lexical → lexical}/utils/point.d.ts +0 -0
  2334. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.d.ts +0 -0
  2335. /package/dist/{field/lexical → lexical}/utils/swipe.d.ts +0 -0
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2018-2022 Payload CMS, LLC <info@payloadcms.com>
3
+ Copyright (c) 2018-2024 Payload CMS, Inc. <info@payloadcms.com>
4
4
  Portions Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
package/README.md CHANGED
@@ -14,7 +14,7 @@ npm install @payloadcms/richtext-lexical
14
14
  ## Usage
15
15
 
16
16
  ```ts
17
- import { buildConfig } from 'payload/config'
17
+ import { buildConfig } from 'payload'
18
18
  import { lexicalEditor } from '@payloadcms/richtext-lexical'
19
19
 
20
20
  export default buildConfig({
@@ -0,0 +1,12 @@
1
+ import type { Payload } from 'payload';
2
+ import { type I18nClient } from '@payloadcms/translations';
3
+ import React from 'react';
4
+ import type { SanitizedServerEditorConfig } from '../lexical/config/types.js';
5
+ import type { LexicalFieldAdminProps, LexicalRichTextCellProps } from '../types.js';
6
+ export declare const RscEntryLexicalCell: React.FC<{
7
+ admin: LexicalFieldAdminProps;
8
+ i18n: I18nClient;
9
+ payload: Payload;
10
+ sanitizedEditorConfig: SanitizedServerEditorConfig;
11
+ } & LexicalRichTextCellProps>;
12
+ //# sourceMappingURL=rscEntry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rscEntry.d.ts","sourceRoot":"","sources":["../../src/cell/rscEntry.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,EAAkB,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAG1E,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAA;AAC7E,OAAO,KAAK,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAA;AAyBnF,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CACxC;IACE,KAAK,EAAE,sBAAsB,CAAA;IAC7B,IAAI,EAAE,UAAU,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,qBAAqB,EAAE,2BAA2B,CAAA;CACnD,GAAG,wBAAwB,CA4E7B,CAAA"}
@@ -0,0 +1,82 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { getTranslation } from '@payloadcms/translations';
3
+ import { formatAdminURL } from '@payloadcms/ui/shared';
4
+ import LinkImport from 'next/link.js';
5
+ import React from 'react';
6
+ const Link = LinkImport.default || LinkImport;
7
+ function recurseEditorState(editorState, textContent, i = 0) {
8
+ for (const node of editorState) {
9
+ i++;
10
+ if ('text' in node && node.text) {
11
+ textContent.push(node.text);
12
+ } else {
13
+ if (!('children' in node)) {
14
+ textContent.push(/*#__PURE__*/_jsxs("code", {
15
+ children: [" [", node.type, "]"]
16
+ }, i));
17
+ }
18
+ }
19
+ if ('children' in node && node.children) {
20
+ textContent = recurseEditorState(node.children, textContent, i);
21
+ }
22
+ }
23
+ return textContent;
24
+ }
25
+ export const RscEntryLexicalCell = props => {
26
+ const {
27
+ cellData,
28
+ className: classNameFromProps,
29
+ collectionConfig,
30
+ field: {
31
+ admin
32
+ },
33
+ field,
34
+ i18n,
35
+ link,
36
+ onClick: onClickFromProps,
37
+ payload,
38
+ rowData,
39
+ sanitizedEditorConfig
40
+ } = props;
41
+ const classNameFromConfigContext = admin && 'className' in admin ? admin.className : undefined;
42
+ const className = classNameFromProps || (field.admin && 'className' in field.admin ? field.admin.className : null) || classNameFromConfigContext;
43
+ const adminRoute = payload.config.routes.admin;
44
+ const onClick = onClickFromProps;
45
+ let WrapElement = 'span';
46
+ const wrapElementProps = {
47
+ className
48
+ };
49
+ if (link) {
50
+ wrapElementProps.prefetch = false;
51
+ WrapElement = Link;
52
+ wrapElementProps.href = collectionConfig?.slug ? formatAdminURL({
53
+ adminRoute,
54
+ path: `/collections/${collectionConfig?.slug}/${rowData.id}`
55
+ }) : '';
56
+ }
57
+ if (typeof onClick === 'function') {
58
+ WrapElement = 'button';
59
+ wrapElementProps.type = 'button';
60
+ wrapElementProps.onClick = () => {
61
+ onClick({
62
+ cellData,
63
+ collectionSlug: collectionConfig?.slug,
64
+ rowData
65
+ });
66
+ };
67
+ }
68
+ let textContent = [];
69
+ if (cellData?.root?.children) {
70
+ textContent = recurseEditorState(cellData?.root?.children, textContent);
71
+ }
72
+ if (!textContent?.length) {
73
+ textContent = [i18n.t('general:noLabel', {
74
+ label: getTranslation(('label' in field ? field.label : null) || 'data', i18n)
75
+ })];
76
+ }
77
+ return /*#__PURE__*/_jsx(WrapElement, {
78
+ ...wrapElementProps,
79
+ children: textContent
80
+ });
81
+ };
82
+ //# sourceMappingURL=rscEntry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rscEntry.js","names":["getTranslation","formatAdminURL","LinkImport","React","Link","default","recurseEditorState","editorState","textContent","i","node","text","push","_jsxs","type","children","RscEntryLexicalCell","props","cellData","className","classNameFromProps","collectionConfig","field","admin","i18n","link","onClick","onClickFromProps","payload","rowData","sanitizedEditorConfig","classNameFromConfigContext","undefined","adminRoute","config","routes","WrapElement","wrapElementProps","prefetch","href","slug","path","id","collectionSlug","root","length","t","label","_jsx"],"sources":["../../src/cell/rscEntry.tsx"],"sourcesContent":["import type { SerializedLexicalNode } from 'lexical'\nimport type { Payload } from 'payload'\n\nimport { getTranslation, type I18nClient } from '@payloadcms/translations'\nimport { formatAdminURL } from '@payloadcms/ui/shared'\nimport LinkImport from 'next/link.js'\nimport React from 'react'\n\nimport type { SanitizedServerEditorConfig } from '../lexical/config/types.js'\nimport type { LexicalFieldAdminProps, LexicalRichTextCellProps } from '../types.js'\n\nconst Link = (LinkImport.default || LinkImport) as unknown as typeof LinkImport.default\n\nfunction recurseEditorState(\n editorState: SerializedLexicalNode[],\n textContent: React.ReactNode[],\n i: number = 0,\n): React.ReactNode[] {\n for (const node of editorState) {\n i++\n if ('text' in node && node.text) {\n textContent.push(node.text as string)\n } else {\n if (!('children' in node)) {\n textContent.push(<code key={i}>&#32;[{node.type}]</code>)\n }\n }\n if ('children' in node && node.children) {\n textContent = recurseEditorState(node.children as SerializedLexicalNode[], textContent, i)\n }\n }\n return textContent\n}\n\nexport const RscEntryLexicalCell: React.FC<\n {\n admin: LexicalFieldAdminProps\n i18n: I18nClient\n payload: Payload\n sanitizedEditorConfig: SanitizedServerEditorConfig\n } & LexicalRichTextCellProps\n> = (props) => {\n const {\n cellData,\n className: classNameFromProps,\n collectionConfig,\n field: { admin },\n field,\n i18n,\n link,\n onClick: onClickFromProps,\n payload,\n rowData,\n sanitizedEditorConfig,\n } = props\n\n const classNameFromConfigContext = admin && 'className' in admin ? admin.className : undefined\n\n const className =\n classNameFromProps ||\n (field.admin && 'className' in field.admin ? field.admin.className : null) ||\n classNameFromConfigContext\n const adminRoute = payload.config.routes.admin\n\n const onClick = onClickFromProps\n\n let WrapElement: React.ComponentType<any> | string = 'span'\n\n const wrapElementProps: {\n className?: string\n href?: string\n onClick?: () => void\n prefetch?: false\n type?: 'button'\n } = {\n className,\n }\n\n if (link) {\n wrapElementProps.prefetch = false\n WrapElement = Link\n wrapElementProps.href = collectionConfig?.slug\n ? formatAdminURL({\n adminRoute,\n path: `/collections/${collectionConfig?.slug}/${rowData.id}`,\n })\n : ''\n }\n\n if (typeof onClick === 'function') {\n WrapElement = 'button'\n wrapElementProps.type = 'button'\n wrapElementProps.onClick = () => {\n onClick({\n cellData,\n collectionSlug: collectionConfig?.slug,\n rowData,\n })\n }\n }\n\n let textContent: React.ReactNode[] = []\n\n if (cellData?.root?.children) {\n textContent = recurseEditorState(cellData?.root?.children, textContent)\n }\n\n if (!textContent?.length) {\n textContent = [\n i18n.t('general:noLabel', {\n label: getTranslation(('label' in field ? field.label : null) || 'data', i18n),\n }),\n ]\n }\n\n return <WrapElement {...wrapElementProps}>{textContent}</WrapElement>\n}\n"],"mappings":";AAGA,SAASA,cAAc,QAAyB;AAChD,SAASC,cAAc,QAAQ;AAC/B,OAAOC,UAAA,MAAgB;AACvB,OAAOC,KAAA,MAAW;AAKlB,MAAMC,IAAA,GAAQF,UAAA,CAAWG,OAAO,IAAIH,UAAA;AAEpC,SAASI,mBACPC,WAAoC,EACpCC,WAA8B,EAC9BC,CAAA,GAAY,CAAC;EAEb,KAAK,MAAMC,IAAA,IAAQH,WAAA,EAAa;IAC9BE,CAAA;IACA,IAAI,UAAUC,IAAA,IAAQA,IAAA,CAAKC,IAAI,EAAE;MAC/BH,WAAA,CAAYI,IAAI,CAACF,IAAA,C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,EAAM,gBAAgBpB,gBAAA,EAAkBmB,IAAA,IAAQX,OAAA,CAAQa,EAAE;IAC5D,KACA;EACN;EAEA,IAAI,OAAOhB,OAAA,KAAY,YAAY;IACjCU,WAAA,GAAc;IACdC,gBAAA,CAAiBvB,IAAI,GAAG;IACxBuB,gBAAA,CAAiBX,OAAO,GAAG;MACzBA,OAAA,CAAQ;QACNR,QAAA;QACAyB,cAAA,EAAgBtB,gBAAA,EAAkBmB,IAAA;QAClCX;MACF;IACF;EACF;EAEA,IAAIrB,WAAA,GAAiC,EAAE;EAEvC,IAAIU,QAAA,EAAU0B,IAAA,EAAM7B,QAAA,EAAU;IAC5BP,WAAA,GAAcF,kBAAA,CAAmBY,QAAA,EAAU0B,IAAA,EAAM7B,QAAA,EAAUP,WAAA;EAC7D;EAEA,IAAI,CAACA,WAAA,EAAaqC,MAAA,EAAQ;IACxBrC,WAAA,GAAc,CACZgB,IAAA,CAAKsB,CAAC,CAAC,mBAAmB;MACxBC,KAAA,EAAO/C,cAAA,CAAe,CAAC,WAAWsB,KAAA,GAAQA,KAAA,CAAMyB,KAAK,GAAG,IAAG,KAAM,QAAQvB,IAAA;IAC3E,GACD;EACH;EAEA,oBAAOwB,IAAA,CAACZ,WAAA;IAAa,GAAGC,gBAAgB;cAAG7B;;AAC7C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ "use client";import{jsx as o,jsxs as t}from"react/jsx-runtime";import"react";var c=n=>{let{data:e}=n;return t("div",{children:["Unknown converted Slate node: ",o("strong",{children:e?.nodeType})]})};export{c as UnknownConvertedNodeComponent};
2
+ //# sourceMappingURL=Component-DOSSWC76.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.tsx"],
4
+ "sourcesContent": ["'use client'\nimport React from 'react'\n\nimport type { UnknownConvertedNodeData } from './index.js'\n\nimport './index.scss'\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": "+DACA,MAAkB,QAUX,IAAMA,EAAkDC,GAAA,CAC7D,GAAM,CAAEC,KAAAA,CAAI,EAAKD,EAEjB,OACEE,EAAC,MAAA,WAAI,iCAC2BC,EAAC,SAAA,UAAQF,GAAMG,aAGnD",
6
+ "names": ["UnknownConvertedNodeComponent", "props", "data", "_jsxs", "_jsx", "nodeType"]
7
+ }
@@ -0,0 +1,2 @@
1
+ "use client";import{jsx as e,jsxs as t}from"react/jsx-runtime";import"react";var a=n=>{let{data:o}=n;return t("div",{children:["Unknown converted payload-plugin-lexical node: ",e("strong",{children:o?.nodeType})]})};export{a as UnknownConvertedNodeComponent};
2
+ //# sourceMappingURL=Component-MBLHTKDK.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.tsx"],
4
+ "sourcesContent": ["'use client'\nimport React from 'react'\n\nimport type { UnknownConvertedNodeData } from './index.js'\n\nimport './index.scss'\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": "+DACA,MAAkB,QAUX,IAAMA,EAAkDC,GAAA,CAC7D,GAAM,CAAEC,KAAAA,CAAI,EAAKD,EAEjB,OACEE,EAAC,MAAA,WAAI,kDAC4CC,EAAC,SAAA,UAAQF,GAAMG,aAGpE",
6
+ "names": ["UnknownConvertedNodeComponent", "props", "data", "_jsxs", "_jsx", "nodeType"]
7
+ }
@@ -0,0 +1,2 @@
1
+ "use client";import{b as H,c as M,e as ue,f as fe,g as pe,h as ge,i as he}from"./chunk-OOBB5GCO.js";import{a as de,b as R}from"./chunk-CUIBIFW2.js";import{jsx as le,jsxs as se}from"react/jsx-runtime";import{FieldLabel as Wt,useEditDepth as Yt,useField as Ut,withCondition as Vt}from"@payloadcms/ui";import{useCallback as qt}from"react";import{ErrorBoundary as Jt}from"react-error-boundary";import{jsx as B}from"react/jsx-runtime";import{LexicalComposer as Gt}from"@lexical/react/LexicalComposer.js";import*as Ue from"react";import{useMemo as Ye}from"react";import{c as It}from"react/compiler-runtime";import{jsx as w,jsxs as q}from"react/jsx-runtime";import{useLexicalComposerContext as Mt}from"@lexical/react/LexicalComposerContext.js";import{LexicalErrorBoundary as Bt}from"@lexical/react/LexicalErrorBoundary.js";import{HistoryPlugin as Lt}from"@lexical/react/LexicalHistoryPlugin.js";import{OnChangePlugin as At}from"@lexical/react/LexicalOnChangePlugin.js";import{RichTextPlugin as Dt}from"@lexical/react/LexicalRichTextPlugin.js";import{TabIndentationPlugin as Ft}from"@lexical/react/LexicalTabIndentationPlugin.js";import{BLUR_COMMAND as Ot,COMMAND_PRIORITY_LOW as ze,FOCUS_COMMAND as _t}from"lexical";import*as W from"react";import{useEffect as Ke,useState as Ge}from"react";import{jsx as ye}from"react/jsx-runtime";import"react";var O=({anchorElem:t,clientProps:e,plugin:o})=>o.position==="floatingAnchorElem"&&t?o.Component&&ye(o.Component,{anchorElem:t,clientProps:e}):o.Component&&ye(o.Component,{clientProps:e});import{jsx as ae}from"react/jsx-runtime";import{useLexicalComposerContext as ot}from"@lexical/react/LexicalComposerContext.js";import{$createParagraphNode as nt}from"lexical";import*as Ce from"react";import{useCallback as rt,useEffect as be,useRef as it,useState as st}from"react";import{createPortal as lt}from"react-dom";var j=(t,e,o,s,r=50,m=25)=>{let d=0;if(t&&!t.contains(s)){let{bottom:c,left:u,right:f,top:h}=t.getBoundingClientRect(),l=h+window.scrollY,n=c+window.scrollY;if(o<l-m||o>n+m||e<u-r||e>f+r)return-1;(e<u||e>f)&&(d=e<u?e-u:e-f)}return d};import{$getNodeByKey as Z}from"lexical";function z(t){let e=t.getBoundingClientRect(),o=getComputedStyle(t).getPropertyValue("transform");if(!o||o==="none")return e;let s=o.split(",").pop();return e.y=e.y-Number(s?.replace(")","")),e}function X(t){let e=(u,f)=>u?parseFloat(window.getComputedStyle(u)[f]):0,{marginBottom:o,marginTop:s}=window.getComputedStyle(t),r=e(t.previousElementSibling,"marginBottom"),m=e(t.nextElementSibling,"marginTop"),d=Math.max(parseFloat(s),r);return{marginBottom:Math.max(parseFloat(o),m),marginTop:d}}import{$getRoot as Qe}from"lexical";function _(t){return t.getEditorState().read(()=>Qe().getChildrenKeys())}var Xe=1,Ze=-1,xe=0,v={props:null,result:null};function et(t,e,o=20){let s=t.x-e.x,r=t.y-e.y;return s*s+r*r<=o*o}function K(t){let{anchorElem:e,cache_threshold:o=20,editor:s,fuzzy:r=!1,horizontalOffset:m=0,point:{x:d,y:c},startIndex:u=0,useEdgeAsDefault:f=!1}=t;if(o>0&&v.props&&v.result&&v.props.fuzzy===t.fuzzy&&v.props.horizontalOffset===t.horizontalOffset&&v.props.useEdgeAsDefault===t.useEdgeAsDefault&&et(v.props.point,t.point,o))return v.result;let h=e.getBoundingClientRect(),l=_(s),n={blockElem:null,blockNode:null,distance:1/0,foundAtIndex:-1,isFoundNodeEmptyParagraph:!1};return s.getEditorState().read(()=>{if(f){let[y,a]=[s.getElementByKey(l[0]),s.getElementByKey(l[l.length-1])];if(y&&a){let[g,i]=[z(y),z(a)];if(c<g.top?(n.blockElem=y,n.distance=g.top-c,n.blockNode=Z(l[0]),n.foundAtIndex=0):c>i.bottom&&(n.distance=c-i.bottom,n.blockNode=Z(l[l.length-1]),n.blockElem=a,n.foundAtIndex=l.length-1),n?.blockElem)return{blockElem:null,isFoundNodeEmptyParagraph:!1}}}let p=u,x=xe;for(;p>=0&&p<l.length;){let y=l[p],a=s.getElementByKey(y);if(a===null)break;let g=new M(d+m,c),i=ge.fromDOMRect(z(a)),{marginBottom:E,marginTop:b}=X(a),N=i.generateNewRect({bottom:i.bottom+E,left:h.left,right:h.right,top:i.top-b}),{distance:C,isOnBottomSide:T,isOnTopSide:P}=N.distanceFromPoint(g);if(C===0){n.blockElem=a,n.blockNode=Z(y),n.foundAtIndex=p,n.distance=C,n.blockNode&&n.blockNode.getType()==="paragraph"&&n.blockNode.getTextContent()===""&&(!r&&!t.returnEmptyParagraphs&&(n.blockElem=null,n.blockNode=null),n.isFoundNodeEmptyParagraph=!0);break}else r&&C<n.distance&&(n.blockElem=a,n.blockNode=Z(y),n.distance=C,n.foundAtIndex=p);x===xe&&(P?x=Ze:T?x=Xe:x=1/0),p+=x}}),v.props=t,v.result={blockElem:n.blockElem,blockNode:n.blockNode,foundAtIndex:n.foundAtIndex,isFoundNodeEmptyParagraph:n.isFoundNodeEmptyParagraph},{blockElem:n.blockElem,blockNode:n.blockNode,foundAtIndex:n.foundAtIndex,isFoundNodeEmptyParagraph:n.isFoundNodeEmptyParagraph}}function ee(t,e){return!!t.closest(`.${e}`)}var tt=["IMG","INPUT","TEXTAREA","SELECT","BUTTON","VIDEO","OBJECT","EMBED","IFRAME","HR"];function Ee(t){if(!t||tt.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 te(t,e,o,s=0){if(!t){e.style.opacity="0",e.style.transform="translate(-10000px, -10000px)";return}let r=t.getBoundingClientRect(),m=window.getComputedStyle(t),d=e.getBoundingClientRect(),c=o.getBoundingClientRect(),u;if(["lexical-block","lexical-upload","lexical-relationship"].some(l=>t.firstElementChild?.classList.contains(l)))u=r.top+8-c.top;else{let l=Ee(t)?parseInt(m.lineHeight,10):0;u=r.top+(l-d.height)/2-c.top}let h=s;e.style.opacity="1",e.style.transform=`translate(${h}px, ${u}px)`}var at="add-block-menu",oe=1/0;function ct(t){return t===0?1/0:oe>=0&&oe<t?oe:Math.floor(t/2)}function mt(t,e,o){let s=e.parentElement,{editorConfig:r}=R(),m=r?.admin?.hideGutter?-24:12,d=it(null),[c,u]=st(null);be(()=>{function h(l){let n=l.target;if(!H(n))return;let p=j(s,l.pageX,l.pageY,n);if(p===-1){u(null);return}if(ee(n,at))return;let x=_(t),{blockElem:y,blockNode:a,foundAtIndex:g}=K({anchorElem:e,cache_threshold:0,editor:t,horizontalOffset:-p,point:new M(l.x,l.y),returnEmptyParagraphs:!0,startIndex:ct(x.length),useEdgeAsDefault:!1});oe=g,y&&a&&(c?.node!==a||c?.elem!==y)&&u({elem:y,node:a})}return document?.addEventListener("mousemove",h),()=>{document?.removeEventListener("mousemove",h)}},[s,e,t,c]),be(()=>{d.current&&c?.node&&te(c?.elem,d.current,e,m)},[e,c,m]);let f=rt(h=>{let l=c;l?.node&&(t.update(()=>{let n=!0;if((l?.node.getType()!=="paragraph"||l.node.getTextContent()!=="")&&(n=!1),!n){let p=nt();l?.node.insertAfter(p),setTimeout(()=>{l={elem:t.getElementByKey(p.getKey()),node:p},u(l)},0)}}),setTimeout(()=>{t.update(()=>{t.focus(),l?.node&&"select"in l.node&&typeof l.node.select=="function"&&l.node.select()})},1),setTimeout(()=>{t.dispatchCommand(fe,{node:l?.node})},2),h.stopPropagation(),h.preventDefault())},[t,c]);return lt(ae(Ce.Fragment,{children:ae("button",{className:"icon add-block-menu",onClick:h=>{f(h)},ref:d,type:"button",children:ae("div",{className:o?"icon":""})})}),e)}function Ne(t){let{anchorElem:e}=t,o=e===void 0?document.body:e,[s]=ot();return mt(s,o,s._editable)}import{jsx as ne,jsxs as ut}from"react/jsx-runtime";import{useLexicalComposerContext as ft}from"@lexical/react/LexicalComposerContext.js";import{eventFiles as ke}from"@lexical/rich-text";import{$getNearestNodeFromDOMNode as Re,$getNodeByKey as pt}from"lexical";import*as Me from"react";import{useEffect as ce,useRef as re,useState as Te}from"react";import{createPortal as gt}from"react-dom";var Pe=0,dt=-24;var $=0;function we(t,e,o,s,r,m,d,c,u,f=!1){let{height:h,top:l}=s.getBoundingClientRect(),{top:n,width:p}=d.getBoundingClientRect(),{marginBottom:x,marginTop:y}=X(s),a=l,g=m>=l+h/2+window.scrollY,i=!1;if(r?.elem)if(s!==r?.elem)(g&&r?.elem&&r?.elem===s.nextElementSibling||!g&&r?.elem&&r?.elem===s.previousElementSibling)&&($++,$<200&&(i=!0));else{$++;let C=r?.boundingBox?.y,T=s.getBoundingClientRect().y;(g===r?.isBelow&&C===T||$<200)&&(i=!1)}if(i)return{isBelow:g,willStayInSamePosition:i};f?a+=h/2:g?a+=h+x/2:a-=y/2;let E=0;f||(g?E=-Pe:E=Pe);let b=a-n+E,N=dt-e;return o.style.width=`calc(${p}px - ${t})`,o.style.opacity=".8",o.style.transform=`translate(${N}px, calc(${b}px - 2px))`,r?.elem&&(r.elem.style.opacity="",r?.elem===s?g?r.elem.style.marginTop="":r.elem.style.marginBottom="":(r.elem.style.marginBottom="",r.elem.style.marginTop="")),$=0,{isBelow:g,willStayInSamePosition:i}}var ht="draggable-block-menu",Se="application/x-lexical-drag-block",V=1/0;function ve(t){return t===0?1/0:V>=0&&V<t?V:Math.floor(t/2)}function yt(t,e){let{transform:o}=e.style;t.setDragImage(e,0,0),setTimeout(()=>{e.style.transform=o})}function Ie(t,e){t&&(t.style.opacity="0"),e&&(e.style.opacity="",e.style.marginBottom="",e.style.marginTop="")}function xt(t,e,o){let s=e.parentElement,r=re(null),m=re(null),d=re(null),c=re(!1),[u,f]=Te(null),[h,l]=Te(null),{editorConfig:n}=R(),p=n?.admin?.hideGutter?-44:-8;ce(()=>{function a(g){let i=g.target;if(!H(i))return;let E=j(s,g.pageX,g.pageY,i);if(E===-1){f(null);return}if(ee(i,ht))return;let b=_(t),{blockElem:N,foundAtIndex:C,isFoundNodeEmptyParagraph:T}=K({anchorElem:e,cache_threshold:0,editor:t,horizontalOffset:-E,point:new M(g.x,g.y),startIndex:ve(b.length),useEdgeAsDefault:!1,verbose:!1});V=C,!(!N&&!T)&&u!==N&&f(N)}return document?.addEventListener("mousemove",a),()=>{document?.removeEventListener("mousemove",a)}},[s,e,t,u]),ce(()=>{r.current&&te(u,r.current,e,p)},[e,u,p]),ce(()=>{function a(i){if(!c.current)return!1;let[E]=ke(i);if(E)return!1;let{pageY:b,target:N}=i;if(!H(N))return!1;let C=j(s,i.pageX,i.pageY,N,100,50),T=_(t),{blockElem:P,foundAtIndex:Y,isFoundNodeEmptyParagraph:L}=K({anchorElem:e,editor:t,fuzzy:!0,horizontalOffset:-C,point:new M(i.x,i.y),startIndex:ve(T.length),useEdgeAsDefault:!0,verbose:!0});V=Y;let A=m.current;if(P===null||A===null)return!1;if(u!==P){let{isBelow:S,willStayInSamePosition:U}=we(n?.admin?.hideGutter?"0px":"3rem",p+(n?.admin?.hideGutter?r?.current?.getBoundingClientRect()?.width??0:-(r?.current?.getBoundingClientRect()?.width??0)),A,P,h,b,e,i,d,L);i.preventDefault(),U||l({boundingBox:P.getBoundingClientRect(),elem:P,isBelow:S})}else h?.elem&&(Ie(A,h.elem),l({boundingBox:P.getBoundingClientRect(),elem:P,isBelow:!1}));return!0}function g(i){if(!c.current)return!1;let[E]=ke(i);if(E)return!1;let{dataTransfer:b,pageY:N,target:C}=i,T=b?.getData(Se)||"";return t.update(()=>{let P=pt(T);if(!P||!H(C))return!1;let Y=j(s,i.pageX,i.pageY,C,100,50),{blockElem:L,isFoundNodeEmptyParagraph:A}=K({anchorElem:e,editor:t,fuzzy:!0,horizontalOffset:-Y,point:new M(i.x,i.y),useEdgeAsDefault:!0});if(!L)return!1;let S=Re(L);if(!S)return!1;if(S===P)return!0;let{height:U,top:J}=z(L),D=N>=J+U/2+window.scrollY;A?(S.insertBefore(P),S.remove()):D?S.insertAfter(P):S.insertBefore(P),u!==null&&f(null),document.querySelectorAll(".lexical-block-highlighter").forEach(F=>{F.remove()});let Je=t.getElementByKey(P.getKey());setTimeout(()=>{let F=Je?.getBoundingClientRect();if(!F)return;let k=document.createElement("div");k.className="lexical-block-highlighter",k.style.backgroundColor="var(--theme-elevation-1000",k.style.transition="opacity 0.5s ease-in-out",k.style.zIndex="1",k.style.pointerEvents="none",k.style.boxSizing="border-box",k.style.borderRadius="4px",k.style.position="absolute",document.body.appendChild(k),k.style.opacity="0.1",k.style.height=`${F.height+8}px`,k.style.width=`${F.width+8}px`,k.style.top=`${F.top+window.scrollY-4}px`,k.style.left=`${F.left-4}px`,setTimeout(()=>{k.style.opacity="0",setTimeout(()=>{k.remove()},500)},1e3)},120)}),!0}return document.addEventListener("dragover",a),document.addEventListener("drop",g),()=>{document.removeEventListener("dragover",a),document.removeEventListener("drop",g)}},[s,p,e,t,h,u,n?.admin?.hideGutter]);function x(a){let g=a.dataTransfer;if(!g||!u)return;yt(g,u);let i="";t.update(()=>{let E=Re(u);E&&(i=E.getKey())}),c.current=!0,g.setData(Se,i)}function y(){c.current=!1,h?.elem&&Ie(m.current,h?.elem)}return gt(ut(Me.Fragment,{children:[ne("div",{className:"icon draggable-block-menu",draggable:!0,onDragEnd:y,onDragStart:x,ref:r,children:ne("div",{className:o?"icon":""})}),ne("div",{className:"draggable-block-target-line",ref:m}),ne("div",{className:"debug-highlight",ref:d})]}),e)}function Be(t){let{anchorElem:e}=t,o=e===void 0?document.body:e,[s]=ft();return xt(s,o,s._editable)}import{c as Et}from"react/compiler-runtime";import{jsx as bt}from"react/jsx-runtime";import{MarkdownShortcutPlugin as Ct}from"@lexical/react/LexicalMarkdownShortcutPlugin.js";import"react";var Le=()=>{let t=Et(2),{editorConfig:e}=R(),o;return t[0]!==e.features.markdownTransformers?(o=bt(Ct,{transformers:e.features.markdownTransformers}),t[0]=e.features.markdownTransformers,t[1]=o):o=t[1],o};import{jsx as G,jsxs as Fe}from"react/jsx-runtime";import{useLexicalComposerContext as Pt}from"@lexical/react/LexicalComposerContext.js";import{useTranslation as Oe}from"@payloadcms/ui";import{useCallback as De,useMemo as wt,useState as kt}from"react";import"react";import*as _e from"react-dom";import{c as Nt}from"react/compiler-runtime";import"react";function Ae(t,e){let o=Nt(4),{maxLength:s,minLength:r}=e,m=s===void 0?75:s,d=r===void 0?1:r,c;return o[0]!==t||o[1]!==m||o[2]!==d?(c=u=>{let{query:f}=u,h="[^"+t+ue+"\\s]",n=new RegExp("(^|\\s|\\()(["+t+"]((?:"+h+"){0,"+m+"}))$").exec(f);if(n!==null){let p=n[1],x=n[3];if(x.length>=d)return{leadOffset:n.index+p.length,matchingString:x,replaceableString:n[2]}}return null},o[0]=t,o[1]=m,o[2]=d,o[3]=c):c=o[3],c}var I="slash-menu-popup";function Rt({isSelected:t,item:e,onClick:o,onMouseEnter:s}){let{fieldProps:{featureClientSchemaMap:r,schemaPath:m}}=R(),{i18n:d}=Oe(),c=`${I}__item ${I}__item-${e.key}`;t&&(c+=` ${I}__item--selected`);let u=e.key;return e.label&&(u=typeof e.label=="function"?e.label({featureClientSchemaMap:r,i18n:d,schemaPath:m}):e.label),u.length>25&&(u=u.substring(0,25)+"..."),Fe("button",{"aria-selected":t,className:c,id:I+"__item-"+e.key,onClick:o,onMouseEnter:s,ref:f=>{e.ref={current:f}},role:"option",tabIndex:-1,type:"button",children:[e?.Icon&&G(e.Icon,{}),G("span",{className:`${I}__item-text`,children:u})]},e.key)}function $e({anchorElem:t=document.body}){let[e]=Pt(),[o,s]=kt(null),{editorConfig:r}=R(),{i18n:m}=Oe(),{fieldProps:{featureClientSchemaMap:d,schemaPath:c}}=R(),u=Ae("/",{minLength:0}),f=De(()=>{let n=[];for(let p of r.features.slashMenu.dynamicGroups)if(o){let x=p({editor:e,queryString:o});n=n.concat(x)}return n},[e,o,r?.features]),h=wt(()=>{let n=[];for(let p of r?.features.slashMenu.groups??[])n.push(p);if(o){n=n.map(x=>{let y=x.items.filter(a=>{let g=a.key;return a.label&&(g=typeof a.label=="function"?a.label({featureClientSchemaMap:d,i18n:m,schemaPath:c}):a.label),new RegExp(o,"gi").exec(g)?!0:a.keywords!=null?a.keywords.some(i=>new RegExp(o,"gi").exec(i)):!1});return y.length?{...x,items:y}:null}),n=n.filter(x=>x!=null);let p=f();for(let x of p){let y=n.find(a=>a.key===x.key);y?n=n.filter(a=>a.key!==x.key):y={...x,items:[]},y?.items?.length&&(y.items=y.items.concat(y.items)),n.push(y)}}return n},[o,r?.features.slashMenu.groups,f,d,m,c]),l=De((n,p,x)=>{p(),n.onSelect({editor:e,queryString:x})},[e]);return G(pe,{anchorElem:t,groups:h,menuRenderFn:(n,{selectedItemKey:p,selectItemAndCleanUp:x,setSelectedItemKey:y})=>n.current&&h.length?_e.createPortal(G("div",{className:I,children:h.map(a=>{let g=a.key;return a.label&&d&&(g=typeof a.label=="function"?a.label({featureClientSchemaMap:d,i18n:m,schemaPath:c}):a.label),Fe("div",{className:`${I}__group ${I}__group-${a.key}`,children:[G("div",{className:`${I}__group-title`,children:g}),a.items.map((i,E)=>G(Rt,{index:E,isSelected:p===i.key,item:i,onClick:()=>{y(i.key),x(i)},onMouseEnter:()=>{y(i.key)}},i.key))]},a.key)})}),n.current):null,onQueryChange:s,onSelectItem:l,triggerFn:u})}import{c as Tt}from"react/compiler-runtime";import{jsx as He}from"react/jsx-runtime";import{ContentEditable as St}from"@lexical/react/LexicalContentEditable.js";import{useTranslation as vt}from"@payloadcms/ui";import"react";function je(t){let e=Tt(3),{className:o}=t,{t:s}=vt(),r;return e[0]!==s||e[1]!==o?(r=He(St,{"aria-placeholder":s("lexical:general:placeholder"),className:o??"ContentEditable__root",placeholder:He("p",{className:"editor-placeholder",children:s("lexical:general:placeholder")})}),e[0]=s,e[1]=o,e[2]=r):r=e[2],r}var We=t=>{let e=It(22),{editorConfig:o,editorContainerRef:s,onChange:r}=t,m=R(),[d]=Mt(),[c,u]=Ge(null),f;e[0]===Symbol.for("react.memo_cache_sentinel")?(f=i=>{i!==null&&u(i)},e[0]=f):f=e[0];let h=f,l,n;e[1]!==m||e[2]!==d?(l=()=>{if(!m?.uuid){console.error("Lexical Editor must be used within an EditorConfigProvider");return}m?.parentEditor?.uuid&&m.parentEditor?.registerChild(m.uuid,m);let i=()=>{m.focusEditor(m)},E=()=>{m.blurEditor(m)},b=d.registerCommand(_t,()=>(i(),!0),ze),N=d.registerCommand(Ot,()=>(E(),!0),ze);return()=>{b(),N(),m.parentEditor?.unregisterChild?.(m.uuid)}},n=[d,m],e[1]=m,e[2]=d,e[3]=l,e[4]=n):(l=e[3],n=e[4]),Ke(l,n);let[p,x]=Ge(!1),y,a;e[5]!==p?(y=()=>{let i=()=>{let E=window.matchMedia("(max-width: 768px)").matches;E!==p&&x(E)};return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}},a=[p],e[5]=p,e[6]=y,e[7]=a):(y=e[6],a=e[7]),Ke(y,a);let g;if(e[8]!==o.features||e[9]!==r||e[10]!==c||e[11]!==p||e[12]!==d||e[13]!==s){let i;e[15]!==r?(i=(b,N,C)=>{(!C.has("focus")||C.size>1)&&r?.(b,N,C)},e[15]=r,e[16]=i):i=e[16];let E;e[17]!==c||e[18]!==p||e[19]!==d||e[20]!==o?(E=c&&q(W.Fragment,{children:[!p&&d.isEditable()&&q(W.Fragment,{children:[w(Be,{anchorElem:c}),w(Ne,{anchorElem:c})]}),o.features.plugins?.map(b=>{if(b.position==="floatingAnchorElem"&&!(b.desktopOnly===!0&&p))return w(O,{anchorElem:c,clientProps:b.clientProps,plugin:b},b.key)}),d.isEditable()&&w(W.Fragment,{children:w($e,{anchorElem:c})})]}),e[17]=c,e[18]=p,e[19]=d,e[20]=o,e[21]=E):E=e[21],g=q(W.Fragment,{children:[o.features.plugins?.map($t),q("div",{className:"editor-container",ref:s,children:[o.features.plugins?.map(Ht),w(Dt,{contentEditable:w("div",{className:"editor-scroller",children:w("div",{className:"editor",ref:h,children:w(je,{})})}),ErrorBoundary:Bt}),w(At,{ignoreSelectionChange:!0,onChange:i}),E,d.isEditable()&&q(W.Fragment,{children:[w(Lt,{}),o?.features?.markdownTransformers?.length>0&&w(Le,{})]}),w(Ft,{}),o.features.plugins?.map(jt),o.features.plugins?.map(zt)]}),o.features.plugins?.map(Kt)]}),e[8]=o.features,e[9]=r,e[10]=c,e[11]=p,e[12]=d,e[13]=s,e[14]=g}else g=e[14];return g};function $t(t){if(t.position==="aboveContainer")return w(O,{clientProps:t.clientProps,plugin:t},t.key)}function Ht(t){if(t.position==="top")return w(O,{clientProps:t.clientProps,plugin:t},t.key)}function jt(t){if(t.position==="normal")return w(O,{clientProps:t.clientProps,plugin:t},t.key)}function zt(t){if(t.position==="bottom")return w(O,{clientProps:t.clientProps,plugin:t},t.key)}function Kt(t){if(t.position==="belowContainer")return w(O,{clientProps:t.clientProps,plugin:t},t.key)}var Ve=({children:t,providers:e})=>{if(!e?.length)return t;let o=e[0];return e.length>1?B(o,{children:B(Ve,{providers:e.slice(1),children:t})}):B(o,{children:t})},qe=t=>{let{composerKey:e,editorConfig:o,fieldProps:s,onChange:r,readOnly:m,value:d}=t,c=R(),u=Ue.useRef(null),f=Ye(()=>{let l=d;return o?.features?.hooks?.load?.length&&o.features.hooks.load.forEach(n=>{l=n({incomingEditorState:l})}),l},[o,d]),h=Ye(()=>{if(f&&typeof f!="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(f));if(f&&Array.isArray(f)&&!("root"in f))throw new Error("You have tried to pass in data from the old Slate editor to the new Lexical editor. The data structure is different, thus you will have to migrate your data. We offer a one-line migration script which migrates all your rich text fields: https://payloadcms.com/docs/beta/lexical/migration#migration-via-migration-script-recommended");if(f&&"jsonContent"in f)throw new Error("You have tried to pass in data from payload-plugin-lexical. The data structure is different, thus you will have to migrate your data. Migration guide: https://payloadcms.com/docs/beta/lexical/migration#migrating-from-payload-plugin-lexical");return{editable:m!==!0,editorState:f!=null?JSON.stringify(f):void 0,namespace:o.lexical.namespace,nodes:he({editorConfig:o}),onError:l=>{throw l},theme:o.lexical.theme}},[o,f,m]);return h?B(Gt,{initialConfig:h,children:B(de,{editorConfig:o,editorContainerRef:u,fieldProps:s,parentContext:c,children:B(Ve,{providers:o.features.providers,children:B(We,{editorConfig:o,editorContainerRef:u,onChange:r})})})},e+h.editable):B("p",{children:"Loading..."})};import"./bundled.css";var ie="rich-text-lexical",Qt=t=>{let{editorConfig:e,field:{name:o,admin:{className:s,readOnly:r,style:m,width:d}={},label:c,localized:u,required:f},path:h,readOnly:l,validate:n}=t,p=l||r,x=h??o,y=Yt(),a=qt((Q,D)=>{if(typeof n=="function")return n(Q,{...D,props:t,required:f})},[n,f]),{customComponents:{AfterInput:g,BeforeInput:i,Description:E,Error:b,Label:N}={},formInitializing:C,formProcessing:T,initialValue:P,setValue:Y,showError:L,value:A}=Ut({path:x,validate:a}),S=p||T||C,U=[ie,"field-type",s,L&&"error",S&&`${ie}--read-only`,e?.admin?.hideGutter!==!0?`${ie}--show-gutter`:null].filter(Boolean).join(" "),J=`${x}.${y}`;return se("div",{className:U,style:{...m,width:d},children:[b,N||le(Wt,{label:c,localized:u,required:f}),se("div",{className:`${ie}__wrap`,children:[se(Jt,{fallbackRender:Xt,onReset:()=>{},children:[i,le(qe,{composerKey:J,editorConfig:e,fieldProps:t,onChange:Q=>{let D=Q.toJSON();e?.features?.hooks?.save?.length&&e.features.hooks.save.forEach(me=>{D=me({incomingEditorState:D})}),Y(D)},readOnly:S,value:A},JSON.stringify({initialValue:P,path:x})),g]}),E]})]},J)};function Xt({error:t}){return se("div",{className:"errorBoundary",role:"alert",children:[le("p",{children:"Something went wrong:"}),le("pre",{style:{color:"red"},children:t.message})]})}var ir=Vt(Qt);export{ir as RichText};
2
+ //# sourceMappingURL=Field-GWJ72IYP.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/field/Field.tsx", "../../../src/lexical/LexicalProvider.tsx", "../../../src/lexical/LexicalEditor.tsx", "../../../src/lexical/EditorPlugin.tsx", "../../../src/lexical/plugins/handles/AddBlockHandlePlugin/index.tsx", "../../../src/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.ts", "../../../src/lexical/plugins/handles/utils/getNodeCloseToPoint.ts", "../../../src/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.ts", "../../../src/lexical/plugins/handles/utils/getCollapsedMargins.ts", "../../../src/lexical/plugins/handles/utils/getTopLevelNodeKeys.ts", "../../../src/lexical/plugins/handles/utils/isOnHandleElement.ts", "../../../src/lexical/plugins/handles/utils/doesLineHeightAffectElement.ts", "../../../src/lexical/plugins/handles/utils/setHandlePosition.ts", "../../../src/lexical/plugins/handles/DraggableBlockPlugin/index.tsx", "../../../src/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.ts", "../../../src/lexical/plugins/MarkdownShortcut/index.tsx", "../../../src/lexical/plugins/SlashMenu/index.tsx", "../../../src/lexical/plugins/SlashMenu/useMenuTriggerMatch.ts", "../../../src/lexical/ui/ContentEditable.tsx"],
4
+ "sourcesContent": ["'use client'\nimport type { SerializedEditorState } from 'lexical'\n\nimport { FieldLabel, useEditDepth, useField, withCondition } from '@payloadcms/ui'\nimport React, { useCallback } from 'react'\nimport { ErrorBoundary } from 'react-error-boundary'\n\nimport type { SanitizedClientEditorConfig } from '../lexical/config/types.js'\nimport type { LexicalRichTextFieldProps } from '../types.js'\n\nimport { LexicalProvider } from '../lexical/LexicalProvider.js'\nimport './bundled.css'\nimport './index.scss'\nimport '../lexical/theme/EditorTheme.scss'\n\nconst baseClass = 'rich-text-lexical'\n\nconst RichTextComponent: React.FC<\n {\n readonly editorConfig: SanitizedClientEditorConfig // With rendered features n stuff\n } & LexicalRichTextFieldProps\n> = (props) => {\n const {\n editorConfig,\n field: {\n name,\n admin: { className, readOnly: readOnlyFromAdmin, style, width } = {},\n label,\n localized,\n required,\n },\n path: pathFromProps,\n readOnly: readOnlyFromTopLevelProps,\n validate, // Users can pass in client side validation if they WANT to, but it's not required anymore\n } = props\n\n const readOnlyFromProps = readOnlyFromTopLevelProps || readOnlyFromAdmin\n const path = pathFromProps ?? name\n\n const editDepth = useEditDepth()\n\n const memoizedValidate = useCallback(\n (value, validationOptions) => {\n if (typeof validate === 'function') {\n return validate(value, { ...validationOptions, props, required })\n }\n },\n // Important: do not add props to the dependencies array.\n // This would cause an infinite loop and endless re-rendering.\n // Removing props from the dependencies array fixed this issue: https://github.com/payloadcms/payload/issues/3709\n [validate, required],\n )\n\n const {\n customComponents: { AfterInput, BeforeInput, Description, Error, Label } = {},\n formInitializing,\n formProcessing,\n initialValue,\n setValue,\n showError,\n value,\n } = useField<SerializedEditorState>({\n path,\n // @ts-expect-error: TODO: Fix this\n validate: memoizedValidate,\n })\n\n const disabled = readOnlyFromProps || formProcessing || formInitializing\n\n const classes = [\n baseClass,\n 'field-type',\n className,\n showError && 'error',\n disabled && `${baseClass}--read-only`,\n editorConfig?.admin?.hideGutter !== true ? `${baseClass}--show-gutter` : null,\n ]\n .filter(Boolean)\n .join(' ')\n\n const pathWithEditDepth = `${path}.${editDepth}`\n\n return (\n <div\n className={classes}\n key={pathWithEditDepth}\n style={{\n ...style,\n width,\n }}\n >\n {Error}\n {Label || <FieldLabel label={label} localized={localized} required={required} />}\n <div className={`${baseClass}__wrap`}>\n <ErrorBoundary fallbackRender={fallbackRender} onReset={() => {}}>\n {BeforeInput}\n <LexicalProvider\n composerKey={pathWithEditDepth}\n editorConfig={editorConfig}\n fieldProps={props}\n key={JSON.stringify({ initialValue, path })} // makes sure lexical is completely re-rendered when initialValue changes, bypassing the lexical-internal value memoization. That way, external changes to the form will update the editor. More infos in PR description (https://github.com/payloadcms/payload/pull/5010)\n onChange={(editorState) => {\n let serializedEditorState = editorState.toJSON()\n\n // Transform state through save hooks\n if (editorConfig?.features?.hooks?.save?.length) {\n editorConfig.features.hooks.save.forEach((hook) => {\n serializedEditorState = hook({ incomingEditorState: serializedEditorState })\n })\n }\n\n setValue(serializedEditorState)\n }}\n readOnly={disabled}\n value={value}\n />\n {AfterInput}\n </ErrorBoundary>\n {Description}\n </div>\n </div>\n )\n}\n\nfunction fallbackRender({ error }): React.ReactElement {\n // Call resetErrorBoundary() to reset the error boundary and retry the render.\n\n return (\n <div className=\"errorBoundary\" role=\"alert\">\n <p>Something went wrong:</p>\n <pre style={{ color: 'red' }}>{error.message}</pre>\n </div>\n )\n}\n\nexport const RichText: typeof RichTextComponent = withCondition(RichTextComponent)\n", "'use client'\nimport type { InitialConfigType } from '@lexical/react/LexicalComposer.js'\nimport type { EditorState, LexicalEditor, SerializedEditorState } from 'lexical'\nimport type { ClientField } from 'payload'\n\nimport { LexicalComposer } from '@lexical/react/LexicalComposer.js'\nimport * as React from 'react'\nimport { useMemo } from 'react'\n\nimport type { LexicalRichTextFieldProps } from '../types.js'\nimport type { SanitizedClientEditorConfig } from './config/types.js'\n\nimport {\n EditorConfigProvider,\n useEditorConfigContext,\n} from './config/client/EditorConfigProvider.js'\nimport { LexicalEditor as LexicalEditorComponent } from './LexicalEditor.js'\nimport { getEnabledNodes } from './nodes/index.js'\n\nexport type LexicalProviderProps = {\n composerKey: string\n editorConfig: SanitizedClientEditorConfig\n fieldProps: LexicalRichTextFieldProps\n onChange: (editorState: EditorState, editor: LexicalEditor, tags: Set<string>) => void\n readOnly: boolean\n value: SerializedEditorState\n}\n\nconst NestProviders = ({ children, providers }) => {\n if (!providers?.length) {\n return children\n }\n const Component = providers[0]\n if (providers.length > 1) {\n return (\n <Component>\n <NestProviders providers={providers.slice(1)}>{children}</NestProviders>\n </Component>\n )\n }\n return <Component>{children}</Component>\n}\n\nexport const LexicalProvider: React.FC<LexicalProviderProps> = (props) => {\n const { composerKey, editorConfig, fieldProps, onChange, readOnly, value } = props\n\n const parentContext = useEditorConfigContext()\n\n const editorContainerRef = React.useRef<HTMLDivElement>(null)\n\n const processedValue = useMemo(() => {\n let processed = value\n if (editorConfig?.features?.hooks?.load?.length) {\n editorConfig.features.hooks.load.forEach((hook) => {\n processed = hook({ incomingEditorState: processed })\n })\n }\n return processed\n }, [editorConfig, value])\n\n // useMemo for the initialConfig that depends on readOnly and processedValue\n const initialConfig = useMemo<InitialConfigType>(() => {\n if (processedValue && typeof processedValue !== 'object') {\n throw new Error(\n 'The value passed to the Lexical editor is not an object. This is not supported. Please remove the data from the field and start again. This is the value that was passed in: ' +\n JSON.stringify(processedValue),\n )\n }\n\n if (processedValue && Array.isArray(processedValue) && !('root' in processedValue)) {\n throw new Error(\n 'You have tried to pass in data from the old Slate editor to the new Lexical editor. The data structure is different, thus you will have to migrate your data. We offer a one-line migration script which migrates all your rich text fields: https://payloadcms.com/docs/beta/lexical/migration#migration-via-migration-script-recommended',\n )\n }\n\n if (processedValue && 'jsonContent' in processedValue) {\n throw new Error(\n 'You have tried to pass in data from payload-plugin-lexical. The data structure is different, thus you will have to migrate your data. Migration guide: https://payloadcms.com/docs/beta/lexical/migration#migrating-from-payload-plugin-lexical',\n )\n }\n\n return {\n editable: readOnly !== true,\n editorState: processedValue != null ? JSON.stringify(processedValue) : undefined,\n namespace: editorConfig.lexical.namespace,\n nodes: getEnabledNodes({ editorConfig }),\n onError: (error: Error) => {\n throw error\n },\n theme: editorConfig.lexical.theme,\n }\n }, [editorConfig, processedValue, readOnly])\n\n if (!initialConfig) {\n return <p>Loading...</p>\n }\n\n // We need to add initialConfig.editable to the key to force a re-render when the readOnly prop changes.\n // Without it, there were cases where lexical editors inside drawers turn readOnly initially - a few miliseconds later they turn editable, but the editor does not re-render and stays readOnly.\n return (\n <LexicalComposer initialConfig={initialConfig} key={composerKey + initialConfig.editable}>\n <EditorConfigProvider\n editorConfig={editorConfig}\n editorContainerRef={editorContainerRef}\n fieldProps={fieldProps}\n parentContext={parentContext}\n >\n <NestProviders providers={editorConfig.features.providers}>\n <LexicalEditorComponent\n editorConfig={editorConfig}\n editorContainerRef={editorContainerRef}\n onChange={onChange}\n />\n </NestProviders>\n </EditorConfigProvider>\n </LexicalComposer>\n )\n}\n", "'use client'\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport { LexicalErrorBoundary } from '@lexical/react/LexicalErrorBoundary.js'\nimport { HistoryPlugin } from '@lexical/react/LexicalHistoryPlugin.js'\nimport { OnChangePlugin } from '@lexical/react/LexicalOnChangePlugin.js'\nimport { RichTextPlugin } from '@lexical/react/LexicalRichTextPlugin.js'\nimport { TabIndentationPlugin } from '@lexical/react/LexicalTabIndentationPlugin.js'\nimport { BLUR_COMMAND, COMMAND_PRIORITY_LOW, FOCUS_COMMAND } from 'lexical'\nimport * as React from 'react'\nimport { useEffect, useState } from 'react'\n\nimport type { LexicalProviderProps } from './LexicalProvider.js'\n\nimport { useEditorConfigContext } from './config/client/EditorConfigProvider.js'\nimport { EditorPlugin } from './EditorPlugin.js'\nimport './LexicalEditor.scss'\nimport { AddBlockHandlePlugin } from './plugins/handles/AddBlockHandlePlugin/index.js'\nimport { DraggableBlockPlugin } from './plugins/handles/DraggableBlockPlugin/index.js'\nimport { MarkdownShortcutPlugin } from './plugins/MarkdownShortcut/index.js'\nimport { SlashMenuPlugin } from './plugins/SlashMenu/index.js'\nimport { LexicalContentEditable } from './ui/ContentEditable.js'\n\nexport const LexicalEditor: React.FC<\n {\n editorContainerRef: React.RefObject<HTMLDivElement | null>\n } & Pick<LexicalProviderProps, 'editorConfig' | 'onChange'>\n> = (props) => {\n const { editorConfig, editorContainerRef, onChange } = props\n const editorConfigContext = useEditorConfigContext()\n const [editor] = useLexicalComposerContext()\n\n const [floatingAnchorElem, setFloatingAnchorElem] = useState<HTMLDivElement | null>(null)\n const onRef = (_floatingAnchorElem: HTMLDivElement) => {\n if (_floatingAnchorElem !== null) {\n setFloatingAnchorElem(_floatingAnchorElem)\n }\n }\n\n useEffect(() => {\n if (!editorConfigContext?.uuid) {\n console.error('Lexical Editor must be used within an EditorConfigProvider')\n return\n }\n if (editorConfigContext?.parentEditor?.uuid) {\n editorConfigContext.parentEditor?.registerChild(editorConfigContext.uuid, editorConfigContext)\n }\n\n const handleFocus = () => {\n editorConfigContext.focusEditor(editorConfigContext)\n }\n\n const handleBlur = () => {\n editorConfigContext.blurEditor(editorConfigContext)\n }\n\n const unregisterFocus = editor.registerCommand<MouseEvent>(\n FOCUS_COMMAND,\n () => {\n handleFocus()\n return true\n },\n COMMAND_PRIORITY_LOW,\n )\n\n const unregisterBlur = editor.registerCommand<MouseEvent>(\n BLUR_COMMAND,\n () => {\n handleBlur()\n return true\n },\n COMMAND_PRIORITY_LOW,\n )\n\n return () => {\n unregisterFocus()\n unregisterBlur()\n editorConfigContext.parentEditor?.unregisterChild?.(editorConfigContext.uuid)\n }\n }, [editor, editorConfigContext])\n\n const [isSmallWidthViewport, setIsSmallWidthViewport] = useState<boolean>(false)\n\n useEffect(() => {\n const updateViewPortWidth = () => {\n const isNextSmallWidthViewport = window.matchMedia('(max-width: 768px)').matches\n\n if (isNextSmallWidthViewport !== isSmallWidthViewport) {\n setIsSmallWidthViewport(isNextSmallWidthViewport)\n }\n }\n updateViewPortWidth()\n window.addEventListener('resize', updateViewPortWidth)\n\n return () => {\n window.removeEventListener('resize', updateViewPortWidth)\n }\n }, [isSmallWidthViewport])\n\n return (\n <React.Fragment>\n {editorConfig.features.plugins?.map((plugin) => {\n if (plugin.position === 'aboveContainer') {\n return <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n }\n })}\n <div className=\"editor-container\" ref={editorContainerRef}>\n {editorConfig.features.plugins?.map((plugin) => {\n if (plugin.position === 'top') {\n return (\n <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n )\n }\n })}\n <RichTextPlugin\n contentEditable={\n <div className=\"editor-scroller\">\n <div className=\"editor\" ref={onRef}>\n <LexicalContentEditable />\n </div>\n </div>\n }\n ErrorBoundary={LexicalErrorBoundary}\n />\n <OnChangePlugin\n // Selection changes can be ignored here, reducing the\n // frequency that the FieldComponent and Payload receive updates.\n // Selection changes are only needed if you are saving selection state\n ignoreSelectionChange\n onChange={(editorState, editor, tags) => {\n // Ignore any onChange event triggered by focus only\n if (!tags.has('focus') || tags.size > 1) {\n if (onChange != null) {\n onChange(editorState, editor, tags)\n }\n }\n }}\n />\n {floatingAnchorElem && (\n <React.Fragment>\n {!isSmallWidthViewport && editor.isEditable() && (\n <React.Fragment>\n <DraggableBlockPlugin anchorElem={floatingAnchorElem} />\n <AddBlockHandlePlugin anchorElem={floatingAnchorElem} />\n </React.Fragment>\n )}\n {editorConfig.features.plugins?.map((plugin) => {\n if (\n plugin.position === 'floatingAnchorElem' &&\n !(plugin.desktopOnly === true && isSmallWidthViewport)\n ) {\n return (\n <EditorPlugin\n anchorElem={floatingAnchorElem}\n clientProps={plugin.clientProps}\n key={plugin.key}\n plugin={plugin}\n />\n )\n }\n })}\n {editor.isEditable() && (\n <React.Fragment>\n <SlashMenuPlugin anchorElem={floatingAnchorElem} />\n </React.Fragment>\n )}\n </React.Fragment>\n )}\n {editor.isEditable() && (\n <React.Fragment>\n <HistoryPlugin />\n {editorConfig?.features?.markdownTransformers?.length > 0 && <MarkdownShortcutPlugin />}\n </React.Fragment>\n )}\n\n <TabIndentationPlugin />\n {editorConfig.features.plugins?.map((plugin) => {\n if (plugin.position === 'normal') {\n return (\n <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n )\n }\n })}\n {editorConfig.features.plugins?.map((plugin) => {\n if (plugin.position === 'bottom') {\n return (\n <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n )\n }\n })}\n </div>\n {editorConfig.features.plugins?.map((plugin) => {\n if (plugin.position === 'belowContainer') {\n return <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n }\n })}\n </React.Fragment>\n )\n}\n", "'use client'\nimport React from 'react'\n\nimport type { SanitizedPlugin } from '../features/typesClient.js'\n\nexport const EditorPlugin: React.FC<{\n anchorElem?: HTMLDivElement\n clientProps: unknown\n plugin: SanitizedPlugin\n}> = ({ anchorElem, clientProps, plugin }) => {\n if (plugin.position === 'floatingAnchorElem' && anchorElem) {\n return (\n plugin.Component && <plugin.Component anchorElem={anchorElem} clientProps={clientProps} />\n )\n }\n\n // @ts-expect-error - ts is not able to infer that plugin.Component is of type PluginComponent\n return plugin.Component && <plugin.Component clientProps={clientProps} />\n}\n", "'use client'\nimport type { LexicalEditor, LexicalNode, ParagraphNode } from 'lexical'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport { $createParagraphNode } from 'lexical'\nimport * as React from 'react'\nimport { useCallback, useEffect, useRef, useState } from 'react'\nimport { createPortal } from 'react-dom'\n\nimport { useEditorConfigContext } from '../../../config/client/EditorConfigProvider.js'\nimport { isHTMLElement } from '../../../utils/guard.js'\nimport { Point } from '../../../utils/point.js'\nimport { ENABLE_SLASH_MENU_COMMAND } from '../../SlashMenu/LexicalTypeaheadMenuPlugin/index.js'\nimport { calculateDistanceFromScrollerElem } from '../utils/calculateDistanceFromScrollerElem.js'\nimport { getNodeCloseToPoint } from '../utils/getNodeCloseToPoint.js'\nimport { getTopLevelNodeKeys } from '../utils/getTopLevelNodeKeys.js'\nimport { isOnHandleElement } from '../utils/isOnHandleElement.js'\nimport { setHandlePosition } from '../utils/setHandlePosition.js'\nimport './index.scss'\n\nconst ADD_BLOCK_MENU_CLASSNAME = 'add-block-menu'\n\nlet prevIndex = Infinity\n\nfunction getCurrentIndex(keysLength: number): number {\n if (keysLength === 0) {\n return Infinity\n }\n if (prevIndex >= 0 && prevIndex < keysLength) {\n return prevIndex\n }\n\n return Math.floor(keysLength / 2)\n}\n\nfunction useAddBlockHandle(\n editor: LexicalEditor,\n anchorElem: HTMLElement,\n isEditable: boolean,\n): React.ReactElement {\n const scrollerElem = anchorElem.parentElement\n\n const { editorConfig } = useEditorConfigContext()\n const blockHandleHorizontalOffset = editorConfig?.admin?.hideGutter ? -24 : 12\n\n const menuRef = useRef<HTMLButtonElement>(null)\n const [hoveredElement, setHoveredElement] = useState<{\n elem: HTMLElement\n node: LexicalNode\n } | null>(null)\n\n useEffect(() => {\n function onDocumentMouseMove(event: MouseEvent) {\n const target = event.target\n if (!isHTMLElement(target)) {\n return\n }\n\n const distanceFromScrollerElem = calculateDistanceFromScrollerElem(\n scrollerElem,\n event.pageX,\n event.pageY,\n target,\n )\n\n if (distanceFromScrollerElem === -1) {\n setHoveredElement(null)\n return\n }\n\n if (isOnHandleElement(target, ADD_BLOCK_MENU_CLASSNAME)) {\n return\n }\n const topLevelNodeKeys = getTopLevelNodeKeys(editor)\n\n const {\n blockElem: _emptyBlockElem,\n blockNode,\n foundAtIndex,\n } = getNodeCloseToPoint({\n anchorElem,\n cache_threshold: 0,\n editor,\n horizontalOffset: -distanceFromScrollerElem,\n point: new Point(event.x, event.y),\n returnEmptyParagraphs: true,\n startIndex: getCurrentIndex(topLevelNodeKeys.length),\n useEdgeAsDefault: false,\n })\n\n prevIndex = foundAtIndex\n\n if (!_emptyBlockElem) {\n return\n }\n if (\n blockNode &&\n (hoveredElement?.node !== blockNode || hoveredElement?.elem !== _emptyBlockElem)\n ) {\n setHoveredElement({\n elem: _emptyBlockElem,\n node: blockNode,\n })\n }\n }\n\n // Since the draggableBlockElem is outside the actual editor, we need to listen to the document\n // to be able to detect when the mouse is outside the editor and respect a buffer around\n // the scrollerElem to avoid the draggableBlockElem disappearing too early.\n document?.addEventListener('mousemove', onDocumentMouseMove)\n\n return () => {\n document?.removeEventListener('mousemove', onDocumentMouseMove)\n }\n }, [scrollerElem, anchorElem, editor, hoveredElement])\n\n useEffect(() => {\n if (menuRef.current && hoveredElement?.node) {\n setHandlePosition(\n hoveredElement?.elem,\n menuRef.current,\n anchorElem,\n blockHandleHorizontalOffset,\n )\n }\n }, [anchorElem, hoveredElement, blockHandleHorizontalOffset])\n\n const handleAddClick = useCallback(\n (event) => {\n let hoveredElementToUse = hoveredElement\n if (!hoveredElementToUse?.node) {\n return\n }\n\n // 1. Update hoveredElement.node to a new paragraph node if the hoveredElement.node is not a paragraph node\n editor.update(() => {\n // Check if blockNode is an empty text node\n let isEmptyParagraph = true\n if (\n hoveredElementToUse?.node.getType() !== 'paragraph' ||\n hoveredElementToUse.node.getTextContent() !== ''\n ) {\n isEmptyParagraph = false\n }\n\n if (!isEmptyParagraph) {\n const newParagraph = $createParagraphNode()\n hoveredElementToUse?.node.insertAfter(newParagraph)\n\n setTimeout(() => {\n hoveredElementToUse = {\n elem: editor.getElementByKey(newParagraph.getKey())!,\n node: newParagraph,\n }\n setHoveredElement(hoveredElementToUse)\n }, 0)\n }\n })\n\n // 2. Focus on the new paragraph node\n setTimeout(() => {\n editor.update(() => {\n editor.focus()\n\n if (\n hoveredElementToUse?.node &&\n 'select' in hoveredElementToUse.node &&\n typeof hoveredElementToUse.node.select === 'function'\n ) {\n hoveredElementToUse.node.select()\n }\n })\n }, 1)\n\n // Make sure this is called AFTER the focusing has been processed by the browser\n // Otherwise, this won't work\n setTimeout(() => {\n editor.dispatchCommand(ENABLE_SLASH_MENU_COMMAND, {\n node: hoveredElementToUse?.node as ParagraphNode,\n })\n }, 2)\n\n event.stopPropagation()\n event.preventDefault()\n },\n [editor, hoveredElement],\n )\n\n return createPortal(\n <React.Fragment>\n <button\n className=\"icon add-block-menu\"\n onClick={(event) => {\n handleAddClick(event)\n }}\n ref={menuRef}\n type=\"button\"\n >\n <div className={isEditable ? 'icon' : ''} />\n </button>\n </React.Fragment>,\n anchorElem,\n )\n}\n\nexport function AddBlockHandlePlugin({\n anchorElem = document.body,\n}: {\n anchorElem?: HTMLElement\n}): React.ReactElement {\n const [editor] = useLexicalComposerContext()\n return useAddBlockHandle(editor, anchorElem, editor._editable)\n}\n", "'use client'\n/**\n * Calculate distance between scrollerElem and target if target is not in scrollerElem\n */\nexport const calculateDistanceFromScrollerElem = (\n scrollerElem: HTMLElement | null,\n pageX: number,\n pageY: number,\n target: HTMLElement,\n horizontalBuffer: number = 50,\n verticalBuffer: number = 25,\n): number => {\n let distanceFromScrollerElem = 0\n if (scrollerElem && !scrollerElem.contains(target)) {\n const { bottom, left, right, top } = scrollerElem.getBoundingClientRect()\n\n const adjustedTop = top + window.scrollY\n const adjustedBottom = bottom + window.scrollY\n\n if (\n pageY < adjustedTop - verticalBuffer ||\n pageY > adjustedBottom + verticalBuffer ||\n pageX < left - horizontalBuffer ||\n pageX > right + horizontalBuffer\n ) {\n return -1\n }\n\n // This is used to allow the _draggableBlockElem to be found when the mouse is in the\n // buffer zone around the scrollerElem.\n if (pageX < left || pageX > right) {\n distanceFromScrollerElem = pageX < left ? pageX - left : pageX - right\n }\n }\n return distanceFromScrollerElem\n}\n", "'use client'\nimport type { LexicalEditor, LexicalNode } from 'lexical'\n\nimport { $getNodeByKey } from 'lexical'\n\nimport { Point } from '../../../utils/point.js'\nimport { Rect } from '../../../utils/rect.js'\nimport { getBoundingClientRectWithoutTransform } from '../DraggableBlockPlugin/getBoundingRectWithoutTransform.js'\nimport { getCollapsedMargins } from '../utils/getCollapsedMargins.js'\nimport { getTopLevelNodeKeys } from '../utils/getTopLevelNodeKeys.js'\n\n// Directions\nconst Downward = 1\nconst Upward = -1\nconst Indeterminate = 0\n\ntype Props = {\n anchorElem: HTMLElement\n cache_threshold?: number\n editor: LexicalEditor\n /** fuzzy makes the search not exact. If no exact match found, find the closes node instead of returning null */\n fuzzy?: boolean\n horizontalOffset?: number\n point: Point\n /**\n * By default, empty paragraphs are not returned. Set this to true to return empty paragraphs. @default false\n */\n returnEmptyParagraphs?: boolean\n /**\n * The index to start searching from. It can be a considerable performance optimization to start searching from the index of the\n * previously found node, as the node is likely to be close to the next node.\n */\n startIndex?: number\n useEdgeAsDefault?: boolean\n verbose?: boolean\n}\n\ntype Output = {\n blockElem: HTMLElement | null\n blockNode: LexicalNode | null\n foundAtIndex: number\n isFoundNodeEmptyParagraph: boolean\n}\n\nconst cache = {\n props: null as null | Props,\n result: null as null | Output,\n}\n\nfunction isPointClose(previous: Point, current: Point, threshold: number = 20): boolean {\n const dx = previous.x - current.x\n const dy = previous.y - current.y\n return dx * dx + dy * dy <= threshold * threshold\n}\n\nexport function getNodeCloseToPoint(props: Props): Output {\n const {\n anchorElem,\n cache_threshold = 20,\n editor,\n fuzzy = false,\n horizontalOffset = 0,\n point: { x, y },\n startIndex = 0,\n useEdgeAsDefault = false,\n } = props\n\n // Use cache\n if (\n cache_threshold > 0 &&\n cache.props &&\n cache.result &&\n cache.props.fuzzy === props.fuzzy &&\n cache.props.horizontalOffset === props.horizontalOffset &&\n cache.props.useEdgeAsDefault === props.useEdgeAsDefault &&\n isPointClose(cache.props.point, props.point, cache_threshold)\n ) {\n return cache.result\n }\n\n const anchorElementRect = anchorElem.getBoundingClientRect()\n const topLevelNodeKeys = getTopLevelNodeKeys(editor)\n\n const closestBlockElem: {\n blockElem: HTMLElement | null\n blockNode: LexicalNode | null\n distance: number\n foundAtIndex: number\n isFoundNodeEmptyParagraph: boolean\n } = {\n blockElem: null,\n blockNode: null,\n distance: Infinity,\n foundAtIndex: -1,\n isFoundNodeEmptyParagraph: false,\n }\n\n // Return null if matching block element is the first or last node\n editor.getEditorState().read(() => {\n if (useEdgeAsDefault) {\n const [firstNode, lastNode] = [\n editor.getElementByKey(topLevelNodeKeys[0]),\n editor.getElementByKey(topLevelNodeKeys[topLevelNodeKeys.length - 1]),\n ]\n\n if (firstNode && lastNode) {\n const [firstNodeRect, lastNodeRect] = [\n getBoundingClientRectWithoutTransform(firstNode),\n getBoundingClientRectWithoutTransform(lastNode),\n ]\n\n if (y < firstNodeRect.top) {\n closestBlockElem.blockElem = firstNode\n closestBlockElem.distance = firstNodeRect.top - y\n closestBlockElem.blockNode = $getNodeByKey(topLevelNodeKeys[0])\n closestBlockElem.foundAtIndex = 0\n } else if (y > lastNodeRect.bottom) {\n closestBlockElem.distance = y - lastNodeRect.bottom\n closestBlockElem.blockNode = $getNodeByKey(topLevelNodeKeys[topLevelNodeKeys.length - 1])\n closestBlockElem.blockElem = lastNode\n closestBlockElem.foundAtIndex = topLevelNodeKeys.length - 1\n }\n\n if (closestBlockElem?.blockElem) {\n return {\n blockElem: null,\n isFoundNodeEmptyParagraph: false,\n } as Output\n }\n }\n }\n\n // Find matching block element\n let index = startIndex\n let direction = Indeterminate\n\n while (index >= 0 && index < topLevelNodeKeys.length) {\n const key = topLevelNodeKeys[index]\n const elem = editor.getElementByKey(key)\n if (elem === null) {\n break\n }\n const point = new Point(x + horizontalOffset, y)\n //const domRect = Rect.fromDOM(elem)\n // Do not consider transform of blocks when calculating distance\n const domRect = Rect.fromDOMRect(getBoundingClientRectWithoutTransform(elem))\n\n const { marginBottom, marginTop } = getCollapsedMargins(elem)\n\n const rect = domRect.generateNewRect({\n bottom: domRect.bottom + marginBottom,\n left: anchorElementRect.left,\n right: anchorElementRect.right,\n top: domRect.top - marginTop,\n })\n\n const { distance, isOnBottomSide, isOnTopSide } = rect.distanceFromPoint(point)\n\n if (distance === 0) {\n closestBlockElem.blockElem = elem\n closestBlockElem.blockNode = $getNodeByKey(key)\n closestBlockElem.foundAtIndex = index\n closestBlockElem.distance = distance\n\n // Check if blockNode is an empty text node\n if (\n closestBlockElem.blockNode &&\n closestBlockElem.blockNode.getType() === 'paragraph' &&\n closestBlockElem.blockNode.getTextContent() === ''\n ) {\n if (!fuzzy && !props.returnEmptyParagraphs) {\n closestBlockElem.blockElem = null\n closestBlockElem.blockNode = null\n }\n\n closestBlockElem.isFoundNodeEmptyParagraph = true\n }\n break\n } else if (fuzzy) {\n if (distance < closestBlockElem.distance) {\n closestBlockElem.blockElem = elem\n closestBlockElem.blockNode = $getNodeByKey(key)\n closestBlockElem.distance = distance\n closestBlockElem.foundAtIndex = index\n }\n }\n\n if (direction === Indeterminate) {\n if (isOnTopSide) {\n direction = Upward\n } else if (isOnBottomSide) {\n direction = Downward\n } else {\n // stop search block element\n direction = Infinity\n }\n }\n\n index += direction\n }\n })\n\n // Store in cache before returning\n cache.props = props\n cache.result = {\n blockElem: closestBlockElem.blockElem,\n blockNode: closestBlockElem.blockNode,\n foundAtIndex: closestBlockElem.foundAtIndex,\n isFoundNodeEmptyParagraph: closestBlockElem.isFoundNodeEmptyParagraph,\n }\n\n return {\n blockElem: closestBlockElem.blockElem,\n blockNode: closestBlockElem.blockNode,\n foundAtIndex: closestBlockElem.foundAtIndex,\n isFoundNodeEmptyParagraph: closestBlockElem.isFoundNodeEmptyParagraph,\n }\n}\n", "'use client'\nexport function getBoundingClientRectWithoutTransform(elem: HTMLElement): DOMRect {\n const rect = elem.getBoundingClientRect()\n\n // Extract the translation value from the transform style\n const transformValue = getComputedStyle(elem).getPropertyValue('transform')\n if (!transformValue || transformValue === 'none') {\n return rect\n }\n\n const lastNumberOfTransformValue = transformValue.split(',').pop()\n rect.y = rect.y - Number(lastNumberOfTransformValue?.replace(')', ''))\n\n // Return the original bounding rect if no translation is applied\n return rect\n}\n", "'use client'\nexport function getCollapsedMargins(elem: HTMLElement): {\n marginBottom: number\n marginTop: number\n} {\n const getMargin = (element: Element | null, margin: 'marginBottom' | 'marginTop'): number =>\n element ? parseFloat(window.getComputedStyle(element)[margin]) : 0\n\n const { marginBottom, marginTop } = window.getComputedStyle(elem)\n const prevElemSiblingMarginBottom = getMargin(elem.previousElementSibling, 'marginBottom')\n const nextElemSiblingMarginTop = getMargin(elem.nextElementSibling, 'marginTop')\n const collapsedTopMargin = Math.max(parseFloat(marginTop), prevElemSiblingMarginBottom)\n const collapsedBottomMargin = Math.max(parseFloat(marginBottom), nextElemSiblingMarginTop)\n\n return { marginBottom: collapsedBottomMargin, marginTop: collapsedTopMargin }\n}\n", "'use client'\nimport type { LexicalEditor } from 'lexical'\n\nimport { $getRoot } from 'lexical'\n\nexport function getTopLevelNodeKeys(editor: LexicalEditor): string[] {\n return editor.getEditorState().read(() => $getRoot().getChildrenKeys())\n}\n", "'use client'\nexport function isOnHandleElement(element: HTMLElement, handleElementClassName: string): boolean {\n return !!element.closest(`.${handleElementClassName}`)\n}\n", "'use client'\nconst replacedElements = [\n 'IMG',\n 'INPUT',\n 'TEXTAREA',\n 'SELECT',\n 'BUTTON',\n 'VIDEO',\n 'OBJECT',\n 'EMBED',\n 'IFRAME',\n 'HR',\n]\n\n/**\n * From ChatGPT, only that verified it works for HR elements.\n *\n * HTML Elements can have CSS lineHeight applied to them, but it doesn't always affect the visual layout.\n * This function checks if the line-height property has an effect on the element's layout.\n * @param htmlElem\n */\nexport function doesLineHeightAffectElement(htmlElem: HTMLElement) {\n if (!htmlElem) {\n return false\n }\n\n // Check for replaced elements, elements that typically don't support line-height adjustments,\n // and elements without visible content\n\n if (\n replacedElements.includes(htmlElem.tagName) ||\n htmlElem.offsetHeight === 0 ||\n htmlElem.offsetWidth === 0\n ) {\n return false\n }\n\n // Check for specific CSS properties that negate line-height's visual effects\n const style = window.getComputedStyle(htmlElem)\n if (\n style.display === 'table-cell' ||\n style.position === 'absolute' ||\n style.visibility === 'hidden' ||\n style.opacity === '0'\n ) {\n return false\n }\n\n // This is a basic check, and there can be more complex scenarios where line-height doesn't have an effect.\n return true\n}\n", "'use client'\nimport { doesLineHeightAffectElement } from './doesLineHeightAffectElement.js'\n\nexport function setHandlePosition(\n targetElem: HTMLElement | null,\n handleElem: HTMLElement,\n anchorElem: HTMLElement,\n leftOffset: number = 0, // SPACE\n) {\n if (!targetElem) {\n handleElem.style.opacity = '0'\n handleElem.style.transform = 'translate(-10000px, -10000px)'\n return\n }\n\n const targetRect = targetElem.getBoundingClientRect()\n const targetStyle = window.getComputedStyle(targetElem)\n const floatingElemRect = handleElem.getBoundingClientRect()\n const anchorElementRect = anchorElem.getBoundingClientRect()\n\n let top: number\n\n const isBlockStyle = ['lexical-block', 'lexical-upload', 'lexical-relationship'].some((classes) =>\n targetElem.firstElementChild?.classList.contains(classes),\n )\n\n if (!isBlockStyle) {\n // No need to let line height affect the re-positioning of the floating element if line height has no\n // visual effect on the element. Otherwise, the floating element will be positioned incorrectly.\n const actualLineHeight = doesLineHeightAffectElement(targetElem)\n ? parseInt(targetStyle.lineHeight, 10)\n : 0\n\n top = targetRect.top + (actualLineHeight - floatingElemRect.height) / 2 - anchorElementRect.top\n } else {\n top = targetRect.top + 8 - anchorElementRect.top\n }\n\n const left = leftOffset\n\n handleElem.style.opacity = '1'\n handleElem.style.transform = `translate(${left}px, ${top}px)`\n}\n", "'use client'\nimport type { LexicalEditor } from 'lexical'\nimport type { DragEvent as ReactDragEvent } from 'react'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport { eventFiles } from '@lexical/rich-text'\nimport { $getNearestNodeFromDOMNode, $getNodeByKey } from 'lexical'\nimport * as React from 'react'\nimport { useEffect, useRef, useState } from 'react'\nimport { createPortal } from 'react-dom'\n\nimport { useEditorConfigContext } from '../../../config/client/EditorConfigProvider.js'\nimport { isHTMLElement } from '../../../utils/guard.js'\nimport { Point } from '../../../utils/point.js'\nimport { calculateDistanceFromScrollerElem } from '../utils/calculateDistanceFromScrollerElem.js'\nimport { getNodeCloseToPoint } from '../utils/getNodeCloseToPoint.js'\nimport { getTopLevelNodeKeys } from '../utils/getTopLevelNodeKeys.js'\nimport { isOnHandleElement } from '../utils/isOnHandleElement.js'\nimport { setHandlePosition } from '../utils/setHandlePosition.js'\nimport { getBoundingClientRectWithoutTransform } from './getBoundingRectWithoutTransform.js'\nimport './index.scss'\nimport { setTargetLine } from './setTargetLine.js'\n\nconst DRAGGABLE_BLOCK_MENU_CLASSNAME = 'draggable-block-menu'\nconst DRAG_DATA_FORMAT = 'application/x-lexical-drag-block'\n\nlet prevIndex = Infinity\n\nfunction getCurrentIndex(keysLength: number): number {\n if (keysLength === 0) {\n return Infinity\n }\n if (prevIndex >= 0 && prevIndex < keysLength) {\n return prevIndex\n }\n\n return Math.floor(keysLength / 2)\n}\n\nfunction setDragImage(dataTransfer: DataTransfer, draggableBlockElem: HTMLElement) {\n const { transform } = draggableBlockElem.style\n\n // Remove dragImage borders\n dataTransfer.setDragImage(draggableBlockElem, 0, 0)\n\n setTimeout(() => {\n draggableBlockElem.style.transform = transform\n })\n}\n\nfunction hideTargetLine(\n targetLineElem: HTMLElement | null,\n lastTargetBlockElem: HTMLElement | null,\n) {\n if (targetLineElem) {\n targetLineElem.style.opacity = '0'\n }\n if (lastTargetBlockElem) {\n lastTargetBlockElem.style.opacity = ''\n // Delete marginBottom and marginTop values we set\n lastTargetBlockElem.style.marginBottom = ''\n lastTargetBlockElem.style.marginTop = ''\n //lastTargetBlock.style.border = 'none'\n }\n}\n\nfunction useDraggableBlockMenu(\n editor: LexicalEditor,\n anchorElem: HTMLElement,\n isEditable: boolean,\n): React.ReactElement {\n const scrollerElem = anchorElem.parentElement\n\n const menuRef = useRef<HTMLDivElement>(null)\n const targetLineRef = useRef<HTMLDivElement>(null)\n const debugHighlightRef = useRef<HTMLDivElement>(null)\n const isDraggingBlockRef = useRef<boolean>(false)\n const [draggableBlockElem, setDraggableBlockElem] = useState<HTMLElement | null>(null)\n const [lastTargetBlock, setLastTargetBlock] = useState<{\n boundingBox?: DOMRect\n elem: HTMLElement | null\n isBelow: boolean\n } | null>(null)\n\n const { editorConfig } = useEditorConfigContext()\n\n const blockHandleHorizontalOffset = editorConfig?.admin?.hideGutter ? -44 : -8\n\n useEffect(() => {\n /**\n * Handles positioning of the drag handle\n */\n function onDocumentMouseMove(event: MouseEvent) {\n const target = event.target\n if (!isHTMLElement(target)) {\n return\n }\n\n const distanceFromScrollerElem = calculateDistanceFromScrollerElem(\n scrollerElem,\n event.pageX,\n event.pageY,\n target,\n )\n if (distanceFromScrollerElem === -1) {\n setDraggableBlockElem(null)\n return\n }\n\n if (isOnHandleElement(target, DRAGGABLE_BLOCK_MENU_CLASSNAME)) {\n return\n }\n\n const topLevelNodeKeys = getTopLevelNodeKeys(editor)\n\n const {\n blockElem: _draggableBlockElem,\n foundAtIndex,\n isFoundNodeEmptyParagraph,\n } = getNodeCloseToPoint({\n anchorElem,\n cache_threshold: 0,\n editor,\n horizontalOffset: -distanceFromScrollerElem,\n point: new Point(event.x, event.y),\n startIndex: getCurrentIndex(topLevelNodeKeys.length),\n useEdgeAsDefault: false,\n verbose: false,\n })\n\n prevIndex = foundAtIndex\n\n //if (DEBUG && _draggableBlockElem) {\n //targetBlockElem.style.border = '3px solid red'\n // highlightElemOriginalPosition(debugHighlightRef, _draggableBlockElem, anchorElem)\n //}\n\n if (!_draggableBlockElem && !isFoundNodeEmptyParagraph) {\n return\n }\n\n if (draggableBlockElem !== _draggableBlockElem) {\n setDraggableBlockElem(_draggableBlockElem)\n }\n }\n\n // Since the draggableBlockElem is outside the actual editor, we need to listen to the document\n // to be able to detect when the mouse is outside the editor and respect a buffer around\n // the scrollerElem to avoid the draggableBlockElem disappearing too early.\n document?.addEventListener('mousemove', onDocumentMouseMove)\n\n return () => {\n document?.removeEventListener('mousemove', onDocumentMouseMove)\n }\n }, [scrollerElem, anchorElem, editor, draggableBlockElem])\n\n useEffect(() => {\n if (menuRef.current) {\n setHandlePosition(\n draggableBlockElem,\n menuRef.current,\n anchorElem,\n blockHandleHorizontalOffset,\n )\n }\n }, [anchorElem, draggableBlockElem, blockHandleHorizontalOffset])\n\n useEffect(() => {\n function onDragover(event: DragEvent): boolean {\n if (!isDraggingBlockRef.current) {\n return false\n }\n const [isFileTransfer] = eventFiles(event)\n if (isFileTransfer) {\n return false\n }\n\n const { pageY, target } = event\n if (!isHTMLElement(target)) {\n return false\n }\n\n const distanceFromScrollerElem = calculateDistanceFromScrollerElem(\n scrollerElem,\n event.pageX,\n event.pageY,\n target,\n 100,\n 50,\n )\n\n const topLevelNodeKeys = getTopLevelNodeKeys(editor)\n\n const {\n blockElem: targetBlockElem,\n foundAtIndex,\n isFoundNodeEmptyParagraph,\n } = getNodeCloseToPoint({\n anchorElem,\n editor,\n fuzzy: true,\n horizontalOffset: -distanceFromScrollerElem,\n point: new Point(event.x, event.y),\n startIndex: getCurrentIndex(topLevelNodeKeys.length),\n useEdgeAsDefault: true,\n verbose: true,\n })\n\n prevIndex = foundAtIndex\n\n const targetLineElem = targetLineRef.current\n // targetBlockElem === null shouldn't happen\n if (targetBlockElem === null || targetLineElem === null) {\n return false\n }\n\n if (draggableBlockElem !== targetBlockElem) {\n const { isBelow, willStayInSamePosition } = setTargetLine(\n editorConfig?.admin?.hideGutter ? '0px' : '3rem',\n blockHandleHorizontalOffset +\n (editorConfig?.admin?.hideGutter\n ? (menuRef?.current?.getBoundingClientRect()?.width ?? 0)\n : -(menuRef?.current?.getBoundingClientRect()?.width ?? 0)),\n targetLineElem,\n targetBlockElem,\n lastTargetBlock!,\n pageY,\n anchorElem,\n event,\n debugHighlightRef,\n isFoundNodeEmptyParagraph,\n )\n\n // Prevent default event to be able to trigger onDrop events\n // Calling preventDefault() adds the green plus icon to the cursor,\n // indicating that the drop is allowed.\n event.preventDefault()\n\n if (!willStayInSamePosition) {\n setLastTargetBlock({\n boundingBox: targetBlockElem.getBoundingClientRect(),\n elem: targetBlockElem,\n isBelow,\n })\n }\n } else if (lastTargetBlock?.elem) {\n hideTargetLine(targetLineElem, lastTargetBlock.elem)\n setLastTargetBlock({\n boundingBox: targetBlockElem.getBoundingClientRect(),\n elem: targetBlockElem,\n isBelow: false,\n })\n }\n\n return true\n }\n\n function onDrop(event: DragEvent): boolean {\n if (!isDraggingBlockRef.current) {\n return false\n }\n const [isFileTransfer] = eventFiles(event)\n if (isFileTransfer) {\n return false\n }\n const { dataTransfer, pageY, target } = event\n const dragData = dataTransfer?.getData(DRAG_DATA_FORMAT) || ''\n\n editor.update(() => {\n const draggedNode = $getNodeByKey(dragData)\n if (!draggedNode) {\n return false\n }\n if (!isHTMLElement(target)) {\n return false\n }\n const distanceFromScrollerElem = calculateDistanceFromScrollerElem(\n scrollerElem,\n event.pageX,\n event.pageY,\n target,\n 100,\n 50,\n )\n\n const { blockElem: targetBlockElem, isFoundNodeEmptyParagraph } = getNodeCloseToPoint({\n anchorElem,\n editor,\n fuzzy: true,\n horizontalOffset: -distanceFromScrollerElem,\n point: new Point(event.x, event.y),\n useEdgeAsDefault: true,\n })\n\n if (!targetBlockElem) {\n return false\n }\n const targetNode = $getNearestNodeFromDOMNode(targetBlockElem)\n if (!targetNode) {\n return false\n }\n if (targetNode === draggedNode) {\n return true\n }\n\n const { height: targetBlockElemHeight, top: targetBlockElemTop } =\n getBoundingClientRectWithoutTransform(targetBlockElem)\n\n const mouseY = pageY\n const isBelow = mouseY >= targetBlockElemTop + targetBlockElemHeight / 2 + window.scrollY\n\n if (!isFoundNodeEmptyParagraph) {\n if (isBelow) {\n // below targetBlockElem\n targetNode.insertAfter(draggedNode)\n } else {\n // above targetBlockElem\n targetNode.insertBefore(draggedNode)\n }\n } else {\n //\n targetNode.insertBefore(draggedNode)\n targetNode.remove()\n }\n\n /*\n if (pageY >= targetBlockElemTop + targetBlockElemHeight / 2) {\n targetNode.insertAfter(draggedNode)\n } else {\n targetNode.insertBefore(draggedNode)\n }*/\n if (draggableBlockElem !== null) {\n setDraggableBlockElem(null)\n }\n\n // find all previous elements with lexical-block-highlighter class and remove them\n const allPrevHighlighters = document.querySelectorAll('.lexical-block-highlighter')\n allPrevHighlighters.forEach((highlighter) => {\n highlighter.remove()\n })\n\n const newInsertedElem = editor.getElementByKey(draggedNode.getKey())\n setTimeout(() => {\n // add new temp html element to newInsertedElem with the same height and width and the class block-selected\n // to highlight the new inserted element\n const newInsertedElemRect = newInsertedElem?.getBoundingClientRect()\n if (!newInsertedElemRect) {\n return\n }\n const highlightElem = document.createElement('div')\n highlightElem.className = 'lexical-block-highlighter'\n\n highlightElem.style.backgroundColor = 'var(--theme-elevation-1000'\n highlightElem.style.transition = 'opacity 0.5s ease-in-out'\n highlightElem.style.zIndex = '1'\n highlightElem.style.pointerEvents = 'none'\n highlightElem.style.boxSizing = 'border-box'\n highlightElem.style.borderRadius = '4px'\n highlightElem.style.position = 'absolute'\n document.body.appendChild(highlightElem)\n\n highlightElem.style.opacity = '0.1'\n\n highlightElem.style.height = `${newInsertedElemRect.height + 8}px`\n highlightElem.style.width = `${newInsertedElemRect.width + 8}px`\n highlightElem.style.top = `${newInsertedElemRect.top + window.scrollY - 4}px`\n highlightElem.style.left = `${newInsertedElemRect.left - 4}px`\n\n setTimeout(() => {\n highlightElem.style.opacity = '0'\n setTimeout(() => {\n highlightElem.remove()\n }, 500)\n }, 1000)\n }, 120)\n })\n\n return true\n }\n\n // register onDragover event listeners:\n document.addEventListener('dragover', onDragover)\n // register onDrop event listeners:\n document.addEventListener('drop', onDrop)\n\n return () => {\n document.removeEventListener('dragover', onDragover)\n document.removeEventListener('drop', onDrop)\n }\n }, [\n scrollerElem,\n blockHandleHorizontalOffset,\n anchorElem,\n editor,\n lastTargetBlock,\n draggableBlockElem,\n editorConfig?.admin?.hideGutter,\n ])\n\n function onDragStart(event: ReactDragEvent<HTMLDivElement>): void {\n const dataTransfer = event.dataTransfer\n if (!dataTransfer || !draggableBlockElem) {\n return\n }\n setDragImage(dataTransfer, draggableBlockElem)\n let nodeKey = ''\n editor.update(() => {\n const node = $getNearestNodeFromDOMNode(draggableBlockElem)\n if (node) {\n nodeKey = node.getKey()\n }\n })\n isDraggingBlockRef.current = true\n dataTransfer.setData(DRAG_DATA_FORMAT, nodeKey)\n }\n\n function onDragEnd(): void {\n isDraggingBlockRef.current = false\n if (lastTargetBlock?.elem) {\n hideTargetLine(targetLineRef.current, lastTargetBlock?.elem)\n }\n }\n\n return createPortal(\n <React.Fragment>\n <div\n className=\"icon draggable-block-menu\"\n draggable\n onDragEnd={onDragEnd}\n onDragStart={onDragStart}\n ref={menuRef}\n >\n <div className={isEditable ? 'icon' : ''} />\n </div>\n <div className=\"draggable-block-target-line\" ref={targetLineRef} />\n <div className=\"debug-highlight\" ref={debugHighlightRef} />\n </React.Fragment>,\n anchorElem,\n )\n}\n\nexport function DraggableBlockPlugin({\n anchorElem = document.body,\n}: {\n anchorElem?: HTMLElement\n}): React.ReactElement {\n const [editor] = useLexicalComposerContext()\n return useDraggableBlockMenu(editor, anchorElem, editor._editable)\n}\n", "'use client'\nimport { getCollapsedMargins } from '../utils/getCollapsedMargins.js'\nconst TARGET_LINE_HALF_HEIGHT = 0\nconst TEXT_BOX_HORIZONTAL_PADDING = -24\nconst DEBUG = false\n\nlet animationTimer = 0\n\nexport function setTargetLine(\n offsetWidth: string,\n offsetLeft: number,\n targetLineElem: HTMLElement,\n targetBlockElem: HTMLElement,\n lastTargetBlock: {\n boundingBox?: DOMRect\n elem: HTMLElement | null\n isBelow: boolean\n },\n mouseY: number,\n anchorElem: HTMLElement,\n event: DragEvent,\n debugHighlightRef: React.RefObject<HTMLDivElement | null>,\n isFoundNodeEmptyParagraph: boolean = false,\n) {\n const { height: targetBlockElemHeight, top: targetBlockElemTop } =\n targetBlockElem.getBoundingClientRect() // used to be getBoundingClientRectWithoutTransform. Not sure what's better, but the normal getBoundingClientRect seems to work fine\n const { top: anchorTop, width: anchorWidth } = anchorElem.getBoundingClientRect()\n\n const { marginBottom, marginTop } = getCollapsedMargins(targetBlockElem)\n let lineTop = targetBlockElemTop\n\n const isBelow = mouseY >= targetBlockElemTop + targetBlockElemHeight / 2 + window.scrollY\n\n let willStayInSamePosition = false\n\n /**\n * Do not run any transform or changes if the actual new line position would be the same (even if it's now inserted BEFORE rather than AFTER - position would still be the same)\n * This prevents unnecessary flickering.\n *\n * We still need to let it run even if the position (IGNORING the transform) would not change, as the transform animation is not finished yet. This is what animationTimer does. Otherwise, the positioning will be inaccurate\n */\n if (lastTargetBlock?.elem) {\n if (targetBlockElem !== lastTargetBlock?.elem) {\n if (\n isBelow &&\n lastTargetBlock?.elem &&\n lastTargetBlock?.elem === targetBlockElem.nextElementSibling\n ) {\n animationTimer++\n\n if (animationTimer < 200) {\n willStayInSamePosition = true\n }\n } else if (\n !isBelow &&\n lastTargetBlock?.elem &&\n lastTargetBlock?.elem === targetBlockElem.previousElementSibling\n ) {\n animationTimer++\n if (animationTimer < 200) {\n willStayInSamePosition = true\n }\n }\n } else {\n animationTimer++\n\n const lastBoundingBoxPosition = lastTargetBlock?.boundingBox?.y\n const currentBoundingBoxPosition = targetBlockElem.getBoundingClientRect().y\n\n if (\n (isBelow === lastTargetBlock?.isBelow &&\n lastBoundingBoxPosition === currentBoundingBoxPosition) ||\n animationTimer < 200\n ) {\n willStayInSamePosition = false\n }\n }\n }\n if (willStayInSamePosition) {\n return {\n isBelow,\n willStayInSamePosition,\n }\n }\n\n /**\n * Paragraphs need no isBelow/above handling,\n */\n if (!isFoundNodeEmptyParagraph) {\n //if (!isFoundNodeEmptyParagraph) {\n if (isBelow) {\n // below targetBlockElem\n lineTop += targetBlockElemHeight + marginBottom / 2\n } else {\n // above targetBlockElem\n lineTop -= marginTop / 2\n }\n } else {\n lineTop += targetBlockElemHeight / 2\n }\n\n let targetElemTranslate2 = 0\n\n if (!isFoundNodeEmptyParagraph) {\n if (isBelow) {\n targetElemTranslate2 = -TARGET_LINE_HALF_HEIGHT\n } else {\n targetElemTranslate2 = TARGET_LINE_HALF_HEIGHT\n }\n }\n\n const top = lineTop - anchorTop + targetElemTranslate2\n\n const left = TEXT_BOX_HORIZONTAL_PADDING - offsetLeft\n\n targetLineElem.style.width = `calc(${anchorWidth}px - ${offsetWidth})`\n targetLineElem.style.opacity = '.8'\n\n // if (DEBUG) {\n // //targetBlockElem.style.border = '3px solid red'\n // highlightElemOriginalPosition(debugHighlightRef, targetBlockElem, anchorElem)\n // }\n\n targetLineElem.style.transform = `translate(${left}px, calc(${top}px - ${'2px'}))`\n\n /**\n * Properly reset previous targetBlockElem styles\n */\n if (lastTargetBlock?.elem) {\n lastTargetBlock.elem.style.opacity = ''\n\n if (lastTargetBlock?.elem === targetBlockElem) {\n if (isBelow) {\n lastTargetBlock.elem.style.marginTop = ''\n } else {\n lastTargetBlock.elem.style.marginBottom = ''\n }\n } else {\n lastTargetBlock.elem.style.marginBottom = ''\n lastTargetBlock.elem.style.marginTop = ''\n }\n }\n\n animationTimer = 0\n return {\n isBelow,\n willStayInSamePosition,\n }\n}\n", "'use client'\n\nimport { MarkdownShortcutPlugin as LexicalMarkdownShortcutPlugin } from '@lexical/react/LexicalMarkdownShortcutPlugin.js'\nimport * as React from 'react'\n\nimport { useEditorConfigContext } from '../../config/client/EditorConfigProvider.js'\n\nexport const MarkdownShortcutPlugin: React.FC = () => {\n const { editorConfig } = useEditorConfigContext()\n\n return <LexicalMarkdownShortcutPlugin transformers={editorConfig.features.markdownTransformers} />\n}\n", "'use client'\nimport type { TextNode } from 'lexical'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport { useTranslation } from '@payloadcms/ui'\nimport { useCallback, useMemo, useState } from 'react'\nimport * as React from 'react'\nimport * as ReactDOM from 'react-dom'\n\nimport type {\n SlashMenuGroup,\n SlashMenuGroupInternal,\n SlashMenuItemInternal,\n SlashMenuItem as SlashMenuItemType,\n} from './LexicalTypeaheadMenuPlugin/types.js'\n\nimport { useEditorConfigContext } from '../../config/client/EditorConfigProvider.js'\nimport './index.scss'\nimport { LexicalTypeaheadMenuPlugin } from './LexicalTypeaheadMenuPlugin/index.js'\nimport { useMenuTriggerMatch } from './useMenuTriggerMatch.js'\n\nconst baseClass = 'slash-menu-popup'\n\nfunction SlashMenuItem({\n isSelected,\n item,\n onClick,\n onMouseEnter,\n}: {\n index: number\n isSelected: boolean\n item: SlashMenuItemInternal\n onClick: () => void\n onMouseEnter: () => void\n}) {\n const {\n fieldProps: { featureClientSchemaMap, schemaPath },\n } = useEditorConfigContext()\n\n const { i18n } = useTranslation()\n\n let className = `${baseClass}__item ${baseClass}__item-${item.key}`\n if (isSelected) {\n className += ` ${baseClass}__item--selected`\n }\n\n let title = item.key\n if (item.label) {\n title =\n typeof item.label === 'function'\n ? item.label({ featureClientSchemaMap, i18n, schemaPath })\n : item.label\n }\n // Crop title to max. 25 characters\n if (title.length > 25) {\n title = title.substring(0, 25) + '...'\n }\n\n return (\n <button\n aria-selected={isSelected}\n className={className}\n id={baseClass + '__item-' + item.key}\n key={item.key}\n onClick={onClick}\n onMouseEnter={onMouseEnter}\n ref={(element) => {\n item.ref = { current: element }\n }}\n role=\"option\"\n tabIndex={-1}\n type=\"button\"\n >\n {item?.Icon && <item.Icon />}\n\n <span className={`${baseClass}__item-text`}>{title}</span>\n </button>\n )\n}\n\nexport function SlashMenuPlugin({\n anchorElem = document.body,\n}: {\n anchorElem?: HTMLElement\n}): React.ReactElement {\n const [editor] = useLexicalComposerContext()\n const [queryString, setQueryString] = useState<null | string>(null)\n const { editorConfig } = useEditorConfigContext()\n const { i18n } = useTranslation()\n const {\n fieldProps: { featureClientSchemaMap, schemaPath },\n } = useEditorConfigContext()\n\n const checkForTriggerMatch = useMenuTriggerMatch('/', {\n minLength: 0,\n })\n\n const getDynamicItems = useCallback(() => {\n let groupWithItems: Array<SlashMenuGroup> = []\n\n for (const dynamicItem of editorConfig.features.slashMenu.dynamicGroups) {\n if (queryString) {\n const dynamicGroupWithItems = dynamicItem({\n editor,\n queryString,\n })\n groupWithItems = groupWithItems.concat(dynamicGroupWithItems)\n }\n }\n\n return groupWithItems\n }, [editor, queryString, editorConfig?.features])\n\n const groups: SlashMenuGroup[] = useMemo(() => {\n let groupsWithItems: SlashMenuGroup[] = []\n for (const groupWithItem of editorConfig?.features.slashMenu.groups ?? []) {\n groupsWithItems.push(groupWithItem)\n }\n\n if (queryString) {\n // Filter current groups first\n // @ts-expect-error - TODO: fix this\n groupsWithItems = groupsWithItems.map((group) => {\n const filteredItems = group.items.filter((item) => {\n let itemTitle = item.key\n if (item.label) {\n itemTitle =\n typeof item.label === 'function'\n ? item.label({ featureClientSchemaMap, i18n, schemaPath })\n : item.label\n }\n\n if (new RegExp(queryString, 'gi').exec(itemTitle)) {\n return true\n }\n if (item.keywords != null) {\n return item.keywords.some((keyword) => new RegExp(queryString, 'gi').exec(keyword))\n }\n return false\n })\n if (filteredItems.length) {\n return {\n ...group,\n items: filteredItems,\n }\n }\n return null\n })\n\n groupsWithItems = groupsWithItems.filter((group) => group != null)\n\n // Now add dynamic groups\n const dynamicItemGroups = getDynamicItems()\n\n // merge dynamic items into groups\n for (const dynamicGroup of dynamicItemGroups) {\n // 1. find the group with the same name or create new one\n let group = groupsWithItems.find((group) => group.key === dynamicGroup.key)\n if (!group) {\n group = {\n ...dynamicGroup,\n items: [],\n }\n } else {\n groupsWithItems = groupsWithItems.filter((group) => group.key !== dynamicGroup.key)\n }\n\n // 2. Add items to group items array and add to sanitized.slashMenu.groupsWithItems\n if (group?.items?.length) {\n group.items = group.items.concat(group.items)\n }\n groupsWithItems.push(group)\n }\n }\n\n return groupsWithItems\n }, [\n queryString,\n editorConfig?.features.slashMenu.groups,\n getDynamicItems,\n featureClientSchemaMap,\n i18n,\n schemaPath,\n ])\n\n const onSelectItem = useCallback(\n (selectedItem: SlashMenuItemType, closeMenu: () => void, matchingString: string) => {\n closeMenu()\n\n selectedItem.onSelect({ editor, queryString: matchingString })\n },\n [editor],\n )\n\n return (\n <LexicalTypeaheadMenuPlugin\n anchorElem={anchorElem}\n groups={groups as SlashMenuGroupInternal[]}\n menuRenderFn={(\n anchorElementRef,\n { selectedItemKey, selectItemAndCleanUp, setSelectedItemKey },\n ) =>\n anchorElementRef.current && groups.length\n ? ReactDOM.createPortal(\n <div className={baseClass}>\n {groups.map((group) => {\n let groupTitle = group.key\n if (group.label && featureClientSchemaMap) {\n groupTitle =\n typeof group.label === 'function'\n ? group.label({ featureClientSchemaMap, i18n, schemaPath })\n : group.label\n }\n\n return (\n <div\n className={`${baseClass}__group ${baseClass}__group-${group.key}`}\n key={group.key}\n >\n <div className={`${baseClass}__group-title`}>{groupTitle}</div>\n {group.items.map((item, oi: number) => (\n <SlashMenuItem\n index={oi}\n isSelected={selectedItemKey === item.key}\n item={item as SlashMenuItemInternal}\n key={item.key}\n onClick={() => {\n setSelectedItemKey(item.key)\n selectItemAndCleanUp(item)\n }}\n onMouseEnter={() => {\n setSelectedItemKey(item.key)\n }}\n />\n ))}\n </div>\n )\n })}\n </div>,\n anchorElementRef.current,\n )\n : null\n }\n onQueryChange={setQueryString}\n onSelectItem={onSelectItem}\n triggerFn={checkForTriggerMatch}\n />\n )\n}\n", "'use client'\nimport type { LexicalEditor } from 'lexical'\n\nimport { useCallback } from 'react'\n\nimport { PUNCTUATION } from './LexicalTypeaheadMenuPlugin/index.js'\n\nexport type TriggerFn = ({\n editor,\n query,\n}: {\n editor: LexicalEditor\n /** The query string is the POTENTIAL trigger AND the text after the trigger text. */\n query: string\n}) => MenuTextMatch | null\n\nexport type MenuTextMatch = {\n leadOffset: number\n matchingString: string\n replaceableString: string\n}\n\n/**\n * Returns a function which checks if the trigger (e.g. '/') is present in the query and, if so, returns the matching string (text after the trigger)\n */\nexport function useMenuTriggerMatch(\n /**\n * Text which triggers the menu. Everything after this text will be used as the query.\n */\n trigger: string,\n { maxLength = 75, minLength = 1 }: { maxLength?: number; minLength?: number },\n): TriggerFn {\n return useCallback(\n ({ query }) => {\n const validChars = '[^' + trigger + PUNCTUATION + '\\\\s]'\n const TypeaheadTriggerRegex = new RegExp(\n '(^|\\\\s|\\\\()(' +\n '[' +\n trigger +\n ']' +\n '((?:' +\n validChars +\n '){0,' +\n maxLength +\n '})' +\n ')$',\n )\n const match = TypeaheadTriggerRegex.exec(query)\n if (match !== null) {\n const maybeLeadingWhitespace = match[1]\n\n /**\n * matchingString is only the text AFTER the trigger text. (So everything after the /)\n */\n const matchingString = match[3]\n\n if (matchingString.length >= minLength) {\n return {\n leadOffset: match.index + maybeLeadingWhitespace.length,\n matchingString,\n replaceableString: match[2], // replaceableString is the trigger text + the matching string\n }\n }\n }\n return null\n },\n [maxLength, minLength, trigger],\n )\n}\n", "'use client'\nimport type { JSX } from 'react'\n\nimport { ContentEditable } from '@lexical/react/LexicalContentEditable.js'\nimport { useTranslation } from '@payloadcms/ui'\nimport * as React from 'react'\n\nimport './ContentEditable.scss'\n\nexport function LexicalContentEditable({ className }: { className?: string }): JSX.Element {\n const { t } = useTranslation<{}, string>()\n\n return (\n <ContentEditable\n aria-placeholder={t('lexical:general:placeholder')}\n className={className ?? 'ContentEditable__root'}\n placeholder={<p className=\"editor-placeholder\">{t('lexical:general:placeholder')}</p>}\n />\n )\n}\n"],
5
+ "mappings": "wMAGA,OAASA,cAAAA,GAAYC,gBAAAA,GAAcC,YAAAA,GAAUC,iBAAAA,OAAqB,iBAClE,OAAgBC,eAAAA,OAAmB,QACnC,OAASC,iBAAAA,OAAqB,+DCA9B,OAASC,mBAAAA,OAA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AC,MAAA,CACCtC,UAAWgC,EAEX7B,MAAO,CACL,GAAGA,EACHC,MAAAA,CACF,YAECmB,EACAC,GAASe,GAACC,GAAA,CAAWnC,MAAOA,EAAOC,UAAWA,EAAWC,SAAUA,IACpE+B,GAAC,MAAA,CAAItC,UAAW,GAAGP,EAAA,mBACjB6C,GAACG,GAAA,CAAcC,eAAgBA,GAAgBC,QAASA,IAAA,CAAO,YAC5DtB,EACDkB,GAACK,GAAA,CACCC,YAAaR,EACbzC,aAAcA,EACdkD,WAAYnD,EAEZoD,SAAWC,GAAA,CACT,IAAIC,EAAwBD,EAAYE,OAAM,EAG1CtD,GAAcuD,UAAUC,OAAOC,MAAMC,QACvC1D,EAAauD,SAASC,MAAMC,KAAKE,QAASC,IAAA,CACxCP,EAAwBO,GAAK,CAAEC,oBAAqBR,CAAsB,CAAA,CAC5E,CAAA,EAGFrB,EAASqB,CAAA,CACX,EACAhD,SAAU8B,EACVd,MAAOA,GAdFyC,KAAKC,UAAU,CAAEhC,aAAAA,EAAcnB,KAAAA,CAAK,CAAA,CAAA,EAgB1CY,CAAA,IAEFE,CAAA,MAjCEe,CAAA,CAqCX,EAEA,SAASK,GAAe,CAAEkB,MAAAA,CAAK,EAAE,CAG/B,OACEtB,GAAC,MAAA,CAAItC,UAAU,gBAAgB6D,KAAK,kBAClCtB,GAAC,IAAA,UAAE,0BACHA,GAAC,MAAA,CAAIpC,MAAO,CAAE2D,MAAO,KAAM,WAAIF,EAAMG,YAG3C,CAEO,IAAMC,GAAqCC,GAAcvE,EAAA",
6
+ "names": ["FieldLabel", "useEditDepth", "useField", "withCondition", "useCallback", "ErrorBoundary", "LexicalComposer", "React", "useMemo", "c", "_c", "useLexicalComposerContext", "LexicalErrorBoundary", "HistoryPlugin", "OnChangePlugin", "RichTextPlugin", "TabIndentationPlugin", "BLUR_COMMAND", "COMMAND_PRIORITY_LOW", "FOCUS_COMMAND", "React", "useEffect", "useState", "EditorPlugin", "anchorElem", "clientProps", "plugin", "position", "Component", "_jsx", "useLexicalComposerContext", "$createParagraphNode", "React", "useCallback", "useEffect", "useRef", "useState", "createPortal", "calculateDistanceFromScrollerElem", "scrollerElem", "pageX", "pageY", "target", "horizontalBuffer", "verticalBuffer", "distanceFromScrollerElem", "contains", "bottom", "left", "right", "top", "getBoundingClientRect", "adjustedTop", "window", "scrollY", "adjustedBottom", "$getNodeByKey", "getBoundingClientRectWithoutTransform", "elem", "rect", "getBoundingClientRect", "transformValue", "getComputedStyle", "getPropertyValue", "lastNumberOfTransformValue", "split", "pop", "y", "Number", "replace", "getCollapsedMargins", "elem", "getMargin", "element", "margin", "parseFloat", "window", "getComputedStyle", "marginBottom", "marginTop", "prevElemSiblingMarginBottom", "previousElementSibling", "nextElemSiblingMarginTop", "nextElementSibling", "collapsedTopMargin", "Math", "max", "$getRoot", "getTopLevelNodeKeys", "editor", "getEditorState", "read", "getChildrenKeys", "Downward", "Upward", "Indeterminate", "cache", "props", "result", "isPointClose", "previous", "current", "threshold", "dx", "x", "dy", "y", "getNodeCloseToPoint", "anchorElem", "cache_threshold", "editor", "fuzzy", "horizontalOffset", "point", "startIndex", "useEdgeAsDefault", "anchorElementRect", "getBoundingClientRect", "topLevelNodeKeys", "getTopLevelNodeKeys", "closestBlockElem", "blockElem", "blockNode", "distance", "Infinity", "foundAtIndex", "isFoundNodeEmptyParagraph", "getEditorState", "read", "firstNode", "lastNode", "getElementByKey", "length", "firstNodeRect", "lastNodeRect", "getBoundingClientRectWithoutTransform", "top", "$getNodeByKey", "bottom", "index", "direction", "key", "elem", "Point", "domRect", "Rect", "fromDOMRect", "marginBottom", "marginTop", "getCollapsedMargins", "rect", "generateNewRect", "left", "right", "isOnBottomSide", "isOnTopSide", "distanceFromPoint", "getType", "getTextContent", "returnEmptyParagraphs", "isOnHandleElement", "element", "handleElementClassName", "closest", "replacedElements", "doesLineHeightAffectElement", "htmlElem", "includes", "tagName", "offsetHeight", "offsetWidth", "style", "window", "getComputedStyle", "display", "position", "visibility", "opacity", "setHandlePosition", "targetElem", "handleElem", "anchorElem", "leftOffset", "style", "opacity", "transform", "targetRect", "getBoundingClientRect", "targetStyle", "window", "getComputedStyle", "floatingElemRect", "anchorElementRect", "top", "some", "classes", "firstElementChild", "classList", "contains", "actualLineHeight", "doesLineHeightAffectElement", "parseInt", "lineHeight", "height", "left", "ADD_BLOCK_MENU_CLASSNAME", "prevIndex", "Infinity", "getCurrentIndex", "keysLength", "Math", "floor", "useAddBlockHandle", "editor", "anchorElem", "isEditable", "scrollerElem", "parentElement", "editorConfig", "useEditorConfigContext", "blockHandleHorizontalOffset", "admin", "hideGutter", "menuRef", "useRef", "hoveredElement", "setHoveredElement", "useState", "useEffect", "onDocumentMouseMove", "event", "target", "isHTMLElement", "distanceFromScrollerElem", "calculateDistanceFromScrollerElem", "pageX", "pageY", "isOnHandleElement", "topLevelNodeKeys", "getTopLevelNodeKeys", "blockElem", "_emptyBlockElem", "blockNode", "foundAtIndex", "getNodeCloseToPoint", "cache_threshold", "horizontalOffset", "point", "Point", "x", "y", "returnEmptyParagraphs", "startIndex", "length", "useEdgeAsDefault", "node", "elem", "document", "addEventListener", "removeEventListener", "current", "setHandlePosition", "handleAddClick", "useCallback", "hoveredElementToUse", "update", "isEmptyParagraph", "getType", "getTextContent", "newParagraph", "$createParagraphNode", "insertAfter", "setTimeout", "getElementByKey", "getKey", "focus", "select", "dispatchCommand", "ENABLE_SLASH_MENU_COMMAND", "stopPropagation", "preventDefault", "createPortal", "_jsx", "Fragment", "className", "onClick", "ref", "type", "AddBlockHandlePlugin", "t0", "t1", "undefined", "body", "useLexicalComposerContext", "_editable", "useLexicalComposerContext", "eventFiles", "$getNearestNodeFromDOMNode", "$getNodeByKey", "React", "useEffect", "useRef", "useState", "createPortal", "TARGET_LINE_HALF_HEIGHT", "TEXT_BOX_HORIZONTAL_PADDING", "animationTimer", "setTargetLine", "offsetWidth", "offsetLeft", "targetLineElem", "targetBlockElem", "lastTargetBlock", "mouseY", "anchorElem", "event", "debugHighlightRef", "isFoundNodeEmptyParagraph", "height", "targetBlockElemHeight", "top", "targetBlockElemTop", "getBoundingClientRect", "anchorTop", "width", "anchorWidth", "marginBottom", "marginTop", "getCollapsedMargins", "lineTop", "isBelow", "window", "scrollY", "willStayInSamePosition", "elem", "nextElementSibling", "previousElementSibling", "lastBoundingBoxPosition", "boundingBox", "y", "currentBoundingBoxPosition", "targetElemTranslate2", "TARGET_LINE_HALF_HEIGHT", "left", "TEXT_BOX_HORIZONTAL_PADDING", "style", "opacity", "transform", "DRAGGABLE_BLOCK_MENU_CLASSNAME", "DRAG_DATA_FORMAT", "prevIndex", "Infinity", "getCurrentIndex", "keysLength", "Math", "floor", "setDragImage", "dataTransfer", "draggableBlockElem", "transform", "style", "setTimeout", "hideTargetLine", "targetLineElem", "lastTargetBlockElem", "opacity", "marginBottom", "marginTop", "useDraggableBlockMenu", "editor", "anchorElem", "isEditable", "scrollerElem", "parentElement", "menuRef", "useRef", "targetLineRef", "debugHighlightRef", "isDraggingBlockRef", "setDraggableBlockElem", "useState", "lastTargetBlock", "setLastTargetBlock", "editorConfig", "useEditorConfigContext", "blockHandleHorizontalOffset", "admin", "hideGutter", "useEffect", "onDocumentMouseMove", "event", "target", "isHTMLElement", "distanceFromScrollerElem", "calculateDistanceFromScrollerElem", "pageX", "pageY", "isOnHandleElement", "topLevelNodeKeys", "getTopLevelNodeKeys", "blockElem", "_draggableBlockElem", "foundAtIndex", "isFoundNodeEmptyParagraph", "getNodeCloseToPoint", "cache_threshold", "horizontalOffset", "point", "Point", "x", "y", "startIndex", "length", "useEdgeAsDefault", "verbose", "document", "addEventListener", "removeEventListener", "current", "setHandlePosition", "onDragover", "isFileTransfer", "eventFiles", "targetBlockElem", "fuzzy", "isBelow", "willStayInSamePosition", "setTargetLine", "getBoundingClientRect", "width", "preventDefault", "boundingBox", "elem", "onDrop", "dragData", "getData", "update", "draggedNode", "$getNodeByKey", "targetNode", "$getNearestNodeFromDOMNode", "height", "targetBlockElemHeight", "top", "targetBlockElemTop", "getBoundingClientRectWithoutTransform", "window", "scrollY", "insertBefore", "remove", "insertAfter", "querySelectorAll", "forEach", "highlighter", "newInsertedElem", "getElementByKey", "getKey", "newInsertedElemRect", "highlightElem", "createElement", "className", "backgroundColor", "transition", "zIndex", "pointerEvents", "boxSizing", "borderRadius", "position", "body", "appendChild", "left", "onDragStart", "nodeKey", "node", "setData", "onDragEnd", "createPortal", "_jsxs", "Fragment", "_jsx", "draggable", "ref", "DraggableBlockPlugin", "t0", "t1", "undefined", "useLexicalComposerContext", "_editable", "c", "_c", "MarkdownShortcutPlugin", "LexicalMarkdownShortcutPlugin", "MarkdownShortcutPlugin", "$", "_c", "editorConfig", "useEditorConfigContext", "t0", "features", "markdownTransformers", "_jsx", "LexicalMarkdownShortcutPlugin", "transformers", "useLexicalComposerContext", "useTranslation", "useCallback", "useMemo", "useState", "ReactDOM", "c", "_c", "useMenuTriggerMatch", "trigger", "t0", "$", "_c", "maxLength", "t1", "minLength", "t2", "undefined", "t3", "t4", "query", "validChars", "PUNCTUATION", "match", "RegExp", "exec", "maybeLeadingWhitespace", "matchingString", "length", "leadOffset", "index", "replaceableString", "baseClass", "SlashMenuItem", "isSelected", "item", "onClick", "onMouseEnter", "fieldProps", "featureClientSchemaMap", "schemaPath", "useEditorConfigContext", "i18n", "useTranslation", "className", "key", "title", "label", "length", "substring", "_jsxs", "id", "ref", "element", "current", "role", "tabIndex", "type", "Icon", "_jsx", "SlashMenuPlugin", "anchorElem", "document", "body", "editor", "useLexicalComposerContext", "queryString", "setQueryString", "useState", "editorConfig", "checkForTriggerMatch", "useMenuTriggerMatch", "minLength", "getDynamicItems", "useCallback", "groupWithItems", "dynamicItem", "features", "slashMenu", "dynamicGroups", "dynamicGroupWithItems", "concat", "groups", "useMemo", "groupsWithItems", "groupWithItem", "push", "map", "group", "filteredItems", "items", "filter", "itemTitle", "RegExp", "exec", "keywords", "some", "keyword", "dynamicItemGroups", "dynamicGroup", "find", "onSelectItem", "selectedItem", "closeMenu", "matchingString", "onSelect", "LexicalTypeaheadMenuPlugin", "menuRenderFn", "anchorElementRef", "selectedItemKey", "selectItemAndCleanUp", "setSelectedItemKey", "createPortal", "groupTitle", "oi", "index", "onQueryChange", "triggerFn", "c", "_c", "ContentEditable", "useTranslation", "LexicalContentEditable", "t0", "$", "className", "t", "t1", "_jsx", "placeholder", "children", "LexicalEditor", "props", "$", "_c", "editorConfig", "editorContainerRef", "onChange", "editorConfigContext", "useEditorConfigContext", "editor", "useLexicalComposerContext", "floatingAnchorElem", "setFloatingAnchorElem", "useState", "t0", "Symbol", "for", "_floatingAnchorElem", "onRef", "t1", "t2", "uuid", "console", "error", "parentEditor", "registerChild", "handleFocus", "focusEditor", "handleBlur", "blurEditor", "unregisterFocus", "registerCommand", "FOCUS_COMMAND", "COMMAND_PRIORITY_LOW", "unregisterBlur", "BLUR_COMMAND", "unregisterChild", "useEffect", "isSmallWidthViewport", "setIsSmallWidthViewport", "t3", "t4", "updateViewPortWidth", "isNextSmallWidthViewport", "window", "matchMedia", "matches", "addEventListener", "removeEventListener", "t5", "features", "t6", "editorState", "editor_0", "tags", "has", "size", "t7", "_jsxs", "Fragment", "children", "isEditable", "_jsx", "DraggableBlockPlugin", "anchorElem", "AddBlockHandlePlugin", "plugins", "map", "plugin_1", "plugin", "position", "desktopOnly", "EditorPlugin", "clientProps", "key", "SlashMenuPlugin", "_temp", "className", "ref", "_temp2", "RichTextPlugin", "contentEditable", "LexicalContentEditable", "OnChangePlugin", "ignoreSelectionChange", "HistoryPlugin", "markdownTransformers", "length", "MarkdownShortcutPlugin", "TabIndentationPlugin", "_temp3", "_temp4", "_temp5", "plugin_0", "plugin_2", "plugin_3", "plugin_4", "NestProviders", "children", "providers", "length", "Component", "_jsx", "slice", "LexicalProvider", "props", "composerKey", "editorConfig", "fieldProps", "onChange", "readOnly", "value", "parentContext", "useEditorConfigContext", "editorContainerRef", "useRef", "processedValue", "useMemo", "processed", "features", "hooks", "load", "forEach", "hook", "incomingEditorState", "initialConfig", "Error", "JSON", "stringify", "Array", "isArray", "editable", "editorState", "undefined", "namespace", "lexical", "nodes", "getEnabledNodes", "onError", "error", "theme", "LexicalComposer", "EditorConfigProvider", "LexicalEditorComponent", "baseClass", "RichTextComponent", "props", "editorConfig", "field", "name", "admin", "className", "readOnly", "readOnlyFromAdmin", "style", "width", "label", "localized", "required", "path", "pathFromProps", "readOnlyFromTopLevelProps", "validate", "readOnlyFromProps", "editDepth", "useEditDepth", "memoizedValidate", "useCallback", "value", "validationOptions", "customComponents", "AfterInput", "BeforeInput", "Description", "Error", "Label", "formInitializing", "formProcessing", "initialValue", "setValue", "showError", "useField", "disabled", "classes", "hideGutter", "filter", "Boolean", "join", "pathWithEditDepth", "_jsxs", "_jsx", "FieldLabel", "ErrorBoundary", "fallbackRender", "onReset", "LexicalProvider", "composerKey", "fieldProps", "onChange", "editorState", "serializedEditorState", "toJSON", "features", "hooks", "save", "length", "forEach", "hook", "incomingEditorState", "JSON", "stringify", "error", "role", "color", "message", "RichText", "withCondition"]
7
+ }
@@ -0,0 +1,2 @@
1
+ "use client";import{a as S,d as w}from"./chunk-MI5HS4QX.js";import{a as x}from"./chunk-5PBXL4HT.js";import{b as E}from"./chunk-CUIBIFW2.js";import{jsx as l,jsxs as h}from"react/jsx-runtime";import{useLexicalComposerContext as W}from"@lexical/react/LexicalComposerContext.js";import{useLexicalNodeSelection as Y}from"@lexical/react/useLexicalNodeSelection.js";import{mergeRegister as H}from"@lexical/utils";import{getTranslation as U}from"@payloadcms/translations";import{Button as A,useConfig as q,usePayloadAPI as z,useTranslation as F}from"@payloadcms/ui";import{$getNodeByKey as G,$getSelection as J,$isNodeSelection as Q,CLICK_COMMAND as V,COMMAND_PRIORITY_LOW as C,KEY_BACKSPACE_COMMAND as X,KEY_DELETE_COMMAND as Z}from"lexical";import ee,{useCallback as _,useEffect as te,useReducer as oe,useRef as se,useState as le}from"react";var o="lexical-relationship",T={depth:0},ne=u=>{let{data:{relationTo:M,value:r},nodeKey:n}=u;if(typeof r=="object")throw new Error("Relationship value should be a string or number. The Lexical Relationship component should not receive the populated value object.");let d=se(null),[e]=W(),[s,c,m]=Y(n),{fieldProps:{readOnly:g}}=E(),{config:{collections:y,routes:{api:L},serverURL:O}}=q(),[i,ie]=le(()=>y.find(t=>t.slug===M)),{i18n:B,t:p}=F(),[R,I]=oe(t=>t+1,0),[{data:b},{setParams:N}]=z(`${O}${L}/${i.slug}/${r}`,{initialParams:T}),{closeDocumentDrawer:v,DocumentDrawer:P,DocumentDrawerToggler:j}=x({id:r,collectionSlug:i.slug}),K=_(()=>{e.update(()=>{G(n)?.remove()})},[e,n]),k=ee.useCallback(({doc:t})=>{N({...T,cacheBust:R}),v(),I()},[R,N,v]),f=_(t=>{let a=J();return s&&Q(a)&&(t.preventDefault(),e.update(()=>{a.getNodes().forEach($=>{w($)&&$.remove()})})),!1},[e,s]),D=_(t=>{let a=t;return a.target===d.current||d.current?.contains(a.target)?(a.shiftKey?c(!s):s||(m(),c(!0)),!0):!1},[s,c,m]);return te(()=>H(e.registerCommand(V,D,C),e.registerCommand(Z,f,C),e.registerCommand(X,f,C)),[m,e,s,n,f,c,D]),h("div",{className:[o,s&&`${o}--selected`].filter(Boolean).join(" "),contentEditable:!1,ref:d,children:[h("div",{className:`${o}__wrap`,children:[l("p",{className:`${o}__label`,children:p("fields:labelRelationship",{label:i.labels?.singular?U(i.labels?.singular,B):i.slug})}),l(j,{className:`${o}__doc-drawer-toggler`,children:l("p",{className:`${o}__title`,children:b?b[i?.admin?.useAsTitle||"id"]:r})})]}),e.isEditable()&&h("div",{className:`${o}__actions`,children:[l(A,{buttonStyle:"icon-label",className:`${o}__swapButton`,disabled:g,el:"button",icon:"swap",onClick:()=>{n&&e.dispatchCommand(S,{replace:{nodeKey:n}})},round:!0,tooltip:p("fields:swapRelationship")}),l(A,{buttonStyle:"icon-label",className:`${o}__removeButton`,disabled:g,icon:"x",onClick:t=>{t.preventDefault(),K()},round:!0,tooltip:p("fields:removeRelationship")})]}),!!r&&l(P,{onSave:k})]})},be=u=>l(ne,{...u});export{be as RelationshipComponent};
2
+ //# sourceMappingURL=RelationshipComponent-2RT3YXUT.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/features/relationship/client/components/RelationshipComponent.tsx"],
4
+ "sourcesContent": ["'use client'\nimport type { ElementFormatType } from 'lexical'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport { useLexicalNodeSelection } from '@lexical/react/useLexicalNodeSelection.js'\nimport { mergeRegister } from '@lexical/utils'\nimport { getTranslation } from '@payloadcms/translations'\nimport { Button, useConfig, usePayloadAPI, useTranslation } from '@payloadcms/ui'\nimport {\n $getNodeByKey,\n $getSelection,\n $isNodeSelection,\n CLICK_COMMAND,\n COMMAND_PRIORITY_LOW,\n KEY_BACKSPACE_COMMAND,\n KEY_DELETE_COMMAND,\n} from 'lexical'\nimport React, { useCallback, useEffect, useReducer, useRef, useState } from 'react'\n\nimport type { RelationshipData } from '../../server/nodes/RelationshipNode.js'\n\nimport { useEditorConfigContext } from '../../../../lexical/config/client/EditorConfigProvider.js'\nimport { useLexicalDocumentDrawer } from '../../../../utilities/fieldsDrawer/useLexicalDocumentDrawer.js'\nimport { INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND } from '../drawer/commands.js'\nimport { $isRelationshipNode } from '../nodes/RelationshipNode.js'\nimport './index.scss'\n\nconst baseClass = 'lexical-relationship'\n\nconst initialParams = {\n depth: 0,\n}\n\ntype Props = {\n className?: string\n data: RelationshipData\n format?: ElementFormatType\n nodeKey?: string\n}\n\nconst Component: React.FC<Props> = (props) => {\n const {\n data: { relationTo, value },\n nodeKey,\n } = props\n\n if (typeof value === 'object') {\n throw new Error(\n 'Relationship value should be a string or number. The Lexical Relationship component should not receive the populated value object.',\n )\n }\n\n const relationshipElemRef = useRef<HTMLDivElement | null>(null)\n\n const [editor] = useLexicalComposerContext()\n const [isSelected, setSelected, clearSelection] = useLexicalNodeSelection(nodeKey!)\n const {\n fieldProps: { readOnly },\n } = useEditorConfigContext()\n const {\n config: {\n collections,\n routes: { api },\n serverURL,\n },\n } = useConfig()\n\n const [relatedCollection, setRelatedCollection] = useState(\n () => collections.find((coll) => coll.slug === relationTo)!,\n )\n\n const { i18n, t } = useTranslation()\n const [cacheBust, dispatchCacheBust] = useReducer((state) => state + 1, 0)\n const [{ data }, { setParams }] = usePayloadAPI(\n `${serverURL}${api}/${relatedCollection.slug}/${value}`,\n { initialParams },\n )\n\n const { closeDocumentDrawer, DocumentDrawer, DocumentDrawerToggler } = useLexicalDocumentDrawer({\n id: value,\n collectionSlug: relatedCollection.slug,\n })\n\n const removeRelationship = useCallback(() => {\n editor.update(() => {\n $getNodeByKey(nodeKey!)?.remove()\n })\n }, [editor, nodeKey])\n\n const updateRelationship = React.useCallback(\n ({ doc }) => {\n setParams({\n ...initialParams,\n cacheBust, // do this to get the usePayloadAPI to re-fetch the data even though the URL string hasn't changed\n })\n\n closeDocumentDrawer()\n dispatchCacheBust()\n },\n [cacheBust, setParams, closeDocumentDrawer],\n )\n\n const $onDelete = useCallback(\n (payload: KeyboardEvent) => {\n const deleteSelection = $getSelection()\n if (isSelected && $isNodeSelection(deleteSelection)) {\n const event: KeyboardEvent = payload\n event.preventDefault()\n editor.update(() => {\n deleteSelection.getNodes().forEach((node) => {\n if ($isRelationshipNode(node)) {\n node.remove()\n }\n })\n })\n }\n return false\n },\n [editor, isSelected],\n )\n const onClick = useCallback(\n (payload: MouseEvent) => {\n const event = payload\n // Check if relationshipElemRef.target or anything WITHIN relationshipElemRef.target was clicked\n if (\n event.target === relationshipElemRef.current ||\n relationshipElemRef.current?.contains(event.target as Node)\n ) {\n if (event.shiftKey) {\n setSelected(!isSelected)\n } else {\n if (!isSelected) {\n clearSelection()\n setSelected(true)\n }\n }\n return true\n }\n\n return false\n },\n [isSelected, setSelected, clearSelection],\n )\n\n useEffect(() => {\n return mergeRegister(\n editor.registerCommand<MouseEvent>(CLICK_COMMAND, onClick, COMMAND_PRIORITY_LOW),\n\n editor.registerCommand(KEY_DELETE_COMMAND, $onDelete, COMMAND_PRIORITY_LOW),\n editor.registerCommand(KEY_BACKSPACE_COMMAND, $onDelete, COMMAND_PRIORITY_LOW),\n )\n }, [clearSelection, editor, isSelected, nodeKey, $onDelete, setSelected, onClick])\n\n return (\n <div\n className={[baseClass, isSelected && `${baseClass}--selected`].filter(Boolean).join(' ')}\n contentEditable={false}\n ref={relationshipElemRef}\n >\n <div className={`${baseClass}__wrap`}>\n <p className={`${baseClass}__label`}>\n {t('fields:labelRelationship', {\n label: relatedCollection.labels?.singular\n ? getTranslation(relatedCollection.labels?.singular, i18n)\n : relatedCollection.slug,\n })}\n </p>\n <DocumentDrawerToggler className={`${baseClass}__doc-drawer-toggler`}>\n <p className={`${baseClass}__title`}>\n {data ? data[relatedCollection?.admin?.useAsTitle || 'id'] : value}\n </p>\n </DocumentDrawerToggler>\n </div>\n {editor.isEditable() && (\n <div className={`${baseClass}__actions`}>\n <Button\n buttonStyle=\"icon-label\"\n className={`${baseClass}__swapButton`}\n disabled={readOnly}\n el=\"button\"\n icon=\"swap\"\n onClick={() => {\n if (nodeKey) {\n editor.dispatchCommand(INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND, {\n replace: { nodeKey },\n })\n }\n }}\n round\n tooltip={t('fields:swapRelationship')}\n />\n <Button\n buttonStyle=\"icon-label\"\n className={`${baseClass}__removeButton`}\n disabled={readOnly}\n icon=\"x\"\n onClick={(e) => {\n e.preventDefault()\n removeRelationship()\n }}\n round\n tooltip={t('fields:removeRelationship')}\n />\n </div>\n )}\n\n {!!value && <DocumentDrawer onSave={updateRelationship} />}\n </div>\n )\n}\n\nexport const RelationshipComponent = (props: Props): React.ReactNode => {\n return <Component {...props} />\n}\n"],
5
+ "mappings": "8LAGA,OAASA,6BAAAA,MAAiC,2CAC1C,OAASC,2BAAAA,MAA+B,4CACxC,OAASC,iBAAAA,MAAqB,iBAC9B,OA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ranslation", "Button", "useConfig", "usePayloadAPI", "useTranslation", "$getNodeByKey", "$getSelection", "$isNodeSelection", "CLICK_COMMAND", "COMMAND_PRIORITY_LOW", "KEY_BACKSPACE_COMMAND", "KEY_DELETE_COMMAND", "React", "useCallback", "useEffect", "useReducer", "useRef", "useState", "baseClass", "initialParams", "depth", "Component", "props", "data", "relationTo", "value", "nodeKey", "Error", "relationshipElemRef", "useRef", "editor", "useLexicalComposerContext", "isSelected", "setSelected", "clearSelection", "useLexicalNodeSelection", "fieldProps", "readOnly", "useEditorConfigContext", "config", "collections", "routes", "api", "serverURL", "useConfig", "relatedCollection", "setRelatedCollection", "useState", "find", "coll", "slug", "i18n", "t", "useTranslation", "cacheBust", "dispatchCacheBust", "useReducer", "state", "setParams", "usePayloadAPI", "closeDocumentDrawer", "DocumentDrawer", "DocumentDrawerToggler", "useLexicalDocumentDrawer", "id", "collectionSlug", "removeRelationship", "useCallback", "update", "$getNodeByKey", "remove", "updateRelationship", "React", "doc", "$onDelete", "payload", "deleteSelection", "$getSelection", "$isNodeSelection", "preventDefault", "getNodes", "forEach", "node", "$isRelationshipNode", "onClick", "event", "target", "current", "contains", "shiftKey", "useEffect", "mergeRegister", "registerCommand", "CLICK_COMMAND", "COMMAND_PRIORITY_LOW", "KEY_DELETE_COMMAND", "KEY_BACKSPACE_COMMAND", "_jsxs", "className", "filter", "Boolean", "join", "contentEditable", "ref", "_jsx", "label", "labels", "singular", "getTranslation", "admin", "useAsTitle", "isEditable", "Button", "buttonStyle", "disabled", "el", "icon", "dispatchCommand", "INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND", "replace", "round", "tooltip", "e", "onSave", "RelationshipComponent"]
7
+ }