@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.
- package/README.md +15 -2
- package/dist/a11y.cjs +314 -0
- package/dist/a11y.cjs.map +1 -0
- package/dist/a11y.d.cts +51 -0
- package/dist/a11y.d.ts +51 -0
- package/dist/a11y.js +11 -0
- package/dist/a11y.js.map +1 -0
- package/dist/a11ychecker-6ES3UMU3.js +449 -0
- package/dist/a11ychecker-6ES3UMU3.js.map +1 -0
- package/dist/accordion-ui-B4I2FJXE.js +201 -0
- package/dist/accordion-ui-B4I2FJXE.js.map +1 -0
- package/dist/advcode-7S6N64C7.js +51 -0
- package/dist/advcode-7S6N64C7.js.map +1 -0
- package/dist/advcode-editor-ENCPFVLO.js +257 -0
- package/dist/advcode-editor-ENCPFVLO.js.map +1 -0
- package/dist/{advlist-5FNKPLUX.js → advlist-FEDGNLMQ.js} +10 -7
- package/dist/advlist-FEDGNLMQ.js.map +1 -0
- package/dist/advtable-ui-JAVJY4L4.js +364 -0
- package/dist/advtable-ui-JAVJY4L4.js.map +1 -0
- package/dist/ai-5KM776QW.js +1485 -0
- package/dist/ai-5KM776QW.js.map +1 -0
- package/dist/anchor-ui-VPKNKZ7J.js +81 -0
- package/dist/anchor-ui-VPKNKZ7J.js.map +1 -0
- package/dist/autocorrect-5QLICCRN.js +851 -0
- package/dist/autocorrect-5QLICCRN.js.map +1 -0
- package/dist/{autolink-45LTODWB.js → autolink-ZYIPRXBA.js} +11 -8
- package/dist/autolink-ZYIPRXBA.js.map +1 -0
- package/dist/{autoresize-UB3GOA6D.js → autoresize-YRZAVCNO.js} +2 -2
- package/dist/autoresize-YRZAVCNO.js.map +1 -0
- package/dist/{autosave-GMWJ5BPE.js → autosave-IC7YYG44.js} +7 -7
- package/dist/autosave-IC7YYG44.js.map +1 -0
- package/dist/casechange-R7IO2APS.js +201 -0
- package/dist/casechange-R7IO2APS.js.map +1 -0
- package/dist/{charmap-2GC7LF7G.js → charmap-CARYZFKD.js} +7 -7
- package/dist/charmap-CARYZFKD.js.map +1 -0
- package/dist/checklist-7E47QW6L.js +189 -0
- package/dist/checklist-7E47QW6L.js.map +1 -0
- package/dist/chunk-23ZLVT5D.js +163 -0
- package/dist/chunk-23ZLVT5D.js.map +1 -0
- package/dist/{chunk-ND2CWNVG.js → chunk-3BOK3S3T.js} +2 -27
- package/dist/chunk-3BOK3S3T.js.map +1 -0
- package/dist/chunk-3KBQEAX2.js +926 -0
- package/dist/chunk-3KBQEAX2.js.map +1 -0
- package/dist/chunk-3NNILZVB.js +259 -0
- package/dist/chunk-3NNILZVB.js.map +1 -0
- package/dist/{chunk-PVFKXRID.js → chunk-4VPDY3LF.js} +1 -1
- package/dist/chunk-4VPDY3LF.js.map +1 -0
- package/dist/chunk-53AY5NAF.js +214 -0
- package/dist/chunk-53AY5NAF.js.map +1 -0
- package/dist/{chunk-5AW2HHG6.js → chunk-5KERLFDD.js} +50 -3
- package/dist/chunk-5KERLFDD.js.map +1 -0
- package/dist/{chunk-FCMZ7TUQ.js → chunk-6BJEOL5V.js} +296 -43
- package/dist/chunk-6BJEOL5V.js.map +1 -0
- package/dist/chunk-6LQM7G4V.js +159 -0
- package/dist/chunk-6LQM7G4V.js.map +1 -0
- package/dist/chunk-AB67XUSR.js +178 -0
- package/dist/chunk-AB67XUSR.js.map +1 -0
- package/dist/chunk-ANE5ASXG.js +26 -0
- package/dist/chunk-ANE5ASXG.js.map +1 -0
- package/dist/{chunk-Z3ELZ77W.js → chunk-AP2PJFLB.js} +5 -2
- package/dist/chunk-AP2PJFLB.js.map +1 -0
- package/dist/chunk-ARBKIZZU.js +137 -0
- package/dist/chunk-ARBKIZZU.js.map +1 -0
- package/dist/chunk-AUQSATWL.js +322 -0
- package/dist/chunk-AUQSATWL.js.map +1 -0
- package/dist/chunk-BMCH63QN.js +165 -0
- package/dist/chunk-BMCH63QN.js.map +1 -0
- package/dist/chunk-BUABAYZL.js +160 -0
- package/dist/chunk-BUABAYZL.js.map +1 -0
- package/dist/chunk-DCMPJ25E.js +140 -0
- package/dist/chunk-DCMPJ25E.js.map +1 -0
- package/dist/chunk-DV7TGRU6.js +47 -0
- package/dist/chunk-DV7TGRU6.js.map +1 -0
- package/dist/chunk-F2WT77ZG.js +163 -0
- package/dist/chunk-F2WT77ZG.js.map +1 -0
- package/dist/chunk-FNJ7AEJK.js +955 -0
- package/dist/chunk-FNJ7AEJK.js.map +1 -0
- package/dist/chunk-G74HNSB6.js +9 -0
- package/dist/chunk-G74HNSB6.js.map +1 -0
- package/dist/chunk-GTLE2HEW.js +108 -0
- package/dist/chunk-GTLE2HEW.js.map +1 -0
- package/dist/chunk-GUZCRDK6.js +143 -0
- package/dist/chunk-GUZCRDK6.js.map +1 -0
- package/dist/chunk-HNEAVVBC.js +98 -0
- package/dist/chunk-HNEAVVBC.js.map +1 -0
- package/dist/chunk-HSVNJGK3.js +1149 -0
- package/dist/chunk-HSVNJGK3.js.map +1 -0
- package/dist/chunk-IFSD6O5M.js +29 -0
- package/dist/chunk-IFSD6O5M.js.map +1 -0
- package/dist/{table-SSNABG5W.js → chunk-IO5PU52K.js} +119 -61
- package/dist/chunk-IO5PU52K.js.map +1 -0
- package/dist/chunk-K4LFGNS7.js +137 -0
- package/dist/chunk-K4LFGNS7.js.map +1 -0
- package/dist/chunk-KGEHUWGL.js +79 -0
- package/dist/chunk-KGEHUWGL.js.map +1 -0
- package/dist/chunk-KW6ATQPN.js +151 -0
- package/dist/chunk-KW6ATQPN.js.map +1 -0
- package/dist/chunk-NX3KWIP5.js +207 -0
- package/dist/chunk-NX3KWIP5.js.map +1 -0
- package/dist/chunk-OOVNE6MB.js +28 -0
- package/dist/chunk-OOVNE6MB.js.map +1 -0
- package/dist/chunk-OQMMHWMZ.js +7 -0
- package/dist/chunk-OQMMHWMZ.js.map +1 -0
- package/dist/{chunk-JPJVTB45.js → chunk-QU3KXMYT.js} +8 -2
- package/dist/chunk-QU3KXMYT.js.map +1 -0
- package/dist/chunk-QWT56RVG.js +158 -0
- package/dist/chunk-QWT56RVG.js.map +1 -0
- package/dist/chunk-RJ7T56OH.js +3787 -0
- package/dist/chunk-RJ7T56OH.js.map +1 -0
- package/dist/{chunk-KWXFL4WS.js → chunk-RPHA4HRX.js} +8 -5
- package/dist/chunk-RPHA4HRX.js.map +1 -0
- package/dist/chunk-S4DCQA74.js +66 -0
- package/dist/chunk-S4DCQA74.js.map +1 -0
- package/dist/chunk-SCIRO4XK.js +144 -0
- package/dist/chunk-SCIRO4XK.js.map +1 -0
- package/dist/chunk-SNVYHGGO.js +127 -0
- package/dist/chunk-SNVYHGGO.js.map +1 -0
- package/dist/chunk-T4543CB2.js +67 -0
- package/dist/chunk-T4543CB2.js.map +1 -0
- package/dist/{chunk-T3GY6IVK.js → chunk-UHUOAQA6.js} +71 -9
- package/dist/chunk-UHUOAQA6.js.map +1 -0
- package/dist/chunk-UTMS2P2K.js +288 -0
- package/dist/chunk-UTMS2P2K.js.map +1 -0
- package/dist/{chunk-HPLT3XRZ.js → chunk-V7WUHUHM.js} +13 -1
- package/dist/chunk-V7WUHUHM.js.map +1 -0
- package/dist/chunk-WAOU5NGN.js +430 -0
- package/dist/chunk-WAOU5NGN.js.map +1 -0
- package/dist/{chunk-R2UMUCVI.js → chunk-XCXJD5DO.js} +53 -8
- package/dist/chunk-XCXJD5DO.js.map +1 -0
- package/dist/chunk-XIH4SCO6.js +112 -0
- package/dist/chunk-XIH4SCO6.js.map +1 -0
- package/dist/chunk-XR7CY4NI.js +11 -0
- package/dist/chunk-XR7CY4NI.js.map +1 -0
- package/dist/chunk-Y2OXWCM7.js +263 -0
- package/dist/chunk-Y2OXWCM7.js.map +1 -0
- package/dist/chunk-YDF55N6Z.js +164 -0
- package/dist/chunk-YDF55N6Z.js.map +1 -0
- package/dist/chunk-YOTA26H7.js +373 -0
- package/dist/chunk-YOTA26H7.js.map +1 -0
- package/dist/chunk-YP7N47QR.js +101 -0
- package/dist/chunk-YP7N47QR.js.map +1 -0
- package/dist/{chunk-KPE3QRPB.js → chunk-YYCDRUE2.js} +16 -315
- package/dist/chunk-YYCDRUE2.js.map +1 -0
- package/dist/codesample-FOWXMCTC.js +546 -0
- package/dist/codesample-FOWXMCTC.js.map +1 -0
- package/dist/{comments-panel-HXMWSRAW.js → comments-panel-SOLBZ46Q.js} +9 -5
- package/dist/comments-panel-SOLBZ46Q.js.map +1 -0
- package/dist/{directionality-5JLWQGP2.js → directionality-BXWXNPRZ.js} +13 -10
- package/dist/directionality-BXWXNPRZ.js.map +1 -0
- package/dist/document-B0hLRhuH.d.cts +39 -0
- package/dist/document-Dh-jz1SK.d.ts +39 -0
- package/dist/docx.cjs +23575 -0
- package/dist/docx.cjs.map +1 -0
- package/dist/docx.d.cts +83 -0
- package/dist/docx.d.ts +83 -0
- package/dist/docx.js +1826 -0
- package/dist/docx.js.map +1 -0
- package/dist/draghandle-3IBHVHDE.js +389 -0
- package/dist/draghandle-3IBHVHDE.js.map +1 -0
- package/dist/editimage-GTLFGHYU.js +683 -0
- package/dist/editimage-GTLFGHYU.js.map +1 -0
- package/dist/editor-DnAN9aPd.d.ts +2948 -0
- package/dist/editor-S8w_w5W0.d.cts +2948 -0
- package/dist/email-FDSENENR.js +177 -0
- package/dist/email-FDSENENR.js.map +1 -0
- package/dist/email.cjs +588 -0
- package/dist/email.cjs.map +1 -0
- package/dist/email.d.cts +7 -0
- package/dist/email.d.ts +7 -0
- package/dist/email.js +21 -0
- package/dist/email.js.map +1 -0
- package/dist/{emoticons-ZD6ZRIWG.js → emoticons-SHYSAEID.js} +7 -7
- package/dist/emoticons-SHYSAEID.js.map +1 -0
- package/dist/exportpdf-TEBDQZSN.js +91 -0
- package/dist/exportpdf-TEBDQZSN.js.map +1 -0
- package/dist/exportword-BGH2CZXO.js +16 -0
- package/dist/exportword-BGH2CZXO.js.map +1 -0
- package/dist/footnotes-ui-KPKFDSN7.js +449 -0
- package/dist/footnotes-ui-KPKFDSN7.js.map +1 -0
- package/dist/form-dialog-SNWFPM2K.js +379 -0
- package/dist/form-dialog-SNWFPM2K.js.map +1 -0
- package/dist/formatpainter-CB4ZTKR5.js +209 -0
- package/dist/formatpainter-CB4ZTKR5.js.map +1 -0
- package/dist/fullpagehtml-ui-JPGRMXHD.js +220 -0
- package/dist/fullpagehtml-ui-JPGRMXHD.js.map +1 -0
- package/dist/html-rules-api-BLDDW9MO.d.cts +42 -0
- package/dist/html-rules-api-BLDDW9MO.d.ts +42 -0
- package/dist/html-rules.cjs +21 -19
- package/dist/html-rules.cjs.map +1 -1
- package/dist/html-rules.d.cts +37 -35
- package/dist/html-rules.d.ts +37 -35
- package/dist/html-rules.js +26 -22
- package/dist/html-rules.js.map +1 -1
- package/dist/i18n/de.cjs +349 -0
- package/dist/i18n/de.cjs.map +1 -1
- package/dist/i18n/de.d.cts +1 -1
- package/dist/i18n/de.d.ts +1 -1
- package/dist/i18n/de.js +349 -0
- package/dist/i18n/de.js.map +1 -1
- package/dist/i18n/es.cjs +349 -0
- package/dist/i18n/es.cjs.map +1 -1
- package/dist/i18n/es.d.cts +1 -1
- package/dist/i18n/es.d.ts +1 -1
- package/dist/i18n/es.js +349 -0
- package/dist/i18n/es.js.map +1 -1
- package/dist/i18n/fr.cjs +349 -0
- package/dist/i18n/fr.cjs.map +1 -1
- package/dist/i18n/fr.d.cts +1 -1
- package/dist/i18n/fr.d.ts +1 -1
- package/dist/i18n/fr.js +349 -0
- package/dist/i18n/fr.js.map +1 -1
- package/dist/i18n/it.cjs +349 -0
- package/dist/i18n/it.cjs.map +1 -1
- package/dist/i18n/it.d.cts +1 -1
- package/dist/i18n/it.d.ts +1 -1
- package/dist/i18n/it.js +349 -0
- package/dist/i18n/it.js.map +1 -1
- package/dist/i18n/pt-BR.cjs +349 -0
- package/dist/i18n/pt-BR.cjs.map +1 -1
- package/dist/i18n/pt-BR.d.cts +1 -1
- package/dist/i18n/pt-BR.d.ts +1 -1
- package/dist/i18n/pt-BR.js +349 -0
- package/dist/i18n/pt-BR.js.map +1 -1
- package/dist/i18n/ru.cjs +349 -0
- package/dist/i18n/ru.cjs.map +1 -1
- package/dist/i18n/ru.d.cts +3 -3
- package/dist/i18n/ru.d.ts +3 -3
- package/dist/i18n/ru.js +349 -0
- package/dist/i18n/ru.js.map +1 -1
- package/dist/importcss-JLNIRKGH.js +127 -0
- package/dist/importcss-JLNIRKGH.js.map +1 -0
- package/dist/importword-ZOWLUWSN.js +73 -0
- package/dist/importword-ZOWLUWSN.js.map +1 -0
- package/dist/{index-C603bU6r.d.ts → index-Pb2r0V-S.d.cts} +39 -17
- package/dist/{index-C603bU6r.d.cts → index-Pb2r0V-S.d.ts} +39 -17
- package/dist/index.cjs +29422 -10640
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +139 -64
- package/dist/index.d.ts +139 -64
- package/dist/index.js +204 -1412
- package/dist/index.js.map +1 -1
- package/dist/{insertdatetime-CRO7TJAQ.js → insertdatetime-BXQ3XXPH.js} +7 -7
- package/dist/insertdatetime-BXQ3XXPH.js.map +1 -0
- package/dist/linkchecker-JASSETVI.js +287 -0
- package/dist/linkchecker-JASSETVI.js.map +1 -0
- package/dist/markdown-OTLTCK26.js +136 -0
- package/dist/markdown-OTLTCK26.js.map +1 -0
- package/dist/markdown.cjs +94 -11
- package/dist/markdown.cjs.map +1 -1
- package/dist/markdown.d.cts +12 -10
- package/dist/markdown.d.ts +12 -10
- package/dist/markdown.js +4 -235
- package/dist/markdown.js.map +1 -1
- package/dist/math-ui-TY4VZF7Q.js +157 -0
- package/dist/math-ui-TY4VZF7Q.js.map +1 -0
- package/dist/media-ui-IXN4ENVF.js +123 -0
- package/dist/media-ui-IXN4ENVF.js.map +1 -0
- package/dist/mediaembed-ui-ODX5ECXC.js +207 -0
- package/dist/mediaembed-ui-ODX5ECXC.js.map +1 -0
- package/dist/mentions-ui-55GCKC6F.js +58 -0
- package/dist/mentions-ui-55GCKC6F.js.map +1 -0
- package/dist/mergetags-ui-6T7Z7MAZ.js +73 -0
- package/dist/mergetags-ui-6T7Z7MAZ.js.map +1 -0
- package/dist/{nonbreaking-66LFZV2W.js → nonbreaking-PONHSOMJ.js} +7 -7
- package/dist/nonbreaking-PONHSOMJ.js.map +1 -0
- package/dist/pagebreak-ui-AKAW7M5I.js +50 -0
- package/dist/pagebreak-ui-AKAW7M5I.js.map +1 -0
- package/dist/pageembed-ui-GUNPKMBR.js +172 -0
- package/dist/pageembed-ui-GUNPKMBR.js.map +1 -0
- package/dist/pagelayout-ui-JSFVEMHS.js +236 -0
- package/dist/pagelayout-ui-JSFVEMHS.js.map +1 -0
- package/dist/{paste-office-F3QW4WWO.js → paste-office-TORLAZ5L.js} +94 -4
- package/dist/paste-office-TORLAZ5L.js.map +1 -0
- package/dist/permanentpen-EACURV5U.js +206 -0
- package/dist/permanentpen-EACURV5U.js.map +1 -0
- package/dist/print-4XJCOANX.js +178 -0
- package/dist/print-4XJCOANX.js.map +1 -0
- package/dist/{quickbars-7E2QRS7J.js → quickbars-BT5PETRX.js} +20 -12
- package/dist/quickbars-BT5PETRX.js.map +1 -0
- package/dist/{revisionhistory-DXE7KU4R.js → revisionhistory-3FKLMJHJ.js} +42 -153
- package/dist/revisionhistory-3FKLMJHJ.js.map +1 -0
- package/dist/save-ZHFXH222.js +120 -0
- package/dist/save-ZHFXH222.js.map +1 -0
- package/dist/search-bar-6MVRMTK6.js +212 -0
- package/dist/search-bar-6MVRMTK6.js.map +1 -0
- package/dist/spellchecker-JJKA6B4R.js +474 -0
- package/dist/spellchecker-JJKA6B4R.js.map +1 -0
- package/dist/suggestions-panel-X37NFLXE.js +596 -0
- package/dist/suggestions-panel-X37NFLXE.js.map +1 -0
- package/dist/suggestions-ui-WN7QNYHB.js +395 -0
- package/dist/suggestions-ui-WN7QNYHB.js.map +1 -0
- package/dist/table-PEF56QG5.js +54 -0
- package/dist/table-PEF56QG5.js.map +1 -0
- package/dist/table-dialogs-QS3VFZD2.js +119 -0
- package/dist/table-dialogs-QS3VFZD2.js.map +1 -0
- package/dist/tableofcontents-ui-U7EV3UU7.js +167 -0
- package/dist/tableofcontents-ui-U7EV3UU7.js.map +1 -0
- package/dist/template-ZRTKIP2J.js +278 -0
- package/dist/template-ZRTKIP2J.js.map +1 -0
- package/dist/typography-S7RO54DB.js +399 -0
- package/dist/typography-S7RO54DB.js.map +1 -0
- package/dist/upload.cjs +160 -0
- package/dist/upload.cjs.map +1 -0
- package/dist/upload.d.cts +72 -0
- package/dist/upload.d.ts +72 -0
- package/dist/upload.js +132 -0
- package/dist/upload.js.map +1 -0
- package/dist/{visualblocks-6DLBXYOA.js → visualblocks-KJYRHF2L.js} +7 -7
- package/dist/visualblocks-KJYRHF2L.js.map +1 -0
- package/dist/visualchars-TDLZKFXD.js +134 -0
- package/dist/visualchars-TDLZKFXD.js.map +1 -0
- package/package.json +53 -3
- package/src/style.css +376 -550
- package/dist/advlist-5FNKPLUX.js.map +0 -1
- package/dist/autolink-45LTODWB.js.map +0 -1
- package/dist/autoresize-UB3GOA6D.js.map +0 -1
- package/dist/autosave-GMWJ5BPE.js.map +0 -1
- package/dist/charmap-2GC7LF7G.js.map +0 -1
- package/dist/chunk-5AW2HHG6.js.map +0 -1
- package/dist/chunk-DWZLSZDG.js +0 -5664
- package/dist/chunk-DWZLSZDG.js.map +0 -1
- package/dist/chunk-FCMZ7TUQ.js.map +0 -1
- package/dist/chunk-HPLT3XRZ.js.map +0 -1
- package/dist/chunk-JPJVTB45.js.map +0 -1
- package/dist/chunk-KPE3QRPB.js.map +0 -1
- package/dist/chunk-KWXFL4WS.js.map +0 -1
- package/dist/chunk-ND2CWNVG.js.map +0 -1
- package/dist/chunk-PVFKXRID.js.map +0 -1
- package/dist/chunk-R2UMUCVI.js.map +0 -1
- package/dist/chunk-T3GY6IVK.js.map +0 -1
- package/dist/chunk-Z3ELZ77W.js.map +0 -1
- package/dist/comments-panel-HXMWSRAW.js.map +0 -1
- package/dist/directionality-5JLWQGP2.js.map +0 -1
- package/dist/editor-CXkltf1R.d.ts +0 -1886
- package/dist/editor-CgSBFTke.d.cts +0 -1886
- package/dist/emoticons-ZD6ZRIWG.js.map +0 -1
- package/dist/form-dialog-QH6KAERD.js +0 -180
- package/dist/form-dialog-QH6KAERD.js.map +0 -1
- package/dist/html-rules-api-D3fKQi-R.d.cts +0 -40
- package/dist/html-rules-api-D3fKQi-R.d.ts +0 -40
- package/dist/insertdatetime-CRO7TJAQ.js.map +0 -1
- package/dist/nonbreaking-66LFZV2W.js.map +0 -1
- package/dist/paste-office-F3QW4WWO.js.map +0 -1
- package/dist/quickbars-7E2QRS7J.js.map +0 -1
- package/dist/revisionhistory-DXE7KU4R.js.map +0 -1
- package/dist/table-SSNABG5W.js.map +0 -1
- package/dist/visualblocks-6DLBXYOA.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,33 +1,38 @@
|
|
|
1
|
-
import { E as Editor, N as NovaSchema } from './editor-
|
|
2
|
-
export { A as
|
|
1
|
+
import { E as Editor, N as NovaSchema } from './editor-S8w_w5W0.cjs';
|
|
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-S8w_w5W0.cjs';
|
|
3
|
+
export { D as DocumentOptions, a as DocumentRenderer, c as createRenderer, r as renderHTML } from './document-B0hLRhuH.cjs';
|
|
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,
|
|
6
|
-
export { H as HtmlRulesInstance, b as HtmlRulesModule, a as HtmlRulesOptions, r as registerHtmlRules } from './html-rules-api-
|
|
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.cjs';
|
|
7
|
+
export { H as HtmlRulesInstance, b as HtmlRulesModule, a as HtmlRulesOptions, S as SchemaSpecs, r as registerHtmlRules } from './html-rules-api-BLDDW9MO.cjs';
|
|
8
|
+
import './a11y.cjs';
|
|
7
9
|
import 'prosemirror-view';
|
|
8
10
|
|
|
9
|
-
/**
|
|
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
|
-
*
|
|
19
|
-
*
|
|
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
|
-
/**
|
|
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
|
-
*
|
|
30
|
-
*
|
|
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
|
-
*
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
72
|
+
/** Index of the current match, or -1. */
|
|
68
73
|
current: number;
|
|
69
74
|
}
|
|
70
75
|
/**
|
|
71
|
-
*
|
|
72
|
-
*
|
|
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
|
-
/**
|
|
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
|
-
*
|
|
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
|
|
94
|
-
|
|
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
|
-
/**
|
|
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
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
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
|
-
*
|
|
134
|
+
* Adapted from prosemirror-tables (MIT, © Marijn Haverbeke and others): tableNodes, getCellAttrs,
|
|
106
135
|
* setCellAttrs.
|
|
107
136
|
*/
|
|
108
137
|
|
|
109
|
-
/**
|
|
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
|
-
*
|
|
116
|
-
*
|
|
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
|
-
*
|
|
119
|
-
*
|
|
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
|
-
/**
|
|
152
|
+
/** Row, column and cell commands (public API; unavailable until the mechanics have loaded). */
|
|
124
153
|
declare const tableCommands: Record<TableCommandName, Command>;
|
|
125
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
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
|
-
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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,
|
|
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 };
|