@novaprose/core 0.7.0 → 0.9.0

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 (347) hide show
  1. package/README.md +15 -2
  2. package/dist/a11y.cjs +314 -0
  3. package/dist/a11y.cjs.map +1 -0
  4. package/dist/a11y.d.cts +51 -0
  5. package/dist/a11y.d.ts +51 -0
  6. package/dist/a11y.js +11 -0
  7. package/dist/a11y.js.map +1 -0
  8. package/dist/a11ychecker-6ES3UMU3.js +449 -0
  9. package/dist/a11ychecker-6ES3UMU3.js.map +1 -0
  10. package/dist/accordion-ui-B4I2FJXE.js +201 -0
  11. package/dist/accordion-ui-B4I2FJXE.js.map +1 -0
  12. package/dist/advcode-7S6N64C7.js +51 -0
  13. package/dist/advcode-7S6N64C7.js.map +1 -0
  14. package/dist/advcode-editor-ENCPFVLO.js +257 -0
  15. package/dist/advcode-editor-ENCPFVLO.js.map +1 -0
  16. package/dist/{advlist-5FNKPLUX.js → advlist-FEDGNLMQ.js} +10 -7
  17. package/dist/advlist-FEDGNLMQ.js.map +1 -0
  18. package/dist/advtable-ui-JAVJY4L4.js +364 -0
  19. package/dist/advtable-ui-JAVJY4L4.js.map +1 -0
  20. package/dist/ai-5KM776QW.js +1485 -0
  21. package/dist/ai-5KM776QW.js.map +1 -0
  22. package/dist/anchor-ui-VPKNKZ7J.js +81 -0
  23. package/dist/anchor-ui-VPKNKZ7J.js.map +1 -0
  24. package/dist/autocorrect-5QLICCRN.js +851 -0
  25. package/dist/autocorrect-5QLICCRN.js.map +1 -0
  26. package/dist/{autolink-45LTODWB.js → autolink-ZYIPRXBA.js} +11 -8
  27. package/dist/autolink-ZYIPRXBA.js.map +1 -0
  28. package/dist/{autoresize-UB3GOA6D.js → autoresize-YRZAVCNO.js} +2 -2
  29. package/dist/autoresize-YRZAVCNO.js.map +1 -0
  30. package/dist/{autosave-GMWJ5BPE.js → autosave-IC7YYG44.js} +7 -7
  31. package/dist/autosave-IC7YYG44.js.map +1 -0
  32. package/dist/casechange-R7IO2APS.js +201 -0
  33. package/dist/casechange-R7IO2APS.js.map +1 -0
  34. package/dist/{charmap-2GC7LF7G.js → charmap-CARYZFKD.js} +7 -7
  35. package/dist/charmap-CARYZFKD.js.map +1 -0
  36. package/dist/checklist-7E47QW6L.js +189 -0
  37. package/dist/checklist-7E47QW6L.js.map +1 -0
  38. package/dist/chunk-23ZLVT5D.js +163 -0
  39. package/dist/chunk-23ZLVT5D.js.map +1 -0
  40. package/dist/{chunk-ND2CWNVG.js → chunk-3BOK3S3T.js} +2 -27
  41. package/dist/chunk-3BOK3S3T.js.map +1 -0
  42. package/dist/chunk-3KBQEAX2.js +926 -0
  43. package/dist/chunk-3KBQEAX2.js.map +1 -0
  44. package/dist/chunk-3NNILZVB.js +259 -0
  45. package/dist/chunk-3NNILZVB.js.map +1 -0
  46. package/dist/{chunk-PVFKXRID.js → chunk-4VPDY3LF.js} +1 -1
  47. package/dist/chunk-4VPDY3LF.js.map +1 -0
  48. package/dist/chunk-53AY5NAF.js +214 -0
  49. package/dist/chunk-53AY5NAF.js.map +1 -0
  50. package/dist/{chunk-5AW2HHG6.js → chunk-5KERLFDD.js} +50 -3
  51. package/dist/chunk-5KERLFDD.js.map +1 -0
  52. package/dist/{chunk-FCMZ7TUQ.js → chunk-6BJEOL5V.js} +296 -43
  53. package/dist/chunk-6BJEOL5V.js.map +1 -0
  54. package/dist/chunk-6LQM7G4V.js +159 -0
  55. package/dist/chunk-6LQM7G4V.js.map +1 -0
  56. package/dist/chunk-AB67XUSR.js +178 -0
  57. package/dist/chunk-AB67XUSR.js.map +1 -0
  58. package/dist/chunk-ANE5ASXG.js +26 -0
  59. package/dist/chunk-ANE5ASXG.js.map +1 -0
  60. package/dist/{chunk-Z3ELZ77W.js → chunk-AP2PJFLB.js} +5 -2
  61. package/dist/chunk-AP2PJFLB.js.map +1 -0
  62. package/dist/chunk-ARBKIZZU.js +137 -0
  63. package/dist/chunk-ARBKIZZU.js.map +1 -0
  64. package/dist/chunk-AUQSATWL.js +322 -0
  65. package/dist/chunk-AUQSATWL.js.map +1 -0
  66. package/dist/chunk-BMCH63QN.js +165 -0
  67. package/dist/chunk-BMCH63QN.js.map +1 -0
  68. package/dist/chunk-BUABAYZL.js +160 -0
  69. package/dist/chunk-BUABAYZL.js.map +1 -0
  70. package/dist/chunk-DCMPJ25E.js +140 -0
  71. package/dist/chunk-DCMPJ25E.js.map +1 -0
  72. package/dist/chunk-DV7TGRU6.js +47 -0
  73. package/dist/chunk-DV7TGRU6.js.map +1 -0
  74. package/dist/chunk-F2WT77ZG.js +163 -0
  75. package/dist/chunk-F2WT77ZG.js.map +1 -0
  76. package/dist/chunk-FNJ7AEJK.js +955 -0
  77. package/dist/chunk-FNJ7AEJK.js.map +1 -0
  78. package/dist/chunk-G74HNSB6.js +9 -0
  79. package/dist/chunk-G74HNSB6.js.map +1 -0
  80. package/dist/chunk-GTLE2HEW.js +108 -0
  81. package/dist/chunk-GTLE2HEW.js.map +1 -0
  82. package/dist/chunk-GUZCRDK6.js +143 -0
  83. package/dist/chunk-GUZCRDK6.js.map +1 -0
  84. package/dist/chunk-HNEAVVBC.js +98 -0
  85. package/dist/chunk-HNEAVVBC.js.map +1 -0
  86. package/dist/chunk-HSVNJGK3.js +1149 -0
  87. package/dist/chunk-HSVNJGK3.js.map +1 -0
  88. package/dist/chunk-IFSD6O5M.js +29 -0
  89. package/dist/chunk-IFSD6O5M.js.map +1 -0
  90. package/dist/{table-SSNABG5W.js → chunk-IO5PU52K.js} +119 -61
  91. package/dist/chunk-IO5PU52K.js.map +1 -0
  92. package/dist/chunk-K4LFGNS7.js +137 -0
  93. package/dist/chunk-K4LFGNS7.js.map +1 -0
  94. package/dist/chunk-KGEHUWGL.js +79 -0
  95. package/dist/chunk-KGEHUWGL.js.map +1 -0
  96. package/dist/chunk-KW6ATQPN.js +151 -0
  97. package/dist/chunk-KW6ATQPN.js.map +1 -0
  98. package/dist/chunk-NX3KWIP5.js +207 -0
  99. package/dist/chunk-NX3KWIP5.js.map +1 -0
  100. package/dist/chunk-OOVNE6MB.js +28 -0
  101. package/dist/chunk-OOVNE6MB.js.map +1 -0
  102. package/dist/chunk-OQMMHWMZ.js +7 -0
  103. package/dist/chunk-OQMMHWMZ.js.map +1 -0
  104. package/dist/{chunk-JPJVTB45.js → chunk-QU3KXMYT.js} +8 -2
  105. package/dist/chunk-QU3KXMYT.js.map +1 -0
  106. package/dist/chunk-QWT56RVG.js +158 -0
  107. package/dist/chunk-QWT56RVG.js.map +1 -0
  108. package/dist/chunk-RJ7T56OH.js +3787 -0
  109. package/dist/chunk-RJ7T56OH.js.map +1 -0
  110. package/dist/{chunk-KWXFL4WS.js → chunk-RPHA4HRX.js} +8 -5
  111. package/dist/chunk-RPHA4HRX.js.map +1 -0
  112. package/dist/chunk-S4DCQA74.js +66 -0
  113. package/dist/chunk-S4DCQA74.js.map +1 -0
  114. package/dist/chunk-SCIRO4XK.js +144 -0
  115. package/dist/chunk-SCIRO4XK.js.map +1 -0
  116. package/dist/chunk-SNVYHGGO.js +127 -0
  117. package/dist/chunk-SNVYHGGO.js.map +1 -0
  118. package/dist/chunk-T4543CB2.js +67 -0
  119. package/dist/chunk-T4543CB2.js.map +1 -0
  120. package/dist/{chunk-T3GY6IVK.js → chunk-UHUOAQA6.js} +71 -9
  121. package/dist/chunk-UHUOAQA6.js.map +1 -0
  122. package/dist/chunk-UTMS2P2K.js +288 -0
  123. package/dist/chunk-UTMS2P2K.js.map +1 -0
  124. package/dist/{chunk-HPLT3XRZ.js → chunk-V7WUHUHM.js} +13 -1
  125. package/dist/chunk-V7WUHUHM.js.map +1 -0
  126. package/dist/chunk-WAOU5NGN.js +430 -0
  127. package/dist/chunk-WAOU5NGN.js.map +1 -0
  128. package/dist/{chunk-R2UMUCVI.js → chunk-XCXJD5DO.js} +53 -8
  129. package/dist/chunk-XCXJD5DO.js.map +1 -0
  130. package/dist/chunk-XIH4SCO6.js +112 -0
  131. package/dist/chunk-XIH4SCO6.js.map +1 -0
  132. package/dist/chunk-XR7CY4NI.js +11 -0
  133. package/dist/chunk-XR7CY4NI.js.map +1 -0
  134. package/dist/chunk-Y2OXWCM7.js +263 -0
  135. package/dist/chunk-Y2OXWCM7.js.map +1 -0
  136. package/dist/chunk-YDF55N6Z.js +164 -0
  137. package/dist/chunk-YDF55N6Z.js.map +1 -0
  138. package/dist/chunk-YOTA26H7.js +373 -0
  139. package/dist/chunk-YOTA26H7.js.map +1 -0
  140. package/dist/chunk-YP7N47QR.js +101 -0
  141. package/dist/chunk-YP7N47QR.js.map +1 -0
  142. package/dist/{chunk-KPE3QRPB.js → chunk-YYCDRUE2.js} +16 -315
  143. package/dist/chunk-YYCDRUE2.js.map +1 -0
  144. package/dist/codesample-FOWXMCTC.js +546 -0
  145. package/dist/codesample-FOWXMCTC.js.map +1 -0
  146. package/dist/{comments-panel-HXMWSRAW.js → comments-panel-SOLBZ46Q.js} +9 -5
  147. package/dist/comments-panel-SOLBZ46Q.js.map +1 -0
  148. package/dist/{directionality-5JLWQGP2.js → directionality-BXWXNPRZ.js} +13 -10
  149. package/dist/directionality-BXWXNPRZ.js.map +1 -0
  150. package/dist/document-B0hLRhuH.d.cts +39 -0
  151. package/dist/document-Dh-jz1SK.d.ts +39 -0
  152. package/dist/docx.cjs +23575 -0
  153. package/dist/docx.cjs.map +1 -0
  154. package/dist/docx.d.cts +83 -0
  155. package/dist/docx.d.ts +83 -0
  156. package/dist/docx.js +1826 -0
  157. package/dist/docx.js.map +1 -0
  158. package/dist/draghandle-3IBHVHDE.js +389 -0
  159. package/dist/draghandle-3IBHVHDE.js.map +1 -0
  160. package/dist/editimage-GTLFGHYU.js +683 -0
  161. package/dist/editimage-GTLFGHYU.js.map +1 -0
  162. package/dist/editor-DnAN9aPd.d.ts +2948 -0
  163. package/dist/editor-S8w_w5W0.d.cts +2948 -0
  164. package/dist/email-FDSENENR.js +177 -0
  165. package/dist/email-FDSENENR.js.map +1 -0
  166. package/dist/email.cjs +588 -0
  167. package/dist/email.cjs.map +1 -0
  168. package/dist/email.d.cts +7 -0
  169. package/dist/email.d.ts +7 -0
  170. package/dist/email.js +21 -0
  171. package/dist/email.js.map +1 -0
  172. package/dist/{emoticons-ZD6ZRIWG.js → emoticons-SHYSAEID.js} +7 -7
  173. package/dist/emoticons-SHYSAEID.js.map +1 -0
  174. package/dist/exportpdf-TEBDQZSN.js +91 -0
  175. package/dist/exportpdf-TEBDQZSN.js.map +1 -0
  176. package/dist/exportword-BGH2CZXO.js +16 -0
  177. package/dist/exportword-BGH2CZXO.js.map +1 -0
  178. package/dist/footnotes-ui-KPKFDSN7.js +449 -0
  179. package/dist/footnotes-ui-KPKFDSN7.js.map +1 -0
  180. package/dist/form-dialog-SNWFPM2K.js +379 -0
  181. package/dist/form-dialog-SNWFPM2K.js.map +1 -0
  182. package/dist/formatpainter-CB4ZTKR5.js +209 -0
  183. package/dist/formatpainter-CB4ZTKR5.js.map +1 -0
  184. package/dist/fullpagehtml-ui-JPGRMXHD.js +220 -0
  185. package/dist/fullpagehtml-ui-JPGRMXHD.js.map +1 -0
  186. package/dist/html-rules-api-BLDDW9MO.d.cts +42 -0
  187. package/dist/html-rules-api-BLDDW9MO.d.ts +42 -0
  188. package/dist/html-rules.cjs +21 -19
  189. package/dist/html-rules.cjs.map +1 -1
  190. package/dist/html-rules.d.cts +37 -35
  191. package/dist/html-rules.d.ts +37 -35
  192. package/dist/html-rules.js +26 -22
  193. package/dist/html-rules.js.map +1 -1
  194. package/dist/i18n/de.cjs +349 -0
  195. package/dist/i18n/de.cjs.map +1 -1
  196. package/dist/i18n/de.d.cts +1 -1
  197. package/dist/i18n/de.d.ts +1 -1
  198. package/dist/i18n/de.js +349 -0
  199. package/dist/i18n/de.js.map +1 -1
  200. package/dist/i18n/es.cjs +349 -0
  201. package/dist/i18n/es.cjs.map +1 -1
  202. package/dist/i18n/es.d.cts +1 -1
  203. package/dist/i18n/es.d.ts +1 -1
  204. package/dist/i18n/es.js +349 -0
  205. package/dist/i18n/es.js.map +1 -1
  206. package/dist/i18n/fr.cjs +349 -0
  207. package/dist/i18n/fr.cjs.map +1 -1
  208. package/dist/i18n/fr.d.cts +1 -1
  209. package/dist/i18n/fr.d.ts +1 -1
  210. package/dist/i18n/fr.js +349 -0
  211. package/dist/i18n/fr.js.map +1 -1
  212. package/dist/i18n/it.cjs +349 -0
  213. package/dist/i18n/it.cjs.map +1 -1
  214. package/dist/i18n/it.d.cts +1 -1
  215. package/dist/i18n/it.d.ts +1 -1
  216. package/dist/i18n/it.js +349 -0
  217. package/dist/i18n/it.js.map +1 -1
  218. package/dist/i18n/pt-BR.cjs +349 -0
  219. package/dist/i18n/pt-BR.cjs.map +1 -1
  220. package/dist/i18n/pt-BR.d.cts +1 -1
  221. package/dist/i18n/pt-BR.d.ts +1 -1
  222. package/dist/i18n/pt-BR.js +349 -0
  223. package/dist/i18n/pt-BR.js.map +1 -1
  224. package/dist/i18n/ru.cjs +349 -0
  225. package/dist/i18n/ru.cjs.map +1 -1
  226. package/dist/i18n/ru.d.cts +3 -3
  227. package/dist/i18n/ru.d.ts +3 -3
  228. package/dist/i18n/ru.js +349 -0
  229. package/dist/i18n/ru.js.map +1 -1
  230. package/dist/importcss-JLNIRKGH.js +127 -0
  231. package/dist/importcss-JLNIRKGH.js.map +1 -0
  232. package/dist/importword-ZOWLUWSN.js +73 -0
  233. package/dist/importword-ZOWLUWSN.js.map +1 -0
  234. package/dist/{index-C603bU6r.d.ts → index-Pb2r0V-S.d.cts} +39 -17
  235. package/dist/{index-C603bU6r.d.cts → index-Pb2r0V-S.d.ts} +39 -17
  236. package/dist/index.cjs +29422 -10640
  237. package/dist/index.cjs.map +1 -1
  238. package/dist/index.d.cts +139 -64
  239. package/dist/index.d.ts +139 -64
  240. package/dist/index.js +204 -1412
  241. package/dist/index.js.map +1 -1
  242. package/dist/{insertdatetime-CRO7TJAQ.js → insertdatetime-BXQ3XXPH.js} +7 -7
  243. package/dist/insertdatetime-BXQ3XXPH.js.map +1 -0
  244. package/dist/linkchecker-JASSETVI.js +287 -0
  245. package/dist/linkchecker-JASSETVI.js.map +1 -0
  246. package/dist/markdown-OTLTCK26.js +136 -0
  247. package/dist/markdown-OTLTCK26.js.map +1 -0
  248. package/dist/markdown.cjs +94 -11
  249. package/dist/markdown.cjs.map +1 -1
  250. package/dist/markdown.d.cts +12 -10
  251. package/dist/markdown.d.ts +12 -10
  252. package/dist/markdown.js +4 -235
  253. package/dist/markdown.js.map +1 -1
  254. package/dist/math-ui-TY4VZF7Q.js +157 -0
  255. package/dist/math-ui-TY4VZF7Q.js.map +1 -0
  256. package/dist/media-ui-IXN4ENVF.js +123 -0
  257. package/dist/media-ui-IXN4ENVF.js.map +1 -0
  258. package/dist/mediaembed-ui-ODX5ECXC.js +207 -0
  259. package/dist/mediaembed-ui-ODX5ECXC.js.map +1 -0
  260. package/dist/mentions-ui-55GCKC6F.js +58 -0
  261. package/dist/mentions-ui-55GCKC6F.js.map +1 -0
  262. package/dist/mergetags-ui-6T7Z7MAZ.js +73 -0
  263. package/dist/mergetags-ui-6T7Z7MAZ.js.map +1 -0
  264. package/dist/{nonbreaking-66LFZV2W.js → nonbreaking-PONHSOMJ.js} +7 -7
  265. package/dist/nonbreaking-PONHSOMJ.js.map +1 -0
  266. package/dist/pagebreak-ui-AKAW7M5I.js +50 -0
  267. package/dist/pagebreak-ui-AKAW7M5I.js.map +1 -0
  268. package/dist/pageembed-ui-GUNPKMBR.js +172 -0
  269. package/dist/pageembed-ui-GUNPKMBR.js.map +1 -0
  270. package/dist/pagelayout-ui-JSFVEMHS.js +236 -0
  271. package/dist/pagelayout-ui-JSFVEMHS.js.map +1 -0
  272. package/dist/{paste-office-F3QW4WWO.js → paste-office-TORLAZ5L.js} +94 -4
  273. package/dist/paste-office-TORLAZ5L.js.map +1 -0
  274. package/dist/permanentpen-EACURV5U.js +206 -0
  275. package/dist/permanentpen-EACURV5U.js.map +1 -0
  276. package/dist/print-4XJCOANX.js +178 -0
  277. package/dist/print-4XJCOANX.js.map +1 -0
  278. package/dist/{quickbars-7E2QRS7J.js → quickbars-BT5PETRX.js} +20 -12
  279. package/dist/quickbars-BT5PETRX.js.map +1 -0
  280. package/dist/{revisionhistory-DXE7KU4R.js → revisionhistory-3FKLMJHJ.js} +42 -153
  281. package/dist/revisionhistory-3FKLMJHJ.js.map +1 -0
  282. package/dist/save-ZHFXH222.js +120 -0
  283. package/dist/save-ZHFXH222.js.map +1 -0
  284. package/dist/search-bar-6MVRMTK6.js +212 -0
  285. package/dist/search-bar-6MVRMTK6.js.map +1 -0
  286. package/dist/spellchecker-JJKA6B4R.js +474 -0
  287. package/dist/spellchecker-JJKA6B4R.js.map +1 -0
  288. package/dist/suggestions-panel-X37NFLXE.js +596 -0
  289. package/dist/suggestions-panel-X37NFLXE.js.map +1 -0
  290. package/dist/suggestions-ui-WN7QNYHB.js +395 -0
  291. package/dist/suggestions-ui-WN7QNYHB.js.map +1 -0
  292. package/dist/table-PEF56QG5.js +54 -0
  293. package/dist/table-PEF56QG5.js.map +1 -0
  294. package/dist/table-dialogs-QS3VFZD2.js +119 -0
  295. package/dist/table-dialogs-QS3VFZD2.js.map +1 -0
  296. package/dist/tableofcontents-ui-U7EV3UU7.js +167 -0
  297. package/dist/tableofcontents-ui-U7EV3UU7.js.map +1 -0
  298. package/dist/template-ZRTKIP2J.js +278 -0
  299. package/dist/template-ZRTKIP2J.js.map +1 -0
  300. package/dist/typography-S7RO54DB.js +399 -0
  301. package/dist/typography-S7RO54DB.js.map +1 -0
  302. package/dist/upload.cjs +160 -0
  303. package/dist/upload.cjs.map +1 -0
  304. package/dist/upload.d.cts +72 -0
  305. package/dist/upload.d.ts +72 -0
  306. package/dist/upload.js +132 -0
  307. package/dist/upload.js.map +1 -0
  308. package/dist/{visualblocks-6DLBXYOA.js → visualblocks-KJYRHF2L.js} +7 -7
  309. package/dist/visualblocks-KJYRHF2L.js.map +1 -0
  310. package/dist/visualchars-TDLZKFXD.js +134 -0
  311. package/dist/visualchars-TDLZKFXD.js.map +1 -0
  312. package/package.json +53 -3
  313. package/src/style.css +376 -550
  314. package/dist/advlist-5FNKPLUX.js.map +0 -1
  315. package/dist/autolink-45LTODWB.js.map +0 -1
  316. package/dist/autoresize-UB3GOA6D.js.map +0 -1
  317. package/dist/autosave-GMWJ5BPE.js.map +0 -1
  318. package/dist/charmap-2GC7LF7G.js.map +0 -1
  319. package/dist/chunk-5AW2HHG6.js.map +0 -1
  320. package/dist/chunk-DWZLSZDG.js +0 -5664
  321. package/dist/chunk-DWZLSZDG.js.map +0 -1
  322. package/dist/chunk-FCMZ7TUQ.js.map +0 -1
  323. package/dist/chunk-HPLT3XRZ.js.map +0 -1
  324. package/dist/chunk-JPJVTB45.js.map +0 -1
  325. package/dist/chunk-KPE3QRPB.js.map +0 -1
  326. package/dist/chunk-KWXFL4WS.js.map +0 -1
  327. package/dist/chunk-ND2CWNVG.js.map +0 -1
  328. package/dist/chunk-PVFKXRID.js.map +0 -1
  329. package/dist/chunk-R2UMUCVI.js.map +0 -1
  330. package/dist/chunk-T3GY6IVK.js.map +0 -1
  331. package/dist/chunk-Z3ELZ77W.js.map +0 -1
  332. package/dist/comments-panel-HXMWSRAW.js.map +0 -1
  333. package/dist/directionality-5JLWQGP2.js.map +0 -1
  334. package/dist/editor-CXkltf1R.d.ts +0 -1886
  335. package/dist/editor-CgSBFTke.d.cts +0 -1886
  336. package/dist/emoticons-ZD6ZRIWG.js.map +0 -1
  337. package/dist/form-dialog-QH6KAERD.js +0 -180
  338. package/dist/form-dialog-QH6KAERD.js.map +0 -1
  339. package/dist/html-rules-api-D3fKQi-R.d.cts +0 -40
  340. package/dist/html-rules-api-D3fKQi-R.d.ts +0 -40
  341. package/dist/insertdatetime-CRO7TJAQ.js.map +0 -1
  342. package/dist/nonbreaking-66LFZV2W.js.map +0 -1
  343. package/dist/paste-office-F3QW4WWO.js.map +0 -1
  344. package/dist/quickbars-7E2QRS7J.js.map +0 -1
  345. package/dist/revisionhistory-DXE7KU4R.js.map +0 -1
  346. package/dist/table-SSNABG5W.js.map +0 -1
  347. package/dist/visualblocks-6DLBXYOA.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,33 +1,38 @@
1
- import { E as Editor, N as NovaSchema } from './editor-CXkltf1R.js';
2
- export { A as API_CHANGE_META, a as AutocompleterItem, b as AutocompleterSpec, c as AutosaveOptions, B as BlockFormat, d as BlockTag, e as ButtonSpec, C as ClassFilter, f as ClassOption, g as CommandName, h as Comment, i as CommentAuthor, j as CommentStore, k as CommentThread, l as CommentsController, m as CommentsOptions, n as ContentRules, o as ContentRulesOptions, p as ContextToolbarSpec, q as ControlSpec, D as DEFAULT_MENUBAR, r as DEFAULT_MENUS, s as DialogApi, t as DialogData, u as DialogField, v as DialogFieldValue, w as DialogSpec, x as EditorEvent, y as EditorEventDetails, z as EditorListener, F as EditorMode, G as EditorOptions, H as FilePickResult, I as FilePickType, J as FilePicker, K as FontOption, L as FormatSpec, M as Formatter, O as ImageAlign, P as InlineTag, Q as KNOWN_STYLES, R as KNOWN_TAGS, S as MENTION_ID_RE, T as MarkName, U as MentionUser, V as MentionsOptions, W as MenuButtonSpec, X as MenuDefinition, Y as MenuEntry, Z as MenuItem, _ as MenuItemSpec, $ as MergeTag, a0 as MergeTagGroup, a1 as MergeTagsOptions, a2 as NodeName, a3 as NotificationAction, a4 as NotificationHandle, a5 as NotificationOptions, a6 as NovaPlugin, a7 as PanelButtonSpec, a8 as PasteOptions, a9 as PluginEntry, aa as PluginOptions, ab as QuickbarsOptions, ac as REMOTE_CHANGE_META, ad as Registry, ae as Revision, af as RevisionHistoryOptions, ag as SchemaExtensions, ah as SidebarSpec, ai as Sidebars, aj as SlashCommand, ak as StyleFormat, al as TextAlign, am as ToolbarConfig, an as ToolbarMode, ao as UiManager, ap as UploadImageHandler, aq as commands, ar as createCommentStore, as as createEditor, at as createSchema, au as cssValue, av as defaultFontFamilies, aw as defaultFontSizes, ax as defaultLineHeights, ay as defaultSlashCommands, az as defaultToolbar, aA as definePlugin, aB as getActiveAlign, aC as getComments, aD as getLinkAt, aE as getMentions, aF as getSelectedImage, aG as htmlToPlainText, aH as imageSize, aI as insertImage, aJ as isCommandActive, aK as isMarkActive, aL as isNodeActive, aM as isPluginRegistered, aN as marksOf, aO as newCommentId, aP as nodesOf, aQ as openImageAltDialog, aR as openImageDialog, aS as parseToolbar, aT as rankSlashCommands, aU as registerPlugin, aV as sanitizeThread, aW as schema, aX as setImageAttrs, aY as setImageWidthFraction, aZ as setLink, a_ as uploadImages } from './editor-CXkltf1R.js';
1
+ import { E as Editor, N as NovaSchema } from './editor-DnAN9aPd.js';
2
+ export { A as AccordionOptions, b as AccordionState, c as AdvCodeOptions, d as AdvTableOptions, e as AiAction, f as AiMessage, g as AiOptions, h as AiRequest, i as AiShortcut, j as AutocompleterItem, k as AutocompleterSpec, l as AutocorrectCorrection, m as AutocorrectOptions, n as AutosaveOptions, B as BlockFormat, o as BlockPattern, p as BlockTag, q as ButtonSpec, C as ChainCommandName, r as ClassFilter, s as ClassOption, t as CodeGrammarLoader, u as CodeLanguage, v as CodeSampleOptions, w as CommandChain, x as CommandName, y as Comment, z as CommentAuthor, D as CommentStore, F as CommentThread, G as CommentsController, H as CommentsOptions, I as ContentLanguage, J as ContextToolbarSpec, K as ControlSpec, L as CorrectionKind, M as DEFAULT_MENUBAR, O as DEFAULT_MENUS, Q as DialogApi, R as DialogData, S as DialogField, T as DialogFieldValue, U as DialogSpec, V as EditImageOptions, W as EditorEvent, X as EditorEventDetails, Y as EditorListener, Z as EditorMode, _ as EditorOptions, $ as EditorSelection, a0 as EmbedInfo, a1 as ExportPdfOptions, a2 as ExportWordOptions, a3 as FilePickResult, a4 as FilePickType, a5 as FilePicker, a6 as FontOption, a7 as FormatSpec, a8 as Formatter, a9 as FullPageHtmlOptions, aa as HeadElement, ab as ImageAlign, ac as InlinePattern, ad as InlineTag, ae as LinkCheckerOptions, af as LinkStatus, ag as MarkName, ah as MediaEmbedOptions, ai as MentionUser, aj as MentionsOptions, ak as MenuButtonSpec, al as MenuDefinition, am as MenuEntry, an as MenuItem, ao as MenuItemSpec, ap as MergeTag, aq as MergeTagGroup, ar as MergeTagsOptions, as as NodeName, at as NodeViewFactory, au as NodeViewOptions, av as NodeViewProps, aw as NodeViewRenderer, ax as NotificationAction, ay as NotificationHandle, az as NotificationOptions, aA as NovaPlugin, aB as PAGE_SIZES, aC as PageBand, aD as PageBandParts, aE as PageData, aF as PageEmbedOptions, aG as PageEmbedSize, aH as PageHandler, a as PageLayout, aI as PageLayoutController, P as PageLayoutOptions, aJ as PageMargins, aK as PageSizeName, aL as PanelButtonSpec, aM as PasteOptions, aN as PdfRequest, aO as PluginEntry, aP as PluginOptions, aQ as QuickbarsOptions, aR as REMOTE_CHANGE_META, aS as Registry, aT as ReplacementPattern, aU as Revision, aV as RevisionHistoryOptions, aW as SchemaExtensions, aX as SelectionBookmark, aY as SidebarSpec, aZ as Sidebars, a_ as SlashCommand, a$ as StyleFormat, b0 as TableOfContentsOptions, b1 as TableSeries, b2 as TextAlign, b3 as TextPattern, b4 as TextPatternCommand, b5 as TextPatternContext, b6 as ToolbarConfig, b7 as ToolbarMode, b8 as TypographyOptions, b9 as TypographyRule, ba as UiManager, bb as UploadImageHandler, bc as ViewApi, bd as ViewButton, be as ViewSpec, bf as Views, bg as commands, bh as createCommentStore, bi as createEditor, bj as createSchema, bk as defaultFontFamilies, bl as defaultFontSizes, bm as defaultLineHeights, bn as defaultSlashCommands, bo as defaultToolbar, bp as defineNodeView, bq as definePlugin, br as getActiveAlign, bs as getComments, bt as getLinkAt, bu as getMentions, bv as getSelectedImage, bw as getTextLanguage, bx as htmlToPlainText, by as insertImage, bz as isCommandActive, bA as isMarkActive, bB as isNodeActive, bC as isPluginRegistered, bD as marksOf, bE as nodesOf, bF as openImageAltDialog, bG as openImageDialog, bH as pageLayout, bI as registerPlugin, bJ as sanitizeThread, bK as schema, bL as setImageAttrs, bM as setImageWidthFraction, bN as setLink, bO as setTextLanguage, bP as uploadImages } from './editor-DnAN9aPd.js';
3
+ export { D as DocumentOptions, a as DocumentRenderer, c as createRenderer, r as renderHTML } from './document-Dh-jz1SK.js';
3
4
  import { Schema, DOMParser, Node, Fragment } from 'prosemirror-model';
4
5
  import { EditorState, Command, Transaction } from 'prosemirror-state';
5
- export { L as LanguagePack, M as MessageKey, a as Messages, P as PluginMessageKey, T as Translator, c as createTranslator, e as en, g as getPluginMessages, r as registerLanguage } from './index-C603bU6r.js';
6
- export { H as HtmlRulesInstance, b as HtmlRulesModule, a as HtmlRulesOptions, r as registerHtmlRules } from './html-rules-api-D3fKQi-R.js';
6
+ export { a as LanguageLoader, L as LanguagePack, M as MessageKey, b as Messages, P as PluginMessageKey, T as Translator, e as en, g as getPluginMessages, h as hasLanguage, l as loadLanguage, r as registerLanguage } from './index-Pb2r0V-S.js';
7
+ export { H as HtmlRulesInstance, b as HtmlRulesModule, a as HtmlRulesOptions, S as SchemaSpecs, r as registerHtmlRules } from './html-rules-api-BLDDW9MO.js';
8
+ import './a11y.js';
7
9
  import 'prosemirror-view';
8
10
 
9
- /** Печать содержимого через скрытый iframe (HTML уже очищен схемой). */
11
+ /**
12
+ * Print what the editor shows (with node views and the page's styles; with page layout, the same
13
+ * sheet). The print module is lazy: it loads on the first print.
14
+ */
10
15
  declare function printContent(editor: Editor): void;
11
16
 
12
- /** Парсер для схемы конкретного редактора (создаётся один раз на схему). */
17
+ /** A parser for a specific editor's schema (created once per schema). */
13
18
  declare function parserFor(target: Schema): DOMParser;
14
19
 
15
- /** Марки-стили со значением: цвет, фон, шрифт, размер. */
20
+ /** Style marks with a value: color, background, font, size. */
16
21
  type StyleMark = 'color' | 'background' | 'font_family' | 'font_size';
17
22
  /**
18
- * Установить стиль на выделении (value = null — убрать).
19
- * На пустом выделении стиль применится к следующему набранному тексту (storedMarks).
23
+ * Set a style on the selection (value = null removes it). With an empty selection the style applies
24
+ * to the next typed text (storedMarks).
20
25
  */
21
26
  declare function setStyle(markName: StyleMark, value: string | null): Command;
22
- /** Текущее значение стиля в начале выделения (или null). */
27
+ /** The current value of a style at the start of the selection (or null). */
23
28
  declare function getStyle(state: EditorState, markName: StyleMark): string | null;
24
- /** Межстрочный интервал для абзацев и заголовков в выделении. */
29
+ /** Line height for paragraphs and headings in the selection. */
25
30
  declare function setLineHeight(value: string | null): Command;
26
31
  declare function getLineHeight(state: EditorState): string | null;
27
32
 
28
33
  /**
29
- * Приводит ввод пользователя к URL: 'example.com' → 'https://example.com',
30
- * 'a@b.ru' → 'mailto:a@b.ru'. Относительные пути и якоря не трогает.
34
+ * Turns user input into a URL: 'example.com' → 'https://example.com', 'a@b.com' → 'mailto:a@b.com'.
35
+ * Relative paths and anchors are left alone.
31
36
  */
32
37
  declare function normalizeUrl(input: string): string;
33
38
  interface LinkAttrs {
@@ -37,15 +42,15 @@ interface LinkAttrs {
37
42
  target?: string | null;
38
43
  }
39
44
  /**
40
- * Создать или обновить ссылку. Если передан text и он отличается от текущего —
41
- * текст заменяется, остальные марки (жирный и т.п.) сохраняются.
45
+ * Create or update a link. If `text` is given and differs from the current text, the text is
46
+ * replaced and other marks (bold and so on) are kept.
42
47
  */
43
48
  declare function applyLink(attrs: LinkAttrs): Command;
44
49
  declare function removeLink(): Command;
45
- /** Диалог вставки/редактирования ссылки. */
50
+ /** The insert/edit link dialog. */
46
51
  declare function openLinkDialog(editor: Editor): void;
47
52
 
48
- /** Палитра по умолчанию: 8 оттенков × (тёмный, основной, светлый) + шкала серого. */
53
+ /** The default palette: 8 hues × (dark, base, light) plus a gray scale. */
49
54
  declare const defaultColors: string[];
50
55
 
51
56
  declare function countWords(text: string): number;
@@ -64,110 +69,164 @@ interface SearchMatch {
64
69
  }
65
70
  interface SearchState extends SearchOptions {
66
71
  matches: SearchMatch[];
67
- /** Индекс текущего совпадения или -1. */
72
+ /** Index of the current match, or -1. */
68
73
  current: number;
69
74
  }
70
75
  /**
71
- * Все совпадения в документе. Внутри текстового блока буква и встроенный объект занимают
72
- * по одной позиции, поэтому индекс в тексте блока + (pos + 1) = позиция в документе.
76
+ * All matches in the document. Inside a text block a letter and an inline object take one position
77
+ * each, so an index in the block's text + (pos + 1) is the position in the document.
73
78
  */
74
79
  declare function findMatches(doc: Node, options: SearchOptions): SearchMatch[];
75
80
  declare function getSearchState(state: EditorState): SearchState;
76
- /** Задать запрос. Текущее совпадение — первое после курсора. */
81
+ /** Set the query. The current match is the first one after the cursor. */
77
82
  declare function setSearch(options: SearchOptions): Command;
78
83
  declare const clearSearch: Command;
79
- /** Перейти к следующему (dir = 1) или предыдущему (-1) совпадению, по кругу. */
84
+ /** Go to the next (dir = 1) or previous (-1) match, wrapping around. */
80
85
  declare function findNext(dir?: 1 | -1): Command;
81
- /** Заменить текущее совпадение и перейти к следующему. */
86
+ /** Replace the current match and go to the next one. */
82
87
  declare function replaceCurrent(replacement: string): Command;
83
- /** Заменить все совпадения одной транзакцией (один шаг отмены). */
88
+ /** Replace all matches in one transaction (one undo step). */
84
89
  declare function replaceAll(replacement: string): Command;
85
90
 
86
91
  declare function isFullscreen(editor: Editor): boolean;
87
- /** Редактор на весь экран; прокрутка страницы под ним блокируется. */
92
+ /** The editor on the whole screen; the page under it doesn't scroll. */
88
93
  declare function toggleFullscreen(editor: Editor, value?: boolean): void;
89
94
  /**
90
- * Предпросмотр результата. Строим DOM сериализатором схемы (без разбора HTML-строки),
91
- * в контейнере с теми же стилями контента, но без редактирования.
95
+ * A preview of the result. The DOM is built by the schema's serializer (no HTML string parsing), in
96
+ * a container with the same content styles, without editing. `doc` and `title`: another document
97
+ * to show (for example, the text with every suggestion accepted) under its own title.
92
98
  */
93
- declare function openPreview(editor: Editor): void;
94
- /** Перенос строк после блочных тегов — чтобы HTML было удобно читать и править. */
99
+ declare function openPreview(editor: Editor, { doc, title }?: {
100
+ doc?: Node;
101
+ title?: string;
102
+ }): void;
103
+ /** Line breaks after block tags, so the HTML is easy to read and edit. */
95
104
  declare function formatHTML(html: string): string;
96
- /** Просмотр и правка HTML (плагин code). Сохранение — через схему, т.е. с той же очисткой. */
105
+ /** View and edit the HTML (the code plugin). Saving goes through the schema, with the same cleanup. */
97
106
  declare function openSourceCode(editor: Editor): void;
98
107
  declare function openHelp(editor: Editor): void;
99
108
 
100
109
  /**
101
- * Узлы таблицы для схемы — без зависимости от prosemirror-tables: сама библиотека (выделение
102
- * ячеек, ширина колонок, команды) грузится лениво, а схема нужна сразу. Спеки совместимы с ней
103
- * (tableRole, атрибуты colspan/rowspan/colwidth, тот же HTML).
110
+ * HTML laid out for reading: every block on its own line, nested ones indented. Only the space
111
+ * between blocks changes, never text: a tag holds its blocks on separate lines only when a block
112
+ * follows it at once, inline content stays on its line, and <pre> stays as it is. Reading the result
113
+ * back gives the same document.
114
+ */
115
+ declare function prettyHTML(html: string, indent?: string): string;
116
+
117
+ type SortDirection = 'asc' | 'desc';
118
+ /** How to sort a table (the "Sort" dialog of advanced tables). */
119
+ interface SortOptions {
120
+ /** 'column': the rows, by the values in a column; 'row': the columns, by the values in a row. */
121
+ by: 'column' | 'row';
122
+ /** The column (or row) whose values decide, from 0; the one with the cursor when left out. */
123
+ index?: number;
124
+ direction: SortDirection;
125
+ /** Only the selected rows (or columns), or the whole table (the default). */
126
+ scope?: 'table' | 'selection';
127
+ }
128
+
129
+ /**
130
+ * Table nodes for the schema, without depending on prosemirror-tables: the library itself (cell
131
+ * selection, column widths, commands) loads lazily, but the schema is needed right away. The specs
132
+ * are compatible with it (tableRole, the colspan/rowspan/colwidth attributes, the same HTML).
104
133
  *
105
- * Адаптировано из prosemirror-tables (MIT, © Marijn Haverbeke и др.): tableNodes, getCellAttrs,
134
+ * Adapted from prosemirror-tables (MIT, © Marijn Haverbeke and others): tableNodes, getCellAttrs,
106
135
  * setCellAttrs.
107
136
  */
108
137
 
109
- /** Курсор внутри таблицы (как isInTable из prosemirror-tables). */
138
+ /** The cursor is inside a table (like isInTable from prosemirror-tables). */
110
139
  declare function isInTable(state: EditorState): boolean;
111
140
 
112
141
  /**
113
- * Таблицы в первой загрузке — только лёгкая часть: создание и вставка таблицы, сетка выбора
114
- * размера, положение таблицы на экране. Механика (выделение ячеек, ширина колонок, команды строк и
115
- * столбцов, сортировка, свойства) — модуль ./table на prosemirror-tables: ~10 КБ gzip, грузится в
116
- * фоне сразу после создания редактора и входит в `editor.ready`.
142
+ * Tables in the first load are only the light part: creating and inserting a table, the size grid,
143
+ * the table's position on screen. The mechanics (cell selection, column widths, row and column
144
+ * commands, sorting, properties) are the ./table module on prosemirror-tables: ~10 KB gzip, loaded
145
+ * in the background right after the editor is created and part of `editor.ready`.
117
146
  *
118
- * Команды и помощники механики доступны здесь «заместителями» с тем же API: пока модуль не
119
- * загружен (первые миллисекунды), команда «недоступна» (false), как любая неприменимая команда.
147
+ * The commands and helpers of the mechanics are available here as stand-ins with the same API:
148
+ * until the module has loaded (the first milliseconds), a command is "unavailable" (false), like any command that doesn't apply.
120
149
  */
121
150
 
122
151
  type TableCommandName = 'addRowBefore' | 'addRowAfter' | 'deleteRow' | 'addColumnBefore' | 'addColumnAfter' | 'deleteColumn' | 'mergeCells' | 'splitCell' | 'toggleHeaderRow' | 'toggleHeaderColumn' | 'deleteTable';
123
- /** Команды строк, столбцов и ячеек (публичный API; до загрузки механики — недоступны). */
152
+ /** Row, column and cell commands (public API; unavailable until the mechanics have loaded). */
124
153
  declare const tableCommands: Record<TableCommandName, Command>;
125
- /** Фон выделенных ячеек (null — убрать). */
154
+ /** Background of the selected cells (null removes it). */
126
155
  declare function setCellBackground(color: string | null): Command;
127
156
  declare function hasHeaderRow(state: EditorState): boolean;
128
157
  declare function hasHeaderColumn(state: EditorState): boolean;
129
- /** Создать таблицу rows×cols; первая строка — заголовки, если withHeader. */
158
+ /** Create a rows×cols table; the first row is headers when withHeader. */
130
159
  declare function createTable(rows: number, cols: number, withHeader?: boolean, schema?: NovaSchema): Node;
131
- /** Вставить таблицу на место выделения и поставить курсор в первую ячейку. */
160
+ /** Insert a table in place of the selection and put the cursor in its first cell. */
132
161
  declare function insertTable(rows: number, cols: number, withHeader?: boolean): Command;
133
162
 
134
163
  /**
135
- * Плагин suggestions — режим правок (как «Предлагать изменения» в Google Docs).
136
- * В режиме правок ввод не меняет текст напрямую: вставленное помечается <ins>, удалённое — <del>
137
- * (текст остаётся до решения). Каждая правка знает автора и время; её принимают или отклоняют —
138
- * по одной (панель над правкой) или все сразу. В HTML: `<ins data-suggestion="id" …>`.
164
+ * The suggestions plugin — suggesting mode (like "Suggesting" in Google Docs). In suggesting mode,
165
+ * an edit doesn't change the document directly: insertions are marked <ins>, deletions <del> (the
166
+ * text stays until a decision). Every suggestion knows its author and time; it is accepted or
167
+ * rejected one by one (the panel above it) or all at once. In HTML: `<ins data-suggestion="id" …>`.
139
168
  *
140
- * Отслеживаются вставка и удаление текста. Структурные изменения (новый абзац, список, формат)
141
- * в режиме правок применяются сразу.
169
+ * Inserting and deleting text is tracked, and so is text formatting (bold, a color, a link…): the
170
+ * new formatting shows at once, and the text remembers what it was, to go back to it if the
171
+ * suggestion is rejected (`<span data-suggestion="id" data-format="[…]">`). So is a node's type and
172
+ * style (a heading instead of a paragraph, alignment, a numbered list instead of a bulleted one,
173
+ * table and cell properties, an image's size): the node remembers what it was
174
+ * (`<h2 data-suggestion="id" data-before='{"type":"paragraph"}'>`). Whole nodes inserted or deleted
175
+ * (a table, a row, a column, an image, a line) carry the suggestion themselves
176
+ * (`<tr data-suggestion="id" data-change="delete">`); a deleted one stays until the deletion is
177
+ * accepted. Putting paragraphs into a list or a quote, taking them out, Tab and Shift+Tab in a list
178
+ * are suggestions on the item or the quote (`data-change="wrap"` / `"unwrap"`). An edit that can't be
179
+ * a suggestion (merging table cells, a page setup) isn't made in suggesting mode: nothing changes
180
+ * the document directly.
142
181
  */
143
182
  interface SuggestionAuthor {
144
183
  id: string;
145
184
  name: string;
146
185
  }
147
186
  interface SuggestionsOptions {
148
- /** Кто предлагает правки. */
187
+ /** Who is suggesting. */
149
188
  author?: SuggestionAuthor;
150
- /** Включить режим правок сразу. */
189
+ /** Start in suggesting mode. */
151
190
  enabled?: boolean;
152
- /** Только правки: режим нельзя выключить (участник без права менять текст напрямую). */
191
+ /** Suggestions only: the mode can't be turned off (someone who may not change the text directly). */
153
192
  force?: boolean;
154
- /** Может ли этот пользователь принимать и отклонять правки (по умолчанию да). */
193
+ /** Whether this user can accept and reject suggestions (yes by default). */
155
194
  canReview?: boolean;
156
195
  }
157
196
  interface Suggestion {
158
197
  id: string;
159
- kind: 'insert' | 'delete';
198
+ /**
199
+ * insert and delete: text, or a whole node (`node` says which); format: the text's formatting
200
+ * changed; block: a node's type or style; split: a new paragraph break before the block; join:
201
+ * the paragraph break before it deleted; wrap: the node put into a list or a quote, or one level
202
+ * deeper in a list (Tab); unwrap: taking it out of one suggested.
203
+ */
204
+ kind: 'insert' | 'delete' | 'format' | 'block' | 'split' | 'join' | 'wrap' | 'unwrap';
160
205
  author: SuggestionAuthor;
161
206
  time: number;
207
+ /** Text: where it starts and ends. A suggestion a node carries (`node` is set): the whole node. */
162
208
  from: number;
163
209
  to: number;
164
210
  text: string;
211
+ /** The type name of the node that carries the suggestion (not set for text). */
212
+ node?: string;
213
+ /** format: the formatting (mark names) the text got, and the formatting it lost. */
214
+ added?: string[];
215
+ removed?: string[];
216
+ /** block: what the block was before: its type and attributes. */
217
+ before?: BlockBefore;
218
+ /** split and join: how many levels the paragraph break is (a list item: 2). */
219
+ depth?: number;
165
220
  }
166
- /** Все правки документа (подряд идущие части одной правки объединены). */
221
+ interface BlockBefore {
222
+ type: string;
223
+ attrs: Record<string, string | number | boolean | null>;
224
+ }
225
+ /** All suggestions in the document (consecutive parts of one suggestion are merged). */
167
226
  declare function listSuggestions(doc: Node): Suggestion[];
168
- /** Принять или отклонить правки (все или с указанными id). */
227
+ /** Accept or reject suggestions (all of them, or those with the given ids). */
169
228
  declare function resolveSuggestions(state: EditorState, action: 'accept' | 'reject', ids?: readonly string[]): Transaction;
170
- /** HTML документа без правок: как если принять все (accept) или отклонить все (reject). */
229
+ /** The document without suggestions: as if all were accepted (accept) or all rejected (reject). */
171
230
  declare function suggestionsResult(editor: Editor, action: 'accept' | 'reject'): Node;
172
231
  declare function isSuggesting(state: EditorState): boolean;
173
232
  declare function setSuggesting(editor: Editor, enabled: boolean): void;
@@ -240,6 +299,7 @@ declare const icons: {
240
299
  textColor: string;
241
300
  highlight: string;
242
301
  lineHeight: string;
302
+ language: string;
243
303
  upload: string;
244
304
  externalLink: string;
245
305
  copy: string;
@@ -248,6 +308,7 @@ declare const icons: {
248
308
  browse: string;
249
309
  mergeTags: string;
250
310
  resizeHandleBoth: string;
311
+ sidebar: string;
251
312
  anchor: string;
252
313
  save: string;
253
314
  charmap: string;
@@ -256,22 +317,35 @@ declare const icons: {
256
317
  emoji: string;
257
318
  dateTime: string;
258
319
  media: string;
320
+ checklist: string;
321
+ codeSample: string;
322
+ dragHandle: string;
323
+ accordion: string;
324
+ tableOfContents: string;
325
+ math: string;
326
+ duplicate: string;
259
327
  nonBreaking: string;
260
328
  pageBreak: string;
261
- /** Боковая панель (кнопка своих панелей плагинов по умолчанию). */
262
- sidebar: string;
263
329
  history: string;
264
330
  suggest: string;
265
331
  review: string;
266
332
  visualBlocks: string;
267
333
  ltr: string;
268
334
  rtl: string;
335
+ caseChange: string;
336
+ formatPainter: string;
337
+ permanentPen: string;
338
+ visualChars: string;
339
+ cancelChanges: string;
340
+ template: string;
341
+ footnote: string;
342
+ footnotesUpdate: string;
269
343
  };
270
344
 
271
345
  declare class HTMLSerializer {
272
346
  /**
273
- * Кэш отрисовки марок — свой у каждого типа марки: сериализатор общий для всех редакторов страницы,
274
- * а вывод одноимённой марки зависит от схемы редактора (правила атрибутов, плагины).
347
+ * A cache of rendered marks, separate for each mark type: the serializer is shared by every editor
348
+ * on the page, while a mark's output depends on the editor's schema (attribute rules, plugins).
275
349
  */
276
350
  private readonly cache;
277
351
  serializeFragment(fragment: Fragment, { pre }?: {
@@ -281,4 +355,5 @@ declare class HTMLSerializer {
281
355
  private renderMark;
282
356
  }
283
357
 
284
- export { Editor, HTMLSerializer, type LinkAttrs, NovaSchema, type SearchMatch, type SearchOptions, type SearchState, type StyleMark, type Suggestion, type SuggestionAuthor, type SuggestionsOptions, applyLink, clearSearch, countWords, createTable, defaultColors, findMatches, findNext, formatHTML, getLineHeight, getSearchState, getStyle, hasHeaderColumn, hasHeaderRow, icons, insertTable, isFullscreen, isInTable, isSafeImageUrl, isSafeLinkUrl, isSuggesting, listSuggestions, normalizeUrl, openHelp, openLinkDialog, openPreview, openSourceCode, parserFor, printContent, removeLink, replaceAll, replaceCurrent, resolveSuggestions, setCellBackground, setLineHeight, setSearch, setStyle, setSuggesting, suggestionsResult, tableCommands, toggleFullscreen };
358
+ export { Editor, HTMLSerializer, NovaSchema, applyLink, clearSearch, countWords, createTable, defaultColors, findMatches, findNext, formatHTML, getLineHeight, getSearchState, getStyle, hasHeaderColumn, hasHeaderRow, icons, insertTable, isFullscreen, isInTable, isSafeImageUrl, isSafeLinkUrl, isSuggesting, listSuggestions, normalizeUrl, openHelp, openLinkDialog, openPreview, openSourceCode, parserFor, prettyHTML, printContent, removeLink, replaceAll, replaceCurrent, resolveSuggestions, setCellBackground, setLineHeight, setSearch, setStyle, setSuggesting, suggestionsResult, tableCommands, toggleFullscreen };
359
+ export type { LinkAttrs, SearchMatch, SearchOptions, SearchState, SortOptions, StyleMark, Suggestion, SuggestionAuthor, SuggestionsOptions };