@payloadcms/richtext-lexical 4.0.0-canary.2 → 4.0.0-canary.21

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 (552) hide show
  1. package/LICENSE.md +1 -1
  2. package/dist/cell/rscEntry.d.ts.map +1 -1
  3. package/dist/cell/rscEntry.js +5 -5
  4. package/dist/cell/rscEntry.js.map +1 -1
  5. package/dist/exports/client/Field-F22V5L4V.js +2 -0
  6. package/dist/exports/client/Field-F22V5L4V.js.map +7 -0
  7. package/dist/exports/client/bundled.css +1 -1
  8. package/dist/exports/client/chunk-43E5QYAA.js +2 -0
  9. package/dist/exports/client/chunk-43E5QYAA.js.map +7 -0
  10. package/dist/exports/client/{chunk-CUFJGFNW.js → chunk-ESITTE3C.js} +2 -2
  11. package/dist/exports/client/{chunk-CUFJGFNW.js.map → chunk-ESITTE3C.js.map} +2 -2
  12. package/dist/exports/client/chunk-LN6VX25I.js +2 -0
  13. package/dist/exports/client/chunk-LN6VX25I.js.map +7 -0
  14. package/dist/exports/client/component-D5QLYS7W.js +2 -0
  15. package/dist/exports/client/component-D5QLYS7W.js.map +7 -0
  16. package/dist/exports/client/componentInline-H24N7GUG.js +2 -0
  17. package/dist/exports/client/index.d.ts +1 -2
  18. package/dist/exports/client/index.d.ts.map +1 -1
  19. package/dist/exports/client/index.js +27 -28
  20. package/dist/exports/client/index.js.map +4 -4
  21. package/dist/features/align/client/toolbarAlignGroup.d.ts.map +1 -1
  22. package/dist/features/blockquote/client/index.js +2 -2
  23. package/dist/features/blockquote/client/index.js.map +1 -1
  24. package/dist/features/blockquote/server/index.js +2 -2
  25. package/dist/features/blockquote/server/index.js.map +1 -1
  26. package/dist/features/blocks/client/component/index.css +2 -2
  27. package/dist/features/blocks/client/component/index.js.map +1 -1
  28. package/dist/features/blocks/client/componentInline/components/InlineBlockContainer.d.ts.map +1 -1
  29. package/dist/features/blocks/client/componentInline/index.css +8 -8
  30. package/dist/features/blocks/client/componentInline/index.js.map +1 -1
  31. package/dist/features/blocks/client/getBlockImageComponent.d.ts +1 -1
  32. package/dist/features/blocks/client/markdown/getLexicalToMarkdown.d.ts +1 -1
  33. package/dist/features/blocks/client/markdown/getLexicalToMarkdown.d.ts.map +1 -1
  34. package/dist/features/blocks/client/markdown/getLexicalToMarkdown.js +1 -1
  35. package/dist/features/blocks/client/markdown/getLexicalToMarkdown.js.map +1 -1
  36. package/dist/features/blocks/client/markdown/getMarkdownToLexical.d.ts +1 -1
  37. package/dist/features/blocks/client/markdown/getMarkdownToLexical.d.ts.map +1 -1
  38. package/dist/features/blocks/client/markdown/getMarkdownToLexical.js +5 -2
  39. package/dist/features/blocks/client/markdown/getMarkdownToLexical.js.map +1 -1
  40. package/dist/features/blocks/client/markdown/markdownTransformer.d.ts +1 -2
  41. package/dist/features/blocks/client/markdown/markdownTransformer.d.ts.map +1 -1
  42. package/dist/features/blocks/client/markdown/markdownTransformer.js.map +1 -1
  43. package/dist/features/blocks/client/nodes/BlocksNode.d.ts.map +1 -1
  44. package/dist/features/blocks/client/nodes/InlineBlocksNode.d.ts.map +1 -1
  45. package/dist/features/blocks/premade/CodeBlock/Component/Collapse/index.css +1 -1
  46. package/dist/features/blocks/premade/CodeBlock/Component/FloatingCollapse/index.css +2 -4
  47. package/dist/features/blocks/premade/CodeBlock/Component/index.css +5 -5
  48. package/dist/features/blocks/server/graphQLPopulationPromise.d.ts.map +1 -1
  49. package/dist/features/blocks/server/index.js +2 -2
  50. package/dist/features/blocks/server/index.js.map +1 -1
  51. package/dist/features/blocks/server/markdown/markdownTransformer.d.ts +1 -1
  52. package/dist/features/blocks/server/markdown/markdownTransformer.d.ts.map +1 -1
  53. package/dist/features/blocks/server/markdown/markdownTransformer.js.map +1 -1
  54. package/dist/features/blocks/server/nodes/BlocksNode.d.ts.map +1 -1
  55. package/dist/features/blocks/server/nodes/InlineBlocksNode.d.ts.map +1 -1
  56. package/dist/features/blocks/server/schema.d.ts.map +1 -1
  57. package/dist/features/blocks/server/schema.js +3 -2
  58. package/dist/features/blocks/server/schema.js.map +1 -1
  59. package/dist/features/blocks/server/validate.d.ts.map +1 -1
  60. package/dist/features/converters/htmlToLexical/index.d.ts.map +1 -1
  61. package/dist/features/converters/lexicalToHtml/shared/cssColors.d.ts.map +1 -1
  62. package/dist/features/converters/lexicalToMarkdown/index.d.ts.map +1 -1
  63. package/dist/features/converters/lexicalToMarkdown/index.js +1 -1
  64. package/dist/features/converters/lexicalToMarkdown/index.js.map +1 -1
  65. package/dist/features/converters/markdownToLexical/index.d.ts.map +1 -1
  66. package/dist/features/converters/markdownToLexical/index.js +5 -2
  67. package/dist/features/converters/markdownToLexical/index.js.map +1 -1
  68. package/dist/features/debug/jsxConverter/client/plugin/style.css +2 -2
  69. package/dist/features/debug/testRecorder/client/plugin/index.css +0 -1
  70. package/dist/features/format/bold/feature.client.js +1 -1
  71. package/dist/features/format/bold/feature.client.js.map +1 -1
  72. package/dist/features/format/bold/feature.server.d.ts.map +1 -1
  73. package/dist/features/format/bold/feature.server.js +1 -1
  74. package/dist/features/format/bold/feature.server.js.map +1 -1
  75. package/dist/features/format/inlineCode/feature.client.js +1 -1
  76. package/dist/features/format/inlineCode/feature.client.js.map +1 -1
  77. package/dist/features/format/inlineCode/feature.server.d.ts.map +1 -1
  78. package/dist/features/format/inlineCode/feature.server.js +1 -1
  79. package/dist/features/format/inlineCode/feature.server.js.map +1 -1
  80. package/dist/features/format/italic/feature.client.js +1 -1
  81. package/dist/features/format/italic/feature.client.js.map +1 -1
  82. package/dist/features/format/italic/feature.server.d.ts.map +1 -1
  83. package/dist/features/format/italic/feature.server.js +1 -1
  84. package/dist/features/format/italic/feature.server.js.map +1 -1
  85. package/dist/features/format/shared/toolbarFormatGroup.d.ts.map +1 -1
  86. package/dist/features/format/strikethrough/feature.client.js +1 -1
  87. package/dist/features/format/strikethrough/feature.client.js.map +1 -1
  88. package/dist/features/format/strikethrough/feature.server.d.ts.map +1 -1
  89. package/dist/features/format/strikethrough/feature.server.js +1 -1
  90. package/dist/features/format/strikethrough/feature.server.js.map +1 -1
  91. package/dist/features/heading/client/index.js +2 -2
  92. package/dist/features/heading/client/index.js.map +1 -1
  93. package/dist/features/heading/markdownTransformer.d.ts +2 -2
  94. package/dist/features/heading/markdownTransformer.d.ts.map +1 -1
  95. package/dist/features/heading/markdownTransformer.js +6 -19
  96. package/dist/features/heading/markdownTransformer.js.map +1 -1
  97. package/dist/features/heading/server/index.js +2 -2
  98. package/dist/features/heading/server/index.js.map +1 -1
  99. package/dist/features/heading/server/schema.d.ts.map +1 -1
  100. package/dist/features/horizontalRule/client/index.js +2 -2
  101. package/dist/features/horizontalRule/client/index.js.map +1 -1
  102. package/dist/features/horizontalRule/client/markdownTransformer.d.ts +2 -2
  103. package/dist/features/horizontalRule/client/markdownTransformer.d.ts.map +1 -1
  104. package/dist/features/horizontalRule/client/markdownTransformer.js +1 -1
  105. package/dist/features/horizontalRule/client/markdownTransformer.js.map +1 -1
  106. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.d.ts +1 -1
  107. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.d.ts.map +1 -1
  108. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.js +1 -1
  109. package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.js.map +1 -1
  110. package/dist/features/horizontalRule/client/plugin/index.css +2 -2
  111. package/dist/features/horizontalRule/server/index.js +2 -2
  112. package/dist/features/horizontalRule/server/index.js.map +1 -1
  113. package/dist/features/horizontalRule/server/markdownTransformer.d.ts +2 -2
  114. package/dist/features/horizontalRule/server/markdownTransformer.d.ts.map +1 -1
  115. package/dist/features/horizontalRule/server/markdownTransformer.js +1 -1
  116. package/dist/features/horizontalRule/server/markdownTransformer.js.map +1 -1
  117. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.d.ts +1 -1
  118. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.d.ts.map +1 -1
  119. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.js +1 -1
  120. package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.js.map +1 -1
  121. package/dist/features/indent/client/toolbarIndentGroup.d.ts.map +1 -1
  122. package/dist/features/link/client/index.js +2 -2
  123. package/dist/features/link/client/index.js.map +1 -1
  124. package/dist/features/link/client/plugins/autoLink/index.d.ts.map +1 -1
  125. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.js +3 -3
  126. package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.js.map +1 -1
  127. package/dist/features/link/client/plugins/floatingLinkEditor/index.css +7 -12
  128. package/dist/features/link/markdownTransformer.d.ts +4 -4
  129. package/dist/features/link/markdownTransformer.d.ts.map +1 -1
  130. package/dist/features/link/markdownTransformer.js +2 -2
  131. package/dist/features/link/markdownTransformer.js.map +1 -1
  132. package/dist/features/link/markdownTransformer.spec.js +10 -10
  133. package/dist/features/link/markdownTransformer.spec.js.map +1 -1
  134. package/dist/features/link/nodes/AutoLinkNode.d.ts +1 -1
  135. package/dist/features/link/nodes/AutoLinkNode.d.ts.map +1 -1
  136. package/dist/features/link/nodes/AutoLinkNode.js.map +1 -1
  137. package/dist/features/link/nodes/LinkNode.d.ts +1 -1
  138. package/dist/features/link/nodes/LinkNode.d.ts.map +1 -1
  139. package/dist/features/link/nodes/LinkNode.js.map +1 -1
  140. package/dist/features/link/server/baseFields.d.ts.map +1 -1
  141. package/dist/features/link/server/baseFields.js.map +1 -1
  142. package/dist/features/link/server/graphQLPopulationPromise.d.ts.map +1 -1
  143. package/dist/features/link/server/index.js +4 -4
  144. package/dist/features/link/server/index.js.map +1 -1
  145. package/dist/features/link/server/schema.d.ts.map +1 -1
  146. package/dist/features/link/server/schema.js +4 -2
  147. package/dist/features/link/server/schema.js.map +1 -1
  148. package/dist/features/link/server/validate.d.ts.map +1 -1
  149. package/dist/features/lists/checklist/client/index.js +1 -1
  150. package/dist/features/lists/checklist/client/index.js.map +1 -1
  151. package/dist/features/lists/checklist/server/index.js +1 -1
  152. package/dist/features/lists/checklist/server/index.js.map +1 -1
  153. package/dist/features/lists/orderedList/client/index.js +1 -1
  154. package/dist/features/lists/orderedList/client/index.js.map +1 -1
  155. package/dist/features/lists/orderedList/server/index.js +1 -1
  156. package/dist/features/lists/orderedList/server/index.js.map +1 -1
  157. package/dist/features/lists/unorderedList/client/index.js +1 -1
  158. package/dist/features/lists/unorderedList/client/index.js.map +1 -1
  159. package/dist/features/lists/unorderedList/server/index.js +1 -1
  160. package/dist/features/lists/unorderedList/server/index.js.map +1 -1
  161. package/dist/features/relationship/client/drawer/index.d.ts.map +1 -1
  162. package/dist/features/relationship/client/nodes/RelationshipNode.d.ts.map +1 -1
  163. package/dist/features/relationship/client/utils/useEnabledRelationships.d.ts.map +1 -1
  164. package/dist/features/relationship/server/graphQLPopulationPromise.d.ts.map +1 -1
  165. package/dist/features/relationship/server/nodes/RelationshipNode.d.ts.map +1 -1
  166. package/dist/features/relationship/server/schema.d.ts +3 -3
  167. package/dist/features/relationship/server/schema.d.ts.map +1 -1
  168. package/dist/features/relationship/server/schema.js +22 -5
  169. package/dist/features/relationship/server/schema.js.map +1 -1
  170. package/dist/features/relationship/shared/filterEnabledRelationshipCollections.d.ts.map +1 -1
  171. package/dist/features/shared/toolbar/addDropdownGroup.d.ts.map +1 -1
  172. package/dist/features/shared/toolbar/featureButtonsGroup.d.ts.map +1 -1
  173. package/dist/features/shared/toolbar/textDropdownGroup.d.ts.map +1 -1
  174. package/dist/features/table/client/index.d.ts.map +1 -0
  175. package/dist/features/{experimental_table → table}/client/index.js +2 -2
  176. package/dist/features/table/client/index.js.map +1 -0
  177. package/dist/features/table/client/plugins/TableActionMenuPlugin/index.d.ts.map +1 -0
  178. package/dist/features/table/client/plugins/TableActionMenuPlugin/index.js.map +1 -0
  179. package/dist/features/table/client/plugins/TableCellResizerPlugin/index.d.ts.map +1 -0
  180. package/dist/features/table/client/plugins/TableCellResizerPlugin/index.js.map +1 -0
  181. package/dist/features/table/client/plugins/TableHoverActionsPlugin/index.d.ts.map +1 -0
  182. package/dist/features/table/client/plugins/TableHoverActionsPlugin/index.js.map +1 -0
  183. package/dist/features/table/client/plugins/TablePlugin/TableGridPopup/index.d.ts.map +1 -0
  184. package/dist/features/table/client/plugins/TablePlugin/TableGridPopup/index.js.map +1 -0
  185. package/dist/features/table/client/plugins/TablePlugin/index.d.ts.map +1 -0
  186. package/dist/features/table/client/plugins/TablePlugin/index.js.map +1 -0
  187. package/dist/features/table/client/utils/debounce.d.ts.map +1 -0
  188. package/dist/features/table/client/utils/debounce.js.map +1 -0
  189. package/dist/features/table/client/utils/useDebounce.d.ts.map +1 -0
  190. package/dist/features/table/client/utils/useDebounce.js.map +1 -0
  191. package/dist/features/table/markdownTransformer.d.ts +5 -0
  192. package/dist/features/table/markdownTransformer.d.ts.map +1 -0
  193. package/dist/features/{experimental_table → table}/markdownTransformer.js +6 -3
  194. package/dist/features/table/markdownTransformer.js.map +1 -0
  195. package/dist/features/table/server/index.d.ts +3 -0
  196. package/dist/features/table/server/index.d.ts.map +1 -0
  197. package/dist/features/{experimental_table → table}/server/index.js +6 -6
  198. package/dist/features/table/server/index.js.map +1 -0
  199. package/dist/features/table/server/schema.d.ts.map +1 -0
  200. package/dist/features/table/server/schema.js.map +1 -0
  201. package/dist/features/textState/feature.client.js +1 -1
  202. package/dist/features/textState/feature.client.js.map +1 -1
  203. package/dist/features/toolbars/fixed/client/Toolbar/index.css +4 -6
  204. package/dist/features/toolbars/inline/client/Toolbar/index.css +2 -14
  205. package/dist/features/toolbars/shared/ToolbarButton/index.d.ts.map +1 -1
  206. package/dist/features/toolbars/shared/ToolbarDropdown/index.css +8 -14
  207. package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +1 -1
  208. package/dist/features/toolbars/shared/useToolbarStates.d.ts.map +1 -1
  209. package/dist/features/toolbars/shared/useToolbarStates.js +3 -1
  210. package/dist/features/toolbars/shared/useToolbarStates.js.map +1 -1
  211. package/dist/features/typesClient.d.ts +1 -1
  212. package/dist/features/typesClient.d.ts.map +1 -1
  213. package/dist/features/typesClient.js.map +1 -1
  214. package/dist/features/typesServer.d.ts +3 -3
  215. package/dist/features/typesServer.d.ts.map +1 -1
  216. package/dist/features/typesServer.js.map +1 -1
  217. package/dist/features/upload/client/component/index.css +9 -9
  218. package/dist/features/upload/client/component/index.js +2 -1
  219. package/dist/features/upload/client/component/index.js.map +1 -1
  220. package/dist/features/upload/client/drawer/index.d.ts.map +1 -1
  221. package/dist/features/upload/client/nodes/UploadNode.d.ts.map +1 -1
  222. package/dist/features/upload/client/plugin/index.js +5 -5
  223. package/dist/features/upload/client/plugin/index.js.map +1 -1
  224. package/dist/features/upload/server/graphQLPopulationPromise.d.ts.map +1 -1
  225. package/dist/features/upload/server/index.js +4 -4
  226. package/dist/features/upload/server/index.js.map +1 -1
  227. package/dist/features/upload/server/markdownTransformer.d.ts +2 -2
  228. package/dist/features/upload/server/markdownTransformer.d.ts.map +1 -1
  229. package/dist/features/upload/server/markdownTransformer.js +1 -1
  230. package/dist/features/upload/server/markdownTransformer.js.map +1 -1
  231. package/dist/features/upload/server/nodes/UploadNode.d.ts.map +1 -1
  232. package/dist/features/upload/server/schema.d.ts +4 -4
  233. package/dist/features/upload/server/schema.d.ts.map +1 -1
  234. package/dist/features/upload/server/schema.js +26 -6
  235. package/dist/features/upload/server/schema.js.map +1 -1
  236. package/dist/features/upload/server/validate.d.ts.map +1 -1
  237. package/dist/field/Diff/converters/unknown/index.css +1 -1
  238. package/dist/field/Field.d.ts.map +1 -1
  239. package/dist/field/Field.js +18 -15
  240. package/dist/field/Field.js.map +1 -1
  241. package/dist/field/ViewSelector.css +1 -1
  242. package/dist/field/bundled.css +1 -1
  243. package/dist/field/index.css +5 -9
  244. package/dist/field/index.js +1 -1
  245. package/dist/field/index.js.map +1 -1
  246. package/dist/field/rscEntry.d.ts.map +1 -1
  247. package/dist/field/rscEntry.js +2 -0
  248. package/dist/field/rscEntry.js.map +1 -1
  249. package/dist/i18n.d.ts.map +1 -1
  250. package/dist/i18n.js +68 -0
  251. package/dist/i18n.js.map +1 -1
  252. package/dist/index.d.ts +3 -3
  253. package/dist/index.d.ts.map +1 -1
  254. package/dist/index.js +7 -7
  255. package/dist/index.js.map +1 -1
  256. package/dist/lexical/LexicalEditor.css +18 -18
  257. package/dist/lexical/config/client/EditorConfigProvider.d.ts.map +1 -1
  258. package/dist/lexical/config/client/loader.d.ts.map +1 -1
  259. package/dist/lexical/config/client/loader.js +5 -1
  260. package/dist/lexical/config/client/loader.js.map +1 -1
  261. package/dist/lexical/config/client/sanitize.d.ts.map +1 -1
  262. package/dist/lexical/config/server/loader.d.ts +1 -1
  263. package/dist/lexical/config/server/loader.d.ts.map +1 -1
  264. package/dist/lexical/config/server/loader.js +2 -2
  265. package/dist/lexical/config/server/loader.js.map +1 -1
  266. package/dist/lexical/config/server/sanitize.d.ts +1 -1
  267. package/dist/lexical/config/server/sanitize.d.ts.map +1 -1
  268. package/dist/lexical/config/server/sanitize.js +2 -2
  269. package/dist/lexical/config/server/sanitize.js.map +1 -1
  270. package/dist/lexical/plugins/DecoratorPlugin/index.css +1 -1
  271. package/dist/lexical/plugins/InsertParagraphAtEnd/index.css +16 -24
  272. package/dist/lexical/plugins/InsertParagraphAtEnd/index.d.ts.map +1 -1
  273. package/dist/lexical/plugins/InsertParagraphAtEnd/index.js +27 -14
  274. package/dist/lexical/plugins/InsertParagraphAtEnd/index.js.map +1 -1
  275. package/dist/lexical/plugins/MarkdownShortcut/index.d.ts.map +1 -1
  276. package/dist/lexical/plugins/MarkdownShortcut/index.js +1 -1
  277. package/dist/lexical/plugins/MarkdownShortcut/index.js.map +1 -1
  278. package/dist/lexical/plugins/NodeViewOverridePlugin/index.d.ts.map +1 -1
  279. package/dist/lexical/plugins/NodeViewOverridePlugin/index.js +21 -0
  280. package/dist/lexical/plugins/NodeViewOverridePlugin/index.js.map +1 -1
  281. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +0 -1
  282. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +1 -1
  283. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +1 -20
  284. package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +1 -1
  285. package/dist/lexical/plugins/SlashMenu/index.css +1 -6
  286. package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.css +1 -1
  287. package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +1 -1
  288. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.css +4 -3
  289. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js +1 -1
  290. package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +1 -1
  291. package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts.map +1 -1
  292. package/dist/lexical/theme/EditorTheme.css +18 -19
  293. package/dist/lexical/ui/ContentEditable.css +22 -17
  294. package/dist/lexical/utils/markdown/convertFromMarkdownString.d.ts +17 -0
  295. package/dist/lexical/utils/markdown/convertFromMarkdownString.d.ts.map +1 -0
  296. package/dist/lexical/utils/markdown/convertFromMarkdownString.js +27 -0
  297. package/dist/lexical/utils/markdown/convertFromMarkdownString.js.map +1 -0
  298. package/dist/lexical/utils/markdown/convertFromMarkdownString.spec.js +88 -0
  299. package/dist/lexical/utils/markdown/convertFromMarkdownString.spec.js.map +1 -0
  300. package/dist/lexical/utils/markdown/createBlockNode.d.ts +2 -2
  301. package/dist/lexical/utils/markdown/createBlockNode.d.ts.map +1 -1
  302. package/dist/lexical/utils/markdown/createBlockNode.js.map +1 -1
  303. package/dist/lexical/utils/markdown/normalizeMarkdown.d.ts +25 -0
  304. package/dist/lexical/utils/markdown/normalizeMarkdown.d.ts.map +1 -0
  305. package/dist/lexical/utils/markdown/normalizeMarkdown.js +91 -0
  306. package/dist/lexical/utils/markdown/normalizeMarkdown.js.map +1 -0
  307. package/dist/lexical/utils/nodeFormat.d.ts.map +1 -1
  308. package/dist/lexical/utils/point.d.ts.map +1 -1
  309. package/dist/lexical/utils/rect.d.ts.map +1 -1
  310. package/dist/lexical-proxy/@lexical-markdown.d.ts +1 -1
  311. package/dist/lexical-proxy/@lexical-markdown.d.ts.map +1 -1
  312. package/dist/lexical-proxy/@lexical-markdown.js +1 -1
  313. package/dist/lexical-proxy/@lexical-markdown.js.map +1 -1
  314. package/dist/lexical-proxy/@lexical-react/ExtensionComponent.d.ts +2 -0
  315. package/dist/lexical-proxy/@lexical-react/ExtensionComponent.d.ts.map +1 -0
  316. package/dist/lexical-proxy/@lexical-react/ExtensionComponent.js +2 -0
  317. package/dist/lexical-proxy/@lexical-react/ExtensionComponent.js.map +1 -0
  318. package/dist/lexical-proxy/@lexical-react/LexicalExtensionComposer.d.ts +2 -0
  319. package/dist/lexical-proxy/@lexical-react/LexicalExtensionComposer.d.ts.map +1 -0
  320. package/dist/lexical-proxy/@lexical-react/LexicalExtensionComposer.js +2 -0
  321. package/dist/lexical-proxy/@lexical-react/LexicalExtensionComposer.js.map +1 -0
  322. package/dist/lexical-proxy/@lexical-react/LexicalExtensionEditorComposer.d.ts +2 -0
  323. package/dist/lexical-proxy/@lexical-react/LexicalExtensionEditorComposer.d.ts.map +1 -0
  324. package/dist/lexical-proxy/@lexical-react/LexicalExtensionEditorComposer.js +2 -0
  325. package/dist/lexical-proxy/@lexical-react/LexicalExtensionEditorComposer.js.map +1 -0
  326. package/dist/lexical-proxy/@lexical-react/LexicalSelectionAlwaysOnDisplay.d.ts +2 -0
  327. package/dist/lexical-proxy/@lexical-react/LexicalSelectionAlwaysOnDisplay.d.ts.map +1 -0
  328. package/dist/lexical-proxy/@lexical-react/LexicalSelectionAlwaysOnDisplay.js +2 -0
  329. package/dist/lexical-proxy/@lexical-react/LexicalSelectionAlwaysOnDisplay.js.map +1 -0
  330. package/dist/lexical-proxy/@lexical-react/ReactExtension.d.ts +2 -0
  331. package/dist/lexical-proxy/@lexical-react/ReactExtension.d.ts.map +1 -0
  332. package/dist/lexical-proxy/@lexical-react/ReactExtension.js +2 -0
  333. package/dist/lexical-proxy/@lexical-react/ReactExtension.js.map +1 -0
  334. package/dist/lexical-proxy/@lexical-react/ReactPluginHostExtension.d.ts +2 -0
  335. package/dist/lexical-proxy/@lexical-react/ReactPluginHostExtension.d.ts.map +1 -0
  336. package/dist/lexical-proxy/@lexical-react/ReactPluginHostExtension.js +2 -0
  337. package/dist/lexical-proxy/@lexical-react/ReactPluginHostExtension.js.map +1 -0
  338. package/dist/lexical-proxy/@lexical-react/ReactProviderExtension.d.ts +2 -0
  339. package/dist/lexical-proxy/@lexical-react/ReactProviderExtension.d.ts.map +1 -0
  340. package/dist/lexical-proxy/@lexical-react/ReactProviderExtension.js +2 -0
  341. package/dist/lexical-proxy/@lexical-react/ReactProviderExtension.js.map +1 -0
  342. package/dist/lexical-proxy/@lexical-react/TreeViewExtension.d.ts +2 -0
  343. package/dist/lexical-proxy/@lexical-react/TreeViewExtension.d.ts.map +1 -0
  344. package/dist/lexical-proxy/@lexical-react/TreeViewExtension.js +2 -0
  345. package/dist/lexical-proxy/@lexical-react/TreeViewExtension.js.map +1 -0
  346. package/dist/lexical-proxy/@lexical-react/useExtensionComponent.d.ts +2 -0
  347. package/dist/lexical-proxy/@lexical-react/useExtensionComponent.d.ts.map +1 -0
  348. package/dist/lexical-proxy/@lexical-react/useExtensionComponent.js +2 -0
  349. package/dist/lexical-proxy/@lexical-react/useExtensionComponent.js.map +1 -0
  350. package/dist/lexical-proxy/@lexical-react/useExtensionSignalValue.d.ts +2 -0
  351. package/dist/lexical-proxy/@lexical-react/useExtensionSignalValue.d.ts.map +1 -0
  352. package/dist/lexical-proxy/@lexical-react/useExtensionSignalValue.js +2 -0
  353. package/dist/lexical-proxy/@lexical-react/useExtensionSignalValue.js.map +1 -0
  354. package/dist/lexical-proxy/@lexical-react/useLexicalAriaLiveRegion.d.ts +2 -0
  355. package/dist/lexical-proxy/@lexical-react/useLexicalAriaLiveRegion.d.ts.map +1 -0
  356. package/dist/lexical-proxy/@lexical-react/useLexicalAriaLiveRegion.js +2 -0
  357. package/dist/lexical-proxy/@lexical-react/useLexicalAriaLiveRegion.js.map +1 -0
  358. package/dist/lexical-proxy/@lexical-react/useLexicalFocusManagerRef.d.ts +2 -0
  359. package/dist/lexical-proxy/@lexical-react/useLexicalFocusManagerRef.d.ts.map +1 -0
  360. package/dist/lexical-proxy/@lexical-react/useLexicalFocusManagerRef.js +2 -0
  361. package/dist/lexical-proxy/@lexical-react/useLexicalFocusManagerRef.js.map +1 -0
  362. package/dist/lexical-proxy/@lexical-react/useLexicalFocusTrapRef.d.ts +2 -0
  363. package/dist/lexical-proxy/@lexical-react/useLexicalFocusTrapRef.d.ts.map +1 -0
  364. package/dist/lexical-proxy/@lexical-react/useLexicalFocusTrapRef.js +2 -0
  365. package/dist/lexical-proxy/@lexical-react/useLexicalFocusTrapRef.js.map +1 -0
  366. package/dist/lexical-proxy/@lexical-react/useLexicalRovingTabIndexRef.d.ts +2 -0
  367. package/dist/lexical-proxy/@lexical-react/useLexicalRovingTabIndexRef.d.ts.map +1 -0
  368. package/dist/lexical-proxy/@lexical-react/useLexicalRovingTabIndexRef.js +2 -0
  369. package/dist/lexical-proxy/@lexical-react/useLexicalRovingTabIndexRef.js.map +1 -0
  370. package/dist/lexical-proxy/@lexical-react/useLexicalSlotRef.d.ts +2 -0
  371. package/dist/lexical-proxy/@lexical-react/useLexicalSlotRef.d.ts.map +1 -0
  372. package/dist/lexical-proxy/@lexical-react/useLexicalSlotRef.js +2 -0
  373. package/dist/lexical-proxy/@lexical-react/useLexicalSlotRef.js.map +1 -0
  374. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts.map +1 -1
  375. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts.map +1 -1
  376. package/dist/types/index.d.ts +3 -3
  377. package/dist/types/index.d.ts.map +1 -1
  378. package/dist/types/index.js.map +1 -1
  379. package/dist/types/jsonSchemaHelpers.d.ts.map +1 -1
  380. package/dist/types/nodeTypes.d.ts +1 -1
  381. package/dist/types/nodeTypes.d.ts.map +1 -1
  382. package/dist/types/nodeTypes.js.map +1 -1
  383. package/dist/types/schema.d.ts.map +1 -1
  384. package/dist/types/schema.js +12 -5
  385. package/dist/types/schema.js.map +1 -1
  386. package/dist/utilities/applyBaseFilterToFields.d.ts.map +1 -1
  387. package/dist/utilities/applyBaseFilterToFields.js.map +1 -1
  388. package/dist/utilities/buildInitialState.d.ts +2 -1
  389. package/dist/utilities/buildInitialState.d.ts.map +1 -1
  390. package/dist/utilities/buildInitialState.js.map +1 -1
  391. package/dist/utilities/createServerFeature.d.ts +1 -1
  392. package/dist/utilities/createServerFeature.d.ts.map +1 -1
  393. package/dist/utilities/createServerFeature.js +2 -2
  394. package/dist/utilities/createServerFeature.js.map +1 -1
  395. package/dist/utilities/editorConfigFactory.d.ts +6 -6
  396. package/dist/utilities/editorConfigFactory.d.ts.map +1 -1
  397. package/dist/utilities/editorConfigFactory.js +9 -9
  398. package/dist/utilities/editorConfigFactory.js.map +1 -1
  399. package/dist/utilities/fieldsDrawer/index.css +0 -4
  400. package/dist/utilities/fieldsDrawer/useDrawerSubmit.d.ts +1 -1
  401. package/dist/utilities/fieldsDrawer/useDrawerSubmit.d.ts.map +1 -1
  402. package/dist/utilities/fieldsDrawer/useLexicalDocumentDrawer.d.ts.map +1 -1
  403. package/dist/utilities/fieldsDrawer/useLexicalDrawer.d.ts.map +1 -1
  404. package/dist/utilities/fieldsDrawer/useLexicalListDrawer.d.ts.map +1 -1
  405. package/dist/utilities/generateImportMap.d.ts +1 -1
  406. package/dist/utilities/generateImportMap.d.ts.map +1 -1
  407. package/dist/utilities/generateSchemaMap.d.ts +1 -1
  408. package/dist/utilities/generateSchemaMap.d.ts.map +1 -1
  409. package/dist/utilities/getDefaultSanitizedEditorConfig.d.ts +2 -2
  410. package/dist/utilities/getDefaultSanitizedEditorConfig.d.ts.map +1 -1
  411. package/dist/utilities/getDefaultSanitizedEditorConfig.js +6 -17
  412. package/dist/utilities/getDefaultSanitizedEditorConfig.js.map +1 -1
  413. package/dist/utilities/recurseNodeTree.d.ts.map +1 -1
  414. package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.d.ts.map +1 -1
  415. package/dist/utilities/useLexicalFeature.d.ts.map +1 -1
  416. package/dist/validate/index.d.ts.map +1 -1
  417. package/package.json +96 -27
  418. package/dist/exports/client/Field-G5Z2HM5Y.js +0 -2
  419. package/dist/exports/client/Field-G5Z2HM5Y.js.map +0 -7
  420. package/dist/exports/client/chunk-LH634DPU.js +0 -12
  421. package/dist/exports/client/chunk-LH634DPU.js.map +0 -7
  422. package/dist/exports/client/chunk-UD4DQ4AK.js +0 -2
  423. package/dist/exports/client/chunk-UD4DQ4AK.js.map +0 -7
  424. package/dist/exports/client/component-PHZQBOJE.js +0 -2
  425. package/dist/exports/client/component-PHZQBOJE.js.map +0 -7
  426. package/dist/exports/client/componentInline-DV4EGOWU.js +0 -2
  427. package/dist/features/blockquote/markdownTransformer.d.ts +0 -3
  428. package/dist/features/blockquote/markdownTransformer.d.ts.map +0 -1
  429. package/dist/features/blockquote/markdownTransformer.js +0 -33
  430. package/dist/features/blockquote/markdownTransformer.js.map +0 -1
  431. package/dist/features/experimental_table/client/index.d.ts.map +0 -1
  432. package/dist/features/experimental_table/client/index.js.map +0 -1
  433. package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.d.ts.map +0 -1
  434. package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.js.map +0 -1
  435. package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.d.ts.map +0 -1
  436. package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.js.map +0 -1
  437. package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.d.ts.map +0 -1
  438. package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.js.map +0 -1
  439. package/dist/features/experimental_table/client/plugins/TablePlugin/TableGridPopup/index.d.ts.map +0 -1
  440. package/dist/features/experimental_table/client/plugins/TablePlugin/TableGridPopup/index.js.map +0 -1
  441. package/dist/features/experimental_table/client/plugins/TablePlugin/index.d.ts.map +0 -1
  442. package/dist/features/experimental_table/client/plugins/TablePlugin/index.js.map +0 -1
  443. package/dist/features/experimental_table/client/utils/debounce.d.ts.map +0 -1
  444. package/dist/features/experimental_table/client/utils/debounce.js.map +0 -1
  445. package/dist/features/experimental_table/client/utils/useDebounce.d.ts.map +0 -1
  446. package/dist/features/experimental_table/client/utils/useDebounce.js.map +0 -1
  447. package/dist/features/experimental_table/markdownTransformer.d.ts +0 -5
  448. package/dist/features/experimental_table/markdownTransformer.d.ts.map +0 -1
  449. package/dist/features/experimental_table/markdownTransformer.js.map +0 -1
  450. package/dist/features/experimental_table/server/index.d.ts +0 -3
  451. package/dist/features/experimental_table/server/index.d.ts.map +0 -1
  452. package/dist/features/experimental_table/server/index.js.map +0 -1
  453. package/dist/features/experimental_table/server/schema.d.ts.map +0 -1
  454. package/dist/features/experimental_table/server/schema.js.map +0 -1
  455. package/dist/features/format/bold/markdownTransformers.d.ts +0 -6
  456. package/dist/features/format/bold/markdownTransformers.d.ts.map +0 -1
  457. package/dist/features/format/bold/markdownTransformers.js +0 -23
  458. package/dist/features/format/bold/markdownTransformers.js.map +0 -1
  459. package/dist/features/format/inlineCode/markdownTransformers.d.ts +0 -3
  460. package/dist/features/format/inlineCode/markdownTransformers.d.ts.map +0 -1
  461. package/dist/features/format/inlineCode/markdownTransformers.js +0 -6
  462. package/dist/features/format/inlineCode/markdownTransformers.js.map +0 -1
  463. package/dist/features/format/italic/markdownTransformers.d.ts +0 -4
  464. package/dist/features/format/italic/markdownTransformers.d.ts.map +0 -1
  465. package/dist/features/format/italic/markdownTransformers.js +0 -12
  466. package/dist/features/format/italic/markdownTransformers.js.map +0 -1
  467. package/dist/features/format/strikethrough/markdownTransformers.d.ts +0 -3
  468. package/dist/features/format/strikethrough/markdownTransformers.d.ts.map +0 -1
  469. package/dist/features/format/strikethrough/markdownTransformers.js +0 -6
  470. package/dist/features/format/strikethrough/markdownTransformers.js.map +0 -1
  471. package/dist/features/lists/checklist/markdownTransformers.d.ts +0 -3
  472. package/dist/features/lists/checklist/markdownTransformers.d.ts.map +0 -1
  473. package/dist/features/lists/checklist/markdownTransformers.js +0 -12
  474. package/dist/features/lists/checklist/markdownTransformers.js.map +0 -1
  475. package/dist/features/lists/orderedList/markdownTransformer.d.ts +0 -3
  476. package/dist/features/lists/orderedList/markdownTransformer.d.ts.map +0 -1
  477. package/dist/features/lists/orderedList/markdownTransformer.js +0 -12
  478. package/dist/features/lists/orderedList/markdownTransformer.js.map +0 -1
  479. package/dist/features/lists/shared/markdown.d.ts +0 -6
  480. package/dist/features/lists/shared/markdown.d.ts.map +0 -1
  481. package/dist/features/lists/shared/markdown.js +0 -57
  482. package/dist/features/lists/shared/markdown.js.map +0 -1
  483. package/dist/features/lists/unorderedList/markdownTransformer.d.ts +0 -3
  484. package/dist/features/lists/unorderedList/markdownTransformer.d.ts.map +0 -1
  485. package/dist/features/lists/unorderedList/markdownTransformer.js +0 -12
  486. package/dist/features/lists/unorderedList/markdownTransformer.js.map +0 -1
  487. package/dist/lexical/utils/guard.d.ts +0 -5
  488. package/dist/lexical/utils/guard.d.ts.map +0 -1
  489. package/dist/lexical/utils/guard.js +0 -9
  490. package/dist/lexical/utils/guard.js.map +0 -1
  491. package/dist/lexical-proxy/@lexical-react/LexicalContextMenuPlugin.d.ts +0 -2
  492. package/dist/lexical-proxy/@lexical-react/LexicalContextMenuPlugin.d.ts.map +0 -1
  493. package/dist/lexical-proxy/@lexical-react/LexicalContextMenuPlugin.js +0 -2
  494. package/dist/lexical-proxy/@lexical-react/LexicalContextMenuPlugin.js.map +0 -1
  495. package/dist/packages/@lexical/markdown/MarkdownExport.d.ts +0 -14
  496. package/dist/packages/@lexical/markdown/MarkdownExport.d.ts.map +0 -1
  497. package/dist/packages/@lexical/markdown/MarkdownExport.js +0 -213
  498. package/dist/packages/@lexical/markdown/MarkdownExport.js.map +0 -1
  499. package/dist/packages/@lexical/markdown/MarkdownImport.d.ts +0 -19
  500. package/dist/packages/@lexical/markdown/MarkdownImport.d.ts.map +0 -1
  501. package/dist/packages/@lexical/markdown/MarkdownImport.js +0 -198
  502. package/dist/packages/@lexical/markdown/MarkdownImport.js.map +0 -1
  503. package/dist/packages/@lexical/markdown/MarkdownShortcuts.d.ts +0 -11
  504. package/dist/packages/@lexical/markdown/MarkdownShortcuts.d.ts.map +0 -1
  505. package/dist/packages/@lexical/markdown/MarkdownShortcuts.js +0 -304
  506. package/dist/packages/@lexical/markdown/MarkdownShortcuts.js.map +0 -1
  507. package/dist/packages/@lexical/markdown/MarkdownTransformers.d.ts +0 -147
  508. package/dist/packages/@lexical/markdown/MarkdownTransformers.d.ts.map +0 -1
  509. package/dist/packages/@lexical/markdown/MarkdownTransformers.js +0 -268
  510. package/dist/packages/@lexical/markdown/MarkdownTransformers.js.map +0 -1
  511. package/dist/packages/@lexical/markdown/importTextFormatTransformer.d.ts +0 -22
  512. package/dist/packages/@lexical/markdown/importTextFormatTransformer.d.ts.map +0 -1
  513. package/dist/packages/@lexical/markdown/importTextFormatTransformer.js +0 -91
  514. package/dist/packages/@lexical/markdown/importTextFormatTransformer.js.map +0 -1
  515. package/dist/packages/@lexical/markdown/importTextMatchTransformer.d.ts +0 -21
  516. package/dist/packages/@lexical/markdown/importTextMatchTransformer.d.ts.map +0 -1
  517. package/dist/packages/@lexical/markdown/importTextMatchTransformer.js +0 -54
  518. package/dist/packages/@lexical/markdown/importTextMatchTransformer.js.map +0 -1
  519. package/dist/packages/@lexical/markdown/importTextTransformers.d.ts +0 -18
  520. package/dist/packages/@lexical/markdown/importTextTransformers.d.ts.map +0 -1
  521. package/dist/packages/@lexical/markdown/importTextTransformers.js +0 -54
  522. package/dist/packages/@lexical/markdown/importTextTransformers.js.map +0 -1
  523. package/dist/packages/@lexical/markdown/index.d.ts +0 -29
  524. package/dist/packages/@lexical/markdown/index.d.ts.map +0 -1
  525. package/dist/packages/@lexical/markdown/index.js +0 -39
  526. package/dist/packages/@lexical/markdown/index.js.map +0 -1
  527. package/dist/packages/@lexical/markdown/utils.d.ts +0 -34
  528. package/dist/packages/@lexical/markdown/utils.d.ts.map +0 -1
  529. package/dist/packages/@lexical/markdown/utils.js +0 -267
  530. package/dist/packages/@lexical/markdown/utils.js.map +0 -1
  531. /package/dist/exports/client/{componentInline-DV4EGOWU.js.map → componentInline-H24N7GUG.js.map} +0 -0
  532. /package/dist/features/{experimental_table → table}/client/index.d.ts +0 -0
  533. /package/dist/features/{experimental_table → table}/client/plugins/TableActionMenuPlugin/index.css +0 -0
  534. /package/dist/features/{experimental_table → table}/client/plugins/TableActionMenuPlugin/index.d.ts +0 -0
  535. /package/dist/features/{experimental_table → table}/client/plugins/TableActionMenuPlugin/index.js +0 -0
  536. /package/dist/features/{experimental_table → table}/client/plugins/TableCellResizerPlugin/index.css +0 -0
  537. /package/dist/features/{experimental_table → table}/client/plugins/TableCellResizerPlugin/index.d.ts +0 -0
  538. /package/dist/features/{experimental_table → table}/client/plugins/TableCellResizerPlugin/index.js +0 -0
  539. /package/dist/features/{experimental_table → table}/client/plugins/TableHoverActionsPlugin/index.d.ts +0 -0
  540. /package/dist/features/{experimental_table → table}/client/plugins/TableHoverActionsPlugin/index.js +0 -0
  541. /package/dist/features/{experimental_table → table}/client/plugins/TablePlugin/TableGridPopup/index.css +0 -0
  542. /package/dist/features/{experimental_table → table}/client/plugins/TablePlugin/TableGridPopup/index.d.ts +0 -0
  543. /package/dist/features/{experimental_table → table}/client/plugins/TablePlugin/TableGridPopup/index.js +0 -0
  544. /package/dist/features/{experimental_table → table}/client/plugins/TablePlugin/index.css +0 -0
  545. /package/dist/features/{experimental_table → table}/client/plugins/TablePlugin/index.d.ts +0 -0
  546. /package/dist/features/{experimental_table → table}/client/plugins/TablePlugin/index.js +0 -0
  547. /package/dist/features/{experimental_table → table}/client/utils/debounce.d.ts +0 -0
  548. /package/dist/features/{experimental_table → table}/client/utils/debounce.js +0 -0
  549. /package/dist/features/{experimental_table → table}/client/utils/useDebounce.d.ts +0 -0
  550. /package/dist/features/{experimental_table → table}/client/utils/useDebounce.js +0 -0
  551. /package/dist/features/{experimental_table → table}/server/schema.d.ts +0 -0
  552. /package/dist/features/{experimental_table → table}/server/schema.js +0 -0
@@ -7,7 +7,7 @@
7
7
  }
8
8
 
9
9
  & > .field-error.tooltip {
10
- right: auto;
10
+ inset-inline-end: auto;
11
11
  position: static;
12
12
  margin-bottom: 0.2em;
13
13
  max-width: fit-content;
@@ -27,7 +27,7 @@
27
27
  gap: var(--spacer-2);
28
28
 
29
29
  label.field-label:not(.unstyled) {
30
- margin-right: unset;
30
+ margin-inline-end: unset;
31
31
  padding-bottom: unset;
32
32
  }
33
33
  }
@@ -35,10 +35,9 @@
35
35
  .rich-text-lexical__wrap {
36
36
  width: 100%;
37
37
  position: relative;
38
-
39
- > .field-description {
40
- margin-top: var(--spacer-2);
41
- }
38
+ display: flex;
39
+ flex-direction: column;
40
+ gap: var(--spacer-2);
42
41
  }
43
42
 
44
43
  .rich-text-lexical--read-only {
@@ -51,9 +50,6 @@
51
50
  to {
52
51
  background-color: var(--color-bg-hover);
53
52
  }
54
- to {
55
- background-color: var(--color-bg-hover);
56
- }
57
53
  }
58
54
 
59
55
  animation: fadeInBackground 0.5s ease forwards;
@@ -82,7 +82,7 @@ export const RichTextFieldImpl = props => {
82
82
  const filteredClientFeatures = currentViewConfig?.filterFeatures ? currentViewConfig.filterFeatures(clientFeatures) : clientFeatures;
83
83
  const featureProvidersLocal = [];
84
84
  for (const clientFeature of Object.values(filteredClientFeatures)) {
85
- if (!clientFeature.clientFeatureProvider) {
85
+ if (!clientFeature.clientFeatureProvider || !clientFeature.clientFeatureProps) {
86
86
  continue;
87
87
  }
88
88
  featureProvidersLocal.push(clientFeature.clientFeatureProvider(clientFeature.clientFeatureProps));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["c","_c","ShimmerEffect","useConfig","React","lazy","Suspense","useEffect","useState","defaultEditorLexicalConfig","loadClientFeatures","sanitizeClientEditorConfig","RichTextViewProvider","useRichTextView","RichTextEditor","then","module","default","RichText","RichTextField","props","_jsx","inheritable","views","RichTextFieldImpl","$","admin","t0","clientFeatures","featureClientImportMap","t1","featureClientSchemaMap","field","lexicalEditorConfig","t2","schemaPath","t3","undefined","_admin","t4","_lexicalEditorConfig","currentView","currentViewAdminConfig","viewLexical","lexical","t5","currentViewLexicalEditorConfig","config","finalSanitizedEditorConfig","setFinalSanitizedEditorConfig","t6","t7","view","currentViewConfig","filteredClientFeatures","filterFeatures","featureProvidersLocal","clientFeature","Object","values","clientFeatureProvider","push","clientFeatureProps","resolvedClientFeatures","name","unSanitizedEditorConfig","features","t8","fallback","height","_createElement","editorConfig","key"],"sources":["../../src/field/index.tsx"],"sourcesContent":["'use client'\n\nimport type { EditorConfig as LexicalEditorConfig } from 'lexical'\nimport type { RichTextFieldClient } from 'payload'\n\nimport { ShimmerEffect, useConfig } from '@payloadcms/ui'\nimport React, { lazy, Suspense, useEffect, useState } from 'react'\n\nimport type { FeatureProviderClient } from '../features/typesClient.js'\nimport type { SanitizedClientEditorConfig } from '../lexical/config/types.js'\nimport type { LexicalFieldAdminClientProps, LexicalRichTextFieldProps } from '../types/index.js'\n\nimport { defaultEditorLexicalConfig } from '../lexical/config/client/default.js'\nimport { loadClientFeatures } from '../lexical/config/client/loader.js'\nimport { sanitizeClientEditorConfig } from '../lexical/config/client/sanitize.js'\nimport { RichTextViewProvider, useRichTextView } from './RichTextViewProvider.js'\n\nconst RichTextEditor = lazy(() =>\n import('./Field.js').then((module) => ({ default: module.RichText })),\n)\n\nexport const RichTextField: React.FC<LexicalRichTextFieldProps> = (props) => {\n return (\n <RichTextViewProvider inheritable={true} views={props.views}>\n <RichTextFieldImpl {...props} />\n </RichTextViewProvider>\n )\n}\n\nexport const RichTextFieldImpl: React.FC<LexicalRichTextFieldProps> = (props) => {\n const {\n admin: _admin = {},\n clientFeatures,\n featureClientImportMap = {},\n featureClientSchemaMap,\n field,\n lexicalEditorConfig: _lexicalEditorConfig = defaultEditorLexicalConfig,\n schemaPath,\n views,\n } = props\n const { currentView } = useRichTextView()\n const currentViewAdminConfig: LexicalFieldAdminClientProps = views?.[currentView]?.admin ?? _admin\n const viewLexical = views?.[currentView]?.lexical\n // Resolve function form of lexical config if provided\n const currentViewLexicalEditorConfig: LexicalEditorConfig =\n typeof viewLexical === 'function'\n ? viewLexical(_lexicalEditorConfig)\n : (viewLexical ?? _lexicalEditorConfig)\n\n const { config } = useConfig()\n\n const [finalSanitizedEditorConfig, setFinalSanitizedEditorConfig] =\n useState<null | SanitizedClientEditorConfig>(null)\n\n useEffect(() => {\n if (finalSanitizedEditorConfig && finalSanitizedEditorConfig.view === currentView) {\n return\n }\n\n const currentViewConfig = views?.[currentView]\n const filteredClientFeatures = currentViewConfig?.filterFeatures\n ? currentViewConfig.filterFeatures(clientFeatures)\n : clientFeatures\n\n const featureProvidersLocal: FeatureProviderClient<any, any>[] = []\n for (const clientFeature of Object.values(filteredClientFeatures)) {\n if (!clientFeature.clientFeatureProvider) {\n continue\n }\n featureProvidersLocal.push(\n clientFeature.clientFeatureProvider(clientFeature.clientFeatureProps),\n ) // Execute the clientFeatureProvider function here, as the server cannot execute functions imported from use client files\n }\n\n const resolvedClientFeatures = loadClientFeatures({\n config,\n featureClientImportMap,\n featureClientSchemaMap,\n field: field as RichTextFieldClient,\n schemaPath: schemaPath ?? field.name,\n unSanitizedEditorConfig: {\n features: featureProvidersLocal,\n lexical: currentViewLexicalEditorConfig,\n },\n })\n\n setFinalSanitizedEditorConfig(\n sanitizeClientEditorConfig(\n resolvedClientFeatures,\n currentViewLexicalEditorConfig,\n currentViewAdminConfig,\n currentView,\n ),\n )\n }, [\n currentViewAdminConfig,\n clientFeatures,\n config,\n featureClientImportMap,\n featureClientSchemaMap,\n field,\n finalSanitizedEditorConfig,\n currentViewLexicalEditorConfig,\n schemaPath,\n currentView,\n views,\n ]) // TODO: Optimize this and use useMemo for this in the future. This might break sub-richtext-blocks from the blocks feature. Need to investigate\n\n return (\n <Suspense fallback={<ShimmerEffect height=\"35vh\" />}>\n {finalSanitizedEditorConfig && (\n <RichTextEditor\n {...props}\n editorConfig={finalSanitizedEditorConfig}\n key={finalSanitizedEditorConfig.view}\n />\n )}\n </Suspense>\n )\n}\n"],"mappings":"AAAA;;AAAA,SAAAA,CAAA,IAAAC,EAAA;;;AAKA,SAASC,aAAa,EAAEC,SAAS,QAAQ;AACzC,OAAOC,KAAA,IAASC,IAAI,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,QAAQ,QAAQ;AAM3D,SAASC,0BAA0B,QAAQ;AAC3C,SAASC,kBAAkB,QAAQ;AACnC,SAASC,0BAA0B,QAAQ;AAC3C,SAASC,oBAAoB,EAAEC,eAAe,QAAQ;AAEtD,MAAMC,cAAA,gBAAiBT,IAAA,CAAK,MAC1B,MAAM,CAAC,cAAcU,IAAI,CAAEC,MAAA,KAAY;EAAEC,OAAA,EAASD,MAAA,CAAOE;AAAS;AAGpE,OAAO,MAAMC,aAAA,GAAsDC,KAAA;EACjE,oBACEC,IAAA,CAACT,oBAAA;IAAqBU,WAAA,EAAa;IAAMC,KAAA,EAAOH,KAAA,CAAMG,KAAK;cACzD,aAAAF,IAAA,CAACG,iBAAA;MAAmB,GAAGJ;;;AAG7B;AAEA,OAAO,MAAMI,iBAAA,GAAyDJ,KAAA;EAAA,MAAAK,CAAA,GAAAxB,EAAA;EACpE;IAAAyB,KAAA,EAAAC,EAAA;IAAAC,cAAA;IAAAC,sBAAA,EAAAC,EAAA;IAAAC,sBAAA;IAAAC,KAAA;IAAAC,mBAAA,EAAAC,EAAA;IAAAC,UAAA;IAAAZ;EAAA,IASIH,KAAA;EAAA,IAAAgB,EAAA;EAAA,IAAAX,CAAA,QAAAE,EAAA;IARKS,EAAA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AtB,CAAA,MAAAgB,WAAA;IAAAhB,CAAA,OAAAiB,sBAAA;IAAAjB,CAAA,OAAAqB,8BAAA;IAAArB,CAAA,OAAAI,sBAAA;IAAAJ,CAAA,OAAAM,sBAAA;IAAAN,CAAA,OAAAO,KAAA;IAAAP,CAAA,OAAAuB,0BAAA;IAAAvB,CAAA,OAAAU,UAAA;IAAAV,CAAA,OAAAF,KAAA;IAAAE,CAAA,OAAAyB,EAAA;IAAAzB,CAAA,OAAA0B,EAAA;EAAA;IAAAD,EAAA,GAAAzB,CAAA;IAAA0B,EAAA,GAAA1B,CAAA;EAAA;EApDDlB,SAAA,CAAU2C,EAwCV,EAAGC,EAYF;EAAA,IAAAgB,EAAA;EAAA,IAAA1C,CAAA,SAAAuB,0BAAA,IAAAvB,CAAA,SAAAL,KAAA;IAGC+C,EAAA,GAAA9C,IAAA,CAAAf,QAAA;MAAA8D,QAAA,EAAoB/C,IAAA,CAAAnB,aAAA;QAAAmE,MAAA,EAAsB;MAAA,C;gBACvCrB,0BAAA,IACCsB,cAAA,CAAAxD,cAAA;QAAA,GACMM,KAAK;QAAAmD,YAAA,EACKvB,0BAAA;QAAAwB,GAAA,EACTxB,0BAAA,CAAAI;MAAA,C;;;;;;;;SALXe,E;CAUJ","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["c","_c","ShimmerEffect","useConfig","React","lazy","Suspense","useEffect","useState","defaultEditorLexicalConfig","loadClientFeatures","sanitizeClientEditorConfig","RichTextViewProvider","useRichTextView","RichTextEditor","then","module","default","RichText","RichTextField","props","_jsx","inheritable","views","RichTextFieldImpl","$","admin","t0","clientFeatures","featureClientImportMap","t1","featureClientSchemaMap","field","lexicalEditorConfig","t2","schemaPath","t3","undefined","_admin","t4","_lexicalEditorConfig","currentView","currentViewAdminConfig","viewLexical","lexical","t5","currentViewLexicalEditorConfig","config","finalSanitizedEditorConfig","setFinalSanitizedEditorConfig","t6","t7","view","currentViewConfig","filteredClientFeatures","filterFeatures","featureProvidersLocal","clientFeature","Object","values","clientFeatureProvider","clientFeatureProps","push","resolvedClientFeatures","name","unSanitizedEditorConfig","features","t8","fallback","height","_createElement","editorConfig","key"],"sources":["../../src/field/index.tsx"],"sourcesContent":["'use client'\n\nimport type { EditorConfig as LexicalEditorConfig } from 'lexical'\nimport type { RichTextFieldClient } from 'payload'\n\nimport { ShimmerEffect, useConfig } from '@payloadcms/ui'\nimport React, { lazy, Suspense, useEffect, useState } from 'react'\n\nimport type { FeatureProviderClient } from '../features/typesClient.js'\nimport type { SanitizedClientEditorConfig } from '../lexical/config/types.js'\nimport type { LexicalFieldAdminClientProps, LexicalRichTextFieldProps } from '../types/index.js'\n\nimport { defaultEditorLexicalConfig } from '../lexical/config/client/default.js'\nimport { loadClientFeatures } from '../lexical/config/client/loader.js'\nimport { sanitizeClientEditorConfig } from '../lexical/config/client/sanitize.js'\nimport { RichTextViewProvider, useRichTextView } from './RichTextViewProvider.js'\n\nconst RichTextEditor = lazy(() =>\n import('./Field.js').then((module) => ({ default: module.RichText })),\n)\n\nexport const RichTextField: React.FC<LexicalRichTextFieldProps> = (props) => {\n return (\n <RichTextViewProvider inheritable={true} views={props.views}>\n <RichTextFieldImpl {...props} />\n </RichTextViewProvider>\n )\n}\n\nexport const RichTextFieldImpl: React.FC<LexicalRichTextFieldProps> = (props) => {\n const {\n admin: _admin = {},\n clientFeatures,\n featureClientImportMap = {},\n featureClientSchemaMap,\n field,\n lexicalEditorConfig: _lexicalEditorConfig = defaultEditorLexicalConfig,\n schemaPath,\n views,\n } = props\n const { currentView } = useRichTextView()\n const currentViewAdminConfig: LexicalFieldAdminClientProps = views?.[currentView]?.admin ?? _admin\n const viewLexical = views?.[currentView]?.lexical\n // Resolve function form of lexical config if provided\n const currentViewLexicalEditorConfig: LexicalEditorConfig =\n typeof viewLexical === 'function'\n ? viewLexical(_lexicalEditorConfig)\n : (viewLexical ?? _lexicalEditorConfig)\n\n const { config } = useConfig()\n\n const [finalSanitizedEditorConfig, setFinalSanitizedEditorConfig] =\n useState<null | SanitizedClientEditorConfig>(null)\n\n useEffect(() => {\n if (finalSanitizedEditorConfig && finalSanitizedEditorConfig.view === currentView) {\n return\n }\n\n const currentViewConfig = views?.[currentView]\n const filteredClientFeatures = currentViewConfig?.filterFeatures\n ? currentViewConfig.filterFeatures(clientFeatures)\n : clientFeatures\n\n const featureProvidersLocal: FeatureProviderClient<any, any>[] = []\n for (const clientFeature of Object.values(filteredClientFeatures)) {\n if (!clientFeature.clientFeatureProvider || !clientFeature.clientFeatureProps) {\n continue\n }\n featureProvidersLocal.push(\n clientFeature.clientFeatureProvider(clientFeature.clientFeatureProps),\n )\n }\n\n const resolvedClientFeatures = loadClientFeatures({\n config,\n featureClientImportMap,\n featureClientSchemaMap,\n field: field as RichTextFieldClient,\n schemaPath: schemaPath ?? field.name,\n unSanitizedEditorConfig: {\n features: featureProvidersLocal,\n lexical: currentViewLexicalEditorConfig,\n },\n })\n\n setFinalSanitizedEditorConfig(\n sanitizeClientEditorConfig(\n resolvedClientFeatures,\n currentViewLexicalEditorConfig,\n currentViewAdminConfig,\n currentView,\n ),\n )\n }, [\n currentViewAdminConfig,\n clientFeatures,\n config,\n featureClientImportMap,\n featureClientSchemaMap,\n field,\n finalSanitizedEditorConfig,\n currentViewLexicalEditorConfig,\n schemaPath,\n currentView,\n views,\n ]) // TODO: Optimize this and use useMemo for this in the future. This might break sub-richtext-blocks from the blocks feature. Need to investigate\n\n return (\n <Suspense fallback={<ShimmerEffect height=\"35vh\" />}>\n {finalSanitizedEditorConfig && (\n <RichTextEditor\n {...props}\n editorConfig={finalSanitizedEditorConfig}\n key={finalSanitizedEditorConfig.view}\n />\n )}\n </Suspense>\n )\n}\n"],"mappings":"AAAA;;AAAA,SAAAA,CAAA,IAAAC,EAAA;;;AAKA,SAASC,aAAa,EAAEC,SAAS,QAAQ;AACzC,OAAOC,KAAA,IAASC,IAAI,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,QAAQ,QAAQ;AAM3D,SAASC,0B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,CAAA,SAAAuB,0BAAA,IAAAvB,CAAA,SAAAL,KAAA;IAGC+C,EAAA,GAAA9C,IAAA,CAAAf,QAAA;MAAA8D,QAAA,EAAoB/C,IAAA,CAAAnB,aAAA;QAAAmE,MAAA,EAAsB;MAAA,C;gBACvCrB,0BAAA,IACCsB,cAAA,CAAAxD,cAAA;QAAA,GACMM,KAAK;QAAAmD,YAAA,EACKvB,0BAAA;QAAAwB,GAAA,EACTxB,0BAAA,CAAAI;MAAA,C;;;;;;;;SALXe,E;CAUJ","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"rscEntry.d.ts","sourceRoot":"","sources":["../../src/field/rscEntry.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,oBAAoB,EACpB,UAAU,EAGV,oBAAoB,EACrB,MAAM,SAAS,CAAA;AAKhB,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAA;AAC7E,OAAO,KAAK,EACV,kBAAkB,EAInB,MAAM,mBAAmB,CAAA;AAO1B,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CACzC;IACE,qBAAqB,EAAE,2BAA2B,CAAA;CACnD,GAAG,oBAAoB,GACtB,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,GACxB,IAAI,CAAC,kBAAkB,EAAE,OAAO,GAAG,OAAO,CAAC,GAC3C,oBAAoB,CAyGvB,CAAA"}
1
+ {"version":3,"file":"rscEntry.d.ts","sourceRoot":"","sources":["../../src/field/rscEntry.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,oBAAoB,EACpB,UAAU,EAGV,oBAAoB,EACrB,MAAM,SAAS,CAAA;AAMhB,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAA;AAC7E,OAAO,KAAK,EACV,kBAAkB,EAInB,MAAM,mBAAmB,CAAA;AAO1B,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CACzC;IACE,qBAAqB,EAAE,2BAA2B,CAAA;CACnD,GAAG,oBAAoB,GACtB,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,GACxB,IAAI,CAAC,kBAAkB,EAAE,OAAO,GAAG,OAAO,CAAC,GAC3C,oBAAoB,CA0GvB,CAAA"}
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { getTranslation } from '@payloadcms/translations';
3
+ import { RenderServerComponent } from '@payloadcms/ui/elements/RenderServerComponent';
3
4
  import { renderField } from '@payloadcms/ui/forms/renderField';
4
5
  import { getFromImportMap } from 'payload/shared';
5
6
  import React from 'react';
@@ -43,6 +44,7 @@ export const RscEntryLexicalField = async args => {
43
44
  operation: args.operation,
44
45
  permissions: args.permissions,
45
46
  preferences: args.preferences,
47
+ renderComponent: args.renderComponent || RenderServerComponent,
46
48
  renderFieldFn: renderField,
47
49
  req: args.req
48
50
  },
@@ -1 +1 @@
1
- {"version":3,"file":"rscEntry.js","names":["getTranslation","renderField","getFromImportMap","React","RichTextField","buildInitialState","initLexicalFeatures","RscEntryLexicalField","args","field","path","clientField","name","schemaPath","disabled","readOnly","admin","Error","clientFeatures","featureClientImportMap","featureClientSchemaMap","clientFieldSchemaMap","fieldSchemaMap","i18n","payload","sanitizedEditorConfig","initialLexicalFormState","siblingData","root","children","length","context","id","collectionSlug","documentData","data","lexicalFieldSchemaPath","operation","permissions","preferences","renderFieldFn","req","nodeData","placeholderFromArgs","placeholder","undefined","hideGutter","hideInsertParagraphAtEnd","hideAddBlockButton","hideDraggableBlockElement","props","forceRender","lexicalEditorConfig","lexical","renderedBlocks","views","viewMap","importMap","PayloadComponent","silent","Object","keys","key","_jsx"],"sources":["../../src/field/rscEntry.tsx"],"sourcesContent":["import type { SerializedLexicalNode } from 'lexical'\nimport type {\n ClientComponentProps,\n FieldPaths,\n RichTextFieldClient,\n RichTextField as RichTextFieldType,\n ServerComponentProps,\n} from 'payload'\n\nimport { getTranslation } from '@payloadcms/translations'\nimport { renderField } from '@payloadcms/ui/forms/renderField'\nimport { getFromImportMap } from 'payload/shared'\nimport React from 'react'\n\nimport type { SanitizedServerEditorConfig } from '../lexical/config/types.js'\nimport type {\n LexicalEditorProps,\n LexicalEditorViewMap,\n LexicalFieldAdminClientProps,\n LexicalRichTextFieldProps,\n} from '../types/index.js'\n\n// eslint-disable-next-line payload/no-imports-from-exports-dir\nimport { RichTextField } from '../exports/client/index.js'\nimport { buildInitialState } from '../utilities/buildInitialState.js'\nimport { initLexicalFeatures } from '../utilities/initLexicalFeatures.js'\n\nexport const RscEntryLexicalField: React.FC<\n {\n sanitizedEditorConfig: SanitizedServerEditorConfig\n } & ClientComponentProps &\n Pick<FieldPaths, 'path'> &\n Pick<LexicalEditorProps, 'admin' | 'views'> &\n ServerComponentProps\n> = async (args) => {\n const field: RichTextFieldType = args.field as RichTextFieldType\n const path = args.path ?? (args.clientField as RichTextFieldClient).name\n const schemaPath = args.schemaPath ?? path\n\n const disabled = args?.readOnly || field?.admin?.readOnly\n\n if (!(args?.clientField as RichTextFieldClient)?.name) {\n throw new Error('Initialized lexical RSC field without a field name')\n }\n\n const { clientFeatures, featureClientImportMap, featureClientSchemaMap } = initLexicalFeatures({\n clientFieldSchemaMap: args.clientFieldSchemaMap,\n fieldSchemaMap: args.fieldSchemaMap,\n i18n: args.i18n,\n path,\n payload: args.payload,\n sanitizedEditorConfig: args.sanitizedEditorConfig,\n schemaPath,\n })\n\n let initialLexicalFormState = {}\n if (args.siblingData?.[field.name]?.root?.children?.length) {\n initialLexicalFormState = await buildInitialState({\n context: {\n id: args.id,\n clientFieldSchemaMap: args.clientFieldSchemaMap,\n collectionSlug: args.collectionSlug,\n disabled,\n documentData: args.data,\n field,\n fieldSchemaMap: args.fieldSchemaMap,\n lexicalFieldSchemaPath: schemaPath,\n operation: args.operation,\n permissions: args.permissions,\n preferences: args.preferences,\n renderFieldFn: renderField,\n req: args.req,\n },\n nodeData: args.siblingData?.[field.name]?.root?.children as SerializedLexicalNode[],\n })\n }\n\n const placeholderFromArgs = args.admin?.placeholder\n const placeholder = placeholderFromArgs\n ? getTranslation(placeholderFromArgs, args.i18n)\n : undefined\n\n const admin: LexicalFieldAdminClientProps = {}\n if (placeholder) {\n admin.placeholder = placeholder\n }\n if (args.admin?.hideGutter) {\n admin.hideGutter = true\n }\n if (args.admin?.hideInsertParagraphAtEnd) {\n admin.hideInsertParagraphAtEnd = true\n }\n if (args.admin?.hideAddBlockButton) {\n admin.hideAddBlockButton = true\n }\n if (args.admin?.hideDraggableBlockElement) {\n admin.hideDraggableBlockElement = true\n }\n\n const props: LexicalRichTextFieldProps = {\n clientFeatures,\n featureClientSchemaMap, // TODO: Does client need this? Why cant this just live in the server\n field: args.clientField as RichTextFieldClient,\n forceRender: args.forceRender,\n initialLexicalFormState,\n lexicalEditorConfig: args.sanitizedEditorConfig.lexical,\n path,\n permissions: args.permissions,\n readOnly: args.readOnly,\n renderedBlocks: args.renderedBlocks,\n schemaPath,\n }\n if (args?.views) {\n const viewMap = getFromImportMap<LexicalEditorViewMap>({\n importMap: args.payload.importMap,\n PayloadComponent: args.views,\n schemaPath: 'lexical-viewMap',\n silent: true,\n })\n if (viewMap) {\n props.views = viewMap\n }\n }\n\n if (Object.keys(admin).length) {\n props.admin = admin\n }\n if (Object.keys(featureClientImportMap).length) {\n props.featureClientImportMap = featureClientImportMap\n }\n\n for (const key in props) {\n if (props[key as keyof LexicalRichTextFieldProps] === undefined) {\n delete props[key as keyof LexicalRichTextFieldProps]\n }\n }\n\n return <RichTextField {...props} />\n}\n"],"mappings":";AASA,SAASA,cAAc,QAAQ;AAC/B,SAASC,WAAW,QAAQ;AAC5B,SAASC,gBAAgB,QAAQ;AACjC,OAAOC,KAAA,MAAW;AAUlB;AACA,SAASC,aAAa,QAAQ;AAC9B,SAASC,iBAAiB,QAAQ;AAClC,SAASC,mBAAmB,QAAQ;AAEpC,OA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CAAK8B,WAAW;IAC7BvB,QAAA,EAAUP,IAAA,CAAKO,QAAQ;IACvBuC,cAAA,EAAgB9C,IAAA,CAAK8C,cAAc;IACnCzC;EACF;EACA,IAAIL,IAAA,EAAM+C,KAAA,EAAO;IACf,MAAMC,OAAA,GAAUtD,gBAAA,CAAuC;MACrDuD,SAAA,EAAWjD,IAAA,CAAKgB,OAAO,CAACiC,SAAS;MACjCC,gBAAA,EAAkBlD,IAAA,CAAK+C,KAAK;MAC5B1C,UAAA,EAAY;MACZ8C,MAAA,EAAQ;IACV;IACA,IAAIH,OAAA,EAAS;MACXN,KAAA,CAAMK,KAAK,GAAGC,OAAA;IAChB;EACF;EAEA,IAAII,MAAA,CAAOC,IAAI,CAAC7C,KAAA,EAAOc,MAAM,EAAE;IAC7BoB,KAAA,CAAMlC,KAAK,GAAGA,KAAA;EAChB;EACA,IAAI4C,MAAA,CAAOC,IAAI,CAAC1C,sBAAA,EAAwBW,MAAM,EAAE;IAC9CoB,KAAA,CAAM/B,sBAAsB,GAAGA,sBAAA;EACjC;EAEA,KAAK,MAAM2C,GAAA,IAAOZ,KAAA,EAAO;IACvB,IAAIA,KAAK,CAACY,GAAA,CAAuC,KAAKjB,SAAA,EAAW;MAC/D,OAAOK,KAAK,CAACY,GAAA,CAAuC;IACtD;EACF;EAEA,oBAAOC,IAAA,CAAC3D,aAAA;IAAe,GAAG8C;;AAC5B","ignoreList":[]}
1
+ {"version":3,"file":"rscEntry.js","names":["getTranslation","RenderServerComponent","renderField","getFromImportMap","React","RichTextField","buildInitialState","initLexicalFeatures","RscEntryLexicalField","args","field","path","clientField","name","schemaPath","disabled","readOnly","admin","Error","clientFeatures","featureClientImportMap","featureClientSchemaMap","clientFieldSchemaMap","fieldSchemaMap","i18n","payload","sanitizedEditorConfig","initialLexicalFormState","siblingData","root","children","length","context","id","collectionSlug","documentData","data","lexicalFieldSchemaPath","operation","permissions","preferences","renderComponent","renderFieldFn","req","nodeData","placeholderFromArgs","placeholder","undefined","hideGutter","hideInsertParagraphAtEnd","hideAddBlockButton","hideDraggableBlockElement","props","forceRender","lexicalEditorConfig","lexical","renderedBlocks","views","viewMap","importMap","PayloadComponent","silent","Object","keys","key","_jsx"],"sources":["../../src/field/rscEntry.tsx"],"sourcesContent":["import type { SerializedLexicalNode } from 'lexical'\nimport type {\n ClientComponentProps,\n FieldPaths,\n RichTextFieldClient,\n RichTextField as RichTextFieldType,\n ServerComponentProps,\n} from 'payload'\n\nimport { getTranslation } from '@payloadcms/translations'\nimport { RenderServerComponent } from '@payloadcms/ui/elements/RenderServerComponent'\nimport { renderField } from '@payloadcms/ui/forms/renderField'\nimport { getFromImportMap } from 'payload/shared'\nimport React from 'react'\n\nimport type { SanitizedServerEditorConfig } from '../lexical/config/types.js'\nimport type {\n LexicalEditorProps,\n LexicalEditorViewMap,\n LexicalFieldAdminClientProps,\n LexicalRichTextFieldProps,\n} from '../types/index.js'\n\n// eslint-disable-next-line payload/no-imports-from-exports-dir\nimport { RichTextField } from '../exports/client/index.js'\nimport { buildInitialState } from '../utilities/buildInitialState.js'\nimport { initLexicalFeatures } from '../utilities/initLexicalFeatures.js'\n\nexport const RscEntryLexicalField: React.FC<\n {\n sanitizedEditorConfig: SanitizedServerEditorConfig\n } & ClientComponentProps &\n Pick<FieldPaths, 'path'> &\n Pick<LexicalEditorProps, 'admin' | 'views'> &\n ServerComponentProps\n> = async (args) => {\n const field: RichTextFieldType = args.field as RichTextFieldType\n const path = args.path ?? (args.clientField as RichTextFieldClient).name\n const schemaPath = args.schemaPath ?? path\n\n const disabled = args?.readOnly || field?.admin?.readOnly\n\n if (!(args?.clientField as RichTextFieldClient)?.name) {\n throw new Error('Initialized lexical RSC field without a field name')\n }\n\n const { clientFeatures, featureClientImportMap, featureClientSchemaMap } = initLexicalFeatures({\n clientFieldSchemaMap: args.clientFieldSchemaMap,\n fieldSchemaMap: args.fieldSchemaMap,\n i18n: args.i18n,\n path,\n payload: args.payload,\n sanitizedEditorConfig: args.sanitizedEditorConfig,\n schemaPath,\n })\n\n let initialLexicalFormState = {}\n if (args.siblingData?.[field.name]?.root?.children?.length) {\n initialLexicalFormState = await buildInitialState({\n context: {\n id: args.id,\n clientFieldSchemaMap: args.clientFieldSchemaMap,\n collectionSlug: args.collectionSlug,\n disabled,\n documentData: args.data,\n field,\n fieldSchemaMap: args.fieldSchemaMap,\n lexicalFieldSchemaPath: schemaPath,\n operation: args.operation,\n permissions: args.permissions,\n preferences: args.preferences,\n renderComponent: args.renderComponent || RenderServerComponent,\n renderFieldFn: renderField,\n req: args.req,\n },\n nodeData: args.siblingData?.[field.name]?.root?.children as SerializedLexicalNode[],\n })\n }\n\n const placeholderFromArgs = args.admin?.placeholder\n const placeholder = placeholderFromArgs\n ? getTranslation(placeholderFromArgs, args.i18n)\n : undefined\n\n const admin: LexicalFieldAdminClientProps = {}\n if (placeholder) {\n admin.placeholder = placeholder\n }\n if (args.admin?.hideGutter) {\n admin.hideGutter = true\n }\n if (args.admin?.hideInsertParagraphAtEnd) {\n admin.hideInsertParagraphAtEnd = true\n }\n if (args.admin?.hideAddBlockButton) {\n admin.hideAddBlockButton = true\n }\n if (args.admin?.hideDraggableBlockElement) {\n admin.hideDraggableBlockElement = true\n }\n\n const props: LexicalRichTextFieldProps = {\n clientFeatures,\n featureClientSchemaMap, // TODO: Does client need this? Why cant this just live in the server\n field: args.clientField as RichTextFieldClient,\n forceRender: args.forceRender,\n initialLexicalFormState,\n lexicalEditorConfig: args.sanitizedEditorConfig.lexical,\n path,\n permissions: args.permissions,\n readOnly: args.readOnly,\n renderedBlocks: args.renderedBlocks,\n schemaPath,\n }\n if (args?.views) {\n const viewMap = getFromImportMap<LexicalEditorViewMap>({\n importMap: args.payload.importMap,\n PayloadComponent: args.views,\n schemaPath: 'lexical-viewMap',\n silent: true,\n })\n if (viewMap) {\n props.views = viewMap\n }\n }\n\n if (Object.keys(admin).length) {\n props.admin = admin\n }\n if (Object.keys(featureClientImportMap).length) {\n props.featureClientImportMap = featureClientImportMap\n }\n\n for (const key in props) {\n if (props[key as keyof LexicalRichTextFieldProps] === undefined) {\n delete props[key as keyof LexicalRichTextFieldProps]\n }\n }\n\n return <RichTextField {...props} />\n}\n"],"mappings":";AASA,SAASA,cAAc,QAAQ;AAC/B,SAASC,qBAAqB,QAAQ;AACtC,SAASC,WAAW,QAAQ;AAC5B,SAASC,gBAAgB,QAAQ;AACjC,OAAOC,KAAA,MAAW;AAUlB;AACA,SAASC,aAAa,QAAQ;AAC9B,SAASC,iBAAiB,QAAQ;AAClC,SAASC,mBAAmB,QAAQ;AAEpC,OAAO,MAAMC,oBAAA,GAOT,MAAOC,IAAA;EACT,MAAMC,KAAA,GAA2BD,IAAA,CAAKC,KAAK;EAC3C,MAAMC,IAAA,GAAOF,IAAA,CAAKE,IAAI,IAAIF,IAAC,CAAKG,WAAW,CAAyBC,IAAI;EACxE,MAAMC,UAAA,GAAaL,IAAA,CAAKK,UAAU,IAAIH,IAAA;EAEtC,MAAMI,QAAA,GAAWN,IAAA,EAAMO,QAAA,IAAYN,KAAA,EAAOO,KAAA,EAAOD,QAAA;EAEjD,IAAI,CAAEP,IAAA,EAAMG,WAAA,EAAqCC,IAAA,EAAM;IACrD,MAAM,IAAIK,KAAA,CAAM;EAClB;EAEA,MAAM;IAAEC,cAAc;IAAEC,sBAAsB;IAAEC;EAAsB,CAAE,GAAGd,mBAAA,CAAoB;IAC7Fe,oBAAA,EAAsBb,IAAA,CAAKa,oBAAoB;IAC/CC,cAAA,EAAgBd,IAAA,CAAKc,cAAc;IACnCC,IAAA,EAAMf,IAAA,CAAKe,IAAI;IACfb,IAAA;IACAc,OAAA,EAAShB,IAAA,CAAKgB,OAAO;IACrBC,qBAAA,EAAuBjB,IAAA,CAAKiB,qBAAqB;IACjDZ;EACF;EAEA,IAAIa,uBAAA,GAA0B,CAAC;EAC/B,IAAIlB,IAAA,CAAKmB,WAAW,GAAGlB,KAAA,CAAMG,IAAI,CAAC,EAAEgB,IAAA,EAAMC,QAAA,EAAU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A,oBAAOC,IAAA,CAAC5D,aAAA;IAAe,GAAG+C;;AAC5B","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../src/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAEhE,eAAO,MAAM,IAAI,EAAE,OAAO,CAAC,gBAAgB,CAiP1C,CAAA"}
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../src/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAEhE,eAAO,MAAM,IAAI,EAAE,OAAO,CAAC,gBAAgB,CAqT1C,CAAA"}
package/dist/i18n.js CHANGED
@@ -1,239 +1,307 @@
1
1
  export const i18n = {
2
+ id: {
3
+ insertParagraph: 'Sisipkan Paragraf',
4
+ placeholder: "Mulai mengetik, atau tekan '/' untuk perintah...",
5
+ slashMenuBasicGroupLabel: 'Dasar',
6
+ slashMenuListGroupLabel: 'Daftar',
7
+ toolbarItemsActive: '{{count}} aktif'
8
+ },
2
9
  ar: {
10
+ insertParagraph: 'إدراج فقرة',
3
11
  placeholder: "ابدأ بالكتابة، أو اضغط على '/' للأوامر ...",
4
12
  slashMenuBasicGroupLabel: 'أساسي',
5
13
  slashMenuListGroupLabel: 'قوائم',
6
14
  toolbarItemsActive: '{{count}} نشط'
7
15
  },
8
16
  az: {
17
+ insertParagraph: 'Paraqraf əlavə edin',
9
18
  placeholder: "Yazmağa başlayın və ya əmrlər üçün '/' düyməsini basın...",
10
19
  slashMenuBasicGroupLabel: 'Əsas',
11
20
  slashMenuListGroupLabel: 'Siyahılar',
12
21
  toolbarItemsActive: '{{count}} aktiv'
13
22
  },
14
23
  bg: {
24
+ insertParagraph: 'Вмъкнете параграф',
15
25
  placeholder: "Започнете да пишете или натиснете '/' за команди...",
16
26
  slashMenuBasicGroupLabel: 'Основен',
17
27
  slashMenuListGroupLabel: 'Списъци',
18
28
  toolbarItemsActive: '{{count}} активни'
19
29
  },
30
+ 'bn-BD': {
31
+ insertParagraph: 'অনুচ্ছেদ সংযুক্ত করুন',
32
+ placeholder: "টাইপ করা শুরু করুন, অথবা কমান্ডের জন্য '/' চাপুন...",
33
+ slashMenuBasicGroupLabel: 'মৌলিক',
34
+ slashMenuListGroupLabel: 'তালিকা সমূহ',
35
+ toolbarItemsActive: '{{count}} সক্রিয়'
36
+ },
37
+ 'bn-IN': {
38
+ insertParagraph: 'অনুচ্ছেদ সন্নিবেশ করুন',
39
+ placeholder: 'টাইপ করতে শুরু করুন, অথবা কমান্ডের জন্য ‘/’ চাপুন...',
40
+ slashMenuBasicGroupLabel: 'মৌলিক',
41
+ slashMenuListGroupLabel: 'তালিকাসমূহ',
42
+ toolbarItemsActive: '{{count}} সক্রিয়'
43
+ },
20
44
  ca: {
45
+ insertParagraph: 'Insereix paràgraf',
21
46
  placeholder: "Comença a escriure o prem '/' per a comandes...",
22
47
  slashMenuBasicGroupLabel: 'Bàsic',
23
48
  slashMenuListGroupLabel: 'Llistes',
24
49
  toolbarItemsActive: '{{count}} actiu'
25
50
  },
26
51
  cs: {
52
+ insertParagraph: 'Vložit odstavec',
27
53
  placeholder: "Začněte psát nebo stiskněte '/' pro příkazy...",
28
54
  slashMenuBasicGroupLabel: 'Základní',
29
55
  slashMenuListGroupLabel: 'Seznamy',
30
56
  toolbarItemsActive: '{{count}} aktivní'
31
57
  },
32
58
  da: {
59
+ insertParagraph: 'Indsæt afsnit',
33
60
  placeholder: "Begynd at skrive, eller tryk på '/' for kommandoer...",
34
61
  slashMenuBasicGroupLabel: 'Grundlæggende',
35
62
  slashMenuListGroupLabel: 'Lister',
36
63
  toolbarItemsActive: '{{count}} aktive'
37
64
  },
38
65
  de: {
66
+ insertParagraph: 'Absatz einfügen',
39
67
  placeholder: "Beginne zu tippen oder drücke '/' für Befehle...",
40
68
  slashMenuBasicGroupLabel: 'Basis',
41
69
  slashMenuListGroupLabel: 'Listen',
42
70
  toolbarItemsActive: '{{count}} aktiv'
43
71
  },
44
72
  en: {
73
+ insertParagraph: 'Insert Paragraph',
45
74
  placeholder: "Start typing, or press '/' for commands...",
46
75
  slashMenuBasicGroupLabel: 'Basic',
47
76
  slashMenuListGroupLabel: 'Lists',
48
77
  toolbarItemsActive: '{{count}} active'
49
78
  },
50
79
  es: {
80
+ insertParagraph: 'Insertar párrafo',
51
81
  placeholder: "Comience a escribir, o presione '/' para comandos...",
52
82
  slashMenuBasicGroupLabel: 'Básico',
53
83
  slashMenuListGroupLabel: 'Listas',
54
84
  toolbarItemsActive: '{{count}} activo'
55
85
  },
56
86
  et: {
87
+ insertParagraph: 'Lisa lõik',
57
88
  placeholder: "Alusta kirjutamist või vajuta '/' käskude jaoks...",
58
89
  slashMenuBasicGroupLabel: 'Põhiline',
59
90
  slashMenuListGroupLabel: 'Loendid',
60
91
  toolbarItemsActive: '{{count}} aktiivne'
61
92
  },
62
93
  fa: {
94
+ insertParagraph: 'درج پاراگراف',
63
95
  placeholder: "شروع به تایپ کنید، یا برای دستورات '/' را فشار دهید ...",
64
96
  slashMenuBasicGroupLabel: 'پایه',
65
97
  slashMenuListGroupLabel: 'لیست ها',
66
98
  toolbarItemsActive: '{{count}} فعال'
67
99
  },
68
100
  fr: {
101
+ insertParagraph: 'Insérer un paragraphe',
69
102
  placeholder: "Commencez à taper, ou appuyez sur '/' pour les commandes...",
70
103
  slashMenuBasicGroupLabel: 'De base',
71
104
  slashMenuListGroupLabel: 'Listes',
72
105
  toolbarItemsActive: '{{count}} actif'
73
106
  },
74
107
  he: {
108
+ insertParagraph: 'הוסף פסקה',
75
109
  placeholder: "התחיל להקליד, או לחץ על '/' עבור פקודות ...",
76
110
  slashMenuBasicGroupLabel: 'בסיסי',
77
111
  slashMenuListGroupLabel: 'רשימות',
78
112
  toolbarItemsActive: '{{count}} פעיל'
79
113
  },
80
114
  hr: {
115
+ insertParagraph: 'Umetni odlomak',
81
116
  placeholder: "Počnite tipkati, ili pritisnite '/' za naredbe...",
82
117
  slashMenuBasicGroupLabel: 'Osnovno',
83
118
  slashMenuListGroupLabel: 'Popisi',
84
119
  toolbarItemsActive: '{{count}} aktivno'
85
120
  },
86
121
  hu: {
122
+ insertParagraph: 'Bekezdés beszúrása',
87
123
  placeholder: "Kezdje el gépelni, vagy nyomja meg a '/' billentyűt a parancsokhoz...",
88
124
  slashMenuBasicGroupLabel: 'Alapvető',
89
125
  slashMenuListGroupLabel: 'Listák',
90
126
  toolbarItemsActive: '{{count}} aktív'
91
127
  },
92
128
  hy: {
129
+ insertParagraph: 'Ավելացնել հատված',
93
130
  placeholder: "Սկսեք գրել կամ սեղմեք '/' հրամանների համար...",
94
131
  slashMenuBasicGroupLabel: 'Հիմնական',
95
132
  slashMenuListGroupLabel: 'Ցուցակներ',
96
133
  toolbarItemsActive: '{{count}} ակտիվ'
97
134
  },
98
135
  is: {
136
+ insertParagraph: 'Bæta við efnisgrein',
99
137
  placeholder: "Byrjaðu að skrifa eða sláðu inn '/' fyrir skipanir...",
100
138
  slashMenuBasicGroupLabel: 'Grunnur',
101
139
  slashMenuListGroupLabel: 'Listar',
102
140
  toolbarItemsActive: '{{count}} virk'
103
141
  },
104
142
  it: {
143
+ insertParagraph: 'Inserisci paragrafo',
105
144
  placeholder: "Inizia a digitare, oppure premi '/' per i comandi...",
106
145
  slashMenuBasicGroupLabel: 'Base',
107
146
  slashMenuListGroupLabel: 'Elenchi',
108
147
  toolbarItemsActive: '{{count}} attivo'
109
148
  },
110
149
  ja: {
150
+ insertParagraph: '段落を挿入',
111
151
  placeholder: "入力を開始するか、コマンドのために'/'を押してください…",
112
152
  slashMenuBasicGroupLabel: '基本的な',
113
153
  slashMenuListGroupLabel: 'リスト',
114
154
  toolbarItemsActive: '{{count}} アクティブ'
115
155
  },
116
156
  ko: {
157
+ insertParagraph: '단락 삽입',
117
158
  placeholder: "타이핑을 시작하거나, 명령어를 입력하려면 '/'를 누르세요...",
118
159
  slashMenuBasicGroupLabel: '기본적인',
119
160
  slashMenuListGroupLabel: '목록',
120
161
  toolbarItemsActive: '{{count}} 활성화된'
121
162
  },
122
163
  lt: {
164
+ insertParagraph: 'Įterpti pastraipą',
123
165
  placeholder: "Pradėkite rašyti arba paspauskite '/' komandoms...",
124
166
  slashMenuBasicGroupLabel: 'Pagrindinis',
125
167
  slashMenuListGroupLabel: 'Sąrašai',
126
168
  toolbarItemsActive: '{{count}} aktyvus'
127
169
  },
170
+ lv: {
171
+ insertParagraph: 'Ievietot rindkopu',
172
+ placeholder: "Sāciet rakstīt vai nospiediet '/' komandu ievadīšanai...",
173
+ slashMenuBasicGroupLabel: 'Pamata',
174
+ slashMenuListGroupLabel: 'Saraksti',
175
+ toolbarItemsActive: '{{count}} aktīvs'
176
+ },
128
177
  my: {
178
+ insertParagraph: 'စာပိုဒ် ထည့်သွင်းပါ',
129
179
  placeholder: "Mula menaip, atau tekan '/' untuk arahan...",
130
180
  slashMenuBasicGroupLabel: 'အခြေခံ',
131
181
  slashMenuListGroupLabel: 'Senarai',
132
182
  toolbarItemsActive: '{{count}} aktif'
133
183
  },
134
184
  nb: {
185
+ insertParagraph: 'Sett inn avsnitt',
135
186
  placeholder: "Begynn å skrive, eller trykk '/' for kommandoer...",
136
187
  slashMenuBasicGroupLabel: 'Grunnleggende',
137
188
  slashMenuListGroupLabel: 'Lister',
138
189
  toolbarItemsActive: '{{count}} aktiv'
139
190
  },
140
191
  nl: {
192
+ insertParagraph: 'Paragraaf invoegen',
141
193
  placeholder: "Begin met typen, of druk op '/' voor opdrachten...",
142
194
  slashMenuBasicGroupLabel: 'Basis',
143
195
  slashMenuListGroupLabel: 'Lijsten',
144
196
  toolbarItemsActive: '{{count}} actief'
145
197
  },
146
198
  pl: {
199
+ insertParagraph: 'Wstaw akapit',
147
200
  placeholder: "Rozpocznij pisanie lub naciśnij '/' dla poleceń...",
148
201
  slashMenuBasicGroupLabel: 'Podstawowy',
149
202
  slashMenuListGroupLabel: 'Listy',
150
203
  toolbarItemsActive: '{{count}} aktywny'
151
204
  },
152
205
  pt: {
206
+ insertParagraph: 'Inserir Parágrafo',
153
207
  placeholder: "Comece a digitar, ou pressione '/' para comandos...",
154
208
  slashMenuBasicGroupLabel: 'Básico',
155
209
  slashMenuListGroupLabel: 'Listas',
156
210
  toolbarItemsActive: '{{count}} ativo'
157
211
  },
158
212
  ro: {
213
+ insertParagraph: 'Introduceți paragraf',
159
214
  placeholder: "Începeți să tastați sau apăsați '/' pentru comenzi...",
160
215
  slashMenuBasicGroupLabel: 'De bază',
161
216
  slashMenuListGroupLabel: 'Liste',
162
217
  toolbarItemsActive: '{{count}} activ'
163
218
  },
164
219
  rs: {
220
+ insertParagraph: 'Ubaci pasus',
165
221
  placeholder: "Почните да куцате, или притисните '/' за команде...",
166
222
  slashMenuBasicGroupLabel: 'Основно',
167
223
  slashMenuListGroupLabel: 'Листе',
168
224
  toolbarItemsActive: '{{count}} активно'
169
225
  },
170
226
  'rs-latin': {
227
+ insertParagraph: 'Ubaci pasus',
171
228
  placeholder: "Počnite da kucate, ili pritisnite '/' za komande...",
172
229
  slashMenuBasicGroupLabel: 'Osnovno',
173
230
  slashMenuListGroupLabel: 'Liste',
174
231
  toolbarItemsActive: '{{count}} aktivan'
175
232
  },
176
233
  ru: {
234
+ insertParagraph: 'Вставить абзац',
177
235
  placeholder: "Начните печатать или нажмите '/' для команд...",
178
236
  slashMenuBasicGroupLabel: 'Базовый',
179
237
  slashMenuListGroupLabel: 'Списки',
180
238
  toolbarItemsActive: '{{count}} активных'
181
239
  },
182
240
  sk: {
241
+ insertParagraph: 'Vložiť odsek',
183
242
  placeholder: "Začnite písať alebo stlačte '/' pre príkazy...",
184
243
  slashMenuBasicGroupLabel: 'Základný',
185
244
  slashMenuListGroupLabel: 'Zoznamy',
186
245
  toolbarItemsActive: '{{count}} aktívne'
187
246
  },
188
247
  sl: {
248
+ insertParagraph: 'Vstavi odstavek',
189
249
  placeholder: 'Začnite tipkati ali pritisnite "/" za ukaze...',
190
250
  slashMenuBasicGroupLabel: 'Osnovno',
191
251
  slashMenuListGroupLabel: 'Seznami',
192
252
  toolbarItemsActive: '{{count}} aktivno'
193
253
  },
194
254
  sv: {
255
+ insertParagraph: 'Infoga stycke',
195
256
  placeholder: "Börja skriva, eller tryck på '/' för kommandon...",
196
257
  slashMenuBasicGroupLabel: 'Grundläggande',
197
258
  slashMenuListGroupLabel: 'Listor',
198
259
  toolbarItemsActive: '{{count}} aktiv'
199
260
  },
200
261
  ta: {
262
+ insertParagraph: 'பத்தியை சேர்க்கவும்',
201
263
  placeholder: "எழுதத் தொடங்கவும், அல்லது கட்டளைகளுக்கு '/' அழுத்தவும்...",
202
264
  slashMenuBasicGroupLabel: 'அடிப்படை',
203
265
  slashMenuListGroupLabel: 'பட்டியல்கள்',
204
266
  toolbarItemsActive: '{{count}} செயலில் உள்ளது'
205
267
  },
206
268
  th: {
269
+ insertParagraph: 'แทรกย่อหน้า',
207
270
  placeholder: "เริ่มพิมพ์หรือกด '/' สำหรับคำสั่ง...",
208
271
  slashMenuBasicGroupLabel: 'พื้นฐาน',
209
272
  slashMenuListGroupLabel: 'รายการ',
210
273
  toolbarItemsActive: '{{count}} ที่ใช้งานอยู่'
211
274
  },
212
275
  tr: {
276
+ insertParagraph: 'Paragraf Ekle',
213
277
  placeholder: "Yazmaya başlayın veya komutlar için '/' tuşuna basın...",
214
278
  slashMenuBasicGroupLabel: 'Temel',
215
279
  slashMenuListGroupLabel: 'Listeler',
216
280
  toolbarItemsActive: '{{count}} aktif'
217
281
  },
218
282
  uk: {
283
+ insertParagraph: 'Вставити абзац',
219
284
  placeholder: "Почніть друкувати, або натисніть '/' для команд...",
220
285
  slashMenuBasicGroupLabel: 'Базовий',
221
286
  slashMenuListGroupLabel: 'Списки',
222
287
  toolbarItemsActive: '{{count}} активний'
223
288
  },
224
289
  vi: {
290
+ insertParagraph: 'Chèn đoạn văn',
225
291
  placeholder: "Bắt đầu gõ, hoặc nhấn '/' để gọi lệnh...",
226
292
  slashMenuBasicGroupLabel: 'Cơ bản',
227
293
  slashMenuListGroupLabel: 'Danh sách',
228
294
  toolbarItemsActive: '{{count}} đang hoạt động'
229
295
  },
230
296
  zh: {
297
+ insertParagraph: '插入段落',
231
298
  placeholder: "开始输入,或按'/'进行命令...",
232
299
  slashMenuBasicGroupLabel: '基础',
233
300
  slashMenuListGroupLabel: '列表',
234
301
  toolbarItemsActive: '{{count}} 活跃'
235
302
  },
236
303
  'zh-TW': {
304
+ insertParagraph: '插入段落',
237
305
  placeholder: "開始輸入,或按'/'以使用命令...",
238
306
  slashMenuBasicGroupLabel: '基本的',
239
307
  slashMenuListGroupLabel: '清單',
package/dist/i18n.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.js","names":["i18n","ar","placeholder","slashMenuBasicGroupLabel","slashMenuListGroupLabel","toolbarItemsActive","az","bg","ca","cs","da","de","en","es","et","fa","fr","he","hr","hu","hy","is","it","ja","ko","lt","my","nb","nl","pl","pt","ro","rs","ru","sk","sl","sv","ta","th","tr","uk","vi","zh"],"sources":["../src/i18n.ts"],"sourcesContent":["import type { GenericLanguages } from '@payloadcms/translations'\n\nexport const i18n: Partial<GenericLanguages> = {\n ar: {\n placeholder: \"ابدأ بالكتابة، أو اضغط على '/' للأوامر ...\",\n slashMenuBasicGroupLabel: 'أساسي',\n slashMenuListGroupLabel: 'قوائم',\n toolbarItemsActive: '{{count}} نشط',\n },\n az: {\n placeholder: \"Yazmağa başlayın və ya əmrlər üçün '/' düyməsini basın...\",\n slashMenuBasicGroupLabel: 'Əsas',\n slashMenuListGroupLabel: 'Siyahılar',\n toolbarItemsActive: '{{count}} aktiv',\n },\n bg: {\n placeholder: \"Започнете да пишете или натиснете '/' за команди...\",\n slashMenuBasicGroupLabel: 'Основен',\n slashMenuListGroupLabel: 'Списъци',\n toolbarItemsActive: '{{count}} активни',\n },\n ca: {\n placeholder: \"Comença a escriure o prem '/' per a comandes...\",\n slashMenuBasicGroupLabel: 'Bàsic',\n slashMenuListGroupLabel: 'Llistes',\n toolbarItemsActive: '{{count}} actiu',\n },\n cs: {\n placeholder: \"Začněte psát nebo stiskněte '/' pro příkazy...\",\n slashMenuBasicGroupLabel: 'Základní',\n slashMenuListGroupLabel: 'Seznamy',\n toolbarItemsActive: '{{count}} aktivní',\n },\n da: {\n placeholder: \"Begynd at skrive, eller tryk på '/' for kommandoer...\",\n slashMenuBasicGroupLabel: 'Grundlæggende',\n slashMenuListGroupLabel: 'Lister',\n toolbarItemsActive: '{{count}} aktive',\n },\n de: {\n placeholder: \"Beginne zu tippen oder drücke '/' für Befehle...\",\n slashMenuBasicGroupLabel: 'Basis',\n slashMenuListGroupLabel: 'Listen',\n toolbarItemsActive: '{{count}} aktiv',\n },\n en: {\n placeholder: \"Start typing, or press '/' for commands...\",\n slashMenuBasicGroupLabel: 'Basic',\n slashMenuListGroupLabel: 'Lists',\n toolbarItemsActive: '{{count}} active',\n },\n es: {\n placeholder: \"Comience a escribir, o presione '/' para comandos...\",\n slashMenuBasicGroupLabel: 'Básico',\n slashMenuListGroupLabel: 'Listas',\n toolbarItemsActive: '{{count}} activo',\n },\n et: {\n placeholder: \"Alusta kirjutamist või vajuta '/' käskude jaoks...\",\n slashMenuBasicGroupLabel: 'Põhiline',\n slashMenuListGroupLabel: 'Loendid',\n toolbarItemsActive: '{{count}} aktiivne',\n },\n fa: {\n placeholder: \"شروع به تایپ کنید، یا برای دستورات '/' را فشار دهید ...\",\n slashMenuBasicGroupLabel: 'پایه',\n slashMenuListGroupLabel: 'لیست ها',\n toolbarItemsActive: '{{count}} فعال',\n },\n fr: {\n placeholder: \"Commencez à taper, ou appuyez sur '/' pour les commandes...\",\n slashMenuBasicGroupLabel: 'De base',\n slashMenuListGroupLabel: 'Listes',\n toolbarItemsActive: '{{count}} actif',\n },\n he: {\n placeholder: \"התחיל להקליד, או לחץ על '/' עבור פקודות ...\",\n slashMenuBasicGroupLabel: 'בסיסי',\n slashMenuListGroupLabel: 'רשימות',\n toolbarItemsActive: '{{count}} פעיל',\n },\n hr: {\n placeholder: \"Počnite tipkati, ili pritisnite '/' za naredbe...\",\n slashMenuBasicGroupLabel: 'Osnovno',\n slashMenuListGroupLabel: 'Popisi',\n toolbarItemsActive: '{{count}} aktivno',\n },\n hu: {\n placeholder: \"Kezdje el gépelni, vagy nyomja meg a '/' billentyűt a parancsokhoz...\",\n slashMenuBasicGroupLabel: 'Alapvető',\n slashMenuListGroupLabel: 'Listák',\n toolbarItemsActive: '{{count}} aktív',\n },\n hy: {\n placeholder: \"Սկսեք գրել կամ սեղմեք '/' հրամանների համար...\",\n slashMenuBasicGroupLabel: 'Հիմնական',\n slashMenuListGroupLabel: 'Ցուցակներ',\n toolbarItemsActive: '{{count}} ակտիվ',\n },\n is: {\n placeholder: \"Byrjaðu að skrifa eða sláðu inn '/' fyrir skipanir...\",\n slashMenuBasicGroupLabel: 'Grunnur',\n slashMenuListGroupLabel: 'Listar',\n toolbarItemsActive: '{{count}} virk',\n },\n it: {\n placeholder: \"Inizia a digitare, oppure premi '/' per i comandi...\",\n slashMenuBasicGroupLabel: 'Base',\n slashMenuListGroupLabel: 'Elenchi',\n toolbarItemsActive: '{{count}} attivo',\n },\n ja: {\n placeholder: \"入力を開始するか、コマンドのために'/'を押してください…\",\n slashMenuBasicGroupLabel: '基本的な',\n slashMenuListGroupLabel: 'リスト',\n toolbarItemsActive: '{{count}} アクティブ',\n },\n ko: {\n placeholder: \"타이핑을 시작하거나, 명령어를 입력하려면 '/'를 누르세요...\",\n slashMenuBasicGroupLabel: '기본적인',\n slashMenuListGroupLabel: '목록',\n toolbarItemsActive: '{{count}} 활성화된',\n },\n lt: {\n placeholder: \"Pradėkite rašyti arba paspauskite '/' komandoms...\",\n slashMenuBasicGroupLabel: 'Pagrindinis',\n slashMenuListGroupLabel: 'Sąrašai',\n toolbarItemsActive: '{{count}} aktyvus',\n },\n my: {\n placeholder: \"Mula menaip, atau tekan '/' untuk arahan...\",\n slashMenuBasicGroupLabel: 'အခြေခံ',\n slashMenuListGroupLabel: 'Senarai',\n toolbarItemsActive: '{{count}} aktif',\n },\n nb: {\n placeholder: \"Begynn å skrive, eller trykk '/' for kommandoer...\",\n slashMenuBasicGroupLabel: 'Grunnleggende',\n slashMenuListGroupLabel: 'Lister',\n toolbarItemsActive: '{{count}} aktiv',\n },\n nl: {\n placeholder: \"Begin met typen, of druk op '/' voor opdrachten...\",\n slashMenuBasicGroupLabel: 'Basis',\n slashMenuListGroupLabel: 'Lijsten',\n toolbarItemsActive: '{{count}} actief',\n },\n pl: {\n placeholder: \"Rozpocznij pisanie lub naciśnij '/' dla poleceń...\",\n slashMenuBasicGroupLabel: 'Podstawowy',\n slashMenuListGroupLabel: 'Listy',\n toolbarItemsActive: '{{count}} aktywny',\n },\n pt: {\n placeholder: \"Comece a digitar, ou pressione '/' para comandos...\",\n slashMenuBasicGroupLabel: 'Básico',\n slashMenuListGroupLabel: 'Listas',\n toolbarItemsActive: '{{count}} ativo',\n },\n ro: {\n placeholder: \"Începeți să tastați sau apăsați '/' pentru comenzi...\",\n slashMenuBasicGroupLabel: 'De bază',\n slashMenuListGroupLabel: 'Liste',\n toolbarItemsActive: '{{count}} activ',\n },\n rs: {\n placeholder: \"Почните да куцате, или притисните '/' за команде...\",\n slashMenuBasicGroupLabel: 'Основно',\n slashMenuListGroupLabel: 'Листе',\n toolbarItemsActive: '{{count}} активно',\n },\n 'rs-latin': {\n placeholder: \"Počnite da kucate, ili pritisnite '/' za komande...\",\n slashMenuBasicGroupLabel: 'Osnovno',\n slashMenuListGroupLabel: 'Liste',\n toolbarItemsActive: '{{count}} aktivan',\n },\n ru: {\n placeholder: \"Начните печатать или нажмите '/' для команд...\",\n slashMenuBasicGroupLabel: 'Базовый',\n slashMenuListGroupLabel: 'Списки',\n toolbarItemsActive: '{{count}} активных',\n },\n sk: {\n placeholder: \"Začnite písať alebo stlačte '/' pre príkazy...\",\n slashMenuBasicGroupLabel: 'Základný',\n slashMenuListGroupLabel: 'Zoznamy',\n toolbarItemsActive: '{{count}} aktívne',\n },\n sl: {\n placeholder: 'Začnite tipkati ali pritisnite \"/\" za ukaze...',\n slashMenuBasicGroupLabel: 'Osnovno',\n slashMenuListGroupLabel: 'Seznami',\n toolbarItemsActive: '{{count}} aktivno',\n },\n sv: {\n placeholder: \"Börja skriva, eller tryck på '/' för kommandon...\",\n slashMenuBasicGroupLabel: 'Grundläggande',\n slashMenuListGroupLabel: 'Listor',\n toolbarItemsActive: '{{count}} aktiv',\n },\n ta: {\n placeholder: \"எழுதத் தொடங்கவும், அல்லது கட்டளைகளுக்கு '/' அழுத்தவும்...\",\n slashMenuBasicGroupLabel: 'அடிப்படை',\n slashMenuListGroupLabel: 'பட்டியல்கள்',\n toolbarItemsActive: '{{count}} செயலில் உள்ளது',\n },\n th: {\n placeholder: \"เริ่มพิมพ์หรือกด '/' สำหรับคำสั่ง...\",\n slashMenuBasicGroupLabel: 'พื้นฐาน',\n slashMenuListGroupLabel: 'รายการ',\n toolbarItemsActive: '{{count}} ที่ใช้งานอยู่',\n },\n tr: {\n placeholder: \"Yazmaya başlayın veya komutlar için '/' tuşuna basın...\",\n slashMenuBasicGroupLabel: 'Temel',\n slashMenuListGroupLabel: 'Listeler',\n toolbarItemsActive: '{{count}} aktif',\n },\n uk: {\n placeholder: \"Почніть друкувати, або натисніть '/' для команд...\",\n slashMenuBasicGroupLabel: 'Базовий',\n slashMenuListGroupLabel: 'Списки',\n toolbarItemsActive: '{{count}} активний',\n },\n vi: {\n placeholder: \"Bắt đầu gõ, hoặc nhấn '/' để gọi lệnh...\",\n slashMenuBasicGroupLabel: 'Cơ bản',\n slashMenuListGroupLabel: 'Danh sách',\n toolbarItemsActive: '{{count}} đang hoạt động',\n },\n zh: {\n placeholder: \"开始输入,或按'/'进行命令...\",\n slashMenuBasicGroupLabel: '基础',\n slashMenuListGroupLabel: '列表',\n toolbarItemsActive: '{{count}} 活跃',\n },\n 'zh-TW': {\n placeholder: \"開始輸入,或按'/'以使用命令...\",\n slashMenuBasicGroupLabel: '基本的',\n slashMenuListGroupLabel: '清單',\n toolbarItemsActive: '{{count}} 活躍中',\n },\n}\n"],"mappings":"AAEA,OAAO,MAAMA,IAAA,GAAkC;EAC7CC,EAAA,EAAI;IACFC,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACAC,EAAA,EAAI;IACFJ,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACAE,EAAA,EAAI;IACFL,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACAG,EAAA,EAAI;IACFN,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACAI,EAAA,EAAI;IACFP,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACAK,EAAA,EAAI;IACFR,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACAM,EAAA,EAAI;IACFT,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACAO,EAAA,EAAI;IACFV,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACAQ,EAAA,EAAI;IACFX,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACAS,EAAA,EAAI;IACFZ,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACAU,EAAA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C,kBAAA,EAAoB;EACtB;EACAgC,EAAA,EAAI;IACFnC,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACAiC,EAAA,EAAI;IACFpC,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACAkC,EAAA,EAAI;IACFrC,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACAmC,EAAA,EAAI;IACFtC,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACAoC,EAAA,EAAI;IACFvC,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACAqC,EAAA,EAAI;IACFxC,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACA,SAAS;IACPH,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;AACF","ignoreList":[]}
1
+ {"version":3,"file":"i18n.js","names":["i18n","id","insertParagraph","placeholder","slashMenuBasicGroupLabel","slashMenuListGroupLabel","toolbarItemsActive","ar","az","bg","ca","cs","da","de","en","es","et","fa","fr","he","hr","hu","hy","is","it","ja","ko","lt","lv","my","nb","nl","pl","pt","ro","rs","ru","sk","sl","sv","ta","th","tr","uk","vi","zh"],"sources":["../src/i18n.ts"],"sourcesContent":["import type { GenericLanguages } from '@payloadcms/translations'\n\nexport const i18n: Partial<GenericLanguages> = {\n id: {\n insertParagraph: 'Sisipkan Paragraf',\n placeholder: \"Mulai mengetik, atau tekan '/' untuk perintah...\",\n slashMenuBasicGroupLabel: 'Dasar',\n slashMenuListGroupLabel: 'Daftar',\n toolbarItemsActive: '{{count}} aktif',\n },\n ar: {\n insertParagraph: 'إدراج فقرة',\n placeholder: \"ابدأ بالكتابة، أو اضغط على '/' للأوامر ...\",\n slashMenuBasicGroupLabel: 'أساسي',\n slashMenuListGroupLabel: 'قوائم',\n toolbarItemsActive: '{{count}} نشط',\n },\n az: {\n insertParagraph: 'Paraqraf əlavə edin',\n placeholder: \"Yazmağa başlayın və ya əmrlər üçün '/' düyməsini basın...\",\n slashMenuBasicGroupLabel: 'Əsas',\n slashMenuListGroupLabel: 'Siyahılar',\n toolbarItemsActive: '{{count}} aktiv',\n },\n bg: {\n insertParagraph: 'Вмъкнете параграф',\n placeholder: \"Започнете да пишете или натиснете '/' за команди...\",\n slashMenuBasicGroupLabel: 'Основен',\n slashMenuListGroupLabel: 'Списъци',\n toolbarItemsActive: '{{count}} активни',\n },\n 'bn-BD': {\n insertParagraph: 'অনুচ্ছেদ সংযুক্ত করুন',\n placeholder: \"টাইপ করা শুরু করুন, অথবা কমান্ডের জন্য '/' চাপুন...\",\n slashMenuBasicGroupLabel: 'মৌলিক',\n slashMenuListGroupLabel: 'তালিকা সমূহ',\n toolbarItemsActive: '{{count}} সক্রিয়',\n },\n 'bn-IN': {\n insertParagraph: 'অনুচ্ছেদ সন্নিবেশ করুন',\n placeholder: 'টাইপ করতে শুরু করুন, অথবা কমান্ডের জন্য ‘/’ চাপুন...',\n slashMenuBasicGroupLabel: 'মৌলিক',\n slashMenuListGroupLabel: 'তালিকাসমূহ',\n toolbarItemsActive: '{{count}} সক্রিয়',\n },\n ca: {\n insertParagraph: 'Insereix paràgraf',\n placeholder: \"Comença a escriure o prem '/' per a comandes...\",\n slashMenuBasicGroupLabel: 'Bàsic',\n slashMenuListGroupLabel: 'Llistes',\n toolbarItemsActive: '{{count}} actiu',\n },\n cs: {\n insertParagraph: 'Vložit odstavec',\n placeholder: \"Začněte psát nebo stiskněte '/' pro příkazy...\",\n slashMenuBasicGroupLabel: 'Základní',\n slashMenuListGroupLabel: 'Seznamy',\n toolbarItemsActive: '{{count}} aktivní',\n },\n da: {\n insertParagraph: 'Indsæt afsnit',\n placeholder: \"Begynd at skrive, eller tryk på '/' for kommandoer...\",\n slashMenuBasicGroupLabel: 'Grundlæggende',\n slashMenuListGroupLabel: 'Lister',\n toolbarItemsActive: '{{count}} aktive',\n },\n de: {\n insertParagraph: 'Absatz einfügen',\n placeholder: \"Beginne zu tippen oder drücke '/' für Befehle...\",\n slashMenuBasicGroupLabel: 'Basis',\n slashMenuListGroupLabel: 'Listen',\n toolbarItemsActive: '{{count}} aktiv',\n },\n en: {\n insertParagraph: 'Insert Paragraph',\n placeholder: \"Start typing, or press '/' for commands...\",\n slashMenuBasicGroupLabel: 'Basic',\n slashMenuListGroupLabel: 'Lists',\n toolbarItemsActive: '{{count}} active',\n },\n es: {\n insertParagraph: 'Insertar párrafo',\n placeholder: \"Comience a escribir, o presione '/' para comandos...\",\n slashMenuBasicGroupLabel: 'Básico',\n slashMenuListGroupLabel: 'Listas',\n toolbarItemsActive: '{{count}} activo',\n },\n et: {\n insertParagraph: 'Lisa lõik',\n placeholder: \"Alusta kirjutamist või vajuta '/' käskude jaoks...\",\n slashMenuBasicGroupLabel: 'Põhiline',\n slashMenuListGroupLabel: 'Loendid',\n toolbarItemsActive: '{{count}} aktiivne',\n },\n fa: {\n insertParagraph: 'درج پاراگراف',\n placeholder: \"شروع به تایپ کنید، یا برای دستورات '/' را فشار دهید ...\",\n slashMenuBasicGroupLabel: 'پایه',\n slashMenuListGroupLabel: 'لیست ها',\n toolbarItemsActive: '{{count}} فعال',\n },\n fr: {\n insertParagraph: 'Insérer un paragraphe',\n placeholder: \"Commencez à taper, ou appuyez sur '/' pour les commandes...\",\n slashMenuBasicGroupLabel: 'De base',\n slashMenuListGroupLabel: 'Listes',\n toolbarItemsActive: '{{count}} actif',\n },\n he: {\n insertParagraph: 'הוסף פסקה',\n placeholder: \"התחיל להקליד, או לחץ על '/' עבור פקודות ...\",\n slashMenuBasicGroupLabel: 'בסיסי',\n slashMenuListGroupLabel: 'רשימות',\n toolbarItemsActive: '{{count}} פעיל',\n },\n hr: {\n insertParagraph: 'Umetni odlomak',\n placeholder: \"Počnite tipkati, ili pritisnite '/' za naredbe...\",\n slashMenuBasicGroupLabel: 'Osnovno',\n slashMenuListGroupLabel: 'Popisi',\n toolbarItemsActive: '{{count}} aktivno',\n },\n hu: {\n insertParagraph: 'Bekezdés beszúrása',\n placeholder: \"Kezdje el gépelni, vagy nyomja meg a '/' billentyűt a parancsokhoz...\",\n slashMenuBasicGroupLabel: 'Alapvető',\n slashMenuListGroupLabel: 'Listák',\n toolbarItemsActive: '{{count}} aktív',\n },\n hy: {\n insertParagraph: 'Ավելացնել հատված',\n placeholder: \"Սկսեք գրել կամ սեղմեք '/' հրամանների համար...\",\n slashMenuBasicGroupLabel: 'Հիմնական',\n slashMenuListGroupLabel: 'Ցուցակներ',\n toolbarItemsActive: '{{count}} ակտիվ',\n },\n is: {\n insertParagraph: 'Bæta við efnisgrein',\n placeholder: \"Byrjaðu að skrifa eða sláðu inn '/' fyrir skipanir...\",\n slashMenuBasicGroupLabel: 'Grunnur',\n slashMenuListGroupLabel: 'Listar',\n toolbarItemsActive: '{{count}} virk',\n },\n it: {\n insertParagraph: 'Inserisci paragrafo',\n placeholder: \"Inizia a digitare, oppure premi '/' per i comandi...\",\n slashMenuBasicGroupLabel: 'Base',\n slashMenuListGroupLabel: 'Elenchi',\n toolbarItemsActive: '{{count}} attivo',\n },\n ja: {\n insertParagraph: '段落を挿入',\n placeholder: \"入力を開始するか、コマンドのために'/'を押してください…\",\n slashMenuBasicGroupLabel: '基本的な',\n slashMenuListGroupLabel: 'リスト',\n toolbarItemsActive: '{{count}} アクティブ',\n },\n ko: {\n insertParagraph: '단락 삽입',\n placeholder: \"타이핑을 시작하거나, 명령어를 입력하려면 '/'를 누르세요...\",\n slashMenuBasicGroupLabel: '기본적인',\n slashMenuListGroupLabel: '목록',\n toolbarItemsActive: '{{count}} 활성화된',\n },\n lt: {\n insertParagraph: 'Įterpti pastraipą',\n placeholder: \"Pradėkite rašyti arba paspauskite '/' komandoms...\",\n slashMenuBasicGroupLabel: 'Pagrindinis',\n slashMenuListGroupLabel: 'Sąrašai',\n toolbarItemsActive: '{{count}} aktyvus',\n },\n lv: {\n insertParagraph: 'Ievietot rindkopu',\n placeholder: \"Sāciet rakstīt vai nospiediet '/' komandu ievadīšanai...\",\n slashMenuBasicGroupLabel: 'Pamata',\n slashMenuListGroupLabel: 'Saraksti',\n toolbarItemsActive: '{{count}} aktīvs',\n },\n my: {\n insertParagraph: 'စာပိုဒ် ထည့်သွင်းပါ',\n placeholder: \"Mula menaip, atau tekan '/' untuk arahan...\",\n slashMenuBasicGroupLabel: 'အခြေခံ',\n slashMenuListGroupLabel: 'Senarai',\n toolbarItemsActive: '{{count}} aktif',\n },\n nb: {\n insertParagraph: 'Sett inn avsnitt',\n placeholder: \"Begynn å skrive, eller trykk '/' for kommandoer...\",\n slashMenuBasicGroupLabel: 'Grunnleggende',\n slashMenuListGroupLabel: 'Lister',\n toolbarItemsActive: '{{count}} aktiv',\n },\n nl: {\n insertParagraph: 'Paragraaf invoegen',\n placeholder: \"Begin met typen, of druk op '/' voor opdrachten...\",\n slashMenuBasicGroupLabel: 'Basis',\n slashMenuListGroupLabel: 'Lijsten',\n toolbarItemsActive: '{{count}} actief',\n },\n pl: {\n insertParagraph: 'Wstaw akapit',\n placeholder: \"Rozpocznij pisanie lub naciśnij '/' dla poleceń...\",\n slashMenuBasicGroupLabel: 'Podstawowy',\n slashMenuListGroupLabel: 'Listy',\n toolbarItemsActive: '{{count}} aktywny',\n },\n pt: {\n insertParagraph: 'Inserir Parágrafo',\n placeholder: \"Comece a digitar, ou pressione '/' para comandos...\",\n slashMenuBasicGroupLabel: 'Básico',\n slashMenuListGroupLabel: 'Listas',\n toolbarItemsActive: '{{count}} ativo',\n },\n ro: {\n insertParagraph: 'Introduceți paragraf',\n placeholder: \"Începeți să tastați sau apăsați '/' pentru comenzi...\",\n slashMenuBasicGroupLabel: 'De bază',\n slashMenuListGroupLabel: 'Liste',\n toolbarItemsActive: '{{count}} activ',\n },\n rs: {\n insertParagraph: 'Ubaci pasus',\n placeholder: \"Почните да куцате, или притисните '/' за команде...\",\n slashMenuBasicGroupLabel: 'Основно',\n slashMenuListGroupLabel: 'Листе',\n toolbarItemsActive: '{{count}} активно',\n },\n 'rs-latin': {\n insertParagraph: 'Ubaci pasus',\n placeholder: \"Počnite da kucate, ili pritisnite '/' za komande...\",\n slashMenuBasicGroupLabel: 'Osnovno',\n slashMenuListGroupLabel: 'Liste',\n toolbarItemsActive: '{{count}} aktivan',\n },\n ru: {\n insertParagraph: 'Вставить абзац',\n placeholder: \"Начните печатать или нажмите '/' для команд...\",\n slashMenuBasicGroupLabel: 'Базовый',\n slashMenuListGroupLabel: 'Списки',\n toolbarItemsActive: '{{count}} активных',\n },\n sk: {\n insertParagraph: 'Vložiť odsek',\n placeholder: \"Začnite písať alebo stlačte '/' pre príkazy...\",\n slashMenuBasicGroupLabel: 'Základný',\n slashMenuListGroupLabel: 'Zoznamy',\n toolbarItemsActive: '{{count}} aktívne',\n },\n sl: {\n insertParagraph: 'Vstavi odstavek',\n placeholder: 'Začnite tipkati ali pritisnite \"/\" za ukaze...',\n slashMenuBasicGroupLabel: 'Osnovno',\n slashMenuListGroupLabel: 'Seznami',\n toolbarItemsActive: '{{count}} aktivno',\n },\n sv: {\n insertParagraph: 'Infoga stycke',\n placeholder: \"Börja skriva, eller tryck på '/' för kommandon...\",\n slashMenuBasicGroupLabel: 'Grundläggande',\n slashMenuListGroupLabel: 'Listor',\n toolbarItemsActive: '{{count}} aktiv',\n },\n ta: {\n insertParagraph: 'பத்தியை சேர்க்கவும்',\n placeholder: \"எழுதத் தொடங்கவும், அல்லது கட்டளைகளுக்கு '/' அழுத்தவும்...\",\n slashMenuBasicGroupLabel: 'அடிப்படை',\n slashMenuListGroupLabel: 'பட்டியல்கள்',\n toolbarItemsActive: '{{count}} செயலில் உள்ளது',\n },\n th: {\n insertParagraph: 'แทรกย่อหน้า',\n placeholder: \"เริ่มพิมพ์หรือกด '/' สำหรับคำสั่ง...\",\n slashMenuBasicGroupLabel: 'พื้นฐาน',\n slashMenuListGroupLabel: 'รายการ',\n toolbarItemsActive: '{{count}} ที่ใช้งานอยู่',\n },\n tr: {\n insertParagraph: 'Paragraf Ekle',\n placeholder: \"Yazmaya başlayın veya komutlar için '/' tuşuna basın...\",\n slashMenuBasicGroupLabel: 'Temel',\n slashMenuListGroupLabel: 'Listeler',\n toolbarItemsActive: '{{count}} aktif',\n },\n uk: {\n insertParagraph: 'Вставити абзац',\n placeholder: \"Почніть друкувати, або натисніть '/' для команд...\",\n slashMenuBasicGroupLabel: 'Базовий',\n slashMenuListGroupLabel: 'Списки',\n toolbarItemsActive: '{{count}} активний',\n },\n vi: {\n insertParagraph: 'Chèn đoạn văn',\n placeholder: \"Bắt đầu gõ, hoặc nhấn '/' để gọi lệnh...\",\n slashMenuBasicGroupLabel: 'Cơ bản',\n slashMenuListGroupLabel: 'Danh sách',\n toolbarItemsActive: '{{count}} đang hoạt động',\n },\n zh: {\n insertParagraph: '插入段落',\n placeholder: \"开始输入,或按'/'进行命令...\",\n slashMenuBasicGroupLabel: '基础',\n slashMenuListGroupLabel: '列表',\n toolbarItemsActive: '{{count}} 活跃',\n },\n 'zh-TW': {\n insertParagraph: '插入段落',\n placeholder: \"開始輸入,或按'/'以使用命令...\",\n slashMenuBasicGroupLabel: '基本的',\n slashMenuListGroupLabel: '清單',\n toolbarItemsActive: '{{count}} 活躍中',\n },\n}\n"],"mappings":"AAEA,OAAO,MAAMA,IAAA,GAAkC;EAC7CC,EAAA,EAAI;IACFC,eAAA,EAAiB;IACjBC,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACAC,EAAA,EAAI;IACFL,eAAA,EAAiB;IACjBC,WAAA,EAAa;IACbC,wBA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BAAA,EAAoB;EACtB;EACAqC,EAAA,EAAI;IACFzC,eAAA,EAAiB;IACjBC,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACAsC,EAAA,EAAI;IACF1C,eAAA,EAAiB;IACjBC,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACAuC,EAAA,EAAI;IACF3C,eAAA,EAAiB;IACjBC,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;EACA,SAAS;IACPJ,eAAA,EAAiB;IACjBC,WAAA,EAAa;IACbC,wBAAA,EAA0B;IAC1BC,uBAAA,EAAyB;IACzBC,kBAAA,EAAoB;EACtB;AACF","ignoreList":[]}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { AdapterProps, LexicalEditorProps, LexicalRichTextAdapterProvider } from './types/index.js';
2
- export declare const lexicalTargetVersion = "0.41.0";
2
+ export declare const lexicalTargetVersion = "0.48.0";
3
3
  export declare function lexicalEditor(args?: LexicalEditorProps): LexicalRichTextAdapterProvider;
4
4
  export { AlignFeature } from './features/align/server/index.js';
5
5
  export { BlockquoteFeature } from './features/blockquote/server/index.js';
@@ -18,7 +18,6 @@ export { getRestPopulateFn } from './features/converters/utilities/restPopulateF
18
18
  export { DebugJsxConverterFeature } from './features/debug/jsxConverter/server/index.js';
19
19
  export { TestRecorderFeature } from './features/debug/testRecorder/server/index.js';
20
20
  export { TreeViewFeature } from './features/debug/treeView/server/index.js';
21
- export { EXPERIMENTAL_TableFeature } from './features/experimental_table/server/index.js';
22
21
  export { BoldFeature } from './features/format/bold/feature.server.js';
23
22
  export { InlineCodeFeature } from './features/format/inlineCode/feature.server.js';
24
23
  export { ItalicFeature } from './features/format/italic/feature.server.js';
@@ -40,6 +39,7 @@ export { ParagraphFeature } from './features/paragraph/server/index.js';
40
39
  export { RelationshipFeature, type RelationshipFeatureProps, } from './features/relationship/server/index.js';
41
40
  export { RelationshipServerNode } from './features/relationship/server/nodes/RelationshipNode.js';
42
41
  export type { RelationshipData } from './features/relationship/server/schema.js';
42
+ export { TableFeature } from './features/table/server/index.js';
43
43
  export { defaultColors } from './features/textState/defaultColors.js';
44
44
  export { TextStateFeature } from './features/textState/feature.server.js';
45
45
  export { FixedToolbarFeature } from './features/toolbars/fixed/server/index.js';
@@ -60,9 +60,9 @@ export type { ClientEditorConfig, SanitizedClientEditorConfig, SanitizedServerEd
60
60
  export type { AdapterProps };
61
61
  export { getEnabledNodes, getEnabledNodesFromServerNodes } from './lexical/nodes/index.js';
62
62
  export type { SlashMenuGroup, SlashMenuItem, } from './lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js';
63
+ export { $convertFromMarkdownString } from './lexical/utils/markdown/convertFromMarkdownString.js';
63
64
  export { DETAIL_TYPE_TO_DETAIL, DOUBLE_LINE_BREAK, ELEMENT_FORMAT_TO_TYPE, ELEMENT_TYPE_TO_FORMAT, IS_ALL_FORMATTING, LTR_REGEX, NodeFormat, NON_BREAKING_SPACE, RTL_REGEX, TEXT_MODE_TO_TYPE, TEXT_TYPE_TO_FORMAT, TEXT_TYPE_TO_MODE, } from './lexical/utils/nodeFormat.js';
64
65
  export { sanitizeUrl, validateUrl } from './lexical/utils/url.js';
65
- export { $convertFromMarkdownString } from './packages/@lexical/markdown/index.js';
66
66
  export { defaultRichTextValue } from './populateGraphQL/defaultValue.js';
67
67
  export { populate } from './populateGraphQL/populate.js';
68
68
  export type { ClientFeaturesMap, LexicalEditorNodeMap, LexicalEditorProps, LexicalEditorViewMap, LexicalFieldAdminProps, LexicalRichTextAdapter, NodeMapValue, SerializedNodeBase, ViewMapBlockComponentProps, } from './types/index.js';