@payloadcms/richtext-lexical 3.0.0-beta.78 → 3.0.0-beta.80

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 (1182) 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 +5 -5
  4. package/dist/cell/index.js.map +1 -1
  5. package/dist/exports/client/Field-BYB3WX7J.js +2 -0
  6. package/dist/exports/client/Field-BYB3WX7J.js.map +7 -0
  7. package/dist/exports/client/RelationshipComponent-GYUTPDNG.js +2 -0
  8. package/dist/exports/client/RelationshipComponent-GYUTPDNG.js.map +7 -0
  9. package/dist/exports/client/bundled.css +1 -1
  10. package/dist/exports/client/chunk-4EX7W4UX.js +2 -0
  11. package/dist/exports/client/chunk-4EX7W4UX.js.map +7 -0
  12. package/dist/exports/client/chunk-E4HH5PS6.js +2 -0
  13. package/dist/exports/client/chunk-E4HH5PS6.js.map +7 -0
  14. package/dist/exports/client/chunk-LTR7V74A.js +2 -0
  15. package/dist/exports/client/chunk-LTR7V74A.js.map +7 -0
  16. package/dist/exports/client/chunk-SQHN3N6E.js +2 -0
  17. package/dist/exports/client/chunk-SQHN3N6E.js.map +7 -0
  18. package/dist/exports/client/chunk-VMCQSR3T.js +3 -0
  19. package/dist/exports/client/chunk-VMCQSR3T.js.map +7 -0
  20. package/dist/exports/client/component-6C5JERGA.js +2 -0
  21. package/dist/exports/client/component-6C5JERGA.js.map +7 -0
  22. package/dist/exports/client/component-GUWIGB77.js +2 -0
  23. package/dist/exports/client/component-GUWIGB77.js.map +7 -0
  24. package/dist/exports/client/component-UQ2BKD5X.js +2 -0
  25. package/dist/exports/client/component-UQ2BKD5X.js.map +7 -0
  26. package/dist/exports/client/componentInline-C2XIK5VZ.js +2 -0
  27. package/dist/exports/client/componentInline-C2XIK5VZ.js.map +7 -0
  28. package/dist/exports/client/index.d.ts +21 -22
  29. package/dist/exports/client/index.d.ts.map +1 -1
  30. package/dist/exports/client/index.js +12 -12
  31. package/dist/exports/client/index.js.map +4 -4
  32. package/dist/exports/server/migrate.d.ts +16 -0
  33. package/dist/exports/server/migrate.d.ts.map +1 -0
  34. package/dist/exports/server/migrate.js +17 -0
  35. package/dist/exports/server/migrate.js.map +1 -0
  36. package/dist/features/align/client/index.d.ts +5 -0
  37. package/dist/features/align/client/index.d.ts.map +1 -0
  38. package/dist/features/align/client/index.js +146 -0
  39. package/dist/features/align/client/index.js.map +1 -0
  40. package/dist/features/align/client/toolbarAlignGroup.d.ts +3 -0
  41. package/dist/features/align/client/toolbarAlignGroup.d.ts.map +1 -0
  42. package/dist/features/align/client/toolbarAlignGroup.js +12 -0
  43. package/dist/features/align/client/toolbarAlignGroup.js.map +1 -0
  44. package/dist/features/align/server/i18n.d.ts.map +1 -0
  45. package/dist/features/align/server/i18n.js.map +1 -0
  46. package/dist/features/align/server/index.d.ts +2 -0
  47. package/dist/features/align/server/index.d.ts.map +1 -0
  48. package/dist/features/align/server/index.js +11 -0
  49. package/dist/features/align/server/index.js.map +1 -0
  50. package/dist/features/blockquote/client/index.d.ts +5 -0
  51. package/dist/features/blockquote/client/index.d.ts.map +1 -0
  52. package/dist/features/blockquote/client/index.js +77 -0
  53. package/dist/features/blockquote/client/index.js.map +1 -0
  54. package/dist/features/blockquote/server/i18n.d.ts.map +1 -0
  55. package/dist/features/blockquote/server/i18n.js.map +1 -0
  56. package/dist/features/blockquote/server/index.d.ts +7 -0
  57. package/dist/features/blockquote/server/index.d.ts.map +1 -0
  58. package/dist/features/blockquote/server/index.js +46 -0
  59. package/dist/features/blockquote/server/index.js.map +1 -0
  60. package/dist/features/blocks/client/component/BlockContent.d.ts +22 -0
  61. package/dist/features/blocks/client/component/BlockContent.d.ts.map +1 -0
  62. package/dist/features/blocks/client/component/BlockContent.js +198 -0
  63. package/dist/features/blocks/client/component/BlockContent.js.map +1 -0
  64. package/dist/features/blocks/client/component/FormSavePlugin.d.ts.map +1 -0
  65. package/dist/features/blocks/client/component/FormSavePlugin.js.map +1 -0
  66. package/dist/features/blocks/client/component/index.d.ts +11 -0
  67. package/dist/features/blocks/client/component/index.d.ts.map +1 -0
  68. package/dist/features/blocks/client/component/index.js +157 -0
  69. package/dist/features/blocks/client/component/index.js.map +1 -0
  70. package/dist/features/blocks/client/component/removeEmptyArrayValues.d.ts.map +1 -0
  71. package/dist/features/blocks/client/component/removeEmptyArrayValues.js.map +1 -0
  72. package/dist/features/blocks/client/componentInline/index.d.ts.map +1 -0
  73. package/dist/features/blocks/client/componentInline/index.js +138 -0
  74. package/dist/features/blocks/client/componentInline/index.js.map +1 -0
  75. package/dist/features/blocks/client/index.d.ts +9 -0
  76. package/dist/features/blocks/client/index.d.ts.map +1 -0
  77. package/dist/features/blocks/client/index.js +152 -0
  78. package/dist/features/blocks/client/index.js.map +1 -0
  79. package/dist/features/blocks/client/nodes/BlocksNode.d.ts +14 -0
  80. package/dist/features/blocks/client/nodes/BlocksNode.d.ts.map +1 -0
  81. package/dist/features/blocks/client/nodes/BlocksNode.js +52 -0
  82. package/dist/features/blocks/client/nodes/BlocksNode.js.map +1 -0
  83. package/dist/features/blocks/client/nodes/InlineBlocksNode.d.ts +25 -0
  84. package/dist/features/blocks/client/nodes/InlineBlocksNode.d.ts.map +1 -0
  85. package/dist/features/blocks/client/nodes/InlineBlocksNode.js +41 -0
  86. package/dist/features/blocks/client/nodes/InlineBlocksNode.js.map +1 -0
  87. package/dist/features/blocks/client/plugin/commands.d.ts.map +1 -0
  88. package/dist/features/blocks/client/plugin/commands.js.map +1 -0
  89. package/dist/features/blocks/client/plugin/index.d.ts +6 -0
  90. package/dist/features/blocks/client/plugin/index.d.ts.map +1 -0
  91. package/dist/features/blocks/client/plugin/index.js +129 -0
  92. package/dist/features/blocks/client/plugin/index.js.map +1 -0
  93. package/dist/features/blocks/server/graphQLPopulationPromise.d.ts +6 -0
  94. package/dist/features/blocks/server/graphQLPopulationPromise.d.ts.map +1 -0
  95. package/dist/features/blocks/server/graphQLPopulationPromise.js +31 -0
  96. package/dist/features/blocks/server/graphQLPopulationPromise.js.map +1 -0
  97. package/dist/features/blocks/server/i18n.d.ts.map +1 -0
  98. package/dist/features/blocks/server/i18n.js.map +1 -0
  99. package/dist/features/blocks/server/index.d.ts +8 -0
  100. package/dist/features/blocks/server/index.d.ts.map +1 -0
  101. package/dist/features/blocks/server/index.js +162 -0
  102. package/dist/features/blocks/server/index.js.map +1 -0
  103. package/dist/features/blocks/server/nodes/BlocksNode.d.ts +38 -0
  104. package/dist/features/blocks/server/nodes/BlocksNode.d.ts.map +1 -0
  105. package/dist/features/blocks/server/nodes/BlocksNode.js +84 -0
  106. package/dist/features/blocks/server/nodes/BlocksNode.js.map +1 -0
  107. package/dist/features/blocks/server/nodes/InlineBlocksNode.d.ts +40 -0
  108. package/dist/features/blocks/server/nodes/InlineBlocksNode.d.ts.map +1 -0
  109. package/dist/features/blocks/server/nodes/InlineBlocksNode.js +86 -0
  110. package/dist/features/blocks/server/nodes/InlineBlocksNode.js.map +1 -0
  111. package/dist/features/blocks/server/validate.d.ts +6 -0
  112. package/dist/features/blocks/server/validate.d.ts.map +1 -0
  113. package/dist/features/blocks/server/validate.js.map +1 -0
  114. package/dist/features/converters/html/field/index.js.map +1 -1
  115. package/dist/features/converters/html/index.d.ts +8 -0
  116. package/dist/features/converters/html/index.d.ts.map +1 -0
  117. package/dist/features/converters/html/index.js +8 -0
  118. package/dist/features/converters/html/index.js.map +1 -0
  119. package/dist/features/createClientComponent.d.ts +3 -3
  120. package/dist/features/createClientComponent.d.ts.map +1 -1
  121. package/dist/features/createClientComponent.js.map +1 -1
  122. package/dist/features/createFeaturePropComponent.js +1 -1
  123. package/dist/features/createFeaturePropComponent.js.map +1 -1
  124. package/dist/features/debug/testRecorder/client/index.d.ts +5 -0
  125. package/dist/features/debug/testRecorder/client/index.d.ts.map +1 -0
  126. package/dist/features/debug/testRecorder/client/index.js +13 -0
  127. package/dist/features/debug/testRecorder/client/index.js.map +1 -0
  128. package/dist/features/debug/testRecorder/client/plugin/index.d.ts +5 -0
  129. package/dist/features/debug/testRecorder/client/plugin/index.d.ts.map +1 -0
  130. package/dist/features/debug/testRecorder/client/plugin/index.js +471 -0
  131. package/dist/features/debug/testRecorder/client/plugin/index.js.map +1 -0
  132. package/dist/features/debug/testRecorder/server/index.d.ts +2 -0
  133. package/dist/features/debug/testRecorder/server/index.d.ts.map +1 -0
  134. package/dist/features/debug/testRecorder/server/index.js +9 -0
  135. package/dist/features/debug/testRecorder/server/index.js.map +1 -0
  136. package/dist/features/debug/treeView/client/index.d.ts +5 -0
  137. package/dist/features/debug/treeView/client/index.d.ts.map +1 -0
  138. package/dist/features/debug/treeView/client/index.js +13 -0
  139. package/dist/features/debug/treeView/client/index.js.map +1 -0
  140. package/dist/features/debug/treeView/client/plugin/index.d.ts +4 -0
  141. package/dist/features/debug/treeView/client/plugin/index.d.ts.map +1 -0
  142. package/dist/features/debug/treeView/client/plugin/index.js.map +1 -0
  143. package/dist/features/debug/treeView/server/index.d.ts +2 -0
  144. package/dist/features/debug/treeView/server/index.d.ts.map +1 -0
  145. package/dist/features/debug/treeView/server/index.js +9 -0
  146. package/dist/features/debug/treeView/server/index.js.map +1 -0
  147. package/dist/features/experimental_table/client/index.d.ts +2 -0
  148. package/dist/features/experimental_table/client/index.d.ts.map +1 -0
  149. package/dist/features/experimental_table/client/index.js +71 -0
  150. package/dist/features/experimental_table/client/index.js.map +1 -0
  151. package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.d.ts +4 -0
  152. package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.d.ts.map +1 -0
  153. package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.js +605 -0
  154. package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.js.map +1 -0
  155. package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.d.ts +3 -0
  156. package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.d.ts.map +1 -0
  157. package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.js +327 -0
  158. package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.js.map +1 -0
  159. package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.d.ts +12 -0
  160. package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.d.ts.map +1 -0
  161. package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.js +181 -0
  162. package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.js.map +1 -0
  163. package/dist/features/experimental_table/client/plugins/TablePlugin/index.d.ts +24 -0
  164. package/dist/features/experimental_table/client/plugins/TablePlugin/index.d.ts.map +1 -0
  165. package/dist/features/experimental_table/client/plugins/TablePlugin/index.js +103 -0
  166. package/dist/features/experimental_table/client/plugins/TablePlugin/index.js.map +1 -0
  167. package/dist/features/experimental_table/client/utils/debounce.d.ts.map +1 -0
  168. package/dist/features/experimental_table/client/utils/debounce.js.map +1 -0
  169. package/dist/features/experimental_table/client/utils/useDebounce.d.ts.map +1 -0
  170. package/dist/features/experimental_table/client/utils/useDebounce.js.map +1 -0
  171. package/dist/features/experimental_table/plugins/TableHoverActionsPlugin/index.js +1 -1
  172. package/dist/features/experimental_table/plugins/TableHoverActionsPlugin/index.js.map +1 -1
  173. package/dist/features/experimental_table/server/index.d.ts +13 -0
  174. package/dist/features/experimental_table/server/index.d.ts.map +1 -0
  175. package/dist/features/experimental_table/server/index.js +123 -0
  176. package/dist/features/experimental_table/server/index.js.map +1 -0
  177. package/dist/features/format/bold/feature.server.d.ts.map +1 -1
  178. package/dist/features/format/bold/feature.server.js +1 -3
  179. package/dist/features/format/bold/feature.server.js.map +1 -1
  180. package/dist/features/format/inlineCode/feature.server.d.ts.map +1 -1
  181. package/dist/features/format/inlineCode/feature.server.js +1 -3
  182. package/dist/features/format/inlineCode/feature.server.js.map +1 -1
  183. package/dist/features/format/italic/feature.server.d.ts.map +1 -1
  184. package/dist/features/format/italic/feature.server.js +1 -3
  185. package/dist/features/format/italic/feature.server.js.map +1 -1
  186. package/dist/features/format/strikethrough/feature.server.d.ts.map +1 -1
  187. package/dist/features/format/strikethrough/feature.server.js +1 -3
  188. package/dist/features/format/strikethrough/feature.server.js.map +1 -1
  189. package/dist/features/format/subscript/feature.server.d.ts.map +1 -1
  190. package/dist/features/format/subscript/feature.server.js +1 -3
  191. package/dist/features/format/subscript/feature.server.js.map +1 -1
  192. package/dist/features/format/superscript/feature.server.d.ts.map +1 -1
  193. package/dist/features/format/superscript/feature.server.js +1 -3
  194. package/dist/features/format/superscript/feature.server.js.map +1 -1
  195. package/dist/features/format/underline/feature.server.d.ts.map +1 -1
  196. package/dist/features/format/underline/feature.server.js +1 -3
  197. package/dist/features/format/underline/feature.server.js.map +1 -1
  198. package/dist/features/heading/client/index.d.ts +6 -0
  199. package/dist/features/heading/client/index.d.ts.map +1 -0
  200. package/dist/features/heading/client/index.js +112 -0
  201. package/dist/features/heading/client/index.js.map +1 -0
  202. package/dist/features/heading/server/i18n.d.ts.map +1 -0
  203. package/dist/features/heading/server/i18n.js.map +1 -0
  204. package/dist/features/heading/server/index.d.ts +10 -0
  205. package/dist/features/heading/server/index.d.ts.map +1 -0
  206. package/dist/features/heading/server/index.js +60 -0
  207. package/dist/features/heading/server/index.js.map +1 -0
  208. package/dist/features/horizontalRule/client/component/index.d.ts.map +1 -0
  209. package/dist/features/horizontalRule/client/component/index.js.map +1 -0
  210. package/dist/features/horizontalRule/client/index.d.ts +5 -0
  211. package/dist/features/horizontalRule/client/index.d.ts.map +1 -0
  212. package/dist/features/horizontalRule/client/index.js +71 -0
  213. package/dist/features/horizontalRule/client/index.js.map +1 -0
  214. package/dist/features/horizontalRule/client/markdownTransformer.d.ts.map +1 -0
  215. package/dist/features/horizontalRule/client/markdownTransformer.js.map +1 -0
  216. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.d.ts +20 -0
  217. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.d.ts.map +1 -0
  218. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.js +43 -0
  219. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.js.map +1 -0
  220. package/dist/features/horizontalRule/client/plugin/index.d.ts +7 -0
  221. package/dist/features/horizontalRule/client/plugin/index.d.ts.map +1 -0
  222. package/dist/features/horizontalRule/client/plugin/index.js +31 -0
  223. package/dist/features/horizontalRule/client/plugin/index.js.map +1 -0
  224. package/dist/features/horizontalRule/server/i18n.d.ts.map +1 -0
  225. package/dist/features/horizontalRule/server/i18n.js.map +1 -0
  226. package/dist/features/horizontalRule/server/index.d.ts +2 -0
  227. package/dist/features/horizontalRule/server/index.d.ts.map +1 -0
  228. package/dist/features/horizontalRule/server/index.js +32 -0
  229. package/dist/features/horizontalRule/server/index.js.map +1 -0
  230. package/dist/features/horizontalRule/server/markdownTransformer.d.ts +3 -0
  231. package/dist/features/horizontalRule/server/markdownTransformer.d.ts.map +1 -0
  232. package/dist/features/horizontalRule/server/markdownTransformer.js +23 -0
  233. package/dist/features/horizontalRule/server/markdownTransformer.js.map +1 -0
  234. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.d.ts +53 -0
  235. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.d.ts.map +1 -0
  236. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.js +83 -0
  237. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.js.map +1 -0
  238. package/dist/features/indent/client/index.d.ts +5 -0
  239. package/dist/features/indent/client/index.d.ts.map +1 -0
  240. package/dist/features/indent/client/index.js +56 -0
  241. package/dist/features/indent/client/index.js.map +1 -0
  242. package/dist/features/indent/client/toolbarIndentGroup.d.ts +3 -0
  243. package/dist/features/indent/client/toolbarIndentGroup.d.ts.map +1 -0
  244. package/dist/features/indent/client/toolbarIndentGroup.js.map +1 -0
  245. package/dist/features/indent/server/i18n.d.ts.map +1 -0
  246. package/dist/features/indent/server/i18n.js.map +1 -0
  247. package/dist/features/indent/server/index.d.ts +2 -0
  248. package/dist/features/indent/server/index.d.ts.map +1 -0
  249. package/dist/features/indent/server/index.js +11 -0
  250. package/dist/features/indent/server/index.js.map +1 -0
  251. package/dist/features/link/client/index.d.ts +16 -0
  252. package/dist/features/link/client/index.d.ts.map +1 -0
  253. package/dist/features/link/client/index.js +101 -0
  254. package/dist/features/link/client/index.js.map +1 -0
  255. package/dist/features/link/client/plugins/autoLink/index.d.ts +20 -0
  256. package/dist/features/link/client/plugins/autoLink/index.d.ts.map +1 -0
  257. package/dist/features/link/client/plugins/autoLink/index.js +335 -0
  258. package/dist/features/link/client/plugins/autoLink/index.js.map +1 -0
  259. package/dist/features/link/client/plugins/clickableLink/index.d.ts +4 -0
  260. package/dist/features/link/client/plugins/clickableLink/index.d.ts.map +1 -0
  261. package/dist/features/link/client/plugins/clickableLink/index.js.map +1 -0
  262. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +1 -0
  263. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/commands.js.map +1 -0
  264. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -0
  265. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.js +299 -0
  266. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.js.map +1 -0
  267. package/dist/features/link/client/plugins/floatingLinkEditor/index.d.ts +5 -0
  268. package/dist/features/link/client/plugins/floatingLinkEditor/index.d.ts.map +1 -0
  269. package/dist/features/link/client/plugins/floatingLinkEditor/index.js.map +1 -0
  270. package/dist/features/link/client/plugins/floatingLinkEditor/types.d.ts +15 -0
  271. package/dist/features/link/client/plugins/floatingLinkEditor/types.d.ts.map +1 -0
  272. package/dist/features/link/client/plugins/floatingLinkEditor/types.js.map +1 -0
  273. package/dist/features/link/client/plugins/link/index.d.ts +4 -0
  274. package/dist/features/link/client/plugins/link/index.d.ts.map +1 -0
  275. package/dist/features/link/client/plugins/link/index.js +51 -0
  276. package/dist/features/link/client/plugins/link/index.js.map +1 -0
  277. package/dist/features/link/nodes/LinkNode.d.ts +1 -1
  278. package/dist/features/link/nodes/LinkNode.d.ts.map +1 -1
  279. package/dist/features/link/nodes/LinkNode.js.map +1 -1
  280. package/dist/features/link/server/baseFields.d.ts.map +1 -0
  281. package/dist/features/link/server/baseFields.js.map +1 -0
  282. package/dist/features/link/server/graphQLPopulationPromise.d.ts +5 -0
  283. package/dist/features/link/server/graphQLPopulationPromise.d.ts.map +1 -0
  284. package/dist/features/link/server/graphQLPopulationPromise.js +31 -0
  285. package/dist/features/link/server/graphQLPopulationPromise.js.map +1 -0
  286. package/dist/features/link/server/i18n.d.ts.map +1 -0
  287. package/dist/features/link/server/i18n.js.map +1 -0
  288. package/dist/features/link/server/index.d.ts +35 -0
  289. package/dist/features/link/server/index.d.ts.map +1 -0
  290. package/dist/features/link/server/index.js +132 -0
  291. package/dist/features/link/server/index.js.map +1 -0
  292. package/dist/features/link/server/transformExtraFields.d.ts +9 -0
  293. package/dist/features/link/server/transformExtraFields.d.ts.map +1 -0
  294. package/dist/features/link/server/transformExtraFields.js +20 -0
  295. package/dist/features/link/server/transformExtraFields.js.map +1 -0
  296. package/dist/features/link/server/validate.d.ts +6 -0
  297. package/dist/features/link/server/validate.d.ts.map +1 -0
  298. package/dist/features/link/server/validate.js.map +1 -0
  299. package/dist/features/lists/checklist/client/index.d.ts +5 -0
  300. package/dist/features/lists/checklist/client/index.d.ts.map +1 -0
  301. package/dist/features/lists/checklist/client/index.js +100 -0
  302. package/dist/features/lists/checklist/client/index.js.map +1 -0
  303. package/dist/features/lists/checklist/client/plugin/index.d.ts +3 -0
  304. package/dist/features/lists/checklist/client/plugin/index.d.ts.map +1 -0
  305. package/dist/features/lists/checklist/client/plugin/index.js.map +1 -0
  306. package/dist/features/lists/checklist/server/i18n.d.ts.map +1 -0
  307. package/dist/features/lists/checklist/server/i18n.js.map +1 -0
  308. package/dist/features/lists/checklist/server/index.d.ts +2 -0
  309. package/dist/features/lists/checklist/server/index.d.ts.map +1 -0
  310. package/dist/features/lists/checklist/server/index.js +34 -0
  311. package/dist/features/lists/checklist/server/index.js.map +1 -0
  312. package/dist/features/lists/orderedList/client/index.d.ts +5 -0
  313. package/dist/features/lists/orderedList/client/index.d.ts.map +1 -0
  314. package/dist/features/lists/orderedList/client/index.js +90 -0
  315. package/dist/features/lists/orderedList/client/index.js.map +1 -0
  316. package/dist/features/lists/orderedList/server/i18n.d.ts.map +1 -0
  317. package/dist/features/lists/orderedList/server/i18n.js.map +1 -0
  318. package/dist/features/lists/orderedList/server/index.d.ts +2 -0
  319. package/dist/features/lists/orderedList/server/index.d.ts.map +1 -0
  320. package/dist/features/lists/orderedList/server/index.js +34 -0
  321. package/dist/features/lists/orderedList/server/index.js.map +1 -0
  322. package/dist/features/lists/unorderedList/client/index.d.ts +5 -0
  323. package/dist/features/lists/unorderedList/client/index.d.ts.map +1 -0
  324. package/dist/features/lists/unorderedList/client/index.js +88 -0
  325. package/dist/features/lists/unorderedList/client/index.js.map +1 -0
  326. package/dist/features/lists/unorderedList/server/i18n.d.ts.map +1 -0
  327. package/dist/features/lists/unorderedList/server/i18n.js.map +1 -0
  328. package/dist/features/lists/unorderedList/server/index.d.ts +2 -0
  329. package/dist/features/lists/unorderedList/server/index.d.ts.map +1 -0
  330. package/dist/features/lists/unorderedList/server/index.js +32 -0
  331. package/dist/features/lists/unorderedList/server/index.js.map +1 -0
  332. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +1 -1
  333. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +1 -1
  334. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +4 -3
  335. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +1 -1
  336. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +1 -1
  337. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +1 -1
  338. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +4 -3
  339. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +1 -1
  340. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +1 -1
  341. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +1 -1
  342. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +4 -3
  343. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +1 -1
  344. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +1 -1
  345. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +1 -1
  346. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +4 -3
  347. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +1 -1
  348. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +1 -1
  349. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +1 -1
  350. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +4 -3
  351. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +1 -1
  352. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +1 -1
  353. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +1 -1
  354. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +4 -3
  355. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +1 -1
  356. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +1 -1
  357. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +1 -1
  358. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +1 -1
  359. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +1 -1
  360. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +2 -2
  361. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +1 -1
  362. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js +7 -7
  363. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +1 -1
  364. package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts +5 -3
  365. package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +1 -1
  366. package/dist/features/migrations/lexicalPluginToLexical/converter/index.js +15 -9
  367. package/dist/features/migrations/lexicalPluginToLexical/converter/index.js.map +1 -1
  368. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts +1 -9
  369. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +1 -1
  370. package/dist/features/migrations/lexicalPluginToLexical/converter/types.js.map +1 -1
  371. package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +1 -1
  372. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js +1 -16
  373. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js.map +1 -1
  374. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts +4 -3
  375. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +1 -1
  376. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js +16 -11
  377. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js.map +1 -1
  378. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +1 -1
  379. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +1 -1
  380. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js +1 -1
  381. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +1 -1
  382. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts +1 -1
  383. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +1 -1
  384. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js +1 -1
  385. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +1 -1
  386. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts +1 -1
  387. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +1 -1
  388. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js +1 -1
  389. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +1 -1
  390. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts +1 -1
  391. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +1 -1
  392. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js +1 -1
  393. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js.map +1 -1
  394. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +1 -1
  395. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +1 -1
  396. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js +1 -1
  397. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +1 -1
  398. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +1 -1
  399. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +1 -1
  400. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js +1 -1
  401. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +1 -1
  402. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +1 -1
  403. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +1 -1
  404. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js +1 -1
  405. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +1 -1
  406. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +1 -1
  407. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +1 -1
  408. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js +1 -1
  409. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +1 -1
  410. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +1 -1
  411. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +1 -1
  412. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js +1 -1
  413. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +1 -1
  414. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts +1 -1
  415. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +1 -1
  416. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js +1 -1
  417. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +1 -1
  418. package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts +2 -2
  419. package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +1 -1
  420. package/dist/features/migrations/slateToLexical/converter/defaultConverters.js +10 -10
  421. package/dist/features/migrations/slateToLexical/converter/defaultConverters.js.map +1 -1
  422. package/dist/features/migrations/slateToLexical/converter/types.d.ts +0 -9
  423. package/dist/features/migrations/slateToLexical/converter/types.d.ts.map +1 -1
  424. package/dist/features/migrations/slateToLexical/converter/types.js.map +1 -1
  425. package/dist/features/migrations/slateToLexical/feature.client.d.ts.map +1 -1
  426. package/dist/features/migrations/slateToLexical/feature.client.js +0 -15
  427. package/dist/features/migrations/slateToLexical/feature.client.js.map +1 -1
  428. package/dist/features/migrations/slateToLexical/feature.server.d.ts +5 -5
  429. package/dist/features/migrations/slateToLexical/feature.server.d.ts.map +1 -1
  430. package/dist/features/migrations/slateToLexical/feature.server.js +15 -11
  431. package/dist/features/migrations/slateToLexical/feature.server.js.map +1 -1
  432. package/dist/features/paragraph/client/index.d.ts +5 -0
  433. package/dist/features/paragraph/client/index.d.ts.map +1 -0
  434. package/dist/features/paragraph/client/index.js +71 -0
  435. package/dist/features/paragraph/client/index.js.map +1 -0
  436. package/dist/features/paragraph/server/i18n.d.ts.map +1 -0
  437. package/dist/features/paragraph/server/i18n.js.map +1 -0
  438. package/dist/features/paragraph/server/index.d.ts +2 -0
  439. package/dist/features/paragraph/server/index.d.ts.map +1 -0
  440. package/dist/features/paragraph/server/index.js +12 -0
  441. package/dist/features/paragraph/server/index.js.map +1 -0
  442. package/dist/features/relationship/client/components/RelationshipComponent.d.ts +13 -0
  443. package/dist/features/relationship/client/components/RelationshipComponent.d.ts.map +1 -0
  444. package/dist/features/relationship/client/components/RelationshipComponent.js +171 -0
  445. package/dist/features/relationship/client/components/RelationshipComponent.js.map +1 -0
  446. package/dist/features/relationship/client/drawer/commands.d.ts.map +1 -0
  447. package/dist/features/relationship/client/drawer/commands.js.map +1 -0
  448. package/dist/features/relationship/client/drawer/index.d.ts.map +1 -0
  449. package/dist/features/relationship/client/drawer/index.js.map +1 -0
  450. package/dist/features/relationship/client/index.d.ts +18 -0
  451. package/dist/features/relationship/client/index.d.ts.map +1 -0
  452. package/dist/features/relationship/client/index.js +72 -0
  453. package/dist/features/relationship/client/index.js.map +1 -0
  454. package/dist/features/relationship/client/nodes/RelationshipNode.d.ts +15 -0
  455. package/dist/features/relationship/client/nodes/RelationshipNode.d.ts.map +1 -0
  456. package/dist/features/relationship/client/nodes/RelationshipNode.js +74 -0
  457. package/dist/features/relationship/client/nodes/RelationshipNode.js.map +1 -0
  458. package/dist/features/relationship/client/plugins/index.d.ts +7 -0
  459. package/dist/features/relationship/client/plugins/index.d.ts.map +1 -0
  460. package/dist/features/relationship/client/plugins/index.js +50 -0
  461. package/dist/features/relationship/client/plugins/index.js.map +1 -0
  462. package/dist/features/relationship/client/utils/EnabledRelationshipsCondition.d.ts.map +1 -0
  463. package/dist/features/relationship/client/utils/EnabledRelationshipsCondition.js +33 -0
  464. package/dist/features/relationship/client/utils/EnabledRelationshipsCondition.js.map +1 -0
  465. package/dist/features/relationship/server/graphQLPopulationPromise.d.ts +5 -0
  466. package/dist/features/relationship/server/graphQLPopulationPromise.d.ts.map +1 -0
  467. package/dist/features/relationship/server/graphQLPopulationPromise.js +29 -0
  468. package/dist/features/relationship/server/graphQLPopulationPromise.js.map +1 -0
  469. package/dist/features/relationship/server/i18n.d.ts.map +1 -0
  470. package/dist/features/relationship/server/i18n.js.map +1 -0
  471. package/dist/features/relationship/server/index.d.ts +27 -0
  472. package/dist/features/relationship/server/index.d.ts.map +1 -0
  473. package/dist/features/relationship/server/index.js +53 -0
  474. package/dist/features/relationship/server/index.js.map +1 -0
  475. package/dist/features/relationship/server/nodes/RelationshipNode.d.ts +35 -0
  476. package/dist/features/relationship/server/nodes/RelationshipNode.d.ts.map +1 -0
  477. package/dist/features/relationship/server/nodes/RelationshipNode.js +101 -0
  478. package/dist/features/relationship/server/nodes/RelationshipNode.js.map +1 -0
  479. package/dist/features/toolbars/fixed/client/Toolbar/index.d.ts +5 -0
  480. package/dist/features/toolbars/fixed/client/Toolbar/index.d.ts.map +1 -0
  481. package/dist/features/toolbars/fixed/client/Toolbar/index.js +209 -0
  482. package/dist/features/toolbars/fixed/client/Toolbar/index.js.map +1 -0
  483. package/dist/features/toolbars/fixed/client/index.d.ts +6 -0
  484. package/dist/features/toolbars/fixed/client/index.d.ts.map +1 -0
  485. package/dist/features/toolbars/fixed/client/index.js +13 -0
  486. package/dist/features/toolbars/fixed/client/index.js.map +1 -0
  487. package/dist/features/toolbars/fixed/server/index.d.ts +18 -0
  488. package/dist/features/toolbars/fixed/server/index.d.ts.map +1 -0
  489. package/dist/features/toolbars/fixed/server/index.js +17 -0
  490. package/dist/features/toolbars/fixed/server/index.js.map +1 -0
  491. package/dist/features/toolbars/inline/client/Toolbar/index.d.ts +4 -0
  492. package/dist/features/toolbars/inline/client/Toolbar/index.d.ts.map +1 -0
  493. package/dist/features/toolbars/inline/client/Toolbar/index.js +319 -0
  494. package/dist/features/toolbars/inline/client/Toolbar/index.js.map +1 -0
  495. package/dist/features/toolbars/inline/client/index.d.ts +5 -0
  496. package/dist/features/toolbars/inline/client/index.d.ts.map +1 -0
  497. package/dist/features/toolbars/inline/client/index.js +13 -0
  498. package/dist/features/toolbars/inline/client/index.js.map +1 -0
  499. package/dist/features/toolbars/inline/server/index.d.ts +2 -0
  500. package/dist/features/toolbars/inline/server/index.d.ts.map +1 -0
  501. package/dist/features/toolbars/inline/server/index.js +9 -0
  502. package/dist/features/toolbars/inline/server/index.js.map +1 -0
  503. package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +1 -1
  504. package/dist/features/toolbars/shared/ToolbarDropdown/index.js +3 -1
  505. package/dist/features/toolbars/shared/ToolbarDropdown/index.js.map +1 -1
  506. package/dist/features/toolbars/types.d.ts +2 -1
  507. package/dist/features/toolbars/types.d.ts.map +1 -1
  508. package/dist/features/toolbars/types.js.map +1 -1
  509. package/dist/features/typesServer.d.ts +17 -13
  510. package/dist/features/typesServer.d.ts.map +1 -1
  511. package/dist/features/typesServer.js.map +1 -1
  512. package/dist/features/upload/client/component/index.d.ts +9 -0
  513. package/dist/features/upload/client/component/index.d.ts.map +1 -0
  514. package/dist/features/upload/client/component/index.js +248 -0
  515. package/dist/features/upload/client/component/index.js.map +1 -0
  516. package/dist/features/upload/client/drawer/commands.d.ts.map +1 -0
  517. package/dist/features/upload/client/drawer/commands.js.map +1 -0
  518. package/dist/features/upload/client/drawer/index.d.ts.map +1 -0
  519. package/dist/features/upload/client/drawer/index.js +77 -0
  520. package/dist/features/upload/client/drawer/index.js.map +1 -0
  521. package/dist/features/upload/client/feature.client.d.ts.map +1 -0
  522. package/dist/features/upload/client/feature.client.js +74 -0
  523. package/dist/features/upload/client/feature.client.js.map +1 -0
  524. package/dist/features/upload/client/nodes/UploadNode.d.ts +22 -0
  525. package/dist/features/upload/client/nodes/UploadNode.d.ts.map +1 -0
  526. package/dist/features/upload/client/nodes/UploadNode.js +91 -0
  527. package/dist/features/upload/client/nodes/UploadNode.js.map +1 -0
  528. package/dist/features/upload/client/plugin/index.d.ts +8 -0
  529. package/dist/features/upload/client/plugin/index.d.ts.map +1 -0
  530. package/dist/features/upload/client/plugin/index.js +53 -0
  531. package/dist/features/upload/client/plugin/index.js.map +1 -0
  532. package/dist/features/upload/server/feature.server.d.ts +18 -0
  533. package/dist/features/upload/server/feature.server.d.ts.map +1 -0
  534. package/dist/features/upload/server/feature.server.js +189 -0
  535. package/dist/features/upload/server/feature.server.js.map +1 -0
  536. package/dist/features/upload/server/graphQLPopulationPromise.d.ts +5 -0
  537. package/dist/features/upload/server/graphQLPopulationPromise.d.ts.map +1 -0
  538. package/dist/features/upload/server/graphQLPopulationPromise.js +52 -0
  539. package/dist/features/upload/server/graphQLPopulationPromise.js.map +1 -0
  540. package/dist/features/upload/server/i18n.d.ts.map +1 -0
  541. package/dist/features/upload/server/i18n.js.map +1 -0
  542. package/dist/features/upload/server/nodes/UploadNode.d.ts +40 -0
  543. package/dist/features/upload/server/nodes/UploadNode.d.ts.map +1 -0
  544. package/dist/features/upload/server/nodes/UploadNode.js +128 -0
  545. package/dist/features/upload/server/nodes/UploadNode.js.map +1 -0
  546. package/dist/features/upload/server/validate.d.ts +5 -0
  547. package/dist/features/upload/server/validate.d.ts.map +1 -0
  548. package/dist/features/upload/server/validate.js.map +1 -0
  549. package/dist/field/Field.d.ts +7 -7
  550. package/dist/field/Field.d.ts.map +1 -1
  551. package/dist/field/Field.js +8 -6
  552. package/dist/field/Field.js.map +1 -1
  553. package/dist/field/index.d.ts +2 -9
  554. package/dist/field/index.d.ts.map +1 -1
  555. package/dist/field/index.js +8 -8
  556. package/dist/field/index.js.map +1 -1
  557. package/dist/index.d.ts +23 -38
  558. package/dist/index.d.ts.map +1 -1
  559. package/dist/index.js +83 -68
  560. package/dist/index.js.map +1 -1
  561. package/dist/lexical/LexicalProvider.d.ts +2 -6
  562. package/dist/lexical/LexicalProvider.d.ts.map +1 -1
  563. package/dist/lexical/LexicalProvider.js +2 -2
  564. package/dist/lexical/LexicalProvider.js.map +1 -1
  565. package/dist/lexical/config/client/EditorConfigProvider.d.ts +4 -12
  566. package/dist/lexical/config/client/EditorConfigProvider.d.ts.map +1 -1
  567. package/dist/lexical/config/client/EditorConfigProvider.js +3 -3
  568. package/dist/lexical/config/client/EditorConfigProvider.js.map +1 -1
  569. package/dist/lexical/config/server/default.js +13 -13
  570. package/dist/lexical/config/server/default.js.map +1 -1
  571. package/dist/lexical/config/server/sanitize.d.ts.map +1 -1
  572. package/dist/lexical/config/server/sanitize.js +24 -6
  573. package/dist/lexical/config/server/sanitize.js.map +1 -1
  574. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +6 -2
  575. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +1 -1
  576. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +1 -1
  577. package/dist/lexical/plugins/SlashMenu/index.d.ts.map +1 -1
  578. package/dist/lexical/plugins/SlashMenu/index.js +14 -4
  579. package/dist/lexical/plugins/SlashMenu/index.js.map +1 -1
  580. package/dist/lexical/theme/EditorTheme.d.ts +0 -1
  581. package/dist/lexical/theme/EditorTheme.d.ts.map +1 -1
  582. package/dist/lexical/theme/EditorTheme.js.map +1 -1
  583. package/dist/nodeTypes.d.ts +8 -8
  584. package/dist/nodeTypes.d.ts.map +1 -1
  585. package/dist/nodeTypes.js.map +1 -1
  586. package/dist/types.d.ts +6 -8
  587. package/dist/types.d.ts.map +1 -1
  588. package/dist/types.js.map +1 -1
  589. package/dist/utilities/fieldsDrawer/Drawer.d.ts +10 -8
  590. package/dist/utilities/fieldsDrawer/Drawer.d.ts.map +1 -1
  591. package/dist/utilities/fieldsDrawer/Drawer.js +3 -1
  592. package/dist/utilities/fieldsDrawer/Drawer.js.map +1 -1
  593. package/dist/utilities/fieldsDrawer/DrawerContent.d.ts.map +1 -1
  594. package/dist/utilities/fieldsDrawer/DrawerContent.js +6 -6
  595. package/dist/utilities/fieldsDrawer/DrawerContent.js.map +1 -1
  596. package/dist/utilities/generateComponentMap.d.ts +2 -2
  597. package/dist/utilities/generateComponentMap.d.ts.map +1 -1
  598. package/dist/utilities/generateComponentMap.js +38 -28
  599. package/dist/utilities/generateComponentMap.js.map +1 -1
  600. package/dist/utilities/generateImportMap.d.ts +6 -0
  601. package/dist/utilities/generateImportMap.d.ts.map +1 -0
  602. package/dist/utilities/generateImportMap.js +50 -0
  603. package/dist/utilities/generateImportMap.js.map +1 -0
  604. package/dist/utilities/generateSchemaMap.d.ts.map +1 -1
  605. package/dist/utilities/generateSchemaMap.js +2 -1
  606. package/dist/utilities/generateSchemaMap.js.map +1 -1
  607. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts.map +1 -1
  608. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js +1 -5
  609. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js.map +1 -1
  610. package/dist/utilities/useLexicalFeature.js +1 -1
  611. package/dist/utilities/useLexicalFeature.js.map +1 -1
  612. package/package.json +21 -11
  613. package/dist/exports/client/Field-5GGTGCKC.js +0 -2
  614. package/dist/exports/client/Field-5GGTGCKC.js.map +0 -7
  615. package/dist/exports/client/RelationshipComponent-ZR2OCBGL.js +0 -2
  616. package/dist/exports/client/RelationshipComponent-ZR2OCBGL.js.map +0 -7
  617. package/dist/exports/client/chunk-6QXGZYUK.js +0 -2
  618. package/dist/exports/client/chunk-6QXGZYUK.js.map +0 -7
  619. package/dist/exports/client/chunk-IPCJ5EVK.js +0 -2
  620. package/dist/exports/client/chunk-IPCJ5EVK.js.map +0 -7
  621. package/dist/exports/client/chunk-IWZVO3AI.js +0 -2
  622. package/dist/exports/client/chunk-IWZVO3AI.js.map +0 -7
  623. package/dist/exports/client/chunk-Q5DYR7MH.js +0 -3
  624. package/dist/exports/client/chunk-Q5DYR7MH.js.map +0 -7
  625. package/dist/exports/client/chunk-VUVXZJJR.js +0 -2
  626. package/dist/exports/client/chunk-VUVXZJJR.js.map +0 -7
  627. package/dist/exports/client/component-D4GWDXK5.js +0 -2
  628. package/dist/exports/client/component-D4GWDXK5.js.map +0 -7
  629. package/dist/exports/client/component-KA7FDRMA.js +0 -2
  630. package/dist/exports/client/component-KA7FDRMA.js.map +0 -7
  631. package/dist/exports/client/component-VM36FRT2.js +0 -2
  632. package/dist/exports/client/component-VM36FRT2.js.map +0 -7
  633. package/dist/exports/client/componentInline-6EKPZSCV.js +0 -2
  634. package/dist/exports/client/componentInline-6EKPZSCV.js.map +0 -7
  635. package/dist/features/align/feature.client.d.ts +0 -5
  636. package/dist/features/align/feature.client.d.ts.map +0 -1
  637. package/dist/features/align/feature.client.js +0 -146
  638. package/dist/features/align/feature.client.js.map +0 -1
  639. package/dist/features/align/feature.server.d.ts +0 -2
  640. package/dist/features/align/feature.server.d.ts.map +0 -1
  641. package/dist/features/align/feature.server.js +0 -13
  642. package/dist/features/align/feature.server.js.map +0 -1
  643. package/dist/features/align/i18n.d.ts.map +0 -1
  644. package/dist/features/align/i18n.js.map +0 -1
  645. package/dist/features/align/toolbarAlignGroup.d.ts +0 -3
  646. package/dist/features/align/toolbarAlignGroup.d.ts.map +0 -1
  647. package/dist/features/align/toolbarAlignGroup.js +0 -12
  648. package/dist/features/align/toolbarAlignGroup.js.map +0 -1
  649. package/dist/features/blockquote/feature.client.d.ts +0 -5
  650. package/dist/features/blockquote/feature.client.d.ts.map +0 -1
  651. package/dist/features/blockquote/feature.client.js +0 -77
  652. package/dist/features/blockquote/feature.client.js.map +0 -1
  653. package/dist/features/blockquote/feature.server.d.ts +0 -7
  654. package/dist/features/blockquote/feature.server.d.ts.map +0 -1
  655. package/dist/features/blockquote/feature.server.js +0 -48
  656. package/dist/features/blockquote/feature.server.js.map +0 -1
  657. package/dist/features/blockquote/i18n.d.ts.map +0 -1
  658. package/dist/features/blockquote/i18n.js.map +0 -1
  659. package/dist/features/blocks/component/BlockContent.d.ts +0 -27
  660. package/dist/features/blocks/component/BlockContent.d.ts.map +0 -1
  661. package/dist/features/blocks/component/BlockContent.js +0 -196
  662. package/dist/features/blocks/component/BlockContent.js.map +0 -1
  663. package/dist/features/blocks/component/FormSavePlugin.d.ts.map +0 -1
  664. package/dist/features/blocks/component/FormSavePlugin.js.map +0 -1
  665. package/dist/features/blocks/component/index.d.ts +0 -11
  666. package/dist/features/blocks/component/index.d.ts.map +0 -1
  667. package/dist/features/blocks/component/index.js +0 -162
  668. package/dist/features/blocks/component/index.js.map +0 -1
  669. package/dist/features/blocks/component/removeEmptyArrayValues.d.ts.map +0 -1
  670. package/dist/features/blocks/component/removeEmptyArrayValues.js.map +0 -1
  671. package/dist/features/blocks/componentInline/index.d.ts.map +0 -1
  672. package/dist/features/blocks/componentInline/index.js +0 -133
  673. package/dist/features/blocks/componentInline/index.js.map +0 -1
  674. package/dist/features/blocks/feature.client.d.ts +0 -13
  675. package/dist/features/blocks/feature.client.d.ts.map +0 -1
  676. package/dist/features/blocks/feature.client.js +0 -148
  677. package/dist/features/blocks/feature.client.js.map +0 -1
  678. package/dist/features/blocks/feature.server.d.ts +0 -8
  679. package/dist/features/blocks/feature.server.d.ts.map +0 -1
  680. package/dist/features/blocks/feature.server.js +0 -160
  681. package/dist/features/blocks/feature.server.js.map +0 -1
  682. package/dist/features/blocks/graphQLPopulationPromise.d.ts +0 -6
  683. package/dist/features/blocks/graphQLPopulationPromise.d.ts.map +0 -1
  684. package/dist/features/blocks/graphQLPopulationPromise.js +0 -31
  685. package/dist/features/blocks/graphQLPopulationPromise.js.map +0 -1
  686. package/dist/features/blocks/i18n.d.ts.map +0 -1
  687. package/dist/features/blocks/i18n.js.map +0 -1
  688. package/dist/features/blocks/nodes/BlocksNode.d.ts +0 -38
  689. package/dist/features/blocks/nodes/BlocksNode.d.ts.map +0 -1
  690. package/dist/features/blocks/nodes/BlocksNode.js +0 -92
  691. package/dist/features/blocks/nodes/BlocksNode.js.map +0 -1
  692. package/dist/features/blocks/nodes/InlineBlocksNode.d.ts +0 -39
  693. package/dist/features/blocks/nodes/InlineBlocksNode.d.ts.map +0 -1
  694. package/dist/features/blocks/nodes/InlineBlocksNode.js +0 -94
  695. package/dist/features/blocks/nodes/InlineBlocksNode.js.map +0 -1
  696. package/dist/features/blocks/plugin/commands.d.ts.map +0 -1
  697. package/dist/features/blocks/plugin/commands.js.map +0 -1
  698. package/dist/features/blocks/plugin/index.d.ts +0 -6
  699. package/dist/features/blocks/plugin/index.d.ts.map +0 -1
  700. package/dist/features/blocks/plugin/index.js +0 -111
  701. package/dist/features/blocks/plugin/index.js.map +0 -1
  702. package/dist/features/blocks/validate.d.ts +0 -6
  703. package/dist/features/blocks/validate.d.ts.map +0 -1
  704. package/dist/features/blocks/validate.js.map +0 -1
  705. package/dist/features/converters/html/feature.server.d.ts +0 -8
  706. package/dist/features/converters/html/feature.server.d.ts.map +0 -1
  707. package/dist/features/converters/html/feature.server.js +0 -8
  708. package/dist/features/converters/html/feature.server.js.map +0 -1
  709. package/dist/features/debug/testRecorder/feature.client.d.ts +0 -5
  710. package/dist/features/debug/testRecorder/feature.client.d.ts.map +0 -1
  711. package/dist/features/debug/testRecorder/feature.client.js +0 -13
  712. package/dist/features/debug/testRecorder/feature.client.js.map +0 -1
  713. package/dist/features/debug/testRecorder/feature.server.d.ts +0 -2
  714. package/dist/features/debug/testRecorder/feature.server.d.ts.map +0 -1
  715. package/dist/features/debug/testRecorder/feature.server.js +0 -11
  716. package/dist/features/debug/testRecorder/feature.server.js.map +0 -1
  717. package/dist/features/debug/testRecorder/plugin/index.d.ts +0 -5
  718. package/dist/features/debug/testRecorder/plugin/index.d.ts.map +0 -1
  719. package/dist/features/debug/testRecorder/plugin/index.js +0 -471
  720. package/dist/features/debug/testRecorder/plugin/index.js.map +0 -1
  721. package/dist/features/debug/treeView/feature.client.d.ts +0 -5
  722. package/dist/features/debug/treeView/feature.client.d.ts.map +0 -1
  723. package/dist/features/debug/treeView/feature.client.js +0 -13
  724. package/dist/features/debug/treeView/feature.client.js.map +0 -1
  725. package/dist/features/debug/treeView/feature.server.d.ts +0 -2
  726. package/dist/features/debug/treeView/feature.server.d.ts.map +0 -1
  727. package/dist/features/debug/treeView/feature.server.js +0 -11
  728. package/dist/features/debug/treeView/feature.server.js.map +0 -1
  729. package/dist/features/debug/treeView/plugin/index.d.ts +0 -4
  730. package/dist/features/debug/treeView/plugin/index.d.ts.map +0 -1
  731. package/dist/features/debug/treeView/plugin/index.js.map +0 -1
  732. package/dist/features/experimental_table/feature.client.d.ts +0 -2
  733. package/dist/features/experimental_table/feature.client.d.ts.map +0 -1
  734. package/dist/features/experimental_table/feature.client.js +0 -71
  735. package/dist/features/experimental_table/feature.client.js.map +0 -1
  736. package/dist/features/experimental_table/feature.server.d.ts +0 -13
  737. package/dist/features/experimental_table/feature.server.d.ts.map +0 -1
  738. package/dist/features/experimental_table/feature.server.js +0 -125
  739. package/dist/features/experimental_table/feature.server.js.map +0 -1
  740. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.d.ts +0 -4
  741. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.d.ts.map +0 -1
  742. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.js +0 -604
  743. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.js.map +0 -1
  744. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.d.ts +0 -3
  745. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.d.ts.map +0 -1
  746. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.js +0 -327
  747. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.js.map +0 -1
  748. package/dist/features/experimental_table/plugins/TablePlugin/index.d.ts +0 -24
  749. package/dist/features/experimental_table/plugins/TablePlugin/index.d.ts.map +0 -1
  750. package/dist/features/experimental_table/plugins/TablePlugin/index.js +0 -98
  751. package/dist/features/experimental_table/plugins/TablePlugin/index.js.map +0 -1
  752. package/dist/features/experimental_table/utils/debounce.d.ts.map +0 -1
  753. package/dist/features/experimental_table/utils/debounce.js.map +0 -1
  754. package/dist/features/experimental_table/utils/useDebounce.d.ts.map +0 -1
  755. package/dist/features/experimental_table/utils/useDebounce.js.map +0 -1
  756. package/dist/features/heading/feature.client.d.ts +0 -6
  757. package/dist/features/heading/feature.client.d.ts.map +0 -1
  758. package/dist/features/heading/feature.client.js +0 -112
  759. package/dist/features/heading/feature.client.js.map +0 -1
  760. package/dist/features/heading/feature.server.d.ts +0 -10
  761. package/dist/features/heading/feature.server.d.ts.map +0 -1
  762. package/dist/features/heading/feature.server.js +0 -62
  763. package/dist/features/heading/feature.server.js.map +0 -1
  764. package/dist/features/heading/i18n.d.ts.map +0 -1
  765. package/dist/features/heading/i18n.js.map +0 -1
  766. package/dist/features/horizontalRule/component/index.d.ts.map +0 -1
  767. package/dist/features/horizontalRule/component/index.js.map +0 -1
  768. package/dist/features/horizontalRule/feature.client.d.ts +0 -5
  769. package/dist/features/horizontalRule/feature.client.d.ts.map +0 -1
  770. package/dist/features/horizontalRule/feature.client.js +0 -70
  771. package/dist/features/horizontalRule/feature.client.js.map +0 -1
  772. package/dist/features/horizontalRule/feature.server.d.ts +0 -2
  773. package/dist/features/horizontalRule/feature.server.d.ts.map +0 -1
  774. package/dist/features/horizontalRule/feature.server.js +0 -34
  775. package/dist/features/horizontalRule/feature.server.js.map +0 -1
  776. package/dist/features/horizontalRule/i18n.d.ts.map +0 -1
  777. package/dist/features/horizontalRule/i18n.js.map +0 -1
  778. package/dist/features/horizontalRule/markdownTransformer.d.ts.map +0 -1
  779. package/dist/features/horizontalRule/markdownTransformer.js.map +0 -1
  780. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.d.ts +0 -56
  781. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.d.ts.map +0 -1
  782. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.js +0 -92
  783. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.js.map +0 -1
  784. package/dist/features/horizontalRule/plugin/index.d.ts +0 -7
  785. package/dist/features/horizontalRule/plugin/index.d.ts.map +0 -1
  786. package/dist/features/horizontalRule/plugin/index.js +0 -30
  787. package/dist/features/horizontalRule/plugin/index.js.map +0 -1
  788. package/dist/features/indent/feature.client.d.ts +0 -5
  789. package/dist/features/indent/feature.client.d.ts.map +0 -1
  790. package/dist/features/indent/feature.client.js +0 -56
  791. package/dist/features/indent/feature.client.js.map +0 -1
  792. package/dist/features/indent/feature.server.d.ts +0 -2
  793. package/dist/features/indent/feature.server.d.ts.map +0 -1
  794. package/dist/features/indent/feature.server.js +0 -13
  795. package/dist/features/indent/feature.server.js.map +0 -1
  796. package/dist/features/indent/i18n.d.ts.map +0 -1
  797. package/dist/features/indent/i18n.js.map +0 -1
  798. package/dist/features/indent/toolbarIndentGroup.d.ts +0 -3
  799. package/dist/features/indent/toolbarIndentGroup.d.ts.map +0 -1
  800. package/dist/features/indent/toolbarIndentGroup.js.map +0 -1
  801. package/dist/features/link/drawer/baseFields.d.ts.map +0 -1
  802. package/dist/features/link/drawer/baseFields.js.map +0 -1
  803. package/dist/features/link/feature.client.d.ts +0 -16
  804. package/dist/features/link/feature.client.d.ts.map +0 -1
  805. package/dist/features/link/feature.client.js +0 -101
  806. package/dist/features/link/feature.client.js.map +0 -1
  807. package/dist/features/link/feature.server.d.ts +0 -35
  808. package/dist/features/link/feature.server.d.ts.map +0 -1
  809. package/dist/features/link/feature.server.js +0 -134
  810. package/dist/features/link/feature.server.js.map +0 -1
  811. package/dist/features/link/graphQLPopulationPromise.d.ts +0 -5
  812. package/dist/features/link/graphQLPopulationPromise.d.ts.map +0 -1
  813. package/dist/features/link/graphQLPopulationPromise.js +0 -31
  814. package/dist/features/link/graphQLPopulationPromise.js.map +0 -1
  815. package/dist/features/link/i18n.d.ts.map +0 -1
  816. package/dist/features/link/i18n.js.map +0 -1
  817. package/dist/features/link/plugins/autoLink/index.d.ts +0 -20
  818. package/dist/features/link/plugins/autoLink/index.d.ts.map +0 -1
  819. package/dist/features/link/plugins/autoLink/index.js +0 -336
  820. package/dist/features/link/plugins/autoLink/index.js.map +0 -1
  821. package/dist/features/link/plugins/clickableLink/index.d.ts +0 -4
  822. package/dist/features/link/plugins/clickableLink/index.d.ts.map +0 -1
  823. package/dist/features/link/plugins/clickableLink/index.js.map +0 -1
  824. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +0 -1
  825. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +0 -1
  826. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +0 -1
  827. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +0 -299
  828. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +0 -1
  829. package/dist/features/link/plugins/floatingLinkEditor/index.d.ts +0 -5
  830. package/dist/features/link/plugins/floatingLinkEditor/index.d.ts.map +0 -1
  831. package/dist/features/link/plugins/floatingLinkEditor/index.js.map +0 -1
  832. package/dist/features/link/plugins/floatingLinkEditor/types.d.ts +0 -15
  833. package/dist/features/link/plugins/floatingLinkEditor/types.d.ts.map +0 -1
  834. package/dist/features/link/plugins/floatingLinkEditor/types.js.map +0 -1
  835. package/dist/features/link/plugins/floatingLinkEditor/utilities.d.ts +0 -9
  836. package/dist/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +0 -1
  837. package/dist/features/link/plugins/floatingLinkEditor/utilities.js +0 -20
  838. package/dist/features/link/plugins/floatingLinkEditor/utilities.js.map +0 -1
  839. package/dist/features/link/plugins/link/index.d.ts +0 -4
  840. package/dist/features/link/plugins/link/index.d.ts.map +0 -1
  841. package/dist/features/link/plugins/link/index.js +0 -53
  842. package/dist/features/link/plugins/link/index.js.map +0 -1
  843. package/dist/features/link/validate.d.ts +0 -6
  844. package/dist/features/link/validate.d.ts.map +0 -1
  845. package/dist/features/link/validate.js.map +0 -1
  846. package/dist/features/lists/checklist/feature.client.d.ts +0 -5
  847. package/dist/features/lists/checklist/feature.client.d.ts.map +0 -1
  848. package/dist/features/lists/checklist/feature.client.js +0 -100
  849. package/dist/features/lists/checklist/feature.client.js.map +0 -1
  850. package/dist/features/lists/checklist/feature.server.d.ts +0 -2
  851. package/dist/features/lists/checklist/feature.server.d.ts.map +0 -1
  852. package/dist/features/lists/checklist/feature.server.js +0 -36
  853. package/dist/features/lists/checklist/feature.server.js.map +0 -1
  854. package/dist/features/lists/checklist/i18n.d.ts.map +0 -1
  855. package/dist/features/lists/checklist/i18n.js.map +0 -1
  856. package/dist/features/lists/checklist/plugin/index.d.ts +0 -3
  857. package/dist/features/lists/checklist/plugin/index.d.ts.map +0 -1
  858. package/dist/features/lists/checklist/plugin/index.js.map +0 -1
  859. package/dist/features/lists/orderedList/feature.client.d.ts +0 -5
  860. package/dist/features/lists/orderedList/feature.client.d.ts.map +0 -1
  861. package/dist/features/lists/orderedList/feature.client.js +0 -90
  862. package/dist/features/lists/orderedList/feature.client.js.map +0 -1
  863. package/dist/features/lists/orderedList/feature.server.d.ts +0 -2
  864. package/dist/features/lists/orderedList/feature.server.d.ts.map +0 -1
  865. package/dist/features/lists/orderedList/feature.server.js +0 -36
  866. package/dist/features/lists/orderedList/feature.server.js.map +0 -1
  867. package/dist/features/lists/orderedList/i18n.d.ts.map +0 -1
  868. package/dist/features/lists/orderedList/i18n.js.map +0 -1
  869. package/dist/features/lists/unorderedList/feature.client.d.ts +0 -5
  870. package/dist/features/lists/unorderedList/feature.client.d.ts.map +0 -1
  871. package/dist/features/lists/unorderedList/feature.client.js +0 -88
  872. package/dist/features/lists/unorderedList/feature.client.js.map +0 -1
  873. package/dist/features/lists/unorderedList/feature.server.d.ts +0 -2
  874. package/dist/features/lists/unorderedList/feature.server.d.ts.map +0 -1
  875. package/dist/features/lists/unorderedList/feature.server.js +0 -34
  876. package/dist/features/lists/unorderedList/feature.server.js.map +0 -1
  877. package/dist/features/lists/unorderedList/i18n.d.ts.map +0 -1
  878. package/dist/features/lists/unorderedList/i18n.js.map +0 -1
  879. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +0 -5
  880. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +0 -1
  881. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js +0 -6
  882. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +0 -1
  883. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts +0 -3
  884. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +0 -1
  885. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +0 -8
  886. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +0 -1
  887. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +0 -5
  888. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +0 -1
  889. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js +0 -6
  890. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +0 -1
  891. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts +0 -3
  892. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +0 -1
  893. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js +0 -8
  894. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +0 -1
  895. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +0 -5
  896. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +0 -1
  897. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js +0 -6
  898. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +0 -1
  899. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts +0 -3
  900. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +0 -1
  901. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js +0 -8
  902. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +0 -1
  903. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +0 -5
  904. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  905. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js +0 -6
  906. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +0 -1
  907. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts +0 -3
  908. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  909. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +0 -8
  910. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +0 -1
  911. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +0 -5
  912. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +0 -1
  913. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js +0 -6
  914. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +0 -1
  915. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts +0 -3
  916. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +0 -1
  917. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +0 -8
  918. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +0 -1
  919. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +0 -5
  920. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  921. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js +0 -6
  922. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +0 -1
  923. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts +0 -3
  924. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  925. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +0 -8
  926. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +0 -1
  927. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +0 -5
  928. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +0 -1
  929. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js +0 -6
  930. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +0 -1
  931. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts +0 -3
  932. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +0 -1
  933. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +0 -8
  934. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +0 -1
  935. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +0 -5
  936. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +0 -1
  937. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.js +0 -6
  938. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +0 -1
  939. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts +0 -3
  940. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +0 -1
  941. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.js +0 -8
  942. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +0 -1
  943. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.d.ts +0 -5
  944. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +0 -1
  945. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.js +0 -6
  946. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.js.map +0 -1
  947. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.d.ts +0 -3
  948. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +0 -1
  949. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.js +0 -8
  950. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.js.map +0 -1
  951. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.d.ts +0 -5
  952. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +0 -1
  953. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.js +0 -6
  954. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.js.map +0 -1
  955. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.d.ts +0 -3
  956. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +0 -1
  957. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.js +0 -8
  958. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.js.map +0 -1
  959. package/dist/features/migrations/slateToLexical/converter/converters/link/client.d.ts +0 -5
  960. package/dist/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +0 -1
  961. package/dist/features/migrations/slateToLexical/converter/converters/link/client.js +0 -6
  962. package/dist/features/migrations/slateToLexical/converter/converters/link/client.js.map +0 -1
  963. package/dist/features/migrations/slateToLexical/converter/converters/link/index.d.ts +0 -3
  964. package/dist/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +0 -1
  965. package/dist/features/migrations/slateToLexical/converter/converters/link/index.js +0 -8
  966. package/dist/features/migrations/slateToLexical/converter/converters/link/index.js.map +0 -1
  967. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts +0 -5
  968. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  969. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.js +0 -6
  970. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +0 -1
  971. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts +0 -3
  972. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  973. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.js +0 -8
  974. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +0 -1
  975. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +0 -5
  976. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +0 -1
  977. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.js +0 -6
  978. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +0 -1
  979. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts +0 -3
  980. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +0 -1
  981. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.js +0 -8
  982. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +0 -1
  983. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts +0 -5
  984. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +0 -1
  985. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.js +0 -6
  986. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +0 -1
  987. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts +0 -3
  988. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +0 -1
  989. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.js +0 -8
  990. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +0 -1
  991. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts +0 -5
  992. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  993. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.js +0 -6
  994. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +0 -1
  995. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts +0 -3
  996. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  997. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.js +0 -8
  998. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +0 -1
  999. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +0 -5
  1000. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +0 -1
  1001. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.js +0 -6
  1002. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +0 -1
  1003. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts +0 -3
  1004. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +0 -1
  1005. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.js +0 -8
  1006. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +0 -1
  1007. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.d.ts +0 -5
  1008. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1009. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.js +0 -6
  1010. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.js.map +0 -1
  1011. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.d.ts +0 -3
  1012. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1013. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.js +0 -8
  1014. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.js.map +0 -1
  1015. package/dist/features/paragraph/feature.client.d.ts +0 -5
  1016. package/dist/features/paragraph/feature.client.d.ts.map +0 -1
  1017. package/dist/features/paragraph/feature.client.js +0 -71
  1018. package/dist/features/paragraph/feature.client.js.map +0 -1
  1019. package/dist/features/paragraph/feature.server.d.ts +0 -2
  1020. package/dist/features/paragraph/feature.server.d.ts.map +0 -1
  1021. package/dist/features/paragraph/feature.server.js +0 -14
  1022. package/dist/features/paragraph/feature.server.js.map +0 -1
  1023. package/dist/features/paragraph/i18n.d.ts.map +0 -1
  1024. package/dist/features/paragraph/i18n.js.map +0 -1
  1025. package/dist/features/relationship/drawer/commands.d.ts.map +0 -1
  1026. package/dist/features/relationship/drawer/commands.js.map +0 -1
  1027. package/dist/features/relationship/drawer/index.d.ts.map +0 -1
  1028. package/dist/features/relationship/drawer/index.js.map +0 -1
  1029. package/dist/features/relationship/feature.client.d.ts +0 -18
  1030. package/dist/features/relationship/feature.client.d.ts.map +0 -1
  1031. package/dist/features/relationship/feature.client.js +0 -72
  1032. package/dist/features/relationship/feature.client.js.map +0 -1
  1033. package/dist/features/relationship/feature.server.d.ts +0 -27
  1034. package/dist/features/relationship/feature.server.d.ts.map +0 -1
  1035. package/dist/features/relationship/feature.server.js +0 -55
  1036. package/dist/features/relationship/feature.server.js.map +0 -1
  1037. package/dist/features/relationship/graphQLPopulationPromise.d.ts +0 -5
  1038. package/dist/features/relationship/graphQLPopulationPromise.d.ts.map +0 -1
  1039. package/dist/features/relationship/graphQLPopulationPromise.js +0 -29
  1040. package/dist/features/relationship/graphQLPopulationPromise.js.map +0 -1
  1041. package/dist/features/relationship/i18n.d.ts.map +0 -1
  1042. package/dist/features/relationship/i18n.js.map +0 -1
  1043. package/dist/features/relationship/nodes/RelationshipNode.d.ts +0 -35
  1044. package/dist/features/relationship/nodes/RelationshipNode.d.ts.map +0 -1
  1045. package/dist/features/relationship/nodes/RelationshipNode.js +0 -111
  1046. package/dist/features/relationship/nodes/RelationshipNode.js.map +0 -1
  1047. package/dist/features/relationship/nodes/components/RelationshipComponent.d.ts +0 -13
  1048. package/dist/features/relationship/nodes/components/RelationshipComponent.d.ts.map +0 -1
  1049. package/dist/features/relationship/nodes/components/RelationshipComponent.js +0 -171
  1050. package/dist/features/relationship/nodes/components/RelationshipComponent.js.map +0 -1
  1051. package/dist/features/relationship/plugins/index.d.ts +0 -7
  1052. package/dist/features/relationship/plugins/index.d.ts.map +0 -1
  1053. package/dist/features/relationship/plugins/index.js +0 -50
  1054. package/dist/features/relationship/plugins/index.js.map +0 -1
  1055. package/dist/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +0 -1
  1056. package/dist/features/relationship/utils/EnabledRelationshipsCondition.js +0 -33
  1057. package/dist/features/relationship/utils/EnabledRelationshipsCondition.js.map +0 -1
  1058. package/dist/features/toolbars/fixed/Toolbar/index.d.ts +0 -5
  1059. package/dist/features/toolbars/fixed/Toolbar/index.d.ts.map +0 -1
  1060. package/dist/features/toolbars/fixed/Toolbar/index.js +0 -207
  1061. package/dist/features/toolbars/fixed/Toolbar/index.js.map +0 -1
  1062. package/dist/features/toolbars/fixed/feature.client.d.ts +0 -6
  1063. package/dist/features/toolbars/fixed/feature.client.d.ts.map +0 -1
  1064. package/dist/features/toolbars/fixed/feature.client.js +0 -13
  1065. package/dist/features/toolbars/fixed/feature.client.js.map +0 -1
  1066. package/dist/features/toolbars/fixed/feature.server.d.ts +0 -18
  1067. package/dist/features/toolbars/fixed/feature.server.d.ts.map +0 -1
  1068. package/dist/features/toolbars/fixed/feature.server.js +0 -19
  1069. package/dist/features/toolbars/fixed/feature.server.js.map +0 -1
  1070. package/dist/features/toolbars/inline/Toolbar/index.d.ts +0 -4
  1071. package/dist/features/toolbars/inline/Toolbar/index.d.ts.map +0 -1
  1072. package/dist/features/toolbars/inline/Toolbar/index.js +0 -319
  1073. package/dist/features/toolbars/inline/Toolbar/index.js.map +0 -1
  1074. package/dist/features/toolbars/inline/feature.client.d.ts +0 -5
  1075. package/dist/features/toolbars/inline/feature.client.d.ts.map +0 -1
  1076. package/dist/features/toolbars/inline/feature.client.js +0 -13
  1077. package/dist/features/toolbars/inline/feature.client.js.map +0 -1
  1078. package/dist/features/toolbars/inline/feature.server.d.ts +0 -2
  1079. package/dist/features/toolbars/inline/feature.server.d.ts.map +0 -1
  1080. package/dist/features/toolbars/inline/feature.server.js +0 -11
  1081. package/dist/features/toolbars/inline/feature.server.js.map +0 -1
  1082. package/dist/features/upload/component/index.d.ts +0 -9
  1083. package/dist/features/upload/component/index.d.ts.map +0 -1
  1084. package/dist/features/upload/component/index.js +0 -242
  1085. package/dist/features/upload/component/index.js.map +0 -1
  1086. package/dist/features/upload/drawer/commands.d.ts.map +0 -1
  1087. package/dist/features/upload/drawer/commands.js.map +0 -1
  1088. package/dist/features/upload/drawer/index.d.ts.map +0 -1
  1089. package/dist/features/upload/drawer/index.js +0 -77
  1090. package/dist/features/upload/drawer/index.js.map +0 -1
  1091. package/dist/features/upload/feature.client.d.ts.map +0 -1
  1092. package/dist/features/upload/feature.client.js +0 -74
  1093. package/dist/features/upload/feature.client.js.map +0 -1
  1094. package/dist/features/upload/feature.server.d.ts +0 -18
  1095. package/dist/features/upload/feature.server.d.ts.map +0 -1
  1096. package/dist/features/upload/feature.server.js +0 -184
  1097. package/dist/features/upload/feature.server.js.map +0 -1
  1098. package/dist/features/upload/graphQLPopulationPromise.d.ts +0 -5
  1099. package/dist/features/upload/graphQLPopulationPromise.d.ts.map +0 -1
  1100. package/dist/features/upload/graphQLPopulationPromise.js +0 -52
  1101. package/dist/features/upload/graphQLPopulationPromise.js.map +0 -1
  1102. package/dist/features/upload/i18n.d.ts.map +0 -1
  1103. package/dist/features/upload/i18n.js.map +0 -1
  1104. package/dist/features/upload/nodes/UploadNode.d.ts +0 -39
  1105. package/dist/features/upload/nodes/UploadNode.d.ts.map +0 -1
  1106. package/dist/features/upload/nodes/UploadNode.js +0 -131
  1107. package/dist/features/upload/nodes/UploadNode.js.map +0 -1
  1108. package/dist/features/upload/plugin/index.d.ts +0 -8
  1109. package/dist/features/upload/plugin/index.d.ts.map +0 -1
  1110. package/dist/features/upload/plugin/index.js +0 -53
  1111. package/dist/features/upload/plugin/index.js.map +0 -1
  1112. package/dist/features/upload/validate.d.ts +0 -5
  1113. package/dist/features/upload/validate.d.ts.map +0 -1
  1114. package/dist/features/upload/validate.js.map +0 -1
  1115. package/dist/lexical/utils/invariant.d.ts +0 -2
  1116. package/dist/lexical/utils/invariant.d.ts.map +0 -1
  1117. package/dist/lexical/utils/invariant.js +0 -12
  1118. package/dist/lexical/utils/invariant.js.map +0 -1
  1119. /package/dist/features/align/{i18n.d.ts → server/i18n.d.ts} +0 -0
  1120. /package/dist/features/align/{i18n.js → server/i18n.js} +0 -0
  1121. /package/dist/features/blockquote/{i18n.d.ts → server/i18n.d.ts} +0 -0
  1122. /package/dist/features/blockquote/{i18n.js → server/i18n.js} +0 -0
  1123. /package/dist/features/blocks/{component → client/component}/FormSavePlugin.d.ts +0 -0
  1124. /package/dist/features/blocks/{component → client/component}/FormSavePlugin.js +0 -0
  1125. /package/dist/features/blocks/{component → client/component}/removeEmptyArrayValues.d.ts +0 -0
  1126. /package/dist/features/blocks/{component → client/component}/removeEmptyArrayValues.js +0 -0
  1127. /package/dist/features/blocks/{componentInline → client/componentInline}/index.d.ts +0 -0
  1128. /package/dist/features/blocks/{plugin → client/plugin}/commands.d.ts +0 -0
  1129. /package/dist/features/blocks/{plugin → client/plugin}/commands.js +0 -0
  1130. /package/dist/features/blocks/{i18n.d.ts → server/i18n.d.ts} +0 -0
  1131. /package/dist/features/blocks/{i18n.js → server/i18n.js} +0 -0
  1132. /package/dist/features/blocks/{validate.js → server/validate.js} +0 -0
  1133. /package/dist/features/debug/treeView/{plugin → client/plugin}/index.js +0 -0
  1134. /package/dist/features/experimental_table/{utils → client/utils}/debounce.d.ts +0 -0
  1135. /package/dist/features/experimental_table/{utils → client/utils}/debounce.js +0 -0
  1136. /package/dist/features/experimental_table/{utils → client/utils}/useDebounce.d.ts +0 -0
  1137. /package/dist/features/experimental_table/{utils → client/utils}/useDebounce.js +0 -0
  1138. /package/dist/features/heading/{i18n.d.ts → server/i18n.d.ts} +0 -0
  1139. /package/dist/features/heading/{i18n.js → server/i18n.js} +0 -0
  1140. /package/dist/features/horizontalRule/{component → client/component}/index.d.ts +0 -0
  1141. /package/dist/features/horizontalRule/{component → client/component}/index.js +0 -0
  1142. /package/dist/features/horizontalRule/{markdownTransformer.d.ts → client/markdownTransformer.d.ts} +0 -0
  1143. /package/dist/features/horizontalRule/{markdownTransformer.js → client/markdownTransformer.js} +0 -0
  1144. /package/dist/features/horizontalRule/{i18n.d.ts → server/i18n.d.ts} +0 -0
  1145. /package/dist/features/horizontalRule/{i18n.js → server/i18n.js} +0 -0
  1146. /package/dist/features/indent/{toolbarIndentGroup.js → client/toolbarIndentGroup.js} +0 -0
  1147. /package/dist/features/indent/{i18n.d.ts → server/i18n.d.ts} +0 -0
  1148. /package/dist/features/indent/{i18n.js → server/i18n.js} +0 -0
  1149. /package/dist/features/link/{plugins → client/plugins}/clickableLink/index.js +0 -0
  1150. /package/dist/features/link/{plugins → client/plugins}/floatingLinkEditor/LinkEditor/commands.d.ts +0 -0
  1151. /package/dist/features/link/{plugins → client/plugins}/floatingLinkEditor/LinkEditor/commands.js +0 -0
  1152. /package/dist/features/link/{plugins → client/plugins}/floatingLinkEditor/LinkEditor/index.d.ts +0 -0
  1153. /package/dist/features/link/{plugins → client/plugins}/floatingLinkEditor/index.js +0 -0
  1154. /package/dist/features/link/{plugins → client/plugins}/floatingLinkEditor/types.js +0 -0
  1155. /package/dist/features/link/{drawer → server}/baseFields.d.ts +0 -0
  1156. /package/dist/features/link/{drawer → server}/baseFields.js +0 -0
  1157. /package/dist/features/link/{i18n.d.ts → server/i18n.d.ts} +0 -0
  1158. /package/dist/features/link/{i18n.js → server/i18n.js} +0 -0
  1159. /package/dist/features/link/{validate.js → server/validate.js} +0 -0
  1160. /package/dist/features/lists/checklist/{plugin → client/plugin}/index.js +0 -0
  1161. /package/dist/features/lists/checklist/{i18n.d.ts → server/i18n.d.ts} +0 -0
  1162. /package/dist/features/lists/checklist/{i18n.js → server/i18n.js} +0 -0
  1163. /package/dist/features/lists/orderedList/{i18n.d.ts → server/i18n.d.ts} +0 -0
  1164. /package/dist/features/lists/orderedList/{i18n.js → server/i18n.js} +0 -0
  1165. /package/dist/features/lists/unorderedList/{i18n.d.ts → server/i18n.d.ts} +0 -0
  1166. /package/dist/features/lists/unorderedList/{i18n.js → server/i18n.js} +0 -0
  1167. /package/dist/features/paragraph/{i18n.d.ts → server/i18n.d.ts} +0 -0
  1168. /package/dist/features/paragraph/{i18n.js → server/i18n.js} +0 -0
  1169. /package/dist/features/relationship/{drawer → client/drawer}/commands.d.ts +0 -0
  1170. /package/dist/features/relationship/{drawer → client/drawer}/commands.js +0 -0
  1171. /package/dist/features/relationship/{drawer → client/drawer}/index.d.ts +0 -0
  1172. /package/dist/features/relationship/{drawer → client/drawer}/index.js +0 -0
  1173. /package/dist/features/relationship/{utils → client/utils}/EnabledRelationshipsCondition.d.ts +0 -0
  1174. /package/dist/features/relationship/{i18n.d.ts → server/i18n.d.ts} +0 -0
  1175. /package/dist/features/relationship/{i18n.js → server/i18n.js} +0 -0
  1176. /package/dist/features/upload/{drawer → client/drawer}/commands.d.ts +0 -0
  1177. /package/dist/features/upload/{drawer → client/drawer}/commands.js +0 -0
  1178. /package/dist/features/upload/{drawer → client/drawer}/index.d.ts +0 -0
  1179. /package/dist/features/upload/{feature.client.d.ts → client/feature.client.d.ts} +0 -0
  1180. /package/dist/features/upload/{i18n.d.ts → server/i18n.d.ts} +0 -0
  1181. /package/dist/features/upload/{i18n.js → server/i18n.js} +0 -0
  1182. /package/dist/features/upload/{validate.js → server/validate.js} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/features/link/client/index.tsx"],"sourcesContent":["'use client'\n\nimport type { LexicalNode } from 'lexical'\n\nimport { $findMatchingParent } from '@lexical/utils'\nimport { $getSelection, $isRangeSelection } from 'lexical'\n\nimport type { ToolbarGroup } from '../../toolbars/types.js'\nimport type { LinkFields } from '../nodes/types.js'\nimport type { ExclusiveLinkCollectionsProps } from '../server/index.js'\n\nimport { LinkIcon } from '../../../lexical/ui/icons/Link/index.js'\nimport { getSelectedNode } from '../../../lexical/utils/getSelectedNode.js'\nimport { createClientFeature } from '../../../utilities/createClientFeature.js'\nimport { toolbarFeatureButtonsGroupWithItems } from '../../shared/toolbar/featureButtonsGroup.js'\nimport { LinkMarkdownTransformer } from '../markdownTransformer.js'\nimport { AutoLinkNode } from '../nodes/AutoLinkNode.js'\nimport { $isLinkNode, LinkNode, TOGGLE_LINK_COMMAND } from '../nodes/LinkNode.js'\nimport { AutoLinkPlugin } from './plugins/autoLink/index.js'\nimport { ClickableLinkPlugin } from './plugins/clickableLink/index.js'\nimport { TOGGLE_LINK_WITH_MODAL_COMMAND } from './plugins/floatingLinkEditor/LinkEditor/commands.js'\nimport { FloatingLinkEditorPlugin } from './plugins/floatingLinkEditor/index.js'\nimport { LinkPlugin } from './plugins/link/index.js'\n\nexport type ClientProps = ExclusiveLinkCollectionsProps\n\nconst toolbarGroups: ToolbarGroup[] = [\n toolbarFeatureButtonsGroupWithItems([\n {\n ChildComponent: LinkIcon,\n isActive: ({ selection }) => {\n if ($isRangeSelection(selection)) {\n const selectedNode = getSelectedNode(selection)\n const linkParent = $findMatchingParent(selectedNode, $isLinkNode)\n return linkParent != null\n }\n return false\n },\n isEnabled: ({ selection }) => {\n return !!($isRangeSelection(selection) && $getSelection()?.getTextContent()?.length)\n },\n key: 'link',\n label: ({ i18n }) => {\n return i18n.t('lexical:link:label')\n },\n onSelect: ({ editor, isActive }) => {\n if (!isActive) {\n let selectedText: string = null\n let selectedNodes: LexicalNode[] = []\n editor.getEditorState().read(() => {\n selectedText = $getSelection()?.getTextContent()\n // We need to selected nodes here before the drawer opens, as clicking around in the drawer may change the original selection\n selectedNodes = $getSelection()?.getNodes() ?? []\n })\n\n if (!selectedText?.length) {\n return\n }\n\n const linkFields: LinkFields = {\n doc: null,\n linkType: 'custom',\n newTab: false,\n url: 'https://',\n }\n\n editor.dispatchCommand(TOGGLE_LINK_WITH_MODAL_COMMAND, {\n fields: linkFields,\n selectedNodes,\n text: selectedText,\n })\n } else {\n // remove link\n editor.dispatchCommand(TOGGLE_LINK_COMMAND, null)\n }\n },\n order: 1,\n },\n ]),\n]\n\nexport const LinkFeatureClient = createClientFeature({\n markdownTransformers: [LinkMarkdownTransformer],\n nodes: [LinkNode, AutoLinkNode],\n plugins: [\n {\n Component: LinkPlugin,\n position: 'normal',\n },\n {\n Component: AutoLinkPlugin,\n position: 'normal',\n },\n {\n Component: ClickableLinkPlugin,\n position: 'normal',\n },\n {\n Component: FloatingLinkEditorPlugin,\n position: 'floatingAnchorElem',\n },\n ],\n toolbarFixed: {\n groups: toolbarGroups,\n },\n toolbarInline: {\n groups: toolbarGroups,\n },\n})\n"],"names":["$findMatchingParent","$getSelection","$isRangeSelection","LinkIcon","getSelectedNode","createClientFeature","toolbarFeatureButtonsGroupWithItems","LinkMarkdownTransformer","AutoLinkNode","$isLinkNode","LinkNode","TOGGLE_LINK_COMMAND","AutoLinkPlugin","ClickableLinkPlugin","TOGGLE_LINK_WITH_MODAL_COMMAND","FloatingLinkEditorPlugin","LinkPlugin","toolbarGroups","ChildComponent","isActive","selection","selectedNode","linkParent","isEnabled","getTextContent","length","key","label","i18n","t","onSelect","editor","selectedText","selectedNodes","getEditorState","read","getNodes","linkFields","doc","linkType","newTab","url","dispatchCommand","fields","text","order","LinkFeatureClient","markdownTransformers","nodes","plugins","Component","position","toolbarFixed","groups","toolbarInline"],"mappings":"AAAA;AAIA,SAASA,mBAAmB,QAAQ,iBAAgB;AACpD,SAASC,aAAa,EAAEC,iBAAiB,QAAQ,UAAS;AAM1D,SAASC,QAAQ,QAAQ,0CAAyC;AAClE,SAASC,eAAe,QAAQ,4CAA2C;AAC3E,SAASC,mBAAmB,QAAQ,4CAA2C;AAC/E,SAASC,mCAAmC,QAAQ,8CAA6C;AACjG,SAASC,uBAAuB,QAAQ,4BAA2B;AACnE,SAASC,YAAY,QAAQ,2BAA0B;AACvD,SAASC,WAAW,EAAEC,QAAQ,EAAEC,mBAAmB,QAAQ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;AAED,OAAO,MAAMC,oBAAoBzC,oBAAoB;IACnD0C,sBAAsB;QAACxC;KAAwB;IAC/CyC,OAAO;QAACtC;QAAUF;KAAa;IAC/ByC,SAAS;QACP;YACEC,WAAWlC;YACXmC,UAAU;QACZ;QACA;YACED,WAAWtC;YACXuC,UAAU;QACZ;QACA;YACED,WAAWrC;YACXsC,UAAU;QACZ;QACA;YACED,WAAWnC;YACXoC,UAAU;QACZ;KACD;IACDC,cAAc;QACZC,QAAQpC;IACV;IACAqC,eAAe;QACbD,QAAQpC;IACV;AACF,GAAE"}
@@ -0,0 +1,20 @@
1
+ import type { PluginComponent } from '../../../../typesClient.js';
2
+ import type { LinkFields } from '../../../nodes/types.js';
3
+ import type { ClientProps } from '../../index.js';
4
+ interface LinkMatcherResult {
5
+ fields?: LinkFields;
6
+ index: number;
7
+ length: number;
8
+ text: string;
9
+ url: string;
10
+ }
11
+ export type LinkMatcher = (text: string) => LinkMatcherResult | null;
12
+ export declare function createLinkMatcherWithRegExp(regExp: RegExp, urlTransformer?: (text: string) => string): (text: string) => {
13
+ index: number;
14
+ length: number;
15
+ text: string;
16
+ url: string;
17
+ };
18
+ export declare const AutoLinkPlugin: PluginComponent<ClientProps>;
19
+ export {};
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/link/client/plugins/autoLink/index.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAOjD,UAAU,iBAAiB;IACzB,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,MAAM,WAAW,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,iBAAiB,GAAG,IAAI,CAAA;AAEpE,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,MAAM,EACd,cAAc,GAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAuB,UAE3C,MAAM;;;;;EAUrB;AAkZD,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,WAAW,CAMvD,CAAA"}
@@ -0,0 +1,335 @@
1
+ 'use client';
2
+ import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js';
3
+ import { mergeRegister } from '@lexical/utils';
4
+ import { $createTextNode, $getSelection, $isElementNode, $isLineBreakNode, $isNodeSelection, $isRangeSelection, $isTextNode, TextNode as TextNodeValue } from 'lexical';
5
+ import { useEffect } from 'react';
6
+ import { $createAutoLinkNode, $isAutoLinkNode, AutoLinkNode } from '../../../nodes/AutoLinkNode.js';
7
+ import { $isLinkNode } from '../../../nodes/LinkNode.js';
8
+ export function createLinkMatcherWithRegExp(regExp, urlTransformer = (text)=>text) {
9
+ return (text)=>{
10
+ const match = regExp.exec(text);
11
+ if (match === null) return null;
12
+ return {
13
+ index: match.index,
14
+ length: match[0].length,
15
+ text: match[0],
16
+ url: urlTransformer(match[0])
17
+ };
18
+ };
19
+ }
20
+ function findFirstMatch(text, matchers) {
21
+ for(let i = 0; i < matchers.length; i++){
22
+ const match = matchers[i](text);
23
+ if (match != null) {
24
+ return match;
25
+ }
26
+ }
27
+ return null;
28
+ }
29
+ const PUNCTUATION_OR_SPACE = /[.,;\s]/;
30
+ function isSeparator(char) {
31
+ return PUNCTUATION_OR_SPACE.test(char);
32
+ }
33
+ function endsWithSeparator(textContent) {
34
+ return isSeparator(textContent[textContent.length - 1]);
35
+ }
36
+ function startsWithSeparator(textContent) {
37
+ return isSeparator(textContent[0]);
38
+ }
39
+ /**
40
+ * Check if the text content starts with a fullstop followed by a top-level domain.
41
+ * Meaning if the text content can be a beginning of a top level domain.
42
+ * @param textContent
43
+ * @param isEmail
44
+ * @returns boolean
45
+ */ function startsWithTLD(textContent, isEmail) {
46
+ if (isEmail) {
47
+ return /^\.[a-z]{2,}/i.test(textContent);
48
+ } else {
49
+ return /^\.[a-z0-9]+/i.test(textContent);
50
+ }
51
+ }
52
+ function isPreviousNodeValid(node) {
53
+ let previousNode = node.getPreviousSibling();
54
+ if ($isElementNode(previousNode)) {
55
+ previousNode = previousNode.getLastDescendant();
56
+ }
57
+ return previousNode === null || $isLineBreakNode(previousNode) || $isTextNode(previousNode) && endsWithSeparator(previousNode.getTextContent());
58
+ }
59
+ function isNextNodeValid(node) {
60
+ let nextNode = node.getNextSibling();
61
+ if ($isElementNode(nextNode)) {
62
+ nextNode = nextNode.getFirstDescendant();
63
+ }
64
+ return nextNode === null || $isLineBreakNode(nextNode) || $isTextNode(nextNode) && startsWithSeparator(nextNode.getTextContent());
65
+ }
66
+ function isContentAroundIsValid(matchStart, matchEnd, text, nodes) {
67
+ const contentBeforeIsValid = matchStart > 0 ? isSeparator(text[matchStart - 1]) : isPreviousNodeValid(nodes[0]);
68
+ if (!contentBeforeIsValid) {
69
+ return false;
70
+ }
71
+ const contentAfterIsValid = matchEnd < text.length ? isSeparator(text[matchEnd]) : isNextNodeValid(nodes[nodes.length - 1]);
72
+ return contentAfterIsValid;
73
+ }
74
+ function extractMatchingNodes(nodes, startIndex, endIndex) {
75
+ const unmodifiedBeforeNodes = [];
76
+ const matchingNodes = [];
77
+ const unmodifiedAfterNodes = [];
78
+ let matchingOffset = 0;
79
+ let currentOffset = 0;
80
+ const currentNodes = [
81
+ ...nodes
82
+ ];
83
+ while(currentNodes.length > 0){
84
+ const currentNode = currentNodes[0];
85
+ const currentNodeText = currentNode.getTextContent();
86
+ const currentNodeLength = currentNodeText.length;
87
+ const currentNodeStart = currentOffset;
88
+ const currentNodeEnd = currentOffset + currentNodeLength;
89
+ if (currentNodeEnd <= startIndex) {
90
+ unmodifiedBeforeNodes.push(currentNode);
91
+ matchingOffset += currentNodeLength;
92
+ } else if (currentNodeStart >= endIndex) {
93
+ unmodifiedAfterNodes.push(currentNode);
94
+ } else {
95
+ matchingNodes.push(currentNode);
96
+ }
97
+ currentOffset += currentNodeLength;
98
+ currentNodes.shift();
99
+ }
100
+ return [
101
+ matchingOffset,
102
+ unmodifiedBeforeNodes,
103
+ matchingNodes,
104
+ unmodifiedAfterNodes
105
+ ];
106
+ }
107
+ function $createAutoLinkNode_(nodes, startIndex, endIndex, match) {
108
+ const fields = {
109
+ linkType: 'custom',
110
+ url: match.url,
111
+ ...match.fields
112
+ };
113
+ const linkNode = $createAutoLinkNode({
114
+ fields
115
+ });
116
+ if (nodes.length === 1) {
117
+ let remainingTextNode = nodes[0];
118
+ let linkTextNode;
119
+ if (startIndex === 0) {
120
+ [linkTextNode, remainingTextNode] = remainingTextNode.splitText(endIndex);
121
+ } else {
122
+ [, linkTextNode, remainingTextNode] = remainingTextNode.splitText(startIndex, endIndex);
123
+ }
124
+ const textNode = $createTextNode(match.text);
125
+ textNode.setFormat(linkTextNode.getFormat());
126
+ textNode.setDetail(linkTextNode.getDetail());
127
+ textNode.setStyle(linkTextNode.getStyle());
128
+ linkNode.append(textNode);
129
+ linkTextNode.replace(linkNode);
130
+ return remainingTextNode;
131
+ } else if (nodes.length > 1) {
132
+ const firstTextNode = nodes[0];
133
+ let offset = firstTextNode.getTextContent().length;
134
+ let firstLinkTextNode;
135
+ if (startIndex === 0) {
136
+ firstLinkTextNode = firstTextNode;
137
+ } else {
138
+ [, firstLinkTextNode] = firstTextNode.splitText(startIndex);
139
+ }
140
+ const linkNodes = [];
141
+ let remainingTextNode;
142
+ for(let i = 1; i < nodes.length; i++){
143
+ const currentNode = nodes[i];
144
+ const currentNodeText = currentNode.getTextContent();
145
+ const currentNodeLength = currentNodeText.length;
146
+ const currentNodeStart = offset;
147
+ const currentNodeEnd = offset + currentNodeLength;
148
+ if (currentNodeStart < endIndex) {
149
+ if (currentNodeEnd <= endIndex) {
150
+ linkNodes.push(currentNode);
151
+ } else {
152
+ const [linkTextNode, endNode] = currentNode.splitText(endIndex - currentNodeStart);
153
+ linkNodes.push(linkTextNode);
154
+ remainingTextNode = endNode;
155
+ }
156
+ }
157
+ offset += currentNodeLength;
158
+ }
159
+ const selection = $getSelection();
160
+ const selectedTextNode = selection ? selection.getNodes().find($isTextNode) : undefined;
161
+ const textNode = $createTextNode(firstLinkTextNode.getTextContent());
162
+ textNode.setFormat(firstLinkTextNode.getFormat());
163
+ textNode.setDetail(firstLinkTextNode.getDetail());
164
+ textNode.setStyle(firstLinkTextNode.getStyle());
165
+ linkNode.append(textNode, ...linkNodes);
166
+ // it does not preserve caret position if caret was at the first text node
167
+ // so we need to restore caret position
168
+ if (selectedTextNode && selectedTextNode === firstLinkTextNode) {
169
+ if ($isRangeSelection(selection)) {
170
+ textNode.select(selection.anchor.offset, selection.focus.offset);
171
+ } else if ($isNodeSelection(selection)) {
172
+ textNode.select(0, textNode.getTextContent().length);
173
+ }
174
+ }
175
+ firstLinkTextNode.replace(linkNode);
176
+ return remainingTextNode;
177
+ }
178
+ return undefined;
179
+ }
180
+ function $handleLinkCreation(nodes, matchers, onChange) {
181
+ let currentNodes = [
182
+ ...nodes
183
+ ];
184
+ const initialText = currentNodes.map((node)=>node.getTextContent()).join('');
185
+ let text = initialText;
186
+ let match;
187
+ let invalidMatchEnd = 0;
188
+ while((match = findFirstMatch(text, matchers)) != null && match !== null){
189
+ const matchStart = match.index;
190
+ const matchLength = match.length;
191
+ const matchEnd = matchStart + matchLength;
192
+ const isValid = isContentAroundIsValid(invalidMatchEnd + matchStart, invalidMatchEnd + matchEnd, initialText, currentNodes);
193
+ if (isValid) {
194
+ const [matchingOffset, , matchingNodes, unmodifiedAfterNodes] = extractMatchingNodes(currentNodes, invalidMatchEnd + matchStart, invalidMatchEnd + matchEnd);
195
+ const actualMatchStart = invalidMatchEnd + matchStart - matchingOffset;
196
+ const actualMatchEnd = invalidMatchEnd + matchEnd - matchingOffset;
197
+ const remainingTextNode = $createAutoLinkNode_(matchingNodes, actualMatchStart, actualMatchEnd, match);
198
+ currentNodes = remainingTextNode ? [
199
+ remainingTextNode,
200
+ ...unmodifiedAfterNodes
201
+ ] : unmodifiedAfterNodes;
202
+ onChange(match.url, null);
203
+ invalidMatchEnd = 0;
204
+ } else {
205
+ invalidMatchEnd += matchEnd;
206
+ }
207
+ text = text.substring(matchEnd);
208
+ }
209
+ }
210
+ function handleLinkEdit(linkNode, matchers, onChange) {
211
+ // Check children are simple text
212
+ const children = linkNode.getChildren();
213
+ const childrenLength = children.length;
214
+ for(let i = 0; i < childrenLength; i++){
215
+ const child = children[i];
216
+ if (!$isTextNode(child) || !child.isSimpleText()) {
217
+ replaceWithChildren(linkNode);
218
+ onChange(null, linkNode.getFields()?.url ?? null);
219
+ return;
220
+ }
221
+ }
222
+ // Check text content fully matches
223
+ const text = linkNode.getTextContent();
224
+ const match = findFirstMatch(text, matchers);
225
+ if (match === null || match.text !== text) {
226
+ replaceWithChildren(linkNode);
227
+ onChange(null, linkNode.getFields()?.url ?? null);
228
+ return;
229
+ }
230
+ // Check neighbors
231
+ if (!isPreviousNodeValid(linkNode) || !isNextNodeValid(linkNode)) {
232
+ replaceWithChildren(linkNode);
233
+ onChange(null, linkNode.getFields()?.url ?? null);
234
+ return;
235
+ }
236
+ const url = linkNode.getFields()?.url;
237
+ if (url !== match?.url) {
238
+ const flds = linkNode.getFields();
239
+ flds.url = match?.url;
240
+ linkNode.setFields(flds);
241
+ onChange(match.url, url ?? null);
242
+ }
243
+ }
244
+ // Bad neighbors are edits in neighbor nodes that make AutoLinks incompatible.
245
+ // Given the creation preconditions, these can only be simple text nodes.
246
+ function handleBadNeighbors(textNode, matchers, onChange) {
247
+ const previousSibling = textNode.getPreviousSibling();
248
+ const nextSibling = textNode.getNextSibling();
249
+ const text = textNode.getTextContent();
250
+ if ($isAutoLinkNode(previousSibling)) {
251
+ const isEmailURI = previousSibling.getFields()?.url ? previousSibling.getFields()?.url?.startsWith('mailto:') : false;
252
+ if (!startsWithSeparator(text) || startsWithTLD(text, isEmailURI)) {
253
+ previousSibling.append(textNode);
254
+ handleLinkEdit(previousSibling, matchers, onChange);
255
+ onChange(null, previousSibling.getFields()?.url ?? null);
256
+ }
257
+ }
258
+ if ($isAutoLinkNode(nextSibling) && !endsWithSeparator(text)) {
259
+ replaceWithChildren(nextSibling);
260
+ handleLinkEdit(nextSibling, matchers, onChange);
261
+ onChange(null, nextSibling.getFields()?.url ?? null);
262
+ }
263
+ }
264
+ function replaceWithChildren(node) {
265
+ const children = node.getChildren();
266
+ const childrenLength = children.length;
267
+ for(let j = childrenLength - 1; j >= 0; j--){
268
+ node.insertAfter(children[j]);
269
+ }
270
+ node.remove();
271
+ return children.map((child)=>child.getLatest());
272
+ }
273
+ function getTextNodesToMatch(textNode) {
274
+ // check if next siblings are simple text nodes till a node contains a space separator
275
+ const textNodesToMatch = [
276
+ textNode
277
+ ];
278
+ let nextSibling = textNode.getNextSibling();
279
+ while(nextSibling !== null && $isTextNode(nextSibling) && nextSibling.isSimpleText()){
280
+ textNodesToMatch.push(nextSibling);
281
+ if (/\s/.test(nextSibling.getTextContent())) {
282
+ break;
283
+ }
284
+ nextSibling = nextSibling.getNextSibling();
285
+ }
286
+ return textNodesToMatch;
287
+ }
288
+ function useAutoLink(editor, matchers, onChange) {
289
+ useEffect(()=>{
290
+ if (!editor.hasNodes([
291
+ AutoLinkNode
292
+ ])) {
293
+ throw new Error('LexicalAutoLinkPlugin: AutoLinkNode not registered on editor');
294
+ }
295
+ const onChangeWrapped = (url, prevUrl)=>{
296
+ if (onChange != null) {
297
+ onChange(url, prevUrl);
298
+ }
299
+ };
300
+ return mergeRegister(editor.registerNodeTransform(TextNodeValue, (textNode)=>{
301
+ const parent = textNode.getParentOrThrow();
302
+ const previous = textNode.getPreviousSibling();
303
+ if ($isAutoLinkNode(parent)) {
304
+ handleLinkEdit(parent, matchers, onChangeWrapped);
305
+ } else if (!$isLinkNode(parent)) {
306
+ if (textNode.isSimpleText() && (startsWithSeparator(textNode.getTextContent()) || !$isAutoLinkNode(previous))) {
307
+ const textNodesToMatch = getTextNodesToMatch(textNode);
308
+ $handleLinkCreation(textNodesToMatch, matchers, onChangeWrapped);
309
+ }
310
+ handleBadNeighbors(textNode, matchers, onChangeWrapped);
311
+ }
312
+ }));
313
+ }, [
314
+ editor,
315
+ matchers,
316
+ onChange
317
+ ]);
318
+ }
319
+ const URL_REGEX = /((https?:\/\/(www\.)?)|(www\.))[-\w@:%.+~#=]{1,256}\.[a-zA-Z\d()]{1,6}\b([-\w()@:%+.~#?&/=]*)(?<![-.+():%])/;
320
+ const EMAIL_REGEX = /(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\])|(([a-z\-\d]+\.)+[a-z]{2,}))/i;
321
+ const MATCHERS = [
322
+ createLinkMatcherWithRegExp(URL_REGEX, (text)=>{
323
+ return text.startsWith('http') ? text : `https://${text}`;
324
+ }),
325
+ createLinkMatcherWithRegExp(EMAIL_REGEX, (text)=>{
326
+ return `mailto:${text}`;
327
+ })
328
+ ];
329
+ export const AutoLinkPlugin = ()=>{
330
+ const [editor] = useLexicalComposerContext();
331
+ useAutoLink(editor, MATCHERS);
332
+ return null;
333
+ };
334
+
335
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../src/features/link/client/plugins/autoLink/index.tsx"],"sourcesContent":["'use client'\nimport type { ElementNode, LexicalEditor, LexicalNode, TextNode } from 'lexical'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport { mergeRegister } from '@lexical/utils'\nimport {\n $createTextNode,\n $getSelection,\n $isElementNode,\n $isLineBreakNode,\n $isNodeSelection,\n $isRangeSelection,\n $isTextNode,\n TextNode as TextNodeValue,\n} from 'lexical'\nimport { useEffect } from 'react'\n\nimport type { PluginComponent } from '../../../../typesClient.js'\nimport type { LinkFields } from '../../../nodes/types.js'\nimport type { ClientProps } from '../../index.js'\n\nimport { $createAutoLinkNode, $isAutoLinkNode, AutoLinkNode } from '../../../nodes/AutoLinkNode.js'\nimport { $isLinkNode } from '../../../nodes/LinkNode.js'\n\ntype ChangeHandler = (url: null | string, prevUrl: null | string) => void\n\ninterface LinkMatcherResult {\n fields?: LinkFields\n index: number\n length: number\n text: string\n url: string\n}\n\nexport type LinkMatcher = (text: string) => LinkMatcherResult | null\n\nexport function createLinkMatcherWithRegExp(\n regExp: RegExp,\n urlTransformer: (text: string) => string = (text) => text,\n) {\n return (text: string) => {\n const match = regExp.exec(text)\n if (match === null) return null\n return {\n index: match.index,\n length: match[0].length,\n text: match[0],\n url: urlTransformer(match[0]),\n }\n }\n}\n\nfunction findFirstMatch(text: string, matchers: LinkMatcher[]): LinkMatcherResult | null {\n for (let i = 0; i < matchers.length; i++) {\n const match = matchers[i](text)\n\n if (match != null) {\n return match\n }\n }\n\n return null\n}\n\nconst PUNCTUATION_OR_SPACE = /[.,;\\s]/\n\nfunction isSeparator(char: string): boolean {\n return PUNCTUATION_OR_SPACE.test(char)\n}\n\nfunction endsWithSeparator(textContent: string): boolean {\n return isSeparator(textContent[textContent.length - 1])\n}\n\nfunction startsWithSeparator(textContent: string): boolean {\n return isSeparator(textContent[0])\n}\n\n/**\n * Check if the text content starts with a fullstop followed by a top-level domain.\n * Meaning if the text content can be a beginning of a top level domain.\n * @param textContent\n * @param isEmail\n * @returns boolean\n */\nfunction startsWithTLD(textContent: string, isEmail: boolean): boolean {\n if (isEmail) {\n return /^\\.[a-z]{2,}/i.test(textContent)\n } else {\n return /^\\.[a-z0-9]+/i.test(textContent)\n }\n}\n\nfunction isPreviousNodeValid(node: LexicalNode): boolean {\n let previousNode = node.getPreviousSibling()\n if ($isElementNode(previousNode)) {\n previousNode = previousNode.getLastDescendant()\n }\n return (\n previousNode === null ||\n $isLineBreakNode(previousNode) ||\n ($isTextNode(previousNode) && endsWithSeparator(previousNode.getTextContent()))\n )\n}\n\nfunction isNextNodeValid(node: LexicalNode): boolean {\n let nextNode = node.getNextSibling()\n if ($isElementNode(nextNode)) {\n nextNode = nextNode.getFirstDescendant()\n }\n return (\n nextNode === null ||\n $isLineBreakNode(nextNode) ||\n ($isTextNode(nextNode) && startsWithSeparator(nextNode.getTextContent()))\n )\n}\n\nfunction isContentAroundIsValid(\n matchStart: number,\n matchEnd: number,\n text: string,\n nodes: TextNode[],\n): boolean {\n const contentBeforeIsValid =\n matchStart > 0 ? isSeparator(text[matchStart - 1]) : isPreviousNodeValid(nodes[0])\n if (!contentBeforeIsValid) {\n return false\n }\n\n const contentAfterIsValid =\n matchEnd < text.length ? isSeparator(text[matchEnd]) : isNextNodeValid(nodes[nodes.length - 1])\n return contentAfterIsValid\n}\n\nfunction extractMatchingNodes(\n nodes: TextNode[],\n startIndex: number,\n endIndex: number,\n): [\n matchingOffset: number,\n unmodifiedBeforeNodes: TextNode[],\n matchingNodes: TextNode[],\n unmodifiedAfterNodes: TextNode[],\n] {\n const unmodifiedBeforeNodes: TextNode[] = []\n const matchingNodes: TextNode[] = []\n const unmodifiedAfterNodes: TextNode[] = []\n let matchingOffset = 0\n\n let currentOffset = 0\n const currentNodes = [...nodes]\n\n while (currentNodes.length > 0) {\n const currentNode = currentNodes[0]\n const currentNodeText = currentNode.getTextContent()\n const currentNodeLength = currentNodeText.length\n const currentNodeStart = currentOffset\n const currentNodeEnd = currentOffset + currentNodeLength\n\n if (currentNodeEnd <= startIndex) {\n unmodifiedBeforeNodes.push(currentNode)\n matchingOffset += currentNodeLength\n } else if (currentNodeStart >= endIndex) {\n unmodifiedAfterNodes.push(currentNode)\n } else {\n matchingNodes.push(currentNode)\n }\n currentOffset += currentNodeLength\n currentNodes.shift()\n }\n return [matchingOffset, unmodifiedBeforeNodes, matchingNodes, unmodifiedAfterNodes]\n}\n\nfunction $createAutoLinkNode_(\n nodes: TextNode[],\n startIndex: number,\n endIndex: number,\n match: LinkMatcherResult,\n): TextNode | undefined {\n const fields: LinkFields = {\n linkType: 'custom',\n url: match.url,\n ...match.fields,\n }\n\n const linkNode = $createAutoLinkNode({ fields })\n if (nodes.length === 1) {\n let remainingTextNode = nodes[0]\n let linkTextNode\n if (startIndex === 0) {\n ;[linkTextNode, remainingTextNode] = remainingTextNode.splitText(endIndex)\n } else {\n ;[, linkTextNode, remainingTextNode] = remainingTextNode.splitText(startIndex, endIndex)\n }\n const textNode = $createTextNode(match.text)\n textNode.setFormat(linkTextNode.getFormat())\n textNode.setDetail(linkTextNode.getDetail())\n textNode.setStyle(linkTextNode.getStyle())\n linkNode.append(textNode)\n linkTextNode.replace(linkNode)\n return remainingTextNode\n } else if (nodes.length > 1) {\n const firstTextNode = nodes[0]\n let offset = firstTextNode.getTextContent().length\n let firstLinkTextNode\n if (startIndex === 0) {\n firstLinkTextNode = firstTextNode\n } else {\n ;[, firstLinkTextNode] = firstTextNode.splitText(startIndex)\n }\n const linkNodes = []\n let remainingTextNode\n for (let i = 1; i < nodes.length; i++) {\n const currentNode = nodes[i]\n const currentNodeText = currentNode.getTextContent()\n const currentNodeLength = currentNodeText.length\n const currentNodeStart = offset\n const currentNodeEnd = offset + currentNodeLength\n if (currentNodeStart < endIndex) {\n if (currentNodeEnd <= endIndex) {\n linkNodes.push(currentNode)\n } else {\n const [linkTextNode, endNode] = currentNode.splitText(endIndex - currentNodeStart)\n linkNodes.push(linkTextNode)\n remainingTextNode = endNode\n }\n }\n offset += currentNodeLength\n }\n const selection = $getSelection()\n const selectedTextNode = selection ? selection.getNodes().find($isTextNode) : undefined\n const textNode = $createTextNode(firstLinkTextNode.getTextContent())\n textNode.setFormat(firstLinkTextNode.getFormat())\n textNode.setDetail(firstLinkTextNode.getDetail())\n textNode.setStyle(firstLinkTextNode.getStyle())\n linkNode.append(textNode, ...linkNodes)\n // it does not preserve caret position if caret was at the first text node\n // so we need to restore caret position\n if (selectedTextNode && selectedTextNode === firstLinkTextNode) {\n if ($isRangeSelection(selection)) {\n textNode.select(selection.anchor.offset, selection.focus.offset)\n } else if ($isNodeSelection(selection)) {\n textNode.select(0, textNode.getTextContent().length)\n }\n }\n firstLinkTextNode.replace(linkNode)\n return remainingTextNode\n }\n return undefined\n}\n\nfunction $handleLinkCreation(\n nodes: TextNode[],\n matchers: LinkMatcher[],\n onChange: ChangeHandler,\n): void {\n let currentNodes = [...nodes]\n const initialText = currentNodes.map((node) => node.getTextContent()).join('')\n let text = initialText\n\n let match\n let invalidMatchEnd = 0\n\n while ((match = findFirstMatch(text, matchers)) != null && match !== null) {\n const matchStart: number = match.index\n const matchLength: number = match.length\n const matchEnd = matchStart + matchLength\n const isValid = isContentAroundIsValid(\n invalidMatchEnd + matchStart,\n invalidMatchEnd + matchEnd,\n initialText,\n currentNodes,\n )\n\n if (isValid) {\n const [matchingOffset, , matchingNodes, unmodifiedAfterNodes] = extractMatchingNodes(\n currentNodes,\n invalidMatchEnd + matchStart,\n invalidMatchEnd + matchEnd,\n )\n\n const actualMatchStart = invalidMatchEnd + matchStart - matchingOffset\n const actualMatchEnd = invalidMatchEnd + matchEnd - matchingOffset\n const remainingTextNode = $createAutoLinkNode_(\n matchingNodes,\n actualMatchStart,\n actualMatchEnd,\n match,\n )\n currentNodes = remainingTextNode\n ? [remainingTextNode, ...unmodifiedAfterNodes]\n : unmodifiedAfterNodes\n onChange(match.url, null)\n invalidMatchEnd = 0\n } else {\n invalidMatchEnd += matchEnd\n }\n\n text = text.substring(matchEnd)\n }\n}\n\nfunction handleLinkEdit(\n linkNode: AutoLinkNode,\n matchers: LinkMatcher[],\n onChange: ChangeHandler,\n): void {\n // Check children are simple text\n const children = linkNode.getChildren()\n const childrenLength = children.length\n for (let i = 0; i < childrenLength; i++) {\n const child = children[i]\n if (!$isTextNode(child) || !child.isSimpleText()) {\n replaceWithChildren(linkNode)\n onChange(null, linkNode.getFields()?.url ?? null)\n return\n }\n }\n\n // Check text content fully matches\n const text = linkNode.getTextContent()\n const match = findFirstMatch(text, matchers)\n if (match === null || match.text !== text) {\n replaceWithChildren(linkNode)\n onChange(null, linkNode.getFields()?.url ?? null)\n return\n }\n\n // Check neighbors\n if (!isPreviousNodeValid(linkNode) || !isNextNodeValid(linkNode)) {\n replaceWithChildren(linkNode)\n onChange(null, linkNode.getFields()?.url ?? null)\n return\n }\n\n const url = linkNode.getFields()?.url\n if (url !== match?.url) {\n const flds = linkNode.getFields()\n flds.url = match?.url\n linkNode.setFields(flds)\n onChange(match.url, url ?? null)\n }\n}\n\n// Bad neighbors are edits in neighbor nodes that make AutoLinks incompatible.\n// Given the creation preconditions, these can only be simple text nodes.\nfunction handleBadNeighbors(\n textNode: TextNode,\n matchers: LinkMatcher[],\n onChange: ChangeHandler,\n): void {\n const previousSibling = textNode.getPreviousSibling()\n const nextSibling = textNode.getNextSibling()\n const text = textNode.getTextContent()\n\n if ($isAutoLinkNode(previousSibling)) {\n const isEmailURI = previousSibling.getFields()?.url\n ? previousSibling.getFields()?.url?.startsWith('mailto:')\n : false\n if (!startsWithSeparator(text) || startsWithTLD(text, isEmailURI)) {\n previousSibling.append(textNode)\n handleLinkEdit(previousSibling, matchers, onChange)\n onChange(null, previousSibling.getFields()?.url ?? null)\n }\n }\n\n if ($isAutoLinkNode(nextSibling) && !endsWithSeparator(text)) {\n replaceWithChildren(nextSibling)\n handleLinkEdit(nextSibling, matchers, onChange)\n onChange(null, nextSibling.getFields()?.url ?? null)\n }\n}\n\nfunction replaceWithChildren(node: ElementNode): LexicalNode[] {\n const children = node.getChildren()\n const childrenLength = children.length\n\n for (let j = childrenLength - 1; j >= 0; j--) {\n node.insertAfter(children[j])\n }\n\n node.remove()\n return children.map((child) => child.getLatest())\n}\n\nfunction getTextNodesToMatch(textNode: TextNode): TextNode[] {\n // check if next siblings are simple text nodes till a node contains a space separator\n const textNodesToMatch = [textNode]\n let nextSibling = textNode.getNextSibling()\n while (nextSibling !== null && $isTextNode(nextSibling) && nextSibling.isSimpleText()) {\n textNodesToMatch.push(nextSibling)\n if (/\\s/.test(nextSibling.getTextContent())) {\n break\n }\n nextSibling = nextSibling.getNextSibling()\n }\n return textNodesToMatch\n}\n\nfunction useAutoLink(\n editor: LexicalEditor,\n matchers: LinkMatcher[],\n onChange?: ChangeHandler,\n): void {\n useEffect(() => {\n if (!editor.hasNodes([AutoLinkNode])) {\n throw new Error('LexicalAutoLinkPlugin: AutoLinkNode not registered on editor')\n }\n\n const onChangeWrapped = (url: null | string, prevUrl: null | string): void => {\n if (onChange != null) {\n onChange(url, prevUrl)\n }\n }\n\n return mergeRegister(\n editor.registerNodeTransform(TextNodeValue, (textNode: TextNode) => {\n const parent = textNode.getParentOrThrow()\n const previous = textNode.getPreviousSibling()\n if ($isAutoLinkNode(parent)) {\n handleLinkEdit(parent, matchers, onChangeWrapped)\n } else if (!$isLinkNode(parent)) {\n if (\n textNode.isSimpleText() &&\n (startsWithSeparator(textNode.getTextContent()) || !$isAutoLinkNode(previous))\n ) {\n const textNodesToMatch = getTextNodesToMatch(textNode)\n $handleLinkCreation(textNodesToMatch, matchers, onChangeWrapped)\n }\n\n handleBadNeighbors(textNode, matchers, onChangeWrapped)\n }\n }),\n )\n }, [editor, matchers, onChange])\n}\n\nconst URL_REGEX =\n /((https?:\\/\\/(www\\.)?)|(www\\.))[-\\w@:%.+~#=]{1,256}\\.[a-zA-Z\\d()]{1,6}\\b([-\\w()@:%+.~#?&/=]*)(?<![-.+():%])/\n\nconst EMAIL_REGEX =\n /(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\])|(([a-z\\-\\d]+\\.)+[a-z]{2,}))/i\n\nconst MATCHERS = [\n createLinkMatcherWithRegExp(URL_REGEX, (text) => {\n return text.startsWith('http') ? text : `https://${text}`\n }),\n createLinkMatcherWithRegExp(EMAIL_REGEX, (text) => {\n return `mailto:${text}`\n }),\n]\n\nexport const AutoLinkPlugin: PluginComponent<ClientProps> = () => {\n const [editor] = useLexicalComposerContext()\n\n useAutoLink(editor, MATCHERS)\n\n return null\n}\n"],"names":["useLexicalComposerContext","mergeRegister","$createTextNode","$getSelection","$isElementNode","$isLineBreakNode","$isNodeSelection","$isRangeSelection","$isTextNode","TextNode","TextNodeValue","useEffect","$createAutoLinkNode","$isAutoLinkNode","AutoLinkNode","$isLinkNode","createLinkMatcherWithRegExp","regExp","urlTransformer","text","match","exec","index","length","url","findFirstMatch","matchers","i","PUNCTUATION_OR_SPACE","isSeparator","char","test","endsWithSeparator","textContent","startsWithSeparator","startsWithTLD","isEmail","isPreviousNodeValid","node","previousNode","getPreviousSibling","getLastDescendant","getTextContent","isNextNodeValid","nextNode","getNextSibling","getFirstDescendant","isContentAroundIsValid","matchStart","matchEnd","nodes","contentBeforeIsValid","contentAfterIsValid","extractMatchingNodes","startIndex","endIndex","unmodifiedBeforeNodes","matchingNodes","unmodifiedAfterNodes","matchingOffset","currentOffset","currentNodes","currentNode","currentNodeText","currentNodeLength","currentNodeStart","currentNodeEnd","push","shift","$createAutoLinkNode_","fields","linkType","linkNode","remainingTextNode","linkTextNode","splitText","textNode","setFormat","getFormat","setDetail","getDetail","setStyle","getStyle","append","replace","firstTextNode","offset","firstLinkTextNode","linkNodes","endNode","selection","selectedTextNode","getNodes","find","undefined","select","anchor","focus","$handleLinkCreation","onChange","initialText","map","join","invalidMatchEnd","matchLength","isValid","actualMatchStart","actualMatchEnd","substring","handleLinkEdit","children","getChildren","childrenLength","child","isSimpleText","replaceWithChildren","getFields","flds","setFields","handleBadNeighbors","previousSibling","nextSibling","isEmailURI","startsWith","j","insertAfter","remove","getLatest","getTextNodesToMatch","textNodesToMatch","useAutoLink","editor","hasNodes","Error","onChangeWrapped","prevUrl","registerNodeTransform","parent","getParentOrThrow","previous","URL_REGEX","EMAIL_REGEX","MATCHERS","AutoLinkPlugin"],"mappings":"AAAA;AAGA,SAASA,yBAAyB,QA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AAOK,qBAAqB,CAAC9H,eAAe,CAACkE;YAC3C,MAAM6D,SAAS7D,SAAS8D,gBAAgB;YACxC,MAAMC,WAAW/D,SAASpC,kBAAkB;YAC5C,IAAI3B,gBAAgB4H,SAAS;gBAC3B5B,eAAe4B,QAAQ/G,UAAU4G;YACnC,OAAO,IAAI,CAACvH,YAAY0H,SAAS;gBAC/B,IACE7D,SAASsC,YAAY,MACpBhF,CAAAA,oBAAoB0C,SAASlC,cAAc,OAAO,CAAC7B,gBAAgB8H,SAAQ,GAC5E;oBACA,MAAMV,mBAAmBD,oBAAoBpD;oBAC7CsB,oBAAoB+B,kBAAkBvG,UAAU4G;gBAClD;gBAEAf,mBAAmB3C,UAAUlD,UAAU4G;YACzC;QACF;IAEJ,GAAG;QAACH;QAAQzG;QAAUyE;KAAS;AACjC;AAEA,MAAMyC,YACJ;AAEF,MAAMC,cACJ;AAEF,MAAMC,WAAW;IACf9H,4BAA4B4H,WAAW,CAACzH;QACtC,OAAOA,KAAKwG,UAAU,CAAC,UAAUxG,OAAO,CAAC,QAAQ,EAAEA,KAAK,CAAC;IAC3D;IACAH,4BAA4B6H,aAAa,CAAC1H;QACxC,OAAO,CAAC,OAAO,EAAEA,KAAK,CAAC;IACzB;CACD;AAED,OAAO,MAAM4H,iBAA+C;IAC1D,MAAM,CAACZ,OAAO,GAAGnI;IAEjBkI,YAAYC,QAAQW;IAEpB,OAAO;AACT,EAAC"}
@@ -0,0 +1,4 @@
1
+ import type { PluginComponent } from '../../../../typesClient.js';
2
+ import type { ClientProps } from '../../index.js';
3
+ export declare const ClickableLinkPlugin: PluginComponent<ClientProps>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/link/client/plugins/clickableLink/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEjD,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,WAAW,CAE5D,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../src/features/link/client/plugins/clickableLink/index.tsx"],"sourcesContent":["'use client'\nimport { ClickableLinkPlugin as LexicalClickableLinkPlugin } from '@lexical/react/LexicalClickableLinkPlugin.js'\nimport React from 'react'\n\nimport type { PluginComponent } from '../../../../typesClient.js'\nimport type { ClientProps } from '../../index.js'\n\nexport const ClickableLinkPlugin: PluginComponent<ClientProps> = () => {\n return <LexicalClickableLinkPlugin />\n}\n"],"names":["ClickableLinkPlugin","LexicalClickableLinkPlugin","React"],"mappings":"AAAA;;AACA,SAASA,uBAAuBC,0BAA0B,QAAQ,+CAA8C;AAChH,OAAOC,WAAW,QAAO;AAKzB,OAAO,MAAMF,sBAAoD;IAC/D,qBAAO,KAACC;AACV,EAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/link/client/plugins/floatingLinkEditor/LinkEditor/commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAI7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,eAAO,MAAM,8BAA8B,EAAE,cAAc,CAAC,WAAW,GAAG,IAAI,CAE7E,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../../src/features/link/client/plugins/floatingLinkEditor/LinkEditor/commands.ts"],"sourcesContent":["import type { LexicalCommand } from 'lexical'\n\nimport { createCommand } from 'lexical'\n\nimport type { LinkPayload } from '../types.js'\n\nexport const TOGGLE_LINK_WITH_MODAL_COMMAND: LexicalCommand<LinkPayload | null> = createCommand(\n 'TOGGLE_LINK_WITH_MODAL_COMMAND',\n)\n"],"names":["createCommand","TOGGLE_LINK_WITH_MODAL_COMMAND"],"mappings":"AAEA,SAASA,aAAa,QAAQ,UAAS;AAIvC,OAAO,MAAMC,iCAAqED,cAChF,kCACD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAmD,MAAM,OAAO,CAAA;AAcvE,wBAAgB,UAAU,CAAC,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,WAAW,CAAA;CAAE,GAAG,KAAK,CAAC,SAAS,CA2UvF"}