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

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 (2309) 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-63NGLPJB.js +2 -0
  11. package/dist/exports/client/Field-63NGLPJB.js.map +7 -0
  12. package/dist/exports/client/RelationshipComponent-3QWBV4GT.js +2 -0
  13. package/dist/exports/client/RelationshipComponent-3QWBV4GT.js.map +7 -0
  14. package/dist/exports/client/bundled.css +1 -0
  15. package/dist/exports/client/chunk-G5DTIOPI.js +2 -0
  16. package/dist/exports/client/chunk-G5DTIOPI.js.map +7 -0
  17. package/dist/exports/client/chunk-LGUXX2QH.js +2 -0
  18. package/dist/exports/client/chunk-LGUXX2QH.js.map +7 -0
  19. package/dist/exports/client/chunk-NI6Z4GBD.js +2 -0
  20. package/dist/exports/client/chunk-NI6Z4GBD.js.map +7 -0
  21. package/dist/exports/client/chunk-OKMIHD2R.js +2 -0
  22. package/dist/exports/client/chunk-OKMIHD2R.js.map +7 -0
  23. package/dist/exports/client/chunk-TO2W7Q2G.js +2 -0
  24. package/dist/exports/client/chunk-TO2W7Q2G.js.map +7 -0
  25. package/dist/exports/client/chunk-V2LKLT2F.js +3 -0
  26. package/dist/exports/client/chunk-V2LKLT2F.js.map +7 -0
  27. package/dist/exports/client/component-3OFD6Q4Z.js +2 -0
  28. package/dist/exports/client/component-3OFD6Q4Z.js.map +7 -0
  29. package/dist/exports/client/component-LCAAX56T.js +2 -0
  30. package/dist/exports/client/component-LCAAX56T.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-72VZAAHP.js +2 -0
  34. package/dist/exports/client/componentInline-72VZAAHP.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 +587 -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 +759 -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 +321 -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 +250 -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 +277 -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 +163 -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 +35 -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 +407 -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 +232 -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 +40 -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 +422 -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 +192 -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 +373 -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 +129 -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 +30 -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/Checklist/index.d.ts.map +1 -0
  954. package/dist/lexical/ui/icons/Checklist/index.js +27 -0
  955. package/dist/lexical/ui/icons/Checklist/index.js.map +1 -0
  956. package/dist/lexical/ui/icons/Code/index.d.ts.map +1 -0
  957. package/dist/lexical/ui/icons/Code/index.js +22 -0
  958. package/dist/lexical/ui/icons/Code/index.js.map +1 -0
  959. package/dist/lexical/ui/icons/CodeBlock/index.d.ts.map +1 -0
  960. package/dist/lexical/ui/icons/CodeBlock/index.js +22 -0
  961. package/dist/lexical/ui/icons/CodeBlock/index.js.map +1 -0
  962. package/dist/lexical/ui/icons/DraggableBlock/light.svg +9 -0
  963. package/dist/lexical/ui/icons/H1/index.d.ts.map +1 -0
  964. package/dist/lexical/ui/icons/H1/index.js +19 -0
  965. package/dist/lexical/ui/icons/H1/index.js.map +1 -0
  966. package/dist/lexical/ui/icons/H2/index.d.ts.map +1 -0
  967. package/dist/lexical/ui/icons/H2/index.js +19 -0
  968. package/dist/lexical/ui/icons/H2/index.js.map +1 -0
  969. package/dist/lexical/ui/icons/H3/index.d.ts.map +1 -0
  970. package/dist/lexical/ui/icons/H3/index.js +19 -0
  971. package/dist/lexical/ui/icons/H3/index.js.map +1 -0
  972. package/dist/lexical/ui/icons/H4/index.d.ts.map +1 -0
  973. package/dist/lexical/ui/icons/H4/index.js +19 -0
  974. package/dist/lexical/ui/icons/H4/index.js.map +1 -0
  975. package/dist/lexical/ui/icons/H5/index.d.ts.map +1 -0
  976. package/dist/lexical/ui/icons/H5/index.js +19 -0
  977. package/dist/lexical/ui/icons/H5/index.js.map +1 -0
  978. package/dist/lexical/ui/icons/H6/index.d.ts.map +1 -0
  979. package/dist/lexical/ui/icons/H6/index.js +19 -0
  980. package/dist/lexical/ui/icons/H6/index.js.map +1 -0
  981. package/dist/lexical/ui/icons/HorizontalRule/index.d.ts.map +1 -0
  982. package/dist/lexical/ui/icons/HorizontalRule/index.js +22 -0
  983. package/dist/lexical/ui/icons/HorizontalRule/index.js.map +1 -0
  984. package/dist/lexical/ui/icons/IndentDecrease/index.d.ts.map +1 -0
  985. package/dist/lexical/ui/icons/IndentDecrease/index.js +31 -0
  986. package/dist/lexical/ui/icons/IndentDecrease/index.js.map +1 -0
  987. package/dist/lexical/ui/icons/IndentIncrease/index.d.ts.map +1 -0
  988. package/dist/lexical/ui/icons/IndentIncrease/index.js +31 -0
  989. package/dist/lexical/ui/icons/IndentIncrease/index.js.map +1 -0
  990. package/dist/lexical/ui/icons/InlineBlocks/index.d.ts +3 -0
  991. package/dist/lexical/ui/icons/InlineBlocks/index.d.ts.map +1 -0
  992. package/dist/lexical/ui/icons/InlineBlocks/index.js +21 -0
  993. package/dist/lexical/ui/icons/InlineBlocks/index.js.map +1 -0
  994. package/dist/lexical/ui/icons/Italic/index.d.ts.map +1 -0
  995. package/dist/lexical/ui/icons/Italic/index.js +19 -0
  996. package/dist/lexical/ui/icons/Italic/index.js.map +1 -0
  997. package/dist/lexical/ui/icons/Link/index.d.ts.map +1 -0
  998. package/dist/lexical/ui/icons/Link/index.js +20 -0
  999. package/dist/lexical/ui/icons/Link/index.js.map +1 -0
  1000. package/dist/lexical/ui/icons/Meatballs/index.d.ts +3 -0
  1001. package/dist/lexical/ui/icons/Meatballs/index.d.ts.map +1 -0
  1002. package/dist/lexical/ui/icons/Meatballs/index.js +22 -0
  1003. package/dist/lexical/ui/icons/Meatballs/index.js.map +1 -0
  1004. package/dist/lexical/ui/icons/OrderedList/index.d.ts.map +1 -0
  1005. package/dist/lexical/ui/icons/OrderedList/index.js +34 -0
  1006. package/dist/lexical/ui/icons/OrderedList/index.js.map +1 -0
  1007. package/dist/lexical/ui/icons/Relationship/index.d.ts.map +1 -0
  1008. package/dist/lexical/ui/icons/Relationship/index.js +34 -0
  1009. package/dist/lexical/ui/icons/Relationship/index.js.map +1 -0
  1010. package/dist/lexical/ui/icons/Strikethrough/index.d.ts.map +1 -0
  1011. package/dist/lexical/ui/icons/Strikethrough/index.js +22 -0
  1012. package/dist/lexical/ui/icons/Strikethrough/index.js.map +1 -0
  1013. package/dist/lexical/ui/icons/Subscript/index.d.ts.map +1 -0
  1014. package/dist/lexical/ui/icons/Subscript/index.js +19 -0
  1015. package/dist/lexical/ui/icons/Subscript/index.js.map +1 -0
  1016. package/dist/lexical/ui/icons/Superscript/index.d.ts.map +1 -0
  1017. package/dist/lexical/ui/icons/Superscript/index.js +19 -0
  1018. package/dist/lexical/ui/icons/Superscript/index.js.map +1 -0
  1019. package/dist/lexical/ui/icons/Table/index.d.ts +3 -0
  1020. package/dist/lexical/ui/icons/Table/index.d.ts.map +1 -0
  1021. package/dist/lexical/ui/icons/Table/index.js +21 -0
  1022. package/dist/lexical/ui/icons/Table/index.js.map +1 -0
  1023. package/dist/lexical/ui/icons/Text/index.d.ts.map +1 -0
  1024. package/dist/lexical/ui/icons/Text/index.js +19 -0
  1025. package/dist/lexical/ui/icons/Text/index.js.map +1 -0
  1026. package/dist/lexical/ui/icons/Underline/index.d.ts.map +1 -0
  1027. package/dist/lexical/ui/icons/Underline/index.js +22 -0
  1028. package/dist/lexical/ui/icons/Underline/index.js.map +1 -0
  1029. package/dist/lexical/ui/icons/UnorderedList/index.d.ts.map +1 -0
  1030. package/dist/lexical/ui/icons/UnorderedList/index.js +49 -0
  1031. package/dist/lexical/ui/icons/UnorderedList/index.js.map +1 -0
  1032. package/dist/lexical/ui/icons/Upload/index.d.ts.map +1 -0
  1033. package/dist/lexical/ui/icons/Upload/index.js +31 -0
  1034. package/dist/lexical/ui/icons/Upload/index.js.map +1 -0
  1035. package/dist/lexical/utils/canUseDOM.d.ts.map +1 -0
  1036. package/dist/lexical/utils/canUseDOM.js +4 -0
  1037. package/dist/lexical/utils/canUseDOM.js.map +1 -0
  1038. package/dist/lexical/utils/environment.d.ts.map +1 -0
  1039. package/dist/lexical/utils/environment.js +15 -0
  1040. package/dist/lexical/utils/environment.js.map +1 -0
  1041. package/dist/lexical/utils/getDOMRangeRect.d.ts.map +1 -0
  1042. package/dist/lexical/utils/getDOMRangeRect.js +17 -0
  1043. package/dist/lexical/utils/getDOMRangeRect.js.map +1 -0
  1044. package/dist/lexical/utils/getSelectedNode.d.ts.map +1 -0
  1045. package/dist/lexical/utils/getSelectedNode.js +22 -0
  1046. package/dist/lexical/utils/getSelectedNode.js.map +1 -0
  1047. package/dist/lexical/utils/guard.d.ts.map +1 -0
  1048. package/dist/lexical/utils/guard.js +6 -0
  1049. package/dist/lexical/utils/guard.js.map +1 -0
  1050. package/dist/lexical/utils/joinClasses.d.ts.map +1 -0
  1051. package/dist/lexical/utils/joinClasses.js +6 -0
  1052. package/dist/lexical/utils/joinClasses.js.map +1 -0
  1053. package/dist/lexical/utils/markdown/createBlockNode.d.ts +4 -0
  1054. package/dist/lexical/utils/markdown/createBlockNode.d.ts.map +1 -0
  1055. package/dist/lexical/utils/markdown/createBlockNode.js +11 -0
  1056. package/dist/lexical/utils/markdown/createBlockNode.js.map +1 -0
  1057. package/dist/lexical/utils/nodeFormat.d.ts +41 -0
  1058. package/dist/lexical/utils/nodeFormat.d.ts.map +1 -0
  1059. package/dist/lexical/utils/nodeFormat.js +87 -0
  1060. package/dist/lexical/utils/nodeFormat.js.map +1 -0
  1061. package/dist/lexical/utils/point.d.ts.map +1 -0
  1062. package/dist/lexical/utils/point.js +45 -0
  1063. package/dist/lexical/utils/point.js.map +1 -0
  1064. package/dist/lexical/utils/rect.d.ts.map +1 -0
  1065. package/dist/lexical/utils/rect.js +171 -0
  1066. package/dist/lexical/utils/rect.js.map +1 -0
  1067. package/dist/lexical/utils/setFloatingElemPosition.d.ts +12 -0
  1068. package/dist/lexical/utils/setFloatingElemPosition.d.ts.map +1 -0
  1069. package/dist/lexical/utils/setFloatingElemPosition.js +67 -0
  1070. package/dist/lexical/utils/setFloatingElemPosition.js.map +1 -0
  1071. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +1 -0
  1072. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.js +28 -0
  1073. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +1 -0
  1074. package/dist/lexical/utils/swipe.d.ts.map +1 -0
  1075. package/dist/lexical/utils/swipe.js +99 -0
  1076. package/dist/lexical/utils/swipe.js.map +1 -0
  1077. package/dist/lexical/utils/url.d.ts.map +1 -0
  1078. package/dist/lexical/utils/url.js +37 -0
  1079. package/dist/lexical/utils/url.js.map +1 -0
  1080. package/dist/nodeTypes.d.ts +32 -0
  1081. package/dist/nodeTypes.d.ts.map +1 -0
  1082. package/dist/nodeTypes.js +2 -0
  1083. package/dist/nodeTypes.js.map +1 -0
  1084. package/dist/populateGraphQL/defaultValue.d.ts +3 -0
  1085. package/dist/populateGraphQL/defaultValue.d.ts.map +1 -0
  1086. package/dist/populateGraphQL/defaultValue.js +28 -0
  1087. package/dist/populateGraphQL/defaultValue.js.map +1 -0
  1088. package/dist/populateGraphQL/populate.d.ts +17 -0
  1089. package/dist/populateGraphQL/populate.d.ts.map +1 -0
  1090. package/dist/populateGraphQL/populate.js +38 -0
  1091. package/dist/populateGraphQL/populate.js.map +1 -0
  1092. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts +12 -0
  1093. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts.map +1 -0
  1094. package/dist/populateGraphQL/populateLexicalPopulationPromises.js +52 -0
  1095. package/dist/populateGraphQL/populateLexicalPopulationPromises.js.map +1 -0
  1096. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts +28 -0
  1097. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts.map +1 -0
  1098. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js +42 -0
  1099. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js.map +1 -0
  1100. package/dist/types.d.ts +54 -19
  1101. package/dist/types.d.ts.map +1 -1
  1102. package/dist/types.js +1 -2
  1103. package/dist/types.js.map +1 -1
  1104. package/dist/utilities/createClientFeature.d.ts +13 -0
  1105. package/dist/utilities/createClientFeature.d.ts.map +1 -0
  1106. package/dist/utilities/createClientFeature.js +44 -0
  1107. package/dist/utilities/createClientFeature.js.map +1 -0
  1108. package/dist/utilities/createServerFeature.d.ts +16 -0
  1109. package/dist/utilities/createServerFeature.d.ts.map +1 -0
  1110. package/dist/utilities/createServerFeature.js +49 -0
  1111. package/dist/utilities/createServerFeature.js.map +1 -0
  1112. package/dist/utilities/fieldsDrawer/Drawer.d.ts +20 -0
  1113. package/dist/utilities/fieldsDrawer/Drawer.d.ts.map +1 -0
  1114. package/dist/utilities/fieldsDrawer/Drawer.js +39 -0
  1115. package/dist/utilities/fieldsDrawer/Drawer.js.map +1 -0
  1116. package/dist/utilities/fieldsDrawer/DrawerContent.d.ts +4 -0
  1117. package/dist/utilities/fieldsDrawer/DrawerContent.d.ts.map +1 -0
  1118. package/dist/utilities/fieldsDrawer/DrawerContent.js +161 -0
  1119. package/dist/utilities/fieldsDrawer/DrawerContent.js.map +1 -0
  1120. package/dist/utilities/forEachNodeRecursively.d.ts +10 -0
  1121. package/dist/utilities/forEachNodeRecursively.d.ts.map +1 -0
  1122. package/dist/utilities/forEachNodeRecursively.js +29 -0
  1123. package/dist/utilities/forEachNodeRecursively.js.map +1 -0
  1124. package/dist/utilities/generateComponentMap.d.ts +6 -0
  1125. package/dist/utilities/generateComponentMap.d.ts.map +1 -0
  1126. package/dist/utilities/generateComponentMap.js +99 -0
  1127. package/dist/utilities/generateComponentMap.js.map +1 -0
  1128. package/dist/utilities/generateImportMap.d.ts +6 -0
  1129. package/dist/utilities/generateImportMap.d.ts.map +1 -0
  1130. package/dist/utilities/generateImportMap.js +56 -0
  1131. package/dist/utilities/generateImportMap.js.map +1 -0
  1132. package/dist/utilities/generateSchemaMap.d.ts +6 -0
  1133. package/dist/utilities/generateSchemaMap.d.ts.map +1 -0
  1134. package/dist/utilities/generateSchemaMap.js +37 -0
  1135. package/dist/utilities/generateSchemaMap.js.map +1 -0
  1136. package/dist/utilities/migrateSlateToLexical/index.d.ts +15 -0
  1137. package/dist/utilities/migrateSlateToLexical/index.d.ts.map +1 -0
  1138. package/dist/utilities/migrateSlateToLexical/index.js +134 -0
  1139. package/dist/utilities/migrateSlateToLexical/index.js.map +1 -0
  1140. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts +9 -0
  1141. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts.map +1 -0
  1142. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js +80 -0
  1143. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js.map +1 -0
  1144. package/dist/utilities/recurseNodeTree.d.ts +9 -0
  1145. package/dist/utilities/recurseNodeTree.d.ts.map +1 -0
  1146. package/dist/utilities/recurseNodeTree.js +30 -0
  1147. package/dist/utilities/recurseNodeTree.js.map +1 -0
  1148. package/dist/utilities/upgradeLexicalData/index.d.ts +11 -0
  1149. package/dist/utilities/upgradeLexicalData/index.d.ts.map +1 -0
  1150. package/dist/utilities/upgradeLexicalData/index.js +114 -0
  1151. package/dist/utilities/upgradeLexicalData/index.js.map +1 -0
  1152. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.d.ts +9 -0
  1153. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.d.ts.map +1 -0
  1154. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js +79 -0
  1155. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js.map +1 -0
  1156. package/dist/utilities/useLexicalFeature.d.ts +3 -0
  1157. package/dist/utilities/useLexicalFeature.d.ts.map +1 -0
  1158. package/dist/utilities/useLexicalFeature.js +13 -0
  1159. package/dist/utilities/useLexicalFeature.js.map +1 -0
  1160. package/dist/validate/index.d.ts +3 -3
  1161. package/dist/validate/index.d.ts.map +1 -1
  1162. package/dist/validate/index.js +45 -23
  1163. package/dist/validate/index.js.map +1 -1
  1164. package/dist/validate/validateNodes.d.ts +3 -3
  1165. package/dist/validate/validateNodes.d.ts.map +1 -1
  1166. package/dist/validate/validateNodes.js +31 -28
  1167. package/dist/validate/validateNodes.js.map +1 -1
  1168. package/package.json +96 -56
  1169. package/dist/exports/components.d.ts +0 -6
  1170. package/dist/exports/components.d.ts.map +0 -1
  1171. package/dist/exports/components.js +0 -7
  1172. package/dist/exports/components.js.map +0 -1
  1173. package/dist/field/features/align/feature.client.d.ts +0 -3
  1174. package/dist/field/features/align/feature.client.d.ts.map +0 -1
  1175. package/dist/field/features/align/feature.client.js +0 -72
  1176. package/dist/field/features/align/feature.client.js.map +0 -1
  1177. package/dist/field/features/align/feature.server.d.ts +0 -3
  1178. package/dist/field/features/align/feature.server.d.ts.map +0 -1
  1179. package/dist/field/features/align/feature.server.js +0 -16
  1180. package/dist/field/features/align/feature.server.js.map +0 -1
  1181. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.d.ts +0 -3
  1182. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.d.ts.map +0 -1
  1183. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.js +0 -12
  1184. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.js.map +0 -1
  1185. package/dist/field/features/blockquote/feature.client.d.ts +0 -3
  1186. package/dist/field/features/blockquote/feature.client.d.ts.map +0 -1
  1187. package/dist/field/features/blockquote/feature.client.js +0 -70
  1188. package/dist/field/features/blockquote/feature.client.js.map +0 -1
  1189. package/dist/field/features/blockquote/feature.server.d.ts +0 -3
  1190. package/dist/field/features/blockquote/feature.server.d.ts.map +0 -1
  1191. package/dist/field/features/blockquote/feature.server.js +0 -47
  1192. package/dist/field/features/blockquote/feature.server.js.map +0 -1
  1193. package/dist/field/features/blockquote/markdownTransformer.d.ts.map +0 -1
  1194. package/dist/field/features/blockquote/markdownTransformer.js +0 -42
  1195. package/dist/field/features/blockquote/markdownTransformer.js.map +0 -1
  1196. package/dist/field/features/blocks/component/BlockContent.d.ts +0 -27
  1197. package/dist/field/features/blocks/component/BlockContent.d.ts.map +0 -1
  1198. package/dist/field/features/blocks/component/BlockContent.js +0 -183
  1199. package/dist/field/features/blocks/component/BlockContent.js.map +0 -1
  1200. package/dist/field/features/blocks/component/FormSavePlugin.d.ts +0 -12
  1201. package/dist/field/features/blocks/component/FormSavePlugin.d.ts.map +0 -1
  1202. package/dist/field/features/blocks/component/FormSavePlugin.js +0 -29
  1203. package/dist/field/features/blocks/component/FormSavePlugin.js.map +0 -1
  1204. package/dist/field/features/blocks/component/index.d.ts +0 -16
  1205. package/dist/field/features/blocks/component/index.d.ts.map +0 -1
  1206. package/dist/field/features/blocks/component/index.js +0 -128
  1207. package/dist/field/features/blocks/component/index.js.map +0 -1
  1208. package/dist/field/features/blocks/component/index.scss +0 -153
  1209. package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts +0 -11
  1210. package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts.map +0 -1
  1211. package/dist/field/features/blocks/component/removeEmptyArrayValues.js +0 -16
  1212. package/dist/field/features/blocks/component/removeEmptyArrayValues.js.map +0 -1
  1213. package/dist/field/features/blocks/drawer/index.d.ts +0 -9
  1214. package/dist/field/features/blocks/drawer/index.d.ts.map +0 -1
  1215. package/dist/field/features/blocks/drawer/index.js +0 -84
  1216. package/dist/field/features/blocks/drawer/index.js.map +0 -1
  1217. package/dist/field/features/blocks/feature.client.d.ts +0 -7
  1218. package/dist/field/features/blocks/feature.client.d.ts.map +0 -1
  1219. package/dist/field/features/blocks/feature.client.js +0 -61
  1220. package/dist/field/features/blocks/feature.client.js.map +0 -1
  1221. package/dist/field/features/blocks/feature.server.d.ts +0 -11
  1222. package/dist/field/features/blocks/feature.server.d.ts.map +0 -1
  1223. package/dist/field/features/blocks/feature.server.js +0 -127
  1224. package/dist/field/features/blocks/feature.server.js.map +0 -1
  1225. package/dist/field/features/blocks/nodes/BlocksNode.d.ts +0 -38
  1226. package/dist/field/features/blocks/nodes/BlocksNode.d.ts.map +0 -1
  1227. package/dist/field/features/blocks/nodes/BlocksNode.js +0 -92
  1228. package/dist/field/features/blocks/nodes/BlocksNode.js.map +0 -1
  1229. package/dist/field/features/blocks/plugin/commands.d.ts +0 -4
  1230. package/dist/field/features/blocks/plugin/commands.d.ts.map +0 -1
  1231. package/dist/field/features/blocks/plugin/commands.js +0 -5
  1232. package/dist/field/features/blocks/plugin/commands.js.map +0 -1
  1233. package/dist/field/features/blocks/plugin/index.d.ts +0 -5
  1234. package/dist/field/features/blocks/plugin/index.d.ts.map +0 -1
  1235. package/dist/field/features/blocks/plugin/index.js +0 -43
  1236. package/dist/field/features/blocks/plugin/index.js.map +0 -1
  1237. package/dist/field/features/blocks/populationPromise.d.ts +0 -5
  1238. package/dist/field/features/blocks/populationPromise.d.ts.map +0 -1
  1239. package/dist/field/features/blocks/populationPromise.js +0 -46
  1240. package/dist/field/features/blocks/populationPromise.js.map +0 -1
  1241. package/dist/field/features/blocks/validate.d.ts +0 -5
  1242. package/dist/field/features/blocks/validate.d.ts.map +0 -1
  1243. package/dist/field/features/blocks/validate.js +0 -50
  1244. package/dist/field/features/blocks/validate.js.map +0 -1
  1245. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.d.ts +0 -3
  1246. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.d.ts.map +0 -1
  1247. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.js +0 -10
  1248. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.js.map +0 -1
  1249. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.d.ts +0 -3
  1250. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.d.ts.map +0 -1
  1251. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.js +0 -12
  1252. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.js.map +0 -1
  1253. package/dist/field/features/converters/html/converter/converters/linebreak.d.ts.map +0 -1
  1254. package/dist/field/features/converters/html/converter/converters/linebreak.js +0 -10
  1255. package/dist/field/features/converters/html/converter/converters/linebreak.js.map +0 -1
  1256. package/dist/field/features/converters/html/converter/converters/paragraph.d.ts.map +0 -1
  1257. package/dist/field/features/converters/html/converter/converters/paragraph.js +0 -20
  1258. package/dist/field/features/converters/html/converter/converters/paragraph.js.map +0 -1
  1259. package/dist/field/features/converters/html/converter/converters/text.d.ts.map +0 -1
  1260. package/dist/field/features/converters/html/converter/converters/text.js +0 -33
  1261. package/dist/field/features/converters/html/converter/converters/text.js.map +0 -1
  1262. package/dist/field/features/converters/html/converter/defaultConverters.d.ts.map +0 -1
  1263. package/dist/field/features/converters/html/converter/defaultConverters.js +0 -10
  1264. package/dist/field/features/converters/html/converter/defaultConverters.js.map +0 -1
  1265. package/dist/field/features/converters/html/converter/index.d.ts +0 -21
  1266. package/dist/field/features/converters/html/converter/index.d.ts.map +0 -1
  1267. package/dist/field/features/converters/html/converter/index.js +0 -44
  1268. package/dist/field/features/converters/html/converter/index.js.map +0 -1
  1269. package/dist/field/features/converters/html/converter/types.d.ts +0 -19
  1270. package/dist/field/features/converters/html/converter/types.d.ts.map +0 -1
  1271. package/dist/field/features/converters/html/converter/types.js +0 -3
  1272. package/dist/field/features/converters/html/converter/types.js.map +0 -1
  1273. package/dist/field/features/converters/html/feature.server.d.ts +0 -9
  1274. package/dist/field/features/converters/html/feature.server.d.ts.map +0 -1
  1275. package/dist/field/features/converters/html/feature.server.js +0 -14
  1276. package/dist/field/features/converters/html/feature.server.js.map +0 -1
  1277. package/dist/field/features/converters/html/field/index.d.ts +0 -23
  1278. package/dist/field/features/converters/html/field/index.d.ts.map +0 -1
  1279. package/dist/field/features/converters/html/field/index.js +0 -114
  1280. package/dist/field/features/converters/html/field/index.js.map +0 -1
  1281. package/dist/field/features/createClientComponent.d.ts +0 -6
  1282. package/dist/field/features/createClientComponent.d.ts.map +0 -1
  1283. package/dist/field/features/createClientComponent.js +0 -12
  1284. package/dist/field/features/createClientComponent.js.map +0 -1
  1285. package/dist/field/features/createFeaturePropComponent.d.ts.map +0 -1
  1286. package/dist/field/features/createFeaturePropComponent.js +0 -15
  1287. package/dist/field/features/createFeaturePropComponent.js.map +0 -1
  1288. package/dist/field/features/debug/testrecorder/feature.client.d.ts +0 -3
  1289. package/dist/field/features/debug/testrecorder/feature.client.d.ts.map +0 -1
  1290. package/dist/field/features/debug/testrecorder/feature.client.js +0 -20
  1291. package/dist/field/features/debug/testrecorder/feature.client.js.map +0 -1
  1292. package/dist/field/features/debug/testrecorder/feature.server.d.ts +0 -3
  1293. package/dist/field/features/debug/testrecorder/feature.server.d.ts.map +0 -1
  1294. package/dist/field/features/debug/testrecorder/feature.server.js +0 -15
  1295. package/dist/field/features/debug/testrecorder/feature.server.js.map +0 -1
  1296. package/dist/field/features/debug/testrecorder/plugin/index.d.ts +0 -5
  1297. package/dist/field/features/debug/testrecorder/plugin/index.d.ts.map +0 -1
  1298. package/dist/field/features/debug/testrecorder/plugin/index.js +0 -448
  1299. package/dist/field/features/debug/testrecorder/plugin/index.js.map +0 -1
  1300. package/dist/field/features/debug/testrecorder/plugin/index.scss +0 -49
  1301. package/dist/field/features/debug/treeview/feature.client.d.ts +0 -3
  1302. package/dist/field/features/debug/treeview/feature.client.d.ts.map +0 -1
  1303. package/dist/field/features/debug/treeview/feature.client.js +0 -20
  1304. package/dist/field/features/debug/treeview/feature.client.js.map +0 -1
  1305. package/dist/field/features/debug/treeview/feature.server.d.ts +0 -3
  1306. package/dist/field/features/debug/treeview/feature.server.d.ts.map +0 -1
  1307. package/dist/field/features/debug/treeview/feature.server.js +0 -15
  1308. package/dist/field/features/debug/treeview/feature.server.js.map +0 -1
  1309. package/dist/field/features/debug/treeview/plugin/index.d.ts +0 -4
  1310. package/dist/field/features/debug/treeview/plugin/index.d.ts.map +0 -1
  1311. package/dist/field/features/debug/treeview/plugin/index.js +0 -21
  1312. package/dist/field/features/debug/treeview/plugin/index.js.map +0 -1
  1313. package/dist/field/features/debug/treeview/plugin/index.scss +0 -78
  1314. package/dist/field/features/format/bold/feature.client.d.ts +0 -3
  1315. package/dist/field/features/format/bold/feature.client.d.ts.map +0 -1
  1316. package/dist/field/features/format/bold/feature.client.js +0 -48
  1317. package/dist/field/features/format/bold/feature.client.js.map +0 -1
  1318. package/dist/field/features/format/bold/feature.server.d.ts +0 -3
  1319. package/dist/field/features/format/bold/feature.server.d.ts.map +0 -1
  1320. package/dist/field/features/format/bold/feature.server.js +0 -27
  1321. package/dist/field/features/format/bold/feature.server.js.map +0 -1
  1322. package/dist/field/features/format/bold/markdownTransformers.d.ts.map +0 -1
  1323. package/dist/field/features/format/bold/markdownTransformers.js +0 -34
  1324. package/dist/field/features/format/bold/markdownTransformers.js.map +0 -1
  1325. package/dist/field/features/format/common/floatingSelectToolbarSection.d.ts +0 -3
  1326. package/dist/field/features/format/common/floatingSelectToolbarSection.d.ts.map +0 -1
  1327. package/dist/field/features/format/common/floatingSelectToolbarSection.js +0 -10
  1328. package/dist/field/features/format/common/floatingSelectToolbarSection.js.map +0 -1
  1329. package/dist/field/features/format/inlinecode/feature.client.d.ts +0 -3
  1330. package/dist/field/features/format/inlinecode/feature.client.d.ts.map +0 -1
  1331. package/dist/field/features/format/inlinecode/feature.client.js +0 -43
  1332. package/dist/field/features/format/inlinecode/feature.client.js.map +0 -1
  1333. package/dist/field/features/format/inlinecode/feature.server.d.ts +0 -3
  1334. package/dist/field/features/format/inlinecode/feature.server.d.ts.map +0 -1
  1335. package/dist/field/features/format/inlinecode/feature.server.js +0 -19
  1336. package/dist/field/features/format/inlinecode/feature.server.js.map +0 -1
  1337. package/dist/field/features/format/inlinecode/markdownTransformers.d.ts.map +0 -1
  1338. package/dist/field/features/format/inlinecode/markdownTransformers.js +0 -9
  1339. package/dist/field/features/format/inlinecode/markdownTransformers.js.map +0 -1
  1340. package/dist/field/features/format/italic/feature.client.d.ts +0 -3
  1341. package/dist/field/features/format/italic/feature.client.d.ts.map +0 -1
  1342. package/dist/field/features/format/italic/feature.client.js +0 -44
  1343. package/dist/field/features/format/italic/feature.client.js.map +0 -1
  1344. package/dist/field/features/format/italic/feature.server.d.ts +0 -3
  1345. package/dist/field/features/format/italic/feature.server.d.ts.map +0 -1
  1346. package/dist/field/features/format/italic/feature.server.js +0 -20
  1347. package/dist/field/features/format/italic/feature.server.js.map +0 -1
  1348. package/dist/field/features/format/italic/markdownTransformers.d.ts.map +0 -1
  1349. package/dist/field/features/format/italic/markdownTransformers.js +0 -17
  1350. package/dist/field/features/format/italic/markdownTransformers.js.map +0 -1
  1351. package/dist/field/features/format/strikethrough/feature.client.d.ts +0 -3
  1352. package/dist/field/features/format/strikethrough/feature.client.d.ts.map +0 -1
  1353. package/dist/field/features/format/strikethrough/feature.client.js +0 -43
  1354. package/dist/field/features/format/strikethrough/feature.client.js.map +0 -1
  1355. package/dist/field/features/format/strikethrough/feature.server.d.ts +0 -3
  1356. package/dist/field/features/format/strikethrough/feature.server.d.ts.map +0 -1
  1357. package/dist/field/features/format/strikethrough/feature.server.js +0 -19
  1358. package/dist/field/features/format/strikethrough/feature.server.js.map +0 -1
  1359. package/dist/field/features/format/strikethrough/markdownTransformers.d.ts.map +0 -1
  1360. package/dist/field/features/format/strikethrough/markdownTransformers.js +0 -9
  1361. package/dist/field/features/format/strikethrough/markdownTransformers.js.map +0 -1
  1362. package/dist/field/features/format/subscript/feature.client.d.ts +0 -3
  1363. package/dist/field/features/format/subscript/feature.client.d.ts.map +0 -1
  1364. package/dist/field/features/format/subscript/feature.client.js +0 -39
  1365. package/dist/field/features/format/subscript/feature.client.js.map +0 -1
  1366. package/dist/field/features/format/subscript/feature.server.d.ts +0 -3
  1367. package/dist/field/features/format/subscript/feature.server.d.ts.map +0 -1
  1368. package/dist/field/features/format/subscript/feature.server.js +0 -15
  1369. package/dist/field/features/format/subscript/feature.server.js.map +0 -1
  1370. package/dist/field/features/format/superscript/feature.client.d.ts +0 -3
  1371. package/dist/field/features/format/superscript/feature.client.d.ts.map +0 -1
  1372. package/dist/field/features/format/superscript/feature.client.js +0 -39
  1373. package/dist/field/features/format/superscript/feature.client.js.map +0 -1
  1374. package/dist/field/features/format/superscript/feature.server.d.ts +0 -3
  1375. package/dist/field/features/format/superscript/feature.server.d.ts.map +0 -1
  1376. package/dist/field/features/format/superscript/feature.server.js +0 -15
  1377. package/dist/field/features/format/superscript/feature.server.js.map +0 -1
  1378. package/dist/field/features/format/underline/feature.client.d.ts +0 -3
  1379. package/dist/field/features/format/underline/feature.client.d.ts.map +0 -1
  1380. package/dist/field/features/format/underline/feature.client.js +0 -39
  1381. package/dist/field/features/format/underline/feature.client.js.map +0 -1
  1382. package/dist/field/features/format/underline/feature.server.d.ts +0 -3
  1383. package/dist/field/features/format/underline/feature.server.d.ts.map +0 -1
  1384. package/dist/field/features/format/underline/feature.server.js +0 -15
  1385. package/dist/field/features/format/underline/feature.server.js.map +0 -1
  1386. package/dist/field/features/heading/feature.client.d.ts +0 -4
  1387. package/dist/field/features/heading/feature.client.d.ts.map +0 -1
  1388. package/dist/field/features/heading/feature.client.js +0 -97
  1389. package/dist/field/features/heading/feature.client.js.map +0 -1
  1390. package/dist/field/features/heading/feature.server.d.ts +0 -7
  1391. package/dist/field/features/heading/feature.server.d.ts.map +0 -1
  1392. package/dist/field/features/heading/feature.server.js +0 -58
  1393. package/dist/field/features/heading/feature.server.js.map +0 -1
  1394. package/dist/field/features/heading/markdownTransformer.d.ts.map +0 -1
  1395. package/dist/field/features/heading/markdownTransformer.js +0 -30
  1396. package/dist/field/features/heading/markdownTransformer.js.map +0 -1
  1397. package/dist/field/features/horizontalrule/component/index.d.ts.map +0 -1
  1398. package/dist/field/features/horizontalrule/component/index.js +0 -64
  1399. package/dist/field/features/horizontalrule/component/index.js.map +0 -1
  1400. package/dist/field/features/horizontalrule/feature.client.d.ts +0 -3
  1401. package/dist/field/features/horizontalrule/feature.client.d.ts.map +0 -1
  1402. package/dist/field/features/horizontalrule/feature.client.js +0 -53
  1403. package/dist/field/features/horizontalrule/feature.client.js.map +0 -1
  1404. package/dist/field/features/horizontalrule/feature.server.d.ts +0 -3
  1405. package/dist/field/features/horizontalrule/feature.server.d.ts.map +0 -1
  1406. package/dist/field/features/horizontalrule/feature.server.js +0 -36
  1407. package/dist/field/features/horizontalrule/feature.server.js.map +0 -1
  1408. package/dist/field/features/horizontalrule/markdownTransformer.d.ts.map +0 -1
  1409. package/dist/field/features/horizontalrule/markdownTransformer.js +0 -23
  1410. package/dist/field/features/horizontalrule/markdownTransformer.js.map +0 -1
  1411. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.d.ts +0 -55
  1412. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.d.ts.map +0 -1
  1413. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.js +0 -89
  1414. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.js.map +0 -1
  1415. package/dist/field/features/horizontalrule/plugin/index.d.ts +0 -6
  1416. package/dist/field/features/horizontalrule/plugin/index.d.ts.map +0 -1
  1417. package/dist/field/features/horizontalrule/plugin/index.js +0 -34
  1418. package/dist/field/features/horizontalrule/plugin/index.js.map +0 -1
  1419. package/dist/field/features/horizontalrule/plugin/index.scss +0 -20
  1420. package/dist/field/features/indent/feature.client.d.ts +0 -3
  1421. package/dist/field/features/indent/feature.client.d.ts.map +0 -1
  1422. package/dist/field/features/indent/feature.client.js +0 -58
  1423. package/dist/field/features/indent/feature.client.js.map +0 -1
  1424. package/dist/field/features/indent/feature.server.d.ts +0 -3
  1425. package/dist/field/features/indent/feature.server.d.ts.map +0 -1
  1426. package/dist/field/features/indent/feature.server.js +0 -16
  1427. package/dist/field/features/indent/feature.server.js.map +0 -1
  1428. package/dist/field/features/indent/floatingSelectToolbarIndentSection.d.ts +0 -3
  1429. package/dist/field/features/indent/floatingSelectToolbarIndentSection.d.ts.map +0 -1
  1430. package/dist/field/features/indent/floatingSelectToolbarIndentSection.js +0 -10
  1431. package/dist/field/features/indent/floatingSelectToolbarIndentSection.js.map +0 -1
  1432. package/dist/field/features/indent/index.scss +0 -4
  1433. package/dist/field/features/link/drawer/baseFields.d.ts +0 -4
  1434. package/dist/field/features/link/drawer/baseFields.d.ts.map +0 -1
  1435. package/dist/field/features/link/drawer/baseFields.js +0 -107
  1436. package/dist/field/features/link/drawer/baseFields.js.map +0 -1
  1437. package/dist/field/features/link/drawer/index.d.ts +0 -5
  1438. package/dist/field/features/link/drawer/index.d.ts.map +0 -1
  1439. package/dist/field/features/link/drawer/index.js +0 -93
  1440. package/dist/field/features/link/drawer/index.js.map +0 -1
  1441. package/dist/field/features/link/drawer/index.scss +0 -50
  1442. package/dist/field/features/link/drawer/types.d.ts +0 -8
  1443. package/dist/field/features/link/drawer/types.d.ts.map +0 -1
  1444. package/dist/field/features/link/drawer/types.js +0 -3
  1445. package/dist/field/features/link/drawer/types.js.map +0 -1
  1446. package/dist/field/features/link/feature.client.d.ts +0 -5
  1447. package/dist/field/features/link/feature.client.d.ts.map +0 -1
  1448. package/dist/field/features/link/feature.client.js +0 -90
  1449. package/dist/field/features/link/feature.client.js.map +0 -1
  1450. package/dist/field/features/link/feature.server.d.ts +0 -33
  1451. package/dist/field/features/link/feature.server.d.ts.map +0 -1
  1452. package/dist/field/features/link/feature.server.js +0 -91
  1453. package/dist/field/features/link/feature.server.js.map +0 -1
  1454. package/dist/field/features/link/nodes/AutoLinkNode.d.ts.map +0 -1
  1455. package/dist/field/features/link/nodes/AutoLinkNode.js +0 -61
  1456. package/dist/field/features/link/nodes/AutoLinkNode.js.map +0 -1
  1457. package/dist/field/features/link/nodes/LinkNode.d.ts +0 -38
  1458. package/dist/field/features/link/nodes/LinkNode.d.ts.map +0 -1
  1459. package/dist/field/features/link/nodes/LinkNode.js +0 -301
  1460. package/dist/field/features/link/nodes/LinkNode.js.map +0 -1
  1461. package/dist/field/features/link/nodes/types.d.ts +0 -19
  1462. package/dist/field/features/link/nodes/types.d.ts.map +0 -1
  1463. package/dist/field/features/link/nodes/types.js +0 -3
  1464. package/dist/field/features/link/nodes/types.js.map +0 -1
  1465. package/dist/field/features/link/plugins/autoLink/index.d.ts +0 -19
  1466. package/dist/field/features/link/plugins/autoLink/index.d.ts.map +0 -1
  1467. package/dist/field/features/link/plugins/autoLink/index.js +0 -321
  1468. package/dist/field/features/link/plugins/autoLink/index.js.map +0 -1
  1469. package/dist/field/features/link/plugins/clickableLink/index.d.ts +0 -3
  1470. package/dist/field/features/link/plugins/clickableLink/index.d.ts.map +0 -1
  1471. package/dist/field/features/link/plugins/clickableLink/index.js +0 -10
  1472. package/dist/field/features/link/plugins/clickableLink/index.js.map +0 -1
  1473. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +0 -1
  1474. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js +0 -5
  1475. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +0 -1
  1476. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +0 -1
  1477. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +0 -259
  1478. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +0 -1
  1479. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts +0 -6
  1480. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts.map +0 -1
  1481. package/dist/field/features/link/plugins/floatingLinkEditor/index.js +0 -13
  1482. package/dist/field/features/link/plugins/floatingLinkEditor/index.js.map +0 -1
  1483. package/dist/field/features/link/plugins/floatingLinkEditor/index.scss +0 -78
  1484. package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts +0 -15
  1485. package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts.map +0 -1
  1486. package/dist/field/features/link/plugins/floatingLinkEditor/types.js +0 -6
  1487. package/dist/field/features/link/plugins/floatingLinkEditor/types.js.map +0 -1
  1488. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts +0 -12
  1489. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +0 -1
  1490. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js +0 -38
  1491. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js.map +0 -1
  1492. package/dist/field/features/link/plugins/link/index.d.ts +0 -2
  1493. package/dist/field/features/link/plugins/link/index.d.ts.map +0 -1
  1494. package/dist/field/features/link/plugins/link/index.js +0 -62
  1495. package/dist/field/features/link/plugins/link/index.js.map +0 -1
  1496. package/dist/field/features/link/populationPromise.d.ts +0 -5
  1497. package/dist/field/features/link/populationPromise.d.ts.map +0 -1
  1498. package/dist/field/features/link/populationPromise.js +0 -46
  1499. package/dist/field/features/link/populationPromise.js.map +0 -1
  1500. package/dist/field/features/lists/checklist/feature.client.d.ts +0 -3
  1501. package/dist/field/features/lists/checklist/feature.client.d.ts.map +0 -1
  1502. package/dist/field/features/lists/checklist/feature.client.js +0 -82
  1503. package/dist/field/features/lists/checklist/feature.client.js.map +0 -1
  1504. package/dist/field/features/lists/checklist/feature.server.d.ts +0 -3
  1505. package/dist/field/features/lists/checklist/feature.server.d.ts.map +0 -1
  1506. package/dist/field/features/lists/checklist/feature.server.js +0 -36
  1507. package/dist/field/features/lists/checklist/feature.server.js.map +0 -1
  1508. package/dist/field/features/lists/checklist/markdownTransformers.d.ts.map +0 -1
  1509. package/dist/field/features/lists/checklist/markdownTransformers.js +0 -17
  1510. package/dist/field/features/lists/checklist/markdownTransformers.js.map +0 -1
  1511. package/dist/field/features/lists/checklist/plugin/index.d.ts +0 -3
  1512. package/dist/field/features/lists/checklist/plugin/index.d.ts.map +0 -1
  1513. package/dist/field/features/lists/checklist/plugin/index.js +0 -9
  1514. package/dist/field/features/lists/checklist/plugin/index.js.map +0 -1
  1515. package/dist/field/features/lists/common/markdown.d.ts +0 -6
  1516. package/dist/field/features/lists/common/markdown.d.ts.map +0 -1
  1517. package/dist/field/features/lists/common/markdown.js +0 -59
  1518. package/dist/field/features/lists/common/markdown.js.map +0 -1
  1519. package/dist/field/features/lists/htmlConverter.d.ts +0 -5
  1520. package/dist/field/features/lists/htmlConverter.d.ts.map +0 -1
  1521. package/dist/field/features/lists/htmlConverter.js +0 -49
  1522. package/dist/field/features/lists/htmlConverter.js.map +0 -1
  1523. package/dist/field/features/lists/orderedlist/feature.client.d.ts +0 -3
  1524. package/dist/field/features/lists/orderedlist/feature.client.d.ts.map +0 -1
  1525. package/dist/field/features/lists/orderedlist/feature.client.js +0 -72
  1526. package/dist/field/features/lists/orderedlist/feature.client.js.map +0 -1
  1527. package/dist/field/features/lists/orderedlist/feature.server.d.ts +0 -3
  1528. package/dist/field/features/lists/orderedlist/feature.server.d.ts.map +0 -1
  1529. package/dist/field/features/lists/orderedlist/feature.server.js +0 -36
  1530. package/dist/field/features/lists/orderedlist/feature.server.js.map +0 -1
  1531. package/dist/field/features/lists/orderedlist/markdownTransformer.d.ts.map +0 -1
  1532. package/dist/field/features/lists/orderedlist/markdownTransformer.js +0 -17
  1533. package/dist/field/features/lists/orderedlist/markdownTransformer.js.map +0 -1
  1534. package/dist/field/features/lists/plugin/index.d.ts +0 -3
  1535. package/dist/field/features/lists/plugin/index.d.ts.map +0 -1
  1536. package/dist/field/features/lists/plugin/index.js +0 -9
  1537. package/dist/field/features/lists/plugin/index.js.map +0 -1
  1538. package/dist/field/features/lists/unorderedlist/feature.client.d.ts +0 -3
  1539. package/dist/field/features/lists/unorderedlist/feature.client.d.ts.map +0 -1
  1540. package/dist/field/features/lists/unorderedlist/feature.client.js +0 -72
  1541. package/dist/field/features/lists/unorderedlist/feature.client.js.map +0 -1
  1542. package/dist/field/features/lists/unorderedlist/feature.server.d.ts +0 -3
  1543. package/dist/field/features/lists/unorderedlist/feature.server.d.ts.map +0 -1
  1544. package/dist/field/features/lists/unorderedlist/feature.server.js +0 -36
  1545. package/dist/field/features/lists/unorderedlist/feature.server.js.map +0 -1
  1546. package/dist/field/features/lists/unorderedlist/markdownTransformer.d.ts.map +0 -1
  1547. package/dist/field/features/lists/unorderedlist/markdownTransformer.js +0 -17
  1548. package/dist/field/features/lists/unorderedlist/markdownTransformer.js.map +0 -1
  1549. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +0 -6
  1550. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1551. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js +0 -6
  1552. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +0 -1
  1553. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +0 -3
  1554. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1555. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +0 -20
  1556. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +0 -1
  1557. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts +0 -3
  1558. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1559. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +0 -8
  1560. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +0 -1
  1561. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +0 -6
  1562. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +0 -1
  1563. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js +0 -6
  1564. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +0 -1
  1565. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +0 -3
  1566. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1567. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +0 -31
  1568. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +0 -1
  1569. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts +0 -3
  1570. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +0 -1
  1571. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js +0 -8
  1572. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +0 -1
  1573. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +0 -6
  1574. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +0 -1
  1575. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js +0 -6
  1576. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +0 -1
  1577. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +0 -3
  1578. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +0 -1
  1579. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +0 -22
  1580. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +0 -1
  1581. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts +0 -3
  1582. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +0 -1
  1583. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js +0 -8
  1584. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +0 -1
  1585. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +0 -6
  1586. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1587. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js +0 -6
  1588. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +0 -1
  1589. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +0 -3
  1590. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1591. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +0 -22
  1592. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +0 -1
  1593. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts +0 -3
  1594. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1595. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +0 -8
  1596. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +0 -1
  1597. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +0 -6
  1598. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +0 -1
  1599. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js +0 -6
  1600. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +0 -1
  1601. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +0 -3
  1602. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +0 -1
  1603. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +0 -20
  1604. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +0 -1
  1605. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts +0 -3
  1606. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +0 -1
  1607. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +0 -8
  1608. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +0 -1
  1609. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +0 -6
  1610. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1611. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js +0 -6
  1612. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +0 -1
  1613. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +0 -3
  1614. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1615. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +0 -26
  1616. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +0 -1
  1617. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts +0 -3
  1618. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1619. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +0 -8
  1620. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +0 -1
  1621. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +0 -6
  1622. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1623. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js +0 -6
  1624. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +0 -1
  1625. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +0 -3
  1626. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1627. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +0 -25
  1628. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +0 -1
  1629. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts +0 -3
  1630. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1631. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +0 -8
  1632. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +0 -1
  1633. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +0 -3
  1634. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +0 -1
  1635. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js +0 -18
  1636. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +0 -1
  1637. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts +0 -17
  1638. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +0 -1
  1639. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.js +0 -63
  1640. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.js.map +0 -1
  1641. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts +0 -31
  1642. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +0 -1
  1643. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.js +0 -3
  1644. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.js.map +0 -1
  1645. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts +0 -3
  1646. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +0 -1
  1647. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js +0 -34
  1648. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js.map +0 -1
  1649. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts +0 -9
  1650. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +0 -1
  1651. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js +0 -47
  1652. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js.map +0 -1
  1653. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1654. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +0 -8
  1655. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1656. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +0 -36
  1657. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1658. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +0 -70
  1659. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1660. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.scss +0 -14
  1661. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +0 -6
  1662. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +0 -1
  1663. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js +0 -6
  1664. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +0 -1
  1665. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +0 -3
  1666. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +0 -1
  1667. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.js +0 -23
  1668. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +0 -1
  1669. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts +0 -3
  1670. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +0 -1
  1671. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js +0 -8
  1672. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +0 -1
  1673. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts +0 -6
  1674. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1675. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.js +0 -6
  1676. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.js.map +0 -1
  1677. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts +0 -3
  1678. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1679. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.js +0 -29
  1680. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +0 -1
  1681. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts +0 -3
  1682. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1683. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js +0 -8
  1684. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js.map +0 -1
  1685. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts +0 -6
  1686. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +0 -1
  1687. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.js +0 -6
  1688. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.js.map +0 -1
  1689. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts +0 -3
  1690. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +0 -1
  1691. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.js +0 -35
  1692. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +0 -1
  1693. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts +0 -3
  1694. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +0 -1
  1695. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js +0 -8
  1696. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js.map +0 -1
  1697. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts +0 -6
  1698. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +0 -1
  1699. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.js +0 -6
  1700. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.js.map +0 -1
  1701. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts +0 -3
  1702. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1703. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.js +0 -30
  1704. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.js.map +0 -1
  1705. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts +0 -3
  1706. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +0 -1
  1707. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js +0 -8
  1708. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js.map +0 -1
  1709. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts +0 -6
  1710. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1711. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.js +0 -6
  1712. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +0 -1
  1713. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +0 -3
  1714. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1715. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.js +0 -25
  1716. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +0 -1
  1717. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts +0 -3
  1718. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1719. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js +0 -8
  1720. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +0 -1
  1721. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +0 -6
  1722. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +0 -1
  1723. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.js +0 -6
  1724. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +0 -1
  1725. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +0 -3
  1726. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +0 -1
  1727. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.js +0 -26
  1728. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +0 -1
  1729. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts +0 -3
  1730. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +0 -1
  1731. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js +0 -8
  1732. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +0 -1
  1733. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts +0 -6
  1734. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +0 -1
  1735. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.js +0 -6
  1736. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +0 -1
  1737. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +0 -3
  1738. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +0 -1
  1739. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js +0 -18
  1740. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +0 -1
  1741. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts +0 -3
  1742. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +0 -1
  1743. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js +0 -8
  1744. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +0 -1
  1745. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts +0 -6
  1746. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1747. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.js +0 -6
  1748. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +0 -1
  1749. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +0 -3
  1750. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1751. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.js +0 -27
  1752. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +0 -1
  1753. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts +0 -3
  1754. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1755. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js +0 -8
  1756. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +0 -1
  1757. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +0 -6
  1758. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +0 -1
  1759. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.js +0 -6
  1760. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +0 -1
  1761. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +0 -3
  1762. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +0 -1
  1763. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js +0 -26
  1764. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +0 -1
  1765. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts +0 -3
  1766. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +0 -1
  1767. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js +0 -8
  1768. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +0 -1
  1769. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts +0 -6
  1770. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1771. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.js +0 -6
  1772. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.js.map +0 -1
  1773. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts +0 -3
  1774. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1775. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js +0 -21
  1776. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +0 -1
  1777. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts +0 -3
  1778. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1779. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js +0 -8
  1780. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js.map +0 -1
  1781. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts +0 -3
  1782. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +0 -1
  1783. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.js +0 -24
  1784. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.js.map +0 -1
  1785. package/dist/field/features/migrations/slateToLexical/converter/index.d.ts.map +0 -1
  1786. package/dist/field/features/migrations/slateToLexical/converter/index.js +0 -107
  1787. package/dist/field/features/migrations/slateToLexical/converter/index.js.map +0 -1
  1788. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts +0 -25
  1789. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts.map +0 -1
  1790. package/dist/field/features/migrations/slateToLexical/converter/types.js +0 -3
  1791. package/dist/field/features/migrations/slateToLexical/converter/types.js.map +0 -1
  1792. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts +0 -3
  1793. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts.map +0 -1
  1794. package/dist/field/features/migrations/slateToLexical/feature.client.js +0 -34
  1795. package/dist/field/features/migrations/slateToLexical/feature.client.js.map +0 -1
  1796. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts +0 -9
  1797. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts.map +0 -1
  1798. package/dist/field/features/migrations/slateToLexical/feature.server.js +0 -47
  1799. package/dist/field/features/migrations/slateToLexical/feature.server.js.map +0 -1
  1800. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1801. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +0 -8
  1802. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1803. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +0 -36
  1804. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1805. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +0 -70
  1806. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1807. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.scss +0 -14
  1808. package/dist/field/features/paragraph/feature.client.d.ts +0 -3
  1809. package/dist/field/features/paragraph/feature.client.d.ts.map +0 -1
  1810. package/dist/field/features/paragraph/feature.client.js +0 -65
  1811. package/dist/field/features/paragraph/feature.client.js.map +0 -1
  1812. package/dist/field/features/paragraph/feature.server.d.ts +0 -3
  1813. package/dist/field/features/paragraph/feature.server.d.ts.map +0 -1
  1814. package/dist/field/features/paragraph/feature.server.js +0 -16
  1815. package/dist/field/features/paragraph/feature.server.js.map +0 -1
  1816. package/dist/field/features/relationship/drawer/commands.d.ts.map +0 -1
  1817. package/dist/field/features/relationship/drawer/commands.js +0 -5
  1818. package/dist/field/features/relationship/drawer/commands.js.map +0 -1
  1819. package/dist/field/features/relationship/drawer/index.d.ts.map +0 -1
  1820. package/dist/field/features/relationship/drawer/index.js +0 -81
  1821. package/dist/field/features/relationship/drawer/index.js.map +0 -1
  1822. package/dist/field/features/relationship/feature.client.d.ts +0 -4
  1823. package/dist/field/features/relationship/feature.client.d.ts.map +0 -1
  1824. package/dist/field/features/relationship/feature.client.js +0 -56
  1825. package/dist/field/features/relationship/feature.client.js.map +0 -1
  1826. package/dist/field/features/relationship/feature.server.d.ts +0 -18
  1827. package/dist/field/features/relationship/feature.server.d.ts.map +0 -1
  1828. package/dist/field/features/relationship/feature.server.js +0 -26
  1829. package/dist/field/features/relationship/feature.server.js.map +0 -1
  1830. package/dist/field/features/relationship/nodes/RelationshipNode.d.ts +0 -36
  1831. package/dist/field/features/relationship/nodes/RelationshipNode.d.ts.map +0 -1
  1832. package/dist/field/features/relationship/nodes/RelationshipNode.js +0 -110
  1833. package/dist/field/features/relationship/nodes/RelationshipNode.js.map +0 -1
  1834. package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts +0 -14
  1835. package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts.map +0 -1
  1836. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js +0 -109
  1837. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js.map +0 -1
  1838. package/dist/field/features/relationship/nodes/components/index.scss +0 -97
  1839. package/dist/field/features/relationship/plugins/index.d.ts +0 -7
  1840. package/dist/field/features/relationship/plugins/index.d.ts.map +0 -1
  1841. package/dist/field/features/relationship/plugins/index.js +0 -52
  1842. package/dist/field/features/relationship/plugins/index.js.map +0 -1
  1843. package/dist/field/features/relationship/populationPromise.d.ts +0 -4
  1844. package/dist/field/features/relationship/populationPromise.d.ts.map +0 -1
  1845. package/dist/field/features/relationship/populationPromise.js +0 -24
  1846. package/dist/field/features/relationship/populationPromise.js.map +0 -1
  1847. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +0 -1
  1848. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js +0 -35
  1849. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js.map +0 -1
  1850. package/dist/field/features/types.d.ts +0 -278
  1851. package/dist/field/features/types.d.ts.map +0 -1
  1852. package/dist/field/features/types.js +0 -3
  1853. package/dist/field/features/types.js.map +0 -1
  1854. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts +0 -12
  1855. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +0 -1
  1856. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js +0 -125
  1857. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js.map +0 -1
  1858. package/dist/field/features/upload/component/index.d.ts +0 -9
  1859. package/dist/field/features/upload/component/index.d.ts.map +0 -1
  1860. package/dist/field/features/upload/component/index.js +0 -144
  1861. package/dist/field/features/upload/component/index.js.map +0 -1
  1862. package/dist/field/features/upload/component/index.scss +0 -152
  1863. package/dist/field/features/upload/drawer/commands.d.ts.map +0 -1
  1864. package/dist/field/features/upload/drawer/commands.js +0 -6
  1865. package/dist/field/features/upload/drawer/commands.js.map +0 -1
  1866. package/dist/field/features/upload/drawer/index.d.ts.map +0 -1
  1867. package/dist/field/features/upload/drawer/index.js +0 -78
  1868. package/dist/field/features/upload/drawer/index.js.map +0 -1
  1869. package/dist/field/features/upload/feature.client.d.ts +0 -10
  1870. package/dist/field/features/upload/feature.client.d.ts.map +0 -1
  1871. package/dist/field/features/upload/feature.client.js +0 -55
  1872. package/dist/field/features/upload/feature.client.js.map +0 -1
  1873. package/dist/field/features/upload/feature.server.d.ts +0 -12
  1874. package/dist/field/features/upload/feature.server.d.ts.map +0 -1
  1875. package/dist/field/features/upload/feature.server.js +0 -110
  1876. package/dist/field/features/upload/feature.server.js.map +0 -1
  1877. package/dist/field/features/upload/nodes/UploadNode.d.ts +0 -49
  1878. package/dist/field/features/upload/nodes/UploadNode.d.ts.map +0 -1
  1879. package/dist/field/features/upload/nodes/UploadNode.js +0 -102
  1880. package/dist/field/features/upload/nodes/UploadNode.js.map +0 -1
  1881. package/dist/field/features/upload/plugin/index.d.ts +0 -7
  1882. package/dist/field/features/upload/plugin/index.d.ts.map +0 -1
  1883. package/dist/field/features/upload/plugin/index.js +0 -55
  1884. package/dist/field/features/upload/plugin/index.js.map +0 -1
  1885. package/dist/field/features/upload/populationPromise.d.ts +0 -5
  1886. package/dist/field/features/upload/populationPromise.d.ts.map +0 -1
  1887. package/dist/field/features/upload/populationPromise.js +0 -46
  1888. package/dist/field/features/upload/populationPromise.js.map +0 -1
  1889. package/dist/field/features/upload/validate.d.ts +0 -4
  1890. package/dist/field/features/upload/validate.d.ts.map +0 -1
  1891. package/dist/field/features/upload/validate.js +0 -17
  1892. package/dist/field/features/upload/validate.js.map +0 -1
  1893. package/dist/field/index.scss +0 -46
  1894. package/dist/field/lexical/EditorPlugin.d.ts +0 -7
  1895. package/dist/field/lexical/EditorPlugin.d.ts.map +0 -1
  1896. package/dist/field/lexical/EditorPlugin.js +0 -11
  1897. package/dist/field/lexical/EditorPlugin.js.map +0 -1
  1898. package/dist/field/lexical/LexicalEditor.d.ts +0 -5
  1899. package/dist/field/lexical/LexicalEditor.d.ts.map +0 -1
  1900. package/dist/field/lexical/LexicalEditor.js +0 -112
  1901. package/dist/field/lexical/LexicalEditor.js.map +0 -1
  1902. package/dist/field/lexical/LexicalEditor.scss +0 -56
  1903. package/dist/field/lexical/LexicalProvider.d.ts +0 -19
  1904. package/dist/field/lexical/LexicalProvider.d.ts.map +0 -1
  1905. package/dist/field/lexical/LexicalProvider.js +0 -67
  1906. package/dist/field/lexical/LexicalProvider.js.map +0 -1
  1907. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts +0 -24
  1908. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts.map +0 -1
  1909. package/dist/field/lexical/config/client/EditorConfigProvider.js +0 -41
  1910. package/dist/field/lexical/config/client/EditorConfigProvider.js.map +0 -1
  1911. package/dist/field/lexical/config/client/default.d.ts +0 -3
  1912. package/dist/field/lexical/config/client/default.d.ts.map +0 -1
  1913. package/dist/field/lexical/config/client/default.js +0 -8
  1914. package/dist/field/lexical/config/client/default.js.map +0 -1
  1915. package/dist/field/lexical/config/client/loader.d.ts +0 -12
  1916. package/dist/field/lexical/config/client/loader.d.ts.map +0 -1
  1917. package/dist/field/lexical/config/client/loader.js +0 -46
  1918. package/dist/field/lexical/config/client/loader.js.map +0 -1
  1919. package/dist/field/lexical/config/client/sanitize.d.ts +0 -6
  1920. package/dist/field/lexical/config/client/sanitize.d.ts.map +0 -1
  1921. package/dist/field/lexical/config/client/sanitize.js +0 -126
  1922. package/dist/field/lexical/config/client/sanitize.js.map +0 -1
  1923. package/dist/field/lexical/config/server/default.d.ts +0 -8
  1924. package/dist/field/lexical/config/server/default.d.ts.map +0 -1
  1925. package/dist/field/lexical/config/server/default.js +0 -53
  1926. package/dist/field/lexical/config/server/default.js.map +0 -1
  1927. package/dist/field/lexical/config/server/loader.d.ts +0 -7
  1928. package/dist/field/lexical/config/server/loader.d.ts.map +0 -1
  1929. package/dist/field/lexical/config/server/loader.js +0 -118
  1930. package/dist/field/lexical/config/server/loader.js.map +0 -1
  1931. package/dist/field/lexical/config/server/sanitize.d.ts +0 -5
  1932. package/dist/field/lexical/config/server/sanitize.d.ts.map +0 -1
  1933. package/dist/field/lexical/config/server/sanitize.js +0 -65
  1934. package/dist/field/lexical/config/server/sanitize.js.map +0 -1
  1935. package/dist/field/lexical/config/types.d.ts +0 -21
  1936. package/dist/field/lexical/config/types.d.ts.map +0 -1
  1937. package/dist/field/lexical/config/types.js +0 -3
  1938. package/dist/field/lexical/config/types.js.map +0 -1
  1939. package/dist/field/lexical/nodes/index.d.ts +0 -7
  1940. package/dist/field/lexical/nodes/index.d.ts.map +0 -1
  1941. package/dist/field/lexical/nodes/index.js +0 -10
  1942. package/dist/field/lexical/nodes/index.js.map +0 -1
  1943. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.d.ts +0 -8
  1944. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.d.ts.map +0 -1
  1945. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.js +0 -97
  1946. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.js.map +0 -1
  1947. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.scss +0 -37
  1948. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.d.ts +0 -17
  1949. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.d.ts.map +0 -1
  1950. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.js +0 -251
  1951. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.js.map +0 -1
  1952. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.d.ts +0 -18
  1953. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.d.ts.map +0 -1
  1954. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.js +0 -42
  1955. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.js.map +0 -1
  1956. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.scss +0 -100
  1957. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.d.ts +0 -6
  1958. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.d.ts.map +0 -1
  1959. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.js +0 -270
  1960. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.js.map +0 -1
  1961. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.scss +0 -57
  1962. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.d.ts +0 -40
  1963. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.d.ts.map +0 -1
  1964. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.js +0 -3
  1965. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.js.map +0 -1
  1966. package/dist/field/lexical/plugins/MarkdownShortcut/index.d.ts.map +0 -1
  1967. package/dist/field/lexical/plugins/MarkdownShortcut/index.js +0 -13
  1968. package/dist/field/lexical/plugins/MarkdownShortcut/index.js.map +0 -1
  1969. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +0 -32
  1970. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +0 -1
  1971. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +0 -404
  1972. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +0 -1
  1973. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +0 -25
  1974. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +0 -1
  1975. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +0 -207
  1976. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +0 -1
  1977. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +0 -39
  1978. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +0 -1
  1979. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js +0 -39
  1980. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +0 -1
  1981. package/dist/field/lexical/plugins/SlashMenu/index.d.ts +0 -6
  1982. package/dist/field/lexical/plugins/SlashMenu/index.d.ts.map +0 -1
  1983. package/dist/field/lexical/plugins/SlashMenu/index.js +0 -172
  1984. package/dist/field/lexical/plugins/SlashMenu/index.js.map +0 -1
  1985. package/dist/field/lexical/plugins/SlashMenu/index.scss +0 -61
  1986. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +0 -1
  1987. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.js +0 -33
  1988. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +0 -1
  1989. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts +0 -6
  1990. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +0 -1
  1991. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js +0 -241
  1992. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +0 -1
  1993. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.scss +0 -31
  1994. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +0 -1
  1995. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.js +0 -14
  1996. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +0 -1
  1997. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +0 -1
  1998. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js +0 -14
  1999. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +0 -1
  2000. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.d.ts +0 -27
  2001. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.d.ts.map +0 -1
  2002. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.js +0 -151
  2003. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.js.map +0 -1
  2004. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts +0 -3
  2005. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +0 -1
  2006. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js +0 -27
  2007. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +0 -1
  2008. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts +0 -6
  2009. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +0 -1
  2010. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js +0 -298
  2011. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +0 -1
  2012. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.scss +0 -55
  2013. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +0 -3
  2014. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +0 -1
  2015. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js +0 -49
  2016. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +0 -1
  2017. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +0 -1
  2018. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.js +0 -35
  2019. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +0 -1
  2020. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +0 -1
  2021. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.js +0 -14
  2022. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.js.map +0 -1
  2023. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +0 -1
  2024. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.js +0 -7
  2025. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +0 -1
  2026. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +0 -1
  2027. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.js +0 -5
  2028. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.js.map +0 -1
  2029. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +0 -1
  2030. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.js +0 -27
  2031. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.js.map +0 -1
  2032. package/dist/field/lexical/theme/EditorTheme.d.ts +0 -4
  2033. package/dist/field/lexical/theme/EditorTheme.d.ts.map +0 -1
  2034. package/dist/field/lexical/theme/EditorTheme.js +0 -106
  2035. package/dist/field/lexical/theme/EditorTheme.js.map +0 -1
  2036. package/dist/field/lexical/theme/EditorTheme.scss +0 -505
  2037. package/dist/field/lexical/ui/ContentEditable.d.ts +0 -6
  2038. package/dist/field/lexical/ui/ContentEditable.d.ts.map +0 -1
  2039. package/dist/field/lexical/ui/ContentEditable.js +0 -11
  2040. package/dist/field/lexical/ui/ContentEditable.js.map +0 -1
  2041. package/dist/field/lexical/ui/ContentEditable.scss +0 -25
  2042. package/dist/field/lexical/ui/icons/AI/index.d.ts.map +0 -1
  2043. package/dist/field/lexical/ui/icons/AI/index.js +0 -27
  2044. package/dist/field/lexical/ui/icons/AI/index.js.map +0 -1
  2045. package/dist/field/lexical/ui/icons/AlignCenter/index.d.ts.map +0 -1
  2046. package/dist/field/lexical/ui/icons/AlignCenter/index.js +0 -25
  2047. package/dist/field/lexical/ui/icons/AlignCenter/index.js.map +0 -1
  2048. package/dist/field/lexical/ui/icons/AlignJustify/index.d.ts.map +0 -1
  2049. package/dist/field/lexical/ui/icons/AlignJustify/index.js +0 -25
  2050. package/dist/field/lexical/ui/icons/AlignJustify/index.js.map +0 -1
  2051. package/dist/field/lexical/ui/icons/AlignLeft/index.d.ts.map +0 -1
  2052. package/dist/field/lexical/ui/icons/AlignLeft/index.js +0 -25
  2053. package/dist/field/lexical/ui/icons/AlignLeft/index.js.map +0 -1
  2054. package/dist/field/lexical/ui/icons/AlignRight/index.d.ts.map +0 -1
  2055. package/dist/field/lexical/ui/icons/AlignRight/index.js +0 -25
  2056. package/dist/field/lexical/ui/icons/AlignRight/index.js.map +0 -1
  2057. package/dist/field/lexical/ui/icons/Block/index.d.ts.map +0 -1
  2058. package/dist/field/lexical/ui/icons/Block/index.js +0 -34
  2059. package/dist/field/lexical/ui/icons/Block/index.js.map +0 -1
  2060. package/dist/field/lexical/ui/icons/Blockquote/index.d.ts.map +0 -1
  2061. package/dist/field/lexical/ui/icons/Blockquote/index.js +0 -16
  2062. package/dist/field/lexical/ui/icons/Blockquote/index.js.map +0 -1
  2063. package/dist/field/lexical/ui/icons/Bold/index.d.ts.map +0 -1
  2064. package/dist/field/lexical/ui/icons/Bold/index.js +0 -16
  2065. package/dist/field/lexical/ui/icons/Bold/index.js.map +0 -1
  2066. package/dist/field/lexical/ui/icons/Checklist/index.d.ts.map +0 -1
  2067. package/dist/field/lexical/ui/icons/Checklist/index.js +0 -24
  2068. package/dist/field/lexical/ui/icons/Checklist/index.js.map +0 -1
  2069. package/dist/field/lexical/ui/icons/Code/index.d.ts.map +0 -1
  2070. package/dist/field/lexical/ui/icons/Code/index.js +0 -19
  2071. package/dist/field/lexical/ui/icons/Code/index.js.map +0 -1
  2072. package/dist/field/lexical/ui/icons/CodeBlock/index.d.ts.map +0 -1
  2073. package/dist/field/lexical/ui/icons/CodeBlock/index.js +0 -19
  2074. package/dist/field/lexical/ui/icons/CodeBlock/index.js.map +0 -1
  2075. package/dist/field/lexical/ui/icons/H1/index.d.ts.map +0 -1
  2076. package/dist/field/lexical/ui/icons/H1/index.js +0 -16
  2077. package/dist/field/lexical/ui/icons/H1/index.js.map +0 -1
  2078. package/dist/field/lexical/ui/icons/H2/index.d.ts.map +0 -1
  2079. package/dist/field/lexical/ui/icons/H2/index.js +0 -16
  2080. package/dist/field/lexical/ui/icons/H2/index.js.map +0 -1
  2081. package/dist/field/lexical/ui/icons/H3/index.d.ts.map +0 -1
  2082. package/dist/field/lexical/ui/icons/H3/index.js +0 -16
  2083. package/dist/field/lexical/ui/icons/H3/index.js.map +0 -1
  2084. package/dist/field/lexical/ui/icons/H4/index.d.ts.map +0 -1
  2085. package/dist/field/lexical/ui/icons/H4/index.js +0 -16
  2086. package/dist/field/lexical/ui/icons/H4/index.js.map +0 -1
  2087. package/dist/field/lexical/ui/icons/H5/index.d.ts.map +0 -1
  2088. package/dist/field/lexical/ui/icons/H5/index.js +0 -16
  2089. package/dist/field/lexical/ui/icons/H5/index.js.map +0 -1
  2090. package/dist/field/lexical/ui/icons/H6/index.d.ts.map +0 -1
  2091. package/dist/field/lexical/ui/icons/H6/index.js +0 -16
  2092. package/dist/field/lexical/ui/icons/H6/index.js.map +0 -1
  2093. package/dist/field/lexical/ui/icons/HorizontalRule/index.d.ts.map +0 -1
  2094. package/dist/field/lexical/ui/icons/HorizontalRule/index.js +0 -19
  2095. package/dist/field/lexical/ui/icons/HorizontalRule/index.js.map +0 -1
  2096. package/dist/field/lexical/ui/icons/IndentDecrease/index.d.ts.map +0 -1
  2097. package/dist/field/lexical/ui/icons/IndentDecrease/index.js +0 -28
  2098. package/dist/field/lexical/ui/icons/IndentDecrease/index.js.map +0 -1
  2099. package/dist/field/lexical/ui/icons/IndentIncrease/index.d.ts.map +0 -1
  2100. package/dist/field/lexical/ui/icons/IndentIncrease/index.js +0 -28
  2101. package/dist/field/lexical/ui/icons/IndentIncrease/index.js.map +0 -1
  2102. package/dist/field/lexical/ui/icons/Italic/index.d.ts.map +0 -1
  2103. package/dist/field/lexical/ui/icons/Italic/index.js +0 -16
  2104. package/dist/field/lexical/ui/icons/Italic/index.js.map +0 -1
  2105. package/dist/field/lexical/ui/icons/Link/index.d.ts.map +0 -1
  2106. package/dist/field/lexical/ui/icons/Link/index.js +0 -27
  2107. package/dist/field/lexical/ui/icons/Link/index.js.map +0 -1
  2108. package/dist/field/lexical/ui/icons/OrderedList/index.d.ts.map +0 -1
  2109. package/dist/field/lexical/ui/icons/OrderedList/index.js +0 -31
  2110. package/dist/field/lexical/ui/icons/OrderedList/index.js.map +0 -1
  2111. package/dist/field/lexical/ui/icons/Relationship/index.d.ts.map +0 -1
  2112. package/dist/field/lexical/ui/icons/Relationship/index.js +0 -27
  2113. package/dist/field/lexical/ui/icons/Relationship/index.js.map +0 -1
  2114. package/dist/field/lexical/ui/icons/Strikethrough/index.d.ts.map +0 -1
  2115. package/dist/field/lexical/ui/icons/Strikethrough/index.js +0 -19
  2116. package/dist/field/lexical/ui/icons/Strikethrough/index.js.map +0 -1
  2117. package/dist/field/lexical/ui/icons/Subscript/index.d.ts.map +0 -1
  2118. package/dist/field/lexical/ui/icons/Subscript/index.js +0 -16
  2119. package/dist/field/lexical/ui/icons/Subscript/index.js.map +0 -1
  2120. package/dist/field/lexical/ui/icons/Superscript/index.d.ts.map +0 -1
  2121. package/dist/field/lexical/ui/icons/Superscript/index.js +0 -16
  2122. package/dist/field/lexical/ui/icons/Superscript/index.js.map +0 -1
  2123. package/dist/field/lexical/ui/icons/Text/index.d.ts.map +0 -1
  2124. package/dist/field/lexical/ui/icons/Text/index.js +0 -16
  2125. package/dist/field/lexical/ui/icons/Text/index.js.map +0 -1
  2126. package/dist/field/lexical/ui/icons/Underline/index.d.ts.map +0 -1
  2127. package/dist/field/lexical/ui/icons/Underline/index.js +0 -19
  2128. package/dist/field/lexical/ui/icons/Underline/index.js.map +0 -1
  2129. package/dist/field/lexical/ui/icons/UnorderedList/index.d.ts.map +0 -1
  2130. package/dist/field/lexical/ui/icons/UnorderedList/index.js +0 -46
  2131. package/dist/field/lexical/ui/icons/UnorderedList/index.js.map +0 -1
  2132. package/dist/field/lexical/ui/icons/Upload/index.d.ts.map +0 -1
  2133. package/dist/field/lexical/ui/icons/Upload/index.js +0 -28
  2134. package/dist/field/lexical/ui/icons/Upload/index.js.map +0 -1
  2135. package/dist/field/lexical/utils/canUseDOM.d.ts.map +0 -1
  2136. package/dist/field/lexical/utils/canUseDOM.js +0 -3
  2137. package/dist/field/lexical/utils/canUseDOM.js.map +0 -1
  2138. package/dist/field/lexical/utils/cloneDeep.d.ts +0 -2
  2139. package/dist/field/lexical/utils/cloneDeep.d.ts.map +0 -1
  2140. package/dist/field/lexical/utils/cloneDeep.js +0 -50
  2141. package/dist/field/lexical/utils/cloneDeep.js.map +0 -1
  2142. package/dist/field/lexical/utils/environment.d.ts.map +0 -1
  2143. package/dist/field/lexical/utils/environment.js +0 -14
  2144. package/dist/field/lexical/utils/environment.js.map +0 -1
  2145. package/dist/field/lexical/utils/getDOMRangeRect.d.ts.map +0 -1
  2146. package/dist/field/lexical/utils/getDOMRangeRect.js +0 -16
  2147. package/dist/field/lexical/utils/getDOMRangeRect.js.map +0 -1
  2148. package/dist/field/lexical/utils/getSelectedNode.d.ts.map +0 -1
  2149. package/dist/field/lexical/utils/getSelectedNode.js +0 -18
  2150. package/dist/field/lexical/utils/getSelectedNode.js.map +0 -1
  2151. package/dist/field/lexical/utils/guard.d.ts.map +0 -1
  2152. package/dist/field/lexical/utils/guard.js +0 -5
  2153. package/dist/field/lexical/utils/guard.js.map +0 -1
  2154. package/dist/field/lexical/utils/invariant.d.ts +0 -2
  2155. package/dist/field/lexical/utils/invariant.d.ts.map +0 -1
  2156. package/dist/field/lexical/utils/invariant.js +0 -12
  2157. package/dist/field/lexical/utils/invariant.js.map +0 -1
  2158. package/dist/field/lexical/utils/joinClasses.d.ts.map +0 -1
  2159. package/dist/field/lexical/utils/joinClasses.js +0 -5
  2160. package/dist/field/lexical/utils/joinClasses.js.map +0 -1
  2161. package/dist/field/lexical/utils/markdown/createBlockNode.d.ts +0 -4
  2162. package/dist/field/lexical/utils/markdown/createBlockNode.d.ts.map +0 -1
  2163. package/dist/field/lexical/utils/markdown/createBlockNode.js +0 -12
  2164. package/dist/field/lexical/utils/markdown/createBlockNode.js.map +0 -1
  2165. package/dist/field/lexical/utils/nodeFormat.d.ts +0 -41
  2166. package/dist/field/lexical/utils/nodeFormat.d.ts.map +0 -1
  2167. package/dist/field/lexical/utils/nodeFormat.js +0 -88
  2168. package/dist/field/lexical/utils/nodeFormat.js.map +0 -1
  2169. package/dist/field/lexical/utils/point.d.ts.map +0 -1
  2170. package/dist/field/lexical/utils/point.js +0 -37
  2171. package/dist/field/lexical/utils/point.js.map +0 -1
  2172. package/dist/field/lexical/utils/rect.d.ts.map +0 -1
  2173. package/dist/field/lexical/utils/rect.js +0 -138
  2174. package/dist/field/lexical/utils/rect.js.map +0 -1
  2175. package/dist/field/lexical/utils/setFloatingElemPosition.d.ts +0 -2
  2176. package/dist/field/lexical/utils/setFloatingElemPosition.d.ts.map +0 -1
  2177. package/dist/field/lexical/utils/setFloatingElemPosition.js +0 -53
  2178. package/dist/field/lexical/utils/setFloatingElemPosition.js.map +0 -1
  2179. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +0 -1
  2180. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.js +0 -27
  2181. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +0 -1
  2182. package/dist/field/lexical/utils/swipe.d.ts.map +0 -1
  2183. package/dist/field/lexical/utils/swipe.js +0 -100
  2184. package/dist/field/lexical/utils/swipe.js.map +0 -1
  2185. package/dist/field/lexical/utils/url.d.ts.map +0 -1
  2186. package/dist/field/lexical/utils/url.js +0 -25
  2187. package/dist/field/lexical/utils/url.js.map +0 -1
  2188. package/dist/generateComponentMap.d.ts +0 -6
  2189. package/dist/generateComponentMap.d.ts.map +0 -1
  2190. package/dist/generateComponentMap.js +0 -85
  2191. package/dist/generateComponentMap.js.map +0 -1
  2192. package/dist/generateSchemaMap.d.ts +0 -6
  2193. package/dist/generateSchemaMap.d.ts.map +0 -1
  2194. package/dist/generateSchemaMap.js +0 -30
  2195. package/dist/generateSchemaMap.js.map +0 -1
  2196. package/dist/populate/defaultValue.d.ts +0 -4
  2197. package/dist/populate/defaultValue.d.ts.map +0 -1
  2198. package/dist/populate/defaultValue.js +0 -50
  2199. package/dist/populate/defaultValue.js.map +0 -1
  2200. package/dist/populate/populate.d.ts +0 -21
  2201. package/dist/populate/populate.d.ts.map +0 -1
  2202. package/dist/populate/populate.js +0 -21
  2203. package/dist/populate/populate.js.map +0 -1
  2204. package/dist/populate/recurseNestedFields.d.ts +0 -25
  2205. package/dist/populate/recurseNestedFields.d.ts.map +0 -1
  2206. package/dist/populate/recurseNestedFields.js +0 -26
  2207. package/dist/populate/recurseNestedFields.js.map +0 -1
  2208. package/dist/populate/richTextRelationshipPromise.d.ts +0 -23
  2209. package/dist/populate/richTextRelationshipPromise.d.ts.map +0 -1
  2210. package/dist/populate/richTextRelationshipPromise.js +0 -68
  2211. package/dist/populate/richTextRelationshipPromise.js.map +0 -1
  2212. package/dist/scss/app.scss +0 -208
  2213. package/dist/scss/colors.scss +0 -269
  2214. package/dist/scss/queries.scss +0 -27
  2215. package/dist/scss/resets.scss +0 -17
  2216. package/dist/scss/styles.scss +0 -11
  2217. package/dist/scss/svg.scss +0 -10
  2218. package/dist/scss/toastify.scss +0 -58
  2219. package/dist/scss/type.scss +0 -117
  2220. package/dist/scss/vars.scss +0 -213
  2221. package/dist/scss/z-index.scss +0 -9
  2222. package/dist/useLexicalFeature.d.ts +0 -3
  2223. package/dist/useLexicalFeature.d.ts.map +0 -1
  2224. package/dist/useLexicalFeature.js +0 -9
  2225. package/dist/useLexicalFeature.js.map +0 -1
  2226. package/src/index.ts +0 -423
  2227. /package/dist/{field/features → features}/blockquote/markdownTransformer.d.ts +0 -0
  2228. /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.d.ts +0 -0
  2229. /package/dist/{field/features → features}/converters/html/converter/converters/paragraph.d.ts +0 -0
  2230. /package/dist/{field/features → features}/converters/html/converter/converters/text.d.ts +0 -0
  2231. /package/dist/{field/features → features}/converters/html/converter/defaultConverters.d.ts +0 -0
  2232. /package/dist/{field/features → features}/createFeaturePropComponent.d.ts +0 -0
  2233. /package/dist/{field/features → features}/format/bold/markdownTransformers.d.ts +0 -0
  2234. /package/dist/{field/features/format/inlinecode → features/format/inlineCode}/markdownTransformers.d.ts +0 -0
  2235. /package/dist/{field/features → features}/format/italic/markdownTransformers.d.ts +0 -0
  2236. /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.d.ts +0 -0
  2237. /package/dist/{field/features → features}/heading/markdownTransformer.d.ts +0 -0
  2238. /package/dist/{field/features/horizontalrule → features/horizontalRule/client}/component/index.d.ts +0 -0
  2239. /package/dist/{field/features/horizontalrule → features/horizontalRule/client}/markdownTransformer.d.ts +0 -0
  2240. /package/dist/{field/features/link → features/link/client}/plugins/floatingLinkEditor/LinkEditor/commands.d.ts +0 -0
  2241. /package/dist/{field/features/link → features/link/client}/plugins/floatingLinkEditor/LinkEditor/index.d.ts +0 -0
  2242. /package/dist/{field/features → features}/link/nodes/AutoLinkNode.d.ts +0 -0
  2243. /package/dist/{field/features → features}/lists/checklist/markdownTransformers.d.ts +0 -0
  2244. /package/dist/{field/features/lists/orderedlist → features/lists/orderedList}/markdownTransformer.d.ts +0 -0
  2245. /package/dist/{field/features/lists/unorderedlist → features/lists/unorderedList}/markdownTransformer.d.ts +0 -0
  2246. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  2247. /package/dist/{field/features → features}/migrations/slateToLexical/converter/index.d.ts +0 -0
  2248. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  2249. /package/dist/{field/features/relationship → features/relationship/client}/drawer/commands.d.ts +0 -0
  2250. /package/dist/{field/features/relationship → features/relationship/client}/drawer/index.d.ts +0 -0
  2251. /package/dist/{field/features/relationship → features/relationship/client}/utils/EnabledRelationshipsCondition.d.ts +0 -0
  2252. /package/dist/{field/features/upload → features/upload/client}/drawer/commands.d.ts +0 -0
  2253. /package/dist/{field/features/upload → features/upload/client}/drawer/index.d.ts +0 -0
  2254. /package/dist/{field/lexical → lexical}/plugins/MarkdownShortcut/index.d.ts +0 -0
  2255. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.d.ts +0 -0
  2256. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/debounce.d.ts +0 -0
  2257. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts +0 -0
  2258. /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.d.ts +0 -0
  2259. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.d.ts +0 -0
  2260. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getTopLevelNodeKeys.d.ts +0 -0
  2261. /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.d.ts +0 -0
  2262. /package/dist/{field/lexical → lexical}/plugins/handles/utils/setHandlePosition.d.ts +0 -0
  2263. /package/dist/{field/lexical → lexical}/ui/icons/AI/index.d.ts +0 -0
  2264. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.svg +0 -0
  2265. /package/dist/{field/lexical → lexical}/ui/icons/AlignCenter/index.d.ts +0 -0
  2266. /package/dist/{field/lexical → lexical}/ui/icons/AlignJustify/index.d.ts +0 -0
  2267. /package/dist/{field/lexical → lexical}/ui/icons/AlignLeft/index.d.ts +0 -0
  2268. /package/dist/{field/lexical → lexical}/ui/icons/AlignRight/index.d.ts +0 -0
  2269. /package/dist/{field/lexical → lexical}/ui/icons/Block/index.d.ts +0 -0
  2270. /package/dist/{field/lexical → lexical}/ui/icons/Blockquote/index.d.ts +0 -0
  2271. /package/dist/{field/lexical → lexical}/ui/icons/Bold/index.d.ts +0 -0
  2272. /package/dist/{field/lexical → lexical}/ui/icons/Caret/index.svg +0 -0
  2273. /package/dist/{field/lexical → lexical}/ui/icons/Checklist/index.d.ts +0 -0
  2274. /package/dist/{field/lexical → lexical}/ui/icons/Code/index.d.ts +0 -0
  2275. /package/dist/{field/lexical → lexical}/ui/icons/CodeBlock/index.d.ts +0 -0
  2276. /package/dist/{field/lexical → lexical}/ui/icons/DraggableBlock/index.svg +0 -0
  2277. /package/dist/{field/lexical → lexical}/ui/icons/Edit/index.svg +0 -0
  2278. /package/dist/{field/lexical → lexical}/ui/icons/H1/index.d.ts +0 -0
  2279. /package/dist/{field/lexical → lexical}/ui/icons/H2/index.d.ts +0 -0
  2280. /package/dist/{field/lexical → lexical}/ui/icons/H3/index.d.ts +0 -0
  2281. /package/dist/{field/lexical → lexical}/ui/icons/H4/index.d.ts +0 -0
  2282. /package/dist/{field/lexical → lexical}/ui/icons/H5/index.d.ts +0 -0
  2283. /package/dist/{field/lexical → lexical}/ui/icons/H6/index.d.ts +0 -0
  2284. /package/dist/{field/lexical → lexical}/ui/icons/HorizontalRule/index.d.ts +0 -0
  2285. /package/dist/{field/lexical → lexical}/ui/icons/IndentDecrease/index.d.ts +0 -0
  2286. /package/dist/{field/lexical → lexical}/ui/icons/IndentIncrease/index.d.ts +0 -0
  2287. /package/dist/{field/lexical → lexical}/ui/icons/Italic/index.d.ts +0 -0
  2288. /package/dist/{field/lexical → lexical}/ui/icons/Link/index.d.ts +0 -0
  2289. /package/dist/{field/lexical → lexical}/ui/icons/OrderedList/index.d.ts +0 -0
  2290. /package/dist/{field/lexical → lexical}/ui/icons/Relationship/index.d.ts +0 -0
  2291. /package/dist/{field/lexical → lexical}/ui/icons/Remove/index.svg +0 -0
  2292. /package/dist/{field/lexical → lexical}/ui/icons/Strikethrough/index.d.ts +0 -0
  2293. /package/dist/{field/lexical → lexical}/ui/icons/Subscript/index.d.ts +0 -0
  2294. /package/dist/{field/lexical → lexical}/ui/icons/Superscript/index.d.ts +0 -0
  2295. /package/dist/{field/lexical → lexical}/ui/icons/Text/index.d.ts +0 -0
  2296. /package/dist/{field/lexical → lexical}/ui/icons/Underline/index.d.ts +0 -0
  2297. /package/dist/{field/lexical → lexical}/ui/icons/UnorderedList/index.d.ts +0 -0
  2298. /package/dist/{field/lexical → lexical}/ui/icons/Upload/index.d.ts +0 -0
  2299. /package/dist/{field/lexical → lexical}/utils/canUseDOM.d.ts +0 -0
  2300. /package/dist/{field/lexical → lexical}/utils/environment.d.ts +0 -0
  2301. /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.d.ts +0 -0
  2302. /package/dist/{field/lexical → lexical}/utils/getSelectedNode.d.ts +0 -0
  2303. /package/dist/{field/lexical → lexical}/utils/guard.d.ts +0 -0
  2304. /package/dist/{field/lexical → lexical}/utils/joinClasses.d.ts +0 -0
  2305. /package/dist/{field/lexical → lexical}/utils/point.d.ts +0 -0
  2306. /package/dist/{field/lexical → lexical}/utils/rect.d.ts +0 -0
  2307. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.d.ts +0 -0
  2308. /package/dist/{field/lexical → lexical}/utils/swipe.d.ts +0 -0
  2309. /package/dist/{field/lexical → lexical}/utils/url.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RelationshipComponent.js","names":["useLexicalComposerContext","useLexicalNodeSelection","mergeRegister","getTranslation","Button","useConfig","useDocumentDrawer","usePayloadAPI","useTranslation","$getNodeByKey","$getSelection","$isNodeSelection","CLICK_COMMAND","COMMAND_PRIORITY_LOW","KEY_BACKSPACE_COMMAND","KEY_DELETE_COMMAND","React","useCallback","useEffect","useReducer","useRef","useState","useEditorConfigContext","INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND","$isRelationshipNode","baseClass","initialParams","depth","Component","props","data","relationTo","value","id","nodeKey","relationshipElemRef","editor","isSelected","setSelected","clearSelection","field","config","collections","routes","api","serverURL","relatedCollection","setRelatedCollection","find","coll","slug","i18n","t","cacheBust","dispatchCacheBust","state","setParams","DocumentDrawer","DocumentDrawerToggler","closeDrawer","collectionSlug","removeRelationship","update","remove","updateRelationship","doc","$onDelete","payload","event","preventDefault","node","onClick","target","current","contains","shiftKey","registerCommand","_jsxs","className","filter","Boolean","join","contentEditable","ref","_jsx","label","labels","singular","admin","useAsTitle","isEditable","buttonStyle","disabled","readOnly","el","icon","dispatchCommand","replace","round","tooltip","e","onSave","RelationshipComponent"],"sources":["../../../../../src/features/relationship/client/components/RelationshipComponent.tsx"],"sourcesContent":["'use client'\nimport type { ElementFormatType } from 'lexical'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport { useLexicalNodeSelection } from '@lexical/react/useLexicalNodeSelection.js'\nimport { mergeRegister } from '@lexical/utils'\nimport { getTranslation } from '@payloadcms/translations'\nimport { Button, useConfig, useDocumentDrawer, usePayloadAPI, useTranslation } from '@payloadcms/ui'\nimport {\n $getNodeByKey,\n $getSelection,\n $isNodeSelection,\n CLICK_COMMAND,\n COMMAND_PRIORITY_LOW,\n KEY_BACKSPACE_COMMAND,\n KEY_DELETE_COMMAND,\n} from 'lexical'\nimport React, { useCallback, useEffect, useReducer, useRef, useState } from 'react'\n\nimport type { RelationshipData } from '../../server/nodes/RelationshipNode.js'\n\nimport { useEditorConfigContext } from '../../../../lexical/config/client/EditorConfigProvider.js'\nimport { INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND } from '../drawer/commands.js'\nimport { $isRelationshipNode } from '../nodes/RelationshipNode.js'\nimport './index.scss'\n\nconst baseClass = 'lexical-relationship'\n\nconst initialParams = {\n depth: 0,\n}\n\ntype Props = {\n className?: string\n data: RelationshipData\n format?: ElementFormatType\n nodeKey?: string\n}\n\nconst Component: React.FC<Props> = (props) => {\n const {\n data: { relationTo, value: id },\n nodeKey,\n } = props\n\n const relationshipElemRef = useRef<HTMLDivElement | null>(null)\n\n const [editor] = useLexicalComposerContext()\n const [isSelected, setSelected, clearSelection] = useLexicalNodeSelection(nodeKey)\n const { field } = useEditorConfigContext()\n const {\n config: {\n collections,\n routes: { api },\n serverURL,\n },\n } = useConfig()\n\n const [relatedCollection, setRelatedCollection] = useState(() =>\n collections.find((coll) => coll.slug === relationTo),\n )\n\n const { i18n, t } = useTranslation()\n const [cacheBust, dispatchCacheBust] = useReducer((state) => state + 1, 0)\n const [{ data }, { setParams }] = usePayloadAPI(\n `${serverURL}${api}/${relatedCollection.slug}/${id}`,\n { initialParams },\n )\n\n const [DocumentDrawer, DocumentDrawerToggler, { closeDrawer }] = useDocumentDrawer({\n id,\n collectionSlug: relatedCollection.slug,\n })\n\n const removeRelationship = useCallback(() => {\n editor.update(() => {\n $getNodeByKey(nodeKey).remove()\n })\n }, [editor, nodeKey])\n\n const updateRelationship = React.useCallback(\n ({ doc }) => {\n setParams({\n ...initialParams,\n cacheBust, // do this to get the usePayloadAPI to re-fetch the data even though the URL string hasn't changed\n })\n\n closeDrawer()\n dispatchCacheBust()\n },\n [cacheBust, setParams, closeDrawer],\n )\n\n const $onDelete = useCallback(\n (payload: KeyboardEvent) => {\n if (isSelected && $isNodeSelection($getSelection())) {\n const event: KeyboardEvent = payload\n event.preventDefault()\n const node = $getNodeByKey(nodeKey)\n if ($isRelationshipNode(node)) {\n node.remove()\n return true\n }\n }\n return false\n },\n [isSelected, nodeKey],\n )\n const onClick = useCallback(\n (payload: MouseEvent) => {\n const event = payload\n // Check if relationshipElemRef.target or anything WITHIN relationshipElemRef.target was clicked\n if (\n event.target === relationshipElemRef.current ||\n relationshipElemRef.current?.contains(event.target as Node)\n ) {\n if (event.shiftKey) {\n setSelected(!isSelected)\n } else {\n if (!isSelected) {\n clearSelection()\n setSelected(true)\n }\n }\n return true\n }\n\n return false\n },\n [isSelected, setSelected, clearSelection],\n )\n\n useEffect(() => {\n return mergeRegister(\n editor.registerCommand<MouseEvent>(CLICK_COMMAND, onClick, COMMAND_PRIORITY_LOW),\n\n editor.registerCommand(KEY_DELETE_COMMAND, $onDelete, COMMAND_PRIORITY_LOW),\n editor.registerCommand(KEY_BACKSPACE_COMMAND, $onDelete, COMMAND_PRIORITY_LOW),\n )\n }, [clearSelection, editor, isSelected, nodeKey, $onDelete, setSelected, onClick])\n\n return (\n <div\n className={[baseClass, isSelected && `${baseClass}--selected`].filter(Boolean).join(' ')}\n contentEditable={false}\n ref={relationshipElemRef}\n >\n <div className={`${baseClass}__wrap`}>\n <p className={`${baseClass}__label`}>\n {t('fields:labelRelationship', {\n label: getTranslation(relatedCollection.labels.singular, i18n),\n })}\n </p>\n <DocumentDrawerToggler className={`${baseClass}__doc-drawer-toggler`}>\n <p className={`${baseClass}__title`}>\n {data ? data[relatedCollection?.admin?.useAsTitle || 'id'] : id}\n </p>\n </DocumentDrawerToggler>\n </div>\n {editor.isEditable() && (\n <div className={`${baseClass}__actions`}>\n <Button\n buttonStyle=\"icon-label\"\n className={`${baseClass}__swapButton`}\n disabled={field?.admin?.readOnly}\n el=\"div\"\n icon=\"swap\"\n onClick={() => {\n editor.dispatchCommand(INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND, {\n replace: { nodeKey },\n })\n }}\n round\n tooltip={t('fields:swapRelationship')}\n />\n <Button\n buttonStyle=\"icon-label\"\n className={`${baseClass}__removeButton`}\n disabled={field?.admin?.readOnly}\n icon=\"x\"\n onClick={(e) => {\n e.preventDefault()\n removeRelationship()\n }}\n round\n tooltip={t('fields:removeRelationship')}\n />\n </div>\n )}\n\n {id && <DocumentDrawer onSave={updateRelationship} />}\n </div>\n )\n}\n\nexport const RelationshipComponent = (props: Props): React.ReactNode => {\n return <Component {...props} />\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../../src/features/relationship/client/drawer/commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAI7C,eAAO,MAAM,uCAAuC,EAAE,cAAc,CAAC;IACnE,OAAO,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,GAAG,KAAK,CAAA;CACrC,CAA4D,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { createCommand } from 'lexical';
2
+ export const INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND = createCommand('INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND');
3
+ //# sourceMappingURL=commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commands.js","names":["createCommand","INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND"],"sources":["../../../../../src/features/relationship/client/drawer/commands.ts"],"sourcesContent":["import type { LexicalCommand } from 'lexical'\n\nimport { createCommand } from 'lexical'\n\nexport const INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND: LexicalCommand<{\n replace: { nodeKey: string } | false\n}> = createCommand('INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND')\n"],"mappings":"AAEA,SAASA,aAAa,QAAQ;AAE9B,OAAO,MAAMC,uCAAA,GAERD,aAAA,CAAc","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/relationship/client/drawer/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA2C,MAAM,OAAO,CAAA;AAiC/D,KAAK,KAAK,GAAG;IACX,sBAAsB,EAAE,IAAI,GAAG,MAAM,EAAE,CAAA;CACxC,CAAA;AAkDD,eAAO,MAAM,kBAAkB,UAAW,KAAK,KAAG,KAAK,CAAC,SAQvD,CAAA"}
@@ -0,0 +1,154 @@
1
+ 'use client';
2
+
3
+ import { c as _c } from "react/compiler-runtime";
4
+ import { jsx as _jsx } from "react/jsx-runtime";
5
+ import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js';
6
+ import { useListDrawer } from '@payloadcms/ui';
7
+ import { $getNodeByKey, COMMAND_PRIORITY_EDITOR } from 'lexical';
8
+ import React, { useCallback, useEffect, useState } from 'react';
9
+ import { $createRelationshipNode } from '../nodes/RelationshipNode.js';
10
+ import { INSERT_RELATIONSHIP_COMMAND } from '../plugins/index.js';
11
+ import { EnabledRelationshipsCondition } from '../utils/EnabledRelationshipsCondition.js';
12
+ import { INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND } from './commands.js';
13
+ const insertRelationship = ({
14
+ editor,
15
+ relationTo,
16
+ replaceNodeKey,
17
+ value
18
+ }) => {
19
+ if (!replaceNodeKey) {
20
+ editor.dispatchCommand(INSERT_RELATIONSHIP_COMMAND, {
21
+ relationTo,
22
+ value
23
+ });
24
+ } else {
25
+ editor.update(() => {
26
+ const node = $getNodeByKey(replaceNodeKey);
27
+ if (node) {
28
+ node.replace($createRelationshipNode({
29
+ relationTo,
30
+ value
31
+ }));
32
+ }
33
+ });
34
+ }
35
+ };
36
+ const RelationshipDrawerComponent = t0 => {
37
+ const $ = _c(21);
38
+ const {
39
+ enabledCollectionSlugs
40
+ } = t0;
41
+ const [editor] = useLexicalComposerContext();
42
+ let t1;
43
+ if ($[0] !== enabledCollectionSlugs) {
44
+ t1 = () => enabledCollectionSlugs[0];
45
+ $[0] = enabledCollectionSlugs;
46
+ $[1] = t1;
47
+ } else {
48
+ t1 = $[1];
49
+ }
50
+ const [selectedCollectionSlug, setSelectedCollectionSlug] = useState(t1);
51
+ const [replaceNodeKey, setReplaceNodeKey] = useState(null);
52
+ let t2;
53
+ if ($[2] !== enabledCollectionSlugs || $[3] !== selectedCollectionSlug) {
54
+ t2 = {
55
+ collectionSlugs: enabledCollectionSlugs,
56
+ selectedCollection: selectedCollectionSlug
57
+ };
58
+ $[2] = enabledCollectionSlugs;
59
+ $[3] = selectedCollectionSlug;
60
+ $[4] = t2;
61
+ } else {
62
+ t2 = $[4];
63
+ }
64
+ const [ListDrawer, ListDrawerToggler, t3] = useListDrawer(t2);
65
+ const {
66
+ closeDrawer,
67
+ isDrawerOpen,
68
+ openDrawer
69
+ } = t3;
70
+ let t4;
71
+ let t5;
72
+ if ($[5] !== editor || $[6] !== openDrawer) {
73
+ t4 = () => editor.registerCommand(INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND, payload => {
74
+ setReplaceNodeKey(payload?.replace ? payload?.replace.nodeKey : null);
75
+ openDrawer();
76
+ return true;
77
+ }, COMMAND_PRIORITY_EDITOR);
78
+ t5 = [editor, openDrawer];
79
+ $[5] = editor;
80
+ $[6] = openDrawer;
81
+ $[7] = t4;
82
+ $[8] = t5;
83
+ } else {
84
+ t4 = $[7];
85
+ t5 = $[8];
86
+ }
87
+ useEffect(t4, t5);
88
+ let t6;
89
+ if ($[9] !== editor || $[10] !== replaceNodeKey || $[11] !== closeDrawer) {
90
+ t6 = t7 => {
91
+ const {
92
+ collectionSlug,
93
+ docID
94
+ } = t7;
95
+ insertRelationship({
96
+ editor,
97
+ relationTo: collectionSlug,
98
+ replaceNodeKey,
99
+ value: docID
100
+ });
101
+ closeDrawer();
102
+ };
103
+ $[9] = editor;
104
+ $[10] = replaceNodeKey;
105
+ $[11] = closeDrawer;
106
+ $[12] = t6;
107
+ } else {
108
+ t6 = $[12];
109
+ }
110
+ const onSelect = t6;
111
+ let t7;
112
+ if ($[13] !== enabledCollectionSlugs) {
113
+ t7 = () => {
114
+ setSelectedCollectionSlug(enabledCollectionSlugs[0]);
115
+ };
116
+ $[13] = enabledCollectionSlugs;
117
+ $[14] = t7;
118
+ } else {
119
+ t7 = $[14];
120
+ }
121
+ let t8;
122
+ if ($[15] !== isDrawerOpen || $[16] !== enabledCollectionSlugs) {
123
+ t8 = [isDrawerOpen, enabledCollectionSlugs];
124
+ $[15] = isDrawerOpen;
125
+ $[16] = enabledCollectionSlugs;
126
+ $[17] = t8;
127
+ } else {
128
+ t8 = $[17];
129
+ }
130
+ useEffect(t7, t8);
131
+ let t9;
132
+ if ($[18] !== onSelect || $[19] !== ListDrawer) {
133
+ t9 = _jsx(ListDrawer, {
134
+ onSelect
135
+ });
136
+ $[18] = onSelect;
137
+ $[19] = ListDrawer;
138
+ $[20] = t9;
139
+ } else {
140
+ t9 = $[20];
141
+ }
142
+ return t9;
143
+ };
144
+ export const RelationshipDrawer = props => {
145
+ return props?.enabledCollectionSlugs?.length > 0 ? /*#__PURE__*/_jsx(RelationshipDrawerComponent, {
146
+ ...props
147
+ }) : /*#__PURE__*/_jsx(EnabledRelationshipsCondition, {
148
+ ...props,
149
+ children: /*#__PURE__*/_jsx(RelationshipDrawerComponent, {
150
+ ...props
151
+ })
152
+ });
153
+ };
154
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["c","_c","useLexicalComposerContext","useListDrawer","$getNodeByKey","COMMAND_PRIORITY_EDITOR","React","useCallback","useEffect","useState","$createRelationshipNode","INSERT_RELATIONSHIP_COMMAND","EnabledRelationshipsCondition","INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND","insertRelationship","editor","relationTo","replaceNodeKey","value","dispatchCommand","update","node","replace","RelationshipDrawerComponent","t0","$","enabledCollectionSlugs","t1","selectedCollectionSlug","setSelectedCollectionSlug","setReplaceNodeKey","t2","collectionSlugs","selectedCollection","ListDrawer","ListDrawerToggler","t3","closeDrawer","isDrawerOpen","openDrawer","t4","t5","registerCommand","payload","nodeKey","t6","t7","collectionSlug","docID","onSelect","t8","t9","_jsx","RelationshipDrawer","props","length"],"sources":["../../../../../src/features/relationship/client/drawer/index.tsx"],"sourcesContent":["'use client'\nimport type { LexicalEditor } from 'lexical'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport { useListDrawer } from '@payloadcms/ui'\nimport { $getNodeByKey, COMMAND_PRIORITY_EDITOR } from 'lexical'\nimport React, { useCallback, useEffect, useState } from 'react'\n\nimport { $createRelationshipNode } from '../nodes/RelationshipNode.js'\nimport { INSERT_RELATIONSHIP_COMMAND } from '../plugins/index.js'\nimport { EnabledRelationshipsCondition } from '../utils/EnabledRelationshipsCondition.js'\nimport { INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND } from './commands.js'\n\nconst insertRelationship = ({\n editor,\n relationTo,\n replaceNodeKey,\n value,\n}: {\n editor: LexicalEditor\n relationTo: string\n replaceNodeKey: null | string\n value: number | string\n}) => {\n if (!replaceNodeKey) {\n editor.dispatchCommand(INSERT_RELATIONSHIP_COMMAND, {\n relationTo,\n value,\n })\n } else {\n editor.update(() => {\n const node = $getNodeByKey(replaceNodeKey)\n if (node) {\n node.replace($createRelationshipNode({ relationTo, value }))\n }\n })\n }\n}\n\ntype Props = {\n enabledCollectionSlugs: null | string[]\n}\n\nconst RelationshipDrawerComponent: React.FC<Props> = ({ enabledCollectionSlugs }) => {\n const [editor] = useLexicalComposerContext()\n const [selectedCollectionSlug, setSelectedCollectionSlug] = useState(\n () => enabledCollectionSlugs[0],\n )\n const [replaceNodeKey, setReplaceNodeKey] = useState<null | string>(null)\n\n const [ListDrawer, ListDrawerToggler, { closeDrawer, isDrawerOpen, openDrawer }] = useListDrawer({\n collectionSlugs: enabledCollectionSlugs,\n selectedCollection: selectedCollectionSlug,\n })\n\n useEffect(() => {\n return editor.registerCommand<{\n replace: { nodeKey: string } | false\n }>(\n INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND,\n (payload) => {\n setReplaceNodeKey(payload?.replace ? payload?.replace.nodeKey : null)\n openDrawer()\n return true\n },\n COMMAND_PRIORITY_EDITOR,\n )\n }, [editor, openDrawer])\n\n const onSelect = useCallback(\n ({ collectionSlug, docID }) => {\n insertRelationship({\n editor,\n relationTo: collectionSlug,\n replaceNodeKey,\n value: docID,\n })\n closeDrawer()\n },\n [editor, closeDrawer, replaceNodeKey],\n )\n\n useEffect(() => {\n // always reset back to first option\n // TODO: this is not working, see the ListDrawer component\n setSelectedCollectionSlug(enabledCollectionSlugs[0])\n }, [isDrawerOpen, enabledCollectionSlugs])\n\n return <ListDrawer onSelect={onSelect} />\n}\n\nexport const RelationshipDrawer = (props: Props): React.ReactNode => {\n return props?.enabledCollectionSlugs?.length > 0 ? ( // If enabledCollectionSlugs it overrides what EnabledRelationshipsCondition is doing\n <RelationshipDrawerComponent {...props} />\n ) : (\n <EnabledRelationshipsCondition {...props}>\n <RelationshipDrawerComponent {...props} />\n </EnabledRelationshipsCondition>\n )\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,18 @@
1
+ export declare const RelationshipFeatureClient: import("react").FC<({
2
+ featureKey: string;
3
+ order: number;
4
+ } & {
5
+ maxDepth?: number;
6
+ } & {
7
+ disabledCollections?: import("packages/payload/src/index.js").CollectionSlug[];
8
+ enabledCollections?: never;
9
+ }) | ({
10
+ featureKey: string;
11
+ order: number;
12
+ } & {
13
+ maxDepth?: number;
14
+ } & {
15
+ disabledCollections?: never;
16
+ enabledCollections?: import("packages/payload/src/index.js").CollectionSlug[];
17
+ })>;
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/relationship/client/index.tsx"],"names":[],"mappings":"AAcA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;GAuDpC,CAAA"}
@@ -0,0 +1,66 @@
1
+ 'use client';
2
+
3
+ import { $isNodeSelection } from 'lexical';
4
+ import { RelationshipIcon } from '../../../lexical/ui/icons/Relationship/index.js';
5
+ import { createClientFeature } from '../../../utilities/createClientFeature.js';
6
+ import { slashMenuBasicGroupWithItems } from '../../shared/slashMenu/basicGroup.js';
7
+ import { toolbarAddDropdownGroupWithItems } from '../../shared/toolbar/addDropdownGroup.js';
8
+ import { INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND } from './drawer/commands.js';
9
+ import { $isRelationshipNode, RelationshipNode } from './nodes/RelationshipNode.js';
10
+ import { RelationshipPlugin } from './plugins/index.js';
11
+ export const RelationshipFeatureClient = createClientFeature({
12
+ nodes: [RelationshipNode],
13
+ plugins: [{
14
+ Component: RelationshipPlugin,
15
+ position: 'normal'
16
+ }],
17
+ slashMenu: {
18
+ groups: [slashMenuBasicGroupWithItems([{
19
+ Icon: RelationshipIcon,
20
+ key: 'relationship',
21
+ keywords: ['relationship', 'relation', 'rel'],
22
+ label: ({
23
+ i18n
24
+ }) => {
25
+ return i18n.t('lexical:relationship:label');
26
+ },
27
+ onSelect: ({
28
+ editor
29
+ }) => {
30
+ // dispatch INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND
31
+ editor.dispatchCommand(INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND, {
32
+ replace: false
33
+ });
34
+ }
35
+ }])]
36
+ },
37
+ toolbarFixed: {
38
+ groups: [toolbarAddDropdownGroupWithItems([{
39
+ ChildComponent: RelationshipIcon,
40
+ isActive: ({
41
+ selection
42
+ }) => {
43
+ if (!$isNodeSelection(selection) || !selection.getNodes().length) {
44
+ return false;
45
+ }
46
+ const firstNode = selection.getNodes()[0];
47
+ return $isRelationshipNode(firstNode);
48
+ },
49
+ key: 'relationship',
50
+ label: ({
51
+ i18n
52
+ }) => {
53
+ return i18n.t('lexical:relationship:label');
54
+ },
55
+ onSelect: ({
56
+ editor
57
+ }) => {
58
+ // dispatch INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND
59
+ editor.dispatchCommand(INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND, {
60
+ replace: false
61
+ });
62
+ }
63
+ }])]
64
+ }
65
+ });
66
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["$isNodeSelection","RelationshipIcon","createClientFeature","slashMenuBasicGroupWithItems","toolbarAddDropdownGroupWithItems","INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND","$isRelationshipNode","RelationshipNode","RelationshipPlugin","RelationshipFeatureClient","nodes","plugins","Component","position","slashMenu","groups","Icon","key","keywords","label","i18n","t","onSelect","editor","dispatchCommand","replace","toolbarFixed","ChildComponent","isActive","selection","getNodes","length","firstNode"],"sources":["../../../../src/features/relationship/client/index.tsx"],"sourcesContent":["'use client'\n\nimport { $isNodeSelection } from 'lexical'\n\nimport type { RelationshipFeatureProps } from '../server/index.js'\n\nimport { RelationshipIcon } from '../../../lexical/ui/icons/Relationship/index.js'\nimport { createClientFeature } from '../../../utilities/createClientFeature.js'\nimport { slashMenuBasicGroupWithItems } from '../../shared/slashMenu/basicGroup.js'\nimport { toolbarAddDropdownGroupWithItems } from '../../shared/toolbar/addDropdownGroup.js'\nimport { INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND } from './drawer/commands.js'\nimport { $isRelationshipNode, RelationshipNode } from './nodes/RelationshipNode.js'\nimport { RelationshipPlugin } from './plugins/index.js'\n\nexport const RelationshipFeatureClient = createClientFeature<RelationshipFeatureProps>({\n nodes: [RelationshipNode],\n plugins: [\n {\n Component: RelationshipPlugin,\n position: 'normal',\n },\n ],\n slashMenu: {\n groups: [\n slashMenuBasicGroupWithItems([\n {\n Icon: RelationshipIcon,\n key: 'relationship',\n keywords: ['relationship', 'relation', 'rel'],\n label: ({ i18n }) => {\n return i18n.t('lexical:relationship:label')\n },\n onSelect: ({ editor }) => {\n // dispatch INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND\n editor.dispatchCommand(INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND, {\n replace: false,\n })\n },\n },\n ]),\n ],\n },\n toolbarFixed: {\n groups: [\n toolbarAddDropdownGroupWithItems([\n {\n ChildComponent: RelationshipIcon,\n isActive: ({ selection }) => {\n if (!$isNodeSelection(selection) || !selection.getNodes().length) {\n return false\n }\n\n const firstNode = selection.getNodes()[0]\n return $isRelationshipNode(firstNode)\n },\n key: 'relationship',\n label: ({ i18n }) => {\n return i18n.t('lexical:relationship:label')\n },\n onSelect: ({ editor }) => {\n // dispatch INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND\n editor.dispatchCommand(INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND, {\n replace: false,\n })\n },\n },\n ]),\n ],\n },\n})\n"],"mappings":"AAAA;;AAEA,SAASA,gBAAgB,QAAQ;AAIjC,SAASC,gBAAgB,QAAQ;AACjC,SAASC,mBAAmB,QAAQ;AACpC,SAASC,4BAA4B,QAAQ;AAC7C,SAASC,gCAAgC,QAAQ;AACjD,SAASC,uCAAuC,QAAQ;AACxD,SAASC,mBAAmB,EAAEC,gBAAgB,QAAQ;AACtD,SAASC,kBAAkB,QAAQ;AAEnC,OAAO,MAAMC,yBAAA,GAA4BP,mBAAA,CAA8C;EACrFQ,KAAA,EAAO,CAACH,gBAAA,CAAiB;EACzBI,OAAA,EAAS,CACP;IACEC,SAAA,EAAWJ,kBAAA;IACXK,QAAA,EAAU;EACZ,EACD;EACDC,SAAA,EAAW;IACTC,MAAA,EAAQ,CACNZ,4BAAA,CAA6B,CAC3B;MACEa,IAAA,EAAMf,gBAAA;MACNgB,GAAA,EAAK;MACLC,QAAA,EAAU,CAAC,gBAAgB,YAAY,MAAM;MAC7CC,KAAA,EAAOA,CAAC;QAAEC;MAAI,CAAE;QACd,OAAOA,IAAA,CAAKC,CAAC,CAAC;MAChB;MACAC,QAAA,EAAUA,CAAC;QAAEC;MAAM,CAAE;QACnB;QACAA,MAAA,CAAOC,eAAe,CAACnB,uCAAA,EAAyC;UAC9DoB,OAAA,EAAS;QACX;MACF;IACF,EACD;EAEL;EACAC,YAAA,EAAc;IACZX,MAAA,EAAQ,CACNX,gCAAA,CAAiC,CAC/B;MACEuB,cAAA,EAAgB1B,gBAAA;MAChB2B,QAAA,EAAUA,CAAC;QAAEC;MAAS,CAAE;QACtB,IAAI,CAAC7B,gBAAA,CAAiB6B,SAAA,KAAc,CAACA,SAAA,CAAUC,QAAQ,GAAGC,MAAM,EAAE;UAChE,OAAO;QACT;QAEA,MAAMC,SAAA,GAAYH,SAAA,CAAUC,QAAQ,EAAE,CAAC,EAAE;QACzC,OAAOxB,mBAAA,CAAoB0B,SAAA;MAC7B;MACAf,GAAA,EAAK;MACLE,KAAA,EAAOA,CAAC;QAAEC;MAAI,CAAE;QACd,OAAOA,IAAA,CAAKC,CAAC,CAAC;MAChB;MACAC,QAAA,EAAUA,CAAC;QAAEC;MAAM,CAAE;QACnB;QACAA,MAAA,CAAOC,eAAe,CAACnB,uCAAA,EAAyC;UAC9DoB,OAAA,EAAS;QACX;MACF;IACF,EACD;EAEL;AACF","ignoreList":[]}
@@ -0,0 +1,15 @@
1
+ import type { DOMConversionMap, EditorConfig, LexicalEditor, LexicalNode } from 'lexical';
2
+ import type { JSX } from 'react';
3
+ import type { RelationshipData, SerializedRelationshipNode } from '../../server/nodes/RelationshipNode.js';
4
+ import { RelationshipServerNode } from '../../server/nodes/RelationshipNode.js';
5
+ export declare class RelationshipNode extends RelationshipServerNode {
6
+ static clone(node: RelationshipServerNode): RelationshipServerNode;
7
+ static getType(): string;
8
+ static importDOM(): DOMConversionMap<HTMLDivElement> | null;
9
+ static importJSON(serializedNode: SerializedRelationshipNode): RelationshipNode;
10
+ decorate(editor: LexicalEditor, config: EditorConfig): JSX.Element;
11
+ exportJSON(): SerializedRelationshipNode;
12
+ }
13
+ export declare function $createRelationshipNode(data: RelationshipData): RelationshipNode;
14
+ export declare function $isRelationshipNode(node: LexicalNode | RelationshipNode | null | undefined): node is RelationshipNode;
15
+ //# sourceMappingURL=RelationshipNode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RelationshipNode.d.ts","sourceRoot":"","sources":["../../../../../src/features/relationship/client/nodes/RelationshipNode.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,gBAAgB,EAEhB,YAAY,EACZ,aAAa,EACb,WAAW,EACZ,MAAM,SAAS,CAAA;AAChB,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAIhC,OAAO,KAAK,EACV,gBAAgB,EAChB,0BAA0B,EAC3B,MAAM,wCAAwC,CAAA;AAE/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAA;AAsB/E,qBAAa,gBAAiB,SAAQ,sBAAsB;IAC1D,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,sBAAsB,GAAG,sBAAsB;IAIlE,MAAM,CAAC,OAAO,IAAI,MAAM;IAIxB,MAAM,CAAC,SAAS,IAAI,gBAAgB,CAAC,cAAc,CAAC,GAAG,IAAI;IAiB3D,MAAM,CAAC,UAAU,CAAC,cAAc,EAAE,0BAA0B,GAAG,gBAAgB;IAc/E,QAAQ,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO;IAWlE,UAAU,IAAI,0BAA0B;CAGzC;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,gBAAgB,GAAG,gBAAgB,CAIhF;AAED,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,WAAW,GAAG,gBAAgB,GAAG,IAAI,GAAG,SAAS,GACtD,IAAI,IAAI,gBAAgB,CAE1B"}
@@ -0,0 +1,75 @@
1
+ 'use client';
2
+
3
+ import { jsx as _jsx } from "react/jsx-runtime";
4
+ import * as React from 'react';
5
+ import { RelationshipServerNode } from '../../server/nodes/RelationshipNode.js';
6
+ const RelationshipComponent = /*#__PURE__*/React.lazy(() => import('../components/RelationshipComponent.js').then(module => ({
7
+ default: module.RelationshipComponent
8
+ })));
9
+ function $relationshipElementToNode(domNode) {
10
+ const id = domNode.getAttribute('data-lexical-relationship-id');
11
+ const relationTo = domNode.getAttribute('data-lexical-relationship-relationTo');
12
+ if (id != null && relationTo != null) {
13
+ const node = $createRelationshipNode({
14
+ relationTo,
15
+ value: id
16
+ });
17
+ return {
18
+ node
19
+ };
20
+ }
21
+ return null;
22
+ }
23
+ export class RelationshipNode extends RelationshipServerNode {
24
+ static clone(node) {
25
+ return super.clone(node);
26
+ }
27
+ static getType() {
28
+ return super.getType();
29
+ }
30
+ static importDOM() {
31
+ return {
32
+ div: domNode => {
33
+ if (!domNode.hasAttribute('data-lexical-relationship-relationTo') || !domNode.hasAttribute('data-lexical-relationship-id')) {
34
+ return null;
35
+ }
36
+ return {
37
+ conversion: $relationshipElementToNode,
38
+ priority: 2
39
+ };
40
+ }
41
+ };
42
+ }
43
+ static importJSON(serializedNode) {
44
+ if (serializedNode.version === 1 && serializedNode?.value?.id) {
45
+ serializedNode.value = serializedNode.value.id;
46
+ }
47
+ const importedData = {
48
+ relationTo: serializedNode.relationTo,
49
+ value: serializedNode.value
50
+ };
51
+ const node = $createRelationshipNode(importedData);
52
+ node.setFormat(serializedNode.format);
53
+ return node;
54
+ }
55
+ decorate(editor, config) {
56
+ return /*#__PURE__*/_jsx(RelationshipComponent, {
57
+ className: config.theme.relationship ?? 'LexicalEditorTheme__relationship',
58
+ data: this.__data,
59
+ format: this.__format,
60
+ nodeKey: this.getKey()
61
+ });
62
+ }
63
+ exportJSON() {
64
+ return super.exportJSON();
65
+ }
66
+ }
67
+ export function $createRelationshipNode(data) {
68
+ return new RelationshipNode({
69
+ data
70
+ });
71
+ }
72
+ export function $isRelationshipNode(node) {
73
+ return node instanceof RelationshipNode;
74
+ }
75
+ //# sourceMappingURL=RelationshipNode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RelationshipNode.js","names":["React","RelationshipServerNode","RelationshipComponent","lazy","then","module","default","$relationshipElementToNode","domNode","id","getAttribute","relationTo","node","$createRelationshipNode","value","RelationshipNode","clone","getType","importDOM","div","hasAttribute","conversion","priority","importJSON","serializedNode","version","importedData","setFormat","format","decorate","editor","config","_jsx","className","theme","relationship","data","__data","__format","nodeKey","getKey","exportJSON","$isRelationshipNode"],"sources":["../../../../../src/features/relationship/client/nodes/RelationshipNode.tsx"],"sourcesContent":["'use client'\nimport type {\n DOMConversionMap,\n DOMConversionOutput,\n EditorConfig,\n LexicalEditor,\n LexicalNode,\n} from 'lexical'\nimport type { JSX } from 'react'\n\nimport * as React from 'react'\n\nimport type {\n RelationshipData,\n SerializedRelationshipNode,\n} from '../../server/nodes/RelationshipNode.js'\n\nimport { RelationshipServerNode } from '../../server/nodes/RelationshipNode.js'\n\nconst RelationshipComponent = React.lazy(() =>\n import('../components/RelationshipComponent.js').then((module) => ({\n default: module.RelationshipComponent,\n })),\n)\n\nfunction $relationshipElementToNode(domNode: HTMLDivElement): DOMConversionOutput | null {\n const id = domNode.getAttribute('data-lexical-relationship-id')\n const relationTo = domNode.getAttribute('data-lexical-relationship-relationTo')\n\n if (id != null && relationTo != null) {\n const node = $createRelationshipNode({\n relationTo,\n value: id,\n })\n return { node }\n }\n return null\n}\n\nexport class RelationshipNode extends RelationshipServerNode {\n static clone(node: RelationshipServerNode): RelationshipServerNode {\n return super.clone(node)\n }\n\n static getType(): string {\n return super.getType()\n }\n\n static importDOM(): DOMConversionMap<HTMLDivElement> | null {\n return {\n div: (domNode: HTMLDivElement) => {\n if (\n !domNode.hasAttribute('data-lexical-relationship-relationTo') ||\n !domNode.hasAttribute('data-lexical-relationship-id')\n ) {\n return null\n }\n return {\n conversion: $relationshipElementToNode,\n priority: 2,\n }\n },\n }\n }\n\n static importJSON(serializedNode: SerializedRelationshipNode): RelationshipNode {\n if (serializedNode.version === 1 && (serializedNode?.value as unknown as { id: string })?.id) {\n serializedNode.value = (serializedNode.value as unknown as { id: string }).id\n }\n\n const importedData: RelationshipData = {\n relationTo: serializedNode.relationTo,\n value: serializedNode.value,\n }\n const node = $createRelationshipNode(importedData)\n node.setFormat(serializedNode.format)\n return node\n }\n\n decorate(editor: LexicalEditor, config: EditorConfig): JSX.Element {\n return (\n <RelationshipComponent\n className={config.theme.relationship ?? 'LexicalEditorTheme__relationship'}\n data={this.__data}\n format={this.__format}\n nodeKey={this.getKey()}\n />\n )\n }\n\n exportJSON(): SerializedRelationshipNode {\n return super.exportJSON()\n }\n}\n\nexport function $createRelationshipNode(data: RelationshipData): RelationshipNode {\n return new RelationshipNode({\n data,\n })\n}\n\nexport function $isRelationshipNode(\n node: LexicalNode | RelationshipNode | null | undefined,\n): node is RelationshipNode {\n return node instanceof RelationshipNode\n}\n"],"mappings":"AAAA;;;AAUA,YAAYA,KAAA,MAAW;AAOvB,SAASC,sBAAsB,QAAQ;AAEvC,MAAMC,qBAAA,gBAAwBF,KAAA,CAAMG,IAAI,CAAC,MACvC,MAAM,CAAC,0CAA0CC,IAAI,CAAEC,MAAA,KAAY;EACjEC,OAAA,EAASD,MAAA,CAAOH;AAClB;AAGF,SAASK,2BAA2BC,OAAuB;EACzD,MAAMC,EAAA,GAAKD,OAAA,CAAQE,YAAY,CAAC;EAChC,MAAMC,UAAA,GAAaH,OAAA,CAAQE,YAAY,CAAC;EAExC,IAAID,EAAA,IAAM,QAAQE,UAAA,IAAc,MAAM;IACpC,MAAMC,IAAA,GAAOC,uBAAA,CAAwB;MACnCF,UAAA;MACAG,KAAA,EAAOL;IACT;IACA,OAAO;MAAEG;IAAK;EAChB;EACA,OAAO;AACT;AAEA,OAAO,MAAMG,gBAAA,SAAyBd,sBAAA;EACpC,OAAOe,MAAMJ,IAA4B,EAA0B;IACjE,OAAO,KAAK,CAACI,KAAA,CAAMJ,IAAA;EACrB;EAEA,OAAOK,QAAA,EAAkB;IACvB,OAAO,KAAK,CAACA,OAAA;EACf;EAEA,OAAOC,UAAA,EAAqD;IAC1D,OAAO;MACLC,GAAA,EAAMX,OAAA;QACJ,IACE,CAACA,OAAA,CAAQY,YAAY,CAAC,2CACtB,CAACZ,OAAA,CAAQY,YAAY,CAAC,iCACtB;UACA,OAAO;QACT;QACA,OAAO;UACLC,UAAA,EAAYd,0BAAA;UACZe,QAAA,EAAU;QACZ;MACF;IACF;EACF;EAEA,OAAOC,WAAWC,cAA0C,EAAoB;IAC9E,IAAIA,cAAA,CAAeC,OAAO,KAAK,KAAMD,cAAA,EAAgBV,KAAA,EAAqCL,EAAA,EAAI;MAC5Fe,cAAA,CAAeV,KAAK,GAAGU,cAAC,CAAeV,KAAK,CAA+BL,EAAE;IAC/E;IAEA,MAAMiB,YAAA,GAAiC;MACrCf,UAAA,EAAYa,cAAA,CAAeb,UAAU;MACrCG,KAAA,EAAOU,cAAA,CAAeV;IACxB;IACA,MAAMF,IAAA,GAAOC,uBAAA,CAAwBa,YAAA;IACrCd,IAAA,CAAKe,SAAS,CAACH,cAAA,CAAeI,MAAM;IACpC,OAAOhB,IAAA;EACT;EAEAiB,SAASC,MAAqB,EAAEC,MAAoB,EAAe;IACjE,oBACEC,IAAA,CAAC9B,qBAAA;MACC+B,SAAA,EAAWF,MAAA,CAAOG,KAAK,CAACC,YAAY,IAAI;MACxCC,IAAA,EAAM,IAAI,CAACC,MAAM;MACjBT,MAAA,EAAQ,IAAI,CAACU,QAAQ;MACrBC,OAAA,EAAS,IAAI,CAACC,MAAM;;EAG1B;EAEAC,WAAA,EAAyC;IACvC,OAAO,KAAK,CAACA,UAAA;EACf;AACF;AAEA,OAAO,SAAS5B,wBAAwBuB,IAAsB;EAC5D,OAAO,IAAIrB,gBAAA,CAAiB;IAC1BqB;EACF;AACF;AAEA,OAAO,SAASM,oBACd9B,IAAuD;EAEvD,OAAOA,IAAA,YAAgBG,gBAAA;AACzB","ignoreList":[]}
@@ -0,0 +1,7 @@
1
+ import type { LexicalCommand } from 'lexical';
2
+ import type { PluginComponent } from '../../../typesClient.js';
3
+ import type { RelationshipFeatureProps } from '../../server/index.js';
4
+ import type { RelationshipData } from '../../server/nodes/RelationshipNode.js';
5
+ export declare const INSERT_RELATIONSHIP_COMMAND: LexicalCommand<RelationshipData>;
6
+ export declare const RelationshipPlugin: PluginComponent<RelationshipFeatureProps>;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/relationship/client/plugins/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAe7C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAC9D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAA;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AAK9E,eAAO,MAAM,2BAA2B,EAAE,cAAc,CAAC,gBAAgB,CAExE,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,wBAAwB,CAuDxE,CAAA"}
@@ -0,0 +1,105 @@
1
+ 'use client';
2
+
3
+ import { c as _c } from "react/compiler-runtime";
4
+ import { jsx as _jsx } from "react/jsx-runtime";
5
+ import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js';
6
+ import { $insertNodeToNearestRoot } from '@lexical/utils';
7
+ import { useConfig } from '@payloadcms/ui';
8
+ import { $getPreviousSelection, $getSelection, $isParagraphNode, $isRangeSelection, COMMAND_PRIORITY_EDITOR, createCommand } from 'lexical';
9
+ import { useEffect } from 'react';
10
+ import { RelationshipDrawer } from '../drawer/index.js';
11
+ import { $createRelationshipNode, RelationshipNode } from '../nodes/RelationshipNode.js';
12
+ export const INSERT_RELATIONSHIP_COMMAND = createCommand('INSERT_RELATIONSHIP_COMMAND');
13
+ export const RelationshipPlugin = t0 => {
14
+ const $ = _c(10);
15
+ const {
16
+ clientProps
17
+ } = t0;
18
+ const [editor] = useLexicalComposerContext();
19
+ const {
20
+ config: t1
21
+ } = useConfig();
22
+ const {
23
+ collections
24
+ } = t1;
25
+ let enabledRelations = null;
26
+ if (clientProps?.enabledCollections) {
27
+ enabledRelations = clientProps?.enabledCollections;
28
+ } else {
29
+ if (clientProps?.disabledCollections) {
30
+ let t2;
31
+ if ($[0] !== clientProps || $[1] !== collections) {
32
+ let t3;
33
+ if ($[3] !== clientProps) {
34
+ t3 = t4 => {
35
+ const {
36
+ slug
37
+ } = t4;
38
+ return !clientProps?.disabledCollections?.includes(slug);
39
+ };
40
+ $[3] = clientProps;
41
+ $[4] = t3;
42
+ } else {
43
+ t3 = $[4];
44
+ }
45
+ t2 = collections.filter(t3).map(_temp);
46
+ $[0] = clientProps;
47
+ $[1] = collections;
48
+ $[2] = t2;
49
+ } else {
50
+ t2 = $[2];
51
+ }
52
+ enabledRelations = t2;
53
+ }
54
+ }
55
+ let t2;
56
+ let t3;
57
+ if ($[5] !== editor) {
58
+ t2 = () => {
59
+ if (!editor.hasNodes([RelationshipNode])) {
60
+ throw new Error("RelationshipPlugin: RelationshipNode not registered on editor");
61
+ }
62
+ return editor.registerCommand(INSERT_RELATIONSHIP_COMMAND, payload => {
63
+ const selection = $getSelection() || $getPreviousSelection();
64
+ if ($isRangeSelection(selection)) {
65
+ const relationshipNode = $createRelationshipNode(payload);
66
+ $insertNodeToNearestRoot(relationshipNode);
67
+ const {
68
+ focus
69
+ } = selection;
70
+ const focusNode = focus.getNode();
71
+ if ($isParagraphNode(focusNode) && focusNode.getTextContentSize() === 0 && focusNode.getParent().getChildren().filter(node => $isParagraphNode(node)).length > 1) {
72
+ focusNode.remove();
73
+ }
74
+ }
75
+ return true;
76
+ }, COMMAND_PRIORITY_EDITOR);
77
+ };
78
+ t3 = [editor];
79
+ $[5] = editor;
80
+ $[6] = t2;
81
+ $[7] = t3;
82
+ } else {
83
+ t2 = $[6];
84
+ t3 = $[7];
85
+ }
86
+ useEffect(t2, t3);
87
+ let t4;
88
+ if ($[8] !== enabledRelations) {
89
+ t4 = _jsx(RelationshipDrawer, {
90
+ enabledCollectionSlugs: enabledRelations
91
+ });
92
+ $[8] = enabledRelations;
93
+ $[9] = t4;
94
+ } else {
95
+ t4 = $[9];
96
+ }
97
+ return t4;
98
+ };
99
+ function _temp(t0) {
100
+ const {
101
+ slug: slug_0
102
+ } = t0;
103
+ return slug_0;
104
+ }
105
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["c","_c","useLexicalComposerContext","$insertNodeToNearestRoot","useConfig","$getPreviousSelection","$getSelection","$isParagraphNode","$isRangeSelection","COMMAND_PRIORITY_EDITOR","createCommand","useEffect","RelationshipDrawer","$createRelationshipNode","RelationshipNode","INSERT_RELATIONSHIP_COMMAND","RelationshipPlugin","t0","$","clientProps","editor","config","t1","collections","enabledRelations","enabledCollections","disabledCollections","t2","t3","t4","slug","includes","filter","map","_temp","hasNodes","Error","registerCommand","payload","selection","relationshipNode","focus","focusNode","getNode","getTextContentSize","getParent","getChildren","node","length","remove","_jsx","enabledCollectionSlugs","slug_0"],"sources":["../../../../../src/features/relationship/client/plugins/index.tsx"],"sourcesContent":["'use client'\nimport type { LexicalCommand } from 'lexical'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport { $insertNodeToNearestRoot } from '@lexical/utils'\nimport { useConfig } from '@payloadcms/ui'\nimport {\n $getPreviousSelection,\n $getSelection,\n $isParagraphNode,\n $isRangeSelection,\n COMMAND_PRIORITY_EDITOR,\n createCommand,\n} from 'lexical'\nimport { useEffect } from 'react'\n\nimport type { PluginComponent } from '../../../typesClient.js'\nimport type { RelationshipFeatureProps } from '../../server/index.js'\nimport type { RelationshipData } from '../../server/nodes/RelationshipNode.js'\n\nimport { RelationshipDrawer } from '../drawer/index.js'\nimport { $createRelationshipNode, RelationshipNode } from '../nodes/RelationshipNode.js'\n\nexport const INSERT_RELATIONSHIP_COMMAND: LexicalCommand<RelationshipData> = createCommand(\n 'INSERT_RELATIONSHIP_COMMAND',\n)\n\nexport const RelationshipPlugin: PluginComponent<RelationshipFeatureProps> = ({ clientProps }) => {\n const [editor] = useLexicalComposerContext()\n const {\n config: { collections },\n } = useConfig()\n\n let enabledRelations: string[] = null\n\n if (clientProps?.enabledCollections) {\n enabledRelations = clientProps?.enabledCollections\n } else if (clientProps?.disabledCollections) {\n enabledRelations = collections\n .filter(({ slug }) => !clientProps?.disabledCollections?.includes(slug))\n .map(({ slug }) => slug)\n }\n\n useEffect(() => {\n if (!editor.hasNodes([RelationshipNode])) {\n throw new Error('RelationshipPlugin: RelationshipNode not registered on editor')\n }\n\n return editor.registerCommand<RelationshipData>(\n INSERT_RELATIONSHIP_COMMAND,\n (payload) => {\n const selection = $getSelection() || $getPreviousSelection()\n\n if ($isRangeSelection(selection)) {\n const relationshipNode = $createRelationshipNode(payload)\n // Insert relationship node BEFORE potentially removing focusNode, as $insertNodeToNearestRoot errors if the focusNode doesn't exist\n $insertNodeToNearestRoot(relationshipNode)\n\n const { focus } = selection\n const focusNode = focus.getNode()\n\n // First, delete currently selected node if it's an empty paragraph and if there are sufficient\n // paragraph nodes (more than 1) left in the parent node, so that we don't \"trap\" the user\n if (\n $isParagraphNode(focusNode) &&\n focusNode.getTextContentSize() === 0 &&\n focusNode\n .getParent()\n .getChildren()\n .filter((node) => $isParagraphNode(node)).length > 1\n ) {\n focusNode.remove()\n }\n }\n\n return true\n },\n COMMAND_PRIORITY_EDITOR,\n )\n }, [editor])\n\n return <RelationshipDrawer enabledCollectionSlugs={enabledRelations} />\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnabledRelationshipsCondition.d.ts","sourceRoot":"","sources":["../../../../../src/features/relationship/client/utils/EnabledRelationshipsCondition.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AA2B9B,eAAO,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,GAAG,CAmBvD,CAAA"}