@myoc/excalidraw 0.19.502 → 0.19.504
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 +586 -9
- 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-Z5DMFRJ5.js} +60 -72
- package/dist/dev/chunk-Z5DMFRJ5.js.map +7 -0
- package/dist/dev/data/{image-BOZX7YCK.js → image-ZR5DXOGS.js} +3 -3
- package/dist/dev/index.css +225 -95
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +6949 -4013
- 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-3FGJVPJS.js +12 -0
- package/dist/prod/chunk-3PELD44J.js +1 -0
- package/dist/prod/chunk-44LLHLSZ.js +4 -0
- package/dist/prod/{chunk-SNEYYD2R.js → chunk-KG57QRSG.js} +1 -1
- package/dist/prod/data/image-XPYUWCHN.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/arrange-algorithms/maxRects.d.ts +16 -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 +6 -1
- 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 +6 -3
- 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/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionArrange.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +27 -25
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +159 -148
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +28 -26
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +13 -12
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +43 -38
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +9 -12
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +28 -26
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +13 -12
- package/dist/types/excalidraw/actions/actionExport.d.ts +87 -380
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +54 -50
- package/dist/types/excalidraw/actions/actionGroup.d.ts +31 -29
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +15 -12
- package/dist/types/excalidraw/actions/actionLink.d.ts +15 -14
- package/dist/types/excalidraw/actions/actionMenu.d.ts +11 -14
- package/dist/types/excalidraw/actions/actionProperties.d.ts +33 -31
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +16 -15
- package/dist/types/excalidraw/actions/actionSmartZoom.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionStyles.d.ts +17 -15
- 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 +15 -14
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +181 -0
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +15 -14
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +11 -14
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +15 -14
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +15 -14
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +15 -14
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- 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 +15 -13
- 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 +57 -14
- 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/components/shapes.d.ts +263 -0
- package/dist/types/excalidraw/data/blob.d.ts +57 -56
- 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 +43 -34
- package/dist/types/excalidraw/data/resave.d.ts +7 -2
- package/dist/types/excalidraw/editorPreferences.d.ts +11 -0
- package/dist/types/excalidraw/hooks/useAppStateValue.d.ts +29 -0
- package/dist/types/excalidraw/index.d.ts +26 -3
- package/dist/types/excalidraw/textAutoResizeHandle.d.ts +15 -0
- package/dist/types/excalidraw/types.d.ts +114 -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-ZR5DXOGS.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
|
@@ -49,8 +49,13 @@ export declare const actionZoomIn: {
|
|
|
49
49
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
50
50
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
51
51
|
isBindingEnabled: boolean;
|
|
52
|
+
bindingPreference: "enabled" | "disabled";
|
|
53
|
+
isMidpointSnappingEnabled: boolean;
|
|
52
54
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
53
|
-
suggestedBinding:
|
|
55
|
+
suggestedBinding: {
|
|
56
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
57
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
58
|
+
} | null;
|
|
54
59
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
55
60
|
frameRendering: {
|
|
56
61
|
enabled: boolean;
|
|
@@ -60,7 +65,7 @@ export declare const actionZoomIn: {
|
|
|
60
65
|
};
|
|
61
66
|
editingFrame: string | null;
|
|
62
67
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
63
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
68
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
64
69
|
activeTool: {
|
|
65
70
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
66
71
|
locked: boolean;
|
|
@@ -112,6 +117,10 @@ export declare const actionZoomIn: {
|
|
|
112
117
|
} | {
|
|
113
118
|
name: "elementLinkSelector";
|
|
114
119
|
sourceElementId: ExcalidrawElement["id"];
|
|
120
|
+
} | {
|
|
121
|
+
name: "charts";
|
|
122
|
+
data: import("../charts").Spreadsheet;
|
|
123
|
+
rawText: string;
|
|
115
124
|
};
|
|
116
125
|
defaultSidebarDockedPreference: boolean;
|
|
117
126
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -127,7 +136,7 @@ export declare const actionZoomIn: {
|
|
|
127
136
|
selectedElementsAreBeingDragged: boolean;
|
|
128
137
|
shouldCacheIgnoreZoom: boolean;
|
|
129
138
|
toast: {
|
|
130
|
-
message:
|
|
139
|
+
message: React.ReactNode;
|
|
131
140
|
closable?: boolean;
|
|
132
141
|
duration?: number;
|
|
133
142
|
} | null;
|
|
@@ -145,20 +154,12 @@ export declare const actionZoomIn: {
|
|
|
145
154
|
height: number;
|
|
146
155
|
offsetTop: number;
|
|
147
156
|
offsetLeft: number;
|
|
148
|
-
fileHandle:
|
|
157
|
+
fileHandle: FileSystemFileHandle | null;
|
|
149
158
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
150
159
|
stats: {
|
|
151
160
|
open: boolean;
|
|
152
161
|
panels: number;
|
|
153
162
|
};
|
|
154
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
155
|
-
pasteDialog: {
|
|
156
|
-
shown: false;
|
|
157
|
-
data: null;
|
|
158
|
-
} | {
|
|
159
|
-
shown: true;
|
|
160
|
-
data: import("../charts").Spreadsheet;
|
|
161
|
-
};
|
|
162
163
|
showHyperlinkPopup: false | "info" | "editor";
|
|
163
164
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
164
165
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -183,9 +184,9 @@ export declare const actionZoomIn: {
|
|
|
183
184
|
captureUpdate: "EVENTUALLY";
|
|
184
185
|
};
|
|
185
186
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
186
|
-
keyTest: (event:
|
|
187
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
187
188
|
} & {
|
|
188
|
-
keyTest?: ((event:
|
|
189
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
189
190
|
};
|
|
190
191
|
export declare const actionZoomOut: {
|
|
191
192
|
name: "zoomOut";
|
|
@@ -232,8 +233,13 @@ export declare const actionZoomOut: {
|
|
|
232
233
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
233
234
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
234
235
|
isBindingEnabled: boolean;
|
|
236
|
+
bindingPreference: "enabled" | "disabled";
|
|
237
|
+
isMidpointSnappingEnabled: boolean;
|
|
235
238
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
236
|
-
suggestedBinding:
|
|
239
|
+
suggestedBinding: {
|
|
240
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
241
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
242
|
+
} | null;
|
|
237
243
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
238
244
|
frameRendering: {
|
|
239
245
|
enabled: boolean;
|
|
@@ -243,7 +249,7 @@ export declare const actionZoomOut: {
|
|
|
243
249
|
};
|
|
244
250
|
editingFrame: string | null;
|
|
245
251
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
246
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
252
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
247
253
|
activeTool: {
|
|
248
254
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
249
255
|
locked: boolean;
|
|
@@ -295,6 +301,10 @@ export declare const actionZoomOut: {
|
|
|
295
301
|
} | {
|
|
296
302
|
name: "elementLinkSelector";
|
|
297
303
|
sourceElementId: ExcalidrawElement["id"];
|
|
304
|
+
} | {
|
|
305
|
+
name: "charts";
|
|
306
|
+
data: import("../charts").Spreadsheet;
|
|
307
|
+
rawText: string;
|
|
298
308
|
};
|
|
299
309
|
defaultSidebarDockedPreference: boolean;
|
|
300
310
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -310,7 +320,7 @@ export declare const actionZoomOut: {
|
|
|
310
320
|
selectedElementsAreBeingDragged: boolean;
|
|
311
321
|
shouldCacheIgnoreZoom: boolean;
|
|
312
322
|
toast: {
|
|
313
|
-
message:
|
|
323
|
+
message: React.ReactNode;
|
|
314
324
|
closable?: boolean;
|
|
315
325
|
duration?: number;
|
|
316
326
|
} | null;
|
|
@@ -328,20 +338,12 @@ export declare const actionZoomOut: {
|
|
|
328
338
|
height: number;
|
|
329
339
|
offsetTop: number;
|
|
330
340
|
offsetLeft: number;
|
|
331
|
-
fileHandle:
|
|
341
|
+
fileHandle: FileSystemFileHandle | null;
|
|
332
342
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
333
343
|
stats: {
|
|
334
344
|
open: boolean;
|
|
335
345
|
panels: number;
|
|
336
346
|
};
|
|
337
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
338
|
-
pasteDialog: {
|
|
339
|
-
shown: false;
|
|
340
|
-
data: null;
|
|
341
|
-
} | {
|
|
342
|
-
shown: true;
|
|
343
|
-
data: import("../charts").Spreadsheet;
|
|
344
|
-
};
|
|
345
347
|
showHyperlinkPopup: false | "info" | "editor";
|
|
346
348
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
347
349
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -366,9 +368,9 @@ export declare const actionZoomOut: {
|
|
|
366
368
|
captureUpdate: "EVENTUALLY";
|
|
367
369
|
};
|
|
368
370
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
369
|
-
keyTest: (event:
|
|
371
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
370
372
|
} & {
|
|
371
|
-
keyTest?: ((event:
|
|
373
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
372
374
|
};
|
|
373
375
|
export declare const actionResetZoom: {
|
|
374
376
|
name: "resetZoom";
|
|
@@ -415,8 +417,13 @@ export declare const actionResetZoom: {
|
|
|
415
417
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
416
418
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
417
419
|
isBindingEnabled: boolean;
|
|
420
|
+
bindingPreference: "enabled" | "disabled";
|
|
421
|
+
isMidpointSnappingEnabled: boolean;
|
|
418
422
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
419
|
-
suggestedBinding:
|
|
423
|
+
suggestedBinding: {
|
|
424
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
425
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
426
|
+
} | null;
|
|
420
427
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
421
428
|
frameRendering: {
|
|
422
429
|
enabled: boolean;
|
|
@@ -426,7 +433,7 @@ export declare const actionResetZoom: {
|
|
|
426
433
|
};
|
|
427
434
|
editingFrame: string | null;
|
|
428
435
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
429
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
436
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
430
437
|
activeTool: {
|
|
431
438
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
432
439
|
locked: boolean;
|
|
@@ -478,6 +485,10 @@ export declare const actionResetZoom: {
|
|
|
478
485
|
} | {
|
|
479
486
|
name: "elementLinkSelector";
|
|
480
487
|
sourceElementId: ExcalidrawElement["id"];
|
|
488
|
+
} | {
|
|
489
|
+
name: "charts";
|
|
490
|
+
data: import("../charts").Spreadsheet;
|
|
491
|
+
rawText: string;
|
|
481
492
|
};
|
|
482
493
|
defaultSidebarDockedPreference: boolean;
|
|
483
494
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -493,7 +504,7 @@ export declare const actionResetZoom: {
|
|
|
493
504
|
selectedElementsAreBeingDragged: boolean;
|
|
494
505
|
shouldCacheIgnoreZoom: boolean;
|
|
495
506
|
toast: {
|
|
496
|
-
message:
|
|
507
|
+
message: React.ReactNode;
|
|
497
508
|
closable?: boolean;
|
|
498
509
|
duration?: number;
|
|
499
510
|
} | null;
|
|
@@ -511,20 +522,12 @@ export declare const actionResetZoom: {
|
|
|
511
522
|
height: number;
|
|
512
523
|
offsetTop: number;
|
|
513
524
|
offsetLeft: number;
|
|
514
|
-
fileHandle:
|
|
525
|
+
fileHandle: FileSystemFileHandle | null;
|
|
515
526
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
516
527
|
stats: {
|
|
517
528
|
open: boolean;
|
|
518
529
|
panels: number;
|
|
519
530
|
};
|
|
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
531
|
showHyperlinkPopup: false | "info" | "editor";
|
|
529
532
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
530
533
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -549,9 +552,9 @@ export declare const actionResetZoom: {
|
|
|
549
552
|
captureUpdate: "EVENTUALLY";
|
|
550
553
|
};
|
|
551
554
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
552
|
-
keyTest: (event:
|
|
555
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
553
556
|
} & {
|
|
554
|
-
keyTest?: ((event:
|
|
557
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
555
558
|
};
|
|
556
559
|
export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToViewport, viewportZoomFactor, minZoom, maxZoom, }: {
|
|
557
560
|
bounds: SceneBounds;
|
|
@@ -599,8 +602,13 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
599
602
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
600
603
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
601
604
|
isBindingEnabled: boolean;
|
|
605
|
+
bindingPreference: "enabled" | "disabled";
|
|
606
|
+
isMidpointSnappingEnabled: boolean;
|
|
602
607
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
603
|
-
suggestedBinding:
|
|
608
|
+
suggestedBinding: {
|
|
609
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
610
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
611
|
+
} | null;
|
|
604
612
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
605
613
|
frameRendering: {
|
|
606
614
|
enabled: boolean;
|
|
@@ -610,7 +618,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
610
618
|
};
|
|
611
619
|
editingFrame: string | null;
|
|
612
620
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
613
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
621
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
614
622
|
activeTool: {
|
|
615
623
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
616
624
|
locked: boolean;
|
|
@@ -662,6 +670,10 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
662
670
|
} | {
|
|
663
671
|
name: "elementLinkSelector";
|
|
664
672
|
sourceElementId: ExcalidrawElement["id"];
|
|
673
|
+
} | {
|
|
674
|
+
name: "charts";
|
|
675
|
+
data: import("../charts").Spreadsheet;
|
|
676
|
+
rawText: string;
|
|
665
677
|
};
|
|
666
678
|
defaultSidebarDockedPreference: boolean;
|
|
667
679
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -677,7 +689,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
677
689
|
selectedElementsAreBeingDragged: boolean;
|
|
678
690
|
shouldCacheIgnoreZoom: boolean;
|
|
679
691
|
toast: {
|
|
680
|
-
message:
|
|
692
|
+
message: React.ReactNode;
|
|
681
693
|
closable?: boolean;
|
|
682
694
|
duration?: number;
|
|
683
695
|
} | null;
|
|
@@ -695,20 +707,12 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
695
707
|
height: number;
|
|
696
708
|
offsetTop: number;
|
|
697
709
|
offsetLeft: number;
|
|
698
|
-
fileHandle:
|
|
710
|
+
fileHandle: FileSystemFileHandle | null;
|
|
699
711
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
700
712
|
stats: {
|
|
701
713
|
open: boolean;
|
|
702
714
|
panels: number;
|
|
703
715
|
};
|
|
704
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
705
|
-
pasteDialog: {
|
|
706
|
-
shown: false;
|
|
707
|
-
data: null;
|
|
708
|
-
} | {
|
|
709
|
-
shown: true;
|
|
710
|
-
data: import("../charts").Spreadsheet;
|
|
711
|
-
};
|
|
712
716
|
showHyperlinkPopup: false | "info" | "editor";
|
|
713
717
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
714
718
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -779,8 +783,13 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
779
783
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
780
784
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
781
785
|
isBindingEnabled: boolean;
|
|
786
|
+
bindingPreference: "enabled" | "disabled";
|
|
787
|
+
isMidpointSnappingEnabled: boolean;
|
|
782
788
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
783
|
-
suggestedBinding:
|
|
789
|
+
suggestedBinding: {
|
|
790
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
791
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
792
|
+
} | null;
|
|
784
793
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
785
794
|
frameRendering: {
|
|
786
795
|
enabled: boolean;
|
|
@@ -790,7 +799,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
790
799
|
};
|
|
791
800
|
editingFrame: string | null;
|
|
792
801
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
793
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
802
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
794
803
|
activeTool: {
|
|
795
804
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
796
805
|
locked: boolean;
|
|
@@ -842,6 +851,10 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
842
851
|
} | {
|
|
843
852
|
name: "elementLinkSelector";
|
|
844
853
|
sourceElementId: ExcalidrawElement["id"];
|
|
854
|
+
} | {
|
|
855
|
+
name: "charts";
|
|
856
|
+
data: import("../charts").Spreadsheet;
|
|
857
|
+
rawText: string;
|
|
845
858
|
};
|
|
846
859
|
defaultSidebarDockedPreference: boolean;
|
|
847
860
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -857,7 +870,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
857
870
|
selectedElementsAreBeingDragged: boolean;
|
|
858
871
|
shouldCacheIgnoreZoom: boolean;
|
|
859
872
|
toast: {
|
|
860
|
-
message:
|
|
873
|
+
message: React.ReactNode;
|
|
861
874
|
closable?: boolean;
|
|
862
875
|
duration?: number;
|
|
863
876
|
} | null;
|
|
@@ -875,20 +888,12 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
875
888
|
height: number;
|
|
876
889
|
offsetTop: number;
|
|
877
890
|
offsetLeft: number;
|
|
878
|
-
fileHandle:
|
|
891
|
+
fileHandle: FileSystemFileHandle | null;
|
|
879
892
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
880
893
|
stats: {
|
|
881
894
|
open: boolean;
|
|
882
895
|
panels: number;
|
|
883
896
|
};
|
|
884
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
885
|
-
pasteDialog: {
|
|
886
|
-
shown: false;
|
|
887
|
-
data: null;
|
|
888
|
-
} | {
|
|
889
|
-
shown: true;
|
|
890
|
-
data: import("../charts").Spreadsheet;
|
|
891
|
-
};
|
|
892
897
|
showHyperlinkPopup: false | "info" | "editor";
|
|
893
898
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
894
899
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -956,8 +961,13 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
956
961
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
957
962
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
958
963
|
isBindingEnabled: boolean;
|
|
964
|
+
bindingPreference: "enabled" | "disabled";
|
|
965
|
+
isMidpointSnappingEnabled: boolean;
|
|
959
966
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
960
|
-
suggestedBinding:
|
|
967
|
+
suggestedBinding: {
|
|
968
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
969
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
970
|
+
} | null;
|
|
961
971
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
962
972
|
frameRendering: {
|
|
963
973
|
enabled: boolean;
|
|
@@ -967,7 +977,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
967
977
|
};
|
|
968
978
|
editingFrame: string | null;
|
|
969
979
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
970
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
980
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
971
981
|
activeTool: {
|
|
972
982
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
973
983
|
locked: boolean;
|
|
@@ -1019,6 +1029,10 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1019
1029
|
} | {
|
|
1020
1030
|
name: "elementLinkSelector";
|
|
1021
1031
|
sourceElementId: ExcalidrawElement["id"];
|
|
1032
|
+
} | {
|
|
1033
|
+
name: "charts";
|
|
1034
|
+
data: import("../charts").Spreadsheet;
|
|
1035
|
+
rawText: string;
|
|
1022
1036
|
};
|
|
1023
1037
|
defaultSidebarDockedPreference: boolean;
|
|
1024
1038
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -1034,7 +1048,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1034
1048
|
selectedElementsAreBeingDragged: boolean;
|
|
1035
1049
|
shouldCacheIgnoreZoom: boolean;
|
|
1036
1050
|
toast: {
|
|
1037
|
-
message:
|
|
1051
|
+
message: React.ReactNode;
|
|
1038
1052
|
closable?: boolean;
|
|
1039
1053
|
duration?: number;
|
|
1040
1054
|
} | null;
|
|
@@ -1052,20 +1066,12 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1052
1066
|
height: number;
|
|
1053
1067
|
offsetTop: number;
|
|
1054
1068
|
offsetLeft: number;
|
|
1055
|
-
fileHandle:
|
|
1069
|
+
fileHandle: FileSystemFileHandle | null;
|
|
1056
1070
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
1057
1071
|
stats: {
|
|
1058
1072
|
open: boolean;
|
|
1059
1073
|
panels: number;
|
|
1060
1074
|
};
|
|
1061
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1062
|
-
pasteDialog: {
|
|
1063
|
-
shown: false;
|
|
1064
|
-
data: null;
|
|
1065
|
-
} | {
|
|
1066
|
-
shown: true;
|
|
1067
|
-
data: import("../charts").Spreadsheet;
|
|
1068
|
-
};
|
|
1069
1075
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1070
1076
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1071
1077
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1090,9 +1096,9 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1090
1096
|
};
|
|
1091
1097
|
captureUpdate: "EVENTUALLY";
|
|
1092
1098
|
};
|
|
1093
|
-
keyTest: (event:
|
|
1099
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1094
1100
|
} & {
|
|
1095
|
-
keyTest?: ((event:
|
|
1101
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1096
1102
|
};
|
|
1097
1103
|
export declare const actionZoomToFitSelection: {
|
|
1098
1104
|
name: "zoomToFitSelection";
|
|
@@ -1137,8 +1143,13 @@ export declare const actionZoomToFitSelection: {
|
|
|
1137
1143
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1138
1144
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1139
1145
|
isBindingEnabled: boolean;
|
|
1146
|
+
bindingPreference: "enabled" | "disabled";
|
|
1147
|
+
isMidpointSnappingEnabled: boolean;
|
|
1140
1148
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1141
|
-
suggestedBinding:
|
|
1149
|
+
suggestedBinding: {
|
|
1150
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1151
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1152
|
+
} | null;
|
|
1142
1153
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1143
1154
|
frameRendering: {
|
|
1144
1155
|
enabled: boolean;
|
|
@@ -1148,7 +1159,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1148
1159
|
};
|
|
1149
1160
|
editingFrame: string | null;
|
|
1150
1161
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1151
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
1162
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
1152
1163
|
activeTool: {
|
|
1153
1164
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1154
1165
|
locked: boolean;
|
|
@@ -1200,6 +1211,10 @@ export declare const actionZoomToFitSelection: {
|
|
|
1200
1211
|
} | {
|
|
1201
1212
|
name: "elementLinkSelector";
|
|
1202
1213
|
sourceElementId: ExcalidrawElement["id"];
|
|
1214
|
+
} | {
|
|
1215
|
+
name: "charts";
|
|
1216
|
+
data: import("../charts").Spreadsheet;
|
|
1217
|
+
rawText: string;
|
|
1203
1218
|
};
|
|
1204
1219
|
defaultSidebarDockedPreference: boolean;
|
|
1205
1220
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -1215,7 +1230,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1215
1230
|
selectedElementsAreBeingDragged: boolean;
|
|
1216
1231
|
shouldCacheIgnoreZoom: boolean;
|
|
1217
1232
|
toast: {
|
|
1218
|
-
message:
|
|
1233
|
+
message: React.ReactNode;
|
|
1219
1234
|
closable?: boolean;
|
|
1220
1235
|
duration?: number;
|
|
1221
1236
|
} | null;
|
|
@@ -1233,20 +1248,12 @@ export declare const actionZoomToFitSelection: {
|
|
|
1233
1248
|
height: number;
|
|
1234
1249
|
offsetTop: number;
|
|
1235
1250
|
offsetLeft: number;
|
|
1236
|
-
fileHandle:
|
|
1251
|
+
fileHandle: FileSystemFileHandle | null;
|
|
1237
1252
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
1238
1253
|
stats: {
|
|
1239
1254
|
open: boolean;
|
|
1240
1255
|
panels: number;
|
|
1241
1256
|
};
|
|
1242
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1243
|
-
pasteDialog: {
|
|
1244
|
-
shown: false;
|
|
1245
|
-
data: null;
|
|
1246
|
-
} | {
|
|
1247
|
-
shown: true;
|
|
1248
|
-
data: import("../charts").Spreadsheet;
|
|
1249
|
-
};
|
|
1250
1257
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1251
1258
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1252
1259
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1271,9 +1278,9 @@ export declare const actionZoomToFitSelection: {
|
|
|
1271
1278
|
};
|
|
1272
1279
|
captureUpdate: "EVENTUALLY";
|
|
1273
1280
|
};
|
|
1274
|
-
keyTest: (event:
|
|
1281
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1275
1282
|
} & {
|
|
1276
|
-
keyTest?: ((event:
|
|
1283
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1277
1284
|
};
|
|
1278
1285
|
export declare const actionZoomToFit: {
|
|
1279
1286
|
name: "zoomToFit";
|
|
@@ -1319,8 +1326,13 @@ export declare const actionZoomToFit: {
|
|
|
1319
1326
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1320
1327
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1321
1328
|
isBindingEnabled: boolean;
|
|
1329
|
+
bindingPreference: "enabled" | "disabled";
|
|
1330
|
+
isMidpointSnappingEnabled: boolean;
|
|
1322
1331
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1323
|
-
suggestedBinding:
|
|
1332
|
+
suggestedBinding: {
|
|
1333
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1334
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1335
|
+
} | null;
|
|
1324
1336
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1325
1337
|
frameRendering: {
|
|
1326
1338
|
enabled: boolean;
|
|
@@ -1330,7 +1342,7 @@ export declare const actionZoomToFit: {
|
|
|
1330
1342
|
};
|
|
1331
1343
|
editingFrame: string | null;
|
|
1332
1344
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1333
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
1345
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
1334
1346
|
activeTool: {
|
|
1335
1347
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1336
1348
|
locked: boolean;
|
|
@@ -1382,6 +1394,10 @@ export declare const actionZoomToFit: {
|
|
|
1382
1394
|
} | {
|
|
1383
1395
|
name: "elementLinkSelector";
|
|
1384
1396
|
sourceElementId: ExcalidrawElement["id"];
|
|
1397
|
+
} | {
|
|
1398
|
+
name: "charts";
|
|
1399
|
+
data: import("../charts").Spreadsheet;
|
|
1400
|
+
rawText: string;
|
|
1385
1401
|
};
|
|
1386
1402
|
defaultSidebarDockedPreference: boolean;
|
|
1387
1403
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -1397,7 +1413,7 @@ export declare const actionZoomToFit: {
|
|
|
1397
1413
|
selectedElementsAreBeingDragged: boolean;
|
|
1398
1414
|
shouldCacheIgnoreZoom: boolean;
|
|
1399
1415
|
toast: {
|
|
1400
|
-
message:
|
|
1416
|
+
message: React.ReactNode;
|
|
1401
1417
|
closable?: boolean;
|
|
1402
1418
|
duration?: number;
|
|
1403
1419
|
} | null;
|
|
@@ -1415,20 +1431,12 @@ export declare const actionZoomToFit: {
|
|
|
1415
1431
|
height: number;
|
|
1416
1432
|
offsetTop: number;
|
|
1417
1433
|
offsetLeft: number;
|
|
1418
|
-
fileHandle:
|
|
1434
|
+
fileHandle: FileSystemFileHandle | null;
|
|
1419
1435
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
1420
1436
|
stats: {
|
|
1421
1437
|
open: boolean;
|
|
1422
1438
|
panels: number;
|
|
1423
1439
|
};
|
|
1424
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1425
|
-
pasteDialog: {
|
|
1426
|
-
shown: false;
|
|
1427
|
-
data: null;
|
|
1428
|
-
} | {
|
|
1429
|
-
shown: true;
|
|
1430
|
-
data: import("../charts").Spreadsheet;
|
|
1431
|
-
};
|
|
1432
1440
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1433
1441
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1434
1442
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1453,9 +1461,9 @@ export declare const actionZoomToFit: {
|
|
|
1453
1461
|
};
|
|
1454
1462
|
captureUpdate: "EVENTUALLY";
|
|
1455
1463
|
};
|
|
1456
|
-
keyTest: (event:
|
|
1464
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1457
1465
|
} & {
|
|
1458
|
-
keyTest?: ((event:
|
|
1466
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1459
1467
|
};
|
|
1460
1468
|
export declare const actionToggleTheme: import("./types").Action<import("@excalidraw/element/types").Theme> & {
|
|
1461
1469
|
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
@@ -1501,8 +1509,13 @@ export declare const actionToggleEraserTool: {
|
|
|
1501
1509
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1502
1510
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1503
1511
|
isBindingEnabled: boolean;
|
|
1512
|
+
bindingPreference: "enabled" | "disabled";
|
|
1513
|
+
isMidpointSnappingEnabled: boolean;
|
|
1504
1514
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1505
|
-
suggestedBinding:
|
|
1515
|
+
suggestedBinding: {
|
|
1516
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1517
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1518
|
+
} | null;
|
|
1506
1519
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1507
1520
|
frameRendering: {
|
|
1508
1521
|
enabled: boolean;
|
|
@@ -1512,7 +1525,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1512
1525
|
};
|
|
1513
1526
|
editingFrame: string | null;
|
|
1514
1527
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1515
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
1528
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
1516
1529
|
preferredSelectionTool: {
|
|
1517
1530
|
type: "selection" | "lasso";
|
|
1518
1531
|
initialized: boolean;
|
|
@@ -1562,6 +1575,10 @@ export declare const actionToggleEraserTool: {
|
|
|
1562
1575
|
} | {
|
|
1563
1576
|
name: "elementLinkSelector";
|
|
1564
1577
|
sourceElementId: ExcalidrawElement["id"];
|
|
1578
|
+
} | {
|
|
1579
|
+
name: "charts";
|
|
1580
|
+
data: import("../charts").Spreadsheet;
|
|
1581
|
+
rawText: string;
|
|
1565
1582
|
};
|
|
1566
1583
|
defaultSidebarDockedPreference: boolean;
|
|
1567
1584
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -1574,7 +1591,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1574
1591
|
selectedElementsAreBeingDragged: boolean;
|
|
1575
1592
|
shouldCacheIgnoreZoom: boolean;
|
|
1576
1593
|
toast: {
|
|
1577
|
-
message:
|
|
1594
|
+
message: React.ReactNode;
|
|
1578
1595
|
closable?: boolean;
|
|
1579
1596
|
duration?: number;
|
|
1580
1597
|
} | null;
|
|
@@ -1589,20 +1606,12 @@ export declare const actionToggleEraserTool: {
|
|
|
1589
1606
|
height: number;
|
|
1590
1607
|
offsetTop: number;
|
|
1591
1608
|
offsetLeft: number;
|
|
1592
|
-
fileHandle:
|
|
1609
|
+
fileHandle: FileSystemFileHandle | null;
|
|
1593
1610
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
1594
1611
|
stats: {
|
|
1595
1612
|
open: boolean;
|
|
1596
1613
|
panels: number;
|
|
1597
1614
|
};
|
|
1598
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1599
|
-
pasteDialog: {
|
|
1600
|
-
shown: false;
|
|
1601
|
-
data: null;
|
|
1602
|
-
} | {
|
|
1603
|
-
shown: true;
|
|
1604
|
-
data: import("../charts").Spreadsheet;
|
|
1605
|
-
};
|
|
1606
1615
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1607
1616
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1608
1617
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1627,9 +1636,9 @@ export declare const actionToggleEraserTool: {
|
|
|
1627
1636
|
};
|
|
1628
1637
|
captureUpdate: "IMMEDIATELY";
|
|
1629
1638
|
};
|
|
1630
|
-
keyTest: (event:
|
|
1639
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1631
1640
|
} & {
|
|
1632
|
-
keyTest?: ((event:
|
|
1641
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1633
1642
|
};
|
|
1634
1643
|
export declare const actionToggleLassoTool: {
|
|
1635
1644
|
name: "toggleLassoTool";
|
|
@@ -1674,8 +1683,13 @@ export declare const actionToggleLassoTool: {
|
|
|
1674
1683
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1675
1684
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1676
1685
|
isBindingEnabled: boolean;
|
|
1686
|
+
bindingPreference: "enabled" | "disabled";
|
|
1687
|
+
isMidpointSnappingEnabled: boolean;
|
|
1677
1688
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1678
|
-
suggestedBinding:
|
|
1689
|
+
suggestedBinding: {
|
|
1690
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1691
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1692
|
+
} | null;
|
|
1679
1693
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1680
1694
|
frameRendering: {
|
|
1681
1695
|
enabled: boolean;
|
|
@@ -1685,7 +1699,7 @@ export declare const actionToggleLassoTool: {
|
|
|
1685
1699
|
};
|
|
1686
1700
|
editingFrame: string | null;
|
|
1687
1701
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1688
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
1702
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
1689
1703
|
preferredSelectionTool: {
|
|
1690
1704
|
type: "selection" | "lasso";
|
|
1691
1705
|
initialized: boolean;
|
|
@@ -1735,6 +1749,10 @@ export declare const actionToggleLassoTool: {
|
|
|
1735
1749
|
} | {
|
|
1736
1750
|
name: "elementLinkSelector";
|
|
1737
1751
|
sourceElementId: ExcalidrawElement["id"];
|
|
1752
|
+
} | {
|
|
1753
|
+
name: "charts";
|
|
1754
|
+
data: import("../charts").Spreadsheet;
|
|
1755
|
+
rawText: string;
|
|
1738
1756
|
};
|
|
1739
1757
|
defaultSidebarDockedPreference: boolean;
|
|
1740
1758
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -1747,7 +1765,7 @@ export declare const actionToggleLassoTool: {
|
|
|
1747
1765
|
selectedElementsAreBeingDragged: boolean;
|
|
1748
1766
|
shouldCacheIgnoreZoom: boolean;
|
|
1749
1767
|
toast: {
|
|
1750
|
-
message:
|
|
1768
|
+
message: React.ReactNode;
|
|
1751
1769
|
closable?: boolean;
|
|
1752
1770
|
duration?: number;
|
|
1753
1771
|
} | null;
|
|
@@ -1762,20 +1780,12 @@ export declare const actionToggleLassoTool: {
|
|
|
1762
1780
|
height: number;
|
|
1763
1781
|
offsetTop: number;
|
|
1764
1782
|
offsetLeft: number;
|
|
1765
|
-
fileHandle:
|
|
1783
|
+
fileHandle: FileSystemFileHandle | null;
|
|
1766
1784
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
1767
1785
|
stats: {
|
|
1768
1786
|
open: boolean;
|
|
1769
1787
|
panels: number;
|
|
1770
1788
|
};
|
|
1771
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1772
|
-
pasteDialog: {
|
|
1773
|
-
shown: false;
|
|
1774
|
-
data: null;
|
|
1775
|
-
} | {
|
|
1776
|
-
shown: true;
|
|
1777
|
-
data: import("../charts").Spreadsheet;
|
|
1778
|
-
};
|
|
1779
1789
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1780
1790
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1781
1791
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1846,8 +1856,13 @@ export declare const actionToggleHandTool: {
|
|
|
1846
1856
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1847
1857
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1848
1858
|
isBindingEnabled: boolean;
|
|
1859
|
+
bindingPreference: "enabled" | "disabled";
|
|
1860
|
+
isMidpointSnappingEnabled: boolean;
|
|
1849
1861
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1850
|
-
suggestedBinding:
|
|
1862
|
+
suggestedBinding: {
|
|
1863
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1864
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1865
|
+
} | null;
|
|
1851
1866
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1852
1867
|
frameRendering: {
|
|
1853
1868
|
enabled: boolean;
|
|
@@ -1857,7 +1872,7 @@ export declare const actionToggleHandTool: {
|
|
|
1857
1872
|
};
|
|
1858
1873
|
editingFrame: string | null;
|
|
1859
1874
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1860
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
1875
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
1861
1876
|
preferredSelectionTool: {
|
|
1862
1877
|
type: "selection" | "lasso";
|
|
1863
1878
|
initialized: boolean;
|
|
@@ -1907,6 +1922,10 @@ export declare const actionToggleHandTool: {
|
|
|
1907
1922
|
} | {
|
|
1908
1923
|
name: "elementLinkSelector";
|
|
1909
1924
|
sourceElementId: ExcalidrawElement["id"];
|
|
1925
|
+
} | {
|
|
1926
|
+
name: "charts";
|
|
1927
|
+
data: import("../charts").Spreadsheet;
|
|
1928
|
+
rawText: string;
|
|
1910
1929
|
};
|
|
1911
1930
|
defaultSidebarDockedPreference: boolean;
|
|
1912
1931
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -1919,7 +1938,7 @@ export declare const actionToggleHandTool: {
|
|
|
1919
1938
|
selectedElementsAreBeingDragged: boolean;
|
|
1920
1939
|
shouldCacheIgnoreZoom: boolean;
|
|
1921
1940
|
toast: {
|
|
1922
|
-
message:
|
|
1941
|
+
message: React.ReactNode;
|
|
1923
1942
|
closable?: boolean;
|
|
1924
1943
|
duration?: number;
|
|
1925
1944
|
} | null;
|
|
@@ -1934,20 +1953,12 @@ export declare const actionToggleHandTool: {
|
|
|
1934
1953
|
height: number;
|
|
1935
1954
|
offsetTop: number;
|
|
1936
1955
|
offsetLeft: number;
|
|
1937
|
-
fileHandle:
|
|
1956
|
+
fileHandle: FileSystemFileHandle | null;
|
|
1938
1957
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
1939
1958
|
stats: {
|
|
1940
1959
|
open: boolean;
|
|
1941
1960
|
panels: number;
|
|
1942
1961
|
};
|
|
1943
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1944
|
-
pasteDialog: {
|
|
1945
|
-
shown: false;
|
|
1946
|
-
data: null;
|
|
1947
|
-
} | {
|
|
1948
|
-
shown: true;
|
|
1949
|
-
data: import("../charts").Spreadsheet;
|
|
1950
|
-
};
|
|
1951
1962
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1952
1963
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1953
1964
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1972,7 +1983,7 @@ export declare const actionToggleHandTool: {
|
|
|
1972
1983
|
};
|
|
1973
1984
|
captureUpdate: "IMMEDIATELY";
|
|
1974
1985
|
};
|
|
1975
|
-
keyTest: (event:
|
|
1986
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1976
1987
|
} & {
|
|
1977
|
-
keyTest?: ((event:
|
|
1988
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1978
1989
|
};
|