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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2235) hide show
  1. package/dist/cell/index.d.ts +2 -2
  2. package/dist/cell/index.d.ts.map +1 -1
  3. package/dist/cell/index.js +8 -8
  4. package/dist/cell/index.js.map +1 -1
  5. package/dist/exports/client/Component-7HS6FEJS.js +2 -0
  6. package/dist/exports/client/Component-7HS6FEJS.js.map +7 -0
  7. package/dist/exports/client/Component-LAKSCIDX.js +2 -0
  8. package/dist/exports/client/Component-LAKSCIDX.js.map +7 -0
  9. package/dist/exports/client/Field-5GGTGCKC.js +2 -0
  10. package/dist/exports/client/Field-5GGTGCKC.js.map +7 -0
  11. package/dist/exports/client/RelationshipComponent-ZR2OCBGL.js +2 -0
  12. package/dist/exports/client/RelationshipComponent-ZR2OCBGL.js.map +7 -0
  13. package/dist/exports/client/bundled.css +1 -1
  14. package/dist/exports/client/chunk-6QXGZYUK.js +2 -0
  15. package/dist/exports/client/chunk-6QXGZYUK.js.map +7 -0
  16. package/dist/exports/client/chunk-EBB2CEB6.js +2 -0
  17. package/dist/exports/client/chunk-EBB2CEB6.js.map +7 -0
  18. package/dist/exports/client/chunk-IPCJ5EVK.js +2 -0
  19. package/dist/exports/client/chunk-IPCJ5EVK.js.map +7 -0
  20. package/dist/exports/client/chunk-IWZVO3AI.js +2 -0
  21. package/dist/exports/client/chunk-IWZVO3AI.js.map +7 -0
  22. package/dist/exports/client/chunk-Q5DYR7MH.js +3 -0
  23. package/dist/exports/client/chunk-Q5DYR7MH.js.map +7 -0
  24. package/dist/exports/client/chunk-VUVXZJJR.js +2 -0
  25. package/dist/exports/client/chunk-VUVXZJJR.js.map +7 -0
  26. package/dist/exports/client/component-D4GWDXK5.js +2 -0
  27. package/dist/exports/client/component-D4GWDXK5.js.map +7 -0
  28. package/dist/exports/client/component-KA7FDRMA.js +2 -0
  29. package/dist/exports/client/component-KA7FDRMA.js.map +7 -0
  30. package/dist/exports/client/component-VM36FRT2.js +2 -0
  31. package/dist/exports/client/component-VM36FRT2.js.map +7 -0
  32. package/dist/exports/client/componentInline-6EKPZSCV.js +2 -0
  33. package/dist/exports/client/componentInline-6EKPZSCV.js.map +7 -0
  34. package/dist/exports/client/index.d.ts +60 -49
  35. package/dist/exports/client/index.d.ts.map +1 -1
  36. package/dist/exports/client/index.js +8 -6
  37. package/dist/exports/client/index.js.map +4 -4
  38. package/dist/features/align/feature.client.d.ts +5 -0
  39. package/dist/features/align/feature.client.d.ts.map +1 -0
  40. package/dist/features/align/feature.client.js +146 -0
  41. package/dist/features/align/feature.client.js.map +1 -0
  42. package/dist/features/align/feature.server.d.ts +2 -0
  43. package/dist/features/align/feature.server.d.ts.map +1 -0
  44. package/dist/features/align/feature.server.js +13 -0
  45. package/dist/features/align/feature.server.js.map +1 -0
  46. package/dist/features/align/i18n.d.ts.map +1 -0
  47. package/dist/features/align/i18n.js.map +1 -0
  48. package/dist/features/align/toolbarAlignGroup.d.ts.map +1 -0
  49. package/dist/features/align/toolbarAlignGroup.js.map +1 -0
  50. package/dist/features/blockquote/feature.client.d.ts +5 -0
  51. package/dist/features/blockquote/feature.client.d.ts.map +1 -0
  52. package/dist/features/blockquote/feature.client.js +77 -0
  53. package/dist/features/blockquote/feature.client.js.map +1 -0
  54. package/dist/features/blockquote/feature.server.d.ts +7 -0
  55. package/dist/features/blockquote/feature.server.d.ts.map +1 -0
  56. package/dist/features/blockquote/feature.server.js +48 -0
  57. package/dist/features/blockquote/feature.server.js.map +1 -0
  58. package/dist/features/blockquote/i18n.d.ts.map +1 -0
  59. package/dist/features/blockquote/i18n.js.map +1 -0
  60. package/dist/features/blockquote/markdownTransformer.d.ts.map +1 -0
  61. package/dist/features/blockquote/markdownTransformer.js.map +1 -0
  62. package/dist/features/blocks/component/BlockContent.d.ts +27 -0
  63. package/dist/features/blocks/component/BlockContent.d.ts.map +1 -0
  64. package/dist/features/blocks/component/BlockContent.js +196 -0
  65. package/dist/features/blocks/component/BlockContent.js.map +1 -0
  66. package/dist/features/blocks/component/FormSavePlugin.d.ts.map +1 -0
  67. package/dist/features/blocks/component/FormSavePlugin.js +29 -0
  68. package/dist/features/blocks/component/FormSavePlugin.js.map +1 -0
  69. package/dist/features/blocks/component/index.d.ts +11 -0
  70. package/dist/features/blocks/component/index.d.ts.map +1 -0
  71. package/dist/features/blocks/component/index.js +162 -0
  72. package/dist/features/blocks/component/index.js.map +1 -0
  73. package/dist/features/blocks/component/removeEmptyArrayValues.d.ts.map +1 -0
  74. package/dist/features/blocks/component/removeEmptyArrayValues.js.map +1 -0
  75. package/dist/features/blocks/componentInline/index.d.ts +10 -0
  76. package/dist/features/blocks/componentInline/index.d.ts.map +1 -0
  77. package/dist/features/blocks/componentInline/index.js +133 -0
  78. package/dist/features/blocks/componentInline/index.js.map +1 -0
  79. package/dist/features/blocks/feature.client.d.ts +13 -0
  80. package/dist/features/blocks/feature.client.d.ts.map +1 -0
  81. package/dist/features/blocks/feature.client.js +148 -0
  82. package/dist/features/blocks/feature.client.js.map +1 -0
  83. package/dist/features/blocks/feature.server.d.ts +8 -0
  84. package/dist/features/blocks/feature.server.d.ts.map +1 -0
  85. package/dist/features/blocks/feature.server.js +160 -0
  86. package/dist/features/blocks/feature.server.js.map +1 -0
  87. package/dist/features/blocks/graphQLPopulationPromise.d.ts +6 -0
  88. package/dist/features/blocks/graphQLPopulationPromise.d.ts.map +1 -0
  89. package/dist/features/blocks/graphQLPopulationPromise.js +31 -0
  90. package/dist/features/blocks/graphQLPopulationPromise.js.map +1 -0
  91. package/dist/features/blocks/i18n.d.ts.map +1 -0
  92. package/dist/features/blocks/i18n.js +292 -0
  93. package/dist/features/blocks/i18n.js.map +1 -0
  94. package/dist/features/blocks/nodes/BlocksNode.d.ts +38 -0
  95. package/dist/features/blocks/nodes/BlocksNode.d.ts.map +1 -0
  96. package/dist/features/blocks/nodes/BlocksNode.js +92 -0
  97. package/dist/features/blocks/nodes/BlocksNode.js.map +1 -0
  98. package/dist/features/blocks/nodes/InlineBlocksNode.d.ts +39 -0
  99. package/dist/features/blocks/nodes/InlineBlocksNode.d.ts.map +1 -0
  100. package/dist/features/blocks/nodes/InlineBlocksNode.js +94 -0
  101. package/dist/features/blocks/nodes/InlineBlocksNode.js.map +1 -0
  102. package/dist/features/blocks/plugin/commands.d.ts +9 -0
  103. package/dist/features/blocks/plugin/commands.d.ts.map +1 -0
  104. package/dist/features/blocks/plugin/commands.js +6 -0
  105. package/dist/features/blocks/plugin/commands.js.map +1 -0
  106. package/dist/features/blocks/plugin/index.d.ts +6 -0
  107. package/dist/features/blocks/plugin/index.d.ts.map +1 -0
  108. package/dist/features/blocks/plugin/index.js +111 -0
  109. package/dist/features/blocks/plugin/index.js.map +1 -0
  110. package/dist/features/blocks/validate.d.ts +6 -0
  111. package/dist/features/blocks/validate.d.ts.map +1 -0
  112. package/dist/features/blocks/validate.js +37 -0
  113. package/dist/features/blocks/validate.js.map +1 -0
  114. package/dist/features/converters/html/converter/converters/linebreak.d.ts.map +1 -0
  115. package/dist/features/converters/html/converter/converters/linebreak.js.map +1 -0
  116. package/dist/features/converters/html/converter/converters/paragraph.d.ts.map +1 -0
  117. package/dist/features/converters/html/converter/converters/paragraph.js +23 -0
  118. package/dist/features/converters/html/converter/converters/paragraph.js.map +1 -0
  119. package/dist/features/converters/html/converter/converters/text.d.ts.map +1 -0
  120. package/dist/features/converters/html/converter/converters/text.js.map +1 -0
  121. package/dist/features/converters/html/converter/defaultConverters.d.ts.map +1 -0
  122. package/dist/features/converters/html/converter/defaultConverters.js.map +1 -0
  123. package/dist/features/converters/html/converter/index.d.ts +48 -0
  124. package/dist/features/converters/html/converter/index.d.ts.map +1 -0
  125. package/dist/features/converters/html/converter/index.js +57 -0
  126. package/dist/features/converters/html/converter/index.js.map +1 -0
  127. package/dist/features/converters/html/converter/types.d.ts +22 -0
  128. package/dist/features/converters/html/converter/types.d.ts.map +1 -0
  129. package/dist/features/converters/html/converter/types.js.map +1 -0
  130. package/dist/features/converters/html/feature.server.d.ts +8 -0
  131. package/dist/features/converters/html/feature.server.d.ts.map +1 -0
  132. package/dist/features/converters/html/feature.server.js +8 -0
  133. package/dist/features/converters/html/feature.server.js.map +1 -0
  134. package/dist/features/converters/html/field/index.d.ts.map +1 -0
  135. package/dist/features/converters/html/field/index.js +157 -0
  136. package/dist/features/converters/html/field/index.js.map +1 -0
  137. package/dist/features/createClientComponent.d.ts +7 -0
  138. package/dist/features/createClientComponent.d.ts.map +1 -0
  139. package/dist/features/createClientComponent.js +12 -0
  140. package/dist/features/createClientComponent.js.map +1 -0
  141. package/dist/features/createFeaturePropComponent.d.ts.map +1 -0
  142. package/dist/features/createFeaturePropComponent.js +18 -0
  143. package/dist/features/createFeaturePropComponent.js.map +1 -0
  144. package/dist/features/debug/testRecorder/feature.client.d.ts +5 -0
  145. package/dist/features/debug/testRecorder/feature.client.d.ts.map +1 -0
  146. package/dist/features/debug/testRecorder/feature.client.js +13 -0
  147. package/dist/features/debug/testRecorder/feature.client.js.map +1 -0
  148. package/dist/features/debug/testRecorder/feature.server.d.ts +2 -0
  149. package/dist/features/debug/testRecorder/feature.server.d.ts.map +1 -0
  150. package/dist/features/debug/testRecorder/feature.server.js +11 -0
  151. package/dist/features/debug/testRecorder/feature.server.js.map +1 -0
  152. package/dist/features/debug/testRecorder/plugin/index.d.ts +5 -0
  153. package/dist/features/debug/testRecorder/plugin/index.d.ts.map +1 -0
  154. package/dist/features/debug/testRecorder/plugin/index.js.map +1 -0
  155. package/dist/features/debug/treeView/feature.client.d.ts +5 -0
  156. package/dist/features/debug/treeView/feature.client.d.ts.map +1 -0
  157. package/dist/features/debug/treeView/feature.client.js +13 -0
  158. package/dist/features/debug/treeView/feature.client.js.map +1 -0
  159. package/dist/features/debug/treeView/feature.server.d.ts +2 -0
  160. package/dist/features/debug/treeView/feature.server.d.ts.map +1 -0
  161. package/dist/features/debug/treeView/feature.server.js +11 -0
  162. package/dist/features/debug/treeView/feature.server.js.map +1 -0
  163. package/dist/features/debug/treeView/plugin/index.d.ts +4 -0
  164. package/dist/features/debug/treeView/plugin/index.d.ts.map +1 -0
  165. package/dist/features/debug/treeView/plugin/index.js.map +1 -0
  166. package/dist/features/experimental_table/feature.client.d.ts +2 -0
  167. package/dist/features/experimental_table/feature.client.d.ts.map +1 -0
  168. package/dist/features/experimental_table/feature.client.js +71 -0
  169. package/dist/features/experimental_table/feature.client.js.map +1 -0
  170. package/dist/features/experimental_table/feature.server.d.ts +13 -0
  171. package/dist/features/experimental_table/feature.server.d.ts.map +1 -0
  172. package/dist/features/experimental_table/feature.server.js +125 -0
  173. package/dist/features/experimental_table/feature.server.js.map +1 -0
  174. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.d.ts +4 -0
  175. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.d.ts.map +1 -0
  176. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.js +604 -0
  177. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.js.map +1 -0
  178. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.d.ts +3 -0
  179. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.d.ts.map +1 -0
  180. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.js +327 -0
  181. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.js.map +1 -0
  182. package/dist/features/experimental_table/plugins/TableHoverActionsPlugin/index.d.ts +12 -0
  183. package/dist/features/experimental_table/plugins/TableHoverActionsPlugin/index.d.ts.map +1 -0
  184. package/dist/features/experimental_table/plugins/TableHoverActionsPlugin/index.js +181 -0
  185. package/dist/features/experimental_table/plugins/TableHoverActionsPlugin/index.js.map +1 -0
  186. package/dist/features/experimental_table/plugins/TablePlugin/index.d.ts +24 -0
  187. package/dist/features/experimental_table/plugins/TablePlugin/index.d.ts.map +1 -0
  188. package/dist/features/experimental_table/plugins/TablePlugin/index.js +98 -0
  189. package/dist/features/experimental_table/plugins/TablePlugin/index.js.map +1 -0
  190. package/dist/features/experimental_table/utils/debounce.d.ts +61 -0
  191. package/dist/features/experimental_table/utils/debounce.d.ts.map +1 -0
  192. package/dist/features/experimental_table/utils/debounce.js +202 -0
  193. package/dist/features/experimental_table/utils/debounce.js.map +1 -0
  194. package/dist/features/experimental_table/utils/useDebounce.d.ts +6 -0
  195. package/dist/features/experimental_table/utils/useDebounce.d.ts.map +1 -0
  196. package/dist/features/experimental_table/utils/useDebounce.js +18 -0
  197. package/dist/features/experimental_table/utils/useDebounce.js.map +1 -0
  198. package/dist/features/format/bold/feature.client.d.ts +5 -0
  199. package/dist/features/format/bold/feature.client.d.ts.map +1 -0
  200. package/dist/features/format/bold/feature.client.js +44 -0
  201. package/dist/features/format/bold/feature.client.js.map +1 -0
  202. package/dist/features/format/bold/feature.server.d.ts +2 -0
  203. package/dist/features/format/bold/feature.server.d.ts.map +1 -0
  204. package/dist/features/format/bold/feature.server.js +25 -0
  205. package/dist/features/format/bold/feature.server.js.map +1 -0
  206. package/dist/features/format/bold/markdownTransformers.d.ts.map +1 -0
  207. package/dist/features/format/bold/markdownTransformers.js.map +1 -0
  208. package/dist/features/format/inlineCode/feature.client.d.ts +5 -0
  209. package/dist/features/format/inlineCode/feature.client.d.ts.map +1 -0
  210. package/dist/features/format/inlineCode/feature.client.js +37 -0
  211. package/dist/features/format/inlineCode/feature.client.js.map +1 -0
  212. package/dist/features/format/inlineCode/feature.server.d.ts +2 -0
  213. package/dist/features/format/inlineCode/feature.server.d.ts.map +1 -0
  214. package/dist/features/format/inlineCode/feature.server.js +15 -0
  215. package/dist/features/format/inlineCode/feature.server.js.map +1 -0
  216. package/dist/features/format/inlineCode/markdownTransformers.d.ts.map +1 -0
  217. package/dist/features/format/inlineCode/markdownTransformers.js.map +1 -0
  218. package/dist/features/format/italic/feature.client.d.ts +5 -0
  219. package/dist/features/format/italic/feature.client.d.ts.map +1 -0
  220. package/dist/features/format/italic/feature.client.js +38 -0
  221. package/dist/features/format/italic/feature.client.js.map +1 -0
  222. package/dist/features/format/italic/feature.server.d.ts +2 -0
  223. package/dist/features/format/italic/feature.server.d.ts.map +1 -0
  224. package/dist/features/format/italic/feature.server.js +16 -0
  225. package/dist/features/format/italic/feature.server.js.map +1 -0
  226. package/dist/features/format/italic/markdownTransformers.d.ts.map +1 -0
  227. package/dist/features/format/italic/markdownTransformers.js.map +1 -0
  228. package/dist/features/format/shared/toolbarFormatGroup.d.ts.map +1 -0
  229. package/dist/features/format/shared/toolbarFormatGroup.js.map +1 -0
  230. package/dist/features/format/strikethrough/feature.client.d.ts +5 -0
  231. package/dist/features/format/strikethrough/feature.client.d.ts.map +1 -0
  232. package/dist/features/format/strikethrough/feature.client.js +37 -0
  233. package/dist/features/format/strikethrough/feature.client.js.map +1 -0
  234. package/dist/features/format/strikethrough/feature.server.d.ts +2 -0
  235. package/dist/features/format/strikethrough/feature.server.d.ts.map +1 -0
  236. package/dist/features/format/strikethrough/feature.server.js +15 -0
  237. package/dist/features/format/strikethrough/feature.server.js.map +1 -0
  238. package/dist/features/format/strikethrough/markdownTransformers.d.ts.map +1 -0
  239. package/dist/features/format/strikethrough/markdownTransformers.js.map +1 -0
  240. package/dist/features/format/subscript/feature.client.d.ts +5 -0
  241. package/dist/features/format/subscript/feature.client.d.ts.map +1 -0
  242. package/dist/features/format/subscript/feature.client.js +33 -0
  243. package/dist/features/format/subscript/feature.client.js.map +1 -0
  244. package/dist/features/format/subscript/feature.server.d.ts +2 -0
  245. package/dist/features/format/subscript/feature.server.d.ts.map +1 -0
  246. package/dist/features/format/subscript/feature.server.js +11 -0
  247. package/dist/features/format/subscript/feature.server.js.map +1 -0
  248. package/dist/features/format/superscript/feature.client.d.ts +5 -0
  249. package/dist/features/format/superscript/feature.client.d.ts.map +1 -0
  250. package/dist/features/format/superscript/feature.client.js +33 -0
  251. package/dist/features/format/superscript/feature.client.js.map +1 -0
  252. package/dist/features/format/superscript/feature.server.d.ts +2 -0
  253. package/dist/features/format/superscript/feature.server.d.ts.map +1 -0
  254. package/dist/features/format/superscript/feature.server.js +11 -0
  255. package/dist/features/format/superscript/feature.server.js.map +1 -0
  256. package/dist/features/format/underline/feature.client.d.ts +5 -0
  257. package/dist/features/format/underline/feature.client.d.ts.map +1 -0
  258. package/dist/features/format/underline/feature.client.js +33 -0
  259. package/dist/features/format/underline/feature.client.js.map +1 -0
  260. package/dist/features/format/underline/feature.server.d.ts +2 -0
  261. package/dist/features/format/underline/feature.server.d.ts.map +1 -0
  262. package/dist/features/format/underline/feature.server.js +11 -0
  263. package/dist/features/format/underline/feature.server.js.map +1 -0
  264. package/dist/features/heading/feature.client.d.ts +6 -0
  265. package/dist/features/heading/feature.client.d.ts.map +1 -0
  266. package/dist/features/heading/feature.client.js +112 -0
  267. package/dist/features/heading/feature.client.js.map +1 -0
  268. package/dist/features/heading/feature.server.d.ts +10 -0
  269. package/dist/features/heading/feature.server.d.ts.map +1 -0
  270. package/dist/features/heading/feature.server.js +62 -0
  271. package/dist/features/heading/feature.server.js.map +1 -0
  272. package/dist/features/heading/i18n.d.ts.map +1 -0
  273. package/dist/features/heading/i18n.js +100 -0
  274. package/dist/features/heading/i18n.js.map +1 -0
  275. package/dist/features/heading/markdownTransformer.d.ts.map +1 -0
  276. package/dist/features/heading/markdownTransformer.js.map +1 -0
  277. package/dist/features/horizontalRule/component/index.d.ts.map +1 -0
  278. package/dist/features/horizontalRule/component/index.js.map +1 -0
  279. package/dist/features/horizontalRule/feature.client.d.ts +5 -0
  280. package/dist/features/horizontalRule/feature.client.d.ts.map +1 -0
  281. package/dist/features/horizontalRule/feature.client.js +70 -0
  282. package/dist/features/horizontalRule/feature.client.js.map +1 -0
  283. package/dist/features/horizontalRule/feature.server.d.ts +2 -0
  284. package/dist/features/horizontalRule/feature.server.d.ts.map +1 -0
  285. package/dist/features/horizontalRule/feature.server.js +34 -0
  286. package/dist/features/horizontalRule/feature.server.js.map +1 -0
  287. package/dist/features/horizontalRule/i18n.d.ts.map +1 -0
  288. package/dist/features/horizontalRule/i18n.js.map +1 -0
  289. package/dist/features/horizontalRule/markdownTransformer.d.ts.map +1 -0
  290. package/dist/features/horizontalRule/markdownTransformer.js.map +1 -0
  291. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.d.ts +56 -0
  292. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.d.ts.map +1 -0
  293. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.js.map +1 -0
  294. package/dist/features/horizontalRule/plugin/index.d.ts +7 -0
  295. package/dist/features/horizontalRule/plugin/index.d.ts.map +1 -0
  296. package/dist/features/horizontalRule/plugin/index.js.map +1 -0
  297. package/dist/features/indent/feature.client.d.ts +5 -0
  298. package/dist/features/indent/feature.client.d.ts.map +1 -0
  299. package/dist/features/indent/feature.client.js +56 -0
  300. package/dist/features/indent/feature.client.js.map +1 -0
  301. package/dist/features/indent/feature.server.d.ts +2 -0
  302. package/dist/features/indent/feature.server.d.ts.map +1 -0
  303. package/dist/features/indent/feature.server.js +13 -0
  304. package/dist/features/indent/feature.server.js.map +1 -0
  305. package/dist/features/indent/i18n.d.ts.map +1 -0
  306. package/dist/features/indent/i18n.js.map +1 -0
  307. package/dist/features/indent/toolbarIndentGroup.d.ts.map +1 -0
  308. package/dist/features/indent/toolbarIndentGroup.js.map +1 -0
  309. package/dist/features/link/drawer/baseFields.d.ts +3 -0
  310. package/dist/features/link/drawer/baseFields.d.ts.map +1 -0
  311. package/dist/features/link/drawer/baseFields.js.map +1 -0
  312. package/dist/features/link/feature.client.d.ts +16 -0
  313. package/dist/features/link/feature.client.d.ts.map +1 -0
  314. package/dist/features/link/feature.client.js +101 -0
  315. package/dist/features/link/feature.client.js.map +1 -0
  316. package/dist/features/link/feature.server.d.ts +35 -0
  317. package/dist/features/link/feature.server.d.ts.map +1 -0
  318. package/dist/features/link/feature.server.js +134 -0
  319. package/dist/features/link/feature.server.js.map +1 -0
  320. package/dist/features/link/graphQLPopulationPromise.d.ts +5 -0
  321. package/dist/features/link/graphQLPopulationPromise.d.ts.map +1 -0
  322. package/dist/features/link/graphQLPopulationPromise.js +31 -0
  323. package/dist/features/link/graphQLPopulationPromise.js.map +1 -0
  324. package/dist/features/link/i18n.d.ts.map +1 -0
  325. package/dist/features/link/i18n.js.map +1 -0
  326. package/dist/features/link/markdownTransformer.d.ts.map +1 -0
  327. package/dist/features/link/markdownTransformer.js.map +1 -0
  328. package/dist/features/link/nodes/AutoLinkNode.d.ts.map +1 -0
  329. package/dist/features/link/nodes/AutoLinkNode.js +68 -0
  330. package/dist/features/link/nodes/AutoLinkNode.js.map +1 -0
  331. package/dist/features/link/nodes/LinkNode.d.ts.map +1 -0
  332. package/dist/features/link/nodes/LinkNode.js +317 -0
  333. package/dist/features/link/nodes/LinkNode.js.map +1 -0
  334. package/dist/features/link/nodes/types.d.ts +24 -0
  335. package/dist/features/link/nodes/types.d.ts.map +1 -0
  336. package/dist/features/link/nodes/types.js.map +1 -0
  337. package/dist/features/link/plugins/autoLink/index.d.ts +20 -0
  338. package/dist/features/link/plugins/autoLink/index.d.ts.map +1 -0
  339. package/dist/features/link/plugins/autoLink/index.js +336 -0
  340. package/dist/features/link/plugins/autoLink/index.js.map +1 -0
  341. package/dist/features/link/plugins/clickableLink/index.d.ts +4 -0
  342. package/dist/features/link/plugins/clickableLink/index.d.ts.map +1 -0
  343. package/dist/features/link/plugins/clickableLink/index.js.map +1 -0
  344. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +1 -0
  345. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +1 -0
  346. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -0
  347. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +299 -0
  348. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +1 -0
  349. package/dist/features/link/plugins/floatingLinkEditor/index.d.ts +5 -0
  350. package/dist/features/link/plugins/floatingLinkEditor/index.d.ts.map +1 -0
  351. package/dist/features/link/plugins/floatingLinkEditor/index.js.map +1 -0
  352. package/dist/features/link/plugins/floatingLinkEditor/types.d.ts.map +1 -0
  353. package/dist/features/link/plugins/floatingLinkEditor/types.js.map +1 -0
  354. package/dist/features/link/plugins/floatingLinkEditor/utilities.d.ts +9 -0
  355. package/dist/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +1 -0
  356. package/dist/features/link/plugins/floatingLinkEditor/utilities.js.map +1 -0
  357. package/dist/features/link/plugins/link/index.d.ts +4 -0
  358. package/dist/features/link/plugins/link/index.d.ts.map +1 -0
  359. package/dist/features/link/plugins/link/index.js.map +1 -0
  360. package/dist/features/link/validate.d.ts +6 -0
  361. package/dist/features/link/validate.d.ts.map +1 -0
  362. package/dist/features/link/validate.js +29 -0
  363. package/dist/features/link/validate.js.map +1 -0
  364. package/dist/features/lists/checklist/feature.client.d.ts +5 -0
  365. package/dist/features/lists/checklist/feature.client.d.ts.map +1 -0
  366. package/dist/features/lists/checklist/feature.client.js +100 -0
  367. package/dist/features/lists/checklist/feature.client.js.map +1 -0
  368. package/dist/features/lists/checklist/feature.server.d.ts +2 -0
  369. package/dist/features/lists/checklist/feature.server.d.ts.map +1 -0
  370. package/dist/features/lists/checklist/feature.server.js +36 -0
  371. package/dist/features/lists/checklist/feature.server.js.map +1 -0
  372. package/dist/features/lists/checklist/i18n.d.ts.map +1 -0
  373. package/dist/features/lists/checklist/i18n.js.map +1 -0
  374. package/dist/features/lists/checklist/markdownTransformers.d.ts.map +1 -0
  375. package/dist/features/lists/checklist/markdownTransformers.js.map +1 -0
  376. package/dist/features/lists/checklist/plugin/index.d.ts +3 -0
  377. package/dist/features/lists/checklist/plugin/index.d.ts.map +1 -0
  378. package/dist/features/lists/checklist/plugin/index.js.map +1 -0
  379. package/dist/features/lists/htmlConverter.d.ts +5 -0
  380. package/dist/features/lists/htmlConverter.d.ts.map +1 -0
  381. package/dist/features/lists/htmlConverter.js +62 -0
  382. package/dist/features/lists/htmlConverter.js.map +1 -0
  383. package/dist/features/lists/orderedList/feature.client.d.ts +5 -0
  384. package/dist/features/lists/orderedList/feature.client.d.ts.map +1 -0
  385. package/dist/features/lists/orderedList/feature.client.js +90 -0
  386. package/dist/features/lists/orderedList/feature.client.js.map +1 -0
  387. package/dist/features/lists/orderedList/feature.server.d.ts +2 -0
  388. package/dist/features/lists/orderedList/feature.server.d.ts.map +1 -0
  389. package/dist/features/lists/orderedList/feature.server.js +36 -0
  390. package/dist/features/lists/orderedList/feature.server.js.map +1 -0
  391. package/dist/features/lists/orderedList/i18n.d.ts.map +1 -0
  392. package/dist/features/lists/orderedList/i18n.js.map +1 -0
  393. package/dist/features/lists/orderedList/markdownTransformer.d.ts.map +1 -0
  394. package/dist/features/lists/orderedList/markdownTransformer.js.map +1 -0
  395. package/dist/features/lists/plugin/index.d.ts +13 -0
  396. package/dist/features/lists/plugin/index.d.ts.map +1 -0
  397. package/dist/features/lists/plugin/index.js.map +1 -0
  398. package/dist/features/lists/shared/markdown.d.ts +6 -0
  399. package/dist/features/lists/shared/markdown.d.ts.map +1 -0
  400. package/dist/features/lists/shared/markdown.js.map +1 -0
  401. package/dist/features/lists/shared/slashMenuListGroup.d.ts.map +1 -0
  402. package/dist/features/lists/shared/slashMenuListGroup.js.map +1 -0
  403. package/dist/features/lists/unorderedList/feature.client.d.ts +5 -0
  404. package/dist/features/lists/unorderedList/feature.client.d.ts.map +1 -0
  405. package/dist/features/lists/unorderedList/feature.client.js +88 -0
  406. package/dist/features/lists/unorderedList/feature.client.js.map +1 -0
  407. package/dist/features/lists/unorderedList/feature.server.d.ts +2 -0
  408. package/dist/features/lists/unorderedList/feature.server.d.ts.map +1 -0
  409. package/dist/features/lists/unorderedList/feature.server.js +34 -0
  410. package/dist/features/lists/unorderedList/feature.server.js.map +1 -0
  411. package/dist/features/lists/unorderedList/i18n.d.ts.map +1 -0
  412. package/dist/features/lists/unorderedList/i18n.js.map +1 -0
  413. package/dist/features/lists/unorderedList/markdownTransformer.d.ts.map +1 -0
  414. package/dist/features/lists/unorderedList/markdownTransformer.js.map +1 -0
  415. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +5 -0
  416. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +1 -0
  417. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +1 -0
  418. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  419. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +1 -0
  420. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +1 -0
  421. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +8 -0
  422. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +1 -0
  423. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +5 -0
  424. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +1 -0
  425. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +1 -0
  426. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +1 -0
  427. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +1 -0
  428. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +1 -0
  429. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js +8 -0
  430. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +1 -0
  431. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +5 -0
  432. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +1 -0
  433. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +1 -0
  434. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +1 -0
  435. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +1 -0
  436. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +1 -0
  437. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js +8 -0
  438. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +1 -0
  439. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +5 -0
  440. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +1 -0
  441. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +1 -0
  442. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  443. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +1 -0
  444. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +1 -0
  445. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +8 -0
  446. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +1 -0
  447. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +5 -0
  448. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +1 -0
  449. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +1 -0
  450. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +1 -0
  451. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +1 -0
  452. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +1 -0
  453. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +8 -0
  454. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +1 -0
  455. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +5 -0
  456. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +1 -0
  457. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +1 -0
  458. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  459. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +1 -0
  460. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +1 -0
  461. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +8 -0
  462. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +1 -0
  463. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +5 -0
  464. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +1 -0
  465. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +1 -0
  466. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  467. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +1 -0
  468. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +1 -0
  469. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +8 -0
  470. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +1 -0
  471. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +1 -0
  472. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +1 -0
  473. package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +1 -0
  474. package/dist/features/migrations/lexicalPluginToLexical/converter/index.js.map +1 -0
  475. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts +31 -0
  476. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +1 -0
  477. package/dist/features/migrations/lexicalPluginToLexical/converter/types.js.map +1 -0
  478. package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts +5 -0
  479. package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +1 -0
  480. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js +27 -0
  481. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js.map +1 -0
  482. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts +8 -0
  483. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +1 -0
  484. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js +45 -0
  485. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js.map +1 -0
  486. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  487. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
  488. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  489. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
  490. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +5 -0
  491. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +1 -0
  492. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +1 -0
  493. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +1 -0
  494. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +1 -0
  495. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +1 -0
  496. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.js +8 -0
  497. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +1 -0
  498. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.d.ts +5 -0
  499. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +1 -0
  500. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.js.map +1 -0
  501. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  502. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +1 -0
  503. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +1 -0
  504. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.js +8 -0
  505. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.js.map +1 -0
  506. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.d.ts +5 -0
  507. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +1 -0
  508. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.js.map +1 -0
  509. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +1 -0
  510. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +1 -0
  511. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +1 -0
  512. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.js +8 -0
  513. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.js.map +1 -0
  514. package/dist/features/migrations/slateToLexical/converter/converters/link/client.d.ts +5 -0
  515. package/dist/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +1 -0
  516. package/dist/features/migrations/slateToLexical/converter/converters/link/client.js.map +1 -0
  517. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +1 -0
  518. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js.map +1 -0
  519. package/dist/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +1 -0
  520. package/dist/features/migrations/slateToLexical/converter/converters/link/index.js +8 -0
  521. package/dist/features/migrations/slateToLexical/converter/converters/link/index.js.map +1 -0
  522. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts +5 -0
  523. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +1 -0
  524. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +1 -0
  525. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  526. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +1 -0
  527. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +1 -0
  528. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.js +8 -0
  529. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +1 -0
  530. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +5 -0
  531. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +1 -0
  532. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +1 -0
  533. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +1 -0
  534. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +1 -0
  535. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +1 -0
  536. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.js +8 -0
  537. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +1 -0
  538. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts +5 -0
  539. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +1 -0
  540. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +1 -0
  541. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +1 -0
  542. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +1 -0
  543. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +1 -0
  544. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.js +8 -0
  545. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +1 -0
  546. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts +5 -0
  547. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +1 -0
  548. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +1 -0
  549. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  550. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +1 -0
  551. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +1 -0
  552. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.js +8 -0
  553. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +1 -0
  554. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +5 -0
  555. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +1 -0
  556. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +1 -0
  557. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +1 -0
  558. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +1 -0
  559. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +1 -0
  560. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.js +8 -0
  561. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +1 -0
  562. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.d.ts +5 -0
  563. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +1 -0
  564. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.js.map +1 -0
  565. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  566. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +1 -0
  567. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +1 -0
  568. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.js +8 -0
  569. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.js.map +1 -0
  570. package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +1 -0
  571. package/dist/features/migrations/slateToLexical/converter/defaultConverters.js.map +1 -0
  572. package/dist/features/migrations/slateToLexical/converter/index.d.ts.map +1 -0
  573. package/dist/features/migrations/slateToLexical/converter/index.js +109 -0
  574. package/dist/features/migrations/slateToLexical/converter/index.js.map +1 -0
  575. package/dist/features/migrations/slateToLexical/converter/types.d.ts +25 -0
  576. package/dist/features/migrations/slateToLexical/converter/types.d.ts.map +1 -0
  577. package/dist/features/migrations/slateToLexical/converter/types.js.map +1 -0
  578. package/dist/features/migrations/slateToLexical/feature.client.d.ts +5 -0
  579. package/dist/features/migrations/slateToLexical/feature.client.d.ts.map +1 -0
  580. package/dist/features/migrations/slateToLexical/feature.client.js +27 -0
  581. package/dist/features/migrations/slateToLexical/feature.client.js.map +1 -0
  582. package/dist/features/migrations/slateToLexical/feature.server.d.ts +10 -0
  583. package/dist/features/migrations/slateToLexical/feature.server.d.ts.map +1 -0
  584. package/dist/features/migrations/slateToLexical/feature.server.js +47 -0
  585. package/dist/features/migrations/slateToLexical/feature.server.js.map +1 -0
  586. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  587. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
  588. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  589. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
  590. package/dist/features/paragraph/feature.client.d.ts +5 -0
  591. package/dist/features/paragraph/feature.client.d.ts.map +1 -0
  592. package/dist/features/paragraph/feature.client.js +71 -0
  593. package/dist/features/paragraph/feature.client.js.map +1 -0
  594. package/dist/features/paragraph/feature.server.d.ts +2 -0
  595. package/dist/features/paragraph/feature.server.d.ts.map +1 -0
  596. package/dist/features/paragraph/feature.server.js +14 -0
  597. package/dist/features/paragraph/feature.server.js.map +1 -0
  598. package/dist/features/paragraph/i18n.d.ts.map +1 -0
  599. package/dist/features/paragraph/i18n.js.map +1 -0
  600. package/dist/features/relationship/drawer/commands.d.ts.map +1 -0
  601. package/dist/features/relationship/drawer/commands.js.map +1 -0
  602. package/dist/features/relationship/drawer/index.d.ts.map +1 -0
  603. package/dist/features/relationship/drawer/index.js +83 -0
  604. package/dist/features/relationship/drawer/index.js.map +1 -0
  605. package/dist/features/relationship/feature.client.d.ts +18 -0
  606. package/dist/features/relationship/feature.client.d.ts.map +1 -0
  607. package/dist/features/relationship/feature.client.js +72 -0
  608. package/dist/features/relationship/feature.client.js.map +1 -0
  609. package/dist/features/relationship/feature.server.d.ts +27 -0
  610. package/dist/features/relationship/feature.server.d.ts.map +1 -0
  611. package/dist/features/relationship/feature.server.js +55 -0
  612. package/dist/features/relationship/feature.server.js.map +1 -0
  613. package/dist/features/relationship/graphQLPopulationPromise.d.ts +5 -0
  614. package/dist/features/relationship/graphQLPopulationPromise.d.ts.map +1 -0
  615. package/dist/features/relationship/graphQLPopulationPromise.js +29 -0
  616. package/dist/features/relationship/graphQLPopulationPromise.js.map +1 -0
  617. package/dist/features/relationship/i18n.d.ts.map +1 -0
  618. package/dist/features/relationship/i18n.js.map +1 -0
  619. package/dist/features/relationship/nodes/RelationshipNode.d.ts +35 -0
  620. package/dist/features/relationship/nodes/RelationshipNode.d.ts.map +1 -0
  621. package/dist/features/relationship/nodes/RelationshipNode.js +111 -0
  622. package/dist/features/relationship/nodes/RelationshipNode.js.map +1 -0
  623. package/dist/features/relationship/nodes/components/RelationshipComponent.d.ts +13 -0
  624. package/dist/features/relationship/nodes/components/RelationshipComponent.d.ts.map +1 -0
  625. package/dist/features/relationship/nodes/components/RelationshipComponent.js +171 -0
  626. package/dist/features/relationship/nodes/components/RelationshipComponent.js.map +1 -0
  627. package/dist/features/relationship/plugins/index.d.ts +7 -0
  628. package/dist/features/relationship/plugins/index.d.ts.map +1 -0
  629. package/dist/features/relationship/plugins/index.js +50 -0
  630. package/dist/features/relationship/plugins/index.js.map +1 -0
  631. package/dist/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +1 -0
  632. package/dist/features/relationship/utils/EnabledRelationshipsCondition.js +33 -0
  633. package/dist/features/relationship/utils/EnabledRelationshipsCondition.js.map +1 -0
  634. package/dist/features/shared/slashMenu/basicGroup.d.ts.map +1 -0
  635. package/dist/features/shared/slashMenu/basicGroup.js.map +1 -0
  636. package/dist/features/shared/toolbar/addDropdownGroup.d.ts.map +1 -0
  637. package/dist/features/shared/toolbar/addDropdownGroup.js.map +1 -0
  638. package/dist/features/shared/toolbar/featureButtonsGroup.d.ts.map +1 -0
  639. package/dist/features/shared/toolbar/featureButtonsGroup.js.map +1 -0
  640. package/dist/features/shared/toolbar/textDropdownGroup.d.ts.map +1 -0
  641. package/dist/features/shared/toolbar/textDropdownGroup.js.map +1 -0
  642. package/dist/features/toolbars/fixed/Toolbar/index.d.ts +5 -0
  643. package/dist/features/toolbars/fixed/Toolbar/index.d.ts.map +1 -0
  644. package/dist/features/toolbars/fixed/Toolbar/index.js +207 -0
  645. package/dist/features/toolbars/fixed/Toolbar/index.js.map +1 -0
  646. package/dist/features/toolbars/fixed/feature.client.d.ts +6 -0
  647. package/dist/features/toolbars/fixed/feature.client.d.ts.map +1 -0
  648. package/dist/features/toolbars/fixed/feature.client.js +13 -0
  649. package/dist/features/toolbars/fixed/feature.client.js.map +1 -0
  650. package/dist/features/toolbars/fixed/feature.server.d.ts +18 -0
  651. package/dist/features/toolbars/fixed/feature.server.d.ts.map +1 -0
  652. package/dist/features/toolbars/fixed/feature.server.js +19 -0
  653. package/dist/features/toolbars/fixed/feature.server.js.map +1 -0
  654. package/dist/features/toolbars/inline/Toolbar/index.d.ts +4 -0
  655. package/dist/features/toolbars/inline/Toolbar/index.d.ts.map +1 -0
  656. package/dist/features/toolbars/inline/Toolbar/index.js.map +1 -0
  657. package/dist/features/toolbars/inline/feature.client.d.ts +5 -0
  658. package/dist/features/toolbars/inline/feature.client.d.ts.map +1 -0
  659. package/dist/features/toolbars/inline/feature.client.js +13 -0
  660. package/dist/features/toolbars/inline/feature.client.js.map +1 -0
  661. package/dist/features/toolbars/inline/feature.server.d.ts +2 -0
  662. package/dist/features/toolbars/inline/feature.server.d.ts.map +1 -0
  663. package/dist/features/toolbars/inline/feature.server.js +11 -0
  664. package/dist/features/toolbars/inline/feature.server.js.map +1 -0
  665. package/dist/features/toolbars/shared/ToolbarButton/index.d.ts.map +1 -0
  666. package/dist/features/toolbars/shared/ToolbarButton/index.js.map +1 -0
  667. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +1 -0
  668. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js +223 -0
  669. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +1 -0
  670. package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +1 -0
  671. package/dist/features/toolbars/shared/ToolbarDropdown/index.js +141 -0
  672. package/dist/features/toolbars/shared/ToolbarDropdown/index.js.map +1 -0
  673. package/dist/features/toolbars/types.d.ts +80 -0
  674. package/dist/features/toolbars/types.d.ts.map +1 -0
  675. package/dist/features/toolbars/types.js.map +1 -0
  676. package/dist/features/typeUtilities.d.ts +8 -0
  677. package/dist/features/typeUtilities.d.ts.map +1 -0
  678. package/dist/features/typeUtilities.js.map +1 -0
  679. package/dist/features/typesClient.d.ts +186 -0
  680. package/dist/features/typesClient.d.ts.map +1 -0
  681. package/dist/features/typesClient.js +3 -0
  682. package/dist/features/typesClient.js.map +1 -0
  683. package/dist/features/typesServer.d.ts +316 -0
  684. package/dist/features/typesServer.d.ts.map +1 -0
  685. package/dist/features/typesServer.js +3 -0
  686. package/dist/features/typesServer.js.map +1 -0
  687. package/dist/features/upload/component/index.d.ts.map +1 -0
  688. package/dist/features/upload/component/index.js +242 -0
  689. package/dist/features/upload/component/index.js.map +1 -0
  690. package/dist/features/upload/drawer/commands.d.ts.map +1 -0
  691. package/dist/features/upload/drawer/commands.js.map +1 -0
  692. package/dist/features/upload/drawer/index.d.ts.map +1 -0
  693. package/dist/features/upload/drawer/index.js +77 -0
  694. package/dist/features/upload/drawer/index.js.map +1 -0
  695. package/dist/features/upload/feature.client.d.ts +12 -0
  696. package/dist/features/upload/feature.client.d.ts.map +1 -0
  697. package/dist/features/upload/feature.client.js +74 -0
  698. package/dist/features/upload/feature.client.js.map +1 -0
  699. package/dist/features/upload/feature.server.d.ts +18 -0
  700. package/dist/features/upload/feature.server.d.ts.map +1 -0
  701. package/dist/features/upload/feature.server.js +184 -0
  702. package/dist/features/upload/feature.server.js.map +1 -0
  703. package/dist/features/upload/graphQLPopulationPromise.d.ts +5 -0
  704. package/dist/features/upload/graphQLPopulationPromise.d.ts.map +1 -0
  705. package/dist/features/upload/graphQLPopulationPromise.js +52 -0
  706. package/dist/features/upload/graphQLPopulationPromise.js.map +1 -0
  707. package/dist/features/upload/i18n.d.ts.map +1 -0
  708. package/dist/features/upload/i18n.js.map +1 -0
  709. package/dist/features/upload/nodes/UploadNode.d.ts +39 -0
  710. package/dist/features/upload/nodes/UploadNode.d.ts.map +1 -0
  711. package/dist/features/upload/nodes/UploadNode.js +131 -0
  712. package/dist/features/upload/nodes/UploadNode.js.map +1 -0
  713. package/dist/features/upload/plugin/index.d.ts +8 -0
  714. package/dist/features/upload/plugin/index.d.ts.map +1 -0
  715. package/dist/features/upload/plugin/index.js +53 -0
  716. package/dist/features/upload/plugin/index.js.map +1 -0
  717. package/dist/features/upload/validate.d.ts +5 -0
  718. package/dist/features/upload/validate.d.ts.map +1 -0
  719. package/dist/features/upload/validate.js +45 -0
  720. package/dist/features/upload/validate.js.map +1 -0
  721. package/dist/field/Field.d.ts +5 -5
  722. package/dist/field/Field.d.ts.map +1 -1
  723. package/dist/field/Field.js +16 -14
  724. package/dist/field/Field.js.map +1 -1
  725. package/dist/field/index.d.ts +3 -3
  726. package/dist/field/index.d.ts.map +1 -1
  727. package/dist/field/index.js +11 -9
  728. package/dist/field/index.js.map +1 -1
  729. package/dist/i18n.js.map +1 -1
  730. package/dist/index.d.ts +73 -66
  731. package/dist/index.d.ts.map +1 -1
  732. package/dist/index.js +110 -79
  733. package/dist/index.js.map +1 -1
  734. package/dist/lexical/EditorPlugin.d.ts +8 -0
  735. package/dist/lexical/EditorPlugin.d.ts.map +1 -0
  736. package/dist/lexical/EditorPlugin.js +15 -0
  737. package/dist/lexical/EditorPlugin.js.map +1 -0
  738. package/dist/lexical/LexicalEditor.d.ts +7 -0
  739. package/dist/lexical/LexicalEditor.d.ts.map +1 -0
  740. package/dist/lexical/LexicalEditor.js +186 -0
  741. package/dist/lexical/LexicalEditor.js.map +1 -0
  742. package/dist/lexical/LexicalProvider.d.ts +18 -0
  743. package/dist/lexical/LexicalProvider.d.ts.map +1 -0
  744. package/dist/lexical/LexicalProvider.js +98 -0
  745. package/dist/lexical/LexicalProvider.js.map +1 -0
  746. package/dist/lexical/config/client/EditorConfigProvider.d.ts +35 -0
  747. package/dist/lexical/config/client/EditorConfigProvider.d.ts.map +1 -0
  748. package/dist/lexical/config/client/EditorConfigProvider.js.map +1 -0
  749. package/dist/lexical/config/client/default.d.ts.map +1 -0
  750. package/dist/lexical/config/client/default.js.map +1 -0
  751. package/dist/lexical/config/client/loader.d.ts +12 -0
  752. package/dist/lexical/config/client/loader.d.ts.map +1 -0
  753. package/dist/lexical/config/client/loader.js +46 -0
  754. package/dist/lexical/config/client/loader.js.map +1 -0
  755. package/dist/lexical/config/client/sanitize.d.ts +7 -0
  756. package/dist/lexical/config/client/sanitize.d.ts.map +1 -0
  757. package/dist/lexical/config/client/sanitize.js +180 -0
  758. package/dist/lexical/config/client/sanitize.js.map +1 -0
  759. package/dist/lexical/config/server/default.d.ts +7 -0
  760. package/dist/lexical/config/server/default.d.ts.map +1 -0
  761. package/dist/lexical/config/server/default.js.map +1 -0
  762. package/dist/lexical/config/server/loader.d.ts +10 -0
  763. package/dist/lexical/config/server/loader.d.ts.map +1 -0
  764. package/dist/lexical/config/server/loader.js +120 -0
  765. package/dist/lexical/config/server/loader.js.map +1 -0
  766. package/dist/lexical/config/server/sanitize.d.ts +6 -0
  767. package/dist/lexical/config/server/sanitize.d.ts.map +1 -0
  768. package/dist/lexical/config/server/sanitize.js.map +1 -0
  769. package/dist/lexical/config/types.d.ts +24 -0
  770. package/dist/lexical/config/types.d.ts.map +1 -0
  771. package/dist/lexical/config/types.js.map +1 -0
  772. package/dist/lexical/nodes/index.d.ts.map +1 -0
  773. package/dist/lexical/nodes/index.js.map +1 -0
  774. package/dist/lexical/plugins/MarkdownShortcut/index.d.ts.map +1 -0
  775. package/dist/lexical/plugins/MarkdownShortcut/index.js.map +1 -0
  776. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +32 -0
  777. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +1 -0
  778. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +399 -0
  779. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +1 -0
  780. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +24 -0
  781. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +1 -0
  782. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +186 -0
  783. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +1 -0
  784. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +46 -0
  785. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +1 -0
  786. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +1 -0
  787. package/dist/lexical/plugins/SlashMenu/index.d.ts.map +1 -0
  788. package/dist/lexical/plugins/SlashMenu/index.js +189 -0
  789. package/dist/lexical/plugins/SlashMenu/index.js.map +1 -0
  790. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +1 -0
  791. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +1 -0
  792. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +1 -0
  793. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +1 -0
  794. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +1 -0
  795. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +1 -0
  796. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +1 -0
  797. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +1 -0
  798. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +1 -0
  799. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +1 -0
  800. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +1 -0
  801. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js +342 -0
  802. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +1 -0
  803. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +9 -0
  804. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +1 -0
  805. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +1 -0
  806. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts.map +1 -0
  807. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js.map +1 -0
  808. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +1 -0
  809. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +1 -0
  810. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +1 -0
  811. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.js.map +1 -0
  812. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts.map +1 -0
  813. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.js.map +1 -0
  814. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +1 -0
  815. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +1 -0
  816. package/dist/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +1 -0
  817. package/dist/lexical/plugins/handles/utils/isOnHandleElement.js.map +1 -0
  818. package/dist/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +1 -0
  819. package/dist/lexical/plugins/handles/utils/setHandlePosition.js.map +1 -0
  820. package/dist/lexical/theme/EditorTheme.d.ts.map +1 -0
  821. package/dist/lexical/theme/EditorTheme.js.map +1 -0
  822. package/dist/lexical/ui/ContentEditable.d.ts.map +1 -0
  823. package/dist/lexical/ui/ContentEditable.js +17 -0
  824. package/dist/lexical/ui/ContentEditable.js.map +1 -0
  825. package/dist/lexical/ui/icons/AI/index.d.ts.map +1 -0
  826. package/dist/lexical/ui/icons/AI/index.js.map +1 -0
  827. package/dist/lexical/ui/icons/Add/index.d.ts.map +1 -0
  828. package/dist/lexical/ui/icons/Add/index.js.map +1 -0
  829. package/dist/lexical/ui/icons/AlignCenter/index.d.ts.map +1 -0
  830. package/dist/lexical/ui/icons/AlignCenter/index.js.map +1 -0
  831. package/dist/lexical/ui/icons/AlignJustify/index.d.ts.map +1 -0
  832. package/dist/lexical/ui/icons/AlignJustify/index.js.map +1 -0
  833. package/dist/lexical/ui/icons/AlignLeft/index.d.ts.map +1 -0
  834. package/dist/lexical/ui/icons/AlignLeft/index.js.map +1 -0
  835. package/dist/lexical/ui/icons/AlignRight/index.d.ts.map +1 -0
  836. package/dist/lexical/ui/icons/AlignRight/index.js.map +1 -0
  837. package/dist/lexical/ui/icons/Block/index.d.ts.map +1 -0
  838. package/dist/lexical/ui/icons/Block/index.js.map +1 -0
  839. package/dist/lexical/ui/icons/Blockquote/index.d.ts.map +1 -0
  840. package/dist/lexical/ui/icons/Blockquote/index.js.map +1 -0
  841. package/dist/lexical/ui/icons/Bold/index.d.ts.map +1 -0
  842. package/dist/lexical/ui/icons/Bold/index.js.map +1 -0
  843. package/dist/lexical/ui/icons/Checklist/index.d.ts.map +1 -0
  844. package/dist/lexical/ui/icons/Checklist/index.js.map +1 -0
  845. package/dist/lexical/ui/icons/Code/index.d.ts.map +1 -0
  846. package/dist/lexical/ui/icons/Code/index.js.map +1 -0
  847. package/dist/lexical/ui/icons/CodeBlock/index.d.ts.map +1 -0
  848. package/dist/lexical/ui/icons/CodeBlock/index.js.map +1 -0
  849. package/dist/lexical/ui/icons/H1/index.d.ts.map +1 -0
  850. package/dist/lexical/ui/icons/H1/index.js.map +1 -0
  851. package/dist/lexical/ui/icons/H2/index.d.ts.map +1 -0
  852. package/dist/lexical/ui/icons/H2/index.js.map +1 -0
  853. package/dist/lexical/ui/icons/H3/index.d.ts.map +1 -0
  854. package/dist/lexical/ui/icons/H3/index.js.map +1 -0
  855. package/dist/lexical/ui/icons/H4/index.d.ts.map +1 -0
  856. package/dist/lexical/ui/icons/H4/index.js.map +1 -0
  857. package/dist/lexical/ui/icons/H5/index.d.ts.map +1 -0
  858. package/dist/lexical/ui/icons/H5/index.js.map +1 -0
  859. package/dist/lexical/ui/icons/H6/index.d.ts.map +1 -0
  860. package/dist/lexical/ui/icons/H6/index.js.map +1 -0
  861. package/dist/lexical/ui/icons/HorizontalRule/index.d.ts.map +1 -0
  862. package/dist/lexical/ui/icons/HorizontalRule/index.js.map +1 -0
  863. package/dist/lexical/ui/icons/IndentDecrease/index.d.ts.map +1 -0
  864. package/dist/lexical/ui/icons/IndentDecrease/index.js.map +1 -0
  865. package/dist/lexical/ui/icons/IndentIncrease/index.d.ts.map +1 -0
  866. package/dist/lexical/ui/icons/IndentIncrease/index.js.map +1 -0
  867. package/dist/lexical/ui/icons/InlineBlocks/index.d.ts +3 -0
  868. package/dist/lexical/ui/icons/InlineBlocks/index.d.ts.map +1 -0
  869. package/dist/lexical/ui/icons/InlineBlocks/index.js +20 -0
  870. package/dist/lexical/ui/icons/InlineBlocks/index.js.map +1 -0
  871. package/dist/lexical/ui/icons/Italic/index.d.ts.map +1 -0
  872. package/dist/lexical/ui/icons/Italic/index.js.map +1 -0
  873. package/dist/lexical/ui/icons/Link/index.d.ts.map +1 -0
  874. package/dist/lexical/ui/icons/Link/index.js.map +1 -0
  875. package/dist/lexical/ui/icons/Meatballs/index.d.ts +3 -0
  876. package/dist/lexical/ui/icons/Meatballs/index.d.ts.map +1 -0
  877. package/dist/lexical/ui/icons/Meatballs/index.js +25 -0
  878. package/dist/lexical/ui/icons/Meatballs/index.js.map +1 -0
  879. package/dist/lexical/ui/icons/OrderedList/index.d.ts.map +1 -0
  880. package/dist/lexical/ui/icons/OrderedList/index.js.map +1 -0
  881. package/dist/lexical/ui/icons/Relationship/index.d.ts.map +1 -0
  882. package/dist/lexical/ui/icons/Relationship/index.js.map +1 -0
  883. package/dist/lexical/ui/icons/Strikethrough/index.d.ts.map +1 -0
  884. package/dist/lexical/ui/icons/Strikethrough/index.js.map +1 -0
  885. package/dist/lexical/ui/icons/Subscript/index.d.ts.map +1 -0
  886. package/dist/lexical/ui/icons/Subscript/index.js.map +1 -0
  887. package/dist/lexical/ui/icons/Superscript/index.d.ts.map +1 -0
  888. package/dist/lexical/ui/icons/Superscript/index.js.map +1 -0
  889. package/dist/lexical/ui/icons/Table/index.d.ts +3 -0
  890. package/dist/lexical/ui/icons/Table/index.d.ts.map +1 -0
  891. package/dist/lexical/ui/icons/Table/index.js +20 -0
  892. package/dist/lexical/ui/icons/Table/index.js.map +1 -0
  893. package/dist/lexical/ui/icons/Text/index.d.ts.map +1 -0
  894. package/dist/lexical/ui/icons/Text/index.js.map +1 -0
  895. package/dist/lexical/ui/icons/Underline/index.d.ts.map +1 -0
  896. package/dist/lexical/ui/icons/Underline/index.js.map +1 -0
  897. package/dist/lexical/ui/icons/UnorderedList/index.d.ts.map +1 -0
  898. package/dist/lexical/ui/icons/UnorderedList/index.js.map +1 -0
  899. package/dist/lexical/ui/icons/Upload/index.d.ts.map +1 -0
  900. package/dist/lexical/ui/icons/Upload/index.js +34 -0
  901. package/dist/lexical/ui/icons/Upload/index.js.map +1 -0
  902. package/dist/lexical/utils/canUseDOM.d.ts.map +1 -0
  903. package/dist/lexical/utils/canUseDOM.js.map +1 -0
  904. package/dist/lexical/utils/environment.d.ts.map +1 -0
  905. package/dist/lexical/utils/environment.js.map +1 -0
  906. package/dist/lexical/utils/getDOMRangeRect.d.ts.map +1 -0
  907. package/dist/lexical/utils/getDOMRangeRect.js.map +1 -0
  908. package/dist/lexical/utils/getSelectedNode.d.ts.map +1 -0
  909. package/dist/lexical/utils/getSelectedNode.js.map +1 -0
  910. package/dist/lexical/utils/guard.d.ts.map +1 -0
  911. package/dist/lexical/utils/guard.js.map +1 -0
  912. package/dist/lexical/utils/invariant.d.ts.map +1 -0
  913. package/dist/lexical/utils/invariant.js.map +1 -0
  914. package/dist/lexical/utils/joinClasses.d.ts.map +1 -0
  915. package/dist/lexical/utils/joinClasses.js.map +1 -0
  916. package/dist/lexical/utils/markdown/createBlockNode.d.ts +4 -0
  917. package/dist/lexical/utils/markdown/createBlockNode.d.ts.map +1 -0
  918. package/dist/lexical/utils/markdown/createBlockNode.js.map +1 -0
  919. package/dist/lexical/utils/nodeFormat.d.ts.map +1 -0
  920. package/dist/lexical/utils/nodeFormat.js.map +1 -0
  921. package/dist/lexical/utils/point.d.ts.map +1 -0
  922. package/dist/lexical/utils/point.js.map +1 -0
  923. package/dist/lexical/utils/rect.d.ts.map +1 -0
  924. package/dist/lexical/utils/rect.js.map +1 -0
  925. package/dist/lexical/utils/setFloatingElemPosition.d.ts.map +1 -0
  926. package/dist/lexical/utils/setFloatingElemPosition.js.map +1 -0
  927. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +1 -0
  928. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +1 -0
  929. package/dist/lexical/utils/swipe.d.ts.map +1 -0
  930. package/dist/lexical/utils/swipe.js.map +1 -0
  931. package/dist/lexical/utils/url.d.ts.map +1 -0
  932. package/dist/lexical/utils/url.js.map +1 -0
  933. package/dist/nodeTypes.d.ts +32 -0
  934. package/dist/nodeTypes.d.ts.map +1 -0
  935. package/dist/nodeTypes.js +3 -0
  936. package/dist/nodeTypes.js.map +1 -0
  937. package/dist/populateGraphQL/defaultValue.d.ts.map +1 -1
  938. package/dist/populateGraphQL/defaultValue.js +1 -0
  939. package/dist/populateGraphQL/defaultValue.js.map +1 -1
  940. package/dist/populateGraphQL/populate.d.ts +5 -5
  941. package/dist/populateGraphQL/populate.d.ts.map +1 -1
  942. package/dist/populateGraphQL/populate.js +2 -2
  943. package/dist/populateGraphQL/populate.js.map +1 -1
  944. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts +3 -3
  945. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts.map +1 -1
  946. package/dist/populateGraphQL/populateLexicalPopulationPromises.js +1 -1
  947. package/dist/populateGraphQL/populateLexicalPopulationPromises.js.map +1 -1
  948. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts +4 -4
  949. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts.map +1 -1
  950. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js.map +1 -1
  951. package/dist/types.d.ts +12 -12
  952. package/dist/types.d.ts.map +1 -1
  953. package/dist/types.js.map +1 -1
  954. package/dist/utilities/createClientFeature.d.ts +13 -0
  955. package/dist/utilities/createClientFeature.d.ts.map +1 -0
  956. package/dist/utilities/createClientFeature.js +30 -0
  957. package/dist/utilities/createClientFeature.js.map +1 -0
  958. package/dist/utilities/createServerFeature.d.ts +16 -0
  959. package/dist/utilities/createServerFeature.d.ts.map +1 -0
  960. package/dist/utilities/createServerFeature.js +34 -0
  961. package/dist/utilities/createServerFeature.js.map +1 -0
  962. package/dist/utilities/fieldsDrawer/Drawer.d.ts +18 -0
  963. package/dist/utilities/fieldsDrawer/Drawer.d.ts.map +1 -0
  964. package/dist/utilities/fieldsDrawer/Drawer.js +26 -0
  965. package/dist/utilities/fieldsDrawer/Drawer.js.map +1 -0
  966. package/dist/utilities/fieldsDrawer/DrawerContent.d.ts +4 -0
  967. package/dist/utilities/fieldsDrawer/DrawerContent.d.ts.map +1 -0
  968. package/dist/utilities/fieldsDrawer/DrawerContent.js +90 -0
  969. package/dist/utilities/fieldsDrawer/DrawerContent.js.map +1 -0
  970. package/dist/utilities/forEachNodeRecursively.d.ts.map +1 -0
  971. package/dist/utilities/forEachNodeRecursively.js.map +1 -0
  972. package/dist/utilities/generateComponentMap.d.ts +6 -0
  973. package/dist/utilities/generateComponentMap.d.ts.map +1 -0
  974. package/dist/utilities/generateComponentMap.js +79 -0
  975. package/dist/utilities/generateComponentMap.js.map +1 -0
  976. package/dist/utilities/generateSchemaMap.d.ts +6 -0
  977. package/dist/utilities/generateSchemaMap.d.ts.map +1 -0
  978. package/dist/utilities/generateSchemaMap.js +31 -0
  979. package/dist/utilities/generateSchemaMap.js.map +1 -0
  980. package/dist/utilities/migrateSlateToLexical/index.d.ts +15 -0
  981. package/dist/utilities/migrateSlateToLexical/index.d.ts.map +1 -0
  982. package/dist/utilities/migrateSlateToLexical/index.js +105 -0
  983. package/dist/utilities/migrateSlateToLexical/index.js.map +1 -0
  984. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts +9 -0
  985. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts.map +1 -0
  986. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js +77 -0
  987. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js.map +1 -0
  988. package/dist/utilities/recurseNodeTree.d.ts.map +1 -0
  989. package/dist/utilities/recurseNodeTree.js.map +1 -0
  990. package/dist/utilities/upgradeLexicalData/index.d.ts +11 -0
  991. package/dist/utilities/upgradeLexicalData/index.d.ts.map +1 -0
  992. package/dist/utilities/upgradeLexicalData/index.js +101 -0
  993. package/dist/utilities/upgradeLexicalData/index.js.map +1 -0
  994. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.d.ts +9 -0
  995. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.d.ts.map +1 -0
  996. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js +74 -0
  997. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js.map +1 -0
  998. package/dist/utilities/useLexicalFeature.d.ts +3 -0
  999. package/dist/utilities/useLexicalFeature.d.ts.map +1 -0
  1000. package/dist/utilities/useLexicalFeature.js +12 -0
  1001. package/dist/utilities/useLexicalFeature.js.map +1 -0
  1002. package/dist/validate/index.d.ts +1 -1
  1003. package/dist/validate/index.d.ts.map +1 -1
  1004. package/dist/validate/index.js.map +1 -1
  1005. package/dist/validate/validateNodes.d.ts +2 -2
  1006. package/dist/validate/validateNodes.d.ts.map +1 -1
  1007. package/dist/validate/validateNodes.js.map +1 -1
  1008. package/package.json +48 -47
  1009. package/dist/exports/client/Component-6AVANNNR.js +0 -2
  1010. package/dist/exports/client/Component-6AVANNNR.js.map +0 -7
  1011. package/dist/exports/client/Component-SZVAYRJX.js +0 -2
  1012. package/dist/exports/client/Component-SZVAYRJX.js.map +0 -7
  1013. package/dist/exports/client/Field-U5PHZTST.js +0 -2
  1014. package/dist/exports/client/Field-U5PHZTST.js.map +0 -7
  1015. package/dist/exports/client/RelationshipComponent-FGUPLCD2.js +0 -2
  1016. package/dist/exports/client/RelationshipComponent-FGUPLCD2.js.map +0 -7
  1017. package/dist/exports/client/chunk-35NZOHAF.js +0 -2
  1018. package/dist/exports/client/chunk-35NZOHAF.js.map +0 -7
  1019. package/dist/exports/client/chunk-3PZ2ZFQG.js +0 -3
  1020. package/dist/exports/client/chunk-3PZ2ZFQG.js.map +0 -7
  1021. package/dist/exports/client/chunk-FSTRW2TI.js +0 -2
  1022. package/dist/exports/client/chunk-FSTRW2TI.js.map +0 -7
  1023. package/dist/exports/client/chunk-M6MN4CA5.js +0 -2
  1024. package/dist/exports/client/chunk-M6MN4CA5.js.map +0 -7
  1025. package/dist/exports/client/chunk-Y5455JF3.js +0 -2
  1026. package/dist/exports/client/chunk-Y5455JF3.js.map +0 -7
  1027. package/dist/exports/client/component-FFLILIUZ.js +0 -2
  1028. package/dist/exports/client/component-FFLILIUZ.js.map +0 -7
  1029. package/dist/exports/client/component-RAVN56DE.js +0 -2
  1030. package/dist/exports/client/component-RAVN56DE.js.map +0 -7
  1031. package/dist/exports/client/component-Z34HXRX3.js +0 -2
  1032. package/dist/exports/client/component-Z34HXRX3.js.map +0 -7
  1033. package/dist/field/features/align/feature.client.d.ts +0 -6
  1034. package/dist/field/features/align/feature.client.d.ts.map +0 -1
  1035. package/dist/field/features/align/feature.client.js +0 -153
  1036. package/dist/field/features/align/feature.client.js.map +0 -1
  1037. package/dist/field/features/align/feature.server.d.ts +0 -3
  1038. package/dist/field/features/align/feature.server.d.ts.map +0 -1
  1039. package/dist/field/features/align/feature.server.js +0 -19
  1040. package/dist/field/features/align/feature.server.js.map +0 -1
  1041. package/dist/field/features/align/i18n.d.ts.map +0 -1
  1042. package/dist/field/features/align/i18n.js.map +0 -1
  1043. package/dist/field/features/align/toolbarAlignGroup.d.ts.map +0 -1
  1044. package/dist/field/features/align/toolbarAlignGroup.js.map +0 -1
  1045. package/dist/field/features/blockquote/feature.client.d.ts +0 -6
  1046. package/dist/field/features/blockquote/feature.client.d.ts.map +0 -1
  1047. package/dist/field/features/blockquote/feature.client.js +0 -84
  1048. package/dist/field/features/blockquote/feature.client.js.map +0 -1
  1049. package/dist/field/features/blockquote/feature.server.d.ts +0 -3
  1050. package/dist/field/features/blockquote/feature.server.d.ts.map +0 -1
  1051. package/dist/field/features/blockquote/feature.server.js +0 -50
  1052. package/dist/field/features/blockquote/feature.server.js.map +0 -1
  1053. package/dist/field/features/blockquote/i18n.d.ts.map +0 -1
  1054. package/dist/field/features/blockquote/i18n.js.map +0 -1
  1055. package/dist/field/features/blockquote/markdownTransformer.d.ts.map +0 -1
  1056. package/dist/field/features/blockquote/markdownTransformer.js.map +0 -1
  1057. package/dist/field/features/blocks/component/BlockContent.d.ts +0 -27
  1058. package/dist/field/features/blocks/component/BlockContent.d.ts.map +0 -1
  1059. package/dist/field/features/blocks/component/BlockContent.js +0 -193
  1060. package/dist/field/features/blocks/component/BlockContent.js.map +0 -1
  1061. package/dist/field/features/blocks/component/FormSavePlugin.d.ts.map +0 -1
  1062. package/dist/field/features/blocks/component/FormSavePlugin.js +0 -29
  1063. package/dist/field/features/blocks/component/FormSavePlugin.js.map +0 -1
  1064. package/dist/field/features/blocks/component/index.d.ts +0 -15
  1065. package/dist/field/features/blocks/component/index.d.ts.map +0 -1
  1066. package/dist/field/features/blocks/component/index.js +0 -158
  1067. package/dist/field/features/blocks/component/index.js.map +0 -1
  1068. package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts.map +0 -1
  1069. package/dist/field/features/blocks/component/removeEmptyArrayValues.js.map +0 -1
  1070. package/dist/field/features/blocks/drawer/index.d.ts +0 -9
  1071. package/dist/field/features/blocks/drawer/index.d.ts.map +0 -1
  1072. package/dist/field/features/blocks/drawer/index.js +0 -78
  1073. package/dist/field/features/blocks/drawer/index.js.map +0 -1
  1074. package/dist/field/features/blocks/feature.client.d.ts +0 -10
  1075. package/dist/field/features/blocks/feature.client.d.ts.map +0 -1
  1076. package/dist/field/features/blocks/feature.client.js +0 -92
  1077. package/dist/field/features/blocks/feature.client.js.map +0 -1
  1078. package/dist/field/features/blocks/feature.server.d.ts +0 -8
  1079. package/dist/field/features/blocks/feature.server.d.ts.map +0 -1
  1080. package/dist/field/features/blocks/feature.server.js +0 -107
  1081. package/dist/field/features/blocks/feature.server.js.map +0 -1
  1082. package/dist/field/features/blocks/graphQLPopulationPromise.d.ts +0 -5
  1083. package/dist/field/features/blocks/graphQLPopulationPromise.d.ts.map +0 -1
  1084. package/dist/field/features/blocks/graphQLPopulationPromise.js +0 -31
  1085. package/dist/field/features/blocks/graphQLPopulationPromise.js.map +0 -1
  1086. package/dist/field/features/blocks/i18n.d.ts.map +0 -1
  1087. package/dist/field/features/blocks/i18n.js +0 -100
  1088. package/dist/field/features/blocks/i18n.js.map +0 -1
  1089. package/dist/field/features/blocks/nodes/BlocksNode.d.ts +0 -36
  1090. package/dist/field/features/blocks/nodes/BlocksNode.d.ts.map +0 -1
  1091. package/dist/field/features/blocks/nodes/BlocksNode.js +0 -92
  1092. package/dist/field/features/blocks/nodes/BlocksNode.js.map +0 -1
  1093. package/dist/field/features/blocks/plugin/commands.d.ts +0 -4
  1094. package/dist/field/features/blocks/plugin/commands.d.ts.map +0 -1
  1095. package/dist/field/features/blocks/plugin/commands.js +0 -4
  1096. package/dist/field/features/blocks/plugin/commands.js.map +0 -1
  1097. package/dist/field/features/blocks/plugin/index.d.ts +0 -6
  1098. package/dist/field/features/blocks/plugin/index.d.ts.map +0 -1
  1099. package/dist/field/features/blocks/plugin/index.js +0 -42
  1100. package/dist/field/features/blocks/plugin/index.js.map +0 -1
  1101. package/dist/field/features/blocks/validate.d.ts +0 -5
  1102. package/dist/field/features/blocks/validate.d.ts.map +0 -1
  1103. package/dist/field/features/blocks/validate.js +0 -36
  1104. package/dist/field/features/blocks/validate.js.map +0 -1
  1105. package/dist/field/features/converters/html/converter/converters/linebreak.d.ts.map +0 -1
  1106. package/dist/field/features/converters/html/converter/converters/linebreak.js.map +0 -1
  1107. package/dist/field/features/converters/html/converter/converters/paragraph.d.ts.map +0 -1
  1108. package/dist/field/features/converters/html/converter/converters/paragraph.js +0 -20
  1109. package/dist/field/features/converters/html/converter/converters/paragraph.js.map +0 -1
  1110. package/dist/field/features/converters/html/converter/converters/text.d.ts.map +0 -1
  1111. package/dist/field/features/converters/html/converter/converters/text.js.map +0 -1
  1112. package/dist/field/features/converters/html/converter/defaultConverters.d.ts.map +0 -1
  1113. package/dist/field/features/converters/html/converter/defaultConverters.js.map +0 -1
  1114. package/dist/field/features/converters/html/converter/index.d.ts +0 -21
  1115. package/dist/field/features/converters/html/converter/index.d.ts.map +0 -1
  1116. package/dist/field/features/converters/html/converter/index.js +0 -44
  1117. package/dist/field/features/converters/html/converter/index.js.map +0 -1
  1118. package/dist/field/features/converters/html/converter/types.d.ts +0 -19
  1119. package/dist/field/features/converters/html/converter/types.d.ts.map +0 -1
  1120. package/dist/field/features/converters/html/converter/types.js.map +0 -1
  1121. package/dist/field/features/converters/html/feature.server.d.ts +0 -9
  1122. package/dist/field/features/converters/html/feature.server.d.ts.map +0 -1
  1123. package/dist/field/features/converters/html/feature.server.js +0 -14
  1124. package/dist/field/features/converters/html/feature.server.js.map +0 -1
  1125. package/dist/field/features/converters/html/field/index.d.ts.map +0 -1
  1126. package/dist/field/features/converters/html/field/index.js +0 -154
  1127. package/dist/field/features/converters/html/field/index.js.map +0 -1
  1128. package/dist/field/features/createClientComponent.d.ts +0 -6
  1129. package/dist/field/features/createClientComponent.d.ts.map +0 -1
  1130. package/dist/field/features/createClientComponent.js +0 -12
  1131. package/dist/field/features/createClientComponent.js.map +0 -1
  1132. package/dist/field/features/createFeaturePropComponent.d.ts.map +0 -1
  1133. package/dist/field/features/createFeaturePropComponent.js +0 -18
  1134. package/dist/field/features/createFeaturePropComponent.js.map +0 -1
  1135. package/dist/field/features/debug/testRecorder/feature.client.d.ts +0 -6
  1136. package/dist/field/features/debug/testRecorder/feature.client.d.ts.map +0 -1
  1137. package/dist/field/features/debug/testRecorder/feature.client.js +0 -20
  1138. package/dist/field/features/debug/testRecorder/feature.client.js.map +0 -1
  1139. package/dist/field/features/debug/testRecorder/feature.server.d.ts +0 -3
  1140. package/dist/field/features/debug/testRecorder/feature.server.d.ts.map +0 -1
  1141. package/dist/field/features/debug/testRecorder/feature.server.js +0 -16
  1142. package/dist/field/features/debug/testRecorder/feature.server.js.map +0 -1
  1143. package/dist/field/features/debug/testRecorder/plugin/index.d.ts +0 -5
  1144. package/dist/field/features/debug/testRecorder/plugin/index.d.ts.map +0 -1
  1145. package/dist/field/features/debug/testRecorder/plugin/index.js.map +0 -1
  1146. package/dist/field/features/debug/treeView/feature.client.d.ts +0 -6
  1147. package/dist/field/features/debug/treeView/feature.client.d.ts.map +0 -1
  1148. package/dist/field/features/debug/treeView/feature.client.js +0 -20
  1149. package/dist/field/features/debug/treeView/feature.client.js.map +0 -1
  1150. package/dist/field/features/debug/treeView/feature.server.d.ts +0 -3
  1151. package/dist/field/features/debug/treeView/feature.server.d.ts.map +0 -1
  1152. package/dist/field/features/debug/treeView/feature.server.js +0 -16
  1153. package/dist/field/features/debug/treeView/feature.server.js.map +0 -1
  1154. package/dist/field/features/debug/treeView/plugin/index.d.ts +0 -4
  1155. package/dist/field/features/debug/treeView/plugin/index.d.ts.map +0 -1
  1156. package/dist/field/features/debug/treeView/plugin/index.js.map +0 -1
  1157. package/dist/field/features/format/bold/feature.client.d.ts +0 -6
  1158. package/dist/field/features/format/bold/feature.client.d.ts.map +0 -1
  1159. package/dist/field/features/format/bold/feature.client.js +0 -51
  1160. package/dist/field/features/format/bold/feature.client.js.map +0 -1
  1161. package/dist/field/features/format/bold/feature.server.d.ts +0 -3
  1162. package/dist/field/features/format/bold/feature.server.d.ts.map +0 -1
  1163. package/dist/field/features/format/bold/feature.server.js +0 -28
  1164. package/dist/field/features/format/bold/feature.server.js.map +0 -1
  1165. package/dist/field/features/format/bold/markdownTransformers.d.ts.map +0 -1
  1166. package/dist/field/features/format/bold/markdownTransformers.js.map +0 -1
  1167. package/dist/field/features/format/inlineCode/feature.client.d.ts +0 -6
  1168. package/dist/field/features/format/inlineCode/feature.client.d.ts.map +0 -1
  1169. package/dist/field/features/format/inlineCode/feature.client.js +0 -46
  1170. package/dist/field/features/format/inlineCode/feature.client.js.map +0 -1
  1171. package/dist/field/features/format/inlineCode/feature.server.d.ts +0 -3
  1172. package/dist/field/features/format/inlineCode/feature.server.d.ts.map +0 -1
  1173. package/dist/field/features/format/inlineCode/feature.server.js +0 -20
  1174. package/dist/field/features/format/inlineCode/feature.server.js.map +0 -1
  1175. package/dist/field/features/format/inlineCode/markdownTransformers.d.ts.map +0 -1
  1176. package/dist/field/features/format/inlineCode/markdownTransformers.js.map +0 -1
  1177. package/dist/field/features/format/italic/feature.client.d.ts +0 -6
  1178. package/dist/field/features/format/italic/feature.client.d.ts.map +0 -1
  1179. package/dist/field/features/format/italic/feature.client.js +0 -47
  1180. package/dist/field/features/format/italic/feature.client.js.map +0 -1
  1181. package/dist/field/features/format/italic/feature.server.d.ts +0 -3
  1182. package/dist/field/features/format/italic/feature.server.d.ts.map +0 -1
  1183. package/dist/field/features/format/italic/feature.server.js +0 -21
  1184. package/dist/field/features/format/italic/feature.server.js.map +0 -1
  1185. package/dist/field/features/format/italic/markdownTransformers.d.ts.map +0 -1
  1186. package/dist/field/features/format/italic/markdownTransformers.js.map +0 -1
  1187. package/dist/field/features/format/shared/toolbarFormatGroup.d.ts.map +0 -1
  1188. package/dist/field/features/format/shared/toolbarFormatGroup.js.map +0 -1
  1189. package/dist/field/features/format/strikethrough/feature.client.d.ts +0 -6
  1190. package/dist/field/features/format/strikethrough/feature.client.d.ts.map +0 -1
  1191. package/dist/field/features/format/strikethrough/feature.client.js +0 -46
  1192. package/dist/field/features/format/strikethrough/feature.client.js.map +0 -1
  1193. package/dist/field/features/format/strikethrough/feature.server.d.ts +0 -3
  1194. package/dist/field/features/format/strikethrough/feature.server.d.ts.map +0 -1
  1195. package/dist/field/features/format/strikethrough/feature.server.js +0 -20
  1196. package/dist/field/features/format/strikethrough/feature.server.js.map +0 -1
  1197. package/dist/field/features/format/strikethrough/markdownTransformers.d.ts.map +0 -1
  1198. package/dist/field/features/format/strikethrough/markdownTransformers.js.map +0 -1
  1199. package/dist/field/features/format/subscript/feature.client.d.ts +0 -6
  1200. package/dist/field/features/format/subscript/feature.client.d.ts.map +0 -1
  1201. package/dist/field/features/format/subscript/feature.client.js +0 -42
  1202. package/dist/field/features/format/subscript/feature.client.js.map +0 -1
  1203. package/dist/field/features/format/subscript/feature.server.d.ts +0 -3
  1204. package/dist/field/features/format/subscript/feature.server.d.ts.map +0 -1
  1205. package/dist/field/features/format/subscript/feature.server.js +0 -16
  1206. package/dist/field/features/format/subscript/feature.server.js.map +0 -1
  1207. package/dist/field/features/format/superscript/feature.client.d.ts +0 -6
  1208. package/dist/field/features/format/superscript/feature.client.d.ts.map +0 -1
  1209. package/dist/field/features/format/superscript/feature.client.js +0 -42
  1210. package/dist/field/features/format/superscript/feature.client.js.map +0 -1
  1211. package/dist/field/features/format/superscript/feature.server.d.ts +0 -3
  1212. package/dist/field/features/format/superscript/feature.server.d.ts.map +0 -1
  1213. package/dist/field/features/format/superscript/feature.server.js +0 -16
  1214. package/dist/field/features/format/superscript/feature.server.js.map +0 -1
  1215. package/dist/field/features/format/underline/feature.client.d.ts +0 -6
  1216. package/dist/field/features/format/underline/feature.client.d.ts.map +0 -1
  1217. package/dist/field/features/format/underline/feature.client.js +0 -42
  1218. package/dist/field/features/format/underline/feature.client.js.map +0 -1
  1219. package/dist/field/features/format/underline/feature.server.d.ts +0 -3
  1220. package/dist/field/features/format/underline/feature.server.d.ts.map +0 -1
  1221. package/dist/field/features/format/underline/feature.server.js +0 -16
  1222. package/dist/field/features/format/underline/feature.server.js.map +0 -1
  1223. package/dist/field/features/heading/feature.client.d.ts +0 -7
  1224. package/dist/field/features/heading/feature.client.d.ts.map +0 -1
  1225. package/dist/field/features/heading/feature.client.js +0 -118
  1226. package/dist/field/features/heading/feature.client.js.map +0 -1
  1227. package/dist/field/features/heading/feature.server.d.ts +0 -7
  1228. package/dist/field/features/heading/feature.server.d.ts.map +0 -1
  1229. package/dist/field/features/heading/feature.server.js +0 -61
  1230. package/dist/field/features/heading/feature.server.js.map +0 -1
  1231. package/dist/field/features/heading/i18n.d.ts.map +0 -1
  1232. package/dist/field/features/heading/i18n.js +0 -100
  1233. package/dist/field/features/heading/i18n.js.map +0 -1
  1234. package/dist/field/features/heading/markdownTransformer.d.ts.map +0 -1
  1235. package/dist/field/features/heading/markdownTransformer.js.map +0 -1
  1236. package/dist/field/features/horizontalRule/component/index.d.ts.map +0 -1
  1237. package/dist/field/features/horizontalRule/component/index.js.map +0 -1
  1238. package/dist/field/features/horizontalRule/feature.client.d.ts +0 -6
  1239. package/dist/field/features/horizontalRule/feature.client.d.ts.map +0 -1
  1240. package/dist/field/features/horizontalRule/feature.client.js +0 -77
  1241. package/dist/field/features/horizontalRule/feature.client.js.map +0 -1
  1242. package/dist/field/features/horizontalRule/feature.server.d.ts +0 -3
  1243. package/dist/field/features/horizontalRule/feature.server.d.ts.map +0 -1
  1244. package/dist/field/features/horizontalRule/feature.server.js +0 -39
  1245. package/dist/field/features/horizontalRule/feature.server.js.map +0 -1
  1246. package/dist/field/features/horizontalRule/i18n.d.ts.map +0 -1
  1247. package/dist/field/features/horizontalRule/i18n.js.map +0 -1
  1248. package/dist/field/features/horizontalRule/markdownTransformer.d.ts.map +0 -1
  1249. package/dist/field/features/horizontalRule/markdownTransformer.js.map +0 -1
  1250. package/dist/field/features/horizontalRule/nodes/HorizontalRuleNode.d.ts +0 -53
  1251. package/dist/field/features/horizontalRule/nodes/HorizontalRuleNode.d.ts.map +0 -1
  1252. package/dist/field/features/horizontalRule/nodes/HorizontalRuleNode.js.map +0 -1
  1253. package/dist/field/features/horizontalRule/plugin/index.d.ts +0 -7
  1254. package/dist/field/features/horizontalRule/plugin/index.d.ts.map +0 -1
  1255. package/dist/field/features/horizontalRule/plugin/index.js.map +0 -1
  1256. package/dist/field/features/indent/feature.client.d.ts +0 -6
  1257. package/dist/field/features/indent/feature.client.d.ts.map +0 -1
  1258. package/dist/field/features/indent/feature.client.js +0 -63
  1259. package/dist/field/features/indent/feature.client.js.map +0 -1
  1260. package/dist/field/features/indent/feature.server.d.ts +0 -3
  1261. package/dist/field/features/indent/feature.server.d.ts.map +0 -1
  1262. package/dist/field/features/indent/feature.server.js +0 -19
  1263. package/dist/field/features/indent/feature.server.js.map +0 -1
  1264. package/dist/field/features/indent/i18n.d.ts.map +0 -1
  1265. package/dist/field/features/indent/i18n.js.map +0 -1
  1266. package/dist/field/features/indent/toolbarIndentGroup.d.ts.map +0 -1
  1267. package/dist/field/features/indent/toolbarIndentGroup.js.map +0 -1
  1268. package/dist/field/features/link/drawer/baseFields.d.ts +0 -3
  1269. package/dist/field/features/link/drawer/baseFields.d.ts.map +0 -1
  1270. package/dist/field/features/link/drawer/baseFields.js.map +0 -1
  1271. package/dist/field/features/link/drawer/index.d.ts +0 -5
  1272. package/dist/field/features/link/drawer/index.d.ts.map +0 -1
  1273. package/dist/field/features/link/drawer/index.js +0 -94
  1274. package/dist/field/features/link/drawer/index.js.map +0 -1
  1275. package/dist/field/features/link/drawer/types.d.ts +0 -10
  1276. package/dist/field/features/link/drawer/types.d.ts.map +0 -1
  1277. package/dist/field/features/link/drawer/types.js.map +0 -1
  1278. package/dist/field/features/link/feature.client.d.ts +0 -17
  1279. package/dist/field/features/link/feature.client.d.ts.map +0 -1
  1280. package/dist/field/features/link/feature.client.js +0 -108
  1281. package/dist/field/features/link/feature.client.js.map +0 -1
  1282. package/dist/field/features/link/feature.server.d.ts +0 -37
  1283. package/dist/field/features/link/feature.server.d.ts.map +0 -1
  1284. package/dist/field/features/link/feature.server.js +0 -140
  1285. package/dist/field/features/link/feature.server.js.map +0 -1
  1286. package/dist/field/features/link/graphQLPopulationPromise.d.ts +0 -5
  1287. package/dist/field/features/link/graphQLPopulationPromise.d.ts.map +0 -1
  1288. package/dist/field/features/link/graphQLPopulationPromise.js +0 -31
  1289. package/dist/field/features/link/graphQLPopulationPromise.js.map +0 -1
  1290. package/dist/field/features/link/i18n.d.ts.map +0 -1
  1291. package/dist/field/features/link/i18n.js.map +0 -1
  1292. package/dist/field/features/link/markdownTransformer.d.ts.map +0 -1
  1293. package/dist/field/features/link/markdownTransformer.js.map +0 -1
  1294. package/dist/field/features/link/nodes/AutoLinkNode.d.ts.map +0 -1
  1295. package/dist/field/features/link/nodes/AutoLinkNode.js +0 -62
  1296. package/dist/field/features/link/nodes/AutoLinkNode.js.map +0 -1
  1297. package/dist/field/features/link/nodes/LinkNode.d.ts.map +0 -1
  1298. package/dist/field/features/link/nodes/LinkNode.js +0 -318
  1299. package/dist/field/features/link/nodes/LinkNode.js.map +0 -1
  1300. package/dist/field/features/link/nodes/types.d.ts +0 -20
  1301. package/dist/field/features/link/nodes/types.d.ts.map +0 -1
  1302. package/dist/field/features/link/nodes/types.js.map +0 -1
  1303. package/dist/field/features/link/plugins/autoLink/index.d.ts +0 -20
  1304. package/dist/field/features/link/plugins/autoLink/index.d.ts.map +0 -1
  1305. package/dist/field/features/link/plugins/autoLink/index.js +0 -320
  1306. package/dist/field/features/link/plugins/autoLink/index.js.map +0 -1
  1307. package/dist/field/features/link/plugins/clickableLink/index.d.ts +0 -4
  1308. package/dist/field/features/link/plugins/clickableLink/index.d.ts.map +0 -1
  1309. package/dist/field/features/link/plugins/clickableLink/index.js.map +0 -1
  1310. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +0 -1
  1311. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +0 -1
  1312. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +0 -1
  1313. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +0 -295
  1314. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +0 -1
  1315. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts +0 -5
  1316. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts.map +0 -1
  1317. package/dist/field/features/link/plugins/floatingLinkEditor/index.js.map +0 -1
  1318. package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts.map +0 -1
  1319. package/dist/field/features/link/plugins/floatingLinkEditor/types.js.map +0 -1
  1320. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts +0 -9
  1321. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +0 -1
  1322. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js.map +0 -1
  1323. package/dist/field/features/link/plugins/link/index.d.ts +0 -4
  1324. package/dist/field/features/link/plugins/link/index.d.ts.map +0 -1
  1325. package/dist/field/features/link/plugins/link/index.js.map +0 -1
  1326. package/dist/field/features/link/validate.d.ts +0 -6
  1327. package/dist/field/features/link/validate.d.ts.map +0 -1
  1328. package/dist/field/features/link/validate.js +0 -28
  1329. package/dist/field/features/link/validate.js.map +0 -1
  1330. package/dist/field/features/lists/checklist/feature.client.d.ts +0 -6
  1331. package/dist/field/features/lists/checklist/feature.client.d.ts.map +0 -1
  1332. package/dist/field/features/lists/checklist/feature.client.js +0 -107
  1333. package/dist/field/features/lists/checklist/feature.client.js.map +0 -1
  1334. package/dist/field/features/lists/checklist/feature.server.d.ts +0 -3
  1335. package/dist/field/features/lists/checklist/feature.server.d.ts.map +0 -1
  1336. package/dist/field/features/lists/checklist/feature.server.js +0 -39
  1337. package/dist/field/features/lists/checklist/feature.server.js.map +0 -1
  1338. package/dist/field/features/lists/checklist/i18n.d.ts.map +0 -1
  1339. package/dist/field/features/lists/checklist/i18n.js.map +0 -1
  1340. package/dist/field/features/lists/checklist/markdownTransformers.d.ts.map +0 -1
  1341. package/dist/field/features/lists/checklist/markdownTransformers.js.map +0 -1
  1342. package/dist/field/features/lists/checklist/plugin/index.d.ts +0 -3
  1343. package/dist/field/features/lists/checklist/plugin/index.d.ts.map +0 -1
  1344. package/dist/field/features/lists/checklist/plugin/index.js.map +0 -1
  1345. package/dist/field/features/lists/htmlConverter.d.ts +0 -5
  1346. package/dist/field/features/lists/htmlConverter.d.ts.map +0 -1
  1347. package/dist/field/features/lists/htmlConverter.js +0 -56
  1348. package/dist/field/features/lists/htmlConverter.js.map +0 -1
  1349. package/dist/field/features/lists/orderedList/feature.client.d.ts +0 -6
  1350. package/dist/field/features/lists/orderedList/feature.client.d.ts.map +0 -1
  1351. package/dist/field/features/lists/orderedList/feature.client.js +0 -97
  1352. package/dist/field/features/lists/orderedList/feature.client.js.map +0 -1
  1353. package/dist/field/features/lists/orderedList/feature.server.d.ts +0 -3
  1354. package/dist/field/features/lists/orderedList/feature.server.d.ts.map +0 -1
  1355. package/dist/field/features/lists/orderedList/feature.server.js +0 -39
  1356. package/dist/field/features/lists/orderedList/feature.server.js.map +0 -1
  1357. package/dist/field/features/lists/orderedList/i18n.d.ts.map +0 -1
  1358. package/dist/field/features/lists/orderedList/i18n.js.map +0 -1
  1359. package/dist/field/features/lists/orderedList/markdownTransformer.d.ts.map +0 -1
  1360. package/dist/field/features/lists/orderedList/markdownTransformer.js.map +0 -1
  1361. package/dist/field/features/lists/plugin/index.d.ts +0 -3
  1362. package/dist/field/features/lists/plugin/index.d.ts.map +0 -1
  1363. package/dist/field/features/lists/plugin/index.js.map +0 -1
  1364. package/dist/field/features/lists/shared/markdown.d.ts +0 -6
  1365. package/dist/field/features/lists/shared/markdown.d.ts.map +0 -1
  1366. package/dist/field/features/lists/shared/markdown.js.map +0 -1
  1367. package/dist/field/features/lists/shared/slashMenuListGroup.d.ts.map +0 -1
  1368. package/dist/field/features/lists/shared/slashMenuListGroup.js.map +0 -1
  1369. package/dist/field/features/lists/unorderedList/feature.client.d.ts +0 -6
  1370. package/dist/field/features/lists/unorderedList/feature.client.d.ts.map +0 -1
  1371. package/dist/field/features/lists/unorderedList/feature.client.js +0 -97
  1372. package/dist/field/features/lists/unorderedList/feature.client.js.map +0 -1
  1373. package/dist/field/features/lists/unorderedList/feature.server.d.ts +0 -3
  1374. package/dist/field/features/lists/unorderedList/feature.server.d.ts.map +0 -1
  1375. package/dist/field/features/lists/unorderedList/feature.server.js +0 -39
  1376. package/dist/field/features/lists/unorderedList/feature.server.js.map +0 -1
  1377. package/dist/field/features/lists/unorderedList/i18n.d.ts.map +0 -1
  1378. package/dist/field/features/lists/unorderedList/i18n.js.map +0 -1
  1379. package/dist/field/features/lists/unorderedList/markdownTransformer.d.ts.map +0 -1
  1380. package/dist/field/features/lists/unorderedList/markdownTransformer.js.map +0 -1
  1381. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +0 -6
  1382. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1383. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +0 -1
  1384. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1385. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +0 -1
  1386. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1387. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +0 -8
  1388. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +0 -1
  1389. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +0 -6
  1390. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +0 -1
  1391. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +0 -1
  1392. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1393. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +0 -1
  1394. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +0 -1
  1395. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js +0 -8
  1396. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +0 -1
  1397. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +0 -6
  1398. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +0 -1
  1399. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +0 -1
  1400. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +0 -1
  1401. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +0 -1
  1402. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +0 -1
  1403. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js +0 -8
  1404. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +0 -1
  1405. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +0 -6
  1406. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1407. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +0 -1
  1408. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1409. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +0 -1
  1410. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1411. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +0 -8
  1412. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +0 -1
  1413. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +0 -6
  1414. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +0 -1
  1415. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +0 -1
  1416. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +0 -1
  1417. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +0 -1
  1418. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +0 -1
  1419. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +0 -8
  1420. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +0 -1
  1421. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +0 -6
  1422. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1423. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +0 -1
  1424. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1425. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +0 -1
  1426. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1427. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +0 -8
  1428. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +0 -1
  1429. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +0 -6
  1430. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1431. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +0 -1
  1432. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1433. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +0 -1
  1434. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1435. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +0 -8
  1436. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +0 -1
  1437. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +0 -1
  1438. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +0 -1
  1439. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +0 -1
  1440. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.js.map +0 -1
  1441. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts +0 -31
  1442. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +0 -1
  1443. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.js.map +0 -1
  1444. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts +0 -6
  1445. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +0 -1
  1446. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js +0 -34
  1447. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js.map +0 -1
  1448. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts +0 -9
  1449. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +0 -1
  1450. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js +0 -48
  1451. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js.map +0 -1
  1452. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1453. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1454. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1455. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1456. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +0 -6
  1457. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +0 -1
  1458. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +0 -1
  1459. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +0 -1
  1460. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +0 -1
  1461. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +0 -1
  1462. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js +0 -8
  1463. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +0 -1
  1464. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts +0 -6
  1465. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1466. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.js.map +0 -1
  1467. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1468. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +0 -1
  1469. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1470. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js +0 -8
  1471. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js.map +0 -1
  1472. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts +0 -6
  1473. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +0 -1
  1474. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.js.map +0 -1
  1475. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +0 -1
  1476. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +0 -1
  1477. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +0 -1
  1478. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js +0 -8
  1479. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js.map +0 -1
  1480. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts +0 -6
  1481. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +0 -1
  1482. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.js.map +0 -1
  1483. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1484. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.js.map +0 -1
  1485. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +0 -1
  1486. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js +0 -8
  1487. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js.map +0 -1
  1488. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts +0 -6
  1489. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1490. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +0 -1
  1491. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1492. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +0 -1
  1493. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1494. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js +0 -8
  1495. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +0 -1
  1496. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +0 -6
  1497. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +0 -1
  1498. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +0 -1
  1499. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +0 -1
  1500. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +0 -1
  1501. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +0 -1
  1502. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js +0 -8
  1503. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +0 -1
  1504. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts +0 -6
  1505. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +0 -1
  1506. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +0 -1
  1507. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +0 -1
  1508. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +0 -1
  1509. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +0 -1
  1510. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js +0 -8
  1511. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +0 -1
  1512. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts +0 -6
  1513. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1514. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +0 -1
  1515. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1516. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +0 -1
  1517. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1518. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js +0 -8
  1519. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +0 -1
  1520. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +0 -6
  1521. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +0 -1
  1522. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +0 -1
  1523. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +0 -1
  1524. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +0 -1
  1525. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +0 -1
  1526. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js +0 -8
  1527. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +0 -1
  1528. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts +0 -6
  1529. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1530. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.js.map +0 -1
  1531. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1532. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +0 -1
  1533. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1534. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js +0 -8
  1535. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js.map +0 -1
  1536. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +0 -1
  1537. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.js.map +0 -1
  1538. package/dist/field/features/migrations/slateToLexical/converter/index.d.ts.map +0 -1
  1539. package/dist/field/features/migrations/slateToLexical/converter/index.js +0 -108
  1540. package/dist/field/features/migrations/slateToLexical/converter/index.js.map +0 -1
  1541. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts +0 -25
  1542. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts.map +0 -1
  1543. package/dist/field/features/migrations/slateToLexical/converter/types.js.map +0 -1
  1544. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts +0 -6
  1545. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts.map +0 -1
  1546. package/dist/field/features/migrations/slateToLexical/feature.client.js +0 -34
  1547. package/dist/field/features/migrations/slateToLexical/feature.client.js.map +0 -1
  1548. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts +0 -9
  1549. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts.map +0 -1
  1550. package/dist/field/features/migrations/slateToLexical/feature.server.js +0 -48
  1551. package/dist/field/features/migrations/slateToLexical/feature.server.js.map +0 -1
  1552. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1553. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1554. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1555. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1556. package/dist/field/features/paragraph/feature.client.d.ts +0 -6
  1557. package/dist/field/features/paragraph/feature.client.d.ts.map +0 -1
  1558. package/dist/field/features/paragraph/feature.client.js +0 -78
  1559. package/dist/field/features/paragraph/feature.client.js.map +0 -1
  1560. package/dist/field/features/paragraph/feature.server.d.ts +0 -3
  1561. package/dist/field/features/paragraph/feature.server.d.ts.map +0 -1
  1562. package/dist/field/features/paragraph/feature.server.js +0 -19
  1563. package/dist/field/features/paragraph/feature.server.js.map +0 -1
  1564. package/dist/field/features/paragraph/i18n.d.ts.map +0 -1
  1565. package/dist/field/features/paragraph/i18n.js.map +0 -1
  1566. package/dist/field/features/relationship/drawer/commands.d.ts.map +0 -1
  1567. package/dist/field/features/relationship/drawer/commands.js.map +0 -1
  1568. package/dist/field/features/relationship/drawer/index.d.ts.map +0 -1
  1569. package/dist/field/features/relationship/drawer/index.js +0 -83
  1570. package/dist/field/features/relationship/drawer/index.js.map +0 -1
  1571. package/dist/field/features/relationship/feature.client.d.ts +0 -19
  1572. package/dist/field/features/relationship/feature.client.d.ts.map +0 -1
  1573. package/dist/field/features/relationship/feature.client.js +0 -79
  1574. package/dist/field/features/relationship/feature.client.js.map +0 -1
  1575. package/dist/field/features/relationship/feature.server.d.ts +0 -27
  1576. package/dist/field/features/relationship/feature.server.d.ts.map +0 -1
  1577. package/dist/field/features/relationship/feature.server.js +0 -61
  1578. package/dist/field/features/relationship/feature.server.js.map +0 -1
  1579. package/dist/field/features/relationship/graphQLPopulationPromise.d.ts +0 -5
  1580. package/dist/field/features/relationship/graphQLPopulationPromise.d.ts.map +0 -1
  1581. package/dist/field/features/relationship/graphQLPopulationPromise.js +0 -29
  1582. package/dist/field/features/relationship/graphQLPopulationPromise.js.map +0 -1
  1583. package/dist/field/features/relationship/i18n.d.ts.map +0 -1
  1584. package/dist/field/features/relationship/i18n.js.map +0 -1
  1585. package/dist/field/features/relationship/nodes/RelationshipNode.d.ts +0 -31
  1586. package/dist/field/features/relationship/nodes/RelationshipNode.d.ts.map +0 -1
  1587. package/dist/field/features/relationship/nodes/RelationshipNode.js +0 -111
  1588. package/dist/field/features/relationship/nodes/RelationshipNode.js.map +0 -1
  1589. package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts +0 -14
  1590. package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts.map +0 -1
  1591. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js +0 -172
  1592. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js.map +0 -1
  1593. package/dist/field/features/relationship/plugins/index.d.ts +0 -7
  1594. package/dist/field/features/relationship/plugins/index.d.ts.map +0 -1
  1595. package/dist/field/features/relationship/plugins/index.js +0 -50
  1596. package/dist/field/features/relationship/plugins/index.js.map +0 -1
  1597. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +0 -1
  1598. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js +0 -33
  1599. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js.map +0 -1
  1600. package/dist/field/features/shared/slashMenu/basicGroup.d.ts.map +0 -1
  1601. package/dist/field/features/shared/slashMenu/basicGroup.js.map +0 -1
  1602. package/dist/field/features/shared/toolbar/addDropdownGroup.d.ts.map +0 -1
  1603. package/dist/field/features/shared/toolbar/addDropdownGroup.js.map +0 -1
  1604. package/dist/field/features/shared/toolbar/featureButtonsGroup.d.ts.map +0 -1
  1605. package/dist/field/features/shared/toolbar/featureButtonsGroup.js.map +0 -1
  1606. package/dist/field/features/shared/toolbar/textDropdownGroup.d.ts.map +0 -1
  1607. package/dist/field/features/shared/toolbar/textDropdownGroup.js.map +0 -1
  1608. package/dist/field/features/toolbars/fixed/Toolbar/index.d.ts +0 -5
  1609. package/dist/field/features/toolbars/fixed/Toolbar/index.d.ts.map +0 -1
  1610. package/dist/field/features/toolbars/fixed/Toolbar/index.js +0 -207
  1611. package/dist/field/features/toolbars/fixed/Toolbar/index.js.map +0 -1
  1612. package/dist/field/features/toolbars/fixed/feature.client.d.ts +0 -7
  1613. package/dist/field/features/toolbars/fixed/feature.client.d.ts.map +0 -1
  1614. package/dist/field/features/toolbars/fixed/feature.client.js +0 -20
  1615. package/dist/field/features/toolbars/fixed/feature.client.js.map +0 -1
  1616. package/dist/field/features/toolbars/fixed/feature.server.d.ts +0 -19
  1617. package/dist/field/features/toolbars/fixed/feature.server.d.ts.map +0 -1
  1618. package/dist/field/features/toolbars/fixed/feature.server.js +0 -21
  1619. package/dist/field/features/toolbars/fixed/feature.server.js.map +0 -1
  1620. package/dist/field/features/toolbars/inline/Toolbar/index.d.ts +0 -4
  1621. package/dist/field/features/toolbars/inline/Toolbar/index.d.ts.map +0 -1
  1622. package/dist/field/features/toolbars/inline/Toolbar/index.js.map +0 -1
  1623. package/dist/field/features/toolbars/inline/feature.client.d.ts +0 -6
  1624. package/dist/field/features/toolbars/inline/feature.client.d.ts.map +0 -1
  1625. package/dist/field/features/toolbars/inline/feature.client.js +0 -20
  1626. package/dist/field/features/toolbars/inline/feature.client.js.map +0 -1
  1627. package/dist/field/features/toolbars/inline/feature.server.d.ts +0 -3
  1628. package/dist/field/features/toolbars/inline/feature.server.d.ts.map +0 -1
  1629. package/dist/field/features/toolbars/inline/feature.server.js +0 -16
  1630. package/dist/field/features/toolbars/inline/feature.server.js.map +0 -1
  1631. package/dist/field/features/toolbars/shared/ToolbarButton/index.d.ts.map +0 -1
  1632. package/dist/field/features/toolbars/shared/ToolbarButton/index.js.map +0 -1
  1633. package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +0 -1
  1634. package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.js +0 -224
  1635. package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +0 -1
  1636. package/dist/field/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +0 -1
  1637. package/dist/field/features/toolbars/shared/ToolbarDropdown/index.js +0 -141
  1638. package/dist/field/features/toolbars/shared/ToolbarDropdown/index.js.map +0 -1
  1639. package/dist/field/features/toolbars/types.d.ts +0 -48
  1640. package/dist/field/features/toolbars/types.d.ts.map +0 -1
  1641. package/dist/field/features/toolbars/types.js.map +0 -1
  1642. package/dist/field/features/typeUtilities.d.ts +0 -8
  1643. package/dist/field/features/typeUtilities.d.ts.map +0 -1
  1644. package/dist/field/features/typeUtilities.js.map +0 -1
  1645. package/dist/field/features/types.d.ts +0 -468
  1646. package/dist/field/features/types.d.ts.map +0 -1
  1647. package/dist/field/features/types.js.map +0 -1
  1648. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts +0 -12
  1649. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +0 -1
  1650. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js +0 -123
  1651. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js.map +0 -1
  1652. package/dist/field/features/upload/component/index.d.ts.map +0 -1
  1653. package/dist/field/features/upload/component/index.js +0 -219
  1654. package/dist/field/features/upload/component/index.js.map +0 -1
  1655. package/dist/field/features/upload/drawer/commands.d.ts.map +0 -1
  1656. package/dist/field/features/upload/drawer/commands.js.map +0 -1
  1657. package/dist/field/features/upload/drawer/index.d.ts.map +0 -1
  1658. package/dist/field/features/upload/drawer/index.js +0 -77
  1659. package/dist/field/features/upload/drawer/index.js.map +0 -1
  1660. package/dist/field/features/upload/feature.client.d.ts +0 -13
  1661. package/dist/field/features/upload/feature.client.d.ts.map +0 -1
  1662. package/dist/field/features/upload/feature.client.js +0 -81
  1663. package/dist/field/features/upload/feature.client.js.map +0 -1
  1664. package/dist/field/features/upload/feature.server.d.ts +0 -19
  1665. package/dist/field/features/upload/feature.server.d.ts.map +0 -1
  1666. package/dist/field/features/upload/feature.server.js +0 -188
  1667. package/dist/field/features/upload/feature.server.js.map +0 -1
  1668. package/dist/field/features/upload/graphQLPopulationPromise.d.ts +0 -5
  1669. package/dist/field/features/upload/graphQLPopulationPromise.d.ts.map +0 -1
  1670. package/dist/field/features/upload/graphQLPopulationPromise.js +0 -52
  1671. package/dist/field/features/upload/graphQLPopulationPromise.js.map +0 -1
  1672. package/dist/field/features/upload/i18n.d.ts.map +0 -1
  1673. package/dist/field/features/upload/i18n.js.map +0 -1
  1674. package/dist/field/features/upload/nodes/UploadNode.d.ts +0 -37
  1675. package/dist/field/features/upload/nodes/UploadNode.d.ts.map +0 -1
  1676. package/dist/field/features/upload/nodes/UploadNode.js +0 -132
  1677. package/dist/field/features/upload/nodes/UploadNode.js.map +0 -1
  1678. package/dist/field/features/upload/plugin/index.d.ts +0 -8
  1679. package/dist/field/features/upload/plugin/index.d.ts.map +0 -1
  1680. package/dist/field/features/upload/plugin/index.js +0 -53
  1681. package/dist/field/features/upload/plugin/index.js.map +0 -1
  1682. package/dist/field/features/upload/validate.d.ts +0 -5
  1683. package/dist/field/features/upload/validate.d.ts.map +0 -1
  1684. package/dist/field/features/upload/validate.js +0 -44
  1685. package/dist/field/features/upload/validate.js.map +0 -1
  1686. package/dist/field/lexical/EditorPlugin.d.ts +0 -8
  1687. package/dist/field/lexical/EditorPlugin.d.ts.map +0 -1
  1688. package/dist/field/lexical/EditorPlugin.js +0 -15
  1689. package/dist/field/lexical/EditorPlugin.js.map +0 -1
  1690. package/dist/field/lexical/LexicalEditor.d.ts +0 -7
  1691. package/dist/field/lexical/LexicalEditor.d.ts.map +0 -1
  1692. package/dist/field/lexical/LexicalEditor.js +0 -192
  1693. package/dist/field/lexical/LexicalEditor.js.map +0 -1
  1694. package/dist/field/lexical/LexicalProvider.d.ts +0 -18
  1695. package/dist/field/lexical/LexicalProvider.d.ts.map +0 -1
  1696. package/dist/field/lexical/LexicalProvider.js +0 -78
  1697. package/dist/field/lexical/LexicalProvider.js.map +0 -1
  1698. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts +0 -35
  1699. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts.map +0 -1
  1700. package/dist/field/lexical/config/client/EditorConfigProvider.js.map +0 -1
  1701. package/dist/field/lexical/config/client/default.d.ts.map +0 -1
  1702. package/dist/field/lexical/config/client/default.js.map +0 -1
  1703. package/dist/field/lexical/config/client/loader.d.ts +0 -12
  1704. package/dist/field/lexical/config/client/loader.d.ts.map +0 -1
  1705. package/dist/field/lexical/config/client/loader.js +0 -46
  1706. package/dist/field/lexical/config/client/loader.js.map +0 -1
  1707. package/dist/field/lexical/config/client/sanitize.d.ts +0 -7
  1708. package/dist/field/lexical/config/client/sanitize.d.ts.map +0 -1
  1709. package/dist/field/lexical/config/client/sanitize.js +0 -176
  1710. package/dist/field/lexical/config/client/sanitize.js.map +0 -1
  1711. package/dist/field/lexical/config/server/default.d.ts +0 -7
  1712. package/dist/field/lexical/config/server/default.d.ts.map +0 -1
  1713. package/dist/field/lexical/config/server/default.js.map +0 -1
  1714. package/dist/field/lexical/config/server/loader.d.ts +0 -10
  1715. package/dist/field/lexical/config/server/loader.d.ts.map +0 -1
  1716. package/dist/field/lexical/config/server/loader.js +0 -120
  1717. package/dist/field/lexical/config/server/loader.js.map +0 -1
  1718. package/dist/field/lexical/config/server/sanitize.d.ts +0 -6
  1719. package/dist/field/lexical/config/server/sanitize.d.ts.map +0 -1
  1720. package/dist/field/lexical/config/server/sanitize.js.map +0 -1
  1721. package/dist/field/lexical/config/types.d.ts +0 -23
  1722. package/dist/field/lexical/config/types.d.ts.map +0 -1
  1723. package/dist/field/lexical/config/types.js +0 -3
  1724. package/dist/field/lexical/config/types.js.map +0 -1
  1725. package/dist/field/lexical/nodes/index.d.ts.map +0 -1
  1726. package/dist/field/lexical/nodes/index.js.map +0 -1
  1727. package/dist/field/lexical/plugins/MarkdownShortcut/index.d.ts.map +0 -1
  1728. package/dist/field/lexical/plugins/MarkdownShortcut/index.js.map +0 -1
  1729. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +0 -32
  1730. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +0 -1
  1731. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +0 -401
  1732. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +0 -1
  1733. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +0 -25
  1734. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +0 -1
  1735. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +0 -205
  1736. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +0 -1
  1737. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +0 -31
  1738. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +0 -1
  1739. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js +0 -3
  1740. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +0 -1
  1741. package/dist/field/lexical/plugins/SlashMenu/index.d.ts.map +0 -1
  1742. package/dist/field/lexical/plugins/SlashMenu/index.js +0 -187
  1743. package/dist/field/lexical/plugins/SlashMenu/index.js.map +0 -1
  1744. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +0 -1
  1745. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +0 -1
  1746. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +0 -1
  1747. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +0 -1
  1748. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +0 -1
  1749. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +0 -1
  1750. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +0 -1
  1751. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +0 -1
  1752. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +0 -1
  1753. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +0 -1
  1754. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +0 -1
  1755. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js +0 -342
  1756. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +0 -1
  1757. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +0 -10
  1758. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +0 -1
  1759. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +0 -1
  1760. package/dist/field/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts.map +0 -1
  1761. package/dist/field/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js.map +0 -1
  1762. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +0 -1
  1763. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +0 -1
  1764. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +0 -1
  1765. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.js.map +0 -1
  1766. package/dist/field/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts.map +0 -1
  1767. package/dist/field/lexical/plugins/handles/utils/getNodeCloseToPoint.js.map +0 -1
  1768. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +0 -1
  1769. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +0 -1
  1770. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +0 -1
  1771. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.js.map +0 -1
  1772. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +0 -1
  1773. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.js.map +0 -1
  1774. package/dist/field/lexical/theme/EditorTheme.d.ts.map +0 -1
  1775. package/dist/field/lexical/theme/EditorTheme.js.map +0 -1
  1776. package/dist/field/lexical/ui/ContentEditable.d.ts.map +0 -1
  1777. package/dist/field/lexical/ui/ContentEditable.js +0 -10
  1778. package/dist/field/lexical/ui/ContentEditable.js.map +0 -1
  1779. package/dist/field/lexical/ui/icons/AI/index.d.ts.map +0 -1
  1780. package/dist/field/lexical/ui/icons/AI/index.js.map +0 -1
  1781. package/dist/field/lexical/ui/icons/Add/index.d.ts.map +0 -1
  1782. package/dist/field/lexical/ui/icons/Add/index.js.map +0 -1
  1783. package/dist/field/lexical/ui/icons/AlignCenter/index.d.ts.map +0 -1
  1784. package/dist/field/lexical/ui/icons/AlignCenter/index.js.map +0 -1
  1785. package/dist/field/lexical/ui/icons/AlignJustify/index.d.ts.map +0 -1
  1786. package/dist/field/lexical/ui/icons/AlignJustify/index.js.map +0 -1
  1787. package/dist/field/lexical/ui/icons/AlignLeft/index.d.ts.map +0 -1
  1788. package/dist/field/lexical/ui/icons/AlignLeft/index.js.map +0 -1
  1789. package/dist/field/lexical/ui/icons/AlignRight/index.d.ts.map +0 -1
  1790. package/dist/field/lexical/ui/icons/AlignRight/index.js.map +0 -1
  1791. package/dist/field/lexical/ui/icons/Block/index.d.ts.map +0 -1
  1792. package/dist/field/lexical/ui/icons/Block/index.js.map +0 -1
  1793. package/dist/field/lexical/ui/icons/Blockquote/index.d.ts.map +0 -1
  1794. package/dist/field/lexical/ui/icons/Blockquote/index.js.map +0 -1
  1795. package/dist/field/lexical/ui/icons/Bold/index.d.ts.map +0 -1
  1796. package/dist/field/lexical/ui/icons/Bold/index.js.map +0 -1
  1797. package/dist/field/lexical/ui/icons/Checklist/index.d.ts.map +0 -1
  1798. package/dist/field/lexical/ui/icons/Checklist/index.js.map +0 -1
  1799. package/dist/field/lexical/ui/icons/Code/index.d.ts.map +0 -1
  1800. package/dist/field/lexical/ui/icons/Code/index.js.map +0 -1
  1801. package/dist/field/lexical/ui/icons/CodeBlock/index.d.ts.map +0 -1
  1802. package/dist/field/lexical/ui/icons/CodeBlock/index.js.map +0 -1
  1803. package/dist/field/lexical/ui/icons/H1/index.d.ts.map +0 -1
  1804. package/dist/field/lexical/ui/icons/H1/index.js.map +0 -1
  1805. package/dist/field/lexical/ui/icons/H2/index.d.ts.map +0 -1
  1806. package/dist/field/lexical/ui/icons/H2/index.js.map +0 -1
  1807. package/dist/field/lexical/ui/icons/H3/index.d.ts.map +0 -1
  1808. package/dist/field/lexical/ui/icons/H3/index.js.map +0 -1
  1809. package/dist/field/lexical/ui/icons/H4/index.d.ts.map +0 -1
  1810. package/dist/field/lexical/ui/icons/H4/index.js.map +0 -1
  1811. package/dist/field/lexical/ui/icons/H5/index.d.ts.map +0 -1
  1812. package/dist/field/lexical/ui/icons/H5/index.js.map +0 -1
  1813. package/dist/field/lexical/ui/icons/H6/index.d.ts.map +0 -1
  1814. package/dist/field/lexical/ui/icons/H6/index.js.map +0 -1
  1815. package/dist/field/lexical/ui/icons/HorizontalRule/index.d.ts.map +0 -1
  1816. package/dist/field/lexical/ui/icons/HorizontalRule/index.js.map +0 -1
  1817. package/dist/field/lexical/ui/icons/IndentDecrease/index.d.ts.map +0 -1
  1818. package/dist/field/lexical/ui/icons/IndentDecrease/index.js.map +0 -1
  1819. package/dist/field/lexical/ui/icons/IndentIncrease/index.d.ts.map +0 -1
  1820. package/dist/field/lexical/ui/icons/IndentIncrease/index.js.map +0 -1
  1821. package/dist/field/lexical/ui/icons/Italic/index.d.ts.map +0 -1
  1822. package/dist/field/lexical/ui/icons/Italic/index.js.map +0 -1
  1823. package/dist/field/lexical/ui/icons/Link/index.d.ts.map +0 -1
  1824. package/dist/field/lexical/ui/icons/Link/index.js.map +0 -1
  1825. package/dist/field/lexical/ui/icons/OrderedList/index.d.ts.map +0 -1
  1826. package/dist/field/lexical/ui/icons/OrderedList/index.js.map +0 -1
  1827. package/dist/field/lexical/ui/icons/Relationship/index.d.ts.map +0 -1
  1828. package/dist/field/lexical/ui/icons/Relationship/index.js.map +0 -1
  1829. package/dist/field/lexical/ui/icons/Strikethrough/index.d.ts.map +0 -1
  1830. package/dist/field/lexical/ui/icons/Strikethrough/index.js.map +0 -1
  1831. package/dist/field/lexical/ui/icons/Subscript/index.d.ts.map +0 -1
  1832. package/dist/field/lexical/ui/icons/Subscript/index.js.map +0 -1
  1833. package/dist/field/lexical/ui/icons/Superscript/index.d.ts.map +0 -1
  1834. package/dist/field/lexical/ui/icons/Superscript/index.js.map +0 -1
  1835. package/dist/field/lexical/ui/icons/Text/index.d.ts.map +0 -1
  1836. package/dist/field/lexical/ui/icons/Text/index.js.map +0 -1
  1837. package/dist/field/lexical/ui/icons/Underline/index.d.ts.map +0 -1
  1838. package/dist/field/lexical/ui/icons/Underline/index.js.map +0 -1
  1839. package/dist/field/lexical/ui/icons/UnorderedList/index.d.ts.map +0 -1
  1840. package/dist/field/lexical/ui/icons/UnorderedList/index.js.map +0 -1
  1841. package/dist/field/lexical/ui/icons/Upload/index.d.ts.map +0 -1
  1842. package/dist/field/lexical/ui/icons/Upload/index.js +0 -34
  1843. package/dist/field/lexical/ui/icons/Upload/index.js.map +0 -1
  1844. package/dist/field/lexical/utils/canUseDOM.d.ts.map +0 -1
  1845. package/dist/field/lexical/utils/canUseDOM.js.map +0 -1
  1846. package/dist/field/lexical/utils/cloneDeep.d.ts +0 -2
  1847. package/dist/field/lexical/utils/cloneDeep.d.ts.map +0 -1
  1848. package/dist/field/lexical/utils/cloneDeep.js +0 -50
  1849. package/dist/field/lexical/utils/cloneDeep.js.map +0 -1
  1850. package/dist/field/lexical/utils/environment.d.ts.map +0 -1
  1851. package/dist/field/lexical/utils/environment.js.map +0 -1
  1852. package/dist/field/lexical/utils/getDOMRangeRect.d.ts.map +0 -1
  1853. package/dist/field/lexical/utils/getDOMRangeRect.js.map +0 -1
  1854. package/dist/field/lexical/utils/getSelectedNode.d.ts.map +0 -1
  1855. package/dist/field/lexical/utils/getSelectedNode.js.map +0 -1
  1856. package/dist/field/lexical/utils/guard.d.ts.map +0 -1
  1857. package/dist/field/lexical/utils/guard.js.map +0 -1
  1858. package/dist/field/lexical/utils/invariant.d.ts.map +0 -1
  1859. package/dist/field/lexical/utils/invariant.js.map +0 -1
  1860. package/dist/field/lexical/utils/joinClasses.d.ts.map +0 -1
  1861. package/dist/field/lexical/utils/joinClasses.js.map +0 -1
  1862. package/dist/field/lexical/utils/markdown/createBlockNode.d.ts +0 -4
  1863. package/dist/field/lexical/utils/markdown/createBlockNode.d.ts.map +0 -1
  1864. package/dist/field/lexical/utils/markdown/createBlockNode.js.map +0 -1
  1865. package/dist/field/lexical/utils/nodeFormat.d.ts.map +0 -1
  1866. package/dist/field/lexical/utils/nodeFormat.js.map +0 -1
  1867. package/dist/field/lexical/utils/point.d.ts.map +0 -1
  1868. package/dist/field/lexical/utils/point.js.map +0 -1
  1869. package/dist/field/lexical/utils/rect.d.ts.map +0 -1
  1870. package/dist/field/lexical/utils/rect.js.map +0 -1
  1871. package/dist/field/lexical/utils/setFloatingElemPosition.d.ts.map +0 -1
  1872. package/dist/field/lexical/utils/setFloatingElemPosition.js.map +0 -1
  1873. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +0 -1
  1874. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +0 -1
  1875. package/dist/field/lexical/utils/swipe.d.ts.map +0 -1
  1876. package/dist/field/lexical/utils/swipe.js.map +0 -1
  1877. package/dist/field/lexical/utils/url.d.ts.map +0 -1
  1878. package/dist/field/lexical/utils/url.js.map +0 -1
  1879. package/dist/forEachNodeRecursively.d.ts.map +0 -1
  1880. package/dist/forEachNodeRecursively.js.map +0 -1
  1881. package/dist/generateComponentMap.d.ts +0 -6
  1882. package/dist/generateComponentMap.d.ts.map +0 -1
  1883. package/dist/generateComponentMap.js +0 -77
  1884. package/dist/generateComponentMap.js.map +0 -1
  1885. package/dist/generateSchemaMap.d.ts +0 -6
  1886. package/dist/generateSchemaMap.d.ts.map +0 -1
  1887. package/dist/generateSchemaMap.js +0 -22
  1888. package/dist/generateSchemaMap.js.map +0 -1
  1889. package/dist/recurseNodeTree.d.ts.map +0 -1
  1890. package/dist/recurseNodeTree.js.map +0 -1
  1891. package/dist/useLexicalFeature.d.ts +0 -3
  1892. package/dist/useLexicalFeature.d.ts.map +0 -1
  1893. package/dist/useLexicalFeature.js +0 -12
  1894. package/dist/useLexicalFeature.js.map +0 -1
  1895. /package/dist/{field/features → features}/align/i18n.d.ts +0 -0
  1896. /package/dist/{field/features → features}/align/i18n.js +0 -0
  1897. /package/dist/{field/features → features}/align/toolbarAlignGroup.d.ts +0 -0
  1898. /package/dist/{field/features → features}/align/toolbarAlignGroup.js +0 -0
  1899. /package/dist/{field/features → features}/blockquote/i18n.d.ts +0 -0
  1900. /package/dist/{field/features → features}/blockquote/i18n.js +0 -0
  1901. /package/dist/{field/features → features}/blockquote/markdownTransformer.d.ts +0 -0
  1902. /package/dist/{field/features → features}/blockquote/markdownTransformer.js +0 -0
  1903. /package/dist/{field/features → features}/blocks/component/FormSavePlugin.d.ts +0 -0
  1904. /package/dist/{field/features → features}/blocks/component/removeEmptyArrayValues.d.ts +0 -0
  1905. /package/dist/{field/features → features}/blocks/component/removeEmptyArrayValues.js +0 -0
  1906. /package/dist/{field/features → features}/blocks/i18n.d.ts +0 -0
  1907. /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.d.ts +0 -0
  1908. /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.js +0 -0
  1909. /package/dist/{field/features → features}/converters/html/converter/converters/paragraph.d.ts +0 -0
  1910. /package/dist/{field/features → features}/converters/html/converter/converters/text.d.ts +0 -0
  1911. /package/dist/{field/features → features}/converters/html/converter/converters/text.js +0 -0
  1912. /package/dist/{field/features → features}/converters/html/converter/defaultConverters.d.ts +0 -0
  1913. /package/dist/{field/features → features}/converters/html/converter/defaultConverters.js +0 -0
  1914. /package/dist/{field/features → features}/converters/html/converter/types.js +0 -0
  1915. /package/dist/{field/features → features}/converters/html/field/index.d.ts +0 -0
  1916. /package/dist/{field/features → features}/createFeaturePropComponent.d.ts +0 -0
  1917. /package/dist/{field/features → features}/debug/testRecorder/plugin/index.js +0 -0
  1918. /package/dist/{field/features → features}/debug/treeView/plugin/index.js +0 -0
  1919. /package/dist/{field/features → features}/format/bold/markdownTransformers.d.ts +0 -0
  1920. /package/dist/{field/features → features}/format/bold/markdownTransformers.js +0 -0
  1921. /package/dist/{field/features → features}/format/inlineCode/markdownTransformers.d.ts +0 -0
  1922. /package/dist/{field/features → features}/format/inlineCode/markdownTransformers.js +0 -0
  1923. /package/dist/{field/features → features}/format/italic/markdownTransformers.d.ts +0 -0
  1924. /package/dist/{field/features → features}/format/italic/markdownTransformers.js +0 -0
  1925. /package/dist/{field/features → features}/format/shared/toolbarFormatGroup.d.ts +0 -0
  1926. /package/dist/{field/features → features}/format/shared/toolbarFormatGroup.js +0 -0
  1927. /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.d.ts +0 -0
  1928. /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.js +0 -0
  1929. /package/dist/{field/features → features}/heading/i18n.d.ts +0 -0
  1930. /package/dist/{field/features → features}/heading/markdownTransformer.d.ts +0 -0
  1931. /package/dist/{field/features → features}/heading/markdownTransformer.js +0 -0
  1932. /package/dist/{field/features → features}/horizontalRule/component/index.d.ts +0 -0
  1933. /package/dist/{field/features → features}/horizontalRule/component/index.js +0 -0
  1934. /package/dist/{field/features → features}/horizontalRule/i18n.d.ts +0 -0
  1935. /package/dist/{field/features → features}/horizontalRule/i18n.js +0 -0
  1936. /package/dist/{field/features → features}/horizontalRule/markdownTransformer.d.ts +0 -0
  1937. /package/dist/{field/features → features}/horizontalRule/markdownTransformer.js +0 -0
  1938. /package/dist/{field/features → features}/horizontalRule/nodes/HorizontalRuleNode.js +0 -0
  1939. /package/dist/{field/features → features}/horizontalRule/plugin/index.js +0 -0
  1940. /package/dist/{field/features → features}/indent/i18n.d.ts +0 -0
  1941. /package/dist/{field/features → features}/indent/i18n.js +0 -0
  1942. /package/dist/{field/features → features}/indent/toolbarIndentGroup.d.ts +0 -0
  1943. /package/dist/{field/features → features}/indent/toolbarIndentGroup.js +0 -0
  1944. /package/dist/{field/features → features}/link/drawer/baseFields.js +0 -0
  1945. /package/dist/{field/features → features}/link/i18n.d.ts +0 -0
  1946. /package/dist/{field/features → features}/link/i18n.js +0 -0
  1947. /package/dist/{field/features → features}/link/markdownTransformer.d.ts +0 -0
  1948. /package/dist/{field/features → features}/link/markdownTransformer.js +0 -0
  1949. /package/dist/{field/features → features}/link/nodes/AutoLinkNode.d.ts +0 -0
  1950. /package/dist/{field/features → features}/link/nodes/LinkNode.d.ts +0 -0
  1951. /package/dist/{field/features/link/drawer → features/link/nodes}/types.js +0 -0
  1952. /package/dist/{field/features → features}/link/plugins/clickableLink/index.js +0 -0
  1953. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts +0 -0
  1954. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/commands.js +0 -0
  1955. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts +0 -0
  1956. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/index.js +0 -0
  1957. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/types.d.ts +0 -0
  1958. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/types.js +0 -0
  1959. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/utilities.js +0 -0
  1960. /package/dist/{field/features → features}/link/plugins/link/index.js +0 -0
  1961. /package/dist/{field/features → features}/lists/checklist/i18n.d.ts +0 -0
  1962. /package/dist/{field/features → features}/lists/checklist/i18n.js +0 -0
  1963. /package/dist/{field/features → features}/lists/checklist/markdownTransformers.d.ts +0 -0
  1964. /package/dist/{field/features → features}/lists/checklist/markdownTransformers.js +0 -0
  1965. /package/dist/{field/features → features}/lists/checklist/plugin/index.js +0 -0
  1966. /package/dist/{field/features → features}/lists/orderedList/i18n.d.ts +0 -0
  1967. /package/dist/{field/features → features}/lists/orderedList/i18n.js +0 -0
  1968. /package/dist/{field/features → features}/lists/orderedList/markdownTransformer.d.ts +0 -0
  1969. /package/dist/{field/features → features}/lists/orderedList/markdownTransformer.js +0 -0
  1970. /package/dist/{field/features → features}/lists/plugin/index.js +0 -0
  1971. /package/dist/{field/features → features}/lists/shared/markdown.js +0 -0
  1972. /package/dist/{field/features → features}/lists/shared/slashMenuListGroup.d.ts +0 -0
  1973. /package/dist/{field/features → features}/lists/shared/slashMenuListGroup.js +0 -0
  1974. /package/dist/{field/features → features}/lists/unorderedList/i18n.d.ts +0 -0
  1975. /package/dist/{field/features → features}/lists/unorderedList/i18n.js +0 -0
  1976. /package/dist/{field/features → features}/lists/unorderedList/markdownTransformer.d.ts +0 -0
  1977. /package/dist/{field/features → features}/lists/unorderedList/markdownTransformer.js +0 -0
  1978. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/client.js +0 -0
  1979. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +0 -0
  1980. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +0 -0
  1981. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts +0 -0
  1982. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/client.js +0 -0
  1983. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +0 -0
  1984. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +0 -0
  1985. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts +0 -0
  1986. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/client.js +0 -0
  1987. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +0 -0
  1988. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +0 -0
  1989. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts +0 -0
  1990. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js +0 -0
  1991. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +0 -0
  1992. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +0 -0
  1993. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts +0 -0
  1994. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/client.js +0 -0
  1995. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +0 -0
  1996. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +0 -0
  1997. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts +0 -0
  1998. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js +0 -0
  1999. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +0 -0
  2000. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +0 -0
  2001. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts +0 -0
  2002. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/client.js +0 -0
  2003. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +0 -0
  2004. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +0 -0
  2005. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts +0 -0
  2006. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +0 -0
  2007. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/defaultConverters.js +0 -0
  2008. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/index.d.ts +0 -0
  2009. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/index.js +0 -0
  2010. /package/dist/{field/features/link/nodes → features/migrations/lexicalPluginToLexical/converter}/types.js +0 -0
  2011. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  2012. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +0 -0
  2013. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +0 -0
  2014. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +0 -0
  2015. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/client.js +0 -0
  2016. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +0 -0
  2017. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/converter.js +0 -0
  2018. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/index.d.ts +0 -0
  2019. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/client.js +0 -0
  2020. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/converter.d.ts +0 -0
  2021. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/converter.js +0 -0
  2022. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/index.d.ts +0 -0
  2023. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/client.js +0 -0
  2024. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/converter.d.ts +0 -0
  2025. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/converter.js +0 -0
  2026. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/index.d.ts +0 -0
  2027. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/client.js +0 -0
  2028. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/converter.d.ts +0 -0
  2029. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/converter.js +0 -0
  2030. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/index.d.ts +0 -0
  2031. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/client.js +0 -0
  2032. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +0 -0
  2033. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/converter.js +0 -0
  2034. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/index.d.ts +0 -0
  2035. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/client.js +0 -0
  2036. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +0 -0
  2037. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/converter.js +0 -0
  2038. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/index.d.ts +0 -0
  2039. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/client.js +0 -0
  2040. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +0 -0
  2041. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/converter.js +0 -0
  2042. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/index.d.ts +0 -0
  2043. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/client.js +0 -0
  2044. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +0 -0
  2045. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/converter.js +0 -0
  2046. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/index.d.ts +0 -0
  2047. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/client.js +0 -0
  2048. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +0 -0
  2049. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/converter.js +0 -0
  2050. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts +0 -0
  2051. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/client.js +0 -0
  2052. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/converter.d.ts +0 -0
  2053. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/converter.js +0 -0
  2054. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/index.d.ts +0 -0
  2055. /package/dist/{field/features → features}/migrations/slateToLexical/converter/defaultConverters.d.ts +0 -0
  2056. /package/dist/{field/features → features}/migrations/slateToLexical/converter/defaultConverters.js +0 -0
  2057. /package/dist/{field/features → features}/migrations/slateToLexical/converter/index.d.ts +0 -0
  2058. /package/dist/{field/features/migrations/lexicalPluginToLexical → features/migrations/slateToLexical}/converter/types.js +0 -0
  2059. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  2060. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +0 -0
  2061. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +0 -0
  2062. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +0 -0
  2063. /package/dist/{field/features → features}/paragraph/i18n.d.ts +0 -0
  2064. /package/dist/{field/features → features}/paragraph/i18n.js +0 -0
  2065. /package/dist/{field/features → features}/relationship/drawer/commands.d.ts +0 -0
  2066. /package/dist/{field/features → features}/relationship/drawer/commands.js +0 -0
  2067. /package/dist/{field/features → features}/relationship/drawer/index.d.ts +0 -0
  2068. /package/dist/{field/features → features}/relationship/i18n.d.ts +0 -0
  2069. /package/dist/{field/features → features}/relationship/i18n.js +0 -0
  2070. /package/dist/{field/features → features}/relationship/utils/EnabledRelationshipsCondition.d.ts +0 -0
  2071. /package/dist/{field/features → features}/shared/slashMenu/basicGroup.d.ts +0 -0
  2072. /package/dist/{field/features → features}/shared/slashMenu/basicGroup.js +0 -0
  2073. /package/dist/{field/features → features}/shared/toolbar/addDropdownGroup.d.ts +0 -0
  2074. /package/dist/{field/features → features}/shared/toolbar/addDropdownGroup.js +0 -0
  2075. /package/dist/{field/features → features}/shared/toolbar/featureButtonsGroup.d.ts +0 -0
  2076. /package/dist/{field/features → features}/shared/toolbar/featureButtonsGroup.js +0 -0
  2077. /package/dist/{field/features → features}/shared/toolbar/textDropdownGroup.d.ts +0 -0
  2078. /package/dist/{field/features → features}/shared/toolbar/textDropdownGroup.js +0 -0
  2079. /package/dist/{field/features → features}/toolbars/inline/Toolbar/index.js +0 -0
  2080. /package/dist/{field/features → features}/toolbars/shared/ToolbarButton/index.d.ts +0 -0
  2081. /package/dist/{field/features → features}/toolbars/shared/ToolbarButton/index.js +0 -0
  2082. /package/dist/{field/features → features}/toolbars/shared/ToolbarDropdown/DropDown.d.ts +0 -0
  2083. /package/dist/{field/features → features}/toolbars/shared/ToolbarDropdown/index.d.ts +0 -0
  2084. /package/dist/{field/features/migrations/slateToLexical/converter → features/toolbars}/types.js +0 -0
  2085. /package/dist/{field/features → features}/typeUtilities.js +0 -0
  2086. /package/dist/{field/features → features}/upload/component/index.d.ts +0 -0
  2087. /package/dist/{field/features → features}/upload/drawer/commands.d.ts +0 -0
  2088. /package/dist/{field/features → features}/upload/drawer/commands.js +0 -0
  2089. /package/dist/{field/features → features}/upload/drawer/index.d.ts +0 -0
  2090. /package/dist/{field/features → features}/upload/i18n.d.ts +0 -0
  2091. /package/dist/{field/features → features}/upload/i18n.js +0 -0
  2092. /package/dist/{field/lexical → lexical}/config/client/EditorConfigProvider.js +0 -0
  2093. /package/dist/{field/lexical → lexical}/config/client/default.d.ts +0 -0
  2094. /package/dist/{field/lexical → lexical}/config/client/default.js +0 -0
  2095. /package/dist/{field/lexical → lexical}/config/server/default.js +0 -0
  2096. /package/dist/{field/lexical → lexical}/config/server/sanitize.js +0 -0
  2097. /package/dist/{field/features/toolbars → lexical/config}/types.js +0 -0
  2098. /package/dist/{field/lexical → lexical}/nodes/index.d.ts +0 -0
  2099. /package/dist/{field/lexical → lexical}/nodes/index.js +0 -0
  2100. /package/dist/{field/lexical → lexical}/plugins/MarkdownShortcut/index.d.ts +0 -0
  2101. /package/dist/{field/lexical → lexical}/plugins/MarkdownShortcut/index.js +0 -0
  2102. /package/dist/{field/features → lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin}/types.js +0 -0
  2103. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/index.d.ts +0 -0
  2104. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.d.ts +0 -0
  2105. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.js +0 -0
  2106. /package/dist/{field/lexical → lexical}/plugins/handles/AddBlockHandlePlugin/index.d.ts +0 -0
  2107. /package/dist/{field/lexical → lexical}/plugins/handles/AddBlockHandlePlugin/index.js +0 -0
  2108. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/debounce.d.ts +0 -0
  2109. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/debounce.js +0 -0
  2110. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts +0 -0
  2111. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js +0 -0
  2112. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts +0 -0
  2113. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js +0 -0
  2114. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/index.d.ts +0 -0
  2115. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/setTargetLine.js +0 -0
  2116. /package/dist/{field/lexical → lexical}/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts +0 -0
  2117. /package/dist/{field/lexical → lexical}/plugins/handles/utils/calculateDistanceFromScrollerElem.js +0 -0
  2118. /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.d.ts +0 -0
  2119. /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.js +0 -0
  2120. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.d.ts +0 -0
  2121. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.js +0 -0
  2122. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getNodeCloseToPoint.d.ts +0 -0
  2123. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getNodeCloseToPoint.js +0 -0
  2124. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getTopLevelNodeKeys.d.ts +0 -0
  2125. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getTopLevelNodeKeys.js +0 -0
  2126. /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.d.ts +0 -0
  2127. /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.js +0 -0
  2128. /package/dist/{field/lexical → lexical}/plugins/handles/utils/setHandlePosition.d.ts +0 -0
  2129. /package/dist/{field/lexical → lexical}/plugins/handles/utils/setHandlePosition.js +0 -0
  2130. /package/dist/{field/lexical → lexical}/theme/EditorTheme.d.ts +0 -0
  2131. /package/dist/{field/lexical → lexical}/theme/EditorTheme.js +0 -0
  2132. /package/dist/{field/lexical → lexical}/ui/ContentEditable.d.ts +0 -0
  2133. /package/dist/{field/lexical → lexical}/ui/icons/AI/index.d.ts +0 -0
  2134. /package/dist/{field/lexical → lexical}/ui/icons/AI/index.js +0 -0
  2135. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.d.ts +0 -0
  2136. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.js +0 -0
  2137. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.svg +0 -0
  2138. /package/dist/{field/lexical → lexical}/ui/icons/Add/light.svg +0 -0
  2139. /package/dist/{field/lexical → lexical}/ui/icons/AlignCenter/index.d.ts +0 -0
  2140. /package/dist/{field/lexical → lexical}/ui/icons/AlignCenter/index.js +0 -0
  2141. /package/dist/{field/lexical → lexical}/ui/icons/AlignJustify/index.d.ts +0 -0
  2142. /package/dist/{field/lexical → lexical}/ui/icons/AlignJustify/index.js +0 -0
  2143. /package/dist/{field/lexical → lexical}/ui/icons/AlignLeft/index.d.ts +0 -0
  2144. /package/dist/{field/lexical → lexical}/ui/icons/AlignLeft/index.js +0 -0
  2145. /package/dist/{field/lexical → lexical}/ui/icons/AlignRight/index.d.ts +0 -0
  2146. /package/dist/{field/lexical → lexical}/ui/icons/AlignRight/index.js +0 -0
  2147. /package/dist/{field/lexical → lexical}/ui/icons/Block/index.d.ts +0 -0
  2148. /package/dist/{field/lexical → lexical}/ui/icons/Block/index.js +0 -0
  2149. /package/dist/{field/lexical → lexical}/ui/icons/Blockquote/index.d.ts +0 -0
  2150. /package/dist/{field/lexical → lexical}/ui/icons/Blockquote/index.js +0 -0
  2151. /package/dist/{field/lexical → lexical}/ui/icons/Bold/index.d.ts +0 -0
  2152. /package/dist/{field/lexical → lexical}/ui/icons/Bold/index.js +0 -0
  2153. /package/dist/{field/lexical → lexical}/ui/icons/Caret/index.svg +0 -0
  2154. /package/dist/{field/lexical → lexical}/ui/icons/Checklist/index.d.ts +0 -0
  2155. /package/dist/{field/lexical → lexical}/ui/icons/Checklist/index.js +0 -0
  2156. /package/dist/{field/lexical → lexical}/ui/icons/Code/index.d.ts +0 -0
  2157. /package/dist/{field/lexical → lexical}/ui/icons/Code/index.js +0 -0
  2158. /package/dist/{field/lexical → lexical}/ui/icons/CodeBlock/index.d.ts +0 -0
  2159. /package/dist/{field/lexical → lexical}/ui/icons/CodeBlock/index.js +0 -0
  2160. /package/dist/{field/lexical → lexical}/ui/icons/DraggableBlock/index.svg +0 -0
  2161. /package/dist/{field/lexical → lexical}/ui/icons/DraggableBlock/light.svg +0 -0
  2162. /package/dist/{field/lexical → lexical}/ui/icons/Edit/index.svg +0 -0
  2163. /package/dist/{field/lexical → lexical}/ui/icons/H1/index.d.ts +0 -0
  2164. /package/dist/{field/lexical → lexical}/ui/icons/H1/index.js +0 -0
  2165. /package/dist/{field/lexical → lexical}/ui/icons/H2/index.d.ts +0 -0
  2166. /package/dist/{field/lexical → lexical}/ui/icons/H2/index.js +0 -0
  2167. /package/dist/{field/lexical → lexical}/ui/icons/H3/index.d.ts +0 -0
  2168. /package/dist/{field/lexical → lexical}/ui/icons/H3/index.js +0 -0
  2169. /package/dist/{field/lexical → lexical}/ui/icons/H4/index.d.ts +0 -0
  2170. /package/dist/{field/lexical → lexical}/ui/icons/H4/index.js +0 -0
  2171. /package/dist/{field/lexical → lexical}/ui/icons/H5/index.d.ts +0 -0
  2172. /package/dist/{field/lexical → lexical}/ui/icons/H5/index.js +0 -0
  2173. /package/dist/{field/lexical → lexical}/ui/icons/H6/index.d.ts +0 -0
  2174. /package/dist/{field/lexical → lexical}/ui/icons/H6/index.js +0 -0
  2175. /package/dist/{field/lexical → lexical}/ui/icons/HorizontalRule/index.d.ts +0 -0
  2176. /package/dist/{field/lexical → lexical}/ui/icons/HorizontalRule/index.js +0 -0
  2177. /package/dist/{field/lexical → lexical}/ui/icons/IndentDecrease/index.d.ts +0 -0
  2178. /package/dist/{field/lexical → lexical}/ui/icons/IndentDecrease/index.js +0 -0
  2179. /package/dist/{field/lexical → lexical}/ui/icons/IndentIncrease/index.d.ts +0 -0
  2180. /package/dist/{field/lexical → lexical}/ui/icons/IndentIncrease/index.js +0 -0
  2181. /package/dist/{field/lexical → lexical}/ui/icons/Italic/index.d.ts +0 -0
  2182. /package/dist/{field/lexical → lexical}/ui/icons/Italic/index.js +0 -0
  2183. /package/dist/{field/lexical → lexical}/ui/icons/Link/index.d.ts +0 -0
  2184. /package/dist/{field/lexical → lexical}/ui/icons/Link/index.js +0 -0
  2185. /package/dist/{field/lexical → lexical}/ui/icons/OrderedList/index.d.ts +0 -0
  2186. /package/dist/{field/lexical → lexical}/ui/icons/OrderedList/index.js +0 -0
  2187. /package/dist/{field/lexical → lexical}/ui/icons/Relationship/index.d.ts +0 -0
  2188. /package/dist/{field/lexical → lexical}/ui/icons/Relationship/index.js +0 -0
  2189. /package/dist/{field/lexical → lexical}/ui/icons/Remove/index.svg +0 -0
  2190. /package/dist/{field/lexical → lexical}/ui/icons/Strikethrough/index.d.ts +0 -0
  2191. /package/dist/{field/lexical → lexical}/ui/icons/Strikethrough/index.js +0 -0
  2192. /package/dist/{field/lexical → lexical}/ui/icons/Subscript/index.d.ts +0 -0
  2193. /package/dist/{field/lexical → lexical}/ui/icons/Subscript/index.js +0 -0
  2194. /package/dist/{field/lexical → lexical}/ui/icons/Superscript/index.d.ts +0 -0
  2195. /package/dist/{field/lexical → lexical}/ui/icons/Superscript/index.js +0 -0
  2196. /package/dist/{field/lexical → lexical}/ui/icons/Text/index.d.ts +0 -0
  2197. /package/dist/{field/lexical → lexical}/ui/icons/Text/index.js +0 -0
  2198. /package/dist/{field/lexical → lexical}/ui/icons/Underline/index.d.ts +0 -0
  2199. /package/dist/{field/lexical → lexical}/ui/icons/Underline/index.js +0 -0
  2200. /package/dist/{field/lexical → lexical}/ui/icons/UnorderedList/index.d.ts +0 -0
  2201. /package/dist/{field/lexical → lexical}/ui/icons/UnorderedList/index.js +0 -0
  2202. /package/dist/{field/lexical → lexical}/ui/icons/Upload/index.d.ts +0 -0
  2203. /package/dist/{field/lexical → lexical}/utils/canUseDOM.d.ts +0 -0
  2204. /package/dist/{field/lexical → lexical}/utils/canUseDOM.js +0 -0
  2205. /package/dist/{field/lexical → lexical}/utils/environment.d.ts +0 -0
  2206. /package/dist/{field/lexical → lexical}/utils/environment.js +0 -0
  2207. /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.d.ts +0 -0
  2208. /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.js +0 -0
  2209. /package/dist/{field/lexical → lexical}/utils/getSelectedNode.d.ts +0 -0
  2210. /package/dist/{field/lexical → lexical}/utils/getSelectedNode.js +0 -0
  2211. /package/dist/{field/lexical → lexical}/utils/guard.d.ts +0 -0
  2212. /package/dist/{field/lexical → lexical}/utils/guard.js +0 -0
  2213. /package/dist/{field/lexical → lexical}/utils/invariant.d.ts +0 -0
  2214. /package/dist/{field/lexical → lexical}/utils/invariant.js +0 -0
  2215. /package/dist/{field/lexical → lexical}/utils/joinClasses.d.ts +0 -0
  2216. /package/dist/{field/lexical → lexical}/utils/joinClasses.js +0 -0
  2217. /package/dist/{field/lexical → lexical}/utils/markdown/createBlockNode.js +0 -0
  2218. /package/dist/{field/lexical → lexical}/utils/nodeFormat.d.ts +0 -0
  2219. /package/dist/{field/lexical → lexical}/utils/nodeFormat.js +0 -0
  2220. /package/dist/{field/lexical → lexical}/utils/point.d.ts +0 -0
  2221. /package/dist/{field/lexical → lexical}/utils/point.js +0 -0
  2222. /package/dist/{field/lexical → lexical}/utils/rect.d.ts +0 -0
  2223. /package/dist/{field/lexical → lexical}/utils/rect.js +0 -0
  2224. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPosition.d.ts +0 -0
  2225. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPosition.js +0 -0
  2226. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.d.ts +0 -0
  2227. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.js +0 -0
  2228. /package/dist/{field/lexical → lexical}/utils/swipe.d.ts +0 -0
  2229. /package/dist/{field/lexical → lexical}/utils/swipe.js +0 -0
  2230. /package/dist/{field/lexical → lexical}/utils/url.d.ts +0 -0
  2231. /package/dist/{field/lexical → lexical}/utils/url.js +0 -0
  2232. /package/dist/{forEachNodeRecursively.d.ts → utilities/forEachNodeRecursively.d.ts} +0 -0
  2233. /package/dist/{forEachNodeRecursively.js → utilities/forEachNodeRecursively.js} +0 -0
  2234. /package/dist/{recurseNodeTree.d.ts → utilities/recurseNodeTree.d.ts} +0 -0
  2235. /package/dist/{recurseNodeTree.js → utilities/recurseNodeTree.js} +0 -0
@@ -0,0 +1,342 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js';
4
+ import { eventFiles } from '@lexical/rich-text';
5
+ import { $getNearestNodeFromDOMNode, $getNodeByKey } from 'lexical';
6
+ import * as React from 'react';
7
+ import { useEffect, useRef, useState } from 'react';
8
+ import { createPortal } from 'react-dom';
9
+ import { useEditorConfigContext } from '../../../config/client/EditorConfigProvider.js';
10
+ import { isHTMLElement } from '../../../utils/guard.js';
11
+ import { Point } from '../../../utils/point.js';
12
+ import { calculateDistanceFromScrollerElem } from '../utils/calculateDistanceFromScrollerElem.js';
13
+ import { getNodeCloseToPoint } from '../utils/getNodeCloseToPoint.js';
14
+ import { getTopLevelNodeKeys } from '../utils/getTopLevelNodeKeys.js';
15
+ import { isOnHandleElement } from '../utils/isOnHandleElement.js';
16
+ import { setHandlePosition } from '../utils/setHandlePosition.js';
17
+ import { getBoundingClientRectWithoutTransform } from './getBoundingRectWithoutTransform.js';
18
+ import { setTargetLine } from './setTargetLine.js';
19
+ const DRAGGABLE_BLOCK_MENU_CLASSNAME = 'draggable-block-menu';
20
+ const DRAG_DATA_FORMAT = 'application/x-lexical-drag-block';
21
+ let prevIndex = Infinity;
22
+ function getCurrentIndex(keysLength) {
23
+ if (keysLength === 0) {
24
+ return Infinity;
25
+ }
26
+ if (prevIndex >= 0 && prevIndex < keysLength) {
27
+ return prevIndex;
28
+ }
29
+ return Math.floor(keysLength / 2);
30
+ }
31
+ function setDragImage(dataTransfer, draggableBlockElem) {
32
+ const { transform } = draggableBlockElem.style;
33
+ // Remove dragImage borders
34
+ dataTransfer.setDragImage(draggableBlockElem, 0, 0);
35
+ setTimeout(()=>{
36
+ draggableBlockElem.style.transform = transform;
37
+ });
38
+ }
39
+ function hideTargetLine(targetLineElem, lastTargetBlockElem) {
40
+ if (targetLineElem) {
41
+ targetLineElem.style.opacity = '0';
42
+ }
43
+ if (lastTargetBlockElem) {
44
+ lastTargetBlockElem.style.opacity = '';
45
+ // Delete marginBottom and marginTop values we set
46
+ lastTargetBlockElem.style.marginBottom = '';
47
+ lastTargetBlockElem.style.marginTop = '';
48
+ //lastTargetBlock.style.border = 'none'
49
+ }
50
+ }
51
+ function useDraggableBlockMenu(editor, anchorElem, isEditable) {
52
+ const scrollerElem = anchorElem.parentElement;
53
+ const menuRef = useRef(null);
54
+ const targetLineRef = useRef(null);
55
+ const debugHighlightRef = useRef(null);
56
+ const isDraggingBlockRef = useRef(false);
57
+ const [draggableBlockElem, setDraggableBlockElem] = useState(null);
58
+ const [lastTargetBlock, setLastTargetBlock] = useState(null);
59
+ const { editorConfig } = useEditorConfigContext();
60
+ const blockHandleHorizontalOffset = editorConfig?.admin?.hideGutter ? -44 : -8;
61
+ useEffect(()=>{
62
+ /**
63
+ * Handles positioning of the drag handle
64
+ */ function onDocumentMouseMove(event) {
65
+ const target = event.target;
66
+ if (!isHTMLElement(target)) {
67
+ return;
68
+ }
69
+ const distanceFromScrollerElem = calculateDistanceFromScrollerElem(scrollerElem, event.pageX, event.pageY, target);
70
+ if (distanceFromScrollerElem === -1) {
71
+ setDraggableBlockElem(null);
72
+ return;
73
+ }
74
+ if (isOnHandleElement(target, DRAGGABLE_BLOCK_MENU_CLASSNAME)) {
75
+ return;
76
+ }
77
+ const topLevelNodeKeys = getTopLevelNodeKeys(editor);
78
+ const { blockElem: _draggableBlockElem, foundAtIndex, isFoundNodeEmptyParagraph } = getNodeCloseToPoint({
79
+ anchorElem,
80
+ cache_threshold: 0,
81
+ editor,
82
+ horizontalOffset: -distanceFromScrollerElem,
83
+ point: new Point(event.x, event.y),
84
+ startIndex: getCurrentIndex(topLevelNodeKeys.length),
85
+ useEdgeAsDefault: false,
86
+ verbose: false
87
+ });
88
+ prevIndex = foundAtIndex;
89
+ //if (DEBUG && _draggableBlockElem) {
90
+ //targetBlockElem.style.border = '3px solid red'
91
+ // highlightElemOriginalPosition(debugHighlightRef, _draggableBlockElem, anchorElem)
92
+ //}
93
+ if (!_draggableBlockElem && !isFoundNodeEmptyParagraph) {
94
+ return;
95
+ }
96
+ if (draggableBlockElem !== _draggableBlockElem) {
97
+ setDraggableBlockElem(_draggableBlockElem);
98
+ }
99
+ }
100
+ // Since the draggableBlockElem is outside the actual editor, we need to listen to the document
101
+ // to be able to detect when the mouse is outside the editor and respect a buffer around
102
+ // the scrollerElem to avoid the draggableBlockElem disappearing too early.
103
+ document?.addEventListener('mousemove', onDocumentMouseMove);
104
+ return ()=>{
105
+ document?.removeEventListener('mousemove', onDocumentMouseMove);
106
+ };
107
+ }, [
108
+ scrollerElem,
109
+ anchorElem,
110
+ editor,
111
+ draggableBlockElem
112
+ ]);
113
+ useEffect(()=>{
114
+ if (menuRef.current) {
115
+ setHandlePosition(draggableBlockElem, menuRef.current, anchorElem, blockHandleHorizontalOffset);
116
+ }
117
+ }, [
118
+ anchorElem,
119
+ draggableBlockElem,
120
+ blockHandleHorizontalOffset
121
+ ]);
122
+ useEffect(()=>{
123
+ function onDragover(event) {
124
+ if (!isDraggingBlockRef.current) {
125
+ return false;
126
+ }
127
+ const [isFileTransfer] = eventFiles(event);
128
+ if (isFileTransfer) {
129
+ return false;
130
+ }
131
+ const { pageY, target } = event;
132
+ if (!isHTMLElement(target)) {
133
+ return false;
134
+ }
135
+ const distanceFromScrollerElem = calculateDistanceFromScrollerElem(scrollerElem, event.pageX, event.pageY, target, 100, 50);
136
+ const topLevelNodeKeys = getTopLevelNodeKeys(editor);
137
+ const { blockElem: targetBlockElem, foundAtIndex, isFoundNodeEmptyParagraph } = getNodeCloseToPoint({
138
+ anchorElem,
139
+ editor,
140
+ fuzzy: true,
141
+ horizontalOffset: -distanceFromScrollerElem,
142
+ point: new Point(event.x, event.y),
143
+ startIndex: getCurrentIndex(topLevelNodeKeys.length),
144
+ useEdgeAsDefault: true,
145
+ verbose: true
146
+ });
147
+ prevIndex = foundAtIndex;
148
+ const targetLineElem = targetLineRef.current;
149
+ // targetBlockElem === null shouldn't happen
150
+ if (targetBlockElem === null || targetLineElem === null) {
151
+ return false;
152
+ }
153
+ if (draggableBlockElem !== targetBlockElem) {
154
+ const { isBelow, willStayInSamePosition } = setTargetLine(editorConfig?.admin?.hideGutter ? '0px' : '3rem', blockHandleHorizontalOffset + (editorConfig?.admin?.hideGutter ? menuRef?.current?.getBoundingClientRect()?.width ?? 0 : -(menuRef?.current?.getBoundingClientRect()?.width ?? 0)), targetLineElem, targetBlockElem, lastTargetBlock, pageY, anchorElem, event, debugHighlightRef, isFoundNodeEmptyParagraph);
155
+ // Prevent default event to be able to trigger onDrop events
156
+ // Calling preventDefault() adds the green plus icon to the cursor,
157
+ // indicating that the drop is allowed.
158
+ event.preventDefault();
159
+ if (!willStayInSamePosition) {
160
+ setLastTargetBlock({
161
+ boundingBox: targetBlockElem.getBoundingClientRect(),
162
+ elem: targetBlockElem,
163
+ isBelow
164
+ });
165
+ }
166
+ } else {
167
+ hideTargetLine(targetLineElem, lastTargetBlock?.elem);
168
+ setLastTargetBlock({
169
+ boundingBox: targetBlockElem.getBoundingClientRect(),
170
+ elem: targetBlockElem,
171
+ isBelow: false
172
+ });
173
+ }
174
+ return true;
175
+ }
176
+ function onDrop(event) {
177
+ if (!isDraggingBlockRef.current) {
178
+ return false;
179
+ }
180
+ const [isFileTransfer] = eventFiles(event);
181
+ if (isFileTransfer) {
182
+ return false;
183
+ }
184
+ const { dataTransfer, pageY, target } = event;
185
+ const dragData = dataTransfer?.getData(DRAG_DATA_FORMAT) || '';
186
+ editor.update(()=>{
187
+ const draggedNode = $getNodeByKey(dragData);
188
+ if (!draggedNode) {
189
+ return false;
190
+ }
191
+ if (!isHTMLElement(target)) {
192
+ return false;
193
+ }
194
+ const distanceFromScrollerElem = calculateDistanceFromScrollerElem(scrollerElem, event.pageX, event.pageY, target, 100, 50);
195
+ const { blockElem: targetBlockElem, isFoundNodeEmptyParagraph } = getNodeCloseToPoint({
196
+ anchorElem,
197
+ editor,
198
+ fuzzy: true,
199
+ horizontalOffset: -distanceFromScrollerElem,
200
+ point: new Point(event.x, event.y),
201
+ useEdgeAsDefault: true
202
+ });
203
+ if (!targetBlockElem) {
204
+ return false;
205
+ }
206
+ const targetNode = $getNearestNodeFromDOMNode(targetBlockElem);
207
+ if (!targetNode) {
208
+ return false;
209
+ }
210
+ if (targetNode === draggedNode) {
211
+ return true;
212
+ }
213
+ const { height: targetBlockElemHeight, top: targetBlockElemTop } = getBoundingClientRectWithoutTransform(targetBlockElem);
214
+ const mouseY = pageY;
215
+ const isBelow = mouseY >= targetBlockElemTop + targetBlockElemHeight / 2 + window.scrollY;
216
+ if (!isFoundNodeEmptyParagraph) {
217
+ if (isBelow) {
218
+ // below targetBlockElem
219
+ targetNode.insertAfter(draggedNode);
220
+ } else {
221
+ // above targetBlockElem
222
+ targetNode.insertBefore(draggedNode);
223
+ }
224
+ } else {
225
+ //
226
+ targetNode.insertBefore(draggedNode);
227
+ targetNode.remove();
228
+ }
229
+ /*
230
+ if (pageY >= targetBlockElemTop + targetBlockElemHeight / 2) {
231
+ targetNode.insertAfter(draggedNode)
232
+ } else {
233
+ targetNode.insertBefore(draggedNode)
234
+ }*/ if (draggableBlockElem !== null) {
235
+ setDraggableBlockElem(null);
236
+ }
237
+ // find all previous elements with lexical-block-highlighter class and remove them
238
+ const allPrevHighlighters = document.querySelectorAll('.lexical-block-highlighter');
239
+ allPrevHighlighters.forEach((highlighter)=>{
240
+ highlighter.remove();
241
+ });
242
+ const newInsertedElem = editor.getElementByKey(draggedNode.getKey());
243
+ setTimeout(()=>{
244
+ // add new temp html element to newInsertedElem with the same height and width and the class block-selected
245
+ // to highlight the new inserted element
246
+ const newInsertedElemRect = newInsertedElem.getBoundingClientRect();
247
+ const highlightElem = document.createElement('div');
248
+ highlightElem.className = 'lexical-block-highlighter';
249
+ // if html data-theme is dark, set the highlighter color to white
250
+ if (document.documentElement.getAttribute('data-theme') === 'dark') {
251
+ highlightElem.style.backgroundColor = 'white';
252
+ } else {
253
+ highlightElem.style.backgroundColor = 'black';
254
+ }
255
+ highlightElem.style.transition = 'opacity 0.1s ease-in-out';
256
+ highlightElem.style.zIndex = '1';
257
+ highlightElem.style.pointerEvents = 'none';
258
+ highlightElem.style.boxSizing = 'border-box';
259
+ highlightElem.style.borderRadius = '4px';
260
+ highlightElem.style.position = 'absolute';
261
+ document.body.appendChild(highlightElem);
262
+ highlightElem.style.opacity = '0.1';
263
+ highlightElem.style.height = `${newInsertedElemRect.height + 8}px`;
264
+ highlightElem.style.width = `${newInsertedElemRect.width + 8}px`;
265
+ highlightElem.style.top = `${newInsertedElemRect.top + window.scrollY - 4}px`;
266
+ highlightElem.style.left = `${newInsertedElemRect.left - 4}px`;
267
+ setTimeout(()=>{
268
+ highlightElem.style.opacity = '0';
269
+ setTimeout(()=>{
270
+ highlightElem.remove();
271
+ }, 1000);
272
+ }, 3000);
273
+ }, 120);
274
+ });
275
+ return true;
276
+ }
277
+ // register onDragover event listeners:
278
+ document.addEventListener('dragover', onDragover);
279
+ // register onDrop event listeners:
280
+ document.addEventListener('drop', onDrop);
281
+ return ()=>{
282
+ document.removeEventListener('dragover', onDragover);
283
+ document.removeEventListener('drop', onDrop);
284
+ };
285
+ }, [
286
+ scrollerElem,
287
+ blockHandleHorizontalOffset,
288
+ anchorElem,
289
+ editor,
290
+ lastTargetBlock,
291
+ draggableBlockElem,
292
+ editorConfig?.admin?.hideGutter
293
+ ]);
294
+ function onDragStart(event) {
295
+ const dataTransfer = event.dataTransfer;
296
+ if (!dataTransfer || !draggableBlockElem) {
297
+ return;
298
+ }
299
+ setDragImage(dataTransfer, draggableBlockElem);
300
+ let nodeKey = '';
301
+ editor.update(()=>{
302
+ const node = $getNearestNodeFromDOMNode(draggableBlockElem);
303
+ if (node) {
304
+ nodeKey = node.getKey();
305
+ }
306
+ });
307
+ isDraggingBlockRef.current = true;
308
+ dataTransfer.setData(DRAG_DATA_FORMAT, nodeKey);
309
+ }
310
+ function onDragEnd() {
311
+ isDraggingBlockRef.current = false;
312
+ hideTargetLine(targetLineRef.current, lastTargetBlock?.elem);
313
+ }
314
+ return /*#__PURE__*/ createPortal(/*#__PURE__*/ _jsxs(React.Fragment, {
315
+ children: [
316
+ /*#__PURE__*/ _jsx("div", {
317
+ className: "icon draggable-block-menu",
318
+ draggable: true,
319
+ onDragEnd: onDragEnd,
320
+ onDragStart: onDragStart,
321
+ ref: menuRef,
322
+ children: /*#__PURE__*/ _jsx("div", {
323
+ className: isEditable ? 'icon' : ''
324
+ })
325
+ }),
326
+ /*#__PURE__*/ _jsx("div", {
327
+ className: "draggable-block-target-line",
328
+ ref: targetLineRef
329
+ }),
330
+ /*#__PURE__*/ _jsx("div", {
331
+ className: "debug-highlight",
332
+ ref: debugHighlightRef
333
+ })
334
+ ]
335
+ }), anchorElem);
336
+ }
337
+ export function DraggableBlockPlugin({ anchorElem = document.body }) {
338
+ const [editor] = useLexicalComposerContext();
339
+ return useDraggableBlockMenu(editor, anchorElem, editor._editable);
340
+ }
341
+
342
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/lexical/plugins/handles/DraggableBlockPlugin/index.tsx"],"sourcesContent":["'use client'\nimport type { LexicalEditor } from 'lexical'\nimport type { DragEvent as ReactDragEvent } from 'react'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport { eventFiles } from '@lexical/rich-text'\nimport { $getNearestNodeFromDOMNode, $getNodeByKey } from 'lexical'\nimport * as React from 'react'\nimport { useEffect, useRef, useState } from 'react'\nimport { createPortal } from 'react-dom'\n\nimport { useEditorConfigContext } from '../../../config/client/EditorConfigProvider.js'\nimport { isHTMLElement } from '../../../utils/guard.js'\nimport { Point } from '../../../utils/point.js'\nimport { calculateDistanceFromScrollerElem } from '../utils/calculateDistanceFromScrollerElem.js'\nimport { getNodeCloseToPoint } from '../utils/getNodeCloseToPoint.js'\nimport { getTopLevelNodeKeys } from '../utils/getTopLevelNodeKeys.js'\nimport { isOnHandleElement } from '../utils/isOnHandleElement.js'\nimport { setHandlePosition } from '../utils/setHandlePosition.js'\nimport { getBoundingClientRectWithoutTransform } from './getBoundingRectWithoutTransform.js'\nimport './index.scss'\nimport { setTargetLine } from './setTargetLine.js'\n\nconst DRAGGABLE_BLOCK_MENU_CLASSNAME = 'draggable-block-menu'\nconst DRAG_DATA_FORMAT = 'application/x-lexical-drag-block'\n\nlet prevIndex = Infinity\n\nfunction getCurrentIndex(keysLength: number): number {\n if (keysLength === 0) {\n return Infinity\n }\n if (prevIndex >= 0 && prevIndex < keysLength) {\n return prevIndex\n }\n\n return Math.floor(keysLength / 2)\n}\n\nfunction setDragImage(dataTransfer: DataTransfer, draggableBlockElem: HTMLElement) {\n const { transform } = draggableBlockElem.style\n\n // Remove dragImage borders\n dataTransfer.setDragImage(draggableBlockElem, 0, 0)\n\n setTimeout(() => {\n draggableBlockElem.style.transform = transform\n })\n}\n\nfunction hideTargetLine(\n targetLineElem: HTMLElement | null,\n lastTargetBlockElem: HTMLElement | null,\n) {\n if (targetLineElem) {\n targetLineElem.style.opacity = '0'\n }\n if (lastTargetBlockElem) {\n lastTargetBlockElem.style.opacity = ''\n // Delete marginBottom and marginTop values we set\n lastTargetBlockElem.style.marginBottom = ''\n lastTargetBlockElem.style.marginTop = ''\n //lastTargetBlock.style.border = 'none'\n }\n}\n\nfunction useDraggableBlockMenu(\n editor: LexicalEditor,\n anchorElem: HTMLElement,\n isEditable: boolean,\n): React.ReactElement {\n const scrollerElem = anchorElem.parentElement\n\n const menuRef = useRef<HTMLDivElement>(null)\n const targetLineRef = useRef<HTMLDivElement>(null)\n const debugHighlightRef = useRef<HTMLDivElement>(null)\n const isDraggingBlockRef = useRef<boolean>(false)\n const [draggableBlockElem, setDraggableBlockElem] = useState<HTMLElement | null>(null)\n const [lastTargetBlock, setLastTargetBlock] = useState<{\n boundingBox?: DOMRect\n elem: HTMLElement | null\n isBelow: boolean\n }>(null)\n\n const { editorConfig } = useEditorConfigContext()\n\n const blockHandleHorizontalOffset = editorConfig?.admin?.hideGutter ? -44 : -8\n\n useEffect(() => {\n /**\n * Handles positioning of the drag handle\n */\n function onDocumentMouseMove(event: MouseEvent) {\n const target = event.target\n if (!isHTMLElement(target)) {\n return\n }\n\n const distanceFromScrollerElem = calculateDistanceFromScrollerElem(\n scrollerElem,\n event.pageX,\n event.pageY,\n target,\n )\n if (distanceFromScrollerElem === -1) {\n setDraggableBlockElem(null)\n return\n }\n\n if (isOnHandleElement(target, DRAGGABLE_BLOCK_MENU_CLASSNAME)) {\n return\n }\n\n const topLevelNodeKeys = getTopLevelNodeKeys(editor)\n\n const {\n blockElem: _draggableBlockElem,\n foundAtIndex,\n isFoundNodeEmptyParagraph,\n } = getNodeCloseToPoint({\n anchorElem,\n cache_threshold: 0,\n editor,\n horizontalOffset: -distanceFromScrollerElem,\n point: new Point(event.x, event.y),\n startIndex: getCurrentIndex(topLevelNodeKeys.length),\n useEdgeAsDefault: false,\n verbose: false,\n })\n\n prevIndex = foundAtIndex\n\n //if (DEBUG && _draggableBlockElem) {\n //targetBlockElem.style.border = '3px solid red'\n // highlightElemOriginalPosition(debugHighlightRef, _draggableBlockElem, anchorElem)\n //}\n\n if (!_draggableBlockElem && !isFoundNodeEmptyParagraph) {\n return\n }\n\n if (draggableBlockElem !== _draggableBlockElem) {\n setDraggableBlockElem(_draggableBlockElem)\n }\n }\n\n // Since the draggableBlockElem is outside the actual editor, we need to listen to the document\n // to be able to detect when the mouse is outside the editor and respect a buffer around\n // the scrollerElem to avoid the draggableBlockElem disappearing too early.\n document?.addEventListener('mousemove', onDocumentMouseMove)\n\n return () => {\n document?.removeEventListener('mousemove', onDocumentMouseMove)\n }\n }, [scrollerElem, anchorElem, editor, draggableBlockElem])\n\n useEffect(() => {\n if (menuRef.current) {\n setHandlePosition(\n draggableBlockElem,\n menuRef.current,\n anchorElem,\n blockHandleHorizontalOffset,\n )\n }\n }, [anchorElem, draggableBlockElem, blockHandleHorizontalOffset])\n\n useEffect(() => {\n function onDragover(event: DragEvent): boolean {\n if (!isDraggingBlockRef.current) {\n return false\n }\n const [isFileTransfer] = eventFiles(event)\n if (isFileTransfer) {\n return false\n }\n\n const { pageY, target } = event\n if (!isHTMLElement(target)) {\n return false\n }\n\n const distanceFromScrollerElem = calculateDistanceFromScrollerElem(\n scrollerElem,\n event.pageX,\n event.pageY,\n target,\n 100,\n 50,\n )\n\n const topLevelNodeKeys = getTopLevelNodeKeys(editor)\n\n const {\n blockElem: targetBlockElem,\n foundAtIndex,\n isFoundNodeEmptyParagraph,\n } = getNodeCloseToPoint({\n anchorElem,\n editor,\n fuzzy: true,\n horizontalOffset: -distanceFromScrollerElem,\n point: new Point(event.x, event.y),\n startIndex: getCurrentIndex(topLevelNodeKeys.length),\n useEdgeAsDefault: true,\n verbose: true,\n })\n\n prevIndex = foundAtIndex\n\n const targetLineElem = targetLineRef.current\n // targetBlockElem === null shouldn't happen\n if (targetBlockElem === null || targetLineElem === null) {\n return false\n }\n\n if (draggableBlockElem !== targetBlockElem) {\n const { isBelow, willStayInSamePosition } = setTargetLine(\n editorConfig?.admin?.hideGutter ? '0px' : '3rem',\n blockHandleHorizontalOffset +\n (editorConfig?.admin?.hideGutter\n ? menuRef?.current?.getBoundingClientRect()?.width ?? 0\n : -(menuRef?.current?.getBoundingClientRect()?.width ?? 0)),\n targetLineElem,\n targetBlockElem,\n lastTargetBlock,\n pageY,\n anchorElem,\n event,\n debugHighlightRef,\n isFoundNodeEmptyParagraph,\n )\n\n // Prevent default event to be able to trigger onDrop events\n // Calling preventDefault() adds the green plus icon to the cursor,\n // indicating that the drop is allowed.\n event.preventDefault()\n\n if (!willStayInSamePosition) {\n setLastTargetBlock({\n boundingBox: targetBlockElem.getBoundingClientRect(),\n elem: targetBlockElem,\n isBelow,\n })\n }\n } else {\n hideTargetLine(targetLineElem, lastTargetBlock?.elem)\n setLastTargetBlock({\n boundingBox: targetBlockElem.getBoundingClientRect(),\n elem: targetBlockElem,\n isBelow: false,\n })\n }\n\n return true\n }\n\n function onDrop(event: DragEvent): boolean {\n if (!isDraggingBlockRef.current) {\n return false\n }\n const [isFileTransfer] = eventFiles(event)\n if (isFileTransfer) {\n return false\n }\n const { dataTransfer, pageY, target } = event\n const dragData = dataTransfer?.getData(DRAG_DATA_FORMAT) || ''\n\n editor.update(() => {\n const draggedNode = $getNodeByKey(dragData)\n if (!draggedNode) {\n return false\n }\n if (!isHTMLElement(target)) {\n return false\n }\n const distanceFromScrollerElem = calculateDistanceFromScrollerElem(\n scrollerElem,\n event.pageX,\n event.pageY,\n target,\n 100,\n 50,\n )\n\n const { blockElem: targetBlockElem, isFoundNodeEmptyParagraph } = getNodeCloseToPoint({\n anchorElem,\n editor,\n fuzzy: true,\n horizontalOffset: -distanceFromScrollerElem,\n point: new Point(event.x, event.y),\n useEdgeAsDefault: true,\n })\n\n if (!targetBlockElem) {\n return false\n }\n const targetNode = $getNearestNodeFromDOMNode(targetBlockElem)\n if (!targetNode) {\n return false\n }\n if (targetNode === draggedNode) {\n return true\n }\n\n const { height: targetBlockElemHeight, top: targetBlockElemTop } =\n getBoundingClientRectWithoutTransform(targetBlockElem)\n\n const mouseY = pageY\n const isBelow = mouseY >= targetBlockElemTop + targetBlockElemHeight / 2 + window.scrollY\n\n if (!isFoundNodeEmptyParagraph) {\n if (isBelow) {\n // below targetBlockElem\n targetNode.insertAfter(draggedNode)\n } else {\n // above targetBlockElem\n targetNode.insertBefore(draggedNode)\n }\n } else {\n //\n targetNode.insertBefore(draggedNode)\n targetNode.remove()\n }\n\n /*\n if (pageY >= targetBlockElemTop + targetBlockElemHeight / 2) {\n targetNode.insertAfter(draggedNode)\n } else {\n targetNode.insertBefore(draggedNode)\n }*/\n if (draggableBlockElem !== null) {\n setDraggableBlockElem(null)\n }\n\n // find all previous elements with lexical-block-highlighter class and remove them\n const allPrevHighlighters = document.querySelectorAll('.lexical-block-highlighter')\n allPrevHighlighters.forEach((highlighter) => {\n highlighter.remove()\n })\n\n const newInsertedElem = editor.getElementByKey(draggedNode.getKey())\n setTimeout(() => {\n // add new temp html element to newInsertedElem with the same height and width and the class block-selected\n // to highlight the new inserted element\n const newInsertedElemRect = newInsertedElem.getBoundingClientRect()\n\n const highlightElem = document.createElement('div')\n highlightElem.className = 'lexical-block-highlighter'\n\n // if html data-theme is dark, set the highlighter color to white\n if (document.documentElement.getAttribute('data-theme') === 'dark') {\n highlightElem.style.backgroundColor = 'white'\n } else {\n highlightElem.style.backgroundColor = 'black'\n }\n\n highlightElem.style.transition = 'opacity 0.1s ease-in-out'\n highlightElem.style.zIndex = '1'\n highlightElem.style.pointerEvents = 'none'\n highlightElem.style.boxSizing = 'border-box'\n highlightElem.style.borderRadius = '4px'\n highlightElem.style.position = 'absolute'\n document.body.appendChild(highlightElem)\n\n highlightElem.style.opacity = '0.1'\n\n highlightElem.style.height = `${newInsertedElemRect.height + 8}px`\n highlightElem.style.width = `${newInsertedElemRect.width + 8}px`\n highlightElem.style.top = `${newInsertedElemRect.top + window.scrollY - 4}px`\n highlightElem.style.left = `${newInsertedElemRect.left - 4}px`\n\n setTimeout(() => {\n highlightElem.style.opacity = '0'\n setTimeout(() => {\n highlightElem.remove()\n }, 1000)\n }, 3000)\n }, 120)\n })\n\n return true\n }\n\n // register onDragover event listeners:\n document.addEventListener('dragover', onDragover)\n // register onDrop event listeners:\n document.addEventListener('drop', onDrop)\n\n return () => {\n document.removeEventListener('dragover', onDragover)\n document.removeEventListener('drop', onDrop)\n }\n }, [\n scrollerElem,\n blockHandleHorizontalOffset,\n anchorElem,\n editor,\n lastTargetBlock,\n draggableBlockElem,\n editorConfig?.admin?.hideGutter,\n ])\n\n function onDragStart(event: ReactDragEvent<HTMLDivElement>): void {\n const dataTransfer = event.dataTransfer\n if (!dataTransfer || !draggableBlockElem) {\n return\n }\n setDragImage(dataTransfer, draggableBlockElem)\n let nodeKey = ''\n editor.update(() => {\n const node = $getNearestNodeFromDOMNode(draggableBlockElem)\n if (node) {\n nodeKey = node.getKey()\n }\n })\n isDraggingBlockRef.current = true\n dataTransfer.setData(DRAG_DATA_FORMAT, nodeKey)\n }\n\n function onDragEnd(): void {\n isDraggingBlockRef.current = false\n hideTargetLine(targetLineRef.current, lastTargetBlock?.elem)\n }\n\n return createPortal(\n <React.Fragment>\n <div\n className=\"icon draggable-block-menu\"\n draggable\n onDragEnd={onDragEnd}\n onDragStart={onDragStart}\n ref={menuRef}\n >\n <div className={isEditable ? 'icon' : ''} />\n </div>\n <div className=\"draggable-block-target-line\" ref={targetLineRef} />\n <div className=\"debug-highlight\" ref={debugHighlightRef} />\n </React.Fragment>,\n anchorElem,\n )\n}\n\nexport function DraggableBlockPlugin({\n anchorElem = document.body,\n}: {\n anchorElem?: HTMLElement\n}): React.ReactElement {\n const [editor] = useLexicalComposerContext()\n return useDraggableBlockMenu(editor, anchorElem, editor._editable)\n}\n"],"names":["useLexicalComposerContext","eventFiles","$getNearestNodeFromDOMNode","$getNodeByKey","React","useEffect","useRef","useState","createPortal","useEditorConfigContext","isHTMLElement","Point","calculateDistanceFromScrollerElem","getNodeCloseToPoint","getTopLevelNodeKeys","isOnHandleElement","setHandlePosition","getBoundingClientRectWithoutTransform","setTargetLine","DRAGGABLE_BLOCK_MENU_CLASSNAME","DRAG_DATA_FORMAT","prevIndex","Infinity","getCurrentIndex","keysLength","Math","floor","setDragImage","dataTransfer","draggableBlockElem","transform","style","setTimeout","hideTargetLine","targetLineElem","lastTargetBlockElem","opacity","marginBottom","marginTop","useDraggableBlockMenu","editor","anchorElem","isEditable","scrollerElem","parentElement","menuRef","targetLineRef","debugHighlightRef","isDraggingBlockRef","setDraggableBlockElem","lastTargetBlock","setLastTargetBlock","editorConfig","blockHandleHorizontalOffset","admin","hideGutter","onDocumentMouseMove","event","target","distanceFromScrollerElem","pageX","pageY","topLevelNodeKeys","blockElem","_draggableBlockElem","foundAtIndex","isFoundNodeEmptyParagraph","cache_threshold","horizontalOffset","point","x","y","startIndex","length","useEdgeAsDefault","verbose","document","addEventListener","removeEventListener","current","onDragover","isFileTransfer","targetBlockElem","fuzzy","isBelow","willStayInSamePosition","getBoundingClientRect","width","preventDefault","boundingBox","elem","onDrop","dragData","getData","update","draggedNode","targetNode","height","targetBlockElemHeight","top","targetBlockElemTop","mouseY","window","scrollY","insertAfter","insertBefore","remove","allPrevHighlighters","querySelectorAll","forEach","highlighter","newInsertedElem","getElementByKey","getKey","newInsertedElemRect","highlightElem","createElement","className","documentElement","getAttribute","backgroundColor","transition","zIndex","pointerEvents","boxSizing","borderRadius","position","body","appendChild","left","onDragStart","nodeKey","node","setData","onDragEnd","Fragment","div","draggable","ref","DraggableBlockPlugin","_editable"],"mappings":"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"}
@@ -0,0 +1,9 @@
1
+ export declare function setTargetLine(offsetWidth: string, offsetLeft: number, targetLineElem: HTMLElement, targetBlockElem: HTMLElement, lastTargetBlock: {
2
+ boundingBox?: DOMRect;
3
+ elem: HTMLElement | null;
4
+ isBelow: boolean;
5
+ }, mouseY: number, anchorElem: HTMLElement, event: DragEvent, debugHighlightRef: React.RefObject<HTMLDivElement | null>, isFoundNodeEmptyParagraph?: boolean): {
6
+ isBelow: boolean;
7
+ willStayInSamePosition: boolean;
8
+ };
9
+ //# sourceMappingURL=setTargetLine.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setTargetLine.d.ts","sourceRoot":"","sources":["../../../../../src/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.ts"],"names":[],"mappings":"AASA,wBAAgB,aAAa,CAC3B,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,WAAW,EAC3B,eAAe,EAAE,WAAW,EAC5B,eAAe,EAAE;IACf,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,IAAI,EAAE,WAAW,GAAG,IAAI,CAAA;IACxB,OAAO,EAAE,OAAO,CAAA;CACjB,EACD,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,WAAW,EACvB,KAAK,EAAE,SAAS,EAChB,iBAAiB,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,EACzD,yBAAyB,GAAE,OAAe;;;EA4I3C"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.ts"],"sourcesContent":["import { getCollapsedMargins } from '../utils/getCollapsedMargins.js'\nimport { getBoundingClientRectWithoutTransform } from './getBoundingRectWithoutTransform.js'\nimport { highlightElemOriginalPosition } from './highlightElemOriginalPosition.js'\nconst TARGET_LINE_HALF_HEIGHT = 25\nconst TEXT_BOX_HORIZONTAL_PADDING = -24\nconst DEBUG = false\n\nlet animationTimer = 0\n\nexport function setTargetLine(\n offsetWidth: string,\n offsetLeft: number,\n targetLineElem: HTMLElement,\n targetBlockElem: HTMLElement,\n lastTargetBlock: {\n boundingBox?: DOMRect\n elem: HTMLElement | null\n isBelow: boolean\n },\n mouseY: number,\n anchorElem: HTMLElement,\n event: DragEvent,\n debugHighlightRef: React.RefObject<HTMLDivElement | null>,\n isFoundNodeEmptyParagraph: boolean = false,\n) {\n const { height: targetBlockElemHeight, top: targetBlockElemTop } =\n targetBlockElem.getBoundingClientRect() // used to be getBoundingClientRectWithoutTransform. Not sure what's better, but the normal getBoundingClientRect seems to work fine\n const { top: anchorTop, width: anchorWidth } = anchorElem.getBoundingClientRect()\n\n const { marginBottom, marginTop } = getCollapsedMargins(targetBlockElem)\n let lineTop = targetBlockElemTop\n\n const isBelow = mouseY >= targetBlockElemTop + targetBlockElemHeight / 2 + window.scrollY\n\n let willStayInSamePosition = false\n\n /**\n * Do not run any transform or changes if the actual new line position would be the same (even if it's now inserted BEFORE rather than AFTER - position would still be the same)\n * This prevents unnecessary flickering.\n *\n * We still need to let it run even if the position (IGNORING the transform) would not change, as the transform animation is not finished yet. This is what animationTimer does. Otherwise, the positioning will be inaccurate\n */\n if (lastTargetBlock?.elem) {\n if (targetBlockElem !== lastTargetBlock?.elem) {\n if (\n isBelow &&\n lastTargetBlock?.elem &&\n lastTargetBlock?.elem === targetBlockElem.nextElementSibling\n ) {\n animationTimer++\n\n if (animationTimer < 200) {\n willStayInSamePosition = true\n }\n } else if (\n !isBelow &&\n lastTargetBlock?.elem &&\n lastTargetBlock?.elem === targetBlockElem.previousElementSibling\n ) {\n animationTimer++\n if (animationTimer < 200) {\n willStayInSamePosition = true\n }\n }\n } else {\n animationTimer++\n\n const lastBoundingBoxPosition = lastTargetBlock?.boundingBox?.y\n const currentBoundingBoxPosition = targetBlockElem.getBoundingClientRect().y\n\n if (\n (isBelow === lastTargetBlock?.isBelow &&\n lastBoundingBoxPosition === currentBoundingBoxPosition) ||\n animationTimer < 200\n ) {\n willStayInSamePosition = false\n }\n }\n }\n if (willStayInSamePosition) {\n return {\n isBelow,\n willStayInSamePosition,\n }\n }\n\n /**\n * Paragraphs need no isBelow/above handling,\n */\n if (!isFoundNodeEmptyParagraph) {\n //if (!isFoundNodeEmptyParagraph) {\n if (isBelow) {\n // below targetBlockElem\n lineTop += targetBlockElemHeight + marginBottom / 2\n } else {\n // above targetBlockElem\n lineTop -= marginTop / 2\n }\n } else {\n lineTop += targetBlockElemHeight / 2\n }\n\n let targetElemTranslate2 = 0\n\n if (!isFoundNodeEmptyParagraph) {\n if (isBelow) {\n targetElemTranslate2 = -TARGET_LINE_HALF_HEIGHT\n } else {\n targetElemTranslate2 = TARGET_LINE_HALF_HEIGHT\n }\n }\n\n const top = lineTop - anchorTop + targetElemTranslate2\n\n const left = TEXT_BOX_HORIZONTAL_PADDING - offsetLeft\n\n targetLineElem.style.width = `calc(${anchorWidth}px - ${offsetWidth})`\n targetLineElem.style.opacity = '.4'\n\n /**\n * Move around element below or above the line (= the target / targetBlockElem). Creates \"space\" for the targetLineElem\n *\n * Not needed for empty paragraphs, as an empty paragraph is enough space for the targetLineElem anyways.\n */\n //targetBlockElem.style.opacity = '0.4'\n const buffer = 12 // creates more spacing/padding so target line is not directly next to the targetBlockElem\n if (!isFoundNodeEmptyParagraph) {\n if (isBelow) {\n targetBlockElem.style.marginBottom = TARGET_LINE_HALF_HEIGHT * 2 + buffer + 'px'\n targetLineElem.style.transform = `translate(${left}px, calc(${top}px - ${'0px'}))`\n } else {\n targetBlockElem.style.marginTop = TARGET_LINE_HALF_HEIGHT * 2 + buffer + 'px'\n targetLineElem.style.transform = `translate(${left}px, calc(${top - TARGET_LINE_HALF_HEIGHT * 2}px - ${'0px'}))`\n }\n } else {\n targetLineElem.style.transform = `translate(${left}px, ${top - TARGET_LINE_HALF_HEIGHT}px)`\n }\n\n if (DEBUG) {\n //targetBlockElem.style.border = '3px solid red'\n highlightElemOriginalPosition(debugHighlightRef, targetBlockElem, anchorElem)\n }\n\n /**\n * Properly reset previous targetBlockElem styles\n */\n lastTargetBlock.elem.style.opacity = ''\n\n if (lastTargetBlock?.elem === targetBlockElem) {\n if (isBelow) {\n lastTargetBlock.elem.style.marginTop = ''\n } else {\n lastTargetBlock.elem.style.marginBottom = ''\n }\n } else {\n lastTargetBlock.elem.style.marginBottom = ''\n lastTargetBlock.elem.style.marginTop = ''\n }\n animationTimer = 0\n return {\n isBelow,\n willStayInSamePosition,\n }\n}\n"],"names":["getCollapsedMargins","highlightElemOriginalPosition","TARGET_LINE_HALF_HEIGHT","TEXT_BOX_HORIZONTAL_PADDING","DEBUG","animationTimer","setTargetLine","offsetWidth","offsetLeft","targetLineElem","targetBlockElem","lastTargetBlock","mouseY","anchorElem","event","debugHighlightRef","isFoundNodeEmptyParagraph","height","targetBlockElemHeight","top","targetBlockElemTop","getBoundingClientRect","anchorTop","width","anchorWidth","marginBottom","marginTop","lineTop","isBelow","window","scrollY","willStayInSamePosition","elem","nextElementSibling","previousElementSibling","lastBoundingBoxPosition","boundingBox","y","currentBoundingBoxPosition","targetElemTranslate2","left","style","opacity","buffer","transform"],"mappings":"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"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calculateDistanceFromScrollerElem.d.ts","sourceRoot":"","sources":["../../../../../src/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,iCAAiC,iBAC9B,WAAW,GAAG,IAAI,SACzB,MAAM,SACN,MAAM,UACL,WAAW,qBACD,MAAM,mBACR,MAAM,KACrB,MAwBF,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.ts"],"sourcesContent":["/**\n * Calculate distance between scrollerElem and target if target is not in scrollerElem\n */\nexport const calculateDistanceFromScrollerElem = (\n scrollerElem: HTMLElement | null,\n pageX: number,\n pageY: number,\n target: HTMLElement,\n horizontalBuffer: number = 50,\n verticalBuffer: number = 25,\n): number => {\n let distanceFromScrollerElem = 0\n if (scrollerElem && !scrollerElem.contains(target)) {\n const { bottom, left, right, top } = scrollerElem.getBoundingClientRect()\n\n const adjustedTop = top + window.scrollY\n const adjustedBottom = bottom + window.scrollY\n\n if (\n pageY < adjustedTop - verticalBuffer ||\n pageY > adjustedBottom + verticalBuffer ||\n pageX < left - horizontalBuffer ||\n pageX > right + horizontalBuffer\n ) {\n return -1\n }\n\n // This is used to allow the _draggableBlockElem to be found when the mouse is in the\n // buffer zone around the scrollerElem.\n if (pageX < left || pageX > right) {\n distanceFromScrollerElem = pageX < left ? pageX - left : pageX - right\n }\n }\n return distanceFromScrollerElem\n}\n"],"names":["calculateDistanceFromScrollerElem","scrollerElem","pageX","pageY","target","horizontalBuffer","verticalBuffer","distanceFromScrollerElem","contains","bottom","left","right","top","getBoundingClientRect","adjustedTop","window","scrollY","adjustedBottom"],"mappings":"AAAA;;CAEC,GACD,OAAO,MAAMA,oCAAoC,CAC/CC,cACAC,OACAC,OACAC,QACAC,mBAA2B,EAAE,EAC7BC,iBAAyB,EAAE;IAE3B,IAAIC,2BAA2B;IAC/B,IAAIN,gBAAgB,CAACA,aAAaO,QAAQ,CAACJ,SAAS;QAClD,MAAM,EAAEK,MAAM,EAAEC,IAAI,EAAEC,KAAK,EAAEC,GAAG,EAAE,GAAGX,aAAaY,qBAAqB;QAEvE,MAAMC,cAAcF,MAAMG,OAAOC,OAAO;QACxC,MAAMC,iBAAiBR,SAASM,OAAOC,OAAO;QAE9C,IACEb,QAAQW,cAAcR,kBACtBH,QAAQc,iBAAiBX,kBACzBJ,QAAQQ,OAAOL,oBACfH,QAAQS,QAAQN,kBAChB;YACA,OAAO,CAAC;QACV;QAEA,qFAAqF;QACrF,uCAAuC;QACvC,IAAIH,QAAQQ,QAAQR,QAAQS,OAAO;YACjCJ,2BAA2BL,QAAQQ,OAAOR,QAAQQ,OAAOR,QAAQS;QACnE;IACF;IACA,OAAOJ;AACT,EAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"doesLineHeightAffectElement.d.ts","sourceRoot":"","sources":["../../../../../src/lexical/plugins/handles/utils/doesLineHeightAffectElement.ts"],"names":[],"mappings":"AAaA;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,QAAQ,EAAE,WAAW,WA2BhE"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/lexical/plugins/handles/utils/doesLineHeightAffectElement.ts"],"sourcesContent":["const replacedElements = [\n 'IMG',\n 'INPUT',\n 'TEXTAREA',\n 'SELECT',\n 'BUTTON',\n 'VIDEO',\n 'OBJECT',\n 'EMBED',\n 'IFRAME',\n 'HR',\n]\n\n/**\n * From ChatGPT, only that verified it works for HR elements.\n *\n * HTML Elements can have CSS lineHeight applied to them, but it doesn't always affect the visual layout.\n * This function checks if the line-height property has an effect on the element's layout.\n * @param htmlElem\n */\nexport function doesLineHeightAffectElement(htmlElem: HTMLElement) {\n if (!htmlElem) return false\n\n // Check for replaced elements, elements that typically don't support line-height adjustments,\n // and elements without visible content\n\n if (\n replacedElements.includes(htmlElem.tagName) ||\n htmlElem.offsetHeight === 0 ||\n htmlElem.offsetWidth === 0\n ) {\n return false\n }\n\n // Check for specific CSS properties that negate line-height's visual effects\n const style = window.getComputedStyle(htmlElem)\n if (\n style.display === 'table-cell' ||\n style.position === 'absolute' ||\n style.visibility === 'hidden' ||\n style.opacity === '0'\n ) {\n return false\n }\n\n // This is a basic check, and there can be more complex scenarios where line-height doesn't have an effect.\n return true\n}\n"],"names":["replacedElements","doesLineHeightAffectElement","htmlElem","includes","tagName","offsetHeight","offsetWidth","style","window","getComputedStyle","display","position","visibility","opacity"],"mappings":"AAAA,MAAMA,mBAAmB;IACvB;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACD;AAED;;;;;;CAMC,GACD,OAAO,SAASC,4BAA4BC,QAAqB;IAC/D,IAAI,CAACA,UAAU,OAAO;IAEtB,8FAA8F;IAC9F,uCAAuC;IAEvC,IACEF,iBAAiBG,QAAQ,CAACD,SAASE,OAAO,KAC1CF,SAASG,YAAY,KAAK,KAC1BH,SAASI,WAAW,KAAK,GACzB;QACA,OAAO;IACT;IAEA,6EAA6E;IAC7E,MAAMC,QAAQC,OAAOC,gBAAgB,CAACP;IACtC,IACEK,MAAMG,OAAO,KAAK,gBAClBH,MAAMI,QAAQ,KAAK,cACnBJ,MAAMK,UAAU,KAAK,YACrBL,MAAMM,OAAO,KAAK,KAClB;QACA,OAAO;IACT;IAEA,2GAA2G;IAC3G,OAAO;AACT"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCollapsedMargins.d.ts","sourceRoot":"","sources":["../../../../../src/lexical/plugins/handles/utils/getCollapsedMargins.ts"],"names":[],"mappings":"AAAA,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,WAAW,GAAG;IACtD,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;CAClB,CAWA"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/lexical/plugins/handles/utils/getCollapsedMargins.ts"],"sourcesContent":["export function getCollapsedMargins(elem: HTMLElement): {\n marginBottom: number\n marginTop: number\n} {\n const getMargin = (element: Element | null, margin: 'marginBottom' | 'marginTop'): number =>\n element ? parseFloat(window.getComputedStyle(element)[margin]) : 0\n\n const { marginBottom, marginTop } = window.getComputedStyle(elem)\n const prevElemSiblingMarginBottom = getMargin(elem.previousElementSibling, 'marginBottom')\n const nextElemSiblingMarginTop = getMargin(elem.nextElementSibling, 'marginTop')\n const collapsedTopMargin = Math.max(parseFloat(marginTop), prevElemSiblingMarginBottom)\n const collapsedBottomMargin = Math.max(parseFloat(marginBottom), nextElemSiblingMarginTop)\n\n return { marginBottom: collapsedBottomMargin, marginTop: collapsedTopMargin }\n}\n"],"names":["getCollapsedMargins","elem","getMargin","element","margin","parseFloat","window","getComputedStyle","marginBottom","marginTop","prevElemSiblingMarginBottom","previousElementSibling","nextElemSiblingMarginTop","nextElementSibling","collapsedTopMargin","Math","max","collapsedBottomMargin"],"mappings":"AAAA,OAAO,SAASA,oBAAoBC,IAAiB;IAInD,MAAMC,YAAY,CAACC,SAAyBC,SAC1CD,UAAUE,WAAWC,OAAOC,gBAAgB,CAACJ,QAAQ,CAACC,OAAO,IAAI;IAEnE,MAAM,EAAEI,YAAY,EAAEC,SAAS,EAAE,GAAGH,OAAOC,gBAAgB,CAACN;IAC5D,MAAMS,8BAA8BR,UAAUD,KAAKU,sBAAsB,EAAE;IAC3E,MAAMC,2BAA2BV,UAAUD,KAAKY,kBAAkB,EAAE;IACpE,MAAMC,qBAAqBC,KAAKC,GAAG,CAACX,WAAWI,YAAYC;IAC3D,MAAMO,wBAAwBF,KAAKC,GAAG,CAACX,WAAWG,eAAeI;IAEjE,OAAO;QAAEJ,cAAcS;QAAuBR,WAAWK;IAAmB;AAC9E"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNodeCloseToPoint.d.ts","sourceRoot":"","sources":["../../../../../src/lexical/plugins/handles/utils/getNodeCloseToPoint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAIzD,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAA;AAW/C,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,WAAW,CAAA;IACvB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,MAAM,EAAE,aAAa,CAAA;IACrB,gHAAgH;IAChH,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,KAAK,EAAE,KAAK,CAAA;IACZ;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,KAAK,MAAM,GAAG;IACZ,SAAS,EAAE,WAAW,GAAG,IAAI,CAAA;IAC7B,SAAS,EAAE,WAAW,GAAG,IAAI,CAAA;IAC7B,YAAY,EAAE,MAAM,CAAA;IACpB,yBAAyB,EAAE,OAAO,CAAA;CACnC,CAAA;AAaD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAmKxD"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/lexical/plugins/handles/utils/getNodeCloseToPoint.ts"],"sourcesContent":["import type { LexicalEditor, LexicalNode } from 'lexical'\n\nimport { $getNodeByKey } from 'lexical'\n\nimport { Point } from '../../../utils/point.js'\nimport { Rect } from '../../../utils/rect.js'\nimport { getBoundingClientRectWithoutTransform } from '../DraggableBlockPlugin/getBoundingRectWithoutTransform.js'\nimport { getCollapsedMargins } from '../utils/getCollapsedMargins.js'\nimport { getTopLevelNodeKeys } from '../utils/getTopLevelNodeKeys.js'\n\n// Directions\nconst Downward = 1\nconst Upward = -1\nconst Indeterminate = 0\n\ntype Props = {\n anchorElem: HTMLElement\n cache_threshold?: number\n editor: LexicalEditor\n /** fuzzy makes the search not exact. If no exact match found, find the closes node instead of returning null */\n fuzzy?: boolean\n horizontalOffset?: number\n point: Point\n /**\n * By default, empty paragraphs are not returned. Set this to true to return empty paragraphs. @default false\n */\n returnEmptyParagraphs?: boolean\n /**\n * The index to start searching from. It can be a considerable performance optimization to start searching from the index of the\n * previously found node, as the node is likely to be close to the next node.\n */\n startIndex?: number\n useEdgeAsDefault?: boolean\n verbose?: boolean\n}\n\ntype Output = {\n blockElem: HTMLElement | null\n blockNode: LexicalNode | null\n foundAtIndex: number\n isFoundNodeEmptyParagraph: boolean\n}\n\nconst cache = {\n props: null as Props | null,\n result: null as Output | null,\n}\n\nfunction isPointClose(previous: Point, current: Point, threshold: number = 20): boolean {\n const dx = previous.x - current.x\n const dy = previous.y - current.y\n return dx * dx + dy * dy <= threshold * threshold\n}\n\nexport function getNodeCloseToPoint(props: Props): Output {\n const {\n anchorElem,\n cache_threshold = 20,\n editor,\n fuzzy = false,\n horizontalOffset = 0,\n point: { x, y },\n startIndex = 0,\n useEdgeAsDefault = false,\n verbose = false,\n } = props\n\n // Use cache\n if (\n cache_threshold > 0 &&\n cache.props &&\n cache.result &&\n cache.props.fuzzy === props.fuzzy &&\n cache.props.horizontalOffset === props.horizontalOffset &&\n cache.props.useEdgeAsDefault === props.useEdgeAsDefault &&\n isPointClose(cache.props.point, props.point, cache_threshold)\n ) {\n return cache.result\n }\n\n const anchorElementRect = anchorElem.getBoundingClientRect()\n const topLevelNodeKeys = getTopLevelNodeKeys(editor)\n\n const closestBlockElem: {\n blockElem: HTMLElement | null\n blockNode: LexicalNode | null\n distance: number\n foundAtIndex: number\n isFoundNodeEmptyParagraph: boolean\n } = {\n blockElem: null,\n blockNode: null,\n distance: Infinity,\n foundAtIndex: -1,\n isFoundNodeEmptyParagraph: false,\n }\n\n // Return null if matching block element is the first or last node\n editor.getEditorState().read(() => {\n if (useEdgeAsDefault) {\n const [firstNode, lastNode] = [\n editor.getElementByKey(topLevelNodeKeys[0]),\n editor.getElementByKey(topLevelNodeKeys[topLevelNodeKeys.length - 1]),\n ]\n\n const [firstNodeRect, lastNodeRect] = [\n getBoundingClientRectWithoutTransform(firstNode),\n getBoundingClientRectWithoutTransform(lastNode),\n ]\n\n if (firstNodeRect && lastNodeRect) {\n if (y < firstNodeRect.top) {\n closestBlockElem.blockElem = firstNode\n closestBlockElem.distance = firstNodeRect.top - y\n closestBlockElem.blockNode = $getNodeByKey(topLevelNodeKeys[0])\n closestBlockElem.foundAtIndex = 0\n } else if (y > lastNodeRect.bottom) {\n closestBlockElem.distance = y - lastNodeRect.bottom\n closestBlockElem.blockNode = $getNodeByKey(topLevelNodeKeys[topLevelNodeKeys.length - 1])\n closestBlockElem.blockElem = lastNode\n closestBlockElem.foundAtIndex = topLevelNodeKeys.length - 1\n }\n\n if (closestBlockElem?.blockElem) {\n return {\n blockElem: null,\n isFoundNodeEmptyParagraph: false,\n } as Output\n }\n }\n }\n\n // Find matching block element\n let index = startIndex\n let direction = Indeterminate\n\n while (index >= 0 && index < topLevelNodeKeys.length) {\n const key = topLevelNodeKeys[index]\n const elem = editor.getElementByKey(key)\n if (elem === null) {\n break\n }\n const point = new Point(x + horizontalOffset, y)\n //const domRect = Rect.fromDOM(elem)\n // Do not consider transform of blocks when calculating distance\n const domRect = Rect.fromDOMRect(getBoundingClientRectWithoutTransform(elem))\n\n const { marginBottom, marginTop } = getCollapsedMargins(elem)\n\n const rect = domRect.generateNewRect({\n bottom: domRect.bottom + marginBottom,\n left: anchorElementRect.left,\n right: anchorElementRect.right,\n top: domRect.top - marginTop,\n })\n\n const { distance, isOnBottomSide, isOnTopSide } = rect.distanceFromPoint(point)\n\n if (distance === 0) {\n closestBlockElem.blockElem = elem\n closestBlockElem.blockNode = $getNodeByKey(key)\n closestBlockElem.foundAtIndex = index\n closestBlockElem.distance = distance\n\n // Check if blockNode is an empty text node\n if (\n closestBlockElem.blockNode &&\n closestBlockElem.blockNode.getType() === 'paragraph' &&\n closestBlockElem.blockNode.getTextContent() === ''\n ) {\n if (!fuzzy && !props.returnEmptyParagraphs) {\n closestBlockElem.blockElem = null\n closestBlockElem.blockNode = null\n }\n\n closestBlockElem.isFoundNodeEmptyParagraph = true\n }\n break\n } else if (fuzzy) {\n if (distance < closestBlockElem.distance) {\n closestBlockElem.blockElem = elem\n closestBlockElem.blockNode = $getNodeByKey(key)\n closestBlockElem.distance = distance\n closestBlockElem.foundAtIndex = index\n }\n }\n\n if (direction === Indeterminate) {\n if (isOnTopSide) {\n direction = Upward\n } else if (isOnBottomSide) {\n direction = Downward\n } else {\n // stop search block element\n direction = Infinity\n }\n }\n\n index += direction\n }\n })\n\n // Store in cache before returning\n cache.props = props\n cache.result = {\n blockElem: closestBlockElem.blockElem,\n blockNode: closestBlockElem.blockNode,\n foundAtIndex: closestBlockElem.foundAtIndex,\n isFoundNodeEmptyParagraph: closestBlockElem.isFoundNodeEmptyParagraph,\n }\n\n return {\n blockElem: closestBlockElem.blockElem,\n blockNode: closestBlockElem.blockNode,\n foundAtIndex: closestBlockElem.foundAtIndex,\n isFoundNodeEmptyParagraph: closestBlockElem.isFoundNodeEmptyParagraph,\n }\n}\n"],"names":["$getNodeByKey","Point","Rect","getBoundingClientRectWithoutTransform","getCollapsedMargins","getTopLevelNodeKeys","Downward","Upward","Indeterminate","cache","props","result","isPointClose","previous","current","threshold","dx","x","dy","y","getNodeCloseToPoint","anchorElem","cache_threshold","editor","fuzzy","horizontalOffset","point","startIndex","useEdgeAsDefault","verbose","anchorElementRect","getBoundingClientRect","topLevelNodeKeys","closestBlockElem","blockElem","blockNode","distance","Infinity","foundAtIndex","isFoundNodeEmptyParagraph","getEditorState","read","firstNode","lastNode","getElementByKey","length","firstNodeRect","lastNodeRect","top","bottom","index","direction","key","elem","domRect","fromDOMRect","marginBottom","marginTop","rect","generateNewRect","left","right","isOnBottomSide","isOnTopSide","distanceFromPoint","getType","getTextContent","returnEmptyParagraphs"],"mappings":"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"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTopLevelNodeKeys.d.ts","sourceRoot":"","sources":["../../../../../src/lexical/plugins/handles/utils/getTopLevelNodeKeys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAI5C,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,EAAE,CAEnE"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/lexical/plugins/handles/utils/getTopLevelNodeKeys.ts"],"sourcesContent":["import type { LexicalEditor } from 'lexical'\n\nimport { $getRoot } from 'lexical'\n\nexport function getTopLevelNodeKeys(editor: LexicalEditor): string[] {\n return editor.getEditorState().read(() => $getRoot().getChildrenKeys())\n}\n"],"names":["$getRoot","getTopLevelNodeKeys","editor","getEditorState","read","getChildrenKeys"],"mappings":"AAEA,SAASA,QAAQ,QAAQ,UAAS;AAElC,OAAO,SAASC,oBAAoBC,MAAqB;IACvD,OAAOA,OAAOC,cAAc,GAAGC,IAAI,CAAC,IAAMJ,WAAWK,eAAe;AACtE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isOnHandleElement.d.ts","sourceRoot":"","sources":["../../../../../src/lexical/plugins/handles/utils/isOnHandleElement.ts"],"names":[],"mappings":"AAAA,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,WAAW,EAAE,sBAAsB,EAAE,MAAM,GAAG,OAAO,CAE/F"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/lexical/plugins/handles/utils/isOnHandleElement.ts"],"sourcesContent":["export function isOnHandleElement(element: HTMLElement, handleElementClassName: string): boolean {\n return !!element.closest(`.${handleElementClassName}`)\n}\n"],"names":["isOnHandleElement","element","handleElementClassName","closest"],"mappings":"AAAA,OAAO,SAASA,kBAAkBC,OAAoB,EAAEC,sBAA8B;IACpF,OAAO,CAAC,CAACD,QAAQE,OAAO,CAAC,CAAC,CAAC,EAAED,uBAAuB,CAAC;AACvD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setHandlePosition.d.ts","sourceRoot":"","sources":["../../../../../src/lexical/plugins/handles/utils/setHandlePosition.ts"],"names":[],"mappings":"AAEA,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,WAAW,GAAG,IAAI,EAC9B,UAAU,EAAE,WAAW,EACvB,UAAU,EAAE,WAAW,EACvB,UAAU,GAAE,MAAU,QAuCvB"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/lexical/plugins/handles/utils/setHandlePosition.ts"],"sourcesContent":["import { doesLineHeightAffectElement } from './doesLineHeightAffectElement.js'\n\nexport function setHandlePosition(\n targetElem: HTMLElement | null,\n handleElem: HTMLElement,\n anchorElem: HTMLElement,\n leftOffset: number = 0, // SPACE\n) {\n if (!targetElem) {\n handleElem.style.opacity = '0'\n handleElem.style.transform = 'translate(-10000px, -10000px)'\n return\n }\n\n const targetRect = targetElem.getBoundingClientRect()\n const targetStyle = window.getComputedStyle(targetElem)\n const floatingElemRect = handleElem.getBoundingClientRect()\n const anchorElementRect = anchorElem.getBoundingClientRect()\n\n let top: number\n\n const shouldDisplayHandleInCenter = targetRect.height < 60\n\n if (!shouldDisplayHandleInCenter) {\n // No need to let line height affect the re-positioning of the floating element if line height has no\n // visual effect on the element. Otherwise, the floating element will be positioned incorrectly.\n const actualLineHeight = doesLineHeightAffectElement(targetElem)\n ? parseInt(targetStyle.lineHeight, 10)\n : 0\n\n top =\n targetRect.top + (actualLineHeight - floatingElemRect.height) / 2 - anchorElementRect.top - 1 // 1px inaccuracy\n } else {\n top =\n targetRect.top -\n floatingElemRect.height / 2 -\n anchorElementRect.top +\n targetRect.height / 2 -\n 1 // 1px inaccuracy\n }\n\n const left = leftOffset\n\n handleElem.style.opacity = '1'\n handleElem.style.transform = `translate(${left}px, ${top}px)`\n}\n"],"names":["doesLineHeightAffectElement","setHandlePosition","targetElem","handleElem","anchorElem","leftOffset","style","opacity","transform","targetRect","getBoundingClientRect","targetStyle","window","getComputedStyle","floatingElemRect","anchorElementRect","top","shouldDisplayHandleInCenter","height","actualLineHeight","parseInt","lineHeight","left"],"mappings":"AAAA,SAASA,2BAA2B,QAAQ,mCAAkC;AAE9E,OAAO,SAASC,kBACdC,UAA8B,EAC9BC,UAAuB,EACvBC,UAAuB,EACvBC,aAAqB,CAAC;IAEtB,IAAI,CAACH,YAAY;QACfC,WAAWG,KAAK,CAACC,OAAO,GAAG;QAC3BJ,WAAWG,KAAK,CAACE,SAAS,GAAG;QAC7B;IACF;IAEA,MAAMC,aAAaP,WAAWQ,qBAAqB;IACnD,MAAMC,cAAcC,OAAOC,gBAAgB,CAACX;IAC5C,MAAMY,mBAAmBX,WAAWO,qBAAqB;IACzD,MAAMK,oBAAoBX,WAAWM,qBAAqB;IAE1D,IAAIM;IAEJ,MAAMC,8BAA8BR,WAAWS,MAAM,GAAG;IAExD,IAAI,CAACD,6BAA6B;QAChC,qGAAqG;QACrG,gGAAgG;QAChG,MAAME,mBAAmBnB,4BAA4BE,cACjDkB,SAAST,YAAYU,UAAU,EAAE,MACjC;QAEJL,MACEP,WAAWO,GAAG,GAAG,AAACG,CAAAA,mBAAmBL,iBAAiBI,MAAM,AAAD,IAAK,IAAIH,kBAAkBC,GAAG,GAAG,EAAE,iBAAiB;;IACnH,OAAO;QACLA,MACEP,WAAWO,GAAG,GACdF,iBAAiBI,MAAM,GAAG,IAC1BH,kBAAkBC,GAAG,GACrBP,WAAWS,MAAM,GAAG,IACpB,EAAE,iBAAiB;;IACvB;IAEA,MAAMI,OAAOjB;IAEbF,WAAWG,KAAK,CAACC,OAAO,GAAG;IAC3BJ,WAAWG,KAAK,CAACE,SAAS,GAAG,CAAC,UAAU,EAAEc,KAAK,IAAI,EAAEN,IAAI,GAAG,CAAC;AAC/D"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditorTheme.d.ts","sourceRoot":"","sources":["../../../src/lexical/theme/EditorTheme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAEjD,OAAO,oBAAoB,CAAA;AAE3B,eAAO,MAAM,kBAAkB,EAAE,kBAuGhC,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lexical/theme/EditorTheme.tsx"],"sourcesContent":["import type { EditorThemeClasses } from 'lexical'\n\nimport './EditorTheme.scss'\n\nexport const LexicalEditorTheme: EditorThemeClasses = {\n block: 'LexicalEditorTheme__block',\n blockCursor: 'LexicalEditorTheme__blockCursor',\n characterLimit: 'LexicalEditorTheme__characterLimit',\n code: 'LexicalEditorTheme__code',\n codeHighlight: {\n atrule: 'LexicalEditorTheme__tokenAttr',\n attr: 'LexicalEditorTheme__tokenAttr',\n boolean: 'LexicalEditorTheme__tokenProperty',\n builtin: 'LexicalEditorTheme__tokenSelector',\n cdata: 'LexicalEditorTheme__tokenComment',\n char: 'LexicalEditorTheme__tokenSelector',\n class: 'LexicalEditorTheme__tokenFunction',\n 'class-name': 'LexicalEditorTheme__tokenFunction',\n comment: 'LexicalEditorTheme__tokenComment',\n constant: 'LexicalEditorTheme__tokenProperty',\n deleted: 'LexicalEditorTheme__tokenProperty',\n doctype: 'LexicalEditorTheme__tokenComment',\n entity: 'LexicalEditorTheme__tokenOperator',\n function: 'LexicalEditorTheme__tokenFunction',\n important: 'LexicalEditorTheme__tokenVariable',\n inserted: 'LexicalEditorTheme__tokenSelector',\n keyword: 'LexicalEditorTheme__tokenAttr',\n namespace: 'LexicalEditorTheme__tokenVariable',\n number: 'LexicalEditorTheme__tokenProperty',\n operator: 'LexicalEditorTheme__tokenOperator',\n prolog: 'LexicalEditorTheme__tokenComment',\n property: 'LexicalEditorTheme__tokenProperty',\n punctuation: 'LexicalEditorTheme__tokenPunctuation',\n regex: 'LexicalEditorTheme__tokenVariable',\n selector: 'LexicalEditorTheme__tokenSelector',\n string: 'LexicalEditorTheme__tokenSelector',\n symbol: 'LexicalEditorTheme__tokenProperty',\n tag: 'LexicalEditorTheme__tokenProperty',\n url: 'LexicalEditorTheme__tokenOperator',\n variable: 'LexicalEditorTheme__tokenVariable',\n },\n embedBlock: {\n base: 'LexicalEditorTheme__embedBlock',\n focus: 'LexicalEditorTheme__embedBlockFocus',\n },\n hashtag: 'LexicalEditorTheme__hashtag',\n heading: {\n h1: 'LexicalEditorTheme__h1',\n h2: 'LexicalEditorTheme__h2',\n h3: 'LexicalEditorTheme__h3',\n h4: 'LexicalEditorTheme__h4',\n h5: 'LexicalEditorTheme__h5',\n h6: 'LexicalEditorTheme__h6',\n },\n hr: 'LexicalEditorTheme__hr',\n indent: 'LexicalEditorTheme__indent',\n inlineImage: 'LexicalEditor__inline-image',\n link: 'LexicalEditorTheme__link',\n list: {\n checklist: 'LexicalEditorTheme__checklist',\n listitem: 'LexicalEditorTheme__listItem',\n listitemChecked: 'LexicalEditorTheme__listItemChecked',\n listitemUnchecked: 'LexicalEditorTheme__listItemUnchecked',\n nested: {\n listitem: 'LexicalEditorTheme__nestedListItem',\n },\n olDepth: [\n 'LexicalEditorTheme__ol1',\n 'LexicalEditorTheme__ol2',\n 'LexicalEditorTheme__ol3',\n 'LexicalEditorTheme__ol4',\n 'LexicalEditorTheme__ol5',\n ],\n ul: 'LexicalEditorTheme__ul',\n },\n ltr: 'LexicalEditorTheme__ltr',\n mark: 'LexicalEditorTheme__mark',\n markOverlap: 'LexicalEditorTheme__markOverlap',\n paragraph: 'LexicalEditorTheme__paragraph',\n quote: 'LexicalEditorTheme__quote',\n relationship: 'LexicalEditorTheme__relationship',\n rtl: 'LexicalEditorTheme__rtl',\n table: 'LexicalEditorTheme__table',\n tableAddColumns: 'LexicalEditorTheme__tableAddColumns',\n tableAddRows: 'LexicalEditorTheme__tableAddRows',\n tableCell: 'LexicalEditorTheme__tableCell',\n tableCellActionButton: 'LexicalEditorTheme__tableCellActionButton',\n tableCellActionButtonContainer: 'LexicalEditorTheme__tableCellActionButtonContainer',\n tableCellEditing: 'LexicalEditorTheme__tableCellEditing',\n tableCellHeader: 'LexicalEditorTheme__tableCellHeader',\n tableCellPrimarySelected: 'LexicalEditorTheme__tableCellPrimarySelected',\n tableCellResizer: 'LexicalEditorTheme__tableCellResizer',\n tableCellSelected: 'LexicalEditorTheme__tableCellSelected',\n tableCellSortedIndicator: 'LexicalEditorTheme__tableCellSortedIndicator',\n tableResizeRuler: 'LexicalEditorTheme__tableCellResizeRuler',\n tableSelected: 'LexicalEditorTheme__tableSelected',\n text: {\n bold: 'LexicalEditorTheme__textBold',\n code: 'LexicalEditorTheme__textCode',\n italic: 'LexicalEditorTheme__textItalic',\n strikethrough: 'LexicalEditorTheme__textStrikethrough',\n subscript: 'LexicalEditorTheme__textSubscript',\n superscript: 'LexicalEditorTheme__textSuperscript',\n underline: 'LexicalEditorTheme__textUnderline',\n underlineStrikethrough: 'LexicalEditorTheme__textUnderlineStrikethrough',\n },\n upload: 'editor-upload',\n}\n"],"names":["LexicalEditorTheme","block","blockCursor","characterLimit","code","codeHighlight","atrule","attr","boolean","builtin","cdata","char","class","comment","constant","deleted","doctype","entity","function","important","inserted","keyword","namespace","number","operator","prolog","property","punctuation","regex","selector","string","symbol","tag","url","variable","embedBlock","base","focus","hashtag","heading","h1","h2","h3","h4","h5","h6","hr","indent","inlineImage","link","list","checklist","listitem","listitemChecked","listitemUnchecked","nested","olDepth","ul","ltr","mark","markOverlap","paragraph","quote","relationship","rtl","table","tableAddColumns","tableAddRows","tableCell","tableCellActionButton","tableCellActionButtonContainer","tableCellEditing","tableCellHeader","tableCellPrimarySelected","tableCellResizer","tableCellSelected","tableCellSortedIndicator","tableResizeRuler","tableSelected","text","bold","italic","strikethrough","subscript","superscript","underline","underlineStrikethrough","upload"],"mappings":"AAIA,OAAO,MAAMA,qBAAyC;IACpDC,OAAO;IACPC,aAAa;IACbC,gBAAgB;IAChBC,MAAM;IACNC,eAAe;QACbC,QAAQ;QACRC,MAAM;QACNC,SAAS;QACTC,SAAS;QACTC,OAAO;QACPC,MAAM;QACNC,OAAO;QACP,cAAc;QACdC,SAAS;QACTC,UAAU;QACVC,SAAS;QACTC,SAAS;QACTC,QAAQ;QACRC,UAAU;QACVC,WAAW;QACXC,UAAU;QACVC,SAAS;QACTC,WAAW;QACXC,QAAQ;QACRC,UAAU;QACVC,QAAQ;QACRC,UAAU;QACVC,aAAa;QACbC,OAAO;QACPC,UAAU;QACVC,QAAQ;QACRC,QAAQ;QACRC,KAAK;QACLC,KAAK;QACLC,UAAU;IACZ;IACAC,YAAY;QACVC,MAAM;QACNC,OAAO;IACT;IACAC,SAAS;IACTC,SAAS;QACPC,IAAI;QACJC,IAAI;QACJC,IAAI;QACJC,IAAI;QACJC,IAAI;QACJC,IAAI;IACN;IACAC,IAAI;IACJC,QAAQ;IACRC,aAAa;IACbC,MAAM;IACNC,MAAM;QACJC,WAAW;QACXC,UAAU;QACVC,iBAAiB;QACjBC,mBAAmB;QACnBC,QAAQ;YACNH,UAAU;QACZ;QACAI,SAAS;YACP;YACA;YACA;YACA;YACA;SACD;QACDC,IAAI;IACN;IACAC,KAAK;IACLC,MAAM;IACNC,aAAa;IACbC,WAAW;IACXC,OAAO;IACPC,cAAc;IACdC,KAAK;IACLC,OAAO;IACPC,iBAAiB;IACjBC,cAAc;IACdC,WAAW;IACXC,uBAAuB;IACvBC,gCAAgC;IAChCC,kBAAkB;IAClBC,iBAAiB;IACjBC,0BAA0B;IAC1BC,kBAAkB;IAClBC,mBAAmB;IACnBC,0BAA0B;IAC1BC,kBAAkB;IAClBC,eAAe;IACfC,MAAM;QACJC,MAAM;QACN5E,MAAM;QACN6E,QAAQ;QACRC,eAAe;QACfC,WAAW;QACXC,aAAa;QACbC,WAAW;QACXC,wBAAwB;IAC1B;IACAC,QAAQ;AACV,EAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContentEditable.d.ts","sourceRoot":"","sources":["../../../src/lexical/ui/ContentEditable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAMhC,OAAO,wBAAwB,CAAA;AAE/B,wBAAgB,sBAAsB,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,GAAG,CAAC,OAAO,CAUzF"}
@@ -0,0 +1,17 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { ContentEditable } from '@lexical/react/LexicalContentEditable.js';
3
+ import { useTranslation } from '@payloadcms/ui';
4
+ import * as React from 'react';
5
+ export function LexicalContentEditable({ className }) {
6
+ const { t } = useTranslation();
7
+ return /*#__PURE__*/ _jsx(ContentEditable, {
8
+ "aria-placeholder": t('lexical:general:placeholder'),
9
+ className: className ?? 'ContentEditable__root',
10
+ placeholder: /*#__PURE__*/ _jsx("p", {
11
+ className: "editor-placeholder",
12
+ children: t('lexical:general:placeholder')
13
+ })
14
+ });
15
+ }
16
+
17
+ //# sourceMappingURL=ContentEditable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lexical/ui/ContentEditable.tsx"],"sourcesContent":["import type { JSX } from 'react'\n\nimport { ContentEditable } from '@lexical/react/LexicalContentEditable.js'\nimport { useTranslation } from '@payloadcms/ui'\nimport * as React from 'react'\n\nimport './ContentEditable.scss'\n\nexport function LexicalContentEditable({ className }: { className?: string }): JSX.Element {\n const { t } = useTranslation<{}, string>()\n\n return (\n <ContentEditable\n aria-placeholder={t('lexical:general:placeholder')}\n className={className ?? 'ContentEditable__root'}\n placeholder={<p className=\"editor-placeholder\">{t('lexical:general:placeholder')}</p>}\n />\n )\n}\n"],"names":["ContentEditable","useTranslation","React","LexicalContentEditable","className","t","aria-placeholder","placeholder","p"],"mappings":";AAEA,SAASA,eAAe,QAAQ,2CAA0C;AAC1E,SAASC,cAAc,QAAQ,iBAAgB;AAC/C,YAAYC,WAAW,QAAO;AAI9B,OAAO,SAASC,uBAAuB,EAAEC,SAAS,EAA0B;IAC1E,MAAM,EAAEC,CAAC,EAAE,GAAGJ;IAEd,qBACE,KAACD;QACCM,oBAAkBD,EAAE;QACpBD,WAAWA,aAAa;QACxBG,2BAAa,KAACC;YAAEJ,WAAU;sBAAsBC,EAAE;;;AAGxD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lexical/ui/icons/AI/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAyB1B,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/lexical/ui/icons/AI/index.tsx"],"sourcesContent":["import React from 'react'\n\nexport const AIIcon: React.FC = () => (\n <svg\n aria-hidden=\"true\"\n className=\"icon\"\n fill=\"none\"\n focusable=\"false\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n width=\"20\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g clipPath=\"url(#clip0_4393_10389)\">\n <path\n d=\"M6.25 4.75V7M5.125 5.875L7.375 5.875M6.25 13V14.125M6.25 14.125V15.25M6.25 14.125H5.125M6.25 14.125H7.375M10.75 5.5L11.2171 6.66785C11.7399 7.97466 12.7753 9.01014 14.0822 9.53286L15.25 10L13.686 10.782C12.6191 11.3154 11.7708 12.2032 11.2864 13.2932L10.75 14.5L10.2136 13.2932C9.72919 12.2032 8.8809 11.3154 7.814 10.782L6.25 10L7.41785 9.53286C8.72466 9.01014 9.76014 7.97466 10.2829 6.66785L10.75 5.5Z\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_4393_10389\">\n <rect fill=\"white\" height=\"12\" transform=\"translate(4 4)\" width=\"12\" />\n </clipPath>\n </defs>\n </svg>\n)\n"],"names":["React","AIIcon","svg","aria-hidden","className","fill","focusable","height","viewBox","width","xmlns","g","clipPath","path","d","stroke","strokeLinecap","strokeLinejoin","defs","id","rect","transform"],"mappings":";AAAA,OAAOA,WAAW,QAAO;AAEzB,OAAO,MAAMC,SAAmB,kBAC9B,MAACC;QACCC,eAAY;QACZC,WAAU;QACVC,MAAK;QACLC,WAAU;QACVC,QAAO;QACPC,SAAQ;QACRC,OAAM;QACNC,OAAM;;0BAEN,KAACC;gBAAEC,UAAS;0BACV,cAAA,KAACC;oBACCC,GAAE;oBACFC,QAAO;oBACPC,eAAc;oBACdC,gBAAe;;;0BAGnB,KAACC;0BACC,cAAA,KAACN;oBAASO,IAAG;8BACX,cAAA,KAACC;wBAAKf,MAAK;wBAAQE,QAAO;wBAAKc,WAAU;wBAAiBZ,OAAM;;;;;OAIvE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lexical/ui/icons/Add/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAK3B,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/lexical/ui/icons/Add/index.tsx"],"sourcesContent":["import React from 'react'\n\nexport const AddIcon: React.FC = () => (\n <svg fill=\"none\" height=\"20\" viewBox=\"0 0 20 20\" width=\"20\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5 10h10\" stroke=\"currentColor\" />\n <path d=\"M10 15V5\" stroke=\"currentColor\" />\n </svg>\n)\n"],"names":["React","AddIcon","svg","fill","height","viewBox","width","xmlns","path","d","stroke"],"mappings":";AAAA,OAAOA,WAAW,QAAO;AAEzB,OAAO,MAAMC,UAAoB,kBAC/B,MAACC;QAAIC,MAAK;QAAOC,QAAO;QAAKC,SAAQ;QAAYC,OAAM;QAAKC,OAAM;;0BAChE,KAACC;gBAAKC,GAAE;gBAAWC,QAAO;;0BAC1B,KAACF;gBAAKC,GAAE;gBAAWC,QAAO;;;OAE7B"}