@payloadcms/richtext-lexical 0.7.0 → 3.0.0-alpha.18

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 (917) hide show
  1. package/README.md +1 -3
  2. package/components.d.ts +1 -1
  3. package/components.js +3 -3
  4. package/dist/cell/index.d.ts +4 -4
  5. package/dist/cell/index.d.ts.map +1 -1
  6. package/dist/cell/index.js +93 -23
  7. package/dist/exports/components.d.ts +1 -1
  8. package/dist/exports/components.d.ts.map +1 -1
  9. package/dist/exports/components.js +3 -3
  10. package/dist/field/Field.d.ts +8 -3
  11. package/dist/field/Field.d.ts.map +1 -1
  12. package/dist/field/Field.js +16 -37
  13. package/dist/field/features/align/feature.client.d.ts +3 -0
  14. package/dist/field/features/align/feature.client.d.ts.map +1 -0
  15. package/dist/field/features/align/feature.client.js +81 -0
  16. package/dist/field/features/align/feature.server.d.ts +3 -0
  17. package/dist/field/features/align/feature.server.d.ts.map +1 -0
  18. package/dist/field/features/align/feature.server.js +26 -0
  19. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.d.ts.map +1 -1
  20. package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.js +5 -46
  21. package/dist/field/features/blockquote/feature.client.d.ts +3 -0
  22. package/dist/field/features/blockquote/feature.client.d.ts.map +1 -0
  23. package/dist/field/features/blockquote/feature.client.js +77 -0
  24. package/dist/field/features/blockquote/feature.server.d.ts +3 -0
  25. package/dist/field/features/blockquote/feature.server.d.ts.map +1 -0
  26. package/dist/field/features/blockquote/feature.server.js +56 -0
  27. package/dist/field/features/blockquote/markdownTransformer.d.ts.map +1 -0
  28. package/dist/field/features/blockquote/markdownTransformer.js +50 -0
  29. package/dist/field/features/blocks/component/BlockContent.d.ts +25 -0
  30. package/dist/field/features/blocks/component/BlockContent.d.ts.map +1 -0
  31. package/dist/field/features/blocks/component/BlockContent.js +214 -0
  32. package/dist/field/features/blocks/component/FormSavePlugin.d.ts +12 -0
  33. package/dist/field/features/blocks/component/FormSavePlugin.d.ts.map +1 -0
  34. package/dist/field/features/blocks/component/FormSavePlugin.js +34 -0
  35. package/dist/field/features/blocks/component/index.d.ts +16 -0
  36. package/dist/field/features/blocks/component/index.d.ts.map +1 -0
  37. package/dist/field/features/blocks/component/index.js +172 -0
  38. package/dist/field/features/blocks/component/index.scss +153 -0
  39. package/dist/field/features/blocks/drawer/index.d.ts.map +1 -0
  40. package/dist/field/features/blocks/drawer/index.js +137 -0
  41. package/dist/field/features/blocks/feature.client.d.ts +7 -0
  42. package/dist/field/features/blocks/feature.client.d.ts.map +1 -0
  43. package/dist/field/features/blocks/feature.client.js +71 -0
  44. package/dist/field/features/blocks/feature.server.d.ts +8 -0
  45. package/dist/field/features/blocks/feature.server.d.ts.map +1 -0
  46. package/dist/field/features/blocks/feature.server.js +96 -0
  47. package/dist/field/features/blocks/nodes/BlocksNode.d.ts.map +1 -0
  48. package/dist/field/features/blocks/nodes/BlocksNode.js +158 -0
  49. package/dist/field/features/blocks/plugin/commands.d.ts.map +1 -0
  50. package/dist/field/features/blocks/plugin/commands.js +14 -0
  51. package/dist/field/features/blocks/plugin/index.d.ts +5 -0
  52. package/dist/field/features/blocks/plugin/index.d.ts.map +1 -0
  53. package/dist/field/features/blocks/plugin/index.js +91 -0
  54. package/dist/field/features/blocks/populationPromise.d.ts +5 -0
  55. package/dist/field/features/blocks/populationPromise.d.ts.map +1 -0
  56. package/dist/field/features/blocks/populationPromise.js +55 -0
  57. package/dist/field/features/blocks/validate.d.ts +5 -0
  58. package/dist/field/features/blocks/validate.d.ts.map +1 -0
  59. package/dist/field/features/blocks/validate.js +59 -0
  60. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.js +3 -3
  61. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.d.ts.map +1 -1
  62. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.js +5 -46
  63. package/dist/field/features/converters/html/converter/converters/paragraph.d.ts.map +1 -1
  64. package/dist/field/features/converters/html/converter/converters/paragraph.js +4 -3
  65. package/dist/field/features/converters/html/converter/index.d.ts +11 -2
  66. package/dist/field/features/converters/html/converter/index.d.ts.map +1 -1
  67. package/dist/field/features/converters/html/converter/index.js +9 -6
  68. package/dist/field/features/converters/html/converter/types.d.ts +6 -1
  69. package/dist/field/features/converters/html/converter/types.d.ts.map +1 -1
  70. package/dist/field/features/converters/html/feature.server.d.ts +9 -0
  71. package/dist/field/features/converters/html/feature.server.d.ts.map +1 -0
  72. package/dist/field/features/converters/html/feature.server.js +24 -0
  73. package/dist/field/features/converters/html/field/index.d.ts +2 -2
  74. package/dist/field/features/converters/html/field/index.d.ts.map +1 -1
  75. package/dist/field/features/converters/html/field/index.js +8 -7
  76. package/dist/field/features/createClientComponent.d.ts +7 -0
  77. package/dist/field/features/createClientComponent.d.ts.map +1 -0
  78. package/dist/field/features/createClientComponent.js +20 -0
  79. package/dist/field/features/createFeaturePropComponent.d.ts +6 -0
  80. package/dist/field/features/createFeaturePropComponent.d.ts.map +1 -0
  81. package/dist/field/features/createFeaturePropComponent.js +24 -0
  82. package/dist/field/features/debug/testrecorder/feature.client.d.ts +3 -0
  83. package/dist/field/features/debug/testrecorder/feature.client.d.ts.map +1 -0
  84. package/dist/field/features/debug/testrecorder/feature.client.js +30 -0
  85. package/dist/field/features/debug/testrecorder/feature.server.d.ts +3 -0
  86. package/dist/field/features/debug/testrecorder/feature.server.d.ts.map +1 -0
  87. package/dist/field/features/debug/testrecorder/feature.server.js +25 -0
  88. package/dist/field/features/debug/testrecorder/plugin/index.d.ts.map +1 -0
  89. package/dist/field/features/debug/testrecorder/plugin/index.js +504 -0
  90. package/dist/field/features/debug/testrecorder/plugin/index.scss +49 -0
  91. package/dist/field/features/debug/treeview/feature.client.d.ts +3 -0
  92. package/dist/field/features/debug/treeview/feature.client.d.ts.map +1 -0
  93. package/dist/field/features/debug/treeview/feature.client.js +30 -0
  94. package/dist/field/features/debug/treeview/feature.server.d.ts +3 -0
  95. package/dist/field/features/debug/treeview/feature.server.d.ts.map +1 -0
  96. package/dist/field/features/debug/treeview/feature.server.js +25 -0
  97. package/dist/field/features/debug/treeview/plugin/index.d.ts +4 -0
  98. package/dist/field/features/debug/treeview/plugin/index.d.ts.map +1 -0
  99. package/dist/field/features/debug/treeview/plugin/index.js +70 -0
  100. package/dist/field/features/format/bold/feature.client.d.ts +3 -0
  101. package/dist/field/features/format/bold/feature.client.d.ts.map +1 -0
  102. package/dist/field/features/format/bold/feature.client.js +57 -0
  103. package/dist/field/features/format/bold/feature.server.d.ts +3 -0
  104. package/dist/field/features/format/bold/feature.server.d.ts.map +1 -0
  105. package/dist/field/features/format/bold/feature.server.js +37 -0
  106. package/dist/field/features/format/bold/markdownTransformers.d.ts.map +1 -0
  107. package/dist/field/features/format/bold/markdownTransformers.js +58 -0
  108. package/dist/field/features/format/common/floatingSelectToolbarSection.js +3 -3
  109. package/dist/field/features/format/inlinecode/feature.client.d.ts +3 -0
  110. package/dist/field/features/format/inlinecode/feature.client.d.ts.map +1 -0
  111. package/dist/field/features/format/inlinecode/feature.client.js +52 -0
  112. package/dist/field/features/format/inlinecode/feature.server.d.ts +3 -0
  113. package/dist/field/features/format/inlinecode/feature.server.d.ts.map +1 -0
  114. package/dist/field/features/format/inlinecode/feature.server.js +29 -0
  115. package/dist/field/features/format/inlinecode/markdownTransformers.d.ts.map +1 -0
  116. package/dist/field/features/format/inlinecode/markdownTransformers.js +19 -0
  117. package/dist/field/features/format/italic/feature.client.d.ts +3 -0
  118. package/dist/field/features/format/italic/feature.client.d.ts.map +1 -0
  119. package/dist/field/features/format/italic/feature.client.js +53 -0
  120. package/dist/field/features/format/italic/feature.server.d.ts +3 -0
  121. package/dist/field/features/format/italic/feature.server.d.ts.map +1 -0
  122. package/dist/field/features/format/italic/feature.server.js +30 -0
  123. package/dist/field/features/format/italic/markdownTransformers.d.ts.map +1 -0
  124. package/dist/field/features/format/italic/markdownTransformers.js +35 -0
  125. package/dist/field/features/format/strikethrough/feature.client.d.ts +3 -0
  126. package/dist/field/features/format/strikethrough/feature.client.d.ts.map +1 -0
  127. package/dist/field/features/format/strikethrough/feature.client.js +52 -0
  128. package/dist/field/features/format/strikethrough/feature.server.d.ts +3 -0
  129. package/dist/field/features/format/strikethrough/feature.server.d.ts.map +1 -0
  130. package/dist/field/features/format/strikethrough/feature.server.js +29 -0
  131. package/dist/field/features/format/strikethrough/markdownTransformers.js +3 -3
  132. package/dist/field/features/format/subscript/feature.client.d.ts +3 -0
  133. package/dist/field/features/format/subscript/feature.client.d.ts.map +1 -0
  134. package/dist/field/features/format/subscript/feature.client.js +48 -0
  135. package/dist/field/features/format/subscript/feature.server.d.ts +3 -0
  136. package/dist/field/features/format/subscript/feature.server.d.ts.map +1 -0
  137. package/dist/field/features/format/subscript/feature.server.js +25 -0
  138. package/dist/field/features/format/superscript/feature.client.d.ts +3 -0
  139. package/dist/field/features/format/superscript/feature.client.d.ts.map +1 -0
  140. package/dist/field/features/format/superscript/feature.client.js +48 -0
  141. package/dist/field/features/format/superscript/feature.server.d.ts +3 -0
  142. package/dist/field/features/format/superscript/feature.server.d.ts.map +1 -0
  143. package/dist/field/features/format/superscript/feature.server.js +25 -0
  144. package/dist/field/features/format/underline/feature.client.d.ts +3 -0
  145. package/dist/field/features/format/underline/feature.client.d.ts.map +1 -0
  146. package/dist/field/features/format/underline/feature.client.js +48 -0
  147. package/dist/field/features/format/underline/feature.server.d.ts +3 -0
  148. package/dist/field/features/format/underline/feature.server.d.ts.map +1 -0
  149. package/dist/field/features/format/underline/feature.server.js +25 -0
  150. package/dist/field/features/heading/feature.client.d.ts +4 -0
  151. package/dist/field/features/heading/feature.client.d.ts.map +1 -0
  152. package/dist/field/features/heading/feature.client.js +104 -0
  153. package/dist/field/features/heading/feature.server.d.ts +7 -0
  154. package/dist/field/features/heading/feature.server.d.ts.map +1 -0
  155. package/dist/field/features/heading/feature.server.js +67 -0
  156. package/dist/field/features/heading/markdownTransformer.d.ts.map +1 -0
  157. package/dist/field/features/heading/markdownTransformer.js +39 -0
  158. package/dist/field/features/indent/feature.client.d.ts +3 -0
  159. package/dist/field/features/indent/feature.client.d.ts.map +1 -0
  160. package/dist/field/features/indent/feature.client.js +67 -0
  161. package/dist/field/features/indent/feature.server.d.ts +3 -0
  162. package/dist/field/features/indent/feature.server.d.ts.map +1 -0
  163. package/dist/field/features/indent/feature.server.js +26 -0
  164. package/dist/field/features/indent/floatingSelectToolbarIndentSection.js +3 -3
  165. package/dist/field/features/link/drawer/baseFields.d.ts.map +1 -0
  166. package/dist/field/features/link/drawer/baseFields.js +128 -0
  167. package/dist/field/features/link/drawer/index.d.ts.map +1 -0
  168. package/dist/field/features/link/drawer/index.js +133 -0
  169. package/dist/field/features/link/drawer/index.scss +50 -0
  170. package/dist/field/features/link/drawer/types.d.ts +8 -0
  171. package/dist/field/features/link/drawer/types.d.ts.map +1 -0
  172. package/dist/field/features/link/feature.client.d.ts +5 -0
  173. package/dist/field/features/link/feature.client.d.ts.map +1 -0
  174. package/dist/field/features/link/feature.client.js +98 -0
  175. package/dist/field/features/link/feature.server.d.ts +33 -0
  176. package/dist/field/features/link/feature.server.d.ts.map +1 -0
  177. package/dist/field/features/link/feature.server.js +108 -0
  178. package/dist/field/features/link/nodes/AutoLinkNode.d.ts +16 -0
  179. package/dist/field/features/link/nodes/AutoLinkNode.d.ts.map +1 -0
  180. package/dist/field/features/link/nodes/AutoLinkNode.js +79 -0
  181. package/dist/field/features/link/nodes/LinkNode.d.ts +35 -0
  182. package/dist/field/features/link/nodes/LinkNode.d.ts.map +1 -0
  183. package/dist/field/features/link/nodes/LinkNode.js +326 -0
  184. package/dist/field/features/link/nodes/types.d.ts +19 -0
  185. package/dist/field/features/link/nodes/types.d.ts.map +1 -0
  186. package/dist/field/features/link/plugins/autoLink/index.d.ts +19 -0
  187. package/dist/field/features/link/plugins/autoLink/index.d.ts.map +1 -0
  188. package/dist/field/features/link/plugins/autoLink/index.js +336 -0
  189. package/dist/field/features/link/plugins/clickableLink/index.d.ts.map +1 -0
  190. package/dist/field/features/link/plugins/clickableLink/index.js +23 -0
  191. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +1 -0
  192. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js +14 -0
  193. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts +5 -0
  194. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -0
  195. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +293 -0
  196. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts +6 -0
  197. package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts.map +1 -0
  198. package/dist/field/features/link/plugins/floatingLinkEditor/index.js +64 -0
  199. package/dist/field/features/link/plugins/floatingLinkEditor/index.scss +78 -0
  200. package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts +13 -0
  201. package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts.map +1 -0
  202. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts +12 -0
  203. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +1 -0
  204. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js +45 -0
  205. package/dist/field/features/link/plugins/link/index.d.ts.map +1 -0
  206. package/dist/field/features/link/plugins/link/index.js +69 -0
  207. package/dist/field/features/link/populationPromise.d.ts +5 -0
  208. package/dist/field/features/link/populationPromise.d.ts.map +1 -0
  209. package/dist/field/features/link/populationPromise.js +56 -0
  210. package/dist/field/features/lists/checklist/feature.client.d.ts +3 -0
  211. package/dist/field/features/lists/checklist/feature.client.d.ts.map +1 -0
  212. package/dist/field/features/lists/checklist/feature.client.js +91 -0
  213. package/dist/field/features/lists/checklist/feature.server.d.ts +3 -0
  214. package/dist/field/features/lists/checklist/feature.server.d.ts.map +1 -0
  215. package/dist/field/features/lists/checklist/feature.server.js +45 -0
  216. package/dist/field/features/lists/checklist/markdownTransformers.d.ts.map +1 -0
  217. package/dist/field/features/lists/checklist/markdownTransformers.js +26 -0
  218. package/dist/field/features/lists/checklist/plugin/index.d.ts.map +1 -0
  219. package/dist/field/features/lists/checklist/plugin/index.js +23 -0
  220. package/dist/field/features/lists/common/markdown.js +1 -1
  221. package/dist/field/features/lists/htmlConverter.d.ts.map +1 -1
  222. package/dist/field/features/lists/htmlConverter.js +7 -5
  223. package/dist/field/features/lists/orderedlist/feature.client.d.ts +3 -0
  224. package/dist/field/features/lists/orderedlist/feature.client.d.ts.map +1 -0
  225. package/dist/field/features/lists/orderedlist/feature.client.js +81 -0
  226. package/dist/field/features/lists/orderedlist/feature.server.d.ts +3 -0
  227. package/dist/field/features/lists/orderedlist/feature.server.d.ts.map +1 -0
  228. package/dist/field/features/lists/orderedlist/feature.server.js +45 -0
  229. package/dist/field/features/lists/orderedlist/markdownTransformer.d.ts.map +1 -0
  230. package/dist/field/features/lists/orderedlist/markdownTransformer.js +26 -0
  231. package/dist/field/features/lists/unorderedlist/feature.client.d.ts +3 -0
  232. package/dist/field/features/lists/unorderedlist/feature.client.d.ts.map +1 -0
  233. package/dist/field/features/lists/unorderedlist/feature.client.js +81 -0
  234. package/dist/field/features/lists/unorderedlist/feature.server.d.ts +3 -0
  235. package/dist/field/features/lists/unorderedlist/feature.server.d.ts.map +1 -0
  236. package/dist/field/features/lists/unorderedlist/feature.server.js +45 -0
  237. package/dist/field/features/lists/unorderedlist/markdownTransformer.d.ts.map +1 -0
  238. package/dist/field/features/lists/unorderedlist/markdownTransformer.js +26 -0
  239. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +6 -0
  240. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +1 -0
  241. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js +16 -0
  242. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +3 -0
  243. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  244. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +30 -0
  245. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts +3 -0
  246. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +1 -0
  247. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +18 -0
  248. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +6 -0
  249. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +1 -0
  250. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js +16 -0
  251. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +3 -0
  252. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +1 -0
  253. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +41 -0
  254. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts +3 -0
  255. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +1 -0
  256. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js +18 -0
  257. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +6 -0
  258. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +1 -0
  259. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js +16 -0
  260. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +3 -0
  261. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +1 -0
  262. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +32 -0
  263. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts +3 -0
  264. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +1 -0
  265. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js +18 -0
  266. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +6 -0
  267. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +1 -0
  268. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js +16 -0
  269. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +3 -0
  270. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  271. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +32 -0
  272. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts +3 -0
  273. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +1 -0
  274. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +18 -0
  275. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +6 -0
  276. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +1 -0
  277. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js +16 -0
  278. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +3 -0
  279. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +1 -0
  280. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +30 -0
  281. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts +3 -0
  282. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +1 -0
  283. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +18 -0
  284. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +6 -0
  285. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +1 -0
  286. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js +16 -0
  287. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +3 -0
  288. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  289. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +36 -0
  290. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts +3 -0
  291. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +1 -0
  292. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +18 -0
  293. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +6 -0
  294. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +1 -0
  295. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js +16 -0
  296. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +3 -0
  297. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  298. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +35 -0
  299. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts +3 -0
  300. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +1 -0
  301. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +18 -0
  302. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +3 -0
  303. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +1 -0
  304. package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js +28 -0
  305. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts +17 -0
  306. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +1 -0
  307. package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.js +87 -0
  308. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts +31 -0
  309. package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +1 -0
  310. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts +3 -0
  311. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +1 -0
  312. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js +44 -0
  313. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts +9 -0
  314. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +1 -0
  315. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js +57 -0
  316. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  317. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +23 -0
  318. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  319. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +131 -0
  320. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.scss +14 -0
  321. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +6 -0
  322. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +1 -0
  323. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js +16 -0
  324. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +3 -0
  325. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +1 -0
  326. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.js +33 -0
  327. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts +3 -0
  328. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +1 -0
  329. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js +18 -0
  330. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts +6 -0
  331. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +1 -0
  332. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.js +16 -0
  333. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts +3 -0
  334. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +1 -0
  335. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.js +39 -0
  336. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts +3 -0
  337. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +1 -0
  338. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js +18 -0
  339. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts +6 -0
  340. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +1 -0
  341. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.js +16 -0
  342. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts +3 -0
  343. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +1 -0
  344. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.js +45 -0
  345. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts +3 -0
  346. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +1 -0
  347. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js +18 -0
  348. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts +6 -0
  349. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +1 -0
  350. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.js +16 -0
  351. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts +3 -0
  352. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +1 -0
  353. package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.js +40 -0
  354. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts +3 -0
  355. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +1 -0
  356. package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js +18 -0
  357. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts +6 -0
  358. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +1 -0
  359. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.js +16 -0
  360. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +3 -0
  361. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
  362. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.js +35 -0
  363. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts +3 -0
  364. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +1 -0
  365. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js +18 -0
  366. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +6 -0
  367. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +1 -0
  368. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.js +16 -0
  369. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +3 -0
  370. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +1 -0
  371. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.js +36 -0
  372. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts +3 -0
  373. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +1 -0
  374. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js +18 -0
  375. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts +6 -0
  376. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +1 -0
  377. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.js +16 -0
  378. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +3 -0
  379. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +1 -0
  380. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js +28 -0
  381. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts +3 -0
  382. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +1 -0
  383. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js +18 -0
  384. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts +6 -0
  385. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +1 -0
  386. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.js +16 -0
  387. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +3 -0
  388. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
  389. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.js +37 -0
  390. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts +3 -0
  391. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +1 -0
  392. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js +18 -0
  393. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +6 -0
  394. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +1 -0
  395. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.js +16 -0
  396. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +3 -0
  397. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +1 -0
  398. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js +36 -0
  399. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts +3 -0
  400. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +1 -0
  401. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js +18 -0
  402. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts +6 -0
  403. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +1 -0
  404. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.js +16 -0
  405. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts +3 -0
  406. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +1 -0
  407. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js +31 -0
  408. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts +3 -0
  409. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +1 -0
  410. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js +18 -0
  411. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts +3 -0
  412. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +1 -0
  413. package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.js +34 -0
  414. package/dist/field/features/migrations/slateToLexical/converter/index.d.ts +19 -0
  415. package/dist/field/features/migrations/slateToLexical/converter/index.d.ts.map +1 -0
  416. package/dist/field/features/migrations/slateToLexical/converter/index.js +134 -0
  417. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts +25 -0
  418. package/dist/field/features/migrations/slateToLexical/converter/types.d.ts.map +1 -0
  419. package/dist/field/features/migrations/slateToLexical/converter/types.js +6 -0
  420. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts +3 -0
  421. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts.map +1 -0
  422. package/dist/field/features/migrations/slateToLexical/feature.client.js +44 -0
  423. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts +9 -0
  424. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts.map +1 -0
  425. package/dist/field/features/migrations/slateToLexical/feature.server.js +57 -0
  426. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
  427. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +23 -0
  428. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
  429. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +131 -0
  430. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.scss +14 -0
  431. package/dist/field/features/paragraph/feature.client.d.ts +3 -0
  432. package/dist/field/features/paragraph/feature.client.d.ts.map +1 -0
  433. package/dist/field/features/paragraph/feature.client.js +73 -0
  434. package/dist/field/features/paragraph/feature.server.d.ts +3 -0
  435. package/dist/field/features/paragraph/feature.server.d.ts.map +1 -0
  436. package/dist/field/features/paragraph/feature.server.js +26 -0
  437. package/dist/field/features/relationship/drawer/commands.d.ts.map +1 -0
  438. package/dist/field/features/relationship/drawer/commands.js +14 -0
  439. package/dist/field/features/relationship/drawer/index.d.ts.map +1 -0
  440. package/dist/field/features/relationship/drawer/index.js +130 -0
  441. package/dist/field/features/relationship/feature.client.d.ts +4 -0
  442. package/dist/field/features/relationship/feature.client.d.ts.map +1 -0
  443. package/dist/field/features/relationship/feature.client.js +66 -0
  444. package/dist/field/features/relationship/feature.server.d.ts +18 -0
  445. package/dist/field/features/relationship/feature.server.d.ts.map +1 -0
  446. package/dist/field/features/relationship/feature.server.js +36 -0
  447. package/dist/field/features/relationship/nodes/RelationshipNode.d.ts.map +1 -0
  448. package/dist/field/features/relationship/nodes/RelationshipNode.js +172 -0
  449. package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts.map +1 -0
  450. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js +154 -0
  451. package/dist/field/features/relationship/nodes/components/index.scss +97 -0
  452. package/dist/field/features/relationship/plugins/index.d.ts +7 -0
  453. package/dist/field/features/relationship/plugins/index.d.ts.map +1 -0
  454. package/dist/field/features/relationship/plugins/index.js +107 -0
  455. package/dist/field/features/relationship/populationPromise.d.ts.map +1 -0
  456. package/dist/field/features/relationship/populationPromise.js +34 -0
  457. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +1 -0
  458. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js +84 -0
  459. package/dist/field/features/types.d.ts +139 -70
  460. package/dist/field/features/types.d.ts.map +1 -1
  461. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +1 -0
  462. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js +158 -0
  463. package/dist/field/features/upload/component/index.d.ts.map +1 -0
  464. package/dist/field/features/upload/component/index.js +186 -0
  465. package/dist/field/features/upload/component/index.scss +152 -0
  466. package/dist/field/features/upload/drawer/commands.d.ts.map +1 -0
  467. package/dist/field/features/upload/drawer/commands.js +15 -0
  468. package/dist/field/features/upload/drawer/index.d.ts.map +1 -0
  469. package/dist/field/features/upload/drawer/index.js +127 -0
  470. package/dist/field/features/upload/feature.client.d.ts +10 -0
  471. package/dist/field/features/upload/feature.client.d.ts.map +1 -0
  472. package/dist/field/features/upload/feature.client.js +65 -0
  473. package/dist/field/features/upload/feature.server.d.ts +12 -0
  474. package/dist/field/features/upload/feature.server.d.ts.map +1 -0
  475. package/dist/field/features/upload/feature.server.js +113 -0
  476. package/dist/field/features/upload/nodes/UploadNode.d.ts +47 -0
  477. package/dist/field/features/upload/nodes/UploadNode.d.ts.map +1 -0
  478. package/dist/field/features/upload/nodes/UploadNode.js +160 -0
  479. package/dist/field/features/upload/plugin/index.d.ts.map +1 -0
  480. package/dist/field/features/upload/plugin/index.js +111 -0
  481. package/dist/field/features/upload/populationPromise.d.ts +5 -0
  482. package/dist/field/features/upload/populationPromise.d.ts.map +1 -0
  483. package/dist/field/features/upload/populationPromise.js +56 -0
  484. package/dist/field/features/upload/validate.d.ts.map +1 -0
  485. package/dist/field/features/upload/validate.js +29 -0
  486. package/dist/field/index.d.ts +7 -2
  487. package/dist/field/index.d.ts.map +1 -1
  488. package/dist/field/index.js +77 -5
  489. package/dist/field/index.scss +2 -2
  490. package/dist/field/lexical/EditorPlugin.d.ts.map +1 -1
  491. package/dist/field/lexical/EditorPlugin.js +4 -12
  492. package/dist/field/lexical/LexicalEditor.js +2 -2
  493. package/dist/field/lexical/LexicalEditor.scss +1 -3
  494. package/dist/field/lexical/LexicalProvider.d.ts +8 -4
  495. package/dist/field/lexical/LexicalProvider.d.ts.map +1 -1
  496. package/dist/field/lexical/LexicalProvider.js +18 -20
  497. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts +24 -0
  498. package/dist/field/lexical/config/client/EditorConfigProvider.d.ts.map +1 -0
  499. package/dist/field/lexical/config/client/EditorConfigProvider.js +99 -0
  500. package/dist/field/lexical/config/client/default.d.ts +3 -0
  501. package/dist/field/lexical/config/client/default.d.ts.map +1 -0
  502. package/dist/field/lexical/config/client/default.js +18 -0
  503. package/dist/field/lexical/config/client/loader.d.ts +11 -0
  504. package/dist/field/lexical/config/client/loader.d.ts.map +1 -0
  505. package/dist/field/lexical/config/client/loader.js +53 -0
  506. package/dist/field/lexical/config/client/sanitize.d.ts +6 -0
  507. package/dist/field/lexical/config/client/sanitize.d.ts.map +1 -0
  508. package/dist/field/lexical/config/client/sanitize.js +144 -0
  509. package/dist/field/lexical/config/server/default.d.ts +8 -0
  510. package/dist/field/lexical/config/server/default.d.ts.map +1 -0
  511. package/dist/field/lexical/config/server/default.js +75 -0
  512. package/dist/field/lexical/config/server/loader.d.ts +7 -0
  513. package/dist/field/lexical/config/server/loader.d.ts.map +1 -0
  514. package/dist/field/lexical/config/server/loader.js +136 -0
  515. package/dist/field/lexical/config/server/sanitize.d.ts +5 -0
  516. package/dist/field/lexical/config/server/sanitize.d.ts.map +1 -0
  517. package/dist/field/lexical/config/server/sanitize.js +83 -0
  518. package/dist/field/lexical/config/types.d.ts +18 -9
  519. package/dist/field/lexical/config/types.d.ts.map +1 -1
  520. package/dist/field/lexical/nodes/index.d.ts +2 -2
  521. package/dist/field/lexical/nodes/index.d.ts.map +1 -1
  522. package/dist/field/lexical/nodes/index.js +7 -2
  523. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.scss +0 -2
  524. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.d.ts +3 -3
  525. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.d.ts.map +1 -1
  526. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.js +9 -9
  527. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.d.ts.map +1 -1
  528. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.js +8 -58
  529. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.scss +1 -1
  530. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.d.ts.map +1 -1
  531. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.js +8 -28
  532. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.scss +1 -1
  533. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.d.ts +4 -4
  534. package/dist/field/lexical/plugins/FloatingSelectToolbar/types.d.ts.map +1 -1
  535. package/dist/field/lexical/plugins/MarkdownShortcut/index.js +2 -2
  536. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +2 -2
  537. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +1 -1
  538. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +1 -8
  539. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +6 -6
  540. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +1 -1
  541. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js +1 -1
  542. package/dist/field/lexical/plugins/SlashMenu/index.d.ts.map +1 -1
  543. package/dist/field/lexical/plugins/SlashMenu/index.js +6 -13
  544. package/dist/field/lexical/plugins/SlashMenu/index.scss +1 -1
  545. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.scss +0 -2
  546. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.scss +0 -2
  547. package/dist/field/lexical/theme/EditorTheme.scss +0 -2
  548. package/dist/generateComponentMap.d.ts +6 -0
  549. package/dist/generateComponentMap.d.ts.map +1 -0
  550. package/dist/generateComponentMap.js +92 -0
  551. package/dist/generateSchemaMap.d.ts +6 -0
  552. package/dist/generateSchemaMap.d.ts.map +1 -0
  553. package/dist/generateSchemaMap.js +37 -0
  554. package/dist/index.d.ts +59 -56
  555. package/dist/index.d.ts.map +1 -1
  556. package/dist/index.js +138 -109
  557. package/dist/populate/defaultValue.js +6 -6
  558. package/dist/populate/recurseNestedFields.d.ts.map +1 -1
  559. package/dist/populate/recurseNestedFields.js +3 -1
  560. package/dist/populate/richTextRelationshipPromise.js +2 -2
  561. package/dist/scss/app.scss +209 -0
  562. package/dist/scss/colors.scss +269 -0
  563. package/dist/scss/custom.css +1 -0
  564. package/dist/scss/fonts.scss +75 -0
  565. package/dist/scss/queries.scss +27 -0
  566. package/dist/scss/resets.scss +17 -0
  567. package/dist/scss/styles.scss +11 -0
  568. package/dist/scss/svg.scss +10 -0
  569. package/dist/scss/toastify.scss +58 -0
  570. package/dist/scss/type.scss +117 -0
  571. package/dist/scss/vars.scss +220 -0
  572. package/dist/scss/z-index.scss +9 -0
  573. package/dist/types.d.ts +8 -2
  574. package/dist/types.d.ts.map +1 -1
  575. package/dist/useLexicalFeature.d.ts +3 -0
  576. package/dist/useLexicalFeature.d.ts.map +1 -0
  577. package/dist/useLexicalFeature.js +19 -0
  578. package/dist/validate/index.d.ts +4 -4
  579. package/dist/validate/index.d.ts.map +1 -1
  580. package/dist/validate/index.js +2 -3
  581. package/dist/validate/validateNodes.d.ts +2 -4
  582. package/dist/validate/validateNodes.d.ts.map +1 -1
  583. package/dist/validate/validateNodes.js +2 -4
  584. package/package.json +13 -7
  585. package/dist/field/features/BlockQuote/index.d.ts +0 -3
  586. package/dist/field/features/BlockQuote/index.d.ts.map +0 -1
  587. package/dist/field/features/BlockQuote/index.js +0 -140
  588. package/dist/field/features/BlockQuote/markdownTransformer.d.ts.map +0 -1
  589. package/dist/field/features/BlockQuote/markdownTransformer.js +0 -50
  590. package/dist/field/features/Blocks/component/BlockContent.d.ts +0 -20
  591. package/dist/field/features/Blocks/component/BlockContent.d.ts.map +0 -1
  592. package/dist/field/features/Blocks/component/BlockContent.js +0 -220
  593. package/dist/field/features/Blocks/component/FormSavePlugin.d.ts +0 -11
  594. package/dist/field/features/Blocks/component/FormSavePlugin.d.ts.map +0 -1
  595. package/dist/field/features/Blocks/component/FormSavePlugin.js +0 -34
  596. package/dist/field/features/Blocks/component/index.d.ts +0 -15
  597. package/dist/field/features/Blocks/component/index.d.ts.map +0 -1
  598. package/dist/field/features/Blocks/component/index.js +0 -150
  599. package/dist/field/features/Blocks/component/index.scss +0 -153
  600. package/dist/field/features/Blocks/drawer/index.d.ts.map +0 -1
  601. package/dist/field/features/Blocks/drawer/index.js +0 -140
  602. package/dist/field/features/Blocks/index.d.ts +0 -7
  603. package/dist/field/features/Blocks/index.d.ts.map +0 -1
  604. package/dist/field/features/Blocks/index.js +0 -147
  605. package/dist/field/features/Blocks/nodes/BlocksNode.d.ts.map +0 -1
  606. package/dist/field/features/Blocks/nodes/BlocksNode.js +0 -173
  607. package/dist/field/features/Blocks/plugin/commands.d.ts.map +0 -1
  608. package/dist/field/features/Blocks/plugin/commands.js +0 -14
  609. package/dist/field/features/Blocks/plugin/index.d.ts +0 -5
  610. package/dist/field/features/Blocks/plugin/index.d.ts.map +0 -1
  611. package/dist/field/features/Blocks/plugin/index.js +0 -91
  612. package/dist/field/features/Blocks/populationPromise.d.ts +0 -5
  613. package/dist/field/features/Blocks/populationPromise.d.ts.map +0 -1
  614. package/dist/field/features/Blocks/populationPromise.js +0 -55
  615. package/dist/field/features/Blocks/utils/transformInputFormData.d.ts +0 -11
  616. package/dist/field/features/Blocks/utils/transformInputFormData.d.ts.map +0 -1
  617. package/dist/field/features/Blocks/utils/transformInputFormData.js +0 -35
  618. package/dist/field/features/Blocks/utils/transformInputFormSchema.d.ts +0 -3
  619. package/dist/field/features/Blocks/utils/transformInputFormSchema.d.ts.map +0 -1
  620. package/dist/field/features/Blocks/utils/transformInputFormSchema.js +0 -43
  621. package/dist/field/features/Blocks/validate.d.ts +0 -5
  622. package/dist/field/features/Blocks/validate.d.ts.map +0 -1
  623. package/dist/field/features/Blocks/validate.js +0 -62
  624. package/dist/field/features/Heading/index.d.ts +0 -8
  625. package/dist/field/features/Heading/index.d.ts.map +0 -1
  626. package/dist/field/features/Heading/index.js +0 -164
  627. package/dist/field/features/Heading/markdownTransformer.d.ts.map +0 -1
  628. package/dist/field/features/Heading/markdownTransformer.js +0 -39
  629. package/dist/field/features/Link/drawer/baseFields.d.ts.map +0 -1
  630. package/dist/field/features/Link/drawer/baseFields.js +0 -128
  631. package/dist/field/features/Link/drawer/index.d.ts.map +0 -1
  632. package/dist/field/features/Link/drawer/index.js +0 -40
  633. package/dist/field/features/Link/drawer/index.scss +0 -50
  634. package/dist/field/features/Link/drawer/types.d.ts +0 -8
  635. package/dist/field/features/Link/drawer/types.d.ts.map +0 -1
  636. package/dist/field/features/Link/index.d.ts +0 -33
  637. package/dist/field/features/Link/index.d.ts.map +0 -1
  638. package/dist/field/features/Link/index.js +0 -201
  639. package/dist/field/features/Link/nodes/AutoLinkNode.d.ts +0 -16
  640. package/dist/field/features/Link/nodes/AutoLinkNode.d.ts.map +0 -1
  641. package/dist/field/features/Link/nodes/AutoLinkNode.js +0 -79
  642. package/dist/field/features/Link/nodes/LinkNode.d.ts +0 -50
  643. package/dist/field/features/Link/nodes/LinkNode.d.ts.map +0 -1
  644. package/dist/field/features/Link/nodes/LinkNode.js +0 -326
  645. package/dist/field/features/Link/plugins/autoLink/index.d.ts +0 -19
  646. package/dist/field/features/Link/plugins/autoLink/index.d.ts.map +0 -1
  647. package/dist/field/features/Link/plugins/autoLink/index.js +0 -336
  648. package/dist/field/features/Link/plugins/clickableLink/index.d.ts.map +0 -1
  649. package/dist/field/features/Link/plugins/clickableLink/index.js +0 -23
  650. package/dist/field/features/Link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +0 -1
  651. package/dist/field/features/Link/plugins/floatingLinkEditor/LinkEditor/commands.js +0 -14
  652. package/dist/field/features/Link/plugins/floatingLinkEditor/LinkEditor/index.d.ts +0 -6
  653. package/dist/field/features/Link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +0 -1
  654. package/dist/field/features/Link/plugins/floatingLinkEditor/LinkEditor/index.js +0 -336
  655. package/dist/field/features/Link/plugins/floatingLinkEditor/index.d.ts +0 -7
  656. package/dist/field/features/Link/plugins/floatingLinkEditor/index.d.ts.map +0 -1
  657. package/dist/field/features/Link/plugins/floatingLinkEditor/index.js +0 -65
  658. package/dist/field/features/Link/plugins/floatingLinkEditor/index.scss +0 -78
  659. package/dist/field/features/Link/plugins/floatingLinkEditor/types.d.ts +0 -13
  660. package/dist/field/features/Link/plugins/floatingLinkEditor/types.d.ts.map +0 -1
  661. package/dist/field/features/Link/plugins/floatingLinkEditor/utilities.d.ts +0 -12
  662. package/dist/field/features/Link/plugins/floatingLinkEditor/utilities.d.ts.map +0 -1
  663. package/dist/field/features/Link/plugins/floatingLinkEditor/utilities.js +0 -45
  664. package/dist/field/features/Link/plugins/link/index.d.ts.map +0 -1
  665. package/dist/field/features/Link/plugins/link/index.js +0 -69
  666. package/dist/field/features/Link/populationPromise.d.ts +0 -5
  667. package/dist/field/features/Link/populationPromise.d.ts.map +0 -1
  668. package/dist/field/features/Link/populationPromise.js +0 -56
  669. package/dist/field/features/Paragraph/index.d.ts +0 -3
  670. package/dist/field/features/Paragraph/index.d.ts.map +0 -1
  671. package/dist/field/features/Paragraph/index.js +0 -114
  672. package/dist/field/features/Relationship/drawer/commands.d.ts.map +0 -1
  673. package/dist/field/features/Relationship/drawer/commands.js +0 -14
  674. package/dist/field/features/Relationship/drawer/index.d.ts.map +0 -1
  675. package/dist/field/features/Relationship/drawer/index.js +0 -130
  676. package/dist/field/features/Relationship/index.d.ts +0 -18
  677. package/dist/field/features/Relationship/index.d.ts.map +0 -1
  678. package/dist/field/features/Relationship/index.js +0 -115
  679. package/dist/field/features/Relationship/nodes/RelationshipNode.d.ts.map +0 -1
  680. package/dist/field/features/Relationship/nodes/RelationshipNode.js +0 -172
  681. package/dist/field/features/Relationship/nodes/components/RelationshipComponent.d.ts.map +0 -1
  682. package/dist/field/features/Relationship/nodes/components/RelationshipComponent.js +0 -161
  683. package/dist/field/features/Relationship/nodes/components/index.scss +0 -97
  684. package/dist/field/features/Relationship/plugins/index.d.ts +0 -7
  685. package/dist/field/features/Relationship/plugins/index.d.ts.map +0 -1
  686. package/dist/field/features/Relationship/plugins/index.js +0 -107
  687. package/dist/field/features/Relationship/populationPromise.d.ts.map +0 -1
  688. package/dist/field/features/Relationship/populationPromise.js +0 -34
  689. package/dist/field/features/Relationship/utils/EnabledRelationshipsCondition.d.ts.map +0 -1
  690. package/dist/field/features/Relationship/utils/EnabledRelationshipsCondition.js +0 -84
  691. package/dist/field/features/Upload/component/ExtraFieldsDrawer/index.d.ts.map +0 -1
  692. package/dist/field/features/Upload/component/ExtraFieldsDrawer/index.js +0 -148
  693. package/dist/field/features/Upload/component/index.d.ts.map +0 -1
  694. package/dist/field/features/Upload/component/index.js +0 -191
  695. package/dist/field/features/Upload/component/index.scss +0 -152
  696. package/dist/field/features/Upload/drawer/commands.d.ts.map +0 -1
  697. package/dist/field/features/Upload/drawer/commands.js +0 -14
  698. package/dist/field/features/Upload/drawer/index.d.ts.map +0 -1
  699. package/dist/field/features/Upload/drawer/index.js +0 -127
  700. package/dist/field/features/Upload/index.d.ts +0 -11
  701. package/dist/field/features/Upload/index.d.ts.map +0 -1
  702. package/dist/field/features/Upload/index.js +0 -168
  703. package/dist/field/features/Upload/nodes/UploadNode.d.ts +0 -47
  704. package/dist/field/features/Upload/nodes/UploadNode.d.ts.map +0 -1
  705. package/dist/field/features/Upload/nodes/UploadNode.js +0 -160
  706. package/dist/field/features/Upload/plugin/index.d.ts.map +0 -1
  707. package/dist/field/features/Upload/plugin/index.js +0 -111
  708. package/dist/field/features/Upload/populationPromise.d.ts +0 -5
  709. package/dist/field/features/Upload/populationPromise.d.ts.map +0 -1
  710. package/dist/field/features/Upload/populationPromise.js +0 -56
  711. package/dist/field/features/Upload/validate.d.ts.map +0 -1
  712. package/dist/field/features/Upload/validate.js +0 -29
  713. package/dist/field/features/align/index.d.ts +0 -3
  714. package/dist/field/features/align/index.d.ts.map +0 -1
  715. package/dist/field/features/align/index.js +0 -121
  716. package/dist/field/features/converters/html/index.d.ts +0 -13
  717. package/dist/field/features/converters/html/index.d.ts.map +0 -1
  718. package/dist/field/features/converters/html/index.js +0 -25
  719. package/dist/field/features/debug/TestRecorder/index.d.ts +0 -3
  720. package/dist/field/features/debug/TestRecorder/index.d.ts.map +0 -1
  721. package/dist/field/features/debug/TestRecorder/index.js +0 -70
  722. package/dist/field/features/debug/TestRecorder/plugin/index.d.ts.map +0 -1
  723. package/dist/field/features/debug/TestRecorder/plugin/index.js +0 -500
  724. package/dist/field/features/debug/TestRecorder/plugin/index.scss +0 -51
  725. package/dist/field/features/debug/TreeView/index.d.ts +0 -3
  726. package/dist/field/features/debug/TreeView/index.d.ts.map +0 -1
  727. package/dist/field/features/debug/TreeView/index.js +0 -70
  728. package/dist/field/features/debug/TreeView/plugin.d.ts +0 -4
  729. package/dist/field/features/debug/TreeView/plugin.d.ts.map +0 -1
  730. package/dist/field/features/debug/TreeView/plugin.js +0 -70
  731. package/dist/field/features/format/Bold/index.d.ts +0 -3
  732. package/dist/field/features/format/Bold/index.d.ts.map +0 -1
  733. package/dist/field/features/format/Bold/index.js +0 -98
  734. package/dist/field/features/format/Bold/markdownTransformers.d.ts.map +0 -1
  735. package/dist/field/features/format/Bold/markdownTransformers.js +0 -58
  736. package/dist/field/features/format/InlineCode/index.d.ts +0 -3
  737. package/dist/field/features/format/InlineCode/index.d.ts.map +0 -1
  738. package/dist/field/features/format/InlineCode/index.js +0 -90
  739. package/dist/field/features/format/InlineCode/markdownTransformers.d.ts.map +0 -1
  740. package/dist/field/features/format/InlineCode/markdownTransformers.js +0 -19
  741. package/dist/field/features/format/Italic/index.d.ts +0 -3
  742. package/dist/field/features/format/Italic/index.d.ts.map +0 -1
  743. package/dist/field/features/format/Italic/index.js +0 -91
  744. package/dist/field/features/format/Italic/markdownTransformers.d.ts.map +0 -1
  745. package/dist/field/features/format/Italic/markdownTransformers.js +0 -35
  746. package/dist/field/features/format/strikethrough/index.d.ts +0 -3
  747. package/dist/field/features/format/strikethrough/index.d.ts.map +0 -1
  748. package/dist/field/features/format/strikethrough/index.js +0 -90
  749. package/dist/field/features/format/subscript/index.d.ts +0 -3
  750. package/dist/field/features/format/subscript/index.d.ts.map +0 -1
  751. package/dist/field/features/format/subscript/index.js +0 -86
  752. package/dist/field/features/format/superscript/index.d.ts +0 -3
  753. package/dist/field/features/format/superscript/index.d.ts.map +0 -1
  754. package/dist/field/features/format/superscript/index.js +0 -86
  755. package/dist/field/features/format/underline/index.d.ts +0 -3
  756. package/dist/field/features/format/underline/index.d.ts.map +0 -1
  757. package/dist/field/features/format/underline/index.js +0 -86
  758. package/dist/field/features/indent/index.d.ts +0 -3
  759. package/dist/field/features/indent/index.d.ts.map +0 -1
  760. package/dist/field/features/indent/index.js +0 -114
  761. package/dist/field/features/indent/plugin.d.ts +0 -3
  762. package/dist/field/features/indent/plugin.d.ts.map +0 -1
  763. package/dist/field/features/indent/plugin.js +0 -17
  764. package/dist/field/features/lists/CheckList/index.d.ts +0 -3
  765. package/dist/field/features/lists/CheckList/index.d.ts.map +0 -1
  766. package/dist/field/features/lists/CheckList/index.js +0 -135
  767. package/dist/field/features/lists/CheckList/markdownTransformers.d.ts.map +0 -1
  768. package/dist/field/features/lists/CheckList/markdownTransformers.js +0 -26
  769. package/dist/field/features/lists/CheckList/plugin/index.d.ts.map +0 -1
  770. package/dist/field/features/lists/CheckList/plugin/index.js +0 -23
  771. package/dist/field/features/lists/OrderedList/index.d.ts +0 -3
  772. package/dist/field/features/lists/OrderedList/index.d.ts.map +0 -1
  773. package/dist/field/features/lists/OrderedList/index.js +0 -133
  774. package/dist/field/features/lists/OrderedList/markdownTransformer.d.ts.map +0 -1
  775. package/dist/field/features/lists/OrderedList/markdownTransformer.js +0 -26
  776. package/dist/field/features/lists/UnorderedList/index.d.ts +0 -3
  777. package/dist/field/features/lists/UnorderedList/index.d.ts.map +0 -1
  778. package/dist/field/features/lists/UnorderedList/index.js +0 -133
  779. package/dist/field/features/lists/UnorderedList/markdownTransformer.d.ts.map +0 -1
  780. package/dist/field/features/lists/UnorderedList/markdownTransformer.js +0 -26
  781. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/heading.d.ts +0 -3
  782. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/heading.d.ts.map +0 -1
  783. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/heading.js +0 -30
  784. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/link.d.ts +0 -3
  785. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/link.d.ts.map +0 -1
  786. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/link.js +0 -41
  787. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/list.d.ts +0 -3
  788. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/list.d.ts.map +0 -1
  789. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/list.js +0 -32
  790. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/listItem.d.ts +0 -3
  791. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/listItem.d.ts.map +0 -1
  792. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/listItem.js +0 -32
  793. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/quote.d.ts +0 -3
  794. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/quote.d.ts.map +0 -1
  795. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/quote.js +0 -30
  796. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/unknown.d.ts +0 -3
  797. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/unknown.d.ts.map +0 -1
  798. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/unknown.js +0 -36
  799. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/upload.d.ts +0 -3
  800. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/upload.d.ts.map +0 -1
  801. package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/upload.js +0 -35
  802. package/dist/field/features/migrations/LexicalPluginToLexical/converter/defaultConverters.d.ts +0 -3
  803. package/dist/field/features/migrations/LexicalPluginToLexical/converter/defaultConverters.d.ts.map +0 -1
  804. package/dist/field/features/migrations/LexicalPluginToLexical/converter/defaultConverters.js +0 -28
  805. package/dist/field/features/migrations/LexicalPluginToLexical/converter/index.d.ts +0 -18
  806. package/dist/field/features/migrations/LexicalPluginToLexical/converter/index.d.ts.map +0 -1
  807. package/dist/field/features/migrations/LexicalPluginToLexical/converter/index.js +0 -90
  808. package/dist/field/features/migrations/LexicalPluginToLexical/converter/types.d.ts +0 -20
  809. package/dist/field/features/migrations/LexicalPluginToLexical/converter/types.d.ts.map +0 -1
  810. package/dist/field/features/migrations/LexicalPluginToLexical/index.d.ts +0 -10
  811. package/dist/field/features/migrations/LexicalPluginToLexical/index.d.ts.map +0 -1
  812. package/dist/field/features/migrations/LexicalPluginToLexical/index.js +0 -50
  813. package/dist/field/features/migrations/LexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  814. package/dist/field/features/migrations/LexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +0 -23
  815. package/dist/field/features/migrations/LexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  816. package/dist/field/features/migrations/LexicalPluginToLexical/nodes/unknownConvertedNode/index.js +0 -131
  817. package/dist/field/features/migrations/LexicalPluginToLexical/nodes/unknownConvertedNode/index.scss +0 -16
  818. package/dist/field/features/migrations/SlateToLexical/converter/converters/blockquote.d.ts +0 -3
  819. package/dist/field/features/migrations/SlateToLexical/converter/converters/blockquote.d.ts.map +0 -1
  820. package/dist/field/features/migrations/SlateToLexical/converter/converters/blockquote.js +0 -33
  821. package/dist/field/features/migrations/SlateToLexical/converter/converters/heading.d.ts +0 -3
  822. package/dist/field/features/migrations/SlateToLexical/converter/converters/heading.d.ts.map +0 -1
  823. package/dist/field/features/migrations/SlateToLexical/converter/converters/heading.js +0 -39
  824. package/dist/field/features/migrations/SlateToLexical/converter/converters/indent.d.ts +0 -3
  825. package/dist/field/features/migrations/SlateToLexical/converter/converters/indent.d.ts.map +0 -1
  826. package/dist/field/features/migrations/SlateToLexical/converter/converters/indent.js +0 -57
  827. package/dist/field/features/migrations/SlateToLexical/converter/converters/link.d.ts +0 -3
  828. package/dist/field/features/migrations/SlateToLexical/converter/converters/link.d.ts.map +0 -1
  829. package/dist/field/features/migrations/SlateToLexical/converter/converters/link.js +0 -40
  830. package/dist/field/features/migrations/SlateToLexical/converter/converters/listItem.d.ts +0 -3
  831. package/dist/field/features/migrations/SlateToLexical/converter/converters/listItem.d.ts.map +0 -1
  832. package/dist/field/features/migrations/SlateToLexical/converter/converters/listItem.js +0 -35
  833. package/dist/field/features/migrations/SlateToLexical/converter/converters/orderedList.d.ts +0 -3
  834. package/dist/field/features/migrations/SlateToLexical/converter/converters/orderedList.d.ts.map +0 -1
  835. package/dist/field/features/migrations/SlateToLexical/converter/converters/orderedList.js +0 -36
  836. package/dist/field/features/migrations/SlateToLexical/converter/converters/relationship.d.ts +0 -3
  837. package/dist/field/features/migrations/SlateToLexical/converter/converters/relationship.d.ts.map +0 -1
  838. package/dist/field/features/migrations/SlateToLexical/converter/converters/relationship.js +0 -28
  839. package/dist/field/features/migrations/SlateToLexical/converter/converters/unknown.d.ts +0 -3
  840. package/dist/field/features/migrations/SlateToLexical/converter/converters/unknown.d.ts.map +0 -1
  841. package/dist/field/features/migrations/SlateToLexical/converter/converters/unknown.js +0 -37
  842. package/dist/field/features/migrations/SlateToLexical/converter/converters/unorderedList.d.ts +0 -3
  843. package/dist/field/features/migrations/SlateToLexical/converter/converters/unorderedList.d.ts.map +0 -1
  844. package/dist/field/features/migrations/SlateToLexical/converter/converters/unorderedList.js +0 -36
  845. package/dist/field/features/migrations/SlateToLexical/converter/converters/upload.d.ts +0 -3
  846. package/dist/field/features/migrations/SlateToLexical/converter/converters/upload.d.ts.map +0 -1
  847. package/dist/field/features/migrations/SlateToLexical/converter/converters/upload.js +0 -31
  848. package/dist/field/features/migrations/SlateToLexical/converter/defaultConverters.d.ts +0 -3
  849. package/dist/field/features/migrations/SlateToLexical/converter/defaultConverters.d.ts.map +0 -1
  850. package/dist/field/features/migrations/SlateToLexical/converter/defaultConverters.js +0 -34
  851. package/dist/field/features/migrations/SlateToLexical/converter/index.d.ts +0 -19
  852. package/dist/field/features/migrations/SlateToLexical/converter/index.d.ts.map +0 -1
  853. package/dist/field/features/migrations/SlateToLexical/converter/index.js +0 -131
  854. package/dist/field/features/migrations/SlateToLexical/converter/types.d.ts +0 -16
  855. package/dist/field/features/migrations/SlateToLexical/converter/types.d.ts.map +0 -1
  856. package/dist/field/features/migrations/SlateToLexical/index.d.ts +0 -10
  857. package/dist/field/features/migrations/SlateToLexical/index.d.ts.map +0 -1
  858. package/dist/field/features/migrations/SlateToLexical/index.js +0 -50
  859. package/dist/field/features/migrations/SlateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
  860. package/dist/field/features/migrations/SlateToLexical/nodes/unknownConvertedNode/Component.js +0 -23
  861. package/dist/field/features/migrations/SlateToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
  862. package/dist/field/features/migrations/SlateToLexical/nodes/unknownConvertedNode/index.js +0 -131
  863. package/dist/field/features/migrations/SlateToLexical/nodes/unknownConvertedNode/index.scss +0 -16
  864. package/dist/field/lexical/config/EditorConfigProvider.d.ts +0 -16
  865. package/dist/field/lexical/config/EditorConfigProvider.d.ts.map +0 -1
  866. package/dist/field/lexical/config/EditorConfigProvider.js +0 -99
  867. package/dist/field/lexical/config/default.d.ts +0 -6
  868. package/dist/field/lexical/config/default.d.ts.map +0 -1
  869. package/dist/field/lexical/config/default.js +0 -112
  870. package/dist/field/lexical/config/defaultClient.d.ts +0 -3
  871. package/dist/field/lexical/config/defaultClient.d.ts.map +0 -1
  872. package/dist/field/lexical/config/defaultClient.js +0 -17
  873. package/dist/field/lexical/config/loader.d.ts +0 -7
  874. package/dist/field/lexical/config/loader.d.ts.map +0 -1
  875. package/dist/field/lexical/config/loader.js +0 -133
  876. package/dist/field/lexical/config/sanitize.d.ts +0 -5
  877. package/dist/field/lexical/config/sanitize.d.ts.map +0 -1
  878. package/dist/field/lexical/config/sanitize.js +0 -170
  879. /package/dist/field/features/{BlockQuote → blockquote}/markdownTransformer.d.ts +0 -0
  880. /package/dist/field/features/{Blocks → blocks}/drawer/index.d.ts +0 -0
  881. /package/dist/field/features/{Blocks → blocks}/nodes/BlocksNode.d.ts +0 -0
  882. /package/dist/field/features/{Blocks → blocks}/plugin/commands.d.ts +0 -0
  883. /package/dist/field/features/debug/{TestRecorder → testrecorder}/plugin/index.d.ts +0 -0
  884. /package/dist/field/features/debug/{TreeView → treeview/plugin}/index.scss +0 -0
  885. /package/dist/field/features/format/{Bold → bold}/markdownTransformers.d.ts +0 -0
  886. /package/dist/field/features/format/{InlineCode → inlinecode}/markdownTransformers.d.ts +0 -0
  887. /package/dist/field/features/format/{Italic → italic}/markdownTransformers.d.ts +0 -0
  888. /package/dist/field/features/{Heading → heading}/markdownTransformer.d.ts +0 -0
  889. /package/dist/field/features/{Link → link}/drawer/baseFields.d.ts +0 -0
  890. /package/dist/field/features/{Link → link}/drawer/index.d.ts +0 -0
  891. /package/dist/field/features/{Link → link}/drawer/types.js +0 -0
  892. /package/dist/field/features/{Link/plugins/floatingLinkEditor → link/nodes}/types.js +0 -0
  893. /package/dist/field/features/{Link → link}/plugins/clickableLink/index.d.ts +0 -0
  894. /package/dist/field/features/{Link → link}/plugins/floatingLinkEditor/LinkEditor/commands.d.ts +0 -0
  895. /package/dist/field/features/{migrations/LexicalPluginToLexical/converter → link/plugins/floatingLinkEditor}/types.js +0 -0
  896. /package/dist/field/features/{Link → link}/plugins/link/index.d.ts +0 -0
  897. /package/dist/field/features/lists/{CheckList → checklist}/markdownTransformers.d.ts +0 -0
  898. /package/dist/field/features/lists/{CheckList → checklist}/plugin/index.d.ts +0 -0
  899. /package/dist/field/features/lists/{OrderedList → orderedlist}/markdownTransformer.d.ts +0 -0
  900. /package/dist/field/features/lists/{UnorderedList → unorderedlist}/markdownTransformer.d.ts +0 -0
  901. /package/dist/field/features/migrations/{SlateToLexical → lexicalPluginToLexical}/converter/types.js +0 -0
  902. /package/dist/field/features/migrations/{LexicalPluginToLexical → lexicalPluginToLexical}/nodes/unknownConvertedNode/Component.d.ts +0 -0
  903. /package/dist/field/features/migrations/{LexicalPluginToLexical → lexicalPluginToLexical}/nodes/unknownConvertedNode/index.d.ts +0 -0
  904. /package/dist/field/features/migrations/{SlateToLexical → slateToLexical}/nodes/unknownConvertedNode/Component.d.ts +0 -0
  905. /package/dist/field/features/migrations/{SlateToLexical → slateToLexical}/nodes/unknownConvertedNode/index.d.ts +0 -0
  906. /package/dist/field/features/{Relationship → relationship}/drawer/commands.d.ts +0 -0
  907. /package/dist/field/features/{Relationship → relationship}/drawer/index.d.ts +0 -0
  908. /package/dist/field/features/{Relationship → relationship}/nodes/RelationshipNode.d.ts +0 -0
  909. /package/dist/field/features/{Relationship → relationship}/nodes/components/RelationshipComponent.d.ts +0 -0
  910. /package/dist/field/features/{Relationship → relationship}/populationPromise.d.ts +0 -0
  911. /package/dist/field/features/{Relationship → relationship}/utils/EnabledRelationshipsCondition.d.ts +0 -0
  912. /package/dist/field/features/{Upload → upload}/component/ExtraFieldsDrawer/index.d.ts +0 -0
  913. /package/dist/field/features/{Upload → upload}/component/index.d.ts +0 -0
  914. /package/dist/field/features/{Upload → upload}/drawer/commands.d.ts +0 -0
  915. /package/dist/field/features/{Upload → upload}/drawer/index.d.ts +0 -0
  916. /package/dist/field/features/{Upload → upload}/plugin/index.d.ts +0 -0
  917. /package/dist/field/features/{Upload → upload}/validate.d.ts +0 -0
@@ -1,90 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- Object.defineProperty(exports, "StrikethroughTextFeature", {
6
- enumerable: true,
7
- get: function() {
8
- return StrikethroughTextFeature;
9
- }
10
- });
11
- const _lexical = require("lexical");
12
- const _floatingSelectToolbarSection = require("../common/floatingSelectToolbarSection");
13
- const _markdownTransformers = require("./markdownTransformers");
14
- function _getRequireWildcardCache(nodeInterop) {
15
- if (typeof WeakMap !== "function") return null;
16
- var cacheBabelInterop = new WeakMap();
17
- var cacheNodeInterop = new WeakMap();
18
- return (_getRequireWildcardCache = function(nodeInterop) {
19
- return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
20
- })(nodeInterop);
21
- }
22
- function _interop_require_wildcard(obj, nodeInterop) {
23
- if (!nodeInterop && obj && obj.__esModule) {
24
- return obj;
25
- }
26
- if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
27
- return {
28
- default: obj
29
- };
30
- }
31
- var cache = _getRequireWildcardCache(nodeInterop);
32
- if (cache && cache.has(obj)) {
33
- return cache.get(obj);
34
- }
35
- var newObj = {
36
- __proto__: null
37
- };
38
- var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
39
- for(var key in obj){
40
- if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
41
- var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
42
- if (desc && (desc.get || desc.set)) {
43
- Object.defineProperty(newObj, key, desc);
44
- } else {
45
- newObj[key] = obj[key];
46
- }
47
- }
48
- }
49
- newObj.default = obj;
50
- if (cache) {
51
- cache.set(obj, newObj);
52
- }
53
- return newObj;
54
- }
55
- const StrikethroughTextFeature = ()=>{
56
- return {
57
- feature: ()=>{
58
- return {
59
- floatingSelectToolbar: {
60
- sections: [
61
- (0, _floatingSelectToolbarSection.SectionWithEntries)([
62
- {
63
- ChildComponent: ()=>// @ts-expect-error
64
- Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require("../../../lexical/ui/icons/Strikethrough"))).then((module)=>module.StrikethroughIcon),
65
- isActive: ({ selection })=>{
66
- if ((0, _lexical.$isRangeSelection)(selection)) {
67
- return selection.hasFormat('strikethrough');
68
- }
69
- return false;
70
- },
71
- key: 'strikethrough',
72
- onClick: ({ editor })=>{
73
- editor.dispatchCommand(_lexical.FORMAT_TEXT_COMMAND, 'strikethrough');
74
- },
75
- order: 4
76
- }
77
- ])
78
- ]
79
- },
80
- markdownTransformers: [
81
- _markdownTransformers.STRIKETHROUGH
82
- ],
83
- props: null
84
- };
85
- },
86
- key: 'strikethrough'
87
- };
88
- };
89
-
90
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9mb3JtYXQvc3RyaWtldGhyb3VnaC9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyAkaXNSYW5nZVNlbGVjdGlvbiwgRk9STUFUX1RFWFRf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ZUFBQUE7Ozt5QkFQMEM7OENBSXBCO3NDQUNMOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFFdkIsTUFBTUEsMkJBQTJCO0lBQ3RDLE9BQU87UUFDTEMsU0FBUztZQUNQLE9BQU87Z0JBQ0xDLHVCQUF1QjtvQkFDckJDLFVBQVU7d0JBQ1JDLElBQUFBLGdEQUFrQixFQUFDOzRCQUNqQjtnQ0FDRUMsZ0JBQWdCLElBQ2QsbUJBQW1CO29DQUNuQixtRUFBQSxRQUFPLDZDQUEyQ0MsSUFBSSxDQUNwRCxDQUFDQyxTQUFXQSxPQUFPQyxpQkFBaUI7Z0NBRXhDQyxVQUFVLENBQUMsRUFBRUMsU0FBUyxFQUFFO29DQUN0QixJQUFJQyxJQUFBQSwwQkFBaUIsRUFBQ0QsWUFBWTt3Q0FDaEMsT0FBT0EsVUFBVUUsU0FBUyxDQUFDO29DQUM3QjtvQ0FDQSxPQUFPO2dDQUNUO2dDQUNBQyxLQUFLO2dDQUNMQyxTQUFTLENBQUMsRUFBRUMsTUFBTSxFQUFFO29DQUNsQkEsT0FBT0MsZUFBZSxDQUFDQyw0QkFBbUIsRUFBRTtnQ0FDOUM7Z0NBQ0FDLE9BQU87NEJBQ1Q7eUJBQ0Q7cUJBQ0Y7Z0JBQ0g7Z0JBQ0FDLHNCQUFzQjtvQkFBQ0MsbUNBQWE7aUJBQUM7Z0JBQ3JDQyxPQUFPO1lBQ1Q7UUFDRjtRQUNBUixLQUFLO0lBQ1A7QUFDRiJ9
@@ -1,3 +0,0 @@
1
- import type { FeatureProvider } from '../../types';
2
- export declare const SubscriptTextFeature: () => FeatureProvider;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/field/features/format/subscript/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAIlD,eAAO,MAAM,oBAAoB,QAAO,eAiCvC,CAAA"}
@@ -1,86 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- Object.defineProperty(exports, "SubscriptTextFeature", {
6
- enumerable: true,
7
- get: function() {
8
- return SubscriptTextFeature;
9
- }
10
- });
11
- const _lexical = require("lexical");
12
- const _floatingSelectToolbarSection = require("../common/floatingSelectToolbarSection");
13
- function _getRequireWildcardCache(nodeInterop) {
14
- if (typeof WeakMap !== "function") return null;
15
- var cacheBabelInterop = new WeakMap();
16
- var cacheNodeInterop = new WeakMap();
17
- return (_getRequireWildcardCache = function(nodeInterop) {
18
- return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
19
- })(nodeInterop);
20
- }
21
- function _interop_require_wildcard(obj, nodeInterop) {
22
- if (!nodeInterop && obj && obj.__esModule) {
23
- return obj;
24
- }
25
- if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
26
- return {
27
- default: obj
28
- };
29
- }
30
- var cache = _getRequireWildcardCache(nodeInterop);
31
- if (cache && cache.has(obj)) {
32
- return cache.get(obj);
33
- }
34
- var newObj = {
35
- __proto__: null
36
- };
37
- var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
38
- for(var key in obj){
39
- if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
40
- var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
41
- if (desc && (desc.get || desc.set)) {
42
- Object.defineProperty(newObj, key, desc);
43
- } else {
44
- newObj[key] = obj[key];
45
- }
46
- }
47
- }
48
- newObj.default = obj;
49
- if (cache) {
50
- cache.set(obj, newObj);
51
- }
52
- return newObj;
53
- }
54
- const SubscriptTextFeature = ()=>{
55
- return {
56
- feature: ()=>{
57
- return {
58
- floatingSelectToolbar: {
59
- sections: [
60
- (0, _floatingSelectToolbarSection.SectionWithEntries)([
61
- {
62
- ChildComponent: ()=>// @ts-expect-error
63
- Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require("../../../lexical/ui/icons/Subscript"))).then((module)=>module.SubscriptIcon),
64
- isActive: ({ selection })=>{
65
- if ((0, _lexical.$isRangeSelection)(selection)) {
66
- return selection.hasFormat('subscript');
67
- }
68
- return false;
69
- },
70
- key: 'subscript',
71
- onClick: ({ editor })=>{
72
- editor.dispatchCommand(_lexical.FORMAT_TEXT_COMMAND, 'subscript');
73
- },
74
- order: 5
75
- }
76
- ])
77
- ]
78
- },
79
- props: null
80
- };
81
- },
82
- key: 'subscript'
83
- };
84
- };
85
-
86
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9mb3JtYXQvc3Vic2NyaXB0L2luZGV4LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7ICRpc1JhbmdlU2VsZWN0aW9uLCBGT1JNQVRfVEVYVF9DT01NQU5EIH0gZnJvbSAnbGV4aWNhbCdcblxuaW1wb3J0IHR5cGUgeyBGZWF0dXJlUHJvdmlkZXIgfSBmcm9tICcuLi8uLi90eXBlcydcblxuaW1wb3J0IHsgU2VjdGlvbldpdGhFbnRyaWVzIH0gZnJvbSAnLi4vY29tbW9uL2Zsb2F0aW5nU2VsZWN0VG9vbGJhclNlY3Rpb24nXG5cbmV4cG9ydCBjb25zdCBTdWJzY3JpcHRUZXh0RmVhdHVyZSA9ICgpOiBGZWF0dXJlUHJvdmlkZXIgPT4ge1xuICByZXR1cm4ge1xuICAgIGZlYXR1cmU6ICgpID0+IHtcbiAgICAgIHJldHVybiB7XG4gICAgICAgIGZsb2F0aW5nU2VsZWN0VG9vbGJhcjoge1xuICAgICAgICAgIHNlY3Rpb25zOiBbXG4gICAgICAgICAgICBTZWN0aW9uV2l0aEVudHJpZXMoW1xuICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgQ2hpbGRDb21wb25lbnQ6ICgpID0+XG4gICAgICAgICAgICAgICAgICAvLyBAdHMtZXhwZWN0LWVycm9yXG4gICAgICAgICAgICAgICAgICBpbXBvcnQoJy4uLy4uLy4uL2xleGljYWwvdWkvaWNvbnMvU3Vic2NyaXB0JykudGhlbihcbiAgICAgICAgICAgICAgICAgICAgKG1vZHVsZSkgPT4gbW9kdWxlLlN1YnNjcmlwdEljb24sXG4gICAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgIGlzQWN0aXZlOiAoeyBzZWxlY3Rpb24gfSkgPT4ge1xuICAgICAgICAgICAgICAgICAgaWYgKCRpc1JhbmdlU2VsZWN0aW9uKHNlbGVjdGlvbikpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHNlbGVjdGlvbi5oYXNGb3JtYXQoJ3N1YnNjcmlwdCcpXG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2VcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIGtleTogJ3N1YnNjcmlwdCcsXG4gICAgICAgICAgICAgICAgb25DbGljazogKHsgZWRpdG9yIH0pID0+IHtcbiAgICAgICAgICAgICAgICAgIGVkaXRvci5kaXNwYXRjaENvbW1hbmQoRk9STUFUX1RFWFRfQ09NTUFORCwgJ3N1YnNjcmlwdCcpXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICBvcmRlcjogNSxcbiAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIF0pLFxuICAgICAgICAgIF0sXG4gICAgICAgIH0sXG4gICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgfVxuICAgIH0sXG4gICAga2V5OiAnc3Vic2NyaXB0JyxcbiAgfVxufVxuIl0sIm5hbWVzIjpbIlN1YnNjcmlwdFRleHRGZWF0dXJlIiwiZmVhdHVyZSIsImZsb2F0aW5nU2VsZWN0VG9vbGJhciIsInNlY3Rpb25zIiwiU2VjdGlvb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RQUNBTixLQUFLO0lBQ1A7QUFDRiJ9
@@ -1,3 +0,0 @@
1
- import type { FeatureProvider } from '../../types';
2
- export declare const SuperscriptTextFeature: () => FeatureProvider;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/field/features/format/superscript/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAIlD,eAAO,MAAM,sBAAsB,QAAO,eAiCzC,CAAA"}
@@ -1,86 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- Object.defineProperty(exports, "SuperscriptTextFeature", {
6
- enumerable: true,
7
- get: function() {
8
- return SuperscriptTextFeature;
9
- }
10
- });
11
- const _lexical = require("lexical");
12
- const _floatingSelectToolbarSection = require("../common/floatingSelectToolbarSection");
13
- function _getRequireWildcardCache(nodeInterop) {
14
- if (typeof WeakMap !== "function") return null;
15
- var cacheBabelInterop = new WeakMap();
16
- var cacheNodeInterop = new WeakMap();
17
- return (_getRequireWildcardCache = function(nodeInterop) {
18
- return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
19
- })(nodeInterop);
20
- }
21
- function _interop_require_wildcard(obj, nodeInterop) {
22
- if (!nodeInterop && obj && obj.__esModule) {
23
- return obj;
24
- }
25
- if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
26
- return {
27
- default: obj
28
- };
29
- }
30
- var cache = _getRequireWildcardCache(nodeInterop);
31
- if (cache && cache.has(obj)) {
32
- return cache.get(obj);
33
- }
34
- var newObj = {
35
- __proto__: null
36
- };
37
- var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
38
- for(var key in obj){
39
- if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
40
- var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
41
- if (desc && (desc.get || desc.set)) {
42
- Object.defineProperty(newObj, key, desc);
43
- } else {
44
- newObj[key] = obj[key];
45
- }
46
- }
47
- }
48
- newObj.default = obj;
49
- if (cache) {
50
- cache.set(obj, newObj);
51
- }
52
- return newObj;
53
- }
54
- const SuperscriptTextFeature = ()=>{
55
- return {
56
- feature: ()=>{
57
- return {
58
- floatingSelectToolbar: {
59
- sections: [
60
- (0, _floatingSelectToolbarSection.SectionWithEntries)([
61
- {
62
- ChildComponent: ()=>// @ts-expect-error
63
- Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require("../../../lexical/ui/icons/Superscript"))).then((module)=>module.SuperscriptIcon),
64
- isActive: ({ selection })=>{
65
- if ((0, _lexical.$isRangeSelection)(selection)) {
66
- return selection.hasFormat('superscript');
67
- }
68
- return false;
69
- },
70
- key: 'superscript',
71
- onClick: ({ editor })=>{
72
- editor.dispatchCommand(_lexical.FORMAT_TEXT_COMMAND, 'superscript');
73
- },
74
- order: 6
75
- }
76
- ])
77
- ]
78
- },
79
- props: null
80
- };
81
- },
82
- key: 'superscript'
83
- };
84
- };
85
-
86
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9mb3JtYXQvc3VwZXJzY3JpcHQvaW5kZXgudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgJGlzUmFuZ2VTZWxlY3Rpb24sIEZPUk1BVF9URVhUX0NPTU1BTkQgfSBmcm9tICdsZXhpY2FsJ1xuXG5pbXBvcnQgdHlwZSB7IEZlYXR1cmVQcm92aWRlciB9IGZyb20gJy4uLy4uL3R5cGVzJ1xuXG5pbXBvcnQgeyBTZWN0aW9uV2l0aEVudHJpZXMgfSBmcm9tICcuLi9jb21tb24vZmxvYXRpbmdTZWxlY3RUb29sYmFyU2VjdGlvbidcblxuZXhwb3J0IGNvbnN0IFN1cGVyc2NyaXB0VGV4dEZlYXR1cmUgPSAoKTogRmVhdHVyZVByb3ZpZGVyID0+IHtcbiAgcmV0dXJuIHtcbiAgICBmZWF0dXJlOiAoKSA9PiB7XG4gICAgICByZXR1cm4ge1xuICAgICAgICBmbG9hdGluZ1NlbGVjdFRvb2xiYXI6IHtcbiAgICAgICAgICBzZWN0aW9uczogW1xuICAgICAgICAgICAgU2VjdGlvbldpdGhFbnRyaWVzKFtcbiAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIENoaWxkQ29tcG9uZW50OiAoKSA9PlxuICAgICAgICAgICAgICAgICAgLy8gQHRzLWV4cGVjdC1lcnJvclxuICAgICAgICAgICAgICAgICAgaW1wb3J0KCcuLi8uLi8uLi9sZXhpY2FsL3VpL2ljb25zL1N1cGVyc2NyaXB0JykudGhlbihcbiAgICAgICAgICAgICAgICAgICAgKG1vZHVsZSkgPT4gbW9kdWxlLlN1cGVyc2NyaXB0SWNvbixcbiAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgaXNBY3RpdmU6ICh7IHNlbGVjdGlvbiB9KSA9PiB7XG4gICAgICAgICAgICAgICAgICBpZiAoJGlzUmFuZ2VTZWxlY3Rpb24oc2VsZWN0aW9uKSkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gc2VsZWN0aW9uLmhhc0Zvcm1hdCgnc3VwZXJzY3JpcHQnKVxuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICBrZXk6ICdzdXBlcnNjcmlwdCcsXG4gICAgICAgICAgICAgICAgb25DbGljazogKHsgZWRpdG9yIH0pID0+IHtcbiAgICAgICAgICAgICAgICAgIGVkaXRvci5kaXNwYXRjaENvbW1hbmQoRk9STUFUX1RFWFRfQ09NTUFORCwgJ3N1cGVyc2NyaXB0JylcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIG9yZGVyOiA2LFxuICAgICA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T0EsVUFBVUUsU0FBUyxDQUFDO29DQUM3QjtvQ0FDQSxPQUFPO2dDQUNUO2dDQUNBQyxLQUFLO2dDQUNMQyxTQUFTLENBQUMsRUFBRUMsTUFBTSxFQUFFO29DQUNsQkEsT0FBT0MsZUFBZSxDQUFDQyw0QkFBbUIsRUFBRTtnQ0FDOUM7Z0NBQ0FDLE9BQU87NEJBQ1Q7eUJBQ0Q7cUJBQ0Y7Z0JBQ0g7Z0JBQ0FDLE9BQU87WUFDVDtRQUNGO1FBQ0FOLEtBQUs7SUFDUDtBQUNGIn0=
@@ -1,3 +0,0 @@
1
- import type { FeatureProvider } from '../../types';
2
- export declare const UnderlineTextFeature: () => FeatureProvider;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/field/features/format/underline/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAIlD,eAAO,MAAM,oBAAoB,QAAO,eAiCvC,CAAA"}
@@ -1,86 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- Object.defineProperty(exports, "UnderlineTextFeature", {
6
- enumerable: true,
7
- get: function() {
8
- return UnderlineTextFeature;
9
- }
10
- });
11
- const _lexical = require("lexical");
12
- const _floatingSelectToolbarSection = require("../common/floatingSelectToolbarSection");
13
- function _getRequireWildcardCache(nodeInterop) {
14
- if (typeof WeakMap !== "function") return null;
15
- var cacheBabelInterop = new WeakMap();
16
- var cacheNodeInterop = new WeakMap();
17
- return (_getRequireWildcardCache = function(nodeInterop) {
18
- return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
19
- })(nodeInterop);
20
- }
21
- function _interop_require_wildcard(obj, nodeInterop) {
22
- if (!nodeInterop && obj && obj.__esModule) {
23
- return obj;
24
- }
25
- if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
26
- return {
27
- default: obj
28
- };
29
- }
30
- var cache = _getRequireWildcardCache(nodeInterop);
31
- if (cache && cache.has(obj)) {
32
- return cache.get(obj);
33
- }
34
- var newObj = {
35
- __proto__: null
36
- };
37
- var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
38
- for(var key in obj){
39
- if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
40
- var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
41
- if (desc && (desc.get || desc.set)) {
42
- Object.defineProperty(newObj, key, desc);
43
- } else {
44
- newObj[key] = obj[key];
45
- }
46
- }
47
- }
48
- newObj.default = obj;
49
- if (cache) {
50
- cache.set(obj, newObj);
51
- }
52
- return newObj;
53
- }
54
- const UnderlineTextFeature = ()=>{
55
- return {
56
- feature: ()=>{
57
- return {
58
- floatingSelectToolbar: {
59
- sections: [
60
- (0, _floatingSelectToolbarSection.SectionWithEntries)([
61
- {
62
- ChildComponent: ()=>// @ts-expect-error
63
- Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require("../../../lexical/ui/icons/Underline"))).then((module)=>module.UnderlineIcon),
64
- isActive: ({ selection })=>{
65
- if ((0, _lexical.$isRangeSelection)(selection)) {
66
- return selection.hasFormat('underline');
67
- }
68
- return false;
69
- },
70
- key: 'underline',
71
- onClick: ({ editor })=>{
72
- editor.dispatchCommand(_lexical.FORMAT_TEXT_COMMAND, 'underline');
73
- },
74
- order: 3
75
- }
76
- ])
77
- ]
78
- },
79
- props: null
80
- };
81
- },
82
- key: 'underline'
83
- };
84
- };
85
-
86
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9mb3JtYXQvdW5kZXJsaW5lL2luZGV4LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7ICRpc1JhbmdlU2VsZWN0aW9uLCBGT1JNQVRfVEVYVF9DT01NQU5EIH0gZnJvbSAnbGV4aWNhbCdcblxuaW1wb3J0IHR5cGUgeyBGZWF0dXJlUHJvdmlkZXIgfSBmcm9tICcuLi8uLi90eXBlcydcblxuaW1wb3J0IHsgU2VjdGlvbldpdGhFbnRyaWVzIH0gZnJvbSAnLi4vY29tbW9uL2Zsb2F0aW5nU2VsZWN0VG9vbGJhclNlY3Rpb24nXG5cbmV4cG9ydCBjb25zdCBVbmRlcmxpbmVUZXh0RmVhdHVyZSA9ICgpOiBGZWF0dXJlUHJvdmlkZXIgPT4ge1xuICByZXR1cm4ge1xuICAgIGZlYXR1cmU6ICgpID0+IHtcbiAgICAgIHJldHVybiB7XG4gICAgICAgIGZsb2F0aW5nU2VsZWN0VG9vbGJhcjoge1xuICAgICAgICAgIHNlY3Rpb25zOiBbXG4gICAgICAgICAgICBTZWN0aW9uV2l0aEVudHJpZXMoW1xuICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgQ2hpbGRDb21wb25lbnQ6ICgpID0+XG4gICAgICAgICAgICAgICAgICAvLyBAdHMtZXhwZWN0LWVycm9yXG4gICAgICAgICAgICAgICAgICBpbXBvcnQoJy4uLy4uLy4uL2xleGljYWwvdWkvaWNvbnMvVW5kZXJsaW5lJykudGhlbihcbiAgICAgICAgICAgICAgICAgICAgKG1vZHVsZSkgPT4gbW9kdWxlLlVuZGVybGluZUljb24sXG4gICAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgIGlzQWN0aXZlOiAoeyBzZWxlY3Rpb24gfSkgPT4ge1xuICAgICAgICAgICAgICAgICAgaWYgKCRpc1JhbmdlU2VsZWN0aW9uKHNlbGVjdGlvbikpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHNlbGVjdGlvbi5oYXNGb3JtYXQoJ3VuZGVybGluZScpXG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2VcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgIC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Z0JBQWdCLElBQ2QsbUJBQW1CO29DQUNuQixtRUFBQSxRQUFPLHlDQUF1Q0MsSUFBSSxDQUNoRCxDQUFDQyxTQUFXQSxPQUFPQyxhQUFhO2dDQUVwQ0MsVUFBVSxDQUFDLEVBQUVDLFNBQVMsRUFBRTtvQ0FDdEIsSUFBSUMsSUFBQUEsMEJBQWlCLEVBQUNELFlBQVk7d0NBQ2hDLE9BQU9BLFVBQVVFLFNBQVMsQ0FBQztvQ0FDN0I7b0NBQ0EsT0FBTztnQ0FDVDtnQ0FDQUMsS0FBSztnQ0FDTEMsU0FBUyxDQUFDLEVBQUVDLE1BQU0sRUFBRTtvQ0FDbEJBLE9BQU9DLGVBQWUsQ0FBQ0MsNEJBQW1CLEVBQUU7Z0NBQzlDO2dDQUNBQyxPQUFPOzRCQUNUO3lCQUNEO3FCQUNGO2dCQUNIO2dCQUNBQyxPQUFPO1lBQ1Q7UUFDRjtRQUNBTixLQUFLO0lBQ1A7QUFDRiJ9
@@ -1,3 +0,0 @@
1
- import type { FeatureProvider } from '../types';
2
- export declare const IndentFeature: () => FeatureProvider;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/field/features/indent/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAI/C,eAAO,MAAM,aAAa,QAAO,eAsEhC,CAAA"}
@@ -1,114 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- Object.defineProperty(exports, "IndentFeature", {
6
- enumerable: true,
7
- get: function() {
8
- return IndentFeature;
9
- }
10
- });
11
- const _lexical = require("lexical");
12
- const _floatingSelectToolbarIndentSection = require("./floatingSelectToolbarIndentSection");
13
- function _getRequireWildcardCache(nodeInterop) {
14
- if (typeof WeakMap !== "function") return null;
15
- var cacheBabelInterop = new WeakMap();
16
- var cacheNodeInterop = new WeakMap();
17
- return (_getRequireWildcardCache = function(nodeInterop) {
18
- return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
19
- })(nodeInterop);
20
- }
21
- function _interop_require_wildcard(obj, nodeInterop) {
22
- if (!nodeInterop && obj && obj.__esModule) {
23
- return obj;
24
- }
25
- if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
26
- return {
27
- default: obj
28
- };
29
- }
30
- var cache = _getRequireWildcardCache(nodeInterop);
31
- if (cache && cache.has(obj)) {
32
- return cache.get(obj);
33
- }
34
- var newObj = {
35
- __proto__: null
36
- };
37
- var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
38
- for(var key in obj){
39
- if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
40
- var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
41
- if (desc && (desc.get || desc.set)) {
42
- Object.defineProperty(newObj, key, desc);
43
- } else {
44
- newObj[key] = obj[key];
45
- }
46
- }
47
- }
48
- newObj.default = obj;
49
- if (cache) {
50
- cache.set(obj, newObj);
51
- }
52
- return newObj;
53
- }
54
- const IndentFeature = ()=>{
55
- return {
56
- feature: ()=>{
57
- return {
58
- floatingSelectToolbar: {
59
- sections: [
60
- (0, _floatingSelectToolbarIndentSection.IndentSectionWithEntries)([
61
- {
62
- ChildComponent: ()=>// @ts-expect-error
63
- Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require("../../lexical/ui/icons/IndentDecrease"))).then((module)=>module.IndentDecreaseIcon),
64
- isActive: ()=>false,
65
- isEnabled: ({ selection })=>{
66
- if (!selection || !selection?.getNodes()?.length) {
67
- return false;
68
- }
69
- for (const node of selection.getNodes()){
70
- // If at least one node is indented, this should be active
71
- if ('__indent' in node && node.__indent > 0 || node.getParent() && '__indent' in node.getParent() && node.getParent().__indent > 0) {
72
- return true;
73
- }
74
- }
75
- return false;
76
- },
77
- key: 'indent-decrease',
78
- label: `Decrease Indent`,
79
- onClick: ({ editor })=>{
80
- editor.dispatchCommand(_lexical.OUTDENT_CONTENT_COMMAND, undefined);
81
- },
82
- order: 1
83
- }
84
- ]),
85
- (0, _floatingSelectToolbarIndentSection.IndentSectionWithEntries)([
86
- {
87
- ChildComponent: ()=>// @ts-expect-error
88
- Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require("../../lexical/ui/icons/IndentIncrease"))).then((module)=>module.IndentIncreaseIcon),
89
- isActive: ()=>false,
90
- key: 'indent-increase',
91
- label: `Increase Indent`,
92
- onClick: ({ editor })=>{
93
- editor.dispatchCommand(_lexical.INDENT_CONTENT_COMMAND, undefined);
94
- },
95
- order: 2
96
- }
97
- ])
98
- ]
99
- },
100
- plugins: [
101
- {
102
- Component: ()=>// @ts-expect-error
103
- Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require("./plugin"))).then((module)=>module.IndentPlugin),
104
- position: 'normal'
105
- }
106
- ],
107
- props: null
108
- };
109
- },
110
- key: 'indent'
111
- };
112
- };
113
-
114
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9pbmRlbnQvaW5kZXgudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSU5ERU5UX0NPTlRFTlRfQ09NTUFORCwgT1VUREVOVF9DT05URU5UX0NPTU1BTkQgfSBmcm9tICdsZXhpY2FsJ1xuXG5pbXBvcnQgdHlwZSB7IEZlYXR1cmVQcm92aWRlciB9IGZyb20gJy4uL3R5cGVzJ1xuXG5pbXBvcnQgeyBJbmRlbnRTZWN0aW9uV2l0aEVudHJpZXMgfSBmcm9tICcuL2Zsb2F0aW5nU2VsZWN0VG9vbGJhckluZGVudFNlY3Rpb24nXG5cbmV4cG9ydCBjb25zdCBJbmRlbnRGZWF0dXJlID0gKCk6IEZlYXR1cmVQcm92aWRlciA9PiB7XG4gIHJldHVybiB7XG4gICAgZmVhdHVyZTogKCkgPT4ge1xuICAgICAgcmV0dXJuIHtcbiAgICAgICAgZmxvYXRpbmdTZWxlY3RUb29sYmFyOiB7XG4gICAgICAgICAgc2VjdGlvbnM6IFtcbiAgICAgICAgICAgIEluZGVudFNlY3Rpb25XaXRoRW50cmllcyhbXG4gICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICBDaGlsZENvbXBvbmVudDogKCkgPT5cbiAgICAgICAgICAgICAgICAgIC8vIEB0cy1leHBlY3QtZXJyb3JcbiAgICAgICAgICAgICAgICAgIGltcG9ydCgnLi4vLi4vbGV4aWNhbC91aS9pY29ucy9JbmRlbnREZWNyZWFzZScpLnRoZW4oXG4gICAgICAgICAgICAgICAgICAgIChtb2R1bGUpID0+IG1vZHVsZS5JbmRlbnREZWNyZWFzZUljb24sXG4gICAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgIGlzQWN0aXZlOiAoKSA9PiBmYWxzZSxcbiAgICAgICAgICAgICAgICBpc0VuYWJsZWQ6ICh7IHNlbGVjdGlvbiB9KSA9PiB7XG4gICAgICAgICAgICAgICAgICBpZiAoIXNlbGVjdGlvbiB8fCAhc2VsZWN0aW9uPy5nZXROb2RlcygpPy5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlXG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICBmb3IgKGNvbnN0IG5vZGUgb2Ygc2VsZWN0aW9uLmdldE5vZGVzKCkpIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gSWYgYXQgbGVhc3Qgb25lIG5vZGUgaXMgaW5kZW50ZWQsIHRoaXMgc2hvdWxkIGJlIGFjdGl2ZVxuICAgICAgICAgICAgICAgICAgICBpZiAoXG4gICAgICAgICAgICAgICAgICAgICAgKCdfX2luZGVudCcgaW4gbm9kZSAmJiAobm9kZS5fX2luZGVudCBhcyBudW1iZXIpID4gMCkgfHxcbiAgICAgICAgICAgICAgICAgICAgICAobm9kZS5nZXRQYXJlbnQoKSAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgJ19faW5kZW50JyBpbiBub2RlLmdldFBhcmVudCgpICYmXG4gICAgICAgICAgICAgICAgICAgICAgICBub2RlLmdldFBhcmVudCgpLl9faW5kZW50ID4gMClcbiAgICAgICAgICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRydWVcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICBrZXk6ICdpbmRlbnQtZGVjcmVhc2UnLFxuICAgICAgICAgICAgICAgIGxhYmVsOiBgRGVjcmVhc2UgSW5kZW50YCxcbiAgICAgICAgICAgICAgICBvbkNsaWNrOiAoeyBlZGl0b3IgfSkgPT4ge1xuICAgICAgICAgICAgICAgICAgZWRpdG9yLmRpc3BhdGNoQ29tbWFuZChPVVRERU5UX0NPTlRFTlRfQ09NTUFORCwgdW5kZWZpbmVkKVxuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgb3JkZXI6IDEsXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBdKSxcbiAgICAgICAgICAgIEluZGVudFNlY3Rpb25XaXRoRW50cmllcyhbXG4gICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICBDaGlsZENvbXBvbmVudDogKCkgPT5cbiAgICAgICAgICAgICAgICAgIC8vIEB0cy1leHBlY3QtZXJyb3JcbiAgICAgICAgICAgICAgICAgIGltcG9ydCgnLi4vLi4vbGV4aWNhbC91aS9pY29ucy9JbmRlbnRJbmNyZWFzZScpLnRoZW4oXG4gICAgICAgICAgICAgICAgICAgIChtb2R1bGUpID0+IG1vZHVsZS5JbmRlbnRJbmNyZWFzZUljb24sXG4gICAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgIGlzQWN0aXZlOiAoKSA9PiBmYWxzZSxcbiAgICAgICAgICAgICAgICBrZXk6ICdpbmRlbnQtaW5jcmVhc2UnLFxuICAgICAgICAgICAgICAgIGxhYmVsOiBgSW5jcmVhc2UgSW5kZW50YCxcbiAgICAgICAgICAgICAgICBvbkNsaWNrOiAoeyBlZGl0b3IgfSkgPT4ge1xuICAgICAgICAgICAgICAgICAgZWRpdG9yLmRpc3BhdGNoQ29tbWFuZChJTkRFTlRfQ09OVEVOVF9DT01NQU5ELCB1bmRlZmluZWQpXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICBvcmRlcjogMixcbiAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIF0pLFxuICAgICAgICAgIF0sXG4gICAgICAgIH0sXG4gICAgICAgIHBsdWdpbnM6IFtcbiAgICAgICAgICB7XG4gICAgICAgICAgICBDb21wb25lbnQ6ICgpID0+XG4gICAgICAgICAgICAgIC8vIEB0cy1leHBlY3QtZXJyb3JcbiAgICAgICAgICAgICAgaW1wb3J0KCcuL3BsdWdpbicpLnRoZW4oKG1vZHVsZSkgPT4gbW9kdWxlLkluZGVudFBsdWdpbiksXG4gICAgICAgICAgICBwb3NpdGlvbjogJ25vcm1hbCcsXG4gICAgICAgICAgfSxcbiAgICAgICAgXSxcbiAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICB9XG4gICAgfSxcbiAgICBrZXk6ICdpbmRlbnQnLFxuICB9XG59XG4iXSwibmFtZXMiOlsiSW5kZW50RmVhdHVyZSIsImZlYXR1cmUiLCJmbG9hdGluZ1NlbGVjdFRvb2xiYXIiLCJzZWN0aW9ucyIsIkluZGVudFNlY3Rpb25XaXRoRW50cmllcyIsIkNoaWxkQ29tcG9uZW50IiwidGhlbiIsIm1vZHVsZSIsIkluZGVudERlY3JlYXNlSWNvbiIsImlzQWN0aXZlIiwiaXNFbmFibGVkIiwic2VsZWN0aW9uIiwiZ2V0Tm9kZXMiLCJsZW5ndGgiLCJub2RlIiwiX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- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../src/field/features/indent/plugin.ts"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAA;AAErB,wBAAgB,YAAY,IAAI,IAAI,CAEnC"}
@@ -1,17 +0,0 @@
1
- 'use client';
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "IndentPlugin", {
7
- enumerable: true,
8
- get: function() {
9
- return IndentPlugin;
10
- }
11
- });
12
- require("./index.scss");
13
- function IndentPlugin() {
14
- return null;
15
- }
16
-
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9pbmRlbnQvcGx1Z2luLnRzIl0sInNvdXJjZXNDb250ZW50IjpbIid1c2UgY2xpZW50J1xuXG5pbXBvcnQgJy4vaW5kZXguc2NzcydcblxuZXhwb3J0IGZ1bmN0aW9uIEluZGVudFBsdWdpbigpOiBudWxsIHtcbiAgcmV0dXJuIG51bGxcbn1cbiJdLCJuYW1lcyI6WyJJbmRlbnRQbHVnaW4iXSwibWFwcGluZ3MiOiJBQUFBOzs7OzsrQkFJZ0JBOzs7ZUFBQUE7OztRQUZUO0FBRUEsU0FBU0E7SUFDZCxPQUFPO0FBQ1QifQ==
@@ -1,3 +0,0 @@
1
- import type { FeatureProvider } from '../../types';
2
- export declare const CheckListFeature: () => FeatureProvider;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/field/features/lists/CheckList/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AASlD,eAAO,MAAM,gBAAgB,QAAO,eA+EnC,CAAA"}