@myoc/excalidraw 0.19.502 → 0.19.503
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/CHANGELOG.md +520 -0
- package/README.md +111 -14
- package/dist/dev/{chunk-WBVI4CIR.js → chunk-KLM3KPI7.js} +26 -3
- package/dist/dev/chunk-KLM3KPI7.js.map +7 -0
- package/dist/dev/{chunk-ERXRO4IP.js → chunk-OF725VHI.js} +2 -2
- package/dist/dev/chunk-URPEKBQ3.js +69 -0
- package/dist/dev/chunk-URPEKBQ3.js.map +7 -0
- package/dist/dev/{chunk-WGIZZ2NT.js → chunk-YVUPBWS6.js} +58 -70
- package/dist/dev/chunk-YVUPBWS6.js.map +7 -0
- package/dist/dev/data/{image-BOZX7YCK.js → image-I24D3FB6.js} +3 -3
- package/dist/dev/index.css +225 -95
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +6746 -3772
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{ar-SA-B565KYUE.js → ar-SA-U3PIVEZH.js} +4 -2
- package/dist/dev/locales/{ar-SA-B565KYUE.js.map → ar-SA-U3PIVEZH.js.map} +2 -2
- package/dist/dev/locales/{az-AZ-2OH7OPJT.js → az-AZ-COAM4HVM.js} +3 -1
- package/dist/dev/locales/{az-AZ-2OH7OPJT.js.map → az-AZ-COAM4HVM.js.map} +2 -2
- package/dist/dev/locales/{bg-BG-MP6UWIVG.js → bg-BG-D6B2W7JL.js} +4 -2
- package/dist/dev/locales/{bg-BG-MP6UWIVG.js.map → bg-BG-D6B2W7JL.js.map} +2 -2
- package/dist/dev/locales/{bn-BD-WUCPUYTQ.js → bn-BD-BU7GZAZW.js} +3 -1
- package/dist/dev/locales/{bn-BD-WUCPUYTQ.js.map → bn-BD-BU7GZAZW.js.map} +2 -2
- package/dist/dev/locales/{bn-IN-QX4DSL53.js → bn-IN-MYKDEVNA.js} +3 -1
- package/dist/dev/locales/{bn-IN-QX4DSL53.js.map → bn-IN-MYKDEVNA.js.map} +2 -2
- package/dist/dev/locales/{ca-ES-KWEKW4C3.js → ca-ES-GEEW5L7T.js} +57 -3
- package/dist/dev/locales/{ca-ES-KWEKW4C3.js.map → ca-ES-GEEW5L7T.js.map} +2 -2
- package/dist/dev/locales/{cs-CZ-W5AHZB5H.js → cs-CZ-LNVE3QM5.js} +57 -3
- package/dist/dev/locales/{cs-CZ-W5AHZB5H.js.map → cs-CZ-LNVE3QM5.js.map} +2 -2
- package/dist/dev/locales/{da-DK-ITTM6YM4.js → da-DK-CAYJG7FJ.js} +56 -2
- package/dist/dev/locales/{da-DK-ITTM6YM4.js.map → da-DK-CAYJG7FJ.js.map} +2 -2
- package/dist/dev/locales/{de-CH-OAWPDQFJ.js → de-CH-GCXOD4LK.js} +63 -9
- package/dist/dev/locales/de-CH-GCXOD4LK.js.map +7 -0
- package/dist/dev/locales/{de-DE-ZRDYEPMS.js → de-DE-CGDBECYD.js} +57 -3
- package/dist/dev/locales/{de-DE-ZRDYEPMS.js.map → de-DE-CGDBECYD.js.map} +2 -2
- package/dist/dev/locales/{el-GR-QXASZLPE.js → el-GR-G5QZC24A.js} +57 -3
- package/dist/dev/locales/{el-GR-QXASZLPE.js.map → el-GR-G5QZC24A.js.map} +2 -2
- package/dist/dev/locales/{en-GV3XLAUG.js → en-I7VEBYIX.js} +4 -2
- package/dist/dev/locales/{es-ES-VLQBB7FJ.js → es-ES-UMEOH76W.js} +57 -3
- package/dist/dev/locales/{es-ES-VLQBB7FJ.js.map → es-ES-UMEOH76W.js.map} +2 -2
- package/dist/dev/locales/{eu-ES-TF2DGTZU.js → eu-ES-IWRZXJC5.js} +57 -3
- package/dist/dev/locales/{eu-ES-TF2DGTZU.js.map → eu-ES-IWRZXJC5.js.map} +2 -2
- package/dist/dev/locales/{fa-IR-ITKFQ7QV.js → fa-IR-QOYVIIJA.js} +57 -3
- package/dist/dev/locales/{fa-IR-ITKFQ7QV.js.map → fa-IR-QOYVIIJA.js.map} +2 -2
- package/dist/dev/locales/{fi-FI-UWZRVXFI.js → fi-FI-BXRW65OA.js} +57 -3
- package/dist/dev/locales/{fi-FI-UWZRVXFI.js.map → fi-FI-BXRW65OA.js.map} +2 -2
- package/dist/dev/locales/{fr-FR-A72LKGCO.js → fr-FR-R2QH5VCW.js} +57 -3
- package/dist/dev/locales/{fr-FR-A72LKGCO.js.map → fr-FR-R2QH5VCW.js.map} +2 -2
- package/dist/dev/locales/{gl-ES-2QCVIBFP.js → gl-ES-4ES3ZADP.js} +57 -3
- package/dist/dev/locales/{gl-ES-2QCVIBFP.js.map → gl-ES-4ES3ZADP.js.map} +2 -2
- package/dist/dev/locales/{he-IL-WJNUHU26.js → he-IL-TRQRRYPH.js} +57 -3
- package/dist/dev/locales/{he-IL-WJNUHU26.js.map → he-IL-TRQRRYPH.js.map} +2 -2
- package/dist/dev/locales/{hi-IN-XGMO235V.js → hi-IN-U46BOJEC.js} +66 -12
- package/dist/dev/locales/hi-IN-U46BOJEC.js.map +7 -0
- package/dist/dev/locales/{hu-HU-37FDQFIS.js → hu-HU-JDULJ6XL.js} +146 -92
- package/dist/dev/locales/hu-HU-JDULJ6XL.js.map +7 -0
- package/dist/dev/locales/{id-ID-EJIDCO4E.js → id-ID-BLIXNCUT.js} +57 -3
- package/dist/dev/locales/{id-ID-EJIDCO4E.js.map → id-ID-BLIXNCUT.js.map} +2 -2
- package/dist/dev/locales/{it-IT-X34PIOJ2.js → it-IT-6TBW7RUK.js} +57 -3
- package/dist/dev/locales/{it-IT-X34PIOJ2.js.map → it-IT-6TBW7RUK.js.map} +2 -2
- package/dist/dev/locales/{ja-JP-37FC23PR.js → ja-JP-6HYAQFYX.js} +57 -3
- package/dist/dev/locales/{ja-JP-37FC23PR.js.map → ja-JP-6HYAQFYX.js.map} +2 -2
- package/dist/dev/locales/{kaa-7ZYDFVKA.js → kaa-Z5UP62XJ.js} +56 -2
- package/dist/dev/locales/{kaa-7ZYDFVKA.js.map → kaa-Z5UP62XJ.js.map} +2 -2
- package/dist/dev/locales/{kab-KAB-MILWXBA6.js → kab-KAB-Z7STWQKS.js} +57 -3
- package/dist/dev/locales/{kab-KAB-MILWXBA6.js.map → kab-KAB-Z7STWQKS.js.map} +2 -2
- package/dist/dev/locales/{kk-KZ-7BWTPIAV.js → kk-KZ-BWHY45DX.js} +56 -2
- package/dist/dev/locales/{kk-KZ-7BWTPIAV.js.map → kk-KZ-BWHY45DX.js.map} +2 -2
- package/dist/dev/locales/{km-KH-BV4P2KSZ.js → km-KH-HGLNWNRU.js} +57 -3
- package/dist/dev/locales/{km-KH-BV4P2KSZ.js.map → km-KH-HGLNWNRU.js.map} +2 -2
- package/dist/dev/locales/{ko-KR-TSXE5P7B.js → ko-KR-CO36WKPC.js} +57 -3
- package/dist/dev/locales/{ko-KR-TSXE5P7B.js.map → ko-KR-CO36WKPC.js.map} +2 -2
- package/dist/dev/locales/{ku-TR-ASSXNN3U.js → ku-TR-AACVIARC.js} +57 -3
- package/dist/dev/locales/{ku-TR-ASSXNN3U.js.map → ku-TR-AACVIARC.js.map} +2 -2
- package/dist/dev/locales/{lt-LT-G7RZYQQU.js → lt-LT-CFYYFLDV.js} +56 -2
- package/dist/dev/locales/{lt-LT-G7RZYQQU.js.map → lt-LT-CFYYFLDV.js.map} +2 -2
- package/dist/dev/locales/{lv-LV-DXNPBJZU.js → lv-LV-QCBBOFFU.js} +57 -3
- package/dist/dev/locales/{lv-LV-DXNPBJZU.js.map → lv-LV-QCBBOFFU.js.map} +2 -2
- package/dist/dev/locales/{mr-IN-7F2ZCTCF.js → mr-IN-B2CM5GK5.js} +57 -3
- package/dist/dev/locales/{mr-IN-7F2ZCTCF.js.map → mr-IN-B2CM5GK5.js.map} +2 -2
- package/dist/dev/locales/{my-MM-NBI3KQGW.js → my-MM-756BNN36.js} +56 -2
- package/dist/dev/locales/{my-MM-NBI3KQGW.js.map → my-MM-756BNN36.js.map} +2 -2
- package/dist/dev/locales/{nb-NO-4DCTQT6L.js → nb-NO-5BLHQI4J.js} +57 -3
- package/dist/dev/locales/{nb-NO-4DCTQT6L.js.map → nb-NO-5BLHQI4J.js.map} +2 -2
- package/dist/dev/locales/{nl-NL-XGZJ7V2V.js → nl-NL-225BLGAH.js} +58 -4
- package/dist/dev/locales/nl-NL-225BLGAH.js.map +7 -0
- package/dist/dev/locales/{nn-NO-FR534JV5.js → nn-NO-4J7MR6GH.js} +56 -2
- package/dist/dev/locales/{nn-NO-FR534JV5.js.map → nn-NO-4J7MR6GH.js.map} +2 -2
- package/dist/dev/locales/{oc-FR-YQCIKZIK.js → oc-FR-XCETH7KF.js} +57 -3
- package/dist/dev/locales/{oc-FR-YQCIKZIK.js.map → oc-FR-XCETH7KF.js.map} +2 -2
- package/dist/dev/locales/{pa-IN-UM43JGD2.js → pa-IN-32NBAN5L.js} +57 -3
- package/dist/dev/locales/{pa-IN-UM43JGD2.js.map → pa-IN-32NBAN5L.js.map} +2 -2
- package/dist/dev/locales/{percentages-OGWD7R2K.js → percentages-ZRLRVMSI.js} +2 -2
- package/dist/dev/locales/{pl-PL-2UGKA6HK.js → pl-PL-R6OJ54BT.js} +57 -3
- package/dist/dev/locales/{pl-PL-2UGKA6HK.js.map → pl-PL-R6OJ54BT.js.map} +2 -2
- package/dist/dev/locales/{pt-BR-H23QFYE3.js → pt-BR-7AFGAKGR.js} +57 -3
- package/dist/dev/locales/{pt-BR-H23QFYE3.js.map → pt-BR-7AFGAKGR.js.map} +2 -2
- package/dist/dev/locales/{pt-PT-RHKJH5I5.js → pt-PT-S6BMW6MY.js} +57 -3
- package/dist/dev/locales/{pt-PT-RHKJH5I5.js.map → pt-PT-S6BMW6MY.js.map} +2 -2
- package/dist/dev/locales/{ro-RO-IIFONL3T.js → ro-RO-4JVGQHS2.js} +57 -3
- package/dist/dev/locales/{ro-RO-IIFONL3T.js.map → ro-RO-4JVGQHS2.js.map} +2 -2
- package/dist/dev/locales/{ru-RU-QEP6D7GK.js → ru-RU-IESI752T.js} +59 -5
- package/dist/dev/locales/ru-RU-IESI752T.js.map +7 -0
- package/dist/dev/locales/{si-LK-LZYJQLHF.js → si-LK-H75E7PKD.js} +57 -3
- package/dist/dev/locales/{si-LK-LZYJQLHF.js.map → si-LK-H75E7PKD.js.map} +2 -2
- package/dist/dev/locales/{sk-SK-RWC6UWGY.js → sk-SK-EUK2NR2F.js} +57 -3
- package/dist/dev/locales/{sk-SK-RWC6UWGY.js.map → sk-SK-EUK2NR2F.js.map} +2 -2
- package/dist/dev/locales/{sl-SI-QJT2CAUO.js → sl-SI-AKW7R5PW.js} +57 -3
- package/dist/dev/locales/{sl-SI-QJT2CAUO.js.map → sl-SI-AKW7R5PW.js.map} +2 -2
- package/dist/dev/locales/{sv-SE-3MAT3NDX.js → sv-SE-QIBOOXLJ.js} +57 -3
- package/dist/dev/locales/{sv-SE-3MAT3NDX.js.map → sv-SE-QIBOOXLJ.js.map} +2 -2
- package/dist/dev/locales/{ta-IN-J7XOYF2T.js → ta-IN-LBK2NQ5K.js} +56 -2
- package/dist/dev/locales/{ta-IN-J7XOYF2T.js.map → ta-IN-LBK2NQ5K.js.map} +2 -2
- package/dist/dev/locales/{th-TH-2OI52EOQ.js → th-TH-YJ2E6GVT.js} +56 -2
- package/dist/dev/locales/{th-TH-2OI52EOQ.js.map → th-TH-YJ2E6GVT.js.map} +2 -2
- package/dist/dev/locales/{tr-TR-G7TAUHUI.js → tr-TR-Y5GO2XJW.js} +57 -3
- package/dist/dev/locales/{tr-TR-G7TAUHUI.js.map → tr-TR-Y5GO2XJW.js.map} +2 -2
- package/dist/dev/locales/{uk-UA-IVSVBJIG.js → uk-UA-XYAFHHJW.js} +57 -3
- package/dist/dev/locales/{uk-UA-IVSVBJIG.js.map → uk-UA-XYAFHHJW.js.map} +2 -2
- package/dist/dev/locales/{uz-UZ-KCVDUVDE.js → uz-UZ-LF3CBRYE.js} +56 -2
- package/dist/dev/locales/{uz-UZ-KCVDUVDE.js.map → uz-UZ-LF3CBRYE.js.map} +2 -2
- package/dist/dev/locales/{vi-VN-KBZAVWP5.js → vi-VN-WDPZEUOJ.js} +56 -2
- package/dist/dev/locales/{vi-VN-KBZAVWP5.js.map → vi-VN-WDPZEUOJ.js.map} +2 -2
- package/dist/dev/locales/{zh-CN-IS26RG2D.js → zh-CN-SZ37453H.js} +57 -3
- package/dist/dev/locales/{zh-CN-IS26RG2D.js.map → zh-CN-SZ37453H.js.map} +2 -2
- package/dist/dev/locales/{zh-HK-KBWQ6SJC.js → zh-HK-QDQ5QNBC.js} +56 -2
- package/dist/dev/locales/{zh-HK-KBWQ6SJC.js.map → zh-HK-QDQ5QNBC.js.map} +2 -2
- package/dist/dev/locales/{zh-TW-JKJWJQ4J.js → zh-TW-CYU6GFBV.js} +57 -3
- package/dist/dev/locales/{zh-TW-JKJWJQ4J.js.map → zh-TW-CYU6GFBV.js.map} +2 -2
- package/dist/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/chunk-2VV6LBBJ.js +4 -0
- package/dist/prod/chunk-3FGJVPJS.js +12 -0
- package/dist/prod/chunk-3PELD44J.js +1 -0
- package/dist/prod/{chunk-SNEYYD2R.js → chunk-KG57QRSG.js} +1 -1
- package/dist/prod/data/image-IFJHSHJP.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +26 -24
- package/dist/prod/locales/{ar-SA-EYKRCXR6.js → ar-SA-TS6M4GHP.js} +1 -1
- package/dist/prod/locales/{az-AZ-ZNDJBVCS.js → az-AZ-HJWG4CPD.js} +1 -1
- package/dist/prod/locales/{bg-BG-O5I6U3AR.js → bg-BG-K42QREUV.js} +1 -1
- package/dist/prod/locales/{bn-IN-HPUBVY4I.js → bn-BD-IFEECH4W.js} +1 -1
- package/dist/prod/locales/{bn-BD-CXZY522G.js → bn-IN-OE7SKNFR.js} +1 -1
- package/dist/prod/locales/{ca-ES-AREX5NEO.js → ca-ES-MKBCGNOG.js} +3 -3
- package/dist/prod/locales/{cs-CZ-HXAZMFYH.js → cs-CZ-V77HGUP7.js} +2 -2
- package/dist/prod/locales/{da-DK-5X7ZLFU3.js → da-DK-I5RFNTM4.js} +2 -2
- package/dist/prod/locales/{de-DE-G3JVZ4MQ.js → de-CH-WLRDEVBV.js} +3 -3
- package/dist/prod/locales/{de-CH-76ZNVSOF.js → de-DE-DTI4WUSC.js} +4 -4
- package/dist/prod/locales/{el-GR-4AZTZGY6.js → el-GR-ZXDJ2OS4.js} +3 -3
- package/dist/prod/locales/en-Y2V7YPBM.js +1 -0
- package/dist/prod/locales/{es-ES-ART7BI3G.js → es-ES-DYQHAD43.js} +2 -2
- package/dist/prod/locales/{eu-ES-BIF4XBMT.js → eu-ES-QDSYU5Y3.js} +3 -3
- package/dist/prod/locales/{fa-IR-D4HHKAAI.js → fa-IR-26LZG4PM.js} +3 -3
- package/dist/prod/locales/{fi-FI-O35ZY7UI.js → fi-FI-6YS4KDE4.js} +2 -2
- package/dist/prod/locales/{fr-FR-XEFNCM4I.js → fr-FR-BRLLPTZC.js} +2 -2
- package/dist/prod/locales/{gl-ES-U4NYM3X5.js → gl-ES-OKUZTLYG.js} +3 -3
- package/dist/prod/locales/{he-IL-656ABAVQ.js → he-IL-26MGYIU7.js} +3 -3
- package/dist/prod/locales/hi-IN-Q4ZOGTP2.js +3 -0
- package/dist/prod/locales/hu-HU-P2OXPSN5.js +3 -0
- package/dist/prod/locales/{id-ID-FLZFU3OO.js → id-ID-2EIKXYN6.js} +3 -3
- package/dist/prod/locales/{it-IT-GIGIGIBJ.js → it-IT-4CFKVXI2.js} +4 -4
- package/dist/prod/locales/{ja-JP-43VXGDWI.js → ja-JP-MAND2Z4V.js} +4 -4
- package/dist/prod/locales/{kaa-L3IMSDYL.js → kaa-HQRTCXTJ.js} +1 -1
- package/dist/prod/locales/{kab-KAB-XKPWJLNL.js → kab-KAB-JKIKKTGH.js} +2 -2
- package/dist/prod/locales/{kk-KZ-SXPDDY2H.js → kk-KZ-HXQ63ZFC.js} +1 -1
- package/dist/prod/locales/{km-KH-DOS4CPGC.js → km-KH-PKL3LSGX.js} +3 -3
- package/dist/prod/locales/{ko-KR-BGC6VCY4.js → ko-KR-KXLREZX3.js} +2 -2
- package/dist/prod/locales/{ku-TR-J7IUITIA.js → ku-TR-MJ4IER3X.js} +3 -3
- package/dist/prod/locales/{lt-LT-AC3LV5KG.js → lt-LT-H6WFQ6FJ.js} +2 -2
- package/dist/prod/locales/{lv-LV-I6AY7QG2.js → lv-LV-GOCK6SJW.js} +2 -2
- package/dist/prod/locales/{mr-IN-5SP4HV5B.js → mr-IN-IXVLDMEQ.js} +2 -2
- package/dist/prod/locales/{my-MM-S7ECRBYZ.js → my-MM-YG6MYTTD.js} +1 -1
- package/dist/prod/locales/{nb-NO-6PNHTF4R.js → nb-NO-XGWJISD2.js} +3 -3
- package/dist/prod/locales/{nl-NL-R4C4SUIG.js → nl-NL-XVDVCPNC.js} +4 -4
- package/dist/prod/locales/{nn-NO-3TFXTM7Y.js → nn-NO-EMX5MJX5.js} +2 -2
- package/dist/prod/locales/{oc-FR-IK6GIE7H.js → oc-FR-ROEINTVO.js} +2 -2
- package/dist/prod/locales/{pa-IN-YAKHYJET.js → pa-IN-ZYN6SUDY.js} +1 -1
- package/dist/prod/locales/percentages-5DKR754L.js +1 -0
- package/dist/prod/locales/{pl-PL-BIY22ZWU.js → pl-PL-6VTG7PHC.js} +3 -3
- package/dist/prod/locales/{pt-BR-Q23NUPD6.js → pt-BR-5YFKRR5G.js} +2 -2
- package/dist/prod/locales/{pt-PT-LOPEJLPJ.js → pt-PT-GEIXXZ67.js} +1 -1
- package/dist/prod/locales/{ro-RO-W3D2ZATV.js → ro-RO-E2P6TFZI.js} +4 -4
- package/dist/prod/locales/{ru-RU-DCTW7QSH.js → ru-RU-YBIIY43T.js} +4 -4
- package/dist/prod/locales/{si-LK-FYRRHO3C.js → si-LK-673C2CI2.js} +1 -1
- package/dist/prod/locales/{sk-SK-MC7UOHQO.js → sk-SK-CKZHQ4AP.js} +2 -2
- package/dist/prod/locales/{sl-SI-L6B6HFY5.js → sl-SI-557H2GWM.js} +2 -2
- package/dist/prod/locales/{sv-SE-KMY6L2BA.js → sv-SE-XOPKKDWS.js} +3 -3
- package/dist/prod/locales/{ta-IN-ZQCYE2JK.js → ta-IN-XBH7DQI3.js} +3 -3
- package/dist/prod/locales/{th-TH-WS7ECBAV.js → th-TH-TOCWH3R4.js} +1 -1
- package/dist/prod/locales/{tr-TR-S5FI7JRW.js → tr-TR-GXW6CYY5.js} +2 -2
- package/dist/prod/locales/{uk-UA-4EZUWUSQ.js → uk-UA-IJKTNUDG.js} +3 -3
- package/dist/prod/locales/{uz-UZ-OKHL6AFA.js → uz-UZ-TBZZEA4V.js} +1 -1
- package/dist/prod/locales/{vi-VN-K34TWHF7.js → vi-VN-MULSGNVB.js} +3 -3
- package/dist/prod/locales/{zh-CN-JE4UZWNO.js → zh-CN-MVX3E32U.js} +3 -3
- package/dist/prod/locales/{zh-HK-RM35YDXX.js → zh-HK-JNU5RLIE.js} +1 -1
- package/dist/prod/locales/{zh-TW-ONGLV6Y5.js → zh-TW-LENVCA6T.js} +3 -3
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/common/debug.d.ts +21 -0
- package/dist/types/common/src/appEventBus.d.ts +27 -0
- package/dist/types/common/src/colors.d.ts +1 -1
- package/dist/types/common/src/constants.d.ts +3 -0
- package/dist/types/common/src/index.d.ts +3 -0
- package/dist/types/common/src/utils.d.ts +4 -7
- package/dist/types/common/src/versionedSnapshotStore.d.ts +17 -0
- package/dist/types/element/src/Scene.d.ts +2 -0
- package/dist/types/element/src/arrowheads.d.ts +3 -0
- package/dist/types/element/src/arrows/focus.d.ts +27 -0
- package/dist/types/element/src/arrows/helpers.d.ts +5 -0
- package/dist/types/element/src/binding.d.ts +13 -8
- package/dist/types/element/src/bounds.d.ts +1 -1
- package/dist/types/element/src/collision.d.ts +4 -3
- package/dist/types/element/src/distribute.d.ts +2 -1
- package/dist/types/element/src/elbowArrow.d.ts +2 -0
- package/dist/types/element/src/index.d.ts +4 -0
- package/dist/types/element/src/linearElementEditor.d.ts +5 -0
- package/dist/types/element/src/mutateElement.d.ts +2 -0
- package/dist/types/element/src/selection.d.ts +5 -1
- package/dist/types/element/src/shapes.d.ts +2 -22
- package/dist/types/element/src/textElement.d.ts +1 -1
- package/dist/types/element/src/textWrapping.d.ts +26 -0
- package/dist/types/element/src/types.d.ts +5 -2
- package/dist/types/element/src/utils.d.ts +5 -3
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +38 -35
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +27 -25
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +143 -132
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +26 -24
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +13 -12
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +41 -36
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +9 -12
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +26 -24
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +13 -12
- package/dist/types/excalidraw/actions/actionExport.d.ts +75 -368
- package/dist/types/excalidraw/actions/actionFrame.d.ts +52 -48
- package/dist/types/excalidraw/actions/actionGroup.d.ts +27 -25
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +15 -12
- package/dist/types/excalidraw/actions/actionLink.d.ts +13 -12
- package/dist/types/excalidraw/actions/actionMenu.d.ts +9 -12
- package/dist/types/excalidraw/actions/actionProperties.d.ts +28 -26
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +13 -12
- package/dist/types/excalidraw/actions/actionStyles.d.ts +13 -11
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +181 -0
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +13 -12
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +181 -0
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +13 -12
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +9 -12
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +13 -12
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +13 -12
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +13 -12
- package/dist/types/excalidraw/actions/index.d.ts +2 -0
- package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +9 -7
- package/dist/types/excalidraw/charts/charts.bar.d.ts +2 -0
- package/dist/types/excalidraw/charts/charts.constants.d.ts +48 -0
- package/dist/types/excalidraw/charts/charts.helpers.d.ts +32 -0
- package/dist/types/excalidraw/charts/charts.line.d.ts +2 -0
- package/dist/types/excalidraw/charts/charts.parse.d.ts +10 -0
- package/dist/types/excalidraw/charts/charts.radar.d.ts +2 -0
- package/dist/types/excalidraw/charts/charts.types.d.ts +18 -0
- package/dist/types/excalidraw/charts/index.d.ts +7 -0
- package/dist/types/excalidraw/clipboard.d.ts +6 -7
- package/dist/types/excalidraw/components/App.d.ts +55 -13
- package/dist/types/excalidraw/components/AppStateObserver.d.ts +37 -0
- package/dist/types/excalidraw/components/CommandPalette/types.d.ts +1 -1
- package/dist/types/excalidraw/components/IconPicker.d.ts +14 -9
- package/dist/types/excalidraw/components/PasteChartDialog.d.ts +4 -5
- package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -1
- package/dist/types/excalidraw/components/Range.d.ts +10 -4
- package/dist/types/excalidraw/components/Toast.d.ts +8 -4
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +1 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +30 -17
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +3 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +11 -13
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCheckbox.d.ts +5 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSub.d.ts +23 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSubContent.d.ts +8 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSubTrigger.d.ts +12 -0
- package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts +2 -0
- package/dist/types/excalidraw/components/icons.d.ts +23 -9
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +17 -0
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +23 -13
- package/dist/types/excalidraw/data/blob.d.ts +45 -44
- package/dist/types/excalidraw/data/filesystem.d.ts +3 -5
- package/dist/types/excalidraw/data/index.d.ts +2 -3
- package/dist/types/excalidraw/data/json.d.ts +37 -28
- package/dist/types/excalidraw/data/resave.d.ts +7 -2
- package/dist/types/excalidraw/hooks/useAppStateValue.d.ts +29 -0
- package/dist/types/excalidraw/index.d.ts +25 -3
- package/dist/types/excalidraw/textAutoResizeHandle.d.ts +15 -0
- package/dist/types/excalidraw/types.d.ts +93 -16
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +5 -1
- package/dist/types/math/src/point.d.ts +7 -2
- package/dist/types/math/src/types.d.ts +25 -1
- package/package.json +8 -8
- package/dist/dev/chunk-DJHLEOOZ.js +0 -69
- package/dist/dev/chunk-DJHLEOOZ.js.map +0 -7
- package/dist/dev/chunk-WBVI4CIR.js.map +0 -7
- package/dist/dev/chunk-WGIZZ2NT.js.map +0 -7
- package/dist/dev/locales/de-CH-OAWPDQFJ.js.map +0 -7
- package/dist/dev/locales/hi-IN-XGMO235V.js.map +0 -7
- package/dist/dev/locales/hu-HU-37FDQFIS.js.map +0 -7
- package/dist/dev/locales/nl-NL-XGZJ7V2V.js.map +0 -7
- package/dist/dev/locales/ru-RU-QEP6D7GK.js.map +0 -7
- package/dist/prod/chunk-AJI3LATG.js +0 -1
- package/dist/prod/chunk-P4DO2K62.js +0 -4
- package/dist/prod/chunk-SXXYW6U7.js +0 -12
- package/dist/prod/data/image-P7BXXOZA.js +0 -1
- package/dist/prod/locales/en-IT7EQLWB.js +0 -1
- package/dist/prod/locales/hi-IN-Z55GAFFR.js +0 -3
- package/dist/prod/locales/hu-HU-UJ62DVIW.js +0 -3
- package/dist/prod/locales/percentages-OL6W367U.js +0 -1
- package/dist/types/excalidraw/charts.d.ts +0 -27
- /package/dist/dev/{chunk-ERXRO4IP.js.map → chunk-OF725VHI.js.map} +0 -0
- /package/dist/dev/data/{image-BOZX7YCK.js.map → image-I24D3FB6.js.map} +0 -0
- /package/dist/dev/locales/{en-GV3XLAUG.js.map → en-I7VEBYIX.js.map} +0 -0
- /package/dist/dev/locales/{percentages-OGWD7R2K.js.map → percentages-ZRLRVMSI.js.map} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type { Theme } from "@excalidraw/element/types";
|
|
1
|
+
import type { ExcalidrawElement, Theme } from "@excalidraw/element/types";
|
|
2
2
|
import "../components/ToolIcon.scss";
|
|
3
|
-
import type { AppState } from "../types";
|
|
3
|
+
import type { AppClassProperties, AppState, BinaryFiles, ExcalidrawProps } from "../types";
|
|
4
4
|
export declare const actionChangeProjectName: import("./types").Action<string | null> & {
|
|
5
|
-
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly
|
|
5
|
+
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
|
|
6
6
|
};
|
|
7
7
|
export declare const actionChangeExportScale: import("./types").Action<number> & {
|
|
8
|
-
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly
|
|
8
|
+
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
|
|
9
9
|
};
|
|
10
10
|
export declare const actionChangeExportBackground: import("./types").Action<boolean> & {
|
|
11
|
-
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly
|
|
11
|
+
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
|
|
12
12
|
};
|
|
13
13
|
export declare const actionChangeExportEmbedScene: import("./types").Action<boolean> & {
|
|
14
|
-
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly
|
|
14
|
+
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
|
|
15
15
|
};
|
|
16
16
|
export declare const actionSaveToActiveFile: {
|
|
17
17
|
name: "saveToActiveFile";
|
|
@@ -20,175 +20,22 @@ export declare const actionSaveToActiveFile: {
|
|
|
20
20
|
trackEvent: {
|
|
21
21
|
category: "export";
|
|
22
22
|
};
|
|
23
|
-
predicate: (elements: readonly
|
|
24
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app:
|
|
25
|
-
captureUpdate: "
|
|
23
|
+
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
24
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => Promise<false | {
|
|
25
|
+
captureUpdate: "NEVER";
|
|
26
26
|
appState: {
|
|
27
|
-
fileHandle:
|
|
27
|
+
fileHandle: FileSystemFileHandle | null;
|
|
28
28
|
toast: {
|
|
29
29
|
message: string;
|
|
30
|
-
|
|
31
|
-
contextMenu: {
|
|
32
|
-
items: import("../components/ContextMenu").ContextMenuItems;
|
|
33
|
-
top: number;
|
|
34
|
-
left: number;
|
|
35
|
-
} | null;
|
|
36
|
-
showWelcomeScreen: boolean;
|
|
37
|
-
isLoading: boolean;
|
|
38
|
-
myocSimplifiedMode: boolean;
|
|
39
|
-
dontResizeLimitMBs: number;
|
|
40
|
-
hideMainMenus: boolean;
|
|
41
|
-
wheelZoomsOnDefault?: boolean;
|
|
42
|
-
arrangeConfiguration: {
|
|
43
|
-
algorithm: import("@excalidraw/element/types").ArrangeAlgorithms;
|
|
44
|
-
gap: number;
|
|
45
|
-
};
|
|
46
|
-
normaliseConfiguration: {
|
|
47
|
-
mode: import("../types").NormaliseMode;
|
|
48
|
-
metric: import("../types").NormaliseMetric;
|
|
30
|
+
duration: number;
|
|
49
31
|
};
|
|
50
|
-
errorMessage: React.ReactNode;
|
|
51
|
-
activeEmbeddable: {
|
|
52
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
53
|
-
state: "hover" | "active";
|
|
54
|
-
} | null;
|
|
55
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
56
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
57
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
58
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
59
|
-
isBindingEnabled: boolean;
|
|
60
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
61
|
-
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
62
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
63
|
-
frameRendering: {
|
|
64
|
-
enabled: boolean;
|
|
65
|
-
name: boolean;
|
|
66
|
-
outline: boolean;
|
|
67
|
-
clip: boolean;
|
|
68
|
-
};
|
|
69
|
-
editingFrame: string | null;
|
|
70
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
71
|
-
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
72
|
-
activeTool: {
|
|
73
|
-
lastActiveTool: import("../types").ActiveTool | null;
|
|
74
|
-
locked: boolean;
|
|
75
|
-
fromSelection: boolean;
|
|
76
|
-
} & import("../types").ActiveTool;
|
|
77
|
-
preferredSelectionTool: {
|
|
78
|
-
type: "selection" | "lasso";
|
|
79
|
-
initialized: boolean;
|
|
80
|
-
};
|
|
81
|
-
penMode: boolean;
|
|
82
|
-
penDetected: boolean;
|
|
83
|
-
exportBackground: boolean;
|
|
84
|
-
exportEmbedScene: boolean;
|
|
85
|
-
exportWithDarkMode: boolean;
|
|
86
|
-
exportScale: number;
|
|
87
|
-
currentItemStrokeColor: string;
|
|
88
|
-
currentItemBackgroundColor: string;
|
|
89
|
-
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
90
|
-
currentItemStrokeWidth: number;
|
|
91
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
92
|
-
currentItemRoughness: number;
|
|
93
|
-
currentItemOpacity: number;
|
|
94
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
95
|
-
currentItemFontSize: number;
|
|
96
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
97
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
98
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
99
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
100
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
101
|
-
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
102
|
-
viewBackgroundColor: string;
|
|
103
|
-
scrollX: number;
|
|
104
|
-
scrollY: number;
|
|
105
|
-
cursorButton: "up" | "down";
|
|
106
|
-
scrolledOutside: boolean;
|
|
107
|
-
name: string | null;
|
|
108
|
-
isResizing: boolean;
|
|
109
|
-
isRotating: boolean;
|
|
110
|
-
zoom: import("../types").Zoom;
|
|
111
|
-
openMenu: "canvas" | null;
|
|
112
|
-
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
113
|
-
openSidebar: {
|
|
114
|
-
name: import("../types").SidebarName;
|
|
115
|
-
tab?: import("../types").SidebarTabName;
|
|
116
|
-
} | null;
|
|
117
|
-
openDialog: null | {
|
|
118
|
-
name: "imageExport" | "help" | "jsonExport";
|
|
119
|
-
} | {
|
|
120
|
-
name: "commandPalette";
|
|
121
|
-
} | {
|
|
122
|
-
name: "settings";
|
|
123
|
-
} | {
|
|
124
|
-
name: "elementLinkSelector";
|
|
125
|
-
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
126
|
-
};
|
|
127
|
-
defaultSidebarDockedPreference: boolean;
|
|
128
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
129
|
-
selectedElementIds: Readonly<{
|
|
130
|
-
[id: string]: true;
|
|
131
|
-
}>;
|
|
132
|
-
hoveredElementIds: Readonly<{
|
|
133
|
-
[id: string]: true;
|
|
134
|
-
}>;
|
|
135
|
-
previousSelectedElementIds: {
|
|
136
|
-
[id: string]: true;
|
|
137
|
-
};
|
|
138
|
-
selectedElementsAreBeingDragged: boolean;
|
|
139
|
-
shouldCacheIgnoreZoom: boolean;
|
|
140
|
-
zenModeEnabled: boolean;
|
|
141
|
-
theme: Theme;
|
|
142
|
-
gridSize: number;
|
|
143
|
-
gridStep: number;
|
|
144
|
-
gridModeEnabled: boolean;
|
|
145
|
-
viewModeEnabled: boolean;
|
|
146
|
-
selectedGroupIds: {
|
|
147
|
-
[groupId: string]: boolean;
|
|
148
|
-
};
|
|
149
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
150
|
-
width: number;
|
|
151
|
-
height: number;
|
|
152
|
-
offsetTop: number;
|
|
153
|
-
offsetLeft: number;
|
|
154
|
-
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
155
|
-
stats: {
|
|
156
|
-
open: boolean;
|
|
157
|
-
panels: number;
|
|
158
|
-
};
|
|
159
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
160
|
-
pasteDialog: {
|
|
161
|
-
shown: false;
|
|
162
|
-
data: null;
|
|
163
|
-
} | {
|
|
164
|
-
shown: true;
|
|
165
|
-
data: import("../charts").Spreadsheet;
|
|
166
|
-
};
|
|
167
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
168
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
169
|
-
snapLines: readonly import("../snapping").SnapLine[];
|
|
170
|
-
originSnapOffset: {
|
|
171
|
-
x: number;
|
|
172
|
-
y: number;
|
|
173
|
-
} | null;
|
|
174
|
-
objectsSnapModeEnabled: boolean;
|
|
175
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
176
|
-
followedBy: Set<import("../types").SocketId>;
|
|
177
|
-
isCropping: boolean;
|
|
178
|
-
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
179
|
-
searchMatches: Readonly<{
|
|
180
|
-
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
181
|
-
matches: readonly import("../types").SearchMatch[];
|
|
182
|
-
}> | null;
|
|
183
|
-
activeLockedId: string | null;
|
|
184
|
-
lockedMultiSelections: {
|
|
185
|
-
[groupId: string]: true;
|
|
186
|
-
};
|
|
187
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
188
32
|
};
|
|
189
33
|
} | {
|
|
190
|
-
captureUpdate: "
|
|
191
|
-
appState
|
|
34
|
+
captureUpdate: "NEVER";
|
|
35
|
+
appState: {
|
|
36
|
+
toast: null;
|
|
37
|
+
fileHandle?: undefined;
|
|
38
|
+
};
|
|
192
39
|
}>;
|
|
193
40
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => false;
|
|
194
41
|
} & {
|
|
@@ -202,165 +49,23 @@ export declare const actionSaveFileToDisk: {
|
|
|
202
49
|
trackEvent: {
|
|
203
50
|
category: "export";
|
|
204
51
|
};
|
|
205
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app:
|
|
206
|
-
captureUpdate: "
|
|
52
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => Promise<false | {
|
|
53
|
+
captureUpdate: "NEVER";
|
|
207
54
|
appState: {
|
|
208
55
|
openDialog: null;
|
|
209
|
-
fileHandle:
|
|
56
|
+
fileHandle: FileSystemFileHandle | null;
|
|
210
57
|
toast: {
|
|
211
58
|
message: string;
|
|
59
|
+
duration: number;
|
|
212
60
|
};
|
|
213
|
-
contextMenu: {
|
|
214
|
-
items: import("../components/ContextMenu").ContextMenuItems;
|
|
215
|
-
top: number;
|
|
216
|
-
left: number;
|
|
217
|
-
} | null;
|
|
218
|
-
showWelcomeScreen: boolean;
|
|
219
|
-
isLoading: boolean;
|
|
220
|
-
myocSimplifiedMode: boolean;
|
|
221
|
-
dontResizeLimitMBs: number;
|
|
222
|
-
hideMainMenus: boolean;
|
|
223
|
-
wheelZoomsOnDefault?: boolean;
|
|
224
|
-
arrangeConfiguration: {
|
|
225
|
-
algorithm: import("@excalidraw/element/types").ArrangeAlgorithms;
|
|
226
|
-
gap: number;
|
|
227
|
-
};
|
|
228
|
-
normaliseConfiguration: {
|
|
229
|
-
mode: import("../types").NormaliseMode;
|
|
230
|
-
metric: import("../types").NormaliseMetric;
|
|
231
|
-
};
|
|
232
|
-
errorMessage: React.ReactNode;
|
|
233
|
-
activeEmbeddable: {
|
|
234
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
235
|
-
state: "hover" | "active";
|
|
236
|
-
} | null;
|
|
237
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
238
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
239
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
240
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
241
|
-
isBindingEnabled: boolean;
|
|
242
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
243
|
-
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
244
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
245
|
-
frameRendering: {
|
|
246
|
-
enabled: boolean;
|
|
247
|
-
name: boolean;
|
|
248
|
-
outline: boolean;
|
|
249
|
-
clip: boolean;
|
|
250
|
-
};
|
|
251
|
-
editingFrame: string | null;
|
|
252
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
253
|
-
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
254
|
-
activeTool: {
|
|
255
|
-
lastActiveTool: import("../types").ActiveTool | null;
|
|
256
|
-
locked: boolean;
|
|
257
|
-
fromSelection: boolean;
|
|
258
|
-
} & import("../types").ActiveTool;
|
|
259
|
-
preferredSelectionTool: {
|
|
260
|
-
type: "selection" | "lasso";
|
|
261
|
-
initialized: boolean;
|
|
262
|
-
};
|
|
263
|
-
penMode: boolean;
|
|
264
|
-
penDetected: boolean;
|
|
265
|
-
exportBackground: boolean;
|
|
266
|
-
exportEmbedScene: boolean;
|
|
267
|
-
exportWithDarkMode: boolean;
|
|
268
|
-
exportScale: number;
|
|
269
|
-
currentItemStrokeColor: string;
|
|
270
|
-
currentItemBackgroundColor: string;
|
|
271
|
-
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
272
|
-
currentItemStrokeWidth: number;
|
|
273
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
274
|
-
currentItemRoughness: number;
|
|
275
|
-
currentItemOpacity: number;
|
|
276
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
277
|
-
currentItemFontSize: number;
|
|
278
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
279
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
280
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
281
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
282
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
283
|
-
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
284
|
-
viewBackgroundColor: string;
|
|
285
|
-
scrollX: number;
|
|
286
|
-
scrollY: number;
|
|
287
|
-
cursorButton: "up" | "down";
|
|
288
|
-
scrolledOutside: boolean;
|
|
289
|
-
name: string | null;
|
|
290
|
-
isResizing: boolean;
|
|
291
|
-
isRotating: boolean;
|
|
292
|
-
zoom: import("../types").Zoom;
|
|
293
|
-
openMenu: "canvas" | null;
|
|
294
|
-
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
295
|
-
openSidebar: {
|
|
296
|
-
name: import("../types").SidebarName;
|
|
297
|
-
tab?: import("../types").SidebarTabName;
|
|
298
|
-
} | null;
|
|
299
|
-
defaultSidebarDockedPreference: boolean;
|
|
300
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
301
|
-
selectedElementIds: Readonly<{
|
|
302
|
-
[id: string]: true;
|
|
303
|
-
}>;
|
|
304
|
-
hoveredElementIds: Readonly<{
|
|
305
|
-
[id: string]: true;
|
|
306
|
-
}>;
|
|
307
|
-
previousSelectedElementIds: {
|
|
308
|
-
[id: string]: true;
|
|
309
|
-
};
|
|
310
|
-
selectedElementsAreBeingDragged: boolean;
|
|
311
|
-
shouldCacheIgnoreZoom: boolean;
|
|
312
|
-
zenModeEnabled: boolean;
|
|
313
|
-
theme: Theme;
|
|
314
|
-
gridSize: number;
|
|
315
|
-
gridStep: number;
|
|
316
|
-
gridModeEnabled: boolean;
|
|
317
|
-
viewModeEnabled: boolean;
|
|
318
|
-
selectedGroupIds: {
|
|
319
|
-
[groupId: string]: boolean;
|
|
320
|
-
};
|
|
321
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
322
|
-
width: number;
|
|
323
|
-
height: number;
|
|
324
|
-
offsetTop: number;
|
|
325
|
-
offsetLeft: number;
|
|
326
|
-
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
327
|
-
stats: {
|
|
328
|
-
open: boolean;
|
|
329
|
-
panels: number;
|
|
330
|
-
};
|
|
331
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
332
|
-
pasteDialog: {
|
|
333
|
-
shown: false;
|
|
334
|
-
data: null;
|
|
335
|
-
} | {
|
|
336
|
-
shown: true;
|
|
337
|
-
data: import("../charts").Spreadsheet;
|
|
338
|
-
};
|
|
339
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
340
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
341
|
-
snapLines: readonly import("../snapping").SnapLine[];
|
|
342
|
-
originSnapOffset: {
|
|
343
|
-
x: number;
|
|
344
|
-
y: number;
|
|
345
|
-
} | null;
|
|
346
|
-
objectsSnapModeEnabled: boolean;
|
|
347
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
348
|
-
followedBy: Set<import("../types").SocketId>;
|
|
349
|
-
isCropping: boolean;
|
|
350
|
-
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
351
|
-
searchMatches: Readonly<{
|
|
352
|
-
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
353
|
-
matches: readonly import("../types").SearchMatch[];
|
|
354
|
-
}> | null;
|
|
355
|
-
activeLockedId: string | null;
|
|
356
|
-
lockedMultiSelections: {
|
|
357
|
-
[groupId: string]: true;
|
|
358
|
-
};
|
|
359
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
360
61
|
};
|
|
361
62
|
} | {
|
|
362
|
-
captureUpdate: "
|
|
363
|
-
appState
|
|
63
|
+
captureUpdate: "NEVER";
|
|
64
|
+
appState: {
|
|
65
|
+
toast: null;
|
|
66
|
+
openDialog?: undefined;
|
|
67
|
+
fileHandle?: undefined;
|
|
68
|
+
};
|
|
364
69
|
}>;
|
|
365
70
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
366
71
|
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -373,8 +78,8 @@ export declare const actionLoadScene: {
|
|
|
373
78
|
trackEvent: {
|
|
374
79
|
category: "export";
|
|
375
80
|
};
|
|
376
|
-
predicate: (elements: readonly
|
|
377
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app:
|
|
81
|
+
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
82
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => Promise<false | {
|
|
378
83
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
379
84
|
appState: {
|
|
380
85
|
viewBackgroundColor: string;
|
|
@@ -398,13 +103,22 @@ export declare const actionLoadScene: {
|
|
|
398
103
|
name: "settings";
|
|
399
104
|
} | {
|
|
400
105
|
name: "elementLinkSelector";
|
|
401
|
-
sourceElementId:
|
|
106
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
107
|
+
} | {
|
|
108
|
+
name: "charts";
|
|
109
|
+
data: import("../charts").Spreadsheet;
|
|
110
|
+
rawText: string;
|
|
402
111
|
};
|
|
403
112
|
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
404
113
|
selectedElementIds: Readonly<{
|
|
405
114
|
[id: string]: true;
|
|
406
115
|
}>;
|
|
407
116
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
117
|
+
activeTool: {
|
|
118
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
119
|
+
locked: boolean;
|
|
120
|
+
fromSelection: boolean;
|
|
121
|
+
} & import("../types").ActiveTool;
|
|
408
122
|
activeEmbeddable: {
|
|
409
123
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
410
124
|
state: "hover" | "active";
|
|
@@ -417,17 +131,21 @@ export declare const actionLoadScene: {
|
|
|
417
131
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
418
132
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
419
133
|
isBindingEnabled: boolean;
|
|
420
|
-
|
|
134
|
+
isMidpointSnappingEnabled: boolean;
|
|
135
|
+
suggestedBinding: {
|
|
136
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
137
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
138
|
+
} | null;
|
|
421
139
|
isRotating: boolean;
|
|
422
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<
|
|
140
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
423
141
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
424
142
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
425
143
|
zenModeEnabled: boolean;
|
|
426
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
144
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
427
145
|
isCropping: boolean;
|
|
428
|
-
croppingElementId:
|
|
146
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
429
147
|
searchMatches: Readonly<{
|
|
430
|
-
focusedId:
|
|
148
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
431
149
|
matches: readonly import("../types").SearchMatch[];
|
|
432
150
|
}> | null;
|
|
433
151
|
activeLockedId: string | null;
|
|
@@ -436,6 +154,7 @@ export declare const actionLoadScene: {
|
|
|
436
154
|
}>;
|
|
437
155
|
shouldCacheIgnoreZoom: boolean;
|
|
438
156
|
exportScale: number;
|
|
157
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
439
158
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
440
159
|
gridSize: number;
|
|
441
160
|
contextMenu: {
|
|
@@ -459,13 +178,9 @@ export declare const actionLoadScene: {
|
|
|
459
178
|
};
|
|
460
179
|
errorMessage: React.ReactNode;
|
|
461
180
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
181
|
+
bindingPreference: "enabled" | "disabled";
|
|
462
182
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
463
183
|
editingFrame: string | null;
|
|
464
|
-
activeTool: {
|
|
465
|
-
lastActiveTool: import("../types").ActiveTool | null;
|
|
466
|
-
locked: boolean;
|
|
467
|
-
fromSelection: boolean;
|
|
468
|
-
} & import("../types").ActiveTool;
|
|
469
184
|
preferredSelectionTool: {
|
|
470
185
|
type: "selection" | "lasso";
|
|
471
186
|
initialized: boolean;
|
|
@@ -477,9 +192,9 @@ export declare const actionLoadScene: {
|
|
|
477
192
|
exportWithDarkMode: boolean;
|
|
478
193
|
currentItemStrokeColor: string;
|
|
479
194
|
currentItemBackgroundColor: string;
|
|
480
|
-
currentItemFillStyle:
|
|
195
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
481
196
|
currentItemStrokeWidth: number;
|
|
482
|
-
currentItemStrokeStyle:
|
|
197
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
483
198
|
currentItemRoughness: number;
|
|
484
199
|
currentItemOpacity: number;
|
|
485
200
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
@@ -489,7 +204,6 @@ export declare const actionLoadScene: {
|
|
|
489
204
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
490
205
|
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
491
206
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
492
|
-
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
493
207
|
cursorButton: "up" | "down";
|
|
494
208
|
scrolledOutside: boolean;
|
|
495
209
|
isResizing: boolean;
|
|
@@ -506,25 +220,17 @@ export declare const actionLoadScene: {
|
|
|
506
220
|
};
|
|
507
221
|
selectedElementsAreBeingDragged: boolean;
|
|
508
222
|
toast: {
|
|
509
|
-
message:
|
|
223
|
+
message: React.ReactNode;
|
|
510
224
|
closable?: boolean;
|
|
511
225
|
duration?: number;
|
|
512
226
|
} | null;
|
|
513
227
|
gridStep: number;
|
|
514
228
|
gridModeEnabled: boolean;
|
|
515
|
-
fileHandle:
|
|
229
|
+
fileHandle: FileSystemFileHandle | null;
|
|
516
230
|
stats: {
|
|
517
231
|
open: boolean;
|
|
518
232
|
panels: number;
|
|
519
233
|
};
|
|
520
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
521
|
-
pasteDialog: {
|
|
522
|
-
shown: false;
|
|
523
|
-
data: null;
|
|
524
|
-
} | {
|
|
525
|
-
shown: true;
|
|
526
|
-
data: import("../charts").Spreadsheet;
|
|
527
|
-
};
|
|
528
234
|
showHyperlinkPopup: false | "info" | "editor";
|
|
529
235
|
originSnapOffset: {
|
|
530
236
|
x: number;
|
|
@@ -537,7 +243,7 @@ export declare const actionLoadScene: {
|
|
|
537
243
|
[groupId: string]: true;
|
|
538
244
|
};
|
|
539
245
|
};
|
|
540
|
-
files:
|
|
246
|
+
files: BinaryFiles;
|
|
541
247
|
captureUpdate: "IMMEDIATELY";
|
|
542
248
|
} | {
|
|
543
249
|
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
@@ -571,8 +277,13 @@ export declare const actionLoadScene: {
|
|
|
571
277
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
572
278
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
573
279
|
isBindingEnabled: boolean;
|
|
280
|
+
bindingPreference: "enabled" | "disabled";
|
|
281
|
+
isMidpointSnappingEnabled: boolean;
|
|
574
282
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
575
|
-
suggestedBinding:
|
|
283
|
+
suggestedBinding: {
|
|
284
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
285
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
286
|
+
} | null;
|
|
576
287
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
577
288
|
frameRendering: {
|
|
578
289
|
enabled: boolean;
|
|
@@ -581,8 +292,8 @@ export declare const actionLoadScene: {
|
|
|
581
292
|
clip: boolean;
|
|
582
293
|
};
|
|
583
294
|
editingFrame: string | null;
|
|
584
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<
|
|
585
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
295
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
296
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
586
297
|
activeTool: {
|
|
587
298
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
588
299
|
locked: boolean;
|
|
@@ -600,9 +311,9 @@ export declare const actionLoadScene: {
|
|
|
600
311
|
exportScale: number;
|
|
601
312
|
currentItemStrokeColor: string;
|
|
602
313
|
currentItemBackgroundColor: string;
|
|
603
|
-
currentItemFillStyle:
|
|
314
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
604
315
|
currentItemStrokeWidth: number;
|
|
605
|
-
currentItemStrokeStyle:
|
|
316
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
606
317
|
currentItemRoughness: number;
|
|
607
318
|
currentItemOpacity: number;
|
|
608
319
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
@@ -636,7 +347,11 @@ export declare const actionLoadScene: {
|
|
|
636
347
|
name: "settings";
|
|
637
348
|
} | {
|
|
638
349
|
name: "elementLinkSelector";
|
|
639
|
-
sourceElementId:
|
|
350
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
351
|
+
} | {
|
|
352
|
+
name: "charts";
|
|
353
|
+
data: import("../charts").Spreadsheet;
|
|
354
|
+
rawText: string;
|
|
640
355
|
};
|
|
641
356
|
defaultSidebarDockedPreference: boolean;
|
|
642
357
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -652,7 +367,7 @@ export declare const actionLoadScene: {
|
|
|
652
367
|
selectedElementsAreBeingDragged: boolean;
|
|
653
368
|
shouldCacheIgnoreZoom: boolean;
|
|
654
369
|
toast: {
|
|
655
|
-
message:
|
|
370
|
+
message: React.ReactNode;
|
|
656
371
|
closable?: boolean;
|
|
657
372
|
duration?: number;
|
|
658
373
|
} | null;
|
|
@@ -670,20 +385,12 @@ export declare const actionLoadScene: {
|
|
|
670
385
|
height: number;
|
|
671
386
|
offsetTop: number;
|
|
672
387
|
offsetLeft: number;
|
|
673
|
-
fileHandle:
|
|
388
|
+
fileHandle: FileSystemFileHandle | null;
|
|
674
389
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
675
390
|
stats: {
|
|
676
391
|
open: boolean;
|
|
677
392
|
panels: number;
|
|
678
393
|
};
|
|
679
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
680
|
-
pasteDialog: {
|
|
681
|
-
shown: false;
|
|
682
|
-
data: null;
|
|
683
|
-
} | {
|
|
684
|
-
shown: true;
|
|
685
|
-
data: import("../charts").Spreadsheet;
|
|
686
|
-
};
|
|
687
394
|
showHyperlinkPopup: false | "info" | "editor";
|
|
688
395
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
689
396
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -695,9 +402,9 @@ export declare const actionLoadScene: {
|
|
|
695
402
|
userToFollow: import("../types").UserToFollow | null;
|
|
696
403
|
followedBy: Set<import("../types").SocketId>;
|
|
697
404
|
isCropping: boolean;
|
|
698
|
-
croppingElementId:
|
|
405
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
699
406
|
searchMatches: Readonly<{
|
|
700
|
-
focusedId:
|
|
407
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
701
408
|
matches: readonly import("../types").SearchMatch[];
|
|
702
409
|
}> | null;
|
|
703
410
|
activeLockedId: string | null;
|
|
@@ -706,7 +413,7 @@ export declare const actionLoadScene: {
|
|
|
706
413
|
};
|
|
707
414
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
708
415
|
};
|
|
709
|
-
files:
|
|
416
|
+
files: BinaryFiles;
|
|
710
417
|
captureUpdate: "EVENTUALLY";
|
|
711
418
|
}>;
|
|
712
419
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
@@ -714,5 +421,5 @@ export declare const actionLoadScene: {
|
|
|
714
421
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
715
422
|
};
|
|
716
423
|
export declare const actionExportWithDarkMode: import("./types").Action<boolean> & {
|
|
717
|
-
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly
|
|
424
|
+
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
|
|
718
425
|
};
|