@payloadcms/richtext-lexical 3.0.0-beta.7 → 3.0.0-beta.71

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 (2293) hide show
  1. package/README.md +1 -1
  2. package/dist/cell/index.d.ts +5 -2
  3. package/dist/cell/index.d.ts.map +1 -1
  4. package/dist/cell/index.js +50 -36
  5. package/dist/cell/index.js.map +1 -1
  6. package/dist/exports/client/Component-7HS6FEJS.js +2 -0
  7. package/dist/exports/client/Component-7HS6FEJS.js.map +7 -0
  8. package/dist/exports/client/Component-LAKSCIDX.js +2 -0
  9. package/dist/exports/client/Component-LAKSCIDX.js.map +7 -0
  10. package/dist/exports/client/Field-YNHIDK3D.js +2 -0
  11. package/dist/exports/client/Field-YNHIDK3D.js.map +7 -0
  12. package/dist/exports/client/RelationshipComponent-ZR2OCBGL.js +2 -0
  13. package/dist/exports/client/RelationshipComponent-ZR2OCBGL.js.map +7 -0
  14. package/dist/exports/client/bundled.css +1 -0
  15. package/dist/exports/client/chunk-6QXGZYUK.js +2 -0
  16. package/dist/exports/client/chunk-6QXGZYUK.js.map +7 -0
  17. package/dist/exports/client/chunk-EBB2CEB6.js +2 -0
  18. package/dist/exports/client/chunk-EBB2CEB6.js.map +7 -0
  19. package/dist/exports/client/chunk-IPCJ5EVK.js +2 -0
  20. package/dist/exports/client/chunk-IPCJ5EVK.js.map +7 -0
  21. package/dist/exports/client/chunk-IWZVO3AI.js +2 -0
  22. package/dist/exports/client/chunk-IWZVO3AI.js.map +7 -0
  23. package/dist/exports/client/chunk-Q5DYR7MH.js +3 -0
  24. package/dist/exports/client/chunk-Q5DYR7MH.js.map +7 -0
  25. package/dist/exports/client/chunk-VUVXZJJR.js +2 -0
  26. package/dist/exports/client/chunk-VUVXZJJR.js.map +7 -0
  27. package/dist/exports/client/component-D4GWDXK5.js +2 -0
  28. package/dist/exports/client/component-D4GWDXK5.js.map +7 -0
  29. package/dist/exports/client/component-KA7FDRMA.js +2 -0
  30. package/dist/exports/client/component-KA7FDRMA.js.map +7 -0
  31. package/dist/exports/client/component-VM36FRT2.js +2 -0
  32. package/dist/exports/client/component-VM36FRT2.js.map +7 -0
  33. package/dist/exports/client/componentInline-6EKPZSCV.js +2 -0
  34. package/dist/exports/client/componentInline-6EKPZSCV.js.map +7 -0
  35. package/dist/exports/client/index.d.ts +63 -0
  36. package/dist/exports/client/index.d.ts.map +1 -0
  37. package/dist/exports/client/index.js +38 -0
  38. package/dist/exports/client/index.js.map +7 -0
  39. package/dist/features/align/feature.client.d.ts +5 -0
  40. package/dist/features/align/feature.client.d.ts.map +1 -0
  41. package/dist/features/align/feature.client.js +146 -0
  42. package/dist/features/align/feature.client.js.map +1 -0
  43. package/dist/features/align/feature.server.d.ts +2 -0
  44. package/dist/features/align/feature.server.d.ts.map +1 -0
  45. package/dist/features/align/feature.server.js +13 -0
  46. package/dist/features/align/feature.server.js.map +1 -0
  47. package/dist/features/align/i18n.d.ts +3 -0
  48. package/dist/features/align/i18n.d.ts.map +1 -0
  49. package/dist/features/align/i18n.js +196 -0
  50. package/dist/features/align/i18n.js.map +1 -0
  51. package/dist/features/align/toolbarAlignGroup.d.ts +3 -0
  52. package/dist/features/align/toolbarAlignGroup.d.ts.map +1 -0
  53. package/dist/features/align/toolbarAlignGroup.js +12 -0
  54. package/dist/features/align/toolbarAlignGroup.js.map +1 -0
  55. package/dist/features/blockquote/feature.client.d.ts +5 -0
  56. package/dist/features/blockquote/feature.client.d.ts.map +1 -0
  57. package/dist/features/blockquote/feature.client.js +77 -0
  58. package/dist/features/blockquote/feature.client.js.map +1 -0
  59. package/dist/features/blockquote/feature.server.d.ts +7 -0
  60. package/dist/features/blockquote/feature.server.d.ts.map +1 -0
  61. package/dist/features/blockquote/feature.server.js +45 -0
  62. package/dist/features/blockquote/feature.server.js.map +1 -0
  63. package/dist/features/blockquote/i18n.d.ts +3 -0
  64. package/dist/features/blockquote/i18n.d.ts.map +1 -0
  65. package/dist/features/blockquote/i18n.js +100 -0
  66. package/dist/features/blockquote/i18n.js.map +1 -0
  67. package/dist/features/blockquote/markdownTransformer.d.ts.map +1 -0
  68. package/dist/features/blockquote/markdownTransformer.js +40 -0
  69. package/dist/features/blockquote/markdownTransformer.js.map +1 -0
  70. package/dist/features/blocks/component/BlockContent.d.ts +27 -0
  71. package/dist/features/blocks/component/BlockContent.d.ts.map +1 -0
  72. package/dist/features/blocks/component/BlockContent.js +196 -0
  73. package/dist/features/blocks/component/BlockContent.js.map +1 -0
  74. package/dist/features/blocks/component/FormSavePlugin.d.ts +11 -0
  75. package/dist/features/blocks/component/FormSavePlugin.d.ts.map +1 -0
  76. package/dist/features/blocks/component/FormSavePlugin.js +29 -0
  77. package/dist/features/blocks/component/FormSavePlugin.js.map +1 -0
  78. package/dist/features/blocks/component/index.d.ts +11 -0
  79. package/dist/features/blocks/component/index.d.ts.map +1 -0
  80. package/dist/features/blocks/component/index.js +162 -0
  81. package/dist/features/blocks/component/index.js.map +1 -0
  82. package/dist/features/blocks/component/removeEmptyArrayValues.d.ts +11 -0
  83. package/dist/features/blocks/component/removeEmptyArrayValues.d.ts.map +1 -0
  84. package/dist/features/blocks/component/removeEmptyArrayValues.js.map +1 -0
  85. package/dist/features/blocks/componentInline/index.d.ts +10 -0
  86. package/dist/features/blocks/componentInline/index.d.ts.map +1 -0
  87. package/dist/features/blocks/componentInline/index.js +133 -0
  88. package/dist/features/blocks/componentInline/index.js.map +1 -0
  89. package/dist/features/blocks/feature.client.d.ts +13 -0
  90. package/dist/features/blocks/feature.client.d.ts.map +1 -0
  91. package/dist/features/blocks/feature.client.js +148 -0
  92. package/dist/features/blocks/feature.client.js.map +1 -0
  93. package/dist/features/blocks/feature.server.d.ts +8 -0
  94. package/dist/features/blocks/feature.server.d.ts.map +1 -0
  95. package/dist/features/blocks/feature.server.js +160 -0
  96. package/dist/features/blocks/feature.server.js.map +1 -0
  97. package/dist/features/blocks/graphQLPopulationPromise.d.ts +6 -0
  98. package/dist/features/blocks/graphQLPopulationPromise.d.ts.map +1 -0
  99. package/dist/features/blocks/graphQLPopulationPromise.js +31 -0
  100. package/dist/features/blocks/graphQLPopulationPromise.js.map +1 -0
  101. package/dist/features/blocks/i18n.d.ts +3 -0
  102. package/dist/features/blocks/i18n.d.ts.map +1 -0
  103. package/dist/features/blocks/i18n.js +292 -0
  104. package/dist/features/blocks/i18n.js.map +1 -0
  105. package/dist/features/blocks/nodes/BlocksNode.d.ts +38 -0
  106. package/dist/features/blocks/nodes/BlocksNode.d.ts.map +1 -0
  107. package/dist/features/blocks/nodes/BlocksNode.js +92 -0
  108. package/dist/features/blocks/nodes/BlocksNode.js.map +1 -0
  109. package/dist/features/blocks/nodes/InlineBlocksNode.d.ts +39 -0
  110. package/dist/features/blocks/nodes/InlineBlocksNode.d.ts.map +1 -0
  111. package/dist/features/blocks/nodes/InlineBlocksNode.js +94 -0
  112. package/dist/features/blocks/nodes/InlineBlocksNode.js.map +1 -0
  113. package/dist/features/blocks/plugin/commands.d.ts +9 -0
  114. package/dist/features/blocks/plugin/commands.d.ts.map +1 -0
  115. package/dist/features/blocks/plugin/commands.js +6 -0
  116. package/dist/features/blocks/plugin/commands.js.map +1 -0
  117. package/dist/features/blocks/plugin/index.d.ts +6 -0
  118. package/dist/features/blocks/plugin/index.d.ts.map +1 -0
  119. package/dist/features/blocks/plugin/index.js +111 -0
  120. package/dist/features/blocks/plugin/index.js.map +1 -0
  121. package/dist/features/blocks/validate.d.ts +6 -0
  122. package/dist/features/blocks/validate.d.ts.map +1 -0
  123. package/dist/features/blocks/validate.js +36 -0
  124. package/dist/features/blocks/validate.js.map +1 -0
  125. package/dist/features/converters/html/converter/converters/linebreak.d.ts.map +1 -0
  126. package/dist/features/converters/html/converter/converters/linebreak.js.map +1 -0
  127. package/dist/features/converters/html/converter/converters/paragraph.d.ts.map +1 -0
  128. package/dist/features/converters/html/converter/converters/paragraph.js +20 -0
  129. package/dist/features/converters/html/converter/converters/paragraph.js.map +1 -0
  130. package/dist/features/converters/html/converter/converters/text.d.ts.map +1 -0
  131. package/dist/features/converters/html/converter/converters/text.js.map +1 -0
  132. package/dist/features/converters/html/converter/defaultConverters.d.ts.map +1 -0
  133. package/dist/features/converters/html/converter/defaultConverters.js.map +1 -0
  134. package/dist/features/converters/html/converter/index.d.ts +42 -0
  135. package/dist/features/converters/html/converter/index.d.ts.map +1 -0
  136. package/dist/features/converters/html/converter/index.js +48 -0
  137. package/dist/features/converters/html/converter/index.js.map +1 -0
  138. package/dist/features/converters/html/converter/types.d.ts +19 -0
  139. package/dist/features/converters/html/converter/types.d.ts.map +1 -0
  140. package/dist/features/converters/html/converter/types.js.map +1 -0
  141. package/dist/features/converters/html/feature.server.d.ts +8 -0
  142. package/dist/features/converters/html/feature.server.d.ts.map +1 -0
  143. package/dist/features/converters/html/feature.server.js +8 -0
  144. package/dist/features/converters/html/feature.server.js.map +1 -0
  145. package/dist/features/converters/html/field/index.d.ts +35 -0
  146. package/dist/features/converters/html/field/index.d.ts.map +1 -0
  147. package/dist/features/converters/html/field/index.js +154 -0
  148. package/dist/features/converters/html/field/index.js.map +1 -0
  149. package/dist/features/createClientComponent.d.ts +7 -0
  150. package/dist/features/createClientComponent.d.ts.map +1 -0
  151. package/dist/features/createClientComponent.js +12 -0
  152. package/dist/features/createClientComponent.js.map +1 -0
  153. package/dist/features/createFeaturePropComponent.d.ts.map +1 -0
  154. package/dist/features/createFeaturePropComponent.js +18 -0
  155. package/dist/features/createFeaturePropComponent.js.map +1 -0
  156. package/dist/features/debug/testRecorder/feature.client.d.ts +5 -0
  157. package/dist/features/debug/testRecorder/feature.client.d.ts.map +1 -0
  158. package/dist/features/debug/testRecorder/feature.client.js +13 -0
  159. package/dist/features/debug/testRecorder/feature.client.js.map +1 -0
  160. package/dist/features/debug/testRecorder/feature.server.d.ts +2 -0
  161. package/dist/features/debug/testRecorder/feature.server.d.ts.map +1 -0
  162. package/dist/features/debug/testRecorder/feature.server.js +11 -0
  163. package/dist/features/debug/testRecorder/feature.server.js.map +1 -0
  164. package/dist/features/debug/testRecorder/plugin/index.d.ts +5 -0
  165. package/dist/features/debug/testRecorder/plugin/index.d.ts.map +1 -0
  166. package/dist/features/debug/testRecorder/plugin/index.js +471 -0
  167. package/dist/features/debug/testRecorder/plugin/index.js.map +1 -0
  168. package/dist/features/debug/treeView/feature.client.d.ts +5 -0
  169. package/dist/features/debug/treeView/feature.client.d.ts.map +1 -0
  170. package/dist/features/debug/treeView/feature.client.js +13 -0
  171. package/dist/features/debug/treeView/feature.client.js.map +1 -0
  172. package/dist/features/debug/treeView/feature.server.d.ts +2 -0
  173. package/dist/features/debug/treeView/feature.server.d.ts.map +1 -0
  174. package/dist/features/debug/treeView/feature.server.js +11 -0
  175. package/dist/features/debug/treeView/feature.server.js.map +1 -0
  176. package/dist/features/debug/treeView/plugin/index.d.ts +4 -0
  177. package/dist/features/debug/treeView/plugin/index.d.ts.map +1 -0
  178. package/dist/features/debug/treeView/plugin/index.js +19 -0
  179. package/dist/features/debug/treeView/plugin/index.js.map +1 -0
  180. package/dist/features/experimental_table/feature.client.d.ts +2 -0
  181. package/dist/features/experimental_table/feature.client.d.ts.map +1 -0
  182. package/dist/features/experimental_table/feature.client.js +66 -0
  183. package/dist/features/experimental_table/feature.client.js.map +1 -0
  184. package/dist/features/experimental_table/feature.server.d.ts +2 -0
  185. package/dist/features/experimental_table/feature.server.d.ts.map +1 -0
  186. package/dist/features/experimental_table/feature.server.js +52 -0
  187. package/dist/features/experimental_table/feature.server.js.map +1 -0
  188. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.d.ts +4 -0
  189. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.d.ts.map +1 -0
  190. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.js +602 -0
  191. package/dist/features/experimental_table/plugins/TableActionMenuPlugin/index.js.map +1 -0
  192. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.d.ts +4 -0
  193. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.d.ts.map +1 -0
  194. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.js +322 -0
  195. package/dist/features/experimental_table/plugins/TableCellResizerPlugin/index.js.map +1 -0
  196. package/dist/features/experimental_table/plugins/TablePlugin/index.d.ts +24 -0
  197. package/dist/features/experimental_table/plugins/TablePlugin/index.d.ts.map +1 -0
  198. package/dist/features/experimental_table/plugins/TablePlugin/index.js +98 -0
  199. package/dist/features/experimental_table/plugins/TablePlugin/index.js.map +1 -0
  200. package/dist/features/format/bold/feature.client.d.ts +5 -0
  201. package/dist/features/format/bold/feature.client.d.ts.map +1 -0
  202. package/dist/features/format/bold/feature.client.js +44 -0
  203. package/dist/features/format/bold/feature.client.js.map +1 -0
  204. package/dist/features/format/bold/feature.server.d.ts +2 -0
  205. package/dist/features/format/bold/feature.server.d.ts.map +1 -0
  206. package/dist/features/format/bold/feature.server.js +25 -0
  207. package/dist/features/format/bold/feature.server.js.map +1 -0
  208. package/dist/features/format/bold/markdownTransformers.d.ts.map +1 -0
  209. package/dist/features/format/bold/markdownTransformers.js.map +1 -0
  210. package/dist/features/format/inlineCode/feature.client.d.ts +5 -0
  211. package/dist/features/format/inlineCode/feature.client.d.ts.map +1 -0
  212. package/dist/features/format/inlineCode/feature.client.js +37 -0
  213. package/dist/features/format/inlineCode/feature.client.js.map +1 -0
  214. package/dist/features/format/inlineCode/feature.server.d.ts +2 -0
  215. package/dist/features/format/inlineCode/feature.server.d.ts.map +1 -0
  216. package/dist/features/format/inlineCode/feature.server.js +15 -0
  217. package/dist/features/format/inlineCode/feature.server.js.map +1 -0
  218. package/dist/features/format/inlineCode/markdownTransformers.d.ts.map +1 -0
  219. package/dist/features/format/inlineCode/markdownTransformers.js.map +1 -0
  220. package/dist/features/format/italic/feature.client.d.ts +5 -0
  221. package/dist/features/format/italic/feature.client.d.ts.map +1 -0
  222. package/dist/features/format/italic/feature.client.js +38 -0
  223. package/dist/features/format/italic/feature.client.js.map +1 -0
  224. package/dist/features/format/italic/feature.server.d.ts +2 -0
  225. package/dist/features/format/italic/feature.server.d.ts.map +1 -0
  226. package/dist/features/format/italic/feature.server.js +16 -0
  227. package/dist/features/format/italic/feature.server.js.map +1 -0
  228. package/dist/features/format/italic/markdownTransformers.d.ts.map +1 -0
  229. package/dist/features/format/italic/markdownTransformers.js.map +1 -0
  230. package/dist/features/format/shared/toolbarFormatGroup.d.ts +3 -0
  231. package/dist/features/format/shared/toolbarFormatGroup.d.ts.map +1 -0
  232. package/dist/features/format/shared/toolbarFormatGroup.js +10 -0
  233. package/dist/features/format/shared/toolbarFormatGroup.js.map +1 -0
  234. package/dist/features/format/strikethrough/feature.client.d.ts +5 -0
  235. package/dist/features/format/strikethrough/feature.client.d.ts.map +1 -0
  236. package/dist/features/format/strikethrough/feature.client.js +37 -0
  237. package/dist/features/format/strikethrough/feature.client.js.map +1 -0
  238. package/dist/features/format/strikethrough/feature.server.d.ts +2 -0
  239. package/dist/features/format/strikethrough/feature.server.d.ts.map +1 -0
  240. package/dist/features/format/strikethrough/feature.server.js +15 -0
  241. package/dist/features/format/strikethrough/feature.server.js.map +1 -0
  242. package/dist/features/format/strikethrough/markdownTransformers.d.ts.map +1 -0
  243. package/dist/features/format/strikethrough/markdownTransformers.js.map +1 -0
  244. package/dist/features/format/subscript/feature.client.d.ts +5 -0
  245. package/dist/features/format/subscript/feature.client.d.ts.map +1 -0
  246. package/dist/features/format/subscript/feature.client.js +33 -0
  247. package/dist/features/format/subscript/feature.client.js.map +1 -0
  248. package/dist/features/format/subscript/feature.server.d.ts +2 -0
  249. package/dist/features/format/subscript/feature.server.d.ts.map +1 -0
  250. package/dist/features/format/subscript/feature.server.js +11 -0
  251. package/dist/features/format/subscript/feature.server.js.map +1 -0
  252. package/dist/features/format/superscript/feature.client.d.ts +5 -0
  253. package/dist/features/format/superscript/feature.client.d.ts.map +1 -0
  254. package/dist/features/format/superscript/feature.client.js +33 -0
  255. package/dist/features/format/superscript/feature.client.js.map +1 -0
  256. package/dist/features/format/superscript/feature.server.d.ts +2 -0
  257. package/dist/features/format/superscript/feature.server.d.ts.map +1 -0
  258. package/dist/features/format/superscript/feature.server.js +11 -0
  259. package/dist/features/format/superscript/feature.server.js.map +1 -0
  260. package/dist/features/format/underline/feature.client.d.ts +5 -0
  261. package/dist/features/format/underline/feature.client.d.ts.map +1 -0
  262. package/dist/features/format/underline/feature.client.js +33 -0
  263. package/dist/features/format/underline/feature.client.js.map +1 -0
  264. package/dist/features/format/underline/feature.server.d.ts +2 -0
  265. package/dist/features/format/underline/feature.server.d.ts.map +1 -0
  266. package/dist/features/format/underline/feature.server.js +11 -0
  267. package/dist/features/format/underline/feature.server.js.map +1 -0
  268. package/dist/features/heading/feature.client.d.ts +6 -0
  269. package/dist/features/heading/feature.client.d.ts.map +1 -0
  270. package/dist/features/heading/feature.client.js +112 -0
  271. package/dist/features/heading/feature.client.js.map +1 -0
  272. package/dist/features/heading/feature.server.d.ts +10 -0
  273. package/dist/features/heading/feature.server.d.ts.map +1 -0
  274. package/dist/features/heading/feature.server.js +59 -0
  275. package/dist/features/heading/feature.server.js.map +1 -0
  276. package/dist/features/heading/i18n.d.ts +3 -0
  277. package/dist/features/heading/i18n.d.ts.map +1 -0
  278. package/dist/features/heading/i18n.js +100 -0
  279. package/dist/features/heading/i18n.js.map +1 -0
  280. package/dist/features/heading/markdownTransformer.d.ts.map +1 -0
  281. package/dist/features/heading/markdownTransformer.js +29 -0
  282. package/dist/features/heading/markdownTransformer.js.map +1 -0
  283. package/dist/features/horizontalRule/component/index.d.ts.map +1 -0
  284. package/dist/features/horizontalRule/component/index.js +67 -0
  285. package/dist/features/horizontalRule/component/index.js.map +1 -0
  286. package/dist/features/horizontalRule/feature.client.d.ts +5 -0
  287. package/dist/features/horizontalRule/feature.client.d.ts.map +1 -0
  288. package/dist/features/horizontalRule/feature.client.js +70 -0
  289. package/dist/features/horizontalRule/feature.client.js.map +1 -0
  290. package/dist/features/horizontalRule/feature.server.d.ts +2 -0
  291. package/dist/features/horizontalRule/feature.server.d.ts.map +1 -0
  292. package/dist/features/horizontalRule/feature.server.js +34 -0
  293. package/dist/features/horizontalRule/feature.server.js.map +1 -0
  294. package/dist/features/horizontalRule/i18n.d.ts +3 -0
  295. package/dist/features/horizontalRule/i18n.d.ts.map +1 -0
  296. package/dist/features/horizontalRule/i18n.js +100 -0
  297. package/dist/features/horizontalRule/i18n.js.map +1 -0
  298. package/dist/features/horizontalRule/markdownTransformer.d.ts.map +1 -0
  299. package/dist/features/horizontalRule/markdownTransformer.js.map +1 -0
  300. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.d.ts +56 -0
  301. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.d.ts.map +1 -0
  302. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.js +92 -0
  303. package/dist/features/horizontalRule/nodes/HorizontalRuleNode.js.map +1 -0
  304. package/dist/features/horizontalRule/plugin/index.d.ts +7 -0
  305. package/dist/features/horizontalRule/plugin/index.d.ts.map +1 -0
  306. package/dist/features/horizontalRule/plugin/index.js +30 -0
  307. package/dist/features/horizontalRule/plugin/index.js.map +1 -0
  308. package/dist/features/indent/feature.client.d.ts +5 -0
  309. package/dist/features/indent/feature.client.d.ts.map +1 -0
  310. package/dist/features/indent/feature.client.js +56 -0
  311. package/dist/features/indent/feature.client.js.map +1 -0
  312. package/dist/features/indent/feature.server.d.ts +2 -0
  313. package/dist/features/indent/feature.server.d.ts.map +1 -0
  314. package/dist/features/indent/feature.server.js +13 -0
  315. package/dist/features/indent/feature.server.js.map +1 -0
  316. package/dist/features/indent/i18n.d.ts +3 -0
  317. package/dist/features/indent/i18n.d.ts.map +1 -0
  318. package/dist/features/indent/i18n.js +132 -0
  319. package/dist/features/indent/i18n.js.map +1 -0
  320. package/dist/features/indent/toolbarIndentGroup.d.ts +3 -0
  321. package/dist/features/indent/toolbarIndentGroup.d.ts.map +1 -0
  322. package/dist/features/indent/toolbarIndentGroup.js +10 -0
  323. package/dist/features/indent/toolbarIndentGroup.js.map +1 -0
  324. package/dist/features/link/drawer/baseFields.d.ts +3 -0
  325. package/dist/features/link/drawer/baseFields.d.ts.map +1 -0
  326. package/dist/features/link/drawer/baseFields.js +94 -0
  327. package/dist/features/link/drawer/baseFields.js.map +1 -0
  328. package/dist/features/link/feature.client.d.ts +16 -0
  329. package/dist/features/link/feature.client.d.ts.map +1 -0
  330. package/dist/features/link/feature.client.js +101 -0
  331. package/dist/features/link/feature.client.js.map +1 -0
  332. package/dist/features/link/feature.server.d.ts +35 -0
  333. package/dist/features/link/feature.server.d.ts.map +1 -0
  334. package/dist/features/link/feature.server.js +128 -0
  335. package/dist/features/link/feature.server.js.map +1 -0
  336. package/dist/features/link/graphQLPopulationPromise.d.ts +5 -0
  337. package/dist/features/link/graphQLPopulationPromise.d.ts.map +1 -0
  338. package/dist/features/link/graphQLPopulationPromise.js +31 -0
  339. package/dist/features/link/graphQLPopulationPromise.js.map +1 -0
  340. package/dist/features/link/i18n.d.ts +3 -0
  341. package/dist/features/link/i18n.d.ts.map +1 -0
  342. package/dist/features/link/i18n.js +100 -0
  343. package/dist/features/link/i18n.js.map +1 -0
  344. package/dist/features/link/markdownTransformer.d.ts +6 -0
  345. package/dist/features/link/markdownTransformer.d.ts.map +1 -0
  346. package/dist/features/link/markdownTransformer.js +50 -0
  347. package/dist/features/link/markdownTransformer.js.map +1 -0
  348. package/dist/features/link/nodes/AutoLinkNode.d.ts.map +1 -0
  349. package/dist/features/link/nodes/AutoLinkNode.js +68 -0
  350. package/dist/features/link/nodes/AutoLinkNode.js.map +1 -0
  351. package/dist/features/link/nodes/LinkNode.d.ts +39 -0
  352. package/dist/features/link/nodes/LinkNode.d.ts.map +1 -0
  353. package/dist/features/link/nodes/LinkNode.js +317 -0
  354. package/dist/features/link/nodes/LinkNode.js.map +1 -0
  355. package/dist/features/link/nodes/types.d.ts +24 -0
  356. package/dist/features/link/nodes/types.d.ts.map +1 -0
  357. package/dist/features/link/nodes/types.js.map +1 -0
  358. package/dist/features/link/plugins/autoLink/index.d.ts +20 -0
  359. package/dist/features/link/plugins/autoLink/index.d.ts.map +1 -0
  360. package/dist/features/link/plugins/autoLink/index.js +323 -0
  361. package/dist/features/link/plugins/autoLink/index.js.map +1 -0
  362. package/dist/features/link/plugins/clickableLink/index.d.ts +4 -0
  363. package/dist/features/link/plugins/clickableLink/index.d.ts.map +1 -0
  364. package/dist/features/link/plugins/clickableLink/index.js +9 -0
  365. package/dist/features/link/plugins/clickableLink/index.js.map +1 -0
  366. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +1 -0
  367. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js +4 -0
  368. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +1 -0
  369. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -0
  370. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +299 -0
  371. package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +1 -0
  372. package/dist/features/link/plugins/floatingLinkEditor/index.d.ts +5 -0
  373. package/dist/features/link/plugins/floatingLinkEditor/index.d.ts.map +1 -0
  374. package/dist/features/link/plugins/floatingLinkEditor/index.js +13 -0
  375. package/dist/features/link/plugins/floatingLinkEditor/index.js.map +1 -0
  376. package/dist/features/link/plugins/floatingLinkEditor/types.d.ts.map +1 -0
  377. package/dist/features/link/plugins/floatingLinkEditor/types.js.map +1 -0
  378. package/dist/features/link/plugins/floatingLinkEditor/utilities.d.ts +9 -0
  379. package/dist/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +1 -0
  380. package/dist/features/link/plugins/floatingLinkEditor/utilities.js +20 -0
  381. package/dist/features/link/plugins/floatingLinkEditor/utilities.js.map +1 -0
  382. package/dist/features/link/plugins/link/index.d.ts +4 -0
  383. package/dist/features/link/plugins/link/index.d.ts.map +1 -0
  384. package/dist/features/link/plugins/link/index.js +53 -0
  385. package/dist/features/link/plugins/link/index.js.map +1 -0
  386. package/dist/features/link/validate.d.ts +6 -0
  387. package/dist/features/link/validate.d.ts.map +1 -0
  388. package/dist/features/link/validate.js +28 -0
  389. package/dist/features/link/validate.js.map +1 -0
  390. package/dist/features/lists/checklist/feature.client.d.ts +5 -0
  391. package/dist/features/lists/checklist/feature.client.d.ts.map +1 -0
  392. package/dist/features/lists/checklist/feature.client.js +100 -0
  393. package/dist/features/lists/checklist/feature.client.js.map +1 -0
  394. package/dist/features/lists/checklist/feature.server.d.ts +2 -0
  395. package/dist/features/lists/checklist/feature.server.d.ts.map +1 -0
  396. package/dist/features/lists/checklist/feature.server.js +36 -0
  397. package/dist/features/lists/checklist/feature.server.js.map +1 -0
  398. package/dist/features/lists/checklist/i18n.d.ts +3 -0
  399. package/dist/features/lists/checklist/i18n.d.ts.map +1 -0
  400. package/dist/features/lists/checklist/i18n.js +100 -0
  401. package/dist/features/lists/checklist/i18n.js.map +1 -0
  402. package/dist/features/lists/checklist/markdownTransformers.d.ts.map +1 -0
  403. package/dist/features/lists/checklist/markdownTransformers.js +16 -0
  404. package/dist/features/lists/checklist/markdownTransformers.js.map +1 -0
  405. package/dist/features/lists/checklist/plugin/index.d.ts +3 -0
  406. package/dist/features/lists/checklist/plugin/index.d.ts.map +1 -0
  407. package/dist/features/lists/checklist/plugin/index.js +9 -0
  408. package/dist/features/lists/checklist/plugin/index.js.map +1 -0
  409. package/dist/features/lists/htmlConverter.d.ts +5 -0
  410. package/dist/features/lists/htmlConverter.d.ts.map +1 -0
  411. package/dist/features/lists/htmlConverter.js +56 -0
  412. package/dist/features/lists/htmlConverter.js.map +1 -0
  413. package/dist/features/lists/orderedList/feature.client.d.ts +5 -0
  414. package/dist/features/lists/orderedList/feature.client.d.ts.map +1 -0
  415. package/dist/features/lists/orderedList/feature.client.js +90 -0
  416. package/dist/features/lists/orderedList/feature.client.js.map +1 -0
  417. package/dist/features/lists/orderedList/feature.server.d.ts +2 -0
  418. package/dist/features/lists/orderedList/feature.server.d.ts.map +1 -0
  419. package/dist/features/lists/orderedList/feature.server.js +36 -0
  420. package/dist/features/lists/orderedList/feature.server.js.map +1 -0
  421. package/dist/features/lists/orderedList/i18n.d.ts +3 -0
  422. package/dist/features/lists/orderedList/i18n.d.ts.map +1 -0
  423. package/dist/features/lists/orderedList/i18n.js +100 -0
  424. package/dist/features/lists/orderedList/i18n.js.map +1 -0
  425. package/dist/features/lists/orderedList/markdownTransformer.d.ts.map +1 -0
  426. package/dist/features/lists/orderedList/markdownTransformer.js +16 -0
  427. package/dist/features/lists/orderedList/markdownTransformer.js.map +1 -0
  428. package/dist/features/lists/plugin/index.d.ts +13 -0
  429. package/dist/features/lists/plugin/index.d.ts.map +1 -0
  430. package/dist/features/lists/plugin/index.js +9 -0
  431. package/dist/features/lists/plugin/index.js.map +1 -0
  432. package/dist/features/lists/shared/markdown.d.ts +6 -0
  433. package/dist/features/lists/shared/markdown.d.ts.map +1 -0
  434. package/dist/features/lists/shared/markdown.js +58 -0
  435. package/dist/features/lists/shared/markdown.js.map +1 -0
  436. package/dist/features/lists/shared/slashMenuListGroup.d.ts +3 -0
  437. package/dist/features/lists/shared/slashMenuListGroup.d.ts.map +1 -0
  438. package/dist/features/lists/shared/slashMenuListGroup.js +11 -0
  439. package/dist/features/lists/shared/slashMenuListGroup.js.map +1 -0
  440. package/dist/features/lists/unorderedList/feature.client.d.ts +5 -0
  441. package/dist/features/lists/unorderedList/feature.client.d.ts.map +1 -0
  442. package/dist/features/lists/unorderedList/feature.client.js +88 -0
  443. package/dist/features/lists/unorderedList/feature.client.js.map +1 -0
  444. package/dist/features/lists/unorderedList/feature.server.d.ts +2 -0
  445. package/dist/features/lists/unorderedList/feature.server.d.ts.map +1 -0
  446. package/dist/features/lists/unorderedList/feature.server.js +34 -0
  447. package/dist/features/lists/unorderedList/feature.server.js.map +1 -0
  448. package/dist/features/lists/unorderedList/i18n.d.ts +3 -0
  449. package/dist/features/lists/unorderedList/i18n.d.ts.map +1 -0
  450. package/dist/features/lists/unorderedList/i18n.js +100 -0
  451. package/dist/features/lists/unorderedList/i18n.js.map +1 -0
  452. package/dist/features/lists/unorderedList/markdownTransformer.d.ts.map +1 -0
  453. package/dist/features/lists/unorderedList/markdownTransformer.js +16 -0
  454. package/dist/features/lists/unorderedList/markdownTransformer.js.map +1 -0
  455. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +5 -0
  456. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +1 -0
  457. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +1 -0
  458. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  459. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +1 -0
  460. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +1 -0
  461. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +8 -0
  462. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +1 -0
  463. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +5 -0
  464. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +1 -0
  465. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +1 -0
  466. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +1 -0
  467. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +1 -0
  468. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +1 -0
  469. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js +8 -0
  470. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +1 -0
  471. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +5 -0
  472. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +1 -0
  473. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +1 -0
  474. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +1 -0
  475. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +1 -0
  476. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +1 -0
  477. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js +8 -0
  478. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +1 -0
  479. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +5 -0
  480. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +1 -0
  481. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +1 -0
  482. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  483. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +1 -0
  484. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +1 -0
  485. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +8 -0
  486. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +1 -0
  487. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +5 -0
  488. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +1 -0
  489. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +1 -0
  490. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +1 -0
  491. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +1 -0
  492. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +1 -0
  493. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +8 -0
  494. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +1 -0
  495. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +5 -0
  496. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +1 -0
  497. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +1 -0
  498. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  499. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +1 -0
  500. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +1 -0
  501. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +8 -0
  502. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +1 -0
  503. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +5 -0
  504. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +1 -0
  505. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +1 -0
  506. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  507. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +23 -0
  508. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +1 -0
  509. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +1 -0
  510. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +8 -0
  511. package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +1 -0
  512. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +1 -0
  513. package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +1 -0
  514. package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +1 -0
  515. package/dist/features/migrations/lexicalPluginToLexical/converter/index.js.map +1 -0
  516. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts +31 -0
  517. package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +1 -0
  518. package/dist/features/migrations/lexicalPluginToLexical/converter/types.js.map +1 -0
  519. package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts +5 -0
  520. package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +1 -0
  521. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js +27 -0
  522. package/dist/features/migrations/lexicalPluginToLexical/feature.client.js.map +1 -0
  523. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts +8 -0
  524. package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +1 -0
  525. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js +45 -0
  526. package/dist/features/migrations/lexicalPluginToLexical/feature.server.js.map +1 -0
  527. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  528. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +15 -0
  529. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
  530. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +33 -0
  531. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  532. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +69 -0
  533. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
  534. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +5 -0
  535. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +1 -0
  536. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.js +6 -0
  537. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +1 -0
  538. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +1 -0
  539. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +1 -0
  540. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +1 -0
  541. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.js +8 -0
  542. package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +1 -0
  543. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.d.ts +5 -0
  544. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +1 -0
  545. package/dist/features/migrations/slateToLexical/converter/converters/heading/client.js.map +1 -0
  546. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  547. package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +1 -0
  548. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +1 -0
  549. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.js +8 -0
  550. package/dist/features/migrations/slateToLexical/converter/converters/heading/index.js.map +1 -0
  551. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.d.ts +5 -0
  552. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +1 -0
  553. package/dist/features/migrations/slateToLexical/converter/converters/indent/client.js.map +1 -0
  554. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +1 -0
  555. package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +1 -0
  556. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +1 -0
  557. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.js +8 -0
  558. package/dist/features/migrations/slateToLexical/converter/converters/indent/index.js.map +1 -0
  559. package/dist/features/migrations/slateToLexical/converter/converters/link/client.d.ts +5 -0
  560. package/dist/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +1 -0
  561. package/dist/features/migrations/slateToLexical/converter/converters/link/client.js.map +1 -0
  562. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +1 -0
  563. package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js.map +1 -0
  564. package/dist/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +1 -0
  565. package/dist/features/migrations/slateToLexical/converter/converters/link/index.js +8 -0
  566. package/dist/features/migrations/slateToLexical/converter/converters/link/index.js.map +1 -0
  567. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts +5 -0
  568. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +1 -0
  569. package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +1 -0
  570. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  571. package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +1 -0
  572. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +1 -0
  573. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.js +8 -0
  574. package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +1 -0
  575. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +5 -0
  576. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +1 -0
  577. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +1 -0
  578. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +1 -0
  579. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +1 -0
  580. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +1 -0
  581. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.js +8 -0
  582. package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +1 -0
  583. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts +5 -0
  584. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +1 -0
  585. package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +1 -0
  586. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +1 -0
  587. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js +16 -0
  588. package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +1 -0
  589. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +1 -0
  590. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.js +8 -0
  591. package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +1 -0
  592. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts +5 -0
  593. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +1 -0
  594. package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +1 -0
  595. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  596. package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +1 -0
  597. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +1 -0
  598. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.js +8 -0
  599. package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +1 -0
  600. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +5 -0
  601. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +1 -0
  602. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +1 -0
  603. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +1 -0
  604. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +1 -0
  605. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +1 -0
  606. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.js +8 -0
  607. package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +1 -0
  608. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.d.ts +5 -0
  609. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +1 -0
  610. package/dist/features/migrations/slateToLexical/converter/converters/upload/client.js.map +1 -0
  611. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  612. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js +19 -0
  613. package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +1 -0
  614. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +1 -0
  615. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.js +8 -0
  616. package/dist/features/migrations/slateToLexical/converter/converters/upload/index.js.map +1 -0
  617. package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +1 -0
  618. package/dist/features/migrations/slateToLexical/converter/defaultConverters.js.map +1 -0
  619. package/dist/features/migrations/slateToLexical/converter/index.d.ts.map +1 -0
  620. package/dist/features/migrations/slateToLexical/converter/index.js +108 -0
  621. package/dist/features/migrations/slateToLexical/converter/index.js.map +1 -0
  622. package/dist/features/migrations/slateToLexical/converter/types.d.ts +25 -0
  623. package/dist/features/migrations/slateToLexical/converter/types.d.ts.map +1 -0
  624. package/dist/features/migrations/slateToLexical/converter/types.js.map +1 -0
  625. package/dist/features/migrations/slateToLexical/feature.client.d.ts +5 -0
  626. package/dist/features/migrations/slateToLexical/feature.client.d.ts.map +1 -0
  627. package/dist/features/migrations/slateToLexical/feature.client.js +27 -0
  628. package/dist/features/migrations/slateToLexical/feature.client.js.map +1 -0
  629. package/dist/features/migrations/slateToLexical/feature.server.d.ts +10 -0
  630. package/dist/features/migrations/slateToLexical/feature.server.d.ts.map +1 -0
  631. package/dist/features/migrations/slateToLexical/feature.server.js +47 -0
  632. package/dist/features/migrations/slateToLexical/feature.server.js.map +1 -0
  633. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  634. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +15 -0
  635. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
  636. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +33 -0
  637. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  638. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +69 -0
  639. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
  640. package/dist/features/paragraph/feature.client.d.ts +5 -0
  641. package/dist/features/paragraph/feature.client.d.ts.map +1 -0
  642. package/dist/features/paragraph/feature.client.js +71 -0
  643. package/dist/features/paragraph/feature.client.js.map +1 -0
  644. package/dist/features/paragraph/feature.server.d.ts +2 -0
  645. package/dist/features/paragraph/feature.server.d.ts.map +1 -0
  646. package/dist/features/paragraph/feature.server.js +14 -0
  647. package/dist/features/paragraph/feature.server.js.map +1 -0
  648. package/dist/features/paragraph/i18n.d.ts +3 -0
  649. package/dist/features/paragraph/i18n.d.ts.map +1 -0
  650. package/dist/features/paragraph/i18n.js +132 -0
  651. package/dist/features/paragraph/i18n.js.map +1 -0
  652. package/dist/features/relationship/drawer/commands.d.ts.map +1 -0
  653. package/dist/features/relationship/drawer/commands.js +4 -0
  654. package/dist/features/relationship/drawer/commands.js.map +1 -0
  655. package/dist/features/relationship/drawer/index.d.ts.map +1 -0
  656. package/dist/features/relationship/drawer/index.js +83 -0
  657. package/dist/features/relationship/drawer/index.js.map +1 -0
  658. package/dist/features/relationship/feature.client.d.ts +18 -0
  659. package/dist/features/relationship/feature.client.d.ts.map +1 -0
  660. package/dist/features/relationship/feature.client.js +72 -0
  661. package/dist/features/relationship/feature.client.js.map +1 -0
  662. package/dist/features/relationship/feature.server.d.ts +27 -0
  663. package/dist/features/relationship/feature.server.d.ts.map +1 -0
  664. package/dist/features/relationship/feature.server.js +55 -0
  665. package/dist/features/relationship/feature.server.js.map +1 -0
  666. package/dist/features/relationship/graphQLPopulationPromise.d.ts +5 -0
  667. package/dist/features/relationship/graphQLPopulationPromise.d.ts.map +1 -0
  668. package/dist/features/relationship/graphQLPopulationPromise.js +29 -0
  669. package/dist/features/relationship/graphQLPopulationPromise.js.map +1 -0
  670. package/dist/features/relationship/i18n.d.ts +3 -0
  671. package/dist/features/relationship/i18n.d.ts.map +1 -0
  672. package/dist/features/relationship/i18n.js +100 -0
  673. package/dist/features/relationship/i18n.js.map +1 -0
  674. package/dist/features/relationship/nodes/RelationshipNode.d.ts +35 -0
  675. package/dist/features/relationship/nodes/RelationshipNode.d.ts.map +1 -0
  676. package/dist/features/relationship/nodes/RelationshipNode.js +111 -0
  677. package/dist/features/relationship/nodes/RelationshipNode.js.map +1 -0
  678. package/dist/features/relationship/nodes/components/RelationshipComponent.d.ts +13 -0
  679. package/dist/features/relationship/nodes/components/RelationshipComponent.d.ts.map +1 -0
  680. package/dist/features/relationship/nodes/components/RelationshipComponent.js +171 -0
  681. package/dist/features/relationship/nodes/components/RelationshipComponent.js.map +1 -0
  682. package/dist/features/relationship/plugins/index.d.ts +7 -0
  683. package/dist/features/relationship/plugins/index.d.ts.map +1 -0
  684. package/dist/features/relationship/plugins/index.js +50 -0
  685. package/dist/features/relationship/plugins/index.js.map +1 -0
  686. package/dist/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +1 -0
  687. package/dist/features/relationship/utils/EnabledRelationshipsCondition.js +33 -0
  688. package/dist/features/relationship/utils/EnabledRelationshipsCondition.js.map +1 -0
  689. package/dist/features/shared/slashMenu/basicGroup.d.ts +3 -0
  690. package/dist/features/shared/slashMenu/basicGroup.d.ts.map +1 -0
  691. package/dist/features/shared/slashMenu/basicGroup.js +11 -0
  692. package/dist/features/shared/slashMenu/basicGroup.js.map +1 -0
  693. package/dist/features/shared/toolbar/addDropdownGroup.d.ts +3 -0
  694. package/dist/features/shared/toolbar/addDropdownGroup.d.ts.map +1 -0
  695. package/dist/features/shared/toolbar/addDropdownGroup.js +12 -0
  696. package/dist/features/shared/toolbar/addDropdownGroup.js.map +1 -0
  697. package/dist/features/shared/toolbar/featureButtonsGroup.d.ts +3 -0
  698. package/dist/features/shared/toolbar/featureButtonsGroup.d.ts.map +1 -0
  699. package/dist/features/shared/toolbar/featureButtonsGroup.js +10 -0
  700. package/dist/features/shared/toolbar/featureButtonsGroup.js.map +1 -0
  701. package/dist/features/shared/toolbar/textDropdownGroup.d.ts +3 -0
  702. package/dist/features/shared/toolbar/textDropdownGroup.d.ts.map +1 -0
  703. package/dist/features/shared/toolbar/textDropdownGroup.js +12 -0
  704. package/dist/features/shared/toolbar/textDropdownGroup.js.map +1 -0
  705. package/dist/features/toolbars/fixed/Toolbar/index.d.ts +5 -0
  706. package/dist/features/toolbars/fixed/Toolbar/index.d.ts.map +1 -0
  707. package/dist/features/toolbars/fixed/Toolbar/index.js +207 -0
  708. package/dist/features/toolbars/fixed/Toolbar/index.js.map +1 -0
  709. package/dist/features/toolbars/fixed/feature.client.d.ts +6 -0
  710. package/dist/features/toolbars/fixed/feature.client.d.ts.map +1 -0
  711. package/dist/features/toolbars/fixed/feature.client.js +13 -0
  712. package/dist/features/toolbars/fixed/feature.client.js.map +1 -0
  713. package/dist/features/toolbars/fixed/feature.server.d.ts +18 -0
  714. package/dist/features/toolbars/fixed/feature.server.d.ts.map +1 -0
  715. package/dist/features/toolbars/fixed/feature.server.js +19 -0
  716. package/dist/features/toolbars/fixed/feature.server.js.map +1 -0
  717. package/dist/features/toolbars/inline/Toolbar/index.d.ts +4 -0
  718. package/dist/features/toolbars/inline/Toolbar/index.d.ts.map +1 -0
  719. package/dist/features/toolbars/inline/Toolbar/index.js +319 -0
  720. package/dist/features/toolbars/inline/Toolbar/index.js.map +1 -0
  721. package/dist/features/toolbars/inline/feature.client.d.ts +5 -0
  722. package/dist/features/toolbars/inline/feature.client.d.ts.map +1 -0
  723. package/dist/features/toolbars/inline/feature.client.js +13 -0
  724. package/dist/features/toolbars/inline/feature.client.js.map +1 -0
  725. package/dist/features/toolbars/inline/feature.server.d.ts +2 -0
  726. package/dist/features/toolbars/inline/feature.server.d.ts.map +1 -0
  727. package/dist/features/toolbars/inline/feature.server.js +11 -0
  728. package/dist/features/toolbars/inline/feature.server.js.map +1 -0
  729. package/dist/features/toolbars/shared/ToolbarButton/index.d.ts +10 -0
  730. package/dist/features/toolbars/shared/ToolbarButton/index.d.ts.map +1 -0
  731. package/dist/features/toolbars/shared/ToolbarButton/index.js +108 -0
  732. package/dist/features/toolbars/shared/ToolbarButton/index.js.map +1 -0
  733. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts +22 -0
  734. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +1 -0
  735. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js +223 -0
  736. package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +1 -0
  737. package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts +23 -0
  738. package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +1 -0
  739. package/dist/features/toolbars/shared/ToolbarDropdown/index.js +141 -0
  740. package/dist/features/toolbars/shared/ToolbarDropdown/index.js.map +1 -0
  741. package/dist/features/toolbars/types.d.ts +80 -0
  742. package/dist/features/toolbars/types.d.ts.map +1 -0
  743. package/dist/features/toolbars/types.js.map +1 -0
  744. package/dist/features/typeUtilities.d.ts +8 -0
  745. package/dist/features/typeUtilities.d.ts.map +1 -0
  746. package/dist/features/typeUtilities.js +8 -0
  747. package/dist/features/typeUtilities.js.map +1 -0
  748. package/dist/features/typesClient.d.ts +186 -0
  749. package/dist/features/typesClient.d.ts.map +1 -0
  750. package/dist/features/typesClient.js +3 -0
  751. package/dist/features/typesClient.js.map +1 -0
  752. package/dist/features/typesServer.d.ts +315 -0
  753. package/dist/features/typesServer.d.ts.map +1 -0
  754. package/dist/features/typesServer.js +3 -0
  755. package/dist/features/typesServer.js.map +1 -0
  756. package/dist/features/upload/component/index.d.ts.map +1 -0
  757. package/dist/features/upload/component/index.js +242 -0
  758. package/dist/features/upload/component/index.js.map +1 -0
  759. package/dist/features/upload/drawer/commands.d.ts.map +1 -0
  760. package/dist/features/upload/drawer/commands.js +5 -0
  761. package/dist/features/upload/drawer/commands.js.map +1 -0
  762. package/dist/features/upload/drawer/index.d.ts.map +1 -0
  763. package/dist/features/upload/drawer/index.js +77 -0
  764. package/dist/features/upload/drawer/index.js.map +1 -0
  765. package/dist/features/upload/feature.client.d.ts +12 -0
  766. package/dist/features/upload/feature.client.d.ts.map +1 -0
  767. package/dist/features/upload/feature.client.js +74 -0
  768. package/dist/features/upload/feature.client.js.map +1 -0
  769. package/dist/features/upload/feature.server.d.ts +18 -0
  770. package/dist/features/upload/feature.server.d.ts.map +1 -0
  771. package/dist/features/upload/feature.server.js +184 -0
  772. package/dist/features/upload/feature.server.js.map +1 -0
  773. package/dist/features/upload/graphQLPopulationPromise.d.ts +5 -0
  774. package/dist/features/upload/graphQLPopulationPromise.d.ts.map +1 -0
  775. package/dist/features/upload/graphQLPopulationPromise.js +52 -0
  776. package/dist/features/upload/graphQLPopulationPromise.js.map +1 -0
  777. package/dist/features/upload/i18n.d.ts +3 -0
  778. package/dist/features/upload/i18n.d.ts.map +1 -0
  779. package/dist/features/upload/i18n.js +100 -0
  780. package/dist/features/upload/i18n.js.map +1 -0
  781. package/dist/features/upload/nodes/UploadNode.d.ts +39 -0
  782. package/dist/features/upload/nodes/UploadNode.d.ts.map +1 -0
  783. package/dist/features/upload/nodes/UploadNode.js +131 -0
  784. package/dist/features/upload/nodes/UploadNode.js.map +1 -0
  785. package/dist/features/upload/plugin/index.d.ts +8 -0
  786. package/dist/features/upload/plugin/index.d.ts.map +1 -0
  787. package/dist/features/upload/plugin/index.js +53 -0
  788. package/dist/features/upload/plugin/index.js.map +1 -0
  789. package/dist/features/upload/validate.d.ts +5 -0
  790. package/dist/features/upload/validate.d.ts.map +1 -0
  791. package/dist/features/upload/validate.js +44 -0
  792. package/dist/features/upload/validate.js.map +1 -0
  793. package/dist/field/Field.d.ts +5 -6
  794. package/dist/field/Field.d.ts.map +1 -1
  795. package/dist/field/Field.js +71 -56
  796. package/dist/field/Field.js.map +1 -1
  797. package/dist/field/bundled.css +0 -0
  798. package/dist/field/index.d.ts +6 -4
  799. package/dist/field/index.d.ts.map +1 -1
  800. package/dist/field/index.js +37 -86
  801. package/dist/field/index.js.map +1 -1
  802. package/dist/i18n.d.ts +3 -0
  803. package/dist/i18n.d.ts.map +1 -0
  804. package/dist/i18n.js +164 -0
  805. package/dist/i18n.js.map +1 -0
  806. package/dist/index.d.ts +76 -84
  807. package/dist/index.d.ts.map +1 -1
  808. package/dist/index.js +673 -251
  809. package/dist/index.js.map +1 -1
  810. package/dist/lexical/EditorPlugin.d.ts +8 -0
  811. package/dist/lexical/EditorPlugin.d.ts.map +1 -0
  812. package/dist/lexical/EditorPlugin.js +15 -0
  813. package/dist/lexical/EditorPlugin.js.map +1 -0
  814. package/dist/lexical/LexicalEditor.d.ts +7 -0
  815. package/dist/lexical/LexicalEditor.d.ts.map +1 -0
  816. package/dist/lexical/LexicalEditor.js +192 -0
  817. package/dist/lexical/LexicalEditor.js.map +1 -0
  818. package/dist/lexical/LexicalProvider.d.ts +18 -0
  819. package/dist/lexical/LexicalProvider.d.ts.map +1 -0
  820. package/dist/lexical/LexicalProvider.js +98 -0
  821. package/dist/lexical/LexicalProvider.js.map +1 -0
  822. package/dist/lexical/config/client/EditorConfigProvider.d.ts +35 -0
  823. package/dist/lexical/config/client/EditorConfigProvider.d.ts.map +1 -0
  824. package/dist/lexical/config/client/EditorConfigProvider.js +91 -0
  825. package/dist/lexical/config/client/EditorConfigProvider.js.map +1 -0
  826. package/dist/lexical/config/client/default.d.ts +3 -0
  827. package/dist/lexical/config/client/default.d.ts.map +1 -0
  828. package/dist/lexical/config/client/default.js.map +1 -0
  829. package/dist/lexical/config/client/loader.d.ts +12 -0
  830. package/dist/lexical/config/client/loader.d.ts.map +1 -0
  831. package/dist/lexical/config/client/loader.js +46 -0
  832. package/dist/lexical/config/client/loader.js.map +1 -0
  833. package/dist/lexical/config/client/sanitize.d.ts +7 -0
  834. package/dist/lexical/config/client/sanitize.d.ts.map +1 -0
  835. package/dist/lexical/config/client/sanitize.js +180 -0
  836. package/dist/lexical/config/client/sanitize.js.map +1 -0
  837. package/dist/lexical/config/server/default.d.ts +7 -0
  838. package/dist/lexical/config/server/default.d.ts.map +1 -0
  839. package/dist/lexical/config/server/default.js +53 -0
  840. package/dist/lexical/config/server/default.js.map +1 -0
  841. package/dist/lexical/config/server/loader.d.ts +10 -0
  842. package/dist/lexical/config/server/loader.d.ts.map +1 -0
  843. package/dist/lexical/config/server/loader.js +120 -0
  844. package/dist/lexical/config/server/loader.js.map +1 -0
  845. package/dist/lexical/config/server/sanitize.d.ts +6 -0
  846. package/dist/lexical/config/server/sanitize.d.ts.map +1 -0
  847. package/dist/lexical/config/server/sanitize.js +95 -0
  848. package/dist/lexical/config/server/sanitize.js.map +1 -0
  849. package/dist/lexical/config/types.d.ts +24 -0
  850. package/dist/lexical/config/types.d.ts.map +1 -0
  851. package/dist/lexical/config/types.js.map +1 -0
  852. package/dist/lexical/nodes/index.d.ts +6 -0
  853. package/dist/lexical/nodes/index.d.ts.map +1 -0
  854. package/dist/lexical/nodes/index.js.map +1 -0
  855. package/dist/lexical/plugins/MarkdownShortcut/index.d.ts.map +1 -0
  856. package/dist/lexical/plugins/MarkdownShortcut/index.js +13 -0
  857. package/dist/lexical/plugins/MarkdownShortcut/index.js.map +1 -0
  858. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +32 -0
  859. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +1 -0
  860. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +399 -0
  861. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +1 -0
  862. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +24 -0
  863. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +1 -0
  864. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +186 -0
  865. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +1 -0
  866. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +46 -0
  867. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +1 -0
  868. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +1 -0
  869. package/dist/lexical/plugins/SlashMenu/index.d.ts +6 -0
  870. package/dist/lexical/plugins/SlashMenu/index.d.ts.map +1 -0
  871. package/dist/lexical/plugins/SlashMenu/index.js +189 -0
  872. package/dist/lexical/plugins/SlashMenu/index.js.map +1 -0
  873. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +1 -0
  874. package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +1 -0
  875. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts +6 -0
  876. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +1 -0
  877. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js +157 -0
  878. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +1 -0
  879. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +1 -0
  880. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +1 -0
  881. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +1 -0
  882. package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +1 -0
  883. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts +3 -0
  884. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +1 -0
  885. package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +1 -0
  886. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts +6 -0
  887. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +1 -0
  888. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js +342 -0
  889. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +1 -0
  890. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +9 -0
  891. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +1 -0
  892. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js +116 -0
  893. package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +1 -0
  894. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts +5 -0
  895. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts.map +1 -0
  896. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js +21 -0
  897. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js.map +1 -0
  898. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +1 -0
  899. package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +1 -0
  900. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +1 -0
  901. package/dist/lexical/plugins/handles/utils/getCollapsedMargins.js.map +1 -0
  902. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts +31 -0
  903. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts.map +1 -0
  904. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.js +138 -0
  905. package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.js.map +1 -0
  906. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +1 -0
  907. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.js +6 -0
  908. package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +1 -0
  909. package/dist/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +1 -0
  910. package/dist/lexical/plugins/handles/utils/isOnHandleElement.js.map +1 -0
  911. package/dist/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +1 -0
  912. package/dist/lexical/plugins/handles/utils/setHandlePosition.js +29 -0
  913. package/dist/lexical/plugins/handles/utils/setHandlePosition.js.map +1 -0
  914. package/dist/lexical/theme/EditorTheme.d.ts.map +1 -0
  915. package/dist/lexical/theme/EditorTheme.js +106 -0
  916. package/dist/lexical/theme/EditorTheme.js.map +1 -0
  917. package/dist/lexical/ui/ContentEditable.d.ts +6 -0
  918. package/dist/lexical/ui/ContentEditable.d.ts.map +1 -0
  919. package/dist/lexical/ui/ContentEditable.js +10 -0
  920. package/dist/lexical/ui/ContentEditable.js.map +1 -0
  921. package/dist/lexical/ui/icons/AI/index.d.ts.map +1 -0
  922. package/dist/lexical/ui/icons/AI/index.js +36 -0
  923. package/dist/lexical/ui/icons/AI/index.js.map +1 -0
  924. package/dist/lexical/ui/icons/Add/index.d.ts +3 -0
  925. package/dist/lexical/ui/icons/Add/index.d.ts.map +1 -0
  926. package/dist/lexical/ui/icons/Add/index.js +21 -0
  927. package/dist/lexical/ui/icons/Add/index.js.map +1 -0
  928. package/dist/lexical/ui/icons/Add/light.svg +4 -0
  929. package/dist/lexical/ui/icons/AlignCenter/index.d.ts.map +1 -0
  930. package/dist/lexical/ui/icons/AlignCenter/index.js +31 -0
  931. package/dist/lexical/ui/icons/AlignCenter/index.js.map +1 -0
  932. package/dist/lexical/ui/icons/AlignJustify/index.d.ts.map +1 -0
  933. package/dist/lexical/ui/icons/AlignJustify/index.js +31 -0
  934. package/dist/lexical/ui/icons/AlignJustify/index.js.map +1 -0
  935. package/dist/lexical/ui/icons/AlignLeft/index.d.ts.map +1 -0
  936. package/dist/lexical/ui/icons/AlignLeft/index.js +31 -0
  937. package/dist/lexical/ui/icons/AlignLeft/index.js.map +1 -0
  938. package/dist/lexical/ui/icons/AlignRight/index.d.ts.map +1 -0
  939. package/dist/lexical/ui/icons/AlignRight/index.js +31 -0
  940. package/dist/lexical/ui/icons/AlignRight/index.js.map +1 -0
  941. package/dist/lexical/ui/icons/Block/index.d.ts.map +1 -0
  942. package/dist/lexical/ui/icons/Block/index.js +40 -0
  943. package/dist/lexical/ui/icons/Block/index.js.map +1 -0
  944. package/dist/lexical/ui/icons/Blockquote/index.d.ts.map +1 -0
  945. package/dist/lexical/ui/icons/Blockquote/index.js +18 -0
  946. package/dist/lexical/ui/icons/Blockquote/index.js.map +1 -0
  947. package/dist/lexical/ui/icons/Bold/index.d.ts.map +1 -0
  948. package/dist/lexical/ui/icons/Bold/index.js +18 -0
  949. package/dist/lexical/ui/icons/Bold/index.js.map +1 -0
  950. package/dist/lexical/ui/icons/Checklist/index.d.ts.map +1 -0
  951. package/dist/lexical/ui/icons/Checklist/index.js +29 -0
  952. package/dist/lexical/ui/icons/Checklist/index.js.map +1 -0
  953. package/dist/lexical/ui/icons/Code/index.d.ts.map +1 -0
  954. package/dist/lexical/ui/icons/Code/index.js +24 -0
  955. package/dist/lexical/ui/icons/Code/index.js.map +1 -0
  956. package/dist/lexical/ui/icons/CodeBlock/index.d.ts.map +1 -0
  957. package/dist/lexical/ui/icons/CodeBlock/index.js +24 -0
  958. package/dist/lexical/ui/icons/CodeBlock/index.js.map +1 -0
  959. package/dist/lexical/ui/icons/DraggableBlock/light.svg +9 -0
  960. package/dist/lexical/ui/icons/H1/index.d.ts.map +1 -0
  961. package/dist/lexical/ui/icons/H1/index.js +18 -0
  962. package/dist/lexical/ui/icons/H1/index.js.map +1 -0
  963. package/dist/lexical/ui/icons/H2/index.d.ts.map +1 -0
  964. package/dist/lexical/ui/icons/H2/index.js +18 -0
  965. package/dist/lexical/ui/icons/H2/index.js.map +1 -0
  966. package/dist/lexical/ui/icons/H3/index.d.ts.map +1 -0
  967. package/dist/lexical/ui/icons/H3/index.js +18 -0
  968. package/dist/lexical/ui/icons/H3/index.js.map +1 -0
  969. package/dist/lexical/ui/icons/H4/index.d.ts.map +1 -0
  970. package/dist/lexical/ui/icons/H4/index.js +18 -0
  971. package/dist/lexical/ui/icons/H4/index.js.map +1 -0
  972. package/dist/lexical/ui/icons/H5/index.d.ts.map +1 -0
  973. package/dist/lexical/ui/icons/H5/index.js +18 -0
  974. package/dist/lexical/ui/icons/H5/index.js.map +1 -0
  975. package/dist/lexical/ui/icons/H6/index.d.ts.map +1 -0
  976. package/dist/lexical/ui/icons/H6/index.js +18 -0
  977. package/dist/lexical/ui/icons/H6/index.js.map +1 -0
  978. package/dist/lexical/ui/icons/HorizontalRule/index.d.ts.map +1 -0
  979. package/dist/lexical/ui/icons/HorizontalRule/index.js +21 -0
  980. package/dist/lexical/ui/icons/HorizontalRule/index.js.map +1 -0
  981. package/dist/lexical/ui/icons/IndentDecrease/index.d.ts.map +1 -0
  982. package/dist/lexical/ui/icons/IndentDecrease/index.js +35 -0
  983. package/dist/lexical/ui/icons/IndentDecrease/index.js.map +1 -0
  984. package/dist/lexical/ui/icons/IndentIncrease/index.d.ts.map +1 -0
  985. package/dist/lexical/ui/icons/IndentIncrease/index.js +35 -0
  986. package/dist/lexical/ui/icons/IndentIncrease/index.js.map +1 -0
  987. package/dist/lexical/ui/icons/InlineBlocks/index.d.ts +3 -0
  988. package/dist/lexical/ui/icons/InlineBlocks/index.d.ts.map +1 -0
  989. package/dist/lexical/ui/icons/InlineBlocks/index.js +20 -0
  990. package/dist/lexical/ui/icons/InlineBlocks/index.js.map +1 -0
  991. package/dist/lexical/ui/icons/Italic/index.d.ts.map +1 -0
  992. package/dist/lexical/ui/icons/Italic/index.js +18 -0
  993. package/dist/lexical/ui/icons/Italic/index.js.map +1 -0
  994. package/dist/lexical/ui/icons/Link/index.d.ts.map +1 -0
  995. package/dist/lexical/ui/icons/Link/index.js +19 -0
  996. package/dist/lexical/ui/icons/Link/index.js.map +1 -0
  997. package/dist/lexical/ui/icons/Meatballs/index.d.ts +3 -0
  998. package/dist/lexical/ui/icons/Meatballs/index.d.ts.map +1 -0
  999. package/dist/lexical/ui/icons/Meatballs/index.js +25 -0
  1000. package/dist/lexical/ui/icons/Meatballs/index.js.map +1 -0
  1001. package/dist/lexical/ui/icons/OrderedList/index.d.ts.map +1 -0
  1002. package/dist/lexical/ui/icons/OrderedList/index.js +39 -0
  1003. package/dist/lexical/ui/icons/OrderedList/index.js.map +1 -0
  1004. package/dist/lexical/ui/icons/Relationship/index.d.ts.map +1 -0
  1005. package/dist/lexical/ui/icons/Relationship/index.js +36 -0
  1006. package/dist/lexical/ui/icons/Relationship/index.js.map +1 -0
  1007. package/dist/lexical/ui/icons/Strikethrough/index.d.ts.map +1 -0
  1008. package/dist/lexical/ui/icons/Strikethrough/index.js +24 -0
  1009. package/dist/lexical/ui/icons/Strikethrough/index.js.map +1 -0
  1010. package/dist/lexical/ui/icons/Subscript/index.d.ts.map +1 -0
  1011. package/dist/lexical/ui/icons/Subscript/index.js +18 -0
  1012. package/dist/lexical/ui/icons/Subscript/index.js.map +1 -0
  1013. package/dist/lexical/ui/icons/Superscript/index.d.ts.map +1 -0
  1014. package/dist/lexical/ui/icons/Superscript/index.js +18 -0
  1015. package/dist/lexical/ui/icons/Superscript/index.js.map +1 -0
  1016. package/dist/lexical/ui/icons/Table/index.d.ts +3 -0
  1017. package/dist/lexical/ui/icons/Table/index.d.ts.map +1 -0
  1018. package/dist/lexical/ui/icons/Table/index.js +19 -0
  1019. package/dist/lexical/ui/icons/Table/index.js.map +1 -0
  1020. package/dist/lexical/ui/icons/Text/index.d.ts.map +1 -0
  1021. package/dist/lexical/ui/icons/Text/index.js +18 -0
  1022. package/dist/lexical/ui/icons/Text/index.js.map +1 -0
  1023. package/dist/lexical/ui/icons/Underline/index.d.ts.map +1 -0
  1024. package/dist/lexical/ui/icons/Underline/index.js +24 -0
  1025. package/dist/lexical/ui/icons/Underline/index.js.map +1 -0
  1026. package/dist/lexical/ui/icons/UnorderedList/index.d.ts.map +1 -0
  1027. package/dist/lexical/ui/icons/UnorderedList/index.js +55 -0
  1028. package/dist/lexical/ui/icons/UnorderedList/index.js.map +1 -0
  1029. package/dist/lexical/ui/icons/Upload/index.d.ts.map +1 -0
  1030. package/dist/lexical/ui/icons/Upload/index.js +34 -0
  1031. package/dist/lexical/ui/icons/Upload/index.js.map +1 -0
  1032. package/dist/lexical/utils/canUseDOM.d.ts.map +1 -0
  1033. package/dist/lexical/utils/canUseDOM.js.map +1 -0
  1034. package/dist/lexical/utils/environment.d.ts.map +1 -0
  1035. package/dist/lexical/utils/environment.js.map +1 -0
  1036. package/dist/lexical/utils/getDOMRangeRect.d.ts.map +1 -0
  1037. package/dist/lexical/utils/getDOMRangeRect.js.map +1 -0
  1038. package/dist/lexical/utils/getSelectedNode.d.ts.map +1 -0
  1039. package/dist/lexical/utils/getSelectedNode.js +17 -0
  1040. package/dist/lexical/utils/getSelectedNode.js.map +1 -0
  1041. package/dist/lexical/utils/guard.d.ts.map +1 -0
  1042. package/dist/lexical/utils/guard.js.map +1 -0
  1043. package/dist/lexical/utils/invariant.d.ts.map +1 -0
  1044. package/dist/lexical/utils/invariant.js.map +1 -0
  1045. package/dist/lexical/utils/joinClasses.d.ts.map +1 -0
  1046. package/dist/lexical/utils/joinClasses.js.map +1 -0
  1047. package/dist/lexical/utils/markdown/createBlockNode.d.ts +4 -0
  1048. package/dist/lexical/utils/markdown/createBlockNode.d.ts.map +1 -0
  1049. package/dist/lexical/utils/markdown/createBlockNode.js.map +1 -0
  1050. package/dist/lexical/utils/nodeFormat.d.ts +41 -0
  1051. package/dist/lexical/utils/nodeFormat.d.ts.map +1 -0
  1052. package/dist/lexical/utils/nodeFormat.js +88 -0
  1053. package/dist/lexical/utils/nodeFormat.js.map +1 -0
  1054. package/dist/lexical/utils/point.d.ts.map +1 -0
  1055. package/dist/lexical/utils/point.js.map +1 -0
  1056. package/dist/lexical/utils/rect.d.ts.map +1 -0
  1057. package/dist/lexical/utils/rect.js.map +1 -0
  1058. package/dist/lexical/utils/setFloatingElemPosition.d.ts +12 -0
  1059. package/dist/lexical/utils/setFloatingElemPosition.d.ts.map +1 -0
  1060. package/dist/lexical/utils/setFloatingElemPosition.js +56 -0
  1061. package/dist/lexical/utils/setFloatingElemPosition.js.map +1 -0
  1062. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +1 -0
  1063. package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +1 -0
  1064. package/dist/lexical/utils/swipe.d.ts.map +1 -0
  1065. package/dist/lexical/utils/swipe.js.map +1 -0
  1066. package/dist/lexical/utils/url.d.ts.map +1 -0
  1067. package/dist/lexical/utils/url.js +36 -0
  1068. package/dist/lexical/utils/url.js.map +1 -0
  1069. package/dist/nodeTypes.d.ts +30 -0
  1070. package/dist/nodeTypes.d.ts.map +1 -0
  1071. package/dist/nodeTypes.js +3 -0
  1072. package/dist/nodeTypes.js.map +1 -0
  1073. package/dist/populateGraphQL/defaultValue.d.ts +3 -0
  1074. package/dist/populateGraphQL/defaultValue.d.ts.map +1 -0
  1075. package/dist/populateGraphQL/defaultValue.js +32 -0
  1076. package/dist/populateGraphQL/defaultValue.js.map +1 -0
  1077. package/dist/populateGraphQL/populate.d.ts +17 -0
  1078. package/dist/populateGraphQL/populate.d.ts.map +1 -0
  1079. package/dist/populateGraphQL/populate.js +28 -0
  1080. package/dist/populateGraphQL/populate.js.map +1 -0
  1081. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts +12 -0
  1082. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts.map +1 -0
  1083. package/dist/populateGraphQL/populateLexicalPopulationPromises.js +37 -0
  1084. package/dist/populateGraphQL/populateLexicalPopulationPromises.js.map +1 -0
  1085. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts +28 -0
  1086. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts.map +1 -0
  1087. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js +28 -0
  1088. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js.map +1 -0
  1089. package/dist/types.d.ts +52 -15
  1090. package/dist/types.d.ts.map +1 -1
  1091. package/dist/types.js.map +1 -1
  1092. package/dist/utilities/createClientFeature.d.ts +13 -0
  1093. package/dist/utilities/createClientFeature.d.ts.map +1 -0
  1094. package/dist/utilities/createClientFeature.js +30 -0
  1095. package/dist/utilities/createClientFeature.js.map +1 -0
  1096. package/dist/utilities/createServerFeature.d.ts +16 -0
  1097. package/dist/utilities/createServerFeature.d.ts.map +1 -0
  1098. package/dist/utilities/createServerFeature.js +34 -0
  1099. package/dist/utilities/createServerFeature.js.map +1 -0
  1100. package/dist/utilities/fieldsDrawer/Drawer.d.ts +18 -0
  1101. package/dist/utilities/fieldsDrawer/Drawer.d.ts.map +1 -0
  1102. package/dist/utilities/fieldsDrawer/Drawer.js +26 -0
  1103. package/dist/utilities/fieldsDrawer/Drawer.js.map +1 -0
  1104. package/dist/utilities/fieldsDrawer/DrawerContent.d.ts +4 -0
  1105. package/dist/utilities/fieldsDrawer/DrawerContent.d.ts.map +1 -0
  1106. package/dist/utilities/fieldsDrawer/DrawerContent.js +90 -0
  1107. package/dist/utilities/fieldsDrawer/DrawerContent.js.map +1 -0
  1108. package/dist/utilities/forEachNodeRecursively.d.ts +10 -0
  1109. package/dist/utilities/forEachNodeRecursively.d.ts.map +1 -0
  1110. package/dist/utilities/forEachNodeRecursively.js +24 -0
  1111. package/dist/utilities/forEachNodeRecursively.js.map +1 -0
  1112. package/dist/utilities/generateComponentMap.d.ts +6 -0
  1113. package/dist/utilities/generateComponentMap.d.ts.map +1 -0
  1114. package/dist/utilities/generateComponentMap.js +77 -0
  1115. package/dist/utilities/generateComponentMap.js.map +1 -0
  1116. package/dist/utilities/generateSchemaMap.d.ts +6 -0
  1117. package/dist/utilities/generateSchemaMap.d.ts.map +1 -0
  1118. package/dist/utilities/generateSchemaMap.js +31 -0
  1119. package/dist/utilities/generateSchemaMap.js.map +1 -0
  1120. package/dist/utilities/migrateSlateToLexical/index.d.ts +15 -0
  1121. package/dist/utilities/migrateSlateToLexical/index.d.ts.map +1 -0
  1122. package/dist/utilities/migrateSlateToLexical/index.js +105 -0
  1123. package/dist/utilities/migrateSlateToLexical/index.js.map +1 -0
  1124. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts +9 -0
  1125. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts.map +1 -0
  1126. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js +77 -0
  1127. package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js.map +1 -0
  1128. package/dist/utilities/recurseNodeTree.d.ts +9 -0
  1129. package/dist/utilities/recurseNodeTree.d.ts.map +1 -0
  1130. package/dist/utilities/recurseNodeTree.js +27 -0
  1131. package/dist/utilities/recurseNodeTree.js.map +1 -0
  1132. package/dist/utilities/upgradeLexicalData/index.d.ts +11 -0
  1133. package/dist/utilities/upgradeLexicalData/index.d.ts.map +1 -0
  1134. package/dist/utilities/upgradeLexicalData/index.js +101 -0
  1135. package/dist/utilities/upgradeLexicalData/index.js.map +1 -0
  1136. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.d.ts +9 -0
  1137. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.d.ts.map +1 -0
  1138. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js +74 -0
  1139. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js.map +1 -0
  1140. package/dist/utilities/useLexicalFeature.d.ts +3 -0
  1141. package/dist/utilities/useLexicalFeature.d.ts.map +1 -0
  1142. package/dist/utilities/useLexicalFeature.js +12 -0
  1143. package/dist/utilities/useLexicalFeature.js.map +1 -0
  1144. package/dist/validate/index.d.ts +3 -3
  1145. package/dist/validate/index.d.ts.map +1 -1
  1146. package/dist/validate/index.js +3 -2
  1147. package/dist/validate/index.js.map +1 -1
  1148. package/dist/validate/validateNodes.d.ts +2 -2
  1149. package/dist/validate/validateNodes.d.ts.map +1 -1
  1150. package/dist/validate/validateNodes.js +1 -1
  1151. package/dist/validate/validateNodes.js.map +1 -1
  1152. package/package.json +75 -56
  1153. package/dist/exports/components.d.ts +0 -6
  1154. package/dist/exports/components.d.ts.map +0 -1
  1155. package/dist/exports/components.js +0 -7
  1156. package/dist/exports/components.js.map +0 -1
  1157. package/dist/field/features/align/feature.client.d.ts +0 -3
  1158. package/dist/field/features/align/feature.client.d.ts.map +0 -1
  1159. package/dist/field/features/align/feature.client.js +0 -72
  1160. package/dist/field/features/align/feature.client.js.map +0 -1
  1161. package/dist/field/features/align/feature.server.d.ts +0 -3
  1162. package/dist/field/features/align/feature.server.d.ts.map +0 -1
  1163. package/dist/field/features/align/feature.server.js +0 -16
  1164. package/dist/field/features/align/feature.server.js.map +0 -1
  1165. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.d.ts +0 -3
  1166. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.d.ts.map +0 -1
  1167. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.js +0 -12
  1168. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.js.map +0 -1
  1169. package/dist/field/features/blockquote/feature.client.d.ts +0 -3
  1170. package/dist/field/features/blockquote/feature.client.d.ts.map +0 -1
  1171. package/dist/field/features/blockquote/feature.client.js +0 -70
  1172. package/dist/field/features/blockquote/feature.client.js.map +0 -1
  1173. package/dist/field/features/blockquote/feature.server.d.ts +0 -3
  1174. package/dist/field/features/blockquote/feature.server.d.ts.map +0 -1
  1175. package/dist/field/features/blockquote/feature.server.js +0 -47
  1176. package/dist/field/features/blockquote/feature.server.js.map +0 -1
  1177. package/dist/field/features/blockquote/markdownTransformer.d.ts.map +0 -1
  1178. package/dist/field/features/blockquote/markdownTransformer.js +0 -42
  1179. package/dist/field/features/blockquote/markdownTransformer.js.map +0 -1
  1180. package/dist/field/features/blocks/component/BlockContent.d.ts +0 -27
  1181. package/dist/field/features/blocks/component/BlockContent.d.ts.map +0 -1
  1182. package/dist/field/features/blocks/component/BlockContent.js +0 -183
  1183. package/dist/field/features/blocks/component/BlockContent.js.map +0 -1
  1184. package/dist/field/features/blocks/component/FormSavePlugin.d.ts +0 -12
  1185. package/dist/field/features/blocks/component/FormSavePlugin.d.ts.map +0 -1
  1186. package/dist/field/features/blocks/component/FormSavePlugin.js +0 -29
  1187. package/dist/field/features/blocks/component/FormSavePlugin.js.map +0 -1
  1188. package/dist/field/features/blocks/component/index.d.ts +0 -16
  1189. package/dist/field/features/blocks/component/index.d.ts.map +0 -1
  1190. package/dist/field/features/blocks/component/index.js +0 -128
  1191. package/dist/field/features/blocks/component/index.js.map +0 -1
  1192. package/dist/field/features/blocks/component/index.scss +0 -153
  1193. package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts +0 -11
  1194. package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts.map +0 -1
  1195. package/dist/field/features/blocks/component/removeEmptyArrayValues.js.map +0 -1
  1196. package/dist/field/features/blocks/drawer/index.d.ts +0 -9
  1197. package/dist/field/features/blocks/drawer/index.d.ts.map +0 -1
  1198. package/dist/field/features/blocks/drawer/index.js +0 -84
  1199. package/dist/field/features/blocks/drawer/index.js.map +0 -1
  1200. package/dist/field/features/blocks/feature.client.d.ts +0 -7
  1201. package/dist/field/features/blocks/feature.client.d.ts.map +0 -1
  1202. package/dist/field/features/blocks/feature.client.js +0 -61
  1203. package/dist/field/features/blocks/feature.client.js.map +0 -1
  1204. package/dist/field/features/blocks/feature.server.d.ts +0 -11
  1205. package/dist/field/features/blocks/feature.server.d.ts.map +0 -1
  1206. package/dist/field/features/blocks/feature.server.js +0 -127
  1207. package/dist/field/features/blocks/feature.server.js.map +0 -1
  1208. package/dist/field/features/blocks/nodes/BlocksNode.d.ts +0 -38
  1209. package/dist/field/features/blocks/nodes/BlocksNode.d.ts.map +0 -1
  1210. package/dist/field/features/blocks/nodes/BlocksNode.js +0 -92
  1211. package/dist/field/features/blocks/nodes/BlocksNode.js.map +0 -1
  1212. package/dist/field/features/blocks/plugin/commands.d.ts +0 -4
  1213. package/dist/field/features/blocks/plugin/commands.d.ts.map +0 -1
  1214. package/dist/field/features/blocks/plugin/commands.js +0 -5
  1215. package/dist/field/features/blocks/plugin/commands.js.map +0 -1
  1216. package/dist/field/features/blocks/plugin/index.d.ts +0 -5
  1217. package/dist/field/features/blocks/plugin/index.d.ts.map +0 -1
  1218. package/dist/field/features/blocks/plugin/index.js +0 -43
  1219. package/dist/field/features/blocks/plugin/index.js.map +0 -1
  1220. package/dist/field/features/blocks/populationPromise.d.ts +0 -5
  1221. package/dist/field/features/blocks/populationPromise.d.ts.map +0 -1
  1222. package/dist/field/features/blocks/populationPromise.js +0 -46
  1223. package/dist/field/features/blocks/populationPromise.js.map +0 -1
  1224. package/dist/field/features/blocks/validate.d.ts +0 -5
  1225. package/dist/field/features/blocks/validate.d.ts.map +0 -1
  1226. package/dist/field/features/blocks/validate.js +0 -50
  1227. package/dist/field/features/blocks/validate.js.map +0 -1
  1228. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.d.ts +0 -3
  1229. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.d.ts.map +0 -1
  1230. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.js +0 -10
  1231. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.js.map +0 -1
  1232. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.d.ts +0 -3
  1233. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.d.ts.map +0 -1
  1234. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.js +0 -12
  1235. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.js.map +0 -1
  1236. package/dist/field/features/converters/html/converter/converters/linebreak.d.ts.map +0 -1
  1237. package/dist/field/features/converters/html/converter/converters/linebreak.js.map +0 -1
  1238. package/dist/field/features/converters/html/converter/converters/paragraph.d.ts.map +0 -1
  1239. package/dist/field/features/converters/html/converter/converters/paragraph.js +0 -20
  1240. package/dist/field/features/converters/html/converter/converters/paragraph.js.map +0 -1
  1241. package/dist/field/features/converters/html/converter/converters/text.d.ts.map +0 -1
  1242. package/dist/field/features/converters/html/converter/converters/text.js.map +0 -1
  1243. package/dist/field/features/converters/html/converter/defaultConverters.d.ts.map +0 -1
  1244. package/dist/field/features/converters/html/converter/defaultConverters.js.map +0 -1
  1245. package/dist/field/features/converters/html/converter/index.d.ts +0 -21
  1246. package/dist/field/features/converters/html/converter/index.d.ts.map +0 -1
  1247. package/dist/field/features/converters/html/converter/index.js +0 -44
  1248. package/dist/field/features/converters/html/converter/index.js.map +0 -1
  1249. package/dist/field/features/converters/html/converter/types.d.ts +0 -19
  1250. package/dist/field/features/converters/html/converter/types.d.ts.map +0 -1
  1251. package/dist/field/features/converters/html/converter/types.js.map +0 -1
  1252. package/dist/field/features/converters/html/feature.server.d.ts +0 -9
  1253. package/dist/field/features/converters/html/feature.server.d.ts.map +0 -1
  1254. package/dist/field/features/converters/html/feature.server.js +0 -14
  1255. package/dist/field/features/converters/html/feature.server.js.map +0 -1
  1256. package/dist/field/features/converters/html/field/index.d.ts +0 -23
  1257. package/dist/field/features/converters/html/field/index.d.ts.map +0 -1
  1258. package/dist/field/features/converters/html/field/index.js +0 -114
  1259. package/dist/field/features/converters/html/field/index.js.map +0 -1
  1260. package/dist/field/features/createClientComponent.d.ts +0 -6
  1261. package/dist/field/features/createClientComponent.d.ts.map +0 -1
  1262. package/dist/field/features/createClientComponent.js +0 -12
  1263. package/dist/field/features/createClientComponent.js.map +0 -1
  1264. package/dist/field/features/createFeaturePropComponent.d.ts.map +0 -1
  1265. package/dist/field/features/createFeaturePropComponent.js +0 -15
  1266. package/dist/field/features/createFeaturePropComponent.js.map +0 -1
  1267. package/dist/field/features/debug/testrecorder/feature.client.d.ts +0 -3
  1268. package/dist/field/features/debug/testrecorder/feature.client.d.ts.map +0 -1
  1269. package/dist/field/features/debug/testrecorder/feature.client.js +0 -20
  1270. package/dist/field/features/debug/testrecorder/feature.client.js.map +0 -1
  1271. package/dist/field/features/debug/testrecorder/feature.server.d.ts +0 -3
  1272. package/dist/field/features/debug/testrecorder/feature.server.d.ts.map +0 -1
  1273. package/dist/field/features/debug/testrecorder/feature.server.js +0 -15
  1274. package/dist/field/features/debug/testrecorder/feature.server.js.map +0 -1
  1275. package/dist/field/features/debug/testrecorder/plugin/index.d.ts +0 -5
  1276. package/dist/field/features/debug/testrecorder/plugin/index.d.ts.map +0 -1
  1277. package/dist/field/features/debug/testrecorder/plugin/index.js +0 -448
  1278. package/dist/field/features/debug/testrecorder/plugin/index.js.map +0 -1
  1279. package/dist/field/features/debug/testrecorder/plugin/index.scss +0 -49
  1280. package/dist/field/features/debug/treeview/feature.client.d.ts +0 -3
  1281. package/dist/field/features/debug/treeview/feature.client.d.ts.map +0 -1
  1282. package/dist/field/features/debug/treeview/feature.client.js +0 -20
  1283. package/dist/field/features/debug/treeview/feature.client.js.map +0 -1
  1284. package/dist/field/features/debug/treeview/feature.server.d.ts +0 -3
  1285. package/dist/field/features/debug/treeview/feature.server.d.ts.map +0 -1
  1286. package/dist/field/features/debug/treeview/feature.server.js +0 -15
  1287. package/dist/field/features/debug/treeview/feature.server.js.map +0 -1
  1288. package/dist/field/features/debug/treeview/plugin/index.d.ts +0 -4
  1289. package/dist/field/features/debug/treeview/plugin/index.d.ts.map +0 -1
  1290. package/dist/field/features/debug/treeview/plugin/index.js +0 -21
  1291. package/dist/field/features/debug/treeview/plugin/index.js.map +0 -1
  1292. package/dist/field/features/debug/treeview/plugin/index.scss +0 -78
  1293. package/dist/field/features/format/bold/feature.client.d.ts +0 -3
  1294. package/dist/field/features/format/bold/feature.client.d.ts.map +0 -1
  1295. package/dist/field/features/format/bold/feature.client.js +0 -48
  1296. package/dist/field/features/format/bold/feature.client.js.map +0 -1
  1297. package/dist/field/features/format/bold/feature.server.d.ts +0 -3
  1298. package/dist/field/features/format/bold/feature.server.d.ts.map +0 -1
  1299. package/dist/field/features/format/bold/feature.server.js +0 -27
  1300. package/dist/field/features/format/bold/feature.server.js.map +0 -1
  1301. package/dist/field/features/format/bold/markdownTransformers.d.ts.map +0 -1
  1302. package/dist/field/features/format/bold/markdownTransformers.js.map +0 -1
  1303. package/dist/field/features/format/common/floatingSelectToolbarSection.d.ts +0 -3
  1304. package/dist/field/features/format/common/floatingSelectToolbarSection.d.ts.map +0 -1
  1305. package/dist/field/features/format/common/floatingSelectToolbarSection.js +0 -10
  1306. package/dist/field/features/format/common/floatingSelectToolbarSection.js.map +0 -1
  1307. package/dist/field/features/format/inlinecode/feature.client.d.ts +0 -3
  1308. package/dist/field/features/format/inlinecode/feature.client.d.ts.map +0 -1
  1309. package/dist/field/features/format/inlinecode/feature.client.js +0 -43
  1310. package/dist/field/features/format/inlinecode/feature.client.js.map +0 -1
  1311. package/dist/field/features/format/inlinecode/feature.server.d.ts +0 -3
  1312. package/dist/field/features/format/inlinecode/feature.server.d.ts.map +0 -1
  1313. package/dist/field/features/format/inlinecode/feature.server.js +0 -19
  1314. package/dist/field/features/format/inlinecode/feature.server.js.map +0 -1
  1315. package/dist/field/features/format/inlinecode/markdownTransformers.d.ts.map +0 -1
  1316. package/dist/field/features/format/inlinecode/markdownTransformers.js.map +0 -1
  1317. package/dist/field/features/format/italic/feature.client.d.ts +0 -3
  1318. package/dist/field/features/format/italic/feature.client.d.ts.map +0 -1
  1319. package/dist/field/features/format/italic/feature.client.js +0 -44
  1320. package/dist/field/features/format/italic/feature.client.js.map +0 -1
  1321. package/dist/field/features/format/italic/feature.server.d.ts +0 -3
  1322. package/dist/field/features/format/italic/feature.server.d.ts.map +0 -1
  1323. package/dist/field/features/format/italic/feature.server.js +0 -20
  1324. package/dist/field/features/format/italic/feature.server.js.map +0 -1
  1325. package/dist/field/features/format/italic/markdownTransformers.d.ts.map +0 -1
  1326. package/dist/field/features/format/italic/markdownTransformers.js.map +0 -1
  1327. package/dist/field/features/format/strikethrough/feature.client.d.ts +0 -3
  1328. package/dist/field/features/format/strikethrough/feature.client.d.ts.map +0 -1
  1329. package/dist/field/features/format/strikethrough/feature.client.js +0 -43
  1330. package/dist/field/features/format/strikethrough/feature.client.js.map +0 -1
  1331. package/dist/field/features/format/strikethrough/feature.server.d.ts +0 -3
  1332. package/dist/field/features/format/strikethrough/feature.server.d.ts.map +0 -1
  1333. package/dist/field/features/format/strikethrough/feature.server.js +0 -19
  1334. package/dist/field/features/format/strikethrough/feature.server.js.map +0 -1
  1335. package/dist/field/features/format/strikethrough/markdownTransformers.d.ts.map +0 -1
  1336. package/dist/field/features/format/strikethrough/markdownTransformers.js.map +0 -1
  1337. package/dist/field/features/format/subscript/feature.client.d.ts +0 -3
  1338. package/dist/field/features/format/subscript/feature.client.d.ts.map +0 -1
  1339. package/dist/field/features/format/subscript/feature.client.js +0 -39
  1340. package/dist/field/features/format/subscript/feature.client.js.map +0 -1
  1341. package/dist/field/features/format/subscript/feature.server.d.ts +0 -3
  1342. package/dist/field/features/format/subscript/feature.server.d.ts.map +0 -1
  1343. package/dist/field/features/format/subscript/feature.server.js +0 -15
  1344. package/dist/field/features/format/subscript/feature.server.js.map +0 -1
  1345. package/dist/field/features/format/superscript/feature.client.d.ts +0 -3
  1346. package/dist/field/features/format/superscript/feature.client.d.ts.map +0 -1
  1347. package/dist/field/features/format/superscript/feature.client.js +0 -39
  1348. package/dist/field/features/format/superscript/feature.client.js.map +0 -1
  1349. package/dist/field/features/format/superscript/feature.server.d.ts +0 -3
  1350. package/dist/field/features/format/superscript/feature.server.d.ts.map +0 -1
  1351. package/dist/field/features/format/superscript/feature.server.js +0 -15
  1352. package/dist/field/features/format/superscript/feature.server.js.map +0 -1
  1353. package/dist/field/features/format/underline/feature.client.d.ts +0 -3
  1354. package/dist/field/features/format/underline/feature.client.d.ts.map +0 -1
  1355. package/dist/field/features/format/underline/feature.client.js +0 -39
  1356. package/dist/field/features/format/underline/feature.client.js.map +0 -1
  1357. package/dist/field/features/format/underline/feature.server.d.ts +0 -3
  1358. package/dist/field/features/format/underline/feature.server.d.ts.map +0 -1
  1359. package/dist/field/features/format/underline/feature.server.js +0 -15
  1360. package/dist/field/features/format/underline/feature.server.js.map +0 -1
  1361. package/dist/field/features/heading/feature.client.d.ts +0 -4
  1362. package/dist/field/features/heading/feature.client.d.ts.map +0 -1
  1363. package/dist/field/features/heading/feature.client.js +0 -97
  1364. package/dist/field/features/heading/feature.client.js.map +0 -1
  1365. package/dist/field/features/heading/feature.server.d.ts +0 -7
  1366. package/dist/field/features/heading/feature.server.d.ts.map +0 -1
  1367. package/dist/field/features/heading/feature.server.js +0 -58
  1368. package/dist/field/features/heading/feature.server.js.map +0 -1
  1369. package/dist/field/features/heading/markdownTransformer.d.ts.map +0 -1
  1370. package/dist/field/features/heading/markdownTransformer.js +0 -30
  1371. package/dist/field/features/heading/markdownTransformer.js.map +0 -1
  1372. package/dist/field/features/horizontalrule/component/index.d.ts.map +0 -1
  1373. package/dist/field/features/horizontalrule/component/index.js +0 -64
  1374. package/dist/field/features/horizontalrule/component/index.js.map +0 -1
  1375. package/dist/field/features/horizontalrule/feature.client.d.ts +0 -3
  1376. package/dist/field/features/horizontalrule/feature.client.d.ts.map +0 -1
  1377. package/dist/field/features/horizontalrule/feature.client.js +0 -53
  1378. package/dist/field/features/horizontalrule/feature.client.js.map +0 -1
  1379. package/dist/field/features/horizontalrule/feature.server.d.ts +0 -3
  1380. package/dist/field/features/horizontalrule/feature.server.d.ts.map +0 -1
  1381. package/dist/field/features/horizontalrule/feature.server.js +0 -36
  1382. package/dist/field/features/horizontalrule/feature.server.js.map +0 -1
  1383. package/dist/field/features/horizontalrule/markdownTransformer.d.ts.map +0 -1
  1384. package/dist/field/features/horizontalrule/markdownTransformer.js.map +0 -1
  1385. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.d.ts +0 -55
  1386. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.d.ts.map +0 -1
  1387. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.js +0 -89
  1388. package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.js.map +0 -1
  1389. package/dist/field/features/horizontalrule/plugin/index.d.ts +0 -6
  1390. package/dist/field/features/horizontalrule/plugin/index.d.ts.map +0 -1
  1391. package/dist/field/features/horizontalrule/plugin/index.js +0 -34
  1392. package/dist/field/features/horizontalrule/plugin/index.js.map +0 -1
  1393. package/dist/field/features/horizontalrule/plugin/index.scss +0 -20
  1394. package/dist/field/features/indent/feature.client.d.ts +0 -3
  1395. package/dist/field/features/indent/feature.client.d.ts.map +0 -1
  1396. package/dist/field/features/indent/feature.client.js +0 -58
  1397. package/dist/field/features/indent/feature.client.js.map +0 -1
  1398. package/dist/field/features/indent/feature.server.d.ts +0 -3
  1399. package/dist/field/features/indent/feature.server.d.ts.map +0 -1
  1400. package/dist/field/features/indent/feature.server.js +0 -16
  1401. package/dist/field/features/indent/feature.server.js.map +0 -1
  1402. package/dist/field/features/indent/floatingSelectToolbarIndentSection.d.ts +0 -3
  1403. package/dist/field/features/indent/floatingSelectToolbarIndentSection.d.ts.map +0 -1
  1404. package/dist/field/features/indent/floatingSelectToolbarIndentSection.js +0 -10
  1405. package/dist/field/features/indent/floatingSelectToolbarIndentSection.js.map +0 -1
  1406. package/dist/field/features/indent/index.scss +0 -4
  1407. package/dist/field/features/link/drawer/baseFields.d.ts +0 -4
  1408. package/dist/field/features/link/drawer/baseFields.d.ts.map +0 -1
  1409. package/dist/field/features/link/drawer/baseFields.js +0 -107
  1410. package/dist/field/features/link/drawer/baseFields.js.map +0 -1
  1411. package/dist/field/features/link/drawer/index.d.ts +0 -5
  1412. package/dist/field/features/link/drawer/index.d.ts.map +0 -1
  1413. package/dist/field/features/link/drawer/index.js +0 -93
  1414. package/dist/field/features/link/drawer/index.js.map +0 -1
  1415. package/dist/field/features/link/drawer/index.scss +0 -50
  1416. package/dist/field/features/link/drawer/types.d.ts +0 -8
  1417. package/dist/field/features/link/drawer/types.d.ts.map +0 -1
  1418. package/dist/field/features/link/drawer/types.js.map +0 -1
  1419. package/dist/field/features/link/feature.client.d.ts +0 -5
  1420. package/dist/field/features/link/feature.client.d.ts.map +0 -1
  1421. package/dist/field/features/link/feature.client.js +0 -90
  1422. package/dist/field/features/link/feature.client.js.map +0 -1
  1423. package/dist/field/features/link/feature.server.d.ts +0 -33
  1424. package/dist/field/features/link/feature.server.d.ts.map +0 -1
  1425. package/dist/field/features/link/feature.server.js +0 -91
  1426. package/dist/field/features/link/feature.server.js.map +0 -1
  1427. package/dist/field/features/link/nodes/AutoLinkNode.d.ts.map +0 -1
  1428. package/dist/field/features/link/nodes/AutoLinkNode.js +0 -61
  1429. package/dist/field/features/link/nodes/AutoLinkNode.js.map +0 -1
  1430. package/dist/field/features/link/nodes/LinkNode.d.ts +0 -38
  1431. package/dist/field/features/link/nodes/LinkNode.d.ts.map +0 -1
  1432. package/dist/field/features/link/nodes/LinkNode.js +0 -301
  1433. package/dist/field/features/link/nodes/LinkNode.js.map +0 -1
  1434. package/dist/field/features/link/nodes/types.d.ts +0 -19
  1435. package/dist/field/features/link/nodes/types.d.ts.map +0 -1
  1436. package/dist/field/features/link/nodes/types.js.map +0 -1
  1437. package/dist/field/features/link/plugins/autoLink/index.d.ts +0 -19
  1438. package/dist/field/features/link/plugins/autoLink/index.d.ts.map +0 -1
  1439. package/dist/field/features/link/plugins/autoLink/index.js +0 -321
  1440. package/dist/field/features/link/plugins/autoLink/index.js.map +0 -1
  1441. package/dist/field/features/link/plugins/clickableLink/index.d.ts +0 -3
  1442. package/dist/field/features/link/plugins/clickableLink/index.d.ts.map +0 -1
  1443. package/dist/field/features/link/plugins/clickableLink/index.js +0 -10
  1444. package/dist/field/features/link/plugins/clickableLink/index.js.map +0 -1
  1445. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +0 -1
  1446. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js +0 -5
  1447. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +0 -1
  1448. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +0 -1
  1449. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +0 -259
  1450. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +0 -1
  1451. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts +0 -6
  1452. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts.map +0 -1
  1453. package/dist/field/features/link/plugins/floatingLinkEditor/index.js +0 -13
  1454. package/dist/field/features/link/plugins/floatingLinkEditor/index.js.map +0 -1
  1455. package/dist/field/features/link/plugins/floatingLinkEditor/index.scss +0 -78
  1456. package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts.map +0 -1
  1457. package/dist/field/features/link/plugins/floatingLinkEditor/types.js.map +0 -1
  1458. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts +0 -12
  1459. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +0 -1
  1460. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js +0 -38
  1461. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js.map +0 -1
  1462. package/dist/field/features/link/plugins/link/index.d.ts +0 -2
  1463. package/dist/field/features/link/plugins/link/index.d.ts.map +0 -1
  1464. package/dist/field/features/link/plugins/link/index.js +0 -62
  1465. package/dist/field/features/link/plugins/link/index.js.map +0 -1
  1466. package/dist/field/features/link/populationPromise.d.ts +0 -5
  1467. package/dist/field/features/link/populationPromise.d.ts.map +0 -1
  1468. package/dist/field/features/link/populationPromise.js +0 -46
  1469. package/dist/field/features/link/populationPromise.js.map +0 -1
  1470. package/dist/field/features/lists/checklist/feature.client.d.ts +0 -3
  1471. package/dist/field/features/lists/checklist/feature.client.d.ts.map +0 -1
  1472. package/dist/field/features/lists/checklist/feature.client.js +0 -82
  1473. package/dist/field/features/lists/checklist/feature.client.js.map +0 -1
  1474. package/dist/field/features/lists/checklist/feature.server.d.ts +0 -3
  1475. package/dist/field/features/lists/checklist/feature.server.d.ts.map +0 -1
  1476. package/dist/field/features/lists/checklist/feature.server.js +0 -36
  1477. package/dist/field/features/lists/checklist/feature.server.js.map +0 -1
  1478. package/dist/field/features/lists/checklist/markdownTransformers.d.ts.map +0 -1
  1479. package/dist/field/features/lists/checklist/markdownTransformers.js +0 -17
  1480. package/dist/field/features/lists/checklist/markdownTransformers.js.map +0 -1
  1481. package/dist/field/features/lists/checklist/plugin/index.d.ts +0 -3
  1482. package/dist/field/features/lists/checklist/plugin/index.d.ts.map +0 -1
  1483. package/dist/field/features/lists/checklist/plugin/index.js +0 -9
  1484. package/dist/field/features/lists/checklist/plugin/index.js.map +0 -1
  1485. package/dist/field/features/lists/common/markdown.d.ts +0 -6
  1486. package/dist/field/features/lists/common/markdown.d.ts.map +0 -1
  1487. package/dist/field/features/lists/common/markdown.js +0 -59
  1488. package/dist/field/features/lists/common/markdown.js.map +0 -1
  1489. package/dist/field/features/lists/htmlConverter.d.ts +0 -5
  1490. package/dist/field/features/lists/htmlConverter.d.ts.map +0 -1
  1491. package/dist/field/features/lists/htmlConverter.js +0 -49
  1492. package/dist/field/features/lists/htmlConverter.js.map +0 -1
  1493. package/dist/field/features/lists/orderedlist/feature.client.d.ts +0 -3
  1494. package/dist/field/features/lists/orderedlist/feature.client.d.ts.map +0 -1
  1495. package/dist/field/features/lists/orderedlist/feature.client.js +0 -72
  1496. package/dist/field/features/lists/orderedlist/feature.client.js.map +0 -1
  1497. package/dist/field/features/lists/orderedlist/feature.server.d.ts +0 -3
  1498. package/dist/field/features/lists/orderedlist/feature.server.d.ts.map +0 -1
  1499. package/dist/field/features/lists/orderedlist/feature.server.js +0 -36
  1500. package/dist/field/features/lists/orderedlist/feature.server.js.map +0 -1
  1501. package/dist/field/features/lists/orderedlist/markdownTransformer.d.ts.map +0 -1
  1502. package/dist/field/features/lists/orderedlist/markdownTransformer.js +0 -17
  1503. package/dist/field/features/lists/orderedlist/markdownTransformer.js.map +0 -1
  1504. package/dist/field/features/lists/plugin/index.d.ts +0 -3
  1505. package/dist/field/features/lists/plugin/index.d.ts.map +0 -1
  1506. package/dist/field/features/lists/plugin/index.js +0 -9
  1507. package/dist/field/features/lists/plugin/index.js.map +0 -1
  1508. package/dist/field/features/lists/unorderedlist/feature.client.d.ts +0 -3
  1509. package/dist/field/features/lists/unorderedlist/feature.client.d.ts.map +0 -1
  1510. package/dist/field/features/lists/unorderedlist/feature.client.js +0 -72
  1511. package/dist/field/features/lists/unorderedlist/feature.client.js.map +0 -1
  1512. package/dist/field/features/lists/unorderedlist/feature.server.d.ts +0 -3
  1513. package/dist/field/features/lists/unorderedlist/feature.server.d.ts.map +0 -1
  1514. package/dist/field/features/lists/unorderedlist/feature.server.js +0 -36
  1515. package/dist/field/features/lists/unorderedlist/feature.server.js.map +0 -1
  1516. package/dist/field/features/lists/unorderedlist/markdownTransformer.d.ts.map +0 -1
  1517. package/dist/field/features/lists/unorderedlist/markdownTransformer.js +0 -17
  1518. package/dist/field/features/lists/unorderedlist/markdownTransformer.js.map +0 -1
  1519. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +0 -6
  1520. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1521. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +0 -1
  1522. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1523. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +0 -1
  1524. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1525. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +0 -8
  1526. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +0 -1
  1527. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +0 -6
  1528. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +0 -1
  1529. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +0 -1
  1530. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1531. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +0 -1
  1532. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +0 -1
  1533. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js +0 -8
  1534. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +0 -1
  1535. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +0 -6
  1536. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +0 -1
  1537. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +0 -1
  1538. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +0 -1
  1539. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +0 -1
  1540. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +0 -1
  1541. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js +0 -8
  1542. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +0 -1
  1543. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +0 -6
  1544. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1545. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +0 -1
  1546. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1547. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +0 -1
  1548. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1549. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +0 -8
  1550. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +0 -1
  1551. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +0 -6
  1552. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +0 -1
  1553. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +0 -1
  1554. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +0 -1
  1555. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +0 -1
  1556. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +0 -1
  1557. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +0 -8
  1558. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +0 -1
  1559. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +0 -6
  1560. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1561. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +0 -1
  1562. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1563. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +0 -1
  1564. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1565. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +0 -8
  1566. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +0 -1
  1567. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +0 -6
  1568. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1569. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +0 -1
  1570. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1571. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +0 -25
  1572. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +0 -1
  1573. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1574. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +0 -8
  1575. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +0 -1
  1576. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +0 -1
  1577. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +0 -1
  1578. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +0 -1
  1579. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.js.map +0 -1
  1580. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts +0 -31
  1581. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +0 -1
  1582. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.js.map +0 -1
  1583. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts +0 -3
  1584. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +0 -1
  1585. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js +0 -34
  1586. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js.map +0 -1
  1587. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts +0 -9
  1588. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +0 -1
  1589. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js +0 -47
  1590. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js.map +0 -1
  1591. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1592. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +0 -8
  1593. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1594. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +0 -36
  1595. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1596. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +0 -70
  1597. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1598. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.scss +0 -14
  1599. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +0 -6
  1600. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +0 -1
  1601. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js +0 -6
  1602. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +0 -1
  1603. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +0 -1
  1604. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +0 -1
  1605. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +0 -1
  1606. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js +0 -8
  1607. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +0 -1
  1608. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts +0 -6
  1609. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +0 -1
  1610. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.js.map +0 -1
  1611. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +0 -1
  1612. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +0 -1
  1613. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +0 -1
  1614. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js +0 -8
  1615. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js.map +0 -1
  1616. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts +0 -6
  1617. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +0 -1
  1618. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.js.map +0 -1
  1619. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +0 -1
  1620. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +0 -1
  1621. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +0 -1
  1622. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js +0 -8
  1623. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js.map +0 -1
  1624. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts +0 -6
  1625. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +0 -1
  1626. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.js.map +0 -1
  1627. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +0 -1
  1628. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.js.map +0 -1
  1629. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +0 -1
  1630. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js +0 -8
  1631. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js.map +0 -1
  1632. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts +0 -6
  1633. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +0 -1
  1634. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +0 -1
  1635. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
  1636. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +0 -1
  1637. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +0 -1
  1638. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js +0 -8
  1639. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +0 -1
  1640. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +0 -6
  1641. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +0 -1
  1642. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +0 -1
  1643. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +0 -1
  1644. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +0 -1
  1645. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +0 -1
  1646. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js +0 -8
  1647. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +0 -1
  1648. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts +0 -6
  1649. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +0 -1
  1650. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +0 -1
  1651. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +0 -1
  1652. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js +0 -18
  1653. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +0 -1
  1654. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +0 -1
  1655. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js +0 -8
  1656. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +0 -1
  1657. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts +0 -6
  1658. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +0 -1
  1659. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +0 -1
  1660. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
  1661. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +0 -1
  1662. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +0 -1
  1663. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js +0 -8
  1664. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +0 -1
  1665. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +0 -6
  1666. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +0 -1
  1667. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +0 -1
  1668. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +0 -1
  1669. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +0 -1
  1670. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +0 -1
  1671. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js +0 -8
  1672. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +0 -1
  1673. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts +0 -6
  1674. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +0 -1
  1675. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.js.map +0 -1
  1676. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +0 -1
  1677. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js +0 -21
  1678. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +0 -1
  1679. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +0 -1
  1680. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js +0 -8
  1681. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js.map +0 -1
  1682. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +0 -1
  1683. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.js.map +0 -1
  1684. package/dist/field/features/migrations/slateToLexical/converter/index.d.ts.map +0 -1
  1685. package/dist/field/features/migrations/slateToLexical/converter/index.js +0 -107
  1686. package/dist/field/features/migrations/slateToLexical/converter/index.js.map +0 -1
  1687. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts +0 -25
  1688. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts.map +0 -1
  1689. package/dist/field/features/migrations/slateToLexical/converter/types.js.map +0 -1
  1690. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts +0 -3
  1691. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts.map +0 -1
  1692. package/dist/field/features/migrations/slateToLexical/feature.client.js +0 -34
  1693. package/dist/field/features/migrations/slateToLexical/feature.client.js.map +0 -1
  1694. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts +0 -9
  1695. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts.map +0 -1
  1696. package/dist/field/features/migrations/slateToLexical/feature.server.js +0 -47
  1697. package/dist/field/features/migrations/slateToLexical/feature.server.js.map +0 -1
  1698. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  1699. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +0 -8
  1700. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
  1701. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +0 -36
  1702. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  1703. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +0 -70
  1704. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
  1705. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.scss +0 -14
  1706. package/dist/field/features/paragraph/feature.client.d.ts +0 -3
  1707. package/dist/field/features/paragraph/feature.client.d.ts.map +0 -1
  1708. package/dist/field/features/paragraph/feature.client.js +0 -65
  1709. package/dist/field/features/paragraph/feature.client.js.map +0 -1
  1710. package/dist/field/features/paragraph/feature.server.d.ts +0 -3
  1711. package/dist/field/features/paragraph/feature.server.d.ts.map +0 -1
  1712. package/dist/field/features/paragraph/feature.server.js +0 -16
  1713. package/dist/field/features/paragraph/feature.server.js.map +0 -1
  1714. package/dist/field/features/relationship/drawer/commands.d.ts.map +0 -1
  1715. package/dist/field/features/relationship/drawer/commands.js +0 -5
  1716. package/dist/field/features/relationship/drawer/commands.js.map +0 -1
  1717. package/dist/field/features/relationship/drawer/index.d.ts.map +0 -1
  1718. package/dist/field/features/relationship/drawer/index.js +0 -81
  1719. package/dist/field/features/relationship/drawer/index.js.map +0 -1
  1720. package/dist/field/features/relationship/feature.client.d.ts +0 -4
  1721. package/dist/field/features/relationship/feature.client.d.ts.map +0 -1
  1722. package/dist/field/features/relationship/feature.client.js +0 -56
  1723. package/dist/field/features/relationship/feature.client.js.map +0 -1
  1724. package/dist/field/features/relationship/feature.server.d.ts +0 -18
  1725. package/dist/field/features/relationship/feature.server.d.ts.map +0 -1
  1726. package/dist/field/features/relationship/feature.server.js +0 -26
  1727. package/dist/field/features/relationship/feature.server.js.map +0 -1
  1728. package/dist/field/features/relationship/nodes/RelationshipNode.d.ts +0 -36
  1729. package/dist/field/features/relationship/nodes/RelationshipNode.d.ts.map +0 -1
  1730. package/dist/field/features/relationship/nodes/RelationshipNode.js +0 -110
  1731. package/dist/field/features/relationship/nodes/RelationshipNode.js.map +0 -1
  1732. package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts +0 -14
  1733. package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts.map +0 -1
  1734. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js +0 -109
  1735. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js.map +0 -1
  1736. package/dist/field/features/relationship/nodes/components/index.scss +0 -97
  1737. package/dist/field/features/relationship/plugins/index.d.ts +0 -7
  1738. package/dist/field/features/relationship/plugins/index.d.ts.map +0 -1
  1739. package/dist/field/features/relationship/plugins/index.js +0 -52
  1740. package/dist/field/features/relationship/plugins/index.js.map +0 -1
  1741. package/dist/field/features/relationship/populationPromise.d.ts +0 -4
  1742. package/dist/field/features/relationship/populationPromise.d.ts.map +0 -1
  1743. package/dist/field/features/relationship/populationPromise.js +0 -24
  1744. package/dist/field/features/relationship/populationPromise.js.map +0 -1
  1745. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +0 -1
  1746. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js +0 -35
  1747. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js.map +0 -1
  1748. package/dist/field/features/types.d.ts +0 -278
  1749. package/dist/field/features/types.d.ts.map +0 -1
  1750. package/dist/field/features/types.js.map +0 -1
  1751. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts +0 -12
  1752. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +0 -1
  1753. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js +0 -125
  1754. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js.map +0 -1
  1755. package/dist/field/features/upload/component/index.d.ts.map +0 -1
  1756. package/dist/field/features/upload/component/index.js +0 -144
  1757. package/dist/field/features/upload/component/index.js.map +0 -1
  1758. package/dist/field/features/upload/component/index.scss +0 -152
  1759. package/dist/field/features/upload/drawer/commands.d.ts.map +0 -1
  1760. package/dist/field/features/upload/drawer/commands.js +0 -6
  1761. package/dist/field/features/upload/drawer/commands.js.map +0 -1
  1762. package/dist/field/features/upload/drawer/index.d.ts.map +0 -1
  1763. package/dist/field/features/upload/drawer/index.js +0 -78
  1764. package/dist/field/features/upload/drawer/index.js.map +0 -1
  1765. package/dist/field/features/upload/feature.client.d.ts +0 -10
  1766. package/dist/field/features/upload/feature.client.d.ts.map +0 -1
  1767. package/dist/field/features/upload/feature.client.js +0 -55
  1768. package/dist/field/features/upload/feature.client.js.map +0 -1
  1769. package/dist/field/features/upload/feature.server.d.ts +0 -12
  1770. package/dist/field/features/upload/feature.server.d.ts.map +0 -1
  1771. package/dist/field/features/upload/feature.server.js +0 -110
  1772. package/dist/field/features/upload/feature.server.js.map +0 -1
  1773. package/dist/field/features/upload/nodes/UploadNode.d.ts +0 -49
  1774. package/dist/field/features/upload/nodes/UploadNode.d.ts.map +0 -1
  1775. package/dist/field/features/upload/nodes/UploadNode.js +0 -102
  1776. package/dist/field/features/upload/nodes/UploadNode.js.map +0 -1
  1777. package/dist/field/features/upload/plugin/index.d.ts +0 -7
  1778. package/dist/field/features/upload/plugin/index.d.ts.map +0 -1
  1779. package/dist/field/features/upload/plugin/index.js +0 -55
  1780. package/dist/field/features/upload/plugin/index.js.map +0 -1
  1781. package/dist/field/features/upload/populationPromise.d.ts +0 -5
  1782. package/dist/field/features/upload/populationPromise.d.ts.map +0 -1
  1783. package/dist/field/features/upload/populationPromise.js +0 -46
  1784. package/dist/field/features/upload/populationPromise.js.map +0 -1
  1785. package/dist/field/features/upload/validate.d.ts +0 -4
  1786. package/dist/field/features/upload/validate.d.ts.map +0 -1
  1787. package/dist/field/features/upload/validate.js +0 -17
  1788. package/dist/field/features/upload/validate.js.map +0 -1
  1789. package/dist/field/index.scss +0 -46
  1790. package/dist/field/lexical/EditorPlugin.d.ts +0 -7
  1791. package/dist/field/lexical/EditorPlugin.d.ts.map +0 -1
  1792. package/dist/field/lexical/EditorPlugin.js +0 -11
  1793. package/dist/field/lexical/EditorPlugin.js.map +0 -1
  1794. package/dist/field/lexical/LexicalEditor.d.ts +0 -5
  1795. package/dist/field/lexical/LexicalEditor.d.ts.map +0 -1
  1796. package/dist/field/lexical/LexicalEditor.js +0 -112
  1797. package/dist/field/lexical/LexicalEditor.js.map +0 -1
  1798. package/dist/field/lexical/LexicalEditor.scss +0 -56
  1799. package/dist/field/lexical/LexicalProvider.d.ts +0 -19
  1800. package/dist/field/lexical/LexicalProvider.d.ts.map +0 -1
  1801. package/dist/field/lexical/LexicalProvider.js +0 -67
  1802. package/dist/field/lexical/LexicalProvider.js.map +0 -1
  1803. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts +0 -24
  1804. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts.map +0 -1
  1805. package/dist/field/lexical/config/client/EditorConfigProvider.js +0 -41
  1806. package/dist/field/lexical/config/client/EditorConfigProvider.js.map +0 -1
  1807. package/dist/field/lexical/config/client/default.d.ts +0 -3
  1808. package/dist/field/lexical/config/client/default.d.ts.map +0 -1
  1809. package/dist/field/lexical/config/client/default.js.map +0 -1
  1810. package/dist/field/lexical/config/client/loader.d.ts +0 -12
  1811. package/dist/field/lexical/config/client/loader.d.ts.map +0 -1
  1812. package/dist/field/lexical/config/client/loader.js +0 -46
  1813. package/dist/field/lexical/config/client/loader.js.map +0 -1
  1814. package/dist/field/lexical/config/client/sanitize.d.ts +0 -6
  1815. package/dist/field/lexical/config/client/sanitize.d.ts.map +0 -1
  1816. package/dist/field/lexical/config/client/sanitize.js +0 -126
  1817. package/dist/field/lexical/config/client/sanitize.js.map +0 -1
  1818. package/dist/field/lexical/config/server/default.d.ts +0 -8
  1819. package/dist/field/lexical/config/server/default.d.ts.map +0 -1
  1820. package/dist/field/lexical/config/server/default.js +0 -53
  1821. package/dist/field/lexical/config/server/default.js.map +0 -1
  1822. package/dist/field/lexical/config/server/loader.d.ts +0 -7
  1823. package/dist/field/lexical/config/server/loader.d.ts.map +0 -1
  1824. package/dist/field/lexical/config/server/loader.js +0 -118
  1825. package/dist/field/lexical/config/server/loader.js.map +0 -1
  1826. package/dist/field/lexical/config/server/sanitize.d.ts +0 -5
  1827. package/dist/field/lexical/config/server/sanitize.d.ts.map +0 -1
  1828. package/dist/field/lexical/config/server/sanitize.js +0 -65
  1829. package/dist/field/lexical/config/server/sanitize.js.map +0 -1
  1830. package/dist/field/lexical/config/types.d.ts +0 -21
  1831. package/dist/field/lexical/config/types.d.ts.map +0 -1
  1832. package/dist/field/lexical/config/types.js.map +0 -1
  1833. package/dist/field/lexical/nodes/index.d.ts +0 -7
  1834. package/dist/field/lexical/nodes/index.d.ts.map +0 -1
  1835. package/dist/field/lexical/nodes/index.js.map +0 -1
  1836. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.d.ts +0 -8
  1837. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.d.ts.map +0 -1
  1838. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.js +0 -97
  1839. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.js.map +0 -1
  1840. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.scss +0 -37
  1841. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.d.ts +0 -17
  1842. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.d.ts.map +0 -1
  1843. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.js +0 -251
  1844. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.js.map +0 -1
  1845. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.d.ts +0 -18
  1846. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.d.ts.map +0 -1
  1847. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.js +0 -42
  1848. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.js.map +0 -1
  1849. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.scss +0 -100
  1850. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.d.ts +0 -6
  1851. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.d.ts.map +0 -1
  1852. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.js +0 -270
  1853. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.js.map +0 -1
  1854. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.scss +0 -57
  1855. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.d.ts +0 -40
  1856. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.d.ts.map +0 -1
  1857. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.js +0 -3
  1858. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.js.map +0 -1
  1859. package/dist/field/lexical/plugins/MarkdownShortcut/index.d.ts.map +0 -1
  1860. package/dist/field/lexical/plugins/MarkdownShortcut/index.js +0 -13
  1861. package/dist/field/lexical/plugins/MarkdownShortcut/index.js.map +0 -1
  1862. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +0 -32
  1863. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +0 -1
  1864. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +0 -404
  1865. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +0 -1
  1866. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +0 -25
  1867. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +0 -1
  1868. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +0 -207
  1869. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +0 -1
  1870. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +0 -39
  1871. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +0 -1
  1872. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js +0 -39
  1873. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +0 -1
  1874. package/dist/field/lexical/plugins/SlashMenu/index.d.ts +0 -6
  1875. package/dist/field/lexical/plugins/SlashMenu/index.d.ts.map +0 -1
  1876. package/dist/field/lexical/plugins/SlashMenu/index.js +0 -172
  1877. package/dist/field/lexical/plugins/SlashMenu/index.js.map +0 -1
  1878. package/dist/field/lexical/plugins/SlashMenu/index.scss +0 -61
  1879. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +0 -1
  1880. package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +0 -1
  1881. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts +0 -6
  1882. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +0 -1
  1883. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js +0 -241
  1884. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +0 -1
  1885. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.scss +0 -31
  1886. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +0 -1
  1887. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +0 -1
  1888. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +0 -1
  1889. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +0 -1
  1890. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.d.ts +0 -27
  1891. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.d.ts.map +0 -1
  1892. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.js +0 -151
  1893. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.js.map +0 -1
  1894. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts +0 -3
  1895. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +0 -1
  1896. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +0 -1
  1897. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts +0 -6
  1898. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +0 -1
  1899. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js +0 -298
  1900. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +0 -1
  1901. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.scss +0 -55
  1902. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +0 -3
  1903. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +0 -1
  1904. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js +0 -49
  1905. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +0 -1
  1906. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +0 -1
  1907. package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +0 -1
  1908. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +0 -1
  1909. package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.js.map +0 -1
  1910. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +0 -1
  1911. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.js +0 -7
  1912. package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +0 -1
  1913. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +0 -1
  1914. package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.js.map +0 -1
  1915. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +0 -1
  1916. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.js +0 -27
  1917. package/dist/field/lexical/plugins/handles/utils/setHandlePosition.js.map +0 -1
  1918. package/dist/field/lexical/theme/EditorTheme.d.ts.map +0 -1
  1919. package/dist/field/lexical/theme/EditorTheme.js +0 -106
  1920. package/dist/field/lexical/theme/EditorTheme.js.map +0 -1
  1921. package/dist/field/lexical/theme/EditorTheme.scss +0 -505
  1922. package/dist/field/lexical/ui/ContentEditable.d.ts +0 -6
  1923. package/dist/field/lexical/ui/ContentEditable.d.ts.map +0 -1
  1924. package/dist/field/lexical/ui/ContentEditable.js +0 -11
  1925. package/dist/field/lexical/ui/ContentEditable.js.map +0 -1
  1926. package/dist/field/lexical/ui/ContentEditable.scss +0 -25
  1927. package/dist/field/lexical/ui/icons/AI/index.d.ts.map +0 -1
  1928. package/dist/field/lexical/ui/icons/AI/index.js +0 -27
  1929. package/dist/field/lexical/ui/icons/AI/index.js.map +0 -1
  1930. package/dist/field/lexical/ui/icons/AlignCenter/index.d.ts.map +0 -1
  1931. package/dist/field/lexical/ui/icons/AlignCenter/index.js +0 -25
  1932. package/dist/field/lexical/ui/icons/AlignCenter/index.js.map +0 -1
  1933. package/dist/field/lexical/ui/icons/AlignJustify/index.d.ts.map +0 -1
  1934. package/dist/field/lexical/ui/icons/AlignJustify/index.js +0 -25
  1935. package/dist/field/lexical/ui/icons/AlignJustify/index.js.map +0 -1
  1936. package/dist/field/lexical/ui/icons/AlignLeft/index.d.ts.map +0 -1
  1937. package/dist/field/lexical/ui/icons/AlignLeft/index.js +0 -25
  1938. package/dist/field/lexical/ui/icons/AlignLeft/index.js.map +0 -1
  1939. package/dist/field/lexical/ui/icons/AlignRight/index.d.ts.map +0 -1
  1940. package/dist/field/lexical/ui/icons/AlignRight/index.js +0 -25
  1941. package/dist/field/lexical/ui/icons/AlignRight/index.js.map +0 -1
  1942. package/dist/field/lexical/ui/icons/Block/index.d.ts.map +0 -1
  1943. package/dist/field/lexical/ui/icons/Block/index.js +0 -34
  1944. package/dist/field/lexical/ui/icons/Block/index.js.map +0 -1
  1945. package/dist/field/lexical/ui/icons/Blockquote/index.d.ts.map +0 -1
  1946. package/dist/field/lexical/ui/icons/Blockquote/index.js +0 -16
  1947. package/dist/field/lexical/ui/icons/Blockquote/index.js.map +0 -1
  1948. package/dist/field/lexical/ui/icons/Bold/index.d.ts.map +0 -1
  1949. package/dist/field/lexical/ui/icons/Bold/index.js +0 -16
  1950. package/dist/field/lexical/ui/icons/Bold/index.js.map +0 -1
  1951. package/dist/field/lexical/ui/icons/Checklist/index.d.ts.map +0 -1
  1952. package/dist/field/lexical/ui/icons/Checklist/index.js +0 -24
  1953. package/dist/field/lexical/ui/icons/Checklist/index.js.map +0 -1
  1954. package/dist/field/lexical/ui/icons/Code/index.d.ts.map +0 -1
  1955. package/dist/field/lexical/ui/icons/Code/index.js +0 -19
  1956. package/dist/field/lexical/ui/icons/Code/index.js.map +0 -1
  1957. package/dist/field/lexical/ui/icons/CodeBlock/index.d.ts.map +0 -1
  1958. package/dist/field/lexical/ui/icons/CodeBlock/index.js +0 -19
  1959. package/dist/field/lexical/ui/icons/CodeBlock/index.js.map +0 -1
  1960. package/dist/field/lexical/ui/icons/H1/index.d.ts.map +0 -1
  1961. package/dist/field/lexical/ui/icons/H1/index.js +0 -16
  1962. package/dist/field/lexical/ui/icons/H1/index.js.map +0 -1
  1963. package/dist/field/lexical/ui/icons/H2/index.d.ts.map +0 -1
  1964. package/dist/field/lexical/ui/icons/H2/index.js +0 -16
  1965. package/dist/field/lexical/ui/icons/H2/index.js.map +0 -1
  1966. package/dist/field/lexical/ui/icons/H3/index.d.ts.map +0 -1
  1967. package/dist/field/lexical/ui/icons/H3/index.js +0 -16
  1968. package/dist/field/lexical/ui/icons/H3/index.js.map +0 -1
  1969. package/dist/field/lexical/ui/icons/H4/index.d.ts.map +0 -1
  1970. package/dist/field/lexical/ui/icons/H4/index.js +0 -16
  1971. package/dist/field/lexical/ui/icons/H4/index.js.map +0 -1
  1972. package/dist/field/lexical/ui/icons/H5/index.d.ts.map +0 -1
  1973. package/dist/field/lexical/ui/icons/H5/index.js +0 -16
  1974. package/dist/field/lexical/ui/icons/H5/index.js.map +0 -1
  1975. package/dist/field/lexical/ui/icons/H6/index.d.ts.map +0 -1
  1976. package/dist/field/lexical/ui/icons/H6/index.js +0 -16
  1977. package/dist/field/lexical/ui/icons/H6/index.js.map +0 -1
  1978. package/dist/field/lexical/ui/icons/HorizontalRule/index.d.ts.map +0 -1
  1979. package/dist/field/lexical/ui/icons/HorizontalRule/index.js +0 -19
  1980. package/dist/field/lexical/ui/icons/HorizontalRule/index.js.map +0 -1
  1981. package/dist/field/lexical/ui/icons/IndentDecrease/index.d.ts.map +0 -1
  1982. package/dist/field/lexical/ui/icons/IndentDecrease/index.js +0 -28
  1983. package/dist/field/lexical/ui/icons/IndentDecrease/index.js.map +0 -1
  1984. package/dist/field/lexical/ui/icons/IndentIncrease/index.d.ts.map +0 -1
  1985. package/dist/field/lexical/ui/icons/IndentIncrease/index.js +0 -28
  1986. package/dist/field/lexical/ui/icons/IndentIncrease/index.js.map +0 -1
  1987. package/dist/field/lexical/ui/icons/Italic/index.d.ts.map +0 -1
  1988. package/dist/field/lexical/ui/icons/Italic/index.js +0 -16
  1989. package/dist/field/lexical/ui/icons/Italic/index.js.map +0 -1
  1990. package/dist/field/lexical/ui/icons/Link/index.d.ts.map +0 -1
  1991. package/dist/field/lexical/ui/icons/Link/index.js +0 -27
  1992. package/dist/field/lexical/ui/icons/Link/index.js.map +0 -1
  1993. package/dist/field/lexical/ui/icons/OrderedList/index.d.ts.map +0 -1
  1994. package/dist/field/lexical/ui/icons/OrderedList/index.js +0 -31
  1995. package/dist/field/lexical/ui/icons/OrderedList/index.js.map +0 -1
  1996. package/dist/field/lexical/ui/icons/Relationship/index.d.ts.map +0 -1
  1997. package/dist/field/lexical/ui/icons/Relationship/index.js +0 -27
  1998. package/dist/field/lexical/ui/icons/Relationship/index.js.map +0 -1
  1999. package/dist/field/lexical/ui/icons/Strikethrough/index.d.ts.map +0 -1
  2000. package/dist/field/lexical/ui/icons/Strikethrough/index.js +0 -19
  2001. package/dist/field/lexical/ui/icons/Strikethrough/index.js.map +0 -1
  2002. package/dist/field/lexical/ui/icons/Subscript/index.d.ts.map +0 -1
  2003. package/dist/field/lexical/ui/icons/Subscript/index.js +0 -16
  2004. package/dist/field/lexical/ui/icons/Subscript/index.js.map +0 -1
  2005. package/dist/field/lexical/ui/icons/Superscript/index.d.ts.map +0 -1
  2006. package/dist/field/lexical/ui/icons/Superscript/index.js +0 -16
  2007. package/dist/field/lexical/ui/icons/Superscript/index.js.map +0 -1
  2008. package/dist/field/lexical/ui/icons/Text/index.d.ts.map +0 -1
  2009. package/dist/field/lexical/ui/icons/Text/index.js +0 -16
  2010. package/dist/field/lexical/ui/icons/Text/index.js.map +0 -1
  2011. package/dist/field/lexical/ui/icons/Underline/index.d.ts.map +0 -1
  2012. package/dist/field/lexical/ui/icons/Underline/index.js +0 -19
  2013. package/dist/field/lexical/ui/icons/Underline/index.js.map +0 -1
  2014. package/dist/field/lexical/ui/icons/UnorderedList/index.d.ts.map +0 -1
  2015. package/dist/field/lexical/ui/icons/UnorderedList/index.js +0 -46
  2016. package/dist/field/lexical/ui/icons/UnorderedList/index.js.map +0 -1
  2017. package/dist/field/lexical/ui/icons/Upload/index.d.ts.map +0 -1
  2018. package/dist/field/lexical/ui/icons/Upload/index.js +0 -28
  2019. package/dist/field/lexical/ui/icons/Upload/index.js.map +0 -1
  2020. package/dist/field/lexical/utils/canUseDOM.d.ts.map +0 -1
  2021. package/dist/field/lexical/utils/canUseDOM.js.map +0 -1
  2022. package/dist/field/lexical/utils/cloneDeep.d.ts +0 -2
  2023. package/dist/field/lexical/utils/cloneDeep.d.ts.map +0 -1
  2024. package/dist/field/lexical/utils/cloneDeep.js +0 -50
  2025. package/dist/field/lexical/utils/cloneDeep.js.map +0 -1
  2026. package/dist/field/lexical/utils/environment.d.ts.map +0 -1
  2027. package/dist/field/lexical/utils/environment.js.map +0 -1
  2028. package/dist/field/lexical/utils/getDOMRangeRect.d.ts.map +0 -1
  2029. package/dist/field/lexical/utils/getDOMRangeRect.js.map +0 -1
  2030. package/dist/field/lexical/utils/getSelectedNode.d.ts.map +0 -1
  2031. package/dist/field/lexical/utils/getSelectedNode.js +0 -18
  2032. package/dist/field/lexical/utils/getSelectedNode.js.map +0 -1
  2033. package/dist/field/lexical/utils/guard.d.ts.map +0 -1
  2034. package/dist/field/lexical/utils/guard.js.map +0 -1
  2035. package/dist/field/lexical/utils/invariant.d.ts.map +0 -1
  2036. package/dist/field/lexical/utils/invariant.js.map +0 -1
  2037. package/dist/field/lexical/utils/joinClasses.d.ts.map +0 -1
  2038. package/dist/field/lexical/utils/joinClasses.js.map +0 -1
  2039. package/dist/field/lexical/utils/markdown/createBlockNode.d.ts +0 -4
  2040. package/dist/field/lexical/utils/markdown/createBlockNode.d.ts.map +0 -1
  2041. package/dist/field/lexical/utils/markdown/createBlockNode.js.map +0 -1
  2042. package/dist/field/lexical/utils/nodeFormat.d.ts +0 -41
  2043. package/dist/field/lexical/utils/nodeFormat.d.ts.map +0 -1
  2044. package/dist/field/lexical/utils/nodeFormat.js +0 -88
  2045. package/dist/field/lexical/utils/nodeFormat.js.map +0 -1
  2046. package/dist/field/lexical/utils/point.d.ts.map +0 -1
  2047. package/dist/field/lexical/utils/point.js.map +0 -1
  2048. package/dist/field/lexical/utils/rect.d.ts.map +0 -1
  2049. package/dist/field/lexical/utils/rect.js.map +0 -1
  2050. package/dist/field/lexical/utils/setFloatingElemPosition.d.ts +0 -2
  2051. package/dist/field/lexical/utils/setFloatingElemPosition.d.ts.map +0 -1
  2052. package/dist/field/lexical/utils/setFloatingElemPosition.js +0 -53
  2053. package/dist/field/lexical/utils/setFloatingElemPosition.js.map +0 -1
  2054. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +0 -1
  2055. package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +0 -1
  2056. package/dist/field/lexical/utils/swipe.d.ts.map +0 -1
  2057. package/dist/field/lexical/utils/swipe.js.map +0 -1
  2058. package/dist/field/lexical/utils/url.d.ts.map +0 -1
  2059. package/dist/field/lexical/utils/url.js +0 -25
  2060. package/dist/field/lexical/utils/url.js.map +0 -1
  2061. package/dist/generateComponentMap.d.ts +0 -6
  2062. package/dist/generateComponentMap.d.ts.map +0 -1
  2063. package/dist/generateComponentMap.js +0 -85
  2064. package/dist/generateComponentMap.js.map +0 -1
  2065. package/dist/generateSchemaMap.d.ts +0 -6
  2066. package/dist/generateSchemaMap.d.ts.map +0 -1
  2067. package/dist/generateSchemaMap.js +0 -30
  2068. package/dist/generateSchemaMap.js.map +0 -1
  2069. package/dist/populate/defaultValue.d.ts +0 -4
  2070. package/dist/populate/defaultValue.d.ts.map +0 -1
  2071. package/dist/populate/defaultValue.js +0 -50
  2072. package/dist/populate/defaultValue.js.map +0 -1
  2073. package/dist/populate/populate.d.ts +0 -21
  2074. package/dist/populate/populate.d.ts.map +0 -1
  2075. package/dist/populate/populate.js +0 -21
  2076. package/dist/populate/populate.js.map +0 -1
  2077. package/dist/populate/recurseNestedFields.d.ts +0 -25
  2078. package/dist/populate/recurseNestedFields.d.ts.map +0 -1
  2079. package/dist/populate/recurseNestedFields.js +0 -26
  2080. package/dist/populate/recurseNestedFields.js.map +0 -1
  2081. package/dist/populate/richTextRelationshipPromise.d.ts +0 -23
  2082. package/dist/populate/richTextRelationshipPromise.d.ts.map +0 -1
  2083. package/dist/populate/richTextRelationshipPromise.js +0 -68
  2084. package/dist/populate/richTextRelationshipPromise.js.map +0 -1
  2085. package/dist/scss/app.scss +0 -208
  2086. package/dist/scss/colors.scss +0 -269
  2087. package/dist/scss/queries.scss +0 -27
  2088. package/dist/scss/resets.scss +0 -17
  2089. package/dist/scss/styles.scss +0 -11
  2090. package/dist/scss/svg.scss +0 -10
  2091. package/dist/scss/toastify.scss +0 -58
  2092. package/dist/scss/type.scss +0 -117
  2093. package/dist/scss/vars.scss +0 -213
  2094. package/dist/scss/z-index.scss +0 -9
  2095. package/dist/useLexicalFeature.d.ts +0 -3
  2096. package/dist/useLexicalFeature.d.ts.map +0 -1
  2097. package/dist/useLexicalFeature.js +0 -9
  2098. package/dist/useLexicalFeature.js.map +0 -1
  2099. package/src/index.ts +0 -423
  2100. /package/dist/{field/features → features}/blockquote/markdownTransformer.d.ts +0 -0
  2101. /package/dist/{field/features → features}/blocks/component/removeEmptyArrayValues.js +0 -0
  2102. /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.d.ts +0 -0
  2103. /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.js +0 -0
  2104. /package/dist/{field/features → features}/converters/html/converter/converters/paragraph.d.ts +0 -0
  2105. /package/dist/{field/features → features}/converters/html/converter/converters/text.d.ts +0 -0
  2106. /package/dist/{field/features → features}/converters/html/converter/converters/text.js +0 -0
  2107. /package/dist/{field/features → features}/converters/html/converter/defaultConverters.d.ts +0 -0
  2108. /package/dist/{field/features → features}/converters/html/converter/defaultConverters.js +0 -0
  2109. /package/dist/{field/features → features}/converters/html/converter/types.js +0 -0
  2110. /package/dist/{field/features → features}/createFeaturePropComponent.d.ts +0 -0
  2111. /package/dist/{field/features → features}/format/bold/markdownTransformers.d.ts +0 -0
  2112. /package/dist/{field/features → features}/format/bold/markdownTransformers.js +0 -0
  2113. /package/dist/{field/features/format/inlinecode → features/format/inlineCode}/markdownTransformers.d.ts +0 -0
  2114. /package/dist/{field/features/format/inlinecode → features/format/inlineCode}/markdownTransformers.js +0 -0
  2115. /package/dist/{field/features → features}/format/italic/markdownTransformers.d.ts +0 -0
  2116. /package/dist/{field/features → features}/format/italic/markdownTransformers.js +0 -0
  2117. /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.d.ts +0 -0
  2118. /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.js +0 -0
  2119. /package/dist/{field/features → features}/heading/markdownTransformer.d.ts +0 -0
  2120. /package/dist/{field/features/horizontalrule → features/horizontalRule}/component/index.d.ts +0 -0
  2121. /package/dist/{field/features/horizontalrule → features/horizontalRule}/markdownTransformer.d.ts +0 -0
  2122. /package/dist/{field/features/horizontalrule → features/horizontalRule}/markdownTransformer.js +0 -0
  2123. /package/dist/{field/features → features}/link/nodes/AutoLinkNode.d.ts +0 -0
  2124. /package/dist/{field/features/link/drawer → features/link/nodes}/types.js +0 -0
  2125. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts +0 -0
  2126. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts +0 -0
  2127. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/types.d.ts +0 -0
  2128. /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/types.js +0 -0
  2129. /package/dist/{field/features → features}/lists/checklist/markdownTransformers.d.ts +0 -0
  2130. /package/dist/{field/features/lists/orderedlist → features/lists/orderedList}/markdownTransformer.d.ts +0 -0
  2131. /package/dist/{field/features/lists/unorderedlist → features/lists/unorderedList}/markdownTransformer.d.ts +0 -0
  2132. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/client.js +0 -0
  2133. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +0 -0
  2134. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +0 -0
  2135. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts +0 -0
  2136. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/client.js +0 -0
  2137. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +0 -0
  2138. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +0 -0
  2139. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts +0 -0
  2140. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/client.js +0 -0
  2141. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +0 -0
  2142. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +0 -0
  2143. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts +0 -0
  2144. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js +0 -0
  2145. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +0 -0
  2146. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +0 -0
  2147. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts +0 -0
  2148. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/client.js +0 -0
  2149. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +0 -0
  2150. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +0 -0
  2151. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts +0 -0
  2152. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js +0 -0
  2153. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +0 -0
  2154. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +0 -0
  2155. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts +0 -0
  2156. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/client.js +0 -0
  2157. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +0 -0
  2158. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts +0 -0
  2159. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +0 -0
  2160. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/defaultConverters.js +0 -0
  2161. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/index.d.ts +0 -0
  2162. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/index.js +0 -0
  2163. /package/dist/{field/features/link/nodes → features/migrations/lexicalPluginToLexical/converter}/types.js +0 -0
  2164. /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  2165. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +0 -0
  2166. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/converter.js +0 -0
  2167. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/index.d.ts +0 -0
  2168. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/client.js +0 -0
  2169. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/converter.d.ts +0 -0
  2170. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/converter.js +0 -0
  2171. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/index.d.ts +0 -0
  2172. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/client.js +0 -0
  2173. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/converter.d.ts +0 -0
  2174. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/converter.js +0 -0
  2175. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/index.d.ts +0 -0
  2176. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/client.js +0 -0
  2177. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/converter.d.ts +0 -0
  2178. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/converter.js +0 -0
  2179. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/index.d.ts +0 -0
  2180. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/client.js +0 -0
  2181. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +0 -0
  2182. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/converter.js +0 -0
  2183. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/index.d.ts +0 -0
  2184. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/client.js +0 -0
  2185. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +0 -0
  2186. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/converter.js +0 -0
  2187. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/index.d.ts +0 -0
  2188. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/client.js +0 -0
  2189. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +0 -0
  2190. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/index.d.ts +0 -0
  2191. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/client.js +0 -0
  2192. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +0 -0
  2193. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/converter.js +0 -0
  2194. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/index.d.ts +0 -0
  2195. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/client.js +0 -0
  2196. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +0 -0
  2197. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/converter.js +0 -0
  2198. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts +0 -0
  2199. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/client.js +0 -0
  2200. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/converter.d.ts +0 -0
  2201. /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/index.d.ts +0 -0
  2202. /package/dist/{field/features → features}/migrations/slateToLexical/converter/defaultConverters.d.ts +0 -0
  2203. /package/dist/{field/features → features}/migrations/slateToLexical/converter/defaultConverters.js +0 -0
  2204. /package/dist/{field/features → features}/migrations/slateToLexical/converter/index.d.ts +0 -0
  2205. /package/dist/{field/features/migrations/lexicalPluginToLexical → features/migrations/slateToLexical}/converter/types.js +0 -0
  2206. /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
  2207. /package/dist/{field/features → features}/relationship/drawer/commands.d.ts +0 -0
  2208. /package/dist/{field/features → features}/relationship/drawer/index.d.ts +0 -0
  2209. /package/dist/{field/features → features}/relationship/utils/EnabledRelationshipsCondition.d.ts +0 -0
  2210. /package/dist/{field/features/migrations/slateToLexical/converter → features/toolbars}/types.js +0 -0
  2211. /package/dist/{field/features → features}/upload/component/index.d.ts +0 -0
  2212. /package/dist/{field/features → features}/upload/drawer/commands.d.ts +0 -0
  2213. /package/dist/{field/features → features}/upload/drawer/index.d.ts +0 -0
  2214. /package/dist/{field/lexical → lexical}/config/client/default.js +0 -0
  2215. /package/dist/{field/features → lexical/config}/types.js +0 -0
  2216. /package/dist/{field/lexical → lexical}/nodes/index.js +0 -0
  2217. /package/dist/{field/lexical → lexical}/plugins/MarkdownShortcut/index.d.ts +0 -0
  2218. /package/dist/{field/lexical/config → lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin}/types.js +0 -0
  2219. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.d.ts +0 -0
  2220. /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.js +0 -0
  2221. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/debounce.d.ts +0 -0
  2222. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/debounce.js +0 -0
  2223. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts +0 -0
  2224. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js +0 -0
  2225. /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js +0 -0
  2226. /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.d.ts +0 -0
  2227. /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.js +0 -0
  2228. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.d.ts +0 -0
  2229. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.js +0 -0
  2230. /package/dist/{field/lexical → lexical}/plugins/handles/utils/getTopLevelNodeKeys.d.ts +0 -0
  2231. /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.d.ts +0 -0
  2232. /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.js +0 -0
  2233. /package/dist/{field/lexical → lexical}/plugins/handles/utils/setHandlePosition.d.ts +0 -0
  2234. /package/dist/{field/lexical → lexical}/theme/EditorTheme.d.ts +0 -0
  2235. /package/dist/{field/lexical → lexical}/ui/icons/AI/index.d.ts +0 -0
  2236. /package/dist/{field/lexical → lexical}/ui/icons/Add/index.svg +0 -0
  2237. /package/dist/{field/lexical → lexical}/ui/icons/AlignCenter/index.d.ts +0 -0
  2238. /package/dist/{field/lexical → lexical}/ui/icons/AlignJustify/index.d.ts +0 -0
  2239. /package/dist/{field/lexical → lexical}/ui/icons/AlignLeft/index.d.ts +0 -0
  2240. /package/dist/{field/lexical → lexical}/ui/icons/AlignRight/index.d.ts +0 -0
  2241. /package/dist/{field/lexical → lexical}/ui/icons/Block/index.d.ts +0 -0
  2242. /package/dist/{field/lexical → lexical}/ui/icons/Blockquote/index.d.ts +0 -0
  2243. /package/dist/{field/lexical → lexical}/ui/icons/Bold/index.d.ts +0 -0
  2244. /package/dist/{field/lexical → lexical}/ui/icons/Caret/index.svg +0 -0
  2245. /package/dist/{field/lexical → lexical}/ui/icons/Checklist/index.d.ts +0 -0
  2246. /package/dist/{field/lexical → lexical}/ui/icons/Code/index.d.ts +0 -0
  2247. /package/dist/{field/lexical → lexical}/ui/icons/CodeBlock/index.d.ts +0 -0
  2248. /package/dist/{field/lexical → lexical}/ui/icons/DraggableBlock/index.svg +0 -0
  2249. /package/dist/{field/lexical → lexical}/ui/icons/Edit/index.svg +0 -0
  2250. /package/dist/{field/lexical → lexical}/ui/icons/H1/index.d.ts +0 -0
  2251. /package/dist/{field/lexical → lexical}/ui/icons/H2/index.d.ts +0 -0
  2252. /package/dist/{field/lexical → lexical}/ui/icons/H3/index.d.ts +0 -0
  2253. /package/dist/{field/lexical → lexical}/ui/icons/H4/index.d.ts +0 -0
  2254. /package/dist/{field/lexical → lexical}/ui/icons/H5/index.d.ts +0 -0
  2255. /package/dist/{field/lexical → lexical}/ui/icons/H6/index.d.ts +0 -0
  2256. /package/dist/{field/lexical → lexical}/ui/icons/HorizontalRule/index.d.ts +0 -0
  2257. /package/dist/{field/lexical → lexical}/ui/icons/IndentDecrease/index.d.ts +0 -0
  2258. /package/dist/{field/lexical → lexical}/ui/icons/IndentIncrease/index.d.ts +0 -0
  2259. /package/dist/{field/lexical → lexical}/ui/icons/Italic/index.d.ts +0 -0
  2260. /package/dist/{field/lexical → lexical}/ui/icons/Link/index.d.ts +0 -0
  2261. /package/dist/{field/lexical → lexical}/ui/icons/OrderedList/index.d.ts +0 -0
  2262. /package/dist/{field/lexical → lexical}/ui/icons/Relationship/index.d.ts +0 -0
  2263. /package/dist/{field/lexical → lexical}/ui/icons/Remove/index.svg +0 -0
  2264. /package/dist/{field/lexical → lexical}/ui/icons/Strikethrough/index.d.ts +0 -0
  2265. /package/dist/{field/lexical → lexical}/ui/icons/Subscript/index.d.ts +0 -0
  2266. /package/dist/{field/lexical → lexical}/ui/icons/Superscript/index.d.ts +0 -0
  2267. /package/dist/{field/lexical → lexical}/ui/icons/Text/index.d.ts +0 -0
  2268. /package/dist/{field/lexical → lexical}/ui/icons/Underline/index.d.ts +0 -0
  2269. /package/dist/{field/lexical → lexical}/ui/icons/UnorderedList/index.d.ts +0 -0
  2270. /package/dist/{field/lexical → lexical}/ui/icons/Upload/index.d.ts +0 -0
  2271. /package/dist/{field/lexical → lexical}/utils/canUseDOM.d.ts +0 -0
  2272. /package/dist/{field/lexical → lexical}/utils/canUseDOM.js +0 -0
  2273. /package/dist/{field/lexical → lexical}/utils/environment.d.ts +0 -0
  2274. /package/dist/{field/lexical → lexical}/utils/environment.js +0 -0
  2275. /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.d.ts +0 -0
  2276. /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.js +0 -0
  2277. /package/dist/{field/lexical → lexical}/utils/getSelectedNode.d.ts +0 -0
  2278. /package/dist/{field/lexical → lexical}/utils/guard.d.ts +0 -0
  2279. /package/dist/{field/lexical → lexical}/utils/guard.js +0 -0
  2280. /package/dist/{field/lexical → lexical}/utils/invariant.d.ts +0 -0
  2281. /package/dist/{field/lexical → lexical}/utils/invariant.js +0 -0
  2282. /package/dist/{field/lexical → lexical}/utils/joinClasses.d.ts +0 -0
  2283. /package/dist/{field/lexical → lexical}/utils/joinClasses.js +0 -0
  2284. /package/dist/{field/lexical → lexical}/utils/markdown/createBlockNode.js +0 -0
  2285. /package/dist/{field/lexical → lexical}/utils/point.d.ts +0 -0
  2286. /package/dist/{field/lexical → lexical}/utils/point.js +0 -0
  2287. /package/dist/{field/lexical → lexical}/utils/rect.d.ts +0 -0
  2288. /package/dist/{field/lexical → lexical}/utils/rect.js +0 -0
  2289. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.d.ts +0 -0
  2290. /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.js +0 -0
  2291. /package/dist/{field/lexical → lexical}/utils/swipe.d.ts +0 -0
  2292. /package/dist/{field/lexical → lexical}/utils/swipe.js +0 -0
  2293. /package/dist/{field/lexical → lexical}/utils/url.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/features/blocks/component/index.tsx"],"sourcesContent":["'use client'\n\nimport type { FormProps } from '@payloadcms/ui'\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'\nimport React, { useCallback, useEffect, useMemo, useState } from 'react'\n\nimport { type BlockFields } from '../nodes/BlocksNode.js'\nconst baseClass = 'lexical-block'\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 '../../typesClient.js'\nimport type { BlocksFeatureClientProps, ClientBlock } from '../feature.client.js'\n\nimport { useEditorConfigContext } from '../../../lexical/config/client/EditorConfigProvider.js'\nimport { BlockContent } from './BlockContent.js'\nimport './index.scss'\n\ntype Props = {\n children?: React.ReactNode\n formData: BlockFields\n nodeKey?: string\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 = `lexical_internal_feature.blocks.fields.${formData?.blockType}`\n const schemaFieldsPath = `${schemaPath}.lexical_internal_feature.blocks.${formData?.blockType}`\n\n const reducedBlock: ClientBlock = (\n editorConfig?.resolvedFeatureMap?.get('blocks')\n ?.sanitizedClientFeatureProps 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: 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 const LabelComponent = reducedBlock?.LabelComponent\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}.lexical_internal_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 LabelComponent ? (\n <LabelComponent blockKind={'lexicalBlock'} formData={formData} />\n ) : (\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 {reducedBlock && 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 }\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"],"names":["Collapsible","Form","Pill","SectionTitle","ShimmerEffect","useConfig","useDocumentInfo","useFieldProps","useFormSubmitted","useTranslation","React","useCallback","useEffect","useMemo","useState","baseClass","getTranslation","getFormState","v4","uuid","useEditorConfigContext","BlockContent","BlockComponent","props","formData","nodeKey","config","submitted","id","path","schemaPath","editorConfig","field","parentLexicalRichTextField","initialState","setInitialState","richTextComponentMap","componentMapRenderedFieldsPath","blockType","schemaFieldsPath","reducedBlock","resolvedFeatureMap","get","sanitizedClientFeatureProps","reducedBlocks","find","block","slug","fieldMap","awaitInitialState","state","apiRoute","routes","api","body","data","operation","serverURL","blockName","initialValue","passesCondition","valid","value","onChange","formState","prevFormState","i18n","classNames","filter","Boolean","join","LabelComponent","formContent","beforeSubmit","fields","formSchema","Array","isArray","className","collapsibleStyle","header","blockKind","div","pillStyle","labels","singular","readOnly","height"],"mappings":"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"}
@@ -0,0 +1,11 @@
1
+ import type { FormState } from 'payload';
2
+ /**
3
+ * By default, if an array field is empty, it will be included in the form state with a value of 0.
4
+ * We do not need this behavior here, By setting `disableFormData` to true, we can prevent the field from being included in the form state
5
+ * like that.
6
+ * @param fields form state
7
+ */
8
+ export declare function removeEmptyArrayValues({ fields }: {
9
+ fields: FormState;
10
+ }): FormState;
11
+ //# sourceMappingURL=removeEmptyArrayValues.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"removeEmptyArrayValues.d.ts","sourceRoot":"","sources":["../../../../src/features/blocks/component/removeEmptyArrayValues.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,SAAS,CAAA;CAAE,GAAG,SAAS,CAQnF"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/features/blocks/component/removeEmptyArrayValues.ts"],"sourcesContent":["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"],"names":["removeEmptyArrayValues","fields","key","field","Array","isArray","rows","disableFormData"],"mappings":"AAEA;;;;;CAKC,GACD,OAAO,SAASA,uBAAuB,EAAEC,MAAM,EAAyB;IACtE,IAAK,MAAMC,OAAOD,OAAQ;QACxB,MAAME,QAAQF,MAAM,CAACC,IAAI;QACzB,IAAIE,MAAMC,OAAO,CAACF,MAAMG,IAAI,KAAK,WAAWH,OAAO;YACjDA,MAAMI,eAAe,GAAG;QAC1B;IACF;IACA,OAAON;AACT"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { InlineBlockFields } from '../nodes/InlineBlocksNode.js';
3
+ import './index.scss';
4
+ type Props = {
5
+ readonly formData: InlineBlockFields;
6
+ readonly nodeKey?: string;
7
+ };
8
+ export declare const InlineBlockComponent: React.FC<Props>;
9
+ export {};
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/blocks/componentInline/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAyC,MAAM,OAAO,CAAA;AAoB7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAKrE,OAAO,cAAc,CAAA;AAErB,KAAK,KAAK,GAAG;IACX,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,CAAA;IACpC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA2HhD,CAAA"}
@@ -0,0 +1,133 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import React, { useCallback, useEffect, useRef } from 'react';
4
+ const baseClass = 'inline-block';
5
+ import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
6
+ import { useLexicalNodeSelection } from '@lexical/react/useLexicalNodeSelection';
7
+ import { mergeRegister } from '@lexical/utils';
8
+ import { getTranslation } from '@payloadcms/translations';
9
+ import { Button, useTranslation } from '@payloadcms/ui';
10
+ import { $getNodeByKey, $getSelection, $isNodeSelection, CLICK_COMMAND, COMMAND_PRIORITY_LOW, KEY_BACKSPACE_COMMAND, KEY_DELETE_COMMAND } from 'lexical';
11
+ import { useEditorConfigContext } from '../../../lexical/config/client/EditorConfigProvider.js';
12
+ import { $isInlineBlockNode } from '../nodes/InlineBlocksNode.js';
13
+ import { OPEN_INLINE_BLOCK_DRAWER_COMMAND } from '../plugin/commands.js';
14
+ export const InlineBlockComponent = (props)=>{
15
+ const { formData, nodeKey } = props;
16
+ const [editor] = useLexicalComposerContext();
17
+ const { i18n, t } = useTranslation();
18
+ const { editorConfig, field } = useEditorConfigContext();
19
+ const inlineBlockElemElemRef = useRef(null);
20
+ const [isSelected, setSelected, clearSelection] = useLexicalNodeSelection(nodeKey);
21
+ const reducedBlock = editorConfig?.resolvedFeatureMap?.get('blocks')?.sanitizedClientFeatureProps?.reducedInlineBlocks?.find((block)=>block.slug === formData?.blockType);
22
+ const removeInlineBlock = useCallback(()=>{
23
+ editor.update(()=>{
24
+ $getNodeByKey(nodeKey).remove();
25
+ });
26
+ }, [
27
+ editor,
28
+ nodeKey
29
+ ]);
30
+ const $onDelete = useCallback((event)=>{
31
+ if (isSelected && $isNodeSelection($getSelection())) {
32
+ event.preventDefault();
33
+ const node = $getNodeByKey(nodeKey);
34
+ if ($isInlineBlockNode(node)) {
35
+ node.remove();
36
+ return true;
37
+ }
38
+ }
39
+ return false;
40
+ }, [
41
+ isSelected,
42
+ nodeKey
43
+ ]);
44
+ const onClick = useCallback((payload)=>{
45
+ const event = payload;
46
+ // Check if inlineBlockElemElemRef.target or anything WITHIN inlineBlockElemElemRef.target was clicked
47
+ if (event.target === inlineBlockElemElemRef.current || inlineBlockElemElemRef.current?.contains(event.target)) {
48
+ if (event.shiftKey) {
49
+ setSelected(!isSelected);
50
+ } else {
51
+ if (!isSelected) {
52
+ clearSelection();
53
+ setSelected(true);
54
+ }
55
+ }
56
+ return true;
57
+ }
58
+ return false;
59
+ }, [
60
+ isSelected,
61
+ setSelected,
62
+ clearSelection
63
+ ]);
64
+ useEffect(()=>{
65
+ return mergeRegister(editor.registerCommand(CLICK_COMMAND, onClick, COMMAND_PRIORITY_LOW), editor.registerCommand(KEY_DELETE_COMMAND, $onDelete, COMMAND_PRIORITY_LOW), editor.registerCommand(KEY_BACKSPACE_COMMAND, $onDelete, COMMAND_PRIORITY_LOW));
66
+ }, [
67
+ clearSelection,
68
+ editor,
69
+ isSelected,
70
+ nodeKey,
71
+ $onDelete,
72
+ setSelected,
73
+ onClick
74
+ ]);
75
+ const LabelComponent = reducedBlock?.LabelComponent;
76
+ const blockDisplayName = reducedBlock.labels.singular ? getTranslation(reducedBlock.labels.singular, i18n) : reducedBlock.slug;
77
+ return /*#__PURE__*/ _jsxs("div", {
78
+ className: [
79
+ baseClass,
80
+ baseClass + '-' + formData.blockType,
81
+ isSelected && `${baseClass}--selected`
82
+ ].filter(Boolean).join(' '),
83
+ ref: inlineBlockElemElemRef,
84
+ children: [
85
+ LabelComponent ? /*#__PURE__*/ _jsx(LabelComponent, {
86
+ blockKind: 'lexicalInlineBlock',
87
+ formData: formData
88
+ }) : /*#__PURE__*/ _jsx("div", {
89
+ children: getTranslation(reducedBlock.labels.singular, i18n)
90
+ }),
91
+ editor.isEditable() && /*#__PURE__*/ _jsxs("div", {
92
+ className: `${baseClass}__actions`,
93
+ children: [
94
+ /*#__PURE__*/ _jsx(Button, {
95
+ buttonStyle: "icon-label",
96
+ className: `${baseClass}__editButton`,
97
+ disabled: field?.readOnly,
98
+ el: "div",
99
+ icon: "edit",
100
+ onClick: ()=>{
101
+ editor.dispatchCommand(OPEN_INLINE_BLOCK_DRAWER_COMMAND, {
102
+ fields: formData,
103
+ nodeKey
104
+ });
105
+ },
106
+ round: true,
107
+ size: "small",
108
+ tooltip: t('lexical:blocks:inlineBlocks:edit', {
109
+ label: blockDisplayName
110
+ })
111
+ }),
112
+ /*#__PURE__*/ _jsx(Button, {
113
+ buttonStyle: "icon-label",
114
+ className: `${baseClass}__removeButton`,
115
+ disabled: field?.readOnly,
116
+ icon: "x",
117
+ onClick: (e)=>{
118
+ e.preventDefault();
119
+ removeInlineBlock();
120
+ },
121
+ round: true,
122
+ size: "small",
123
+ tooltip: t('lexical:blocks:inlineBlocks:remove', {
124
+ label: blockDisplayName
125
+ })
126
+ })
127
+ ]
128
+ })
129
+ ]
130
+ });
131
+ };
132
+
133
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/features/blocks/componentInline/index.tsx"],"sourcesContent":["'use client'\n\nimport React, { useCallback, useEffect, useRef } from 'react'\nconst baseClass = 'inline-block'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext'\nimport { useLexicalNodeSelection } from '@lexical/react/useLexicalNodeSelection'\nimport { mergeRegister } from '@lexical/utils'\nimport { getTranslation } from '@payloadcms/translations'\nimport { Button, useTranslation } from '@payloadcms/ui'\nimport {\n $getNodeByKey,\n $getSelection,\n $isNodeSelection,\n CLICK_COMMAND,\n COMMAND_PRIORITY_LOW,\n KEY_BACKSPACE_COMMAND,\n KEY_DELETE_COMMAND,\n} from 'lexical'\n\nimport type { ClientComponentProps } from '../../typesClient.js'\nimport type { BlocksFeatureClientProps, ClientBlock } from '../feature.client.js'\nimport type { InlineBlockFields } from '../nodes/InlineBlocksNode.js'\n\nimport { useEditorConfigContext } from '../../../lexical/config/client/EditorConfigProvider.js'\nimport { $isInlineBlockNode } from '../nodes/InlineBlocksNode.js'\nimport { OPEN_INLINE_BLOCK_DRAWER_COMMAND } from '../plugin/commands.js'\nimport './index.scss'\n\ntype Props = {\n readonly formData: InlineBlockFields\n readonly nodeKey?: string\n}\n\nexport const InlineBlockComponent: React.FC<Props> = (props) => {\n const { formData, nodeKey } = props\n const [editor] = useLexicalComposerContext()\n const { i18n, t } = useTranslation<object, string>()\n const { editorConfig, field } = useEditorConfigContext()\n const inlineBlockElemElemRef = useRef<HTMLDivElement | null>(null)\n const [isSelected, setSelected, clearSelection] = useLexicalNodeSelection(nodeKey)\n\n const reducedBlock: ClientBlock = (\n editorConfig?.resolvedFeatureMap?.get('blocks')\n ?.sanitizedClientFeatureProps as ClientComponentProps<BlocksFeatureClientProps>\n )?.reducedInlineBlocks?.find((block) => block.slug === formData?.blockType)\n\n const removeInlineBlock = useCallback(() => {\n editor.update(() => {\n $getNodeByKey(nodeKey).remove()\n })\n }, [editor, nodeKey])\n\n const $onDelete = useCallback(\n (event: KeyboardEvent) => {\n if (isSelected && $isNodeSelection($getSelection())) {\n event.preventDefault()\n const node = $getNodeByKey(nodeKey)\n if ($isInlineBlockNode(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 inlineBlockElemElemRef.target or anything WITHIN inlineBlockElemElemRef.target was clicked\n if (\n event.target === inlineBlockElemElemRef.current ||\n inlineBlockElemElemRef.current?.contains(event.target as Node)\n ) {\n if (event.shiftKey) {\n setSelected(!isSelected)\n } else {\n if (!isSelected) {\n clearSelection()\n setSelected(true)\n }\n }\n return true\n }\n\n return false\n },\n [isSelected, setSelected, clearSelection],\n )\n\n useEffect(() => {\n return mergeRegister(\n editor.registerCommand<MouseEvent>(CLICK_COMMAND, onClick, COMMAND_PRIORITY_LOW),\n\n editor.registerCommand(KEY_DELETE_COMMAND, $onDelete, COMMAND_PRIORITY_LOW),\n editor.registerCommand(KEY_BACKSPACE_COMMAND, $onDelete, COMMAND_PRIORITY_LOW),\n )\n }, [clearSelection, editor, isSelected, nodeKey, $onDelete, setSelected, onClick])\n\n const LabelComponent = reducedBlock?.LabelComponent\n\n const blockDisplayName = reducedBlock.labels.singular\n ? getTranslation(reducedBlock.labels.singular, i18n)\n : reducedBlock.slug\n\n return (\n <div\n className={[\n baseClass,\n baseClass + '-' + formData.blockType,\n isSelected && `${baseClass}--selected`,\n ]\n .filter(Boolean)\n .join(' ')}\n ref={inlineBlockElemElemRef}\n >\n {LabelComponent ? (\n <LabelComponent blockKind={'lexicalInlineBlock'} formData={formData} />\n ) : (\n <div>{getTranslation(reducedBlock.labels.singular, i18n)}</div>\n )}\n {editor.isEditable() && (\n <div className={`${baseClass}__actions`}>\n <Button\n buttonStyle=\"icon-label\"\n className={`${baseClass}__editButton`}\n disabled={field?.readOnly}\n el=\"div\"\n icon=\"edit\"\n onClick={() => {\n editor.dispatchCommand(OPEN_INLINE_BLOCK_DRAWER_COMMAND, {\n fields: formData,\n nodeKey,\n })\n }}\n round\n size=\"small\"\n tooltip={t('lexical:blocks:inlineBlocks:edit', { label: blockDisplayName })}\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 removeInlineBlock()\n }}\n round\n size=\"small\"\n tooltip={t('lexical:blocks:inlineBlocks:remove', { label: blockDisplayName })}\n />\n </div>\n )}\n </div>\n )\n}\n"],"names":["React","useCallback","useEffect","useRef","baseClass","useLexicalComposerContext","useLexicalNodeSelection","mergeRegister","getTranslation","Button","useTranslation","$getNodeByKey","$getSelection","$isNodeSelection","CLICK_COMMAND","COMMAND_PRIORITY_LOW","KEY_BACKSPACE_COMMAND","KEY_DELETE_COMMAND","useEditorConfigContext","$isInlineBlockNode","OPEN_INLINE_BLOCK_DRAWER_COMMAND","InlineBlockComponent","props","formData","nodeKey","editor","i18n","t","editorConfig","field","inlineBlockElemElemRef","isSelected","setSelected","clearSelection","reducedBlock","resolvedFeatureMap","get","sanitizedClientFeatureProps","reducedInlineBlocks","find","block","slug","blockType","removeInlineBlock","update","remove","$onDelete","event","preventDefault","node","onClick","payload","target","current","contains","shiftKey","registerCommand","LabelComponent","blockDisplayName","labels","singular","div","className","filter","Boolean","join","ref","blockKind","isEditable","buttonStyle","disabled","readOnly","el","icon","dispatchCommand","fields","round","size","tooltip","label","e"],"mappings":"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"}
@@ -0,0 +1,13 @@
1
+ import type { Block, ReducedBlock } from 'payload';
2
+ export type ClientBlock = {
3
+ LabelComponent?: Block['admin']['components']['Label'];
4
+ } & ReducedBlock;
5
+ export type BlocksFeatureClientProps = {
6
+ reducedBlocks: ClientBlock[];
7
+ reducedInlineBlocks: ClientBlock[];
8
+ };
9
+ export declare const BlocksFeatureClient: import("react").FC<{
10
+ featureKey: string;
11
+ order: number;
12
+ } & BlocksFeatureClientProps>;
13
+ //# sourceMappingURL=feature.client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature.client.d.ts","sourceRoot":"","sources":["../../../src/features/blocks/feature.client.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAclD,MAAM,MAAM,WAAW,GAAG;IACxB,cAAc,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CAAA;CACvD,GAAG,YAAY,CAAA;AAEhB,MAAM,MAAM,wBAAwB,GAAG;IACrC,aAAa,EAAE,WAAW,EAAE,CAAA;IAC5B,mBAAmB,EAAE,WAAW,EAAE,CAAA;CACnC,CAAA;AAED,eAAO,MAAM,mBAAmB;;;6BAyI7B,CAAA"}
@@ -0,0 +1,148 @@
1
+ 'use client';
2
+ import { getTranslation } from '@payloadcms/translations';
3
+ import { BlockIcon } from '../../lexical/ui/icons/Block/index.js';
4
+ import { InlineBlocksIcon } from '../../lexical/ui/icons/InlineBlocks/index.js';
5
+ import { createClientFeature } from '../../utilities/createClientFeature.js';
6
+ import { BlockNode } from './nodes/BlocksNode.js';
7
+ import { InlineBlockNode } from './nodes/InlineBlocksNode.js';
8
+ import { INSERT_BLOCK_COMMAND, OPEN_INLINE_BLOCK_DRAWER_COMMAND } from './plugin/commands.js';
9
+ import { BlocksPlugin } from './plugin/index.js';
10
+ export const BlocksFeatureClient = createClientFeature(({ props })=>({
11
+ nodes: [
12
+ BlockNode,
13
+ InlineBlockNode
14
+ ],
15
+ plugins: [
16
+ {
17
+ Component: BlocksPlugin,
18
+ position: 'normal'
19
+ }
20
+ ],
21
+ sanitizedClientFeatureProps: props,
22
+ slashMenu: {
23
+ groups: [
24
+ props.reducedBlocks?.length ? {
25
+ items: props.reducedBlocks.map((block)=>{
26
+ return {
27
+ Icon: BlockIcon,
28
+ key: 'block-' + block.slug,
29
+ keywords: [
30
+ 'block',
31
+ 'blocks',
32
+ block.slug
33
+ ],
34
+ label: ({ i18n })=>{
35
+ if (!block.labels.singular) {
36
+ return block.slug;
37
+ }
38
+ return getTranslation(block.labels.singular, i18n);
39
+ },
40
+ onSelect: ({ editor })=>{
41
+ editor.dispatchCommand(INSERT_BLOCK_COMMAND, {
42
+ id: null,
43
+ blockName: '',
44
+ blockType: block.slug
45
+ });
46
+ }
47
+ };
48
+ }),
49
+ key: 'blocks',
50
+ label: ({ i18n })=>{
51
+ return i18n.t('lexical:blocks:label');
52
+ }
53
+ } : null,
54
+ props.reducedInlineBlocks?.length ? {
55
+ items: props.reducedInlineBlocks.map((inlineBlock)=>{
56
+ return {
57
+ Icon: InlineBlocksIcon,
58
+ key: 'inlineBlocks-' + inlineBlock.slug,
59
+ keywords: [
60
+ 'inlineBlock',
61
+ 'inline block',
62
+ inlineBlock.slug
63
+ ],
64
+ label: ({ i18n })=>{
65
+ if (!inlineBlock.labels.singular) {
66
+ return inlineBlock.slug;
67
+ }
68
+ return getTranslation(inlineBlock.labels.singular, i18n);
69
+ },
70
+ onSelect: ({ editor })=>{
71
+ editor.dispatchCommand(OPEN_INLINE_BLOCK_DRAWER_COMMAND, {
72
+ fields: {
73
+ id: null,
74
+ blockName: '',
75
+ blockType: inlineBlock.slug
76
+ }
77
+ });
78
+ }
79
+ };
80
+ }),
81
+ key: 'inlineBlocks',
82
+ label: ({ i18n })=>{
83
+ return i18n.t('lexical:blocks:inlineBlocks:label');
84
+ }
85
+ } : null
86
+ ].filter(Boolean)
87
+ },
88
+ toolbarFixed: {
89
+ groups: [
90
+ props.reducedBlocks?.length ? {
91
+ type: 'dropdown',
92
+ ChildComponent: BlockIcon,
93
+ items: props.reducedBlocks.map((block, index)=>{
94
+ return {
95
+ ChildComponent: BlockIcon,
96
+ isActive: undefined,
97
+ key: 'block-' + block.slug,
98
+ label: ({ i18n })=>{
99
+ if (!block.labels.singular) {
100
+ return block.slug;
101
+ }
102
+ return getTranslation(block.labels.singular, i18n);
103
+ },
104
+ onSelect: ({ editor })=>{
105
+ editor.dispatchCommand(INSERT_BLOCK_COMMAND, {
106
+ id: null,
107
+ blockName: '',
108
+ blockType: block.slug
109
+ });
110
+ },
111
+ order: index
112
+ };
113
+ }),
114
+ key: 'blocks',
115
+ order: 20
116
+ } : null,
117
+ props.reducedInlineBlocks?.length ? {
118
+ type: 'dropdown',
119
+ ChildComponent: InlineBlocksIcon,
120
+ items: props.reducedInlineBlocks.map((inlineBlock, index)=>{
121
+ return {
122
+ ChildComponent: InlineBlocksIcon,
123
+ isActive: undefined,
124
+ key: 'inlineBlock-' + inlineBlock.slug,
125
+ label: ({ i18n })=>{
126
+ if (!inlineBlock.labels.singular) {
127
+ return inlineBlock.slug;
128
+ }
129
+ return getTranslation(inlineBlock.labels.singular, i18n);
130
+ },
131
+ onSelect: ({ editor })=>{
132
+ editor.dispatchCommand(OPEN_INLINE_BLOCK_DRAWER_COMMAND, {
133
+ fields: {
134
+ blockType: inlineBlock.slug
135
+ }
136
+ });
137
+ },
138
+ order: index
139
+ };
140
+ }),
141
+ key: 'inlineBlocks',
142
+ order: 25
143
+ } : null
144
+ ].filter(Boolean)
145
+ }
146
+ }));
147
+
148
+ //# sourceMappingURL=feature.client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/features/blocks/feature.client.tsx"],"sourcesContent":["'use client'\n\nimport type { Block, ReducedBlock } from 'payload'\n\nimport { getTranslation } from '@payloadcms/translations'\n\nimport type { ToolbarGroup } from '../toolbars/types.js'\n\nimport { BlockIcon } from '../../lexical/ui/icons/Block/index.js'\nimport { InlineBlocksIcon } from '../../lexical/ui/icons/InlineBlocks/index.js'\nimport { createClientFeature } from '../../utilities/createClientFeature.js'\nimport { BlockNode } from './nodes/BlocksNode.js'\nimport { InlineBlockNode } from './nodes/InlineBlocksNode.js'\nimport { INSERT_BLOCK_COMMAND, OPEN_INLINE_BLOCK_DRAWER_COMMAND } from './plugin/commands.js'\nimport { BlocksPlugin } from './plugin/index.js'\n\nexport type ClientBlock = {\n LabelComponent?: Block['admin']['components']['Label']\n} & ReducedBlock\n\nexport type BlocksFeatureClientProps = {\n reducedBlocks: ClientBlock[]\n reducedInlineBlocks: ClientBlock[]\n}\n\nexport const BlocksFeatureClient = createClientFeature<BlocksFeatureClientProps>(({ props }) => ({\n nodes: [BlockNode, InlineBlockNode],\n plugins: [\n {\n Component: BlocksPlugin,\n position: 'normal',\n },\n ],\n sanitizedClientFeatureProps: props,\n slashMenu: {\n groups: [\n props.reducedBlocks?.length\n ? {\n items: props.reducedBlocks.map((block) => {\n return {\n Icon: BlockIcon,\n key: 'block-' + block.slug,\n keywords: ['block', 'blocks', block.slug],\n label: ({ i18n }) => {\n if (!block.labels.singular) {\n return block.slug\n }\n\n return getTranslation(block.labels.singular, i18n)\n },\n onSelect: ({ editor }) => {\n editor.dispatchCommand(INSERT_BLOCK_COMMAND, {\n id: null,\n blockName: '',\n blockType: block.slug,\n })\n },\n }\n }),\n key: 'blocks',\n label: ({ i18n }) => {\n return i18n.t('lexical:blocks:label')\n },\n }\n : null,\n props.reducedInlineBlocks?.length\n ? {\n items: props.reducedInlineBlocks.map((inlineBlock) => {\n return {\n Icon: InlineBlocksIcon,\n key: 'inlineBlocks-' + inlineBlock.slug,\n keywords: ['inlineBlock', 'inline block', inlineBlock.slug],\n label: ({ i18n }) => {\n if (!inlineBlock.labels.singular) {\n return inlineBlock.slug\n }\n\n return getTranslation(inlineBlock.labels.singular, i18n)\n },\n onSelect: ({ editor }) => {\n editor.dispatchCommand(OPEN_INLINE_BLOCK_DRAWER_COMMAND, {\n fields: {\n id: null,\n blockName: '',\n blockType: inlineBlock.slug,\n },\n })\n },\n }\n }),\n key: 'inlineBlocks',\n label: ({ i18n }) => {\n return i18n.t('lexical:blocks:inlineBlocks:label')\n },\n }\n : null,\n ].filter(Boolean),\n },\n toolbarFixed: {\n groups: [\n props.reducedBlocks?.length\n ? {\n type: 'dropdown',\n ChildComponent: BlockIcon,\n items: props.reducedBlocks.map((block, index) => {\n return {\n ChildComponent: BlockIcon,\n isActive: undefined, // At this point, we would be inside a sub-richtext-editor. And at this point this will be run against the focused sub-editor, not the parent editor which has the actual block. Thus, no point in running this\n key: 'block-' + block.slug,\n label: ({ i18n }) => {\n if (!block.labels.singular) {\n return block.slug\n }\n\n return getTranslation(block.labels.singular, i18n)\n },\n onSelect: ({ editor }) => {\n editor.dispatchCommand(INSERT_BLOCK_COMMAND, {\n id: null,\n blockName: '',\n blockType: block.slug,\n })\n },\n order: index,\n }\n }),\n key: 'blocks',\n order: 20,\n }\n : null,\n props.reducedInlineBlocks?.length\n ? {\n type: 'dropdown',\n ChildComponent: InlineBlocksIcon,\n items: props.reducedInlineBlocks.map((inlineBlock, index) => {\n return {\n ChildComponent: InlineBlocksIcon,\n isActive: undefined,\n key: 'inlineBlock-' + inlineBlock.slug,\n label: ({ i18n }) => {\n if (!inlineBlock.labels.singular) {\n return inlineBlock.slug\n }\n\n return getTranslation(inlineBlock.labels.singular, i18n)\n },\n onSelect: ({ editor }) => {\n editor.dispatchCommand(OPEN_INLINE_BLOCK_DRAWER_COMMAND, {\n fields: {\n blockType: inlineBlock.slug,\n },\n })\n },\n order: index,\n }\n }),\n key: 'inlineBlocks',\n order: 25,\n }\n : null,\n ].filter(Boolean) as ToolbarGroup[],\n },\n}))\n"],"names":["getTranslation","BlockIcon","InlineBlocksIcon","createClientFeature","BlockNode","InlineBlockNode","INSERT_BLOCK_COMMAND","OPEN_INLINE_BLOCK_DRAWER_COMMAND","BlocksPlugin","BlocksFeatureClient","props","nodes","plugins","Component","position","sanitizedClientFeatureProps","slashMenu","groups","reducedBlocks","length","items","map","block","Icon","key","slug","keywords","label","i18n","labels","singular","onSelect","editor","dispatchCommand","id","blockName","blockType","t","reducedInlineBlocks","inlineBlock","fields","filter","Boolean","toolbarFixed","type","ChildComponent","index","isActive","undefined","order"],"mappings":"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"}
@@ -0,0 +1,8 @@
1
+ import type { Block } from 'payload';
2
+ import type { BlocksFeatureClientProps } from './feature.client.js';
3
+ export type BlocksFeatureProps = {
4
+ blocks?: Block[];
5
+ inlineBlocks?: Block[];
6
+ };
7
+ export declare const BlocksFeature: import("../typesServer.js").FeatureProviderProviderServer<BlocksFeatureProps, BlocksFeatureProps, BlocksFeatureClientProps>;
8
+ //# sourceMappingURL=feature.server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature.server.d.ts","sourceRoot":"","sources":["../../../src/features/blocks/feature.server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAA6B,MAAM,SAAS,CAAA;AAI/D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAA;AAYnE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;IAChB,YAAY,CAAC,EAAE,KAAK,EAAE,CAAA;CACvB,CAAA;AAED,eAAO,MAAM,aAAa,6HAoKxB,CAAA"}
@@ -0,0 +1,160 @@
1
+ import { baseBlockFields, fieldsToJSONSchema, formatLabels, sanitizeFields } from 'payload';
2
+ // eslint-disable-next-line payload/no-imports-from-exports-dir
3
+ import { BlocksFeatureClient } from '../../exports/client/index.js';
4
+ import { createServerFeature } from '../../utilities/createServerFeature.js';
5
+ import { createNode } from '../typeUtilities.js';
6
+ import { blockPopulationPromiseHOC } from './graphQLPopulationPromise.js';
7
+ import { i18n } from './i18n.js';
8
+ import { BlockNode } from './nodes/BlocksNode.js';
9
+ import { InlineBlockNode } from './nodes/InlineBlocksNode.js';
10
+ import { blockValidationHOC } from './validate.js';
11
+ export const BlocksFeature = createServerFeature({
12
+ feature: async ({ config: _config, isRoot, props })=>{
13
+ if (props?.blocks?.length || props?.inlineBlocks?.length) {
14
+ const validRelationships = _config.collections.map((c)=>c.slug) || [];
15
+ if (props?.blocks?.length) {
16
+ for (const block of props.blocks){
17
+ block.fields = block.fields.concat(baseBlockFields);
18
+ block.labels = !block.labels ? formatLabels(block.slug) : block.labels;
19
+ block.fields = await sanitizeFields({
20
+ config: _config,
21
+ fields: block.fields,
22
+ requireFieldLevelRichTextEditor: isRoot,
23
+ validRelationships
24
+ });
25
+ }
26
+ }
27
+ if (props?.inlineBlocks?.length) {
28
+ for (const block of props.inlineBlocks){
29
+ block.fields = block.fields.concat(baseBlockFields);
30
+ block.labels = !block.labels ? formatLabels(block.slug) : block.labels;
31
+ block.fields = await sanitizeFields({
32
+ config: _config,
33
+ fields: block.fields,
34
+ requireFieldLevelRichTextEditor: isRoot,
35
+ validRelationships
36
+ });
37
+ }
38
+ }
39
+ }
40
+ // Build clientProps
41
+ const clientProps = {
42
+ reducedBlocks: [],
43
+ reducedInlineBlocks: []
44
+ };
45
+ if (props?.blocks?.length) {
46
+ for (const block of props.blocks){
47
+ clientProps.reducedBlocks.push({
48
+ slug: block.slug,
49
+ LabelComponent: block?.admin?.components?.Label,
50
+ fieldMap: [],
51
+ imageAltText: block.imageAltText,
52
+ imageURL: block.imageURL,
53
+ labels: block.labels
54
+ });
55
+ }
56
+ }
57
+ if (props?.inlineBlocks?.length) {
58
+ for (const block of props.inlineBlocks){
59
+ clientProps.reducedInlineBlocks.push({
60
+ slug: block.slug,
61
+ LabelComponent: block?.admin?.components?.Label,
62
+ fieldMap: [],
63
+ imageAltText: block.imageAltText,
64
+ imageURL: block.imageURL,
65
+ labels: block.labels
66
+ });
67
+ }
68
+ }
69
+ return {
70
+ ClientFeature: BlocksFeatureClient,
71
+ clientFeatureProps: clientProps,
72
+ generateSchemaMap: ({ props })=>{
73
+ /**
74
+ * Add sub-fields to the schemaMap. E.g. if you have an array field as part of the block, and it runs addRow, it will request these
75
+ * sub-fields from the component map. Thus, we need to put them in the component map here.
76
+ */ const schemaMap = new Map();
77
+ if (props?.blocks?.length) {
78
+ for (const block of props.blocks){
79
+ schemaMap.set(block.slug, block.fields || []);
80
+ }
81
+ }
82
+ if (props?.inlineBlocks?.length) {
83
+ for (const block of props.inlineBlocks){
84
+ schemaMap.set(block.slug, block.fields || []);
85
+ }
86
+ }
87
+ return schemaMap;
88
+ },
89
+ generatedTypes: {
90
+ modifyOutputSchema: ({ collectionIDFieldTypes, config, currentSchema, field, interfaceNameDefinitions })=>{
91
+ if (!props?.blocks?.length && !props?.inlineBlocks?.length) {
92
+ return currentSchema;
93
+ }
94
+ const fields = [];
95
+ if (props?.blocks?.length) {
96
+ fields.push({
97
+ name: field?.name + '_lexical_blocks',
98
+ type: 'blocks',
99
+ blocks: props.blocks
100
+ });
101
+ }
102
+ if (props?.inlineBlocks?.length) {
103
+ fields.push({
104
+ name: field?.name + '_lexical_inline_blocks',
105
+ type: 'blocks',
106
+ blocks: props.inlineBlocks
107
+ });
108
+ }
109
+ if (fields.length) {
110
+ // This is only done so that interfaceNameDefinitions sets those block's interfaceNames.
111
+ // we don't actually use the JSON Schema itself in the generated types yet.
112
+ fieldsToJSONSchema(collectionIDFieldTypes, fields, interfaceNameDefinitions, config);
113
+ }
114
+ return currentSchema;
115
+ }
116
+ },
117
+ i18n,
118
+ nodes: [
119
+ createNode({
120
+ getSubFields: ({ node })=>{
121
+ const blockType = node.fields.blockType;
122
+ const block = props.blocks.find((block)=>block.slug === blockType);
123
+ return block?.fields;
124
+ },
125
+ getSubFieldsData: ({ node })=>{
126
+ return node?.fields;
127
+ },
128
+ graphQLPopulationPromises: [
129
+ blockPopulationPromiseHOC(props.blocks)
130
+ ],
131
+ node: BlockNode,
132
+ validations: [
133
+ blockValidationHOC(props.blocks)
134
+ ]
135
+ }),
136
+ createNode({
137
+ getSubFields: ({ node })=>{
138
+ const blockType = node.fields.blockType;
139
+ const block = props.inlineBlocks.find((block)=>block.slug === blockType);
140
+ return block?.fields;
141
+ },
142
+ getSubFieldsData: ({ node })=>{
143
+ return node?.fields;
144
+ },
145
+ graphQLPopulationPromises: [
146
+ blockPopulationPromiseHOC(props.inlineBlocks)
147
+ ],
148
+ node: InlineBlockNode,
149
+ validations: [
150
+ blockValidationHOC(props.inlineBlocks)
151
+ ]
152
+ })
153
+ ],
154
+ sanitizedServerFeatureProps: props
155
+ };
156
+ },
157
+ key: 'blocks'
158
+ });
159
+
160
+ //# sourceMappingURL=feature.server.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/features/blocks/feature.server.ts"],"sourcesContent":["import type { Block, BlockField, Config, Field } from 'payload'\n\nimport { baseBlockFields, fieldsToJSONSchema, formatLabels, sanitizeFields } from 'payload'\n\nimport type { BlocksFeatureClientProps } from './feature.client.js'\n\n// eslint-disable-next-line payload/no-imports-from-exports-dir\nimport { BlocksFeatureClient } from '../../exports/client/index.js'\nimport { createServerFeature } from '../../utilities/createServerFeature.js'\nimport { createNode } from '../typeUtilities.js'\nimport { blockPopulationPromiseHOC } from './graphQLPopulationPromise.js'\nimport { i18n } from './i18n.js'\nimport { BlockNode } from './nodes/BlocksNode.js'\nimport { InlineBlockNode } from './nodes/InlineBlocksNode.js'\nimport { blockValidationHOC } from './validate.js'\n\nexport type BlocksFeatureProps = {\n blocks?: Block[]\n inlineBlocks?: Block[]\n}\n\nexport const BlocksFeature = createServerFeature<\n BlocksFeatureProps,\n BlocksFeatureProps,\n BlocksFeatureClientProps\n>({\n feature: async ({ config: _config, isRoot, props }) => {\n if (props?.blocks?.length || props?.inlineBlocks?.length) {\n const validRelationships = _config.collections.map((c) => c.slug) || []\n\n if (props?.blocks?.length) {\n for (const block of props.blocks) {\n block.fields = block.fields.concat(baseBlockFields)\n block.labels = !block.labels ? formatLabels(block.slug) : block.labels\n\n block.fields = await sanitizeFields({\n config: _config as unknown as Config,\n fields: block.fields,\n requireFieldLevelRichTextEditor: isRoot,\n validRelationships,\n })\n }\n }\n if (props?.inlineBlocks?.length) {\n for (const block of props.inlineBlocks) {\n block.fields = block.fields.concat(baseBlockFields)\n block.labels = !block.labels ? formatLabels(block.slug) : block.labels\n\n block.fields = await sanitizeFields({\n config: _config as unknown as Config,\n fields: block.fields,\n requireFieldLevelRichTextEditor: isRoot,\n validRelationships,\n })\n }\n }\n }\n\n // Build clientProps\n const clientProps: BlocksFeatureClientProps = {\n reducedBlocks: [],\n reducedInlineBlocks: [],\n }\n if (props?.blocks?.length) {\n for (const block of props.blocks) {\n clientProps.reducedBlocks.push({\n slug: block.slug,\n LabelComponent: block?.admin?.components?.Label,\n fieldMap: [],\n imageAltText: block.imageAltText,\n imageURL: block.imageURL,\n labels: block.labels,\n })\n }\n }\n if (props?.inlineBlocks?.length) {\n for (const block of props.inlineBlocks) {\n clientProps.reducedInlineBlocks.push({\n slug: block.slug,\n LabelComponent: block?.admin?.components?.Label,\n fieldMap: [],\n imageAltText: block.imageAltText,\n imageURL: block.imageURL,\n labels: block.labels,\n })\n }\n }\n\n return {\n ClientFeature: BlocksFeatureClient,\n clientFeatureProps: clientProps,\n generateSchemaMap: ({ props }) => {\n /**\n * Add sub-fields to the schemaMap. E.g. if you have an array field as part of the block, and it runs addRow, it will request these\n * sub-fields from the component map. Thus, we need to put them in the component map here.\n */\n const schemaMap = new Map<string, Field[]>()\n\n if (props?.blocks?.length) {\n for (const block of props.blocks) {\n schemaMap.set(block.slug, block.fields || [])\n }\n }\n\n if (props?.inlineBlocks?.length) {\n for (const block of props.inlineBlocks) {\n schemaMap.set(block.slug, block.fields || [])\n }\n }\n\n return schemaMap\n },\n generatedTypes: {\n modifyOutputSchema: ({\n collectionIDFieldTypes,\n config,\n currentSchema,\n field,\n interfaceNameDefinitions,\n }) => {\n if (!props?.blocks?.length && !props?.inlineBlocks?.length) {\n return currentSchema\n }\n\n const fields: BlockField[] = []\n\n if (props?.blocks?.length) {\n fields.push({\n name: field?.name + '_lexical_blocks',\n type: 'blocks',\n blocks: props.blocks,\n })\n }\n if (props?.inlineBlocks?.length) {\n fields.push({\n name: field?.name + '_lexical_inline_blocks',\n type: 'blocks',\n blocks: props.inlineBlocks,\n })\n }\n\n if (fields.length) {\n // This is only done so that interfaceNameDefinitions sets those block's interfaceNames.\n // we don't actually use the JSON Schema itself in the generated types yet.\n fieldsToJSONSchema(collectionIDFieldTypes, fields, interfaceNameDefinitions, config)\n }\n\n return currentSchema\n },\n },\n i18n,\n nodes: [\n createNode({\n getSubFields: ({ node }) => {\n const blockType = node.fields.blockType\n\n const block = props.blocks.find((block) => block.slug === blockType)\n return block?.fields\n },\n getSubFieldsData: ({ node }) => {\n return node?.fields\n },\n graphQLPopulationPromises: [blockPopulationPromiseHOC(props.blocks)],\n node: BlockNode,\n validations: [blockValidationHOC(props.blocks)],\n }),\n createNode({\n getSubFields: ({ node }) => {\n const blockType = node.fields.blockType\n\n const block = props.inlineBlocks.find((block) => block.slug === blockType)\n return block?.fields\n },\n getSubFieldsData: ({ node }) => {\n return node?.fields\n },\n graphQLPopulationPromises: [blockPopulationPromiseHOC(props.inlineBlocks)],\n node: InlineBlockNode,\n validations: [blockValidationHOC(props.inlineBlocks)],\n }),\n ],\n sanitizedServerFeatureProps: props,\n }\n },\n key: 'blocks',\n})\n"],"names":["baseBlockFields","fieldsToJSONSchema","formatLabels","sanitizeFields","BlocksFeatureClient","createServerFeature","createNode","blockPopulationPromiseHOC","i18n","BlockNode","InlineBlockNode","blockValidationHOC","BlocksFeature","feature","config","_config","isRoot","props","blocks","length","inlineBlocks","validRelationships","collections","map","c","slug","block","fields","concat","labels","requireFieldLevelRichTextEditor","clientProps","reducedBlocks","reducedInlineBlocks","push","LabelComponent","admin","components","Label","fieldMap","imageAltText","imageURL","ClientFeature","clientFeatureProps","generateSchemaMap","schemaMap","Map","set","generatedTypes","modifyOutputSchema","collectionIDFieldTypes","currentSchema","field","interfaceNameDefinitions","name","type","nodes","getSubFields","node","blockType","find","getSubFieldsData","graphQLPopulationPromises","validations","sanitizedServerFeatureProps","key"],"mappings":"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"}
@@ -0,0 +1,6 @@
1
+ import type { Block } from 'payload';
2
+ import type { PopulationPromise } from '../typesServer.js';
3
+ import type { SerializedBlockNode } from './nodes/BlocksNode.js';
4
+ import type { SerializedInlineBlockNode } from './nodes/InlineBlocksNode.js';
5
+ export declare const blockPopulationPromiseHOC: (blocks: Block[]) => PopulationPromise<SerializedBlockNode | SerializedInlineBlockNode>;
6
+ //# sourceMappingURL=graphQLPopulationPromise.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graphQLPopulationPromise.d.ts","sourceRoot":"","sources":["../../../src/features/blocks/graphQLPopulationPromise.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAEpC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAI5E,eAAO,MAAM,yBAAyB,WAC5B,KAAK,EAAE,KACd,iBAAiB,CAAC,mBAAmB,GAAG,yBAAyB,CA4CnE,CAAA"}