@excalidraw/excalidraw 0.18.0-c141960 → 0.18.0-c158187
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/dist/dev/{chunk-SJTAY27F.js → chunk-5A4X24JB.js} +135 -107
- package/dist/dev/chunk-5A4X24JB.js.map +7 -0
- package/dist/dev/{chunk-FB2NA5UG.js → chunk-6JJSWC4C.js} +1 -1
- package/dist/dev/{chunk-FB2NA5UG.js.map → chunk-6JJSWC4C.js.map} +2 -2
- package/dist/dev/{chunk-PMQWN2AA.js → chunk-DJHLEOOZ.js} +13 -13
- package/dist/dev/{chunk-PMQWN2AA.js.map → chunk-DJHLEOOZ.js.map} +1 -1
- package/dist/dev/{chunk-AWYOLLYX.js → chunk-OCFTI2BU.js} +2 -2
- package/dist/dev/{chunk-AWYOLLYX.js.map → chunk-OCFTI2BU.js.map} +1 -1
- package/dist/dev/data/{image-S2GFZH7W.js → image-Q6JHR7OE.js} +2 -2
- package/dist/dev/index.css +1 -3
- package/dist/dev/index.css.map +2 -2
- package/dist/dev/index.js +796 -1307
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{ar-SA-USQAA427.js → ar-SA-JK5MQ7TT.js} +2 -1
- package/dist/dev/locales/{ar-SA-USQAA427.js.map → ar-SA-JK5MQ7TT.js.map} +2 -2
- package/dist/dev/locales/{az-AZ-CVQRXULV.js → az-AZ-2PAD62G4.js} +2 -1
- package/dist/dev/locales/{az-AZ-CVQRXULV.js.map → az-AZ-2PAD62G4.js.map} +2 -2
- package/dist/dev/locales/{bg-BG-E4I2JVOQ.js → bg-BG-HUKVYCRK.js} +2 -1
- package/dist/dev/locales/{bg-BG-E4I2JVOQ.js.map → bg-BG-HUKVYCRK.js.map} +2 -2
- package/dist/dev/locales/{bn-BD-O55ROP2R.js → bn-BD-V2CQI46P.js} +2 -1
- package/dist/dev/locales/{bn-BD-O55ROP2R.js.map → bn-BD-V2CQI46P.js.map} +2 -2
- package/dist/dev/locales/{bn-IN-OL7OUKTP.js → bn-IN-MBEO4C3J.js} +2 -1
- package/dist/dev/locales/{bn-IN-OL7OUKTP.js.map → bn-IN-MBEO4C3J.js.map} +2 -2
- package/dist/dev/locales/{ca-ES-73KY52DM.js → ca-ES-KWEKW4C3.js} +2 -1
- package/dist/dev/locales/{ca-ES-73KY52DM.js.map → ca-ES-KWEKW4C3.js.map} +2 -2
- package/dist/dev/locales/{cs-CZ-2YGHPQ24.js → cs-CZ-W5AHZB5H.js} +2 -1
- package/dist/dev/locales/{cs-CZ-2YGHPQ24.js.map → cs-CZ-W5AHZB5H.js.map} +2 -2
- package/dist/dev/locales/{da-DK-OEIZIPJU.js → da-DK-ITTM6YM4.js} +2 -1
- package/dist/dev/locales/{da-DK-OEIZIPJU.js.map → da-DK-ITTM6YM4.js.map} +2 -2
- package/dist/dev/locales/{de-CH-4GJTW23D.js → de-CH-OAWPDQFJ.js} +2 -1
- package/dist/dev/locales/{de-CH-4GJTW23D.js.map → de-CH-OAWPDQFJ.js.map} +2 -2
- package/dist/dev/locales/{de-DE-YRH6WMM5.js → de-DE-ZRDYEPMS.js} +8 -7
- package/dist/dev/locales/de-DE-ZRDYEPMS.js.map +7 -0
- package/dist/dev/locales/{el-GR-W7S64QNM.js → el-GR-QXASZLPE.js} +2 -1
- package/dist/dev/locales/el-GR-QXASZLPE.js.map +7 -0
- package/dist/dev/locales/{en-ZO6QSABV.js → en-MLZIHOCR.js} +2 -2
- package/dist/dev/locales/{es-ES-7JEN5PTZ.js → es-ES-VLQBB7FJ.js} +4 -3
- package/dist/dev/locales/es-ES-VLQBB7FJ.js.map +7 -0
- package/dist/dev/locales/{eu-ES-HQNHU6VR.js → eu-ES-TF2DGTZU.js} +2 -1
- package/dist/dev/locales/{eu-ES-HQNHU6VR.js.map → eu-ES-TF2DGTZU.js.map} +2 -2
- package/dist/dev/locales/{fa-IR-IN6XOPA6.js → fa-IR-ITKFQ7QV.js} +2 -1
- package/dist/dev/locales/{fa-IR-IN6XOPA6.js.map → fa-IR-ITKFQ7QV.js.map} +2 -2
- package/dist/dev/locales/{fi-FI-5BAAYJDZ.js → fi-FI-UWZRVXFI.js} +2 -1
- package/dist/dev/locales/{fi-FI-5BAAYJDZ.js.map → fi-FI-UWZRVXFI.js.map} +2 -2
- package/dist/dev/locales/{fr-FR-KCXBY2R4.js → fr-FR-A72LKGCO.js} +2 -1
- package/dist/dev/locales/{fr-FR-KCXBY2R4.js.map → fr-FR-A72LKGCO.js.map} +2 -2
- package/dist/dev/locales/{gl-ES-5OPGWS6N.js → gl-ES-2QCVIBFP.js} +2 -1
- package/dist/dev/locales/{gl-ES-5OPGWS6N.js.map → gl-ES-2QCVIBFP.js.map} +2 -2
- package/dist/dev/locales/{he-IL-3A6ZWK6L.js → he-IL-WJNUHU26.js} +2 -1
- package/dist/dev/locales/{he-IL-3A6ZWK6L.js.map → he-IL-WJNUHU26.js.map} +2 -2
- package/dist/dev/locales/{hi-IN-HZTBH6EG.js → hi-IN-XGMO235V.js} +2 -1
- package/dist/dev/locales/{hi-IN-HZTBH6EG.js.map → hi-IN-XGMO235V.js.map} +2 -2
- package/dist/dev/locales/{hu-HU-52IRZEAZ.js → hu-HU-37FDQFIS.js} +2 -1
- package/dist/dev/locales/{hu-HU-52IRZEAZ.js.map → hu-HU-37FDQFIS.js.map} +2 -2
- package/dist/dev/locales/{id-ID-W6HBGXTS.js → id-ID-EJIDCO4E.js} +2 -1
- package/dist/dev/locales/{id-ID-W6HBGXTS.js.map → id-ID-EJIDCO4E.js.map} +2 -2
- package/dist/dev/locales/{it-IT-AV75ICYT.js → it-IT-X34PIOJ2.js} +49 -48
- package/dist/dev/locales/it-IT-X34PIOJ2.js.map +7 -0
- package/dist/dev/locales/{ja-JP-SS4G3ZXF.js → ja-JP-37FC23PR.js} +28 -27
- package/dist/dev/locales/ja-JP-37FC23PR.js.map +7 -0
- package/dist/dev/locales/{kaa-Y5BBB3IW.js → kaa-7ZYDFVKA.js} +2 -1
- package/dist/dev/locales/{kaa-Y5BBB3IW.js.map → kaa-7ZYDFVKA.js.map} +2 -2
- package/dist/dev/locales/{kab-KAB-KDVZQXBT.js → kab-KAB-MILWXBA6.js} +2 -1
- package/dist/dev/locales/{kab-KAB-KDVZQXBT.js.map → kab-KAB-MILWXBA6.js.map} +2 -2
- package/dist/dev/locales/{kk-KZ-762YODLJ.js → kk-KZ-7BWTPIAV.js} +2 -1
- package/dist/dev/locales/kk-KZ-7BWTPIAV.js.map +7 -0
- package/dist/dev/locales/{km-KH-K2TE5MIK.js → km-KH-BV4P2KSZ.js} +2 -1
- package/dist/dev/locales/{km-KH-K2TE5MIK.js.map → km-KH-BV4P2KSZ.js.map} +2 -2
- package/dist/dev/locales/{ko-KR-75RUMBCO.js → ko-KR-TSXE5P7B.js} +2 -1
- package/dist/dev/locales/{ko-KR-75RUMBCO.js.map → ko-KR-TSXE5P7B.js.map} +2 -2
- package/dist/dev/locales/{ku-TR-E6DJ6LYM.js → ku-TR-ASSXNN3U.js} +2 -1
- package/dist/dev/locales/{ku-TR-E6DJ6LYM.js.map → ku-TR-ASSXNN3U.js.map} +2 -2
- package/dist/dev/locales/{lt-LT-BYS5DA45.js → lt-LT-G7RZYQQU.js} +2 -1
- package/dist/dev/locales/{lt-LT-BYS5DA45.js.map → lt-LT-G7RZYQQU.js.map} +2 -2
- package/dist/dev/locales/{lv-LV-SPQ2VWX3.js → lv-LV-DXNPBJZU.js} +2 -1
- package/dist/dev/locales/{lv-LV-SPQ2VWX3.js.map → lv-LV-DXNPBJZU.js.map} +2 -2
- package/dist/dev/locales/{mr-IN-2HLK6LUA.js → mr-IN-7F2ZCTCF.js} +2 -1
- package/dist/dev/locales/{mr-IN-2HLK6LUA.js.map → mr-IN-7F2ZCTCF.js.map} +2 -2
- package/dist/dev/locales/{my-MM-P2LR44WR.js → my-MM-NBI3KQGW.js} +2 -1
- package/dist/dev/locales/{my-MM-P2LR44WR.js.map → my-MM-NBI3KQGW.js.map} +2 -2
- package/dist/dev/locales/{nb-NO-7YZHFFVS.js → nb-NO-4DCTQT6L.js} +2 -1
- package/dist/dev/locales/{nb-NO-7YZHFFVS.js.map → nb-NO-4DCTQT6L.js.map} +2 -2
- package/dist/dev/locales/{nl-NL-TF2OVIKN.js → nl-NL-XGZJ7V2V.js} +226 -225
- package/dist/dev/locales/nl-NL-XGZJ7V2V.js.map +7 -0
- package/dist/dev/locales/{nn-NO-2BWEL2IS.js → nn-NO-FR534JV5.js} +2 -1
- package/dist/dev/locales/{nn-NO-2BWEL2IS.js.map → nn-NO-FR534JV5.js.map} +2 -2
- package/dist/dev/locales/{oc-FR-5JYIFGLE.js → oc-FR-YQCIKZIK.js} +56 -55
- package/dist/dev/locales/oc-FR-YQCIKZIK.js.map +7 -0
- package/dist/dev/locales/{pa-IN-KBBGER76.js → pa-IN-UM43JGD2.js} +2 -1
- package/dist/dev/locales/{pa-IN-KBBGER76.js.map → pa-IN-UM43JGD2.js.map} +2 -2
- package/dist/dev/locales/{percentages-2RAYDWNS.js → percentages-OGWD7R2K.js} +2 -2
- package/dist/dev/locales/{pl-PL-BWZ2X734.js → pl-PL-2UGKA6HK.js} +2 -1
- package/dist/dev/locales/{pl-PL-BWZ2X734.js.map → pl-PL-2UGKA6HK.js.map} +2 -2
- package/dist/dev/locales/{pt-BR-ERVIQI63.js → pt-BR-H23QFYE3.js} +3 -2
- package/dist/dev/locales/pt-BR-H23QFYE3.js.map +7 -0
- package/dist/dev/locales/{pt-PT-ZNJ5NB5S.js → pt-PT-RHKJH5I5.js} +2 -1
- package/dist/dev/locales/{pt-PT-ZNJ5NB5S.js.map → pt-PT-RHKJH5I5.js.map} +2 -2
- package/dist/dev/locales/{ro-RO-UYNXGUB7.js → ro-RO-IIFONL3T.js} +2 -1
- package/dist/dev/locales/{ro-RO-UYNXGUB7.js.map → ro-RO-IIFONL3T.js.map} +2 -2
- package/dist/dev/locales/{ru-RU-F7LPIMGQ.js → ru-RU-QEP6D7GK.js} +49 -48
- package/dist/dev/locales/ru-RU-QEP6D7GK.js.map +7 -0
- package/dist/dev/locales/{si-LK-5GF2DJUH.js → si-LK-LZYJQLHF.js} +2 -1
- package/dist/dev/locales/{si-LK-5GF2DJUH.js.map → si-LK-LZYJQLHF.js.map} +2 -2
- package/dist/dev/locales/{sk-SK-H6WE7IJX.js → sk-SK-RWC6UWGY.js} +49 -48
- package/dist/dev/locales/sk-SK-RWC6UWGY.js.map +7 -0
- package/dist/dev/locales/{sl-SI-4PJ6LBI7.js → sl-SI-QJT2CAUO.js} +2 -1
- package/dist/dev/locales/{sl-SI-4PJ6LBI7.js.map → sl-SI-QJT2CAUO.js.map} +2 -2
- package/dist/dev/locales/{sv-SE-E5VQLCRE.js → sv-SE-3MAT3NDX.js} +5 -4
- package/dist/dev/locales/sv-SE-3MAT3NDX.js.map +7 -0
- package/dist/dev/locales/{ta-IN-2YWIVLKF.js → ta-IN-J7XOYF2T.js} +2 -1
- package/dist/dev/locales/{ta-IN-2YWIVLKF.js.map → ta-IN-J7XOYF2T.js.map} +2 -2
- package/dist/dev/locales/{th-TH-IV7RUTDK.js → th-TH-2OI52EOQ.js} +2 -1
- package/dist/dev/locales/{th-TH-IV7RUTDK.js.map → th-TH-2OI52EOQ.js.map} +2 -2
- package/dist/dev/locales/{tr-TR-LEQWIQH7.js → tr-TR-G7TAUHUI.js} +2 -1
- package/dist/dev/locales/{tr-TR-LEQWIQH7.js.map → tr-TR-G7TAUHUI.js.map} +2 -2
- package/dist/dev/locales/{uk-UA-DWVOQPTB.js → uk-UA-IVSVBJIG.js} +2 -1
- package/dist/dev/locales/{uk-UA-DWVOQPTB.js.map → uk-UA-IVSVBJIG.js.map} +2 -2
- package/dist/dev/locales/{uz-UZ-CKXQ3QKG.js → uz-UZ-KCVDUVDE.js} +2 -1
- package/dist/dev/locales/{uz-UZ-CKXQ3QKG.js.map → uz-UZ-KCVDUVDE.js.map} +2 -2
- package/dist/dev/locales/{vi-VN-3P6DZOGS.js → vi-VN-KBZAVWP5.js} +4 -3
- package/dist/dev/locales/{vi-VN-3P6DZOGS.js.map → vi-VN-KBZAVWP5.js.map} +2 -2
- package/dist/dev/locales/{zh-CN-XXVG53TQ.js → zh-CN-IS26RG2D.js} +2 -1
- package/dist/dev/locales/{zh-CN-XXVG53TQ.js.map → zh-CN-IS26RG2D.js.map} +2 -2
- package/dist/dev/locales/{zh-HK-JCHGKEUE.js → zh-HK-KBWQ6SJC.js} +2 -1
- package/dist/dev/locales/{zh-HK-JCHGKEUE.js.map → zh-HK-KBWQ6SJC.js.map} +2 -2
- package/dist/dev/locales/{zh-TW-ARVT7RZU.js → zh-TW-JKJWJQ4J.js} +2 -1
- package/dist/dev/locales/{zh-TW-ARVT7RZU.js.map → zh-TW-JKJWJQ4J.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-AJI3LATG.js +1 -0
- package/dist/prod/{chunk-N7QNUCIG.js → chunk-QNG5NH6R.js} +1 -1
- package/dist/prod/chunk-TIFXQFVB.js +4 -0
- package/dist/prod/{chunk-LS7FJGPW.js → chunk-Z5NKEFVG.js} +8 -8
- package/dist/prod/data/{image-SMWA6JLH.js → image-OPZV5J37.js} +1 -1
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +24 -24
- package/dist/prod/locales/{ar-SA-F62BVQMB.js → ar-SA-IYHKZRSE.js} +2 -2
- package/dist/prod/locales/{az-AZ-7PGSKYOB.js → az-AZ-WL5GYRHK.js} +1 -1
- package/dist/prod/locales/{bg-BG-AAEXMUQ4.js → bg-BG-FXZYTRPD.js} +1 -1
- package/dist/prod/locales/{bn-IN-YT3I2M3F.js → bn-BD-KO6YL5G2.js} +1 -1
- package/dist/prod/locales/{bn-BD-ONOFQYIQ.js → bn-IN-PC6JHKYB.js} +1 -1
- package/dist/prod/locales/{ca-ES-GG4YH2FN.js → ca-ES-AREX5NEO.js} +1 -1
- package/dist/prod/locales/{cs-CZ-IS5VTBOP.js → cs-CZ-HXAZMFYH.js} +2 -2
- package/dist/prod/locales/{da-DK-VPQ2KWAY.js → da-DK-5X7ZLFU3.js} +2 -2
- package/dist/prod/locales/{de-DE-RAT2LIDI.js → de-CH-76ZNVSOF.js} +1 -1
- package/dist/prod/locales/{de-CH-G4Y2G6IS.js → de-DE-G3JVZ4MQ.js} +3 -3
- package/dist/prod/locales/{el-GR-DNJB2AZO.js → el-GR-4AZTZGY6.js} +2 -2
- package/dist/prod/locales/{en-FOCNVEEU.js → en-BARVNJLJ.js} +1 -1
- package/dist/prod/locales/es-ES-ART7BI3G.js +7 -0
- package/dist/prod/locales/{eu-ES-XLOS36YS.js → eu-ES-BIF4XBMT.js} +2 -2
- package/dist/prod/locales/{fa-IR-J6Z2YOGX.js → fa-IR-D4HHKAAI.js} +1 -1
- package/dist/prod/locales/{fi-FI-B2IQ7SBP.js → fi-FI-O35ZY7UI.js} +1 -1
- package/dist/prod/locales/{fr-FR-N5BRDCMI.js → fr-FR-XEFNCM4I.js} +3 -3
- package/dist/prod/locales/{gl-ES-BOYALFRN.js → gl-ES-U4NYM3X5.js} +2 -2
- package/dist/prod/locales/{he-IL-H7M7HGY5.js → he-IL-656ABAVQ.js} +1 -1
- package/dist/prod/locales/{hi-IN-7AB5CA2Q.js → hi-IN-Z55GAFFR.js} +2 -2
- package/dist/prod/locales/{hu-HU-ZZM7UJLP.js → hu-HU-UJ62DVIW.js} +1 -1
- package/dist/prod/locales/{id-ID-RZ7JNCXA.js → id-ID-FLZFU3OO.js} +1 -1
- package/dist/prod/locales/it-IT-GIGIGIBJ.js +12 -0
- package/dist/prod/locales/ja-JP-43VXGDWI.js +7 -0
- package/dist/prod/locales/{kaa-QWYSGEM7.js → kaa-L3IMSDYL.js} +1 -1
- package/dist/prod/locales/{kab-KAB-Q3HBKQ5I.js → kab-KAB-XKPWJLNL.js} +2 -2
- package/dist/prod/locales/kk-KZ-SXPDDY2H.js +1 -0
- package/dist/prod/locales/{km-KH-CN6HHF5U.js → km-KH-DOS4CPGC.js} +3 -3
- package/dist/prod/locales/{ko-KR-SJQMUXM7.js → ko-KR-BGC6VCY4.js} +1 -1
- package/dist/prod/locales/{ku-TR-VM4BHTPC.js → ku-TR-J7IUITIA.js} +1 -1
- package/dist/prod/locales/{lt-LT-QIWZQ7AG.js → lt-LT-AC3LV5KG.js} +1 -1
- package/dist/prod/locales/{lv-LV-YQFCB4WZ.js → lv-LV-I6AY7QG2.js} +1 -1
- package/dist/prod/locales/{mr-IN-GR2ZJPSQ.js → mr-IN-5SP4HV5B.js} +2 -2
- package/dist/prod/locales/{my-MM-M5XJDJQ2.js → my-MM-S7ECRBYZ.js} +1 -1
- package/dist/prod/locales/{nb-NO-2RU2YF7H.js → nb-NO-6PNHTF4R.js} +1 -1
- package/dist/prod/locales/nl-NL-R4C4SUIG.js +13 -0
- package/dist/prod/locales/{nn-NO-72RCA552.js → nn-NO-3TFXTM7Y.js} +1 -1
- package/dist/prod/locales/oc-FR-IK6GIE7H.js +4 -0
- package/dist/prod/locales/{pa-IN-WESENMFH.js → pa-IN-YAKHYJET.js} +1 -1
- package/dist/prod/locales/percentages-OL6W367U.js +1 -0
- package/dist/prod/locales/{pl-PL-7C4NGVUA.js → pl-PL-BIY22ZWU.js} +2 -2
- package/dist/prod/locales/{pt-BR-QH23C2IX.js → pt-BR-Q23NUPD6.js} +2 -2
- package/dist/prod/locales/{pt-PT-O5XBATXI.js → pt-PT-LOPEJLPJ.js} +2 -2
- package/dist/prod/locales/{ro-RO-QHCHEGM5.js → ro-RO-W3D2ZATV.js} +2 -2
- package/dist/prod/locales/ru-RU-DCTW7QSH.js +10 -0
- package/dist/prod/locales/{si-LK-JYUINGNN.js → si-LK-FYRRHO3C.js} +1 -1
- package/dist/prod/locales/sk-SK-MC7UOHQO.js +7 -0
- package/dist/prod/locales/{sl-SI-5KPVX4FS.js → sl-SI-L6B6HFY5.js} +2 -2
- package/dist/prod/locales/{sv-SE-MVMXV6O4.js → sv-SE-KMY6L2BA.js} +3 -3
- package/dist/prod/locales/{ta-IN-A32FQB4D.js → ta-IN-ZQCYE2JK.js} +2 -2
- package/dist/prod/locales/{th-TH-CXMWNVBY.js → th-TH-WS7ECBAV.js} +1 -1
- package/dist/prod/locales/{tr-TR-YHFI3W2D.js → tr-TR-S5FI7JRW.js} +2 -2
- package/dist/prod/locales/{uk-UA-UTJIIKT5.js → uk-UA-4EZUWUSQ.js} +3 -3
- package/dist/prod/locales/{uz-UZ-H4EGTR7D.js → uz-UZ-OKHL6AFA.js} +1 -1
- package/dist/prod/locales/{vi-VN-XBV2ESZM.js → vi-VN-K34TWHF7.js} +2 -2
- package/dist/prod/locales/{zh-CN-CKCJ4HAO.js → zh-CN-JE4UZWNO.js} +2 -2
- package/dist/prod/locales/{zh-HK-ISASRRMF.js → zh-HK-RM35YDXX.js} +1 -1
- package/dist/prod/locales/{zh-TW-KYRW5V3R.js → zh-TW-ONGLV6Y5.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/src/bounds.d.ts +10 -0
- package/dist/types/common/src/colors.d.ts +5 -2
- package/dist/types/common/src/constants.d.ts +13 -11
- package/dist/types/common/src/font-metadata.d.ts +1 -3
- package/dist/types/common/src/index.d.ts +1 -0
- package/dist/types/common/src/keys.d.ts +1 -1
- package/dist/types/common/src/utility-types.d.ts +0 -1
- package/dist/types/common/src/utils.d.ts +43 -33
- package/dist/types/common/src/visualdebug.d.ts +1 -1
- package/dist/types/element/src/Scene.d.ts +3 -3
- package/dist/types/element/src/binding.d.ts +6 -4
- package/dist/types/element/src/bounds.d.ts +2 -10
- package/dist/types/element/src/collision.d.ts +2 -2
- package/dist/types/element/src/comparisons.d.ts +7 -7
- package/dist/types/element/src/dragElements.d.ts +3 -3
- package/dist/types/element/src/duplicate.d.ts +3 -3
- package/dist/types/element/src/fractionalIndex.d.ts +2 -2
- package/dist/types/element/src/frame.d.ts +5 -1
- package/dist/types/element/src/heading.d.ts +2 -1
- package/dist/types/element/src/image.d.ts +1 -11
- package/dist/types/element/src/index.d.ts +1 -0
- package/dist/types/element/src/linearElementEditor.d.ts +1 -2
- package/dist/types/element/src/mutateElement.d.ts +3 -1
- package/dist/types/element/src/newElement.d.ts +6 -6
- package/dist/types/element/src/renderElement.d.ts +0 -6
- package/dist/types/element/src/resizeElements.d.ts +10 -10
- package/dist/types/element/src/resizeTest.d.ts +1 -1
- package/dist/types/element/src/selection.d.ts +3 -7
- package/dist/types/element/src/shape.d.ts +8 -7
- package/dist/types/element/src/textMeasurements.d.ts +1 -3
- package/dist/types/{excalidraw/data → element/src}/transform.d.ts +3 -3
- package/dist/types/element/src/transformHandles.d.ts +3 -23
- package/dist/types/element/src/typeChecks.d.ts +2 -4
- package/dist/types/element/src/utils.d.ts +3 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +62 -126
- package/dist/types/excalidraw/actions/actionAlign.d.ts +0 -1
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +44 -87
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +263 -510
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +44 -87
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +21 -43
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +68 -136
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +0 -1
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +0 -1
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +18 -40
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +45 -88
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +22 -44
- package/dist/types/excalidraw/actions/actionExport.d.ts +85 -170
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionFlip.d.ts +0 -1
- package/dist/types/excalidraw/actions/actionFrame.d.ts +167 -288
- package/dist/types/excalidraw/actions/actionGroup.d.ts +48 -99
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +102 -160
- package/dist/types/excalidraw/actions/actionLink.d.ts +22 -44
- package/dist/types/excalidraw/actions/actionMenu.d.ts +17 -39
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionProperties.d.ts +59 -102
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +24 -50
- package/dist/types/excalidraw/actions/actionStyles.d.ts +20 -42
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +22 -44
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +22 -44
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +16 -38
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +22 -44
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +22 -44
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +22 -44
- package/dist/types/excalidraw/actions/actionZindex.d.ts +0 -1
- package/dist/types/excalidraw/actions/manager.d.ts +1 -1
- package/dist/types/excalidraw/actions/register.d.ts +2 -2
- package/dist/types/excalidraw/appState.d.ts +3 -3
- package/dist/types/excalidraw/clipboard.d.ts +7 -31
- package/dist/types/excalidraw/components/Actions.d.ts +1 -1
- package/dist/types/excalidraw/components/App.d.ts +33 -41
- package/dist/types/excalidraw/components/ButtonIconCycle.d.ts +1 -1
- package/dist/types/excalidraw/components/Card.d.ts +0 -1
- package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +7 -4
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +0 -1
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +0 -1
- package/dist/types/excalidraw/components/CommandPalette/types.d.ts +0 -1
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
- package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
- package/dist/types/excalidraw/components/DefaultSidebar.d.ts +9 -13
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/Ellipsify.d.ts +1 -2
- package/dist/types/excalidraw/components/ErrorDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +0 -1
- package/dist/types/excalidraw/components/EyeDropper.d.ts +0 -1
- package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +0 -1
- package/dist/types/excalidraw/components/HelpDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/InlineIcon.d.ts +2 -2
- package/dist/types/excalidraw/components/LibraryMenuControlButtons.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -2
- package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -3
- package/dist/types/excalidraw/components/LoadingMessage.d.ts +0 -1
- package/dist/types/excalidraw/components/MobileToolBar.d.ts +0 -1
- package/dist/types/excalidraw/components/Modal.d.ts +0 -1
- package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +1 -1
- package/dist/types/excalidraw/components/RadioGroup.d.ts +0 -1
- package/dist/types/excalidraw/components/RadioSelection.d.ts +4 -4
- package/dist/types/excalidraw/components/ScrollableList.d.ts +0 -1
- package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +15 -21
- package/dist/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +1 -1
- package/dist/types/excalidraw/components/Sidebar/SidebarTab.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +1 -2
- package/dist/types/excalidraw/components/Spinner.d.ts +4 -4
- package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +0 -1
- package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +0 -1
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +0 -1
- package/dist/types/excalidraw/components/Stats/index.d.ts +7 -8
- package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +0 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/common.d.ts +2 -3
- package/dist/types/excalidraw/components/Toast.d.ts +3 -3
- package/dist/types/excalidraw/components/Trans.d.ts +2 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +28 -32
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +5 -5
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +3 -3
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +10 -18
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +3 -3
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +0 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +2 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +6 -6
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +3 -4
- package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
- package/dist/types/excalidraw/components/hoc/withInternalFallback.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +1 -1
- package/dist/types/excalidraw/components/icons.d.ts +11 -11
- package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +2 -13
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +2 -2
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +26 -28
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +6 -6
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +15 -16
- package/dist/types/excalidraw/data/blob.d.ts +321 -3
- package/dist/types/excalidraw/data/encode.d.ts +4 -4
- package/dist/types/excalidraw/data/encryption.d.ts +5 -5
- package/dist/types/excalidraw/data/filesystem.d.ts +2 -2
- package/dist/types/excalidraw/data/index.d.ts +3 -3
- package/dist/types/excalidraw/data/json.d.ts +159 -2
- package/dist/types/excalidraw/data/library.d.ts +24 -9
- package/dist/types/excalidraw/data/restore.d.ts +25 -10
- package/dist/types/excalidraw/editor-jotai.d.ts +11 -11
- package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +1 -2
- package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +1 -2
- package/dist/types/excalidraw/i18n.d.ts +2 -2
- package/dist/types/excalidraw/index.d.ts +2 -4
- package/dist/types/excalidraw/renderer/helpers.d.ts +6 -4
- package/dist/types/excalidraw/renderer/interactiveScene.d.ts +8 -6
- package/dist/types/excalidraw/scene/Renderer.d.ts +5 -2
- package/dist/types/excalidraw/scene/export.d.ts +2 -2
- package/dist/types/excalidraw/scene/scroll.d.ts +1 -6
- package/dist/types/excalidraw/scene/types.d.ts +7 -2
- package/dist/types/excalidraw/snapping.d.ts +5 -5
- package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-bindings.d.ts +1 -1
- package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-loader.d.ts +1 -1
- package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-wasm.d.ts +1 -1
- package/dist/types/excalidraw/subset/woff2/woff2-loader.d.ts +2 -2
- package/dist/types/excalidraw/subset/woff2/woff2-wasm.d.ts +1 -1
- package/dist/types/excalidraw/types.d.ts +1 -1
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +2 -2
- package/dist/types/math/src/polygon.d.ts +2 -2
- package/dist/types/math/src/range.d.ts +1 -3
- package/dist/types/math/src/segment.d.ts +3 -3
- package/dist/types/utils/src/bbox.d.ts +1 -1
- package/dist/types/utils/src/export.d.ts +5 -5
- package/dist/types/utils/src/shape.d.ts +6 -6
- package/dist/types/utils/src/withinBounds.d.ts +2 -2
- package/package.json +5 -5
- package/dist/dev/chunk-SJTAY27F.js.map +0 -7
- package/dist/dev/locales/de-DE-YRH6WMM5.js.map +0 -7
- package/dist/dev/locales/el-GR-W7S64QNM.js.map +0 -7
- package/dist/dev/locales/es-ES-7JEN5PTZ.js.map +0 -7
- package/dist/dev/locales/it-IT-AV75ICYT.js.map +0 -7
- package/dist/dev/locales/ja-JP-SS4G3ZXF.js.map +0 -7
- package/dist/dev/locales/kk-KZ-762YODLJ.js.map +0 -7
- package/dist/dev/locales/nl-NL-TF2OVIKN.js.map +0 -7
- package/dist/dev/locales/oc-FR-5JYIFGLE.js.map +0 -7
- package/dist/dev/locales/pt-BR-ERVIQI63.js.map +0 -7
- package/dist/dev/locales/ru-RU-F7LPIMGQ.js.map +0 -7
- package/dist/dev/locales/sk-SK-H6WE7IJX.js.map +0 -7
- package/dist/dev/locales/sv-SE-E5VQLCRE.js.map +0 -7
- package/dist/prod/chunk-KRJFZ5JQ.js +0 -1
- package/dist/prod/chunk-XJNFOLHK.js +0 -4
- package/dist/prod/locales/es-ES-IMTENLBU.js +0 -7
- package/dist/prod/locales/it-IT-ZX7HN56D.js +0 -8
- package/dist/prod/locales/ja-JP-NBNBUHIR.js +0 -7
- package/dist/prod/locales/kk-KZ-HF2NTCRX.js +0 -1
- package/dist/prod/locales/nl-NL-MUHXDQFK.js +0 -7
- package/dist/prod/locales/oc-FR-65ITQYQ2.js +0 -4
- package/dist/prod/locales/percentages-OEPNEGCM.js +0 -1
- package/dist/prod/locales/ru-RU-FUMQ2LLB.js +0 -6
- package/dist/prod/locales/sk-SK-R25O52BS.js +0 -7
- /package/dist/dev/data/{image-S2GFZH7W.js.map → image-Q6JHR7OE.js.map} +0 -0
- /package/dist/dev/locales/{en-ZO6QSABV.js.map → en-MLZIHOCR.js.map} +0 -0
- /package/dist/dev/locales/{percentages-2RAYDWNS.js.map → percentages-OGWD7R2K.js.map} +0 -0
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
3
2
|
import type { AppClassProperties, AppState } from "../types";
|
|
4
3
|
export declare const actionSelectAllElementsInFrame: {
|
|
@@ -18,10 +17,10 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
18
17
|
} | null;
|
|
19
18
|
showWelcomeScreen: boolean;
|
|
20
19
|
isLoading: boolean;
|
|
21
|
-
errorMessage:
|
|
20
|
+
errorMessage: React.ReactNode;
|
|
22
21
|
activeEmbeddable: {
|
|
23
22
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
24
|
-
state: "
|
|
23
|
+
state: "hover" | "active";
|
|
25
24
|
} | null;
|
|
26
25
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
27
26
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -57,19 +56,19 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
57
56
|
exportScale: number;
|
|
58
57
|
currentItemStrokeColor: string;
|
|
59
58
|
currentItemBackgroundColor: string;
|
|
60
|
-
currentItemFillStyle:
|
|
59
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
61
60
|
currentItemStrokeWidth: number;
|
|
62
|
-
currentItemStrokeStyle:
|
|
61
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
63
62
|
currentItemRoughness: number;
|
|
64
63
|
currentItemOpacity: number;
|
|
65
|
-
currentItemFontFamily:
|
|
64
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
66
65
|
currentItemFontSize: number;
|
|
67
|
-
currentItemTextAlign:
|
|
66
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
68
67
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
69
68
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
70
|
-
currentHoveredFontFamily:
|
|
69
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
71
70
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
72
|
-
currentItemArrowType: "
|
|
71
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
73
72
|
viewBackgroundColor: string;
|
|
74
73
|
scrollX: number;
|
|
75
74
|
scrollY: number;
|
|
@@ -78,28 +77,26 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
78
77
|
name: string | null;
|
|
79
78
|
isResizing: boolean;
|
|
80
79
|
isRotating: boolean;
|
|
81
|
-
zoom:
|
|
82
|
-
value: import("../types").NormalizedZoomValue;
|
|
83
|
-
}>;
|
|
80
|
+
zoom: import("../types").Zoom;
|
|
84
81
|
openMenu: "canvas" | null;
|
|
85
|
-
openPopup: "
|
|
82
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
86
83
|
openSidebar: {
|
|
87
|
-
name:
|
|
88
|
-
tab?:
|
|
84
|
+
name: import("../types").SidebarName;
|
|
85
|
+
tab?: import("../types").SidebarTabName;
|
|
89
86
|
} | null;
|
|
90
|
-
openDialog: {
|
|
87
|
+
openDialog: null | {
|
|
91
88
|
name: "imageExport" | "help" | "jsonExport";
|
|
92
89
|
} | {
|
|
93
90
|
name: "ttd";
|
|
94
|
-
tab: "
|
|
91
|
+
tab: "text-to-diagram" | "mermaid";
|
|
95
92
|
} | {
|
|
96
93
|
name: "commandPalette";
|
|
97
94
|
} | {
|
|
98
95
|
name: "settings";
|
|
99
96
|
} | {
|
|
100
97
|
name: "elementLinkSelector";
|
|
101
|
-
sourceElementId:
|
|
102
|
-
}
|
|
98
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
99
|
+
};
|
|
103
100
|
defaultSidebarDockedPreference: boolean;
|
|
104
101
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
105
102
|
hoveredElementIds: Readonly<{
|
|
@@ -112,8 +109,8 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
112
109
|
shouldCacheIgnoreZoom: boolean;
|
|
113
110
|
toast: {
|
|
114
111
|
message: string;
|
|
115
|
-
closable?: boolean
|
|
116
|
-
duration?: number
|
|
112
|
+
closable?: boolean;
|
|
113
|
+
duration?: number;
|
|
117
114
|
} | null;
|
|
118
115
|
zenModeEnabled: boolean;
|
|
119
116
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -124,32 +121,13 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
124
121
|
selectedGroupIds: {
|
|
125
122
|
[groupId: string]: boolean;
|
|
126
123
|
};
|
|
127
|
-
editingGroupId:
|
|
124
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
128
125
|
width: number;
|
|
129
126
|
height: number;
|
|
130
127
|
offsetTop: number;
|
|
131
128
|
offsetLeft: number;
|
|
132
129
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
133
|
-
collaborators: Map<import("../types").SocketId,
|
|
134
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
135
|
-
button?: "up" | "down" | undefined;
|
|
136
|
-
selectedElementIds?: Readonly<{
|
|
137
|
-
[id: string]: true;
|
|
138
|
-
}> | undefined;
|
|
139
|
-
username?: string | null | undefined;
|
|
140
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
141
|
-
color?: {
|
|
142
|
-
background: string;
|
|
143
|
-
stroke: string;
|
|
144
|
-
} | undefined;
|
|
145
|
-
avatarUrl?: string | undefined;
|
|
146
|
-
id?: string | undefined;
|
|
147
|
-
socketId?: import("../types").SocketId | undefined;
|
|
148
|
-
isCurrentUser?: boolean | undefined;
|
|
149
|
-
isInCall?: boolean | undefined;
|
|
150
|
-
isSpeaking?: boolean | undefined;
|
|
151
|
-
isMuted?: boolean | undefined;
|
|
152
|
-
}>>;
|
|
130
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
153
131
|
stats: {
|
|
154
132
|
open: boolean;
|
|
155
133
|
panels: number;
|
|
@@ -173,9 +151,9 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
173
151
|
userToFollow: import("../types").UserToFollow | null;
|
|
174
152
|
followedBy: Set<import("../types").SocketId>;
|
|
175
153
|
isCropping: boolean;
|
|
176
|
-
croppingElementId:
|
|
154
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
177
155
|
searchMatches: Readonly<{
|
|
178
|
-
focusedId:
|
|
156
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
179
157
|
matches: readonly import("../types").SearchMatch[];
|
|
180
158
|
}> | null;
|
|
181
159
|
activeLockedId: string | null;
|
|
@@ -213,10 +191,10 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
213
191
|
} | null;
|
|
214
192
|
showWelcomeScreen: boolean;
|
|
215
193
|
isLoading: boolean;
|
|
216
|
-
errorMessage:
|
|
194
|
+
errorMessage: React.ReactNode;
|
|
217
195
|
activeEmbeddable: {
|
|
218
196
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
219
|
-
state: "
|
|
197
|
+
state: "hover" | "active";
|
|
220
198
|
} | null;
|
|
221
199
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
222
200
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -252,19 +230,19 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
252
230
|
exportScale: number;
|
|
253
231
|
currentItemStrokeColor: string;
|
|
254
232
|
currentItemBackgroundColor: string;
|
|
255
|
-
currentItemFillStyle:
|
|
233
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
256
234
|
currentItemStrokeWidth: number;
|
|
257
|
-
currentItemStrokeStyle:
|
|
235
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
258
236
|
currentItemRoughness: number;
|
|
259
237
|
currentItemOpacity: number;
|
|
260
|
-
currentItemFontFamily:
|
|
238
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
261
239
|
currentItemFontSize: number;
|
|
262
|
-
currentItemTextAlign:
|
|
240
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
263
241
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
264
242
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
265
|
-
currentHoveredFontFamily:
|
|
243
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
266
244
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
267
|
-
currentItemArrowType: "
|
|
245
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
268
246
|
viewBackgroundColor: string;
|
|
269
247
|
scrollX: number;
|
|
270
248
|
scrollY: number;
|
|
@@ -273,28 +251,26 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
273
251
|
name: string | null;
|
|
274
252
|
isResizing: boolean;
|
|
275
253
|
isRotating: boolean;
|
|
276
|
-
zoom:
|
|
277
|
-
value: import("../types").NormalizedZoomValue;
|
|
278
|
-
}>;
|
|
254
|
+
zoom: import("../types").Zoom;
|
|
279
255
|
openMenu: "canvas" | null;
|
|
280
|
-
openPopup: "
|
|
256
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
281
257
|
openSidebar: {
|
|
282
|
-
name:
|
|
283
|
-
tab?:
|
|
258
|
+
name: import("../types").SidebarName;
|
|
259
|
+
tab?: import("../types").SidebarTabName;
|
|
284
260
|
} | null;
|
|
285
|
-
openDialog: {
|
|
261
|
+
openDialog: null | {
|
|
286
262
|
name: "imageExport" | "help" | "jsonExport";
|
|
287
263
|
} | {
|
|
288
264
|
name: "ttd";
|
|
289
|
-
tab: "
|
|
265
|
+
tab: "text-to-diagram" | "mermaid";
|
|
290
266
|
} | {
|
|
291
267
|
name: "commandPalette";
|
|
292
268
|
} | {
|
|
293
269
|
name: "settings";
|
|
294
270
|
} | {
|
|
295
271
|
name: "elementLinkSelector";
|
|
296
|
-
sourceElementId:
|
|
297
|
-
}
|
|
272
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
273
|
+
};
|
|
298
274
|
defaultSidebarDockedPreference: boolean;
|
|
299
275
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
300
276
|
hoveredElementIds: Readonly<{
|
|
@@ -307,8 +283,8 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
307
283
|
shouldCacheIgnoreZoom: boolean;
|
|
308
284
|
toast: {
|
|
309
285
|
message: string;
|
|
310
|
-
closable?: boolean
|
|
311
|
-
duration?: number
|
|
286
|
+
closable?: boolean;
|
|
287
|
+
duration?: number;
|
|
312
288
|
} | null;
|
|
313
289
|
zenModeEnabled: boolean;
|
|
314
290
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -319,32 +295,13 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
319
295
|
selectedGroupIds: {
|
|
320
296
|
[groupId: string]: boolean;
|
|
321
297
|
};
|
|
322
|
-
editingGroupId:
|
|
298
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
323
299
|
width: number;
|
|
324
300
|
height: number;
|
|
325
301
|
offsetTop: number;
|
|
326
302
|
offsetLeft: number;
|
|
327
303
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
328
|
-
collaborators: Map<import("../types").SocketId,
|
|
329
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
330
|
-
button?: "up" | "down" | undefined;
|
|
331
|
-
selectedElementIds?: Readonly<{
|
|
332
|
-
[id: string]: true;
|
|
333
|
-
}> | undefined;
|
|
334
|
-
username?: string | null | undefined;
|
|
335
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
336
|
-
color?: {
|
|
337
|
-
background: string;
|
|
338
|
-
stroke: string;
|
|
339
|
-
} | undefined;
|
|
340
|
-
avatarUrl?: string | undefined;
|
|
341
|
-
id?: string | undefined;
|
|
342
|
-
socketId?: import("../types").SocketId | undefined;
|
|
343
|
-
isCurrentUser?: boolean | undefined;
|
|
344
|
-
isInCall?: boolean | undefined;
|
|
345
|
-
isSpeaking?: boolean | undefined;
|
|
346
|
-
isMuted?: boolean | undefined;
|
|
347
|
-
}>>;
|
|
304
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
348
305
|
stats: {
|
|
349
306
|
open: boolean;
|
|
350
307
|
panels: number;
|
|
@@ -368,9 +325,9 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
368
325
|
userToFollow: import("../types").UserToFollow | null;
|
|
369
326
|
followedBy: Set<import("../types").SocketId>;
|
|
370
327
|
isCropping: boolean;
|
|
371
|
-
croppingElementId:
|
|
328
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
372
329
|
searchMatches: Readonly<{
|
|
373
|
-
focusedId:
|
|
330
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
374
331
|
matches: readonly import("../types").SearchMatch[];
|
|
375
332
|
}> | null;
|
|
376
333
|
activeLockedId: string | null;
|
|
@@ -412,10 +369,10 @@ export declare const actionupdateFrameRendering: {
|
|
|
412
369
|
} | null;
|
|
413
370
|
showWelcomeScreen: boolean;
|
|
414
371
|
isLoading: boolean;
|
|
415
|
-
errorMessage:
|
|
372
|
+
errorMessage: React.ReactNode;
|
|
416
373
|
activeEmbeddable: {
|
|
417
374
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
418
|
-
state: "
|
|
375
|
+
state: "hover" | "active";
|
|
419
376
|
} | null;
|
|
420
377
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
421
378
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -445,19 +402,19 @@ export declare const actionupdateFrameRendering: {
|
|
|
445
402
|
exportScale: number;
|
|
446
403
|
currentItemStrokeColor: string;
|
|
447
404
|
currentItemBackgroundColor: string;
|
|
448
|
-
currentItemFillStyle:
|
|
405
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
449
406
|
currentItemStrokeWidth: number;
|
|
450
|
-
currentItemStrokeStyle:
|
|
407
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
451
408
|
currentItemRoughness: number;
|
|
452
409
|
currentItemOpacity: number;
|
|
453
|
-
currentItemFontFamily:
|
|
410
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
454
411
|
currentItemFontSize: number;
|
|
455
|
-
currentItemTextAlign:
|
|
412
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
456
413
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
457
414
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
458
|
-
currentHoveredFontFamily:
|
|
415
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
459
416
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
460
|
-
currentItemArrowType: "
|
|
417
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
461
418
|
viewBackgroundColor: string;
|
|
462
419
|
scrollX: number;
|
|
463
420
|
scrollY: number;
|
|
@@ -466,28 +423,26 @@ export declare const actionupdateFrameRendering: {
|
|
|
466
423
|
name: string | null;
|
|
467
424
|
isResizing: boolean;
|
|
468
425
|
isRotating: boolean;
|
|
469
|
-
zoom:
|
|
470
|
-
value: import("../types").NormalizedZoomValue;
|
|
471
|
-
}>;
|
|
426
|
+
zoom: import("../types").Zoom;
|
|
472
427
|
openMenu: "canvas" | null;
|
|
473
|
-
openPopup: "
|
|
428
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
474
429
|
openSidebar: {
|
|
475
|
-
name:
|
|
476
|
-
tab?:
|
|
430
|
+
name: import("../types").SidebarName;
|
|
431
|
+
tab?: import("../types").SidebarTabName;
|
|
477
432
|
} | null;
|
|
478
|
-
openDialog: {
|
|
433
|
+
openDialog: null | {
|
|
479
434
|
name: "imageExport" | "help" | "jsonExport";
|
|
480
435
|
} | {
|
|
481
436
|
name: "ttd";
|
|
482
|
-
tab: "
|
|
437
|
+
tab: "text-to-diagram" | "mermaid";
|
|
483
438
|
} | {
|
|
484
439
|
name: "commandPalette";
|
|
485
440
|
} | {
|
|
486
441
|
name: "settings";
|
|
487
442
|
} | {
|
|
488
443
|
name: "elementLinkSelector";
|
|
489
|
-
sourceElementId:
|
|
490
|
-
}
|
|
444
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
445
|
+
};
|
|
491
446
|
defaultSidebarDockedPreference: boolean;
|
|
492
447
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
493
448
|
selectedElementIds: Readonly<{
|
|
@@ -503,8 +458,8 @@ export declare const actionupdateFrameRendering: {
|
|
|
503
458
|
shouldCacheIgnoreZoom: boolean;
|
|
504
459
|
toast: {
|
|
505
460
|
message: string;
|
|
506
|
-
closable?: boolean
|
|
507
|
-
duration?: number
|
|
461
|
+
closable?: boolean;
|
|
462
|
+
duration?: number;
|
|
508
463
|
} | null;
|
|
509
464
|
zenModeEnabled: boolean;
|
|
510
465
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -515,32 +470,13 @@ export declare const actionupdateFrameRendering: {
|
|
|
515
470
|
selectedGroupIds: {
|
|
516
471
|
[groupId: string]: boolean;
|
|
517
472
|
};
|
|
518
|
-
editingGroupId:
|
|
473
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
519
474
|
width: number;
|
|
520
475
|
height: number;
|
|
521
476
|
offsetTop: number;
|
|
522
477
|
offsetLeft: number;
|
|
523
478
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
524
|
-
collaborators: Map<import("../types").SocketId,
|
|
525
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
526
|
-
button?: "up" | "down" | undefined;
|
|
527
|
-
selectedElementIds?: Readonly<{
|
|
528
|
-
[id: string]: true;
|
|
529
|
-
}> | undefined;
|
|
530
|
-
username?: string | null | undefined;
|
|
531
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
532
|
-
color?: {
|
|
533
|
-
background: string;
|
|
534
|
-
stroke: string;
|
|
535
|
-
} | undefined;
|
|
536
|
-
avatarUrl?: string | undefined;
|
|
537
|
-
id?: string | undefined;
|
|
538
|
-
socketId?: import("../types").SocketId | undefined;
|
|
539
|
-
isCurrentUser?: boolean | undefined;
|
|
540
|
-
isInCall?: boolean | undefined;
|
|
541
|
-
isSpeaking?: boolean | undefined;
|
|
542
|
-
isMuted?: boolean | undefined;
|
|
543
|
-
}>>;
|
|
479
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
544
480
|
stats: {
|
|
545
481
|
open: boolean;
|
|
546
482
|
panels: number;
|
|
@@ -564,9 +500,9 @@ export declare const actionupdateFrameRendering: {
|
|
|
564
500
|
userToFollow: import("../types").UserToFollow | null;
|
|
565
501
|
followedBy: Set<import("../types").SocketId>;
|
|
566
502
|
isCropping: boolean;
|
|
567
|
-
croppingElementId:
|
|
503
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
568
504
|
searchMatches: Readonly<{
|
|
569
|
-
focusedId:
|
|
505
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
570
506
|
matches: readonly import("../types").SearchMatch[];
|
|
571
507
|
}> | null;
|
|
572
508
|
activeLockedId: string | null;
|
|
@@ -604,10 +540,10 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
604
540
|
} | null;
|
|
605
541
|
showWelcomeScreen: boolean;
|
|
606
542
|
isLoading: boolean;
|
|
607
|
-
errorMessage:
|
|
543
|
+
errorMessage: React.ReactNode;
|
|
608
544
|
activeEmbeddable: {
|
|
609
545
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
610
|
-
state: "
|
|
546
|
+
state: "hover" | "active";
|
|
611
547
|
} | null;
|
|
612
548
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
613
549
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -638,19 +574,19 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
638
574
|
exportScale: number;
|
|
639
575
|
currentItemStrokeColor: string;
|
|
640
576
|
currentItemBackgroundColor: string;
|
|
641
|
-
currentItemFillStyle:
|
|
577
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
642
578
|
currentItemStrokeWidth: number;
|
|
643
|
-
currentItemStrokeStyle:
|
|
579
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
644
580
|
currentItemRoughness: number;
|
|
645
581
|
currentItemOpacity: number;
|
|
646
|
-
currentItemFontFamily:
|
|
582
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
647
583
|
currentItemFontSize: number;
|
|
648
|
-
currentItemTextAlign:
|
|
584
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
649
585
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
650
586
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
651
|
-
currentHoveredFontFamily:
|
|
587
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
652
588
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
653
|
-
currentItemArrowType: "
|
|
589
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
654
590
|
viewBackgroundColor: string;
|
|
655
591
|
scrollX: number;
|
|
656
592
|
scrollY: number;
|
|
@@ -659,28 +595,26 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
659
595
|
name: string | null;
|
|
660
596
|
isResizing: boolean;
|
|
661
597
|
isRotating: boolean;
|
|
662
|
-
zoom:
|
|
663
|
-
value: import("../types").NormalizedZoomValue;
|
|
664
|
-
}>;
|
|
598
|
+
zoom: import("../types").Zoom;
|
|
665
599
|
openMenu: "canvas" | null;
|
|
666
|
-
openPopup: "
|
|
600
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
667
601
|
openSidebar: {
|
|
668
|
-
name:
|
|
669
|
-
tab?:
|
|
602
|
+
name: import("../types").SidebarName;
|
|
603
|
+
tab?: import("../types").SidebarTabName;
|
|
670
604
|
} | null;
|
|
671
|
-
openDialog: {
|
|
605
|
+
openDialog: null | {
|
|
672
606
|
name: "imageExport" | "help" | "jsonExport";
|
|
673
607
|
} | {
|
|
674
608
|
name: "ttd";
|
|
675
|
-
tab: "
|
|
609
|
+
tab: "text-to-diagram" | "mermaid";
|
|
676
610
|
} | {
|
|
677
611
|
name: "commandPalette";
|
|
678
612
|
} | {
|
|
679
613
|
name: "settings";
|
|
680
614
|
} | {
|
|
681
615
|
name: "elementLinkSelector";
|
|
682
|
-
sourceElementId:
|
|
683
|
-
}
|
|
616
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
617
|
+
};
|
|
684
618
|
defaultSidebarDockedPreference: boolean;
|
|
685
619
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
686
620
|
selectedElementIds: Readonly<{
|
|
@@ -696,8 +630,8 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
696
630
|
shouldCacheIgnoreZoom: boolean;
|
|
697
631
|
toast: {
|
|
698
632
|
message: string;
|
|
699
|
-
closable?: boolean
|
|
700
|
-
duration?: number
|
|
633
|
+
closable?: boolean;
|
|
634
|
+
duration?: number;
|
|
701
635
|
} | null;
|
|
702
636
|
zenModeEnabled: boolean;
|
|
703
637
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -708,32 +642,13 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
708
642
|
selectedGroupIds: {
|
|
709
643
|
[groupId: string]: boolean;
|
|
710
644
|
};
|
|
711
|
-
editingGroupId:
|
|
645
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
712
646
|
width: number;
|
|
713
647
|
height: number;
|
|
714
648
|
offsetTop: number;
|
|
715
649
|
offsetLeft: number;
|
|
716
650
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
717
|
-
collaborators: Map<import("../types").SocketId,
|
|
718
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
719
|
-
button?: "up" | "down" | undefined;
|
|
720
|
-
selectedElementIds?: Readonly<{
|
|
721
|
-
[id: string]: true;
|
|
722
|
-
}> | undefined;
|
|
723
|
-
username?: string | null | undefined;
|
|
724
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
725
|
-
color?: {
|
|
726
|
-
background: string;
|
|
727
|
-
stroke: string;
|
|
728
|
-
} | undefined;
|
|
729
|
-
avatarUrl?: string | undefined;
|
|
730
|
-
id?: string | undefined;
|
|
731
|
-
socketId?: import("../types").SocketId | undefined;
|
|
732
|
-
isCurrentUser?: boolean | undefined;
|
|
733
|
-
isInCall?: boolean | undefined;
|
|
734
|
-
isSpeaking?: boolean | undefined;
|
|
735
|
-
isMuted?: boolean | undefined;
|
|
736
|
-
}>>;
|
|
651
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
737
652
|
stats: {
|
|
738
653
|
open: boolean;
|
|
739
654
|
panels: number;
|
|
@@ -757,9 +672,9 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
757
672
|
userToFollow: import("../types").UserToFollow | null;
|
|
758
673
|
followedBy: Set<import("../types").SocketId>;
|
|
759
674
|
isCropping: boolean;
|
|
760
|
-
croppingElementId:
|
|
675
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
761
676
|
searchMatches: Readonly<{
|
|
762
|
-
focusedId:
|
|
677
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
763
678
|
matches: readonly import("../types").SearchMatch[];
|
|
764
679
|
}> | null;
|
|
765
680
|
activeLockedId: string | null;
|
|
@@ -791,10 +706,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
791
706
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
792
707
|
strokeWidth: number;
|
|
793
708
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
794
|
-
roundness: {
|
|
709
|
+
roundness: null | {
|
|
795
710
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
796
|
-
value?: number
|
|
797
|
-
}
|
|
711
|
+
value?: number;
|
|
712
|
+
};
|
|
798
713
|
roughness: number;
|
|
799
714
|
opacity: number;
|
|
800
715
|
width: number;
|
|
@@ -805,16 +720,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
805
720
|
versionNonce: number;
|
|
806
721
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
807
722
|
isDeleted: boolean;
|
|
808
|
-
groupIds: readonly
|
|
723
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
809
724
|
frameId: string | null;
|
|
810
|
-
boundElements: readonly
|
|
811
|
-
id: string;
|
|
812
|
-
type: "arrow" | "text";
|
|
813
|
-
}>[] | null;
|
|
725
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
814
726
|
updated: number;
|
|
815
727
|
link: string | null;
|
|
816
728
|
locked: boolean;
|
|
817
|
-
customData?: Record<string, any
|
|
729
|
+
customData?: Record<string, any>;
|
|
818
730
|
}> & Readonly<{
|
|
819
731
|
type: "line" | "arrow";
|
|
820
732
|
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
@@ -833,10 +745,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
833
745
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
834
746
|
strokeWidth: number;
|
|
835
747
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
836
|
-
roundness: {
|
|
748
|
+
roundness: null | {
|
|
837
749
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
838
|
-
value?: number
|
|
839
|
-
}
|
|
750
|
+
value?: number;
|
|
751
|
+
};
|
|
840
752
|
roughness: number;
|
|
841
753
|
opacity: number;
|
|
842
754
|
width: number;
|
|
@@ -847,16 +759,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
847
759
|
versionNonce: number;
|
|
848
760
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
849
761
|
isDeleted: boolean;
|
|
850
|
-
groupIds: readonly
|
|
762
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
851
763
|
frameId: string | null;
|
|
852
|
-
boundElements: readonly
|
|
853
|
-
id: string;
|
|
854
|
-
type: "arrow" | "text";
|
|
855
|
-
}>[] | null;
|
|
764
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
856
765
|
updated: number;
|
|
857
766
|
link: string | null;
|
|
858
767
|
locked: boolean;
|
|
859
|
-
customData?: Record<string, any
|
|
768
|
+
customData?: Record<string, any>;
|
|
860
769
|
}> & {
|
|
861
770
|
type: "selection";
|
|
862
771
|
} & {
|
|
@@ -870,10 +779,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
870
779
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
871
780
|
strokeWidth: number;
|
|
872
781
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
873
|
-
roundness: {
|
|
782
|
+
roundness: null | {
|
|
874
783
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
875
|
-
value?: number
|
|
876
|
-
}
|
|
784
|
+
value?: number;
|
|
785
|
+
};
|
|
877
786
|
roughness: number;
|
|
878
787
|
opacity: number;
|
|
879
788
|
width: number;
|
|
@@ -884,16 +793,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
884
793
|
versionNonce: number;
|
|
885
794
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
886
795
|
isDeleted: boolean;
|
|
887
|
-
groupIds: readonly
|
|
796
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
888
797
|
frameId: string | null;
|
|
889
|
-
boundElements: readonly
|
|
890
|
-
id: string;
|
|
891
|
-
type: "arrow" | "text";
|
|
892
|
-
}>[] | null;
|
|
798
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
893
799
|
updated: number;
|
|
894
800
|
link: string | null;
|
|
895
801
|
locked: boolean;
|
|
896
|
-
customData?: Record<string, any
|
|
802
|
+
customData?: Record<string, any>;
|
|
897
803
|
}> & {
|
|
898
804
|
type: "rectangle";
|
|
899
805
|
} & {
|
|
@@ -907,10 +813,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
907
813
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
908
814
|
strokeWidth: number;
|
|
909
815
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
910
|
-
roundness: {
|
|
816
|
+
roundness: null | {
|
|
911
817
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
912
|
-
value?: number
|
|
913
|
-
}
|
|
818
|
+
value?: number;
|
|
819
|
+
};
|
|
914
820
|
roughness: number;
|
|
915
821
|
opacity: number;
|
|
916
822
|
width: number;
|
|
@@ -921,16 +827,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
921
827
|
versionNonce: number;
|
|
922
828
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
923
829
|
isDeleted: boolean;
|
|
924
|
-
groupIds: readonly
|
|
830
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
925
831
|
frameId: string | null;
|
|
926
|
-
boundElements: readonly
|
|
927
|
-
id: string;
|
|
928
|
-
type: "arrow" | "text";
|
|
929
|
-
}>[] | null;
|
|
832
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
930
833
|
updated: number;
|
|
931
834
|
link: string | null;
|
|
932
835
|
locked: boolean;
|
|
933
|
-
customData?: Record<string, any
|
|
836
|
+
customData?: Record<string, any>;
|
|
934
837
|
}> & {
|
|
935
838
|
type: "diamond";
|
|
936
839
|
} & {
|
|
@@ -944,10 +847,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
944
847
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
945
848
|
strokeWidth: number;
|
|
946
849
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
947
|
-
roundness: {
|
|
850
|
+
roundness: null | {
|
|
948
851
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
949
|
-
value?: number
|
|
950
|
-
}
|
|
852
|
+
value?: number;
|
|
853
|
+
};
|
|
951
854
|
roughness: number;
|
|
952
855
|
opacity: number;
|
|
953
856
|
width: number;
|
|
@@ -958,16 +861,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
958
861
|
versionNonce: number;
|
|
959
862
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
960
863
|
isDeleted: boolean;
|
|
961
|
-
groupIds: readonly
|
|
864
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
962
865
|
frameId: string | null;
|
|
963
|
-
boundElements: readonly
|
|
964
|
-
id: string;
|
|
965
|
-
type: "arrow" | "text";
|
|
966
|
-
}>[] | null;
|
|
866
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
967
867
|
updated: number;
|
|
968
868
|
link: string | null;
|
|
969
869
|
locked: boolean;
|
|
970
|
-
customData?: Record<string, any
|
|
870
|
+
customData?: Record<string, any>;
|
|
971
871
|
}> & {
|
|
972
872
|
type: "ellipse";
|
|
973
873
|
} & {
|
|
@@ -981,10 +881,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
981
881
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
982
882
|
strokeWidth: number;
|
|
983
883
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
984
|
-
roundness: {
|
|
884
|
+
roundness: null | {
|
|
985
885
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
986
|
-
value?: number
|
|
987
|
-
}
|
|
886
|
+
value?: number;
|
|
887
|
+
};
|
|
988
888
|
roughness: number;
|
|
989
889
|
opacity: number;
|
|
990
890
|
width: number;
|
|
@@ -995,16 +895,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
995
895
|
versionNonce: number;
|
|
996
896
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
997
897
|
isDeleted: boolean;
|
|
998
|
-
groupIds: readonly
|
|
898
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
999
899
|
frameId: string | null;
|
|
1000
|
-
boundElements: readonly
|
|
1001
|
-
id: string;
|
|
1002
|
-
type: "arrow" | "text";
|
|
1003
|
-
}>[] | null;
|
|
900
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1004
901
|
updated: number;
|
|
1005
902
|
link: string | null;
|
|
1006
903
|
locked: boolean;
|
|
1007
|
-
customData?: Record<string, any
|
|
904
|
+
customData?: Record<string, any>;
|
|
1008
905
|
}> & Readonly<{
|
|
1009
906
|
type: "embeddable";
|
|
1010
907
|
}> & {
|
|
@@ -1018,10 +915,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1018
915
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1019
916
|
strokeWidth: number;
|
|
1020
917
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1021
|
-
roundness: {
|
|
918
|
+
roundness: null | {
|
|
1022
919
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1023
|
-
value?: number
|
|
1024
|
-
}
|
|
920
|
+
value?: number;
|
|
921
|
+
};
|
|
1025
922
|
roughness: number;
|
|
1026
923
|
opacity: number;
|
|
1027
924
|
width: number;
|
|
@@ -1032,21 +929,18 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1032
929
|
versionNonce: number;
|
|
1033
930
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1034
931
|
isDeleted: boolean;
|
|
1035
|
-
groupIds: readonly
|
|
932
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1036
933
|
frameId: string | null;
|
|
1037
|
-
boundElements: readonly
|
|
1038
|
-
id: string;
|
|
1039
|
-
type: "arrow" | "text";
|
|
1040
|
-
}>[] | null;
|
|
934
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1041
935
|
updated: number;
|
|
1042
936
|
link: string | null;
|
|
1043
937
|
locked: boolean;
|
|
1044
|
-
customData?: Record<string, any
|
|
938
|
+
customData?: Record<string, any>;
|
|
1045
939
|
}> & Readonly<{
|
|
1046
940
|
type: "iframe";
|
|
1047
941
|
customData?: {
|
|
1048
|
-
generationData?: import("@excalidraw/element/types").MagicGenerationData
|
|
1049
|
-
}
|
|
942
|
+
generationData?: import("@excalidraw/element/types").MagicGenerationData;
|
|
943
|
+
};
|
|
1050
944
|
}> & {
|
|
1051
945
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1052
946
|
}) | (Readonly<{
|
|
@@ -1058,10 +952,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1058
952
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1059
953
|
strokeWidth: number;
|
|
1060
954
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1061
|
-
roundness: {
|
|
955
|
+
roundness: null | {
|
|
1062
956
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1063
|
-
value?: number
|
|
1064
|
-
}
|
|
957
|
+
value?: number;
|
|
958
|
+
};
|
|
1065
959
|
roughness: number;
|
|
1066
960
|
opacity: number;
|
|
1067
961
|
width: number;
|
|
@@ -1072,20 +966,17 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1072
966
|
versionNonce: number;
|
|
1073
967
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1074
968
|
isDeleted: boolean;
|
|
1075
|
-
groupIds: readonly
|
|
969
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1076
970
|
frameId: string | null;
|
|
1077
|
-
boundElements: readonly
|
|
1078
|
-
id: string;
|
|
1079
|
-
type: "arrow" | "text";
|
|
1080
|
-
}>[] | null;
|
|
971
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1081
972
|
updated: number;
|
|
1082
973
|
link: string | null;
|
|
1083
974
|
locked: boolean;
|
|
1084
|
-
customData?: Record<string, any
|
|
975
|
+
customData?: Record<string, any>;
|
|
1085
976
|
}> & Readonly<{
|
|
1086
977
|
type: "image";
|
|
1087
978
|
fileId: import("@excalidraw/element/types").FileId | null;
|
|
1088
|
-
status: "pending" | "
|
|
979
|
+
status: "pending" | "saved" | "error";
|
|
1089
980
|
scale: [number, number];
|
|
1090
981
|
crop: import("@excalidraw/element/types").ImageCrop | null;
|
|
1091
982
|
}> & {
|
|
@@ -1099,10 +990,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1099
990
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1100
991
|
strokeWidth: number;
|
|
1101
992
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1102
|
-
roundness: {
|
|
993
|
+
roundness: null | {
|
|
1103
994
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1104
|
-
value?: number
|
|
1105
|
-
}
|
|
995
|
+
value?: number;
|
|
996
|
+
};
|
|
1106
997
|
roughness: number;
|
|
1107
998
|
opacity: number;
|
|
1108
999
|
width: number;
|
|
@@ -1113,16 +1004,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1113
1004
|
versionNonce: number;
|
|
1114
1005
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1115
1006
|
isDeleted: boolean;
|
|
1116
|
-
groupIds: readonly
|
|
1007
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1117
1008
|
frameId: string | null;
|
|
1118
|
-
boundElements: readonly
|
|
1119
|
-
id: string;
|
|
1120
|
-
type: "arrow" | "text";
|
|
1121
|
-
}>[] | null;
|
|
1009
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1122
1010
|
updated: number;
|
|
1123
1011
|
link: string | null;
|
|
1124
1012
|
locked: boolean;
|
|
1125
|
-
customData?: Record<string, any
|
|
1013
|
+
customData?: Record<string, any>;
|
|
1126
1014
|
}> & {
|
|
1127
1015
|
type: "frame";
|
|
1128
1016
|
name: string | null;
|
|
@@ -1137,10 +1025,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1137
1025
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1138
1026
|
strokeWidth: number;
|
|
1139
1027
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1140
|
-
roundness: {
|
|
1028
|
+
roundness: null | {
|
|
1141
1029
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1142
|
-
value?: number
|
|
1143
|
-
}
|
|
1030
|
+
value?: number;
|
|
1031
|
+
};
|
|
1144
1032
|
roughness: number;
|
|
1145
1033
|
opacity: number;
|
|
1146
1034
|
width: number;
|
|
@@ -1151,16 +1039,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1151
1039
|
versionNonce: number;
|
|
1152
1040
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1153
1041
|
isDeleted: boolean;
|
|
1154
|
-
groupIds: readonly
|
|
1042
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1155
1043
|
frameId: string | null;
|
|
1156
|
-
boundElements: readonly
|
|
1157
|
-
id: string;
|
|
1158
|
-
type: "arrow" | "text";
|
|
1159
|
-
}>[] | null;
|
|
1044
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1160
1045
|
updated: number;
|
|
1161
1046
|
link: string | null;
|
|
1162
1047
|
locked: boolean;
|
|
1163
|
-
customData?: Record<string, any
|
|
1048
|
+
customData?: Record<string, any>;
|
|
1164
1049
|
}> & {
|
|
1165
1050
|
type: "magicframe";
|
|
1166
1051
|
name: string | null;
|
|
@@ -1175,10 +1060,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1175
1060
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1176
1061
|
strokeWidth: number;
|
|
1177
1062
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1178
|
-
roundness: {
|
|
1063
|
+
roundness: null | {
|
|
1179
1064
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1180
|
-
value?: number
|
|
1181
|
-
}
|
|
1065
|
+
value?: number;
|
|
1066
|
+
};
|
|
1182
1067
|
roughness: number;
|
|
1183
1068
|
opacity: number;
|
|
1184
1069
|
width: number;
|
|
@@ -1189,24 +1074,21 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1189
1074
|
versionNonce: number;
|
|
1190
1075
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1191
1076
|
isDeleted: boolean;
|
|
1192
|
-
groupIds: readonly
|
|
1077
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1193
1078
|
frameId: string | null;
|
|
1194
|
-
boundElements: readonly
|
|
1195
|
-
id: string;
|
|
1196
|
-
type: "arrow" | "text";
|
|
1197
|
-
}>[] | null;
|
|
1079
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1198
1080
|
updated: number;
|
|
1199
1081
|
link: string | null;
|
|
1200
1082
|
locked: boolean;
|
|
1201
|
-
customData?: Record<string, any
|
|
1083
|
+
customData?: Record<string, any>;
|
|
1202
1084
|
}> & Readonly<{
|
|
1203
1085
|
type: "text";
|
|
1204
1086
|
fontSize: number;
|
|
1205
|
-
fontFamily:
|
|
1087
|
+
fontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1206
1088
|
text: string;
|
|
1207
|
-
textAlign:
|
|
1208
|
-
verticalAlign:
|
|
1209
|
-
containerId:
|
|
1089
|
+
textAlign: import("@excalidraw/element/types").TextAlign;
|
|
1090
|
+
verticalAlign: import("@excalidraw/element/types").VerticalAlign;
|
|
1091
|
+
containerId: import("@excalidraw/element/types").ExcalidrawGenericElement["id"] | null;
|
|
1210
1092
|
originalText: string;
|
|
1211
1093
|
autoResize: boolean;
|
|
1212
1094
|
lineHeight: number & {
|
|
@@ -1223,10 +1105,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1223
1105
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1224
1106
|
strokeWidth: number;
|
|
1225
1107
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1226
|
-
roundness: {
|
|
1108
|
+
roundness: null | {
|
|
1227
1109
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1228
|
-
value?: number
|
|
1229
|
-
}
|
|
1110
|
+
value?: number;
|
|
1111
|
+
};
|
|
1230
1112
|
roughness: number;
|
|
1231
1113
|
opacity: number;
|
|
1232
1114
|
width: number;
|
|
@@ -1237,16 +1119,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1237
1119
|
versionNonce: number;
|
|
1238
1120
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1239
1121
|
isDeleted: boolean;
|
|
1240
|
-
groupIds: readonly
|
|
1122
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1241
1123
|
frameId: string | null;
|
|
1242
|
-
boundElements: readonly
|
|
1243
|
-
id: string;
|
|
1244
|
-
type: "arrow" | "text";
|
|
1245
|
-
}>[] | null;
|
|
1124
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1246
1125
|
updated: number;
|
|
1247
1126
|
link: string | null;
|
|
1248
1127
|
locked: boolean;
|
|
1249
|
-
customData?: Record<string, any
|
|
1128
|
+
customData?: Record<string, any>;
|
|
1250
1129
|
}> & Readonly<{
|
|
1251
1130
|
type: "freedraw";
|
|
1252
1131
|
points: readonly import("@excalidraw/math").LocalPoint[];
|