@payloadcms/richtext-lexical 3.0.0-beta.9 → 3.0.0-beta.91

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 (2310) hide show
  1. package/README.md +1 -1
  2. package/dist/cell/index.d.ts +6 -3
  3. package/dist/cell/index.d.ts.map +1 -1
  4. package/dist/cell/index.js +127 -123
  5. package/dist/cell/index.js.map +1 -1
  6. package/dist/exports/client/Component-DOSSWC76.js +2 -0
  7. package/dist/exports/client/Component-DOSSWC76.js.map +7 -0
  8. package/dist/exports/client/Component-MBLHTKDK.js +2 -0
  9. package/dist/exports/client/Component-MBLHTKDK.js.map +7 -0
  10. package/dist/exports/client/Field-SUWHJ4HF.js +2 -0
  11. package/dist/exports/client/Field-SUWHJ4HF.js.map +7 -0
  12. package/dist/exports/client/RelationshipComponent-EZORSGUZ.js +2 -0
  13. package/dist/exports/client/RelationshipComponent-EZORSGUZ.js.map +7 -0
  14. package/dist/exports/client/bundled.css +1 -0
  15. package/dist/exports/client/chunk-OLSILJA6.js +2 -0
  16. package/dist/exports/client/chunk-OLSILJA6.js.map +7 -0
  17. package/dist/exports/client/chunk-TD7O23AB.js +2 -0
  18. package/dist/exports/client/chunk-TD7O23AB.js.map +7 -0
  19. package/dist/exports/client/chunk-UJDWBQ2K.js +2 -0
  20. package/dist/exports/client/chunk-UJDWBQ2K.js.map +7 -0
  21. package/dist/exports/client/chunk-V2LKLT2F.js +3 -0
  22. package/dist/exports/client/chunk-V2LKLT2F.js.map +7 -0
  23. package/dist/exports/client/chunk-YL453UOS.js +2 -0
  24. package/dist/exports/client/chunk-YL453UOS.js.map +7 -0
  25. package/dist/exports/client/chunk-YSI2QILQ.js +2 -0
  26. package/dist/exports/client/chunk-YSI2QILQ.js.map +7 -0
  27. package/dist/exports/client/component-2YLEVOFH.js +2 -0
  28. package/dist/exports/client/component-2YLEVOFH.js.map +7 -0
  29. package/dist/exports/client/component-7RAP75FW.js +2 -0
  30. package/dist/exports/client/component-7RAP75FW.js.map +7 -0
  31. package/dist/exports/client/component-LLWMZU6K.js +2 -0
  32. package/dist/exports/client/component-LLWMZU6K.js.map +7 -0
  33. package/dist/exports/client/componentInline-YSHGRL2J.js +2 -0
  34. package/dist/exports/client/componentInline-YSHGRL2J.js.map +7 -0
  35. package/dist/exports/client/index.d.ts +62 -0
  36. package/dist/exports/client/index.d.ts.map +1 -0
  37. package/dist/exports/client/index.js +38 -0
  38. package/dist/exports/client/index.js.map +7 -0
  39. package/dist/exports/server/migrate.d.ts +16 -0
  40. package/dist/exports/server/migrate.d.ts.map +1 -0
  41. package/dist/exports/server/migrate.js +16 -0
  42. package/dist/exports/server/migrate.js.map +1 -0
  43. package/dist/features/align/client/index.d.ts +5 -0
  44. package/dist/features/align/client/index.d.ts.map +1 -0
  45. package/dist/features/align/client/index.js +163 -0
  46. package/dist/features/align/client/index.js.map +1 -0
  47. package/dist/features/align/client/toolbarAlignGroup.d.ts +3 -0
  48. package/dist/features/align/client/toolbarAlignGroup.d.ts.map +1 -0
  49. package/dist/features/align/client/toolbarAlignGroup.js +13 -0
  50. package/dist/features/align/client/toolbarAlignGroup.js.map +1 -0
  51. package/dist/features/align/server/i18n.d.ts +3 -0
  52. package/dist/features/align/server/i18n.d.ts.map +1 -0
  53. package/dist/features/align/server/i18n.js +195 -0
  54. package/dist/features/align/server/i18n.js.map +1 -0
  55. package/dist/features/align/server/index.d.ts +2 -0
  56. package/dist/features/align/server/index.d.ts.map +1 -0
  57. package/dist/features/align/server/index.js +10 -0
  58. package/dist/features/align/server/index.js.map +1 -0
  59. package/dist/features/blockquote/client/index.d.ts +5 -0
  60. package/dist/features/blockquote/client/index.d.ts.map +1 -0
  61. package/dist/features/blockquote/client/index.js +72 -0
  62. package/dist/features/blockquote/client/index.js.map +1 -0
  63. package/dist/features/blockquote/markdownTransformer.d.ts.map +1 -0
  64. package/dist/features/blockquote/markdownTransformer.js +34 -0
  65. package/dist/features/blockquote/markdownTransformer.js.map +1 -0
  66. package/dist/features/blockquote/server/i18n.d.ts +3 -0
  67. package/dist/features/blockquote/server/i18n.d.ts.map +1 -0
  68. package/dist/features/blockquote/server/i18n.js +99 -0
  69. package/dist/features/blockquote/server/i18n.js.map +1 -0
  70. package/dist/features/blockquote/server/index.d.ts +7 -0
  71. package/dist/features/blockquote/server/index.d.ts.map +1 -0
  72. package/dist/features/blockquote/server/index.js +47 -0
  73. package/dist/features/blockquote/server/index.js.map +1 -0
  74. package/dist/features/blocks/client/component/BlockContent.d.ts +22 -0
  75. package/dist/features/blocks/client/component/BlockContent.d.ts.map +1 -0
  76. package/dist/features/blocks/client/component/BlockContent.js +192 -0
  77. package/dist/features/blocks/client/component/BlockContent.js.map +1 -0
  78. package/dist/features/blocks/client/component/FormSavePlugin.d.ts +11 -0
  79. package/dist/features/blocks/client/component/FormSavePlugin.d.ts.map +1 -0
  80. package/dist/features/blocks/client/component/FormSavePlugin.js +53 -0
  81. package/dist/features/blocks/client/component/FormSavePlugin.js.map +1 -0
  82. package/dist/features/blocks/client/component/index.d.ts +11 -0
  83. package/dist/features/blocks/client/component/index.d.ts.map +1 -0
  84. package/dist/features/blocks/client/component/index.js +145 -0
  85. package/dist/features/blocks/client/component/index.js.map +1 -0
  86. package/dist/features/blocks/client/component/removeEmptyArrayValues.d.ts +11 -0
  87. package/dist/features/blocks/client/component/removeEmptyArrayValues.d.ts.map +1 -0
  88. package/dist/features/blocks/client/component/removeEmptyArrayValues.js +20 -0
  89. package/dist/features/blocks/client/component/removeEmptyArrayValues.js.map +1 -0
  90. package/dist/features/blocks/client/componentInline/index.d.ts +10 -0
  91. package/dist/features/blocks/client/componentInline/index.d.ts.map +1 -0
  92. package/dist/features/blocks/client/componentInline/index.js +122 -0
  93. package/dist/features/blocks/client/componentInline/index.js.map +1 -0
  94. package/dist/features/blocks/client/index.d.ts +9 -0
  95. package/dist/features/blocks/client/index.d.ts.map +1 -0
  96. package/dist/features/blocks/client/index.js +159 -0
  97. package/dist/features/blocks/client/index.js.map +1 -0
  98. package/dist/features/blocks/client/nodes/BlocksNode.d.ts +14 -0
  99. package/dist/features/blocks/client/nodes/BlocksNode.d.ts.map +1 -0
  100. package/dist/features/blocks/client/nodes/BlocksNode.js +53 -0
  101. package/dist/features/blocks/client/nodes/BlocksNode.js.map +1 -0
  102. package/dist/features/blocks/client/nodes/InlineBlocksNode.d.ts +25 -0
  103. package/dist/features/blocks/client/nodes/InlineBlocksNode.d.ts.map +1 -0
  104. package/dist/features/blocks/client/nodes/InlineBlocksNode.js +42 -0
  105. package/dist/features/blocks/client/nodes/InlineBlocksNode.js.map +1 -0
  106. package/dist/features/blocks/client/plugin/commands.d.ts +9 -0
  107. package/dist/features/blocks/client/plugin/commands.d.ts.map +1 -0
  108. package/dist/features/blocks/client/plugin/commands.js +7 -0
  109. package/dist/features/blocks/client/plugin/commands.js.map +1 -0
  110. package/dist/features/blocks/client/plugin/index.d.ts +6 -0
  111. package/dist/features/blocks/client/plugin/index.d.ts.map +1 -0
  112. package/dist/features/blocks/client/plugin/index.js +202 -0
  113. package/dist/features/blocks/client/plugin/index.js.map +1 -0
  114. package/dist/features/blocks/server/graphQLPopulationPromise.d.ts +6 -0
  115. package/dist/features/blocks/server/graphQLPopulationPromise.d.ts.map +1 -0
  116. package/dist/features/blocks/server/graphQLPopulationPromise.js +44 -0
  117. package/dist/features/blocks/server/graphQLPopulationPromise.js.map +1 -0
  118. package/dist/features/blocks/server/i18n.d.ts +3 -0
  119. package/dist/features/blocks/server/i18n.d.ts.map +1 -0
  120. package/dist/features/blocks/server/i18n.js +291 -0
  121. package/dist/features/blocks/server/i18n.js.map +1 -0
  122. package/dist/features/blocks/server/index.d.ts +8 -0
  123. package/dist/features/blocks/server/index.d.ts.map +1 -0
  124. package/dist/features/blocks/server/index.js +160 -0
  125. package/dist/features/blocks/server/index.js.map +1 -0
  126. package/dist/features/blocks/server/nodes/BlocksNode.d.ts +38 -0
  127. package/dist/features/blocks/server/nodes/BlocksNode.d.ts.map +1 -0
  128. package/dist/features/blocks/server/nodes/BlocksNode.js +87 -0
  129. package/dist/features/blocks/server/nodes/BlocksNode.js.map +1 -0
  130. package/dist/features/blocks/server/nodes/InlineBlocksNode.d.ts +40 -0
  131. package/dist/features/blocks/server/nodes/InlineBlocksNode.d.ts.map +1 -0
  132. package/dist/features/blocks/server/nodes/InlineBlocksNode.js +88 -0
  133. package/dist/features/blocks/server/nodes/InlineBlocksNode.js.map +1 -0
  134. package/dist/features/blocks/server/validate.d.ts +6 -0
  135. package/dist/features/blocks/server/validate.d.ts.map +1 -0
  136. package/dist/features/blocks/server/validate.js +48 -0
  137. package/dist/features/blocks/server/validate.js.map +1 -0
  138. package/dist/features/converters/html/converter/converters/linebreak.d.ts.map +1 -0
  139. package/dist/features/converters/html/converter/converters/linebreak.js +7 -0
  140. package/dist/features/converters/html/converter/converters/linebreak.js.map +1 -0
  141. package/dist/features/converters/html/converter/converters/paragraph.d.ts.map +1 -0
  142. package/dist/features/converters/html/converter/converters/paragraph.js +28 -0
  143. package/dist/features/converters/html/converter/converters/paragraph.js.map +1 -0
  144. package/dist/features/converters/html/converter/converters/text.d.ts.map +1 -0
  145. package/dist/features/converters/html/converter/converters/text.js +32 -0
  146. package/dist/features/converters/html/converter/converters/text.js.map +1 -0
  147. package/dist/features/converters/html/converter/defaultConverters.d.ts.map +1 -0
  148. package/dist/features/converters/html/converter/defaultConverters.js +5 -0
  149. package/dist/features/converters/html/converter/defaultConverters.js.map +1 -0
  150. package/dist/features/converters/html/converter/index.d.ts +48 -0
  151. package/dist/features/converters/html/converter/index.d.ts.map +1 -0
  152. package/dist/features/converters/html/converter/index.js +72 -0
  153. package/dist/features/converters/html/converter/index.js.map +1 -0
  154. package/dist/features/converters/html/converter/types.d.ts +22 -0
  155. package/dist/features/converters/html/converter/types.d.ts.map +1 -0
  156. package/dist/features/converters/html/converter/types.js +2 -0
  157. package/dist/features/converters/html/converter/types.js.map +1 -0
  158. package/dist/features/converters/html/field/index.d.ts +35 -0
  159. package/dist/features/converters/html/field/index.d.ts.map +1 -0
  160. package/dist/features/converters/html/field/index.js +152 -0
  161. package/dist/features/converters/html/field/index.js.map +1 -0
  162. package/dist/features/converters/html/index.d.ts +8 -0
  163. package/dist/features/converters/html/index.d.ts.map +1 -0
  164. package/dist/features/converters/html/index.js +7 -0
  165. package/dist/features/converters/html/index.js.map +1 -0
  166. package/dist/features/createClientComponent.d.ts +7 -0
  167. package/dist/features/createClientComponent.d.ts.map +1 -0
  168. package/dist/features/createClientComponent.js +13 -0
  169. package/dist/features/createClientComponent.js.map +1 -0
  170. package/dist/features/createFeaturePropComponent.d.ts.map +1 -0
  171. package/dist/features/createFeaturePropComponent.js +19 -0
  172. package/dist/features/createFeaturePropComponent.js.map +1 -0
  173. package/dist/features/debug/testRecorder/client/index.d.ts +5 -0
  174. package/dist/features/debug/testRecorder/client/index.d.ts.map +1 -0
  175. package/dist/features/debug/testRecorder/client/index.js +11 -0
  176. package/dist/features/debug/testRecorder/client/index.js.map +1 -0
  177. package/dist/features/debug/testRecorder/client/plugin/index.d.ts +5 -0
  178. package/dist/features/debug/testRecorder/client/plugin/index.d.ts.map +1 -0
  179. package/dist/features/debug/testRecorder/client/plugin/index.js +411 -0
  180. package/dist/features/debug/testRecorder/client/plugin/index.js.map +1 -0
  181. package/dist/features/debug/testRecorder/server/index.d.ts +2 -0
  182. package/dist/features/debug/testRecorder/server/index.d.ts.map +1 -0
  183. package/dist/features/debug/testRecorder/server/index.js +8 -0
  184. package/dist/features/debug/testRecorder/server/index.js.map +1 -0
  185. package/dist/features/debug/treeView/client/index.d.ts +5 -0
  186. package/dist/features/debug/treeView/client/index.d.ts.map +1 -0
  187. package/dist/features/debug/treeView/client/index.js +11 -0
  188. package/dist/features/debug/treeView/client/index.js.map +1 -0
  189. package/dist/features/debug/treeView/client/plugin/index.d.ts +4 -0
  190. package/dist/features/debug/treeView/client/plugin/index.d.ts.map +1 -0
  191. package/dist/features/debug/treeView/client/plugin/index.js +29 -0
  192. package/dist/features/debug/treeView/client/plugin/index.js.map +1 -0
  193. package/dist/features/debug/treeView/server/index.d.ts +2 -0
  194. package/dist/features/debug/treeView/server/index.d.ts.map +1 -0
  195. package/dist/features/debug/treeView/server/index.js +8 -0
  196. package/dist/features/debug/treeView/server/index.js.map +1 -0
  197. package/dist/features/experimental_table/client/index.d.ts +2 -0
  198. package/dist/features/experimental_table/client/index.d.ts.map +1 -0
  199. package/dist/features/experimental_table/client/index.js +54 -0
  200. package/dist/features/experimental_table/client/index.js.map +1 -0
  201. package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.d.ts +4 -0
  202. package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.d.ts.map +1 -0
  203. package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.js +523 -0
  204. package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.js.map +1 -0
  205. package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.d.ts +3 -0
  206. package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.d.ts.map +1 -0
  207. package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.js +308 -0
  208. package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.js.map +1 -0
  209. package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.d.ts +5 -0
  210. package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.d.ts.map +1 -0
  211. package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.js +186 -0
  212. package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.js.map +1 -0
  213. package/dist/features/experimental_table/client/plugins/TablePlugin/index.d.ts +24 -0
  214. package/dist/features/experimental_table/client/plugins/TablePlugin/index.d.ts.map +1 -0
  215. package/dist/features/experimental_table/client/plugins/TablePlugin/index.js +150 -0
  216. package/dist/features/experimental_table/client/plugins/TablePlugin/index.js.map +1 -0
  217. package/dist/features/experimental_table/client/utils/debounce.d.ts +61 -0
  218. package/dist/features/experimental_table/client/utils/debounce.d.ts.map +1 -0
  219. package/dist/features/experimental_table/client/utils/debounce.js +221 -0
  220. package/dist/features/experimental_table/client/utils/debounce.js.map +1 -0
  221. package/dist/features/experimental_table/client/utils/useDebounce.d.ts +6 -0
  222. package/dist/features/experimental_table/client/utils/useDebounce.d.ts.map +1 -0
  223. package/dist/features/experimental_table/client/utils/useDebounce.js +16 -0
  224. package/dist/features/experimental_table/client/utils/useDebounce.js.map +1 -0
  225. package/dist/features/experimental_table/server/index.d.ts +13 -0
  226. package/dist/features/experimental_table/server/index.d.ts.map +1 -0
  227. package/dist/features/experimental_table/server/index.js +136 -0
  228. package/dist/features/experimental_table/server/index.js.map +1 -0
  229. package/dist/features/format/bold/feature.client.d.ts +5 -0
  230. package/dist/features/format/bold/feature.client.d.ts.map +1 -0
  231. package/dist/features/format/bold/feature.client.js +43 -0
  232. package/dist/features/format/bold/feature.client.js.map +1 -0
  233. package/dist/features/format/bold/feature.server.d.ts +2 -0
  234. package/dist/features/format/bold/feature.server.d.ts.map +1 -0
  235. package/dist/features/format/bold/feature.server.js +19 -0
  236. package/dist/features/format/bold/feature.server.js.map +1 -0
  237. package/dist/features/format/bold/markdownTransformers.d.ts.map +1 -0
  238. package/dist/features/format/bold/markdownTransformers.js +23 -0
  239. package/dist/features/format/bold/markdownTransformers.js.map +1 -0
  240. package/dist/features/format/inlineCode/feature.client.d.ts +5 -0
  241. package/dist/features/format/inlineCode/feature.client.d.ts.map +1 -0
  242. package/dist/features/format/inlineCode/feature.client.js +35 -0
  243. package/dist/features/format/inlineCode/feature.client.js.map +1 -0
  244. package/dist/features/format/inlineCode/feature.server.d.ts +2 -0
  245. package/dist/features/format/inlineCode/feature.server.d.ts.map +1 -0
  246. package/dist/features/format/inlineCode/feature.server.js +10 -0
  247. package/dist/features/format/inlineCode/feature.server.js.map +1 -0
  248. package/dist/features/format/inlineCode/markdownTransformers.d.ts.map +1 -0
  249. package/dist/features/format/inlineCode/markdownTransformers.js +6 -0
  250. package/dist/features/format/inlineCode/markdownTransformers.js.map +1 -0
  251. package/dist/features/format/italic/feature.client.d.ts +5 -0
  252. package/dist/features/format/italic/feature.client.d.ts.map +1 -0
  253. package/dist/features/format/italic/feature.client.js +35 -0
  254. package/dist/features/format/italic/feature.client.js.map +1 -0
  255. package/dist/features/format/italic/feature.server.d.ts +2 -0
  256. package/dist/features/format/italic/feature.server.d.ts.map +1 -0
  257. package/dist/features/format/italic/feature.server.js +10 -0
  258. package/dist/features/format/italic/feature.server.js.map +1 -0
  259. package/dist/features/format/italic/markdownTransformers.d.ts.map +1 -0
  260. package/dist/features/format/italic/markdownTransformers.js +12 -0
  261. package/dist/features/format/italic/markdownTransformers.js.map +1 -0
  262. package/dist/features/format/shared/toolbarFormatGroup.d.ts +3 -0
  263. package/dist/features/format/shared/toolbarFormatGroup.d.ts.map +1 -0
  264. package/dist/features/format/shared/toolbarFormatGroup.js +11 -0
  265. package/dist/features/format/shared/toolbarFormatGroup.js.map +1 -0
  266. package/dist/features/format/strikethrough/feature.client.d.ts +5 -0
  267. package/dist/features/format/strikethrough/feature.client.d.ts.map +1 -0
  268. package/dist/features/format/strikethrough/feature.client.js +35 -0
  269. package/dist/features/format/strikethrough/feature.client.js.map +1 -0
  270. package/dist/features/format/strikethrough/feature.server.d.ts +2 -0
  271. package/dist/features/format/strikethrough/feature.server.d.ts.map +1 -0
  272. package/dist/features/format/strikethrough/feature.server.js +10 -0
  273. package/dist/features/format/strikethrough/feature.server.js.map +1 -0
  274. package/dist/features/format/strikethrough/markdownTransformers.d.ts.map +1 -0
  275. package/dist/features/format/strikethrough/markdownTransformers.js +6 -0
  276. package/dist/features/format/strikethrough/markdownTransformers.js.map +1 -0
  277. package/dist/features/format/subscript/feature.client.d.ts +5 -0
  278. package/dist/features/format/subscript/feature.client.d.ts.map +1 -0
  279. package/dist/features/format/subscript/feature.client.js +33 -0
  280. package/dist/features/format/subscript/feature.client.js.map +1 -0
  281. package/dist/features/format/subscript/feature.server.d.ts +2 -0
  282. package/dist/features/format/subscript/feature.server.d.ts.map +1 -0
  283. package/dist/features/format/subscript/feature.server.js +8 -0
  284. package/dist/features/format/subscript/feature.server.js.map +1 -0
  285. package/dist/features/format/superscript/feature.client.d.ts +5 -0
  286. package/dist/features/format/superscript/feature.client.d.ts.map +1 -0
  287. package/dist/features/format/superscript/feature.client.js +33 -0
  288. package/dist/features/format/superscript/feature.client.js.map +1 -0
  289. package/dist/features/format/superscript/feature.server.d.ts +2 -0
  290. package/dist/features/format/superscript/feature.server.d.ts.map +1 -0
  291. package/dist/features/format/superscript/feature.server.js +8 -0
  292. package/dist/features/format/superscript/feature.server.js.map +1 -0
  293. package/dist/features/format/underline/feature.client.d.ts +5 -0
  294. package/dist/features/format/underline/feature.client.d.ts.map +1 -0
  295. package/dist/features/format/underline/feature.client.js +33 -0
  296. package/dist/features/format/underline/feature.client.js.map +1 -0
  297. package/dist/features/format/underline/feature.server.d.ts +2 -0
  298. package/dist/features/format/underline/feature.server.d.ts.map +1 -0
  299. package/dist/features/format/underline/feature.server.js +8 -0
  300. package/dist/features/format/underline/feature.server.js.map +1 -0
  301. package/dist/features/heading/client/index.d.ts +6 -0
  302. package/dist/features/heading/client/index.d.ts.map +1 -0
  303. package/dist/features/heading/client/index.js +108 -0
  304. package/dist/features/heading/client/index.js.map +1 -0
  305. package/dist/features/heading/markdownTransformer.d.ts.map +1 -0
  306. package/dist/features/heading/markdownTransformer.js +26 -0
  307. package/dist/features/heading/markdownTransformer.js.map +1 -0
  308. package/dist/features/heading/server/i18n.d.ts +3 -0
  309. package/dist/features/heading/server/i18n.d.ts.map +1 -0
  310. package/dist/features/heading/server/i18n.js +99 -0
  311. package/dist/features/heading/server/i18n.js.map +1 -0
  312. package/dist/features/heading/server/index.d.ts +10 -0
  313. package/dist/features/heading/server/index.d.ts.map +1 -0
  314. package/dist/features/heading/server/index.js +58 -0
  315. package/dist/features/heading/server/index.js.map +1 -0
  316. package/dist/features/horizontalRule/client/component/index.d.ts.map +1 -0
  317. package/dist/features/horizontalRule/client/component/index.js +97 -0
  318. package/dist/features/horizontalRule/client/component/index.js.map +1 -0
  319. package/dist/features/horizontalRule/client/index.d.ts +5 -0
  320. package/dist/features/horizontalRule/client/index.d.ts.map +1 -0
  321. package/dist/features/horizontalRule/client/index.js +62 -0
  322. package/dist/features/horizontalRule/client/index.js.map +1 -0
  323. package/dist/features/horizontalRule/client/markdownTransformer.d.ts.map +1 -0
  324. package/dist/features/horizontalRule/client/markdownTransformer.js +20 -0
  325. package/dist/features/horizontalRule/client/markdownTransformer.js.map +1 -0
  326. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.d.ts +20 -0
  327. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.d.ts.map +1 -0
  328. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.js +46 -0
  329. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.js.map +1 -0
  330. package/dist/features/horizontalRule/client/plugin/index.d.ts +7 -0
  331. package/dist/features/horizontalRule/client/plugin/index.d.ts.map +1 -0
  332. package/dist/features/horizontalRule/client/plugin/index.js +42 -0
  333. package/dist/features/horizontalRule/client/plugin/index.js.map +1 -0
  334. package/dist/features/horizontalRule/server/i18n.d.ts +3 -0
  335. package/dist/features/horizontalRule/server/i18n.d.ts.map +1 -0
  336. package/dist/features/horizontalRule/server/i18n.js +99 -0
  337. package/dist/features/horizontalRule/server/i18n.js.map +1 -0
  338. package/dist/features/horizontalRule/server/index.d.ts +2 -0
  339. package/dist/features/horizontalRule/server/index.d.ts.map +1 -0
  340. package/dist/features/horizontalRule/server/index.js +25 -0
  341. package/dist/features/horizontalRule/server/index.js.map +1 -0
  342. package/dist/features/horizontalRule/server/markdownTransformer.d.ts +3 -0
  343. package/dist/features/horizontalRule/server/markdownTransformer.d.ts.map +1 -0
  344. package/dist/features/horizontalRule/server/markdownTransformer.js +20 -0
  345. package/dist/features/horizontalRule/server/markdownTransformer.js.map +1 -0
  346. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.d.ts +53 -0
  347. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.d.ts.map +1 -0
  348. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.js +88 -0
  349. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.js.map +1 -0
  350. package/dist/features/indent/client/index.d.ts +5 -0
  351. package/dist/features/indent/client/index.d.ts.map +1 -0
  352. package/dist/features/indent/client/index.js +61 -0
  353. package/dist/features/indent/client/index.js.map +1 -0
  354. package/dist/features/indent/client/toolbarIndentGroup.d.ts +3 -0
  355. package/dist/features/indent/client/toolbarIndentGroup.d.ts.map +1 -0
  356. package/dist/features/indent/client/toolbarIndentGroup.js +11 -0
  357. package/dist/features/indent/client/toolbarIndentGroup.js.map +1 -0
  358. package/dist/features/indent/server/i18n.d.ts +3 -0
  359. package/dist/features/indent/server/i18n.d.ts.map +1 -0
  360. package/dist/features/indent/server/i18n.js +131 -0
  361. package/dist/features/indent/server/i18n.js.map +1 -0
  362. package/dist/features/indent/server/index.d.ts +2 -0
  363. package/dist/features/indent/server/index.d.ts.map +1 -0
  364. package/dist/features/indent/server/index.js +10 -0
  365. package/dist/features/indent/server/index.js.map +1 -0
  366. package/dist/features/link/client/index.d.ts +16 -0
  367. package/dist/features/link/client/index.d.ts.map +1 -0
  368. package/dist/features/link/client/index.js +96 -0
  369. package/dist/features/link/client/index.js.map +1 -0
  370. package/dist/features/link/client/plugins/autoLink/index.d.ts +20 -0
  371. package/dist/features/link/client/plugins/autoLink/index.d.ts.map +1 -0
  372. package/dist/features/link/client/plugins/autoLink/index.js +331 -0
  373. package/dist/features/link/client/plugins/autoLink/index.js.map +1 -0
  374. package/dist/features/link/client/plugins/clickableLink/index.d.ts +4 -0
  375. package/dist/features/link/client/plugins/clickableLink/index.d.ts.map +1 -0
  376. package/dist/features/link/client/plugins/clickableLink/index.js +9 -0
  377. package/dist/features/link/client/plugins/clickableLink/index.js.map +1 -0
  378. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +1 -0
  379. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/commands.js +5 -0
  380. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/commands.js.map +1 -0
  381. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -0
  382. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.js +279 -0
  383. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.js.map +1 -0
  384. package/dist/features/link/client/plugins/floatingLinkEditor/index.d.ts +5 -0
  385. package/dist/features/link/client/plugins/floatingLinkEditor/index.d.ts.map +1 -0
  386. package/dist/features/link/client/plugins/floatingLinkEditor/index.js +15 -0
  387. package/dist/features/link/client/plugins/floatingLinkEditor/index.js.map +1 -0
  388. package/dist/features/link/client/plugins/floatingLinkEditor/types.d.ts +15 -0
  389. package/dist/features/link/client/plugins/floatingLinkEditor/types.d.ts.map +1 -0
  390. package/dist/features/link/client/plugins/floatingLinkEditor/types.js +5 -0
  391. package/dist/features/link/client/plugins/floatingLinkEditor/types.js.map +1 -0
  392. package/dist/features/link/client/plugins/link/index.d.ts +4 -0
  393. package/dist/features/link/client/plugins/link/index.d.ts.map +1 -0
  394. package/dist/features/link/client/plugins/link/index.js +60 -0
  395. package/dist/features/link/client/plugins/link/index.js.map +1 -0
  396. package/dist/features/link/markdownTransformer.d.ts +6 -0
  397. package/dist/features/link/markdownTransformer.d.ts.map +1 -0
  398. package/dist/features/link/markdownTransformer.js +49 -0
  399. package/dist/features/link/markdownTransformer.js.map +1 -0
  400. package/dist/features/link/nodes/AutoLinkNode.d.ts.map +1 -0
  401. package/dist/features/link/nodes/AutoLinkNode.js +69 -0
  402. package/dist/features/link/nodes/AutoLinkNode.js.map +1 -0
  403. package/dist/features/link/nodes/LinkNode.d.ts +39 -0
  404. package/dist/features/link/nodes/LinkNode.d.ts.map +1 -0
  405. package/dist/features/link/nodes/LinkNode.js +318 -0
  406. package/dist/features/link/nodes/LinkNode.js.map +1 -0
  407. package/dist/features/link/nodes/types.d.ts +24 -0
  408. package/dist/features/link/nodes/types.d.ts.map +1 -0
  409. package/dist/features/link/nodes/types.js +2 -0
  410. package/dist/features/link/nodes/types.js.map +1 -0
  411. package/dist/features/link/server/baseFields.d.ts +3 -0
  412. package/dist/features/link/server/baseFields.d.ts.map +1 -0
  413. package/dist/features/link/server/baseFields.js +124 -0
  414. package/dist/features/link/server/baseFields.js.map +1 -0
  415. package/dist/features/link/server/graphQLPopulationPromise.d.ts +5 -0
  416. package/dist/features/link/server/graphQLPopulationPromise.d.ts.map +1 -0
  417. package/dist/features/link/server/graphQLPopulationPromise.js +45 -0
  418. package/dist/features/link/server/graphQLPopulationPromise.js.map +1 -0
  419. package/dist/features/link/server/i18n.d.ts +3 -0
  420. package/dist/features/link/server/i18n.d.ts.map +1 -0
  421. package/dist/features/link/server/i18n.js +99 -0
  422. package/dist/features/link/server/i18n.js.map +1 -0
  423. package/dist/features/link/server/index.d.ts +35 -0
  424. package/dist/features/link/server/index.d.ts.map +1 -0
  425. package/dist/features/link/server/index.js +138 -0
  426. package/dist/features/link/server/index.js.map +1 -0
  427. package/dist/features/link/server/transformExtraFields.d.ts +9 -0
  428. package/dist/features/link/server/transformExtraFields.d.ts.map +1 -0
  429. package/dist/features/link/server/transformExtraFields.js +20 -0
  430. package/dist/features/link/server/transformExtraFields.js.map +1 -0
  431. package/dist/features/link/server/validate.d.ts +6 -0
  432. package/dist/features/link/server/validate.d.ts.map +1 -0
  433. package/dist/features/link/server/validate.js +40 -0
  434. package/dist/features/link/server/validate.js.map +1 -0
  435. package/dist/features/lists/checklist/client/index.d.ts +5 -0
  436. package/dist/features/lists/checklist/client/index.d.ts.map +1 -0
  437. package/dist/features/lists/checklist/client/index.js +92 -0
  438. package/dist/features/lists/checklist/client/index.js.map +1 -0
  439. package/dist/features/lists/checklist/client/plugin/index.d.ts +3 -0
  440. package/dist/features/lists/checklist/client/plugin/index.d.ts.map +1 -0
  441. package/dist/features/lists/checklist/client/plugin/index.js +9 -0
  442. package/dist/features/lists/checklist/client/plugin/index.js.map +1 -0
  443. package/dist/features/lists/checklist/markdownTransformers.d.ts.map +1 -0
  444. package/dist/features/lists/checklist/markdownTransformers.js +12 -0
  445. package/dist/features/lists/checklist/markdownTransformers.js.map +1 -0
  446. package/dist/features/lists/checklist/server/i18n.d.ts +3 -0
  447. package/dist/features/lists/checklist/server/i18n.d.ts.map +1 -0
  448. package/dist/features/lists/checklist/server/i18n.js +99 -0
  449. package/dist/features/lists/checklist/server/i18n.js.map +1 -0
  450. package/dist/features/lists/checklist/server/index.d.ts +2 -0
  451. package/dist/features/lists/checklist/server/index.d.ts.map +1 -0
  452. package/dist/features/lists/checklist/server/index.js +30 -0
  453. package/dist/features/lists/checklist/server/index.js.map +1 -0
  454. package/dist/features/lists/htmlConverter.d.ts +5 -0
  455. package/dist/features/lists/htmlConverter.d.ts.map +1 -0
  456. package/dist/features/lists/htmlConverter.js +73 -0
  457. package/dist/features/lists/htmlConverter.js.map +1 -0
  458. package/dist/features/lists/orderedList/client/index.d.ts +5 -0
  459. package/dist/features/lists/orderedList/client/index.d.ts.map +1 -0
  460. package/dist/features/lists/orderedList/client/index.js +84 -0
  461. package/dist/features/lists/orderedList/client/index.js.map +1 -0
  462. package/dist/features/lists/orderedList/markdownTransformer.d.ts.map +1 -0
  463. package/dist/features/lists/orderedList/markdownTransformer.js +12 -0
  464. package/dist/features/lists/orderedList/markdownTransformer.js.map +1 -0
  465. package/dist/features/lists/orderedList/server/i18n.d.ts +3 -0
  466. package/dist/features/lists/orderedList/server/i18n.d.ts.map +1 -0
  467. package/dist/features/lists/orderedList/server/i18n.js +99 -0
  468. package/dist/features/lists/orderedList/server/i18n.js.map +1 -0
  469. package/dist/features/lists/orderedList/server/index.d.ts +2 -0
  470. package/dist/features/lists/orderedList/server/index.d.ts.map +1 -0
  471. package/dist/features/lists/orderedList/server/index.js +30 -0
  472. package/dist/features/lists/orderedList/server/index.js.map +1 -0
  473. package/dist/features/lists/plugin/index.d.ts +13 -0
  474. package/dist/features/lists/plugin/index.d.ts.map +1 -0
  475. package/dist/features/lists/plugin/index.js +9 -0
  476. package/dist/features/lists/plugin/index.js.map +1 -0
  477. package/dist/features/lists/shared/markdown.d.ts +6 -0
  478. package/dist/features/lists/shared/markdown.d.ts.map +1 -0
  479. package/dist/features/lists/shared/markdown.js +57 -0
  480. package/dist/features/lists/shared/markdown.js.map +1 -0
  481. package/dist/features/lists/shared/slashMenuListGroup.d.ts +3 -0
  482. package/dist/features/lists/shared/slashMenuListGroup.d.ts.map +1 -0
  483. package/dist/features/lists/shared/slashMenuListGroup.js +12 -0
  484. package/dist/features/lists/shared/slashMenuListGroup.js.map +1 -0
  485. package/dist/features/lists/unorderedList/client/index.d.ts +5 -0
  486. package/dist/features/lists/unorderedList/client/index.d.ts.map +1 -0
  487. package/dist/features/lists/unorderedList/client/index.js +80 -0
  488. package/dist/features/lists/unorderedList/client/index.js.map +1 -0
  489. package/dist/features/lists/unorderedList/markdownTransformer.d.ts.map +1 -0
  490. package/dist/features/lists/unorderedList/markdownTransformer.js +12 -0
  491. package/dist/features/lists/unorderedList/markdownTransformer.js.map +1 -0
  492. package/dist/features/lists/unorderedList/server/i18n.d.ts +3 -0
  493. package/dist/features/lists/unorderedList/server/i18n.d.ts.map +1 -0
  494. package/dist/features/lists/unorderedList/server/i18n.js +99 -0
  495. package/dist/features/lists/unorderedList/server/i18n.js.map +1 -0
  496. package/dist/features/lists/unorderedList/server/index.d.ts +2 -0
  497. package/dist/features/lists/unorderedList/server/index.d.ts.map +1 -0
  498. package/dist/features/lists/unorderedList/server/index.js +26 -0
  499. package/dist/features/lists/unorderedList/server/index.js.map +1 -0
  500. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +3 -0
  501. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  502. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +22 -0
  503. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +1 -0
  504. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +3 -0
  505. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +1 -0
  506. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +33 -0
  507. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +1 -0
  508. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +3 -0
  509. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +1 -0
  510. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +24 -0
  511. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +1 -0
  512. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +3 -0
  513. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  514. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +25 -0
  515. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +1 -0
  516. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +3 -0
  517. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +1 -0
  518. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +22 -0
  519. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +1 -0
  520. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +3 -0
  521. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  522. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +28 -0
  523. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +1 -0
  524. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +3 -0
  525. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  526. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +22 -0
  527. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +1 -0
  528. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +3 -0
  529. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +1 -0
  530. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js +9 -0
  531. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +1 -0
  532. package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts +19 -0
  533. package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +1 -0
  534. package/dist/features/migrations/lexicalPluginToLexical/converter/index.js +77 -0
  535. package/dist/features/migrations/lexicalPluginToLexical/converter/index.js.map +1 -0
  536. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts +23 -0
  537. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +1 -0
  538. package/dist/features/migrations/lexicalPluginToLexical/converter/types.js +2 -0
  539. package/dist/features/migrations/lexicalPluginToLexical/converter/types.js.map +1 -0
  540. package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts +5 -0
  541. package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +1 -0
  542. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js +10 -0
  543. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js.map +1 -0
  544. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts +10 -0
  545. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +1 -0
  546. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js +49 -0
  547. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js.map +1 -0
  548. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  549. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +15 -0
  550. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
  551. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +33 -0
  552. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  553. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +74 -0
  554. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
  555. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +3 -0
  556. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +1 -0
  557. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js +23 -0
  558. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +1 -0
  559. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts +3 -0
  560. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  561. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js +24 -0
  562. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +1 -0
  563. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts +3 -0
  564. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +1 -0
  565. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js +33 -0
  566. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +1 -0
  567. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts +3 -0
  568. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +1 -0
  569. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js +30 -0
  570. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js.map +1 -0
  571. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +3 -0
  572. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  573. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js +26 -0
  574. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +1 -0
  575. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +3 -0
  576. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +1 -0
  577. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js +26 -0
  578. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +1 -0
  579. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +3 -0
  580. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +1 -0
  581. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js +15 -0
  582. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +1 -0
  583. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +3 -0
  584. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  585. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js +27 -0
  586. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +1 -0
  587. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +3 -0
  588. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +1 -0
  589. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js +26 -0
  590. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +1 -0
  591. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts +3 -0
  592. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  593. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js +18 -0
  594. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +1 -0
  595. package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts +3 -0
  596. package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +1 -0
  597. package/dist/features/migrations/slateToLexical/converter/defaultConverters.js +12 -0
  598. package/dist/features/migrations/slateToLexical/converter/defaultConverters.js.map +1 -0
  599. package/dist/features/migrations/slateToLexical/converter/index.d.ts.map +1 -0
  600. package/dist/features/migrations/slateToLexical/converter/index.js +116 -0
  601. package/dist/features/migrations/slateToLexical/converter/index.js.map +1 -0
  602. package/dist/features/migrations/slateToLexical/converter/types.d.ts +16 -0
  603. package/dist/features/migrations/slateToLexical/converter/types.d.ts.map +1 -0
  604. package/dist/features/migrations/slateToLexical/converter/types.js +2 -0
  605. package/dist/features/migrations/slateToLexical/converter/types.js.map +1 -0
  606. package/dist/features/migrations/slateToLexical/feature.client.d.ts +5 -0
  607. package/dist/features/migrations/slateToLexical/feature.client.d.ts.map +1 -0
  608. package/dist/features/migrations/slateToLexical/feature.client.js +12 -0
  609. package/dist/features/migrations/slateToLexical/feature.client.js.map +1 -0
  610. package/dist/features/migrations/slateToLexical/feature.server.d.ts +11 -0
  611. package/dist/features/migrations/slateToLexical/feature.server.d.ts.map +1 -0
  612. package/dist/features/migrations/slateToLexical/feature.server.js +50 -0
  613. package/dist/features/migrations/slateToLexical/feature.server.js.map +1 -0
  614. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  615. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +15 -0
  616. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
  617. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +33 -0
  618. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  619. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +74 -0
  620. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
  621. package/dist/features/paragraph/client/index.d.ts +5 -0
  622. package/dist/features/paragraph/client/index.d.ts.map +1 -0
  623. package/dist/features/paragraph/client/index.js +68 -0
  624. package/dist/features/paragraph/client/index.js.map +1 -0
  625. package/dist/features/paragraph/server/i18n.d.ts +3 -0
  626. package/dist/features/paragraph/server/i18n.d.ts.map +1 -0
  627. package/dist/features/paragraph/server/i18n.js +131 -0
  628. package/dist/features/paragraph/server/i18n.js.map +1 -0
  629. package/dist/features/paragraph/server/index.d.ts +2 -0
  630. package/dist/features/paragraph/server/index.d.ts.map +1 -0
  631. package/dist/features/paragraph/server/index.js +11 -0
  632. package/dist/features/paragraph/server/index.js.map +1 -0
  633. package/dist/features/relationship/client/components/RelationshipComponent.d.ts +13 -0
  634. package/dist/features/relationship/client/components/RelationshipComponent.d.ts.map +1 -0
  635. package/dist/features/relationship/client/components/RelationshipComponent.js +166 -0
  636. package/dist/features/relationship/client/components/RelationshipComponent.js.map +1 -0
  637. package/dist/features/relationship/client/drawer/commands.d.ts.map +1 -0
  638. package/dist/features/relationship/client/drawer/commands.js +3 -0
  639. package/dist/features/relationship/client/drawer/commands.js.map +1 -0
  640. package/dist/features/relationship/client/drawer/index.d.ts.map +1 -0
  641. package/dist/features/relationship/client/drawer/index.js +154 -0
  642. package/dist/features/relationship/client/drawer/index.js.map +1 -0
  643. package/dist/features/relationship/client/index.d.ts +18 -0
  644. package/dist/features/relationship/client/index.d.ts.map +1 -0
  645. package/dist/features/relationship/client/index.js +66 -0
  646. package/dist/features/relationship/client/index.js.map +1 -0
  647. package/dist/features/relationship/client/nodes/RelationshipNode.d.ts +15 -0
  648. package/dist/features/relationship/client/nodes/RelationshipNode.d.ts.map +1 -0
  649. package/dist/features/relationship/client/nodes/RelationshipNode.js +75 -0
  650. package/dist/features/relationship/client/nodes/RelationshipNode.js.map +1 -0
  651. package/dist/features/relationship/client/plugins/index.d.ts +7 -0
  652. package/dist/features/relationship/client/plugins/index.d.ts.map +1 -0
  653. package/dist/features/relationship/client/plugins/index.js +105 -0
  654. package/dist/features/relationship/client/plugins/index.js.map +1 -0
  655. package/dist/features/relationship/client/utils/EnabledRelationshipsCondition.d.ts.map +1 -0
  656. package/dist/features/relationship/client/utils/EnabledRelationshipsCondition.js +104 -0
  657. package/dist/features/relationship/client/utils/EnabledRelationshipsCondition.js.map +1 -0
  658. package/dist/features/relationship/server/graphQLPopulationPromise.d.ts +5 -0
  659. package/dist/features/relationship/server/graphQLPopulationPromise.d.ts.map +1 -0
  660. package/dist/features/relationship/server/graphQLPopulationPromise.js +37 -0
  661. package/dist/features/relationship/server/graphQLPopulationPromise.js.map +1 -0
  662. package/dist/features/relationship/server/i18n.d.ts +3 -0
  663. package/dist/features/relationship/server/i18n.d.ts.map +1 -0
  664. package/dist/features/relationship/server/i18n.js +99 -0
  665. package/dist/features/relationship/server/i18n.js.map +1 -0
  666. package/dist/features/relationship/server/index.d.ts +27 -0
  667. package/dist/features/relationship/server/index.d.ts.map +1 -0
  668. package/dist/features/relationship/server/index.js +57 -0
  669. package/dist/features/relationship/server/index.js.map +1 -0
  670. package/dist/features/relationship/server/nodes/RelationshipNode.d.ts +37 -0
  671. package/dist/features/relationship/server/nodes/RelationshipNode.d.ts.map +1 -0
  672. package/dist/features/relationship/server/nodes/RelationshipNode.js +104 -0
  673. package/dist/features/relationship/server/nodes/RelationshipNode.js.map +1 -0
  674. package/dist/features/shared/slashMenu/basicGroup.d.ts +3 -0
  675. package/dist/features/shared/slashMenu/basicGroup.d.ts.map +1 -0
  676. package/dist/features/shared/slashMenu/basicGroup.js +12 -0
  677. package/dist/features/shared/slashMenu/basicGroup.js.map +1 -0
  678. package/dist/features/shared/toolbar/addDropdownGroup.d.ts +3 -0
  679. package/dist/features/shared/toolbar/addDropdownGroup.d.ts.map +1 -0
  680. package/dist/features/shared/toolbar/addDropdownGroup.js +11 -0
  681. package/dist/features/shared/toolbar/addDropdownGroup.js.map +1 -0
  682. package/dist/features/shared/toolbar/featureButtonsGroup.d.ts +3 -0
  683. package/dist/features/shared/toolbar/featureButtonsGroup.d.ts.map +1 -0
  684. package/dist/features/shared/toolbar/featureButtonsGroup.js +9 -0
  685. package/dist/features/shared/toolbar/featureButtonsGroup.js.map +1 -0
  686. package/dist/features/shared/toolbar/textDropdownGroup.d.ts +3 -0
  687. package/dist/features/shared/toolbar/textDropdownGroup.d.ts.map +1 -0
  688. package/dist/features/shared/toolbar/textDropdownGroup.js +11 -0
  689. package/dist/features/shared/toolbar/textDropdownGroup.js.map +1 -0
  690. package/dist/features/toolbars/fixed/client/Toolbar/index.d.ts +5 -0
  691. package/dist/features/toolbars/fixed/client/Toolbar/index.d.ts.map +1 -0
  692. package/dist/features/toolbars/fixed/client/Toolbar/index.js +286 -0
  693. package/dist/features/toolbars/fixed/client/Toolbar/index.js.map +1 -0
  694. package/dist/features/toolbars/fixed/client/index.d.ts +6 -0
  695. package/dist/features/toolbars/fixed/client/index.d.ts.map +1 -0
  696. package/dist/features/toolbars/fixed/client/index.js +11 -0
  697. package/dist/features/toolbars/fixed/client/index.js.map +1 -0
  698. package/dist/features/toolbars/fixed/server/index.d.ts +18 -0
  699. package/dist/features/toolbars/fixed/server/index.d.ts.map +1 -0
  700. package/dist/features/toolbars/fixed/server/index.js +18 -0
  701. package/dist/features/toolbars/fixed/server/index.js.map +1 -0
  702. package/dist/features/toolbars/inline/client/Toolbar/index.d.ts +4 -0
  703. package/dist/features/toolbars/inline/client/Toolbar/index.d.ts.map +1 -0
  704. package/dist/features/toolbars/inline/client/Toolbar/index.js +366 -0
  705. package/dist/features/toolbars/inline/client/Toolbar/index.js.map +1 -0
  706. package/dist/features/toolbars/inline/client/index.d.ts +5 -0
  707. package/dist/features/toolbars/inline/client/index.d.ts.map +1 -0
  708. package/dist/features/toolbars/inline/client/index.js +11 -0
  709. package/dist/features/toolbars/inline/client/index.js.map +1 -0
  710. package/dist/features/toolbars/inline/server/index.d.ts +2 -0
  711. package/dist/features/toolbars/inline/server/index.d.ts.map +1 -0
  712. package/dist/features/toolbars/inline/server/index.js +8 -0
  713. package/dist/features/toolbars/inline/server/index.js.map +1 -0
  714. package/dist/features/toolbars/shared/ToolbarButton/index.d.ts +10 -0
  715. package/dist/features/toolbars/shared/ToolbarButton/index.d.ts.map +1 -0
  716. package/dist/features/toolbars/shared/ToolbarButton/index.js +86 -0
  717. package/dist/features/toolbars/shared/ToolbarButton/index.js.map +1 -0
  718. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts +22 -0
  719. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +1 -0
  720. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js +202 -0
  721. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +1 -0
  722. package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts +23 -0
  723. package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +1 -0
  724. package/dist/features/toolbars/shared/ToolbarDropdown/index.js +308 -0
  725. package/dist/features/toolbars/shared/ToolbarDropdown/index.js.map +1 -0
  726. package/dist/features/toolbars/types.d.ts +81 -0
  727. package/dist/features/toolbars/types.d.ts.map +1 -0
  728. package/dist/features/toolbars/types.js +2 -0
  729. package/dist/features/toolbars/types.js.map +1 -0
  730. package/dist/features/typeUtilities.d.ts +8 -0
  731. package/dist/features/typeUtilities.d.ts.map +1 -0
  732. package/dist/features/typeUtilities.js +7 -0
  733. package/dist/features/typeUtilities.js.map +1 -0
  734. package/dist/features/typesClient.d.ts +186 -0
  735. package/dist/features/typesClient.d.ts.map +1 -0
  736. package/dist/features/typesClient.js +2 -0
  737. package/dist/features/typesClient.js.map +1 -0
  738. package/dist/features/typesServer.d.ts +320 -0
  739. package/dist/features/typesServer.d.ts.map +1 -0
  740. package/dist/features/typesServer.js +2 -0
  741. package/dist/features/typesServer.js.map +1 -0
  742. package/dist/features/upload/client/component/index.d.ts +9 -0
  743. package/dist/features/upload/client/component/index.d.ts.map +1 -0
  744. package/dist/features/upload/client/component/index.js +235 -0
  745. package/dist/features/upload/client/component/index.js.map +1 -0
  746. package/dist/features/upload/client/drawer/commands.d.ts.map +1 -0
  747. package/dist/features/upload/client/drawer/commands.js +5 -0
  748. package/dist/features/upload/client/drawer/commands.js.map +1 -0
  749. package/dist/features/upload/client/drawer/index.d.ts.map +1 -0
  750. package/dist/features/upload/client/drawer/index.js +126 -0
  751. package/dist/features/upload/client/drawer/index.js.map +1 -0
  752. package/dist/features/upload/client/feature.client.d.ts +12 -0
  753. package/dist/features/upload/client/feature.client.d.ts.map +1 -0
  754. package/dist/features/upload/client/feature.client.js +64 -0
  755. package/dist/features/upload/client/feature.client.js.map +1 -0
  756. package/dist/features/upload/client/nodes/UploadNode.d.ts +22 -0
  757. package/dist/features/upload/client/nodes/UploadNode.d.ts.map +1 -0
  758. package/dist/features/upload/client/nodes/UploadNode.js +94 -0
  759. package/dist/features/upload/client/nodes/UploadNode.js.map +1 -0
  760. package/dist/features/upload/client/plugin/index.d.ts +8 -0
  761. package/dist/features/upload/client/plugin/index.d.ts.map +1 -0
  762. package/dist/features/upload/client/plugin/index.js +81 -0
  763. package/dist/features/upload/client/plugin/index.js.map +1 -0
  764. package/dist/features/upload/server/feature.server.d.ts +18 -0
  765. package/dist/features/upload/server/feature.server.d.ts.map +1 -0
  766. package/dist/features/upload/server/feature.server.js +208 -0
  767. package/dist/features/upload/server/feature.server.js.map +1 -0
  768. package/dist/features/upload/server/graphQLPopulationPromise.d.ts +5 -0
  769. package/dist/features/upload/server/graphQLPopulationPromise.d.ts.map +1 -0
  770. package/dist/features/upload/server/graphQLPopulationPromise.js +65 -0
  771. package/dist/features/upload/server/graphQLPopulationPromise.js.map +1 -0
  772. package/dist/features/upload/server/i18n.d.ts +3 -0
  773. package/dist/features/upload/server/i18n.d.ts.map +1 -0
  774. package/dist/features/upload/server/i18n.js +99 -0
  775. package/dist/features/upload/server/i18n.js.map +1 -0
  776. package/dist/features/upload/server/nodes/UploadNode.d.ts +42 -0
  777. package/dist/features/upload/server/nodes/UploadNode.d.ts.map +1 -0
  778. package/dist/features/upload/server/nodes/UploadNode.js +133 -0
  779. package/dist/features/upload/server/nodes/UploadNode.js.map +1 -0
  780. package/dist/features/upload/server/validate.d.ts +5 -0
  781. package/dist/features/upload/server/validate.d.ts.map +1 -0
  782. package/dist/features/upload/server/validate.js +58 -0
  783. package/dist/features/upload/server/validate.js.map +1 -0
  784. package/dist/field/Field.d.ts +9 -10
  785. package/dist/field/Field.d.ts.map +1 -1
  786. package/dist/field/Field.js +126 -86
  787. package/dist/field/Field.js.map +1 -1
  788. package/dist/field/bundled.css +1 -0
  789. package/dist/field/index.d.ts +2 -7
  790. package/dist/field/index.d.ts.map +1 -1
  791. package/dist/field/index.js +88 -81
  792. package/dist/field/index.js.map +1 -1
  793. package/dist/i18n.d.ts +3 -0
  794. package/dist/i18n.d.ts.map +1 -0
  795. package/dist/i18n.js +163 -0
  796. package/dist/i18n.js.map +1 -0
  797. package/dist/index.d.ts +61 -84
  798. package/dist/index.d.ts.map +1 -1
  799. package/dist/index.js +735 -251
  800. package/dist/index.js.map +1 -1
  801. package/dist/lexical/EditorPlugin.d.ts +8 -0
  802. package/dist/lexical/EditorPlugin.d.ts.map +1 -0
  803. package/dist/lexical/EditorPlugin.js +20 -0
  804. package/dist/lexical/EditorPlugin.js.map +1 -0
  805. package/dist/lexical/LexicalEditor.d.ts +7 -0
  806. package/dist/lexical/LexicalEditor.d.ts.map +1 -0
  807. package/dist/lexical/LexicalEditor.js +231 -0
  808. package/dist/lexical/LexicalEditor.js.map +1 -0
  809. package/dist/lexical/LexicalProvider.d.ts +14 -0
  810. package/dist/lexical/LexicalProvider.d.ts.map +1 -0
  811. package/dist/lexical/LexicalProvider.js +99 -0
  812. package/dist/lexical/LexicalProvider.js.map +1 -0
  813. package/dist/lexical/config/client/EditorConfigProvider.d.ts +27 -0
  814. package/dist/lexical/config/client/EditorConfigProvider.d.ts.map +1 -0
  815. package/dist/lexical/config/client/EditorConfigProvider.js +88 -0
  816. package/dist/lexical/config/client/EditorConfigProvider.js.map +1 -0
  817. package/dist/lexical/config/client/default.d.ts +3 -0
  818. package/dist/lexical/config/client/default.d.ts.map +1 -0
  819. package/dist/lexical/config/client/default.js +8 -0
  820. package/dist/lexical/config/client/default.js.map +1 -0
  821. package/dist/lexical/config/client/loader.d.ts +12 -0
  822. package/dist/lexical/config/client/loader.d.ts.map +1 -0
  823. package/dist/lexical/config/client/loader.js +49 -0
  824. package/dist/lexical/config/client/loader.js.map +1 -0
  825. package/dist/lexical/config/client/sanitize.d.ts +7 -0
  826. package/dist/lexical/config/client/sanitize.d.ts.map +1 -0
  827. package/dist/lexical/config/client/sanitize.js +180 -0
  828. package/dist/lexical/config/client/sanitize.js.map +1 -0
  829. package/dist/lexical/config/server/default.d.ts +7 -0
  830. package/dist/lexical/config/server/default.d.ts.map +1 -0
  831. package/dist/lexical/config/server/default.js +31 -0
  832. package/dist/lexical/config/server/default.js.map +1 -0
  833. package/dist/lexical/config/server/loader.d.ts +10 -0
  834. package/dist/lexical/config/server/loader.d.ts.map +1 -0
  835. package/dist/lexical/config/server/loader.js +120 -0
  836. package/dist/lexical/config/server/loader.js.map +1 -0
  837. package/dist/lexical/config/server/sanitize.d.ts +6 -0
  838. package/dist/lexical/config/server/sanitize.d.ts.map +1 -0
  839. package/dist/lexical/config/server/sanitize.js +112 -0
  840. package/dist/lexical/config/server/sanitize.js.map +1 -0
  841. package/dist/lexical/config/types.d.ts +24 -0
  842. package/dist/lexical/config/types.d.ts.map +1 -0
  843. package/dist/lexical/config/types.js +2 -0
  844. package/dist/lexical/config/types.js.map +1 -0
  845. package/dist/lexical/nodes/index.d.ts +6 -0
  846. package/dist/lexical/nodes/index.d.ts.map +1 -0
  847. package/dist/lexical/nodes/index.js +11 -0
  848. package/dist/lexical/nodes/index.js.map +1 -0
  849. package/dist/lexical/plugins/MarkdownShortcut/index.d.ts.map +1 -0
  850. package/dist/lexical/plugins/MarkdownShortcut/index.js +25 -0
  851. package/dist/lexical/plugins/MarkdownShortcut/index.js.map +1 -0
  852. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +32 -0
  853. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +1 -0
  854. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +384 -0
  855. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +1 -0
  856. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +24 -0
  857. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +1 -0
  858. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +249 -0
  859. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +1 -0
  860. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +50 -0
  861. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +1 -0
  862. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js +2 -0
  863. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +1 -0
  864. package/dist/lexical/plugins/SlashMenu/index.d.ts +6 -0
  865. package/dist/lexical/plugins/SlashMenu/index.d.ts.map +1 -0
  866. package/dist/lexical/plugins/SlashMenu/index.js +211 -0
  867. package/dist/lexical/plugins/SlashMenu/index.js.map +1 -0
  868. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +1 -0
  869. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.js +48 -0
  870. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +1 -0
  871. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts +6 -0
  872. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +1 -0
  873. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js +153 -0
  874. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +1 -0
  875. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +1 -0
  876. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.js +15 -0
  877. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +1 -0
  878. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +1 -0
  879. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js +15 -0
  880. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +1 -0
  881. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts +3 -0
  882. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +1 -0
  883. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js +31 -0
  884. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +1 -0
  885. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts +6 -0
  886. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +1 -0
  887. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js +348 -0
  888. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +1 -0
  889. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +9 -0
  890. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +1 -0
  891. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js +111 -0
  892. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +1 -0
  893. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts +5 -0
  894. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts.map +1 -0
  895. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js +28 -0
  896. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js.map +1 -0
  897. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +1 -0
  898. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.js +26 -0
  899. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +1 -0
  900. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +1 -0
  901. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.js +18 -0
  902. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.js.map +1 -0
  903. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts +31 -0
  904. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts.map +1 -0
  905. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.js +153 -0
  906. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.js.map +1 -0
  907. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +1 -0
  908. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.js +7 -0
  909. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +1 -0
  910. package/dist/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +1 -0
  911. package/dist/lexical/plugins/handles/utils/isOnHandleElement.js +6 -0
  912. package/dist/lexical/plugins/handles/utils/isOnHandleElement.js.map +1 -0
  913. package/dist/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +1 -0
  914. package/dist/lexical/plugins/handles/utils/setHandlePosition.js +28 -0
  915. package/dist/lexical/plugins/handles/utils/setHandlePosition.js.map +1 -0
  916. package/dist/lexical/theme/EditorTheme.d.ts +3 -0
  917. package/dist/lexical/theme/EditorTheme.d.ts.map +1 -0
  918. package/dist/lexical/theme/EditorTheme.js +101 -0
  919. package/dist/lexical/theme/EditorTheme.js.map +1 -0
  920. package/dist/lexical/ui/ContentEditable.d.ts +6 -0
  921. package/dist/lexical/ui/ContentEditable.d.ts.map +1 -0
  922. package/dist/lexical/ui/ContentEditable.js +34 -0
  923. package/dist/lexical/ui/ContentEditable.js.map +1 -0
  924. package/dist/lexical/ui/icons/AI/index.d.ts.map +1 -0
  925. package/dist/lexical/ui/icons/AI/index.js +34 -0
  926. package/dist/lexical/ui/icons/AI/index.js.map +1 -0
  927. package/dist/lexical/ui/icons/Add/index.d.ts +3 -0
  928. package/dist/lexical/ui/icons/Add/index.d.ts.map +1 -0
  929. package/dist/lexical/ui/icons/Add/index.js +19 -0
  930. package/dist/lexical/ui/icons/Add/index.js.map +1 -0
  931. package/dist/lexical/ui/icons/Add/light.svg +4 -0
  932. package/dist/lexical/ui/icons/AlignCenter/index.d.ts.map +1 -0
  933. package/dist/lexical/ui/icons/AlignCenter/index.js +28 -0
  934. package/dist/lexical/ui/icons/AlignCenter/index.js.map +1 -0
  935. package/dist/lexical/ui/icons/AlignJustify/index.d.ts.map +1 -0
  936. package/dist/lexical/ui/icons/AlignJustify/index.js +28 -0
  937. package/dist/lexical/ui/icons/AlignJustify/index.js.map +1 -0
  938. package/dist/lexical/ui/icons/AlignLeft/index.d.ts.map +1 -0
  939. package/dist/lexical/ui/icons/AlignLeft/index.js +28 -0
  940. package/dist/lexical/ui/icons/AlignLeft/index.js.map +1 -0
  941. package/dist/lexical/ui/icons/AlignRight/index.d.ts.map +1 -0
  942. package/dist/lexical/ui/icons/AlignRight/index.js +28 -0
  943. package/dist/lexical/ui/icons/AlignRight/index.js.map +1 -0
  944. package/dist/lexical/ui/icons/Block/index.d.ts.map +1 -0
  945. package/dist/lexical/ui/icons/Block/index.js +37 -0
  946. package/dist/lexical/ui/icons/Block/index.js.map +1 -0
  947. package/dist/lexical/ui/icons/Blockquote/index.d.ts.map +1 -0
  948. package/dist/lexical/ui/icons/Blockquote/index.js +19 -0
  949. package/dist/lexical/ui/icons/Blockquote/index.js.map +1 -0
  950. package/dist/lexical/ui/icons/Bold/index.d.ts.map +1 -0
  951. package/dist/lexical/ui/icons/Bold/index.js +19 -0
  952. package/dist/lexical/ui/icons/Bold/index.js.map +1 -0
  953. package/dist/lexical/ui/icons/Caret/index.svg +3 -0
  954. package/dist/lexical/ui/icons/Checklist/index.d.ts.map +1 -0
  955. package/dist/lexical/ui/icons/Checklist/index.js +27 -0
  956. package/dist/lexical/ui/icons/Checklist/index.js.map +1 -0
  957. package/dist/lexical/ui/icons/Code/index.d.ts.map +1 -0
  958. package/dist/lexical/ui/icons/Code/index.js +22 -0
  959. package/dist/lexical/ui/icons/Code/index.js.map +1 -0
  960. package/dist/lexical/ui/icons/CodeBlock/index.d.ts.map +1 -0
  961. package/dist/lexical/ui/icons/CodeBlock/index.js +22 -0
  962. package/dist/lexical/ui/icons/CodeBlock/index.js.map +1 -0
  963. package/dist/lexical/ui/icons/DraggableBlock/light.svg +9 -0
  964. package/dist/lexical/ui/icons/H1/index.d.ts.map +1 -0
  965. package/dist/lexical/ui/icons/H1/index.js +19 -0
  966. package/dist/lexical/ui/icons/H1/index.js.map +1 -0
  967. package/dist/lexical/ui/icons/H2/index.d.ts.map +1 -0
  968. package/dist/lexical/ui/icons/H2/index.js +19 -0
  969. package/dist/lexical/ui/icons/H2/index.js.map +1 -0
  970. package/dist/lexical/ui/icons/H3/index.d.ts.map +1 -0
  971. package/dist/lexical/ui/icons/H3/index.js +19 -0
  972. package/dist/lexical/ui/icons/H3/index.js.map +1 -0
  973. package/dist/lexical/ui/icons/H4/index.d.ts.map +1 -0
  974. package/dist/lexical/ui/icons/H4/index.js +19 -0
  975. package/dist/lexical/ui/icons/H4/index.js.map +1 -0
  976. package/dist/lexical/ui/icons/H5/index.d.ts.map +1 -0
  977. package/dist/lexical/ui/icons/H5/index.js +19 -0
  978. package/dist/lexical/ui/icons/H5/index.js.map +1 -0
  979. package/dist/lexical/ui/icons/H6/index.d.ts.map +1 -0
  980. package/dist/lexical/ui/icons/H6/index.js +19 -0
  981. package/dist/lexical/ui/icons/H6/index.js.map +1 -0
  982. package/dist/lexical/ui/icons/HorizontalRule/index.d.ts.map +1 -0
  983. package/dist/lexical/ui/icons/HorizontalRule/index.js +22 -0
  984. package/dist/lexical/ui/icons/HorizontalRule/index.js.map +1 -0
  985. package/dist/lexical/ui/icons/IndentDecrease/index.d.ts.map +1 -0
  986. package/dist/lexical/ui/icons/IndentDecrease/index.js +31 -0
  987. package/dist/lexical/ui/icons/IndentDecrease/index.js.map +1 -0
  988. package/dist/lexical/ui/icons/IndentIncrease/index.d.ts.map +1 -0
  989. package/dist/lexical/ui/icons/IndentIncrease/index.js +31 -0
  990. package/dist/lexical/ui/icons/IndentIncrease/index.js.map +1 -0
  991. package/dist/lexical/ui/icons/InlineBlocks/index.d.ts +3 -0
  992. package/dist/lexical/ui/icons/InlineBlocks/index.d.ts.map +1 -0
  993. package/dist/lexical/ui/icons/InlineBlocks/index.js +21 -0
  994. package/dist/lexical/ui/icons/InlineBlocks/index.js.map +1 -0
  995. package/dist/lexical/ui/icons/Italic/index.d.ts.map +1 -0
  996. package/dist/lexical/ui/icons/Italic/index.js +19 -0
  997. package/dist/lexical/ui/icons/Italic/index.js.map +1 -0
  998. package/dist/lexical/ui/icons/Link/index.d.ts.map +1 -0
  999. package/dist/lexical/ui/icons/Link/index.js +20 -0
  1000. package/dist/lexical/ui/icons/Link/index.js.map +1 -0
  1001. package/dist/lexical/ui/icons/Meatballs/index.d.ts +3 -0
  1002. package/dist/lexical/ui/icons/Meatballs/index.d.ts.map +1 -0
  1003. package/dist/lexical/ui/icons/Meatballs/index.js +22 -0
  1004. package/dist/lexical/ui/icons/Meatballs/index.js.map +1 -0
  1005. package/dist/lexical/ui/icons/OrderedList/index.d.ts.map +1 -0
  1006. package/dist/lexical/ui/icons/OrderedList/index.js +34 -0
  1007. package/dist/lexical/ui/icons/OrderedList/index.js.map +1 -0
  1008. package/dist/lexical/ui/icons/Relationship/index.d.ts.map +1 -0
  1009. package/dist/lexical/ui/icons/Relationship/index.js +34 -0
  1010. package/dist/lexical/ui/icons/Relationship/index.js.map +1 -0
  1011. package/dist/lexical/ui/icons/Strikethrough/index.d.ts.map +1 -0
  1012. package/dist/lexical/ui/icons/Strikethrough/index.js +22 -0
  1013. package/dist/lexical/ui/icons/Strikethrough/index.js.map +1 -0
  1014. package/dist/lexical/ui/icons/Subscript/index.d.ts.map +1 -0
  1015. package/dist/lexical/ui/icons/Subscript/index.js +19 -0
  1016. package/dist/lexical/ui/icons/Subscript/index.js.map +1 -0
  1017. package/dist/lexical/ui/icons/Superscript/index.d.ts.map +1 -0
  1018. package/dist/lexical/ui/icons/Superscript/index.js +19 -0
  1019. package/dist/lexical/ui/icons/Superscript/index.js.map +1 -0
  1020. package/dist/lexical/ui/icons/Table/index.d.ts +3 -0
  1021. package/dist/lexical/ui/icons/Table/index.d.ts.map +1 -0
  1022. package/dist/lexical/ui/icons/Table/index.js +21 -0
  1023. package/dist/lexical/ui/icons/Table/index.js.map +1 -0
  1024. package/dist/lexical/ui/icons/Text/index.d.ts.map +1 -0
  1025. package/dist/lexical/ui/icons/Text/index.js +19 -0
  1026. package/dist/lexical/ui/icons/Text/index.js.map +1 -0
  1027. package/dist/lexical/ui/icons/Underline/index.d.ts.map +1 -0
  1028. package/dist/lexical/ui/icons/Underline/index.js +22 -0
  1029. package/dist/lexical/ui/icons/Underline/index.js.map +1 -0
  1030. package/dist/lexical/ui/icons/UnorderedList/index.d.ts.map +1 -0
  1031. package/dist/lexical/ui/icons/UnorderedList/index.js +49 -0
  1032. package/dist/lexical/ui/icons/UnorderedList/index.js.map +1 -0
  1033. package/dist/lexical/ui/icons/Upload/index.d.ts.map +1 -0
  1034. package/dist/lexical/ui/icons/Upload/index.js +31 -0
  1035. package/dist/lexical/ui/icons/Upload/index.js.map +1 -0
  1036. package/dist/lexical/utils/canUseDOM.d.ts.map +1 -0
  1037. package/dist/lexical/utils/canUseDOM.js +4 -0
  1038. package/dist/lexical/utils/canUseDOM.js.map +1 -0
  1039. package/dist/lexical/utils/environment.d.ts.map +1 -0
  1040. package/dist/lexical/utils/environment.js +15 -0
  1041. package/dist/lexical/utils/environment.js.map +1 -0
  1042. package/dist/lexical/utils/getDOMRangeRect.d.ts.map +1 -0
  1043. package/dist/lexical/utils/getDOMRangeRect.js +17 -0
  1044. package/dist/lexical/utils/getDOMRangeRect.js.map +1 -0
  1045. package/dist/lexical/utils/getSelectedNode.d.ts.map +1 -0
  1046. package/dist/lexical/utils/getSelectedNode.js +22 -0
  1047. package/dist/lexical/utils/getSelectedNode.js.map +1 -0
  1048. package/dist/lexical/utils/guard.d.ts.map +1 -0
  1049. package/dist/lexical/utils/guard.js +6 -0
  1050. package/dist/lexical/utils/guard.js.map +1 -0
  1051. package/dist/lexical/utils/joinClasses.d.ts.map +1 -0
  1052. package/dist/lexical/utils/joinClasses.js +6 -0
  1053. package/dist/lexical/utils/joinClasses.js.map +1 -0
  1054. package/dist/lexical/utils/markdown/createBlockNode.d.ts +4 -0
  1055. package/dist/lexical/utils/markdown/createBlockNode.d.ts.map +1 -0
  1056. package/dist/lexical/utils/markdown/createBlockNode.js +11 -0
  1057. package/dist/lexical/utils/markdown/createBlockNode.js.map +1 -0
  1058. package/dist/lexical/utils/nodeFormat.d.ts +41 -0
  1059. package/dist/lexical/utils/nodeFormat.d.ts.map +1 -0
  1060. package/dist/lexical/utils/nodeFormat.js +87 -0
  1061. package/dist/lexical/utils/nodeFormat.js.map +1 -0
  1062. package/dist/lexical/utils/point.d.ts.map +1 -0
  1063. package/dist/lexical/utils/point.js +45 -0
  1064. package/dist/lexical/utils/point.js.map +1 -0
  1065. package/dist/lexical/utils/rect.d.ts.map +1 -0
  1066. package/dist/lexical/utils/rect.js +171 -0
  1067. package/dist/lexical/utils/rect.js.map +1 -0
  1068. package/dist/lexical/utils/setFloatingElemPosition.d.ts +12 -0
  1069. package/dist/lexical/utils/setFloatingElemPosition.d.ts.map +1 -0
  1070. package/dist/lexical/utils/setFloatingElemPosition.js +67 -0
  1071. package/dist/lexical/utils/setFloatingElemPosition.js.map +1 -0
  1072. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +1 -0
  1073. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.js +28 -0
  1074. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +1 -0
  1075. package/dist/lexical/utils/swipe.d.ts.map +1 -0
  1076. package/dist/lexical/utils/swipe.js +99 -0
  1077. package/dist/lexical/utils/swipe.js.map +1 -0
  1078. package/dist/lexical/utils/url.d.ts.map +1 -0
  1079. package/dist/lexical/utils/url.js +37 -0
  1080. package/dist/lexical/utils/url.js.map +1 -0
  1081. package/dist/nodeTypes.d.ts +32 -0
  1082. package/dist/nodeTypes.d.ts.map +1 -0
  1083. package/dist/nodeTypes.js +2 -0
  1084. package/dist/nodeTypes.js.map +1 -0
  1085. package/dist/populateGraphQL/defaultValue.d.ts +3 -0
  1086. package/dist/populateGraphQL/defaultValue.d.ts.map +1 -0
  1087. package/dist/populateGraphQL/defaultValue.js +28 -0
  1088. package/dist/populateGraphQL/defaultValue.js.map +1 -0
  1089. package/dist/populateGraphQL/populate.d.ts +17 -0
  1090. package/dist/populateGraphQL/populate.d.ts.map +1 -0
  1091. package/dist/populateGraphQL/populate.js +38 -0
  1092. package/dist/populateGraphQL/populate.js.map +1 -0
  1093. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts +12 -0
  1094. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts.map +1 -0
  1095. package/dist/populateGraphQL/populateLexicalPopulationPromises.js +52 -0
  1096. package/dist/populateGraphQL/populateLexicalPopulationPromises.js.map +1 -0
  1097. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts +28 -0
  1098. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts.map +1 -0
  1099. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js +42 -0
  1100. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js.map +1 -0
  1101. package/dist/types.d.ts +54 -19
  1102. package/dist/types.d.ts.map +1 -1
  1103. package/dist/types.js +1 -2
  1104. package/dist/types.js.map +1 -1
  1105. package/dist/utilities/createClientFeature.d.ts +13 -0
  1106. package/dist/utilities/createClientFeature.d.ts.map +1 -0
  1107. package/dist/utilities/createClientFeature.js +44 -0
  1108. package/dist/utilities/createClientFeature.js.map +1 -0
  1109. package/dist/utilities/createServerFeature.d.ts +16 -0
  1110. package/dist/utilities/createServerFeature.d.ts.map +1 -0
  1111. package/dist/utilities/createServerFeature.js +49 -0
  1112. package/dist/utilities/createServerFeature.js.map +1 -0
  1113. package/dist/utilities/fieldsDrawer/Drawer.d.ts +20 -0
  1114. package/dist/utilities/fieldsDrawer/Drawer.d.ts.map +1 -0
  1115. package/dist/utilities/fieldsDrawer/Drawer.js +39 -0
  1116. package/dist/utilities/fieldsDrawer/Drawer.js.map +1 -0
  1117. package/dist/utilities/fieldsDrawer/DrawerContent.d.ts +4 -0
  1118. package/dist/utilities/fieldsDrawer/DrawerContent.d.ts.map +1 -0
  1119. package/dist/utilities/fieldsDrawer/DrawerContent.js +161 -0
  1120. package/dist/utilities/fieldsDrawer/DrawerContent.js.map +1 -0
  1121. package/dist/utilities/forEachNodeRecursively.d.ts +10 -0
  1122. package/dist/utilities/forEachNodeRecursively.d.ts.map +1 -0
  1123. package/dist/utilities/forEachNodeRecursively.js +29 -0
  1124. package/dist/utilities/forEachNodeRecursively.js.map +1 -0
  1125. package/dist/utilities/generateComponentMap.d.ts +6 -0
  1126. package/dist/utilities/generateComponentMap.d.ts.map +1 -0
  1127. package/dist/utilities/generateComponentMap.js +99 -0
  1128. package/dist/utilities/generateComponentMap.js.map +1 -0
  1129. package/dist/utilities/generateImportMap.d.ts +6 -0
  1130. package/dist/utilities/generateImportMap.d.ts.map +1 -0
  1131. package/dist/utilities/generateImportMap.js +56 -0
  1132. package/dist/utilities/generateImportMap.js.map +1 -0
  1133. package/dist/utilities/generateSchemaMap.d.ts +6 -0
  1134. package/dist/utilities/generateSchemaMap.d.ts.map +1 -0
  1135. package/dist/utilities/generateSchemaMap.js +37 -0
  1136. package/dist/utilities/generateSchemaMap.js.map +1 -0
  1137. package/dist/utilities/migrateSlateToLexical/index.d.ts +15 -0
  1138. package/dist/utilities/migrateSlateToLexical/index.d.ts.map +1 -0
  1139. package/dist/utilities/migrateSlateToLexical/index.js +149 -0
  1140. package/dist/utilities/migrateSlateToLexical/index.js.map +1 -0
  1141. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts +9 -0
  1142. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts.map +1 -0
  1143. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js +80 -0
  1144. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js.map +1 -0
  1145. package/dist/utilities/recurseNodeTree.d.ts +9 -0
  1146. package/dist/utilities/recurseNodeTree.d.ts.map +1 -0
  1147. package/dist/utilities/recurseNodeTree.js +30 -0
  1148. package/dist/utilities/recurseNodeTree.js.map +1 -0
  1149. package/dist/utilities/upgradeLexicalData/index.d.ts +11 -0
  1150. package/dist/utilities/upgradeLexicalData/index.d.ts.map +1 -0
  1151. package/dist/utilities/upgradeLexicalData/index.js +114 -0
  1152. package/dist/utilities/upgradeLexicalData/index.js.map +1 -0
  1153. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.d.ts +9 -0
  1154. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.d.ts.map +1 -0
  1155. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js +79 -0
  1156. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js.map +1 -0
  1157. package/dist/utilities/useLexicalFeature.d.ts +3 -0
  1158. package/dist/utilities/useLexicalFeature.d.ts.map +1 -0
  1159. package/dist/utilities/useLexicalFeature.js +13 -0
  1160. package/dist/utilities/useLexicalFeature.js.map +1 -0
  1161. package/dist/validate/index.d.ts +3 -3
  1162. package/dist/validate/index.d.ts.map +1 -1
  1163. package/dist/validate/index.js +45 -23
  1164. package/dist/validate/index.js.map +1 -1
  1165. package/dist/validate/validateNodes.d.ts +3 -3
  1166. package/dist/validate/validateNodes.d.ts.map +1 -1
  1167. package/dist/validate/validateNodes.js +31 -28
  1168. package/dist/validate/validateNodes.js.map +1 -1
  1169. package/package.json +96 -56
  1170. package/dist/exports/components.d.ts +0 -6
  1171. package/dist/exports/components.d.ts.map +0 -1
  1172. package/dist/exports/components.js +0 -7
  1173. package/dist/exports/components.js.map +0 -1
  1174. package/dist/field/features/align/feature.client.d.ts +0 -3
  1175. package/dist/field/features/align/feature.client.d.ts.map +0 -1
  1176. package/dist/field/features/align/feature.client.js +0 -72
  1177. package/dist/field/features/align/feature.client.js.map +0 -1
  1178. package/dist/field/features/align/feature.server.d.ts +0 -3
  1179. package/dist/field/features/align/feature.server.d.ts.map +0 -1
  1180. package/dist/field/features/align/feature.server.js +0 -16
  1181. package/dist/field/features/align/feature.server.js.map +0 -1
  1182. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.d.ts +0 -3
  1183. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.d.ts.map +0 -1
  1184. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.js +0 -12
  1185. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.js.map +0 -1
  1186. package/dist/field/features/blockquote/feature.client.d.ts +0 -3
  1187. package/dist/field/features/blockquote/feature.client.d.ts.map +0 -1
  1188. package/dist/field/features/blockquote/feature.client.js +0 -70
  1189. package/dist/field/features/blockquote/feature.client.js.map +0 -1
  1190. package/dist/field/features/blockquote/feature.server.d.ts +0 -3
  1191. package/dist/field/features/blockquote/feature.server.d.ts.map +0 -1
  1192. package/dist/field/features/blockquote/feature.server.js +0 -47
  1193. package/dist/field/features/blockquote/feature.server.js.map +0 -1
  1194. package/dist/field/features/blockquote/markdownTransformer.d.ts.map +0 -1
  1195. package/dist/field/features/blockquote/markdownTransformer.js +0 -42
  1196. package/dist/field/features/blockquote/markdownTransformer.js.map +0 -1
  1197. package/dist/field/features/blocks/component/BlockContent.d.ts +0 -27
  1198. package/dist/field/features/blocks/component/BlockContent.d.ts.map +0 -1
  1199. package/dist/field/features/blocks/component/BlockContent.js +0 -183
  1200. package/dist/field/features/blocks/component/BlockContent.js.map +0 -1
  1201. package/dist/field/features/blocks/component/FormSavePlugin.d.ts +0 -12
  1202. package/dist/field/features/blocks/component/FormSavePlugin.d.ts.map +0 -1
  1203. package/dist/field/features/blocks/component/FormSavePlugin.js +0 -29
  1204. package/dist/field/features/blocks/component/FormSavePlugin.js.map +0 -1
  1205. package/dist/field/features/blocks/component/index.d.ts +0 -16
  1206. package/dist/field/features/blocks/component/index.d.ts.map +0 -1
  1207. package/dist/field/features/blocks/component/index.js +0 -128
  1208. package/dist/field/features/blocks/component/index.js.map +0 -1
  1209. package/dist/field/features/blocks/component/index.scss +0 -153
  1210. package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts +0 -11
  1211. package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts.map +0 -1
  1212. package/dist/field/features/blocks/component/removeEmptyArrayValues.js +0 -16
  1213. package/dist/field/features/blocks/component/removeEmptyArrayValues.js.map +0 -1
  1214. package/dist/field/features/blocks/drawer/index.d.ts +0 -9
  1215. package/dist/field/features/blocks/drawer/index.d.ts.map +0 -1
  1216. package/dist/field/features/blocks/drawer/index.js +0 -84
  1217. package/dist/field/features/blocks/drawer/index.js.map +0 -1
  1218. package/dist/field/features/blocks/feature.client.d.ts +0 -7
  1219. package/dist/field/features/blocks/feature.client.d.ts.map +0 -1
  1220. package/dist/field/features/blocks/feature.client.js +0 -61
  1221. package/dist/field/features/blocks/feature.client.js.map +0 -1
  1222. package/dist/field/features/blocks/feature.server.d.ts +0 -11
  1223. package/dist/field/features/blocks/feature.server.d.ts.map +0 -1
  1224. package/dist/field/features/blocks/feature.server.js +0 -127
  1225. package/dist/field/features/blocks/feature.server.js.map +0 -1
  1226. package/dist/field/features/blocks/nodes/BlocksNode.d.ts +0 -38
  1227. package/dist/field/features/blocks/nodes/BlocksNode.d.ts.map +0 -1
  1228. package/dist/field/features/blocks/nodes/BlocksNode.js +0 -92
  1229. package/dist/field/features/blocks/nodes/BlocksNode.js.map +0 -1
  1230. package/dist/field/features/blocks/plugin/commands.d.ts +0 -4
  1231. package/dist/field/features/blocks/plugin/commands.d.ts.map +0 -1
  1232. package/dist/field/features/blocks/plugin/commands.js +0 -5
  1233. package/dist/field/features/blocks/plugin/commands.js.map +0 -1
  1234. package/dist/field/features/blocks/plugin/index.d.ts +0 -5
  1235. package/dist/field/features/blocks/plugin/index.d.ts.map +0 -1
  1236. package/dist/field/features/blocks/plugin/index.js +0 -43
  1237. package/dist/field/features/blocks/plugin/index.js.map +0 -1
  1238. package/dist/field/features/blocks/populationPromise.d.ts +0 -5
  1239. package/dist/field/features/blocks/populationPromise.d.ts.map +0 -1
  1240. package/dist/field/features/blocks/populationPromise.js +0 -46
  1241. package/dist/field/features/blocks/populationPromise.js.map +0 -1
  1242. package/dist/field/features/blocks/validate.d.ts +0 -5
  1243. package/dist/field/features/blocks/validate.d.ts.map +0 -1
  1244. package/dist/field/features/blocks/validate.js +0 -50
  1245. package/dist/field/features/blocks/validate.js.map +0 -1
  1246. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.d.ts +0 -3
  1247. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.d.ts.map +0 -1
  1248. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.js +0 -10
  1249. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.js.map +0 -1
  1250. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.d.ts +0 -3
  1251. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.d.ts.map +0 -1
  1252. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.js +0 -12
  1253. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.js.map +0 -1
  1254. package/dist/field/features/converters/html/converter/converters/linebreak.d.ts.map +0 -1
  1255. package/dist/field/features/converters/html/converter/converters/linebreak.js +0 -10
  1256. package/dist/field/features/converters/html/converter/converters/linebreak.js.map +0 -1
  1257. package/dist/field/features/converters/html/converter/converters/paragraph.d.ts.map +0 -1
  1258. package/dist/field/features/converters/html/converter/converters/paragraph.js +0 -20
  1259. package/dist/field/features/converters/html/converter/converters/paragraph.js.map +0 -1
  1260. package/dist/field/features/converters/html/converter/converters/text.d.ts.map +0 -1
  1261. package/dist/field/features/converters/html/converter/converters/text.js +0 -33
  1262. package/dist/field/features/converters/html/converter/converters/text.js.map +0 -1
  1263. package/dist/field/features/converters/html/converter/defaultConverters.d.ts.map +0 -1
  1264. package/dist/field/features/converters/html/converter/defaultConverters.js +0 -10
  1265. package/dist/field/features/converters/html/converter/defaultConverters.js.map +0 -1
  1266. package/dist/field/features/converters/html/converter/index.d.ts +0 -21
  1267. package/dist/field/features/converters/html/converter/index.d.ts.map +0 -1
  1268. package/dist/field/features/converters/html/converter/index.js +0 -44
  1269. package/dist/field/features/converters/html/converter/index.js.map +0 -1
  1270. package/dist/field/features/converters/html/converter/types.d.ts +0 -19
  1271. package/dist/field/features/converters/html/converter/types.d.ts.map +0 -1
  1272. package/dist/field/features/converters/html/converter/types.js +0 -3
  1273. package/dist/field/features/converters/html/converter/types.js.map +0 -1
  1274. package/dist/field/features/converters/html/feature.server.d.ts +0 -9
  1275. package/dist/field/features/converters/html/feature.server.d.ts.map +0 -1
  1276. package/dist/field/features/converters/html/feature.server.js +0 -14
  1277. package/dist/field/features/converters/html/feature.server.js.map +0 -1
  1278. package/dist/field/features/converters/html/field/index.d.ts +0 -23
  1279. package/dist/field/features/converters/html/field/index.d.ts.map +0 -1
  1280. package/dist/field/features/converters/html/field/index.js +0 -114
  1281. package/dist/field/features/converters/html/field/index.js.map +0 -1
  1282. package/dist/field/features/createClientComponent.d.ts +0 -6
  1283. package/dist/field/features/createClientComponent.d.ts.map +0 -1
  1284. package/dist/field/features/createClientComponent.js +0 -12
  1285. package/dist/field/features/createClientComponent.js.map +0 -1
  1286. package/dist/field/features/createFeaturePropComponent.d.ts.map +0 -1
  1287. package/dist/field/features/createFeaturePropComponent.js +0 -15
  1288. package/dist/field/features/createFeaturePropComponent.js.map +0 -1
  1289. package/dist/field/features/debug/testrecorder/feature.client.d.ts +0 -3
  1290. package/dist/field/features/debug/testrecorder/feature.client.d.ts.map +0 -1
  1291. package/dist/field/features/debug/testrecorder/feature.client.js +0 -20
  1292. package/dist/field/features/debug/testrecorder/feature.client.js.map +0 -1
  1293. package/dist/field/features/debug/testrecorder/feature.server.d.ts +0 -3
  1294. package/dist/field/features/debug/testrecorder/feature.server.d.ts.map +0 -1
  1295. package/dist/field/features/debug/testrecorder/feature.server.js +0 -15
  1296. package/dist/field/features/debug/testrecorder/feature.server.js.map +0 -1
  1297. package/dist/field/features/debug/testrecorder/plugin/index.d.ts +0 -5
  1298. package/dist/field/features/debug/testrecorder/plugin/index.d.ts.map +0 -1
  1299. package/dist/field/features/debug/testrecorder/plugin/index.js +0 -448
  1300. package/dist/field/features/debug/testrecorder/plugin/index.js.map +0 -1
  1301. package/dist/field/features/debug/testrecorder/plugin/index.scss +0 -49
  1302. package/dist/field/features/debug/treeview/feature.client.d.ts +0 -3
  1303. package/dist/field/features/debug/treeview/feature.client.d.ts.map +0 -1
  1304. package/dist/field/features/debug/treeview/feature.client.js +0 -20
  1305. package/dist/field/features/debug/treeview/feature.client.js.map +0 -1
  1306. package/dist/field/features/debug/treeview/feature.server.d.ts +0 -3
  1307. package/dist/field/features/debug/treeview/feature.server.d.ts.map +0 -1
  1308. package/dist/field/features/debug/treeview/feature.server.js +0 -15
  1309. package/dist/field/features/debug/treeview/feature.server.js.map +0 -1
  1310. package/dist/field/features/debug/treeview/plugin/index.d.ts +0 -4
  1311. package/dist/field/features/debug/treeview/plugin/index.d.ts.map +0 -1
  1312. package/dist/field/features/debug/treeview/plugin/index.js +0 -21
  1313. package/dist/field/features/debug/treeview/plugin/index.js.map +0 -1
  1314. package/dist/field/features/debug/treeview/plugin/index.scss +0 -78
  1315. package/dist/field/features/format/bold/feature.client.d.ts +0 -3
  1316. package/dist/field/features/format/bold/feature.client.d.ts.map +0 -1
  1317. package/dist/field/features/format/bold/feature.client.js +0 -48
  1318. package/dist/field/features/format/bold/feature.client.js.map +0 -1
  1319. package/dist/field/features/format/bold/feature.server.d.ts +0 -3
  1320. package/dist/field/features/format/bold/feature.server.d.ts.map +0 -1
  1321. package/dist/field/features/format/bold/feature.server.js +0 -27
  1322. package/dist/field/features/format/bold/feature.server.js.map +0 -1
  1323. package/dist/field/features/format/bold/markdownTransformers.d.ts.map +0 -1
  1324. package/dist/field/features/format/bold/markdownTransformers.js +0 -34
  1325. package/dist/field/features/format/bold/markdownTransformers.js.map +0 -1
  1326. package/dist/field/features/format/common/floatingSelectToolbarSection.d.ts +0 -3
  1327. package/dist/field/features/format/common/floatingSelectToolbarSection.d.ts.map +0 -1
  1328. package/dist/field/features/format/common/floatingSelectToolbarSection.js +0 -10
  1329. package/dist/field/features/format/common/floatingSelectToolbarSection.js.map +0 -1
  1330. package/dist/field/features/format/inlinecode/feature.client.d.ts +0 -3
  1331. package/dist/field/features/format/inlinecode/feature.client.d.ts.map +0 -1
  1332. package/dist/field/features/format/inlinecode/feature.client.js +0 -43
  1333. package/dist/field/features/format/inlinecode/feature.client.js.map +0 -1
  1334. package/dist/field/features/format/inlinecode/feature.server.d.ts +0 -3
  1335. package/dist/field/features/format/inlinecode/feature.server.d.ts.map +0 -1
  1336. package/dist/field/features/format/inlinecode/feature.server.js +0 -19
  1337. package/dist/field/features/format/inlinecode/feature.server.js.map +0 -1
  1338. package/dist/field/features/format/inlinecode/markdownTransformers.d.ts.map +0 -1
  1339. package/dist/field/features/format/inlinecode/markdownTransformers.js +0 -9
  1340. package/dist/field/features/format/inlinecode/markdownTransformers.js.map +0 -1
  1341. package/dist/field/features/format/italic/feature.client.d.ts +0 -3
  1342. package/dist/field/features/format/italic/feature.client.d.ts.map +0 -1
  1343. package/dist/field/features/format/italic/feature.client.js +0 -44
  1344. package/dist/field/features/format/italic/feature.client.js.map +0 -1
  1345. package/dist/field/features/format/italic/feature.server.d.ts +0 -3
  1346. package/dist/field/features/format/italic/feature.server.d.ts.map +0 -1
  1347. package/dist/field/features/format/italic/feature.server.js +0 -20
  1348. package/dist/field/features/format/italic/feature.server.js.map +0 -1
  1349. package/dist/field/features/format/italic/markdownTransformers.d.ts.map +0 -1
  1350. package/dist/field/features/format/italic/markdownTransformers.js +0 -17
  1351. package/dist/field/features/format/italic/markdownTransformers.js.map +0 -1
  1352. package/dist/field/features/format/strikethrough/feature.client.d.ts +0 -3
  1353. package/dist/field/features/format/strikethrough/feature.client.d.ts.map +0 -1
  1354. package/dist/field/features/format/strikethrough/feature.client.js +0 -43
  1355. package/dist/field/features/format/strikethrough/feature.client.js.map +0 -1
  1356. package/dist/field/features/format/strikethrough/feature.server.d.ts +0 -3
  1357. package/dist/field/features/format/strikethrough/feature.server.d.ts.map +0 -1
  1358. package/dist/field/features/format/strikethrough/feature.server.js +0 -19
  1359. package/dist/field/features/format/strikethrough/feature.server.js.map +0 -1
  1360. package/dist/field/features/format/strikethrough/markdownTransformers.d.ts.map +0 -1
  1361. package/dist/field/features/format/strikethrough/markdownTransformers.js +0 -9
  1362. package/dist/field/features/format/strikethrough/markdownTransformers.js.map +0 -1
  1363. package/dist/field/features/format/subscript/feature.client.d.ts +0 -3
  1364. package/dist/field/features/format/subscript/feature.client.d.ts.map +0 -1
  1365. package/dist/field/features/format/subscript/feature.client.js +0 -39
  1366. package/dist/field/features/format/subscript/feature.client.js.map +0 -1
  1367. package/dist/field/features/format/subscript/feature.server.d.ts +0 -3
  1368. package/dist/field/features/format/subscript/feature.server.d.ts.map +0 -1
  1369. package/dist/field/features/format/subscript/feature.server.js +0 -15
  1370. package/dist/field/features/format/subscript/feature.server.js.map +0 -1
  1371. package/dist/field/features/format/superscript/feature.client.d.ts +0 -3
  1372. package/dist/field/features/format/superscript/feature.client.d.ts.map +0 -1
  1373. package/dist/field/features/format/superscript/feature.client.js +0 -39
  1374. package/dist/field/features/format/superscript/feature.client.js.map +0 -1
  1375. package/dist/field/features/format/superscript/feature.server.d.ts +0 -3
  1376. package/dist/field/features/format/superscript/feature.server.d.ts.map +0 -1
  1377. package/dist/field/features/format/superscript/feature.server.js +0 -15
  1378. package/dist/field/features/format/superscript/feature.server.js.map +0 -1
  1379. package/dist/field/features/format/underline/feature.client.d.ts +0 -3
  1380. package/dist/field/features/format/underline/feature.client.d.ts.map +0 -1
  1381. package/dist/field/features/format/underline/feature.client.js +0 -39
  1382. package/dist/field/features/format/underline/feature.client.js.map +0 -1
  1383. package/dist/field/features/format/underline/feature.server.d.ts +0 -3
  1384. package/dist/field/features/format/underline/feature.server.d.ts.map +0 -1
  1385. package/dist/field/features/format/underline/feature.server.js +0 -15
  1386. package/dist/field/features/format/underline/feature.server.js.map +0 -1
  1387. package/dist/field/features/heading/feature.client.d.ts +0 -4
  1388. package/dist/field/features/heading/feature.client.d.ts.map +0 -1
  1389. package/dist/field/features/heading/feature.client.js +0 -97
  1390. package/dist/field/features/heading/feature.client.js.map +0 -1
  1391. package/dist/field/features/heading/feature.server.d.ts +0 -7
  1392. package/dist/field/features/heading/feature.server.d.ts.map +0 -1
  1393. package/dist/field/features/heading/feature.server.js +0 -58
  1394. package/dist/field/features/heading/feature.server.js.map +0 -1
  1395. package/dist/field/features/heading/markdownTransformer.d.ts.map +0 -1
  1396. package/dist/field/features/heading/markdownTransformer.js +0 -30
  1397. package/dist/field/features/heading/markdownTransformer.js.map +0 -1
  1398. package/dist/field/features/horizontalrule/component/index.d.ts.map +0 -1
  1399. package/dist/field/features/horizontalrule/component/index.js +0 -64
  1400. package/dist/field/features/horizontalrule/component/index.js.map +0 -1
  1401. package/dist/field/features/horizontalrule/feature.client.d.ts +0 -3
  1402. package/dist/field/features/horizontalrule/feature.client.d.ts.map +0 -1
  1403. package/dist/field/features/horizontalrule/feature.client.js +0 -53
  1404. package/dist/field/features/horizontalrule/feature.client.js.map +0 -1
  1405. package/dist/field/features/horizontalrule/feature.server.d.ts +0 -3
  1406. package/dist/field/features/horizontalrule/feature.server.d.ts.map +0 -1
  1407. package/dist/field/features/horizontalrule/feature.server.js +0 -36
  1408. package/dist/field/features/horizontalrule/feature.server.js.map +0 -1
  1409. package/dist/field/features/horizontalrule/markdownTransformer.d.ts.map +0 -1
  1410. package/dist/field/features/horizontalrule/markdownTransformer.js +0 -23
  1411. package/dist/field/features/horizontalrule/markdownTransformer.js.map +0 -1
  1412. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.d.ts +0 -55
  1413. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.d.ts.map +0 -1
  1414. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.js +0 -89
  1415. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.js.map +0 -1
  1416. package/dist/field/features/horizontalrule/plugin/index.d.ts +0 -6
  1417. package/dist/field/features/horizontalrule/plugin/index.d.ts.map +0 -1
  1418. package/dist/field/features/horizontalrule/plugin/index.js +0 -34
  1419. package/dist/field/features/horizontalrule/plugin/index.js.map +0 -1
  1420. package/dist/field/features/horizontalrule/plugin/index.scss +0 -20
  1421. package/dist/field/features/indent/feature.client.d.ts +0 -3
  1422. package/dist/field/features/indent/feature.client.d.ts.map +0 -1
  1423. package/dist/field/features/indent/feature.client.js +0 -58
  1424. package/dist/field/features/indent/feature.client.js.map +0 -1
  1425. package/dist/field/features/indent/feature.server.d.ts +0 -3
  1426. package/dist/field/features/indent/feature.server.d.ts.map +0 -1
  1427. package/dist/field/features/indent/feature.server.js +0 -16
  1428. package/dist/field/features/indent/feature.server.js.map +0 -1
  1429. package/dist/field/features/indent/floatingSelectToolbarIndentSection.d.ts +0 -3
  1430. package/dist/field/features/indent/floatingSelectToolbarIndentSection.d.ts.map +0 -1
  1431. package/dist/field/features/indent/floatingSelectToolbarIndentSection.js +0 -10
  1432. package/dist/field/features/indent/floatingSelectToolbarIndentSection.js.map +0 -1
  1433. package/dist/field/features/indent/index.scss +0 -4
  1434. package/dist/field/features/link/drawer/baseFields.d.ts +0 -4
  1435. package/dist/field/features/link/drawer/baseFields.d.ts.map +0 -1
  1436. package/dist/field/features/link/drawer/baseFields.js +0 -107
  1437. package/dist/field/features/link/drawer/baseFields.js.map +0 -1
  1438. package/dist/field/features/link/drawer/index.d.ts +0 -5
  1439. package/dist/field/features/link/drawer/index.d.ts.map +0 -1
  1440. package/dist/field/features/link/drawer/index.js +0 -93
  1441. package/dist/field/features/link/drawer/index.js.map +0 -1
  1442. package/dist/field/features/link/drawer/index.scss +0 -50
  1443. package/dist/field/features/link/drawer/types.d.ts +0 -8
  1444. package/dist/field/features/link/drawer/types.d.ts.map +0 -1
  1445. package/dist/field/features/link/drawer/types.js +0 -3
  1446. package/dist/field/features/link/drawer/types.js.map +0 -1
  1447. package/dist/field/features/link/feature.client.d.ts +0 -5
  1448. package/dist/field/features/link/feature.client.d.ts.map +0 -1
  1449. package/dist/field/features/link/feature.client.js +0 -90
  1450. package/dist/field/features/link/feature.client.js.map +0 -1
  1451. package/dist/field/features/link/feature.server.d.ts +0 -33
  1452. package/dist/field/features/link/feature.server.d.ts.map +0 -1
  1453. package/dist/field/features/link/feature.server.js +0 -91
  1454. package/dist/field/features/link/feature.server.js.map +0 -1
  1455. package/dist/field/features/link/nodes/AutoLinkNode.d.ts.map +0 -1
  1456. package/dist/field/features/link/nodes/AutoLinkNode.js +0 -61
  1457. package/dist/field/features/link/nodes/AutoLinkNode.js.map +0 -1
  1458. package/dist/field/features/link/nodes/LinkNode.d.ts +0 -38
  1459. package/dist/field/features/link/nodes/LinkNode.d.ts.map +0 -1
  1460. package/dist/field/features/link/nodes/LinkNode.js +0 -301
  1461. package/dist/field/features/link/nodes/LinkNode.js.map +0 -1
  1462. package/dist/field/features/link/nodes/types.d.ts +0 -19
  1463. package/dist/field/features/link/nodes/types.d.ts.map +0 -1
  1464. package/dist/field/features/link/nodes/types.js +0 -3
  1465. package/dist/field/features/link/nodes/types.js.map +0 -1
  1466. package/dist/field/features/link/plugins/autoLink/index.d.ts +0 -19
  1467. package/dist/field/features/link/plugins/autoLink/index.d.ts.map +0 -1
  1468. package/dist/field/features/link/plugins/autoLink/index.js +0 -321
  1469. package/dist/field/features/link/plugins/autoLink/index.js.map +0 -1
  1470. package/dist/field/features/link/plugins/clickableLink/index.d.ts +0 -3
  1471. package/dist/field/features/link/plugins/clickableLink/index.d.ts.map +0 -1
  1472. package/dist/field/features/link/plugins/clickableLink/index.js +0 -10
  1473. package/dist/field/features/link/plugins/clickableLink/index.js.map +0 -1
  1474. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +0 -1
  1475. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js +0 -5
  1476. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +0 -1
  1477. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +0 -1
  1478. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +0 -259
  1479. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +0 -1
  1480. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts +0 -6
  1481. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts.map +0 -1
  1482. package/dist/field/features/link/plugins/floatingLinkEditor/index.js +0 -13
  1483. package/dist/field/features/link/plugins/floatingLinkEditor/index.js.map +0 -1
  1484. package/dist/field/features/link/plugins/floatingLinkEditor/index.scss +0 -78
  1485. package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts +0 -15
  1486. package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts.map +0 -1
  1487. package/dist/field/features/link/plugins/floatingLinkEditor/types.js +0 -6
  1488. package/dist/field/features/link/plugins/floatingLinkEditor/types.js.map +0 -1
  1489. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts +0 -12
  1490. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +0 -1
  1491. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js +0 -38
  1492. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js.map +0 -1
  1493. package/dist/field/features/link/plugins/link/index.d.ts +0 -2
  1494. package/dist/field/features/link/plugins/link/index.d.ts.map +0 -1
  1495. package/dist/field/features/link/plugins/link/index.js +0 -62
  1496. package/dist/field/features/link/plugins/link/index.js.map +0 -1
  1497. package/dist/field/features/link/populationPromise.d.ts +0 -5
  1498. package/dist/field/features/link/populationPromise.d.ts.map +0 -1
  1499. package/dist/field/features/link/populationPromise.js +0 -46
  1500. package/dist/field/features/link/populationPromise.js.map +0 -1
  1501. package/dist/field/features/lists/checklist/feature.client.d.ts +0 -3
  1502. package/dist/field/features/lists/checklist/feature.client.d.ts.map +0 -1
  1503. package/dist/field/features/lists/checklist/feature.client.js +0 -82
  1504. package/dist/field/features/lists/checklist/feature.client.js.map +0 -1
  1505. package/dist/field/features/lists/checklist/feature.server.d.ts +0 -3
  1506. package/dist/field/features/lists/checklist/feature.server.d.ts.map +0 -1
  1507. package/dist/field/features/lists/checklist/feature.server.js +0 -36
  1508. package/dist/field/features/lists/checklist/feature.server.js.map +0 -1
  1509. package/dist/field/features/lists/checklist/markdownTransformers.d.ts.map +0 -1
  1510. package/dist/field/features/lists/checklist/markdownTransformers.js +0 -17
  1511. package/dist/field/features/lists/checklist/markdownTransformers.js.map +0 -1
  1512. package/dist/field/features/lists/checklist/plugin/index.d.ts +0 -3
  1513. package/dist/field/features/lists/checklist/plugin/index.d.ts.map +0 -1
  1514. package/dist/field/features/lists/checklist/plugin/index.js +0 -9
  1515. package/dist/field/features/lists/checklist/plugin/index.js.map +0 -1
  1516. package/dist/field/features/lists/common/markdown.d.ts +0 -6
  1517. package/dist/field/features/lists/common/markdown.d.ts.map +0 -1
  1518. package/dist/field/features/lists/common/markdown.js +0 -59
  1519. package/dist/field/features/lists/common/markdown.js.map +0 -1
  1520. package/dist/field/features/lists/htmlConverter.d.ts +0 -5
  1521. package/dist/field/features/lists/htmlConverter.d.ts.map +0 -1
  1522. package/dist/field/features/lists/htmlConverter.js +0 -49
  1523. package/dist/field/features/lists/htmlConverter.js.map +0 -1
  1524. package/dist/field/features/lists/orderedlist/feature.client.d.ts +0 -3
  1525. package/dist/field/features/lists/orderedlist/feature.client.d.ts.map +0 -1
  1526. package/dist/field/features/lists/orderedlist/feature.client.js +0 -72
  1527. package/dist/field/features/lists/orderedlist/feature.client.js.map +0 -1
  1528. package/dist/field/features/lists/orderedlist/feature.server.d.ts +0 -3
  1529. package/dist/field/features/lists/orderedlist/feature.server.d.ts.map +0 -1
  1530. package/dist/field/features/lists/orderedlist/feature.server.js +0 -36
  1531. package/dist/field/features/lists/orderedlist/feature.server.js.map +0 -1
  1532. package/dist/field/features/lists/orderedlist/markdownTransformer.d.ts.map +0 -1
  1533. package/dist/field/features/lists/orderedlist/markdownTransformer.js +0 -17
  1534. package/dist/field/features/lists/orderedlist/markdownTransformer.js.map +0 -1
  1535. package/dist/field/features/lists/plugin/index.d.ts +0 -3
  1536. package/dist/field/features/lists/plugin/index.d.ts.map +0 -1
  1537. package/dist/field/features/lists/plugin/index.js +0 -9
  1538. package/dist/field/features/lists/plugin/index.js.map +0 -1
  1539. package/dist/field/features/lists/unorderedlist/feature.client.d.ts +0 -3
  1540. package/dist/field/features/lists/unorderedlist/feature.client.d.ts.map +0 -1
  1541. package/dist/field/features/lists/unorderedlist/feature.client.js +0 -72
  1542. package/dist/field/features/lists/unorderedlist/feature.client.js.map +0 -1
  1543. package/dist/field/features/lists/unorderedlist/feature.server.d.ts +0 -3
  1544. package/dist/field/features/lists/unorderedlist/feature.server.d.ts.map +0 -1
  1545. package/dist/field/features/lists/unorderedlist/feature.server.js +0 -36
  1546. package/dist/field/features/lists/unorderedlist/feature.server.js.map +0 -1
  1547. package/dist/field/features/lists/unorderedlist/markdownTransformer.d.ts.map +0 -1
  1548. package/dist/field/features/lists/unorderedlist/markdownTransformer.js +0 -17
  1549. package/dist/field/features/lists/unorderedlist/markdownTransformer.js.map +0 -1
  1550. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +0 -6
  1551. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1552. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js +0 -6
  1553. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +0 -1
  1554. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +0 -3
  1555. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1556. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +0 -20
  1557. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +0 -1
  1558. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts +0 -3
  1559. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1560. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +0 -8
  1561. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +0 -1
  1562. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +0 -6
  1563. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +0 -1
  1564. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js +0 -6
  1565. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +0 -1
  1566. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +0 -3
  1567. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1568. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +0 -31
  1569. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +0 -1
  1570. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts +0 -3
  1571. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +0 -1
  1572. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js +0 -8
  1573. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +0 -1
  1574. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +0 -6
  1575. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +0 -1
  1576. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js +0 -6
  1577. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +0 -1
  1578. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +0 -3
  1579. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +0 -1
  1580. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +0 -22
  1581. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +0 -1
  1582. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts +0 -3
  1583. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +0 -1
  1584. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js +0 -8
  1585. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +0 -1
  1586. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +0 -6
  1587. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1588. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js +0 -6
  1589. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +0 -1
  1590. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +0 -3
  1591. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1592. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +0 -22
  1593. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +0 -1
  1594. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts +0 -3
  1595. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1596. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +0 -8
  1597. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +0 -1
  1598. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +0 -6
  1599. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +0 -1
  1600. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js +0 -6
  1601. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +0 -1
  1602. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +0 -3
  1603. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +0 -1
  1604. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +0 -20
  1605. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +0 -1
  1606. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts +0 -3
  1607. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +0 -1
  1608. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +0 -8
  1609. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +0 -1
  1610. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +0 -6
  1611. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1612. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js +0 -6
  1613. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +0 -1
  1614. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +0 -3
  1615. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1616. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +0 -26
  1617. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +0 -1
  1618. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts +0 -3
  1619. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1620. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +0 -8
  1621. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +0 -1
  1622. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +0 -6
  1623. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1624. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js +0 -6
  1625. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +0 -1
  1626. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +0 -3
  1627. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1628. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +0 -25
  1629. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +0 -1
  1630. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts +0 -3
  1631. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1632. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +0 -8
  1633. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +0 -1
  1634. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +0 -3
  1635. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +0 -1
  1636. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js +0 -18
  1637. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +0 -1
  1638. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts +0 -17
  1639. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +0 -1
  1640. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.js +0 -63
  1641. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.js.map +0 -1
  1642. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts +0 -31
  1643. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +0 -1
  1644. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.js +0 -3
  1645. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.js.map +0 -1
  1646. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts +0 -3
  1647. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +0 -1
  1648. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js +0 -34
  1649. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js.map +0 -1
  1650. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts +0 -9
  1651. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +0 -1
  1652. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js +0 -47
  1653. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js.map +0 -1
  1654. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1655. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +0 -8
  1656. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1657. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +0 -36
  1658. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1659. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +0 -70
  1660. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1661. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.scss +0 -14
  1662. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +0 -6
  1663. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +0 -1
  1664. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js +0 -6
  1665. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +0 -1
  1666. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +0 -3
  1667. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +0 -1
  1668. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.js +0 -23
  1669. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +0 -1
  1670. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts +0 -3
  1671. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +0 -1
  1672. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js +0 -8
  1673. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +0 -1
  1674. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts +0 -6
  1675. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1676. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.js +0 -6
  1677. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.js.map +0 -1
  1678. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts +0 -3
  1679. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1680. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.js +0 -29
  1681. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +0 -1
  1682. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts +0 -3
  1683. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1684. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js +0 -8
  1685. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js.map +0 -1
  1686. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts +0 -6
  1687. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +0 -1
  1688. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.js +0 -6
  1689. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.js.map +0 -1
  1690. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts +0 -3
  1691. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +0 -1
  1692. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.js +0 -35
  1693. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +0 -1
  1694. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts +0 -3
  1695. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +0 -1
  1696. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js +0 -8
  1697. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js.map +0 -1
  1698. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts +0 -6
  1699. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +0 -1
  1700. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.js +0 -6
  1701. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.js.map +0 -1
  1702. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts +0 -3
  1703. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1704. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.js +0 -30
  1705. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.js.map +0 -1
  1706. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts +0 -3
  1707. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +0 -1
  1708. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js +0 -8
  1709. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js.map +0 -1
  1710. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts +0 -6
  1711. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1712. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.js +0 -6
  1713. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +0 -1
  1714. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +0 -3
  1715. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1716. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.js +0 -25
  1717. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +0 -1
  1718. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts +0 -3
  1719. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1720. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js +0 -8
  1721. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +0 -1
  1722. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +0 -6
  1723. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +0 -1
  1724. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.js +0 -6
  1725. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +0 -1
  1726. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +0 -3
  1727. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +0 -1
  1728. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.js +0 -26
  1729. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +0 -1
  1730. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts +0 -3
  1731. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +0 -1
  1732. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js +0 -8
  1733. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +0 -1
  1734. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts +0 -6
  1735. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +0 -1
  1736. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.js +0 -6
  1737. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +0 -1
  1738. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +0 -3
  1739. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +0 -1
  1740. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js +0 -18
  1741. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +0 -1
  1742. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts +0 -3
  1743. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +0 -1
  1744. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js +0 -8
  1745. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +0 -1
  1746. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts +0 -6
  1747. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1748. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.js +0 -6
  1749. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +0 -1
  1750. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +0 -3
  1751. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1752. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.js +0 -27
  1753. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +0 -1
  1754. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts +0 -3
  1755. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1756. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js +0 -8
  1757. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +0 -1
  1758. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +0 -6
  1759. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +0 -1
  1760. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.js +0 -6
  1761. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +0 -1
  1762. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +0 -3
  1763. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +0 -1
  1764. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js +0 -26
  1765. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +0 -1
  1766. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts +0 -3
  1767. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +0 -1
  1768. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js +0 -8
  1769. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +0 -1
  1770. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts +0 -6
  1771. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1772. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.js +0 -6
  1773. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.js.map +0 -1
  1774. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts +0 -3
  1775. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1776. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js +0 -21
  1777. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +0 -1
  1778. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts +0 -3
  1779. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1780. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js +0 -8
  1781. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js.map +0 -1
  1782. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts +0 -3
  1783. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +0 -1
  1784. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.js +0 -24
  1785. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.js.map +0 -1
  1786. package/dist/field/features/migrations/slateToLexical/converter/index.d.ts.map +0 -1
  1787. package/dist/field/features/migrations/slateToLexical/converter/index.js +0 -107
  1788. package/dist/field/features/migrations/slateToLexical/converter/index.js.map +0 -1
  1789. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts +0 -25
  1790. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts.map +0 -1
  1791. package/dist/field/features/migrations/slateToLexical/converter/types.js +0 -3
  1792. package/dist/field/features/migrations/slateToLexical/converter/types.js.map +0 -1
  1793. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts +0 -3
  1794. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts.map +0 -1
  1795. package/dist/field/features/migrations/slateToLexical/feature.client.js +0 -34
  1796. package/dist/field/features/migrations/slateToLexical/feature.client.js.map +0 -1
  1797. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts +0 -9
  1798. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts.map +0 -1
  1799. package/dist/field/features/migrations/slateToLexical/feature.server.js +0 -47
  1800. package/dist/field/features/migrations/slateToLexical/feature.server.js.map +0 -1
  1801. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1802. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +0 -8
  1803. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1804. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +0 -36
  1805. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1806. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +0 -70
  1807. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1808. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.scss +0 -14
  1809. package/dist/field/features/paragraph/feature.client.d.ts +0 -3
  1810. package/dist/field/features/paragraph/feature.client.d.ts.map +0 -1
  1811. package/dist/field/features/paragraph/feature.client.js +0 -65
  1812. package/dist/field/features/paragraph/feature.client.js.map +0 -1
  1813. package/dist/field/features/paragraph/feature.server.d.ts +0 -3
  1814. package/dist/field/features/paragraph/feature.server.d.ts.map +0 -1
  1815. package/dist/field/features/paragraph/feature.server.js +0 -16
  1816. package/dist/field/features/paragraph/feature.server.js.map +0 -1
  1817. package/dist/field/features/relationship/drawer/commands.d.ts.map +0 -1
  1818. package/dist/field/features/relationship/drawer/commands.js +0 -5
  1819. package/dist/field/features/relationship/drawer/commands.js.map +0 -1
  1820. package/dist/field/features/relationship/drawer/index.d.ts.map +0 -1
  1821. package/dist/field/features/relationship/drawer/index.js +0 -81
  1822. package/dist/field/features/relationship/drawer/index.js.map +0 -1
  1823. package/dist/field/features/relationship/feature.client.d.ts +0 -4
  1824. package/dist/field/features/relationship/feature.client.d.ts.map +0 -1
  1825. package/dist/field/features/relationship/feature.client.js +0 -56
  1826. package/dist/field/features/relationship/feature.client.js.map +0 -1
  1827. package/dist/field/features/relationship/feature.server.d.ts +0 -18
  1828. package/dist/field/features/relationship/feature.server.d.ts.map +0 -1
  1829. package/dist/field/features/relationship/feature.server.js +0 -26
  1830. package/dist/field/features/relationship/feature.server.js.map +0 -1
  1831. package/dist/field/features/relationship/nodes/RelationshipNode.d.ts +0 -36
  1832. package/dist/field/features/relationship/nodes/RelationshipNode.d.ts.map +0 -1
  1833. package/dist/field/features/relationship/nodes/RelationshipNode.js +0 -110
  1834. package/dist/field/features/relationship/nodes/RelationshipNode.js.map +0 -1
  1835. package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts +0 -14
  1836. package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts.map +0 -1
  1837. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js +0 -109
  1838. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js.map +0 -1
  1839. package/dist/field/features/relationship/nodes/components/index.scss +0 -97
  1840. package/dist/field/features/relationship/plugins/index.d.ts +0 -7
  1841. package/dist/field/features/relationship/plugins/index.d.ts.map +0 -1
  1842. package/dist/field/features/relationship/plugins/index.js +0 -52
  1843. package/dist/field/features/relationship/plugins/index.js.map +0 -1
  1844. package/dist/field/features/relationship/populationPromise.d.ts +0 -4
  1845. package/dist/field/features/relationship/populationPromise.d.ts.map +0 -1
  1846. package/dist/field/features/relationship/populationPromise.js +0 -24
  1847. package/dist/field/features/relationship/populationPromise.js.map +0 -1
  1848. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +0 -1
  1849. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js +0 -35
  1850. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js.map +0 -1
  1851. package/dist/field/features/types.d.ts +0 -278
  1852. package/dist/field/features/types.d.ts.map +0 -1
  1853. package/dist/field/features/types.js +0 -3
  1854. package/dist/field/features/types.js.map +0 -1
  1855. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts +0 -12
  1856. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +0 -1
  1857. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js +0 -125
  1858. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js.map +0 -1
  1859. package/dist/field/features/upload/component/index.d.ts +0 -9
  1860. package/dist/field/features/upload/component/index.d.ts.map +0 -1
  1861. package/dist/field/features/upload/component/index.js +0 -144
  1862. package/dist/field/features/upload/component/index.js.map +0 -1
  1863. package/dist/field/features/upload/component/index.scss +0 -152
  1864. package/dist/field/features/upload/drawer/commands.d.ts.map +0 -1
  1865. package/dist/field/features/upload/drawer/commands.js +0 -6
  1866. package/dist/field/features/upload/drawer/commands.js.map +0 -1
  1867. package/dist/field/features/upload/drawer/index.d.ts.map +0 -1
  1868. package/dist/field/features/upload/drawer/index.js +0 -78
  1869. package/dist/field/features/upload/drawer/index.js.map +0 -1
  1870. package/dist/field/features/upload/feature.client.d.ts +0 -10
  1871. package/dist/field/features/upload/feature.client.d.ts.map +0 -1
  1872. package/dist/field/features/upload/feature.client.js +0 -55
  1873. package/dist/field/features/upload/feature.client.js.map +0 -1
  1874. package/dist/field/features/upload/feature.server.d.ts +0 -12
  1875. package/dist/field/features/upload/feature.server.d.ts.map +0 -1
  1876. package/dist/field/features/upload/feature.server.js +0 -110
  1877. package/dist/field/features/upload/feature.server.js.map +0 -1
  1878. package/dist/field/features/upload/nodes/UploadNode.d.ts +0 -49
  1879. package/dist/field/features/upload/nodes/UploadNode.d.ts.map +0 -1
  1880. package/dist/field/features/upload/nodes/UploadNode.js +0 -102
  1881. package/dist/field/features/upload/nodes/UploadNode.js.map +0 -1
  1882. package/dist/field/features/upload/plugin/index.d.ts +0 -7
  1883. package/dist/field/features/upload/plugin/index.d.ts.map +0 -1
  1884. package/dist/field/features/upload/plugin/index.js +0 -55
  1885. package/dist/field/features/upload/plugin/index.js.map +0 -1
  1886. package/dist/field/features/upload/populationPromise.d.ts +0 -5
  1887. package/dist/field/features/upload/populationPromise.d.ts.map +0 -1
  1888. package/dist/field/features/upload/populationPromise.js +0 -46
  1889. package/dist/field/features/upload/populationPromise.js.map +0 -1
  1890. package/dist/field/features/upload/validate.d.ts +0 -4
  1891. package/dist/field/features/upload/validate.d.ts.map +0 -1
  1892. package/dist/field/features/upload/validate.js +0 -17
  1893. package/dist/field/features/upload/validate.js.map +0 -1
  1894. package/dist/field/index.scss +0 -46
  1895. package/dist/field/lexical/EditorPlugin.d.ts +0 -7
  1896. package/dist/field/lexical/EditorPlugin.d.ts.map +0 -1
  1897. package/dist/field/lexical/EditorPlugin.js +0 -11
  1898. package/dist/field/lexical/EditorPlugin.js.map +0 -1
  1899. package/dist/field/lexical/LexicalEditor.d.ts +0 -5
  1900. package/dist/field/lexical/LexicalEditor.d.ts.map +0 -1
  1901. package/dist/field/lexical/LexicalEditor.js +0 -112
  1902. package/dist/field/lexical/LexicalEditor.js.map +0 -1
  1903. package/dist/field/lexical/LexicalEditor.scss +0 -56
  1904. package/dist/field/lexical/LexicalProvider.d.ts +0 -19
  1905. package/dist/field/lexical/LexicalProvider.d.ts.map +0 -1
  1906. package/dist/field/lexical/LexicalProvider.js +0 -67
  1907. package/dist/field/lexical/LexicalProvider.js.map +0 -1
  1908. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts +0 -24
  1909. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts.map +0 -1
  1910. package/dist/field/lexical/config/client/EditorConfigProvider.js +0 -41
  1911. package/dist/field/lexical/config/client/EditorConfigProvider.js.map +0 -1
  1912. package/dist/field/lexical/config/client/default.d.ts +0 -3
  1913. package/dist/field/lexical/config/client/default.d.ts.map +0 -1
  1914. package/dist/field/lexical/config/client/default.js +0 -8
  1915. package/dist/field/lexical/config/client/default.js.map +0 -1
  1916. package/dist/field/lexical/config/client/loader.d.ts +0 -12
  1917. package/dist/field/lexical/config/client/loader.d.ts.map +0 -1
  1918. package/dist/field/lexical/config/client/loader.js +0 -46
  1919. package/dist/field/lexical/config/client/loader.js.map +0 -1
  1920. package/dist/field/lexical/config/client/sanitize.d.ts +0 -6
  1921. package/dist/field/lexical/config/client/sanitize.d.ts.map +0 -1
  1922. package/dist/field/lexical/config/client/sanitize.js +0 -126
  1923. package/dist/field/lexical/config/client/sanitize.js.map +0 -1
  1924. package/dist/field/lexical/config/server/default.d.ts +0 -8
  1925. package/dist/field/lexical/config/server/default.d.ts.map +0 -1
  1926. package/dist/field/lexical/config/server/default.js +0 -53
  1927. package/dist/field/lexical/config/server/default.js.map +0 -1
  1928. package/dist/field/lexical/config/server/loader.d.ts +0 -7
  1929. package/dist/field/lexical/config/server/loader.d.ts.map +0 -1
  1930. package/dist/field/lexical/config/server/loader.js +0 -118
  1931. package/dist/field/lexical/config/server/loader.js.map +0 -1
  1932. package/dist/field/lexical/config/server/sanitize.d.ts +0 -5
  1933. package/dist/field/lexical/config/server/sanitize.d.ts.map +0 -1
  1934. package/dist/field/lexical/config/server/sanitize.js +0 -65
  1935. package/dist/field/lexical/config/server/sanitize.js.map +0 -1
  1936. package/dist/field/lexical/config/types.d.ts +0 -21
  1937. package/dist/field/lexical/config/types.d.ts.map +0 -1
  1938. package/dist/field/lexical/config/types.js +0 -3
  1939. package/dist/field/lexical/config/types.js.map +0 -1
  1940. package/dist/field/lexical/nodes/index.d.ts +0 -7
  1941. package/dist/field/lexical/nodes/index.d.ts.map +0 -1
  1942. package/dist/field/lexical/nodes/index.js +0 -10
  1943. package/dist/field/lexical/nodes/index.js.map +0 -1
  1944. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.d.ts +0 -8
  1945. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.d.ts.map +0 -1
  1946. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.js +0 -97
  1947. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.js.map +0 -1
  1948. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.scss +0 -37
  1949. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.d.ts +0 -17
  1950. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.d.ts.map +0 -1
  1951. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.js +0 -251
  1952. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.js.map +0 -1
  1953. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.d.ts +0 -18
  1954. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.d.ts.map +0 -1
  1955. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.js +0 -42
  1956. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.js.map +0 -1
  1957. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.scss +0 -100
  1958. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.d.ts +0 -6
  1959. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.d.ts.map +0 -1
  1960. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.js +0 -270
  1961. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.js.map +0 -1
  1962. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.scss +0 -57
  1963. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.d.ts +0 -40
  1964. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.d.ts.map +0 -1
  1965. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.js +0 -3
  1966. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.js.map +0 -1
  1967. package/dist/field/lexical/plugins/MarkdownShortcut/index.d.ts.map +0 -1
  1968. package/dist/field/lexical/plugins/MarkdownShortcut/index.js +0 -13
  1969. package/dist/field/lexical/plugins/MarkdownShortcut/index.js.map +0 -1
  1970. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +0 -32
  1971. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +0 -1
  1972. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +0 -404
  1973. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +0 -1
  1974. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +0 -25
  1975. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +0 -1
  1976. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +0 -207
  1977. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +0 -1
  1978. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +0 -39
  1979. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +0 -1
  1980. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js +0 -39
  1981. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +0 -1
  1982. package/dist/field/lexical/plugins/SlashMenu/index.d.ts +0 -6
  1983. package/dist/field/lexical/plugins/SlashMenu/index.d.ts.map +0 -1
  1984. package/dist/field/lexical/plugins/SlashMenu/index.js +0 -172
  1985. package/dist/field/lexical/plugins/SlashMenu/index.js.map +0 -1
  1986. package/dist/field/lexical/plugins/SlashMenu/index.scss +0 -61
  1987. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +0 -1
  1988. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.js +0 -33
  1989. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +0 -1
  1990. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts +0 -6
  1991. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +0 -1
  1992. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js +0 -241
  1993. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +0 -1
  1994. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.scss +0 -31
  1995. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +0 -1
  1996. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.js +0 -14
  1997. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +0 -1
  1998. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +0 -1
  1999. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js +0 -14
  2000. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +0 -1
  2001. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.d.ts +0 -27
  2002. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.d.ts.map +0 -1
  2003. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.js +0 -151
  2004. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.js.map +0 -1
  2005. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts +0 -3
  2006. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +0 -1
  2007. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js +0 -27
  2008. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +0 -1
  2009. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts +0 -6
  2010. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +0 -1
  2011. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js +0 -298
  2012. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +0 -1
  2013. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.scss +0 -55
  2014. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +0 -3
  2015. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +0 -1
  2016. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js +0 -49
  2017. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +0 -1
  2018. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +0 -1
  2019. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.js +0 -35
  2020. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +0 -1
  2021. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +0 -1
  2022. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.js +0 -14
  2023. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.js.map +0 -1
  2024. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +0 -1
  2025. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.js +0 -7
  2026. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +0 -1
  2027. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +0 -1
  2028. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.js +0 -5
  2029. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.js.map +0 -1
  2030. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +0 -1
  2031. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.js +0 -27
  2032. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.js.map +0 -1
  2033. package/dist/field/lexical/theme/EditorTheme.d.ts +0 -4
  2034. package/dist/field/lexical/theme/EditorTheme.d.ts.map +0 -1
  2035. package/dist/field/lexical/theme/EditorTheme.js +0 -106
  2036. package/dist/field/lexical/theme/EditorTheme.js.map +0 -1
  2037. package/dist/field/lexical/theme/EditorTheme.scss +0 -505
  2038. package/dist/field/lexical/ui/ContentEditable.d.ts +0 -6
  2039. package/dist/field/lexical/ui/ContentEditable.d.ts.map +0 -1
  2040. package/dist/field/lexical/ui/ContentEditable.js +0 -11
  2041. package/dist/field/lexical/ui/ContentEditable.js.map +0 -1
  2042. package/dist/field/lexical/ui/ContentEditable.scss +0 -25
  2043. package/dist/field/lexical/ui/icons/AI/index.d.ts.map +0 -1
  2044. package/dist/field/lexical/ui/icons/AI/index.js +0 -27
  2045. package/dist/field/lexical/ui/icons/AI/index.js.map +0 -1
  2046. package/dist/field/lexical/ui/icons/AlignCenter/index.d.ts.map +0 -1
  2047. package/dist/field/lexical/ui/icons/AlignCenter/index.js +0 -25
  2048. package/dist/field/lexical/ui/icons/AlignCenter/index.js.map +0 -1
  2049. package/dist/field/lexical/ui/icons/AlignJustify/index.d.ts.map +0 -1
  2050. package/dist/field/lexical/ui/icons/AlignJustify/index.js +0 -25
  2051. package/dist/field/lexical/ui/icons/AlignJustify/index.js.map +0 -1
  2052. package/dist/field/lexical/ui/icons/AlignLeft/index.d.ts.map +0 -1
  2053. package/dist/field/lexical/ui/icons/AlignLeft/index.js +0 -25
  2054. package/dist/field/lexical/ui/icons/AlignLeft/index.js.map +0 -1
  2055. package/dist/field/lexical/ui/icons/AlignRight/index.d.ts.map +0 -1
  2056. package/dist/field/lexical/ui/icons/AlignRight/index.js +0 -25
  2057. package/dist/field/lexical/ui/icons/AlignRight/index.js.map +0 -1
  2058. package/dist/field/lexical/ui/icons/Block/index.d.ts.map +0 -1
  2059. package/dist/field/lexical/ui/icons/Block/index.js +0 -34
  2060. package/dist/field/lexical/ui/icons/Block/index.js.map +0 -1
  2061. package/dist/field/lexical/ui/icons/Blockquote/index.d.ts.map +0 -1
  2062. package/dist/field/lexical/ui/icons/Blockquote/index.js +0 -16
  2063. package/dist/field/lexical/ui/icons/Blockquote/index.js.map +0 -1
  2064. package/dist/field/lexical/ui/icons/Bold/index.d.ts.map +0 -1
  2065. package/dist/field/lexical/ui/icons/Bold/index.js +0 -16
  2066. package/dist/field/lexical/ui/icons/Bold/index.js.map +0 -1
  2067. package/dist/field/lexical/ui/icons/Caret/index.svg +0 -3
  2068. package/dist/field/lexical/ui/icons/Checklist/index.d.ts.map +0 -1
  2069. package/dist/field/lexical/ui/icons/Checklist/index.js +0 -24
  2070. package/dist/field/lexical/ui/icons/Checklist/index.js.map +0 -1
  2071. package/dist/field/lexical/ui/icons/Code/index.d.ts.map +0 -1
  2072. package/dist/field/lexical/ui/icons/Code/index.js +0 -19
  2073. package/dist/field/lexical/ui/icons/Code/index.js.map +0 -1
  2074. package/dist/field/lexical/ui/icons/CodeBlock/index.d.ts.map +0 -1
  2075. package/dist/field/lexical/ui/icons/CodeBlock/index.js +0 -19
  2076. package/dist/field/lexical/ui/icons/CodeBlock/index.js.map +0 -1
  2077. package/dist/field/lexical/ui/icons/H1/index.d.ts.map +0 -1
  2078. package/dist/field/lexical/ui/icons/H1/index.js +0 -16
  2079. package/dist/field/lexical/ui/icons/H1/index.js.map +0 -1
  2080. package/dist/field/lexical/ui/icons/H2/index.d.ts.map +0 -1
  2081. package/dist/field/lexical/ui/icons/H2/index.js +0 -16
  2082. package/dist/field/lexical/ui/icons/H2/index.js.map +0 -1
  2083. package/dist/field/lexical/ui/icons/H3/index.d.ts.map +0 -1
  2084. package/dist/field/lexical/ui/icons/H3/index.js +0 -16
  2085. package/dist/field/lexical/ui/icons/H3/index.js.map +0 -1
  2086. package/dist/field/lexical/ui/icons/H4/index.d.ts.map +0 -1
  2087. package/dist/field/lexical/ui/icons/H4/index.js +0 -16
  2088. package/dist/field/lexical/ui/icons/H4/index.js.map +0 -1
  2089. package/dist/field/lexical/ui/icons/H5/index.d.ts.map +0 -1
  2090. package/dist/field/lexical/ui/icons/H5/index.js +0 -16
  2091. package/dist/field/lexical/ui/icons/H5/index.js.map +0 -1
  2092. package/dist/field/lexical/ui/icons/H6/index.d.ts.map +0 -1
  2093. package/dist/field/lexical/ui/icons/H6/index.js +0 -16
  2094. package/dist/field/lexical/ui/icons/H6/index.js.map +0 -1
  2095. package/dist/field/lexical/ui/icons/HorizontalRule/index.d.ts.map +0 -1
  2096. package/dist/field/lexical/ui/icons/HorizontalRule/index.js +0 -19
  2097. package/dist/field/lexical/ui/icons/HorizontalRule/index.js.map +0 -1
  2098. package/dist/field/lexical/ui/icons/IndentDecrease/index.d.ts.map +0 -1
  2099. package/dist/field/lexical/ui/icons/IndentDecrease/index.js +0 -28
  2100. package/dist/field/lexical/ui/icons/IndentDecrease/index.js.map +0 -1
  2101. package/dist/field/lexical/ui/icons/IndentIncrease/index.d.ts.map +0 -1
  2102. package/dist/field/lexical/ui/icons/IndentIncrease/index.js +0 -28
  2103. package/dist/field/lexical/ui/icons/IndentIncrease/index.js.map +0 -1
  2104. package/dist/field/lexical/ui/icons/Italic/index.d.ts.map +0 -1
  2105. package/dist/field/lexical/ui/icons/Italic/index.js +0 -16
  2106. package/dist/field/lexical/ui/icons/Italic/index.js.map +0 -1
  2107. package/dist/field/lexical/ui/icons/Link/index.d.ts.map +0 -1
  2108. package/dist/field/lexical/ui/icons/Link/index.js +0 -27
  2109. package/dist/field/lexical/ui/icons/Link/index.js.map +0 -1
  2110. package/dist/field/lexical/ui/icons/OrderedList/index.d.ts.map +0 -1
  2111. package/dist/field/lexical/ui/icons/OrderedList/index.js +0 -31
  2112. package/dist/field/lexical/ui/icons/OrderedList/index.js.map +0 -1
  2113. package/dist/field/lexical/ui/icons/Relationship/index.d.ts.map +0 -1
  2114. package/dist/field/lexical/ui/icons/Relationship/index.js +0 -27
  2115. package/dist/field/lexical/ui/icons/Relationship/index.js.map +0 -1
  2116. package/dist/field/lexical/ui/icons/Strikethrough/index.d.ts.map +0 -1
  2117. package/dist/field/lexical/ui/icons/Strikethrough/index.js +0 -19
  2118. package/dist/field/lexical/ui/icons/Strikethrough/index.js.map +0 -1
  2119. package/dist/field/lexical/ui/icons/Subscript/index.d.ts.map +0 -1
  2120. package/dist/field/lexical/ui/icons/Subscript/index.js +0 -16
  2121. package/dist/field/lexical/ui/icons/Subscript/index.js.map +0 -1
  2122. package/dist/field/lexical/ui/icons/Superscript/index.d.ts.map +0 -1
  2123. package/dist/field/lexical/ui/icons/Superscript/index.js +0 -16
  2124. package/dist/field/lexical/ui/icons/Superscript/index.js.map +0 -1
  2125. package/dist/field/lexical/ui/icons/Text/index.d.ts.map +0 -1
  2126. package/dist/field/lexical/ui/icons/Text/index.js +0 -16
  2127. package/dist/field/lexical/ui/icons/Text/index.js.map +0 -1
  2128. package/dist/field/lexical/ui/icons/Underline/index.d.ts.map +0 -1
  2129. package/dist/field/lexical/ui/icons/Underline/index.js +0 -19
  2130. package/dist/field/lexical/ui/icons/Underline/index.js.map +0 -1
  2131. package/dist/field/lexical/ui/icons/UnorderedList/index.d.ts.map +0 -1
  2132. package/dist/field/lexical/ui/icons/UnorderedList/index.js +0 -46
  2133. package/dist/field/lexical/ui/icons/UnorderedList/index.js.map +0 -1
  2134. package/dist/field/lexical/ui/icons/Upload/index.d.ts.map +0 -1
  2135. package/dist/field/lexical/ui/icons/Upload/index.js +0 -28
  2136. package/dist/field/lexical/ui/icons/Upload/index.js.map +0 -1
  2137. package/dist/field/lexical/utils/canUseDOM.d.ts.map +0 -1
  2138. package/dist/field/lexical/utils/canUseDOM.js +0 -3
  2139. package/dist/field/lexical/utils/canUseDOM.js.map +0 -1
  2140. package/dist/field/lexical/utils/cloneDeep.d.ts +0 -2
  2141. package/dist/field/lexical/utils/cloneDeep.d.ts.map +0 -1
  2142. package/dist/field/lexical/utils/cloneDeep.js +0 -50
  2143. package/dist/field/lexical/utils/cloneDeep.js.map +0 -1
  2144. package/dist/field/lexical/utils/environment.d.ts.map +0 -1
  2145. package/dist/field/lexical/utils/environment.js +0 -14
  2146. package/dist/field/lexical/utils/environment.js.map +0 -1
  2147. package/dist/field/lexical/utils/getDOMRangeRect.d.ts.map +0 -1
  2148. package/dist/field/lexical/utils/getDOMRangeRect.js +0 -16
  2149. package/dist/field/lexical/utils/getDOMRangeRect.js.map +0 -1
  2150. package/dist/field/lexical/utils/getSelectedNode.d.ts.map +0 -1
  2151. package/dist/field/lexical/utils/getSelectedNode.js +0 -18
  2152. package/dist/field/lexical/utils/getSelectedNode.js.map +0 -1
  2153. package/dist/field/lexical/utils/guard.d.ts.map +0 -1
  2154. package/dist/field/lexical/utils/guard.js +0 -5
  2155. package/dist/field/lexical/utils/guard.js.map +0 -1
  2156. package/dist/field/lexical/utils/invariant.d.ts +0 -2
  2157. package/dist/field/lexical/utils/invariant.d.ts.map +0 -1
  2158. package/dist/field/lexical/utils/invariant.js +0 -12
  2159. package/dist/field/lexical/utils/invariant.js.map +0 -1
  2160. package/dist/field/lexical/utils/joinClasses.d.ts.map +0 -1
  2161. package/dist/field/lexical/utils/joinClasses.js +0 -5
  2162. package/dist/field/lexical/utils/joinClasses.js.map +0 -1
  2163. package/dist/field/lexical/utils/markdown/createBlockNode.d.ts +0 -4
  2164. package/dist/field/lexical/utils/markdown/createBlockNode.d.ts.map +0 -1
  2165. package/dist/field/lexical/utils/markdown/createBlockNode.js +0 -12
  2166. package/dist/field/lexical/utils/markdown/createBlockNode.js.map +0 -1
  2167. package/dist/field/lexical/utils/nodeFormat.d.ts +0 -41
  2168. package/dist/field/lexical/utils/nodeFormat.d.ts.map +0 -1
  2169. package/dist/field/lexical/utils/nodeFormat.js +0 -88
  2170. package/dist/field/lexical/utils/nodeFormat.js.map +0 -1
  2171. package/dist/field/lexical/utils/point.d.ts.map +0 -1
  2172. package/dist/field/lexical/utils/point.js +0 -37
  2173. package/dist/field/lexical/utils/point.js.map +0 -1
  2174. package/dist/field/lexical/utils/rect.d.ts.map +0 -1
  2175. package/dist/field/lexical/utils/rect.js +0 -138
  2176. package/dist/field/lexical/utils/rect.js.map +0 -1
  2177. package/dist/field/lexical/utils/setFloatingElemPosition.d.ts +0 -2
  2178. package/dist/field/lexical/utils/setFloatingElemPosition.d.ts.map +0 -1
  2179. package/dist/field/lexical/utils/setFloatingElemPosition.js +0 -53
  2180. package/dist/field/lexical/utils/setFloatingElemPosition.js.map +0 -1
  2181. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +0 -1
  2182. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.js +0 -27
  2183. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +0 -1
  2184. package/dist/field/lexical/utils/swipe.d.ts.map +0 -1
  2185. package/dist/field/lexical/utils/swipe.js +0 -100
  2186. package/dist/field/lexical/utils/swipe.js.map +0 -1
  2187. package/dist/field/lexical/utils/url.d.ts.map +0 -1
  2188. package/dist/field/lexical/utils/url.js +0 -25
  2189. package/dist/field/lexical/utils/url.js.map +0 -1
  2190. package/dist/generateComponentMap.d.ts +0 -6
  2191. package/dist/generateComponentMap.d.ts.map +0 -1
  2192. package/dist/generateComponentMap.js +0 -85
  2193. package/dist/generateComponentMap.js.map +0 -1
  2194. package/dist/generateSchemaMap.d.ts +0 -6
  2195. package/dist/generateSchemaMap.d.ts.map +0 -1
  2196. package/dist/generateSchemaMap.js +0 -30
  2197. package/dist/generateSchemaMap.js.map +0 -1
  2198. package/dist/populate/defaultValue.d.ts +0 -4
  2199. package/dist/populate/defaultValue.d.ts.map +0 -1
  2200. package/dist/populate/defaultValue.js +0 -50
  2201. package/dist/populate/defaultValue.js.map +0 -1
  2202. package/dist/populate/populate.d.ts +0 -21
  2203. package/dist/populate/populate.d.ts.map +0 -1
  2204. package/dist/populate/populate.js +0 -21
  2205. package/dist/populate/populate.js.map +0 -1
  2206. package/dist/populate/recurseNestedFields.d.ts +0 -25
  2207. package/dist/populate/recurseNestedFields.d.ts.map +0 -1
  2208. package/dist/populate/recurseNestedFields.js +0 -26
  2209. package/dist/populate/recurseNestedFields.js.map +0 -1
  2210. package/dist/populate/richTextRelationshipPromise.d.ts +0 -23
  2211. package/dist/populate/richTextRelationshipPromise.d.ts.map +0 -1
  2212. package/dist/populate/richTextRelationshipPromise.js +0 -68
  2213. package/dist/populate/richTextRelationshipPromise.js.map +0 -1
  2214. package/dist/scss/app.scss +0 -208
  2215. package/dist/scss/colors.scss +0 -269
  2216. package/dist/scss/queries.scss +0 -27
  2217. package/dist/scss/resets.scss +0 -17
  2218. package/dist/scss/styles.scss +0 -11
  2219. package/dist/scss/svg.scss +0 -10
  2220. package/dist/scss/toastify.scss +0 -58
  2221. package/dist/scss/type.scss +0 -117
  2222. package/dist/scss/vars.scss +0 -213
  2223. package/dist/scss/z-index.scss +0 -9
  2224. package/dist/useLexicalFeature.d.ts +0 -3
  2225. package/dist/useLexicalFeature.d.ts.map +0 -1
  2226. package/dist/useLexicalFeature.js +0 -9
  2227. package/dist/useLexicalFeature.js.map +0 -1
  2228. package/src/index.ts +0 -423
  2229. /package/dist/{field/features → features}/blockquote/markdownTransformer.d.ts +0 -0
  2230. /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.d.ts +0 -0
  2231. /package/dist/{field/features → features}/converters/html/converter/converters/paragraph.d.ts +0 -0
  2232. /package/dist/{field/features → features}/converters/html/converter/converters/text.d.ts +0 -0
  2233. /package/dist/{field/features → features}/converters/html/converter/defaultConverters.d.ts +0 -0
  2234. /package/dist/{field/features → features}/createFeaturePropComponent.d.ts +0 -0
  2235. /package/dist/{field/features → features}/format/bold/markdownTransformers.d.ts +0 -0
  2236. /package/dist/{field/features/format/inlinecode → features/format/inlineCode}/markdownTransformers.d.ts +0 -0
  2237. /package/dist/{field/features → features}/format/italic/markdownTransformers.d.ts +0 -0
  2238. /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.d.ts +0 -0
  2239. /package/dist/{field/features → features}/heading/markdownTransformer.d.ts +0 -0
  2240. /package/dist/{field/features/horizontalrule → features/horizontalRule/client}/component/index.d.ts +0 -0
  2241. /package/dist/{field/features/horizontalrule → features/horizontalRule/client}/markdownTransformer.d.ts +0 -0
  2242. /package/dist/{field/features/link → features/link/client}/plugins/floatingLinkEditor/LinkEditor/commands.d.ts +0 -0
  2243. /package/dist/{field/features/link → features/link/client}/plugins/floatingLinkEditor/LinkEditor/index.d.ts +0 -0
  2244. /package/dist/{field/features → features}/link/nodes/AutoLinkNode.d.ts +0 -0
  2245. /package/dist/{field/features → features}/lists/checklist/markdownTransformers.d.ts +0 -0
  2246. /package/dist/{field/features/lists/orderedlist → features/lists/orderedList}/markdownTransformer.d.ts +0 -0
  2247. /package/dist/{field/features/lists/unorderedlist → features/lists/unorderedList}/markdownTransformer.d.ts +0 -0
  2248. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  2249. /package/dist/{field/features → features}/migrations/slateToLexical/converter/index.d.ts +0 -0
  2250. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  2251. /package/dist/{field/features/relationship → features/relationship/client}/drawer/commands.d.ts +0 -0
  2252. /package/dist/{field/features/relationship → features/relationship/client}/drawer/index.d.ts +0 -0
  2253. /package/dist/{field/features/relationship → features/relationship/client}/utils/EnabledRelationshipsCondition.d.ts +0 -0
  2254. /package/dist/{field/features/upload → features/upload/client}/drawer/commands.d.ts +0 -0
  2255. /package/dist/{field/features/upload → features/upload/client}/drawer/index.d.ts +0 -0
  2256. /package/dist/{field/lexical → lexical}/plugins/MarkdownShortcut/index.d.ts +0 -0
  2257. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.d.ts +0 -0
  2258. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/debounce.d.ts +0 -0
  2259. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts +0 -0
  2260. /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.d.ts +0 -0
  2261. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.d.ts +0 -0
  2262. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getTopLevelNodeKeys.d.ts +0 -0
  2263. /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.d.ts +0 -0
  2264. /package/dist/{field/lexical → lexical}/plugins/handles/utils/setHandlePosition.d.ts +0 -0
  2265. /package/dist/{field/lexical → lexical}/ui/icons/AI/index.d.ts +0 -0
  2266. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.svg +0 -0
  2267. /package/dist/{field/lexical → lexical}/ui/icons/AlignCenter/index.d.ts +0 -0
  2268. /package/dist/{field/lexical → lexical}/ui/icons/AlignJustify/index.d.ts +0 -0
  2269. /package/dist/{field/lexical → lexical}/ui/icons/AlignLeft/index.d.ts +0 -0
  2270. /package/dist/{field/lexical → lexical}/ui/icons/AlignRight/index.d.ts +0 -0
  2271. /package/dist/{field/lexical → lexical}/ui/icons/Block/index.d.ts +0 -0
  2272. /package/dist/{field/lexical → lexical}/ui/icons/Blockquote/index.d.ts +0 -0
  2273. /package/dist/{field/lexical → lexical}/ui/icons/Bold/index.d.ts +0 -0
  2274. /package/dist/{field/lexical → lexical}/ui/icons/Checklist/index.d.ts +0 -0
  2275. /package/dist/{field/lexical → lexical}/ui/icons/Code/index.d.ts +0 -0
  2276. /package/dist/{field/lexical → lexical}/ui/icons/CodeBlock/index.d.ts +0 -0
  2277. /package/dist/{field/lexical → lexical}/ui/icons/DraggableBlock/index.svg +0 -0
  2278. /package/dist/{field/lexical → lexical}/ui/icons/Edit/index.svg +0 -0
  2279. /package/dist/{field/lexical → lexical}/ui/icons/H1/index.d.ts +0 -0
  2280. /package/dist/{field/lexical → lexical}/ui/icons/H2/index.d.ts +0 -0
  2281. /package/dist/{field/lexical → lexical}/ui/icons/H3/index.d.ts +0 -0
  2282. /package/dist/{field/lexical → lexical}/ui/icons/H4/index.d.ts +0 -0
  2283. /package/dist/{field/lexical → lexical}/ui/icons/H5/index.d.ts +0 -0
  2284. /package/dist/{field/lexical → lexical}/ui/icons/H6/index.d.ts +0 -0
  2285. /package/dist/{field/lexical → lexical}/ui/icons/HorizontalRule/index.d.ts +0 -0
  2286. /package/dist/{field/lexical → lexical}/ui/icons/IndentDecrease/index.d.ts +0 -0
  2287. /package/dist/{field/lexical → lexical}/ui/icons/IndentIncrease/index.d.ts +0 -0
  2288. /package/dist/{field/lexical → lexical}/ui/icons/Italic/index.d.ts +0 -0
  2289. /package/dist/{field/lexical → lexical}/ui/icons/Link/index.d.ts +0 -0
  2290. /package/dist/{field/lexical → lexical}/ui/icons/OrderedList/index.d.ts +0 -0
  2291. /package/dist/{field/lexical → lexical}/ui/icons/Relationship/index.d.ts +0 -0
  2292. /package/dist/{field/lexical → lexical}/ui/icons/Remove/index.svg +0 -0
  2293. /package/dist/{field/lexical → lexical}/ui/icons/Strikethrough/index.d.ts +0 -0
  2294. /package/dist/{field/lexical → lexical}/ui/icons/Subscript/index.d.ts +0 -0
  2295. /package/dist/{field/lexical → lexical}/ui/icons/Superscript/index.d.ts +0 -0
  2296. /package/dist/{field/lexical → lexical}/ui/icons/Text/index.d.ts +0 -0
  2297. /package/dist/{field/lexical → lexical}/ui/icons/Underline/index.d.ts +0 -0
  2298. /package/dist/{field/lexical → lexical}/ui/icons/UnorderedList/index.d.ts +0 -0
  2299. /package/dist/{field/lexical → lexical}/ui/icons/Upload/index.d.ts +0 -0
  2300. /package/dist/{field/lexical → lexical}/utils/canUseDOM.d.ts +0 -0
  2301. /package/dist/{field/lexical → lexical}/utils/environment.d.ts +0 -0
  2302. /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.d.ts +0 -0
  2303. /package/dist/{field/lexical → lexical}/utils/getSelectedNode.d.ts +0 -0
  2304. /package/dist/{field/lexical → lexical}/utils/guard.d.ts +0 -0
  2305. /package/dist/{field/lexical → lexical}/utils/joinClasses.d.ts +0 -0
  2306. /package/dist/{field/lexical → lexical}/utils/point.d.ts +0 -0
  2307. /package/dist/{field/lexical → lexical}/utils/rect.d.ts +0 -0
  2308. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.d.ts +0 -0
  2309. /package/dist/{field/lexical → lexical}/utils/swipe.d.ts +0 -0
  2310. /package/dist/{field/lexical → lexical}/utils/url.d.ts +0 -0
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({
@@ -1,6 +1,9 @@
1
- import type { EditorConfig as LexicalEditorConfig } from 'lexical/LexicalEditor.js';
1
+ import type { EditorConfig as LexicalEditorConfig } from 'lexical';
2
+ import type { CellComponentProps, RichTextFieldClient } from 'payload';
2
3
  import React from 'react';
4
+ import type { LexicalFieldAdminProps } from '../types.js';
3
5
  export declare const RichTextCell: React.FC<{
4
- lexicalEditorConfig: LexicalEditorConfig;
5
- }>;
6
+ readonly admin?: LexicalFieldAdminProps;
7
+ readonly lexicalEditorConfig: LexicalEditorConfig;
8
+ } & CellComponentProps<RichTextFieldClient>>;
6
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cell/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,IAAI,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AASnF,OAAO,KAA8B,MAAM,OAAO,CAAA;AAWlD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC;IAClC,mBAAmB,EAAE,mBAAmB,CAAA;CACzC,CA0JA,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cell/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,IAAI,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAClE,OAAO,KAAK,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAKtE,OAAO,KAA8B,MAAM,OAAO,CAAA;AAIlD,OAAO,KAAK,EAAqC,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAO5F,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CACjC;IACE,QAAQ,CAAC,KAAK,CAAC,EAAE,sBAAsB,CAAA;IACvC,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB,CAAA;CAClD,GAAG,kBAAkB,CAAC,mBAAmB,CAAC,CA6K5C,CAAA"}
@@ -1,131 +1,135 @@
1
1
  'use client';
2
- import lexicalHeadlessImport from '@lexical/headless';
3
- const { createHeadlessEditor } = lexicalHeadlessImport;
4
- import lexicalImport from 'lexical';
5
- const { $getRoot } = lexicalImport;
6
- import { useTableCell } from '@payloadcms/ui/elements/Table';
7
- import { useFieldProps } from '@payloadcms/ui/forms/FieldPropsProvider';
8
- import { useClientFunctions } from '@payloadcms/ui/providers/ClientFunction';
2
+
3
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
+ import { createHeadlessEditor } from '@lexical/headless';
5
+ import { useClientFunctions, useTableCell } from '@payloadcms/ui';
6
+ import { $getRoot } from 'lexical';
9
7
  import React, { useEffect, useState } from 'react';
10
- import { defaultEditorLexicalConfig } from '../field/lexical/config/client/default.js';
11
- import { loadClientFeatures } from '../field/lexical/config/client/loader.js';
12
- import { sanitizeClientEditorConfig } from '../field/lexical/config/client/sanitize.js';
13
- import { getEnabledNodes } from '../field/lexical/nodes/index.js';
14
- export const RichTextCell = (props)=>{
15
- const { lexicalEditorConfig } = props;
16
- const [preview, setPreview] = React.useState('Loading...');
17
- const { schemaPath } = useFieldProps();
18
- const { cellData, richTextComponentMap } = useTableCell();
19
- const clientFunctions = useClientFunctions();
20
- const [hasLoadedFeatures, setHasLoadedFeatures] = useState(false);
21
- const [featureProviders, setFeatureProviders] = useState([]);
22
- const [finalSanitizedEditorConfig, setFinalSanitizedEditorConfig] = useState(null);
23
- let featureProviderComponents = richTextComponentMap.get('features')// TODO: Type better
24
- ;
25
- // order by order
26
- featureProviderComponents = featureProviderComponents.sort((a, b)=>a.order - b.order);
27
- const featureComponentsWithFeaturesLength = Array.from(richTextComponentMap.keys()).filter((key)=>key.startsWith(`feature.`) && !key.includes('.fields.')).length + featureProviderComponents.length;
28
- useEffect(()=>{
29
- if (!hasLoadedFeatures) {
30
- const featureProvidersLocal = [];
31
- let featureProvidersAndComponentsLoaded = 0;
32
- Object.entries(clientFunctions).forEach(([key, plugin])=>{
33
- if (key.startsWith(`lexicalFeature.${schemaPath}.`)) {
34
- if (!key.includes('.components.')) {
35
- featureProvidersLocal.push(plugin);
36
- }
37
- featureProvidersAndComponentsLoaded++;
38
- }
39
- });
40
- if (featureProvidersAndComponentsLoaded === featureComponentsWithFeaturesLength) {
41
- setFeatureProviders(featureProvidersLocal);
42
- setHasLoadedFeatures(true);
43
- /**
44
- * Loaded feature provided => create the final sanitized editor config
45
- */ const resolvedClientFeatures = loadClientFeatures({
46
- clientFunctions,
47
- schemaPath,
48
- unSanitizedEditorConfig: {
49
- features: featureProvidersLocal,
50
- lexical: lexicalEditorConfig
51
- }
52
- });
53
- setFinalSanitizedEditorConfig(sanitizeClientEditorConfig(lexicalEditorConfig ? lexicalEditorConfig : defaultEditorLexicalConfig, resolvedClientFeatures));
54
- }
55
- }
56
- }, [
57
- hasLoadedFeatures,
58
- clientFunctions,
59
- schemaPath,
60
- featureProviderComponents.length,
61
- featureProviders,
62
- finalSanitizedEditorConfig,
63
- lexicalEditorConfig,
64
- featureComponentsWithFeaturesLength
65
- ]);
66
- useEffect(()=>{
67
- let dataToUse = cellData;
68
- if (dataToUse == null || !hasLoadedFeatures || !finalSanitizedEditorConfig) {
69
- setPreview('');
70
- return;
71
- }
72
- // Transform data through load hooks
73
- if (finalSanitizedEditorConfig?.features?.hooks?.load?.length) {
74
- finalSanitizedEditorConfig.features.hooks.load.forEach((hook)=>{
75
- dataToUse = hook({
76
- incomingEditorState: dataToUse
77
- });
78
- });
79
- }
80
- if (!dataToUse || typeof dataToUse !== 'object') {
81
- setPreview('');
82
- return;
83
- }
84
- // If data is from Slate and not Lexical
85
- if (Array.isArray(dataToUse) && !('root' in dataToUse)) {
86
- setPreview('');
87
- return;
88
- }
89
- // If data is from payload-plugin-lexical
90
- if ('jsonContent' in dataToUse) {
91
- setPreview('');
92
- return;
8
+ import { defaultEditorLexicalConfig } from '../lexical/config/client/default.js';
9
+ import { loadClientFeatures } from '../lexical/config/client/loader.js';
10
+ import { sanitizeClientEditorConfig } from '../lexical/config/client/sanitize.js';
11
+ import { getEnabledNodes } from '../lexical/nodes/index.js';
12
+ export const RichTextCell = props => {
13
+ const {
14
+ admin,
15
+ field: {
16
+ _schemaPath,
17
+ richTextComponentMap
18
+ },
19
+ lexicalEditorConfig
20
+ } = props;
21
+ const [preview, setPreview] = React.useState('Loading...');
22
+ const {
23
+ cellData
24
+ } = useTableCell();
25
+ const clientFunctions = useClientFunctions();
26
+ const [hasLoadedFeatures, setHasLoadedFeatures] = useState(false);
27
+ const [featureProviders, setFeatureProviders] = useState([]);
28
+ const [finalSanitizedEditorConfig, setFinalSanitizedEditorConfig] = useState(null);
29
+ const featureProviderComponents = richTextComponentMap.get('features').sort((a, b) => a.order - b.order) // order by order
30
+ ;
31
+ let featureProvidersAndComponentsToLoad = 0 // feature providers and components
32
+ ;
33
+ for (const featureProvider of featureProviderComponents) {
34
+ const featureComponentKeys = Array.from(richTextComponentMap.keys()).filter(key => key.startsWith(`feature.${featureProvider.key}.components.`));
35
+ featureProvidersAndComponentsToLoad += 1;
36
+ featureProvidersAndComponentsToLoad += featureComponentKeys.length;
37
+ }
38
+ useEffect(() => {
39
+ if (!hasLoadedFeatures) {
40
+ const featureProvidersLocal = [];
41
+ let featureProvidersAndComponentsLoaded = 0 // feature providers and components only
42
+ ;
43
+ Object.entries(clientFunctions).forEach(([key_0, plugin]) => {
44
+ if (key_0.startsWith(`lexicalFeature.${_schemaPath}.`)) {
45
+ if (!key_0.includes('.lexical_internal_components.')) {
46
+ featureProvidersLocal.push(plugin);
47
+ }
48
+ featureProvidersAndComponentsLoaded++;
93
49
  }
94
- // initialize headless editor
95
- const headlessEditor = createHeadlessEditor({
96
- namespace: finalSanitizedEditorConfig.lexical.namespace,
97
- nodes: getEnabledNodes({
98
- editorConfig: finalSanitizedEditorConfig
99
- }),
100
- theme: finalSanitizedEditorConfig.lexical.theme
50
+ });
51
+ if (featureProvidersAndComponentsLoaded === featureProvidersAndComponentsToLoad) {
52
+ setFeatureProviders(featureProvidersLocal);
53
+ setHasLoadedFeatures(true);
54
+ /**
55
+ * Loaded feature provided => create the final sanitized editor config
56
+ */
57
+ const resolvedClientFeatures = loadClientFeatures({
58
+ clientFunctions,
59
+ schemaPath: _schemaPath,
60
+ unSanitizedEditorConfig: {
61
+ features: featureProvidersLocal,
62
+ lexical: lexicalEditorConfig
63
+ }
101
64
  });
102
- headlessEditor.setEditorState(headlessEditor.parseEditorState(dataToUse));
103
- const textContent = headlessEditor.getEditorState().read(()=>{
104
- return $getRoot().getTextContent();
105
- }) || '';
106
- // Limiting the number of characters shown is done in a CSS rule
107
- setPreview(textContent);
108
- }, [
109
- cellData,
110
- lexicalEditorConfig,
111
- hasLoadedFeatures,
112
- finalSanitizedEditorConfig
113
- ]);
65
+ setFinalSanitizedEditorConfig(sanitizeClientEditorConfig(lexicalEditorConfig ? lexicalEditorConfig : defaultEditorLexicalConfig, resolvedClientFeatures, admin));
66
+ }
67
+ }
68
+ }, [admin, featureProviderComponents, hasLoadedFeatures, clientFunctions, _schemaPath, featureProviderComponents.length, featureProviders, finalSanitizedEditorConfig, lexicalEditorConfig, richTextComponentMap, featureProvidersAndComponentsToLoad]);
69
+ useEffect(() => {
114
70
  if (!hasLoadedFeatures) {
115
- return /*#__PURE__*/ React.createElement(React.Fragment, null, Array.isArray(featureProviderComponents) && featureProviderComponents.map((featureProvider)=>{
116
- // get all components starting with key feature.${FeatureProvider.key}.components.{featureComponentKey}
117
- const featureComponentKeys = Array.from(richTextComponentMap.keys()).filter((key)=>key.startsWith(`feature.${featureProvider.key}.components.`));
118
- const featureComponents = featureComponentKeys.map((key)=>{
119
- return richTextComponentMap.get(key);
120
- });
121
- return /*#__PURE__*/ React.createElement(React.Fragment, {
122
- key: featureProvider.key
123
- }, featureComponents?.length ? featureComponents.map((FeatureComponent)=>{
124
- return FeatureComponent;
125
- }) : null, featureProvider.ClientComponent);
126
- }));
71
+ return;
127
72
  }
128
- return /*#__PURE__*/ React.createElement("span", null, preview);
73
+ let dataToUse = cellData;
74
+ if (dataToUse == null || !hasLoadedFeatures || !finalSanitizedEditorConfig) {
75
+ setPreview('');
76
+ return;
77
+ }
78
+ // Transform data through load hooks
79
+ if (finalSanitizedEditorConfig?.features?.hooks?.load?.length) {
80
+ finalSanitizedEditorConfig.features.hooks.load.forEach(hook => {
81
+ dataToUse = hook({
82
+ incomingEditorState: dataToUse
83
+ });
84
+ });
85
+ }
86
+ if (!dataToUse || typeof dataToUse !== 'object') {
87
+ setPreview('');
88
+ return;
89
+ }
90
+ // If data is from Slate and not Lexical
91
+ if (Array.isArray(dataToUse) && !('root' in dataToUse)) {
92
+ setPreview('');
93
+ return;
94
+ }
95
+ // If data is from payload-plugin-lexical
96
+ if ('jsonContent' in dataToUse) {
97
+ setPreview('');
98
+ return;
99
+ }
100
+ // initialize headless editor
101
+ const headlessEditor = createHeadlessEditor({
102
+ namespace: finalSanitizedEditorConfig.lexical.namespace,
103
+ nodes: getEnabledNodes({
104
+ editorConfig: finalSanitizedEditorConfig
105
+ }),
106
+ theme: finalSanitizedEditorConfig.lexical.theme
107
+ });
108
+ headlessEditor.setEditorState(headlessEditor.parseEditorState(dataToUse));
109
+ const textContent = headlessEditor.getEditorState().read(() => {
110
+ return $getRoot().getTextContent();
111
+ }) || '';
112
+ // Limiting the number of characters shown is done in a CSS rule
113
+ setPreview(textContent);
114
+ }, [cellData, lexicalEditorConfig, hasLoadedFeatures, finalSanitizedEditorConfig]);
115
+ if (!hasLoadedFeatures) {
116
+ return /*#__PURE__*/_jsx(React.Fragment, {
117
+ children: Array.isArray(featureProviderComponents) && featureProviderComponents.map(featureProvider_0 => {
118
+ // get all components starting with key feature.${FeatureProvider.key}.components.{featureComponentKey}
119
+ const featureComponentKeys_0 = Array.from(richTextComponentMap.keys()).filter(key_1 => key_1.startsWith(`lexical_internal_feature.${featureProvider_0.key}.lexical_internal_components.`));
120
+ const featureComponents = featureComponentKeys_0.map(key_2 => {
121
+ return richTextComponentMap.get(key_2);
122
+ });
123
+ return /*#__PURE__*/_jsxs(React.Fragment, {
124
+ children: [featureComponents?.length ? featureComponents.map(FeatureComponent => {
125
+ return FeatureComponent;
126
+ }) : null, featureProvider_0.ClientFeature]
127
+ }, featureProvider_0.key);
128
+ })
129
+ });
130
+ }
131
+ return /*#__PURE__*/_jsx("span", {
132
+ children: preview
133
+ });
129
134
  };
130
-
131
135
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/cell/index.tsx"],"sourcesContent":["'use client'\nimport type { EditorConfig as LexicalEditorConfig } from 'lexical/LexicalEditor.js'\n\nimport lexicalHeadlessImport from '@lexical/headless'\nconst { createHeadlessEditor } = lexicalHeadlessImport\nimport lexicalImport from 'lexical'\nconst { $getRoot } = lexicalImport\nimport { useTableCell } from '@payloadcms/ui/elements/Table'\nimport { useFieldProps } from '@payloadcms/ui/forms/FieldPropsProvider'\nimport { useClientFunctions } from '@payloadcms/ui/providers/ClientFunction'\nimport React, { useEffect, useState } from 'react'\n\nimport type { FeatureProviderClient } from '../field/features/types.js'\nimport type { SanitizedClientEditorConfig } from '../field/lexical/config/types.js'\nimport type { GeneratedFeatureProviderComponent } from '../types.js'\n\nimport { defaultEditorLexicalConfig } from '../field/lexical/config/client/default.js'\nimport { loadClientFeatures } from '../field/lexical/config/client/loader.js'\nimport { sanitizeClientEditorConfig } from '../field/lexical/config/client/sanitize.js'\nimport { getEnabledNodes } from '../field/lexical/nodes/index.js'\n\nexport const RichTextCell: React.FC<{\n lexicalEditorConfig: LexicalEditorConfig\n}> = (props) => {\n const { lexicalEditorConfig } = props\n\n const [preview, setPreview] = React.useState('Loading...')\n const { schemaPath } = useFieldProps()\n\n const { cellData, richTextComponentMap } = useTableCell()\n\n const clientFunctions = useClientFunctions()\n const [hasLoadedFeatures, setHasLoadedFeatures] = useState(false)\n\n const [featureProviders, setFeatureProviders] = useState<FeatureProviderClient<unknown>[]>([])\n\n const [finalSanitizedEditorConfig, setFinalSanitizedEditorConfig] =\n useState<SanitizedClientEditorConfig>(null)\n\n let featureProviderComponents: GeneratedFeatureProviderComponent[] = richTextComponentMap.get(\n 'features',\n ) as GeneratedFeatureProviderComponent[] // TODO: Type better\n // order by order\n featureProviderComponents = featureProviderComponents.sort((a, b) => a.order - b.order)\n\n const featureComponentsWithFeaturesLength =\n Array.from(richTextComponentMap.keys()).filter(\n (key) => key.startsWith(`feature.`) && !key.includes('.fields.'),\n ).length + featureProviderComponents.length\n\n useEffect(() => {\n if (!hasLoadedFeatures) {\n const featureProvidersLocal: FeatureProviderClient<unknown>[] = []\n let featureProvidersAndComponentsLoaded = 0\n\n Object.entries(clientFunctions).forEach(([key, plugin]) => {\n if (key.startsWith(`lexicalFeature.${schemaPath}.`)) {\n if (!key.includes('.components.')) {\n featureProvidersLocal.push(plugin)\n }\n featureProvidersAndComponentsLoaded++\n }\n })\n\n if (featureProvidersAndComponentsLoaded === featureComponentsWithFeaturesLength) {\n setFeatureProviders(featureProvidersLocal)\n setHasLoadedFeatures(true)\n\n /**\n * Loaded feature provided => create the final sanitized editor config\n */\n\n const resolvedClientFeatures = loadClientFeatures({\n clientFunctions,\n schemaPath,\n unSanitizedEditorConfig: {\n features: featureProvidersLocal,\n lexical: lexicalEditorConfig,\n },\n })\n\n setFinalSanitizedEditorConfig(\n sanitizeClientEditorConfig(\n lexicalEditorConfig ? lexicalEditorConfig : defaultEditorLexicalConfig,\n resolvedClientFeatures,\n ),\n )\n }\n }\n }, [\n hasLoadedFeatures,\n clientFunctions,\n schemaPath,\n featureProviderComponents.length,\n featureProviders,\n finalSanitizedEditorConfig,\n lexicalEditorConfig,\n featureComponentsWithFeaturesLength,\n ])\n\n useEffect(() => {\n let dataToUse = cellData\n if (dataToUse == null || !hasLoadedFeatures || !finalSanitizedEditorConfig) {\n setPreview('')\n return\n }\n\n // Transform data through load hooks\n if (finalSanitizedEditorConfig?.features?.hooks?.load?.length) {\n finalSanitizedEditorConfig.features.hooks.load.forEach((hook) => {\n dataToUse = hook({ incomingEditorState: dataToUse })\n })\n }\n\n if (!dataToUse || typeof dataToUse !== 'object') {\n setPreview('')\n return\n }\n\n // If data is from Slate and not Lexical\n if (Array.isArray(dataToUse) && !('root' in dataToUse)) {\n setPreview('')\n return\n }\n\n // If data is from payload-plugin-lexical\n if ('jsonContent' in dataToUse) {\n setPreview('')\n return\n }\n\n // initialize headless editor\n const headlessEditor = createHeadlessEditor({\n namespace: finalSanitizedEditorConfig.lexical.namespace,\n nodes: getEnabledNodes({ editorConfig: finalSanitizedEditorConfig }),\n theme: finalSanitizedEditorConfig.lexical.theme,\n })\n headlessEditor.setEditorState(headlessEditor.parseEditorState(dataToUse))\n\n const textContent =\n headlessEditor.getEditorState().read(() => {\n return $getRoot().getTextContent()\n }) || ''\n\n // Limiting the number of characters shown is done in a CSS rule\n setPreview(textContent)\n }, [cellData, lexicalEditorConfig, hasLoadedFeatures, finalSanitizedEditorConfig])\n\n if (!hasLoadedFeatures) {\n return (\n <React.Fragment>\n {Array.isArray(featureProviderComponents) &&\n featureProviderComponents.map((featureProvider) => {\n // get all components starting with key feature.${FeatureProvider.key}.components.{featureComponentKey}\n const featureComponentKeys = Array.from(richTextComponentMap.keys()).filter((key) =>\n key.startsWith(`feature.${featureProvider.key}.components.`),\n )\n const featureComponents: React.ReactNode[] = featureComponentKeys.map((key) => {\n return richTextComponentMap.get(key)\n })\n\n return (\n <React.Fragment key={featureProvider.key}>\n {featureComponents?.length\n ? featureComponents.map((FeatureComponent) => {\n return FeatureComponent\n })\n : null}\n {featureProvider.ClientComponent}\n </React.Fragment>\n )\n })}\n </React.Fragment>\n )\n }\n\n return <span>{preview}</span>\n}\n"],"names":["lexicalHeadlessImport","createHeadlessEditor","lexicalImport","$getRoot","useTableCell","useFieldProps","useClientFunctions","React","useEffect","useState","defaultEditorLexicalConfig","loadClientFeatures","sanitizeClientEditorConfig","getEnabledNodes","RichTextCell","props","lexicalEditorConfig","preview","setPreview","schemaPath","cellData","richTextComponentMap","clientFunctions","hasLoadedFeatures","setHasLoadedFeatures","featureProviders","setFeatureProviders","finalSanitizedEditorConfig","setFinalSanitizedEditorConfig","featureProviderComponents","get","sort","a","b","order","featureComponentsWithFeaturesLength","Array","from","keys","filter","key","startsWith","includes","length","featureProvidersLocal","featureProvidersAndComponentsLoaded","Object","entries","forEach","plugin","push","resolvedClientFeatures","unSanitizedEditorConfig","features","lexical","dataToUse","hooks","load","hook","incomingEditorState","isArray","headlessEditor","namespace","nodes","editorConfig","theme","setEditorState","parseEditorState","textContent","getEditorState","read","getTextContent","Fragment","map","featureProvider","featureComponentKeys","featureComponents","FeatureComponent","ClientComponent","span"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA;AAGA,OAAOA,2BAA2B,oBAAmB;AACrD,MAAM,EAAEC,oBAAoB,EAAE,GAAGD;AACjC,OAAOE,mBAAmB,UAAS;AACnC,MAAM,EAAEC,QAAQ,EAAE,GAAGD;AACrB,SAASE,YAAY,QAAQ,gCAA+B;AAC5D,SAASC,aAAa,QAAQ,0CAAyC;AACvE,SAASC,kBAAkB,QAAQ,0CAAyC;AAC5E,OAAOC,SAASC,SAAS,EAAEC,QAAQ,QAAQ,QAAO;AAMlD,SAASC,0BAA0B,QAAQ,4CAA2C;AACtF,SAASC,kBAAkB,QAAQ,2CAA0C;AAC7E,SAASC,0BAA0B,QAAQ,6CAA4C;AACvF,SAASC,eAAe,QAAQ,kCAAiC;AAEjE,OAAO,MAAMC,eAER,CAACC;IACJ,MAAM,EAAEC,mBAAmB,EAAE,GAAGD;IAEhC,MAAM,CAACE,SAASC,WAAW,GAAGX,MAAME,QAAQ,CAAC;IAC7C,MAAM,EAAEU,UAAU,EAAE,GAAGd;IAEvB,MAAM,EAAEe,QAAQ,EAAEC,oBAAoB,EAAE,GAAGjB;IAE3C,MAAMkB,kBAAkBhB;IACxB,MAAM,CAACiB,mBAAmBC,qBAAqB,GAAGf,SAAS;IAE3D,MAAM,CAACgB,kBAAkBC,oBAAoB,GAAGjB,SAA2C,EAAE;IAE7F,MAAM,CAACkB,4BAA4BC,8BAA8B,GAC/DnB,SAAsC;IAExC,IAAIoB,4BAAiER,qBAAqBS,GAAG,CAC3F,WACuC,oBAAoB;;IAC7D,iBAAiB;IACjBD,4BAA4BA,0BAA0BE,IAAI,CAAC,CAACC,GAAGC,IAAMD,EAAEE,KAAK,GAAGD,EAAEC,KAAK;IAEtF,MAAMC,sCACJC,MAAMC,IAAI,CAAChB,qBAAqBiB,IAAI,IAAIC,MAAM,CAC5C,CAACC,MAAQA,IAAIC,UAAU,CAAC,CAAC,QAAQ,CAAC,KAAK,CAACD,IAAIE,QAAQ,CAAC,aACrDC,MAAM,GAAGd,0BAA0Bc,MAAM;IAE7CnC,UAAU;QACR,IAAI,CAACe,mBAAmB;YACtB,MAAMqB,wBAA0D,EAAE;YAClE,IAAIC,sCAAsC;YAE1CC,OAAOC,OAAO,CAACzB,iBAAiB0B,OAAO,CAAC,CAAC,CAACR,KAAKS,OAAO;gBACpD,IAAIT,IAAIC,UAAU,CAAC,CAAC,eAAe,EAAEtB,WAAW,CAAC,CAAC,GAAG;oBACnD,IAAI,CAACqB,IAAIE,QAAQ,CAAC,iBAAiB;wBACjCE,sBAAsBM,IAAI,CAACD;oBAC7B;oBACAJ;gBACF;YACF;YAEA,IAAIA,wCAAwCV,qCAAqC;gBAC/ET,oBAAoBkB;gBACpBpB,qBAAqB;gBAErB;;SAEC,GAED,MAAM2B,yBAAyBxC,mBAAmB;oBAChDW;oBACAH;oBACAiC,yBAAyB;wBACvBC,UAAUT;wBACVU,SAAStC;oBACX;gBACF;gBAEAY,8BACEhB,2BACEI,sBAAsBA,sBAAsBN,4BAC5CyC;YAGN;QACF;IACF,GAAG;QACD5B;QACAD;QACAH;QACAU,0BAA0Bc,MAAM;QAChClB;QACAE;QACAX;QACAmB;KACD;IAED3B,UAAU;QACR,IAAI+C,YAAYnC;QAChB,IAAImC,aAAa,QAAQ,CAAChC,qBAAqB,CAACI,4BAA4B;YAC1ET,WAAW;YACX;QACF;QAEA,oCAAoC;QACpC,IAAIS,4BAA4B0B,UAAUG,OAAOC,MAAMd,QAAQ;YAC7DhB,2BAA2B0B,QAAQ,CAACG,KAAK,CAACC,IAAI,CAACT,OAAO,CAAC,CAACU;gBACtDH,YAAYG,KAAK;oBAAEC,qBAAqBJ;gBAAU;YACpD;QACF;QAEA,IAAI,CAACA,aAAa,OAAOA,cAAc,UAAU;YAC/CrC,WAAW;YACX;QACF;QAEA,wCAAwC;QACxC,IAAIkB,MAAMwB,OAAO,CAACL,cAAc,CAAE,CAAA,UAAUA,SAAQ,GAAI;YACtDrC,WAAW;YACX;QACF;QAEA,yCAAyC;QACzC,IAAI,iBAAiBqC,WAAW;YAC9BrC,WAAW;YACX;QACF;QAEA,6BAA6B;QAC7B,MAAM2C,iBAAiB5D,qBAAqB;YAC1C6D,WAAWnC,2BAA2B2B,OAAO,CAACQ,SAAS;YACvDC,OAAOlD,gBAAgB;gBAAEmD,cAAcrC;YAA2B;YAClEsC,OAAOtC,2BAA2B2B,OAAO,CAACW,KAAK;QACjD;QACAJ,eAAeK,cAAc,CAACL,eAAeM,gBAAgB,CAACZ;QAE9D,MAAMa,cACJP,eAAeQ,cAAc,GAAGC,IAAI,CAAC;YACnC,OAAOnE,WAAWoE,cAAc;QAClC,MAAM;QAER,gEAAgE;QAChErD,WAAWkD;IACb,GAAG;QAAChD;QAAUJ;QAAqBO;QAAmBI;KAA2B;IAEjF,IAAI,CAACJ,mBAAmB;QACtB,qBACE,oBAAChB,MAAMiE,QAAQ,QACZpC,MAAMwB,OAAO,CAAC/B,8BACbA,0BAA0B4C,GAAG,CAAC,CAACC;YAC7B,uGAAuG;YACvG,MAAMC,uBAAuBvC,MAAMC,IAAI,CAAChB,qBAAqBiB,IAAI,IAAIC,MAAM,CAAC,CAACC,MAC3EA,IAAIC,UAAU,CAAC,CAAC,QAAQ,EAAEiC,gBAAgBlC,GAAG,CAAC,YAAY,CAAC;YAE7D,MAAMoC,oBAAuCD,qBAAqBF,GAAG,CAAC,CAACjC;gBACrE,OAAOnB,qBAAqBS,GAAG,CAACU;YAClC;YAEA,qBACE,oBAACjC,MAAMiE,QAAQ;gBAAChC,KAAKkC,gBAAgBlC,GAAG;eACrCoC,mBAAmBjC,SAChBiC,kBAAkBH,GAAG,CAAC,CAACI;gBACrB,OAAOA;YACT,KACA,MACHH,gBAAgBI,eAAe;QAGtC;IAGR;IAEA,qBAAO,oBAACC,cAAM9D;AAChB,EAAC"}
1
+ {"version":3,"file":"index.js","names":["createHeadlessEditor","useClientFunctions","useTableCell","$getRoot","React","useEffect","useState","defaultEditorLexicalConfig","loadClientFeatures","sanitizeClientEditorConfig","getEnabledNodes","RichTextCell","props","admin","field","_schemaPath","richTextComponentMap","lexicalEditorConfig","preview","setPreview","cellData","clientFunctions","hasLoadedFeatures","setHasLoadedFeatures","featureProviders","setFeatureProviders","finalSanitizedEditorConfig","setFinalSanitizedEditorConfig","featureProviderComponents","get","sort","a","b","order","featureProvidersAndComponentsToLoad","featureProvider","featureComponentKeys","Array","from","keys","filter","key","startsWith","length","featureProvidersLocal","featureProvidersAndComponentsLoaded","Object","entries","forEach","plugin","includes","push","resolvedClientFeatures","schemaPath","unSanitizedEditorConfig","features","lexical","dataToUse","hooks","load","hook","incomingEditorState","isArray","headlessEditor","namespace","nodes","editorConfig","theme","setEditorState","parseEditorState","textContent","getEditorState","read","getTextContent","_jsx","Fragment","map","featureComponents","_jsxs","FeatureComponent","ClientFeature"],"sources":["../../src/cell/index.tsx"],"sourcesContent":["'use client'\nimport type { EditorConfig as LexicalEditorConfig } from 'lexical'\nimport type { CellComponentProps, RichTextFieldClient } from 'payload'\n\nimport { createHeadlessEditor } from '@lexical/headless'\nimport { useClientFunctions, useTableCell } from '@payloadcms/ui'\nimport { $getRoot } from 'lexical'\nimport React, { useEffect, useState } from 'react'\n\nimport type { FeatureProviderClient } from '../features/typesClient.js'\nimport type { SanitizedClientEditorConfig } from '../lexical/config/types.js'\nimport type { GeneratedFeatureProviderComponent, LexicalFieldAdminProps } from '../types.js'\n\nimport { defaultEditorLexicalConfig } from '../lexical/config/client/default.js'\nimport { loadClientFeatures } from '../lexical/config/client/loader.js'\nimport { sanitizeClientEditorConfig } from '../lexical/config/client/sanitize.js'\nimport { getEnabledNodes } from '../lexical/nodes/index.js'\n\nexport const RichTextCell: React.FC<\n {\n readonly admin?: LexicalFieldAdminProps\n readonly lexicalEditorConfig: LexicalEditorConfig\n } & CellComponentProps<RichTextFieldClient>\n> = (props) => {\n const {\n admin,\n field: { _schemaPath, richTextComponentMap },\n lexicalEditorConfig,\n } = props\n\n const [preview, setPreview] = React.useState('Loading...')\n\n const { cellData } = useTableCell()\n\n const clientFunctions = useClientFunctions()\n const [hasLoadedFeatures, setHasLoadedFeatures] = useState(false)\n\n const [featureProviders, setFeatureProviders] = useState<\n FeatureProviderClient<unknown, unknown>[]\n >([])\n\n const [finalSanitizedEditorConfig, setFinalSanitizedEditorConfig] =\n useState<SanitizedClientEditorConfig>(null)\n\n const featureProviderComponents: GeneratedFeatureProviderComponent[] = (\n richTextComponentMap.get('features') as GeneratedFeatureProviderComponent[]\n ).sort((a, b) => a.order - b.order) // order by order\n\n let featureProvidersAndComponentsToLoad = 0 // feature providers and components\n for (const featureProvider of featureProviderComponents) {\n const featureComponentKeys = Array.from(richTextComponentMap.keys()).filter((key) =>\n key.startsWith(`feature.${featureProvider.key}.components.`),\n )\n\n featureProvidersAndComponentsToLoad += 1\n featureProvidersAndComponentsToLoad += featureComponentKeys.length\n }\n\n useEffect(() => {\n if (!hasLoadedFeatures) {\n const featureProvidersLocal: FeatureProviderClient<unknown, unknown>[] = []\n let featureProvidersAndComponentsLoaded = 0 // feature providers and components only\n\n Object.entries(clientFunctions).forEach(([key, plugin]) => {\n if (key.startsWith(`lexicalFeature.${_schemaPath}.`)) {\n if (!key.includes('.lexical_internal_components.')) {\n featureProvidersLocal.push(plugin)\n }\n featureProvidersAndComponentsLoaded++\n }\n })\n\n if (featureProvidersAndComponentsLoaded === featureProvidersAndComponentsToLoad) {\n setFeatureProviders(featureProvidersLocal)\n setHasLoadedFeatures(true)\n\n /**\n * Loaded feature provided => create the final sanitized editor config\n */\n\n const resolvedClientFeatures = loadClientFeatures({\n clientFunctions,\n schemaPath: _schemaPath,\n unSanitizedEditorConfig: {\n features: featureProvidersLocal,\n lexical: lexicalEditorConfig,\n },\n })\n\n setFinalSanitizedEditorConfig(\n sanitizeClientEditorConfig(\n lexicalEditorConfig ? lexicalEditorConfig : defaultEditorLexicalConfig,\n resolvedClientFeatures,\n admin,\n ),\n )\n }\n }\n }, [\n admin,\n featureProviderComponents,\n hasLoadedFeatures,\n clientFunctions,\n _schemaPath,\n featureProviderComponents.length,\n featureProviders,\n finalSanitizedEditorConfig,\n lexicalEditorConfig,\n richTextComponentMap,\n featureProvidersAndComponentsToLoad,\n ])\n\n useEffect(() => {\n if (!hasLoadedFeatures) {\n return\n }\n let dataToUse = cellData\n if (dataToUse == null || !hasLoadedFeatures || !finalSanitizedEditorConfig) {\n setPreview('')\n return\n }\n\n // Transform data through load hooks\n if (finalSanitizedEditorConfig?.features?.hooks?.load?.length) {\n finalSanitizedEditorConfig.features.hooks.load.forEach((hook) => {\n dataToUse = hook({ incomingEditorState: dataToUse })\n })\n }\n\n if (!dataToUse || typeof dataToUse !== 'object') {\n setPreview('')\n return\n }\n\n // If data is from Slate and not Lexical\n if (Array.isArray(dataToUse) && !('root' in dataToUse)) {\n setPreview('')\n return\n }\n\n // If data is from payload-plugin-lexical\n if ('jsonContent' in dataToUse) {\n setPreview('')\n return\n }\n\n // initialize headless editor\n const headlessEditor = createHeadlessEditor({\n namespace: finalSanitizedEditorConfig.lexical.namespace,\n nodes: getEnabledNodes({ editorConfig: finalSanitizedEditorConfig }),\n theme: finalSanitizedEditorConfig.lexical.theme,\n })\n headlessEditor.setEditorState(headlessEditor.parseEditorState(dataToUse))\n\n const textContent =\n headlessEditor.getEditorState().read(() => {\n return $getRoot().getTextContent()\n }) || ''\n\n // Limiting the number of characters shown is done in a CSS rule\n setPreview(textContent)\n }, [cellData, lexicalEditorConfig, hasLoadedFeatures, finalSanitizedEditorConfig])\n\n if (!hasLoadedFeatures) {\n return (\n <React.Fragment>\n {Array.isArray(featureProviderComponents) &&\n featureProviderComponents.map((featureProvider) => {\n // get all components starting with key feature.${FeatureProvider.key}.components.{featureComponentKey}\n const featureComponentKeys = Array.from(richTextComponentMap.keys()).filter((key) =>\n key.startsWith(\n `lexical_internal_feature.${featureProvider.key}.lexical_internal_components.`,\n ),\n )\n\n const featureComponents: React.ReactNode[] = featureComponentKeys.map((key) => {\n return richTextComponentMap.get(key)\n }) as React.ReactNode[]\n\n return (\n <React.Fragment key={featureProvider.key}>\n {featureComponents?.length\n ? featureComponents.map((FeatureComponent) => {\n return FeatureComponent\n })\n : null}\n {featureProvider.ClientFeature}\n </React.Fragment>\n )\n })}\n </React.Fragment>\n )\n }\n\n return <span>{preview}</span>\n}\n"],"mappings":"AAAA;;;AAIA,SAASA,oBAAoB,QAAQ;AACrC,SAASC,kBAAkB,EAAEC,YAAY,QAAQ;AACjD,SAASC,QAAQ,QAAQ;AACzB,OAAOC,KAAA,IAASC,SAAS,EAAEC,QAAQ,QAAQ;AAM3C,SAASC,0BAA0B,QAAQ;AAC3C,SAASC,kBAAkB,QAAQ;AACnC,SAASC,0BAA0B,QAAQ;AAC3C,SAASC,eAAe,QAAQ;AAEhC,OAAO,MAAMC,YAAA,GAKRC,KAAA;EACH,MAAM;IACJC,KAAK;IACLC,KAAA,EAAO;MAAEC,WAAW;MAAEC;IAAoB,CAAE;IAC5CC;EAAmB,CACpB,GAAGL,KAAA;EAEJ,MAAM,CAACM,OAAA,EAASC,UAAA,CAAW,GAAGf,KAAA,CAAME,QAAQ,CAAC;EAE7C,MAAM;IAAEc;EAAQ,CAAE,GAAGlB,YAAA;EAErB,MAAMmB,eAAA,GAAkBpB,kBAAA;EACxB,MAAM,CAACqB,iBAAA,EAAmBC,oBAAA,CAAqB,GAAGjB,QAAA,CAAS;EAE3D,MAAM,CAACkB,gBAAA,EAAkBC,mBAAA,CAAoB,GAAGnB,QAAA,CAE9C,EAAE;EAEJ,MAAM,CAACoB,0BAAA,EAA4BC,6BAAA,CAA8B,GAC/DrB,QAAA,CAAsC;EAExC,MAAMsB,yBAAA,GAAiEZ,oBACrE,CAAqBa,GAAG,CAAC,YACzBC,IAAI,CAAC,CAACC,CAAA,EAAGC,CAAA,KAAMD,CAAA,CAAEE,KAAK,GAAGD,CAAA,CAAEC,KAAK,EAAE;EAAA;EAEpC,IAAIC,mCAAA,GAAsC,EAAE;EAAA;EAC5C,KAAK,MAAMC,eAAA,IAAmBP,yBAAA,EAA2B;IACvD,MAAMQ,oBAAA,GAAuBC,KAAA,CAAMC,IAAI,CAACtB,oBAAA,CAAqBuB,IAAI,IAAIC,MAAM,CAAEC,GAAA,IAC3EA,GAAA,CAAIC,UAAU,CAAC,WAAWP,eAAA,CAAgBM,GAAG,cAAc;IAG7DP,mCAAA,IAAuC;IACvCA,mCAAA,IAAuCE,oBAAA,CAAqBO,MAAM;EACpE;EAEAtC,SAAA,CAAU;IACR,IAAI,CAACiB,iBAAA,EAAmB;MACtB,MAAMsB,qBAAA,GAAmE,EAAE;MAC3E,IAAIC,mCAAA,GAAsC,EAAE;MAAA;MAE5CC,MAAA,CAAOC,OAAO,CAAC1B,eAAA,EAAiB2B,OAAO,CAAC,CAAC,CAACP,KAAA,EAAKQ,MAAA,CAAO;QACpD,IAAIR,KAAA,CAAIC,UAAU,CAAC,kBAAkB3B,WAAA,GAAc,GAAG;UACpD,IAAI,CAAC0B,KAAA,CAAIS,QAAQ,CAAC,kCAAkC;YAClDN,qBAAA,CAAsBO,IAAI,CAACF,MAAA;UAC7B;UACAJ,mCAAA;QACF;MACF;MAEA,IAAIA,mCAAA,KAAwCX,mCAAA,EAAqC;QAC/ET,mBAAA,CAAoBmB,qBAAA;QACpBrB,oBAAA,CAAqB;QAErB;;;QAIA,MAAM6B,sBAAA,GAAyB5C,kBAAA,CAAmB;UAChDa,eAAA;UACAgC,UAAA,EAAYtC,WAAA;UACZuC,uBAAA,EAAyB;YACvBC,QAAA,EAAUX,qBAAA;YACVY,OAAA,EAASvC;UACX;QACF;QAEAU,6BAAA,CACElB,0BAAA,CACEQ,mBAAA,GAAsBA,mBAAA,GAAsBV,0BAAA,EAC5C6C,sBAAA,EACAvC,KAAA;MAGN;IACF;EACF,GAAG,CACDA,KAAA,EACAe,yBAAA,EACAN,iBAAA,EACAD,eAAA,EACAN,WAAA,EACAa,yBAAA,CAA0Be,MAAM,EAChCnB,gBAAA,EACAE,0BAAA,EACAT,mBAAA,EACAD,oBAAA,EACAkB,mCAAA,CACD;EAED7B,SAAA,CAAU;IACR,IAAI,CAACiB,iBAAA,EAAmB;MACtB;IACF;IACA,IAAImC,SAAA,GAAYrC,QAAA;IAChB,IAAIqC,SAAA,IAAa,QAAQ,CAACnC,iBAAA,IAAqB,CAACI,0BAAA,EAA4B;MAC1EP,UAAA,CAAW;MACX;IACF;IAEA;IACA,IAAIO,0BAAA,EAA4B6B,QAAA,EAAUG,KAAA,EAAOC,IAAA,EAAMhB,MAAA,EAAQ;MAC7DjB,0BAAA,CAA2B6B,QAAQ,CAACG,KAAK,CAACC,IAAI,CAACX,OAAO,CAAEY,IAAA;QACtDH,SAAA,GAAYG,IAAA,CAAK;UAAEC,mBAAA,EAAqBJ;QAAU;MACpD;IACF;IAEA,IAAI,CAACA,SAAA,IAAa,OAAOA,SAAA,KAAc,UAAU;MAC/CtC,UAAA,CAAW;MACX;IACF;IAEA;IACA,IAAIkB,KAAA,CAAMyB,OAAO,CAACL,SAAA,KAAc,EAAE,UAAUA,SAAQ,GAAI;MACtDtC,UAAA,CAAW;MACX;IACF;IAEA;IACA,IAAI,iBAAiBsC,SAAA,EAAW;MAC9BtC,UAAA,CAAW;MACX;IACF;IAEA;IACA,MAAM4C,cAAA,GAAiB/D,oBAAA,CAAqB;MAC1CgE,SAAA,EAAWtC,0BAAA,CAA2B8B,OAAO,CAACQ,SAAS;MACvDC,KAAA,EAAOvD,eAAA,CAAgB;QAAEwD,YAAA,EAAcxC;MAA2B;MAClEyC,KAAA,EAAOzC,0BAAA,CAA2B8B,OAAO,CAACW;IAC5C;IACAJ,cAAA,CAAeK,cAAc,CAACL,cAAA,CAAeM,gBAAgB,CAACZ,SAAA;IAE9D,MAAMa,WAAA,GACJP,cAAA,CAAeQ,cAAc,GAAGC,IAAI,CAAC;MACnC,OAAOrE,QAAA,GAAWsE,cAAc;IAClC,MAAM;IAER;IACAtD,UAAA,CAAWmD,WAAA;EACb,GAAG,CAAClD,QAAA,EAAUH,mBAAA,EAAqBK,iBAAA,EAAmBI,0BAAA,CAA2B;EAEjF,IAAI,CAACJ,iBAAA,EAAmB;IACtB,oBACEoD,IAAA,CAACtE,KAAA,CAAMuE,QAAQ;gBACZtC,KAAA,CAAMyB,OAAO,CAAClC,yBAAA,KACbA,yBAAA,CAA0BgD,GAAG,CAAEzC,iBAAA;QAC7B;QACA,MAAMC,sBAAA,GAAuBC,KAAA,CAAMC,IAAI,CAACtB,oBAAA,CAAqBuB,IAAI,IAAIC,MAAM,CAAEC,KAAA,IAC3EA,KAAA,CAAIC,UAAU,CACZ,4BAA4BP,iBAAA,CAAgBM,GAAG,+BAA+B;QAIlF,MAAMoC,iBAAA,GAAuCzC,sBAAA,CAAqBwC,GAAG,CAAEnC,KAAA;UACrE,OAAOzB,oBAAA,CAAqBa,GAAG,CAACY,KAAA;QAClC;QAEA,oBACEqC,KAAA,CAAC1E,KAAA,CAAMuE,QAAQ;qBACZE,iBAAA,EAAmBlC,MAAA,GAChBkC,iBAAA,CAAkBD,GAAG,CAAEG,gBAAA;YACrB,OAAOA,gBAAA;UACT,KACA,MACH5C,iBAAA,CAAgB6C,aAAa;WANX7C,iBAAA,CAAgBM,GAAG;MAS5C;;EAGR;EAEA,oBAAOiC,IAAA,CAAC;cAAMxD;;AAChB","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{a as ue,b as pe,c as ge,d as he,e as z,f as I,h as ye}from"./chunk-YSI2QILQ.js";import{a as fe,b as T}from"./chunk-OLSILJA6.js";import{jsx as j,jsxs as me}from"react/jsx-runtime";import{FieldDescription as Yt,FieldError as Ut,FieldLabel as Vt,useField as qt,useFieldProps as Jt,withCondition as Qt}from"@payloadcms/ui";import{useCallback as Xt}from"react";import{ErrorBoundary as Zt}from"react-error-boundary";import{jsx as A}from"react/jsx-runtime";import{LexicalComposer as Wt}from"@lexical/react/LexicalComposer.js";import*as qe from"react";import{useMemo as Ve}from"react";import{c as Bt}from"react/compiler-runtime";import{jsx as P,jsxs as J}from"react/jsx-runtime";import{useLexicalComposerContext as Mt}from"@lexical/react/LexicalComposerContext.js";import{LexicalErrorBoundary as It}from"@lexical/react/LexicalErrorBoundary.js";import{HistoryPlugin as At}from"@lexical/react/LexicalHistoryPlugin.js";import{OnChangePlugin as Ft}from"@lexical/react/LexicalOnChangePlugin.js";import{RichTextPlugin as Dt}from"@lexical/react/LexicalRichTextPlugin.js";import{TabIndentationPlugin as Ot}from"@lexical/react/LexicalTabIndentationPlugin.js";import{BLUR_COMMAND as _t,COMMAND_PRIORITY_LOW as Ge,FOCUS_COMMAND as Ht}from"lexical";import*as U from"react";import{useEffect as We,useState as Ye}from"react";import{jsx as xe}from"react/jsx-runtime";import"react";var _=({anchorElem:t,clientProps:e,plugin:o})=>o.position==="floatingAnchorElem"?o.Component&&xe(o.Component,{anchorElem:t,clientProps:e}):o.Component&&xe(o.Component,{clientProps:e});import{c as Xe}from"react/compiler-runtime";import{jsx as Ze}from"react/jsx-runtime";import{MarkdownShortcutPlugin as et}from"@lexical/react/LexicalMarkdownShortcutPlugin.js";import"react";var Ee=()=>{let t=Xe(2),{editorConfig:e}=T(),o;return t[0]!==e.features.markdownTransformers?(o=Ze(et,{transformers:e.features.markdownTransformers}),t[0]=e.features.markdownTransformers,t[1]=o):o=t[1],o};import{jsx as K,jsxs as Ne}from"react/jsx-runtime";import{useLexicalComposerContext as ot}from"@lexical/react/LexicalComposerContext.js";import{useFieldProps as Pe,useTranslation as we}from"@payloadcms/ui";import{useCallback as Ce,useMemo as nt,useState as rt}from"react";import"react";import*as ke from"react-dom";import{c as tt}from"react/compiler-runtime";import"react";function be(t,e){let o=tt(4),{maxLength:l,minLength:r}=e,m=l===void 0?75:l,p=r===void 0?1:r,a;return o[0]!==t||o[1]!==m||o[2]!==p?(a=u=>{let{query:g}=u,E="[^"+t+pe+"\\s]",s=new RegExp("(^|\\s|\\()(["+t+"]((?:"+E+"){0,"+m+"}))$").exec(g);if(s!==null){let n=s[1],y=s[3];if(y.length>=p)return{leadOffset:s.index+n.length,matchingString:y,replaceableString:s[2]}}return null},o[0]=t,o[1]=m,o[2]=p,o[3]=a):a=o[3],a}var L="slash-menu-popup";function it({isSelected:t,item:e,onClick:o,onMouseEnter:l}){let{field:{richTextComponentMap:r}}=T(),{schemaPath:m}=Pe(),{i18n:p}=we(),a=`${L}__item ${L}__item-${e.key}`;t&&(a+=` ${L}__item--selected`);let u=e.key;return e.label&&(u=typeof e.label=="function"?e.label({i18n:p,richTextComponentMap:r,schemaPath:m}):e.label),u.length>25&&(u=u.substring(0,25)+"..."),Ne("button",{"aria-selected":t,className:a,id:L+"__item-"+e.key,onClick:o,onMouseEnter:l,ref:g=>{e.ref={current:g}},role:"option",tabIndex:-1,type:"button",children:[e?.Icon&&K(e.Icon,{}),K("span",{className:`${L}__item-text`,children:u})]},e.key)}function Re({anchorElem:t=document.body}){let[e]=ot(),[o,l]=rt(null),{editorConfig:r}=T(),{i18n:m}=we(),{field:{richTextComponentMap:p}}=T(),{schemaPath:a}=Pe(),u=be("/",{minLength:0}),g=Ce(()=>{let s=[];for(let n of r.features.slashMenu.dynamicGroups){let y=n({editor:e,queryString:o});s=s.concat(y)}return s},[e,o,r?.features]),E=nt(()=>{let s=[];for(let n of r?.features.slashMenu.groups??[])s.push(n);if(o){s=s.map(y=>{let h=y.items.filter(c=>{let f=c.key;return c.label&&(f=typeof c.label=="function"?c.label({i18n:m,richTextComponentMap:p,schemaPath:a}):c.label),new RegExp(o,"gi").exec(f)?!0:c.keywords!=null?c.keywords.some(i=>new RegExp(o,"gi").exec(i)):!1});return h.length?{...y,items:h}:null}),s=s.filter(y=>y!=null);let n=g();for(let y of n){let h=s.find(c=>c.key===y.key);h?s=s.filter(c=>c.key!==y.key):h={...y,items:[]},h?.items?.length&&(h.items=h.items.concat(h.items)),s.push(h)}}return s},[g,o,r?.features,m]),d=Ce((s,n,y,h)=>{n&&e.update(()=>{n.remove()}),s.onSelect({editor:e,queryString:h}),y()},[e]);return K(he,{anchorElem:t,groups:E,menuRenderFn:(s,{selectItemAndCleanUp:n,selectedItemKey:y,setSelectedItemKey:h})=>s.current&&E.length?ke.createPortal(K("div",{className:L,children:E.map(c=>{let f=c.key;return c.label&&(f=typeof c.label=="function"?c.label({i18n:m,richTextComponentMap:p,schemaPath:a}):c.label),Ne("div",{className:`${L}__group ${L}__group-${c.key}`,children:[K("div",{className:`${L}__group-title`,children:f}),c.items.map((i,x)=>K(it,{index:x,isSelected:y===i.key,item:i,onClick:()=>{h(i.key),n(i)},onMouseEnter:()=>{h(i.key)}},i.key))]},c.key)})}),s.current):null,onQueryChange:l,onSelectItem:d,triggerFn:u})}import{jsx as ce}from"react/jsx-runtime";import{useLexicalComposerContext as mt}from"@lexical/react/LexicalComposerContext.js";import{$createParagraphNode as ut}from"lexical";import*as Le from"react";import{useCallback as ft,useEffect as ve,useRef as pt,useState as gt}from"react";import{createPortal as ht}from"react-dom";var G=(t,e,o,l,r=50,m=25)=>{let p=0;if(t&&!t.contains(l)){let{bottom:a,left:u,right:g,top:E}=t.getBoundingClientRect(),d=E+window.scrollY,s=a+window.scrollY;if(o<d-m||o>s+m||e<u-r||e>g+r)return-1;(e<u||e>g)&&(p=e<u?e-u:e-g)}return p};import{$getNodeByKey as Z}from"lexical";function W(t){let e=t.getBoundingClientRect(),o=getComputedStyle(t).getPropertyValue("transform");if(!o||o==="none")return e;let l=o.split(",").pop();return e.y=e.y-Number(l.replace(")","")),e}function X(t){let e=(u,g)=>u?parseFloat(window.getComputedStyle(u)[g]):0,{marginBottom:o,marginTop:l}=window.getComputedStyle(t),r=e(t.previousElementSibling,"marginBottom"),m=e(t.nextElementSibling,"marginTop"),p=Math.max(parseFloat(l),r);return{marginBottom:Math.max(parseFloat(o),m),marginTop:p}}import{$getRoot as st}from"lexical";function H(t){return t.getEditorState().read(()=>st().getChildrenKeys())}var lt=1,at=-1,Te=0,B={props:null,result:null};function ct(t,e,o=20){let l=t.x-e.x,r=t.y-e.y;return l*l+r*r<=o*o}function Y(t){let{anchorElem:e,cache_threshold:o=20,editor:l,fuzzy:r=!1,horizontalOffset:m=0,point:{x:p,y:a},startIndex:u=0,useEdgeAsDefault:g=!1,verbose:E=!1}=t;if(o>0&&B.props&&B.result&&B.props.fuzzy===t.fuzzy&&B.props.horizontalOffset===t.horizontalOffset&&B.props.useEdgeAsDefault===t.useEdgeAsDefault&&ct(B.props.point,t.point,o))return B.result;let d=e.getBoundingClientRect(),s=H(l),n={blockElem:null,blockNode:null,distance:1/0,foundAtIndex:-1,isFoundNodeEmptyParagraph:!1};return l.getEditorState().read(()=>{if(g){let[c,f]=[l.getElementByKey(s[0]),l.getElementByKey(s[s.length-1])],[i,x]=[W(c),W(f)];if(i&&x&&(a<i.top?(n.blockElem=c,n.distance=i.top-a,n.blockNode=Z(s[0]),n.foundAtIndex=0):a>x.bottom&&(n.distance=a-x.bottom,n.blockNode=Z(s[s.length-1]),n.blockElem=f,n.foundAtIndex=s.length-1),n?.blockElem))return{blockElem:null,isFoundNodeEmptyParagraph:!1}}let y=u,h=Te;for(;y>=0&&y<s.length;){let c=s[y],f=l.getElementByKey(c);if(f===null)break;let i=new I(p+m,a),x=ye.fromDOMRect(W(f)),{marginBottom:b,marginTop:C}=X(f),w=x.generateNewRect({bottom:x.bottom+b,left:d.left,right:d.right,top:x.top-C}),{distance:R,isOnBottomSide:N,isOnTopSide:F}=w.distanceFromPoint(i);if(R===0){n.blockElem=f,n.blockNode=Z(c),n.foundAtIndex=y,n.distance=R,n.blockNode&&n.blockNode.getType()==="paragraph"&&n.blockNode.getTextContent()===""&&(!r&&!t.returnEmptyParagraphs&&(n.blockElem=null,n.blockNode=null),n.isFoundNodeEmptyParagraph=!0);break}else r&&R<n.distance&&(n.blockElem=f,n.blockNode=Z(c),n.distance=R,n.foundAtIndex=y);h===Te&&(F?h=at:N?h=lt:h=1/0),y+=h}}),B.props=t,B.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 dt=["IMG","INPUT","TEXTAREA","SELECT","BUTTON","VIDEO","OBJECT","EMBED","IFRAME","HR"];function Se(t){if(!t||dt.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,l=0){if(!t){e.style.opacity="0",e.style.transform="translate(-10000px, -10000px)";return}let r=t.getBoundingClientRect(),m=window.getComputedStyle(t),p=e.getBoundingClientRect(),a=o.getBoundingClientRect(),u;if(["lexical-block","lexical-upload","lexical-relationship"].some(d=>t.firstElementChild?.classList.contains(d)))u=r.top+8-a.top;else{let d=Se(t)?parseInt(m.lineHeight,10):0;u=r.top+(d-p.height)/2-a.top}let E=l;e.style.opacity="1",e.style.transform=`translate(${E}px, ${u}px)`}var yt="add-block-menu",oe=1/0;function xt(t){return t===0?1/0:oe>=0&&oe<t?oe:Math.floor(t/2)}function Et(t,e,o){let l=e.parentElement,{editorConfig:r}=T(),m=r?.admin?.hideGutter?-24:12,p=pt(null),[a,u]=gt(null);ve(()=>{function E(d){let s=d.target;if(!z(s))return;let n=G(l,d.pageX,d.pageY,s);if(n===-1){u(null);return}if(ee(s,yt))return;let y=H(t),{blockElem:h,blockNode:c,foundAtIndex:f}=Y({anchorElem:e,cache_threshold:0,editor:t,horizontalOffset:-n,point:new I(d.x,d.y),returnEmptyParagraphs:!0,startIndex:xt(y.length),useEdgeAsDefault:!1});oe=f,h&&(a?.node!==c||a?.elem!==h)&&u({elem:h,node:c})}return document?.addEventListener("mousemove",E),()=>{document?.removeEventListener("mousemove",E)}},[l,e,t,a]),ve(()=>{p.current&&a?.node&&te(a?.elem,p.current,e,m)},[e,a,m]);let g=ft(E=>{let d=a;d?.node&&(t.update(()=>{let s=!0;if((d.node.getType()!=="paragraph"||d.node.getTextContent()!=="")&&(s=!1),!s){let n=ut();d.node.insertAfter(n),setTimeout(()=>{d={elem:t.getElementByKey(n.getKey()),node:n},u(d)},0)}}),setTimeout(()=>{t.update(()=>{t.focus(),d.node&&"select"in d.node&&typeof d.node.select=="function"&&d.node.select()})},1),setTimeout(()=>{t.dispatchCommand(ge,{node:d.node})},2),E.stopPropagation(),E.preventDefault())},[t,a]);return ht(ce(Le.Fragment,{children:ce("button",{className:"icon add-block-menu",onClick:E=>{g(E)},ref:p,type:"button",children:ce("div",{className:o?"icon":""})})}),e)}function Be({anchorElem:t=document.body}){let[e]=mt();return Et(e,t,e._editable)}import{jsx as ne,jsxs as Ct}from"react/jsx-runtime";import{useLexicalComposerContext as Nt}from"@lexical/react/LexicalComposerContext.js";import{eventFiles as Ae}from"@lexical/rich-text";import{$getNearestNodeFromDOMNode as Fe,$getNodeByKey as Pt}from"lexical";import*as $e from"react";import{useEffect as de,useRef as re,useState as De}from"react";import{createPortal as wt}from"react-dom";var Me=0,bt=-24;var $=0;function Ie(t,e,o,l,r,m,p,a,u,g=!1){let{height:E,top:d}=l.getBoundingClientRect(),{top:s,width:n}=p.getBoundingClientRect(),{marginBottom:y,marginTop:h}=X(l),c=d,f=m>=d+E/2+window.scrollY,i=!1;if(r?.elem)if(l!==r?.elem)(f&&r?.elem&&r?.elem===l.nextElementSibling||!f&&r?.elem&&r?.elem===l.previousElementSibling)&&($++,$<200&&(i=!0));else{$++;let w=r?.boundingBox?.y,R=l.getBoundingClientRect().y;(f===r?.isBelow&&w===R||$<200)&&(i=!1)}if(i)return{isBelow:f,willStayInSamePosition:i};g?c+=E/2:f?c+=E+y/2:c-=h/2;let x=0;g||(f?x=-Me:x=Me);let b=c-s+x,C=bt-e;return o.style.width=`calc(${n}px - ${t})`,o.style.opacity=".8",o.style.transform=`translate(${C}px, calc(${b}px - 2px))`,r.elem.style.opacity="",r?.elem===l?f?r.elem.style.marginTop="":r.elem.style.marginBottom="":(r.elem.style.marginBottom="",r.elem.style.marginTop=""),$=0,{isBelow:f,willStayInSamePosition:i}}var kt="draggable-block-menu",Oe="application/x-lexical-drag-block",q=1/0;function _e(t){return t===0?1/0:q>=0&&q<t?q:Math.floor(t/2)}function Rt(t,e){let{transform:o}=e.style;t.setDragImage(e,0,0),setTimeout(()=>{e.style.transform=o})}function He(t,e){t&&(t.style.opacity="0"),e&&(e.style.opacity="",e.style.marginBottom="",e.style.marginTop="")}function Tt(t,e,o){let l=e.parentElement,r=re(null),m=re(null),p=re(null),a=re(!1),[u,g]=De(null),[E,d]=De(null),{editorConfig:s}=T(),n=s?.admin?.hideGutter?-44:-8;de(()=>{function c(f){let i=f.target;if(!z(i))return;let x=G(l,f.pageX,f.pageY,i);if(x===-1){g(null);return}if(ee(i,kt))return;let b=H(t),{blockElem:C,foundAtIndex:w,isFoundNodeEmptyParagraph:R}=Y({anchorElem:e,cache_threshold:0,editor:t,horizontalOffset:-x,point:new I(f.x,f.y),startIndex:_e(b.length),useEdgeAsDefault:!1,verbose:!1});q=w,!(!C&&!R)&&u!==C&&g(C)}return document?.addEventListener("mousemove",c),()=>{document?.removeEventListener("mousemove",c)}},[l,e,t,u]),de(()=>{r.current&&te(u,r.current,e,n)},[e,u,n]),de(()=>{function c(i){if(!a.current)return!1;let[x]=Ae(i);if(x)return!1;let{pageY:b,target:C}=i;if(!z(C))return!1;let w=G(l,i.pageX,i.pageY,C,100,50),R=H(t),{blockElem:N,foundAtIndex:F,isFoundNodeEmptyParagraph:D}=Y({anchorElem:e,editor:t,fuzzy:!0,horizontalOffset:-w,point:new I(i.x,i.y),startIndex:_e(R.length),useEdgeAsDefault:!0,verbose:!0});q=F;let S=m.current;if(N===null||S===null)return!1;if(u!==N){let{isBelow:v,willStayInSamePosition:V}=Ie(s?.admin?.hideGutter?"0px":"3rem",n+(s?.admin?.hideGutter?r?.current?.getBoundingClientRect()?.width??0:-(r?.current?.getBoundingClientRect()?.width??0)),S,N,E,b,e,i,p,D);i.preventDefault(),V||d({boundingBox:N.getBoundingClientRect(),elem:N,isBelow:v})}else He(S,E?.elem),d({boundingBox:N.getBoundingClientRect(),elem:N,isBelow:!1});return!0}function f(i){if(!a.current)return!1;let[x]=Ae(i);if(x)return!1;let{dataTransfer:b,pageY:C,target:w}=i,R=b?.getData(Oe)||"";return t.update(()=>{let N=Pt(R);if(!N||!z(w))return!1;let F=G(l,i.pageX,i.pageY,w,100,50),{blockElem:D,isFoundNodeEmptyParagraph:S}=Y({anchorElem:e,editor:t,fuzzy:!0,horizontalOffset:-F,point:new I(i.x,i.y),useEdgeAsDefault:!0});if(!D)return!1;let v=Fe(D);if(!v)return!1;if(v===N)return!0;let{height:V,top:se}=W(D),ae=C>=se+V/2+window.scrollY;S?(v.insertBefore(N),v.remove()):ae?v.insertAfter(N):v.insertBefore(N),u!==null&&g(null),document.querySelectorAll(".lexical-block-highlighter").forEach(M=>{M.remove()});let O=t.getElementByKey(N.getKey());setTimeout(()=>{let M=O.getBoundingClientRect(),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=`${M.height+8}px`,k.style.width=`${M.width+8}px`,k.style.top=`${M.top+window.scrollY-4}px`,k.style.left=`${M.left-4}px`,setTimeout(()=>{k.style.opacity="0",setTimeout(()=>{k.remove()},500)},1e3)},120)}),!0}return document.addEventListener("dragover",c),document.addEventListener("drop",f),()=>{document.removeEventListener("dragover",c),document.removeEventListener("drop",f)}},[l,n,e,t,E,u,s?.admin?.hideGutter]);function y(c){let f=c.dataTransfer;if(!f||!u)return;Rt(f,u);let i="";t.update(()=>{let x=Fe(u);x&&(i=x.getKey())}),a.current=!0,f.setData(Oe,i)}function h(){a.current=!1,He(m.current,E?.elem)}return wt(Ct($e.Fragment,{children:[ne("div",{className:"icon draggable-block-menu",draggable:!0,onDragEnd:h,onDragStart:y,ref:r,children:ne("div",{className:o?"icon":""})}),ne("div",{className:"draggable-block-target-line",ref:m}),ne("div",{className:"debug-highlight",ref:p})]}),e)}function je({anchorElem:t=document.body}){let[e]=Nt();return Tt(e,t,e._editable)}import{c as St}from"react/compiler-runtime";import{jsx as ze}from"react/jsx-runtime";import{ContentEditable as vt}from"@lexical/react/LexicalContentEditable.js";import{useTranslation as Lt}from"@payloadcms/ui";import"react";function Ke(t){let e=St(3),{className:o}=t,{t:l}=Lt(),r;return e[0]!==l||e[1]!==o?(r=ze(vt,{"aria-placeholder":l("lexical:general:placeholder"),className:o??"ContentEditable__root",placeholder:ze("p",{className:"editor-placeholder",children:l("lexical:general:placeholder")})}),e[0]=l,e[1]=o,e[2]=r):r=e[2],r}var Ue=t=>{let e=Bt(22),{editorConfig:o,editorContainerRef:l,onChange:r}=t,m=T(),[p]=Mt(),[a,u]=Ye(null),g;e[0]===Symbol.for("react.memo_cache_sentinel")?(g=i=>{i!==null&&u(i)},e[0]=g):g=e[0];let E=g,d,s;e[1]!==m||e[2]!==p?(d=()=>{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)},x=()=>{m.blurEditor(m)},b=p.registerCommand(Ht,()=>(i(),!0),Ge),C=p.registerCommand(_t,()=>(x(),!0),Ge);return()=>{b(),C(),m.parentEditor?.unregisterChild?.(m.uuid)}},s=[p,m],e[1]=m,e[2]=p,e[3]=d,e[4]=s):(d=e[3],s=e[4]),We(d,s);let[n,y]=Ye(!1),h,c;e[5]!==n?(h=()=>{let i=()=>{let x=window.matchMedia("(max-width: 768px)").matches;x!==n&&y(x)};return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}},c=[n],e[5]=n,e[6]=h,e[7]=c):(h=e[6],c=e[7]),We(h,c);let f;if(e[8]!==o.features||e[9]!==r||e[10]!==a||e[11]!==n||e[12]!==p||e[13]!==l){let i;e[15]!==r?(i=(b,C,w)=>{(!w.has("focus")||w.size>1)&&r?.(b,C,w)},e[15]=r,e[16]=i):i=e[16];let x;e[17]!==a||e[18]!==n||e[19]!==p||e[20]!==o?(x=a&&J(U.Fragment,{children:[!n&&p.isEditable()&&J(U.Fragment,{children:[P(je,{anchorElem:a}),P(Be,{anchorElem:a})]}),o.features.plugins.map(b=>{if(b.position==="floatingAnchorElem"&&!(b.desktopOnly===!0&&n))return P(_,{anchorElem:a,clientProps:b.clientProps,plugin:b},b.key)}),p.isEditable()&&P(U.Fragment,{children:P(Re,{anchorElem:a})})]}),e[17]=a,e[18]=n,e[19]=p,e[20]=o,e[21]=x):x=e[21],f=J(U.Fragment,{children:[o.features.plugins.map($t),J("div",{className:"editor-container",ref:l,children:[o.features.plugins.map(jt),P(Dt,{ErrorBoundary:It,contentEditable:P("div",{className:"editor-scroller",children:P("div",{className:"editor",ref:E,children:P(Ke,{})})})}),P(Ft,{ignoreSelectionChange:!0,onChange:i}),x,p.isEditable()&&J(U.Fragment,{children:[P(At,{}),o?.features?.markdownTransformers?.length>0&&P(Ee,{})]}),P(Ot,{}),o.features.plugins.map(zt),o.features.plugins.map(Kt)]}),o.features.plugins.map(Gt)]}),e[8]=o.features,e[9]=r,e[10]=a,e[11]=n,e[12]=p,e[13]=l,e[14]=f}else f=e[14];return f};function $t(t){if(t.position==="aboveContainer")return P(_,{clientProps:t.clientProps,plugin:t},t.key)}function jt(t){if(t.position==="top")return P(_,{clientProps:t.clientProps,plugin:t},t.key)}function zt(t){if(t.position==="normal")return P(_,{clientProps:t.clientProps,plugin:t},t.key)}function Kt(t){if(t.position==="bottom")return P(_,{clientProps:t.clientProps,plugin:t},t.key)}function Gt(t){if(t.position==="belowContainer")return P(_,{clientProps:t.clientProps,plugin:t},t.key)}var Je=({children:t,providers:e})=>{if(!e?.length)return t;let o=e[0];return e.length>1?A(o,{children:A(Je,{providers:e.slice(1),children:t})}):A(o,{children:t})},Qe=t=>{let{editorConfig:e,field:o,onChange:l,path:r,readOnly:m,value:p}=t,a=T(),u=qe.useRef(null),g=Ve(()=>{let d=p;return e?.features?.hooks?.load?.length&&e.features.hooks.load.forEach(s=>{d=s({incomingEditorState:d})}),d},[e,p]),E=Ve(()=>{if(g&&typeof g!="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(g));if(g&&Array.isArray(g)&&!("root"in g))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(g&&"jsonContent"in g)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:g!=null?JSON.stringify(g):void 0,namespace:e.lexical.namespace,nodes:[...ue({editorConfig:e})],onError:d=>{throw d},theme:e.lexical.theme}},[e,g,m]);return E?A(Wt,{initialConfig:E,children:A(fe,{editorConfig:e,editorContainerRef:u,field:o,parentContext:a,children:A(Je,{providers:e.features.providers,children:A(Ue,{editorConfig:e,editorContainerRef:u,onChange:l})})})},r):A("p",{children:"Loading..."})};import"./bundled.css";var ie="rich-text-lexical",eo=t=>{let{descriptionProps:e,editorConfig:o,errorProps:l,field:{name:r,_path:m,admin:{className:p,components:{Description:a,Error:u,Label:g},readOnly:E,style:d,width:s}={},label:n,required:y},field:h,labelProps:c,readOnly:f,validate:i}=t,x=f||E,b=Xt((Q,O)=>{if(typeof i=="function")return i(Q,{...O,props:t,required:y})},[i,y]),{path:C,readOnly:w}=Jt(),R=qt({path:C??m??r,validate:b}),{formInitializing:N,formProcessing:F,initialValue:D,path:S,setValue:v,showError:V,value:se}=R,le=x||w||F||N,ae=[ie,"field-type",p,V&&"error",le&&`${ie}--read-only`,o?.admin?.hideGutter!==!0?`${ie}--show-gutter`:null].filter(Boolean).join(" ");return me("div",{className:ae,style:{...d,width:s},children:[j(Ut,{CustomError:u,field:h,path:S,...l||{},alignCaret:"left"}),j(Vt,{Label:g,field:h,label:n,required:y,...c||{}}),me("div",{className:`${ie}__wrap`,children:[j(Zt,{fallbackRender:to,onReset:()=>{},children:j(Qe,{editorConfig:o,field:h,onChange:Q=>{let O=Q.toJSON();o?.features?.hooks?.save?.length&&o.features.hooks.save.forEach(M=>{O=M({incomingEditorState:O})}),v(O)},path:S,readOnly:le,value:se},JSON.stringify({initialValue:D,path:S}))}),j(Yt,{Description:a,field:h,...e||{}})]})]},S)};function to({error:t}){return me("div",{className:"errorBoundary",role:"alert",children:[j("p",{children:"Something went wrong:"}),j("pre",{style:{color:"red"},children:t.message})]})}var ar=Qt(eo);export{ar as RichText};
2
+ //# sourceMappingURL=Field-SUWHJ4HF.js.map