@payloadcms/richtext-lexical 3.0.0-beta.51 → 3.0.0-beta.53

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 (1958) hide show
  1. package/dist/cell/index.js +5 -5
  2. package/dist/cell/index.js.map +1 -1
  3. package/dist/exports/client/Component-7HS6FEJS.js +2 -0
  4. package/dist/exports/client/Component-7HS6FEJS.js.map +7 -0
  5. package/dist/exports/client/Component-LAKSCIDX.js +2 -0
  6. package/dist/exports/client/Component-LAKSCIDX.js.map +7 -0
  7. package/dist/exports/client/Field-YMWNSE3A.js +2 -0
  8. package/dist/exports/client/Field-YMWNSE3A.js.map +7 -0
  9. package/dist/exports/client/RelationshipComponent-5OU5HATX.js +2 -0
  10. package/dist/exports/client/RelationshipComponent-5OU5HATX.js.map +7 -0
  11. package/dist/exports/client/bundled.css +1 -1
  12. package/dist/exports/client/chunk-3K3B6PJM.js +2 -0
  13. package/dist/exports/client/chunk-3K3B6PJM.js.map +7 -0
  14. package/dist/exports/client/chunk-MLIITFAS.js +3 -0
  15. package/dist/exports/client/chunk-MLIITFAS.js.map +7 -0
  16. package/dist/exports/client/chunk-OSR74ZNW.js +2 -0
  17. package/dist/exports/client/chunk-OSR74ZNW.js.map +7 -0
  18. package/dist/exports/client/chunk-QU5MKT75.js +2 -0
  19. package/dist/exports/client/chunk-QU5MKT75.js.map +7 -0
  20. package/dist/exports/client/chunk-ZITHDR53.js +2 -0
  21. package/dist/exports/client/chunk-ZITHDR53.js.map +7 -0
  22. package/dist/exports/client/component-E2NHAHBC.js +2 -0
  23. package/dist/exports/client/component-E2NHAHBC.js.map +7 -0
  24. package/dist/exports/client/component-QWIGEOVD.js +2 -0
  25. package/dist/exports/client/component-QWIGEOVD.js.map +7 -0
  26. package/dist/exports/client/component-X4LSLSWF.js +2 -0
  27. package/dist/exports/client/component-X4LSLSWF.js.map +7 -0
  28. package/dist/exports/client/index.d.ts +49 -49
  29. package/dist/exports/client/index.d.ts.map +1 -1
  30. package/dist/exports/client/index.js +4 -4
  31. package/dist/exports/client/index.js.map +3 -3
  32. package/dist/features/align/feature.client.d.ts.map +1 -0
  33. package/dist/features/align/feature.client.js.map +1 -0
  34. package/dist/features/align/feature.server.d.ts.map +1 -0
  35. package/dist/features/align/feature.server.js +19 -0
  36. package/dist/features/align/feature.server.js.map +1 -0
  37. package/dist/features/align/i18n.d.ts.map +1 -0
  38. package/dist/features/align/i18n.js.map +1 -0
  39. package/dist/features/align/toolbarAlignGroup.d.ts.map +1 -0
  40. package/dist/features/align/toolbarAlignGroup.js.map +1 -0
  41. package/dist/features/blockquote/feature.client.d.ts.map +1 -0
  42. package/dist/features/blockquote/feature.client.js.map +1 -0
  43. package/dist/features/blockquote/feature.server.d.ts.map +1 -0
  44. package/dist/features/blockquote/feature.server.js +50 -0
  45. package/dist/features/blockquote/feature.server.js.map +1 -0
  46. package/dist/features/blockquote/i18n.d.ts.map +1 -0
  47. package/dist/features/blockquote/i18n.js.map +1 -0
  48. package/dist/features/blockquote/markdownTransformer.d.ts.map +1 -0
  49. package/dist/features/blockquote/markdownTransformer.js.map +1 -0
  50. package/dist/features/blocks/component/BlockContent.d.ts +27 -0
  51. package/dist/features/blocks/component/BlockContent.d.ts.map +1 -0
  52. package/dist/features/blocks/component/BlockContent.js +193 -0
  53. package/dist/features/blocks/component/BlockContent.js.map +1 -0
  54. package/dist/features/blocks/component/FormSavePlugin.d.ts.map +1 -0
  55. package/dist/features/blocks/component/FormSavePlugin.js +29 -0
  56. package/dist/features/blocks/component/FormSavePlugin.js.map +1 -0
  57. package/dist/features/blocks/component/index.d.ts.map +1 -0
  58. package/dist/features/blocks/component/index.js +158 -0
  59. package/dist/features/blocks/component/index.js.map +1 -0
  60. package/dist/features/blocks/component/removeEmptyArrayValues.d.ts.map +1 -0
  61. package/dist/features/blocks/component/removeEmptyArrayValues.js.map +1 -0
  62. package/dist/features/blocks/drawer/index.d.ts.map +1 -0
  63. package/dist/features/blocks/drawer/index.js +78 -0
  64. package/dist/features/blocks/drawer/index.js.map +1 -0
  65. package/dist/features/blocks/feature.client.d.ts.map +1 -0
  66. package/dist/features/blocks/feature.client.js.map +1 -0
  67. package/dist/features/blocks/feature.server.d.ts.map +1 -0
  68. package/dist/features/blocks/feature.server.js +107 -0
  69. package/dist/features/blocks/feature.server.js.map +1 -0
  70. package/dist/features/blocks/graphQLPopulationPromise.d.ts.map +1 -0
  71. package/dist/features/blocks/graphQLPopulationPromise.js +31 -0
  72. package/dist/features/blocks/graphQLPopulationPromise.js.map +1 -0
  73. package/dist/features/blocks/i18n.d.ts.map +1 -0
  74. package/dist/features/blocks/i18n.js.map +1 -0
  75. package/dist/features/blocks/nodes/BlocksNode.d.ts.map +1 -0
  76. package/dist/features/blocks/nodes/BlocksNode.js.map +1 -0
  77. package/dist/features/blocks/plugin/commands.d.ts.map +1 -0
  78. package/dist/features/blocks/plugin/commands.js.map +1 -0
  79. package/dist/features/blocks/plugin/index.d.ts.map +1 -0
  80. package/dist/features/blocks/plugin/index.js.map +1 -0
  81. package/dist/features/blocks/validate.d.ts.map +1 -0
  82. package/dist/features/blocks/validate.js.map +1 -0
  83. package/dist/features/converters/html/converter/converters/linebreak.d.ts.map +1 -0
  84. package/dist/features/converters/html/converter/converters/linebreak.js.map +1 -0
  85. package/dist/features/converters/html/converter/converters/paragraph.d.ts.map +1 -0
  86. package/dist/features/converters/html/converter/converters/paragraph.js +20 -0
  87. package/dist/features/converters/html/converter/converters/paragraph.js.map +1 -0
  88. package/dist/features/converters/html/converter/converters/text.d.ts.map +1 -0
  89. package/dist/features/converters/html/converter/converters/text.js.map +1 -0
  90. package/dist/features/converters/html/converter/defaultConverters.d.ts.map +1 -0
  91. package/dist/features/converters/html/converter/defaultConverters.js.map +1 -0
  92. package/dist/features/converters/html/converter/index.d.ts +42 -0
  93. package/dist/features/converters/html/converter/index.d.ts.map +1 -0
  94. package/dist/features/converters/html/converter/index.js +48 -0
  95. package/dist/features/converters/html/converter/index.js.map +1 -0
  96. package/dist/features/converters/html/converter/types.d.ts +19 -0
  97. package/dist/features/converters/html/converter/types.d.ts.map +1 -0
  98. package/dist/features/converters/html/converter/types.js.map +1 -0
  99. package/dist/features/converters/html/feature.server.d.ts.map +1 -0
  100. package/dist/features/converters/html/feature.server.js.map +1 -0
  101. package/dist/features/converters/html/field/index.d.ts.map +1 -0
  102. package/dist/features/converters/html/field/index.js +154 -0
  103. package/dist/features/converters/html/field/index.js.map +1 -0
  104. package/dist/features/createClientComponent.d.ts.map +1 -0
  105. package/dist/features/createClientComponent.js +12 -0
  106. package/dist/features/createClientComponent.js.map +1 -0
  107. package/dist/features/createFeaturePropComponent.d.ts.map +1 -0
  108. package/dist/features/createFeaturePropComponent.js +18 -0
  109. package/dist/features/createFeaturePropComponent.js.map +1 -0
  110. package/dist/features/debug/testRecorder/feature.client.d.ts.map +1 -0
  111. package/dist/features/debug/testRecorder/feature.client.js.map +1 -0
  112. package/dist/features/debug/testRecorder/feature.server.d.ts.map +1 -0
  113. package/dist/features/debug/testRecorder/feature.server.js +16 -0
  114. package/dist/features/debug/testRecorder/feature.server.js.map +1 -0
  115. package/dist/features/debug/testRecorder/plugin/index.d.ts.map +1 -0
  116. package/dist/features/debug/testRecorder/plugin/index.js.map +1 -0
  117. package/dist/features/debug/treeView/feature.client.d.ts.map +1 -0
  118. package/dist/features/debug/treeView/feature.client.js.map +1 -0
  119. package/dist/features/debug/treeView/feature.server.d.ts.map +1 -0
  120. package/dist/features/debug/treeView/feature.server.js +16 -0
  121. package/dist/features/debug/treeView/feature.server.js.map +1 -0
  122. package/dist/features/debug/treeView/plugin/index.d.ts.map +1 -0
  123. package/dist/features/debug/treeView/plugin/index.js.map +1 -0
  124. package/dist/features/format/bold/feature.client.d.ts.map +1 -0
  125. package/dist/features/format/bold/feature.client.js.map +1 -0
  126. package/dist/features/format/bold/feature.server.d.ts.map +1 -0
  127. package/dist/features/format/bold/feature.server.js +28 -0
  128. package/dist/features/format/bold/feature.server.js.map +1 -0
  129. package/dist/features/format/bold/markdownTransformers.d.ts.map +1 -0
  130. package/dist/features/format/bold/markdownTransformers.js.map +1 -0
  131. package/dist/features/format/inlineCode/feature.client.d.ts.map +1 -0
  132. package/dist/features/format/inlineCode/feature.client.js.map +1 -0
  133. package/dist/features/format/inlineCode/feature.server.d.ts.map +1 -0
  134. package/dist/features/format/inlineCode/feature.server.js +20 -0
  135. package/dist/features/format/inlineCode/feature.server.js.map +1 -0
  136. package/dist/features/format/inlineCode/markdownTransformers.d.ts.map +1 -0
  137. package/dist/features/format/inlineCode/markdownTransformers.js.map +1 -0
  138. package/dist/features/format/italic/feature.client.d.ts.map +1 -0
  139. package/dist/features/format/italic/feature.client.js.map +1 -0
  140. package/dist/features/format/italic/feature.server.d.ts.map +1 -0
  141. package/dist/features/format/italic/feature.server.js +21 -0
  142. package/dist/features/format/italic/feature.server.js.map +1 -0
  143. package/dist/features/format/italic/markdownTransformers.d.ts.map +1 -0
  144. package/dist/features/format/italic/markdownTransformers.js.map +1 -0
  145. package/dist/features/format/shared/toolbarFormatGroup.d.ts.map +1 -0
  146. package/dist/features/format/shared/toolbarFormatGroup.js.map +1 -0
  147. package/dist/features/format/strikethrough/feature.client.d.ts.map +1 -0
  148. package/dist/features/format/strikethrough/feature.client.js.map +1 -0
  149. package/dist/features/format/strikethrough/feature.server.d.ts.map +1 -0
  150. package/dist/features/format/strikethrough/feature.server.js +20 -0
  151. package/dist/features/format/strikethrough/feature.server.js.map +1 -0
  152. package/dist/features/format/strikethrough/markdownTransformers.d.ts.map +1 -0
  153. package/dist/features/format/strikethrough/markdownTransformers.js.map +1 -0
  154. package/dist/features/format/subscript/feature.client.d.ts.map +1 -0
  155. package/dist/features/format/subscript/feature.client.js.map +1 -0
  156. package/dist/features/format/subscript/feature.server.d.ts.map +1 -0
  157. package/dist/features/format/subscript/feature.server.js +16 -0
  158. package/dist/features/format/subscript/feature.server.js.map +1 -0
  159. package/dist/features/format/superscript/feature.client.d.ts.map +1 -0
  160. package/dist/features/format/superscript/feature.client.js.map +1 -0
  161. package/dist/features/format/superscript/feature.server.d.ts.map +1 -0
  162. package/dist/features/format/superscript/feature.server.js +16 -0
  163. package/dist/features/format/superscript/feature.server.js.map +1 -0
  164. package/dist/features/format/underline/feature.client.d.ts.map +1 -0
  165. package/dist/features/format/underline/feature.client.js.map +1 -0
  166. package/dist/features/format/underline/feature.server.d.ts.map +1 -0
  167. package/dist/features/format/underline/feature.server.js +16 -0
  168. package/dist/features/format/underline/feature.server.js.map +1 -0
  169. package/dist/features/heading/feature.client.d.ts.map +1 -0
  170. package/dist/features/heading/feature.client.js.map +1 -0
  171. package/dist/features/heading/feature.server.d.ts.map +1 -0
  172. package/dist/features/heading/feature.server.js +61 -0
  173. package/dist/features/heading/feature.server.js.map +1 -0
  174. package/dist/features/heading/i18n.d.ts.map +1 -0
  175. package/dist/features/heading/i18n.js.map +1 -0
  176. package/dist/features/heading/markdownTransformer.d.ts.map +1 -0
  177. package/dist/features/heading/markdownTransformer.js.map +1 -0
  178. package/dist/features/horizontalRule/component/index.d.ts.map +1 -0
  179. package/dist/features/horizontalRule/component/index.js.map +1 -0
  180. package/dist/features/horizontalRule/feature.client.d.ts.map +1 -0
  181. package/dist/features/horizontalRule/feature.client.js.map +1 -0
  182. package/dist/features/horizontalRule/feature.server.d.ts.map +1 -0
  183. package/dist/features/horizontalRule/feature.server.js +39 -0
  184. package/dist/features/horizontalRule/feature.server.js.map +1 -0
  185. package/dist/features/horizontalRule/i18n.d.ts.map +1 -0
  186. package/dist/features/horizontalRule/i18n.js.map +1 -0
  187. package/dist/features/horizontalRule/markdownTransformer.d.ts.map +1 -0
  188. package/dist/features/horizontalRule/markdownTransformer.js.map +1 -0
  189. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.d.ts.map +1 -0
  190. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.js.map +1 -0
  191. package/dist/features/horizontalRule/plugin/index.d.ts.map +1 -0
  192. package/dist/features/horizontalRule/plugin/index.js.map +1 -0
  193. package/dist/features/indent/feature.client.d.ts.map +1 -0
  194. package/dist/features/indent/feature.client.js.map +1 -0
  195. package/dist/features/indent/feature.server.d.ts.map +1 -0
  196. package/dist/features/indent/feature.server.js +19 -0
  197. package/dist/features/indent/feature.server.js.map +1 -0
  198. package/dist/features/indent/i18n.d.ts.map +1 -0
  199. package/dist/features/indent/i18n.js.map +1 -0
  200. package/dist/features/indent/toolbarIndentGroup.d.ts.map +1 -0
  201. package/dist/features/indent/toolbarIndentGroup.js.map +1 -0
  202. package/dist/features/link/drawer/baseFields.d.ts.map +1 -0
  203. package/dist/features/link/drawer/baseFields.js.map +1 -0
  204. package/dist/features/link/drawer/index.d.ts.map +1 -0
  205. package/dist/features/link/drawer/index.js +94 -0
  206. package/dist/features/link/drawer/index.js.map +1 -0
  207. package/dist/features/link/drawer/types.d.ts.map +1 -0
  208. package/dist/features/link/drawer/types.js.map +1 -0
  209. package/dist/features/link/feature.client.d.ts.map +1 -0
  210. package/dist/features/link/feature.client.js.map +1 -0
  211. package/dist/features/link/feature.server.d.ts.map +1 -0
  212. package/dist/features/link/feature.server.js +140 -0
  213. package/dist/features/link/feature.server.js.map +1 -0
  214. package/dist/features/link/graphQLPopulationPromise.d.ts.map +1 -0
  215. package/dist/features/link/graphQLPopulationPromise.js +31 -0
  216. package/dist/features/link/graphQLPopulationPromise.js.map +1 -0
  217. package/dist/features/link/i18n.d.ts.map +1 -0
  218. package/dist/features/link/i18n.js.map +1 -0
  219. package/dist/features/link/markdownTransformer.d.ts.map +1 -0
  220. package/dist/features/link/markdownTransformer.js.map +1 -0
  221. package/dist/features/link/nodes/AutoLinkNode.d.ts.map +1 -0
  222. package/dist/features/link/nodes/AutoLinkNode.js.map +1 -0
  223. package/dist/features/link/nodes/LinkNode.d.ts.map +1 -0
  224. package/dist/features/link/nodes/LinkNode.js.map +1 -0
  225. package/dist/features/link/nodes/types.d.ts.map +1 -0
  226. package/dist/features/link/nodes/types.js.map +1 -0
  227. package/dist/features/link/plugins/autoLink/index.d.ts.map +1 -0
  228. package/dist/features/link/plugins/autoLink/index.js.map +1 -0
  229. package/dist/features/link/plugins/clickableLink/index.d.ts.map +1 -0
  230. package/dist/features/link/plugins/clickableLink/index.js.map +1 -0
  231. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +1 -0
  232. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +1 -0
  233. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -0
  234. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +295 -0
  235. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +1 -0
  236. package/dist/features/link/plugins/floatingLinkEditor/index.d.ts.map +1 -0
  237. package/dist/features/link/plugins/floatingLinkEditor/index.js.map +1 -0
  238. package/dist/features/link/plugins/floatingLinkEditor/types.d.ts.map +1 -0
  239. package/dist/features/link/plugins/floatingLinkEditor/types.js.map +1 -0
  240. package/dist/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +1 -0
  241. package/dist/features/link/plugins/floatingLinkEditor/utilities.js.map +1 -0
  242. package/dist/features/link/plugins/link/index.d.ts.map +1 -0
  243. package/dist/features/link/plugins/link/index.js.map +1 -0
  244. package/dist/features/link/validate.d.ts.map +1 -0
  245. package/dist/features/link/validate.js.map +1 -0
  246. package/dist/features/lists/checklist/feature.client.d.ts.map +1 -0
  247. package/dist/features/lists/checklist/feature.client.js.map +1 -0
  248. package/dist/features/lists/checklist/feature.server.d.ts.map +1 -0
  249. package/dist/features/lists/checklist/feature.server.js +39 -0
  250. package/dist/features/lists/checklist/feature.server.js.map +1 -0
  251. package/dist/features/lists/checklist/i18n.d.ts.map +1 -0
  252. package/dist/features/lists/checklist/i18n.js.map +1 -0
  253. package/dist/features/lists/checklist/markdownTransformers.d.ts.map +1 -0
  254. package/dist/features/lists/checklist/markdownTransformers.js.map +1 -0
  255. package/dist/features/lists/checklist/plugin/index.d.ts.map +1 -0
  256. package/dist/features/lists/checklist/plugin/index.js.map +1 -0
  257. package/dist/features/lists/htmlConverter.d.ts.map +1 -0
  258. package/dist/features/lists/htmlConverter.js +56 -0
  259. package/dist/features/lists/htmlConverter.js.map +1 -0
  260. package/dist/features/lists/orderedList/feature.client.d.ts.map +1 -0
  261. package/dist/features/lists/orderedList/feature.client.js.map +1 -0
  262. package/dist/features/lists/orderedList/feature.server.d.ts.map +1 -0
  263. package/dist/features/lists/orderedList/feature.server.js +39 -0
  264. package/dist/features/lists/orderedList/feature.server.js.map +1 -0
  265. package/dist/features/lists/orderedList/i18n.d.ts.map +1 -0
  266. package/dist/features/lists/orderedList/i18n.js.map +1 -0
  267. package/dist/features/lists/orderedList/markdownTransformer.d.ts.map +1 -0
  268. package/dist/features/lists/orderedList/markdownTransformer.js.map +1 -0
  269. package/dist/features/lists/plugin/index.d.ts.map +1 -0
  270. package/dist/features/lists/plugin/index.js.map +1 -0
  271. package/dist/features/lists/shared/markdown.d.ts.map +1 -0
  272. package/dist/features/lists/shared/markdown.js.map +1 -0
  273. package/dist/features/lists/shared/slashMenuListGroup.d.ts.map +1 -0
  274. package/dist/features/lists/shared/slashMenuListGroup.js.map +1 -0
  275. package/dist/features/lists/unorderedList/feature.client.d.ts.map +1 -0
  276. package/dist/features/lists/unorderedList/feature.client.js.map +1 -0
  277. package/dist/features/lists/unorderedList/feature.server.d.ts.map +1 -0
  278. package/dist/features/lists/unorderedList/feature.server.js +39 -0
  279. package/dist/features/lists/unorderedList/feature.server.js.map +1 -0
  280. package/dist/features/lists/unorderedList/i18n.d.ts.map +1 -0
  281. package/dist/features/lists/unorderedList/i18n.js.map +1 -0
  282. package/dist/features/lists/unorderedList/markdownTransformer.d.ts.map +1 -0
  283. package/dist/features/lists/unorderedList/markdownTransformer.js.map +1 -0
  284. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +1 -0
  285. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +1 -0
  286. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  287. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +1 -0
  288. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +1 -0
  289. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +1 -0
  290. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +1 -0
  291. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +1 -0
  292. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +1 -0
  293. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +1 -0
  294. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +1 -0
  295. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +1 -0
  296. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +1 -0
  297. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +1 -0
  298. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +1 -0
  299. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +1 -0
  300. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +1 -0
  301. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +1 -0
  302. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +1 -0
  303. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +1 -0
  304. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  305. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +1 -0
  306. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +1 -0
  307. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +1 -0
  308. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +1 -0
  309. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +1 -0
  310. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +1 -0
  311. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +1 -0
  312. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +1 -0
  313. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +1 -0
  314. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +1 -0
  315. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +1 -0
  316. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  317. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +1 -0
  318. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +1 -0
  319. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +1 -0
  320. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +1 -0
  321. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +1 -0
  322. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  323. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +1 -0
  324. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +1 -0
  325. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +1 -0
  326. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +1 -0
  327. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +1 -0
  328. package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +1 -0
  329. package/dist/features/migrations/lexicalPluginToLexical/converter/index.js.map +1 -0
  330. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +1 -0
  331. package/dist/features/migrations/lexicalPluginToLexical/converter/types.js.map +1 -0
  332. package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +1 -0
  333. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js.map +1 -0
  334. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +1 -0
  335. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js +48 -0
  336. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js.map +1 -0
  337. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  338. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
  339. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  340. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
  341. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +1 -0
  342. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +1 -0
  343. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +1 -0
  344. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +1 -0
  345. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +1 -0
  346. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +1 -0
  347. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +1 -0
  348. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.js.map +1 -0
  349. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  350. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +1 -0
  351. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +1 -0
  352. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.js.map +1 -0
  353. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +1 -0
  354. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.js.map +1 -0
  355. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +1 -0
  356. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +1 -0
  357. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +1 -0
  358. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.js.map +1 -0
  359. package/dist/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +1 -0
  360. package/dist/features/migrations/slateToLexical/converter/converters/link/client.js.map +1 -0
  361. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +1 -0
  362. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js.map +1 -0
  363. package/dist/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +1 -0
  364. package/dist/features/migrations/slateToLexical/converter/converters/link/index.js.map +1 -0
  365. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +1 -0
  366. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +1 -0
  367. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  368. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +1 -0
  369. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +1 -0
  370. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +1 -0
  371. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +1 -0
  372. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +1 -0
  373. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +1 -0
  374. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +1 -0
  375. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +1 -0
  376. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +1 -0
  377. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +1 -0
  378. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +1 -0
  379. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +1 -0
  380. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +1 -0
  381. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +1 -0
  382. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +1 -0
  383. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +1 -0
  384. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +1 -0
  385. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  386. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +1 -0
  387. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +1 -0
  388. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +1 -0
  389. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +1 -0
  390. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +1 -0
  391. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +1 -0
  392. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +1 -0
  393. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +1 -0
  394. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +1 -0
  395. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +1 -0
  396. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.js.map +1 -0
  397. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  398. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +1 -0
  399. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +1 -0
  400. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.js.map +1 -0
  401. package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +1 -0
  402. package/dist/features/migrations/slateToLexical/converter/defaultConverters.js.map +1 -0
  403. package/dist/features/migrations/slateToLexical/converter/index.d.ts.map +1 -0
  404. package/dist/features/migrations/slateToLexical/converter/index.js.map +1 -0
  405. package/dist/features/migrations/slateToLexical/converter/types.d.ts.map +1 -0
  406. package/dist/features/migrations/slateToLexical/converter/types.js.map +1 -0
  407. package/dist/features/migrations/slateToLexical/feature.client.d.ts.map +1 -0
  408. package/dist/features/migrations/slateToLexical/feature.client.js.map +1 -0
  409. package/dist/features/migrations/slateToLexical/feature.server.d.ts.map +1 -0
  410. package/dist/features/migrations/slateToLexical/feature.server.js +48 -0
  411. package/dist/features/migrations/slateToLexical/feature.server.js.map +1 -0
  412. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  413. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
  414. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  415. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
  416. package/dist/features/paragraph/feature.client.d.ts.map +1 -0
  417. package/dist/features/paragraph/feature.client.js.map +1 -0
  418. package/dist/features/paragraph/feature.server.d.ts.map +1 -0
  419. package/dist/features/paragraph/feature.server.js +19 -0
  420. package/dist/features/paragraph/feature.server.js.map +1 -0
  421. package/dist/features/paragraph/i18n.d.ts.map +1 -0
  422. package/dist/features/paragraph/i18n.js.map +1 -0
  423. package/dist/features/relationship/drawer/commands.d.ts.map +1 -0
  424. package/dist/features/relationship/drawer/commands.js.map +1 -0
  425. package/dist/features/relationship/drawer/index.d.ts.map +1 -0
  426. package/dist/features/relationship/drawer/index.js +83 -0
  427. package/dist/features/relationship/drawer/index.js.map +1 -0
  428. package/dist/features/relationship/feature.client.d.ts.map +1 -0
  429. package/dist/features/relationship/feature.client.js.map +1 -0
  430. package/dist/features/relationship/feature.server.d.ts.map +1 -0
  431. package/dist/features/relationship/feature.server.js +61 -0
  432. package/dist/features/relationship/feature.server.js.map +1 -0
  433. package/dist/features/relationship/graphQLPopulationPromise.d.ts.map +1 -0
  434. package/dist/features/relationship/graphQLPopulationPromise.js +29 -0
  435. package/dist/features/relationship/graphQLPopulationPromise.js.map +1 -0
  436. package/dist/features/relationship/i18n.d.ts.map +1 -0
  437. package/dist/features/relationship/i18n.js.map +1 -0
  438. package/dist/features/relationship/nodes/RelationshipNode.d.ts.map +1 -0
  439. package/dist/features/relationship/nodes/RelationshipNode.js.map +1 -0
  440. package/dist/features/relationship/nodes/components/RelationshipComponent.d.ts.map +1 -0
  441. package/dist/features/relationship/nodes/components/RelationshipComponent.js +172 -0
  442. package/dist/features/relationship/nodes/components/RelationshipComponent.js.map +1 -0
  443. package/dist/features/relationship/plugins/index.d.ts.map +1 -0
  444. package/dist/features/relationship/plugins/index.js +50 -0
  445. package/dist/features/relationship/plugins/index.js.map +1 -0
  446. package/dist/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +1 -0
  447. package/dist/features/relationship/utils/EnabledRelationshipsCondition.js +33 -0
  448. package/dist/features/relationship/utils/EnabledRelationshipsCondition.js.map +1 -0
  449. package/dist/features/shared/slashMenu/basicGroup.d.ts.map +1 -0
  450. package/dist/features/shared/slashMenu/basicGroup.js.map +1 -0
  451. package/dist/features/shared/toolbar/addDropdownGroup.d.ts.map +1 -0
  452. package/dist/features/shared/toolbar/addDropdownGroup.js.map +1 -0
  453. package/dist/features/shared/toolbar/featureButtonsGroup.d.ts.map +1 -0
  454. package/dist/features/shared/toolbar/featureButtonsGroup.js.map +1 -0
  455. package/dist/features/shared/toolbar/textDropdownGroup.d.ts.map +1 -0
  456. package/dist/features/shared/toolbar/textDropdownGroup.js.map +1 -0
  457. package/dist/features/toolbars/fixed/Toolbar/index.d.ts.map +1 -0
  458. package/dist/features/toolbars/fixed/Toolbar/index.js +207 -0
  459. package/dist/features/toolbars/fixed/Toolbar/index.js.map +1 -0
  460. package/dist/features/toolbars/fixed/feature.client.d.ts.map +1 -0
  461. package/dist/features/toolbars/fixed/feature.client.js.map +1 -0
  462. package/dist/features/toolbars/fixed/feature.server.d.ts.map +1 -0
  463. package/dist/features/toolbars/fixed/feature.server.js +21 -0
  464. package/dist/features/toolbars/fixed/feature.server.js.map +1 -0
  465. package/dist/features/toolbars/inline/Toolbar/index.d.ts.map +1 -0
  466. package/dist/features/toolbars/inline/Toolbar/index.js.map +1 -0
  467. package/dist/features/toolbars/inline/feature.client.d.ts.map +1 -0
  468. package/dist/features/toolbars/inline/feature.client.js.map +1 -0
  469. package/dist/features/toolbars/inline/feature.server.d.ts.map +1 -0
  470. package/dist/features/toolbars/inline/feature.server.js +16 -0
  471. package/dist/features/toolbars/inline/feature.server.js.map +1 -0
  472. package/dist/features/toolbars/shared/ToolbarButton/index.d.ts.map +1 -0
  473. package/dist/features/toolbars/shared/ToolbarButton/index.js.map +1 -0
  474. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +1 -0
  475. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +1 -0
  476. package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +1 -0
  477. package/dist/features/toolbars/shared/ToolbarDropdown/index.js +141 -0
  478. package/dist/features/toolbars/shared/ToolbarDropdown/index.js.map +1 -0
  479. package/dist/features/toolbars/types.d.ts.map +1 -0
  480. package/dist/features/toolbars/types.js.map +1 -0
  481. package/dist/features/typeUtilities.d.ts.map +1 -0
  482. package/dist/features/typeUtilities.js.map +1 -0
  483. package/dist/features/types.d.ts +468 -0
  484. package/dist/features/types.d.ts.map +1 -0
  485. package/dist/features/types.js.map +1 -0
  486. package/dist/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +1 -0
  487. package/dist/features/upload/component/ExtraFieldsDrawer/index.js +123 -0
  488. package/dist/features/upload/component/ExtraFieldsDrawer/index.js.map +1 -0
  489. package/dist/features/upload/component/index.d.ts.map +1 -0
  490. package/dist/features/upload/component/index.js +219 -0
  491. package/dist/features/upload/component/index.js.map +1 -0
  492. package/dist/features/upload/drawer/commands.d.ts.map +1 -0
  493. package/dist/features/upload/drawer/commands.js.map +1 -0
  494. package/dist/features/upload/drawer/index.d.ts.map +1 -0
  495. package/dist/features/upload/drawer/index.js +77 -0
  496. package/dist/features/upload/drawer/index.js.map +1 -0
  497. package/dist/features/upload/feature.client.d.ts.map +1 -0
  498. package/dist/features/upload/feature.client.js.map +1 -0
  499. package/dist/features/upload/feature.server.d.ts.map +1 -0
  500. package/dist/features/upload/feature.server.js +196 -0
  501. package/dist/features/upload/feature.server.js.map +1 -0
  502. package/dist/features/upload/graphQLPopulationPromise.d.ts.map +1 -0
  503. package/dist/features/upload/graphQLPopulationPromise.js +52 -0
  504. package/dist/features/upload/graphQLPopulationPromise.js.map +1 -0
  505. package/dist/features/upload/i18n.d.ts.map +1 -0
  506. package/dist/features/upload/i18n.js.map +1 -0
  507. package/dist/features/upload/nodes/UploadNode.d.ts.map +1 -0
  508. package/dist/features/upload/nodes/UploadNode.js.map +1 -0
  509. package/dist/features/upload/plugin/index.d.ts.map +1 -0
  510. package/dist/features/upload/plugin/index.js +53 -0
  511. package/dist/features/upload/plugin/index.js.map +1 -0
  512. package/dist/features/upload/validate.d.ts.map +1 -0
  513. package/dist/features/upload/validate.js.map +1 -0
  514. package/dist/field/Field.d.ts +3 -3
  515. package/dist/field/Field.d.ts.map +1 -1
  516. package/dist/field/Field.js +2 -2
  517. package/dist/field/Field.js.map +1 -1
  518. package/dist/field/index.d.ts +1 -1
  519. package/dist/field/index.d.ts.map +1 -1
  520. package/dist/field/index.js +7 -7
  521. package/dist/field/index.js.map +1 -1
  522. package/dist/index.d.ts +66 -66
  523. package/dist/index.d.ts.map +1 -1
  524. package/dist/index.js +96 -67
  525. package/dist/index.js.map +1 -1
  526. package/dist/lexical/EditorPlugin.d.ts +8 -0
  527. package/dist/lexical/EditorPlugin.d.ts.map +1 -0
  528. package/dist/lexical/EditorPlugin.js +15 -0
  529. package/dist/lexical/EditorPlugin.js.map +1 -0
  530. package/dist/lexical/LexicalEditor.d.ts.map +1 -0
  531. package/dist/lexical/LexicalEditor.js +192 -0
  532. package/dist/lexical/LexicalEditor.js.map +1 -0
  533. package/dist/lexical/LexicalProvider.d.ts +18 -0
  534. package/dist/lexical/LexicalProvider.d.ts.map +1 -0
  535. package/dist/lexical/LexicalProvider.js.map +1 -0
  536. package/dist/lexical/config/client/EditorConfigProvider.d.ts +35 -0
  537. package/dist/lexical/config/client/EditorConfigProvider.d.ts.map +1 -0
  538. package/dist/lexical/config/client/EditorConfigProvider.js.map +1 -0
  539. package/dist/lexical/config/client/default.d.ts.map +1 -0
  540. package/dist/lexical/config/client/default.js.map +1 -0
  541. package/dist/lexical/config/client/loader.d.ts.map +1 -0
  542. package/dist/lexical/config/client/loader.js.map +1 -0
  543. package/dist/lexical/config/client/sanitize.d.ts +7 -0
  544. package/dist/lexical/config/client/sanitize.d.ts.map +1 -0
  545. package/dist/lexical/config/client/sanitize.js.map +1 -0
  546. package/dist/lexical/config/server/default.d.ts.map +1 -0
  547. package/dist/lexical/config/server/default.js.map +1 -0
  548. package/dist/lexical/config/server/loader.d.ts.map +1 -0
  549. package/dist/lexical/config/server/loader.js.map +1 -0
  550. package/dist/lexical/config/server/sanitize.d.ts.map +1 -0
  551. package/dist/lexical/config/server/sanitize.js.map +1 -0
  552. package/dist/lexical/config/types.d.ts +23 -0
  553. package/dist/lexical/config/types.d.ts.map +1 -0
  554. package/dist/lexical/config/types.js.map +1 -0
  555. package/dist/lexical/nodes/index.d.ts.map +1 -0
  556. package/dist/lexical/nodes/index.js.map +1 -0
  557. package/dist/lexical/plugins/MarkdownShortcut/index.d.ts.map +1 -0
  558. package/dist/lexical/plugins/MarkdownShortcut/index.js.map +1 -0
  559. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +1 -0
  560. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +1 -0
  561. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +1 -0
  562. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +1 -0
  563. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +1 -0
  564. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +1 -0
  565. package/dist/lexical/plugins/SlashMenu/index.d.ts.map +1 -0
  566. package/dist/lexical/plugins/SlashMenu/index.js +187 -0
  567. package/dist/lexical/plugins/SlashMenu/index.js.map +1 -0
  568. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +1 -0
  569. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +1 -0
  570. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +1 -0
  571. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +1 -0
  572. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +1 -0
  573. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +1 -0
  574. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +1 -0
  575. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +1 -0
  576. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +1 -0
  577. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +1 -0
  578. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +1 -0
  579. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +1 -0
  580. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +1 -0
  581. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +1 -0
  582. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts.map +1 -0
  583. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js.map +1 -0
  584. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +1 -0
  585. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +1 -0
  586. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +1 -0
  587. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.js.map +1 -0
  588. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts.map +1 -0
  589. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.js.map +1 -0
  590. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +1 -0
  591. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +1 -0
  592. package/dist/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +1 -0
  593. package/dist/lexical/plugins/handles/utils/isOnHandleElement.js.map +1 -0
  594. package/dist/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +1 -0
  595. package/dist/lexical/plugins/handles/utils/setHandlePosition.js.map +1 -0
  596. package/dist/lexical/theme/EditorTheme.d.ts.map +1 -0
  597. package/dist/lexical/theme/EditorTheme.js.map +1 -0
  598. package/dist/lexical/ui/ContentEditable.d.ts.map +1 -0
  599. package/dist/lexical/ui/ContentEditable.js.map +1 -0
  600. package/dist/lexical/ui/icons/AI/index.d.ts.map +1 -0
  601. package/dist/lexical/ui/icons/AI/index.js.map +1 -0
  602. package/dist/lexical/ui/icons/Add/index.d.ts.map +1 -0
  603. package/dist/lexical/ui/icons/Add/index.js.map +1 -0
  604. package/dist/lexical/ui/icons/AlignCenter/index.d.ts.map +1 -0
  605. package/dist/lexical/ui/icons/AlignCenter/index.js.map +1 -0
  606. package/dist/lexical/ui/icons/AlignJustify/index.d.ts.map +1 -0
  607. package/dist/lexical/ui/icons/AlignJustify/index.js.map +1 -0
  608. package/dist/lexical/ui/icons/AlignLeft/index.d.ts.map +1 -0
  609. package/dist/lexical/ui/icons/AlignLeft/index.js.map +1 -0
  610. package/dist/lexical/ui/icons/AlignRight/index.d.ts.map +1 -0
  611. package/dist/lexical/ui/icons/AlignRight/index.js.map +1 -0
  612. package/dist/lexical/ui/icons/Block/index.d.ts.map +1 -0
  613. package/dist/lexical/ui/icons/Block/index.js.map +1 -0
  614. package/dist/lexical/ui/icons/Blockquote/index.d.ts.map +1 -0
  615. package/dist/lexical/ui/icons/Blockquote/index.js.map +1 -0
  616. package/dist/lexical/ui/icons/Bold/index.d.ts.map +1 -0
  617. package/dist/lexical/ui/icons/Bold/index.js.map +1 -0
  618. package/dist/lexical/ui/icons/Checklist/index.d.ts.map +1 -0
  619. package/dist/lexical/ui/icons/Checklist/index.js.map +1 -0
  620. package/dist/lexical/ui/icons/Code/index.d.ts.map +1 -0
  621. package/dist/lexical/ui/icons/Code/index.js.map +1 -0
  622. package/dist/lexical/ui/icons/CodeBlock/index.d.ts.map +1 -0
  623. package/dist/lexical/ui/icons/CodeBlock/index.js.map +1 -0
  624. package/dist/lexical/ui/icons/H1/index.d.ts.map +1 -0
  625. package/dist/lexical/ui/icons/H1/index.js.map +1 -0
  626. package/dist/lexical/ui/icons/H2/index.d.ts.map +1 -0
  627. package/dist/lexical/ui/icons/H2/index.js.map +1 -0
  628. package/dist/lexical/ui/icons/H3/index.d.ts.map +1 -0
  629. package/dist/lexical/ui/icons/H3/index.js.map +1 -0
  630. package/dist/lexical/ui/icons/H4/index.d.ts.map +1 -0
  631. package/dist/lexical/ui/icons/H4/index.js.map +1 -0
  632. package/dist/lexical/ui/icons/H5/index.d.ts.map +1 -0
  633. package/dist/lexical/ui/icons/H5/index.js.map +1 -0
  634. package/dist/lexical/ui/icons/H6/index.d.ts.map +1 -0
  635. package/dist/lexical/ui/icons/H6/index.js.map +1 -0
  636. package/dist/lexical/ui/icons/HorizontalRule/index.d.ts.map +1 -0
  637. package/dist/lexical/ui/icons/HorizontalRule/index.js.map +1 -0
  638. package/dist/lexical/ui/icons/IndentDecrease/index.d.ts.map +1 -0
  639. package/dist/lexical/ui/icons/IndentDecrease/index.js.map +1 -0
  640. package/dist/lexical/ui/icons/IndentIncrease/index.d.ts.map +1 -0
  641. package/dist/lexical/ui/icons/IndentIncrease/index.js.map +1 -0
  642. package/dist/lexical/ui/icons/Italic/index.d.ts.map +1 -0
  643. package/dist/lexical/ui/icons/Italic/index.js.map +1 -0
  644. package/dist/lexical/ui/icons/Link/index.d.ts.map +1 -0
  645. package/dist/lexical/ui/icons/Link/index.js.map +1 -0
  646. package/dist/lexical/ui/icons/OrderedList/index.d.ts.map +1 -0
  647. package/dist/lexical/ui/icons/OrderedList/index.js.map +1 -0
  648. package/dist/lexical/ui/icons/Relationship/index.d.ts.map +1 -0
  649. package/dist/lexical/ui/icons/Relationship/index.js.map +1 -0
  650. package/dist/lexical/ui/icons/Strikethrough/index.d.ts.map +1 -0
  651. package/dist/lexical/ui/icons/Strikethrough/index.js.map +1 -0
  652. package/dist/lexical/ui/icons/Subscript/index.d.ts.map +1 -0
  653. package/dist/lexical/ui/icons/Subscript/index.js.map +1 -0
  654. package/dist/lexical/ui/icons/Superscript/index.d.ts.map +1 -0
  655. package/dist/lexical/ui/icons/Superscript/index.js.map +1 -0
  656. package/dist/lexical/ui/icons/Text/index.d.ts.map +1 -0
  657. package/dist/lexical/ui/icons/Text/index.js.map +1 -0
  658. package/dist/lexical/ui/icons/Underline/index.d.ts.map +1 -0
  659. package/dist/lexical/ui/icons/Underline/index.js.map +1 -0
  660. package/dist/lexical/ui/icons/UnorderedList/index.d.ts.map +1 -0
  661. package/dist/lexical/ui/icons/UnorderedList/index.js.map +1 -0
  662. package/dist/lexical/ui/icons/Upload/index.d.ts.map +1 -0
  663. package/dist/lexical/ui/icons/Upload/index.js.map +1 -0
  664. package/dist/lexical/utils/canUseDOM.d.ts.map +1 -0
  665. package/dist/lexical/utils/canUseDOM.js.map +1 -0
  666. package/dist/lexical/utils/cloneDeep.d.ts.map +1 -0
  667. package/dist/lexical/utils/cloneDeep.js +50 -0
  668. package/dist/lexical/utils/cloneDeep.js.map +1 -0
  669. package/dist/lexical/utils/environment.d.ts.map +1 -0
  670. package/dist/lexical/utils/environment.js.map +1 -0
  671. package/dist/lexical/utils/getDOMRangeRect.d.ts.map +1 -0
  672. package/dist/lexical/utils/getDOMRangeRect.js.map +1 -0
  673. package/dist/lexical/utils/getSelectedNode.d.ts.map +1 -0
  674. package/dist/lexical/utils/getSelectedNode.js.map +1 -0
  675. package/dist/lexical/utils/guard.d.ts.map +1 -0
  676. package/dist/lexical/utils/guard.js.map +1 -0
  677. package/dist/lexical/utils/invariant.d.ts.map +1 -0
  678. package/dist/lexical/utils/invariant.js.map +1 -0
  679. package/dist/lexical/utils/joinClasses.d.ts.map +1 -0
  680. package/dist/lexical/utils/joinClasses.js.map +1 -0
  681. package/dist/lexical/utils/markdown/createBlockNode.d.ts.map +1 -0
  682. package/dist/lexical/utils/markdown/createBlockNode.js.map +1 -0
  683. package/dist/lexical/utils/nodeFormat.d.ts.map +1 -0
  684. package/dist/lexical/utils/nodeFormat.js.map +1 -0
  685. package/dist/lexical/utils/point.d.ts.map +1 -0
  686. package/dist/lexical/utils/point.js.map +1 -0
  687. package/dist/lexical/utils/rect.d.ts.map +1 -0
  688. package/dist/lexical/utils/rect.js.map +1 -0
  689. package/dist/lexical/utils/setFloatingElemPosition.d.ts.map +1 -0
  690. package/dist/lexical/utils/setFloatingElemPosition.js.map +1 -0
  691. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +1 -0
  692. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +1 -0
  693. package/dist/lexical/utils/swipe.d.ts.map +1 -0
  694. package/dist/lexical/utils/swipe.js.map +1 -0
  695. package/dist/lexical/utils/url.d.ts.map +1 -0
  696. package/dist/lexical/utils/url.js.map +1 -0
  697. package/dist/populateGraphQL/populate.d.ts +3 -3
  698. package/dist/populateGraphQL/populate.d.ts.map +1 -1
  699. package/dist/populateGraphQL/populate.js +2 -2
  700. package/dist/populateGraphQL/populate.js.map +1 -1
  701. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts +1 -1
  702. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts.map +1 -1
  703. package/dist/populateGraphQL/populateLexicalPopulationPromises.js +1 -1
  704. package/dist/populateGraphQL/populateLexicalPopulationPromises.js.map +1 -1
  705. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts +1 -1
  706. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts.map +1 -1
  707. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js.map +1 -1
  708. package/dist/types.d.ts +2 -2
  709. package/dist/types.d.ts.map +1 -1
  710. package/dist/types.js.map +1 -1
  711. package/dist/utilities/forEachNodeRecursively.d.ts.map +1 -0
  712. package/dist/utilities/forEachNodeRecursively.js.map +1 -0
  713. package/dist/utilities/generateComponentMap.d.ts +6 -0
  714. package/dist/utilities/generateComponentMap.d.ts.map +1 -0
  715. package/dist/utilities/generateComponentMap.js.map +1 -0
  716. package/dist/utilities/generateSchemaMap.d.ts +6 -0
  717. package/dist/utilities/generateSchemaMap.d.ts.map +1 -0
  718. package/dist/utilities/generateSchemaMap.js.map +1 -0
  719. package/dist/utilities/recurseNodeTree.d.ts.map +1 -0
  720. package/dist/utilities/recurseNodeTree.js.map +1 -0
  721. package/dist/utilities/useLexicalFeature.d.ts +3 -0
  722. package/dist/utilities/useLexicalFeature.d.ts.map +1 -0
  723. package/dist/utilities/useLexicalFeature.js +12 -0
  724. package/dist/utilities/useLexicalFeature.js.map +1 -0
  725. package/dist/validate/index.d.ts +1 -1
  726. package/dist/validate/index.d.ts.map +1 -1
  727. package/dist/validate/index.js.map +1 -1
  728. package/dist/validate/validateNodes.d.ts +1 -1
  729. package/dist/validate/validateNodes.d.ts.map +1 -1
  730. package/dist/validate/validateNodes.js.map +1 -1
  731. package/package.json +13 -13
  732. package/dist/exports/client/Component-6AVANNNR.js +0 -2
  733. package/dist/exports/client/Component-6AVANNNR.js.map +0 -7
  734. package/dist/exports/client/Component-SZVAYRJX.js +0 -2
  735. package/dist/exports/client/Component-SZVAYRJX.js.map +0 -7
  736. package/dist/exports/client/Field-U5PHZTST.js +0 -2
  737. package/dist/exports/client/Field-U5PHZTST.js.map +0 -7
  738. package/dist/exports/client/RelationshipComponent-FGUPLCD2.js +0 -2
  739. package/dist/exports/client/RelationshipComponent-FGUPLCD2.js.map +0 -7
  740. package/dist/exports/client/chunk-35NZOHAF.js +0 -2
  741. package/dist/exports/client/chunk-35NZOHAF.js.map +0 -7
  742. package/dist/exports/client/chunk-3PZ2ZFQG.js +0 -3
  743. package/dist/exports/client/chunk-3PZ2ZFQG.js.map +0 -7
  744. package/dist/exports/client/chunk-FSTRW2TI.js +0 -2
  745. package/dist/exports/client/chunk-FSTRW2TI.js.map +0 -7
  746. package/dist/exports/client/chunk-M6MN4CA5.js +0 -2
  747. package/dist/exports/client/chunk-M6MN4CA5.js.map +0 -7
  748. package/dist/exports/client/chunk-Y5455JF3.js +0 -2
  749. package/dist/exports/client/chunk-Y5455JF3.js.map +0 -7
  750. package/dist/exports/client/component-FFLILIUZ.js +0 -2
  751. package/dist/exports/client/component-FFLILIUZ.js.map +0 -7
  752. package/dist/exports/client/component-RAVN56DE.js +0 -2
  753. package/dist/exports/client/component-RAVN56DE.js.map +0 -7
  754. package/dist/exports/client/component-Z34HXRX3.js +0 -2
  755. package/dist/exports/client/component-Z34HXRX3.js.map +0 -7
  756. package/dist/field/features/align/feature.client.d.ts.map +0 -1
  757. package/dist/field/features/align/feature.client.js.map +0 -1
  758. package/dist/field/features/align/feature.server.d.ts.map +0 -1
  759. package/dist/field/features/align/feature.server.js +0 -19
  760. package/dist/field/features/align/feature.server.js.map +0 -1
  761. package/dist/field/features/align/i18n.d.ts.map +0 -1
  762. package/dist/field/features/align/i18n.js.map +0 -1
  763. package/dist/field/features/align/toolbarAlignGroup.d.ts.map +0 -1
  764. package/dist/field/features/align/toolbarAlignGroup.js.map +0 -1
  765. package/dist/field/features/blockquote/feature.client.d.ts.map +0 -1
  766. package/dist/field/features/blockquote/feature.client.js.map +0 -1
  767. package/dist/field/features/blockquote/feature.server.d.ts.map +0 -1
  768. package/dist/field/features/blockquote/feature.server.js +0 -50
  769. package/dist/field/features/blockquote/feature.server.js.map +0 -1
  770. package/dist/field/features/blockquote/i18n.d.ts.map +0 -1
  771. package/dist/field/features/blockquote/i18n.js.map +0 -1
  772. package/dist/field/features/blockquote/markdownTransformer.d.ts.map +0 -1
  773. package/dist/field/features/blockquote/markdownTransformer.js.map +0 -1
  774. package/dist/field/features/blocks/component/BlockContent.d.ts +0 -27
  775. package/dist/field/features/blocks/component/BlockContent.d.ts.map +0 -1
  776. package/dist/field/features/blocks/component/BlockContent.js +0 -193
  777. package/dist/field/features/blocks/component/BlockContent.js.map +0 -1
  778. package/dist/field/features/blocks/component/FormSavePlugin.d.ts.map +0 -1
  779. package/dist/field/features/blocks/component/FormSavePlugin.js +0 -29
  780. package/dist/field/features/blocks/component/FormSavePlugin.js.map +0 -1
  781. package/dist/field/features/blocks/component/index.d.ts.map +0 -1
  782. package/dist/field/features/blocks/component/index.js +0 -158
  783. package/dist/field/features/blocks/component/index.js.map +0 -1
  784. package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts.map +0 -1
  785. package/dist/field/features/blocks/component/removeEmptyArrayValues.js.map +0 -1
  786. package/dist/field/features/blocks/drawer/index.d.ts.map +0 -1
  787. package/dist/field/features/blocks/drawer/index.js +0 -78
  788. package/dist/field/features/blocks/drawer/index.js.map +0 -1
  789. package/dist/field/features/blocks/feature.client.d.ts.map +0 -1
  790. package/dist/field/features/blocks/feature.client.js.map +0 -1
  791. package/dist/field/features/blocks/feature.server.d.ts.map +0 -1
  792. package/dist/field/features/blocks/feature.server.js +0 -107
  793. package/dist/field/features/blocks/feature.server.js.map +0 -1
  794. package/dist/field/features/blocks/graphQLPopulationPromise.d.ts.map +0 -1
  795. package/dist/field/features/blocks/graphQLPopulationPromise.js +0 -31
  796. package/dist/field/features/blocks/graphQLPopulationPromise.js.map +0 -1
  797. package/dist/field/features/blocks/i18n.d.ts.map +0 -1
  798. package/dist/field/features/blocks/i18n.js.map +0 -1
  799. package/dist/field/features/blocks/nodes/BlocksNode.d.ts.map +0 -1
  800. package/dist/field/features/blocks/nodes/BlocksNode.js.map +0 -1
  801. package/dist/field/features/blocks/plugin/commands.d.ts.map +0 -1
  802. package/dist/field/features/blocks/plugin/commands.js.map +0 -1
  803. package/dist/field/features/blocks/plugin/index.d.ts.map +0 -1
  804. package/dist/field/features/blocks/plugin/index.js.map +0 -1
  805. package/dist/field/features/blocks/validate.d.ts.map +0 -1
  806. package/dist/field/features/blocks/validate.js.map +0 -1
  807. package/dist/field/features/converters/html/converter/converters/linebreak.d.ts.map +0 -1
  808. package/dist/field/features/converters/html/converter/converters/linebreak.js.map +0 -1
  809. package/dist/field/features/converters/html/converter/converters/paragraph.d.ts.map +0 -1
  810. package/dist/field/features/converters/html/converter/converters/paragraph.js +0 -20
  811. package/dist/field/features/converters/html/converter/converters/paragraph.js.map +0 -1
  812. package/dist/field/features/converters/html/converter/converters/text.d.ts.map +0 -1
  813. package/dist/field/features/converters/html/converter/converters/text.js.map +0 -1
  814. package/dist/field/features/converters/html/converter/defaultConverters.d.ts.map +0 -1
  815. package/dist/field/features/converters/html/converter/defaultConverters.js.map +0 -1
  816. package/dist/field/features/converters/html/converter/index.d.ts +0 -21
  817. package/dist/field/features/converters/html/converter/index.d.ts.map +0 -1
  818. package/dist/field/features/converters/html/converter/index.js +0 -44
  819. package/dist/field/features/converters/html/converter/index.js.map +0 -1
  820. package/dist/field/features/converters/html/converter/types.d.ts +0 -19
  821. package/dist/field/features/converters/html/converter/types.d.ts.map +0 -1
  822. package/dist/field/features/converters/html/converter/types.js.map +0 -1
  823. package/dist/field/features/converters/html/feature.server.d.ts.map +0 -1
  824. package/dist/field/features/converters/html/feature.server.js.map +0 -1
  825. package/dist/field/features/converters/html/field/index.d.ts.map +0 -1
  826. package/dist/field/features/converters/html/field/index.js +0 -154
  827. package/dist/field/features/converters/html/field/index.js.map +0 -1
  828. package/dist/field/features/createClientComponent.d.ts.map +0 -1
  829. package/dist/field/features/createClientComponent.js +0 -12
  830. package/dist/field/features/createClientComponent.js.map +0 -1
  831. package/dist/field/features/createFeaturePropComponent.d.ts.map +0 -1
  832. package/dist/field/features/createFeaturePropComponent.js +0 -18
  833. package/dist/field/features/createFeaturePropComponent.js.map +0 -1
  834. package/dist/field/features/debug/testRecorder/feature.client.d.ts.map +0 -1
  835. package/dist/field/features/debug/testRecorder/feature.client.js.map +0 -1
  836. package/dist/field/features/debug/testRecorder/feature.server.d.ts.map +0 -1
  837. package/dist/field/features/debug/testRecorder/feature.server.js +0 -16
  838. package/dist/field/features/debug/testRecorder/feature.server.js.map +0 -1
  839. package/dist/field/features/debug/testRecorder/plugin/index.d.ts.map +0 -1
  840. package/dist/field/features/debug/testRecorder/plugin/index.js.map +0 -1
  841. package/dist/field/features/debug/treeView/feature.client.d.ts.map +0 -1
  842. package/dist/field/features/debug/treeView/feature.client.js.map +0 -1
  843. package/dist/field/features/debug/treeView/feature.server.d.ts.map +0 -1
  844. package/dist/field/features/debug/treeView/feature.server.js +0 -16
  845. package/dist/field/features/debug/treeView/feature.server.js.map +0 -1
  846. package/dist/field/features/debug/treeView/plugin/index.d.ts.map +0 -1
  847. package/dist/field/features/debug/treeView/plugin/index.js.map +0 -1
  848. package/dist/field/features/format/bold/feature.client.d.ts.map +0 -1
  849. package/dist/field/features/format/bold/feature.client.js.map +0 -1
  850. package/dist/field/features/format/bold/feature.server.d.ts.map +0 -1
  851. package/dist/field/features/format/bold/feature.server.js +0 -28
  852. package/dist/field/features/format/bold/feature.server.js.map +0 -1
  853. package/dist/field/features/format/bold/markdownTransformers.d.ts.map +0 -1
  854. package/dist/field/features/format/bold/markdownTransformers.js.map +0 -1
  855. package/dist/field/features/format/inlineCode/feature.client.d.ts.map +0 -1
  856. package/dist/field/features/format/inlineCode/feature.client.js.map +0 -1
  857. package/dist/field/features/format/inlineCode/feature.server.d.ts.map +0 -1
  858. package/dist/field/features/format/inlineCode/feature.server.js +0 -20
  859. package/dist/field/features/format/inlineCode/feature.server.js.map +0 -1
  860. package/dist/field/features/format/inlineCode/markdownTransformers.d.ts.map +0 -1
  861. package/dist/field/features/format/inlineCode/markdownTransformers.js.map +0 -1
  862. package/dist/field/features/format/italic/feature.client.d.ts.map +0 -1
  863. package/dist/field/features/format/italic/feature.client.js.map +0 -1
  864. package/dist/field/features/format/italic/feature.server.d.ts.map +0 -1
  865. package/dist/field/features/format/italic/feature.server.js +0 -21
  866. package/dist/field/features/format/italic/feature.server.js.map +0 -1
  867. package/dist/field/features/format/italic/markdownTransformers.d.ts.map +0 -1
  868. package/dist/field/features/format/italic/markdownTransformers.js.map +0 -1
  869. package/dist/field/features/format/shared/toolbarFormatGroup.d.ts.map +0 -1
  870. package/dist/field/features/format/shared/toolbarFormatGroup.js.map +0 -1
  871. package/dist/field/features/format/strikethrough/feature.client.d.ts.map +0 -1
  872. package/dist/field/features/format/strikethrough/feature.client.js.map +0 -1
  873. package/dist/field/features/format/strikethrough/feature.server.d.ts.map +0 -1
  874. package/dist/field/features/format/strikethrough/feature.server.js +0 -20
  875. package/dist/field/features/format/strikethrough/feature.server.js.map +0 -1
  876. package/dist/field/features/format/strikethrough/markdownTransformers.d.ts.map +0 -1
  877. package/dist/field/features/format/strikethrough/markdownTransformers.js.map +0 -1
  878. package/dist/field/features/format/subscript/feature.client.d.ts.map +0 -1
  879. package/dist/field/features/format/subscript/feature.client.js.map +0 -1
  880. package/dist/field/features/format/subscript/feature.server.d.ts.map +0 -1
  881. package/dist/field/features/format/subscript/feature.server.js +0 -16
  882. package/dist/field/features/format/subscript/feature.server.js.map +0 -1
  883. package/dist/field/features/format/superscript/feature.client.d.ts.map +0 -1
  884. package/dist/field/features/format/superscript/feature.client.js.map +0 -1
  885. package/dist/field/features/format/superscript/feature.server.d.ts.map +0 -1
  886. package/dist/field/features/format/superscript/feature.server.js +0 -16
  887. package/dist/field/features/format/superscript/feature.server.js.map +0 -1
  888. package/dist/field/features/format/underline/feature.client.d.ts.map +0 -1
  889. package/dist/field/features/format/underline/feature.client.js.map +0 -1
  890. package/dist/field/features/format/underline/feature.server.d.ts.map +0 -1
  891. package/dist/field/features/format/underline/feature.server.js +0 -16
  892. package/dist/field/features/format/underline/feature.server.js.map +0 -1
  893. package/dist/field/features/heading/feature.client.d.ts.map +0 -1
  894. package/dist/field/features/heading/feature.client.js.map +0 -1
  895. package/dist/field/features/heading/feature.server.d.ts.map +0 -1
  896. package/dist/field/features/heading/feature.server.js +0 -61
  897. package/dist/field/features/heading/feature.server.js.map +0 -1
  898. package/dist/field/features/heading/i18n.d.ts.map +0 -1
  899. package/dist/field/features/heading/i18n.js.map +0 -1
  900. package/dist/field/features/heading/markdownTransformer.d.ts.map +0 -1
  901. package/dist/field/features/heading/markdownTransformer.js.map +0 -1
  902. package/dist/field/features/horizontalRule/component/index.d.ts.map +0 -1
  903. package/dist/field/features/horizontalRule/component/index.js.map +0 -1
  904. package/dist/field/features/horizontalRule/feature.client.d.ts.map +0 -1
  905. package/dist/field/features/horizontalRule/feature.client.js.map +0 -1
  906. package/dist/field/features/horizontalRule/feature.server.d.ts.map +0 -1
  907. package/dist/field/features/horizontalRule/feature.server.js +0 -39
  908. package/dist/field/features/horizontalRule/feature.server.js.map +0 -1
  909. package/dist/field/features/horizontalRule/i18n.d.ts.map +0 -1
  910. package/dist/field/features/horizontalRule/i18n.js.map +0 -1
  911. package/dist/field/features/horizontalRule/markdownTransformer.d.ts.map +0 -1
  912. package/dist/field/features/horizontalRule/markdownTransformer.js.map +0 -1
  913. package/dist/field/features/horizontalRule/nodes/HorizontalRuleNode.d.ts.map +0 -1
  914. package/dist/field/features/horizontalRule/nodes/HorizontalRuleNode.js.map +0 -1
  915. package/dist/field/features/horizontalRule/plugin/index.d.ts.map +0 -1
  916. package/dist/field/features/horizontalRule/plugin/index.js.map +0 -1
  917. package/dist/field/features/indent/feature.client.d.ts.map +0 -1
  918. package/dist/field/features/indent/feature.client.js.map +0 -1
  919. package/dist/field/features/indent/feature.server.d.ts.map +0 -1
  920. package/dist/field/features/indent/feature.server.js +0 -19
  921. package/dist/field/features/indent/feature.server.js.map +0 -1
  922. package/dist/field/features/indent/i18n.d.ts.map +0 -1
  923. package/dist/field/features/indent/i18n.js.map +0 -1
  924. package/dist/field/features/indent/toolbarIndentGroup.d.ts.map +0 -1
  925. package/dist/field/features/indent/toolbarIndentGroup.js.map +0 -1
  926. package/dist/field/features/link/drawer/baseFields.d.ts.map +0 -1
  927. package/dist/field/features/link/drawer/baseFields.js.map +0 -1
  928. package/dist/field/features/link/drawer/index.d.ts.map +0 -1
  929. package/dist/field/features/link/drawer/index.js +0 -94
  930. package/dist/field/features/link/drawer/index.js.map +0 -1
  931. package/dist/field/features/link/drawer/types.d.ts.map +0 -1
  932. package/dist/field/features/link/drawer/types.js.map +0 -1
  933. package/dist/field/features/link/feature.client.d.ts.map +0 -1
  934. package/dist/field/features/link/feature.client.js.map +0 -1
  935. package/dist/field/features/link/feature.server.d.ts.map +0 -1
  936. package/dist/field/features/link/feature.server.js +0 -140
  937. package/dist/field/features/link/feature.server.js.map +0 -1
  938. package/dist/field/features/link/graphQLPopulationPromise.d.ts.map +0 -1
  939. package/dist/field/features/link/graphQLPopulationPromise.js +0 -31
  940. package/dist/field/features/link/graphQLPopulationPromise.js.map +0 -1
  941. package/dist/field/features/link/i18n.d.ts.map +0 -1
  942. package/dist/field/features/link/i18n.js.map +0 -1
  943. package/dist/field/features/link/markdownTransformer.d.ts.map +0 -1
  944. package/dist/field/features/link/markdownTransformer.js.map +0 -1
  945. package/dist/field/features/link/nodes/AutoLinkNode.d.ts.map +0 -1
  946. package/dist/field/features/link/nodes/AutoLinkNode.js.map +0 -1
  947. package/dist/field/features/link/nodes/LinkNode.d.ts.map +0 -1
  948. package/dist/field/features/link/nodes/LinkNode.js.map +0 -1
  949. package/dist/field/features/link/nodes/types.d.ts.map +0 -1
  950. package/dist/field/features/link/nodes/types.js.map +0 -1
  951. package/dist/field/features/link/plugins/autoLink/index.d.ts.map +0 -1
  952. package/dist/field/features/link/plugins/autoLink/index.js.map +0 -1
  953. package/dist/field/features/link/plugins/clickableLink/index.d.ts.map +0 -1
  954. package/dist/field/features/link/plugins/clickableLink/index.js.map +0 -1
  955. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +0 -1
  956. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +0 -1
  957. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +0 -1
  958. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +0 -295
  959. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +0 -1
  960. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts.map +0 -1
  961. package/dist/field/features/link/plugins/floatingLinkEditor/index.js.map +0 -1
  962. package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts.map +0 -1
  963. package/dist/field/features/link/plugins/floatingLinkEditor/types.js.map +0 -1
  964. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +0 -1
  965. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js.map +0 -1
  966. package/dist/field/features/link/plugins/link/index.d.ts.map +0 -1
  967. package/dist/field/features/link/plugins/link/index.js.map +0 -1
  968. package/dist/field/features/link/validate.d.ts.map +0 -1
  969. package/dist/field/features/link/validate.js.map +0 -1
  970. package/dist/field/features/lists/checklist/feature.client.d.ts.map +0 -1
  971. package/dist/field/features/lists/checklist/feature.client.js.map +0 -1
  972. package/dist/field/features/lists/checklist/feature.server.d.ts.map +0 -1
  973. package/dist/field/features/lists/checklist/feature.server.js +0 -39
  974. package/dist/field/features/lists/checklist/feature.server.js.map +0 -1
  975. package/dist/field/features/lists/checklist/i18n.d.ts.map +0 -1
  976. package/dist/field/features/lists/checklist/i18n.js.map +0 -1
  977. package/dist/field/features/lists/checklist/markdownTransformers.d.ts.map +0 -1
  978. package/dist/field/features/lists/checklist/markdownTransformers.js.map +0 -1
  979. package/dist/field/features/lists/checklist/plugin/index.d.ts.map +0 -1
  980. package/dist/field/features/lists/checklist/plugin/index.js.map +0 -1
  981. package/dist/field/features/lists/htmlConverter.d.ts.map +0 -1
  982. package/dist/field/features/lists/htmlConverter.js +0 -56
  983. package/dist/field/features/lists/htmlConverter.js.map +0 -1
  984. package/dist/field/features/lists/orderedList/feature.client.d.ts.map +0 -1
  985. package/dist/field/features/lists/orderedList/feature.client.js.map +0 -1
  986. package/dist/field/features/lists/orderedList/feature.server.d.ts.map +0 -1
  987. package/dist/field/features/lists/orderedList/feature.server.js +0 -39
  988. package/dist/field/features/lists/orderedList/feature.server.js.map +0 -1
  989. package/dist/field/features/lists/orderedList/i18n.d.ts.map +0 -1
  990. package/dist/field/features/lists/orderedList/i18n.js.map +0 -1
  991. package/dist/field/features/lists/orderedList/markdownTransformer.d.ts.map +0 -1
  992. package/dist/field/features/lists/orderedList/markdownTransformer.js.map +0 -1
  993. package/dist/field/features/lists/plugin/index.d.ts.map +0 -1
  994. package/dist/field/features/lists/plugin/index.js.map +0 -1
  995. package/dist/field/features/lists/shared/markdown.d.ts.map +0 -1
  996. package/dist/field/features/lists/shared/markdown.js.map +0 -1
  997. package/dist/field/features/lists/shared/slashMenuListGroup.d.ts.map +0 -1
  998. package/dist/field/features/lists/shared/slashMenuListGroup.js.map +0 -1
  999. package/dist/field/features/lists/unorderedList/feature.client.d.ts.map +0 -1
  1000. package/dist/field/features/lists/unorderedList/feature.client.js.map +0 -1
  1001. package/dist/field/features/lists/unorderedList/feature.server.d.ts.map +0 -1
  1002. package/dist/field/features/lists/unorderedList/feature.server.js +0 -39
  1003. package/dist/field/features/lists/unorderedList/feature.server.js.map +0 -1
  1004. package/dist/field/features/lists/unorderedList/i18n.d.ts.map +0 -1
  1005. package/dist/field/features/lists/unorderedList/i18n.js.map +0 -1
  1006. package/dist/field/features/lists/unorderedList/markdownTransformer.d.ts.map +0 -1
  1007. package/dist/field/features/lists/unorderedList/markdownTransformer.js.map +0 -1
  1008. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1009. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +0 -1
  1010. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1011. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +0 -1
  1012. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1013. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +0 -1
  1014. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +0 -1
  1015. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +0 -1
  1016. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1017. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +0 -1
  1018. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +0 -1
  1019. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +0 -1
  1020. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +0 -1
  1021. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +0 -1
  1022. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +0 -1
  1023. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +0 -1
  1024. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +0 -1
  1025. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +0 -1
  1026. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1027. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +0 -1
  1028. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1029. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +0 -1
  1030. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1031. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +0 -1
  1032. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +0 -1
  1033. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +0 -1
  1034. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +0 -1
  1035. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +0 -1
  1036. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +0 -1
  1037. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +0 -1
  1038. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1039. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +0 -1
  1040. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1041. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +0 -1
  1042. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1043. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +0 -1
  1044. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1045. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +0 -1
  1046. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1047. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +0 -1
  1048. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1049. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +0 -1
  1050. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +0 -1
  1051. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +0 -1
  1052. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +0 -1
  1053. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.js.map +0 -1
  1054. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +0 -1
  1055. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.js.map +0 -1
  1056. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +0 -1
  1057. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js.map +0 -1
  1058. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +0 -1
  1059. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js +0 -48
  1060. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js.map +0 -1
  1061. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1062. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1063. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1064. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1065. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +0 -1
  1066. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +0 -1
  1067. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +0 -1
  1068. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +0 -1
  1069. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +0 -1
  1070. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +0 -1
  1071. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1072. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.js.map +0 -1
  1073. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1074. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +0 -1
  1075. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1076. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js.map +0 -1
  1077. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +0 -1
  1078. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.js.map +0 -1
  1079. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +0 -1
  1080. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +0 -1
  1081. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +0 -1
  1082. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js.map +0 -1
  1083. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +0 -1
  1084. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.js.map +0 -1
  1085. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1086. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.js.map +0 -1
  1087. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +0 -1
  1088. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js.map +0 -1
  1089. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1090. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +0 -1
  1091. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1092. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +0 -1
  1093. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1094. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +0 -1
  1095. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +0 -1
  1096. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +0 -1
  1097. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +0 -1
  1098. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +0 -1
  1099. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +0 -1
  1100. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +0 -1
  1101. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +0 -1
  1102. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +0 -1
  1103. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +0 -1
  1104. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +0 -1
  1105. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +0 -1
  1106. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +0 -1
  1107. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1108. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +0 -1
  1109. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1110. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +0 -1
  1111. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1112. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +0 -1
  1113. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +0 -1
  1114. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +0 -1
  1115. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +0 -1
  1116. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +0 -1
  1117. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +0 -1
  1118. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +0 -1
  1119. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1120. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.js.map +0 -1
  1121. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1122. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +0 -1
  1123. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1124. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js.map +0 -1
  1125. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +0 -1
  1126. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.js.map +0 -1
  1127. package/dist/field/features/migrations/slateToLexical/converter/index.d.ts.map +0 -1
  1128. package/dist/field/features/migrations/slateToLexical/converter/index.js.map +0 -1
  1129. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts.map +0 -1
  1130. package/dist/field/features/migrations/slateToLexical/converter/types.js.map +0 -1
  1131. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts.map +0 -1
  1132. package/dist/field/features/migrations/slateToLexical/feature.client.js.map +0 -1
  1133. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts.map +0 -1
  1134. package/dist/field/features/migrations/slateToLexical/feature.server.js +0 -48
  1135. package/dist/field/features/migrations/slateToLexical/feature.server.js.map +0 -1
  1136. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1137. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1138. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1139. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1140. package/dist/field/features/paragraph/feature.client.d.ts.map +0 -1
  1141. package/dist/field/features/paragraph/feature.client.js.map +0 -1
  1142. package/dist/field/features/paragraph/feature.server.d.ts.map +0 -1
  1143. package/dist/field/features/paragraph/feature.server.js +0 -19
  1144. package/dist/field/features/paragraph/feature.server.js.map +0 -1
  1145. package/dist/field/features/paragraph/i18n.d.ts.map +0 -1
  1146. package/dist/field/features/paragraph/i18n.js.map +0 -1
  1147. package/dist/field/features/relationship/drawer/commands.d.ts.map +0 -1
  1148. package/dist/field/features/relationship/drawer/commands.js.map +0 -1
  1149. package/dist/field/features/relationship/drawer/index.d.ts.map +0 -1
  1150. package/dist/field/features/relationship/drawer/index.js +0 -83
  1151. package/dist/field/features/relationship/drawer/index.js.map +0 -1
  1152. package/dist/field/features/relationship/feature.client.d.ts.map +0 -1
  1153. package/dist/field/features/relationship/feature.client.js.map +0 -1
  1154. package/dist/field/features/relationship/feature.server.d.ts.map +0 -1
  1155. package/dist/field/features/relationship/feature.server.js +0 -61
  1156. package/dist/field/features/relationship/feature.server.js.map +0 -1
  1157. package/dist/field/features/relationship/graphQLPopulationPromise.d.ts.map +0 -1
  1158. package/dist/field/features/relationship/graphQLPopulationPromise.js +0 -29
  1159. package/dist/field/features/relationship/graphQLPopulationPromise.js.map +0 -1
  1160. package/dist/field/features/relationship/i18n.d.ts.map +0 -1
  1161. package/dist/field/features/relationship/i18n.js.map +0 -1
  1162. package/dist/field/features/relationship/nodes/RelationshipNode.d.ts.map +0 -1
  1163. package/dist/field/features/relationship/nodes/RelationshipNode.js.map +0 -1
  1164. package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts.map +0 -1
  1165. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js +0 -172
  1166. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js.map +0 -1
  1167. package/dist/field/features/relationship/plugins/index.d.ts.map +0 -1
  1168. package/dist/field/features/relationship/plugins/index.js +0 -50
  1169. package/dist/field/features/relationship/plugins/index.js.map +0 -1
  1170. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +0 -1
  1171. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js +0 -33
  1172. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js.map +0 -1
  1173. package/dist/field/features/shared/slashMenu/basicGroup.d.ts.map +0 -1
  1174. package/dist/field/features/shared/slashMenu/basicGroup.js.map +0 -1
  1175. package/dist/field/features/shared/toolbar/addDropdownGroup.d.ts.map +0 -1
  1176. package/dist/field/features/shared/toolbar/addDropdownGroup.js.map +0 -1
  1177. package/dist/field/features/shared/toolbar/featureButtonsGroup.d.ts.map +0 -1
  1178. package/dist/field/features/shared/toolbar/featureButtonsGroup.js.map +0 -1
  1179. package/dist/field/features/shared/toolbar/textDropdownGroup.d.ts.map +0 -1
  1180. package/dist/field/features/shared/toolbar/textDropdownGroup.js.map +0 -1
  1181. package/dist/field/features/toolbars/fixed/Toolbar/index.d.ts.map +0 -1
  1182. package/dist/field/features/toolbars/fixed/Toolbar/index.js +0 -207
  1183. package/dist/field/features/toolbars/fixed/Toolbar/index.js.map +0 -1
  1184. package/dist/field/features/toolbars/fixed/feature.client.d.ts.map +0 -1
  1185. package/dist/field/features/toolbars/fixed/feature.client.js.map +0 -1
  1186. package/dist/field/features/toolbars/fixed/feature.server.d.ts.map +0 -1
  1187. package/dist/field/features/toolbars/fixed/feature.server.js +0 -21
  1188. package/dist/field/features/toolbars/fixed/feature.server.js.map +0 -1
  1189. package/dist/field/features/toolbars/inline/Toolbar/index.d.ts.map +0 -1
  1190. package/dist/field/features/toolbars/inline/Toolbar/index.js.map +0 -1
  1191. package/dist/field/features/toolbars/inline/feature.client.d.ts.map +0 -1
  1192. package/dist/field/features/toolbars/inline/feature.client.js.map +0 -1
  1193. package/dist/field/features/toolbars/inline/feature.server.d.ts.map +0 -1
  1194. package/dist/field/features/toolbars/inline/feature.server.js +0 -16
  1195. package/dist/field/features/toolbars/inline/feature.server.js.map +0 -1
  1196. package/dist/field/features/toolbars/shared/ToolbarButton/index.d.ts.map +0 -1
  1197. package/dist/field/features/toolbars/shared/ToolbarButton/index.js.map +0 -1
  1198. package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +0 -1
  1199. package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +0 -1
  1200. package/dist/field/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +0 -1
  1201. package/dist/field/features/toolbars/shared/ToolbarDropdown/index.js +0 -141
  1202. package/dist/field/features/toolbars/shared/ToolbarDropdown/index.js.map +0 -1
  1203. package/dist/field/features/toolbars/types.d.ts.map +0 -1
  1204. package/dist/field/features/toolbars/types.js.map +0 -1
  1205. package/dist/field/features/typeUtilities.d.ts.map +0 -1
  1206. package/dist/field/features/typeUtilities.js.map +0 -1
  1207. package/dist/field/features/types.d.ts +0 -468
  1208. package/dist/field/features/types.d.ts.map +0 -1
  1209. package/dist/field/features/types.js.map +0 -1
  1210. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +0 -1
  1211. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js +0 -123
  1212. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js.map +0 -1
  1213. package/dist/field/features/upload/component/index.d.ts.map +0 -1
  1214. package/dist/field/features/upload/component/index.js +0 -219
  1215. package/dist/field/features/upload/component/index.js.map +0 -1
  1216. package/dist/field/features/upload/drawer/commands.d.ts.map +0 -1
  1217. package/dist/field/features/upload/drawer/commands.js.map +0 -1
  1218. package/dist/field/features/upload/drawer/index.d.ts.map +0 -1
  1219. package/dist/field/features/upload/drawer/index.js +0 -77
  1220. package/dist/field/features/upload/drawer/index.js.map +0 -1
  1221. package/dist/field/features/upload/feature.client.d.ts.map +0 -1
  1222. package/dist/field/features/upload/feature.client.js.map +0 -1
  1223. package/dist/field/features/upload/feature.server.d.ts.map +0 -1
  1224. package/dist/field/features/upload/feature.server.js +0 -188
  1225. package/dist/field/features/upload/feature.server.js.map +0 -1
  1226. package/dist/field/features/upload/graphQLPopulationPromise.d.ts.map +0 -1
  1227. package/dist/field/features/upload/graphQLPopulationPromise.js +0 -52
  1228. package/dist/field/features/upload/graphQLPopulationPromise.js.map +0 -1
  1229. package/dist/field/features/upload/i18n.d.ts.map +0 -1
  1230. package/dist/field/features/upload/i18n.js.map +0 -1
  1231. package/dist/field/features/upload/nodes/UploadNode.d.ts.map +0 -1
  1232. package/dist/field/features/upload/nodes/UploadNode.js.map +0 -1
  1233. package/dist/field/features/upload/plugin/index.d.ts.map +0 -1
  1234. package/dist/field/features/upload/plugin/index.js +0 -53
  1235. package/dist/field/features/upload/plugin/index.js.map +0 -1
  1236. package/dist/field/features/upload/validate.d.ts.map +0 -1
  1237. package/dist/field/features/upload/validate.js.map +0 -1
  1238. package/dist/field/lexical/EditorPlugin.d.ts +0 -8
  1239. package/dist/field/lexical/EditorPlugin.d.ts.map +0 -1
  1240. package/dist/field/lexical/EditorPlugin.js +0 -15
  1241. package/dist/field/lexical/EditorPlugin.js.map +0 -1
  1242. package/dist/field/lexical/LexicalEditor.d.ts.map +0 -1
  1243. package/dist/field/lexical/LexicalEditor.js +0 -192
  1244. package/dist/field/lexical/LexicalEditor.js.map +0 -1
  1245. package/dist/field/lexical/LexicalProvider.d.ts +0 -18
  1246. package/dist/field/lexical/LexicalProvider.d.ts.map +0 -1
  1247. package/dist/field/lexical/LexicalProvider.js.map +0 -1
  1248. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts +0 -35
  1249. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts.map +0 -1
  1250. package/dist/field/lexical/config/client/EditorConfigProvider.js.map +0 -1
  1251. package/dist/field/lexical/config/client/default.d.ts.map +0 -1
  1252. package/dist/field/lexical/config/client/default.js.map +0 -1
  1253. package/dist/field/lexical/config/client/loader.d.ts.map +0 -1
  1254. package/dist/field/lexical/config/client/loader.js.map +0 -1
  1255. package/dist/field/lexical/config/client/sanitize.d.ts +0 -7
  1256. package/dist/field/lexical/config/client/sanitize.d.ts.map +0 -1
  1257. package/dist/field/lexical/config/client/sanitize.js.map +0 -1
  1258. package/dist/field/lexical/config/server/default.d.ts.map +0 -1
  1259. package/dist/field/lexical/config/server/default.js.map +0 -1
  1260. package/dist/field/lexical/config/server/loader.d.ts.map +0 -1
  1261. package/dist/field/lexical/config/server/loader.js.map +0 -1
  1262. package/dist/field/lexical/config/server/sanitize.d.ts.map +0 -1
  1263. package/dist/field/lexical/config/server/sanitize.js.map +0 -1
  1264. package/dist/field/lexical/config/types.d.ts +0 -23
  1265. package/dist/field/lexical/config/types.d.ts.map +0 -1
  1266. package/dist/field/lexical/config/types.js.map +0 -1
  1267. package/dist/field/lexical/nodes/index.d.ts.map +0 -1
  1268. package/dist/field/lexical/nodes/index.js.map +0 -1
  1269. package/dist/field/lexical/plugins/MarkdownShortcut/index.d.ts.map +0 -1
  1270. package/dist/field/lexical/plugins/MarkdownShortcut/index.js.map +0 -1
  1271. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +0 -1
  1272. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +0 -1
  1273. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +0 -1
  1274. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +0 -1
  1275. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +0 -1
  1276. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +0 -1
  1277. package/dist/field/lexical/plugins/SlashMenu/index.d.ts.map +0 -1
  1278. package/dist/field/lexical/plugins/SlashMenu/index.js +0 -187
  1279. package/dist/field/lexical/plugins/SlashMenu/index.js.map +0 -1
  1280. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +0 -1
  1281. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +0 -1
  1282. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +0 -1
  1283. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +0 -1
  1284. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +0 -1
  1285. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +0 -1
  1286. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +0 -1
  1287. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +0 -1
  1288. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +0 -1
  1289. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +0 -1
  1290. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +0 -1
  1291. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +0 -1
  1292. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +0 -1
  1293. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +0 -1
  1294. package/dist/field/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts.map +0 -1
  1295. package/dist/field/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js.map +0 -1
  1296. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +0 -1
  1297. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +0 -1
  1298. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +0 -1
  1299. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.js.map +0 -1
  1300. package/dist/field/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts.map +0 -1
  1301. package/dist/field/lexical/plugins/handles/utils/getNodeCloseToPoint.js.map +0 -1
  1302. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +0 -1
  1303. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +0 -1
  1304. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +0 -1
  1305. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.js.map +0 -1
  1306. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +0 -1
  1307. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.js.map +0 -1
  1308. package/dist/field/lexical/theme/EditorTheme.d.ts.map +0 -1
  1309. package/dist/field/lexical/theme/EditorTheme.js.map +0 -1
  1310. package/dist/field/lexical/ui/ContentEditable.d.ts.map +0 -1
  1311. package/dist/field/lexical/ui/ContentEditable.js.map +0 -1
  1312. package/dist/field/lexical/ui/icons/AI/index.d.ts.map +0 -1
  1313. package/dist/field/lexical/ui/icons/AI/index.js.map +0 -1
  1314. package/dist/field/lexical/ui/icons/Add/index.d.ts.map +0 -1
  1315. package/dist/field/lexical/ui/icons/Add/index.js.map +0 -1
  1316. package/dist/field/lexical/ui/icons/AlignCenter/index.d.ts.map +0 -1
  1317. package/dist/field/lexical/ui/icons/AlignCenter/index.js.map +0 -1
  1318. package/dist/field/lexical/ui/icons/AlignJustify/index.d.ts.map +0 -1
  1319. package/dist/field/lexical/ui/icons/AlignJustify/index.js.map +0 -1
  1320. package/dist/field/lexical/ui/icons/AlignLeft/index.d.ts.map +0 -1
  1321. package/dist/field/lexical/ui/icons/AlignLeft/index.js.map +0 -1
  1322. package/dist/field/lexical/ui/icons/AlignRight/index.d.ts.map +0 -1
  1323. package/dist/field/lexical/ui/icons/AlignRight/index.js.map +0 -1
  1324. package/dist/field/lexical/ui/icons/Block/index.d.ts.map +0 -1
  1325. package/dist/field/lexical/ui/icons/Block/index.js.map +0 -1
  1326. package/dist/field/lexical/ui/icons/Blockquote/index.d.ts.map +0 -1
  1327. package/dist/field/lexical/ui/icons/Blockquote/index.js.map +0 -1
  1328. package/dist/field/lexical/ui/icons/Bold/index.d.ts.map +0 -1
  1329. package/dist/field/lexical/ui/icons/Bold/index.js.map +0 -1
  1330. package/dist/field/lexical/ui/icons/Checklist/index.d.ts.map +0 -1
  1331. package/dist/field/lexical/ui/icons/Checklist/index.js.map +0 -1
  1332. package/dist/field/lexical/ui/icons/Code/index.d.ts.map +0 -1
  1333. package/dist/field/lexical/ui/icons/Code/index.js.map +0 -1
  1334. package/dist/field/lexical/ui/icons/CodeBlock/index.d.ts.map +0 -1
  1335. package/dist/field/lexical/ui/icons/CodeBlock/index.js.map +0 -1
  1336. package/dist/field/lexical/ui/icons/H1/index.d.ts.map +0 -1
  1337. package/dist/field/lexical/ui/icons/H1/index.js.map +0 -1
  1338. package/dist/field/lexical/ui/icons/H2/index.d.ts.map +0 -1
  1339. package/dist/field/lexical/ui/icons/H2/index.js.map +0 -1
  1340. package/dist/field/lexical/ui/icons/H3/index.d.ts.map +0 -1
  1341. package/dist/field/lexical/ui/icons/H3/index.js.map +0 -1
  1342. package/dist/field/lexical/ui/icons/H4/index.d.ts.map +0 -1
  1343. package/dist/field/lexical/ui/icons/H4/index.js.map +0 -1
  1344. package/dist/field/lexical/ui/icons/H5/index.d.ts.map +0 -1
  1345. package/dist/field/lexical/ui/icons/H5/index.js.map +0 -1
  1346. package/dist/field/lexical/ui/icons/H6/index.d.ts.map +0 -1
  1347. package/dist/field/lexical/ui/icons/H6/index.js.map +0 -1
  1348. package/dist/field/lexical/ui/icons/HorizontalRule/index.d.ts.map +0 -1
  1349. package/dist/field/lexical/ui/icons/HorizontalRule/index.js.map +0 -1
  1350. package/dist/field/lexical/ui/icons/IndentDecrease/index.d.ts.map +0 -1
  1351. package/dist/field/lexical/ui/icons/IndentDecrease/index.js.map +0 -1
  1352. package/dist/field/lexical/ui/icons/IndentIncrease/index.d.ts.map +0 -1
  1353. package/dist/field/lexical/ui/icons/IndentIncrease/index.js.map +0 -1
  1354. package/dist/field/lexical/ui/icons/Italic/index.d.ts.map +0 -1
  1355. package/dist/field/lexical/ui/icons/Italic/index.js.map +0 -1
  1356. package/dist/field/lexical/ui/icons/Link/index.d.ts.map +0 -1
  1357. package/dist/field/lexical/ui/icons/Link/index.js.map +0 -1
  1358. package/dist/field/lexical/ui/icons/OrderedList/index.d.ts.map +0 -1
  1359. package/dist/field/lexical/ui/icons/OrderedList/index.js.map +0 -1
  1360. package/dist/field/lexical/ui/icons/Relationship/index.d.ts.map +0 -1
  1361. package/dist/field/lexical/ui/icons/Relationship/index.js.map +0 -1
  1362. package/dist/field/lexical/ui/icons/Strikethrough/index.d.ts.map +0 -1
  1363. package/dist/field/lexical/ui/icons/Strikethrough/index.js.map +0 -1
  1364. package/dist/field/lexical/ui/icons/Subscript/index.d.ts.map +0 -1
  1365. package/dist/field/lexical/ui/icons/Subscript/index.js.map +0 -1
  1366. package/dist/field/lexical/ui/icons/Superscript/index.d.ts.map +0 -1
  1367. package/dist/field/lexical/ui/icons/Superscript/index.js.map +0 -1
  1368. package/dist/field/lexical/ui/icons/Text/index.d.ts.map +0 -1
  1369. package/dist/field/lexical/ui/icons/Text/index.js.map +0 -1
  1370. package/dist/field/lexical/ui/icons/Underline/index.d.ts.map +0 -1
  1371. package/dist/field/lexical/ui/icons/Underline/index.js.map +0 -1
  1372. package/dist/field/lexical/ui/icons/UnorderedList/index.d.ts.map +0 -1
  1373. package/dist/field/lexical/ui/icons/UnorderedList/index.js.map +0 -1
  1374. package/dist/field/lexical/ui/icons/Upload/index.d.ts.map +0 -1
  1375. package/dist/field/lexical/ui/icons/Upload/index.js.map +0 -1
  1376. package/dist/field/lexical/utils/canUseDOM.d.ts.map +0 -1
  1377. package/dist/field/lexical/utils/canUseDOM.js.map +0 -1
  1378. package/dist/field/lexical/utils/cloneDeep.d.ts.map +0 -1
  1379. package/dist/field/lexical/utils/cloneDeep.js +0 -50
  1380. package/dist/field/lexical/utils/cloneDeep.js.map +0 -1
  1381. package/dist/field/lexical/utils/environment.d.ts.map +0 -1
  1382. package/dist/field/lexical/utils/environment.js.map +0 -1
  1383. package/dist/field/lexical/utils/getDOMRangeRect.d.ts.map +0 -1
  1384. package/dist/field/lexical/utils/getDOMRangeRect.js.map +0 -1
  1385. package/dist/field/lexical/utils/getSelectedNode.d.ts.map +0 -1
  1386. package/dist/field/lexical/utils/getSelectedNode.js.map +0 -1
  1387. package/dist/field/lexical/utils/guard.d.ts.map +0 -1
  1388. package/dist/field/lexical/utils/guard.js.map +0 -1
  1389. package/dist/field/lexical/utils/invariant.d.ts.map +0 -1
  1390. package/dist/field/lexical/utils/invariant.js.map +0 -1
  1391. package/dist/field/lexical/utils/joinClasses.d.ts.map +0 -1
  1392. package/dist/field/lexical/utils/joinClasses.js.map +0 -1
  1393. package/dist/field/lexical/utils/markdown/createBlockNode.d.ts.map +0 -1
  1394. package/dist/field/lexical/utils/markdown/createBlockNode.js.map +0 -1
  1395. package/dist/field/lexical/utils/nodeFormat.d.ts.map +0 -1
  1396. package/dist/field/lexical/utils/nodeFormat.js.map +0 -1
  1397. package/dist/field/lexical/utils/point.d.ts.map +0 -1
  1398. package/dist/field/lexical/utils/point.js.map +0 -1
  1399. package/dist/field/lexical/utils/rect.d.ts.map +0 -1
  1400. package/dist/field/lexical/utils/rect.js.map +0 -1
  1401. package/dist/field/lexical/utils/setFloatingElemPosition.d.ts.map +0 -1
  1402. package/dist/field/lexical/utils/setFloatingElemPosition.js.map +0 -1
  1403. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +0 -1
  1404. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +0 -1
  1405. package/dist/field/lexical/utils/swipe.d.ts.map +0 -1
  1406. package/dist/field/lexical/utils/swipe.js.map +0 -1
  1407. package/dist/field/lexical/utils/url.d.ts.map +0 -1
  1408. package/dist/field/lexical/utils/url.js.map +0 -1
  1409. package/dist/forEachNodeRecursively.d.ts.map +0 -1
  1410. package/dist/forEachNodeRecursively.js.map +0 -1
  1411. package/dist/generateComponentMap.d.ts +0 -6
  1412. package/dist/generateComponentMap.d.ts.map +0 -1
  1413. package/dist/generateComponentMap.js.map +0 -1
  1414. package/dist/generateSchemaMap.d.ts +0 -6
  1415. package/dist/generateSchemaMap.d.ts.map +0 -1
  1416. package/dist/generateSchemaMap.js.map +0 -1
  1417. package/dist/recurseNodeTree.d.ts.map +0 -1
  1418. package/dist/recurseNodeTree.js.map +0 -1
  1419. package/dist/useLexicalFeature.d.ts +0 -3
  1420. package/dist/useLexicalFeature.d.ts.map +0 -1
  1421. package/dist/useLexicalFeature.js +0 -12
  1422. package/dist/useLexicalFeature.js.map +0 -1
  1423. /package/dist/{field/features → features}/align/feature.client.d.ts +0 -0
  1424. /package/dist/{field/features → features}/align/feature.client.js +0 -0
  1425. /package/dist/{field/features → features}/align/feature.server.d.ts +0 -0
  1426. /package/dist/{field/features → features}/align/i18n.d.ts +0 -0
  1427. /package/dist/{field/features → features}/align/i18n.js +0 -0
  1428. /package/dist/{field/features → features}/align/toolbarAlignGroup.d.ts +0 -0
  1429. /package/dist/{field/features → features}/align/toolbarAlignGroup.js +0 -0
  1430. /package/dist/{field/features → features}/blockquote/feature.client.d.ts +0 -0
  1431. /package/dist/{field/features → features}/blockquote/feature.client.js +0 -0
  1432. /package/dist/{field/features → features}/blockquote/feature.server.d.ts +0 -0
  1433. /package/dist/{field/features → features}/blockquote/i18n.d.ts +0 -0
  1434. /package/dist/{field/features → features}/blockquote/i18n.js +0 -0
  1435. /package/dist/{field/features → features}/blockquote/markdownTransformer.d.ts +0 -0
  1436. /package/dist/{field/features → features}/blockquote/markdownTransformer.js +0 -0
  1437. /package/dist/{field/features → features}/blocks/component/FormSavePlugin.d.ts +0 -0
  1438. /package/dist/{field/features → features}/blocks/component/index.d.ts +0 -0
  1439. /package/dist/{field/features → features}/blocks/component/removeEmptyArrayValues.d.ts +0 -0
  1440. /package/dist/{field/features → features}/blocks/component/removeEmptyArrayValues.js +0 -0
  1441. /package/dist/{field/features → features}/blocks/drawer/index.d.ts +0 -0
  1442. /package/dist/{field/features → features}/blocks/feature.client.d.ts +0 -0
  1443. /package/dist/{field/features → features}/blocks/feature.client.js +0 -0
  1444. /package/dist/{field/features → features}/blocks/feature.server.d.ts +0 -0
  1445. /package/dist/{field/features → features}/blocks/graphQLPopulationPromise.d.ts +0 -0
  1446. /package/dist/{field/features → features}/blocks/i18n.d.ts +0 -0
  1447. /package/dist/{field/features → features}/blocks/i18n.js +0 -0
  1448. /package/dist/{field/features → features}/blocks/nodes/BlocksNode.d.ts +0 -0
  1449. /package/dist/{field/features → features}/blocks/nodes/BlocksNode.js +0 -0
  1450. /package/dist/{field/features → features}/blocks/plugin/commands.d.ts +0 -0
  1451. /package/dist/{field/features → features}/blocks/plugin/commands.js +0 -0
  1452. /package/dist/{field/features → features}/blocks/plugin/index.d.ts +0 -0
  1453. /package/dist/{field/features → features}/blocks/plugin/index.js +0 -0
  1454. /package/dist/{field/features → features}/blocks/validate.d.ts +0 -0
  1455. /package/dist/{field/features → features}/blocks/validate.js +0 -0
  1456. /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.d.ts +0 -0
  1457. /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.js +0 -0
  1458. /package/dist/{field/features → features}/converters/html/converter/converters/paragraph.d.ts +0 -0
  1459. /package/dist/{field/features → features}/converters/html/converter/converters/text.d.ts +0 -0
  1460. /package/dist/{field/features → features}/converters/html/converter/converters/text.js +0 -0
  1461. /package/dist/{field/features → features}/converters/html/converter/defaultConverters.d.ts +0 -0
  1462. /package/dist/{field/features → features}/converters/html/converter/defaultConverters.js +0 -0
  1463. /package/dist/{field/features → features}/converters/html/converter/types.js +0 -0
  1464. /package/dist/{field/features → features}/converters/html/feature.server.d.ts +0 -0
  1465. /package/dist/{field/features → features}/converters/html/feature.server.js +0 -0
  1466. /package/dist/{field/features → features}/converters/html/field/index.d.ts +0 -0
  1467. /package/dist/{field/features → features}/createClientComponent.d.ts +0 -0
  1468. /package/dist/{field/features → features}/createFeaturePropComponent.d.ts +0 -0
  1469. /package/dist/{field/features → features}/debug/testRecorder/feature.client.d.ts +0 -0
  1470. /package/dist/{field/features → features}/debug/testRecorder/feature.client.js +0 -0
  1471. /package/dist/{field/features → features}/debug/testRecorder/feature.server.d.ts +0 -0
  1472. /package/dist/{field/features → features}/debug/testRecorder/plugin/index.d.ts +0 -0
  1473. /package/dist/{field/features → features}/debug/testRecorder/plugin/index.js +0 -0
  1474. /package/dist/{field/features → features}/debug/treeView/feature.client.d.ts +0 -0
  1475. /package/dist/{field/features → features}/debug/treeView/feature.client.js +0 -0
  1476. /package/dist/{field/features → features}/debug/treeView/feature.server.d.ts +0 -0
  1477. /package/dist/{field/features → features}/debug/treeView/plugin/index.d.ts +0 -0
  1478. /package/dist/{field/features → features}/debug/treeView/plugin/index.js +0 -0
  1479. /package/dist/{field/features → features}/format/bold/feature.client.d.ts +0 -0
  1480. /package/dist/{field/features → features}/format/bold/feature.client.js +0 -0
  1481. /package/dist/{field/features → features}/format/bold/feature.server.d.ts +0 -0
  1482. /package/dist/{field/features → features}/format/bold/markdownTransformers.d.ts +0 -0
  1483. /package/dist/{field/features → features}/format/bold/markdownTransformers.js +0 -0
  1484. /package/dist/{field/features → features}/format/inlineCode/feature.client.d.ts +0 -0
  1485. /package/dist/{field/features → features}/format/inlineCode/feature.client.js +0 -0
  1486. /package/dist/{field/features → features}/format/inlineCode/feature.server.d.ts +0 -0
  1487. /package/dist/{field/features → features}/format/inlineCode/markdownTransformers.d.ts +0 -0
  1488. /package/dist/{field/features → features}/format/inlineCode/markdownTransformers.js +0 -0
  1489. /package/dist/{field/features → features}/format/italic/feature.client.d.ts +0 -0
  1490. /package/dist/{field/features → features}/format/italic/feature.client.js +0 -0
  1491. /package/dist/{field/features → features}/format/italic/feature.server.d.ts +0 -0
  1492. /package/dist/{field/features → features}/format/italic/markdownTransformers.d.ts +0 -0
  1493. /package/dist/{field/features → features}/format/italic/markdownTransformers.js +0 -0
  1494. /package/dist/{field/features → features}/format/shared/toolbarFormatGroup.d.ts +0 -0
  1495. /package/dist/{field/features → features}/format/shared/toolbarFormatGroup.js +0 -0
  1496. /package/dist/{field/features → features}/format/strikethrough/feature.client.d.ts +0 -0
  1497. /package/dist/{field/features → features}/format/strikethrough/feature.client.js +0 -0
  1498. /package/dist/{field/features → features}/format/strikethrough/feature.server.d.ts +0 -0
  1499. /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.d.ts +0 -0
  1500. /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.js +0 -0
  1501. /package/dist/{field/features → features}/format/subscript/feature.client.d.ts +0 -0
  1502. /package/dist/{field/features → features}/format/subscript/feature.client.js +0 -0
  1503. /package/dist/{field/features → features}/format/subscript/feature.server.d.ts +0 -0
  1504. /package/dist/{field/features → features}/format/superscript/feature.client.d.ts +0 -0
  1505. /package/dist/{field/features → features}/format/superscript/feature.client.js +0 -0
  1506. /package/dist/{field/features → features}/format/superscript/feature.server.d.ts +0 -0
  1507. /package/dist/{field/features → features}/format/underline/feature.client.d.ts +0 -0
  1508. /package/dist/{field/features → features}/format/underline/feature.client.js +0 -0
  1509. /package/dist/{field/features → features}/format/underline/feature.server.d.ts +0 -0
  1510. /package/dist/{field/features → features}/heading/feature.client.d.ts +0 -0
  1511. /package/dist/{field/features → features}/heading/feature.client.js +0 -0
  1512. /package/dist/{field/features → features}/heading/feature.server.d.ts +0 -0
  1513. /package/dist/{field/features → features}/heading/i18n.d.ts +0 -0
  1514. /package/dist/{field/features → features}/heading/i18n.js +0 -0
  1515. /package/dist/{field/features → features}/heading/markdownTransformer.d.ts +0 -0
  1516. /package/dist/{field/features → features}/heading/markdownTransformer.js +0 -0
  1517. /package/dist/{field/features → features}/horizontalRule/component/index.d.ts +0 -0
  1518. /package/dist/{field/features → features}/horizontalRule/component/index.js +0 -0
  1519. /package/dist/{field/features → features}/horizontalRule/feature.client.d.ts +0 -0
  1520. /package/dist/{field/features → features}/horizontalRule/feature.client.js +0 -0
  1521. /package/dist/{field/features → features}/horizontalRule/feature.server.d.ts +0 -0
  1522. /package/dist/{field/features → features}/horizontalRule/i18n.d.ts +0 -0
  1523. /package/dist/{field/features → features}/horizontalRule/i18n.js +0 -0
  1524. /package/dist/{field/features → features}/horizontalRule/markdownTransformer.d.ts +0 -0
  1525. /package/dist/{field/features → features}/horizontalRule/markdownTransformer.js +0 -0
  1526. /package/dist/{field/features → features}/horizontalRule/nodes/HorizontalRuleNode.d.ts +0 -0
  1527. /package/dist/{field/features → features}/horizontalRule/nodes/HorizontalRuleNode.js +0 -0
  1528. /package/dist/{field/features → features}/horizontalRule/plugin/index.d.ts +0 -0
  1529. /package/dist/{field/features → features}/horizontalRule/plugin/index.js +0 -0
  1530. /package/dist/{field/features → features}/indent/feature.client.d.ts +0 -0
  1531. /package/dist/{field/features → features}/indent/feature.client.js +0 -0
  1532. /package/dist/{field/features → features}/indent/feature.server.d.ts +0 -0
  1533. /package/dist/{field/features → features}/indent/i18n.d.ts +0 -0
  1534. /package/dist/{field/features → features}/indent/i18n.js +0 -0
  1535. /package/dist/{field/features → features}/indent/toolbarIndentGroup.d.ts +0 -0
  1536. /package/dist/{field/features → features}/indent/toolbarIndentGroup.js +0 -0
  1537. /package/dist/{field/features → features}/link/drawer/baseFields.d.ts +0 -0
  1538. /package/dist/{field/features → features}/link/drawer/baseFields.js +0 -0
  1539. /package/dist/{field/features → features}/link/drawer/index.d.ts +0 -0
  1540. /package/dist/{field/features → features}/link/drawer/types.d.ts +0 -0
  1541. /package/dist/{field/features → features}/link/drawer/types.js +0 -0
  1542. /package/dist/{field/features → features}/link/feature.client.d.ts +0 -0
  1543. /package/dist/{field/features → features}/link/feature.client.js +0 -0
  1544. /package/dist/{field/features → features}/link/feature.server.d.ts +0 -0
  1545. /package/dist/{field/features → features}/link/graphQLPopulationPromise.d.ts +0 -0
  1546. /package/dist/{field/features → features}/link/i18n.d.ts +0 -0
  1547. /package/dist/{field/features → features}/link/i18n.js +0 -0
  1548. /package/dist/{field/features → features}/link/markdownTransformer.d.ts +0 -0
  1549. /package/dist/{field/features → features}/link/markdownTransformer.js +0 -0
  1550. /package/dist/{field/features → features}/link/nodes/AutoLinkNode.d.ts +0 -0
  1551. /package/dist/{field/features → features}/link/nodes/AutoLinkNode.js +0 -0
  1552. /package/dist/{field/features → features}/link/nodes/LinkNode.d.ts +0 -0
  1553. /package/dist/{field/features → features}/link/nodes/LinkNode.js +0 -0
  1554. /package/dist/{field/features → features}/link/nodes/types.d.ts +0 -0
  1555. /package/dist/{field/features → features}/link/nodes/types.js +0 -0
  1556. /package/dist/{field/features → features}/link/plugins/autoLink/index.d.ts +0 -0
  1557. /package/dist/{field/features → features}/link/plugins/autoLink/index.js +0 -0
  1558. /package/dist/{field/features → features}/link/plugins/clickableLink/index.d.ts +0 -0
  1559. /package/dist/{field/features → features}/link/plugins/clickableLink/index.js +0 -0
  1560. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts +0 -0
  1561. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/commands.js +0 -0
  1562. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts +0 -0
  1563. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/index.d.ts +0 -0
  1564. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/index.js +0 -0
  1565. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/types.d.ts +0 -0
  1566. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/types.js +0 -0
  1567. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/utilities.d.ts +0 -0
  1568. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/utilities.js +0 -0
  1569. /package/dist/{field/features → features}/link/plugins/link/index.d.ts +0 -0
  1570. /package/dist/{field/features → features}/link/plugins/link/index.js +0 -0
  1571. /package/dist/{field/features → features}/link/validate.d.ts +0 -0
  1572. /package/dist/{field/features → features}/link/validate.js +0 -0
  1573. /package/dist/{field/features → features}/lists/checklist/feature.client.d.ts +0 -0
  1574. /package/dist/{field/features → features}/lists/checklist/feature.client.js +0 -0
  1575. /package/dist/{field/features → features}/lists/checklist/feature.server.d.ts +0 -0
  1576. /package/dist/{field/features → features}/lists/checklist/i18n.d.ts +0 -0
  1577. /package/dist/{field/features → features}/lists/checklist/i18n.js +0 -0
  1578. /package/dist/{field/features → features}/lists/checklist/markdownTransformers.d.ts +0 -0
  1579. /package/dist/{field/features → features}/lists/checklist/markdownTransformers.js +0 -0
  1580. /package/dist/{field/features → features}/lists/checklist/plugin/index.d.ts +0 -0
  1581. /package/dist/{field/features → features}/lists/checklist/plugin/index.js +0 -0
  1582. /package/dist/{field/features → features}/lists/htmlConverter.d.ts +0 -0
  1583. /package/dist/{field/features → features}/lists/orderedList/feature.client.d.ts +0 -0
  1584. /package/dist/{field/features → features}/lists/orderedList/feature.client.js +0 -0
  1585. /package/dist/{field/features → features}/lists/orderedList/feature.server.d.ts +0 -0
  1586. /package/dist/{field/features → features}/lists/orderedList/i18n.d.ts +0 -0
  1587. /package/dist/{field/features → features}/lists/orderedList/i18n.js +0 -0
  1588. /package/dist/{field/features → features}/lists/orderedList/markdownTransformer.d.ts +0 -0
  1589. /package/dist/{field/features → features}/lists/orderedList/markdownTransformer.js +0 -0
  1590. /package/dist/{field/features → features}/lists/plugin/index.d.ts +0 -0
  1591. /package/dist/{field/features → features}/lists/plugin/index.js +0 -0
  1592. /package/dist/{field/features → features}/lists/shared/markdown.d.ts +0 -0
  1593. /package/dist/{field/features → features}/lists/shared/markdown.js +0 -0
  1594. /package/dist/{field/features → features}/lists/shared/slashMenuListGroup.d.ts +0 -0
  1595. /package/dist/{field/features → features}/lists/shared/slashMenuListGroup.js +0 -0
  1596. /package/dist/{field/features → features}/lists/unorderedList/feature.client.d.ts +0 -0
  1597. /package/dist/{field/features → features}/lists/unorderedList/feature.client.js +0 -0
  1598. /package/dist/{field/features → features}/lists/unorderedList/feature.server.d.ts +0 -0
  1599. /package/dist/{field/features → features}/lists/unorderedList/i18n.d.ts +0 -0
  1600. /package/dist/{field/features → features}/lists/unorderedList/i18n.js +0 -0
  1601. /package/dist/{field/features → features}/lists/unorderedList/markdownTransformer.d.ts +0 -0
  1602. /package/dist/{field/features → features}/lists/unorderedList/markdownTransformer.js +0 -0
  1603. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +0 -0
  1604. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/client.js +0 -0
  1605. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +0 -0
  1606. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +0 -0
  1607. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts +0 -0
  1608. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +0 -0
  1609. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +0 -0
  1610. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/client.js +0 -0
  1611. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +0 -0
  1612. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +0 -0
  1613. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts +0 -0
  1614. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/index.js +0 -0
  1615. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +0 -0
  1616. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/client.js +0 -0
  1617. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +0 -0
  1618. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +0 -0
  1619. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts +0 -0
  1620. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/index.js +0 -0
  1621. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +0 -0
  1622. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js +0 -0
  1623. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +0 -0
  1624. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +0 -0
  1625. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts +0 -0
  1626. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +0 -0
  1627. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +0 -0
  1628. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/client.js +0 -0
  1629. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +0 -0
  1630. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +0 -0
  1631. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts +0 -0
  1632. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +0 -0
  1633. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +0 -0
  1634. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js +0 -0
  1635. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +0 -0
  1636. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +0 -0
  1637. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts +0 -0
  1638. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +0 -0
  1639. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +0 -0
  1640. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/client.js +0 -0
  1641. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +0 -0
  1642. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +0 -0
  1643. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts +0 -0
  1644. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +0 -0
  1645. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +0 -0
  1646. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/defaultConverters.js +0 -0
  1647. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/index.d.ts +0 -0
  1648. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/index.js +0 -0
  1649. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/types.d.ts +0 -0
  1650. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/types.js +0 -0
  1651. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/feature.client.d.ts +0 -0
  1652. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/feature.client.js +0 -0
  1653. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/feature.server.d.ts +0 -0
  1654. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  1655. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +0 -0
  1656. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +0 -0
  1657. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +0 -0
  1658. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +0 -0
  1659. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/client.js +0 -0
  1660. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +0 -0
  1661. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/converter.js +0 -0
  1662. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/index.d.ts +0 -0
  1663. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/index.js +0 -0
  1664. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/client.d.ts +0 -0
  1665. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/client.js +0 -0
  1666. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/converter.d.ts +0 -0
  1667. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/converter.js +0 -0
  1668. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/index.d.ts +0 -0
  1669. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/index.js +0 -0
  1670. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/client.d.ts +0 -0
  1671. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/client.js +0 -0
  1672. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/converter.d.ts +0 -0
  1673. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/converter.js +0 -0
  1674. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/index.d.ts +0 -0
  1675. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/index.js +0 -0
  1676. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/client.d.ts +0 -0
  1677. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/client.js +0 -0
  1678. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/converter.d.ts +0 -0
  1679. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/converter.js +0 -0
  1680. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/index.d.ts +0 -0
  1681. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/index.js +0 -0
  1682. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/client.d.ts +0 -0
  1683. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/client.js +0 -0
  1684. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +0 -0
  1685. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/converter.js +0 -0
  1686. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/index.d.ts +0 -0
  1687. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/index.js +0 -0
  1688. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +0 -0
  1689. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/client.js +0 -0
  1690. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +0 -0
  1691. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/converter.js +0 -0
  1692. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/index.d.ts +0 -0
  1693. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/index.js +0 -0
  1694. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/client.d.ts +0 -0
  1695. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/client.js +0 -0
  1696. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +0 -0
  1697. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/converter.js +0 -0
  1698. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/index.d.ts +0 -0
  1699. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/index.js +0 -0
  1700. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/client.d.ts +0 -0
  1701. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/client.js +0 -0
  1702. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +0 -0
  1703. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/converter.js +0 -0
  1704. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/index.d.ts +0 -0
  1705. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/index.js +0 -0
  1706. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +0 -0
  1707. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/client.js +0 -0
  1708. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +0 -0
  1709. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/converter.js +0 -0
  1710. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts +0 -0
  1711. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/index.js +0 -0
  1712. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/client.d.ts +0 -0
  1713. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/client.js +0 -0
  1714. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/converter.d.ts +0 -0
  1715. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/converter.js +0 -0
  1716. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/index.d.ts +0 -0
  1717. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/index.js +0 -0
  1718. /package/dist/{field/features → features}/migrations/slateToLexical/converter/defaultConverters.d.ts +0 -0
  1719. /package/dist/{field/features → features}/migrations/slateToLexical/converter/defaultConverters.js +0 -0
  1720. /package/dist/{field/features → features}/migrations/slateToLexical/converter/index.d.ts +0 -0
  1721. /package/dist/{field/features → features}/migrations/slateToLexical/converter/index.js +0 -0
  1722. /package/dist/{field/features → features}/migrations/slateToLexical/converter/types.d.ts +0 -0
  1723. /package/dist/{field/features → features}/migrations/slateToLexical/converter/types.js +0 -0
  1724. /package/dist/{field/features → features}/migrations/slateToLexical/feature.client.d.ts +0 -0
  1725. /package/dist/{field/features → features}/migrations/slateToLexical/feature.client.js +0 -0
  1726. /package/dist/{field/features → features}/migrations/slateToLexical/feature.server.d.ts +0 -0
  1727. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  1728. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +0 -0
  1729. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +0 -0
  1730. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +0 -0
  1731. /package/dist/{field/features → features}/paragraph/feature.client.d.ts +0 -0
  1732. /package/dist/{field/features → features}/paragraph/feature.client.js +0 -0
  1733. /package/dist/{field/features → features}/paragraph/feature.server.d.ts +0 -0
  1734. /package/dist/{field/features → features}/paragraph/i18n.d.ts +0 -0
  1735. /package/dist/{field/features → features}/paragraph/i18n.js +0 -0
  1736. /package/dist/{field/features → features}/relationship/drawer/commands.d.ts +0 -0
  1737. /package/dist/{field/features → features}/relationship/drawer/commands.js +0 -0
  1738. /package/dist/{field/features → features}/relationship/drawer/index.d.ts +0 -0
  1739. /package/dist/{field/features → features}/relationship/feature.client.d.ts +0 -0
  1740. /package/dist/{field/features → features}/relationship/feature.client.js +0 -0
  1741. /package/dist/{field/features → features}/relationship/feature.server.d.ts +0 -0
  1742. /package/dist/{field/features → features}/relationship/graphQLPopulationPromise.d.ts +0 -0
  1743. /package/dist/{field/features → features}/relationship/i18n.d.ts +0 -0
  1744. /package/dist/{field/features → features}/relationship/i18n.js +0 -0
  1745. /package/dist/{field/features → features}/relationship/nodes/RelationshipNode.d.ts +0 -0
  1746. /package/dist/{field/features → features}/relationship/nodes/RelationshipNode.js +0 -0
  1747. /package/dist/{field/features → features}/relationship/nodes/components/RelationshipComponent.d.ts +0 -0
  1748. /package/dist/{field/features → features}/relationship/plugins/index.d.ts +0 -0
  1749. /package/dist/{field/features → features}/relationship/utils/EnabledRelationshipsCondition.d.ts +0 -0
  1750. /package/dist/{field/features → features}/shared/slashMenu/basicGroup.d.ts +0 -0
  1751. /package/dist/{field/features → features}/shared/slashMenu/basicGroup.js +0 -0
  1752. /package/dist/{field/features → features}/shared/toolbar/addDropdownGroup.d.ts +0 -0
  1753. /package/dist/{field/features → features}/shared/toolbar/addDropdownGroup.js +0 -0
  1754. /package/dist/{field/features → features}/shared/toolbar/featureButtonsGroup.d.ts +0 -0
  1755. /package/dist/{field/features → features}/shared/toolbar/featureButtonsGroup.js +0 -0
  1756. /package/dist/{field/features → features}/shared/toolbar/textDropdownGroup.d.ts +0 -0
  1757. /package/dist/{field/features → features}/shared/toolbar/textDropdownGroup.js +0 -0
  1758. /package/dist/{field/features → features}/toolbars/fixed/Toolbar/index.d.ts +0 -0
  1759. /package/dist/{field/features → features}/toolbars/fixed/feature.client.d.ts +0 -0
  1760. /package/dist/{field/features → features}/toolbars/fixed/feature.client.js +0 -0
  1761. /package/dist/{field/features → features}/toolbars/fixed/feature.server.d.ts +0 -0
  1762. /package/dist/{field/features → features}/toolbars/inline/Toolbar/index.d.ts +0 -0
  1763. /package/dist/{field/features → features}/toolbars/inline/Toolbar/index.js +0 -0
  1764. /package/dist/{field/features → features}/toolbars/inline/feature.client.d.ts +0 -0
  1765. /package/dist/{field/features → features}/toolbars/inline/feature.client.js +0 -0
  1766. /package/dist/{field/features → features}/toolbars/inline/feature.server.d.ts +0 -0
  1767. /package/dist/{field/features → features}/toolbars/shared/ToolbarButton/index.d.ts +0 -0
  1768. /package/dist/{field/features → features}/toolbars/shared/ToolbarButton/index.js +0 -0
  1769. /package/dist/{field/features → features}/toolbars/shared/ToolbarDropdown/DropDown.d.ts +0 -0
  1770. /package/dist/{field/features → features}/toolbars/shared/ToolbarDropdown/DropDown.js +0 -0
  1771. /package/dist/{field/features → features}/toolbars/shared/ToolbarDropdown/index.d.ts +0 -0
  1772. /package/dist/{field/features → features}/toolbars/types.d.ts +0 -0
  1773. /package/dist/{field/features → features}/toolbars/types.js +0 -0
  1774. /package/dist/{field/features → features}/typeUtilities.d.ts +0 -0
  1775. /package/dist/{field/features → features}/typeUtilities.js +0 -0
  1776. /package/dist/{field/features → features}/types.js +0 -0
  1777. /package/dist/{field/features → features}/upload/component/ExtraFieldsDrawer/index.d.ts +0 -0
  1778. /package/dist/{field/features → features}/upload/component/index.d.ts +0 -0
  1779. /package/dist/{field/features → features}/upload/drawer/commands.d.ts +0 -0
  1780. /package/dist/{field/features → features}/upload/drawer/commands.js +0 -0
  1781. /package/dist/{field/features → features}/upload/drawer/index.d.ts +0 -0
  1782. /package/dist/{field/features → features}/upload/feature.client.d.ts +0 -0
  1783. /package/dist/{field/features → features}/upload/feature.client.js +0 -0
  1784. /package/dist/{field/features → features}/upload/feature.server.d.ts +0 -0
  1785. /package/dist/{field/features → features}/upload/graphQLPopulationPromise.d.ts +0 -0
  1786. /package/dist/{field/features → features}/upload/i18n.d.ts +0 -0
  1787. /package/dist/{field/features → features}/upload/i18n.js +0 -0
  1788. /package/dist/{field/features → features}/upload/nodes/UploadNode.d.ts +0 -0
  1789. /package/dist/{field/features → features}/upload/nodes/UploadNode.js +0 -0
  1790. /package/dist/{field/features → features}/upload/plugin/index.d.ts +0 -0
  1791. /package/dist/{field/features → features}/upload/validate.d.ts +0 -0
  1792. /package/dist/{field/features → features}/upload/validate.js +0 -0
  1793. /package/dist/{field/lexical → lexical}/LexicalEditor.d.ts +0 -0
  1794. /package/dist/{field/lexical → lexical}/LexicalProvider.js +0 -0
  1795. /package/dist/{field/lexical → lexical}/config/client/EditorConfigProvider.js +0 -0
  1796. /package/dist/{field/lexical → lexical}/config/client/default.d.ts +0 -0
  1797. /package/dist/{field/lexical → lexical}/config/client/default.js +0 -0
  1798. /package/dist/{field/lexical → lexical}/config/client/loader.d.ts +0 -0
  1799. /package/dist/{field/lexical → lexical}/config/client/loader.js +0 -0
  1800. /package/dist/{field/lexical → lexical}/config/client/sanitize.js +0 -0
  1801. /package/dist/{field/lexical → lexical}/config/server/default.d.ts +0 -0
  1802. /package/dist/{field/lexical → lexical}/config/server/default.js +0 -0
  1803. /package/dist/{field/lexical → lexical}/config/server/loader.d.ts +0 -0
  1804. /package/dist/{field/lexical → lexical}/config/server/loader.js +0 -0
  1805. /package/dist/{field/lexical → lexical}/config/server/sanitize.d.ts +0 -0
  1806. /package/dist/{field/lexical → lexical}/config/server/sanitize.js +0 -0
  1807. /package/dist/{field/lexical → lexical}/config/types.js +0 -0
  1808. /package/dist/{field/lexical → lexical}/nodes/index.d.ts +0 -0
  1809. /package/dist/{field/lexical → lexical}/nodes/index.js +0 -0
  1810. /package/dist/{field/lexical → lexical}/plugins/MarkdownShortcut/index.d.ts +0 -0
  1811. /package/dist/{field/lexical → lexical}/plugins/MarkdownShortcut/index.js +0 -0
  1812. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +0 -0
  1813. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +0 -0
  1814. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +0 -0
  1815. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +0 -0
  1816. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +0 -0
  1817. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js +0 -0
  1818. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/index.d.ts +0 -0
  1819. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.d.ts +0 -0
  1820. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.js +0 -0
  1821. /package/dist/{field/lexical → lexical}/plugins/handles/AddBlockHandlePlugin/index.d.ts +0 -0
  1822. /package/dist/{field/lexical → lexical}/plugins/handles/AddBlockHandlePlugin/index.js +0 -0
  1823. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/debounce.d.ts +0 -0
  1824. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/debounce.js +0 -0
  1825. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts +0 -0
  1826. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js +0 -0
  1827. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts +0 -0
  1828. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js +0 -0
  1829. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/index.d.ts +0 -0
  1830. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/index.js +0 -0
  1831. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +0 -0
  1832. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/setTargetLine.js +0 -0
  1833. /package/dist/{field/lexical → lexical}/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts +0 -0
  1834. /package/dist/{field/lexical → lexical}/plugins/handles/utils/calculateDistanceFromScrollerElem.js +0 -0
  1835. /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.d.ts +0 -0
  1836. /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.js +0 -0
  1837. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.d.ts +0 -0
  1838. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.js +0 -0
  1839. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getNodeCloseToPoint.d.ts +0 -0
  1840. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getNodeCloseToPoint.js +0 -0
  1841. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getTopLevelNodeKeys.d.ts +0 -0
  1842. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getTopLevelNodeKeys.js +0 -0
  1843. /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.d.ts +0 -0
  1844. /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.js +0 -0
  1845. /package/dist/{field/lexical → lexical}/plugins/handles/utils/setHandlePosition.d.ts +0 -0
  1846. /package/dist/{field/lexical → lexical}/plugins/handles/utils/setHandlePosition.js +0 -0
  1847. /package/dist/{field/lexical → lexical}/theme/EditorTheme.d.ts +0 -0
  1848. /package/dist/{field/lexical → lexical}/theme/EditorTheme.js +0 -0
  1849. /package/dist/{field/lexical → lexical}/ui/ContentEditable.d.ts +0 -0
  1850. /package/dist/{field/lexical → lexical}/ui/ContentEditable.js +0 -0
  1851. /package/dist/{field/lexical → lexical}/ui/icons/AI/index.d.ts +0 -0
  1852. /package/dist/{field/lexical → lexical}/ui/icons/AI/index.js +0 -0
  1853. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.d.ts +0 -0
  1854. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.js +0 -0
  1855. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.svg +0 -0
  1856. /package/dist/{field/lexical → lexical}/ui/icons/Add/light.svg +0 -0
  1857. /package/dist/{field/lexical → lexical}/ui/icons/AlignCenter/index.d.ts +0 -0
  1858. /package/dist/{field/lexical → lexical}/ui/icons/AlignCenter/index.js +0 -0
  1859. /package/dist/{field/lexical → lexical}/ui/icons/AlignJustify/index.d.ts +0 -0
  1860. /package/dist/{field/lexical → lexical}/ui/icons/AlignJustify/index.js +0 -0
  1861. /package/dist/{field/lexical → lexical}/ui/icons/AlignLeft/index.d.ts +0 -0
  1862. /package/dist/{field/lexical → lexical}/ui/icons/AlignLeft/index.js +0 -0
  1863. /package/dist/{field/lexical → lexical}/ui/icons/AlignRight/index.d.ts +0 -0
  1864. /package/dist/{field/lexical → lexical}/ui/icons/AlignRight/index.js +0 -0
  1865. /package/dist/{field/lexical → lexical}/ui/icons/Block/index.d.ts +0 -0
  1866. /package/dist/{field/lexical → lexical}/ui/icons/Block/index.js +0 -0
  1867. /package/dist/{field/lexical → lexical}/ui/icons/Blockquote/index.d.ts +0 -0
  1868. /package/dist/{field/lexical → lexical}/ui/icons/Blockquote/index.js +0 -0
  1869. /package/dist/{field/lexical → lexical}/ui/icons/Bold/index.d.ts +0 -0
  1870. /package/dist/{field/lexical → lexical}/ui/icons/Bold/index.js +0 -0
  1871. /package/dist/{field/lexical → lexical}/ui/icons/Caret/index.svg +0 -0
  1872. /package/dist/{field/lexical → lexical}/ui/icons/Checklist/index.d.ts +0 -0
  1873. /package/dist/{field/lexical → lexical}/ui/icons/Checklist/index.js +0 -0
  1874. /package/dist/{field/lexical → lexical}/ui/icons/Code/index.d.ts +0 -0
  1875. /package/dist/{field/lexical → lexical}/ui/icons/Code/index.js +0 -0
  1876. /package/dist/{field/lexical → lexical}/ui/icons/CodeBlock/index.d.ts +0 -0
  1877. /package/dist/{field/lexical → lexical}/ui/icons/CodeBlock/index.js +0 -0
  1878. /package/dist/{field/lexical → lexical}/ui/icons/DraggableBlock/index.svg +0 -0
  1879. /package/dist/{field/lexical → lexical}/ui/icons/DraggableBlock/light.svg +0 -0
  1880. /package/dist/{field/lexical → lexical}/ui/icons/Edit/index.svg +0 -0
  1881. /package/dist/{field/lexical → lexical}/ui/icons/H1/index.d.ts +0 -0
  1882. /package/dist/{field/lexical → lexical}/ui/icons/H1/index.js +0 -0
  1883. /package/dist/{field/lexical → lexical}/ui/icons/H2/index.d.ts +0 -0
  1884. /package/dist/{field/lexical → lexical}/ui/icons/H2/index.js +0 -0
  1885. /package/dist/{field/lexical → lexical}/ui/icons/H3/index.d.ts +0 -0
  1886. /package/dist/{field/lexical → lexical}/ui/icons/H3/index.js +0 -0
  1887. /package/dist/{field/lexical → lexical}/ui/icons/H4/index.d.ts +0 -0
  1888. /package/dist/{field/lexical → lexical}/ui/icons/H4/index.js +0 -0
  1889. /package/dist/{field/lexical → lexical}/ui/icons/H5/index.d.ts +0 -0
  1890. /package/dist/{field/lexical → lexical}/ui/icons/H5/index.js +0 -0
  1891. /package/dist/{field/lexical → lexical}/ui/icons/H6/index.d.ts +0 -0
  1892. /package/dist/{field/lexical → lexical}/ui/icons/H6/index.js +0 -0
  1893. /package/dist/{field/lexical → lexical}/ui/icons/HorizontalRule/index.d.ts +0 -0
  1894. /package/dist/{field/lexical → lexical}/ui/icons/HorizontalRule/index.js +0 -0
  1895. /package/dist/{field/lexical → lexical}/ui/icons/IndentDecrease/index.d.ts +0 -0
  1896. /package/dist/{field/lexical → lexical}/ui/icons/IndentDecrease/index.js +0 -0
  1897. /package/dist/{field/lexical → lexical}/ui/icons/IndentIncrease/index.d.ts +0 -0
  1898. /package/dist/{field/lexical → lexical}/ui/icons/IndentIncrease/index.js +0 -0
  1899. /package/dist/{field/lexical → lexical}/ui/icons/Italic/index.d.ts +0 -0
  1900. /package/dist/{field/lexical → lexical}/ui/icons/Italic/index.js +0 -0
  1901. /package/dist/{field/lexical → lexical}/ui/icons/Link/index.d.ts +0 -0
  1902. /package/dist/{field/lexical → lexical}/ui/icons/Link/index.js +0 -0
  1903. /package/dist/{field/lexical → lexical}/ui/icons/OrderedList/index.d.ts +0 -0
  1904. /package/dist/{field/lexical → lexical}/ui/icons/OrderedList/index.js +0 -0
  1905. /package/dist/{field/lexical → lexical}/ui/icons/Relationship/index.d.ts +0 -0
  1906. /package/dist/{field/lexical → lexical}/ui/icons/Relationship/index.js +0 -0
  1907. /package/dist/{field/lexical → lexical}/ui/icons/Remove/index.svg +0 -0
  1908. /package/dist/{field/lexical → lexical}/ui/icons/Strikethrough/index.d.ts +0 -0
  1909. /package/dist/{field/lexical → lexical}/ui/icons/Strikethrough/index.js +0 -0
  1910. /package/dist/{field/lexical → lexical}/ui/icons/Subscript/index.d.ts +0 -0
  1911. /package/dist/{field/lexical → lexical}/ui/icons/Subscript/index.js +0 -0
  1912. /package/dist/{field/lexical → lexical}/ui/icons/Superscript/index.d.ts +0 -0
  1913. /package/dist/{field/lexical → lexical}/ui/icons/Superscript/index.js +0 -0
  1914. /package/dist/{field/lexical → lexical}/ui/icons/Text/index.d.ts +0 -0
  1915. /package/dist/{field/lexical → lexical}/ui/icons/Text/index.js +0 -0
  1916. /package/dist/{field/lexical → lexical}/ui/icons/Underline/index.d.ts +0 -0
  1917. /package/dist/{field/lexical → lexical}/ui/icons/Underline/index.js +0 -0
  1918. /package/dist/{field/lexical → lexical}/ui/icons/UnorderedList/index.d.ts +0 -0
  1919. /package/dist/{field/lexical → lexical}/ui/icons/UnorderedList/index.js +0 -0
  1920. /package/dist/{field/lexical → lexical}/ui/icons/Upload/index.d.ts +0 -0
  1921. /package/dist/{field/lexical → lexical}/ui/icons/Upload/index.js +0 -0
  1922. /package/dist/{field/lexical → lexical}/utils/canUseDOM.d.ts +0 -0
  1923. /package/dist/{field/lexical → lexical}/utils/canUseDOM.js +0 -0
  1924. /package/dist/{field/lexical → lexical}/utils/cloneDeep.d.ts +0 -0
  1925. /package/dist/{field/lexical → lexical}/utils/environment.d.ts +0 -0
  1926. /package/dist/{field/lexical → lexical}/utils/environment.js +0 -0
  1927. /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.d.ts +0 -0
  1928. /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.js +0 -0
  1929. /package/dist/{field/lexical → lexical}/utils/getSelectedNode.d.ts +0 -0
  1930. /package/dist/{field/lexical → lexical}/utils/getSelectedNode.js +0 -0
  1931. /package/dist/{field/lexical → lexical}/utils/guard.d.ts +0 -0
  1932. /package/dist/{field/lexical → lexical}/utils/guard.js +0 -0
  1933. /package/dist/{field/lexical → lexical}/utils/invariant.d.ts +0 -0
  1934. /package/dist/{field/lexical → lexical}/utils/invariant.js +0 -0
  1935. /package/dist/{field/lexical → lexical}/utils/joinClasses.d.ts +0 -0
  1936. /package/dist/{field/lexical → lexical}/utils/joinClasses.js +0 -0
  1937. /package/dist/{field/lexical → lexical}/utils/markdown/createBlockNode.d.ts +0 -0
  1938. /package/dist/{field/lexical → lexical}/utils/markdown/createBlockNode.js +0 -0
  1939. /package/dist/{field/lexical → lexical}/utils/nodeFormat.d.ts +0 -0
  1940. /package/dist/{field/lexical → lexical}/utils/nodeFormat.js +0 -0
  1941. /package/dist/{field/lexical → lexical}/utils/point.d.ts +0 -0
  1942. /package/dist/{field/lexical → lexical}/utils/point.js +0 -0
  1943. /package/dist/{field/lexical → lexical}/utils/rect.d.ts +0 -0
  1944. /package/dist/{field/lexical → lexical}/utils/rect.js +0 -0
  1945. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPosition.d.ts +0 -0
  1946. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPosition.js +0 -0
  1947. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.d.ts +0 -0
  1948. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.js +0 -0
  1949. /package/dist/{field/lexical → lexical}/utils/swipe.d.ts +0 -0
  1950. /package/dist/{field/lexical → lexical}/utils/swipe.js +0 -0
  1951. /package/dist/{field/lexical → lexical}/utils/url.d.ts +0 -0
  1952. /package/dist/{field/lexical → lexical}/utils/url.js +0 -0
  1953. /package/dist/{forEachNodeRecursively.d.ts → utilities/forEachNodeRecursively.d.ts} +0 -0
  1954. /package/dist/{forEachNodeRecursively.js → utilities/forEachNodeRecursively.js} +0 -0
  1955. /package/dist/{generateComponentMap.js → utilities/generateComponentMap.js} +0 -0
  1956. /package/dist/{generateSchemaMap.js → utilities/generateSchemaMap.js} +0 -0
  1957. /package/dist/{recurseNodeTree.d.ts → utilities/recurseNodeTree.d.ts} +0 -0
  1958. /package/dist/{recurseNodeTree.js → utilities/recurseNodeTree.js} +0 -0
@@ -1,83 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js';
4
- import { useListDrawer } from '@payloadcms/ui/client';
5
- import { $getNodeByKey, COMMAND_PRIORITY_EDITOR } from 'lexical';
6
- import React, { useCallback, useEffect, useState } from 'react';
7
- import { $createRelationshipNode } from '../nodes/RelationshipNode.js';
8
- import { INSERT_RELATIONSHIP_COMMAND } from '../plugins/index.js';
9
- import { EnabledRelationshipsCondition } from '../utils/EnabledRelationshipsCondition.js';
10
- import { INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND } from './commands.js';
11
- const insertRelationship = ({ editor, relationTo, replaceNodeKey, value })=>{
12
- if (!replaceNodeKey) {
13
- editor.dispatchCommand(INSERT_RELATIONSHIP_COMMAND, {
14
- relationTo,
15
- value
16
- });
17
- } else {
18
- editor.update(()=>{
19
- const node = $getNodeByKey(replaceNodeKey);
20
- if (node) {
21
- node.replace($createRelationshipNode({
22
- relationTo,
23
- value
24
- }));
25
- }
26
- });
27
- }
28
- };
29
- const RelationshipDrawerComponent = ({ enabledCollectionSlugs })=>{
30
- const [editor] = useLexicalComposerContext();
31
- const [selectedCollectionSlug, setSelectedCollectionSlug] = useState(()=>enabledCollectionSlugs[0]);
32
- const [replaceNodeKey, setReplaceNodeKey] = useState(null);
33
- const [ListDrawer, ListDrawerToggler, { closeDrawer, isDrawerOpen, openDrawer }] = useListDrawer({
34
- collectionSlugs: enabledCollectionSlugs,
35
- selectedCollection: selectedCollectionSlug
36
- });
37
- useEffect(()=>{
38
- return editor.registerCommand(INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND, (payload)=>{
39
- setReplaceNodeKey(payload?.replace ? payload?.replace.nodeKey : null);
40
- openDrawer();
41
- return true;
42
- }, COMMAND_PRIORITY_EDITOR);
43
- }, [
44
- editor,
45
- openDrawer
46
- ]);
47
- const onSelect = useCallback(({ collectionSlug, docID })=>{
48
- insertRelationship({
49
- editor,
50
- relationTo: collectionSlug,
51
- replaceNodeKey,
52
- value: docID
53
- });
54
- closeDrawer();
55
- }, [
56
- editor,
57
- closeDrawer,
58
- replaceNodeKey
59
- ]);
60
- useEffect(()=>{
61
- // always reset back to first option
62
- // TODO: this is not working, see the ListDrawer component
63
- setSelectedCollectionSlug(enabledCollectionSlugs[0]);
64
- }, [
65
- isDrawerOpen,
66
- enabledCollectionSlugs
67
- ]);
68
- return /*#__PURE__*/ _jsx(ListDrawer, {
69
- onSelect: onSelect
70
- });
71
- };
72
- export const RelationshipDrawer = (props)=>{
73
- return props?.enabledCollectionSlugs?.length > 0 ? /*#__PURE__*/ _jsx(RelationshipDrawerComponent, {
74
- ...props
75
- }) : /*#__PURE__*/ _jsx(EnabledRelationshipsCondition, {
76
- ...props,
77
- children: /*#__PURE__*/ _jsx(RelationshipDrawerComponent, {
78
- ...props
79
- })
80
- });
81
- };
82
-
83
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/field/features/relationship/drawer/index.tsx"],"sourcesContent":["'use client'\nimport type { LexicalEditor } from 'lexical'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport { useListDrawer } from '@payloadcms/ui/client'\nimport { $getNodeByKey, COMMAND_PRIORITY_EDITOR } from 'lexical'\nimport React, { useCallback, useEffect, useState } from 'react'\n\nimport { $createRelationshipNode } from '../nodes/RelationshipNode.js'\nimport { INSERT_RELATIONSHIP_COMMAND } from '../plugins/index.js'\nimport { EnabledRelationshipsCondition } from '../utils/EnabledRelationshipsCondition.js'\nimport { INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND } from './commands.js'\n\nconst insertRelationship = ({\n editor,\n relationTo,\n replaceNodeKey,\n value,\n}: {\n editor: LexicalEditor\n relationTo: string\n replaceNodeKey: null | string\n value: number | string\n}) => {\n if (!replaceNodeKey) {\n editor.dispatchCommand(INSERT_RELATIONSHIP_COMMAND, {\n relationTo,\n value,\n })\n } else {\n editor.update(() => {\n const node = $getNodeByKey(replaceNodeKey)\n if (node) {\n node.replace($createRelationshipNode({ relationTo, value }))\n }\n })\n }\n}\n\ntype Props = {\n enabledCollectionSlugs: null | string[]\n}\n\nconst RelationshipDrawerComponent: React.FC<Props> = ({ enabledCollectionSlugs }) => {\n const [editor] = useLexicalComposerContext()\n const [selectedCollectionSlug, setSelectedCollectionSlug] = useState(\n () => enabledCollectionSlugs[0],\n )\n const [replaceNodeKey, setReplaceNodeKey] = useState<null | string>(null)\n\n const [ListDrawer, ListDrawerToggler, { closeDrawer, isDrawerOpen, openDrawer }] = useListDrawer({\n collectionSlugs: enabledCollectionSlugs,\n selectedCollection: selectedCollectionSlug,\n })\n\n useEffect(() => {\n return editor.registerCommand<{\n replace: { nodeKey: string } | false\n }>(\n INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND,\n (payload) => {\n setReplaceNodeKey(payload?.replace ? payload?.replace.nodeKey : null)\n openDrawer()\n return true\n },\n COMMAND_PRIORITY_EDITOR,\n )\n }, [editor, openDrawer])\n\n const onSelect = useCallback(\n ({ collectionSlug, docID }) => {\n insertRelationship({\n editor,\n relationTo: collectionSlug,\n replaceNodeKey,\n value: docID,\n })\n closeDrawer()\n },\n [editor, closeDrawer, replaceNodeKey],\n )\n\n useEffect(() => {\n // always reset back to first option\n // TODO: this is not working, see the ListDrawer component\n setSelectedCollectionSlug(enabledCollectionSlugs[0])\n }, [isDrawerOpen, enabledCollectionSlugs])\n\n return <ListDrawer onSelect={onSelect} />\n}\n\nexport const RelationshipDrawer = (props: Props): React.ReactNode => {\n return props?.enabledCollectionSlugs?.length > 0 ? ( // If enabledCollectionSlugs it overrides what EnabledRelationshipsCondition is doing\n <RelationshipDrawerComponent {...props} />\n ) : (\n <EnabledRelationshipsCondition {...props}>\n <RelationshipDrawerComponent {...props} />\n </EnabledRelationshipsCondition>\n )\n}\n"],"names":["useLexicalComposerContext","useListDrawer","$getNodeByKey","COMMAND_PRIORITY_EDITOR","React","useCallback","useEffect","useState","$createRelationshipNode","INSERT_RELATIONSHIP_COMMAND","EnabledRelationshipsCondition","INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND","insertRelationship","editor","relationTo","replaceNodeKey","value","dispatchCommand","update","node","replace","RelationshipDrawerComponent","enabledCollectionSlugs","selectedCollectionSlug","setSelectedCollectionSlug","setReplaceNodeKey","ListDrawer","ListDrawerToggler","closeDrawer","isDrawerOpen","openDrawer","collectionSlugs","selectedCollection","registerCommand","payload","nodeKey","onSelect","collectionSlug","docID","RelationshipDrawer","props","length"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA;;AAGA,SAASA,yBAAyB,QAAQ,2CAA0C;AACpF,SAASC,aAAa,QAAQ,wBAAuB;AACrD,SAASC,aAAa,EAAEC,uBAAuB,QAAQ,UAAS;AAChE,OAAOC,SAASC,WAAW,EAAEC,SAAS,EAAEC,QAAQ,QAAQ,QAAO;AAE/D,SAASC,uBAAuB,QAAQ,+BAA8B;AACtE,SAASC,2BAA2B,QAAQ,sBAAqB;AACjE,SAASC,6BAA6B,QAAQ,4CAA2C;AACzF,SAASC,uCAAuC,QAAQ,gBAAe;AAEvE,MAAMC,qBAAqB,CAAC,EAC1BC,MAAM,EACNC,UAAU,EACVC,cAAc,EACdC,KAAK,EAMN;IACC,IAAI,CAACD,gBAAgB;QACnBF,OAAOI,eAAe,CAACR,6BAA6B;YAClDK;YACAE;QACF;IACF,OAAO;QACLH,OAAOK,MAAM,CAAC;YACZ,MAAMC,OAAOjB,cAAca;YAC3B,IAAII,MAAM;gBACRA,KAAKC,OAAO,CAACZ,wBAAwB;oBAAEM;oBAAYE;gBAAM;YAC3D;QACF;IACF;AACF;AAMA,MAAMK,8BAA+C,CAAC,EAAEC,sBAAsB,EAAE;IAC9E,MAAM,CAACT,OAAO,GAAGb;IACjB,MAAM,CAACuB,wBAAwBC,0BAA0B,GAAGjB,SAC1D,IAAMe,sBAAsB,CAAC,EAAE;IAEjC,MAAM,CAACP,gBAAgBU,kBAAkB,GAAGlB,SAAwB;IAEpE,MAAM,CAACmB,YAAYC,mBAAmB,EAAEC,WAAW,EAAEC,YAAY,EAAEC,UAAU,EAAE,CAAC,GAAG7B,cAAc;QAC/F8B,iBAAiBT;QACjBU,oBAAoBT;IACtB;IAEAjB,UAAU;QACR,OAAOO,OAAOoB,eAAe,CAG3BtB,yCACA,CAACuB;YACCT,kBAAkBS,SAASd,UAAUc,SAASd,QAAQe,UAAU;YAChEL;YACA,OAAO;QACT,GACA3B;IAEJ,GAAG;QAACU;QAAQiB;KAAW;IAEvB,MAAMM,WAAW/B,YACf,CAAC,EAAEgC,cAAc,EAAEC,KAAK,EAAE;QACxB1B,mBAAmB;YACjBC;YACAC,YAAYuB;YACZtB;YACAC,OAAOsB;QACT;QACAV;IACF,GACA;QAACf;QAAQe;QAAab;KAAe;IAGvCT,UAAU;QACR,oCAAoC;QACpC,0DAA0D;QAC1DkB,0BAA0BF,sBAAsB,CAAC,EAAE;IACrD,GAAG;QAACO;QAAcP;KAAuB;IAEzC,qBAAO,KAACI;QAAWU,UAAUA;;AAC/B;AAEA,OAAO,MAAMG,qBAAqB,CAACC;IACjC,OAAOA,OAAOlB,wBAAwBmB,SAAS,kBAC7C,KAACpB;QAA6B,GAAGmB,KAAK;uBAEtC,KAAC9B;QAA+B,GAAG8B,KAAK;kBACtC,cAAA,KAACnB;YAA6B,GAAGmB,KAAK;;;AAG5C,EAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"feature.client.d.ts","sourceRoot":"","sources":["../../../../src/field/features/relationship/feature.client.tsx"],"names":[],"mappings":";AAgFA,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;GAAmD,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/field/features/relationship/feature.client.tsx"],"sourcesContent":["'use client'\n\nimport { $isNodeSelection } from 'lexical'\n\nimport type { FeatureProviderProviderClient } from '../types.js'\nimport type { RelationshipFeatureProps } from './feature.server.js'\n\nimport { RelationshipIcon } from '../../lexical/ui/icons/Relationship/index.js'\nimport { createClientComponent } from '../createClientComponent.js'\nimport { slashMenuBasicGroupWithItems } from '../shared/slashMenu/basicGroup.js'\nimport { toolbarAddDropdownGroupWithItems } from '../shared/toolbar/addDropdownGroup.js'\nimport { INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND } from './drawer/commands.js'\nimport { $isRelationshipNode, RelationshipNode } from './nodes/RelationshipNode.js'\nimport { RelationshipPlugin } from './plugins/index.js'\n\nconst RelationshipFeatureClient: FeatureProviderProviderClient<RelationshipFeatureProps> = (\n props,\n) => {\n return {\n clientFeatureProps: props,\n feature: () => ({\n clientFeatureProps: props,\n nodes: [RelationshipNode],\n plugins: [\n {\n Component: RelationshipPlugin,\n position: 'normal',\n },\n ],\n slashMenu: {\n groups: [\n slashMenuBasicGroupWithItems([\n {\n Icon: RelationshipIcon,\n key: 'relationship',\n keywords: ['relationship', 'relation', 'rel'],\n label: ({ i18n }) => {\n return i18n.t('lexical:relationship:label')\n },\n onSelect: ({ editor }) => {\n // dispatch INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND\n editor.dispatchCommand(INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND, {\n replace: false,\n })\n },\n },\n ]),\n ],\n },\n toolbarFixed: {\n groups: [\n toolbarAddDropdownGroupWithItems([\n {\n ChildComponent: RelationshipIcon,\n isActive: ({ selection }) => {\n if (!$isNodeSelection(selection) || !selection.getNodes().length) {\n return false\n }\n\n const firstNode = selection.getNodes()[0]\n return $isRelationshipNode(firstNode)\n },\n key: 'relationship',\n label: ({ i18n }) => {\n return i18n.t('lexical:relationship:label')\n },\n onSelect: ({ editor }) => {\n // dispatch INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND\n editor.dispatchCommand(INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND, {\n replace: false,\n })\n },\n },\n ]),\n ],\n },\n }),\n }\n}\n\nexport const RelationshipFeatureClientComponent = createClientComponent(RelationshipFeatureClient)\n"],"names":["$isNodeSelection","RelationshipIcon","createClientComponent","slashMenuBasicGroupWithItems","toolbarAddDropdownGroupWithItems","INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND","$isRelationshipNode","RelationshipNode","RelationshipPlugin","RelationshipFeatureClient","props","clientFeatureProps","feature","nodes","plugins","Component","position","slashMenu","groups","Icon","key","keywords","label","i18n","t","onSelect","editor","dispatchCommand","replace","toolbarFixed","ChildComponent","isActive","selection","getNodes","length","firstNode","RelationshipFeatureClientComponent"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA;AAEA,SAASA,gBAAgB,QAAQ,UAAS;AAK1C,SAASC,gBAAgB,QAAQ,+CAA8C;AAC/E,SAASC,qBAAqB,QAAQ,8BAA6B;AACnE,SAASC,4BAA4B,QAAQ,oCAAmC;AAChF,SAASC,gCAAgC,QAAQ,wCAAuC;AACxF,SAASC,uCAAuC,QAAQ,uBAAsB;AAC9E,SAASC,mBAAmB,EAAEC,gBAAgB,QAAQ,8BAA6B;AACnF,SAASC,kBAAkB,QAAQ,qBAAoB;AAEvD,MAAMC,4BAAqF,CACzFC;IAEA,OAAO;QACLC,oBAAoBD;QACpBE,SAAS,IAAO,CAAA;gBACdD,oBAAoBD;gBACpBG,OAAO;oBAACN;iBAAiB;gBACzBO,SAAS;oBACP;wBACEC,WAAWP;wBACXQ,UAAU;oBACZ;iBACD;gBACDC,WAAW;oBACTC,QAAQ;wBACNf,6BAA6B;4BAC3B;gCACEgB,MAAMlB;gCACNmB,KAAK;gCACLC,UAAU;oCAAC;oCAAgB;oCAAY;iCAAM;gCAC7CC,OAAO,CAAC,EAAEC,IAAI,EAAE;oCACd,OAAOA,KAAKC,CAAC,CAAC;gCAChB;gCACAC,UAAU,CAAC,EAAEC,MAAM,EAAE;oCACnB,mDAAmD;oCACnDA,OAAOC,eAAe,CAACtB,yCAAyC;wCAC9DuB,SAAS;oCACX;gCACF;4BACF;yBACD;qBACF;gBACH;gBACAC,cAAc;oBACZX,QAAQ;wBACNd,iCAAiC;4BAC/B;gCACE0B,gBAAgB7B;gCAChB8B,UAAU,CAAC,EAAEC,SAAS,EAAE;oCACtB,IAAI,CAAChC,iBAAiBgC,cAAc,CAACA,UAAUC,QAAQ,GAAGC,MAAM,EAAE;wCAChE,OAAO;oCACT;oCAEA,MAAMC,YAAYH,UAAUC,QAAQ,EAAE,CAAC,EAAE;oCACzC,OAAO3B,oBAAoB6B;gCAC7B;gCACAf,KAAK;gCACLE,OAAO,CAAC,EAAEC,IAAI,EAAE;oCACd,OAAOA,KAAKC,CAAC,CAAC;gCAChB;gCACAC,UAAU,CAAC,EAAEC,MAAM,EAAE;oCACnB,mDAAmD;oCACnDA,OAAOC,eAAe,CAACtB,yCAAyC;wCAC9DuB,SAAS;oCACX;gCACF;4BACF;yBACD;qBACF;gBACH;YACF,CAAA;IACF;AACF;AAEA,OAAO,MAAMQ,qCAAqClC,sBAAsBO,2BAA0B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"feature.server.d.ts","sourceRoot":"","sources":["../../../../src/field/features/relationship/feature.server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAA;AAUhE,MAAM,MAAM,iCAAiC,GACzC;IACE;;;QAGI;IACJ,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAA;IAG9B,kBAAkB,CAAC,EAAE,KAAK,CAAA;CAC3B,GACD;IAEE,mBAAmB,CAAC,EAAE,KAAK,CAAA;IAE3B;;;QAGI;IACJ,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAA;CAC9B,CAAA;AAEL,MAAM,MAAM,wBAAwB,GAAG,iCAAiC,GAAG;IACzE;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,6BAA6B,CAC7D,wBAAwB,EACxB,wBAAwB,CAmEzB,CAAA"}
@@ -1,61 +0,0 @@
1
- // eslint-disable-next-line payload/no-imports-from-exports-dir
2
- import { RelationshipFeatureClientComponent } from '../../../exports/client/index.js';
3
- import { populate } from '../../../populateGraphQL/populate.js';
4
- import { createNode } from '../typeUtilities.js';
5
- import { relationshipPopulationPromiseHOC } from './graphQLPopulationPromise.js';
6
- import { i18n } from './i18n.js';
7
- import { RelationshipNode } from './nodes/RelationshipNode.js';
8
- export const RelationshipFeature = (props)=>{
9
- return {
10
- feature: ()=>{
11
- return {
12
- ClientComponent: RelationshipFeatureClientComponent,
13
- clientFeatureProps: props,
14
- i18n,
15
- nodes: [
16
- createNode({
17
- graphQLPopulationPromises: [
18
- relationshipPopulationPromiseHOC(props)
19
- ],
20
- hooks: {
21
- afterRead: [
22
- ({ currentDepth, depth, draft, node, overrideAccess, populationPromises, req, showHiddenFields })=>{
23
- if (!node?.value) {
24
- return node;
25
- }
26
- const collection = req.payload.collections[node?.relationTo];
27
- if (!collection) {
28
- return node;
29
- }
30
- // @ts-expect-error
31
- const id = node?.value?.id || node?.value // for backwards-compatibility
32
- ;
33
- const populateDepth = props?.maxDepth !== undefined && props?.maxDepth < depth ? props?.maxDepth : depth;
34
- populationPromises.push(populate({
35
- id,
36
- collection,
37
- currentDepth,
38
- data: node,
39
- depth: populateDepth,
40
- draft,
41
- key: 'value',
42
- overrideAccess,
43
- req,
44
- showHiddenFields
45
- }));
46
- return node;
47
- }
48
- ]
49
- },
50
- node: RelationshipNode
51
- })
52
- ],
53
- serverFeatureProps: props
54
- };
55
- },
56
- key: 'relationship',
57
- serverFeatureProps: props
58
- };
59
- };
60
-
61
- //# sourceMappingURL=feature.server.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/field/features/relationship/feature.server.ts"],"sourcesContent":["import type { FeatureProviderProviderServer } from '../types.js'\n\n// eslint-disable-next-line payload/no-imports-from-exports-dir\nimport { RelationshipFeatureClientComponent } from '../../../exports/client/index.js'\nimport { populate } from '../../../populateGraphQL/populate.js'\nimport { createNode } from '../typeUtilities.js'\nimport { relationshipPopulationPromiseHOC } from './graphQLPopulationPromise.js'\nimport { i18n } from './i18n.js'\nimport { RelationshipNode } from './nodes/RelationshipNode.js'\n\nexport type ExclusiveRelationshipFeatureProps =\n | {\n /**\n * The collections that should be disabled. Overrides the `enableRichTextRelationship` property in the collection config.\n * When this property is set, `enabledCollections` will not be available.\n **/\n disabledCollections?: string[]\n\n // Ensures that enabledCollections is not available when disabledCollections is set\n enabledCollections?: never\n }\n | {\n // Ensures that disabledCollections is not available when enabledCollections is set\n disabledCollections?: never\n\n /**\n * The collections that should be enabled. Overrides the `enableRichTextRelationship` property in the collection config\n * When this property is set, `disabledCollections` will not be available.\n **/\n enabledCollections?: string[]\n }\n\nexport type RelationshipFeatureProps = ExclusiveRelationshipFeatureProps & {\n /**\n * Sets a maximum population depth for this relationship, regardless of the remaining depth when the respective field is reached.\n * This behaves exactly like the maxDepth properties of relationship and upload fields.\n *\n * {@link https://payloadcms.com/docs/getting-started/concepts#field-level-max-depth}\n */\n maxDepth?: number\n}\n\nexport const RelationshipFeature: FeatureProviderProviderServer<\n RelationshipFeatureProps,\n RelationshipFeatureProps\n> = (props) => {\n return {\n feature: () => {\n return {\n ClientComponent: RelationshipFeatureClientComponent,\n clientFeatureProps: props,\n i18n,\n nodes: [\n createNode({\n graphQLPopulationPromises: [relationshipPopulationPromiseHOC(props)],\n hooks: {\n afterRead: [\n ({\n currentDepth,\n depth,\n draft,\n node,\n overrideAccess,\n populationPromises,\n req,\n showHiddenFields,\n }) => {\n if (!node?.value) {\n return node\n }\n const collection = req.payload.collections[node?.relationTo]\n\n if (!collection) {\n return node\n }\n // @ts-expect-error\n const id = node?.value?.id || node?.value // for backwards-compatibility\n\n const populateDepth =\n props?.maxDepth !== undefined && props?.maxDepth < depth\n ? props?.maxDepth\n : depth\n\n populationPromises.push(\n populate({\n id,\n collection,\n currentDepth,\n data: node,\n depth: populateDepth,\n draft,\n key: 'value',\n overrideAccess,\n req,\n showHiddenFields,\n }),\n )\n\n return node\n },\n ],\n },\n node: RelationshipNode,\n }),\n ],\n serverFeatureProps: props,\n }\n },\n key: 'relationship',\n serverFeatureProps: props,\n }\n}\n"],"names":["RelationshipFeatureClientComponent","populate","createNode","relationshipPopulationPromiseHOC","i18n","RelationshipNode","RelationshipFeature","props","feature","ClientComponent","clientFeatureProps","nodes","graphQLPopulationPromises","hooks","afterRead","currentDepth","depth","draft","node","overrideAccess","populationPromises","req","showHiddenFields","value","collection","payload","collections","relationTo","id","populateDepth","maxDepth","undefined","push","data","key","serverFeatureProps"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAEA,+DAA+D;AAC/D,SAASA,kCAAkC,QAAQ,mCAAkC;AACrF,SAASC,QAAQ,QAAQ,uCAAsC;AAC/D,SAASC,UAAU,QAAQ,sBAAqB;AAChD,SAASC,gCAAgC,QAAQ,gCAA+B;AAChF,SAASC,IAAI,QAAQ,YAAW;AAChC,SAASC,gBAAgB,QAAQ,8BAA6B;AAkC9D,OAAO,MAAMC,sBAGT,CAACC;IACH,OAAO;QACLC,SAAS;YACP,OAAO;gBACLC,iBAAiBT;gBACjBU,oBAAoBH;gBACpBH;gBACAO,OAAO;oBACLT,WAAW;wBACTU,2BAA2B;4BAACT,iCAAiCI;yBAAO;wBACpEM,OAAO;4BACLC,WAAW;gCACT,CAAC,EACCC,YAAY,EACZC,KAAK,EACLC,KAAK,EACLC,IAAI,EACJC,cAAc,EACdC,kBAAkB,EAClBC,GAAG,EACHC,gBAAgB,EACjB;oCACC,IAAI,CAACJ,MAAMK,OAAO;wCAChB,OAAOL;oCACT;oCACA,MAAMM,aAAaH,IAAII,OAAO,CAACC,WAAW,CAACR,MAAMS,WAAW;oCAE5D,IAAI,CAACH,YAAY;wCACf,OAAON;oCACT;oCACA,mBAAmB;oCACnB,MAAMU,KAAKV,MAAMK,OAAOK,MAAMV,MAAMK,MAAM,8BAA8B;;oCAExE,MAAMM,gBACJtB,OAAOuB,aAAaC,aAAaxB,OAAOuB,WAAWd,QAC/CT,OAAOuB,WACPd;oCAENI,mBAAmBY,IAAI,CACrB/B,SAAS;wCACP2B;wCACAJ;wCACAT;wCACAkB,MAAMf;wCACNF,OAAOa;wCACPZ;wCACAiB,KAAK;wCACLf;wCACAE;wCACAC;oCACF;oCAGF,OAAOJ;gCACT;6BACD;wBACH;wBACAA,MAAMb;oBACR;iBACD;gBACD8B,oBAAoB5B;YACtB;QACF;QACA2B,KAAK;QACLC,oBAAoB5B;IACtB;AACF,EAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"graphQLPopulationPromise.d.ts","sourceRoot":"","sources":["../../../../src/field/features/relationship/graphQLPopulationPromise.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AACpD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAA;AACnE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAA;AAI7E,eAAO,MAAM,gCAAgC,UACpC,wBAAwB,KAC9B,kBAAkB,0BAA0B,CAwC9C,CAAA"}
@@ -1,29 +0,0 @@
1
- import { populate } from '../../../populateGraphQL/populate.js';
2
- export const relationshipPopulationPromiseHOC = (props)=>{
3
- const relationshipPopulationPromise = ({ currentDepth, depth, draft, node, overrideAccess, populationPromises, req, showHiddenFields })=>{
4
- if (node?.value) {
5
- // @ts-expect-error
6
- const id = node?.value?.id || node?.value // for backwards-compatibility
7
- ;
8
- const collection = req.payload.collections[node?.relationTo];
9
- if (collection) {
10
- const populateDepth = props?.maxDepth !== undefined && props?.maxDepth < depth ? props?.maxDepth : depth;
11
- populationPromises.push(populate({
12
- id,
13
- collection,
14
- currentDepth,
15
- data: node,
16
- depth: populateDepth,
17
- draft,
18
- key: 'value',
19
- overrideAccess,
20
- req,
21
- showHiddenFields
22
- }));
23
- }
24
- }
25
- };
26
- return relationshipPopulationPromise;
27
- };
28
-
29
- //# sourceMappingURL=graphQLPopulationPromise.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/field/features/relationship/graphQLPopulationPromise.ts"],"sourcesContent":["import type { PopulationPromise } from '../types.js'\nimport type { RelationshipFeatureProps } from './feature.server.js'\nimport type { SerializedRelationshipNode } from './nodes/RelationshipNode.js'\n\nimport { populate } from '../../../populateGraphQL/populate.js'\n\nexport const relationshipPopulationPromiseHOC = (\n props: RelationshipFeatureProps,\n): PopulationPromise<SerializedRelationshipNode> => {\n const relationshipPopulationPromise: PopulationPromise<SerializedRelationshipNode> = ({\n currentDepth,\n depth,\n draft,\n node,\n overrideAccess,\n populationPromises,\n req,\n showHiddenFields,\n }) => {\n if (node?.value) {\n // @ts-expect-error\n const id = node?.value?.id || node?.value // for backwards-compatibility\n\n const collection = req.payload.collections[node?.relationTo]\n\n if (collection) {\n const populateDepth =\n props?.maxDepth !== undefined && props?.maxDepth < depth ? props?.maxDepth : depth\n\n populationPromises.push(\n populate({\n id,\n collection,\n currentDepth,\n data: node,\n depth: populateDepth,\n draft,\n key: 'value',\n overrideAccess,\n req,\n showHiddenFields,\n }),\n )\n }\n }\n }\n\n return relationshipPopulationPromise\n}\n"],"names":["populate","relationshipPopulationPromiseHOC","props","relationshipPopulationPromise","currentDepth","depth","draft","node","overrideAccess","populationPromises","req","showHiddenFields","value","id","collection","payload","collections","relationTo","populateDepth","maxDepth","undefined","push","data","key"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAIA,SAASA,QAAQ,QAAQ,uCAAsC;AAE/D,OAAO,MAAMC,mCAAmC,CAC9CC;IAEA,MAAMC,gCAA+E,CAAC,EACpFC,YAAY,EACZC,KAAK,EACLC,KAAK,EACLC,IAAI,EACJC,cAAc,EACdC,kBAAkB,EAClBC,GAAG,EACHC,gBAAgB,EACjB;QACC,IAAIJ,MAAMK,OAAO;YACf,mBAAmB;YACnB,MAAMC,KAAKN,MAAMK,OAAOC,MAAMN,MAAMK,MAAM,8BAA8B;;YAExE,MAAME,aAAaJ,IAAIK,OAAO,CAACC,WAAW,CAACT,MAAMU,WAAW;YAE5D,IAAIH,YAAY;gBACd,MAAMI,gBACJhB,OAAOiB,aAAaC,aAAalB,OAAOiB,WAAWd,QAAQH,OAAOiB,WAAWd;gBAE/EI,mBAAmBY,IAAI,CACrBrB,SAAS;oBACPa;oBACAC;oBACAV;oBACAkB,MAAMf;oBACNF,OAAOa;oBACPZ;oBACAiB,KAAK;oBACLf;oBACAE;oBACAC;gBACF;YAEJ;QACF;IACF;IAEA,OAAOR;AACT,EAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../../src/field/features/relationship/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAEhE,eAAO,MAAM,IAAI,EAAE,OAAO,CAAC,gBAAgB,CAiG1C,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/field/features/relationship/i18n.ts"],"sourcesContent":["import type { GenericLanguages } from '@payloadcms/translations'\n\nexport const i18n: Partial<GenericLanguages> = {\n ar: {\n label: 'العلاقة',\n },\n az: {\n label: 'Münasibət',\n },\n bg: {\n label: 'Връзка',\n },\n cs: {\n label: 'Vztah',\n },\n de: {\n label: 'Beziehung',\n },\n en: {\n label: 'Relationship',\n },\n es: {\n label: 'Relación',\n },\n fa: {\n label: 'روابط',\n },\n fr: {\n label: 'Relation',\n },\n he: {\n label: 'יחסים',\n },\n hr: {\n label: 'Odnos',\n },\n hu: {\n label: 'Kapcsolat',\n },\n it: {\n label: 'Relazione',\n },\n ja: {\n label: '関係性',\n },\n ko: {\n label: '관계',\n },\n my: {\n label: 'Hubungan',\n },\n nb: {\n label: 'Forhold',\n },\n nl: {\n label: 'Relatie',\n },\n pl: {\n label: 'Relacja',\n },\n pt: {\n label: 'Relacionamento',\n },\n ro: {\n label: 'Relație',\n },\n rs: {\n label: 'Veza',\n },\n 'rs-latin': {\n label: 'Odnos',\n },\n ru: {\n label: 'Отношения',\n },\n sk: {\n label: 'Vzťah',\n },\n sv: {\n label: 'Relation',\n },\n th: {\n label: 'ความสัมพันธ์',\n },\n tr: {\n label: 'İlişki',\n },\n uk: {\n label: 'Стосунки',\n },\n vi: {\n label: 'Mối quan hệ',\n },\n zh: {\n label: '关系',\n },\n 'zh-TW': {\n label: '關係',\n },\n}\n"],"names":["i18n","ar","label","az","bg","cs","de","en","es","fa","fr","he","hr","hu","it","ja","ko","my","nb","nl","pl","pt","ro","rs","ru","sk","sv","th","tr","uk","vi","zh"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAEA,OAAO,MAAMA,OAAkC;IAC7CC,IAAI;QACFC,OAAO;IACT;IACAC,IAAI;QACFD,OAAO;IACT;IACAE,IAAI;QACFF,OAAO;IACT;IACAG,IAAI;QACFH,OAAO;IACT;IACAI,IAAI;QACFJ,OAAO;IACT;IACAK,IAAI;QACFL,OAAO;IACT;IACAM,IAAI;QACFN,OAAO;IACT;IACAO,IAAI;QACFP,OAAO;IACT;IACAQ,IAAI;QACFR,OAAO;IACT;IACAS,IAAI;QACFT,OAAO;IACT;IACAU,IAAI;QACFV,OAAO;IACT;IACAW,IAAI;QACFX,OAAO;IACT;IACAY,IAAI;QACFZ,OAAO;IACT;IACAa,IAAI;QACFb,OAAO;IACT;IACAc,IAAI;QACFd,OAAO;IACT;IACAe,IAAI;QACFf,OAAO;IACT;IACAgB,IAAI;QACFhB,OAAO;IACT;IACAiB,IAAI;QACFjB,OAAO;IACT;IACAkB,IAAI;QACFlB,OAAO;IACT;IACAmB,IAAI;QACFnB,OAAO;IACT;IACAoB,IAAI;QACFpB,OAAO;IACT;IACAqB,IAAI;QACFrB,OAAO;IACT;IACA,YAAY;QACVA,OAAO;IACT;IACAsB,IAAI;QACFtB,OAAO;IACT;IACAuB,IAAI;QACFvB,OAAO;IACT;IACAwB,IAAI;QACFxB,OAAO;IACT;IACAyB,IAAI;QACFzB,OAAO;IACT;IACA0B,IAAI;QACF1B,OAAO;IACT;IACA2B,IAAI;QACF3B,OAAO;IACT;IACA4B,IAAI;QACF5B,OAAO;IACT;IACA6B,IAAI;QACF7B,OAAO;IACT;IACA,SAAS;QACPA,OAAO;IACT;AACF,EAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"RelationshipNode.d.ts","sourceRoot":"","sources":["../../../../../src/field/features/relationship/nodes/RelationshipNode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAA;AAC/F,OAAO,KAAK,EACV,gBAAgB,EAEhB,eAAe,EACf,YAAY,EACZ,iBAAiB,EACjB,aAAa,EACb,WAAW,EACX,OAAO,EACP,MAAM,EACP,MAAM,SAAS,CAAA;AAChB,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAEhC,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAA;AAShF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,gBAAgB,EAAE,4BAA4B,CAAC,CAAA;AAgB/F,qBAAa,gBAAiB,SAAQ,kBAAkB;IACtD,MAAM,EAAE,gBAAgB,CAAA;gBAEZ,EACV,IAAI,EACJ,MAAM,EACN,GAAG,GACJ,EAAE;QACD,IAAI,EAAE,gBAAgB,CAAA;QACtB,MAAM,CAAC,EAAE,iBAAiB,CAAA;QAC1B,GAAG,CAAC,EAAE,OAAO,CAAA;KACd;IAKD,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,gBAAgB,GAAG,gBAAgB;IAQtD,MAAM,CAAC,OAAO,IAAI,MAAM;IAIxB,MAAM,CAAC,SAAS,IAAI,gBAAgB,CAAC,cAAc,CAAC,GAAG,IAAI;IAiB3D,MAAM,CAAC,UAAU,CAAC,cAAc,EAAE,0BAA0B,GAAG,gBAAgB;IAc/E,MAAM,CAAC,QAAQ,IAAI,KAAK;IAIxB,QAAQ,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO;IAUlE,SAAS,IAAI,eAAe;IAU5B,UAAU,IAAI,0BAA0B;IASxC,OAAO,IAAI,gBAAgB;IAI3B,cAAc,IAAI,MAAM;IAIxB,OAAO,CAAC,IAAI,EAAE,gBAAgB,GAAG,IAAI;CAItC;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,gBAAgB,GAAG,gBAAgB,CAIhF;AAED,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,WAAW,GAAG,gBAAgB,GAAG,IAAI,GAAG,SAAS,GACtD,IAAI,IAAI,gBAAgB,CAE1B"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/field/features/relationship/nodes/RelationshipNode.tsx"],"sourcesContent":["import type { SerializedDecoratorBlockNode } from '@lexical/react/LexicalDecoratorBlockNode.js'\nimport type {\n DOMConversionMap,\n DOMConversionOutput,\n DOMExportOutput,\n EditorConfig,\n ElementFormatType,\n LexicalEditor,\n LexicalNode,\n NodeKey,\n Spread,\n} from 'lexical'\nimport type { JSX } from 'react'\n\nimport { DecoratorBlockNode } from '@lexical/react/LexicalDecoratorBlockNode.js'\nimport * as React from 'react'\n\nconst RelationshipComponent = React.lazy(() =>\n import('./components/RelationshipComponent.js').then((module) => ({\n default: module.RelationshipComponent,\n })),\n)\n\nexport type RelationshipData = {\n relationTo: string\n value: number | string\n}\n\nexport type SerializedRelationshipNode = Spread<RelationshipData, SerializedDecoratorBlockNode>\n\nfunction $relationshipElementToNode(domNode: HTMLDivElement): DOMConversionOutput | null {\n const id = domNode.getAttribute('data-lexical-relationship-id')\n const relationTo = domNode.getAttribute('data-lexical-relationship-relationTo')\n\n if (id != null && relationTo != null) {\n const node = $createRelationshipNode({\n relationTo,\n value: id,\n })\n return { node }\n }\n return null\n}\n\nexport class RelationshipNode extends DecoratorBlockNode {\n __data: RelationshipData\n\n constructor({\n data,\n format,\n key,\n }: {\n data: RelationshipData\n format?: ElementFormatType\n key?: NodeKey\n }) {\n super(format, key)\n this.__data = data\n }\n\n static clone(node: RelationshipNode): RelationshipNode {\n return new RelationshipNode({\n data: node.__data,\n format: node.__format,\n key: node.__key,\n })\n }\n\n static getType(): string {\n return 'relationship'\n }\n\n static importDOM(): DOMConversionMap<HTMLDivElement> | null {\n return {\n div: (domNode: HTMLDivElement) => {\n if (\n !domNode.hasAttribute('data-lexical-relationship-relationTo') ||\n !domNode.hasAttribute('data-lexical-relationship-id')\n ) {\n return null\n }\n return {\n conversion: $relationshipElementToNode,\n priority: 2,\n }\n },\n }\n }\n\n static importJSON(serializedNode: SerializedRelationshipNode): RelationshipNode {\n if (serializedNode.version === 1 && (serializedNode?.value as unknown as { id: string })?.id) {\n serializedNode.value = (serializedNode.value as unknown as { id: string }).id\n }\n\n const importedData: RelationshipData = {\n relationTo: serializedNode.relationTo,\n value: serializedNode.value,\n }\n const node = $createRelationshipNode(importedData)\n node.setFormat(serializedNode.format)\n return node\n }\n\n static isInline(): false {\n return false\n }\n\n decorate(editor: LexicalEditor, config: EditorConfig): JSX.Element {\n return (\n <RelationshipComponent\n className={config.theme.relationship ?? 'LexicalEditorTheme__relationship'}\n data={this.__data}\n format={this.__format}\n nodeKey={this.getKey()}\n />\n )\n }\n exportDOM(): DOMExportOutput {\n const element = document.createElement('div')\n element.setAttribute('data-lexical-relationship-id', String(this.__data?.value))\n element.setAttribute('data-lexical-relationship-relationTo', this.__data?.relationTo)\n\n const text = document.createTextNode(this.getTextContent())\n element.append(text)\n return { element }\n }\n\n exportJSON(): SerializedRelationshipNode {\n return {\n ...super.exportJSON(),\n ...this.getData(),\n type: this.getType(),\n version: 2,\n }\n }\n\n getData(): RelationshipData {\n return this.getLatest().__data\n }\n\n getTextContent(): string {\n return `${this.__data?.relationTo} relation to ${this.__data?.value}`\n }\n\n setData(data: RelationshipData): void {\n const writable = this.getWritable()\n writable.__data = data\n }\n}\n\nexport function $createRelationshipNode(data: RelationshipData): RelationshipNode {\n return new RelationshipNode({\n data,\n })\n}\n\nexport function $isRelationshipNode(\n node: LexicalNode | RelationshipNode | null | undefined,\n): node is RelationshipNode {\n return node instanceof RelationshipNode\n}\n"],"names":["DecoratorBlockNode","React","RelationshipComponent","lazy","then","module","default","$relationshipElementToNode","domNode","id","getAttribute","relationTo","node","$createRelationshipNode","value","RelationshipNode","__data","constructor","data","format","key","clone","__format","__key","getType","importDOM","div","hasAttribute","conversion","priority","importJSON","serializedNode","version","importedData","setFormat","isInline","decorate","editor","config","className","theme","relationship","nodeKey","getKey","exportDOM","element","document","createElement","setAttribute","String","text","createTextNode","getTextContent","append","exportJSON","getData","type","getLatest","setData","writable","getWritable","$isRelationshipNode"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";AAcA,SAASA,kBAAkB,QAAQ,8CAA6C;AAChF,YAAYC,WAAW,QAAO;AAE9B,MAAMC,sCAAwBD,MAAME,IAAI,CAAC,IACvC,MAAM,CAAC,yCAAyCC,IAAI,CAAC,CAACC,SAAY,CAAA;YAChEC,SAASD,OAAOH,qBAAqB;QACvC,CAAA;AAUF,SAASK,2BAA2BC,OAAuB;IACzD,MAAMC,KAAKD,QAAQE,YAAY,CAAC;IAChC,MAAMC,aAAaH,QAAQE,YAAY,CAAC;IAExC,IAAID,MAAM,QAAQE,cAAc,MAAM;QACpC,MAAMC,OAAOC,wBAAwB;YACnCF;YACAG,OAAOL;QACT;QACA,OAAO;YAAEG;QAAK;IAChB;IACA,OAAO;AACT;AAEA,OAAO,MAAMG,yBAAyBf;IACpCgB,OAAwB;IAExBC,YAAY,EACVC,IAAI,EACJC,MAAM,EACNC,GAAG,EAKJ,CAAE;QACD,KAAK,CAACD,QAAQC;QACd,IAAI,CAACJ,MAAM,GAAGE;IAChB;IAEA,OAAOG,MAAMT,IAAsB,EAAoB;QACrD,OAAO,IAAIG,iBAAiB;YAC1BG,MAAMN,KAAKI,MAAM;YACjBG,QAAQP,KAAKU,QAAQ;YACrBF,KAAKR,KAAKW,KAAK;QACjB;IACF;IAEA,OAAOC,UAAkB;QACvB,OAAO;IACT;IAEA,OAAOC,YAAqD;QAC1D,OAAO;YACLC,KAAK,CAAClB;gBACJ,IACE,CAACA,QAAQmB,YAAY,CAAC,2CACtB,CAACnB,QAAQmB,YAAY,CAAC,iCACtB;oBACA,OAAO;gBACT;gBACA,OAAO;oBACLC,YAAYrB;oBACZsB,UAAU;gBACZ;YACF;QACF;IACF;IAEA,OAAOC,WAAWC,cAA0C,EAAoB;QAC9E,IAAIA,eAAeC,OAAO,KAAK,KAAMD,gBAAgBjB,OAAqCL,IAAI;YAC5FsB,eAAejB,KAAK,GAAG,AAACiB,eAAejB,KAAK,CAA+BL,EAAE;QAC/E;QAEA,MAAMwB,eAAiC;YACrCtB,YAAYoB,eAAepB,UAAU;YACrCG,OAAOiB,eAAejB,KAAK;QAC7B;QACA,MAAMF,OAAOC,wBAAwBoB;QACrCrB,KAAKsB,SAAS,CAACH,eAAeZ,MAAM;QACpC,OAAOP;IACT;IAEA,OAAOuB,WAAkB;QACvB,OAAO;IACT;IAEAC,SAASC,MAAqB,EAAEC,MAAoB,EAAe;QACjE,qBACE,KAACpC;YACCqC,WAAWD,OAAOE,KAAK,CAACC,YAAY,IAAI;YACxCvB,MAAM,IAAI,CAACF,MAAM;YACjBG,QAAQ,IAAI,CAACG,QAAQ;YACrBoB,SAAS,IAAI,CAACC,MAAM;;IAG1B;IACAC,YAA6B;QAC3B,MAAMC,UAAUC,SAASC,aAAa,CAAC;QACvCF,QAAQG,YAAY,CAAC,gCAAgCC,OAAO,IAAI,CAACjC,MAAM,EAAEF;QACzE+B,QAAQG,YAAY,CAAC,wCAAwC,IAAI,CAAChC,MAAM,EAAEL;QAE1E,MAAMuC,OAAOJ,SAASK,cAAc,CAAC,IAAI,CAACC,cAAc;QACxDP,QAAQQ,MAAM,CAACH;QACf,OAAO;YAAEL;QAAQ;IACnB;IAEAS,aAAyC;QACvC,OAAO;YACL,GAAG,KAAK,CAACA,YAAY;YACrB,GAAG,IAAI,CAACC,OAAO,EAAE;YACjBC,MAAM,IAAI,CAAChC,OAAO;YAClBQ,SAAS;QACX;IACF;IAEAuB,UAA4B;QAC1B,OAAO,IAAI,CAACE,SAAS,GAAGzC,MAAM;IAChC;IAEAoC,iBAAyB;QACvB,OAAO,CAAC,EAAE,IAAI,CAACpC,MAAM,EAAEL,WAAW,aAAa,EAAE,IAAI,CAACK,MAAM,EAAEF,MAAM,CAAC;IACvE;IAEA4C,QAAQxC,IAAsB,EAAQ;QACpC,MAAMyC,WAAW,IAAI,CAACC,WAAW;QACjCD,SAAS3C,MAAM,GAAGE;IACpB;AACF;AAEA,OAAO,SAASL,wBAAwBK,IAAsB;IAC5D,OAAO,IAAIH,iBAAiB;QAC1BG;IACF;AACF;AAEA,OAAO,SAAS2C,oBACdjD,IAAuD;IAEvD,OAAOA,gBAAgBG;AACzB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"RelationshipComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/field/features/relationship/nodes/components/RelationshipComponent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAsBhD,OAAO,KAA+D,MAAM,OAAO,CAAA;AAEnF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAK9D,OAAO,cAAc,CAAA;AAQrB,KAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,gBAAgB,CAAA;IACtB,MAAM,CAAC,EAAE,iBAAiB,CAAA;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AA8JD,eAAO,MAAM,qBAAqB,UAAW,KAAK,KAAG,MAAM,SAE1D,CAAA"}
@@ -1,172 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js';
4
- import { useLexicalNodeSelection } from '@lexical/react/useLexicalNodeSelection.js';
5
- import { mergeRegister } from '@lexical/utils';
6
- import { getTranslation } from '@payloadcms/translations';
7
- import { Button, useConfig, useDocumentDrawer, usePayloadAPI, useTranslation } from '@payloadcms/ui/client';
8
- import { $getNodeByKey, $getSelection, $isNodeSelection, CLICK_COMMAND, COMMAND_PRIORITY_LOW, KEY_BACKSPACE_COMMAND, KEY_DELETE_COMMAND } from 'lexical';
9
- import React, { useCallback, useEffect, useReducer, useRef, useState } from 'react';
10
- import { useEditorConfigContext } from '../../../../lexical/config/client/EditorConfigProvider.js';
11
- import { INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND } from '../../drawer/commands.js';
12
- import { $isRelationshipNode } from '../RelationshipNode.js';
13
- const baseClass = 'lexical-relationship';
14
- const initialParams = {
15
- depth: 0
16
- };
17
- const Component = (props)=>{
18
- const { children, data: { relationTo, value: id }, nodeKey } = props;
19
- const relationshipElemRef = useRef(null);
20
- const [editor] = useLexicalComposerContext();
21
- const [isSelected, setSelected, clearSelection] = useLexicalNodeSelection(nodeKey);
22
- const { field } = useEditorConfigContext();
23
- const { collections, routes: { api }, serverURL } = useConfig();
24
- const [relatedCollection, setRelatedCollection] = useState(()=>collections.find((coll)=>coll.slug === relationTo));
25
- const { i18n, t } = useTranslation();
26
- const [cacheBust, dispatchCacheBust] = useReducer((state)=>state + 1, 0);
27
- const [{ data }, { setParams }] = usePayloadAPI(`${serverURL}${api}/${relatedCollection.slug}/${id}`, {
28
- initialParams
29
- });
30
- const [DocumentDrawer, DocumentDrawerToggler, { closeDrawer }] = useDocumentDrawer({
31
- id,
32
- collectionSlug: relatedCollection.slug
33
- });
34
- const removeRelationship = useCallback(()=>{
35
- editor.update(()=>{
36
- $getNodeByKey(nodeKey).remove();
37
- });
38
- }, [
39
- editor,
40
- nodeKey
41
- ]);
42
- const updateRelationship = React.useCallback(({ doc })=>{
43
- setParams({
44
- ...initialParams,
45
- cacheBust
46
- });
47
- closeDrawer();
48
- dispatchCacheBust();
49
- }, [
50
- cacheBust,
51
- setParams,
52
- closeDrawer
53
- ]);
54
- const $onDelete = useCallback((payload)=>{
55
- if (isSelected && $isNodeSelection($getSelection())) {
56
- const event = payload;
57
- event.preventDefault();
58
- const node = $getNodeByKey(nodeKey);
59
- if ($isRelationshipNode(node)) {
60
- node.remove();
61
- return true;
62
- }
63
- }
64
- return false;
65
- }, [
66
- isSelected,
67
- nodeKey
68
- ]);
69
- const onClick = useCallback((payload)=>{
70
- const event = payload;
71
- // Check if relationshipElemRef.target or anything WITHIN relationshipElemRef.target was clicked
72
- if (event.target === relationshipElemRef.current || relationshipElemRef.current?.contains(event.target)) {
73
- if (event.shiftKey) {
74
- setSelected(!isSelected);
75
- } else {
76
- if (!isSelected) {
77
- clearSelection();
78
- setSelected(true);
79
- }
80
- }
81
- return true;
82
- }
83
- return false;
84
- }, [
85
- isSelected,
86
- setSelected,
87
- clearSelection
88
- ]);
89
- useEffect(()=>{
90
- return mergeRegister(editor.registerCommand(CLICK_COMMAND, onClick, COMMAND_PRIORITY_LOW), editor.registerCommand(KEY_DELETE_COMMAND, $onDelete, COMMAND_PRIORITY_LOW), editor.registerCommand(KEY_BACKSPACE_COMMAND, $onDelete, COMMAND_PRIORITY_LOW));
91
- }, [
92
- clearSelection,
93
- editor,
94
- isSelected,
95
- nodeKey,
96
- $onDelete,
97
- setSelected,
98
- onClick
99
- ]);
100
- return /*#__PURE__*/ _jsxs("div", {
101
- className: [
102
- baseClass,
103
- isSelected && `${baseClass}--selected`
104
- ].filter(Boolean).join(' '),
105
- contentEditable: false,
106
- ref: relationshipElemRef,
107
- children: [
108
- /*#__PURE__*/ _jsxs("div", {
109
- className: `${baseClass}__wrap`,
110
- children: [
111
- /*#__PURE__*/ _jsx("p", {
112
- className: `${baseClass}__label`,
113
- children: t('fields:labelRelationship', {
114
- label: getTranslation(relatedCollection.labels.singular, i18n)
115
- })
116
- }),
117
- /*#__PURE__*/ _jsx(DocumentDrawerToggler, {
118
- className: `${baseClass}__doc-drawer-toggler`,
119
- children: /*#__PURE__*/ _jsx("p", {
120
- className: `${baseClass}__title`,
121
- children: data ? data[relatedCollection?.admin?.useAsTitle || 'id'] : id
122
- })
123
- })
124
- ]
125
- }),
126
- editor.isEditable() && /*#__PURE__*/ _jsxs("div", {
127
- className: `${baseClass}__actions`,
128
- children: [
129
- /*#__PURE__*/ _jsx(Button, {
130
- buttonStyle: "icon-label",
131
- className: `${baseClass}__swapButton`,
132
- disabled: field?.readOnly,
133
- el: "div",
134
- icon: "swap",
135
- onClick: ()=>{
136
- editor.dispatchCommand(INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND, {
137
- replace: {
138
- nodeKey
139
- }
140
- });
141
- },
142
- round: true,
143
- tooltip: t('fields:swapRelationship')
144
- }),
145
- /*#__PURE__*/ _jsx(Button, {
146
- buttonStyle: "icon-label",
147
- className: `${baseClass}__removeButton`,
148
- disabled: field?.readOnly,
149
- icon: "x",
150
- onClick: (e)=>{
151
- e.preventDefault();
152
- removeRelationship();
153
- },
154
- round: true,
155
- tooltip: t('fields:removeRelationship')
156
- })
157
- ]
158
- }),
159
- id && /*#__PURE__*/ _jsx(DocumentDrawer, {
160
- onSave: updateRelationship
161
- }),
162
- children
163
- ]
164
- });
165
- };
166
- export const RelationshipComponent = (props)=>{
167
- return /*#__PURE__*/ _jsx(Component, {
168
- ...props
169
- });
170
- };
171
-
172
- //# sourceMappingURL=RelationshipComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../../src/field/features/relationship/nodes/components/RelationshipComponent.tsx"],"sourcesContent":["'use client'\nimport type { ElementFormatType } from 'lexical'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport { useLexicalNodeSelection } from '@lexical/react/useLexicalNodeSelection.js'\nimport { mergeRegister } from '@lexical/utils'\nimport { getTranslation } from '@payloadcms/translations'\nimport {\n Button,\n useConfig,\n useDocumentDrawer,\n usePayloadAPI,\n useTranslation,\n} from '@payloadcms/ui/client'\nimport {\n $getNodeByKey,\n $getSelection,\n $isNodeSelection,\n CLICK_COMMAND,\n COMMAND_PRIORITY_LOW,\n KEY_BACKSPACE_COMMAND,\n KEY_DELETE_COMMAND,\n} from 'lexical'\nimport React, { useCallback, useEffect, useReducer, useRef, useState } from 'react'\n\nimport type { RelationshipData } from '../RelationshipNode.js'\n\nimport { useEditorConfigContext } from '../../../../lexical/config/client/EditorConfigProvider.js'\nimport { INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND } from '../../drawer/commands.js'\nimport { $isRelationshipNode } from '../RelationshipNode.js'\nimport './index.scss'\n\nconst baseClass = 'lexical-relationship'\n\nconst initialParams = {\n depth: 0,\n}\n\ntype Props = {\n children?: React.ReactNode\n className?: string\n data: RelationshipData\n format?: ElementFormatType\n nodeKey?: string\n}\n\nconst Component: React.FC<Props> = (props) => {\n const {\n children,\n data: { relationTo, value: id },\n nodeKey,\n } = props\n\n const relationshipElemRef = useRef<HTMLDivElement | null>(null)\n\n const [editor] = useLexicalComposerContext()\n const [isSelected, setSelected, clearSelection] = useLexicalNodeSelection(nodeKey)\n const { field } = useEditorConfigContext()\n const {\n collections,\n routes: { api },\n serverURL,\n } = useConfig()\n\n const [relatedCollection, setRelatedCollection] = useState(() =>\n collections.find((coll) => coll.slug === relationTo),\n )\n\n const { i18n, t } = useTranslation()\n const [cacheBust, dispatchCacheBust] = useReducer((state) => state + 1, 0)\n const [{ data }, { setParams }] = usePayloadAPI(\n `${serverURL}${api}/${relatedCollection.slug}/${id}`,\n { initialParams },\n )\n\n const [DocumentDrawer, DocumentDrawerToggler, { closeDrawer }] = useDocumentDrawer({\n id,\n collectionSlug: relatedCollection.slug,\n })\n\n const removeRelationship = useCallback(() => {\n editor.update(() => {\n $getNodeByKey(nodeKey).remove()\n })\n }, [editor, nodeKey])\n\n const updateRelationship = React.useCallback(\n ({ doc }) => {\n setParams({\n ...initialParams,\n cacheBust, // do this to get the usePayloadAPI to re-fetch the data even though the URL string hasn't changed\n })\n\n closeDrawer()\n dispatchCacheBust()\n },\n [cacheBust, setParams, closeDrawer],\n )\n\n const $onDelete = useCallback(\n (payload: KeyboardEvent) => {\n if (isSelected && $isNodeSelection($getSelection())) {\n const event: KeyboardEvent = payload\n event.preventDefault()\n const node = $getNodeByKey(nodeKey)\n if ($isRelationshipNode(node)) {\n node.remove()\n return true\n }\n }\n return false\n },\n [isSelected, nodeKey],\n )\n const onClick = useCallback(\n (payload: MouseEvent) => {\n const event = payload\n // Check if relationshipElemRef.target or anything WITHIN relationshipElemRef.target was clicked\n if (\n event.target === relationshipElemRef.current ||\n relationshipElemRef.current?.contains(event.target as Node)\n ) {\n if (event.shiftKey) {\n setSelected(!isSelected)\n } else {\n if (!isSelected) {\n clearSelection()\n setSelected(true)\n }\n }\n return true\n }\n\n return false\n },\n [isSelected, setSelected, clearSelection],\n )\n\n useEffect(() => {\n return mergeRegister(\n editor.registerCommand<MouseEvent>(CLICK_COMMAND, onClick, COMMAND_PRIORITY_LOW),\n\n editor.registerCommand(KEY_DELETE_COMMAND, $onDelete, COMMAND_PRIORITY_LOW),\n editor.registerCommand(KEY_BACKSPACE_COMMAND, $onDelete, COMMAND_PRIORITY_LOW),\n )\n }, [clearSelection, editor, isSelected, nodeKey, $onDelete, setSelected, onClick])\n\n return (\n <div\n className={[baseClass, isSelected && `${baseClass}--selected`].filter(Boolean).join(' ')}\n contentEditable={false}\n ref={relationshipElemRef}\n >\n <div className={`${baseClass}__wrap`}>\n <p className={`${baseClass}__label`}>\n {t('fields:labelRelationship', {\n label: getTranslation(relatedCollection.labels.singular, i18n),\n })}\n </p>\n <DocumentDrawerToggler className={`${baseClass}__doc-drawer-toggler`}>\n <p className={`${baseClass}__title`}>\n {data ? data[relatedCollection?.admin?.useAsTitle || 'id'] : id}\n </p>\n </DocumentDrawerToggler>\n </div>\n {editor.isEditable() && (\n <div className={`${baseClass}__actions`}>\n <Button\n buttonStyle=\"icon-label\"\n className={`${baseClass}__swapButton`}\n disabled={field?.readOnly}\n el=\"div\"\n icon=\"swap\"\n onClick={() => {\n editor.dispatchCommand(INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND, {\n replace: { nodeKey },\n })\n }}\n round\n tooltip={t('fields:swapRelationship')}\n />\n <Button\n buttonStyle=\"icon-label\"\n className={`${baseClass}__removeButton`}\n disabled={field?.readOnly}\n icon=\"x\"\n onClick={(e) => {\n e.preventDefault()\n removeRelationship()\n }}\n round\n tooltip={t('fields:removeRelationship')}\n />\n </div>\n )}\n\n {id && <DocumentDrawer onSave={updateRelationship} />}\n {children}\n </div>\n )\n}\n\nexport const RelationshipComponent = (props: Props): React.ReactNode => {\n return <Component {...props} />\n}\n"],"names":["useLexicalComposerContext","useLexicalNodeSelection","mergeRegister","getTranslation","Button","useConfig","useDocumentDrawer","usePayloadAPI","useTranslation","$getNodeByKey","$getSelection","$isNodeSelection","CLICK_COMMAND","COMMAND_PRIORITY_LOW","KEY_BACKSPACE_COMMAND","KEY_DELETE_COMMAND","React","useCallback","useEffect","useReducer","useRef","useState","useEditorConfigContext","INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND","$isRelationshipNode","baseClass","initialParams","depth","Component","props","children","data","relationTo","value","id","nodeKey","relationshipElemRef","editor","isSelected","setSelected","clearSelection","field","collections","routes","api","serverURL","relatedCollection","setRelatedCollection","find","coll","slug","i18n","t","cacheBust","dispatchCacheBust","state","setParams","DocumentDrawer","DocumentDrawerToggler","closeDrawer","collectionSlug","removeRelationship","update","remove","updateRelationship","doc","$onDelete","payload","event","preventDefault","node","onClick","target","current","contains","shiftKey","registerCommand","div","className","filter","Boolean","join","contentEditable","ref","p","label","labels","singular","admin","useAsTitle","isEditable","buttonStyle","disabled","readOnly","el","icon","dispatchCommand","replace","round","tooltip","e","onSave","RelationshipComponent"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA;;AAGA,SAASA,yBAAyB,QAAQ,2CAA0C;AACpF,SAASC,uBAAuB,QAAQ,4CAA2C;AACnF,SAASC,aAAa,QAAQ,iBAAgB;AAC9C,SAASC,cAAc,QAAQ,2BAA0B;AACzD,SACEC,MAAM,EACNC,SAAS,EACTC,iBAAiB,EACjBC,aAAa,EACbC,cAAc,QACT,wBAAuB;AAC9B,SACEC,aAAa,EACbC,aAAa,EACbC,gBAAgB,EAChBC,aAAa,EACbC,oBAAoB,EACpBC,qBAAqB,EACrBC,kBAAkB,QACb,UAAS;AAChB,OAAOC,SAASC,WAAW,EAAEC,SAAS,EAAEC,UAAU,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,QAAO;AAInF,SAASC,sBAAsB,QAAQ,4DAA2D;AAClG,SAASC,uCAAuC,QAAQ,2BAA0B;AAClF,SAASC,mBAAmB,QAAQ,yBAAwB;AAG5D,MAAMC,YAAY;AAElB,MAAMC,gBAAgB;IACpBC,OAAO;AACT;AAUA,MAAMC,YAA6B,CAACC;IAClC,MAAM,EACJC,QAAQ,EACRC,MAAM,EAAEC,UAAU,EAAEC,OAAOC,EAAE,EAAE,EAC/BC,OAAO,EACR,GAAGN;IAEJ,MAAMO,sBAAsBhB,OAA8B;IAE1D,MAAM,CAACiB,OAAO,GAAGrC;IACjB,MAAM,CAACsC,YAAYC,aAAaC,eAAe,GAAGvC,wBAAwBkC;IAC1E,MAAM,EAAEM,KAAK,EAAE,GAAGnB;IAClB,MAAM,EACJoB,WAAW,EACXC,QAAQ,EAAEC,GAAG,EAAE,EACfC,SAAS,EACV,GAAGxC;IAEJ,MAAM,CAACyC,mBAAmBC,qBAAqB,GAAG1B,SAAS,IACzDqB,YAAYM,IAAI,CAAC,CAACC,OAASA,KAAKC,IAAI,KAAKlB;IAG3C,MAAM,EAAEmB,IAAI,EAAEC,CAAC,EAAE,GAAG5C;IACpB,MAAM,CAAC6C,WAAWC,kBAAkB,GAAGnC,WAAW,CAACoC,QAAUA,QAAQ,GAAG;IACxE,MAAM,CAAC,EAAExB,IAAI,EAAE,EAAE,EAAEyB,SAAS,EAAE,CAAC,GAAGjD,cAChC,CAAC,EAAEsC,UAAU,EAAED,IAAI,CAAC,EAAEE,kBAAkBI,IAAI,CAAC,CAAC,EAAEhB,GAAG,CAAC,EACpD;QAAER;IAAc;IAGlB,MAAM,CAAC+B,gBAAgBC,uBAAuB,EAAEC,WAAW,EAAE,CAAC,GAAGrD,kBAAkB;QACjF4B;QACA0B,gBAAgBd,kBAAkBI,IAAI;IACxC;IAEA,MAAMW,qBAAqB5C,YAAY;QACrCoB,OAAOyB,MAAM,CAAC;YACZrD,cAAc0B,SAAS4B,MAAM;QAC/B;IACF,GAAG;QAAC1B;QAAQF;KAAQ;IAEpB,MAAM6B,qBAAqBhD,MAAMC,WAAW,CAC1C,CAAC,EAAEgD,GAAG,EAAE;QACNT,UAAU;YACR,GAAG9B,aAAa;YAChB2B;QACF;QAEAM;QACAL;IACF,GACA;QAACD;QAAWG;QAAWG;KAAY;IAGrC,MAAMO,YAAYjD,YAChB,CAACkD;QACC,IAAI7B,cAAc3B,iBAAiBD,kBAAkB;YACnD,MAAM0D,QAAuBD;YAC7BC,MAAMC,cAAc;YACpB,MAAMC,OAAO7D,cAAc0B;YAC3B,IAAIX,oBAAoB8C,OAAO;gBAC7BA,KAAKP,MAAM;gBACX,OAAO;YACT;QACF;QACA,OAAO;IACT,GACA;QAACzB;QAAYH;KAAQ;IAEvB,MAAMoC,UAAUtD,YACd,CAACkD;QACC,MAAMC,QAAQD;QACd,gGAAgG;QAChG,IACEC,MAAMI,MAAM,KAAKpC,oBAAoBqC,OAAO,IAC5CrC,oBAAoBqC,OAAO,EAAEC,SAASN,MAAMI,MAAM,GAClD;YACA,IAAIJ,MAAMO,QAAQ,EAAE;gBAClBpC,YAAY,CAACD;YACf,OAAO;gBACL,IAAI,CAACA,YAAY;oBACfE;oBACAD,YAAY;gBACd;YACF;YACA,OAAO;QACT;QAEA,OAAO;IACT,GACA;QAACD;QAAYC;QAAaC;KAAe;IAG3CtB,UAAU;QACR,OAAOhB,cACLmC,OAAOuC,eAAe,CAAahE,eAAe2D,SAAS1D,uBAE3DwB,OAAOuC,eAAe,CAAC7D,oBAAoBmD,WAAWrD,uBACtDwB,OAAOuC,eAAe,CAAC9D,uBAAuBoD,WAAWrD;IAE7D,GAAG;QAAC2B;QAAgBH;QAAQC;QAAYH;QAAS+B;QAAW3B;QAAagC;KAAQ;IAEjF,qBACE,MAACM;QACCC,WAAW;YAACrD;YAAWa,cAAc,CAAC,EAAEb,UAAU,UAAU,CAAC;SAAC,CAACsD,MAAM,CAACC,SAASC,IAAI,CAAC;QACpFC,iBAAiB;QACjBC,KAAK/C;;0BAEL,MAACyC;gBAAIC,WAAW,CAAC,EAAErD,UAAU,MAAM,CAAC;;kCAClC,KAAC2D;wBAAEN,WAAW,CAAC,EAAErD,UAAU,OAAO,CAAC;kCAChC2B,EAAE,4BAA4B;4BAC7BiC,OAAOlF,eAAe2C,kBAAkBwC,MAAM,CAACC,QAAQ,EAAEpC;wBAC3D;;kCAEF,KAACO;wBAAsBoB,WAAW,CAAC,EAAErD,UAAU,oBAAoB,CAAC;kCAClE,cAAA,KAAC2D;4BAAEN,WAAW,CAAC,EAAErD,UAAU,OAAO,CAAC;sCAChCM,OAAOA,IAAI,CAACe,mBAAmB0C,OAAOC,cAAc,KAAK,GAAGvD;;;;;YAIlEG,OAAOqD,UAAU,oBAChB,MAACb;gBAAIC,WAAW,CAAC,EAAErD,UAAU,SAAS,CAAC;;kCACrC,KAACrB;wBACCuF,aAAY;wBACZb,WAAW,CAAC,EAAErD,UAAU,YAAY,CAAC;wBACrCmE,UAAUnD,OAAOoD;wBACjBC,IAAG;wBACHC,MAAK;wBACLxB,SAAS;4BACPlC,OAAO2D,eAAe,CAACzE,yCAAyC;gCAC9D0E,SAAS;oCAAE9D;gCAAQ;4BACrB;wBACF;wBACA+D,KAAK;wBACLC,SAAS/C,EAAE;;kCAEb,KAAChD;wBACCuF,aAAY;wBACZb,WAAW,CAAC,EAAErD,UAAU,cAAc,CAAC;wBACvCmE,UAAUnD,OAAOoD;wBACjBE,MAAK;wBACLxB,SAAS,CAAC6B;4BACRA,EAAE/B,cAAc;4BAChBR;wBACF;wBACAqC,KAAK;wBACLC,SAAS/C,EAAE;;;;YAKhBlB,oBAAM,KAACuB;gBAAe4C,QAAQrC;;YAC9BlC;;;AAGP;AAEA,OAAO,MAAMwE,wBAAwB,CAACzE;IACpC,qBAAO,KAACD;QAAW,GAAGC,KAAK;;AAC7B,EAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/field/features/relationship/plugins/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAe7C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AACrD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAA;AACpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAKpE,eAAO,MAAM,2BAA2B,EAAE,cAAc,CAAC,gBAAgB,CAExE,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,wBAAwB,CAqDxE,CAAA"}
@@ -1,50 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js';
4
- import { $insertNodeToNearestRoot } from '@lexical/utils';
5
- import { useConfig } from '@payloadcms/ui/client';
6
- import { $getPreviousSelection, $getSelection, $isParagraphNode, $isRangeSelection, COMMAND_PRIORITY_EDITOR, createCommand } from 'lexical';
7
- import React, { useEffect } from 'react';
8
- import { RelationshipDrawer } from '../drawer/index.js';
9
- import { $createRelationshipNode, RelationshipNode } from '../nodes/RelationshipNode.js';
10
- export const INSERT_RELATIONSHIP_COMMAND = createCommand('INSERT_RELATIONSHIP_COMMAND');
11
- export const RelationshipPlugin = ({ clientProps })=>{
12
- const [editor] = useLexicalComposerContext();
13
- const { collections } = useConfig();
14
- let enabledRelations = null;
15
- if (clientProps?.enabledCollections) {
16
- enabledRelations = clientProps?.enabledCollections;
17
- } else if (clientProps?.disabledCollections) {
18
- enabledRelations = collections.filter(({ slug })=>!clientProps?.disabledCollections?.includes(slug)).map(({ slug })=>slug);
19
- }
20
- useEffect(()=>{
21
- if (!editor.hasNodes([
22
- RelationshipNode
23
- ])) {
24
- throw new Error('RelationshipPlugin: RelationshipNode not registered on editor');
25
- }
26
- return editor.registerCommand(INSERT_RELATIONSHIP_COMMAND, (payload)=>{
27
- const selection = $getSelection() || $getPreviousSelection();
28
- if ($isRangeSelection(selection)) {
29
- const relationshipNode = $createRelationshipNode(payload);
30
- // Insert relationship node BEFORE potentially removing focusNode, as $insertNodeToNearestRoot errors if the focusNode doesn't exist
31
- $insertNodeToNearestRoot(relationshipNode);
32
- const { focus } = selection;
33
- const focusNode = focus.getNode();
34
- // First, delete currently selected node if it's an empty paragraph and if there are sufficient
35
- // paragraph nodes (more than 1) left in the parent node, so that we don't "trap" the user
36
- if ($isParagraphNode(focusNode) && focusNode.getTextContentSize() === 0 && focusNode.getParent().getChildren().filter((node)=>$isParagraphNode(node)).length > 1) {
37
- focusNode.remove();
38
- }
39
- }
40
- return true;
41
- }, COMMAND_PRIORITY_EDITOR);
42
- }, [
43
- editor
44
- ]);
45
- return /*#__PURE__*/ _jsx(RelationshipDrawer, {
46
- enabledCollectionSlugs: enabledRelations
47
- });
48
- };
49
-
50
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/field/features/relationship/plugins/index.tsx"],"sourcesContent":["'use client'\nimport type { LexicalCommand } from 'lexical'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport { $insertNodeToNearestRoot } from '@lexical/utils'\nimport { useConfig } from '@payloadcms/ui/client'\nimport {\n $getPreviousSelection,\n $getSelection,\n $isParagraphNode,\n $isRangeSelection,\n COMMAND_PRIORITY_EDITOR,\n createCommand,\n} from 'lexical'\nimport React, { useEffect } from 'react'\n\nimport type { PluginComponent } from '../../types.js'\nimport type { RelationshipFeatureProps } from '../feature.server.js'\nimport type { RelationshipData } from '../nodes/RelationshipNode.js'\n\nimport { RelationshipDrawer } from '../drawer/index.js'\nimport { $createRelationshipNode, RelationshipNode } from '../nodes/RelationshipNode.js'\n\nexport const INSERT_RELATIONSHIP_COMMAND: LexicalCommand<RelationshipData> = createCommand(\n 'INSERT_RELATIONSHIP_COMMAND',\n)\n\nexport const RelationshipPlugin: PluginComponent<RelationshipFeatureProps> = ({ clientProps }) => {\n const [editor] = useLexicalComposerContext()\n const { collections } = useConfig()\n\n let enabledRelations: string[] = null\n\n if (clientProps?.enabledCollections) {\n enabledRelations = clientProps?.enabledCollections\n } else if (clientProps?.disabledCollections) {\n enabledRelations = collections\n .filter(({ slug }) => !clientProps?.disabledCollections?.includes(slug))\n .map(({ slug }) => slug)\n }\n\n useEffect(() => {\n if (!editor.hasNodes([RelationshipNode])) {\n throw new Error('RelationshipPlugin: RelationshipNode not registered on editor')\n }\n\n return editor.registerCommand<RelationshipData>(\n INSERT_RELATIONSHIP_COMMAND,\n (payload) => {\n const selection = $getSelection() || $getPreviousSelection()\n\n if ($isRangeSelection(selection)) {\n const relationshipNode = $createRelationshipNode(payload)\n // Insert relationship node BEFORE potentially removing focusNode, as $insertNodeToNearestRoot errors if the focusNode doesn't exist\n $insertNodeToNearestRoot(relationshipNode)\n\n const { focus } = selection\n const focusNode = focus.getNode()\n\n // First, delete currently selected node if it's an empty paragraph and if there are sufficient\n // paragraph nodes (more than 1) left in the parent node, so that we don't \"trap\" the user\n if (\n $isParagraphNode(focusNode) &&\n focusNode.getTextContentSize() === 0 &&\n focusNode\n .getParent()\n .getChildren()\n .filter((node) => $isParagraphNode(node)).length > 1\n ) {\n focusNode.remove()\n }\n }\n\n return true\n },\n COMMAND_PRIORITY_EDITOR,\n )\n }, [editor])\n\n return <RelationshipDrawer enabledCollectionSlugs={enabledRelations} />\n}\n"],"names":["useLexicalComposerContext","$insertNodeToNearestRoot","useConfig","$getPreviousSelection","$getSelection","$isParagraphNode","$isRangeSelection","COMMAND_PRIORITY_EDITOR","createCommand","React","useEffect","RelationshipDrawer","$createRelationshipNode","RelationshipNode","INSERT_RELATIONSHIP_COMMAND","RelationshipPlugin","clientProps","editor","collections","enabledRelations","enabledCollections","disabledCollections","filter","slug","includes","map","hasNodes","Error","registerCommand","payload","selection","relationshipNode","focus","focusNode","getNode","getTextContentSize","getParent","getChildren","node","length","remove","enabledCollectionSlugs"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA;;AAGA,SAASA,yBAAyB,QAAQ,2CAA0C;AACpF,SAASC,wBAAwB,QAAQ,iBAAgB;AACzD,SAASC,SAAS,QAAQ,wBAAuB;AACjD,SACEC,qBAAqB,EACrBC,aAAa,EACbC,gBAAgB,EAChBC,iBAAiB,EACjBC,uBAAuB,EACvBC,aAAa,QACR,UAAS;AAChB,OAAOC,SAASC,SAAS,QAAQ,QAAO;AAMxC,SAASC,kBAAkB,QAAQ,qBAAoB;AACvD,SAASC,uBAAuB,EAAEC,gBAAgB,QAAQ,+BAA8B;AAExF,OAAO,MAAMC,8BAAgEN,cAC3E,+BACD;AAED,OAAO,MAAMO,qBAAgE,CAAC,EAAEC,WAAW,EAAE;IAC3F,MAAM,CAACC,OAAO,GAAGjB;IACjB,MAAM,EAAEkB,WAAW,EAAE,GAAGhB;IAExB,IAAIiB,mBAA6B;IAEjC,IAAIH,aAAaI,oBAAoB;QACnCD,mBAAmBH,aAAaI;IAClC,OAAO,IAAIJ,aAAaK,qBAAqB;QAC3CF,mBAAmBD,YAChBI,MAAM,CAAC,CAAC,EAAEC,IAAI,EAAE,GAAK,CAACP,aAAaK,qBAAqBG,SAASD,OACjEE,GAAG,CAAC,CAAC,EAAEF,IAAI,EAAE,GAAKA;IACvB;IAEAb,UAAU;QACR,IAAI,CAACO,OAAOS,QAAQ,CAAC;YAACb;SAAiB,GAAG;YACxC,MAAM,IAAIc,MAAM;QAClB;QAEA,OAAOV,OAAOW,eAAe,CAC3Bd,6BACA,CAACe;YACC,MAAMC,YAAY1B,mBAAmBD;YAErC,IAAIG,kBAAkBwB,YAAY;gBAChC,MAAMC,mBAAmBnB,wBAAwBiB;gBACjD,oIAAoI;gBACpI5B,yBAAyB8B;gBAEzB,MAAM,EAAEC,KAAK,EAAE,GAAGF;gBAClB,MAAMG,YAAYD,MAAME,OAAO;gBAE/B,+FAA+F;gBAC/F,0FAA0F;gBAC1F,IACE7B,iBAAiB4B,cACjBA,UAAUE,kBAAkB,OAAO,KACnCF,UACGG,SAAS,GACTC,WAAW,GACXf,MAAM,CAAC,CAACgB,OAASjC,iBAAiBiC,OAAOC,MAAM,GAAG,GACrD;oBACAN,UAAUO,MAAM;gBAClB;YACF;YAEA,OAAO;QACT,GACAjC;IAEJ,GAAG;QAACU;KAAO;IAEX,qBAAO,KAACN;QAAmB8B,wBAAwBtB;;AACrD,EAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"EnabledRelationshipsCondition.d.ts","sourceRoot":"","sources":["../../../../../src/field/features/relationship/utils/EnabledRelationshipsCondition.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AA2B9B,eAAO,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,GAAG,CAiBvD,CAAA"}
@@ -1,33 +0,0 @@
1
- import { useAuth, useConfig, useEntityVisibility } from '@payloadcms/ui/client';
2
- import * as React from 'react';
3
- const filterRichTextCollections = (collections, options)=>{
4
- return collections.filter(({ slug, admin: { enableRichTextRelationship }, upload })=>{
5
- if (!options.visibleEntities.collections.includes(slug)) {
6
- return false;
7
- }
8
- if (options?.uploads) {
9
- return enableRichTextRelationship && Boolean(upload) === true;
10
- }
11
- return upload ? false : enableRichTextRelationship;
12
- });
13
- };
14
- export const EnabledRelationshipsCondition = (props)=>{
15
- const { children, uploads = false, ...rest } = props;
16
- const { collections } = useConfig();
17
- const { user } = useAuth();
18
- const { visibleEntities } = useEntityVisibility();
19
- const [enabledCollectionSlugs] = React.useState(()=>filterRichTextCollections(collections, {
20
- uploads,
21
- user,
22
- visibleEntities
23
- }).map(({ slug })=>slug));
24
- if (!enabledCollectionSlugs.length) {
25
- return null;
26
- }
27
- return /*#__PURE__*/ React.cloneElement(children, {
28
- ...rest,
29
- enabledCollectionSlugs
30
- });
31
- };
32
-
33
- //# sourceMappingURL=EnabledRelationshipsCondition.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/field/features/relationship/utils/EnabledRelationshipsCondition.tsx"],"sourcesContent":["import type { ClientCollectionConfig, ClientUser, VisibleEntities } from 'payload'\n\nimport { useAuth, useConfig, useEntityVisibility } from '@payloadcms/ui/client'\nimport * as React from 'react'\n\ntype Options = {\n uploads: boolean\n user: ClientUser\n visibleEntities: VisibleEntities\n}\n\ntype FilteredCollectionsT = (\n collections: ClientCollectionConfig[],\n options?: Options,\n) => ClientCollectionConfig[]\n\nconst filterRichTextCollections: FilteredCollectionsT = (collections, options) => {\n return collections.filter(({ slug, admin: { enableRichTextRelationship }, upload }) => {\n if (!options.visibleEntities.collections.includes(slug)) {\n return false\n }\n\n if (options?.uploads) {\n return enableRichTextRelationship && Boolean(upload) === true\n }\n\n return upload ? false : enableRichTextRelationship\n })\n}\n\nexport const EnabledRelationshipsCondition: React.FC<any> = (props) => {\n const { children, uploads = false, ...rest } = props\n const { collections } = useConfig()\n const { user } = useAuth()\n const { visibleEntities } = useEntityVisibility()\n\n const [enabledCollectionSlugs] = React.useState(() =>\n filterRichTextCollections(collections, { uploads, user, visibleEntities }).map(\n ({ slug }) => slug,\n ),\n )\n\n if (!enabledCollectionSlugs.length) {\n return null\n }\n\n return React.cloneElement(children, { ...rest, enabledCollectionSlugs })\n}\n"],"names":["useAuth","useConfig","useEntityVisibility","React","filterRichTextCollections","collections","options","filter","slug","admin","enableRichTextRelationship","upload","visibleEntities","includes","uploads","Boolean","EnabledRelationshipsCondition","props","children","rest","user","enabledCollectionSlugs","useState","map","length","cloneElement"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAEA,SAASA,OAAO,EAAEC,SAAS,EAAEC,mBAAmB,QAAQ,wBAAuB;AAC/E,YAAYC,WAAW,QAAO;AAa9B,MAAMC,4BAAkD,CAACC,aAAaC;IACpE,OAAOD,YAAYE,MAAM,CAAC,CAAC,EAAEC,IAAI,EAAEC,OAAO,EAAEC,0BAA0B,EAAE,EAAEC,MAAM,EAAE;QAChF,IAAI,CAACL,QAAQM,eAAe,CAACP,WAAW,CAACQ,QAAQ,CAACL,OAAO;YACvD,OAAO;QACT;QAEA,IAAIF,SAASQ,SAAS;YACpB,OAAOJ,8BAA8BK,QAAQJ,YAAY;QAC3D;QAEA,OAAOA,SAAS,QAAQD;IAC1B;AACF;AAEA,OAAO,MAAMM,gCAA+C,CAACC;IAC3D,MAAM,EAAEC,QAAQ,EAAEJ,UAAU,KAAK,EAAE,GAAGK,MAAM,GAAGF;IAC/C,MAAM,EAAEZ,WAAW,EAAE,GAAGJ;IACxB,MAAM,EAAEmB,IAAI,EAAE,GAAGpB;IACjB,MAAM,EAAEY,eAAe,EAAE,GAAGV;IAE5B,MAAM,CAACmB,uBAAuB,GAAGlB,MAAMmB,QAAQ,CAAC,IAC9ClB,0BAA0BC,aAAa;YAAES;YAASM;YAAMR;QAAgB,GAAGW,GAAG,CAC5E,CAAC,EAAEf,IAAI,EAAE,GAAKA;IAIlB,IAAI,CAACa,uBAAuBG,MAAM,EAAE;QAClC,OAAO;IACT;IAEA,qBAAOrB,MAAMsB,YAAY,CAACP,UAAU;QAAE,GAAGC,IAAI;QAAEE;IAAuB;AACxE,EAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"basicGroup.d.ts","sourceRoot":"","sources":["../../../../../src/field/features/shared/slashMenu/basicGroup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACd,MAAM,wEAAwE,CAAA;AAE/E,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,aAAa,EAAE,GAAG,cAAc,CAQnF"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/field/features/shared/slashMenu/basicGroup.ts"],"sourcesContent":["import type {\n SlashMenuGroup,\n SlashMenuItem,\n} from '../../../lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js'\n\nexport function slashMenuBasicGroupWithItems(items: SlashMenuItem[]): SlashMenuGroup {\n return {\n items,\n key: 'basic',\n label: ({ i18n }) => {\n return i18n.t('lexical:general:slashMenuBasicGroupLabel')\n },\n }\n}\n"],"names":["slashMenuBasicGroupWithItems","items","key","label","i18n","t"],"rangeMappings":";;;;;;;;","mappings":"AAKA,OAAO,SAASA,6BAA6BC,KAAsB;IACjE,OAAO;QACLA;QACAC,KAAK;QACLC,OAAO,CAAC,EAAEC,IAAI,EAAE;YACd,OAAOA,KAAKC,CAAC,CAAC;QAChB;IACF;AACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"addDropdownGroup.d.ts","sourceRoot":"","sources":["../../../../../src/field/features/shared/toolbar/addDropdownGroup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAI7E,eAAO,MAAM,gCAAgC,UAAW,gBAAgB,EAAE,KAAG,YAQ5E,CAAA"}