@payloadcms/richtext-lexical 3.0.0-beta.52 → 3.0.0-beta.54

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 (2126) hide show
  1. package/dist/cell/index.d.ts.map +1 -1
  2. package/dist/cell/index.js +6 -6
  3. package/dist/cell/index.js.map +1 -1
  4. package/dist/exports/client/Component-7HS6FEJS.js +2 -0
  5. package/dist/exports/client/Component-7HS6FEJS.js.map +7 -0
  6. package/dist/exports/client/Component-LAKSCIDX.js +2 -0
  7. package/dist/exports/client/Component-LAKSCIDX.js.map +7 -0
  8. package/dist/exports/client/Field-XBUN6QOM.js +2 -0
  9. package/dist/exports/client/Field-XBUN6QOM.js.map +7 -0
  10. package/dist/exports/client/RelationshipComponent-5OU5HATX.js +2 -0
  11. package/dist/exports/client/RelationshipComponent-5OU5HATX.js.map +7 -0
  12. package/dist/exports/client/bundled.css +1 -1
  13. package/dist/exports/client/chunk-3K3B6PJM.js +2 -0
  14. package/dist/exports/client/chunk-3K3B6PJM.js.map +7 -0
  15. package/dist/exports/client/chunk-JIP5PWU3.js +2 -0
  16. package/dist/exports/client/chunk-JIP5PWU3.js.map +7 -0
  17. package/dist/exports/client/chunk-MLIITFAS.js +3 -0
  18. package/dist/exports/client/chunk-MLIITFAS.js.map +7 -0
  19. package/dist/exports/client/chunk-OSR74ZNW.js +2 -0
  20. package/dist/exports/client/chunk-OSR74ZNW.js.map +7 -0
  21. package/dist/exports/client/chunk-TZLHAUCW.js +2 -0
  22. package/dist/exports/client/chunk-TZLHAUCW.js.map +7 -0
  23. package/dist/exports/client/component-CEUVAHRO.js +2 -0
  24. package/dist/exports/client/component-CEUVAHRO.js.map +7 -0
  25. package/dist/exports/client/component-PEFMKIXI.js +2 -0
  26. package/dist/exports/client/component-PEFMKIXI.js.map +7 -0
  27. package/dist/exports/client/component-QWIGEOVD.js +2 -0
  28. package/dist/exports/client/component-QWIGEOVD.js.map +7 -0
  29. package/dist/exports/client/index.d.ts +58 -49
  30. package/dist/exports/client/index.d.ts.map +1 -1
  31. package/dist/exports/client/index.js +7 -5
  32. package/dist/exports/client/index.js.map +4 -4
  33. package/dist/features/align/feature.client.d.ts +5 -0
  34. package/dist/features/align/feature.client.d.ts.map +1 -0
  35. package/dist/features/align/feature.client.js +146 -0
  36. package/dist/features/align/feature.client.js.map +1 -0
  37. package/dist/features/align/feature.server.d.ts +2 -0
  38. package/dist/features/align/feature.server.d.ts.map +1 -0
  39. package/dist/features/align/feature.server.js +13 -0
  40. package/dist/features/align/feature.server.js.map +1 -0
  41. package/dist/features/align/i18n.d.ts.map +1 -0
  42. package/dist/features/align/i18n.js.map +1 -0
  43. package/dist/features/align/toolbarAlignGroup.d.ts.map +1 -0
  44. package/dist/features/align/toolbarAlignGroup.js.map +1 -0
  45. package/dist/features/blockquote/feature.client.d.ts +5 -0
  46. package/dist/features/blockquote/feature.client.d.ts.map +1 -0
  47. package/dist/features/blockquote/feature.client.js +77 -0
  48. package/dist/features/blockquote/feature.client.js.map +1 -0
  49. package/dist/features/blockquote/feature.server.d.ts +2 -0
  50. package/dist/features/blockquote/feature.server.d.ts.map +1 -0
  51. package/dist/features/blockquote/feature.server.js +45 -0
  52. package/dist/features/blockquote/feature.server.js.map +1 -0
  53. package/dist/features/blockquote/i18n.d.ts.map +1 -0
  54. package/dist/features/blockquote/i18n.js.map +1 -0
  55. package/dist/features/blockquote/markdownTransformer.d.ts.map +1 -0
  56. package/dist/features/blockquote/markdownTransformer.js.map +1 -0
  57. package/dist/features/blocks/component/BlockContent.d.ts +27 -0
  58. package/dist/features/blocks/component/BlockContent.d.ts.map +1 -0
  59. package/dist/features/blocks/component/BlockContent.js +193 -0
  60. package/dist/features/blocks/component/BlockContent.js.map +1 -0
  61. package/dist/features/blocks/component/FormSavePlugin.d.ts.map +1 -0
  62. package/dist/features/blocks/component/FormSavePlugin.js +29 -0
  63. package/dist/features/blocks/component/FormSavePlugin.js.map +1 -0
  64. package/dist/features/blocks/component/index.d.ts.map +1 -0
  65. package/dist/features/blocks/component/index.js +158 -0
  66. package/dist/features/blocks/component/index.js.map +1 -0
  67. package/dist/features/blocks/component/removeEmptyArrayValues.d.ts.map +1 -0
  68. package/dist/features/blocks/component/removeEmptyArrayValues.js.map +1 -0
  69. package/dist/features/blocks/drawer/index.d.ts.map +1 -0
  70. package/dist/features/blocks/drawer/index.js +78 -0
  71. package/dist/features/blocks/drawer/index.js.map +1 -0
  72. package/dist/features/blocks/feature.client.d.ts +9 -0
  73. package/dist/features/blocks/feature.client.d.ts.map +1 -0
  74. package/dist/features/blocks/feature.client.js +86 -0
  75. package/dist/features/blocks/feature.client.js.map +1 -0
  76. package/dist/features/blocks/feature.server.d.ts +7 -0
  77. package/dist/features/blocks/feature.server.d.ts.map +1 -0
  78. package/dist/features/blocks/feature.server.js +105 -0
  79. package/dist/features/blocks/feature.server.js.map +1 -0
  80. package/dist/features/blocks/graphQLPopulationPromise.d.ts +5 -0
  81. package/dist/features/blocks/graphQLPopulationPromise.d.ts.map +1 -0
  82. package/dist/features/blocks/graphQLPopulationPromise.js +31 -0
  83. package/dist/features/blocks/graphQLPopulationPromise.js.map +1 -0
  84. package/dist/features/blocks/i18n.d.ts.map +1 -0
  85. package/dist/features/blocks/i18n.js.map +1 -0
  86. package/dist/features/blocks/nodes/BlocksNode.d.ts.map +1 -0
  87. package/dist/features/blocks/nodes/BlocksNode.js.map +1 -0
  88. package/dist/features/blocks/plugin/commands.d.ts.map +1 -0
  89. package/dist/features/blocks/plugin/commands.js.map +1 -0
  90. package/dist/features/blocks/plugin/index.d.ts +6 -0
  91. package/dist/features/blocks/plugin/index.d.ts.map +1 -0
  92. package/dist/features/blocks/plugin/index.js.map +1 -0
  93. package/dist/features/blocks/validate.d.ts +5 -0
  94. package/dist/features/blocks/validate.d.ts.map +1 -0
  95. package/dist/features/blocks/validate.js.map +1 -0
  96. package/dist/features/converters/html/converter/converters/linebreak.d.ts.map +1 -0
  97. package/dist/features/converters/html/converter/converters/linebreak.js.map +1 -0
  98. package/dist/features/converters/html/converter/converters/paragraph.d.ts.map +1 -0
  99. package/dist/features/converters/html/converter/converters/paragraph.js +20 -0
  100. package/dist/features/converters/html/converter/converters/paragraph.js.map +1 -0
  101. package/dist/features/converters/html/converter/converters/text.d.ts.map +1 -0
  102. package/dist/features/converters/html/converter/converters/text.js.map +1 -0
  103. package/dist/features/converters/html/converter/defaultConverters.d.ts.map +1 -0
  104. package/dist/features/converters/html/converter/defaultConverters.js.map +1 -0
  105. package/dist/features/converters/html/converter/index.d.ts +42 -0
  106. package/dist/features/converters/html/converter/index.d.ts.map +1 -0
  107. package/dist/features/converters/html/converter/index.js +48 -0
  108. package/dist/features/converters/html/converter/index.js.map +1 -0
  109. package/dist/features/converters/html/converter/types.d.ts +19 -0
  110. package/dist/features/converters/html/converter/types.d.ts.map +1 -0
  111. package/dist/features/converters/html/converter/types.js.map +1 -0
  112. package/dist/features/converters/html/feature.server.d.ts +8 -0
  113. package/dist/features/converters/html/feature.server.d.ts.map +1 -0
  114. package/dist/features/converters/html/feature.server.js +8 -0
  115. package/dist/features/converters/html/feature.server.js.map +1 -0
  116. package/dist/features/converters/html/field/index.d.ts.map +1 -0
  117. package/dist/features/converters/html/field/index.js +154 -0
  118. package/dist/features/converters/html/field/index.js.map +1 -0
  119. package/dist/features/createClientComponent.d.ts +7 -0
  120. package/dist/features/createClientComponent.d.ts.map +1 -0
  121. package/dist/features/createClientComponent.js +12 -0
  122. package/dist/features/createClientComponent.js.map +1 -0
  123. package/dist/features/createFeaturePropComponent.d.ts.map +1 -0
  124. package/dist/features/createFeaturePropComponent.js +18 -0
  125. package/dist/features/createFeaturePropComponent.js.map +1 -0
  126. package/dist/features/debug/testRecorder/feature.client.d.ts +5 -0
  127. package/dist/features/debug/testRecorder/feature.client.d.ts.map +1 -0
  128. package/dist/features/debug/testRecorder/feature.client.js +13 -0
  129. package/dist/features/debug/testRecorder/feature.client.js.map +1 -0
  130. package/dist/features/debug/testRecorder/feature.server.d.ts +2 -0
  131. package/dist/features/debug/testRecorder/feature.server.d.ts.map +1 -0
  132. package/dist/features/debug/testRecorder/feature.server.js +11 -0
  133. package/dist/features/debug/testRecorder/feature.server.js.map +1 -0
  134. package/dist/features/debug/testRecorder/plugin/index.d.ts +5 -0
  135. package/dist/features/debug/testRecorder/plugin/index.d.ts.map +1 -0
  136. package/dist/features/debug/testRecorder/plugin/index.js.map +1 -0
  137. package/dist/features/debug/treeView/feature.client.d.ts +5 -0
  138. package/dist/features/debug/treeView/feature.client.d.ts.map +1 -0
  139. package/dist/features/debug/treeView/feature.client.js +13 -0
  140. package/dist/features/debug/treeView/feature.client.js.map +1 -0
  141. package/dist/features/debug/treeView/feature.server.d.ts +2 -0
  142. package/dist/features/debug/treeView/feature.server.d.ts.map +1 -0
  143. package/dist/features/debug/treeView/feature.server.js +11 -0
  144. package/dist/features/debug/treeView/feature.server.js.map +1 -0
  145. package/dist/features/debug/treeView/plugin/index.d.ts +4 -0
  146. package/dist/features/debug/treeView/plugin/index.d.ts.map +1 -0
  147. package/dist/features/debug/treeView/plugin/index.js.map +1 -0
  148. package/dist/features/format/bold/feature.client.d.ts +5 -0
  149. package/dist/features/format/bold/feature.client.d.ts.map +1 -0
  150. package/dist/features/format/bold/feature.client.js +44 -0
  151. package/dist/features/format/bold/feature.client.js.map +1 -0
  152. package/dist/features/format/bold/feature.server.d.ts +2 -0
  153. package/dist/features/format/bold/feature.server.d.ts.map +1 -0
  154. package/dist/features/format/bold/feature.server.js +25 -0
  155. package/dist/features/format/bold/feature.server.js.map +1 -0
  156. package/dist/features/format/bold/markdownTransformers.d.ts.map +1 -0
  157. package/dist/features/format/bold/markdownTransformers.js.map +1 -0
  158. package/dist/features/format/inlineCode/feature.client.d.ts +5 -0
  159. package/dist/features/format/inlineCode/feature.client.d.ts.map +1 -0
  160. package/dist/features/format/inlineCode/feature.client.js +37 -0
  161. package/dist/features/format/inlineCode/feature.client.js.map +1 -0
  162. package/dist/features/format/inlineCode/feature.server.d.ts +2 -0
  163. package/dist/features/format/inlineCode/feature.server.d.ts.map +1 -0
  164. package/dist/features/format/inlineCode/feature.server.js +15 -0
  165. package/dist/features/format/inlineCode/feature.server.js.map +1 -0
  166. package/dist/features/format/inlineCode/markdownTransformers.d.ts.map +1 -0
  167. package/dist/features/format/inlineCode/markdownTransformers.js.map +1 -0
  168. package/dist/features/format/italic/feature.client.d.ts +5 -0
  169. package/dist/features/format/italic/feature.client.d.ts.map +1 -0
  170. package/dist/features/format/italic/feature.client.js +38 -0
  171. package/dist/features/format/italic/feature.client.js.map +1 -0
  172. package/dist/features/format/italic/feature.server.d.ts +2 -0
  173. package/dist/features/format/italic/feature.server.d.ts.map +1 -0
  174. package/dist/features/format/italic/feature.server.js +16 -0
  175. package/dist/features/format/italic/feature.server.js.map +1 -0
  176. package/dist/features/format/italic/markdownTransformers.d.ts.map +1 -0
  177. package/dist/features/format/italic/markdownTransformers.js.map +1 -0
  178. package/dist/features/format/shared/toolbarFormatGroup.d.ts.map +1 -0
  179. package/dist/features/format/shared/toolbarFormatGroup.js.map +1 -0
  180. package/dist/features/format/strikethrough/feature.client.d.ts +5 -0
  181. package/dist/features/format/strikethrough/feature.client.d.ts.map +1 -0
  182. package/dist/features/format/strikethrough/feature.client.js +37 -0
  183. package/dist/features/format/strikethrough/feature.client.js.map +1 -0
  184. package/dist/features/format/strikethrough/feature.server.d.ts +2 -0
  185. package/dist/features/format/strikethrough/feature.server.d.ts.map +1 -0
  186. package/dist/features/format/strikethrough/feature.server.js +15 -0
  187. package/dist/features/format/strikethrough/feature.server.js.map +1 -0
  188. package/dist/features/format/strikethrough/markdownTransformers.d.ts.map +1 -0
  189. package/dist/features/format/strikethrough/markdownTransformers.js.map +1 -0
  190. package/dist/features/format/subscript/feature.client.d.ts +5 -0
  191. package/dist/features/format/subscript/feature.client.d.ts.map +1 -0
  192. package/dist/features/format/subscript/feature.client.js +33 -0
  193. package/dist/features/format/subscript/feature.client.js.map +1 -0
  194. package/dist/features/format/subscript/feature.server.d.ts +2 -0
  195. package/dist/features/format/subscript/feature.server.d.ts.map +1 -0
  196. package/dist/features/format/subscript/feature.server.js +11 -0
  197. package/dist/features/format/subscript/feature.server.js.map +1 -0
  198. package/dist/features/format/superscript/feature.client.d.ts +5 -0
  199. package/dist/features/format/superscript/feature.client.d.ts.map +1 -0
  200. package/dist/features/format/superscript/feature.client.js +33 -0
  201. package/dist/features/format/superscript/feature.client.js.map +1 -0
  202. package/dist/features/format/superscript/feature.server.d.ts +2 -0
  203. package/dist/features/format/superscript/feature.server.d.ts.map +1 -0
  204. package/dist/features/format/superscript/feature.server.js +11 -0
  205. package/dist/features/format/superscript/feature.server.js.map +1 -0
  206. package/dist/features/format/underline/feature.client.d.ts +5 -0
  207. package/dist/features/format/underline/feature.client.d.ts.map +1 -0
  208. package/dist/features/format/underline/feature.client.js +33 -0
  209. package/dist/features/format/underline/feature.client.js.map +1 -0
  210. package/dist/features/format/underline/feature.server.d.ts +2 -0
  211. package/dist/features/format/underline/feature.server.d.ts.map +1 -0
  212. package/dist/features/format/underline/feature.server.js +11 -0
  213. package/dist/features/format/underline/feature.server.js.map +1 -0
  214. package/dist/features/heading/feature.client.d.ts +6 -0
  215. package/dist/features/heading/feature.client.d.ts.map +1 -0
  216. package/dist/features/heading/feature.client.js +112 -0
  217. package/dist/features/heading/feature.client.js.map +1 -0
  218. package/dist/features/heading/feature.server.d.ts +6 -0
  219. package/dist/features/heading/feature.server.d.ts.map +1 -0
  220. package/dist/features/heading/feature.server.js +59 -0
  221. package/dist/features/heading/feature.server.js.map +1 -0
  222. package/dist/features/heading/i18n.d.ts.map +1 -0
  223. package/dist/features/heading/i18n.js.map +1 -0
  224. package/dist/features/heading/markdownTransformer.d.ts.map +1 -0
  225. package/dist/features/heading/markdownTransformer.js.map +1 -0
  226. package/dist/features/horizontalRule/component/index.d.ts.map +1 -0
  227. package/dist/features/horizontalRule/component/index.js.map +1 -0
  228. package/dist/features/horizontalRule/feature.client.d.ts +5 -0
  229. package/dist/features/horizontalRule/feature.client.d.ts.map +1 -0
  230. package/dist/features/horizontalRule/feature.client.js +70 -0
  231. package/dist/features/horizontalRule/feature.client.js.map +1 -0
  232. package/dist/features/horizontalRule/feature.server.d.ts +2 -0
  233. package/dist/features/horizontalRule/feature.server.d.ts.map +1 -0
  234. package/dist/features/horizontalRule/feature.server.js +34 -0
  235. package/dist/features/horizontalRule/feature.server.js.map +1 -0
  236. package/dist/features/horizontalRule/i18n.d.ts.map +1 -0
  237. package/dist/features/horizontalRule/i18n.js.map +1 -0
  238. package/dist/features/horizontalRule/markdownTransformer.d.ts.map +1 -0
  239. package/dist/features/horizontalRule/markdownTransformer.js.map +1 -0
  240. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.d.ts.map +1 -0
  241. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.js.map +1 -0
  242. package/dist/features/horizontalRule/plugin/index.d.ts +7 -0
  243. package/dist/features/horizontalRule/plugin/index.d.ts.map +1 -0
  244. package/dist/features/horizontalRule/plugin/index.js.map +1 -0
  245. package/dist/features/indent/feature.client.d.ts +5 -0
  246. package/dist/features/indent/feature.client.d.ts.map +1 -0
  247. package/dist/features/indent/feature.client.js +56 -0
  248. package/dist/features/indent/feature.client.js.map +1 -0
  249. package/dist/features/indent/feature.server.d.ts +2 -0
  250. package/dist/features/indent/feature.server.d.ts.map +1 -0
  251. package/dist/features/indent/feature.server.js +13 -0
  252. package/dist/features/indent/feature.server.js.map +1 -0
  253. package/dist/features/indent/i18n.d.ts.map +1 -0
  254. package/dist/features/indent/i18n.js.map +1 -0
  255. package/dist/features/indent/toolbarIndentGroup.d.ts.map +1 -0
  256. package/dist/features/indent/toolbarIndentGroup.js.map +1 -0
  257. package/dist/features/link/drawer/baseFields.d.ts +3 -0
  258. package/dist/features/link/drawer/baseFields.d.ts.map +1 -0
  259. package/dist/features/link/drawer/baseFields.js.map +1 -0
  260. package/dist/features/link/drawer/index.d.ts.map +1 -0
  261. package/dist/features/link/drawer/index.js +94 -0
  262. package/dist/features/link/drawer/index.js.map +1 -0
  263. package/dist/features/link/drawer/types.d.ts.map +1 -0
  264. package/dist/features/link/drawer/types.js.map +1 -0
  265. package/dist/features/link/feature.client.d.ts +16 -0
  266. package/dist/features/link/feature.client.d.ts.map +1 -0
  267. package/dist/features/link/feature.client.js +101 -0
  268. package/dist/features/link/feature.client.js.map +1 -0
  269. package/dist/features/link/feature.server.d.ts +35 -0
  270. package/dist/features/link/feature.server.d.ts.map +1 -0
  271. package/dist/features/link/feature.server.js +138 -0
  272. package/dist/features/link/feature.server.js.map +1 -0
  273. package/dist/features/link/graphQLPopulationPromise.d.ts +5 -0
  274. package/dist/features/link/graphQLPopulationPromise.d.ts.map +1 -0
  275. package/dist/features/link/graphQLPopulationPromise.js +31 -0
  276. package/dist/features/link/graphQLPopulationPromise.js.map +1 -0
  277. package/dist/features/link/i18n.d.ts.map +1 -0
  278. package/dist/features/link/i18n.js.map +1 -0
  279. package/dist/features/link/markdownTransformer.d.ts.map +1 -0
  280. package/dist/features/link/markdownTransformer.js.map +1 -0
  281. package/dist/features/link/nodes/AutoLinkNode.d.ts.map +1 -0
  282. package/dist/features/link/nodes/AutoLinkNode.js.map +1 -0
  283. package/dist/features/link/nodes/LinkNode.d.ts.map +1 -0
  284. package/dist/features/link/nodes/LinkNode.js.map +1 -0
  285. package/dist/features/link/nodes/types.d.ts.map +1 -0
  286. package/dist/features/link/nodes/types.js.map +1 -0
  287. package/dist/features/link/plugins/autoLink/index.d.ts +20 -0
  288. package/dist/features/link/plugins/autoLink/index.d.ts.map +1 -0
  289. package/dist/features/link/plugins/autoLink/index.js.map +1 -0
  290. package/dist/features/link/plugins/clickableLink/index.d.ts +4 -0
  291. package/dist/features/link/plugins/clickableLink/index.d.ts.map +1 -0
  292. package/dist/features/link/plugins/clickableLink/index.js.map +1 -0
  293. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +1 -0
  294. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +1 -0
  295. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -0
  296. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +295 -0
  297. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +1 -0
  298. package/dist/features/link/plugins/floatingLinkEditor/index.d.ts +5 -0
  299. package/dist/features/link/plugins/floatingLinkEditor/index.d.ts.map +1 -0
  300. package/dist/features/link/plugins/floatingLinkEditor/index.js.map +1 -0
  301. package/dist/features/link/plugins/floatingLinkEditor/types.d.ts.map +1 -0
  302. package/dist/features/link/plugins/floatingLinkEditor/types.js.map +1 -0
  303. package/dist/features/link/plugins/floatingLinkEditor/utilities.d.ts +9 -0
  304. package/dist/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +1 -0
  305. package/dist/features/link/plugins/floatingLinkEditor/utilities.js.map +1 -0
  306. package/dist/features/link/plugins/link/index.d.ts +4 -0
  307. package/dist/features/link/plugins/link/index.d.ts.map +1 -0
  308. package/dist/features/link/plugins/link/index.js.map +1 -0
  309. package/dist/features/link/validate.d.ts +6 -0
  310. package/dist/features/link/validate.d.ts.map +1 -0
  311. package/dist/features/link/validate.js.map +1 -0
  312. package/dist/features/lists/checklist/feature.client.d.ts +5 -0
  313. package/dist/features/lists/checklist/feature.client.d.ts.map +1 -0
  314. package/dist/features/lists/checklist/feature.client.js +100 -0
  315. package/dist/features/lists/checklist/feature.client.js.map +1 -0
  316. package/dist/features/lists/checklist/feature.server.d.ts +2 -0
  317. package/dist/features/lists/checklist/feature.server.d.ts.map +1 -0
  318. package/dist/features/lists/checklist/feature.server.js +36 -0
  319. package/dist/features/lists/checklist/feature.server.js.map +1 -0
  320. package/dist/features/lists/checklist/i18n.d.ts.map +1 -0
  321. package/dist/features/lists/checklist/i18n.js.map +1 -0
  322. package/dist/features/lists/checklist/markdownTransformers.d.ts.map +1 -0
  323. package/dist/features/lists/checklist/markdownTransformers.js.map +1 -0
  324. package/dist/features/lists/checklist/plugin/index.d.ts +3 -0
  325. package/dist/features/lists/checklist/plugin/index.d.ts.map +1 -0
  326. package/dist/features/lists/checklist/plugin/index.js.map +1 -0
  327. package/dist/features/lists/htmlConverter.d.ts.map +1 -0
  328. package/dist/features/lists/htmlConverter.js +56 -0
  329. package/dist/features/lists/htmlConverter.js.map +1 -0
  330. package/dist/features/lists/orderedList/feature.client.d.ts +5 -0
  331. package/dist/features/lists/orderedList/feature.client.d.ts.map +1 -0
  332. package/dist/features/lists/orderedList/feature.client.js +90 -0
  333. package/dist/features/lists/orderedList/feature.client.js.map +1 -0
  334. package/dist/features/lists/orderedList/feature.server.d.ts +2 -0
  335. package/dist/features/lists/orderedList/feature.server.d.ts.map +1 -0
  336. package/dist/features/lists/orderedList/feature.server.js +36 -0
  337. package/dist/features/lists/orderedList/feature.server.js.map +1 -0
  338. package/dist/features/lists/orderedList/i18n.d.ts.map +1 -0
  339. package/dist/features/lists/orderedList/i18n.js.map +1 -0
  340. package/dist/features/lists/orderedList/markdownTransformer.d.ts.map +1 -0
  341. package/dist/features/lists/orderedList/markdownTransformer.js.map +1 -0
  342. package/dist/features/lists/plugin/index.d.ts +3 -0
  343. package/dist/features/lists/plugin/index.d.ts.map +1 -0
  344. package/dist/features/lists/plugin/index.js.map +1 -0
  345. package/dist/features/lists/shared/markdown.d.ts +6 -0
  346. package/dist/features/lists/shared/markdown.d.ts.map +1 -0
  347. package/dist/features/lists/shared/markdown.js.map +1 -0
  348. package/dist/features/lists/shared/slashMenuListGroup.d.ts.map +1 -0
  349. package/dist/features/lists/shared/slashMenuListGroup.js.map +1 -0
  350. package/dist/features/lists/unorderedList/feature.client.d.ts +5 -0
  351. package/dist/features/lists/unorderedList/feature.client.d.ts.map +1 -0
  352. package/dist/features/lists/unorderedList/feature.client.js +88 -0
  353. package/dist/features/lists/unorderedList/feature.client.js.map +1 -0
  354. package/dist/features/lists/unorderedList/feature.server.d.ts +2 -0
  355. package/dist/features/lists/unorderedList/feature.server.d.ts.map +1 -0
  356. package/dist/features/lists/unorderedList/feature.server.js +34 -0
  357. package/dist/features/lists/unorderedList/feature.server.js.map +1 -0
  358. package/dist/features/lists/unorderedList/i18n.d.ts.map +1 -0
  359. package/dist/features/lists/unorderedList/i18n.js.map +1 -0
  360. package/dist/features/lists/unorderedList/markdownTransformer.d.ts.map +1 -0
  361. package/dist/features/lists/unorderedList/markdownTransformer.js.map +1 -0
  362. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +5 -0
  363. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +1 -0
  364. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +1 -0
  365. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  366. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +1 -0
  367. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +1 -0
  368. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +8 -0
  369. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +1 -0
  370. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +5 -0
  371. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +1 -0
  372. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +1 -0
  373. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +1 -0
  374. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +1 -0
  375. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +1 -0
  376. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js +8 -0
  377. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +1 -0
  378. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +5 -0
  379. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +1 -0
  380. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +1 -0
  381. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +1 -0
  382. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +1 -0
  383. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +1 -0
  384. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js +8 -0
  385. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +1 -0
  386. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +5 -0
  387. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +1 -0
  388. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +1 -0
  389. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  390. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +1 -0
  391. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +1 -0
  392. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +8 -0
  393. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +1 -0
  394. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +5 -0
  395. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +1 -0
  396. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +1 -0
  397. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +1 -0
  398. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +1 -0
  399. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +1 -0
  400. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +8 -0
  401. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +1 -0
  402. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +5 -0
  403. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +1 -0
  404. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +1 -0
  405. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  406. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +1 -0
  407. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +1 -0
  408. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +8 -0
  409. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +1 -0
  410. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +5 -0
  411. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +1 -0
  412. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +1 -0
  413. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  414. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +1 -0
  415. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +1 -0
  416. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +8 -0
  417. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +1 -0
  418. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +1 -0
  419. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +1 -0
  420. package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +1 -0
  421. package/dist/features/migrations/lexicalPluginToLexical/converter/index.js.map +1 -0
  422. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts +31 -0
  423. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +1 -0
  424. package/dist/features/migrations/lexicalPluginToLexical/converter/types.js.map +1 -0
  425. package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts +5 -0
  426. package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +1 -0
  427. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js +27 -0
  428. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js.map +1 -0
  429. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts +8 -0
  430. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +1 -0
  431. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js +45 -0
  432. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js.map +1 -0
  433. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  434. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
  435. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  436. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
  437. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +5 -0
  438. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +1 -0
  439. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +1 -0
  440. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +1 -0
  441. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +1 -0
  442. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +1 -0
  443. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.js +8 -0
  444. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +1 -0
  445. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.d.ts +5 -0
  446. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +1 -0
  447. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.js.map +1 -0
  448. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  449. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +1 -0
  450. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +1 -0
  451. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.js +8 -0
  452. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.js.map +1 -0
  453. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.d.ts +5 -0
  454. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +1 -0
  455. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.js.map +1 -0
  456. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +1 -0
  457. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +1 -0
  458. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +1 -0
  459. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.js +8 -0
  460. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.js.map +1 -0
  461. package/dist/features/migrations/slateToLexical/converter/converters/link/client.d.ts +5 -0
  462. package/dist/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +1 -0
  463. package/dist/features/migrations/slateToLexical/converter/converters/link/client.js.map +1 -0
  464. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +1 -0
  465. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js.map +1 -0
  466. package/dist/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +1 -0
  467. package/dist/features/migrations/slateToLexical/converter/converters/link/index.js +8 -0
  468. package/dist/features/migrations/slateToLexical/converter/converters/link/index.js.map +1 -0
  469. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts +5 -0
  470. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +1 -0
  471. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +1 -0
  472. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  473. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +1 -0
  474. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +1 -0
  475. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.js +8 -0
  476. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +1 -0
  477. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +5 -0
  478. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +1 -0
  479. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +1 -0
  480. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +1 -0
  481. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +1 -0
  482. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +1 -0
  483. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.js +8 -0
  484. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +1 -0
  485. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts +5 -0
  486. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +1 -0
  487. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +1 -0
  488. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +1 -0
  489. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +1 -0
  490. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +1 -0
  491. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.js +8 -0
  492. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +1 -0
  493. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts +5 -0
  494. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +1 -0
  495. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +1 -0
  496. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  497. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +1 -0
  498. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +1 -0
  499. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.js +8 -0
  500. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +1 -0
  501. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +5 -0
  502. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +1 -0
  503. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +1 -0
  504. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +1 -0
  505. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +1 -0
  506. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +1 -0
  507. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.js +8 -0
  508. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +1 -0
  509. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.d.ts +5 -0
  510. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +1 -0
  511. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.js.map +1 -0
  512. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  513. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +1 -0
  514. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +1 -0
  515. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.js +8 -0
  516. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.js.map +1 -0
  517. package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +1 -0
  518. package/dist/features/migrations/slateToLexical/converter/defaultConverters.js.map +1 -0
  519. package/dist/features/migrations/slateToLexical/converter/index.d.ts.map +1 -0
  520. package/dist/features/migrations/slateToLexical/converter/index.js.map +1 -0
  521. package/dist/features/migrations/slateToLexical/converter/types.d.ts +25 -0
  522. package/dist/features/migrations/slateToLexical/converter/types.d.ts.map +1 -0
  523. package/dist/features/migrations/slateToLexical/converter/types.js.map +1 -0
  524. package/dist/features/migrations/slateToLexical/feature.client.d.ts +5 -0
  525. package/dist/features/migrations/slateToLexical/feature.client.d.ts.map +1 -0
  526. package/dist/features/migrations/slateToLexical/feature.client.js +27 -0
  527. package/dist/features/migrations/slateToLexical/feature.client.js.map +1 -0
  528. package/dist/features/migrations/slateToLexical/feature.server.d.ts +8 -0
  529. package/dist/features/migrations/slateToLexical/feature.server.d.ts.map +1 -0
  530. package/dist/features/migrations/slateToLexical/feature.server.js +45 -0
  531. package/dist/features/migrations/slateToLexical/feature.server.js.map +1 -0
  532. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  533. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
  534. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  535. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
  536. package/dist/features/paragraph/feature.client.d.ts +5 -0
  537. package/dist/features/paragraph/feature.client.d.ts.map +1 -0
  538. package/dist/features/paragraph/feature.client.js +71 -0
  539. package/dist/features/paragraph/feature.client.js.map +1 -0
  540. package/dist/features/paragraph/feature.server.d.ts +2 -0
  541. package/dist/features/paragraph/feature.server.d.ts.map +1 -0
  542. package/dist/features/paragraph/feature.server.js +14 -0
  543. package/dist/features/paragraph/feature.server.js.map +1 -0
  544. package/dist/features/paragraph/i18n.d.ts.map +1 -0
  545. package/dist/features/paragraph/i18n.js.map +1 -0
  546. package/dist/features/relationship/drawer/commands.d.ts.map +1 -0
  547. package/dist/features/relationship/drawer/commands.js.map +1 -0
  548. package/dist/features/relationship/drawer/index.d.ts.map +1 -0
  549. package/dist/features/relationship/drawer/index.js +83 -0
  550. package/dist/features/relationship/drawer/index.js.map +1 -0
  551. package/dist/features/relationship/feature.client.d.ts +18 -0
  552. package/dist/features/relationship/feature.client.d.ts.map +1 -0
  553. package/dist/features/relationship/feature.client.js +72 -0
  554. package/dist/features/relationship/feature.client.js.map +1 -0
  555. package/dist/features/relationship/feature.server.d.ts +27 -0
  556. package/dist/features/relationship/feature.server.d.ts.map +1 -0
  557. package/dist/features/relationship/feature.server.js +55 -0
  558. package/dist/features/relationship/feature.server.js.map +1 -0
  559. package/dist/features/relationship/graphQLPopulationPromise.d.ts +5 -0
  560. package/dist/features/relationship/graphQLPopulationPromise.d.ts.map +1 -0
  561. package/dist/features/relationship/graphQLPopulationPromise.js +29 -0
  562. package/dist/features/relationship/graphQLPopulationPromise.js.map +1 -0
  563. package/dist/features/relationship/i18n.d.ts.map +1 -0
  564. package/dist/features/relationship/i18n.js.map +1 -0
  565. package/dist/features/relationship/nodes/RelationshipNode.d.ts.map +1 -0
  566. package/dist/features/relationship/nodes/RelationshipNode.js.map +1 -0
  567. package/dist/features/relationship/nodes/components/RelationshipComponent.d.ts.map +1 -0
  568. package/dist/features/relationship/nodes/components/RelationshipComponent.js +172 -0
  569. package/dist/features/relationship/nodes/components/RelationshipComponent.js.map +1 -0
  570. package/dist/features/relationship/plugins/index.d.ts +7 -0
  571. package/dist/features/relationship/plugins/index.d.ts.map +1 -0
  572. package/dist/features/relationship/plugins/index.js +50 -0
  573. package/dist/features/relationship/plugins/index.js.map +1 -0
  574. package/dist/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +1 -0
  575. package/dist/features/relationship/utils/EnabledRelationshipsCondition.js +33 -0
  576. package/dist/features/relationship/utils/EnabledRelationshipsCondition.js.map +1 -0
  577. package/dist/features/shared/slashMenu/basicGroup.d.ts.map +1 -0
  578. package/dist/features/shared/slashMenu/basicGroup.js.map +1 -0
  579. package/dist/features/shared/toolbar/addDropdownGroup.d.ts.map +1 -0
  580. package/dist/features/shared/toolbar/addDropdownGroup.js.map +1 -0
  581. package/dist/features/shared/toolbar/featureButtonsGroup.d.ts.map +1 -0
  582. package/dist/features/shared/toolbar/featureButtonsGroup.js.map +1 -0
  583. package/dist/features/shared/toolbar/textDropdownGroup.d.ts.map +1 -0
  584. package/dist/features/shared/toolbar/textDropdownGroup.js.map +1 -0
  585. package/dist/features/toolbars/fixed/Toolbar/index.d.ts +5 -0
  586. package/dist/features/toolbars/fixed/Toolbar/index.d.ts.map +1 -0
  587. package/dist/features/toolbars/fixed/Toolbar/index.js +207 -0
  588. package/dist/features/toolbars/fixed/Toolbar/index.js.map +1 -0
  589. package/dist/features/toolbars/fixed/feature.client.d.ts +6 -0
  590. package/dist/features/toolbars/fixed/feature.client.d.ts.map +1 -0
  591. package/dist/features/toolbars/fixed/feature.client.js +13 -0
  592. package/dist/features/toolbars/fixed/feature.client.js.map +1 -0
  593. package/dist/features/toolbars/fixed/feature.server.d.ts +18 -0
  594. package/dist/features/toolbars/fixed/feature.server.d.ts.map +1 -0
  595. package/dist/features/toolbars/fixed/feature.server.js +19 -0
  596. package/dist/features/toolbars/fixed/feature.server.js.map +1 -0
  597. package/dist/features/toolbars/inline/Toolbar/index.d.ts +4 -0
  598. package/dist/features/toolbars/inline/Toolbar/index.d.ts.map +1 -0
  599. package/dist/features/toolbars/inline/Toolbar/index.js.map +1 -0
  600. package/dist/features/toolbars/inline/feature.client.d.ts +5 -0
  601. package/dist/features/toolbars/inline/feature.client.d.ts.map +1 -0
  602. package/dist/features/toolbars/inline/feature.client.js +13 -0
  603. package/dist/features/toolbars/inline/feature.client.js.map +1 -0
  604. package/dist/features/toolbars/inline/feature.server.d.ts +2 -0
  605. package/dist/features/toolbars/inline/feature.server.d.ts.map +1 -0
  606. package/dist/features/toolbars/inline/feature.server.js +11 -0
  607. package/dist/features/toolbars/inline/feature.server.js.map +1 -0
  608. package/dist/features/toolbars/shared/ToolbarButton/index.d.ts.map +1 -0
  609. package/dist/features/toolbars/shared/ToolbarButton/index.js.map +1 -0
  610. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +1 -0
  611. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +1 -0
  612. package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +1 -0
  613. package/dist/features/toolbars/shared/ToolbarDropdown/index.js +141 -0
  614. package/dist/features/toolbars/shared/ToolbarDropdown/index.js.map +1 -0
  615. package/dist/features/toolbars/types.d.ts +53 -0
  616. package/dist/features/toolbars/types.d.ts.map +1 -0
  617. package/dist/features/toolbars/types.js.map +1 -0
  618. package/dist/features/typeUtilities.d.ts +8 -0
  619. package/dist/features/typeUtilities.d.ts.map +1 -0
  620. package/dist/features/typeUtilities.js.map +1 -0
  621. package/dist/features/typesClient.d.ts +182 -0
  622. package/dist/features/typesClient.d.ts.map +1 -0
  623. package/dist/features/typesClient.js +3 -0
  624. package/dist/features/typesClient.js.map +1 -0
  625. package/dist/features/typesServer.d.ts +292 -0
  626. package/dist/features/typesServer.d.ts.map +1 -0
  627. package/dist/features/typesServer.js +3 -0
  628. package/dist/features/typesServer.js.map +1 -0
  629. package/dist/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +1 -0
  630. package/dist/features/upload/component/ExtraFieldsDrawer/index.js +123 -0
  631. package/dist/features/upload/component/ExtraFieldsDrawer/index.js.map +1 -0
  632. package/dist/features/upload/component/index.d.ts.map +1 -0
  633. package/dist/features/upload/component/index.js +219 -0
  634. package/dist/features/upload/component/index.js.map +1 -0
  635. package/dist/features/upload/drawer/commands.d.ts.map +1 -0
  636. package/dist/features/upload/drawer/commands.js.map +1 -0
  637. package/dist/features/upload/drawer/index.d.ts.map +1 -0
  638. package/dist/features/upload/drawer/index.js +77 -0
  639. package/dist/features/upload/drawer/index.js.map +1 -0
  640. package/dist/features/upload/feature.client.d.ts +12 -0
  641. package/dist/features/upload/feature.client.d.ts.map +1 -0
  642. package/dist/features/upload/feature.client.js +74 -0
  643. package/dist/features/upload/feature.client.js.map +1 -0
  644. package/dist/features/upload/feature.server.d.ts +18 -0
  645. package/dist/features/upload/feature.server.d.ts.map +1 -0
  646. package/dist/features/upload/feature.server.js +194 -0
  647. package/dist/features/upload/feature.server.js.map +1 -0
  648. package/dist/features/upload/graphQLPopulationPromise.d.ts +5 -0
  649. package/dist/features/upload/graphQLPopulationPromise.d.ts.map +1 -0
  650. package/dist/features/upload/graphQLPopulationPromise.js +52 -0
  651. package/dist/features/upload/graphQLPopulationPromise.js.map +1 -0
  652. package/dist/features/upload/i18n.d.ts.map +1 -0
  653. package/dist/features/upload/i18n.js.map +1 -0
  654. package/dist/features/upload/nodes/UploadNode.d.ts.map +1 -0
  655. package/dist/features/upload/nodes/UploadNode.js.map +1 -0
  656. package/dist/features/upload/plugin/index.d.ts +8 -0
  657. package/dist/features/upload/plugin/index.d.ts.map +1 -0
  658. package/dist/features/upload/plugin/index.js +53 -0
  659. package/dist/features/upload/plugin/index.js.map +1 -0
  660. package/dist/features/upload/validate.d.ts +5 -0
  661. package/dist/features/upload/validate.d.ts.map +1 -0
  662. package/dist/features/upload/validate.js.map +1 -0
  663. package/dist/field/Field.d.ts +3 -3
  664. package/dist/field/Field.d.ts.map +1 -1
  665. package/dist/field/Field.js +2 -2
  666. package/dist/field/Field.js.map +1 -1
  667. package/dist/field/index.d.ts +1 -1
  668. package/dist/field/index.d.ts.map +1 -1
  669. package/dist/field/index.js +9 -7
  670. package/dist/field/index.js.map +1 -1
  671. package/dist/i18n.js.map +1 -1
  672. package/dist/index.d.ts +68 -66
  673. package/dist/index.d.ts.map +1 -1
  674. package/dist/index.js +76 -76
  675. package/dist/index.js.map +1 -1
  676. package/dist/lexical/EditorPlugin.d.ts +8 -0
  677. package/dist/lexical/EditorPlugin.d.ts.map +1 -0
  678. package/dist/lexical/EditorPlugin.js +15 -0
  679. package/dist/lexical/EditorPlugin.js.map +1 -0
  680. package/dist/lexical/LexicalEditor.d.ts.map +1 -0
  681. package/dist/lexical/LexicalEditor.js +192 -0
  682. package/dist/lexical/LexicalEditor.js.map +1 -0
  683. package/dist/lexical/LexicalProvider.d.ts +18 -0
  684. package/dist/lexical/LexicalProvider.d.ts.map +1 -0
  685. package/dist/lexical/LexicalProvider.js.map +1 -0
  686. package/dist/lexical/config/client/EditorConfigProvider.d.ts +35 -0
  687. package/dist/lexical/config/client/EditorConfigProvider.d.ts.map +1 -0
  688. package/dist/lexical/config/client/EditorConfigProvider.js.map +1 -0
  689. package/dist/lexical/config/client/default.d.ts.map +1 -0
  690. package/dist/lexical/config/client/default.js.map +1 -0
  691. package/dist/lexical/config/client/loader.d.ts +12 -0
  692. package/dist/lexical/config/client/loader.d.ts.map +1 -0
  693. package/dist/lexical/config/client/loader.js +46 -0
  694. package/dist/lexical/config/client/loader.js.map +1 -0
  695. package/dist/lexical/config/client/sanitize.d.ts +7 -0
  696. package/dist/lexical/config/client/sanitize.d.ts.map +1 -0
  697. package/dist/lexical/config/client/sanitize.js +176 -0
  698. package/dist/lexical/config/client/sanitize.js.map +1 -0
  699. package/dist/lexical/config/server/default.d.ts +7 -0
  700. package/dist/lexical/config/server/default.d.ts.map +1 -0
  701. package/dist/lexical/config/server/default.js.map +1 -0
  702. package/dist/lexical/config/server/loader.d.ts +10 -0
  703. package/dist/lexical/config/server/loader.d.ts.map +1 -0
  704. package/dist/lexical/config/server/loader.js +120 -0
  705. package/dist/lexical/config/server/loader.js.map +1 -0
  706. package/dist/lexical/config/server/sanitize.d.ts +6 -0
  707. package/dist/lexical/config/server/sanitize.d.ts.map +1 -0
  708. package/dist/lexical/config/server/sanitize.js.map +1 -0
  709. package/dist/lexical/config/types.d.ts +24 -0
  710. package/dist/lexical/config/types.d.ts.map +1 -0
  711. package/dist/lexical/config/types.js.map +1 -0
  712. package/dist/lexical/nodes/index.d.ts.map +1 -0
  713. package/dist/lexical/nodes/index.js.map +1 -0
  714. package/dist/lexical/plugins/MarkdownShortcut/index.d.ts.map +1 -0
  715. package/dist/lexical/plugins/MarkdownShortcut/index.js.map +1 -0
  716. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +1 -0
  717. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +1 -0
  718. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +1 -0
  719. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +1 -0
  720. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +39 -0
  721. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +1 -0
  722. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +1 -0
  723. package/dist/lexical/plugins/SlashMenu/index.d.ts.map +1 -0
  724. package/dist/lexical/plugins/SlashMenu/index.js +187 -0
  725. package/dist/lexical/plugins/SlashMenu/index.js.map +1 -0
  726. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +1 -0
  727. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +1 -0
  728. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +1 -0
  729. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +1 -0
  730. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +1 -0
  731. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +1 -0
  732. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +1 -0
  733. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +1 -0
  734. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +1 -0
  735. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +1 -0
  736. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +1 -0
  737. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +1 -0
  738. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +9 -0
  739. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +1 -0
  740. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +1 -0
  741. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts.map +1 -0
  742. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js.map +1 -0
  743. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +1 -0
  744. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +1 -0
  745. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +1 -0
  746. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.js.map +1 -0
  747. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts.map +1 -0
  748. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.js.map +1 -0
  749. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +1 -0
  750. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +1 -0
  751. package/dist/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +1 -0
  752. package/dist/lexical/plugins/handles/utils/isOnHandleElement.js.map +1 -0
  753. package/dist/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +1 -0
  754. package/dist/lexical/plugins/handles/utils/setHandlePosition.js.map +1 -0
  755. package/dist/lexical/theme/EditorTheme.d.ts.map +1 -0
  756. package/dist/lexical/theme/EditorTheme.js.map +1 -0
  757. package/dist/lexical/ui/ContentEditable.d.ts.map +1 -0
  758. package/dist/lexical/ui/ContentEditable.js.map +1 -0
  759. package/dist/lexical/ui/icons/AI/index.d.ts.map +1 -0
  760. package/dist/lexical/ui/icons/AI/index.js.map +1 -0
  761. package/dist/lexical/ui/icons/Add/index.d.ts.map +1 -0
  762. package/dist/lexical/ui/icons/Add/index.js.map +1 -0
  763. package/dist/lexical/ui/icons/AlignCenter/index.d.ts.map +1 -0
  764. package/dist/lexical/ui/icons/AlignCenter/index.js.map +1 -0
  765. package/dist/lexical/ui/icons/AlignJustify/index.d.ts.map +1 -0
  766. package/dist/lexical/ui/icons/AlignJustify/index.js.map +1 -0
  767. package/dist/lexical/ui/icons/AlignLeft/index.d.ts.map +1 -0
  768. package/dist/lexical/ui/icons/AlignLeft/index.js.map +1 -0
  769. package/dist/lexical/ui/icons/AlignRight/index.d.ts.map +1 -0
  770. package/dist/lexical/ui/icons/AlignRight/index.js.map +1 -0
  771. package/dist/lexical/ui/icons/Block/index.d.ts.map +1 -0
  772. package/dist/lexical/ui/icons/Block/index.js.map +1 -0
  773. package/dist/lexical/ui/icons/Blockquote/index.d.ts.map +1 -0
  774. package/dist/lexical/ui/icons/Blockquote/index.js.map +1 -0
  775. package/dist/lexical/ui/icons/Bold/index.d.ts.map +1 -0
  776. package/dist/lexical/ui/icons/Bold/index.js.map +1 -0
  777. package/dist/lexical/ui/icons/Checklist/index.d.ts.map +1 -0
  778. package/dist/lexical/ui/icons/Checklist/index.js.map +1 -0
  779. package/dist/lexical/ui/icons/Code/index.d.ts.map +1 -0
  780. package/dist/lexical/ui/icons/Code/index.js.map +1 -0
  781. package/dist/lexical/ui/icons/CodeBlock/index.d.ts.map +1 -0
  782. package/dist/lexical/ui/icons/CodeBlock/index.js.map +1 -0
  783. package/dist/lexical/ui/icons/H1/index.d.ts.map +1 -0
  784. package/dist/lexical/ui/icons/H1/index.js.map +1 -0
  785. package/dist/lexical/ui/icons/H2/index.d.ts.map +1 -0
  786. package/dist/lexical/ui/icons/H2/index.js.map +1 -0
  787. package/dist/lexical/ui/icons/H3/index.d.ts.map +1 -0
  788. package/dist/lexical/ui/icons/H3/index.js.map +1 -0
  789. package/dist/lexical/ui/icons/H4/index.d.ts.map +1 -0
  790. package/dist/lexical/ui/icons/H4/index.js.map +1 -0
  791. package/dist/lexical/ui/icons/H5/index.d.ts.map +1 -0
  792. package/dist/lexical/ui/icons/H5/index.js.map +1 -0
  793. package/dist/lexical/ui/icons/H6/index.d.ts.map +1 -0
  794. package/dist/lexical/ui/icons/H6/index.js.map +1 -0
  795. package/dist/lexical/ui/icons/HorizontalRule/index.d.ts.map +1 -0
  796. package/dist/lexical/ui/icons/HorizontalRule/index.js.map +1 -0
  797. package/dist/lexical/ui/icons/IndentDecrease/index.d.ts.map +1 -0
  798. package/dist/lexical/ui/icons/IndentDecrease/index.js.map +1 -0
  799. package/dist/lexical/ui/icons/IndentIncrease/index.d.ts.map +1 -0
  800. package/dist/lexical/ui/icons/IndentIncrease/index.js.map +1 -0
  801. package/dist/lexical/ui/icons/Italic/index.d.ts.map +1 -0
  802. package/dist/lexical/ui/icons/Italic/index.js.map +1 -0
  803. package/dist/lexical/ui/icons/Link/index.d.ts.map +1 -0
  804. package/dist/lexical/ui/icons/Link/index.js.map +1 -0
  805. package/dist/lexical/ui/icons/OrderedList/index.d.ts.map +1 -0
  806. package/dist/lexical/ui/icons/OrderedList/index.js.map +1 -0
  807. package/dist/lexical/ui/icons/Relationship/index.d.ts.map +1 -0
  808. package/dist/lexical/ui/icons/Relationship/index.js.map +1 -0
  809. package/dist/lexical/ui/icons/Strikethrough/index.d.ts.map +1 -0
  810. package/dist/lexical/ui/icons/Strikethrough/index.js.map +1 -0
  811. package/dist/lexical/ui/icons/Subscript/index.d.ts.map +1 -0
  812. package/dist/lexical/ui/icons/Subscript/index.js.map +1 -0
  813. package/dist/lexical/ui/icons/Superscript/index.d.ts.map +1 -0
  814. package/dist/lexical/ui/icons/Superscript/index.js.map +1 -0
  815. package/dist/lexical/ui/icons/Text/index.d.ts.map +1 -0
  816. package/dist/lexical/ui/icons/Text/index.js.map +1 -0
  817. package/dist/lexical/ui/icons/Underline/index.d.ts.map +1 -0
  818. package/dist/lexical/ui/icons/Underline/index.js.map +1 -0
  819. package/dist/lexical/ui/icons/UnorderedList/index.d.ts.map +1 -0
  820. package/dist/lexical/ui/icons/UnorderedList/index.js.map +1 -0
  821. package/dist/lexical/ui/icons/Upload/index.d.ts.map +1 -0
  822. package/dist/lexical/ui/icons/Upload/index.js.map +1 -0
  823. package/dist/lexical/utils/canUseDOM.d.ts.map +1 -0
  824. package/dist/lexical/utils/canUseDOM.js.map +1 -0
  825. package/dist/lexical/utils/cloneDeep.d.ts.map +1 -0
  826. package/dist/lexical/utils/cloneDeep.js +50 -0
  827. package/dist/lexical/utils/cloneDeep.js.map +1 -0
  828. package/dist/lexical/utils/environment.d.ts.map +1 -0
  829. package/dist/lexical/utils/environment.js.map +1 -0
  830. package/dist/lexical/utils/getDOMRangeRect.d.ts.map +1 -0
  831. package/dist/lexical/utils/getDOMRangeRect.js.map +1 -0
  832. package/dist/lexical/utils/getSelectedNode.d.ts.map +1 -0
  833. package/dist/lexical/utils/getSelectedNode.js.map +1 -0
  834. package/dist/lexical/utils/guard.d.ts.map +1 -0
  835. package/dist/lexical/utils/guard.js.map +1 -0
  836. package/dist/lexical/utils/invariant.d.ts.map +1 -0
  837. package/dist/lexical/utils/invariant.js.map +1 -0
  838. package/dist/lexical/utils/joinClasses.d.ts.map +1 -0
  839. package/dist/lexical/utils/joinClasses.js.map +1 -0
  840. package/dist/lexical/utils/markdown/createBlockNode.d.ts +4 -0
  841. package/dist/lexical/utils/markdown/createBlockNode.d.ts.map +1 -0
  842. package/dist/lexical/utils/markdown/createBlockNode.js.map +1 -0
  843. package/dist/lexical/utils/nodeFormat.d.ts.map +1 -0
  844. package/dist/lexical/utils/nodeFormat.js.map +1 -0
  845. package/dist/lexical/utils/point.d.ts.map +1 -0
  846. package/dist/lexical/utils/point.js.map +1 -0
  847. package/dist/lexical/utils/rect.d.ts.map +1 -0
  848. package/dist/lexical/utils/rect.js.map +1 -0
  849. package/dist/lexical/utils/setFloatingElemPosition.d.ts.map +1 -0
  850. package/dist/lexical/utils/setFloatingElemPosition.js.map +1 -0
  851. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +1 -0
  852. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +1 -0
  853. package/dist/lexical/utils/swipe.d.ts.map +1 -0
  854. package/dist/lexical/utils/swipe.js.map +1 -0
  855. package/dist/lexical/utils/url.d.ts.map +1 -0
  856. package/dist/lexical/utils/url.js.map +1 -0
  857. package/dist/populateGraphQL/defaultValue.js.map +1 -1
  858. package/dist/populateGraphQL/populate.d.ts +3 -3
  859. package/dist/populateGraphQL/populate.d.ts.map +1 -1
  860. package/dist/populateGraphQL/populate.js +2 -2
  861. package/dist/populateGraphQL/populate.js.map +1 -1
  862. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts +1 -1
  863. package/dist/populateGraphQL/populateLexicalPopulationPromises.js +1 -1
  864. package/dist/populateGraphQL/populateLexicalPopulationPromises.js.map +1 -1
  865. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts +1 -1
  866. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js.map +1 -1
  867. package/dist/types.d.ts +7 -7
  868. package/dist/types.d.ts.map +1 -1
  869. package/dist/types.js.map +1 -1
  870. package/dist/utilities/createClientFeature.d.ts +13 -0
  871. package/dist/utilities/createClientFeature.d.ts.map +1 -0
  872. package/dist/utilities/createClientFeature.js +30 -0
  873. package/dist/utilities/createClientFeature.js.map +1 -0
  874. package/dist/utilities/createServerFeature.d.ts +16 -0
  875. package/dist/utilities/createServerFeature.d.ts.map +1 -0
  876. package/dist/utilities/createServerFeature.js +34 -0
  877. package/dist/utilities/createServerFeature.js.map +1 -0
  878. package/dist/utilities/forEachNodeRecursively.d.ts.map +1 -0
  879. package/dist/utilities/forEachNodeRecursively.js.map +1 -0
  880. package/dist/utilities/generateComponentMap.d.ts +6 -0
  881. package/dist/utilities/generateComponentMap.d.ts.map +1 -0
  882. package/dist/utilities/generateComponentMap.js +77 -0
  883. package/dist/utilities/generateComponentMap.js.map +1 -0
  884. package/dist/utilities/generateSchemaMap.d.ts +6 -0
  885. package/dist/utilities/generateSchemaMap.d.ts.map +1 -0
  886. package/dist/utilities/generateSchemaMap.js +22 -0
  887. package/dist/utilities/generateSchemaMap.js.map +1 -0
  888. package/dist/utilities/recurseNodeTree.d.ts.map +1 -0
  889. package/dist/utilities/recurseNodeTree.js.map +1 -0
  890. package/dist/utilities/useLexicalFeature.d.ts +3 -0
  891. package/dist/utilities/useLexicalFeature.d.ts.map +1 -0
  892. package/dist/utilities/useLexicalFeature.js +12 -0
  893. package/dist/utilities/useLexicalFeature.js.map +1 -0
  894. package/dist/validate/index.d.ts +1 -1
  895. package/dist/validate/index.d.ts.map +1 -1
  896. package/dist/validate/index.js.map +1 -1
  897. package/dist/validate/validateNodes.d.ts +1 -1
  898. package/dist/validate/validateNodes.js.map +1 -1
  899. package/package.json +14 -14
  900. package/dist/exports/client/Component-6AVANNNR.js +0 -2
  901. package/dist/exports/client/Component-6AVANNNR.js.map +0 -7
  902. package/dist/exports/client/Component-SZVAYRJX.js +0 -2
  903. package/dist/exports/client/Component-SZVAYRJX.js.map +0 -7
  904. package/dist/exports/client/Field-U5PHZTST.js +0 -2
  905. package/dist/exports/client/Field-U5PHZTST.js.map +0 -7
  906. package/dist/exports/client/RelationshipComponent-FGUPLCD2.js +0 -2
  907. package/dist/exports/client/RelationshipComponent-FGUPLCD2.js.map +0 -7
  908. package/dist/exports/client/chunk-35NZOHAF.js +0 -2
  909. package/dist/exports/client/chunk-35NZOHAF.js.map +0 -7
  910. package/dist/exports/client/chunk-3PZ2ZFQG.js +0 -3
  911. package/dist/exports/client/chunk-3PZ2ZFQG.js.map +0 -7
  912. package/dist/exports/client/chunk-FSTRW2TI.js +0 -2
  913. package/dist/exports/client/chunk-FSTRW2TI.js.map +0 -7
  914. package/dist/exports/client/chunk-M6MN4CA5.js +0 -2
  915. package/dist/exports/client/chunk-M6MN4CA5.js.map +0 -7
  916. package/dist/exports/client/chunk-Y5455JF3.js +0 -2
  917. package/dist/exports/client/chunk-Y5455JF3.js.map +0 -7
  918. package/dist/exports/client/component-FFLILIUZ.js +0 -2
  919. package/dist/exports/client/component-FFLILIUZ.js.map +0 -7
  920. package/dist/exports/client/component-RAVN56DE.js +0 -2
  921. package/dist/exports/client/component-RAVN56DE.js.map +0 -7
  922. package/dist/exports/client/component-Z34HXRX3.js +0 -2
  923. package/dist/exports/client/component-Z34HXRX3.js.map +0 -7
  924. package/dist/field/features/align/feature.client.d.ts +0 -6
  925. package/dist/field/features/align/feature.client.d.ts.map +0 -1
  926. package/dist/field/features/align/feature.client.js +0 -153
  927. package/dist/field/features/align/feature.client.js.map +0 -1
  928. package/dist/field/features/align/feature.server.d.ts +0 -3
  929. package/dist/field/features/align/feature.server.d.ts.map +0 -1
  930. package/dist/field/features/align/feature.server.js +0 -19
  931. package/dist/field/features/align/feature.server.js.map +0 -1
  932. package/dist/field/features/align/i18n.d.ts.map +0 -1
  933. package/dist/field/features/align/i18n.js.map +0 -1
  934. package/dist/field/features/align/toolbarAlignGroup.d.ts.map +0 -1
  935. package/dist/field/features/align/toolbarAlignGroup.js.map +0 -1
  936. package/dist/field/features/blockquote/feature.client.d.ts +0 -6
  937. package/dist/field/features/blockquote/feature.client.d.ts.map +0 -1
  938. package/dist/field/features/blockquote/feature.client.js +0 -84
  939. package/dist/field/features/blockquote/feature.client.js.map +0 -1
  940. package/dist/field/features/blockquote/feature.server.d.ts +0 -3
  941. package/dist/field/features/blockquote/feature.server.d.ts.map +0 -1
  942. package/dist/field/features/blockquote/feature.server.js +0 -50
  943. package/dist/field/features/blockquote/feature.server.js.map +0 -1
  944. package/dist/field/features/blockquote/i18n.d.ts.map +0 -1
  945. package/dist/field/features/blockquote/i18n.js.map +0 -1
  946. package/dist/field/features/blockquote/markdownTransformer.d.ts.map +0 -1
  947. package/dist/field/features/blockquote/markdownTransformer.js.map +0 -1
  948. package/dist/field/features/blocks/component/BlockContent.d.ts +0 -27
  949. package/dist/field/features/blocks/component/BlockContent.d.ts.map +0 -1
  950. package/dist/field/features/blocks/component/BlockContent.js +0 -193
  951. package/dist/field/features/blocks/component/BlockContent.js.map +0 -1
  952. package/dist/field/features/blocks/component/FormSavePlugin.d.ts.map +0 -1
  953. package/dist/field/features/blocks/component/FormSavePlugin.js +0 -29
  954. package/dist/field/features/blocks/component/FormSavePlugin.js.map +0 -1
  955. package/dist/field/features/blocks/component/index.d.ts.map +0 -1
  956. package/dist/field/features/blocks/component/index.js +0 -158
  957. package/dist/field/features/blocks/component/index.js.map +0 -1
  958. package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts.map +0 -1
  959. package/dist/field/features/blocks/component/removeEmptyArrayValues.js.map +0 -1
  960. package/dist/field/features/blocks/drawer/index.d.ts.map +0 -1
  961. package/dist/field/features/blocks/drawer/index.js +0 -78
  962. package/dist/field/features/blocks/drawer/index.js.map +0 -1
  963. package/dist/field/features/blocks/feature.client.d.ts +0 -10
  964. package/dist/field/features/blocks/feature.client.d.ts.map +0 -1
  965. package/dist/field/features/blocks/feature.client.js +0 -92
  966. package/dist/field/features/blocks/feature.client.js.map +0 -1
  967. package/dist/field/features/blocks/feature.server.d.ts +0 -8
  968. package/dist/field/features/blocks/feature.server.d.ts.map +0 -1
  969. package/dist/field/features/blocks/feature.server.js +0 -107
  970. package/dist/field/features/blocks/feature.server.js.map +0 -1
  971. package/dist/field/features/blocks/graphQLPopulationPromise.d.ts +0 -5
  972. package/dist/field/features/blocks/graphQLPopulationPromise.d.ts.map +0 -1
  973. package/dist/field/features/blocks/graphQLPopulationPromise.js +0 -31
  974. package/dist/field/features/blocks/graphQLPopulationPromise.js.map +0 -1
  975. package/dist/field/features/blocks/i18n.d.ts.map +0 -1
  976. package/dist/field/features/blocks/i18n.js.map +0 -1
  977. package/dist/field/features/blocks/nodes/BlocksNode.d.ts.map +0 -1
  978. package/dist/field/features/blocks/nodes/BlocksNode.js.map +0 -1
  979. package/dist/field/features/blocks/plugin/commands.d.ts.map +0 -1
  980. package/dist/field/features/blocks/plugin/commands.js.map +0 -1
  981. package/dist/field/features/blocks/plugin/index.d.ts +0 -6
  982. package/dist/field/features/blocks/plugin/index.d.ts.map +0 -1
  983. package/dist/field/features/blocks/plugin/index.js.map +0 -1
  984. package/dist/field/features/blocks/validate.d.ts +0 -5
  985. package/dist/field/features/blocks/validate.d.ts.map +0 -1
  986. package/dist/field/features/blocks/validate.js.map +0 -1
  987. package/dist/field/features/converters/html/converter/converters/linebreak.d.ts.map +0 -1
  988. package/dist/field/features/converters/html/converter/converters/linebreak.js.map +0 -1
  989. package/dist/field/features/converters/html/converter/converters/paragraph.d.ts.map +0 -1
  990. package/dist/field/features/converters/html/converter/converters/paragraph.js +0 -20
  991. package/dist/field/features/converters/html/converter/converters/paragraph.js.map +0 -1
  992. package/dist/field/features/converters/html/converter/converters/text.d.ts.map +0 -1
  993. package/dist/field/features/converters/html/converter/converters/text.js.map +0 -1
  994. package/dist/field/features/converters/html/converter/defaultConverters.d.ts.map +0 -1
  995. package/dist/field/features/converters/html/converter/defaultConverters.js.map +0 -1
  996. package/dist/field/features/converters/html/converter/index.d.ts +0 -21
  997. package/dist/field/features/converters/html/converter/index.d.ts.map +0 -1
  998. package/dist/field/features/converters/html/converter/index.js +0 -44
  999. package/dist/field/features/converters/html/converter/index.js.map +0 -1
  1000. package/dist/field/features/converters/html/converter/types.d.ts +0 -19
  1001. package/dist/field/features/converters/html/converter/types.d.ts.map +0 -1
  1002. package/dist/field/features/converters/html/converter/types.js.map +0 -1
  1003. package/dist/field/features/converters/html/feature.server.d.ts +0 -9
  1004. package/dist/field/features/converters/html/feature.server.d.ts.map +0 -1
  1005. package/dist/field/features/converters/html/feature.server.js +0 -14
  1006. package/dist/field/features/converters/html/feature.server.js.map +0 -1
  1007. package/dist/field/features/converters/html/field/index.d.ts.map +0 -1
  1008. package/dist/field/features/converters/html/field/index.js +0 -154
  1009. package/dist/field/features/converters/html/field/index.js.map +0 -1
  1010. package/dist/field/features/createClientComponent.d.ts +0 -6
  1011. package/dist/field/features/createClientComponent.d.ts.map +0 -1
  1012. package/dist/field/features/createClientComponent.js +0 -12
  1013. package/dist/field/features/createClientComponent.js.map +0 -1
  1014. package/dist/field/features/createFeaturePropComponent.d.ts.map +0 -1
  1015. package/dist/field/features/createFeaturePropComponent.js +0 -18
  1016. package/dist/field/features/createFeaturePropComponent.js.map +0 -1
  1017. package/dist/field/features/debug/testRecorder/feature.client.d.ts +0 -6
  1018. package/dist/field/features/debug/testRecorder/feature.client.d.ts.map +0 -1
  1019. package/dist/field/features/debug/testRecorder/feature.client.js +0 -20
  1020. package/dist/field/features/debug/testRecorder/feature.client.js.map +0 -1
  1021. package/dist/field/features/debug/testRecorder/feature.server.d.ts +0 -3
  1022. package/dist/field/features/debug/testRecorder/feature.server.d.ts.map +0 -1
  1023. package/dist/field/features/debug/testRecorder/feature.server.js +0 -16
  1024. package/dist/field/features/debug/testRecorder/feature.server.js.map +0 -1
  1025. package/dist/field/features/debug/testRecorder/plugin/index.d.ts +0 -5
  1026. package/dist/field/features/debug/testRecorder/plugin/index.d.ts.map +0 -1
  1027. package/dist/field/features/debug/testRecorder/plugin/index.js.map +0 -1
  1028. package/dist/field/features/debug/treeView/feature.client.d.ts +0 -6
  1029. package/dist/field/features/debug/treeView/feature.client.d.ts.map +0 -1
  1030. package/dist/field/features/debug/treeView/feature.client.js +0 -20
  1031. package/dist/field/features/debug/treeView/feature.client.js.map +0 -1
  1032. package/dist/field/features/debug/treeView/feature.server.d.ts +0 -3
  1033. package/dist/field/features/debug/treeView/feature.server.d.ts.map +0 -1
  1034. package/dist/field/features/debug/treeView/feature.server.js +0 -16
  1035. package/dist/field/features/debug/treeView/feature.server.js.map +0 -1
  1036. package/dist/field/features/debug/treeView/plugin/index.d.ts +0 -4
  1037. package/dist/field/features/debug/treeView/plugin/index.d.ts.map +0 -1
  1038. package/dist/field/features/debug/treeView/plugin/index.js.map +0 -1
  1039. package/dist/field/features/format/bold/feature.client.d.ts +0 -6
  1040. package/dist/field/features/format/bold/feature.client.d.ts.map +0 -1
  1041. package/dist/field/features/format/bold/feature.client.js +0 -51
  1042. package/dist/field/features/format/bold/feature.client.js.map +0 -1
  1043. package/dist/field/features/format/bold/feature.server.d.ts +0 -3
  1044. package/dist/field/features/format/bold/feature.server.d.ts.map +0 -1
  1045. package/dist/field/features/format/bold/feature.server.js +0 -28
  1046. package/dist/field/features/format/bold/feature.server.js.map +0 -1
  1047. package/dist/field/features/format/bold/markdownTransformers.d.ts.map +0 -1
  1048. package/dist/field/features/format/bold/markdownTransformers.js.map +0 -1
  1049. package/dist/field/features/format/inlineCode/feature.client.d.ts +0 -6
  1050. package/dist/field/features/format/inlineCode/feature.client.d.ts.map +0 -1
  1051. package/dist/field/features/format/inlineCode/feature.client.js +0 -46
  1052. package/dist/field/features/format/inlineCode/feature.client.js.map +0 -1
  1053. package/dist/field/features/format/inlineCode/feature.server.d.ts +0 -3
  1054. package/dist/field/features/format/inlineCode/feature.server.d.ts.map +0 -1
  1055. package/dist/field/features/format/inlineCode/feature.server.js +0 -20
  1056. package/dist/field/features/format/inlineCode/feature.server.js.map +0 -1
  1057. package/dist/field/features/format/inlineCode/markdownTransformers.d.ts.map +0 -1
  1058. package/dist/field/features/format/inlineCode/markdownTransformers.js.map +0 -1
  1059. package/dist/field/features/format/italic/feature.client.d.ts +0 -6
  1060. package/dist/field/features/format/italic/feature.client.d.ts.map +0 -1
  1061. package/dist/field/features/format/italic/feature.client.js +0 -47
  1062. package/dist/field/features/format/italic/feature.client.js.map +0 -1
  1063. package/dist/field/features/format/italic/feature.server.d.ts +0 -3
  1064. package/dist/field/features/format/italic/feature.server.d.ts.map +0 -1
  1065. package/dist/field/features/format/italic/feature.server.js +0 -21
  1066. package/dist/field/features/format/italic/feature.server.js.map +0 -1
  1067. package/dist/field/features/format/italic/markdownTransformers.d.ts.map +0 -1
  1068. package/dist/field/features/format/italic/markdownTransformers.js.map +0 -1
  1069. package/dist/field/features/format/shared/toolbarFormatGroup.d.ts.map +0 -1
  1070. package/dist/field/features/format/shared/toolbarFormatGroup.js.map +0 -1
  1071. package/dist/field/features/format/strikethrough/feature.client.d.ts +0 -6
  1072. package/dist/field/features/format/strikethrough/feature.client.d.ts.map +0 -1
  1073. package/dist/field/features/format/strikethrough/feature.client.js +0 -46
  1074. package/dist/field/features/format/strikethrough/feature.client.js.map +0 -1
  1075. package/dist/field/features/format/strikethrough/feature.server.d.ts +0 -3
  1076. package/dist/field/features/format/strikethrough/feature.server.d.ts.map +0 -1
  1077. package/dist/field/features/format/strikethrough/feature.server.js +0 -20
  1078. package/dist/field/features/format/strikethrough/feature.server.js.map +0 -1
  1079. package/dist/field/features/format/strikethrough/markdownTransformers.d.ts.map +0 -1
  1080. package/dist/field/features/format/strikethrough/markdownTransformers.js.map +0 -1
  1081. package/dist/field/features/format/subscript/feature.client.d.ts +0 -6
  1082. package/dist/field/features/format/subscript/feature.client.d.ts.map +0 -1
  1083. package/dist/field/features/format/subscript/feature.client.js +0 -42
  1084. package/dist/field/features/format/subscript/feature.client.js.map +0 -1
  1085. package/dist/field/features/format/subscript/feature.server.d.ts +0 -3
  1086. package/dist/field/features/format/subscript/feature.server.d.ts.map +0 -1
  1087. package/dist/field/features/format/subscript/feature.server.js +0 -16
  1088. package/dist/field/features/format/subscript/feature.server.js.map +0 -1
  1089. package/dist/field/features/format/superscript/feature.client.d.ts +0 -6
  1090. package/dist/field/features/format/superscript/feature.client.d.ts.map +0 -1
  1091. package/dist/field/features/format/superscript/feature.client.js +0 -42
  1092. package/dist/field/features/format/superscript/feature.client.js.map +0 -1
  1093. package/dist/field/features/format/superscript/feature.server.d.ts +0 -3
  1094. package/dist/field/features/format/superscript/feature.server.d.ts.map +0 -1
  1095. package/dist/field/features/format/superscript/feature.server.js +0 -16
  1096. package/dist/field/features/format/superscript/feature.server.js.map +0 -1
  1097. package/dist/field/features/format/underline/feature.client.d.ts +0 -6
  1098. package/dist/field/features/format/underline/feature.client.d.ts.map +0 -1
  1099. package/dist/field/features/format/underline/feature.client.js +0 -42
  1100. package/dist/field/features/format/underline/feature.client.js.map +0 -1
  1101. package/dist/field/features/format/underline/feature.server.d.ts +0 -3
  1102. package/dist/field/features/format/underline/feature.server.d.ts.map +0 -1
  1103. package/dist/field/features/format/underline/feature.server.js +0 -16
  1104. package/dist/field/features/format/underline/feature.server.js.map +0 -1
  1105. package/dist/field/features/heading/feature.client.d.ts +0 -7
  1106. package/dist/field/features/heading/feature.client.d.ts.map +0 -1
  1107. package/dist/field/features/heading/feature.client.js +0 -118
  1108. package/dist/field/features/heading/feature.client.js.map +0 -1
  1109. package/dist/field/features/heading/feature.server.d.ts +0 -7
  1110. package/dist/field/features/heading/feature.server.d.ts.map +0 -1
  1111. package/dist/field/features/heading/feature.server.js +0 -61
  1112. package/dist/field/features/heading/feature.server.js.map +0 -1
  1113. package/dist/field/features/heading/i18n.d.ts.map +0 -1
  1114. package/dist/field/features/heading/i18n.js.map +0 -1
  1115. package/dist/field/features/heading/markdownTransformer.d.ts.map +0 -1
  1116. package/dist/field/features/heading/markdownTransformer.js.map +0 -1
  1117. package/dist/field/features/horizontalRule/component/index.d.ts.map +0 -1
  1118. package/dist/field/features/horizontalRule/component/index.js.map +0 -1
  1119. package/dist/field/features/horizontalRule/feature.client.d.ts +0 -6
  1120. package/dist/field/features/horizontalRule/feature.client.d.ts.map +0 -1
  1121. package/dist/field/features/horizontalRule/feature.client.js +0 -77
  1122. package/dist/field/features/horizontalRule/feature.client.js.map +0 -1
  1123. package/dist/field/features/horizontalRule/feature.server.d.ts +0 -3
  1124. package/dist/field/features/horizontalRule/feature.server.d.ts.map +0 -1
  1125. package/dist/field/features/horizontalRule/feature.server.js +0 -39
  1126. package/dist/field/features/horizontalRule/feature.server.js.map +0 -1
  1127. package/dist/field/features/horizontalRule/i18n.d.ts.map +0 -1
  1128. package/dist/field/features/horizontalRule/i18n.js.map +0 -1
  1129. package/dist/field/features/horizontalRule/markdownTransformer.d.ts.map +0 -1
  1130. package/dist/field/features/horizontalRule/markdownTransformer.js.map +0 -1
  1131. package/dist/field/features/horizontalRule/nodes/HorizontalRuleNode.d.ts.map +0 -1
  1132. package/dist/field/features/horizontalRule/nodes/HorizontalRuleNode.js.map +0 -1
  1133. package/dist/field/features/horizontalRule/plugin/index.d.ts +0 -7
  1134. package/dist/field/features/horizontalRule/plugin/index.d.ts.map +0 -1
  1135. package/dist/field/features/horizontalRule/plugin/index.js.map +0 -1
  1136. package/dist/field/features/indent/feature.client.d.ts +0 -6
  1137. package/dist/field/features/indent/feature.client.d.ts.map +0 -1
  1138. package/dist/field/features/indent/feature.client.js +0 -63
  1139. package/dist/field/features/indent/feature.client.js.map +0 -1
  1140. package/dist/field/features/indent/feature.server.d.ts +0 -3
  1141. package/dist/field/features/indent/feature.server.d.ts.map +0 -1
  1142. package/dist/field/features/indent/feature.server.js +0 -19
  1143. package/dist/field/features/indent/feature.server.js.map +0 -1
  1144. package/dist/field/features/indent/i18n.d.ts.map +0 -1
  1145. package/dist/field/features/indent/i18n.js.map +0 -1
  1146. package/dist/field/features/indent/toolbarIndentGroup.d.ts.map +0 -1
  1147. package/dist/field/features/indent/toolbarIndentGroup.js.map +0 -1
  1148. package/dist/field/features/link/drawer/baseFields.d.ts +0 -3
  1149. package/dist/field/features/link/drawer/baseFields.d.ts.map +0 -1
  1150. package/dist/field/features/link/drawer/baseFields.js.map +0 -1
  1151. package/dist/field/features/link/drawer/index.d.ts.map +0 -1
  1152. package/dist/field/features/link/drawer/index.js +0 -94
  1153. package/dist/field/features/link/drawer/index.js.map +0 -1
  1154. package/dist/field/features/link/drawer/types.d.ts.map +0 -1
  1155. package/dist/field/features/link/drawer/types.js.map +0 -1
  1156. package/dist/field/features/link/feature.client.d.ts +0 -17
  1157. package/dist/field/features/link/feature.client.d.ts.map +0 -1
  1158. package/dist/field/features/link/feature.client.js +0 -108
  1159. package/dist/field/features/link/feature.client.js.map +0 -1
  1160. package/dist/field/features/link/feature.server.d.ts +0 -37
  1161. package/dist/field/features/link/feature.server.d.ts.map +0 -1
  1162. package/dist/field/features/link/feature.server.js +0 -140
  1163. package/dist/field/features/link/feature.server.js.map +0 -1
  1164. package/dist/field/features/link/graphQLPopulationPromise.d.ts +0 -5
  1165. package/dist/field/features/link/graphQLPopulationPromise.d.ts.map +0 -1
  1166. package/dist/field/features/link/graphQLPopulationPromise.js +0 -31
  1167. package/dist/field/features/link/graphQLPopulationPromise.js.map +0 -1
  1168. package/dist/field/features/link/i18n.d.ts.map +0 -1
  1169. package/dist/field/features/link/i18n.js.map +0 -1
  1170. package/dist/field/features/link/markdownTransformer.d.ts.map +0 -1
  1171. package/dist/field/features/link/markdownTransformer.js.map +0 -1
  1172. package/dist/field/features/link/nodes/AutoLinkNode.d.ts.map +0 -1
  1173. package/dist/field/features/link/nodes/AutoLinkNode.js.map +0 -1
  1174. package/dist/field/features/link/nodes/LinkNode.d.ts.map +0 -1
  1175. package/dist/field/features/link/nodes/LinkNode.js.map +0 -1
  1176. package/dist/field/features/link/nodes/types.d.ts.map +0 -1
  1177. package/dist/field/features/link/nodes/types.js.map +0 -1
  1178. package/dist/field/features/link/plugins/autoLink/index.d.ts +0 -20
  1179. package/dist/field/features/link/plugins/autoLink/index.d.ts.map +0 -1
  1180. package/dist/field/features/link/plugins/autoLink/index.js.map +0 -1
  1181. package/dist/field/features/link/plugins/clickableLink/index.d.ts +0 -4
  1182. package/dist/field/features/link/plugins/clickableLink/index.d.ts.map +0 -1
  1183. package/dist/field/features/link/plugins/clickableLink/index.js.map +0 -1
  1184. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +0 -1
  1185. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +0 -1
  1186. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +0 -1
  1187. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +0 -295
  1188. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +0 -1
  1189. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts +0 -5
  1190. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts.map +0 -1
  1191. package/dist/field/features/link/plugins/floatingLinkEditor/index.js.map +0 -1
  1192. package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts.map +0 -1
  1193. package/dist/field/features/link/plugins/floatingLinkEditor/types.js.map +0 -1
  1194. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts +0 -9
  1195. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +0 -1
  1196. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js.map +0 -1
  1197. package/dist/field/features/link/plugins/link/index.d.ts +0 -4
  1198. package/dist/field/features/link/plugins/link/index.d.ts.map +0 -1
  1199. package/dist/field/features/link/plugins/link/index.js.map +0 -1
  1200. package/dist/field/features/link/validate.d.ts +0 -6
  1201. package/dist/field/features/link/validate.d.ts.map +0 -1
  1202. package/dist/field/features/link/validate.js.map +0 -1
  1203. package/dist/field/features/lists/checklist/feature.client.d.ts +0 -6
  1204. package/dist/field/features/lists/checklist/feature.client.d.ts.map +0 -1
  1205. package/dist/field/features/lists/checklist/feature.client.js +0 -107
  1206. package/dist/field/features/lists/checklist/feature.client.js.map +0 -1
  1207. package/dist/field/features/lists/checklist/feature.server.d.ts +0 -3
  1208. package/dist/field/features/lists/checklist/feature.server.d.ts.map +0 -1
  1209. package/dist/field/features/lists/checklist/feature.server.js +0 -39
  1210. package/dist/field/features/lists/checklist/feature.server.js.map +0 -1
  1211. package/dist/field/features/lists/checklist/i18n.d.ts.map +0 -1
  1212. package/dist/field/features/lists/checklist/i18n.js.map +0 -1
  1213. package/dist/field/features/lists/checklist/markdownTransformers.d.ts.map +0 -1
  1214. package/dist/field/features/lists/checklist/markdownTransformers.js.map +0 -1
  1215. package/dist/field/features/lists/checklist/plugin/index.d.ts +0 -3
  1216. package/dist/field/features/lists/checklist/plugin/index.d.ts.map +0 -1
  1217. package/dist/field/features/lists/checklist/plugin/index.js.map +0 -1
  1218. package/dist/field/features/lists/htmlConverter.d.ts.map +0 -1
  1219. package/dist/field/features/lists/htmlConverter.js +0 -56
  1220. package/dist/field/features/lists/htmlConverter.js.map +0 -1
  1221. package/dist/field/features/lists/orderedList/feature.client.d.ts +0 -6
  1222. package/dist/field/features/lists/orderedList/feature.client.d.ts.map +0 -1
  1223. package/dist/field/features/lists/orderedList/feature.client.js +0 -97
  1224. package/dist/field/features/lists/orderedList/feature.client.js.map +0 -1
  1225. package/dist/field/features/lists/orderedList/feature.server.d.ts +0 -3
  1226. package/dist/field/features/lists/orderedList/feature.server.d.ts.map +0 -1
  1227. package/dist/field/features/lists/orderedList/feature.server.js +0 -39
  1228. package/dist/field/features/lists/orderedList/feature.server.js.map +0 -1
  1229. package/dist/field/features/lists/orderedList/i18n.d.ts.map +0 -1
  1230. package/dist/field/features/lists/orderedList/i18n.js.map +0 -1
  1231. package/dist/field/features/lists/orderedList/markdownTransformer.d.ts.map +0 -1
  1232. package/dist/field/features/lists/orderedList/markdownTransformer.js.map +0 -1
  1233. package/dist/field/features/lists/plugin/index.d.ts +0 -3
  1234. package/dist/field/features/lists/plugin/index.d.ts.map +0 -1
  1235. package/dist/field/features/lists/plugin/index.js.map +0 -1
  1236. package/dist/field/features/lists/shared/markdown.d.ts +0 -6
  1237. package/dist/field/features/lists/shared/markdown.d.ts.map +0 -1
  1238. package/dist/field/features/lists/shared/markdown.js.map +0 -1
  1239. package/dist/field/features/lists/shared/slashMenuListGroup.d.ts.map +0 -1
  1240. package/dist/field/features/lists/shared/slashMenuListGroup.js.map +0 -1
  1241. package/dist/field/features/lists/unorderedList/feature.client.d.ts +0 -6
  1242. package/dist/field/features/lists/unorderedList/feature.client.d.ts.map +0 -1
  1243. package/dist/field/features/lists/unorderedList/feature.client.js +0 -97
  1244. package/dist/field/features/lists/unorderedList/feature.client.js.map +0 -1
  1245. package/dist/field/features/lists/unorderedList/feature.server.d.ts +0 -3
  1246. package/dist/field/features/lists/unorderedList/feature.server.d.ts.map +0 -1
  1247. package/dist/field/features/lists/unorderedList/feature.server.js +0 -39
  1248. package/dist/field/features/lists/unorderedList/feature.server.js.map +0 -1
  1249. package/dist/field/features/lists/unorderedList/i18n.d.ts.map +0 -1
  1250. package/dist/field/features/lists/unorderedList/i18n.js.map +0 -1
  1251. package/dist/field/features/lists/unorderedList/markdownTransformer.d.ts.map +0 -1
  1252. package/dist/field/features/lists/unorderedList/markdownTransformer.js.map +0 -1
  1253. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +0 -6
  1254. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1255. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +0 -1
  1256. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1257. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +0 -1
  1258. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1259. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +0 -8
  1260. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +0 -1
  1261. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +0 -6
  1262. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +0 -1
  1263. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +0 -1
  1264. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1265. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +0 -1
  1266. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +0 -1
  1267. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js +0 -8
  1268. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +0 -1
  1269. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +0 -6
  1270. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +0 -1
  1271. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +0 -1
  1272. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +0 -1
  1273. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +0 -1
  1274. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +0 -1
  1275. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js +0 -8
  1276. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +0 -1
  1277. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +0 -6
  1278. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1279. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +0 -1
  1280. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1281. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +0 -1
  1282. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1283. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +0 -8
  1284. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +0 -1
  1285. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +0 -6
  1286. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +0 -1
  1287. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +0 -1
  1288. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +0 -1
  1289. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +0 -1
  1290. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +0 -1
  1291. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +0 -8
  1292. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +0 -1
  1293. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +0 -6
  1294. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1295. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +0 -1
  1296. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1297. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +0 -1
  1298. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1299. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +0 -8
  1300. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +0 -1
  1301. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +0 -6
  1302. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1303. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +0 -1
  1304. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1305. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +0 -1
  1306. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1307. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +0 -8
  1308. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +0 -1
  1309. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +0 -1
  1310. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +0 -1
  1311. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +0 -1
  1312. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.js.map +0 -1
  1313. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts +0 -31
  1314. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +0 -1
  1315. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.js.map +0 -1
  1316. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts +0 -6
  1317. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +0 -1
  1318. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js +0 -34
  1319. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js.map +0 -1
  1320. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts +0 -9
  1321. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +0 -1
  1322. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js +0 -48
  1323. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js.map +0 -1
  1324. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1325. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1326. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1327. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1328. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +0 -6
  1329. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +0 -1
  1330. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +0 -1
  1331. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +0 -1
  1332. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +0 -1
  1333. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +0 -1
  1334. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js +0 -8
  1335. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +0 -1
  1336. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts +0 -6
  1337. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1338. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.js.map +0 -1
  1339. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1340. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +0 -1
  1341. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1342. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js +0 -8
  1343. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js.map +0 -1
  1344. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts +0 -6
  1345. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +0 -1
  1346. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.js.map +0 -1
  1347. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +0 -1
  1348. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +0 -1
  1349. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +0 -1
  1350. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js +0 -8
  1351. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js.map +0 -1
  1352. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts +0 -6
  1353. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +0 -1
  1354. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.js.map +0 -1
  1355. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1356. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.js.map +0 -1
  1357. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +0 -1
  1358. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js +0 -8
  1359. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js.map +0 -1
  1360. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts +0 -6
  1361. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1362. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +0 -1
  1363. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1364. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +0 -1
  1365. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1366. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js +0 -8
  1367. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +0 -1
  1368. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +0 -6
  1369. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +0 -1
  1370. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +0 -1
  1371. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +0 -1
  1372. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +0 -1
  1373. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +0 -1
  1374. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js +0 -8
  1375. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +0 -1
  1376. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts +0 -6
  1377. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +0 -1
  1378. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +0 -1
  1379. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +0 -1
  1380. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +0 -1
  1381. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +0 -1
  1382. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js +0 -8
  1383. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +0 -1
  1384. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts +0 -6
  1385. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1386. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +0 -1
  1387. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1388. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +0 -1
  1389. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1390. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js +0 -8
  1391. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +0 -1
  1392. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +0 -6
  1393. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +0 -1
  1394. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +0 -1
  1395. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +0 -1
  1396. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +0 -1
  1397. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +0 -1
  1398. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js +0 -8
  1399. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +0 -1
  1400. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts +0 -6
  1401. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1402. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.js.map +0 -1
  1403. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1404. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +0 -1
  1405. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1406. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js +0 -8
  1407. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js.map +0 -1
  1408. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +0 -1
  1409. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.js.map +0 -1
  1410. package/dist/field/features/migrations/slateToLexical/converter/index.d.ts.map +0 -1
  1411. package/dist/field/features/migrations/slateToLexical/converter/index.js.map +0 -1
  1412. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts +0 -25
  1413. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts.map +0 -1
  1414. package/dist/field/features/migrations/slateToLexical/converter/types.js.map +0 -1
  1415. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts +0 -6
  1416. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts.map +0 -1
  1417. package/dist/field/features/migrations/slateToLexical/feature.client.js +0 -34
  1418. package/dist/field/features/migrations/slateToLexical/feature.client.js.map +0 -1
  1419. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts +0 -9
  1420. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts.map +0 -1
  1421. package/dist/field/features/migrations/slateToLexical/feature.server.js +0 -48
  1422. package/dist/field/features/migrations/slateToLexical/feature.server.js.map +0 -1
  1423. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1424. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1425. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1426. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1427. package/dist/field/features/paragraph/feature.client.d.ts +0 -6
  1428. package/dist/field/features/paragraph/feature.client.d.ts.map +0 -1
  1429. package/dist/field/features/paragraph/feature.client.js +0 -78
  1430. package/dist/field/features/paragraph/feature.client.js.map +0 -1
  1431. package/dist/field/features/paragraph/feature.server.d.ts +0 -3
  1432. package/dist/field/features/paragraph/feature.server.d.ts.map +0 -1
  1433. package/dist/field/features/paragraph/feature.server.js +0 -19
  1434. package/dist/field/features/paragraph/feature.server.js.map +0 -1
  1435. package/dist/field/features/paragraph/i18n.d.ts.map +0 -1
  1436. package/dist/field/features/paragraph/i18n.js.map +0 -1
  1437. package/dist/field/features/relationship/drawer/commands.d.ts.map +0 -1
  1438. package/dist/field/features/relationship/drawer/commands.js.map +0 -1
  1439. package/dist/field/features/relationship/drawer/index.d.ts.map +0 -1
  1440. package/dist/field/features/relationship/drawer/index.js +0 -83
  1441. package/dist/field/features/relationship/drawer/index.js.map +0 -1
  1442. package/dist/field/features/relationship/feature.client.d.ts +0 -19
  1443. package/dist/field/features/relationship/feature.client.d.ts.map +0 -1
  1444. package/dist/field/features/relationship/feature.client.js +0 -79
  1445. package/dist/field/features/relationship/feature.client.js.map +0 -1
  1446. package/dist/field/features/relationship/feature.server.d.ts +0 -27
  1447. package/dist/field/features/relationship/feature.server.d.ts.map +0 -1
  1448. package/dist/field/features/relationship/feature.server.js +0 -61
  1449. package/dist/field/features/relationship/feature.server.js.map +0 -1
  1450. package/dist/field/features/relationship/graphQLPopulationPromise.d.ts +0 -5
  1451. package/dist/field/features/relationship/graphQLPopulationPromise.d.ts.map +0 -1
  1452. package/dist/field/features/relationship/graphQLPopulationPromise.js +0 -29
  1453. package/dist/field/features/relationship/graphQLPopulationPromise.js.map +0 -1
  1454. package/dist/field/features/relationship/i18n.d.ts.map +0 -1
  1455. package/dist/field/features/relationship/i18n.js.map +0 -1
  1456. package/dist/field/features/relationship/nodes/RelationshipNode.d.ts.map +0 -1
  1457. package/dist/field/features/relationship/nodes/RelationshipNode.js.map +0 -1
  1458. package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts.map +0 -1
  1459. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js +0 -172
  1460. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js.map +0 -1
  1461. package/dist/field/features/relationship/plugins/index.d.ts +0 -7
  1462. package/dist/field/features/relationship/plugins/index.d.ts.map +0 -1
  1463. package/dist/field/features/relationship/plugins/index.js +0 -50
  1464. package/dist/field/features/relationship/plugins/index.js.map +0 -1
  1465. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +0 -1
  1466. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js +0 -33
  1467. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js.map +0 -1
  1468. package/dist/field/features/shared/slashMenu/basicGroup.d.ts.map +0 -1
  1469. package/dist/field/features/shared/slashMenu/basicGroup.js.map +0 -1
  1470. package/dist/field/features/shared/toolbar/addDropdownGroup.d.ts.map +0 -1
  1471. package/dist/field/features/shared/toolbar/addDropdownGroup.js.map +0 -1
  1472. package/dist/field/features/shared/toolbar/featureButtonsGroup.d.ts.map +0 -1
  1473. package/dist/field/features/shared/toolbar/featureButtonsGroup.js.map +0 -1
  1474. package/dist/field/features/shared/toolbar/textDropdownGroup.d.ts.map +0 -1
  1475. package/dist/field/features/shared/toolbar/textDropdownGroup.js.map +0 -1
  1476. package/dist/field/features/toolbars/fixed/Toolbar/index.d.ts +0 -5
  1477. package/dist/field/features/toolbars/fixed/Toolbar/index.d.ts.map +0 -1
  1478. package/dist/field/features/toolbars/fixed/Toolbar/index.js +0 -207
  1479. package/dist/field/features/toolbars/fixed/Toolbar/index.js.map +0 -1
  1480. package/dist/field/features/toolbars/fixed/feature.client.d.ts +0 -7
  1481. package/dist/field/features/toolbars/fixed/feature.client.d.ts.map +0 -1
  1482. package/dist/field/features/toolbars/fixed/feature.client.js +0 -20
  1483. package/dist/field/features/toolbars/fixed/feature.client.js.map +0 -1
  1484. package/dist/field/features/toolbars/fixed/feature.server.d.ts +0 -19
  1485. package/dist/field/features/toolbars/fixed/feature.server.d.ts.map +0 -1
  1486. package/dist/field/features/toolbars/fixed/feature.server.js +0 -21
  1487. package/dist/field/features/toolbars/fixed/feature.server.js.map +0 -1
  1488. package/dist/field/features/toolbars/inline/Toolbar/index.d.ts +0 -4
  1489. package/dist/field/features/toolbars/inline/Toolbar/index.d.ts.map +0 -1
  1490. package/dist/field/features/toolbars/inline/Toolbar/index.js.map +0 -1
  1491. package/dist/field/features/toolbars/inline/feature.client.d.ts +0 -6
  1492. package/dist/field/features/toolbars/inline/feature.client.d.ts.map +0 -1
  1493. package/dist/field/features/toolbars/inline/feature.client.js +0 -20
  1494. package/dist/field/features/toolbars/inline/feature.client.js.map +0 -1
  1495. package/dist/field/features/toolbars/inline/feature.server.d.ts +0 -3
  1496. package/dist/field/features/toolbars/inline/feature.server.d.ts.map +0 -1
  1497. package/dist/field/features/toolbars/inline/feature.server.js +0 -16
  1498. package/dist/field/features/toolbars/inline/feature.server.js.map +0 -1
  1499. package/dist/field/features/toolbars/shared/ToolbarButton/index.d.ts.map +0 -1
  1500. package/dist/field/features/toolbars/shared/ToolbarButton/index.js.map +0 -1
  1501. package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +0 -1
  1502. package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +0 -1
  1503. package/dist/field/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +0 -1
  1504. package/dist/field/features/toolbars/shared/ToolbarDropdown/index.js +0 -141
  1505. package/dist/field/features/toolbars/shared/ToolbarDropdown/index.js.map +0 -1
  1506. package/dist/field/features/toolbars/types.d.ts +0 -48
  1507. package/dist/field/features/toolbars/types.d.ts.map +0 -1
  1508. package/dist/field/features/toolbars/types.js.map +0 -1
  1509. package/dist/field/features/typeUtilities.d.ts +0 -8
  1510. package/dist/field/features/typeUtilities.d.ts.map +0 -1
  1511. package/dist/field/features/typeUtilities.js.map +0 -1
  1512. package/dist/field/features/types.d.ts +0 -468
  1513. package/dist/field/features/types.d.ts.map +0 -1
  1514. package/dist/field/features/types.js.map +0 -1
  1515. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +0 -1
  1516. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js +0 -123
  1517. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js.map +0 -1
  1518. package/dist/field/features/upload/component/index.d.ts.map +0 -1
  1519. package/dist/field/features/upload/component/index.js +0 -219
  1520. package/dist/field/features/upload/component/index.js.map +0 -1
  1521. package/dist/field/features/upload/drawer/commands.d.ts.map +0 -1
  1522. package/dist/field/features/upload/drawer/commands.js.map +0 -1
  1523. package/dist/field/features/upload/drawer/index.d.ts.map +0 -1
  1524. package/dist/field/features/upload/drawer/index.js +0 -77
  1525. package/dist/field/features/upload/drawer/index.js.map +0 -1
  1526. package/dist/field/features/upload/feature.client.d.ts +0 -13
  1527. package/dist/field/features/upload/feature.client.d.ts.map +0 -1
  1528. package/dist/field/features/upload/feature.client.js +0 -81
  1529. package/dist/field/features/upload/feature.client.js.map +0 -1
  1530. package/dist/field/features/upload/feature.server.d.ts +0 -19
  1531. package/dist/field/features/upload/feature.server.d.ts.map +0 -1
  1532. package/dist/field/features/upload/feature.server.js +0 -188
  1533. package/dist/field/features/upload/feature.server.js.map +0 -1
  1534. package/dist/field/features/upload/graphQLPopulationPromise.d.ts +0 -5
  1535. package/dist/field/features/upload/graphQLPopulationPromise.d.ts.map +0 -1
  1536. package/dist/field/features/upload/graphQLPopulationPromise.js +0 -52
  1537. package/dist/field/features/upload/graphQLPopulationPromise.js.map +0 -1
  1538. package/dist/field/features/upload/i18n.d.ts.map +0 -1
  1539. package/dist/field/features/upload/i18n.js.map +0 -1
  1540. package/dist/field/features/upload/nodes/UploadNode.d.ts.map +0 -1
  1541. package/dist/field/features/upload/nodes/UploadNode.js.map +0 -1
  1542. package/dist/field/features/upload/plugin/index.d.ts +0 -8
  1543. package/dist/field/features/upload/plugin/index.d.ts.map +0 -1
  1544. package/dist/field/features/upload/plugin/index.js +0 -53
  1545. package/dist/field/features/upload/plugin/index.js.map +0 -1
  1546. package/dist/field/features/upload/validate.d.ts +0 -5
  1547. package/dist/field/features/upload/validate.d.ts.map +0 -1
  1548. package/dist/field/features/upload/validate.js.map +0 -1
  1549. package/dist/field/lexical/EditorPlugin.d.ts +0 -8
  1550. package/dist/field/lexical/EditorPlugin.d.ts.map +0 -1
  1551. package/dist/field/lexical/EditorPlugin.js +0 -15
  1552. package/dist/field/lexical/EditorPlugin.js.map +0 -1
  1553. package/dist/field/lexical/LexicalEditor.d.ts.map +0 -1
  1554. package/dist/field/lexical/LexicalEditor.js +0 -192
  1555. package/dist/field/lexical/LexicalEditor.js.map +0 -1
  1556. package/dist/field/lexical/LexicalProvider.d.ts +0 -18
  1557. package/dist/field/lexical/LexicalProvider.d.ts.map +0 -1
  1558. package/dist/field/lexical/LexicalProvider.js.map +0 -1
  1559. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts +0 -35
  1560. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts.map +0 -1
  1561. package/dist/field/lexical/config/client/EditorConfigProvider.js.map +0 -1
  1562. package/dist/field/lexical/config/client/default.d.ts.map +0 -1
  1563. package/dist/field/lexical/config/client/default.js.map +0 -1
  1564. package/dist/field/lexical/config/client/loader.d.ts +0 -12
  1565. package/dist/field/lexical/config/client/loader.d.ts.map +0 -1
  1566. package/dist/field/lexical/config/client/loader.js +0 -46
  1567. package/dist/field/lexical/config/client/loader.js.map +0 -1
  1568. package/dist/field/lexical/config/client/sanitize.d.ts +0 -7
  1569. package/dist/field/lexical/config/client/sanitize.d.ts.map +0 -1
  1570. package/dist/field/lexical/config/client/sanitize.js +0 -176
  1571. package/dist/field/lexical/config/client/sanitize.js.map +0 -1
  1572. package/dist/field/lexical/config/server/default.d.ts +0 -7
  1573. package/dist/field/lexical/config/server/default.d.ts.map +0 -1
  1574. package/dist/field/lexical/config/server/default.js.map +0 -1
  1575. package/dist/field/lexical/config/server/loader.d.ts +0 -10
  1576. package/dist/field/lexical/config/server/loader.d.ts.map +0 -1
  1577. package/dist/field/lexical/config/server/loader.js +0 -120
  1578. package/dist/field/lexical/config/server/loader.js.map +0 -1
  1579. package/dist/field/lexical/config/server/sanitize.d.ts +0 -6
  1580. package/dist/field/lexical/config/server/sanitize.d.ts.map +0 -1
  1581. package/dist/field/lexical/config/server/sanitize.js.map +0 -1
  1582. package/dist/field/lexical/config/types.d.ts +0 -23
  1583. package/dist/field/lexical/config/types.d.ts.map +0 -1
  1584. package/dist/field/lexical/config/types.js.map +0 -1
  1585. package/dist/field/lexical/nodes/index.d.ts.map +0 -1
  1586. package/dist/field/lexical/nodes/index.js.map +0 -1
  1587. package/dist/field/lexical/plugins/MarkdownShortcut/index.d.ts.map +0 -1
  1588. package/dist/field/lexical/plugins/MarkdownShortcut/index.js.map +0 -1
  1589. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +0 -1
  1590. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +0 -1
  1591. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +0 -1
  1592. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +0 -1
  1593. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +0 -31
  1594. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +0 -1
  1595. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js +0 -3
  1596. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +0 -1
  1597. package/dist/field/lexical/plugins/SlashMenu/index.d.ts.map +0 -1
  1598. package/dist/field/lexical/plugins/SlashMenu/index.js +0 -187
  1599. package/dist/field/lexical/plugins/SlashMenu/index.js.map +0 -1
  1600. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +0 -1
  1601. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +0 -1
  1602. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +0 -1
  1603. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +0 -1
  1604. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +0 -1
  1605. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +0 -1
  1606. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +0 -1
  1607. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +0 -1
  1608. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +0 -1
  1609. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +0 -1
  1610. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +0 -1
  1611. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +0 -1
  1612. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +0 -10
  1613. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +0 -1
  1614. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +0 -1
  1615. package/dist/field/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts.map +0 -1
  1616. package/dist/field/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js.map +0 -1
  1617. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +0 -1
  1618. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +0 -1
  1619. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +0 -1
  1620. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.js.map +0 -1
  1621. package/dist/field/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts.map +0 -1
  1622. package/dist/field/lexical/plugins/handles/utils/getNodeCloseToPoint.js.map +0 -1
  1623. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +0 -1
  1624. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +0 -1
  1625. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +0 -1
  1626. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.js.map +0 -1
  1627. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +0 -1
  1628. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.js.map +0 -1
  1629. package/dist/field/lexical/theme/EditorTheme.d.ts.map +0 -1
  1630. package/dist/field/lexical/theme/EditorTheme.js.map +0 -1
  1631. package/dist/field/lexical/ui/ContentEditable.d.ts.map +0 -1
  1632. package/dist/field/lexical/ui/ContentEditable.js.map +0 -1
  1633. package/dist/field/lexical/ui/icons/AI/index.d.ts.map +0 -1
  1634. package/dist/field/lexical/ui/icons/AI/index.js.map +0 -1
  1635. package/dist/field/lexical/ui/icons/Add/index.d.ts.map +0 -1
  1636. package/dist/field/lexical/ui/icons/Add/index.js.map +0 -1
  1637. package/dist/field/lexical/ui/icons/AlignCenter/index.d.ts.map +0 -1
  1638. package/dist/field/lexical/ui/icons/AlignCenter/index.js.map +0 -1
  1639. package/dist/field/lexical/ui/icons/AlignJustify/index.d.ts.map +0 -1
  1640. package/dist/field/lexical/ui/icons/AlignJustify/index.js.map +0 -1
  1641. package/dist/field/lexical/ui/icons/AlignLeft/index.d.ts.map +0 -1
  1642. package/dist/field/lexical/ui/icons/AlignLeft/index.js.map +0 -1
  1643. package/dist/field/lexical/ui/icons/AlignRight/index.d.ts.map +0 -1
  1644. package/dist/field/lexical/ui/icons/AlignRight/index.js.map +0 -1
  1645. package/dist/field/lexical/ui/icons/Block/index.d.ts.map +0 -1
  1646. package/dist/field/lexical/ui/icons/Block/index.js.map +0 -1
  1647. package/dist/field/lexical/ui/icons/Blockquote/index.d.ts.map +0 -1
  1648. package/dist/field/lexical/ui/icons/Blockquote/index.js.map +0 -1
  1649. package/dist/field/lexical/ui/icons/Bold/index.d.ts.map +0 -1
  1650. package/dist/field/lexical/ui/icons/Bold/index.js.map +0 -1
  1651. package/dist/field/lexical/ui/icons/Checklist/index.d.ts.map +0 -1
  1652. package/dist/field/lexical/ui/icons/Checklist/index.js.map +0 -1
  1653. package/dist/field/lexical/ui/icons/Code/index.d.ts.map +0 -1
  1654. package/dist/field/lexical/ui/icons/Code/index.js.map +0 -1
  1655. package/dist/field/lexical/ui/icons/CodeBlock/index.d.ts.map +0 -1
  1656. package/dist/field/lexical/ui/icons/CodeBlock/index.js.map +0 -1
  1657. package/dist/field/lexical/ui/icons/H1/index.d.ts.map +0 -1
  1658. package/dist/field/lexical/ui/icons/H1/index.js.map +0 -1
  1659. package/dist/field/lexical/ui/icons/H2/index.d.ts.map +0 -1
  1660. package/dist/field/lexical/ui/icons/H2/index.js.map +0 -1
  1661. package/dist/field/lexical/ui/icons/H3/index.d.ts.map +0 -1
  1662. package/dist/field/lexical/ui/icons/H3/index.js.map +0 -1
  1663. package/dist/field/lexical/ui/icons/H4/index.d.ts.map +0 -1
  1664. package/dist/field/lexical/ui/icons/H4/index.js.map +0 -1
  1665. package/dist/field/lexical/ui/icons/H5/index.d.ts.map +0 -1
  1666. package/dist/field/lexical/ui/icons/H5/index.js.map +0 -1
  1667. package/dist/field/lexical/ui/icons/H6/index.d.ts.map +0 -1
  1668. package/dist/field/lexical/ui/icons/H6/index.js.map +0 -1
  1669. package/dist/field/lexical/ui/icons/HorizontalRule/index.d.ts.map +0 -1
  1670. package/dist/field/lexical/ui/icons/HorizontalRule/index.js.map +0 -1
  1671. package/dist/field/lexical/ui/icons/IndentDecrease/index.d.ts.map +0 -1
  1672. package/dist/field/lexical/ui/icons/IndentDecrease/index.js.map +0 -1
  1673. package/dist/field/lexical/ui/icons/IndentIncrease/index.d.ts.map +0 -1
  1674. package/dist/field/lexical/ui/icons/IndentIncrease/index.js.map +0 -1
  1675. package/dist/field/lexical/ui/icons/Italic/index.d.ts.map +0 -1
  1676. package/dist/field/lexical/ui/icons/Italic/index.js.map +0 -1
  1677. package/dist/field/lexical/ui/icons/Link/index.d.ts.map +0 -1
  1678. package/dist/field/lexical/ui/icons/Link/index.js.map +0 -1
  1679. package/dist/field/lexical/ui/icons/OrderedList/index.d.ts.map +0 -1
  1680. package/dist/field/lexical/ui/icons/OrderedList/index.js.map +0 -1
  1681. package/dist/field/lexical/ui/icons/Relationship/index.d.ts.map +0 -1
  1682. package/dist/field/lexical/ui/icons/Relationship/index.js.map +0 -1
  1683. package/dist/field/lexical/ui/icons/Strikethrough/index.d.ts.map +0 -1
  1684. package/dist/field/lexical/ui/icons/Strikethrough/index.js.map +0 -1
  1685. package/dist/field/lexical/ui/icons/Subscript/index.d.ts.map +0 -1
  1686. package/dist/field/lexical/ui/icons/Subscript/index.js.map +0 -1
  1687. package/dist/field/lexical/ui/icons/Superscript/index.d.ts.map +0 -1
  1688. package/dist/field/lexical/ui/icons/Superscript/index.js.map +0 -1
  1689. package/dist/field/lexical/ui/icons/Text/index.d.ts.map +0 -1
  1690. package/dist/field/lexical/ui/icons/Text/index.js.map +0 -1
  1691. package/dist/field/lexical/ui/icons/Underline/index.d.ts.map +0 -1
  1692. package/dist/field/lexical/ui/icons/Underline/index.js.map +0 -1
  1693. package/dist/field/lexical/ui/icons/UnorderedList/index.d.ts.map +0 -1
  1694. package/dist/field/lexical/ui/icons/UnorderedList/index.js.map +0 -1
  1695. package/dist/field/lexical/ui/icons/Upload/index.d.ts.map +0 -1
  1696. package/dist/field/lexical/ui/icons/Upload/index.js.map +0 -1
  1697. package/dist/field/lexical/utils/canUseDOM.d.ts.map +0 -1
  1698. package/dist/field/lexical/utils/canUseDOM.js.map +0 -1
  1699. package/dist/field/lexical/utils/cloneDeep.d.ts.map +0 -1
  1700. package/dist/field/lexical/utils/cloneDeep.js +0 -50
  1701. package/dist/field/lexical/utils/cloneDeep.js.map +0 -1
  1702. package/dist/field/lexical/utils/environment.d.ts.map +0 -1
  1703. package/dist/field/lexical/utils/environment.js.map +0 -1
  1704. package/dist/field/lexical/utils/getDOMRangeRect.d.ts.map +0 -1
  1705. package/dist/field/lexical/utils/getDOMRangeRect.js.map +0 -1
  1706. package/dist/field/lexical/utils/getSelectedNode.d.ts.map +0 -1
  1707. package/dist/field/lexical/utils/getSelectedNode.js.map +0 -1
  1708. package/dist/field/lexical/utils/guard.d.ts.map +0 -1
  1709. package/dist/field/lexical/utils/guard.js.map +0 -1
  1710. package/dist/field/lexical/utils/invariant.d.ts.map +0 -1
  1711. package/dist/field/lexical/utils/invariant.js.map +0 -1
  1712. package/dist/field/lexical/utils/joinClasses.d.ts.map +0 -1
  1713. package/dist/field/lexical/utils/joinClasses.js.map +0 -1
  1714. package/dist/field/lexical/utils/markdown/createBlockNode.d.ts +0 -4
  1715. package/dist/field/lexical/utils/markdown/createBlockNode.d.ts.map +0 -1
  1716. package/dist/field/lexical/utils/markdown/createBlockNode.js.map +0 -1
  1717. package/dist/field/lexical/utils/nodeFormat.d.ts.map +0 -1
  1718. package/dist/field/lexical/utils/nodeFormat.js.map +0 -1
  1719. package/dist/field/lexical/utils/point.d.ts.map +0 -1
  1720. package/dist/field/lexical/utils/point.js.map +0 -1
  1721. package/dist/field/lexical/utils/rect.d.ts.map +0 -1
  1722. package/dist/field/lexical/utils/rect.js.map +0 -1
  1723. package/dist/field/lexical/utils/setFloatingElemPosition.d.ts.map +0 -1
  1724. package/dist/field/lexical/utils/setFloatingElemPosition.js.map +0 -1
  1725. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +0 -1
  1726. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +0 -1
  1727. package/dist/field/lexical/utils/swipe.d.ts.map +0 -1
  1728. package/dist/field/lexical/utils/swipe.js.map +0 -1
  1729. package/dist/field/lexical/utils/url.d.ts.map +0 -1
  1730. package/dist/field/lexical/utils/url.js.map +0 -1
  1731. package/dist/forEachNodeRecursively.d.ts.map +0 -1
  1732. package/dist/forEachNodeRecursively.js.map +0 -1
  1733. package/dist/generateComponentMap.d.ts +0 -6
  1734. package/dist/generateComponentMap.d.ts.map +0 -1
  1735. package/dist/generateComponentMap.js +0 -77
  1736. package/dist/generateComponentMap.js.map +0 -1
  1737. package/dist/generateSchemaMap.d.ts +0 -6
  1738. package/dist/generateSchemaMap.d.ts.map +0 -1
  1739. package/dist/generateSchemaMap.js +0 -22
  1740. package/dist/generateSchemaMap.js.map +0 -1
  1741. package/dist/recurseNodeTree.d.ts.map +0 -1
  1742. package/dist/recurseNodeTree.js.map +0 -1
  1743. package/dist/useLexicalFeature.d.ts +0 -3
  1744. package/dist/useLexicalFeature.d.ts.map +0 -1
  1745. package/dist/useLexicalFeature.js +0 -12
  1746. package/dist/useLexicalFeature.js.map +0 -1
  1747. /package/dist/{field/features → features}/align/i18n.d.ts +0 -0
  1748. /package/dist/{field/features → features}/align/i18n.js +0 -0
  1749. /package/dist/{field/features → features}/align/toolbarAlignGroup.d.ts +0 -0
  1750. /package/dist/{field/features → features}/align/toolbarAlignGroup.js +0 -0
  1751. /package/dist/{field/features → features}/blockquote/i18n.d.ts +0 -0
  1752. /package/dist/{field/features → features}/blockquote/i18n.js +0 -0
  1753. /package/dist/{field/features → features}/blockquote/markdownTransformer.d.ts +0 -0
  1754. /package/dist/{field/features → features}/blockquote/markdownTransformer.js +0 -0
  1755. /package/dist/{field/features → features}/blocks/component/FormSavePlugin.d.ts +0 -0
  1756. /package/dist/{field/features → features}/blocks/component/index.d.ts +0 -0
  1757. /package/dist/{field/features → features}/blocks/component/removeEmptyArrayValues.d.ts +0 -0
  1758. /package/dist/{field/features → features}/blocks/component/removeEmptyArrayValues.js +0 -0
  1759. /package/dist/{field/features → features}/blocks/drawer/index.d.ts +0 -0
  1760. /package/dist/{field/features → features}/blocks/i18n.d.ts +0 -0
  1761. /package/dist/{field/features → features}/blocks/i18n.js +0 -0
  1762. /package/dist/{field/features → features}/blocks/nodes/BlocksNode.d.ts +0 -0
  1763. /package/dist/{field/features → features}/blocks/nodes/BlocksNode.js +0 -0
  1764. /package/dist/{field/features → features}/blocks/plugin/commands.d.ts +0 -0
  1765. /package/dist/{field/features → features}/blocks/plugin/commands.js +0 -0
  1766. /package/dist/{field/features → features}/blocks/plugin/index.js +0 -0
  1767. /package/dist/{field/features → features}/blocks/validate.js +0 -0
  1768. /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.d.ts +0 -0
  1769. /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.js +0 -0
  1770. /package/dist/{field/features → features}/converters/html/converter/converters/paragraph.d.ts +0 -0
  1771. /package/dist/{field/features → features}/converters/html/converter/converters/text.d.ts +0 -0
  1772. /package/dist/{field/features → features}/converters/html/converter/converters/text.js +0 -0
  1773. /package/dist/{field/features → features}/converters/html/converter/defaultConverters.d.ts +0 -0
  1774. /package/dist/{field/features → features}/converters/html/converter/defaultConverters.js +0 -0
  1775. /package/dist/{field/features → features}/converters/html/converter/types.js +0 -0
  1776. /package/dist/{field/features → features}/converters/html/field/index.d.ts +0 -0
  1777. /package/dist/{field/features → features}/createFeaturePropComponent.d.ts +0 -0
  1778. /package/dist/{field/features → features}/debug/testRecorder/plugin/index.js +0 -0
  1779. /package/dist/{field/features → features}/debug/treeView/plugin/index.js +0 -0
  1780. /package/dist/{field/features → features}/format/bold/markdownTransformers.d.ts +0 -0
  1781. /package/dist/{field/features → features}/format/bold/markdownTransformers.js +0 -0
  1782. /package/dist/{field/features → features}/format/inlineCode/markdownTransformers.d.ts +0 -0
  1783. /package/dist/{field/features → features}/format/inlineCode/markdownTransformers.js +0 -0
  1784. /package/dist/{field/features → features}/format/italic/markdownTransformers.d.ts +0 -0
  1785. /package/dist/{field/features → features}/format/italic/markdownTransformers.js +0 -0
  1786. /package/dist/{field/features → features}/format/shared/toolbarFormatGroup.d.ts +0 -0
  1787. /package/dist/{field/features → features}/format/shared/toolbarFormatGroup.js +0 -0
  1788. /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.d.ts +0 -0
  1789. /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.js +0 -0
  1790. /package/dist/{field/features → features}/heading/i18n.d.ts +0 -0
  1791. /package/dist/{field/features → features}/heading/i18n.js +0 -0
  1792. /package/dist/{field/features → features}/heading/markdownTransformer.d.ts +0 -0
  1793. /package/dist/{field/features → features}/heading/markdownTransformer.js +0 -0
  1794. /package/dist/{field/features → features}/horizontalRule/component/index.d.ts +0 -0
  1795. /package/dist/{field/features → features}/horizontalRule/component/index.js +0 -0
  1796. /package/dist/{field/features → features}/horizontalRule/i18n.d.ts +0 -0
  1797. /package/dist/{field/features → features}/horizontalRule/i18n.js +0 -0
  1798. /package/dist/{field/features → features}/horizontalRule/markdownTransformer.d.ts +0 -0
  1799. /package/dist/{field/features → features}/horizontalRule/markdownTransformer.js +0 -0
  1800. /package/dist/{field/features → features}/horizontalRule/nodes/HorizontalRuleNode.d.ts +0 -0
  1801. /package/dist/{field/features → features}/horizontalRule/nodes/HorizontalRuleNode.js +0 -0
  1802. /package/dist/{field/features → features}/horizontalRule/plugin/index.js +0 -0
  1803. /package/dist/{field/features → features}/indent/i18n.d.ts +0 -0
  1804. /package/dist/{field/features → features}/indent/i18n.js +0 -0
  1805. /package/dist/{field/features → features}/indent/toolbarIndentGroup.d.ts +0 -0
  1806. /package/dist/{field/features → features}/indent/toolbarIndentGroup.js +0 -0
  1807. /package/dist/{field/features → features}/link/drawer/baseFields.js +0 -0
  1808. /package/dist/{field/features → features}/link/drawer/index.d.ts +0 -0
  1809. /package/dist/{field/features → features}/link/drawer/types.d.ts +0 -0
  1810. /package/dist/{field/features → features}/link/drawer/types.js +0 -0
  1811. /package/dist/{field/features → features}/link/i18n.d.ts +0 -0
  1812. /package/dist/{field/features → features}/link/i18n.js +0 -0
  1813. /package/dist/{field/features → features}/link/markdownTransformer.d.ts +0 -0
  1814. /package/dist/{field/features → features}/link/markdownTransformer.js +0 -0
  1815. /package/dist/{field/features → features}/link/nodes/AutoLinkNode.d.ts +0 -0
  1816. /package/dist/{field/features → features}/link/nodes/AutoLinkNode.js +0 -0
  1817. /package/dist/{field/features → features}/link/nodes/LinkNode.d.ts +0 -0
  1818. /package/dist/{field/features → features}/link/nodes/LinkNode.js +0 -0
  1819. /package/dist/{field/features → features}/link/nodes/types.d.ts +0 -0
  1820. /package/dist/{field/features → features}/link/nodes/types.js +0 -0
  1821. /package/dist/{field/features → features}/link/plugins/autoLink/index.js +0 -0
  1822. /package/dist/{field/features → features}/link/plugins/clickableLink/index.js +0 -0
  1823. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts +0 -0
  1824. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/commands.js +0 -0
  1825. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts +0 -0
  1826. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/index.js +0 -0
  1827. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/types.d.ts +0 -0
  1828. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/types.js +0 -0
  1829. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/utilities.js +0 -0
  1830. /package/dist/{field/features → features}/link/plugins/link/index.js +0 -0
  1831. /package/dist/{field/features → features}/link/validate.js +0 -0
  1832. /package/dist/{field/features → features}/lists/checklist/i18n.d.ts +0 -0
  1833. /package/dist/{field/features → features}/lists/checklist/i18n.js +0 -0
  1834. /package/dist/{field/features → features}/lists/checklist/markdownTransformers.d.ts +0 -0
  1835. /package/dist/{field/features → features}/lists/checklist/markdownTransformers.js +0 -0
  1836. /package/dist/{field/features → features}/lists/checklist/plugin/index.js +0 -0
  1837. /package/dist/{field/features → features}/lists/htmlConverter.d.ts +0 -0
  1838. /package/dist/{field/features → features}/lists/orderedList/i18n.d.ts +0 -0
  1839. /package/dist/{field/features → features}/lists/orderedList/i18n.js +0 -0
  1840. /package/dist/{field/features → features}/lists/orderedList/markdownTransformer.d.ts +0 -0
  1841. /package/dist/{field/features → features}/lists/orderedList/markdownTransformer.js +0 -0
  1842. /package/dist/{field/features → features}/lists/plugin/index.js +0 -0
  1843. /package/dist/{field/features → features}/lists/shared/markdown.js +0 -0
  1844. /package/dist/{field/features → features}/lists/shared/slashMenuListGroup.d.ts +0 -0
  1845. /package/dist/{field/features → features}/lists/shared/slashMenuListGroup.js +0 -0
  1846. /package/dist/{field/features → features}/lists/unorderedList/i18n.d.ts +0 -0
  1847. /package/dist/{field/features → features}/lists/unorderedList/i18n.js +0 -0
  1848. /package/dist/{field/features → features}/lists/unorderedList/markdownTransformer.d.ts +0 -0
  1849. /package/dist/{field/features → features}/lists/unorderedList/markdownTransformer.js +0 -0
  1850. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/client.js +0 -0
  1851. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +0 -0
  1852. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +0 -0
  1853. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts +0 -0
  1854. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/client.js +0 -0
  1855. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +0 -0
  1856. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +0 -0
  1857. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts +0 -0
  1858. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/client.js +0 -0
  1859. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +0 -0
  1860. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +0 -0
  1861. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts +0 -0
  1862. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js +0 -0
  1863. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +0 -0
  1864. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +0 -0
  1865. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts +0 -0
  1866. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/client.js +0 -0
  1867. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +0 -0
  1868. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +0 -0
  1869. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts +0 -0
  1870. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js +0 -0
  1871. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +0 -0
  1872. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +0 -0
  1873. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts +0 -0
  1874. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/client.js +0 -0
  1875. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +0 -0
  1876. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +0 -0
  1877. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts +0 -0
  1878. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +0 -0
  1879. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/defaultConverters.js +0 -0
  1880. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/index.d.ts +0 -0
  1881. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/index.js +0 -0
  1882. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/types.js +0 -0
  1883. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  1884. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +0 -0
  1885. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +0 -0
  1886. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +0 -0
  1887. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/client.js +0 -0
  1888. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +0 -0
  1889. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/converter.js +0 -0
  1890. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/index.d.ts +0 -0
  1891. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/client.js +0 -0
  1892. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/converter.d.ts +0 -0
  1893. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/converter.js +0 -0
  1894. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/index.d.ts +0 -0
  1895. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/client.js +0 -0
  1896. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/converter.d.ts +0 -0
  1897. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/converter.js +0 -0
  1898. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/index.d.ts +0 -0
  1899. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/client.js +0 -0
  1900. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/converter.d.ts +0 -0
  1901. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/converter.js +0 -0
  1902. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/index.d.ts +0 -0
  1903. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/client.js +0 -0
  1904. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +0 -0
  1905. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/converter.js +0 -0
  1906. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/index.d.ts +0 -0
  1907. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/client.js +0 -0
  1908. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +0 -0
  1909. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/converter.js +0 -0
  1910. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/index.d.ts +0 -0
  1911. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/client.js +0 -0
  1912. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +0 -0
  1913. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/converter.js +0 -0
  1914. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/index.d.ts +0 -0
  1915. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/client.js +0 -0
  1916. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +0 -0
  1917. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/converter.js +0 -0
  1918. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/index.d.ts +0 -0
  1919. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/client.js +0 -0
  1920. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +0 -0
  1921. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/converter.js +0 -0
  1922. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts +0 -0
  1923. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/client.js +0 -0
  1924. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/converter.d.ts +0 -0
  1925. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/converter.js +0 -0
  1926. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/index.d.ts +0 -0
  1927. /package/dist/{field/features → features}/migrations/slateToLexical/converter/defaultConverters.d.ts +0 -0
  1928. /package/dist/{field/features → features}/migrations/slateToLexical/converter/defaultConverters.js +0 -0
  1929. /package/dist/{field/features → features}/migrations/slateToLexical/converter/index.d.ts +0 -0
  1930. /package/dist/{field/features → features}/migrations/slateToLexical/converter/index.js +0 -0
  1931. /package/dist/{field/features → features}/migrations/slateToLexical/converter/types.js +0 -0
  1932. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  1933. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +0 -0
  1934. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +0 -0
  1935. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +0 -0
  1936. /package/dist/{field/features → features}/paragraph/i18n.d.ts +0 -0
  1937. /package/dist/{field/features → features}/paragraph/i18n.js +0 -0
  1938. /package/dist/{field/features → features}/relationship/drawer/commands.d.ts +0 -0
  1939. /package/dist/{field/features → features}/relationship/drawer/commands.js +0 -0
  1940. /package/dist/{field/features → features}/relationship/drawer/index.d.ts +0 -0
  1941. /package/dist/{field/features → features}/relationship/i18n.d.ts +0 -0
  1942. /package/dist/{field/features → features}/relationship/i18n.js +0 -0
  1943. /package/dist/{field/features → features}/relationship/nodes/RelationshipNode.d.ts +0 -0
  1944. /package/dist/{field/features → features}/relationship/nodes/RelationshipNode.js +0 -0
  1945. /package/dist/{field/features → features}/relationship/nodes/components/RelationshipComponent.d.ts +0 -0
  1946. /package/dist/{field/features → features}/relationship/utils/EnabledRelationshipsCondition.d.ts +0 -0
  1947. /package/dist/{field/features → features}/shared/slashMenu/basicGroup.d.ts +0 -0
  1948. /package/dist/{field/features → features}/shared/slashMenu/basicGroup.js +0 -0
  1949. /package/dist/{field/features → features}/shared/toolbar/addDropdownGroup.d.ts +0 -0
  1950. /package/dist/{field/features → features}/shared/toolbar/addDropdownGroup.js +0 -0
  1951. /package/dist/{field/features → features}/shared/toolbar/featureButtonsGroup.d.ts +0 -0
  1952. /package/dist/{field/features → features}/shared/toolbar/featureButtonsGroup.js +0 -0
  1953. /package/dist/{field/features → features}/shared/toolbar/textDropdownGroup.d.ts +0 -0
  1954. /package/dist/{field/features → features}/shared/toolbar/textDropdownGroup.js +0 -0
  1955. /package/dist/{field/features → features}/toolbars/inline/Toolbar/index.js +0 -0
  1956. /package/dist/{field/features → features}/toolbars/shared/ToolbarButton/index.d.ts +0 -0
  1957. /package/dist/{field/features → features}/toolbars/shared/ToolbarButton/index.js +0 -0
  1958. /package/dist/{field/features → features}/toolbars/shared/ToolbarDropdown/DropDown.d.ts +0 -0
  1959. /package/dist/{field/features → features}/toolbars/shared/ToolbarDropdown/DropDown.js +0 -0
  1960. /package/dist/{field/features → features}/toolbars/shared/ToolbarDropdown/index.d.ts +0 -0
  1961. /package/dist/{field/features → features}/toolbars/types.js +0 -0
  1962. /package/dist/{field/features → features}/typeUtilities.js +0 -0
  1963. /package/dist/{field/features → features}/upload/component/ExtraFieldsDrawer/index.d.ts +0 -0
  1964. /package/dist/{field/features → features}/upload/component/index.d.ts +0 -0
  1965. /package/dist/{field/features → features}/upload/drawer/commands.d.ts +0 -0
  1966. /package/dist/{field/features → features}/upload/drawer/commands.js +0 -0
  1967. /package/dist/{field/features → features}/upload/drawer/index.d.ts +0 -0
  1968. /package/dist/{field/features → features}/upload/i18n.d.ts +0 -0
  1969. /package/dist/{field/features → features}/upload/i18n.js +0 -0
  1970. /package/dist/{field/features → features}/upload/nodes/UploadNode.d.ts +0 -0
  1971. /package/dist/{field/features → features}/upload/nodes/UploadNode.js +0 -0
  1972. /package/dist/{field/features → features}/upload/validate.js +0 -0
  1973. /package/dist/{field/lexical → lexical}/LexicalEditor.d.ts +0 -0
  1974. /package/dist/{field/lexical → lexical}/LexicalProvider.js +0 -0
  1975. /package/dist/{field/lexical → lexical}/config/client/EditorConfigProvider.js +0 -0
  1976. /package/dist/{field/lexical → lexical}/config/client/default.d.ts +0 -0
  1977. /package/dist/{field/lexical → lexical}/config/client/default.js +0 -0
  1978. /package/dist/{field/lexical → lexical}/config/server/default.js +0 -0
  1979. /package/dist/{field/lexical → lexical}/config/server/sanitize.js +0 -0
  1980. /package/dist/{field/features → lexical/config}/types.js +0 -0
  1981. /package/dist/{field/lexical → lexical}/nodes/index.d.ts +0 -0
  1982. /package/dist/{field/lexical → lexical}/nodes/index.js +0 -0
  1983. /package/dist/{field/lexical → lexical}/plugins/MarkdownShortcut/index.d.ts +0 -0
  1984. /package/dist/{field/lexical → lexical}/plugins/MarkdownShortcut/index.js +0 -0
  1985. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +0 -0
  1986. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +0 -0
  1987. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +0 -0
  1988. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +0 -0
  1989. /package/dist/{field/lexical/config → lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin}/types.js +0 -0
  1990. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/index.d.ts +0 -0
  1991. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.d.ts +0 -0
  1992. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.js +0 -0
  1993. /package/dist/{field/lexical → lexical}/plugins/handles/AddBlockHandlePlugin/index.d.ts +0 -0
  1994. /package/dist/{field/lexical → lexical}/plugins/handles/AddBlockHandlePlugin/index.js +0 -0
  1995. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/debounce.d.ts +0 -0
  1996. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/debounce.js +0 -0
  1997. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts +0 -0
  1998. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js +0 -0
  1999. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts +0 -0
  2000. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js +0 -0
  2001. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/index.d.ts +0 -0
  2002. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/index.js +0 -0
  2003. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/setTargetLine.js +0 -0
  2004. /package/dist/{field/lexical → lexical}/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts +0 -0
  2005. /package/dist/{field/lexical → lexical}/plugins/handles/utils/calculateDistanceFromScrollerElem.js +0 -0
  2006. /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.d.ts +0 -0
  2007. /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.js +0 -0
  2008. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.d.ts +0 -0
  2009. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.js +0 -0
  2010. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getNodeCloseToPoint.d.ts +0 -0
  2011. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getNodeCloseToPoint.js +0 -0
  2012. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getTopLevelNodeKeys.d.ts +0 -0
  2013. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getTopLevelNodeKeys.js +0 -0
  2014. /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.d.ts +0 -0
  2015. /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.js +0 -0
  2016. /package/dist/{field/lexical → lexical}/plugins/handles/utils/setHandlePosition.d.ts +0 -0
  2017. /package/dist/{field/lexical → lexical}/plugins/handles/utils/setHandlePosition.js +0 -0
  2018. /package/dist/{field/lexical → lexical}/theme/EditorTheme.d.ts +0 -0
  2019. /package/dist/{field/lexical → lexical}/theme/EditorTheme.js +0 -0
  2020. /package/dist/{field/lexical → lexical}/ui/ContentEditable.d.ts +0 -0
  2021. /package/dist/{field/lexical → lexical}/ui/ContentEditable.js +0 -0
  2022. /package/dist/{field/lexical → lexical}/ui/icons/AI/index.d.ts +0 -0
  2023. /package/dist/{field/lexical → lexical}/ui/icons/AI/index.js +0 -0
  2024. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.d.ts +0 -0
  2025. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.js +0 -0
  2026. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.svg +0 -0
  2027. /package/dist/{field/lexical → lexical}/ui/icons/Add/light.svg +0 -0
  2028. /package/dist/{field/lexical → lexical}/ui/icons/AlignCenter/index.d.ts +0 -0
  2029. /package/dist/{field/lexical → lexical}/ui/icons/AlignCenter/index.js +0 -0
  2030. /package/dist/{field/lexical → lexical}/ui/icons/AlignJustify/index.d.ts +0 -0
  2031. /package/dist/{field/lexical → lexical}/ui/icons/AlignJustify/index.js +0 -0
  2032. /package/dist/{field/lexical → lexical}/ui/icons/AlignLeft/index.d.ts +0 -0
  2033. /package/dist/{field/lexical → lexical}/ui/icons/AlignLeft/index.js +0 -0
  2034. /package/dist/{field/lexical → lexical}/ui/icons/AlignRight/index.d.ts +0 -0
  2035. /package/dist/{field/lexical → lexical}/ui/icons/AlignRight/index.js +0 -0
  2036. /package/dist/{field/lexical → lexical}/ui/icons/Block/index.d.ts +0 -0
  2037. /package/dist/{field/lexical → lexical}/ui/icons/Block/index.js +0 -0
  2038. /package/dist/{field/lexical → lexical}/ui/icons/Blockquote/index.d.ts +0 -0
  2039. /package/dist/{field/lexical → lexical}/ui/icons/Blockquote/index.js +0 -0
  2040. /package/dist/{field/lexical → lexical}/ui/icons/Bold/index.d.ts +0 -0
  2041. /package/dist/{field/lexical → lexical}/ui/icons/Bold/index.js +0 -0
  2042. /package/dist/{field/lexical → lexical}/ui/icons/Caret/index.svg +0 -0
  2043. /package/dist/{field/lexical → lexical}/ui/icons/Checklist/index.d.ts +0 -0
  2044. /package/dist/{field/lexical → lexical}/ui/icons/Checklist/index.js +0 -0
  2045. /package/dist/{field/lexical → lexical}/ui/icons/Code/index.d.ts +0 -0
  2046. /package/dist/{field/lexical → lexical}/ui/icons/Code/index.js +0 -0
  2047. /package/dist/{field/lexical → lexical}/ui/icons/CodeBlock/index.d.ts +0 -0
  2048. /package/dist/{field/lexical → lexical}/ui/icons/CodeBlock/index.js +0 -0
  2049. /package/dist/{field/lexical → lexical}/ui/icons/DraggableBlock/index.svg +0 -0
  2050. /package/dist/{field/lexical → lexical}/ui/icons/DraggableBlock/light.svg +0 -0
  2051. /package/dist/{field/lexical → lexical}/ui/icons/Edit/index.svg +0 -0
  2052. /package/dist/{field/lexical → lexical}/ui/icons/H1/index.d.ts +0 -0
  2053. /package/dist/{field/lexical → lexical}/ui/icons/H1/index.js +0 -0
  2054. /package/dist/{field/lexical → lexical}/ui/icons/H2/index.d.ts +0 -0
  2055. /package/dist/{field/lexical → lexical}/ui/icons/H2/index.js +0 -0
  2056. /package/dist/{field/lexical → lexical}/ui/icons/H3/index.d.ts +0 -0
  2057. /package/dist/{field/lexical → lexical}/ui/icons/H3/index.js +0 -0
  2058. /package/dist/{field/lexical → lexical}/ui/icons/H4/index.d.ts +0 -0
  2059. /package/dist/{field/lexical → lexical}/ui/icons/H4/index.js +0 -0
  2060. /package/dist/{field/lexical → lexical}/ui/icons/H5/index.d.ts +0 -0
  2061. /package/dist/{field/lexical → lexical}/ui/icons/H5/index.js +0 -0
  2062. /package/dist/{field/lexical → lexical}/ui/icons/H6/index.d.ts +0 -0
  2063. /package/dist/{field/lexical → lexical}/ui/icons/H6/index.js +0 -0
  2064. /package/dist/{field/lexical → lexical}/ui/icons/HorizontalRule/index.d.ts +0 -0
  2065. /package/dist/{field/lexical → lexical}/ui/icons/HorizontalRule/index.js +0 -0
  2066. /package/dist/{field/lexical → lexical}/ui/icons/IndentDecrease/index.d.ts +0 -0
  2067. /package/dist/{field/lexical → lexical}/ui/icons/IndentDecrease/index.js +0 -0
  2068. /package/dist/{field/lexical → lexical}/ui/icons/IndentIncrease/index.d.ts +0 -0
  2069. /package/dist/{field/lexical → lexical}/ui/icons/IndentIncrease/index.js +0 -0
  2070. /package/dist/{field/lexical → lexical}/ui/icons/Italic/index.d.ts +0 -0
  2071. /package/dist/{field/lexical → lexical}/ui/icons/Italic/index.js +0 -0
  2072. /package/dist/{field/lexical → lexical}/ui/icons/Link/index.d.ts +0 -0
  2073. /package/dist/{field/lexical → lexical}/ui/icons/Link/index.js +0 -0
  2074. /package/dist/{field/lexical → lexical}/ui/icons/OrderedList/index.d.ts +0 -0
  2075. /package/dist/{field/lexical → lexical}/ui/icons/OrderedList/index.js +0 -0
  2076. /package/dist/{field/lexical → lexical}/ui/icons/Relationship/index.d.ts +0 -0
  2077. /package/dist/{field/lexical → lexical}/ui/icons/Relationship/index.js +0 -0
  2078. /package/dist/{field/lexical → lexical}/ui/icons/Remove/index.svg +0 -0
  2079. /package/dist/{field/lexical → lexical}/ui/icons/Strikethrough/index.d.ts +0 -0
  2080. /package/dist/{field/lexical → lexical}/ui/icons/Strikethrough/index.js +0 -0
  2081. /package/dist/{field/lexical → lexical}/ui/icons/Subscript/index.d.ts +0 -0
  2082. /package/dist/{field/lexical → lexical}/ui/icons/Subscript/index.js +0 -0
  2083. /package/dist/{field/lexical → lexical}/ui/icons/Superscript/index.d.ts +0 -0
  2084. /package/dist/{field/lexical → lexical}/ui/icons/Superscript/index.js +0 -0
  2085. /package/dist/{field/lexical → lexical}/ui/icons/Text/index.d.ts +0 -0
  2086. /package/dist/{field/lexical → lexical}/ui/icons/Text/index.js +0 -0
  2087. /package/dist/{field/lexical → lexical}/ui/icons/Underline/index.d.ts +0 -0
  2088. /package/dist/{field/lexical → lexical}/ui/icons/Underline/index.js +0 -0
  2089. /package/dist/{field/lexical → lexical}/ui/icons/UnorderedList/index.d.ts +0 -0
  2090. /package/dist/{field/lexical → lexical}/ui/icons/UnorderedList/index.js +0 -0
  2091. /package/dist/{field/lexical → lexical}/ui/icons/Upload/index.d.ts +0 -0
  2092. /package/dist/{field/lexical → lexical}/ui/icons/Upload/index.js +0 -0
  2093. /package/dist/{field/lexical → lexical}/utils/canUseDOM.d.ts +0 -0
  2094. /package/dist/{field/lexical → lexical}/utils/canUseDOM.js +0 -0
  2095. /package/dist/{field/lexical → lexical}/utils/cloneDeep.d.ts +0 -0
  2096. /package/dist/{field/lexical → lexical}/utils/environment.d.ts +0 -0
  2097. /package/dist/{field/lexical → lexical}/utils/environment.js +0 -0
  2098. /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.d.ts +0 -0
  2099. /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.js +0 -0
  2100. /package/dist/{field/lexical → lexical}/utils/getSelectedNode.d.ts +0 -0
  2101. /package/dist/{field/lexical → lexical}/utils/getSelectedNode.js +0 -0
  2102. /package/dist/{field/lexical → lexical}/utils/guard.d.ts +0 -0
  2103. /package/dist/{field/lexical → lexical}/utils/guard.js +0 -0
  2104. /package/dist/{field/lexical → lexical}/utils/invariant.d.ts +0 -0
  2105. /package/dist/{field/lexical → lexical}/utils/invariant.js +0 -0
  2106. /package/dist/{field/lexical → lexical}/utils/joinClasses.d.ts +0 -0
  2107. /package/dist/{field/lexical → lexical}/utils/joinClasses.js +0 -0
  2108. /package/dist/{field/lexical → lexical}/utils/markdown/createBlockNode.js +0 -0
  2109. /package/dist/{field/lexical → lexical}/utils/nodeFormat.d.ts +0 -0
  2110. /package/dist/{field/lexical → lexical}/utils/nodeFormat.js +0 -0
  2111. /package/dist/{field/lexical → lexical}/utils/point.d.ts +0 -0
  2112. /package/dist/{field/lexical → lexical}/utils/point.js +0 -0
  2113. /package/dist/{field/lexical → lexical}/utils/rect.d.ts +0 -0
  2114. /package/dist/{field/lexical → lexical}/utils/rect.js +0 -0
  2115. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPosition.d.ts +0 -0
  2116. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPosition.js +0 -0
  2117. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.d.ts +0 -0
  2118. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.js +0 -0
  2119. /package/dist/{field/lexical → lexical}/utils/swipe.d.ts +0 -0
  2120. /package/dist/{field/lexical → lexical}/utils/swipe.js +0 -0
  2121. /package/dist/{field/lexical → lexical}/utils/url.d.ts +0 -0
  2122. /package/dist/{field/lexical → lexical}/utils/url.js +0 -0
  2123. /package/dist/{forEachNodeRecursively.d.ts → utilities/forEachNodeRecursively.d.ts} +0 -0
  2124. /package/dist/{forEachNodeRecursively.js → utilities/forEachNodeRecursively.js} +0 -0
  2125. /package/dist/{recurseNodeTree.d.ts → utilities/recurseNodeTree.d.ts} +0 -0
  2126. /package/dist/{recurseNodeTree.js → utilities/recurseNodeTree.js} +0 -0
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/field/lexical/config/client/EditorConfigProvider.tsx"],
4
- "sourcesContent": ["'use client'\n\nimport type { FormFieldBase } from '@payloadcms/ui/fields/shared'\nimport type { LexicalEditor } from 'lexical'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport * as React from 'react'\nimport { createContext, useContext, useMemo, useRef, useState } from 'react'\n\nimport type { SanitizedClientEditorConfig } from '../types.js'\n\n// Should always produce a 20 character pseudo-random string\nfunction generateQuickGuid(): string {\n return Math.random().toString(36).substring(2, 12) + Math.random().toString(36).substring(2, 12)\n}\n\nexport interface EditorConfigContextType {\n // Editor focus handling\n blurEditor: (editorContext: EditorConfigContextType) => void\n childrenEditors: React.RefObject<Map<string, EditorConfigContextType>>\n editor: LexicalEditor\n editorConfig: SanitizedClientEditorConfig\n editorContainerRef: React.RefObject<HTMLDivElement>\n field: FormFieldBase & {\n editorConfig: SanitizedClientEditorConfig // With rendered features n stuff\n name: string\n richTextComponentMap: Map<string, React.ReactNode>\n }\n // Editor focus handling\n focusEditor: (editorContext: EditorConfigContextType) => void\n focusedEditor: EditorConfigContextType | null\n parentEditor: EditorConfigContextType\n registerChild: (uuid: string, editorContext: EditorConfigContextType) => void\n unregisterChild?: (uuid: string) => void\n uuid: string\n}\n\nconst Context: React.Context<EditorConfigContextType> = createContext({\n editorConfig: null,\n field: null,\n uuid: null,\n})\n\nexport const EditorConfigProvider = ({\n children,\n editorConfig,\n editorContainerRef,\n fieldProps,\n parentContext,\n}: {\n children: React.ReactNode\n editorConfig: SanitizedClientEditorConfig\n editorContainerRef: React.RefObject<HTMLDivElement>\n fieldProps: FormFieldBase & {\n editorConfig: SanitizedClientEditorConfig // With rendered features n stuff\n name: string\n richTextComponentMap: Map<string, React.ReactNode>\n }\n parentContext?: EditorConfigContextType\n}): React.ReactNode => {\n const [editor] = useLexicalComposerContext()\n // State to store the UUID\n const [uuid] = useState(generateQuickGuid())\n\n const childrenEditors = useRef<Map<string, EditorConfigContextType>>(new Map())\n const [focusedEditor, setFocusedEditor] = useState<EditorConfigContextType | null>(null)\n const focusHistory = useRef<Set<string>>(new Set())\n\n const editorContext = useMemo(\n () =>\n ({\n blurEditor: (editorContext: EditorConfigContextType) => {\n //setFocusedEditor(null) // Clear focused editor\n focusHistory.current.clear() // Reset focus history when focus is lost\n },\n childrenEditors,\n editor,\n editorConfig,\n editorContainerRef,\n field: fieldProps,\n focusEditor: (editorContext: EditorConfigContextType) => {\n const editorUUID = editorContext.uuid\n\n // Avoid recursion by checking if this editor is already focused in this cycle\n if (focusHistory.current.has(editorUUID)) {\n return\n }\n\n // Add this editor to the history to prevent future recursions in this cycle\n focusHistory.current.add(editorUUID)\n setFocusedEditor(editorContext)\n\n // Propagate focus event to parent and children, ensuring they do not refocus this editor\n if (parentContext?.uuid) {\n parentContext.focusEditor(editorContext)\n }\n childrenEditors.current.forEach((childEditor, childUUID) => {\n childEditor.focusEditor(editorContext)\n })\n\n focusHistory.current.clear()\n },\n focusedEditor,\n parentEditor: parentContext,\n registerChild: (childUUID, childEditorContext) => {\n if (!childrenEditors.current.has(childUUID)) {\n const newMap = new Map(childrenEditors.current)\n newMap.set(childUUID, childEditorContext)\n childrenEditors.current = newMap\n }\n },\n unregisterChild: (childUUID) => {\n if (childrenEditors.current.has(childUUID)) {\n const newMap = new Map(childrenEditors.current)\n newMap.delete(childUUID)\n childrenEditors.current = newMap\n }\n },\n\n uuid,\n }) as EditorConfigContextType,\n [\n editor,\n childrenEditors,\n editorConfig,\n editorContainerRef,\n fieldProps,\n focusedEditor,\n parentContext,\n uuid,\n ],\n )\n\n return <Context.Provider value={editorContext}>{children}</Context.Provider>\n}\n\nexport const useEditorConfigContext = (): EditorConfigContextType => {\n const context = useContext(Context)\n if (context === undefined) {\n throw new Error('useEditorConfigContext must be used within an EditorConfigProvider')\n }\n return context\n}\n"],
5
- "mappings": "AAKA,OAAS,6BAAAA,MAAiC,2CAE1C,OAAS,iBAAAC,EAAe,cAAAC,EAAY,WAAAC,EAAS,UAAAC,EAAQ,YAAAC,MAAgB,QA8H5D,cAAAC,MAAA,oBAzHT,SAASC,GAA4B,CACnC,OAAO,KAAK,OAAO,EAAE,SAAS,EAAE,EAAE,UAAU,EAAG,EAAE,EAAI,KAAK,OAAO,EAAE,SAAS,EAAE,EAAE,UAAU,EAAG,EAAE,CACjG,CAuBA,IAAMC,EAAkDP,EAAc,CACpE,aAAc,KACd,MAAO,KACP,KAAM,IACR,CAAC,EAEYQ,EAAuB,CAAC,CACnC,SAAAC,EACA,aAAAC,EACA,mBAAAC,EACA,WAAAC,EACA,cAAAC,CACF,IAUuB,CACrB,GAAM,CAACC,CAAM,EAAIf,EAA0B,EAErC,CAACgB,CAAI,EAAIX,EAASE,EAAkB,CAAC,EAErCU,EAAkBb,EAA6C,IAAI,GAAK,EACxE,CAACc,EAAeC,CAAgB,EAAId,EAAyC,IAAI,EACjFe,EAAehB,EAAoB,IAAI,GAAK,EAE5CiB,EAAgBlB,EACpB,KACG,CACC,WAAakB,GAA2C,CAEtDD,EAAa,QAAQ,MAAM,CAC7B,EACA,gBAAAH,EACA,OAAAF,EACA,aAAAJ,EACA,mBAAAC,EACA,MAAOC,EACP,YAAcQ,GAA2C,CACvD,IAAMC,EAAaD,EAAc,KAG7BD,EAAa,QAAQ,IAAIE,CAAU,IAKvCF,EAAa,QAAQ,IAAIE,CAAU,EACnCH,EAAiBE,CAAa,EAG1BP,GAAe,MACjBA,EAAc,YAAYO,CAAa,EAEzCJ,EAAgB,QAAQ,QAAQ,CAACM,EAAaC,IAAc,CAC1DD,EAAY,YAAYF,CAAa,CACvC,CAAC,EAEDD,EAAa,QAAQ,MAAM,EAC7B,EACA,cAAAF,EACA,aAAcJ,EACd,cAAe,CAACU,EAAWC,IAAuB,CAChD,GAAI,CAACR,EAAgB,QAAQ,IAAIO,CAAS,EAAG,CAC3C,IAAME,EAAS,IAAI,IAAIT,EAAgB,OAAO,EAC9CS,EAAO,IAAIF,EAAWC,CAAkB,EACxCR,EAAgB,QAAUS,CAC5B,CACF,EACA,gBAAkBF,GAAc,CAC9B,GAAIP,EAAgB,QAAQ,IAAIO,CAAS,EAAG,CAC1C,IAAME,EAAS,IAAI,IAAIT,EAAgB,OAAO,EAC9CS,EAAO,OAAOF,CAAS,EACvBP,EAAgB,QAAUS,CAC5B,CACF,EAEA,KAAAV,CACF,GACF,CACED,EACAE,EACAN,EACAC,EACAC,EACAK,EACAJ,EACAE,CACF,CACF,EAEA,OAAOV,EAACE,EAAQ,SAAR,CAAiB,MAAOa,EAAgB,SAAAX,EAAS,CAC3D,EAEaiB,EAAyB,IAA+B,CACnE,IAAMC,EAAU1B,EAAWM,CAAO,EAClC,GAAIoB,IAAY,OACd,MAAM,IAAI,MAAM,oEAAoE,EAEtF,OAAOA,CACT",
6
- "names": ["useLexicalComposerContext", "createContext", "useContext", "useMemo", "useRef", "useState", "jsx", "generateQuickGuid", "Context", "EditorConfigProvider", "children", "editorConfig", "editorContainerRef", "fieldProps", "parentContext", "editor", "uuid", "childrenEditors", "focusedEditor", "setFocusedEditor", "focusHistory", "editorContext", "editorUUID", "childEditor", "childUUID", "childEditorContext", "newMap", "useEditorConfigContext", "context"]
7
- }
@@ -1,2 +0,0 @@
1
- "use client";import{d as a}from"./chunk-3PZ2ZFQG.js";import{useLexicalComposerContext as u}from"@lexical/react/LexicalComposerContext.js";import{useLexicalNodeSelection as C}from"@lexical/react/useLexicalNodeSelection.js";import{addClassNamesToElement as E,mergeRegister as d,removeClassNamesFromElement as N}from"@lexical/utils";import{$getNodeByKey as p,$getSelection as g,$isNodeSelection as M,CLICK_COMMAND as S,COMMAND_PRIORITY_LOW as m,KEY_BACKSPACE_COMMAND as D,KEY_DELETE_COMMAND as _}from"lexical";import{useCallback as y,useEffect as c}from"react";var f="selected";function $({nodeKey:t}){let[r]=u(),[o,i,n]=C(t),s=y(e=>{if(o&&M(g())){e.preventDefault();let l=p(t);if(a(l))return l.remove(),!0}return!1},[o,t]);return c(()=>d(r.registerCommand(S,e=>{let l=r.getElementByKey(t);return e.target===l?(e.shiftKey||n(),i(!o),!0):!1},m),r.registerCommand(_,s,m),r.registerCommand(D,s,m)),[n,r,o,t,s,i]),c(()=>{let e=r.getElementByKey(t);e!==null&&(o?E(e,f):N(e,f))},[r,o,t]),null}export{$ as HorizontalRuleComponent};
2
- //# sourceMappingURL=component-FFLILIUZ.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/field/features/horizontalRule/component/index.tsx"],
4
- "sourcesContent": ["'use client'\n\nimport type { NodeKey } from 'lexical'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport { useLexicalNodeSelection } from '@lexical/react/useLexicalNodeSelection.js'\nimport { addClassNamesToElement, mergeRegister, removeClassNamesFromElement } from '@lexical/utils'\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 { useCallback, useEffect } from 'react'\n\nimport { $isHorizontalRuleNode } from '../nodes/HorizontalRuleNode.js'\n\nconst isSelectedClassName = 'selected'\n\n/**\n * React component rendered in the lexical editor, WITHIN the hr element created by createDOM of the HorizontalRuleNode.\n *\n * @param nodeKey every node has a unique key (this key is not saved to the database and thus may differ between sessions). It's useful for working with the CURRENT lexical editor state\n */\nexport function HorizontalRuleComponent({ nodeKey }: { nodeKey: NodeKey }) {\n const [editor] = useLexicalComposerContext()\n const [isSelected, setSelected, clearSelection] = useLexicalNodeSelection(nodeKey)\n\n const $onDelete = useCallback(\n (event: KeyboardEvent) => {\n if (isSelected && $isNodeSelection($getSelection())) {\n event.preventDefault()\n const node = $getNodeByKey(nodeKey)\n if ($isHorizontalRuleNode(node)) {\n node.remove()\n return true\n }\n }\n return false\n },\n [isSelected, nodeKey],\n )\n\n useEffect(() => {\n return mergeRegister(\n editor.registerCommand(\n CLICK_COMMAND,\n (event: MouseEvent) => {\n const hrElem = editor.getElementByKey(nodeKey)\n\n if (event.target === hrElem) {\n if (!event.shiftKey) {\n clearSelection()\n }\n setSelected(!isSelected)\n return true\n }\n\n return false\n },\n 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])\n\n useEffect(() => {\n const hrElem = editor.getElementByKey(nodeKey)\n if (hrElem !== null) {\n if (isSelected) {\n addClassNamesToElement(hrElem, isSelectedClassName)\n } else {\n removeClassNamesFromElement(hrElem, isSelectedClassName)\n }\n }\n }, [editor, isSelected, nodeKey])\n\n return null\n}\n"],
5
- "mappings": "qDAIA,OAAS,6BAAAA,MAAiC,2CAC1C,OAAS,2BAAAC,MAA+B,4CACxC,OAAS,0BAAAC,EAAwB,iBAAAC,EAAe,+BAAAC,MAAmC,iBACnF,OACE,iBAAAC,EACA,iBAAAC,EACA,oBAAAC,EACA,iBAAAC,EACA,wBAAAC,EACA,yBAAAC,EACA,sBAAAC,MACK,UACP,OAAS,eAAAC,EAAa,aAAAC,MAAiB,QAIvC,IAAMC,EAAsB,WAOrB,SAASC,EAAwB,CAAE,QAAAC,CAAQ,EAAyB,CACzE,GAAM,CAACC,CAAM,EAAIC,EAA0B,EACrC,CAACC,EAAYC,EAAaC,CAAc,EAAIC,EAAwBN,CAAO,EAE3EO,EAAYC,EACfC,GAAyB,CACxB,GAAIN,GAAcO,EAAiBC,EAAc,CAAC,EAAG,CACnDF,EAAM,eAAe,EACrB,IAAMG,EAAOC,EAAcb,CAAO,EAClC,GAAIc,EAAsBF,CAAI,EAC5B,OAAAA,EAAK,OAAO,EACL,EAEX,CACA,MAAO,EACT,EACA,CAACT,EAAYH,CAAO,CACtB,EAEA,OAAAe,EAAU,IACDC,EACLf,EAAO,gBACLgB,EACCR,GAAsB,CACrB,IAAMS,EAASjB,EAAO,gBAAgBD,CAAO,EAE7C,OAAIS,EAAM,SAAWS,GACdT,EAAM,UACTJ,EAAe,EAEjBD,EAAY,CAACD,CAAU,EAChB,IAGF,EACT,EACAgB,CACF,EACAlB,EAAO,gBAAgBmB,EAAoBb,EAAWY,CAAoB,EAC1ElB,EAAO,gBAAgBoB,EAAuBd,EAAWY,CAAoB,CAC/E,EACC,CAACd,EAAgBJ,EAAQE,EAAYH,EAASO,EAAWH,CAAW,CAAC,EAExEW,EAAU,IAAM,CACd,IAAMG,EAASjB,EAAO,gBAAgBD,CAAO,EACzCkB,IAAW,OACTf,EACFmB,EAAuBJ,EAAQpB,CAAmB,EAElDyB,EAA4BL,EAAQpB,CAAmB,EAG7D,EAAG,CAACG,EAAQE,EAAYH,CAAO,CAAC,EAEzB,IACT",
6
- "names": ["useLexicalComposerContext", "useLexicalNodeSelection", "addClassNamesToElement", "mergeRegister", "removeClassNamesFromElement", "$getNodeByKey", "$getSelection", "$isNodeSelection", "CLICK_COMMAND", "COMMAND_PRIORITY_LOW", "KEY_BACKSPACE_COMMAND", "KEY_DELETE_COMMAND", "useCallback", "useEffect", "isSelectedClassName", "HorizontalRuleComponent", "nodeKey", "editor", "useLexicalComposerContext", "isSelected", "setSelected", "clearSelection", "useLexicalNodeSelection", "$onDelete", "useCallback", "event", "$isNodeSelection", "$getSelection", "node", "$getNodeByKey", "$isHorizontalRuleNode", "useEffect", "mergeRegister", "CLICK_COMMAND", "hrElem", "COMMAND_PRIORITY_LOW", "KEY_DELETE_COMMAND", "KEY_BACKSPACE_COMMAND", "addClassNamesToElement", "removeClassNamesFromElement"]
7
- }
@@ -1,2 +0,0 @@
1
- "use client";import{b as D}from"./chunk-Y5455JF3.js";import{Collapsible as oe,Form as te,Pill as ae,SectionTitle as re,ShimmerEffect as le,useConfig as se,useDocumentInfo as ie,useFieldProps as ne,useFormSubmitted as ce,useTranslation as de}from"@payloadcms/ui/client";import{useCallback as me,useEffect as pe,useMemo as fe,useState as ue}from"react";import{getTranslation as ye}from"@payloadcms/translations";import{getFormState as V}from"@payloadcms/ui/shared";import{v4 as he}from"uuid";import{useLexicalComposerContext as j}from"@lexical/react/LexicalComposerContext.js";import{getTranslation as W}from"@payloadcms/translations";import{Button as z,Collapsible as H,ErrorPill as J,Pill as q,RenderFields as G,SectionTitle as Q,useDocumentInfo as X,useFormSubmitted as Y,useTranslation as Z}from"@payloadcms/ui/client";import ee from"deep-equal";import{$getNodeByKey as M}from"lexical";import w,{useCallback as x}from"react";import{useAllFormFields as U}from"@payloadcms/ui/client";import{reduceFieldsToValues as I}from"@payloadcms/ui/shared";import{useEffect as K}from"react";function E({fields:i}){for(let e in i){let a=i[e];Array.isArray(a.rows)&&"value"in a&&(a.disableFormData=!0)}return i}var O=i=>{let{onChange:e}=i,[a]=U(),o=E({fields:a}),m=I(o,!0);return K(()=>{e&&e({fullFieldsWithValues:o,newFormData:m})},[m,e,o]),null};import{jsx as F,jsxs as A}from"react/jsx-runtime";var L=i=>{let{baseClass:e,field:a,formData:o,formSchema:m,nodeKey:n,reducedBlock:{labels:g},schemaPath:_}=i,{i18n:S}=Z(),[c]=j(),{getDocPreferences:y,setDocFieldPreferences:P}=X(),[T,B]=w.useState(()=>{let r=!1;return y().then(d=>{let t=d?.fields[a.name]?.collapsed;t&&t.includes(o.id)&&(r=!0,B(!0))}),r}),s=Y(),[p,k]=w.useState(0),h=s&&p>0,R=[`${e}__row`,h?`${e}__row--has-errors`:`${e}__row--no-errors`].filter(Boolean).join(" "),N=x(({fullFieldsWithValues:r,newFormData:d})=>{d={...d,id:o.id,blockType:o.blockType};function v(t){for(let l in t){let b=t[l];Array.isArray(b)&&!b?.length?delete t[l]:b&&typeof b=="object"?v(b):b==null&&delete t[l]}}if(v(d),v(o),ee(o,d)||setTimeout(()=>{c.update(()=>{let t=M(n);t&&t.setFields(d)})},0),s){let t=0;for(let l of Object.values(r))l?.valid===!1&&t++;k(t)}},[c,n,s,o]),$=x(r=>{y().then(d=>{let t=d?.fields[a.name]?.collapsed,l=t&&t?.length?t:[];r?l.includes(o.id)||l.push(o.id):l.includes(o.id)&&l.splice(l.indexOf(o.id),1),P(a.name,{collapsed:l,hello:"hi"})})},[y,a.name,P,o.id]),C=x(()=>{c.update(()=>{M(n).remove()})},[c,n]);return A(w.Fragment,{children:[F(H,{className:R,collapsibleStyle:h?"error":"default",header:A("div",{className:`${e}__block-header`,children:[A("div",{children:[F(q,{className:`${e}__block-pill ${e}__block-pill-${o?.blockType}`,pillStyle:"white",children:typeof g.singular=="string"?W(g.singular,S):"[Singular Label]"}),F(Q,{path:"blockName",readOnly:a?.readOnly}),h&&F(J,{count:p,i18n:S,withMessage:!0})]}),c.isEditable()&&F(z,{buttonStyle:"icon-label",className:`${e}__removeButton`,disabled:a?.readOnly,icon:"x",onClick:r=>{r.preventDefault(),C()},round:!0,tooltip:"Remove Block"})]}),isCollapsed:T,onToggle:r=>{$(r),B(r)},children:F(G,{className:`${e}__fields`,fieldMap:Array.isArray(m)?m:[],forceRender:!0,margins:"small",path:"",readOnly:!1,schemaPath:_})},0),F(O,{onChange:N})]})};import{jsx as u,jsxs as be}from"react/jsx-runtime";var f="lexical-block",Ie=i=>{let{formData:e,nodeKey:a}=i,o=se(),m=ce(),{id:n}=ie(),{path:g,schemaPath:_}=ne(),{editorConfig:S,field:c}=D(),[y,P]=ue(!1),{field:{richTextComponentMap:T}}=D(),B=`feature.blocks.fields.${e?.blockType}`,s=`${_}.feature.blocks.${e?.blockType}`,p=S?.resolvedFeatureMap?.get("blocks")?.clientFeatureProps?.reducedBlocks?.find(C=>C.slug===e?.blockType),k=T.get(B);pe(()=>{e&&(async()=>{let r=await V({apiRoute:o.routes.api,body:{id:n,data:JSON.parse(JSON.stringify(e)),operation:"update",schemaPath:s},serverURL:o.serverURL});r&&P({...r,blockName:{initialValue:"",passesCondition:!0,valid:!0,value:e.blockName}})})()},[o.routes.api,o.serverURL,s,n]);let h=me(async({formState:C})=>({...await V({apiRoute:o.routes.api,body:{id:n,formState:C,operation:"update",schemaPath:s},serverURL:o.serverURL}),blockName:{initialValue:"",passesCondition:!0,valid:!0,value:e.blockName}}),[o.routes.api,o.serverURL,s,n,e.blockName]),{i18n:R}=de(),N=[`${f}__row`,`${f}__row--no-errors`].filter(Boolean).join(" "),$=fe(()=>p&&y!==!1?u(te,{beforeSubmit:[h],fields:k,initialState:y,onChange:[h],submitted:m,uuid:he(),children:u(L,{baseClass:f,field:c,formData:e,formSchema:Array.isArray(k)?k:[],nodeKey:a,path:`${g}.feature.blocks.${e.blockType}`,reducedBlock:p,schemaPath:s})}):u(oe,{className:N,collapsibleStyle:"default",header:u("div",{className:`${f}__block-header`,children:be("div",{children:[u(ae,{className:`${f}__block-pill ${f}__block-pill-${e?.blockType}`,pillStyle:"white",children:typeof p.labels.singular=="string"?ye(p.labels.singular,R):"[Singular Label]"}),u(re,{path:"blockName",readOnly:c?.readOnly})]})}),children:u(le,{height:"35vh"})},0),[N,k,c,a,R,m,y,p,h,s,g]);return u("div",{className:f+" "+f+"-"+e.blockType,children:$})};export{Ie as BlockComponent};
2
- //# sourceMappingURL=component-RAVN56DE.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/field/features/blocks/component/index.tsx", "../../../src/field/features/blocks/component/BlockContent.tsx", "../../../src/field/features/blocks/component/FormSavePlugin.tsx", "../../../src/field/features/blocks/component/removeEmptyArrayValues.ts"],
4
- "sourcesContent": ["'use client'\n\nimport type { FormProps } from '@payloadcms/ui/forms/Form'\n\nimport {\n Collapsible,\n Form,\n Pill,\n SectionTitle,\n ShimmerEffect,\n useConfig,\n useDocumentInfo,\n useFieldProps,\n useFormSubmitted,\n useTranslation,\n} from '@payloadcms/ui/client'\nimport React, { useCallback, useEffect, useMemo, useState } from 'react'\n\nimport { type BlockFields } from '../nodes/BlocksNode.js'\nconst baseClass = 'lexical-block'\nimport type { ReducedBlock } from '@payloadcms/ui/utilities/buildComponentMap'\nimport type { FormState } from 'payload'\n\nimport { getTranslation } from '@payloadcms/translations'\nimport { getFormState } from '@payloadcms/ui/shared'\nimport { v4 as uuid } from 'uuid'\n\nimport type { ClientComponentProps } from '../../types.js'\nimport type { BlocksFeatureClientProps } from '../feature.client.js'\n\nimport { useEditorConfigContext } from '../../../lexical/config/client/EditorConfigProvider.js'\nimport { BlockContent } from './BlockContent.js'\ntype Props = {\n children?: React.ReactNode\n\n formData: BlockFields\n nodeKey?: string\n /**\n * This transformedFormData already comes wrapped in blockFieldWrapperName\n */\n transformedFormData: BlockFields\n}\n\nexport const BlockComponent: React.FC<Props> = (props) => {\n const { formData, nodeKey } = props\n const config = useConfig()\n const submitted = useFormSubmitted()\n const { id } = useDocumentInfo()\n const { path, schemaPath } = useFieldProps()\n const { editorConfig, field: parentLexicalRichTextField } = useEditorConfigContext()\n\n const [initialState, setInitialState] = useState<FormState | false>(false)\n const {\n field: { richTextComponentMap },\n } = useEditorConfigContext()\n\n const componentMapRenderedFieldsPath = `feature.blocks.fields.${formData?.blockType}`\n const schemaFieldsPath = `${schemaPath}.feature.blocks.${formData?.blockType}`\n\n const reducedBlock: ReducedBlock = (\n editorConfig?.resolvedFeatureMap?.get('blocks')\n ?.clientFeatureProps as ClientComponentProps<BlocksFeatureClientProps>\n )?.reducedBlocks?.find((block) => block.slug === formData?.blockType)\n\n const fieldMap = richTextComponentMap.get(componentMapRenderedFieldsPath)\n // Field Schema\n useEffect(() => {\n const awaitInitialState = async () => {\n const state = await getFormState({\n apiRoute: config.routes.api,\n body: {\n id,\n data: JSON.parse(JSON.stringify(formData)),\n operation: 'update',\n schemaPath: schemaFieldsPath,\n },\n serverURL: config.serverURL,\n }) // Form State\n\n if (state) {\n setInitialState({\n ...state,\n blockName: {\n initialValue: '',\n passesCondition: true,\n valid: true,\n value: formData.blockName,\n },\n })\n }\n }\n\n if (formData) {\n void awaitInitialState()\n }\n }, [config.routes.api, config.serverURL, schemaFieldsPath, id])\n\n const onChange: FormProps['onChange'][0] = useCallback(\n async ({ formState: prevFormState }) => {\n const formState = await getFormState({\n apiRoute: config.routes.api,\n body: {\n id,\n formState: prevFormState,\n operation: 'update',\n schemaPath: schemaFieldsPath,\n },\n serverURL: config.serverURL,\n })\n\n return {\n ...formState,\n blockName: {\n initialValue: '',\n passesCondition: true,\n valid: true,\n value: formData.blockName,\n },\n }\n },\n\n [config.routes.api, config.serverURL, schemaFieldsPath, id, formData.blockName],\n )\n const { i18n } = useTranslation()\n\n const classNames = [`${baseClass}__row`, `${baseClass}__row--no-errors`].filter(Boolean).join(' ')\n\n // Memoized Form JSX\n const formContent = useMemo(() => {\n return reducedBlock && initialState !== false ? (\n <Form\n beforeSubmit={[onChange]}\n // @ts-expect-error TODO: Fix this\n fields={fieldMap}\n initialState={initialState}\n onChange={[onChange]}\n submitted={submitted}\n uuid={uuid()}\n >\n <BlockContent\n baseClass={baseClass}\n field={parentLexicalRichTextField}\n formData={formData}\n formSchema={Array.isArray(fieldMap) ? fieldMap : []}\n nodeKey={nodeKey}\n path={`${path}.feature.blocks.${formData.blockType}`}\n reducedBlock={reducedBlock}\n schemaPath={schemaFieldsPath}\n />\n </Form>\n ) : (\n <Collapsible\n className={classNames}\n collapsibleStyle=\"default\"\n header={\n <div className={`${baseClass}__block-header`}>\n <div>\n <Pill\n className={`${baseClass}__block-pill ${baseClass}__block-pill-${formData?.blockType}`}\n pillStyle=\"white\"\n >\n {typeof reducedBlock.labels.singular === 'string'\n ? getTranslation(reducedBlock.labels.singular, i18n)\n : '[Singular Label]'}\n </Pill>\n <SectionTitle path=\"blockName\" readOnly={parentLexicalRichTextField?.readOnly} />\n </div>\n </div>\n }\n key={0}\n >\n <ShimmerEffect height=\"35vh\" />\n </Collapsible>\n )\n }, [\n classNames,\n fieldMap,\n parentLexicalRichTextField,\n nodeKey,\n i18n,\n submitted,\n initialState,\n reducedBlock,\n onChange,\n schemaFieldsPath,\n path,\n ]) // Adding formData to the dependencies here might break it\n return <div className={baseClass + ' ' + baseClass + '-' + formData.blockType}>{formContent}</div>\n}\n", "import type { FormFieldBase } from '@payloadcms/ui/fields/shared'\nimport type { FieldMap, ReducedBlock } from '@payloadcms/ui/utilities/buildComponentMap'\nimport type { CollapsedPreferences, Data, FormState } from 'payload'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport { getTranslation } from '@payloadcms/translations'\nimport {\n Button,\n Collapsible,\n ErrorPill,\n Pill,\n RenderFields,\n SectionTitle,\n useDocumentInfo,\n useFormSubmitted,\n useTranslation,\n} from '@payloadcms/ui/client'\nimport isDeepEqual from 'deep-equal'\nimport { $getNodeByKey } from 'lexical'\nimport React, { useCallback } from 'react'\n\nimport type { SanitizedClientEditorConfig } from '../../../lexical/config/types.js'\nimport type { BlockFields, BlockNode } from '../nodes/BlocksNode.js'\n\nimport { FormSavePlugin } from './FormSavePlugin.js'\n\ntype Props = {\n baseClass: string\n field: FormFieldBase & {\n editorConfig: SanitizedClientEditorConfig // With rendered features n stuff\n name: string\n richTextComponentMap: Map<string, React.ReactNode>\n }\n formData: BlockFields\n formSchema: FieldMap\n nodeKey: string\n path: string\n reducedBlock: ReducedBlock\n schemaPath: string\n}\n\n/**\n * The actual content of the Block. This should be INSIDE a Form component,\n * scoped to the block. All format operations in here are thus scoped to the block's form, and\n * not the whole document.\n */\nexport const BlockContent: React.FC<Props> = (props) => {\n const {\n baseClass,\n field,\n formData,\n formSchema,\n nodeKey,\n reducedBlock: { labels },\n schemaPath,\n } = props\n\n const { i18n } = useTranslation()\n const [editor] = useLexicalComposerContext()\n // Used for saving collapsed to preferences (and gettin' it from there again)\n // Remember, these preferences are scoped to the whole document, not just this form. This\n // is important to consider for the data path used in setDocFieldPreferences\n const { getDocPreferences, setDocFieldPreferences } = useDocumentInfo()\n\n const [isCollapsed, setIsCollapsed] = React.useState<boolean>(() => {\n let initialState = false\n\n void getDocPreferences().then((currentDocPreferences) => {\n const currentFieldPreferences = currentDocPreferences?.fields[field.name]\n\n const collapsedArray = currentFieldPreferences?.collapsed\n\n if (collapsedArray && collapsedArray.includes(formData.id)) {\n initialState = true\n setIsCollapsed(true)\n }\n })\n return initialState\n })\n\n const hasSubmitted = useFormSubmitted()\n\n const [errorCount, setErrorCount] = React.useState(0)\n\n const fieldHasErrors = hasSubmitted && errorCount > 0\n\n const classNames = [\n `${baseClass}__row`,\n fieldHasErrors ? `${baseClass}__row--has-errors` : `${baseClass}__row--no-errors`,\n ]\n .filter(Boolean)\n .join(' ')\n\n const onFormChange = useCallback(\n ({\n fullFieldsWithValues,\n newFormData,\n }: {\n fullFieldsWithValues: FormState\n newFormData: Data\n }) => {\n newFormData = {\n ...newFormData,\n id: formData.id,\n blockType: formData.blockType,\n }\n\n // Recursively remove all undefined values from even being present in formData, as they will\n // cause isDeepEqual to return false if, for example, formData has a key that fields.data\n // does not have, even if it's undefined.\n // Currently, this happens if a block has another sub-blocks field. Inside formData, that sub-blocks field has an undefined blockName property.\n // Inside of fields.data however, that sub-blocks blockName property does not exist at all.\n function removeUndefinedAndNullAndEmptyArraysRecursively(obj: object) {\n for (const key in obj) {\n const value = obj[key]\n if (Array.isArray(value) && !value?.length) {\n delete obj[key]\n } else if (value && typeof value === 'object') {\n removeUndefinedAndNullAndEmptyArraysRecursively(value)\n } else if (value === undefined || value === null) {\n delete obj[key]\n }\n }\n }\n removeUndefinedAndNullAndEmptyArraysRecursively(newFormData)\n\n removeUndefinedAndNullAndEmptyArraysRecursively(formData)\n\n // Only update if the data has actually changed. Otherwise, we may be triggering an unnecessary value change,\n // which would trigger the \"Leave without saving\" dialog unnecessarily\n if (!isDeepEqual(formData, newFormData)) {\n // Running this in the next tick in the meantime fixes this issue: https://github.com/payloadcms/payload/issues/4108\n // I don't know why. When this is called immediately, it might focus out of a nested lexical editor field if an update is made there.\n // My hypothesis is that the nested editor might not have fully finished its update cycle yet. By updating in the next tick, we\n // ensure that the nested editor has finished its update cycle before we update the block node.\n setTimeout(() => {\n editor.update(() => {\n const node: BlockNode = $getNodeByKey(nodeKey)\n if (node) {\n node.setFields(newFormData as BlockFields)\n }\n })\n }, 0)\n }\n\n // update error count\n if (hasSubmitted) {\n let rowErrorCount = 0\n for (const formField of Object.values(fullFieldsWithValues)) {\n if (formField?.valid === false) {\n rowErrorCount++\n }\n }\n setErrorCount(rowErrorCount)\n }\n },\n [editor, nodeKey, hasSubmitted, formData],\n )\n\n const onCollapsedChange = useCallback(\n (changedCollapsed: boolean) => {\n void getDocPreferences().then((currentDocPreferences) => {\n const currentFieldPreferences = currentDocPreferences?.fields[field.name]\n\n const collapsedArray = currentFieldPreferences?.collapsed\n\n const newCollapsed: CollapsedPreferences =\n collapsedArray && collapsedArray?.length ? collapsedArray : []\n\n if (changedCollapsed) {\n if (!newCollapsed.includes(formData.id)) {\n newCollapsed.push(formData.id)\n }\n } else {\n if (newCollapsed.includes(formData.id)) {\n newCollapsed.splice(newCollapsed.indexOf(formData.id), 1)\n }\n }\n\n setDocFieldPreferences(field.name, {\n collapsed: newCollapsed,\n hello: 'hi',\n })\n })\n },\n [getDocPreferences, field.name, setDocFieldPreferences, formData.id],\n )\n\n const removeBlock = useCallback(() => {\n editor.update(() => {\n $getNodeByKey(nodeKey).remove()\n })\n }, [editor, nodeKey])\n\n return (\n <React.Fragment>\n <Collapsible\n className={classNames}\n collapsibleStyle={fieldHasErrors ? 'error' : 'default'}\n header={\n <div className={`${baseClass}__block-header`}>\n <div>\n <Pill\n className={`${baseClass}__block-pill ${baseClass}__block-pill-${formData?.blockType}`}\n pillStyle=\"white\"\n >\n {typeof labels.singular === 'string'\n ? getTranslation(labels.singular, i18n)\n : '[Singular Label]'}\n </Pill>\n <SectionTitle path=\"blockName\" readOnly={field?.readOnly} />\n {fieldHasErrors && <ErrorPill count={errorCount} i18n={i18n} withMessage />}\n </div>\n {editor.isEditable() && (\n <Button\n buttonStyle=\"icon-label\"\n className={`${baseClass}__removeButton`}\n disabled={field?.readOnly}\n icon=\"x\"\n onClick={(e) => {\n e.preventDefault()\n removeBlock()\n }}\n round\n tooltip=\"Remove Block\"\n />\n )}\n </div>\n }\n isCollapsed={isCollapsed}\n key={0}\n onToggle={(incomingCollapsedState) => {\n onCollapsedChange(incomingCollapsedState)\n setIsCollapsed(incomingCollapsedState)\n }}\n >\n <RenderFields\n className={`${baseClass}__fields`}\n fieldMap={Array.isArray(formSchema) ? formSchema : []}\n forceRender\n margins=\"small\"\n path=\"\" // Leaving path empty makes it so field values are not prefixed / scoped by the entire schemaPath. e.g. we can access \"myField\" instead of \"someLexicalField.feature.blocks.someArrayB\" // TODO: Could there be any implications leaving path different than schemaPath?\n readOnly={false}\n schemaPath={schemaPath} // Having the correct schemaPath here allows sub-fields (like array > addRow) to run correct form-state calls and retrieve their needed form state from the server\n />\n </Collapsible>\n\n <FormSavePlugin onChange={onFormChange} />\n </React.Fragment>\n )\n}\n", "import type { Data, FormState } from 'payload'\nimport type React from 'react'\n\nimport { useAllFormFields } from '@payloadcms/ui/client'\nimport { reduceFieldsToValues } from '@payloadcms/ui/shared'\nimport { useEffect } from 'react'\n\nimport { removeEmptyArrayValues } from './removeEmptyArrayValues.js'\n\ntype Props = {\n onChange?: ({\n fullFieldsWithValues,\n newFormData,\n }: {\n fullFieldsWithValues: FormState\n newFormData: Data\n }) => void\n}\n\nexport const FormSavePlugin: React.FC<Props> = (props) => {\n const { onChange } = props\n\n const [_fields] = useAllFormFields()\n\n const fields = removeEmptyArrayValues({ fields: _fields })\n\n // Pass in fields, and indicate if you'd like to \"unflatten\" field data.\n // The result below will reflect the data stored in the form at the given time\n const newFormData = reduceFieldsToValues(fields, true)\n\n useEffect(() => {\n if (onChange) {\n onChange({ fullFieldsWithValues: fields, newFormData })\n }\n }, [newFormData, onChange, fields])\n\n return null\n}\n", "import type { FormState } from 'payload'\n\n/**\n * By default, if an array field is empty, it will be included in the form state with a value of 0.\n * We do not need this behavior here, By setting `disableFormData` to true, we can prevent the field from being included in the form state\n * like that.\n * @param fields form state\n */\nexport function removeEmptyArrayValues({ fields }: { fields: FormState }): FormState {\n for (const key in fields) {\n const field = fields[key]\n if (Array.isArray(field.rows) && 'value' in field) {\n field.disableFormData = true\n }\n }\n return fields\n}\n"],
5
- "mappings": "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",
6
- "names": ["Collapsible", "Form", "Pill", "SectionTitle", "ShimmerEffect", "useConfig", "useDocumentInfo", "useFieldProps", "useFormSubmitted", "useTranslation", "useCallback", "useEffect", "useMemo", "useState", "getTranslation", "getFormState", "uuid", "useLexicalComposerContext", "getTranslation", "Button", "Collapsible", "ErrorPill", "Pill", "RenderFields", "SectionTitle", "useDocumentInfo", "useFormSubmitted", "useTranslation", "isDeepEqual", "$getNodeByKey", "React", "useCallback", "useAllFormFields", "reduceFieldsToValues", "useEffect", "removeEmptyArrayValues", "fields", "key", "field", "FormSavePlugin", "props", "onChange", "_fields", "useAllFormFields", "fields", "removeEmptyArrayValues", "newFormData", "reduceFieldsToValues", "useEffect", "jsx", "jsxs", "BlockContent", "props", "baseClass", "field", "formData", "formSchema", "nodeKey", "labels", "schemaPath", "i18n", "useTranslation", "editor", "useLexicalComposerContext", "getDocPreferences", "setDocFieldPreferences", "useDocumentInfo", "isCollapsed", "setIsCollapsed", "React", "initialState", "currentDocPreferences", "collapsedArray", "hasSubmitted", "useFormSubmitted", "errorCount", "setErrorCount", "fieldHasErrors", "classNames", "onFormChange", "useCallback", "fullFieldsWithValues", "newFormData", "removeUndefinedAndNullAndEmptyArraysRecursively", "obj", "key", "value", "isDeepEqual", "node", "$getNodeByKey", "rowErrorCount", "formField", "onCollapsedChange", "changedCollapsed", "newCollapsed", "removeBlock", "Collapsible", "Pill", "getTranslation", "SectionTitle", "ErrorPill", "Button", "e", "incomingCollapsedState", "RenderFields", "FormSavePlugin", "jsx", "jsxs", "baseClass", "BlockComponent", "props", "formData", "nodeKey", "config", "useConfig", "submitted", "useFormSubmitted", "id", "useDocumentInfo", "path", "schemaPath", "useFieldProps", "editorConfig", "parentLexicalRichTextField", "useEditorConfigContext", "initialState", "setInitialState", "useState", "richTextComponentMap", "componentMapRenderedFieldsPath", "schemaFieldsPath", "reducedBlock", "block", "fieldMap", "useEffect", "state", "getFormState", "onChange", "useCallback", "prevFormState", "i18n", "useTranslation", "classNames", "formContent", "useMemo", "Form", "uuid", "BlockContent", "Collapsible", "Pill", "getTranslation", "SectionTitle", "ShimmerEffect"]
7
- }
@@ -1,2 +0,0 @@
1
- "use client";import{a as j,b as W,e as Y}from"./chunk-M6MN4CA5.js";import{b as N}from"./chunk-Y5455JF3.js";import{useLexicalComposerContext as Ce}from"@lexical/react/LexicalComposerContext.js";import{useLexicalNodeSelection as ge}from"@lexical/react/useLexicalNodeSelection.js";import{mergeRegister as ve}from"@lexical/utils";import{getTranslation as ye}from"@payloadcms/translations";import{Button as T,DrawerToggler as De,File as be,useConfig as he,useDocumentDrawer as Re,useDrawerSlug as Se,usePayloadAPI as _e,useTranslation as Ee}from"@payloadcms/ui/client";import{$getNodeByKey as z,$getSelection as we,$isNodeSelection as Ne,CLICK_COMMAND as Ue,COMMAND_PRIORITY_LOW as O,KEY_BACKSPACE_COMMAND as Pe,KEY_DELETE_COMMAND as Fe}from"lexical";import{useCallback as U,useEffect as $e,useReducer as xe,useRef as Me,useState as Le}from"react";import{useLexicalComposerContext as X}from"@lexical/react/LexicalComposerContext.js";import{getTranslation as Z}from"@payloadcms/translations";import{Drawer as ee,Form as te,FormSubmit as oe,RenderFields as ae,useConfig as re,useDocumentInfo as le,useFieldProps as ie,useModal as ne,useTranslation as se}from"@payloadcms/ui/client";import{getFormState as H}from"@payloadcms/ui/shared";import{$getNodeByKey as de}from"lexical";import{deepCopyObject as ce}from"payload/shared";import{useCallback as V,useEffect as me,useState as pe}from"react";import{v4 as ue}from"uuid";import{jsx as L,jsxs as fe}from"react/jsx-runtime";var q=d=>{let{data:{fields:P,relationTo:F,value:C},drawerSlug:a,nodeKey:R,relatedCollection:g}=d,[S]=X(),{closeModal:m}=ne(),{i18n:r,t:l}=se(),{id:n}=le(),{schemaPath:v}=ie(),i=re(),[p,$]=pe(!1),{field:{richTextComponentMap:y}}=N(),_=`feature.upload.fields.${g.slug}`,c=`${v}.feature.upload.${g.slug}`,s=y.get(_);me(()=>{(async()=>{let b=await H({apiRoute:i.routes.api,body:{id:n,data:ce(P||{}),operation:"update",schemaPath:c},serverURL:i.serverURL});$(b)})()},[i.routes.api,i.serverURL,c,n,P]);let x=V(async({formState:D})=>await H({apiRoute:i.routes.api,body:{id:n,formState:D,operation:"update",schemaPath:c},serverURL:i.serverURL}),[i.routes.api,i.serverURL,c,n]),E=V((D,b)=>{S.update(()=>{let u=de(R);if(u){let f={...u.getData(),fields:b};u.setData(f)}}),m(a)},[m,S,a,R]);return L(ee,{slug:a,title:l("general:editLabel",{label:Z(g.labels.singular,r)}),children:p!==!1&&fe(te,{beforeSubmit:[x],disableValidationOnSubmit:!0,fields:s,initialState:p,onChange:[x],onSubmit:E,uuid:ue(),children:[L(ae,{fieldMap:Array.isArray(s)?s:[],forceRender:!0,path:"",readOnly:!1,schemaPath:c}),L(oe,{children:l("fields:saveChanges")})]})})};import{jsx as e,jsxs as h}from"react/jsx-runtime";var o="lexical-upload",G={depth:0},Te=d=>{let{data:{fields:P,relationTo:F,value:C},nodeKey:a}=d,{collections:R,routes:{api:g},serverURL:S}=he(),m=Me(null),[r]=Ce(),[l,n,v]=ge(a),{editorConfig:i,field:p}=N(),{i18n:$,t:y}=Ee(),[_,c]=xe(t=>t+1,0),[s,x]=Le(()=>R.find(t=>t.slug===F)),E=Se("upload-drawer"),[D,b,{closeDrawer:u}]=Re({id:C,collectionSlug:s.slug}),[{data:f},{setParams:A}]=_e(`${S}${g}/${s.slug}/${C}`,{initialParams:G}),K=f?.thumbnailURL||f?.url,J=U(()=>{r.update(()=>{z(a).remove()})},[r,a]),Q=U(t=>{A({...G,cacheBust:_}),c(),u()},[A,_,u]),M=U(t=>{if(l&&Ne(we())){t.preventDefault();let k=z(a);if(Y(k))return k.remove(),!0}return!1},[l,a]),I=U(t=>{let w=t;return w.target===m.current||m.current?.contains(w.target)?(w.shiftKey?n(!l):l||(v(),n(!0)),!0):!1},[l,n,v]);$e(()=>ve(r.registerCommand(Ue,I,O),r.registerCommand(Fe,M,O),r.registerCommand(Pe,M,O)),[v,r,l,a,M,n,I]);let B=(i?.resolvedFeatureMap?.get("upload")?.clientFeatureProps).collections?.[s.slug]?.hasExtraFields;return h("div",{className:[o,l&&`${o}--selected`].filter(Boolean).join(" "),contentEditable:!1,ref:m,children:[h("div",{className:`${o}__card`,children:[h("div",{className:`${o}__topRow`,children:[e("div",{className:`${o}__thumbnail`,children:K?e("img",{alt:f?.filename,"data-lexical-upload-id":C,"data-lexical-upload-relation-to":F,src:K}):e(be,{})}),h("div",{className:`${o}__topRowRightPanel`,children:[e("div",{className:`${o}__collectionLabel`,children:ye(s.labels.singular,$)}),r.isEditable()&&h("div",{className:`${o}__actions`,children:[B?e(De,{className:`${o}__upload-drawer-toggler`,disabled:p?.readOnly,slug:E,children:e(T,{buttonStyle:"icon-label",el:"div",icon:"edit",onClick:t=>{t.preventDefault()},round:!0,tooltip:y("fields:editRelationship")})}):null,e(T,{buttonStyle:"icon-label",disabled:p?.readOnly,el:"div",icon:"swap",onClick:()=>{r.dispatchCommand(W,{replace:{nodeKey:a}})},round:!0,tooltip:y("fields:swapUpload")}),e(T,{buttonStyle:"icon-label",className:`${o}__removeButton`,disabled:p?.readOnly,icon:"x",onClick:t=>{t.preventDefault(),J()},round:!0,tooltip:y("fields:removeUpload")})]})]})]}),e("div",{className:`${o}__bottomRow`,children:e(b,{className:`${o}__doc-drawer-toggler`,children:e("strong",{children:f?.filename})})})]}),C&&e(D,{onSave:Q}),B?e(q,{drawerSlug:E,relatedCollection:s,...d}):null]})},nt=d=>e(j,{...d,uploads:!0,children:e(Te,{...d})});export{nt as UploadComponent};
2
- //# sourceMappingURL=component-Z34HXRX3.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/field/features/upload/component/index.tsx", "../../../src/field/features/upload/component/ExtraFieldsDrawer/index.tsx"],
4
- "sourcesContent": ["'use client'\nimport type { ClientCollectionConfig } from 'payload'\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 DrawerToggler,\n File,\n useConfig,\n useDocumentDrawer,\n useDrawerSlug,\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 { ClientComponentProps } from '../../types.js'\nimport type { UploadFeaturePropsClient } from '../feature.client.js'\nimport type { UploadData } from '../nodes/UploadNode.js'\n\nimport { useEditorConfigContext } from '../../../lexical/config/client/EditorConfigProvider.js'\nimport { EnabledRelationshipsCondition } from '../../relationship/utils/EnabledRelationshipsCondition.js'\nimport { INSERT_UPLOAD_WITH_DRAWER_COMMAND } from '../drawer/commands.js'\nimport { $isUploadNode } from '../nodes/UploadNode.js'\nimport { ExtraFieldsUploadDrawer } from './ExtraFieldsDrawer/index.js'\nconst baseClass = 'lexical-upload'\n\nconst initialParams = {\n depth: 0,\n}\n\nexport type ElementProps = {\n data: UploadData\n nodeKey: string\n}\n\nconst Component: React.FC<ElementProps> = (props) => {\n const {\n data: { fields, relationTo, value },\n nodeKey,\n } = props\n\n const {\n collections,\n routes: { api },\n serverURL,\n } = useConfig()\n const uploadRef = useRef<HTMLDivElement | null>(null)\n\n const [editor] = useLexicalComposerContext()\n const [isSelected, setSelected, clearSelection] = useLexicalNodeSelection(nodeKey)\n\n const { editorConfig, field } = useEditorConfigContext()\n\n const { i18n, t } = useTranslation()\n const [cacheBust, dispatchCacheBust] = useReducer((state) => state + 1, 0)\n const [relatedCollection, setRelatedCollection] = useState<ClientCollectionConfig>(() =>\n collections.find((coll) => coll.slug === relationTo),\n )\n\n const drawerSlug = useDrawerSlug('upload-drawer')\n\n const [DocumentDrawer, DocumentDrawerToggler, { closeDrawer }] = useDocumentDrawer({\n id: value,\n collectionSlug: relatedCollection.slug,\n })\n\n // Get the referenced document\n const [{ data }, { setParams }] = usePayloadAPI(\n `${serverURL}${api}/${relatedCollection.slug}/${value}`,\n { initialParams },\n )\n\n const thumbnailSRC = data?.thumbnailURL || data?.url\n\n const removeUpload = useCallback(() => {\n editor.update(() => {\n $getNodeByKey(nodeKey).remove()\n })\n }, [editor, nodeKey])\n\n const updateUpload = useCallback(\n (json) => {\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 dispatchCacheBust()\n closeDrawer()\n },\n [setParams, cacheBust, 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 ($isUploadNode(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 uploadRef.target or anything WITHIN uploadRef.target was clicked\n if (event.target === uploadRef.current || uploadRef.current?.contains(event.target as Node)) {\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 const hasExtraFields = (\n editorConfig?.resolvedFeatureMap?.get('upload')\n ?.clientFeatureProps as ClientComponentProps<UploadFeaturePropsClient>\n ).collections?.[relatedCollection.slug]?.hasExtraFields\n\n return (\n <div\n className={[baseClass, isSelected && `${baseClass}--selected`].filter(Boolean).join(' ')}\n contentEditable={false}\n ref={uploadRef}\n >\n <div className={`${baseClass}__card`}>\n <div className={`${baseClass}__topRow`}>\n {/* TODO: migrate to use @payloadcms/ui/elements/Thumbnail component */}\n <div className={`${baseClass}__thumbnail`}>\n {thumbnailSRC ? (\n <img\n alt={data?.filename}\n data-lexical-upload-id={value}\n data-lexical-upload-relation-to={relationTo}\n src={thumbnailSRC}\n />\n ) : (\n <File />\n )}\n </div>\n <div className={`${baseClass}__topRowRightPanel`}>\n <div className={`${baseClass}__collectionLabel`}>\n {getTranslation(relatedCollection.labels.singular, i18n)}\n </div>\n {editor.isEditable() && (\n <div className={`${baseClass}__actions`}>\n {hasExtraFields ? (\n <DrawerToggler\n className={`${baseClass}__upload-drawer-toggler`}\n disabled={field?.readOnly}\n slug={drawerSlug}\n >\n <Button\n buttonStyle=\"icon-label\"\n el=\"div\"\n icon=\"edit\"\n onClick={(e) => {\n e.preventDefault()\n }}\n round\n tooltip={t('fields:editRelationship')}\n />\n </DrawerToggler>\n ) : null}\n\n <Button\n buttonStyle=\"icon-label\"\n disabled={field?.readOnly}\n el=\"div\"\n icon=\"swap\"\n onClick={() => {\n editor.dispatchCommand(INSERT_UPLOAD_WITH_DRAWER_COMMAND, {\n replace: { nodeKey },\n })\n }}\n round\n tooltip={t('fields:swapUpload')}\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 removeUpload()\n }}\n round\n tooltip={t('fields:removeUpload')}\n />\n </div>\n )}\n </div>\n </div>\n <div className={`${baseClass}__bottomRow`}>\n <DocumentDrawerToggler className={`${baseClass}__doc-drawer-toggler`}>\n <strong>{data?.filename}</strong>\n </DocumentDrawerToggler>\n </div>\n </div>\n {value && <DocumentDrawer onSave={updateUpload} />}\n {hasExtraFields ? (\n <ExtraFieldsUploadDrawer\n drawerSlug={drawerSlug}\n relatedCollection={relatedCollection}\n {...props}\n />\n ) : null}\n </div>\n )\n}\n\nexport const UploadComponent = (props: ElementProps): React.ReactNode => {\n return (\n <EnabledRelationshipsCondition {...props} uploads>\n <Component {...props} />\n </EnabledRelationshipsCondition>\n )\n}\n", "'use client'\nimport type { FormProps } from '@payloadcms/ui/forms/Form'\nimport type { ClientCollectionConfig, FormState } from 'payload'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport { getTranslation } from '@payloadcms/translations'\nimport {\n Drawer,\n Form,\n FormSubmit,\n RenderFields,\n useConfig,\n useDocumentInfo,\n useFieldProps,\n useModal,\n useTranslation,\n} from '@payloadcms/ui/client'\nimport { getFormState } from '@payloadcms/ui/shared'\nimport { $getNodeByKey } from 'lexical'\nimport { deepCopyObject } from 'payload/shared'\nimport React, { useCallback, useEffect, useState } from 'react'\nimport { v4 as uuid } from 'uuid'\n\nimport type { UploadData, UploadNode } from '../../nodes/UploadNode.js'\nimport type { ElementProps } from '../index.js'\n\nimport { useEditorConfigContext } from '../../../../lexical/config/client/EditorConfigProvider.js'\n\n/**\n * This handles the extra fields, e.g. captions or alt text, which are\n * potentially added to the upload feature.\n */\nexport const ExtraFieldsUploadDrawer: React.FC<\n ElementProps & {\n drawerSlug: string\n relatedCollection: ClientCollectionConfig\n }\n> = (props) => {\n const {\n data: { fields, relationTo, value },\n drawerSlug,\n nodeKey,\n relatedCollection,\n } = props\n\n const [editor] = useLexicalComposerContext()\n\n const { closeModal } = useModal()\n\n const { i18n, t } = useTranslation()\n const { id } = useDocumentInfo()\n const { schemaPath } = useFieldProps()\n const config = useConfig()\n const [initialState, setInitialState] = useState<FormState | false>(false)\n const {\n field: { richTextComponentMap },\n } = useEditorConfigContext()\n\n const componentMapRenderedFieldsPath = `feature.upload.fields.${relatedCollection.slug}`\n const schemaFieldsPath = `${schemaPath}.feature.upload.${relatedCollection.slug}`\n\n const fieldMap = richTextComponentMap.get(componentMapRenderedFieldsPath) // Field Schema\n\n useEffect(() => {\n const awaitInitialState = async () => {\n const state = await getFormState({\n apiRoute: config.routes.api,\n body: {\n id,\n data: deepCopyObject(fields || {}),\n operation: 'update',\n schemaPath: schemaFieldsPath,\n },\n serverURL: config.serverURL,\n }) // Form State\n\n setInitialState(state)\n }\n\n void awaitInitialState()\n }, [config.routes.api, config.serverURL, schemaFieldsPath, id, fields])\n\n const onChange: FormProps['onChange'][0] = useCallback(\n async ({ formState: prevFormState }) => {\n return await getFormState({\n apiRoute: config.routes.api,\n body: {\n id,\n formState: prevFormState,\n operation: 'update',\n schemaPath: schemaFieldsPath,\n },\n serverURL: config.serverURL,\n })\n },\n\n [config.routes.api, config.serverURL, schemaFieldsPath, id],\n )\n\n const handleUpdateEditData = useCallback(\n (_, data) => {\n // Update lexical node (with key nodeKey) with new data\n editor.update(() => {\n const uploadNode: UploadNode | null = $getNodeByKey(nodeKey)\n if (uploadNode) {\n const newData: UploadData = {\n ...uploadNode.getData(),\n fields: data,\n }\n uploadNode.setData(newData)\n }\n })\n\n closeModal(drawerSlug)\n },\n [closeModal, editor, drawerSlug, nodeKey],\n )\n\n return (\n <Drawer\n slug={drawerSlug}\n title={t('general:editLabel', {\n label: getTranslation(relatedCollection.labels.singular, i18n),\n })}\n >\n {initialState !== false && (\n <Form\n beforeSubmit={[onChange]}\n disableValidationOnSubmit\n // @ts-expect-error TODO: Fix this\n fields={fieldMap}\n initialState={initialState}\n onChange={[onChange]}\n onSubmit={handleUpdateEditData}\n uuid={uuid()}\n >\n <RenderFields\n fieldMap={Array.isArray(fieldMap) ? fieldMap : []}\n forceRender\n path=\"\" // See Blocks feature path for details as for why this is empty\n readOnly={false}\n schemaPath={schemaFieldsPath}\n />\n <FormSubmit>{t('fields:saveChanges')}</FormSubmit>\n </Form>\n )}\n </Drawer>\n )\n}\n"],
5
- "mappings": "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",
6
- "names": ["useLexicalComposerContext", "useLexicalNodeSelection", "mergeRegister", "getTranslation", "Button", "DrawerToggler", "File", "useConfig", "useDocumentDrawer", "useDrawerSlug", "usePayloadAPI", "useTranslation", "$getNodeByKey", "$getSelection", "$isNodeSelection", "CLICK_COMMAND", "COMMAND_PRIORITY_LOW", "KEY_BACKSPACE_COMMAND", "KEY_DELETE_COMMAND", "useCallback", "useEffect", "useReducer", "useRef", "useState", "useLexicalComposerContext", "getTranslation", "Drawer", "Form", "FormSubmit", "RenderFields", "useConfig", "useDocumentInfo", "useFieldProps", "useModal", "useTranslation", "getFormState", "$getNodeByKey", "deepCopyObject", "useCallback", "useEffect", "useState", "uuid", "jsx", "jsxs", "ExtraFieldsUploadDrawer", "props", "fields", "relationTo", "value", "drawerSlug", "nodeKey", "relatedCollection", "editor", "useLexicalComposerContext", "closeModal", "useModal", "i18n", "t", "useTranslation", "id", "useDocumentInfo", "schemaPath", "useFieldProps", "config", "useConfig", "initialState", "setInitialState", "useState", "richTextComponentMap", "useEditorConfigContext", "componentMapRenderedFieldsPath", "schemaFieldsPath", "fieldMap", "useEffect", "state", "getFormState", "deepCopyObject", "onChange", "useCallback", "prevFormState", "handleUpdateEditData", "_", "data", "uploadNode", "$getNodeByKey", "newData", "Drawer", "getTranslation", "Form", "uuid", "RenderFields", "FormSubmit", "jsx", "jsxs", "baseClass", "initialParams", "Component", "props", "fields", "relationTo", "value", "nodeKey", "collections", "api", "serverURL", "useConfig", "uploadRef", "useRef", "editor", "useLexicalComposerContext", "isSelected", "setSelected", "clearSelection", "useLexicalNodeSelection", "editorConfig", "field", "useEditorConfigContext", "i18n", "t", "useTranslation", "cacheBust", "dispatchCacheBust", "useReducer", "state", "relatedCollection", "setRelatedCollection", "useState", "coll", "drawerSlug", "useDrawerSlug", "DocumentDrawer", "DocumentDrawerToggler", "closeDrawer", "useDocumentDrawer", "data", "setParams", "usePayloadAPI", "thumbnailSRC", "removeUpload", "useCallback", "$getNodeByKey", "updateUpload", "json", "$onDelete", "payload", "$isNodeSelection", "$getSelection", "node", "$isUploadNode", "onClick", "event", "useEffect", "mergeRegister", "CLICK_COMMAND", "COMMAND_PRIORITY_LOW", "KEY_DELETE_COMMAND", "KEY_BACKSPACE_COMMAND", "hasExtraFields", "File", "getTranslation", "DrawerToggler", "Button", "e", "INSERT_UPLOAD_WITH_DRAWER_COMMAND", "ExtraFieldsUploadDrawer", "UploadComponent", "EnabledRelationshipsCondition"]
7
- }
@@ -1,6 +0,0 @@
1
- /// <reference types="react" resolution-mode="require"/>
2
- export declare const AlignFeatureClientComponent: import("react").FC<{
3
- featureKey: string;
4
- order: number;
5
- }>;
6
- //# sourceMappingURL=feature.client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"feature.client.d.ts","sourceRoot":"","sources":["../../../../src/field/features/align/feature.client.tsx"],"names":[],"mappings":";AAsKA,eAAO,MAAM,2BAA2B;;;EAA4C,CAAA"}
@@ -1,153 +0,0 @@
1
- 'use client';
2
- import { $isElementNode, $isRangeSelection, FORMAT_ELEMENT_COMMAND } from 'lexical';
3
- import { AlignCenterIcon } from '../../lexical/ui/icons/AlignCenter/index.js';
4
- import { AlignJustifyIcon } from '../../lexical/ui/icons/AlignJustify/index.js';
5
- import { AlignLeftIcon } from '../../lexical/ui/icons/AlignLeft/index.js';
6
- import { AlignRightIcon } from '../../lexical/ui/icons/AlignRight/index.js';
7
- import { createClientComponent } from '../createClientComponent.js';
8
- import { toolbarAlignGroupWithItems } from './toolbarAlignGroup.js';
9
- const toolbarGroups = [
10
- toolbarAlignGroupWithItems([
11
- {
12
- ChildComponent: AlignLeftIcon,
13
- isActive: ({ selection })=>{
14
- if (!$isRangeSelection(selection)) {
15
- return false;
16
- }
17
- for (const node of selection.getNodes()){
18
- if ($isElementNode(node)) {
19
- if (node.getFormatType() === 'left') {
20
- continue;
21
- }
22
- }
23
- const parent = node.getParent();
24
- if ($isElementNode(parent)) {
25
- if (parent.getFormatType() === 'left') {
26
- continue;
27
- }
28
- }
29
- return false;
30
- }
31
- return true;
32
- },
33
- key: 'alignLeft',
34
- label: ({ i18n })=>{
35
- return i18n.t('lexical:align:alignLeftLabel');
36
- },
37
- onSelect: ({ editor })=>{
38
- editor.dispatchCommand(FORMAT_ELEMENT_COMMAND, 'left');
39
- },
40
- order: 1
41
- },
42
- {
43
- ChildComponent: AlignCenterIcon,
44
- isActive: ({ selection })=>{
45
- if (!$isRangeSelection(selection)) {
46
- return false;
47
- }
48
- for (const node of selection.getNodes()){
49
- if ($isElementNode(node)) {
50
- if (node.getFormatType() === 'center') {
51
- continue;
52
- }
53
- }
54
- const parent = node.getParent();
55
- if ($isElementNode(parent)) {
56
- if (parent.getFormatType() === 'center') {
57
- continue;
58
- }
59
- }
60
- return false;
61
- }
62
- return true;
63
- },
64
- key: 'alignCenter',
65
- label: ({ i18n })=>{
66
- return i18n.t('lexical:align:alignCenterLabel');
67
- },
68
- onSelect: ({ editor })=>{
69
- editor.dispatchCommand(FORMAT_ELEMENT_COMMAND, 'center');
70
- },
71
- order: 2
72
- },
73
- {
74
- ChildComponent: AlignRightIcon,
75
- isActive: ({ selection })=>{
76
- if (!$isRangeSelection(selection)) {
77
- return false;
78
- }
79
- for (const node of selection.getNodes()){
80
- if ($isElementNode(node)) {
81
- if (node.getFormatType() === 'right') {
82
- continue;
83
- }
84
- }
85
- const parent = node.getParent();
86
- if ($isElementNode(parent)) {
87
- if (parent.getFormatType() === 'right') {
88
- continue;
89
- }
90
- }
91
- return false;
92
- }
93
- return true;
94
- },
95
- key: 'alignRight',
96
- label: ({ i18n })=>{
97
- return i18n.t('lexical:align:alignRightLabel');
98
- },
99
- onSelect: ({ editor })=>{
100
- editor.dispatchCommand(FORMAT_ELEMENT_COMMAND, 'right');
101
- },
102
- order: 3
103
- },
104
- {
105
- ChildComponent: AlignJustifyIcon,
106
- isActive: ({ selection })=>{
107
- if (!$isRangeSelection(selection)) {
108
- return false;
109
- }
110
- for (const node of selection.getNodes()){
111
- if ($isElementNode(node)) {
112
- if (node.getFormatType() === 'justify') {
113
- continue;
114
- }
115
- }
116
- const parent = node.getParent();
117
- if ($isElementNode(parent)) {
118
- if (parent.getFormatType() === 'justify') {
119
- continue;
120
- }
121
- }
122
- return false;
123
- }
124
- return true;
125
- },
126
- key: 'alignJustify',
127
- label: ({ i18n })=>{
128
- return i18n.t('lexical:align:alignJustifyLabel');
129
- },
130
- onSelect: ({ editor })=>{
131
- editor.dispatchCommand(FORMAT_ELEMENT_COMMAND, 'justify');
132
- },
133
- order: 4
134
- }
135
- ])
136
- ];
137
- const AlignFeatureClient = (props)=>{
138
- return {
139
- clientFeatureProps: props,
140
- feature: ()=>({
141
- clientFeatureProps: props,
142
- toolbarFixed: {
143
- groups: toolbarGroups
144
- },
145
- toolbarInline: {
146
- groups: toolbarGroups
147
- }
148
- })
149
- };
150
- };
151
- export const AlignFeatureClientComponent = createClientComponent(AlignFeatureClient);
152
-
153
- //# sourceMappingURL=feature.client.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/field/features/align/feature.client.tsx"],"sourcesContent":["'use client'\n\nimport { $isElementNode, $isRangeSelection, FORMAT_ELEMENT_COMMAND } from 'lexical'\n\nimport type { ToolbarGroup } from '../toolbars/types.js'\nimport type { FeatureProviderProviderClient } from '../types.js'\n\nimport { AlignCenterIcon } from '../../lexical/ui/icons/AlignCenter/index.js'\nimport { AlignJustifyIcon } from '../../lexical/ui/icons/AlignJustify/index.js'\nimport { AlignLeftIcon } from '../../lexical/ui/icons/AlignLeft/index.js'\nimport { AlignRightIcon } from '../../lexical/ui/icons/AlignRight/index.js'\nimport { createClientComponent } from '../createClientComponent.js'\nimport { toolbarAlignGroupWithItems } from './toolbarAlignGroup.js'\n\nconst toolbarGroups: ToolbarGroup[] = [\n toolbarAlignGroupWithItems([\n {\n ChildComponent: AlignLeftIcon,\n isActive: ({ selection }) => {\n if (!$isRangeSelection(selection)) {\n return false\n }\n for (const node of selection.getNodes()) {\n if ($isElementNode(node)) {\n if (node.getFormatType() === 'left') {\n continue\n }\n }\n\n const parent = node.getParent()\n if ($isElementNode(parent)) {\n if (parent.getFormatType() === 'left') {\n continue\n }\n }\n\n return false\n }\n return true\n },\n key: 'alignLeft',\n label: ({ i18n }) => {\n return i18n.t('lexical:align:alignLeftLabel')\n },\n onSelect: ({ editor }) => {\n editor.dispatchCommand(FORMAT_ELEMENT_COMMAND, 'left')\n },\n order: 1,\n },\n {\n ChildComponent: AlignCenterIcon,\n isActive: ({ selection }) => {\n if (!$isRangeSelection(selection)) {\n return false\n }\n for (const node of selection.getNodes()) {\n if ($isElementNode(node)) {\n if (node.getFormatType() === 'center') {\n continue\n }\n }\n\n const parent = node.getParent()\n if ($isElementNode(parent)) {\n if (parent.getFormatType() === 'center') {\n continue\n }\n }\n\n return false\n }\n return true\n },\n key: 'alignCenter',\n label: ({ i18n }) => {\n return i18n.t('lexical:align:alignCenterLabel')\n },\n onSelect: ({ editor }) => {\n editor.dispatchCommand(FORMAT_ELEMENT_COMMAND, 'center')\n },\n order: 2,\n },\n {\n ChildComponent: AlignRightIcon,\n isActive: ({ selection }) => {\n if (!$isRangeSelection(selection)) {\n return false\n }\n for (const node of selection.getNodes()) {\n if ($isElementNode(node)) {\n if (node.getFormatType() === 'right') {\n continue\n }\n }\n\n const parent = node.getParent()\n if ($isElementNode(parent)) {\n if (parent.getFormatType() === 'right') {\n continue\n }\n }\n\n return false\n }\n return true\n },\n key: 'alignRight',\n label: ({ i18n }) => {\n return i18n.t('lexical:align:alignRightLabel')\n },\n onSelect: ({ editor }) => {\n editor.dispatchCommand(FORMAT_ELEMENT_COMMAND, 'right')\n },\n order: 3,\n },\n {\n ChildComponent: AlignJustifyIcon,\n isActive: ({ selection }) => {\n if (!$isRangeSelection(selection)) {\n return false\n }\n for (const node of selection.getNodes()) {\n if ($isElementNode(node)) {\n if (node.getFormatType() === 'justify') {\n continue\n }\n }\n\n const parent = node.getParent()\n if ($isElementNode(parent)) {\n if (parent.getFormatType() === 'justify') {\n continue\n }\n }\n\n return false\n }\n return true\n },\n key: 'alignJustify',\n label: ({ i18n }) => {\n return i18n.t('lexical:align:alignJustifyLabel')\n },\n onSelect: ({ editor }) => {\n editor.dispatchCommand(FORMAT_ELEMENT_COMMAND, 'justify')\n },\n order: 4,\n },\n ]),\n]\n\nconst AlignFeatureClient: FeatureProviderProviderClient<undefined> = (props) => {\n return {\n clientFeatureProps: props,\n feature: () => ({\n clientFeatureProps: props,\n toolbarFixed: {\n groups: toolbarGroups,\n },\n toolbarInline: {\n groups: toolbarGroups,\n },\n }),\n }\n}\n\nexport const AlignFeatureClientComponent = createClientComponent(AlignFeatureClient)\n"],"names":["$isElementNode","$isRangeSelection","FORMAT_ELEMENT_COMMAND","AlignCenterIcon","AlignJustifyIcon","AlignLeftIcon","AlignRightIcon","createClientComponent","toolbarAlignGroupWithItems","toolbarGroups","ChildComponent","isActive","selection","node","getNodes","getFormatType","parent","getParent","key","label","i18n","t","onSelect","editor","dispatchCommand","order","AlignFeatureClient","props","clientFeatureProps","feature","toolbarFixed","groups","toolbarInline","AlignFeatureClientComponent"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"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"}
@@ -1,3 +0,0 @@
1
- import type { FeatureProviderProviderServer } from '../types.js';
2
- export declare const AlignFeature: FeatureProviderProviderServer<undefined, undefined>;
3
- //# sourceMappingURL=feature.server.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"feature.server.d.ts","sourceRoot":"","sources":["../../../../src/field/features/align/feature.server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAA;AAMhE,eAAO,MAAM,YAAY,EAAE,6BAA6B,CAAC,SAAS,EAAE,SAAS,CAa5E,CAAA"}
@@ -1,19 +0,0 @@
1
- // eslint-disable-next-line payload/no-imports-from-exports-dir
2
- import { AlignFeatureClientComponent } from '../../../exports/client/index.js';
3
- import { i18n } from './i18n.js';
4
- export const AlignFeature = (props)=>{
5
- return {
6
- feature: ()=>{
7
- return {
8
- ClientComponent: AlignFeatureClientComponent,
9
- clientFeatureProps: null,
10
- i18n,
11
- serverFeatureProps: props
12
- };
13
- },
14
- key: 'align',
15
- serverFeatureProps: props
16
- };
17
- };
18
-
19
- //# sourceMappingURL=feature.server.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/field/features/align/feature.server.ts"],"sourcesContent":["import type { FeatureProviderProviderServer } from '../types.js'\n\n// eslint-disable-next-line payload/no-imports-from-exports-dir\nimport { AlignFeatureClientComponent } from '../../../exports/client/index.js'\nimport { i18n } from './i18n.js'\n\nexport const AlignFeature: FeatureProviderProviderServer<undefined, undefined> = (props) => {\n return {\n feature: () => {\n return {\n ClientComponent: AlignFeatureClientComponent,\n clientFeatureProps: null,\n i18n,\n serverFeatureProps: props,\n }\n },\n key: 'align',\n serverFeatureProps: props,\n }\n}\n"],"names":["AlignFeatureClientComponent","i18n","AlignFeature","props","feature","ClientComponent","clientFeatureProps","serverFeatureProps","key"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":"AAEA,+DAA+D;AAC/D,SAASA,2BAA2B,QAAQ,mCAAkC;AAC9E,SAASC,IAAI,QAAQ,YAAW;AAEhC,OAAO,MAAMC,eAAoE,CAACC;IAChF,OAAO;QACLC,SAAS;YACP,OAAO;gBACLC,iBAAiBL;gBACjBM,oBAAoB;gBACpBL;gBACAM,oBAAoBJ;YACtB;QACF;QACAK,KAAK;QACLD,oBAAoBJ;IACtB;AACF,EAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../../src/field/features/align/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAEhE,eAAO,MAAM,IAAI,EAAE,OAAO,CAAC,gBAAgB,CAiM1C,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/field/features/align/i18n.ts"],"sourcesContent":["import type { GenericLanguages } from '@payloadcms/translations'\n\nexport const i18n: Partial<GenericLanguages> = {\n ar: {\n alignCenterLabel: 'محاذاة في الوسط',\n alignJustifyLabel: 'محاذاة التبرير',\n alignLeftLabel: 'محاذاة إلى اليسار',\n alignRightLabel: 'محاذاة إلى اليمين',\n },\n az: {\n alignCenterLabel: 'Mərkəzə Düzəlt',\n alignJustifyLabel: 'Düzəldin Səsləndirin',\n alignLeftLabel: 'Sola Doğru Hizalama',\n alignRightLabel: 'Sağa Doğru Hizalama',\n },\n bg: {\n alignCenterLabel: 'Центрирай',\n alignJustifyLabel: 'Подравняване по двата края',\n alignLeftLabel: 'Подравняване отляво',\n alignRightLabel: 'Подравняване вдясно',\n },\n cs: {\n alignCenterLabel: 'Zarovnat na střed',\n alignJustifyLabel: 'Zarovnat do bloku',\n alignLeftLabel: 'Zarovnat vlevo',\n alignRightLabel: 'Zarovnat vpravo',\n },\n de: {\n alignCenterLabel: 'Zentrieren',\n alignJustifyLabel: 'Blocksatz',\n alignLeftLabel: 'Linksbündig',\n alignRightLabel: 'Rechtsbündig',\n },\n en: {\n alignCenterLabel: 'Align Center',\n alignJustifyLabel: 'Align Justify',\n alignLeftLabel: 'Align Left',\n alignRightLabel: 'Align Right',\n },\n es: {\n alignCenterLabel: 'Alinear al centro',\n alignJustifyLabel: 'Alinear Justificar',\n alignLeftLabel: 'Alinear a la izquierda',\n alignRightLabel: 'Alinear a la derecha',\n },\n fa: {\n alignCenterLabel: 'تراز در مرکز',\n alignJustifyLabel: 'تراز کردن از دو طرف',\n alignLeftLabel: 'چپ تراز',\n alignRightLabel: 'راست چین',\n },\n fr: {\n alignCenterLabel: 'Aligner au centre',\n alignJustifyLabel: 'Aligner Justifier',\n alignLeftLabel: 'Aligner à gauche',\n alignRightLabel: 'Aligner à droite',\n },\n he: {\n alignCenterLabel: 'ממורכז',\n alignJustifyLabel: 'יישור דו-צדדי',\n alignLeftLabel: 'הסב לשמאל',\n alignRightLabel: 'יישור לימין',\n },\n hr: {\n alignCenterLabel: 'Poravnaj središnje',\n alignJustifyLabel: 'Poravnaj opravdaj',\n alignLeftLabel: 'Poravnaj lijevo',\n alignRightLabel: 'Poravnaj desno',\n },\n hu: {\n alignCenterLabel: 'Középre igazítás',\n alignJustifyLabel: 'Igazítás Sorkizárás',\n alignLeftLabel: 'Igazítás balra',\n alignRightLabel: 'Igazítás jobbra',\n },\n it: {\n alignCenterLabel: 'Allinea al centro',\n alignJustifyLabel: 'Allinea Giustifica',\n alignLeftLabel: 'Allinea a sinistra',\n alignRightLabel: 'Allinea a destra',\n },\n ja: {\n alignCenterLabel: '中央揃え',\n alignJustifyLabel: '両端揃え',\n alignLeftLabel: '左揃え',\n alignRightLabel: '右揃え',\n },\n ko: {\n alignCenterLabel: '중앙 정렬',\n alignJustifyLabel: '정렬 맞춤',\n alignLeftLabel: '왼쪽 정렬',\n alignRightLabel: '오른쪽 정렬',\n },\n my: {\n alignCenterLabel: 'Pusat Selaras',\n alignJustifyLabel: 'Penjajaran Justify',\n alignLeftLabel: 'ဘယ်ဘက်ဦးတည်ခြင်း',\n alignRightLabel: 'Penjajaran Kanan',\n },\n nb: {\n alignCenterLabel: 'Sentrer tekst',\n alignJustifyLabel: 'Juster linje',\n alignLeftLabel: 'Juster til venstre',\n alignRightLabel: 'Juster til høyre',\n },\n nl: {\n alignCenterLabel: 'Centreer uitlijnen',\n alignJustifyLabel: 'Uitlijnen Rechtvaardigen',\n alignLeftLabel: 'Links uitlijnen',\n alignRightLabel: 'Rechts uitlijnen',\n },\n pl: {\n alignCenterLabel: 'Wyśrodkuj',\n alignJustifyLabel: 'Wyjustuj wyrównanie',\n alignLeftLabel: 'Wyrównaj do lewej',\n alignRightLabel: 'Wyrównaj do prawej',\n },\n pt: {\n alignCenterLabel: 'Alinhar ao Centro',\n alignJustifyLabel: 'Alinhar Justificar',\n alignLeftLabel: 'Alinhar à Esquerda',\n alignRightLabel: 'Alinhar à Direita',\n },\n ro: {\n alignCenterLabel: 'Aliniați Centrul',\n alignJustifyLabel: 'Aliniaza Justifica',\n alignLeftLabel: 'Aliniați la stânga',\n alignRightLabel: 'Aliniați la dreapta',\n },\n rs: {\n alignCenterLabel: 'Centriraj',\n alignJustifyLabel: 'Poravnaj opravdaj',\n alignLeftLabel: 'Poravnaj levo',\n alignRightLabel: 'Poravnaj desno',\n },\n 'rs-latin': {\n alignCenterLabel: 'Poravnaj centar',\n alignJustifyLabel: 'Poravnaj opravdanje',\n alignLeftLabel: 'Poravnaj levo',\n alignRightLabel: 'Poravnaj desno',\n },\n ru: {\n alignCenterLabel: 'Выровнять по центру',\n alignJustifyLabel: 'Выровнять по ширине',\n alignLeftLabel: 'Выровнять по левому краю',\n alignRightLabel: 'Выровнять по правому краю',\n },\n sk: {\n alignCenterLabel: 'Vycentrovať',\n alignJustifyLabel: 'Zarovnať do bloku',\n alignLeftLabel: 'Zarovnať doľava',\n alignRightLabel: 'Zarovnať doprava',\n },\n sv: {\n alignCenterLabel: 'Centrera',\n alignJustifyLabel: 'Justera Justify',\n alignLeftLabel: 'Justera till vänster',\n alignRightLabel: 'Justera till höger',\n },\n th: {\n alignCenterLabel: 'จัดแนวกึ่งกลาง',\n alignJustifyLabel: 'จัดแนวตรง',\n alignLeftLabel: 'จัดชิดซ้าย',\n alignRightLabel: 'จัดชิดขวา',\n },\n tr: {\n alignCenterLabel: 'Ortaya Hizala',\n alignJustifyLabel: 'Hizala Yasla',\n alignLeftLabel: 'Sola Hizala',\n alignRightLabel: 'Sağa Hizala',\n },\n uk: {\n alignCenterLabel: 'Вирівняти по центру',\n alignJustifyLabel: 'Вирівняти за шириною',\n alignLeftLabel: 'Вирівняти по лівому краю',\n alignRightLabel: 'Вирівняти по правому краю',\n },\n vi: {\n alignCenterLabel: 'Căn giữa',\n alignJustifyLabel: 'Căn đều',\n alignLeftLabel: 'Căn lề trái',\n alignRightLabel: 'Căn phải',\n },\n zh: {\n alignCenterLabel: '居中对齐',\n alignJustifyLabel: '对齐调整',\n alignLeftLabel: '向左对齐',\n alignRightLabel: '向右对齐',\n },\n 'zh-TW': {\n alignCenterLabel: '對齊中心',\n alignJustifyLabel: '對齊並排列',\n alignLeftLabel: '向左對齊',\n alignRightLabel: '向右對齊',\n },\n}\n"],"names":["i18n","ar","alignCenterLabel","alignJustifyLabel","alignLeftLabel","alignRightLabel","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":"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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"toolbarAlignGroup.d.ts","sourceRoot":"","sources":["../../../../src/field/features/align/toolbarAlignGroup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAI1E,eAAO,MAAM,0BAA0B,UAAW,gBAAgB,EAAE,KAAG,YAQtE,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/field/features/align/toolbarAlignGroup.ts"],"sourcesContent":["import type { ToolbarGroup, ToolbarGroupItem } from '../toolbars/types.js'\n\nimport { AlignLeftIcon } from '../../lexical/ui/icons/AlignLeft/index.js'\n\nexport const toolbarAlignGroupWithItems = (items: ToolbarGroupItem[]): ToolbarGroup => {\n return {\n type: 'dropdown',\n ChildComponent: AlignLeftIcon,\n items,\n key: 'align',\n order: 30,\n }\n}\n"],"names":["AlignLeftIcon","toolbarAlignGroupWithItems","items","type","ChildComponent","key","order"],"rangeMappings":";;;;;;;;;","mappings":"AAEA,SAASA,aAAa,QAAQ,4CAA2C;AAEzE,OAAO,MAAMC,6BAA6B,CAACC;IACzC,OAAO;QACLC,MAAM;QACNC,gBAAgBJ;QAChBE;QACAG,KAAK;QACLC,OAAO;IACT;AACF,EAAC"}
@@ -1,6 +0,0 @@
1
- /// <reference types="react" resolution-mode="require"/>
2
- export declare const BlockquoteFeatureClientComponent: import("react").FC<{
3
- featureKey: string;
4
- order: number;
5
- }>;
6
- //# sourceMappingURL=feature.client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"feature.client.d.ts","sourceRoot":"","sources":["../../../../src/field/features/blockquote/feature.client.tsx"],"names":[],"mappings":";AAmFA,eAAO,MAAM,gCAAgC;;;EAAiD,CAAA"}
@@ -1,84 +0,0 @@
1
- 'use client';
2
- import { $createQuoteNode, $isQuoteNode, QuoteNode } from '@lexical/rich-text';
3
- import { $setBlocksType } from '@lexical/selection';
4
- import { $getSelection, $isRangeSelection } from 'lexical';
5
- import { BlockquoteIcon } from '../../lexical/ui/icons/Blockquote/index.js';
6
- import { createClientComponent } from '../createClientComponent.js';
7
- import { slashMenuBasicGroupWithItems } from '../shared/slashMenu/basicGroup.js';
8
- import { toolbarTextDropdownGroupWithItems } from '../shared/toolbar/textDropdownGroup.js';
9
- import { MarkdownTransformer } from './markdownTransformer.js';
10
- const toolbarGroups = [
11
- toolbarTextDropdownGroupWithItems([
12
- {
13
- ChildComponent: BlockquoteIcon,
14
- isActive: ({ selection })=>{
15
- if (!$isRangeSelection(selection)) {
16
- return false;
17
- }
18
- for (const node of selection.getNodes()){
19
- if (!$isQuoteNode(node) && !$isQuoteNode(node.getParent())) {
20
- return false;
21
- }
22
- }
23
- return true;
24
- },
25
- key: 'blockquote',
26
- label: ({ i18n })=>{
27
- return i18n.t('lexical:blockquote:label');
28
- },
29
- onSelect: ({ editor })=>{
30
- editor.update(()=>{
31
- const selection = $getSelection();
32
- $setBlocksType(selection, ()=>$createQuoteNode());
33
- });
34
- },
35
- order: 20
36
- }
37
- ])
38
- ];
39
- const BlockquoteFeatureClient = (props)=>{
40
- return {
41
- clientFeatureProps: props,
42
- feature: ()=>({
43
- clientFeatureProps: props,
44
- markdownTransformers: [
45
- MarkdownTransformer
46
- ],
47
- nodes: [
48
- QuoteNode
49
- ],
50
- slashMenu: {
51
- groups: [
52
- slashMenuBasicGroupWithItems([
53
- {
54
- Icon: BlockquoteIcon,
55
- key: 'blockquote',
56
- keywords: [
57
- 'quote',
58
- 'blockquote'
59
- ],
60
- label: ({ i18n })=>{
61
- return i18n.t('lexical:blockquote:label');
62
- },
63
- onSelect: ({ editor })=>{
64
- editor.update(()=>{
65
- const selection = $getSelection();
66
- $setBlocksType(selection, ()=>$createQuoteNode());
67
- });
68
- }
69
- }
70
- ])
71
- ]
72
- },
73
- toolbarFixed: {
74
- groups: toolbarGroups
75
- },
76
- toolbarInline: {
77
- groups: toolbarGroups
78
- }
79
- })
80
- };
81
- };
82
- export const BlockquoteFeatureClientComponent = createClientComponent(BlockquoteFeatureClient);
83
-
84
- //# sourceMappingURL=feature.client.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/field/features/blockquote/feature.client.tsx"],"sourcesContent":["'use client'\n\nimport { $createQuoteNode, $isQuoteNode, QuoteNode } from '@lexical/rich-text'\nimport { $setBlocksType } from '@lexical/selection'\nimport { $getSelection, $isRangeSelection } from 'lexical'\n\nimport type { ToolbarGroup } from '../toolbars/types.js'\nimport type { FeatureProviderProviderClient } from '../types.js'\n\nimport { BlockquoteIcon } from '../../lexical/ui/icons/Blockquote/index.js'\nimport { createClientComponent } from '../createClientComponent.js'\nimport { slashMenuBasicGroupWithItems } from '../shared/slashMenu/basicGroup.js'\nimport { toolbarTextDropdownGroupWithItems } from '../shared/toolbar/textDropdownGroup.js'\nimport { MarkdownTransformer } from './markdownTransformer.js'\n\nconst toolbarGroups: ToolbarGroup[] = [\n toolbarTextDropdownGroupWithItems([\n {\n ChildComponent: BlockquoteIcon,\n isActive: ({ selection }) => {\n if (!$isRangeSelection(selection)) {\n return false\n }\n for (const node of selection.getNodes()) {\n if (!$isQuoteNode(node) && !$isQuoteNode(node.getParent())) {\n return false\n }\n }\n return true\n },\n key: 'blockquote',\n label: ({ i18n }) => {\n return i18n.t('lexical:blockquote:label')\n },\n onSelect: ({ editor }) => {\n editor.update(() => {\n const selection = $getSelection()\n $setBlocksType(selection, () => $createQuoteNode())\n })\n },\n order: 20,\n },\n ]),\n]\n\nconst BlockquoteFeatureClient: FeatureProviderProviderClient<undefined> = (props) => {\n return {\n clientFeatureProps: props,\n feature: () => ({\n clientFeatureProps: props,\n markdownTransformers: [MarkdownTransformer],\n nodes: [QuoteNode],\n\n slashMenu: {\n groups: [\n slashMenuBasicGroupWithItems([\n {\n Icon: BlockquoteIcon,\n key: 'blockquote',\n keywords: ['quote', 'blockquote'],\n label: ({ i18n }) => {\n return i18n.t('lexical:blockquote:label')\n },\n onSelect: ({ editor }) => {\n editor.update(() => {\n const selection = $getSelection()\n $setBlocksType(selection, () => $createQuoteNode())\n })\n },\n },\n ]),\n ],\n },\n toolbarFixed: {\n groups: toolbarGroups,\n },\n toolbarInline: {\n groups: toolbarGroups,\n },\n }),\n }\n}\n\nexport const BlockquoteFeatureClientComponent = createClientComponent(BlockquoteFeatureClient)\n"],"names":["$createQuoteNode","$isQuoteNode","QuoteNode","$setBlocksType","$getSelection","$isRangeSelection","BlockquoteIcon","createClientComponent","slashMenuBasicGroupWithItems","toolbarTextDropdownGroupWithItems","MarkdownTransformer","toolbarGroups","ChildComponent","isActive","selection","node","getNodes","getParent","key","label","i18n","t","onSelect","editor","update","order","BlockquoteFeatureClient","props","clientFeatureProps","feature","markdownTransformers","nodes","slashMenu","groups","Icon","keywords","toolbarFixed","toolbarInline","BlockquoteFeatureClientComponent"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA;AAEA,SAASA,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,QAAQ,qBAAoB;AAC9E,SAASC,cAAc,QAAQ,qBAAoB;AACnD,SAASC,aAAa,EAAEC,iBAAiB,QAAQ,UAAS;AAK1D,SAASC,cAAc,QAAQ,6CAA4C;AAC3E,SAASC,qBAAqB,QAAQ,8BAA6B;AACnE,SAASC,4BAA4B,QAAQ,oCAAmC;AAChF,SAASC,iCAAiC,QAAQ,yCAAwC;AAC1F,SAASC,mBAAmB,QAAQ,2BAA0B;AAE9D,MAAMC,gBAAgC;IACpCF,kCAAkC;QAChC;YACEG,gBAAgBN;YAChBO,UAAU,CAAC,EAAEC,SAAS,EAAE;gBACtB,IAAI,CAACT,kBAAkBS,YAAY;oBACjC,OAAO;gBACT;gBACA,KAAK,MAAMC,QAAQD,UAAUE,QAAQ,GAAI;oBACvC,IAAI,CAACf,aAAac,SAAS,CAACd,aAAac,KAAKE,SAAS,KAAK;wBAC1D,OAAO;oBACT;gBACF;gBACA,OAAO;YACT;YACAC,KAAK;YACLC,OAAO,CAAC,EAAEC,IAAI,EAAE;gBACd,OAAOA,KAAKC,CAAC,CAAC;YAChB;YACAC,UAAU,CAAC,EAAEC,MAAM,EAAE;gBACnBA,OAAOC,MAAM,CAAC;oBACZ,MAAMV,YAAYV;oBAClBD,eAAeW,WAAW,IAAMd;gBAClC;YACF;YACAyB,OAAO;QACT;KACD;CACF;AAED,MAAMC,0BAAoE,CAACC;IACzE,OAAO;QACLC,oBAAoBD;QACpBE,SAAS,IAAO,CAAA;gBACdD,oBAAoBD;gBACpBG,sBAAsB;oBAACpB;iBAAoB;gBAC3CqB,OAAO;oBAAC7B;iBAAU;gBAElB8B,WAAW;oBACTC,QAAQ;wBACNzB,6BAA6B;4BAC3B;gCACE0B,MAAM5B;gCACNY,KAAK;gCACLiB,UAAU;oCAAC;oCAAS;iCAAa;gCACjChB,OAAO,CAAC,EAAEC,IAAI,EAAE;oCACd,OAAOA,KAAKC,CAAC,CAAC;gCAChB;gCACAC,UAAU,CAAC,EAAEC,MAAM,EAAE;oCACnBA,OAAOC,MAAM,CAAC;wCACZ,MAAMV,YAAYV;wCAClBD,eAAeW,WAAW,IAAMd;oCAClC;gCACF;4BACF;yBACD;qBACF;gBACH;gBACAoC,cAAc;oBACZH,QAAQtB;gBACV;gBACA0B,eAAe;oBACbJ,QAAQtB;gBACV;YACF,CAAA;IACF;AACF;AAEA,OAAO,MAAM2B,mCAAmC/B,sBAAsBmB,yBAAwB"}
@@ -1,3 +0,0 @@
1
- import type { FeatureProviderProviderServer } from '../types.js';
2
- export declare const BlockquoteFeature: FeatureProviderProviderServer<undefined, undefined>;
3
- //# sourceMappingURL=feature.server.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"feature.server.d.ts","sourceRoot":"","sources":["../../../../src/field/features/blockquote/feature.server.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAA;AAShE,eAAO,MAAM,iBAAiB,EAAE,6BAA6B,CAAC,SAAS,EAAE,SAAS,CAqCjF,CAAA"}